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

Programmer Humor

26827 readers
2264 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
[โ€“] Landless2029@lemmy.world 6 points 2 days ago

When you test in prod all bugs are release mode.

[โ€“] meme_historian@lemmy.dbzer0.com 52 points 3 days ago* (last edited 3 days 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 ๐Ÿ’€

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

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

[โ€“] bandwidthcrisis@lemmy.world 19 points 3 days ago

AKA heisenbug.

Observing it changes the outcome.

[โ€“] Lojcs@piefed.social 23 points 3 days ago* (last edited 3 days ago)

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

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

[โ€“] Lojcs@piefed.social 27 points 3 days ago (2 children)

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

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

Just release in debug mode, problem solved.

[โ€“] potoo22@programming.dev 5 points 2 days ago* (last edited 2 days 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!

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

[โ€“] idunnololz@lemmy.world 2 points 3 days ago

Fucking R8 (Android optimizer/obfuscator)

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

This is why you have play testers