this post was submitted on 08 Oct 2025
268 points (99.6% liked)

Programmer Humor

27412 readers
2018 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
 
top 14 comments
sorted by: hot top controversial new old
[โ€“] meme_historian@lemmy.dbzer0.com 56 points 1 month ago* (last edited 1 month ago) (3 children)

It's a race condition that doesn't get triggered when you run the program through a debugger or with copious amounts of debug log output ๐Ÿ’€

[โ€“] Lojcs@piefed.social 24 points 1 month ago* (last edited 1 month ago)

Or something about packaging. Or I used a function that has a different implementation for debug mode out of its intended purpose. Or

[โ€“] bandwidthcrisis@lemmy.world 19 points 1 month ago

AKA heisenbug.

Observing it changes the outcome.

[โ€“] Matty_r@programming.dev 2 points 1 month ago

When adding a debug print statement changes the locking of a thread and the problem doesn't occur..

[โ€“] Lojcs@piefed.social 29 points 1 month ago (2 children)

Only thing worse is not finding the bug that only happens in release mode

[โ€“] KairuByte@lemmy.dbzer0.com 12 points 1 month ago

Just release in debug mode, problem solved.

[โ€“] potoo22@programming.dev 7 points 1 month ago* (last edited 1 month ago) (1 children)

Try a bug that sporadically happens only in release mode, with no clear connection to anything else, only to find out years later it only happens when someone uses the microwave for too long in the break room.

"You know, we always get this error after lunch when I reheat leftover soup."

Goddamnit Kyle!

[โ€“] Sidhean@piefed.social 2 points 2 weeks ago

Should have set the microwave to More Magic

[โ€“] carrylex@lemmy.world 22 points 1 month ago (1 children)

Do trick 33B: Blame it on the crappy corporate anti-virus solution.

Works always because nobody can say anything against that. Nobody knows exactly how it works, if it's secretly sending your data to the NSA for corporate espionage and if you would disable it, everything would be insecure.

[โ€“] marcos@lemmy.world 8 points 1 month ago

The firewall always gets new rules somehow.

Everybody swears the AI feature that adds random rules is disabled, and it has a log that shows the rules don't come from it anyway. Yet, the rules keep appearing.

[โ€“] Landless2029@lemmy.world 6 points 1 month ago

When you test in prod all bugs are release mode.

Undocumented feature flag in a plug-in, that changes the behavior drastically when in any deployment mode.

[โ€“] idunnololz@lemmy.world 2 points 1 month ago

Fucking R8 (Android optimizer/obfuscator)

[โ€“] blave@lemmy.world 2 points 1 month ago

This is why you have play testers