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

Programmer Humor

27029 readers
686 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 13 comments
sorted by: hot top controversial new old
[โ€“] meme_historian@lemmy.dbzer0.com 54 points 2 weeks ago* (last edited 2 weeks 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 2 weeks ago* (last edited 2 weeks 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 2 weeks ago

AKA heisenbug.

Observing it changes the outcome.

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

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

[โ€“] Lojcs@piefed.social 28 points 2 weeks ago (2 children)

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

[โ€“] KairuByte@lemmy.dbzer0.com 11 points 2 weeks ago

Just release in debug mode, problem solved.

[โ€“] potoo22@programming.dev 6 points 2 weeks ago* (last edited 2 weeks ago)

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!

[โ€“] carrylex@lemmy.world 22 points 2 weeks 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 2 weeks 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 2 weeks 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 2 weeks ago

Fucking R8 (Android optimizer/obfuscator)

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

This is why you have play testers