• Home
  • About

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
  • 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
By using Twitter’s services you agree to our Cookie Use and Data Transfer outside the EU. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
Catfish_Man's profile
David Smith
David Smith
David Smith
@Catfish_Man

David Smith

@Catfish_Man

http://2.bp.blogspot.com/_D_Z-D2tzi14/S_Yg4ZfcRSI/AAAAAAAAC70/-AkY__Wqt9A/s1600/rage30.png … http://pronoun.is/he/him?or=they 

Joined July 2008
  • © 2016 Twitter
  • About
  • Help
  • Terms
  • Privacy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @

Retweet this to your followers?

Optional comment for Retweet
 
 

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
140

Are you sure you want to delete this Tweet?

Promote this Tweet

Block

  • Add a location to your Tweets

    When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more

    Profile summary

    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.

    Preview

    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

     

    Buy Now

    Hmm... Something went wrong. Please try again.

    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.

    Previous Tweet
    David Smith ‏@Catfish_Man Mar 23

    *sees someone shave 10 minutes off a task by switching from -URLByAppendingPathComponent: to -URLByAppendingPathComponent:isDirectory:* 😱

    • Retweets 3
    • Likes 26
    • Josh Endter Viraf Aron Cedercrantz Jon F. Hiren Patel Kyle Stevens Callionica Ken Ferry 👻 ghost nick 👻
    9:57 AM - 23 Mar 2016
    Noe Valley, San Francisco
    0 replies 3 retweets 26 likes
      1. Michael Tsai ‏@mjtsai Mar 23

        @Catfish_Man Similar issue just creating a URL. And in bulk it’s slow even with an SSD.

        0 replies 0 retweets 0 likes
      2. David Smith ‏@Catfish_Man Mar 23 Woodside, CA

        @mjtsai yeah, syscalls aren’t cheap :/

        0 replies 0 retweets 0 likes
      3. Michael Tsai ‏@mjtsai Mar 23

        @Catfish_Man Yeah. What happens if the resource changes type after I create the URL? In general, I can’t prevent that from happening…

        0 replies 0 retweets 0 likes
      4. David Smith ‏@Catfish_Man Mar 23

        @mjtsai yeah, time-of-check-time-of-use races :/

        0 replies 0 retweets 0 likes
      1. David Smith ‏@Catfish_Man Mar 23 Noe Valley, San Francisco

        (The former has to stat() the file to see if it should append a "/" or not, and this task is running on a network filesystem)

        0 replies 2 retweets 10 likes
      2. View other replies
      3. Demi-lich  💀 ‏@queersorceress Mar 23

        @Catfish_Man I thought stat() was unsafe?

        0 replies 0 retweets 0 likes
      4. David Smith ‏@Catfish_Man Mar 23 Bernal Heights, San Francisco

        @queersorceress hm. Howso? I hope it isn't, we use it all over the place!

        0 replies 0 retweets 0 likes
      5. View other replies
      6. Demi-lich  💀 ‏@queersorceress Mar 23

        @Catfish_Man oh wait never mind, i was misremembering the type of bug that it was.

        0 replies 0 retweets 0 likes
      7. Demi-lich  💀 ‏@queersorceress Mar 23

        @Catfish_Man I was thinking of a case where some software was stating the file by name rather than by node.

        0 replies 0 retweets 0 likes
      8. David Smith ‏@Catfish_Man Mar 23 Bernal Heights, San Francisco

        @queersorceress ah, that can be an issue, but that sort of time-of-check-time-of-use race is already inherent to the task in this case

        0 replies 0 retweets 2 likes
      9. Demi-lich  💀 ‏@queersorceress Mar 23

        @Catfish_Man yup! I was misremebering the purpose of the replacement stat function there.

        0 replies 0 retweets 1 like
      10. David Smith ‏@Catfish_Man Mar 23 Sunnyside, San Francisco

        @queersorceress phew, glad I didn’t start today finding out we were doing it all wrong 😅

        0 replies 0 retweets 2 likes
      11. Show more
      1. Jordan Rose ‏@UINT_MIN Mar 23

        @Catfish_Man :-( Yeah, I think this is a case where "past Foundation engineer designed the wrong API". It /keeps coming up/.

        0 replies 0 retweets 1 like
      2. David Smith ‏@Catfish_Man Mar 23 South San Francisco, CA

        @UINT_MIN it’s worse than that… the flaw is in UNIX paths. Unless you can make the trailing / optional, it’s very hard to avoid.

        0 replies 0 retweets 1 like
      3. View other replies
      4. Jordan Rose ‏@UINT_MIN Mar 23

        @Catfish_Man YES THE TRAILING / SHOULD BE OPTIONAL NSURL doesn't always represent an actual resource, so it shouldn't eagerly canonicalize.

        0 replies 0 retweets 0 likes
      5. David Smith ‏@Catfish_Man Mar 23 Woodside, CA

        @UINT_MIN hm. This seems fraught with peril, but we could talk to Jim about exploring it.

        0 replies 0 retweets 0 likes
      6. Jordan Rose ‏@UINT_MIN Mar 23

        @Catfish_Man Ah, yeah, I'd expect /changing/ the behavior now could easily be far worse than continuing to accept it.

        0 replies 0 retweets 0 likes
      7. David Smith ‏@Catfish_Man Mar 23 Woodside, CA

        @UINT_MIN on the plus side though, we have *way* cheaper/dependency-free linked-on-or-after checks now. Opens up new possibilities.

        0 replies 0 retweets 1 like
      8. Petrifying Horror ‏@boredzo Mar 23

        @Catfish_Man @UINT_MIN My bug report from last year: rdar://problem/21493741

        0 replies 0 retweets 0 likes

    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

      • © 2016 Twitter
      • About
      • Help
      • Terms
      • Privacy
      • Cookies
      • Ads info