200

A while back I was developing a workflow scheduler. However the run duration kept coming back negative. The runs kept finishing like 15 seconds before they started. Eventually I figured out why; the company had configured a policy to use their custom NTP server, but it was 16.7 seconds off. So my Windows laptop's time was in the future, but the WSL VM (which ran the program) used another NTP server and was correct. In the end I just added a bodge that made the program request the time from an external server on startup to calculate an offset.

you are viewing a single comment's thread
view the rest of the comments
[-] lime@feddit.nu 117 points 1 week ago

i was just a user, but i debugged a weird issue where one of those blue light reduction programs would start flickering and inverting day and night time during june.

turns out the dev had made the assumption that the sun always rises before it sets, and i was far enough north that the sun would start setting after midnight.

[-] qaz@lemmy.world 38 points 1 week ago
[-] slazer2au@lemmy.world 13 points 1 week ago

Such a classic.

[-] daychilde@lemmy.world 4 points 1 week ago

haha, knew what this was going to be. Already came close to posting it a couple of other times in this thread. :)

[-] SapphironZA@sh.itjust.works 3 points 1 week ago

Watching this makes me want to dump all timezones, and daylight savings in the wood chipper.

Everyone should set their clocks to UTC.

[-] Bananskal@nord.pub 7 points 1 week ago

Ooh, interesting one! ๐Ÿ˜„

this post was submitted on 19 Nov 2026
200 points (99.5% liked)

Programmer Humor

34316 readers
1496 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 3 years ago
MODERATORS