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

Programmer Humor

19544 readers
852 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ricecake@sh.itjust.works 5 points 6 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.