Skip to content
  • Home Home Home, current page.
  • Moments Moments Moments, current page.

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
DanielleFong's profile
🤷🏻‍♀️
🤷🏻‍♀️
 🤷🏻‍♀️
@DanielleFong

Tweets

 🤷🏻‍♀️

@DanielleFong

💓

Empire of the Future
Joined February 2008

Tweets

  • © 2022 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • 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. mcc‏ @mcclure111 21 Mar 2021

      Ohhhhh So… next question. Can I go the *other* way— Is there a way to define a fn parameter that can accept EITHER a closure or function item as argument? Asked a different way, are function items defined to implement the FnOnce/FnMut traits? https://doc.rust-lang.org/reference/types/closure.html#call-traits-and-coercions …pic.twitter.com/wzHCTvBJs8

      4 replies 0 retweets 5 likes
      Show this thread
    2. mcc‏ @mcclure111 21 Mar 2021

      *Blows airhorn*https://github.com/rust-lang/rust/issues/63997 …

      1 reply 0 retweets 9 likes
      Show this thread
    3. mcc‏ @mcclure111 21 Mar 2021

      Oh man I finally found a Rust feature that's so confusing even the people who wrote Rust don't understand what it doespic.twitter.com/zkGjaBUoYj

      https://doc.rust-lang.org/reference/types/impl-trait.html#abstract-return-types
      8 replies 2 retweets 31 likes
      Show this thread
    4. mcc‏ @mcclure111 21 Mar 2021

      Okay so it turns out the actual "abandon hope ye who enter here" section is reference section 12 (Memory Management) not 10 (Types). I don't think I'm reading section 12 today. I guess this was only Purgatorio.

      1 reply 0 retweets 13 likes
      Show this thread
    5. mcc‏ @mcclure111 21 Mar 2021

      Here's an actual Rust Advice Question: What's the best-practice-y way to do string manipulation? Is there a section in the stdlib? I need to take a delimited list and generate a list of match/replaces for all instances of a character in each substring. Basic-but-not-trivial stuff

      6 replies 0 retweets 10 likes
      Show this thread
    6. mcc‏ @mcclure111 21 Mar 2021

      I ask because every language has string ops in the stdlib but not every language has a situation where the strong ops people use in practice are the ones in the stdlib lol

      3 replies 0 retweets 10 likes
      Show this thread
    7. mcc‏ @mcclure111 21 Mar 2021

      So the ? pattern is very natural. But ? can only pass errors unchanged— Say I'm writing a fn that returns Result<_, A>, and it calls a fn that returns Result<_, B> and another fn that returns Result<_, C>. Is there a "good" way to do this, or do I just write a lot of match{}es?

      6 replies 0 retweets 1 like
      Show this thread
    8. mcc‏ @mcclure111 21 Mar 2021

      Okay clearly I have done something very very wrong here but that doesn't mean I know whatpic.twitter.com/F1EJ2Vn745

      3 replies 0 retweets 2 likes
      Show this thread
    9. mcc‏ @mcclure111 21 Mar 2021

      UPDATE: The above tweet was worse than I thought. load_lua_file() was returning a LuaResult<LuaValue>, and so was my function, but I put a ? at the end of load_lua_file, ruining everything. Then I tried to unpack the error and made things worse. Leaving the tweet up, for my shame

      2 replies 0 retweets 9 likes
      Show this thread
    10. mcc‏ @mcclure111 24 Mar 2021

      … … … alright so. I've been working up to this for weeks. Circling around it. Kinda dreading it. I'm finally going to learn about Rust's memory management model, its Big Idea, it's most frustrating but to its advocates most important feature. … … This is the whole sectionpic.twitter.com/RZcFX5JjzB

      7 replies 3 retweets 29 likes
      Show this thread
       🤷🏻‍♀️‏ @DanielleFong 24 Mar 2021
      Replying to @mcclure111

      😆

      9:42 PM - 24 Mar 2021
      1 reply 0 retweets 0 likes
        1.  🤷🏻‍♀️‏ @DanielleFong 24 Mar 2021
          Replying to @DanielleFong @mcclure111

          for a systems language you'd expect something more!

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo

      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

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