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
Jonathan_Blow's profile
Jonathan Blow
Jonathan Blow
Jonathan Blow
@Jonathan_Blow

Tweets

Jonathan Blow

@Jonathan_Blow

Designer/Programmer of Braid and The Witness. President, Thekla, Inc. Partner in IndieFund. Currently working on good new things.

San Francisco
the-witness.net/news
Joined January 2010

Tweets

  • © 2021 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. John Carmack‏Verified account @ID_AA_Carmack Mar 2

      There is value in a simple integer error code return from public C APIs, but it would be nice to have an easy way to get the full statement that forced the return, assert-style. INVALID_VALUE is not as helpful as it could be.

      31 replies 8 retweets 224 likes
      Jonathan Blow‏ @Jonathan_Blow Mar 2
      Replying to @ID_AA_Carmack

      In the stuff I am working on there is a context-global logging function that anyone can call, defined by the application, can be disabled in release builds etc. It is very easy to just write log_error("Not enough foobazzes in the fiblinx"), much more annoying to have to build out

      11:09 AM - 2 Mar 2021
      • 52 Likes
      • Andy KS Sreeram forever open src group Alberto Navarro Mike Gustav Jansson Captain Jeoy Gorky Rojas 😺💻 Chris Green
      6 replies 0 retweets 52 likes
        1. New conversation
        2. Jonathan Blow‏ @Jonathan_Blow Mar 2
          Replying to @Jonathan_Blow @ID_AA_Carmack

          some structure where there is a string for every error code, a function that maps one to the other or whatever, for every little thing that can go wrong. (This of course leads to the thing that happened on both Unix and Windows where the same set of error codes gets mashed

          1 reply 0 retweets 17 likes
        3. Jonathan Blow‏ @Jonathan_Blow Mar 2
          Replying to @Jonathan_Blow @ID_AA_Carmack

          together for everything, leading e.g. to everyone's favorite useless error EINVAL.) I think the improved ergonomics of just observing how bad this all went, and setting up the incentives so that better things happen naturally, are huge (and underestimated by everyone).

          2 replies 0 retweets 21 likes
        4. Show replies
        1. reallyjoel‏ @reallyjoel Mar 2
          Replying to @Jonathan_Blow @ID_AA_Carmack

          Jeezes, that's an insane code design. There should never be any foobazzes in the fiblinx.

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. Emrah Diril‏ @emdiril Mar 2
          Replying to @Jonathan_Blow @ID_AA_Carmack

          Logging and error handling are related but independent concerns. Instead of a single integer representing an error code, perhaps it would be nice to partition 32-bits into sections where the leading bit says success/failure

          2 replies 0 retweets 0 likes
        3. Emrah Diril‏ @emdiril Mar 2
          Replying to @emdiril @Jonathan_Blow @ID_AA_Carmack

          Another say 8-bits to specify error type (like groups of exceptions in java: SQLException, IOException etc), another group of bits representing the specific error; a global library to dig into the fields as necessary, specifying the common errors plus leaving room for custom ones

          0 replies 0 retweets 0 likes
        4. End of conversation
        1. Stéphane Cocquereaumont‏ @stephc_int13 Mar 2
          Replying to @Jonathan_Blow @ID_AA_Carmack

          I think this is very nice and useful. For dev builds, all the functions in my engine are logging and crashing in case of error, or logging a warning in case of a minor issue.

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. Jimmy Blevins‏ @jblevinsradio Mar 2
          Replying to @Jonathan_Blow @ID_AA_Carmack

          A backend service perspective: this gets weird with wrapping & especially handling errors. Ideally the callers decide to log IFF the error is not recoverable and each error is logged only once. In practice this creates a ton of error handling (see golang.)

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. Ivan‏ @obiwanus Mar 2
          Replying to @Jonathan_Blow @ID_AA_Carmack

          Logging for debugging/presenting to the user is nice, but how do you handle that error if it involves more than just printing a message? E.g. if not enough foobazzes, do this, if the fiblinx is missing, do that.

          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

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