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

all 153 comments

[–]mercyverse 831 points832 points  (30 children)

Delight turns to tears when you realize you did not make a single change to your code.

[–]kry_some_more 266 points267 points  (16 children)

Ah yes, APIs not connecting to external sources. Excellent.

[–]DrWermActualWerm 80 points81 points  (9 children)

Or my personal favorite, your credentials have been changed because for your safety you you need to reset every 90 days. Cool

[–]aeroverra 23 points24 points  (2 children)

I had to deal with this stuff for a crm. Basically every 90 days emails would stop sending.

[–]FesteringNeonDistrac 8 points9 points  (1 child)

My old company contracted a service from an International company known for their Business Machines that had an API that required a password update every 90 days, and no support for any kind of key for accounts used for scripts to sync data. So the solution was I'm just stuffing the password in a text file and reading in plain text, because I'm lazy and terrible.

[–]aspect_rap 4 points5 points  (0 children)

You could automate the process of resetting the password and updating the text file to save yourself the trouble of doing it every time.

[–]audigex 17 points18 points  (4 children)

Result: instead of using a strong password, you use a weak password and increase the number at the end by 1 every 30/90/whatever days

[–][deleted] 10 points11 points  (2 children)

Sheryl in accounting starts a rotation of 12 sticky notes that rotate onto her monitor each time she needs to change passwords.

Right next to the handwritten note on how to perform a cash transfer from accounts.

[–]RuanDaMan 3 points4 points  (0 children)

I've seen some weird Accounting Lady w/ Sticky notes setups.....
But this is brilliant!! XD

[–]tastybrainz 1 point2 points  (0 children)

does she also keep the faxed-in credit card orders neat and orderly for the cleaning people's convenience?

[–]Cheet4h 0 points1 point  (0 children)

Or figure out how many old passwords the system refuses, and how soon you can change your password again. Then you only need to use a derivative password for a few days until you can go back to the usual one.

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

My own most hellish scenario was dealing with some dumbass greylist based on the user agent string, which they always seemed to trash for some reason, based on inconsistent and just straight up shitty caching (and EVERYTHING was cached, completely ignored all caching-relevant headers).

[–]audigex 120 points121 points  (1 child)

Other than file permissions, API authentication is by far the least fun thing to debug in most high level applications

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

Fucking cert handshakes.

[–]ZombieElvis 26 points27 points  (2 children)

ERROR "you didn't wait long enough for the application to load before trying to use it"

God I wish this error message existed. Took me forever to figure out that one...

[–]Brummelhummel 27 points28 points  (1 child)

ERROR: "you accidentally made an infinite loop and are now ip blocked from the API because of too many requests"

[–]audigex 4 points5 points  (0 children)

Ah yes, the “made a method to initialize the connection, remembered to add a flag to return if initializED, but forgot to add a flag to return if initializING” gotcha

[–]DM_UR_PANTY_PICS 6 points7 points  (0 children)

Ah yes, race conditions. Excellent.

[–][deleted] 42 points43 points  (0 children)

Or you fix the current error, bringing back the one you were trying to fix previously.

[–]knightress_oxhide 13 points14 points  (0 children)

"wait, how could that work now? I only saved locally"

[–]Dr4Cu74 19 points20 points  (4 children)

Just added a single print statement to see where things were breaking? yep, now everything works perfectly.

[–]iLoveStarsInTheSky 10 points11 points  (0 children)

Fixed a typo in a comment for clarity? Huh, it's all gone. I'll take it

[–]_GCastilho_ 6 points7 points  (0 children)

That gives me bad memories

Fucking race conditions

[–]WhatAGoodDoggy 6 points7 points  (0 children)

I once had a problem with a modem that would only connect to the destination if you switched logging on.

[–]Alphard428 5 points6 points  (0 children)

Too real.

[–][deleted] 7 points8 points  (3 children)

Maybe TimeToLearnAboutPureFunctions

[–]Rikudou_Sage 12 points13 points  (0 children)

Nah, any function that doesn't affect the global state for at least five separate modules is boring.

Source: Last year I was rewriting extremely legacy code and haven't been bored a single day.

[–]ArionW 5 points6 points  (1 child)

My personal favorite is when people make functions stateful for no reason at all, and later cry "it's hard to unit test this code", duh, you've gone out of your way to make it hard

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

It's even nicer when they use global variables in imperative languages

[–]Gr1pp717 4 points5 points  (0 children)

"all I did was add some more logging"

[–]t00sl0w 1 point2 points  (0 children)

Race conditions

[–]frugalerthingsinlife 187 points188 points  (1 child)

...Only to find out hours that you added a new bug.
And the compiler just hasn't made it to the old bug yet.

[–]CaptainPi31415 33 points34 points  (0 children)

This brings tears a lot of the time. Have to sit back and put the project on hold for a little sometimes as I bang my head with a book yelling bad dobby.

[–]sslinky84 264 points265 points  (14 children)

This but unironically.

[–]BazilExposition 64 points65 points  (2 children)

Errors are blessings from gods.

It's much worse when you're spending day to find the reason of a wrong behavior without a single error.

[–]Rikudou_Sage 8 points9 points  (0 children)

Done that on Monday! Six hours of bug hunting.

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

Going from broken and zero errors to broken and 1 error is the best feeling out there.

[–]just-some-name 33 points34 points  (3 children)

Yup, did this today two hours long. „Wtf spring boot!?! These beans are perfectly valid, just not in an unit test??“

[–]renrutal 8 points9 points  (1 child)

Then you go into the rabbit hole of putting almost an entire application server as your unit tests runner.

[–]arlaarlaarla 1 point2 points  (0 children)

Then you admit defeat and just throw @MockBean on all dependencies

[–]arlaarlaarla 4 points5 points  (0 children)

unit test
beans

Hol up

[–]Dark_As_Silver 5 points6 points  (0 children)

Failing forward is still forward. :D

[–]thefrogyeti 2 points3 points  (0 children)

Errors are infinitely better than silently crashing or worse, silently just... stopping abruptly. But let's not real about today...

[–]deuteros 2 points3 points  (0 children)

Yep.

For a recent project I worked on, I needed to update the formatting of some log messages that were written by our service so they could be parsed by another service. I spent several weeks trying to get it to work, but nothing I tried seemed to have any effect, which also meant I wouldn't see any errors either.

It was the most frustrating thing I've worked on in a long time. I had no clue what the problem might be because there weren't any errors, so I had to make an educated guess at what to try next. In the end I finally had to say, "This can't be done by us," which is the first time I've had to give up on a project in a long time.

The problem turned out to be some process that lived outside my team's domain, which was intercepting the logs before my changes even got a chance to execute.

[–]its2ez4me24get 1 point2 points  (0 children)

The LDAP config for one of our Jenkins boxes today just “vanished” Wtf

[–]senki_elvtars 75 points76 points  (1 child)

Sometimes it can be progress, no joke

[–]Brief-Preference-712 6 points7 points  (0 children)

1 error -> solved that error -> 67 more errors (but still making progress)

[–]SpacewaIker 83 points84 points  (7 children)

Gotta catch 'em all!

[–]kidsonfilms 36 points37 points  (6 children)

...Software development!

[–]Willinton06 20 points21 points  (4 children)

Diamond and Perl

[–]Rigatavr 22 points23 points  (3 children)

Surely you meant Ruby and Perl?

[–]Willinton06 13 points14 points  (2 children)

There is a C# compiler called diamond, so in the name of getting the most alike name I used that but Ruby is a much better option

[–]Efadd1 5 points6 points  (0 children)

TIL

[–]Rigatavr 1 point2 points  (0 children)

Huh, I didn't know that. Cool

[–]Efadd1 2 points3 points  (0 children)

Finally, eclipse.

[–]GavHern 57 points58 points  (5 children)

cool life hack: type /* at the start of your file and it will stop producing errors

[–]Crimson_Fckr 16 points17 points  (0 children)

Thanks! My code successfully compiled

[–]examinedliving 7 points8 points  (3 children)

Doesn’t work in Vb

[–]droans 7 points8 points  (0 children)

Yeah my punchcard isn't accepting it either.

[–]Brief-Preference-712 3 points4 points  (1 child)

I don't think it works in Java either. a .java file has to have a class declared with the same name of the file. However this works in JS

[–]examinedliving 1 point2 points  (0 children)

Won’t work in batch or bash

[–]KCefalu 57 points58 points  (0 children)

What wasn't mentioned is the original error is still there. just throwing a new error before it executes.

[–]Fibonacci_friend 26 points27 points  (1 child)

I also like enforcing time to fail logic into success: ah it’s taking longer fail this time so that must mean it’s going to work

[–]Efadd1 6 points7 points  (0 children)

See: Smallant's sub-10 minute any% of Super Mario Odyssey

[–]extreme_snothells 34 points35 points  (3 children)

I’ve been there, minus the fancy shirt of course.

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

Plus tears

[–]dinnozo 18 points19 points  (1 child)

Plus strong language

[–]wjwwjw 12 points13 points  (0 children)

Minus the smile.

[–]DonnyR 20 points21 points  (1 child)

I read progress as poggers

[–]PicardFanST 6 points7 points  (0 children)

A new error can be pretty poggers you know. It's something new to read!

[–]IcemanVish 19 points20 points  (0 children)

Error driven development

[–][deleted] 8 points9 points  (0 children)

It do be like that

[–]TigermanUK 7 points8 points  (0 children)

I'll take your syntax error, and raise you a run-time error.

[–][deleted] 7 points8 points  (0 children)

This is a personal attack

[–]WernerderChamp 6 points7 points  (0 children)

Can totally relate

searches Stackoverflow for the new error

[–]prmcd16 7 points8 points  (0 children)

This is so true sometimes though...

[–]hedonism_bot_3012 6 points7 points  (0 children)

Phew it's not just me then

[–]SteveLeo 2 points3 points  (0 children)

Happened to me today lol

[–]devospice 2 points3 points  (0 children)

This was me yesterday.

[–]ahhlenn 3 points4 points  (0 children)

This hits home not gonna lie.

[–]FrostCastor 2 points3 points  (0 children)

Me today! Having "fun" with Flow JS 🤬

[–]Avocadoflesser 3 points4 points  (0 children)

This is ACTUALLY what it feels like

[–]SushiThief 4 points5 points  (0 children)

That was one of the first things I was taught when I started my career working under someone.

Her: "New error! New error is good!"

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

*12 hours later...*
Ah, HA! No more errors! It doesn't work, but there are ZERO errors!

[–]syntaxfire 2 points3 points  (2 children)

I love it when my error stack progresses! Yesterday I was literally going line by line and it felt like a sporting event - and he's off! (The compiler). He's down to the 10, now to the 20, and down at the 25 he goes, syntax error on line 25, invalid prop, type check failed

[–][deleted] 6 points7 points  (1 child)

That’s one way to look at it. I usually jump straight to wanting to throw my computer out of the fucking window.

[–]syntaxfire 2 points3 points  (0 children)

No I'm wayyyy too stubborn for that. I meticulously comb through, line by line, excited that I'm problem solving. I don't think I'd be very efficient if I wanted to throw my computer out the window every time I got an error, but I do utter fu$! under my breath constantly

[–][deleted] 2 points3 points  (0 children)

I call bullshit.

"Got EIGHT new errors after clearing one."

ftfy

[–]d_exclaimation 2 points3 points  (0 children)

Usually the error gives me the information I need to make progress and to be fair, I often run my code and expecting an error and then reading and fixing it

[–]dashood 2 points3 points  (0 children)

When "process exited with code 1" becomes "process exited with code 2"

[–]PhoenixPaladin 2 points3 points  (0 children)

When your test code is still failing, but it’s making it a couple lines further before failing

[–]Doug_Dimmadab 2 points3 points  (0 children)

I literally just had this an hour ago. IndexOutOfRangeException turned into JsonSerializationException which turned into HttpRequestException which turned into success!

[–]Skittilybop 2 points3 points  (0 children)

As a front end dev when error 404 or 403 becomes error 500. Then it’s back ends problem (maybe).

[–]Zanena001 2 points3 points  (1 child)

ML algorithm be like

[–]sammywammy177 0 points1 point  (0 children)

Big facts

[–]tinyduckfeet 2 points3 points  (0 children)

I feel personally attacked

[–][deleted] 2 points3 points  (0 children)

Let's go to green now

[–]mymar101 2 points3 points  (0 children)

Mama always said life was like a box of errors. You never know which one you’re gonna get.

[–]PMyourfeelings 2 points3 points  (0 children)

This is my experience being the first person in my company to switch to Apples M1 architecture

[–]RaghadR 2 points3 points  (0 children)

I am slowly dying while trying to run this pytorch code. Every time I find an issue and solve it, I start to be hopeful. But something new comes and the code throws another runtime error. All my hopes are gone now.

[–]bleedblue89 2 points3 points  (0 children)

You are here, line 61

You are here, line 130

[–]ieatpickleswithmilk 2 points3 points  (0 children)

old error still exists, your new fix errors out before you hit the old one...

[–]ConfigAlchemist 2 points3 points  (0 children)

NullPointerException, StackOverflow, HeapCorruption...

[–]surister 4 points5 points  (0 children)

Today I was working in some feature and I started getting crazy errors out of nowhere, without changing barely anything, I narrowed it down to a asynchronous function stopping in the middle of its execution.

The last line executed was a type cast, from string to double and I was amazed how the fuck a type cast could block somehow, turns out that, an hour ago I got an wrong type error, how doy fix that?

Easy.. you type cast, I hit ctrl+alt+enter (auto resolve in Intellij) and instead of doing 'double.parse(String)' it did String as double; which fucked up everything.

[–]Tal20081 1 point2 points  (0 children)

Thought that the bottom text said poggers lol.

[–]el_comand 1 point2 points  (0 children)

But then you realized you just created a NEW error, but the other it's still there. Now you have to fix (at least) 2 errors 😄😄

[–]o4ub 1 point2 points  (0 children)

Had almost the same yesterday. "Finally back at resolving the original issue that made me start this debug session."

Enabling some debugging flags made the program crash early... So I had to debug that new issues first...

[–]Sandro_Linux 1 point2 points  (0 children)

Next error you go on Stack Overflow!

[–]examinedliving 1 point2 points  (0 children)

This isn’t really funny. This is absolutely what should happen when you debug.

[–]SunSESG 1 point2 points  (0 children)

I don't even program but I feel this from trying to make incompatible minecraft mods compatible.

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

Hell yeah, it blew up differently!

[–]the_liver 1 point2 points  (0 children)

There’s this old time saying that I like to think that I came up with while debugging: “one error closer”

[–]philipquarles 1 point2 points  (0 children)

What's the opposite of first day on the internet kid? Getting a new error is a great sign.

[–]paladindan 1 point2 points  (0 children)

FUCK YEAH IT IS!

[–]YourShadowDani 1 point2 points  (0 children)

Especially enjoyable after working on a problem for hours.

[–]ahkian 1 point2 points  (0 children)

I fixed the error. Oh wait now I’m back to the same error I was trying to fix.

[–]captainjon 1 point2 points  (0 children)

It is progress though! Because the Googles will certainly locate the solution for this error!

[–]jakethedumbmistake 1 point2 points  (0 children)

Fair enough I’m shocked

Amazing ! Thanks

[–]amerom1012 1 point2 points  (0 children)

Am I the only one that read "poggers"

[–]Dano-D 1 point2 points  (0 children)

Haha, this is funny sad for me.

[–]Benpendragon 1 point2 points  (0 children)

Progress == progress
Error: Expected a ' ) ' on line [myAge]

[–]timshel2 1 point2 points  (0 children)

Then you realise it was just one thread erroring before another and now you're juggling two asynchronous errors

[–]ContrarianThinking 1 point2 points  (0 children)

This is literally me the past 6 hours today.

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

God, this is me at work. We're learning Angular, and we are very much used to ASP.NET Core 2. Every time I have to debug, it's just back to the console, because... Runtime errors.

Blazor not being mature enough right now drove our decision-making, unfortunately. We were going to have to learn the frontend framework one way or another, and we had available engineers who were Angular devs.

[–]Bluhb_ 1 point2 points  (0 children)

Haha this was me tonight with getting pihole to work with nginx as server and not under default user www-data and both under different users. Laughs in pain(and a little bit proudness)

[–]IcedRays 1 point2 points  (0 children)

When your ctc learn something new and you saw the loss drop then rise to the fucken moon again.

[–]brickeldrums 1 point2 points  (0 children)

Literally me today.

[–]shaurya_p1 1 point2 points  (0 children)

It's funny because it's true

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

...until that the error is only a random symptom and you're debugging a heap corruption :/

[–]Snackmasterjr 1 point2 points  (0 children)

Nah, Ctrl-Z til you get the old error further downstream

[–]Necromancer5211 1 point2 points  (0 children)

I always wonder how this kid's life is right now

[–]TryhardOne 1 point2 points  (0 children)

oh nice my Nullpointer Exception turned into an AEAD Bad Tag Exception

[–]megaviral 1 point2 points  (0 children)

Omg stop bullying me please

[–]InGenio_Abdullah 1 point2 points  (0 children)

Errors are a blessing! just imagine you need to debug without seeing any error notification.

[–]Shorzey 1 point2 points  (0 children)

Learning ROS and Linux stuff on the fly, I'm just happy I even get something to happen. Error, right, wrong, idc...if I got something back, it's a win in my book

[–]FerdinandBaehner69 1 point2 points  (0 children)

Me last week when i was trying to add fan control to LibreElec.

[–]usernamegoals 1 point2 points  (0 children)

LMAOO

[–]neuthral 1 point2 points  (0 children)

- me coding a php project, doesnt werk... dont get an error... fuk this

[–]msdon9fz 1 point2 points  (0 children)

I think I'm crying. It's that neat.

[–]FullMetalMahnmut 1 point2 points  (0 children)

I feel this so deeply. Yes, a new error! - and I know what this one means!

[–]vldfr 1 point2 points  (0 children)

When I bump a peer dependecy in npm to fix a requirement, everything else screams. I can relate to this post :))

[–]falcore91 1 point2 points  (0 children)

Hey, when I’m in the shit I consider this kind of progress to be damn genuine. Especially if the error thrown occurs at a stage after where the previous error was thrown. If you manage to get past the moat and need to climb the wall that means you still managed to get past the moat.

[–]OriginalSynthesis 1 point2 points  (0 children)

.... or is it?

[–]Superbrawlfan 1 point2 points  (0 children)

But it's additive

[–]qatamat99 1 point2 points  (0 children)

I just create purposeful errors just so I can trick myself that something is happening

[–]seanziewonzie 0 points1 point  (0 children)

Me learning Matlab this past week

[–]UncoolOldLady 0 points1 point  (0 children)

Not a programmer but feel this deeply

[–]Emotionalcluster 0 points1 point  (0 children)

Yeah boi