Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
sgrif's profile
Miss Dada 🏳️‍⚧️
Miss Dada 🏳️‍⚧️
Miss Dada  🏳️‍⚧️
@sgrif

Tweets

Miss Dada  🏳️‍⚧️

@sgrif

Co lead of the http://crates.io  team. Creator of @dieselframework. Former host of @_bikeshed and @_yakshave. Former Rails comitter. Enby. they/them

Albuquerque, NM
patreon.com/seantheprogram…
Joined November 2008

Tweets

  • © 2020 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Charles Nutter‏ @headius 12 Dec 2018
      • Report Tweet
      • Report NetzDG Violation

      Rubyists: stop using ObjectSpace._id2ref! It's not even safe to use on MRI/CRuby because it tries to reconstitute objects based on a pointer address in the GC heap (obj.object_id). JRuby does not support it out of the box.

      5 replies 9 retweets 35 likes
    2. Markus Schirp‏ @_m_b_j_ 12 Dec 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @headius

      What can a valid use case be anyway? When would you know the id but not have a ref of an object you pulled the id from?

      1 reply 0 retweets 0 likes
    3. Charles Nutter‏ @headius 12 Dec 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @_m_b_j_

      That's the low-level reason for it, but you might be an unexpected object. At a high level the usual use case is implementing a weak reference, by using the ID to retrieve the possibly-collected object without holding a hard reference. It's incredibly broken even in MRI.

      4 replies 0 retweets 0 likes
    4. Miss Dada  🏳️‍⚧️‏ @sgrif 12 Dec 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @headius @_m_b_j_

      Can you say more about how it's broken? It doesn't sound any different than having a pointer in C

      2 replies 0 retweets 0 likes
    5. Charles Nutter‏ @headius 12 Dec 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @sgrif @_m_b_j_

      It's a pointer into the heap, which will get reused after the object has been collected. It's eventually not going to point at what you think it points at. And making it safe requires an expensive ID to object weak map (enabled in JRuby via a flag) so it will never work well.

      1 reply 1 retweet 1 like
    6. Markus Schirp‏ @_m_b_j_ 12 Dec 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @headius @sgrif

      Verifies my suspicions about the implications.

      1 reply 0 retweets 0 likes
      Miss Dada  🏳️‍⚧️‏ @sgrif 12 Dec 2018
      • Report Tweet
      • Report NetzDG Violation
      Replying to @_m_b_j_ @headius

      I suppose it is weird to expose a memory unsafe method in a memory safe language like that

      5:02 PM - 12 Dec 2018
      • 1 Retweet
      • 1 Like
      • Markus Schirp
      1 reply 1 retweet 1 like
        1. New conversation
        2. Charles Nutter‏ @headius 12 Dec 2018
          • Report Tweet
          • Report NetzDG Violation
          Replying to @sgrif @_m_b_j_

          Officially, _id2ref has always been an internal API, but people figured out how to use it. object_id has always been broken since it's not actually idempotent.

          3 replies 1 retweet 3 likes
        3. Miss Dada  🏳️‍⚧️‏ @sgrif 12 Dec 2018
          • Report Tweet
          • Report NetzDG Violation
          Replying to @headius @_m_b_j_

          Docs don't seem to imply that it's internal.

          1 reply 0 retweets 1 like
        4. 5 more replies

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2020 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info