Tag: Programming

  • Left to Right Programming

    Programs should be valid as they are typed.

    Graic

    Left to Right Programming (Graic)

  • 20 Years of Git

    Twenty years ago today, Linus Torvalds made the very first commit to Git, the information manager from hell.

    Over these last 20 years, Git went from a small, simple, personal project to the most massively dominant version control system ever built.

    Scott Chacon

    20 years of Git. Still weird, still wonderful. (GitButler Blog)

  • Writing Down Every UUID

    I’ve been struggling to remember all of the UUIDs. There are a lot of them. So this week I wrote them all down. You can see my list at everyuuid.com.

    Nolen Royalty

    Writing down (and searching through) every UUID (eieio.games)

  • Falsehoods Programmers Believe About Time Zones

    What if event organizers could share a link that would do the work for you? If someone clicked on mytime.at/5pm/EST, they would see their local version of that time. It sounded simple enough.

    I began coding.

    I knew trying to manage time is a fool’s errand, but that’s what datetime libraries are for. I would merely build an extra time zone conversion layer on top.

    Surely that couldn’t be complicated

    …Right?

    I soon discovered just how wrong I was. One after another, I kept learning the falsehood of yet another “fact” that had seemed obviously true. Eventually my original vision became literally impossible to pull off without making serious compromises.

    Zain Rizvi

    Falsehoods programmers believe about time zones (Zain Rizvi)

  • Storing Times for Human Events

    What’s wrong with calculating the exact UTC time the event is starting and storing only that?

    The problem is that we are losing crucial details about the event creator’s original intent.

    My strong recommendation here is that the most important thing to record is the original user’s intent. If they said the event is happening at 6pm, store that! Make sure that when they go to edit their event later they see the same editable time that they entered when they first created it.

    Simon Willison

    Storing times for human events (Simon Willison’s Weblog)