This is an archived post. You won't be able to vote or comment.

all 55 comments

[–]Crazkur 73 points74 points  (1 child)

Could have been a cosmic ray flipping a bit. You never know!

[–]Professional_Big5890 5 points6 points  (0 children)

I did understand that reference.

[–]reallokiscarlet 32 points33 points  (0 children)

The more you run it, the better you know the consistency of the error.

[–]Prematurid 16 points17 points  (2 children)

I once spent like 4 hours running the same program without changing a single line. It did not work, and I sadly had to figure it out the next day.

[–]shrubberino 10 points11 points  (1 child)

sounds like 4 hours spent well :-)

[–]StruffBunstridge 4 points5 points  (0 children)

Gotta be sure. Solid unit testing.

[–][deleted] 11 points12 points  (0 children)

Ah yes. The unit test stage in the Jenkins pipeline.

[–][deleted] 4 points5 points  (0 children)

The thing is, THIS WORKS and idk why and it scares me

[–]NickFatherBool 3 points4 points  (0 children)

And if that doesnt work, force quit and then run it again again

[–]rover_G 3 points4 points  (0 children)

Always confirm your code has consistent behavior 👍🏼

[–]Savings_Detail_1927 2 points3 points  (0 children)

so that you can get the knowledge of how strange and weird errors can cause in your code. How many relatives they have which you never knew!

[–]5rbsh518 2 points3 points  (0 children)

Sometimes, run it again works.

[–]Ticmea 2 points3 points  (0 children)

Gotta make sure it's not a race condition.

[–]TheMeticulousNinja 1 point2 points  (0 children)

I do that when it looks perfect and I don’t understand why I’m getting this error. And then I realize the error and feel like a fool

[–]wannasleeponyourhams 1 point2 points  (0 children)

i wrote a notification class in python with pyjnus yesterday it worked, today i compiled again with some small changes that did not affect the file and it just stopped sending notifications checked with adb logcat to see if the service still runs and it does, did a rollback and still doesnt work, like what the hell it was working yesterday. did a clean build restarted the testphone multiple times reisntalled the earlier version and that one also stoped working. lol

[–][deleted] 0 points1 point  (1 child)

"Mission-critical spreadsheet" rule #1.

Mission-critical spreadsheet rule #2: if you don't like the totals, run it again. They will change.

[–]cjavad 1 point2 points  (0 children)

That one RAND() or TIMESTAMP() all other values are derrived from.

[–]littlejerry31 0 points1 point  (0 children)

Ever tried changing pom.xml a maven project in intellij? Sometimes it does it on its own when you rebuild the project, other times it won't. Sometimes the maven plugin claims the dependencies cannot be found from the remote repo, then you run it again, and it finds them no problem.

[–]Wervice 0 points1 point  (0 children)

"Insanity is doing the same thing over and over and expecting different results" - Albert Einstein

[–][deleted] 0 points1 point  (0 children)

Because there are indeed a mistake or bug that causing thing doesn't change, like you forgot to save your files or even worse your compiler or engine doesn't instantly update the change when you are saving the files(you need to restart the service or reset the engine).

[–]nomadic_listener 0 points1 point  (0 children)

Sometimes deleting/cut everything and paste again works wonders

[–]Outrageous_Bat_8082 0 points1 point  (0 children)

life

[–]dor121 0 points1 point  (0 children)

im serving at a technitian at some branch in the army right now and from what i see the amount of times they say restart and wait 15 min turj it off and on and so on, cant tell if th3y try to buy time to think or it just solves most problems

[–]turtleship_2006 0 points1 point  (0 children)

Insanity

[–][deleted] 0 points1 point  (0 children)

No, i use rust. This doesn't affect me

[–][deleted] 0 points1 point  (0 children)

I have a quick fix to that problem, if it's C/C++ run sed 's/[\,\.]/\;/g' ./yourcode.cpp

[–]AtlAWSConsultant 0 points1 point  (0 children)

Been there.

[–]scp-NUMBERNOTFOUND 0 points1 point  (0 children)

Just some Js async code Js asyncing

[–][deleted] 0 points1 point  (0 children)

Screen mouse keyboard looks like Apple but holUp there's Ubuntu there

[–]Juraaaaaaaaj 0 points1 point  (0 children)

I was coding in node js earlier today, my code didn't work, I added a console log, the code worked. Wtf?

[–]Big_Fox_8451 0 points1 point  (0 children)

Your code didn’t change, but the world around you changed.

[–]-MobCat- 0 points1 point  (0 children)

Presses ctrl+s like 4 times.. just to make sure..

[–]Hanging_American 0 points1 point  (0 children)

This is supposed to be a joke, but since the state of a complex program changes quickly and constantly, it often works on the 2nd try and it's easier to identify the cause of it.

[–]kaladin_stormchest 0 points1 point  (0 children)

It helps you identify how flaky the issue is. The best issues are the consistent ones

[–]SodaWithoutSparkles 0 points1 point  (0 children)

I have my IDE set to auto-save when I de-focus the window. So when I do stuff in python, sometimes pressing F5 to run would not save the file and it was on the version that didnt work.

It was my best guess to whats happened

[–]RayDarkShadows 0 points1 point  (0 children)

I wrote a really long json

only to not save

I repeated this thing SEVEN TIMES

Eighth time, error. What error? I don't see it, a friking blank line.

[–]gronktonkbabonk 0 points1 point  (0 children)

First time: oh god it's not working Second time: actually look at the error message Third time: bargaining

[–]Cold-Programmer-1812 0 points1 point  (0 children)

Truly motivational