Issue 98: Time Standards - leap seconds forwards and backwards, moon time, internet time (then and now), and aliens
This week we look at time from a few points of view:
- Eliminating the leap second
- If adding a second causes problems, imagine removing a second
- What time is it on the Moon?
- Internet time is "black magic"
- From millisecond precision to nanosecond precision
- Explaining our concept of time to aliens
- Mittens in the Groceries
Feel free to send this newsletter to others you think might be interested in the topics. If you are not already subscribed to DLTJ's Thursday Threads, visit the sign-up page. If you would like a more raw and immediate version of these types of stories, follow me on Mastodon where I post the bookmarks I save. Comments and tips, as always, are welcome.
Eliminating the leap second
Programmers can be forgiven for assuming that every minute has 60 seconds. But sometimes they have 61. And when that sometimes happens, you get unexpected results. Google proposes using a "leap smear", where computer clocks spread the extra second across all of the 86,400 seconds that make up a day.
If adding a second causes problems, imagine removing a second
Add this to the list of things that are possible in our corner of the universe.
What time is it on the Moon?
Robust, accurate time is a given here on Earth. (There are undoubtedly applications where "robust" and "accurate" aren't good enough, but most humans aren't faced with those challenges.) Everyone has a sense of the importance of a common understanding of time. But what if you are setting up a homestead on another celestial body? You might want to sort out your time standards before you build and ship the equipment to your new location. For instance, "The Moon’s gravitational pull is weaker than Earth’s, meaning that, to an observer on Earth, a lunar clock would run faster than an Earth one." So you are not only synchronizing clocks on the Moon, but you also need to deal with the skew of time compared to the Earth.
Internet time is "black magic"
When Vint Cerf, a co-developer of TCP/IP, thinks something is black magic, you can wager that it is intense technology. This article peels back some of the mystique of one of the oldest internet standards: Network Time Protocol (NTP). NTP has been under the care of mostly one person since it was first developed in the late 1980s. This is a story about honoring an unsung—if prickly—hero of the common good of the internet and how the community is advancing the state of the art beyond what a 40-year-old standard can support.
I remember getting into the bowels of NTP configurations in the early 1990s when I was helping configure a cluster of NeXT cubes at my university. (I also remember longing for an excuse to get the hardware for a stratum 1 server so we could put our mark on the net.)
From millisecond precision to nanosecond precision
And this is the advancement of network time from the 1980's NTP (millisecond precision) to today's PTP (nanosecond precision). This article's first part discusses the importance of very precise time at internet-scale companies. Even if you don't care about the time standards, it is interesting to read about how Facebook structures its databases in its highly distributed architecture.
Explaining our concept of time to aliens
An imaginary conversation in 68 tweets, including bits like:
- "YOUR CALENDAR IS BASED ON A RELIGIOUS LEADER THAT NOT EVERYONE BELIEVES IN?" ... "well, on his birth. And yeah, we got it wrong by a couple years."
- "yep! Our 9th month is named after the number 7, and so on for 10, 11, and 12."
- "yeah so cultures before then had a 12 month system, because of the moon. But they had been using a 10 month system, before switching to 12 and giving them the modern names"
Mittens in the Groceries
This is one of Mittens' quirks. She waits for the groceries to come in from the car, then starts nosing through them. She is looking for the pack of strawberries so she can rub her face on the rough edges of the plastic container. Other plastic containers of strawberries will do in a pinch, but her clear favorite is strawberries.