And the worst part is when it actually does and you have no fucking idea what went wrong before.
post
That's step zero: rule out black magic
Those damn cosmic rays flipping my bits
Please tell me you look skyward, shake your fist and yell damn you!!!!
I wonder if there's an available OS that parity checks every operation, analogous to what's planned for Quantum computers.
Unrelated, but the other day I read that the main computer for core calculation in Fukushima's nuclear plant used to run a very old CPU with 4 cores. All calculations are done in each core, and the result must be exactly the same. If one of them was different, they knew there was a bit flip, and can discard that one calculation for that one core.
Me: "Hmm... No... No the code is good, it's the compiler that's wrong."
runs again
It'll be done soon, then I can go home. TGIF, am I right?
Yeah, but sometimes it works.
It's even worse then: that means it's probably a race condition and do you really want to run the risk of having it randomly fail in Production or during an important presentation? Also race conditions generally are way harder to figure out and fix that the more "reliable" kind of bug.
There was that kind of bug in Linux and a person restarted it idk how much (iirc around 2k times) just to debug it.
This is 100% valid when dealing with code generation sometimes and I hate it
could be a race condition
Hmm..you may be right. I'll get my Hispanic friend to run it and see if he gets the same result.
i sometimes do that so i can inspect the error messages on a cleared terminal
One of my old programs produces a broken build unless you then compile it again.
Just had that happen to me today. Setup logging statements and reran the job, and it ran successfully.
======== 37/37 tests passing ========
Great time to find out your tests are useless!
If that doesn't work, sometimes your computer just needs a rest. Take the rest of the day off and try it again tomorrow.
I often do this, but I always hit Ctrl-S before running it again. Shamefully, this probably works about 10% of the time. Does that technically count as changing nothing?
Well, duh! You need to use the right incantations!
Sponsored by QA gang. Gotta make sure it's a 5/5 issue and not just a frequent issue
The definition of insanity is doing the same thing over and over and expecting different results.
top 50 comments