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

Programmer Humor

34233 readers
1427 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
 

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
[–] ExtraMedicated@lemmy.world 70 points 2 days ago (3 children)

Internet Explorer didn't automatically have "console.log" defined until you opened the console window. So there was an error breaking the web page that would disappear when you tried to open the console to see the error. The error was that console.log wasn't defined. Fucking IE.

[–] OldMrFish@feddit.dk 3 points 13 hours ago

Saw this way too many times. Eventually the first thing to check whenever a customer was having weird issues would be to check, if someone had accidentally left debugging comments in prod code..

[–] 87Six@lemmy.zip 11 points 1 day ago

That would genuinely make me clock the fuck out for the day when I figured it out, jesus christ.

[–] Feathercrown@lemmy.world 13 points 1 day ago

/thread, holy shit lmao