BJ Homer Profile picture
I work on @dayoneapp. I have a telescope. I believe in Christ. Go help Ukraine. 🇺🇦
Mar 4, 2022 12 tweets 3 min read
Javascript and Swift apparently disagree about when January 1, 1 AD was. (Both numbers in milliseconds-since-1970)

JS:
-62135596800000

Swift:
-62135769600000

These two numbers are exactly 48 hours apart. Can anyone explain what’s going on here? Okay, I’ve found *part* of the problem. When the Gregorian Calendar was first instituted, then needed to implement a 10-day jump to put the vernal equinox back in the right place. This meant that the day after October 4, 1582 was October 15, 1582.
Oct 25, 2021 5 tweets 1 min read
You may pick one superpower:

1. You can fly… but only to/from the grocery store.
2. You can turn invisible… but only on weekends.
3. You can turn into any animal… but only when no one can see you.

Which would you choose, and what would you do with it?

(Details in 🧵) Flying:
• Speed of a typical passenger jet
• You can carry things, but they don’t fly on their own
• A “Grocery Store” is whatever you can convince yourself to believe is a grocery store
• You won’t get cold while flying, but you still need oxygen.