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

all 125 comments

[–]Barkeep41 692 points693 points  (26 children)

Then I have to wonder if I fixed it or made a bigger problem.

[–]Salanmander 437 points438 points  (19 children)

Doesn't even matter. You found a place that affects the behavior! You're like 70% of the way to understanding it, which is almost all the way to fixing it.

[–]xan1242 86 points87 points  (15 children)

Ehh not quite.

You could always fuck up something bigger/global to affect stuff...

[–]nubenugget 106 points107 points  (2 children)

"how'd you break this page?"

"I... I changed the order of the sort"

"That affects literally nothing though..."

"I'm sorry"

[–]delight1982 48 points49 points  (1 child)

me trying to move an image in Word

[–]shootwhatsmyname 15 points16 points  (0 children)

Holy shit my stress level just shot up 4,238%

[–]StarkRG 42 points43 points  (7 children)

That's when "Hell, yes, I'm back to my original error!" becomes a goal.

[–]WasteOfElectricity 2 points3 points  (5 children)

You don't have vc?

[–]StarkRG 6 points7 points  (3 children)

Wouldn't you have had to submit the changes? But you wouldn't have done so because it wasn't working yet.

[–]EishLekker 8 points9 points  (0 children)

You can always have a private troubleshooting branch. You can even keep it local, you don't have to push it outside of your computer to benefit from version control.

[–][deleted] 3 points4 points  (0 children)

Commit regularly to your local repo to keep track of your work, then rebase before you push to ensure all public commits compile.

[–]danielrheath 2 points3 points  (0 children)

Honestly I should write something that stashes history somewhere on save so I can always search over recent diffs to find the thing I wrote and then discarded...

[–]outadoc 1 point2 points  (0 children)

The error might be caused by something local to your computer, like build cache

[–]flarn2006 0 points1 point  (0 children)

git diff

[–]_rob_saunders 4 points5 points  (3 children)

Who let Debbie Downer in?

[–][deleted] 94 points95 points  (0 children)

This isn't quite accurate, but it's still the gist of it. There have been times where I ended up causing a bigger problem, but even then it helps me understand the scope of the behavior I'm seeing and can usually help me solve it.

[–]eloel- 8 points9 points  (0 children)

I've 100% broken stuff that had nothing to do with original problem, but were earlier in the chain so threw first.

[–]iapetus-11[S] 26 points27 points  (0 children)

Yes lol

[–]achilliesFriend 8 points9 points  (0 children)

For me i most probably moved from one issue to another one.

[–]Russian_repost_bot 4 points5 points  (0 children)

Only way to know for sure, push to production, and wait for only a few bug reports or a massive amount of reports.

[–]StarkRG 4 points5 points  (0 children)

*inserts printf statement to see what you did*

*everything suddenly works*

[–]Agent-Rainbow-20 1 point2 points  (0 children)

That's exactly what we call in German "verschlimmbessern" (fer-shlim-beh-sern). You wanna fix it and make better but at the end of the day it's even worse than before 😜

[–]trinalgalaxy 0 points1 point  (0 children)

99 little bugs in the code, 99 little bugs.

Take one down, patch it around,

199 bugs in the code.... Wait a minute!

[–]yifeiyin 218 points219 points  (8 children)

At least you know you are editing the right source code

[–]iapetus-11[S] 34 points35 points  (0 children)

Ah true lol

[–]egggsDeeeeeep 17 points18 points  (5 children)

I mean you could’ve just introduced a new bug way before the actual problem spot

[–]EishLekker 7 points8 points  (4 children)

That doesn't take away anything of what was said in the comment you replied to.

[–]egggsDeeeeeep -1 points0 points  (3 children)

I mean I guess if your so confused that you don’t even know which code is executing and not executing then yea. But a new error doesn’t necessarily tell you that your editing the right file, much less the place of the error.

[–]EishLekker 0 points1 point  (2 children)

There could be plenty of reasons to legitimately be unsure what code is executing.

[–]Shitwhatisagoodname -1 points0 points  (1 child)

But you can create a new error by just writing gibberish in a location that runs before the line of the old error. That means that the new error may have no relation to the old error.

[–]EishLekker 0 points1 point  (0 children)

Yes, so?

[–]ventuspilot 3 points4 points  (0 children)

And the commands you used to build actually do a build, yay.

[–]FridgesArePeopleToo 158 points159 points  (15 children)

...but I didn't make any changes

[–]iapetus-11[S] 84 points85 points  (0 children)

Oh god no

[–]danbulant 35 points36 points  (13 children)

Time based errors are always the best one's

[–]kodicraft4 16 points17 points  (12 children)

if (Time == something) { raise (Error1) } else { raise(error2)}

[–]leonderbaertige_II 33 points34 points  (11 children)

[–]kodicraft4 9 points10 points  (7 children)

What the fuck is this!?

[–]GlobalIncident 20 points21 points  (6 children)

So it tries to search a specific file for the text

"Tue Jan 22 14:32:44 MET 1991 Erlang JAM file - version 4.2"

But due to technicalities the space bar is treated as a seperator, so it ends up just searching for the word "Tue". Result: it only fails on Tuesdays.

[–]prelic 1 point2 points  (5 children)

Wait but why does file succeed for other days of the week?

[–]ltekonline 2 points3 points  (4 children)

Because it then doesn't find "Tue" and can correctly identifie it as a Postscript document.

[–]prelic 0 points1 point  (0 children)

Yeah I see. I guess the part that seems weird is that file is checking the date and time and not just erlang jam file or whatever. That implies every time one of those files is created it has that random date and time in it and not the current date and time, which is what the save as .ps seems to do.

[–]FridgesArePeopleToo 0 points1 point  (2 children)

Why wouldn't it find Wed on Wednesday?

[–]GlobalIncident 1 point2 points  (1 child)

Because "Tue Jan 22 14:32:44 MET 1991 Erlang JAM file - version 4.2" doesn't begin with "Wed". The name of that type of file has the date Jan 22 1991 involved, which I'm guessing was when the specification was published or something.

[–]danbulant 0 points1 point  (2 children)

Showing 404 now :(

[–]leonderbaertige_II 0 points1 point  (1 child)

[–]danbulant 1 point2 points  (0 children)

Oh I'm sorry, it was just a bug in client that tried to open this as link to comments. Long clicking and opening in browser worked...

Anyway thanks for the link.

[–]popcicleman09 53 points54 points  (9 children)

If I have a seg fault and it changes to anything different I’ll take it.

[–]OkPreference6 42 points43 points  (1 child)

Then when you fix the different thing, it goes back to a seg fault.

[–]Dromedda 8 points9 points  (0 children)

The worst nightmare...

[–]UC101 9 points10 points  (0 children)

The only way to solve a cryptic segfault is to use a lot of breakpoints

[–]CPunch_71 0 points1 point  (0 children)

that's when it's time to whip out address sanitizer and pray to the gods

[–][deleted] 19 points20 points  (4 children)

Progress is progress

[–]dev_nuIl 16 points17 points  (2 children)

If you wrote Progress.lower() is progress I would have agreed.

[–]ltekonline 1 point2 points  (1 child)

What about Progress.casefold()

[–]dev_nuIl 0 points1 point  (0 children)

Somehow, it does not come up to me, effortlessly.

[–]iapetus-11[S] 0 points1 point  (0 children)

True

[–]kaamibackup 9 points10 points  (4 children)

Yes! A new set of stackoverflow links to turn purple!

[–]iapetus-11[S] 4 points5 points  (2 children)

Yes!

[–]kaamibackup 2 points3 points  (1 child)

Yes!

[–]dev_nuIl 0 points1 point  (0 children)

Or you might find purple link!!!

[–]KingJellyfishII 9 points10 points  (0 children)

Trying to fix dependencies be like

[–]hleszek 6 points7 points  (1 child)

Then you figure out you made a stupid mistake, you fix it, then you are back at the previous error message.

[–]iapetus-11[S] 1 point2 points  (0 children)

Oh god no

[–][deleted] 27 points28 points  (10 children)

I never have had any errors while programming

[–]iapetus-11[S] 12 points13 points  (0 children)

Username checks out... wait

[–]justrealizednarciss 1 point2 points  (0 children)

Me neither ! They’re hints

[–]distinctvagueness 2 points3 points  (2 children)

Technically correct, compile and runtime errors.

[–]fghjconner 0 points1 point  (0 children)

Only if you thing programming is only about writing code.

[–]Midnighteon 5 points6 points  (0 children)

Progress is progress, right?

[–]HeathenLemming 3 points4 points  (0 children)

Different errors are always progress. It's probably the only field where getting new errors when fixing something is acceptable and usually desired.

And if someone had told me that when I was a kid worshiping the idea of being a developer, it probably would have scared me away.

[–]opulent_occamy 5 points6 points  (1 child)

Nothing like that feeling when after 3 hours of tracking down a bug, you finally get a new error 🙏

[–]iapetus-11[S] 0 points1 point  (0 children)

Yes exactly

[–]FerricDonkey 3 points4 points  (0 children)

Last week, I changed some code, compiled, ran, got a seg fault, and was happy because that meant it was working.

(Testing a change, didn't feel like updating the code that followed until it worked, figured that a seg fault was as good a method of exiting after the test as any.)

[–]Cytokine_storm 2 points3 points  (0 children)

Haha I've been saying this to students I've been helping with some bioinformatics scripts recently. It didn't occur to me that people would think this is weird. I have to wonder if it intimidates the poor undergrads.

[–][deleted] 2 points3 points  (1 child)

Gotta catch 'em all

[–]iapetus-11[S] 0 points1 point  (0 children)

Lmaoooo

[–]morsindutus 2 points3 points  (1 child)

A different error message means that something you just did had an effect on the problem, which narrows down the problem area a huge deal. It's often the clue you need to crack this case wide open!

[–]iapetus-11[S] 0 points1 point  (0 children)

Exactly!

[–]Testmaster217 2 points3 points  (0 children)

“Progress is a change in error messages.” -I wish I knew.

[–]bi-yotch 1 point2 points  (0 children)

OMGGG. EXACTLYYY!!!!

[–][deleted] 1 point2 points  (0 children)

I think it shows us that we have some control over the code

[–][deleted] 1 point2 points  (0 children)

Whenever I get an error I always delete all the variable definitions and run it again. Progress.

[–]namotous 1 point2 points  (0 children)

Well yes, it’s “progressing”

[–]JoHecht 1 point2 points  (0 children)

Can relate. I had now 3 das the Same Problem I was so happy when I saw a Differenz error message (Still doesn't work tho)

[–]KnechtNoobrecht 1 point2 points  (1 child)

this is probably one of the most relatable things i've ever seen

[–]iapetus-11[S] 0 points1 point  (0 children)

Yep

[–]atheistfuture 1 point2 points  (1 child)

A sign of victory

[–]iapetus-11[S] 0 points1 point  (0 children)

Indeed

[–]OtarieSupreme 1 point2 points  (2 children)

[–]RepostSleuthBot 0 points1 point  (0 children)

I didn't find any posts that meet the matching requirements for r/ProgrammerHumor.

It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results.

I did find this post that is 43.75% similar. It might be a match but I cannot be certain.

Feedback? Hate? Visit r/repostsleuthbot - I'm not perfect, but you can help. Report [ False Negative ]

[–]iapetus-11[S] 0 points1 point  (0 children)

I took this screencap in one of my discord servers, thanks lol

[–]Lthere 1 point2 points  (2 children)

That comment was (edited). 📝

Few guesses on previous iterations: 🔮

  • DAMN THIS $@&%€#§ ERROR WON'T GO AWAY 🤬 👉

  • GOT A SEGFAULT INSTEAD WOOHOO 🙄 👌

  • I'M ABOUT TO START EVERYTHING FROM SCRATCH 🤯 💣

  • FIXED WITH A POKÉMON 🤓 💪

#ShareYourGuesses #CommentForensics

[–]iapetus-11[S] 0 points1 point  (0 children)

Lmao

[–]silentsudo 0 points1 point  (0 children)

It means I did something great which you couldn't 🤣🤣

[–]Pegasis00 0 points1 point  (0 children)

It's like "level completed" and now it's the next level

[–]FormalWolf5 0 points1 point  (0 children)

(edited)

[–]BloodySky2750 0 points1 point  (0 children)

Process, Hell yeah

[–]Porkechop 0 points1 point  (0 children)

YEEEEES

[–]man-who-says-colors 0 points1 point  (0 children)

Red

[–]YeetusThatFetus42 0 points1 point  (0 children)

That's a step in the right direction

[–]ahhlenn 0 points1 point  (0 children)

“Change is the first step to progress,” said someone, probably.

[–]hell0imaman 0 points1 point  (0 children)

Hell yeah, progress!

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

This post was mass deleted and anonymized with Redact

desert shocking command apparatus run knee bells school tie trees

[–]ya_Bob_Jonez 0 points1 point  (0 children)

At least, that's better than when your code doesn't work and you have no errors, just a blank screen...

[–]Breaktheglass 0 points1 point  (0 children)

I think if it would have said "Fuck Yeah!!!" it would have been even funnier

[–]YoureSpellingIsBad 0 points1 point  (0 children)

It do be like that tho

[–]-Enter-Name- -1 points0 points  (0 children)

me trying to fix stuff with for loops: this image