this post was submitted on 17 Apr 2024
1462 points (98.6% liked)

Programmer Humor

19817 readers
52 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 8 months ago

That's pretty close to what they're doing. The tricky bit is detailing how you convert a lunar timestamp to a terrestrial timestamp.

Jostling clocks with things like leap seconds turns out to be more trouble than it's really worth. Better to just let them get out of sync but be able to precisely define what the drift is.