this post was submitted on 17 Jan 2025
182 points (98.4% liked)

Programmer Humor

32710 readers
2153 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 10 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 48 minutes ago

What was the cause?

[–] [email protected] 3 points 5 hours ago* (last edited 5 hours ago)

Check the global temp vars, files and caches. Encapsulated scoping is a lie we've been told to help us sleep better at night. Some of those seemingly well defined system functions bleed out to caches for (slight) performance gains.

You could have the most locked down explicitly defined well scoped code in the world, and it just takes one measly baked in call to a global function to shatter that dream house into a thousand pieces.

I'm looking at you string-match; you know what you did.

[–] [email protected] 16 points 9 hours ago (1 children)
[–] NegativeLookBehind 13 points 10 hours ago (1 children)

Did you perform the correct incantation?

[–] SpaceNoodle 5 points 9 hours ago

This is why I keep the freezer outside my office stocked with chickens

[–] [email protected] 2 points 7 hours ago (1 children)

When I find bugs, I use screen capture software to repo it.

[–] [email protected] 1 points 49 minutes ago

That requires you to be able to reproduce it.

[–] [email protected] 4 points 10 hours ago

Bugs wants to be nice, they see how stressed we are so they love playing hide and seek to relax us XD

[–] lath 2 points 9 hours ago

Have you tried turning it off and on again?

Some bugs only trigger on the first run. Or the second. Or the third. Or...