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
lukechampine's profile
Luke Champine
Luke Champine
Luke Champine
@lukechampine

Tweets

Luke Champine

@lukechampine

I would like to understand things better, but I don’t want to understand them perfectly —Hofstadter

Somerville, MA
lukechampine.com
Joined November 2016

Tweets

  • © 2019 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. Gary Bernhardt‏ @garybernhardt Jun 17
      • Report Tweet

      AFAIK there aren't formalized tools to manage these kinds of migrations. This is surprising to me because it's so closely analogous to database migrations. Migration happens at runtime rather than deploy time, with requests migrated forward and responses migrated backward.

      6 replies 2 retweets 31 likes
      Show this thread
    2. Gary Bernhardt‏ @garybernhardt Jun 17
      • Report Tweet

      A number of responses say "have the client detect that it's running an old version and force reload." That works, but it's pretty annoying UX. Better handling of migrations on the server side could prevent that. (With an eventual timeout to ease the support window: maybe a week?)

      8 replies 1 retweet 14 likes
      Show this thread
    3. Gary Bernhardt‏ @garybernhardt Jun 17
      • Report Tweet

      Some responses along the lines of "only make additive changes" and other similar rules. But these add a lot of inertia. If the server's API version support window were enforced by tools, then you could add and change fields at will and it would force you to write the migrations.

      3 replies 2 retweets 28 likes
      Show this thread
    4. Gary Bernhardt‏ @garybernhardt Jun 17
      • Report Tweet

      Gary Bernhardt Retweeted Jacob Rask

      This seems like the more disciplined end of the continuum today, but it's still manual: create an issue, manage it, etc. I want to make incompatible API changes and have the system force me to write a migration so old clients don't need to restart.https://twitter.com/jacobrask/status/1140719143408287747 …

      Gary Bernhardt added,

      Jacob Rask @jacobrask
      Replying to @garybernhardt
      In one project I worked on, breaking changes meant a new endpoint, the old one removed a couple of weeks later, tracked by an issue in the bug tracker. This was Backend For Frontend so you knew there was only one application consumer.
      6 replies 1 retweet 33 likes
      Show this thread
    5. Gary Bernhardt‏ @garybernhardt Jun 17
      • Report Tweet

      This thread got many interesting replies about what people do for syncing client/server API changes, especially on the original tweet. Lots of what you'd expect ("manually avoid backwards-incompatible changes") and also some very fancy technical solutions (fewer of those).

      5 replies 1 retweet 12 likes
      Show this thread
    6. Gary Bernhardt‏ @garybernhardt Jun 20
      • Report Tweet

      This Stripe post describing their API migration process is almost exactly what I had in mind. It's even easier for an SPA because clients restart eventually. The next question: can TypeScript's type system statically type these migrations gracefully?https://stripe.com/en-ca/blog/api-versioning …

      1 reply 4 retweets 28 likes
      Show this thread
    7. Gary Bernhardt‏ @garybernhardt Jun 20
      • Report Tweet

      Imagine: - Unbroken static typing from the database, over the API, to the frontend. - Database gets migrated forward, statically checked against backend database access. - API gets migrated backward, statically checked against backend responses and all running frontend versions.

      1 reply 5 retweets 20 likes
      Show this thread
    8. Gary Bernhardt‏ @garybernhardt Jun 20
      • Report Tweet

      I have the first two working. It's obvious that the third is possible, though it's not yet obvious to me that it's cleanly expressible in popular static languages.

      1 reply 1 retweet 4 likes
      Show this thread
    9. Gary Bernhardt‏ @garybernhardt Jun 20
      • Report Tweet

      This kind of stuff is what draws me to static type systems. I don't particularly want to wrap my IO in a burrito. But I do want the computer to force me not to break the API, and not to access the database in a way that violates the schema, and I want no gaps in those guarantees.

      4 replies 6 retweets 28 likes
      Show this thread
    10. jobelenus.eng 🏴‏ @EngineerJohnO Jun 20
      • Report Tweet
      Replying to @garybernhardt

      Burrito?

      1 reply 0 retweets 0 likes
      Luke Champine‏ @lukechampine Jun 20
      • Report Tweet
      Replying to @EngineerJohnO @garybernhardt

      https://blog.plover.com/prog/burritos.html …

      12:53 PM - 20 Jun 2019
      • 1 Like
      • jobelenus.eng🏴
      1 reply 0 retweets 1 like
        1. jobelenus.eng 🏴‏ @EngineerJohnO Jun 20
          • Report Tweet
          Replying to @lukechampine @garybernhardt

          “I was the lone genius”. Amazing.

          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

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