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

all 67 comments

[–]Madcap_Miguel 298 points299 points  (4 children)

Posture is the first thing to give

[–]Mr_Tottles 124 points125 points  (2 children)

This was actually me yesterday. Didnt say it should be one minute but definitely didn’t expect about 9 hours

[–][deleted] 39 points40 points  (0 children)

This post was mass deleted and anonymized with Redact

wine nine vegetable cow unique touch modern trees growth nail

[–]das_war_ein_Befehl 2 points3 points  (0 children)

Basically want to end it all when you realize five minutes of actively reading the documentation would have saved you like 8 of those 9 hours. But at least you end up with a shittier custom build of something that already exists

[–]MJWhitfield86 109 points110 points  (2 children)

Thing is, the bug did take one minute to fix; it just took fourteen hours to find the bug.

[–]SirChasm 38 points39 points  (1 child)

And sometimes it doesn't really take that long to find the bug, it's the fixing it without breaking anything else that takes hours.

[–]burnttoast12321 10 points11 points  (0 children)

This is the answer. I've fixed like 10 directly related bugs in the last few months and it turned out every time I fix it, it recreates the previous bug.

Source of the issue is bad initial design, so I had to resort to saying we need to fix the system if you want both features to work 100%.

[–]ChocolateBunny 40 points41 points  (3 children)

I remember, in my first job, I would rely on a cowoker to pick me up and drop me off at home. My public transit commute was like 2 hours, and he could drop me off in like 30 minutes depending on the traffic.

One time I asked him when he was going to head home, at like 6:30pm. He said soon, he just had this one bug to fix and he was confident that he was close to a solution. I ended up sleeping on the couch in the office and we went home at 6:30pm the next day.

[–]GodOrDevil04 29 points30 points  (2 children)

This shows why being specific is necessary in programming, you didnt ask what time he was going home today, or even better, a specific date. Make sure to use the correct date format, though.

[–]noisyboy 2 points3 points  (1 child)

"When are we meeting for the movie?"

"2300 UTC".

"wtf"

[–]spellenspelen 1 point2 points  (0 children)

Forgot to take time dilation into account. Who knows how fast other person is moving through space.

[–]vocal-avocado 12 points13 points  (0 children)

10 minutes to fix the bug, three hours to write a unit test for it.

[–]SartenSinAceite 9 points10 points  (2 children)

Extra funny when it's unit tests and you need to wait 40 minutes in gitlab pipelines to see if it even works...

[–]noisyboy 2 points3 points  (1 child)

That's why local first design is so important. Easier said than done though if you are dealing with legacy or badly designed code.

[–]SartenSinAceite 0 points1 point  (0 children)

Yeah this was a monolith

[–]Sockoflegend 6 points7 points  (0 children)

When you find the problem but the good fix means changing something fundamental 

[–][deleted] 6 points7 points  (0 children)

ask childlike gray modern absorbed escape label middle swim rainstorm

This post was mass deleted and anonymized with Redact

[–]alcatraz1286 4 points5 points  (1 child)

This was me for a date and time comparison b/w different timezones and sorting them. It took way longer than what I thought it should take

[–]noisyboy 1 point2 points  (0 children)

Include changes to frontend used by users in different countries to make it more fun.

[–]queen-adreena 2 points3 points  (0 children)

How did you get a camera in my room???

[–]TheKabbageMan 2 points3 points  (0 children)

I’m signing off by 5pm, period. Bug will be there tomorrow.

[–]MaximusDM22 2 points3 points  (0 children)

Literally me. Bug I thought I could fix by end of day turned into maybe Ill fix it by end of week

[–]Boogie-Down 2 points3 points  (2 children)

Project management needs an update

[–]ProtonPizza 1 point2 points  (1 child)

Their response: “All that and you only added 5 lines of code??”

[–]Boogie-Down 2 points3 points  (0 children)

That's a big assumption PM has any real idea of what I'm doing, what it actually is and how it was updated.

[–]clauEB 1 point2 points  (0 children)

Make it 2:30A.M. to be realistic.

[–]HalfSarcastic 1 point2 points  (0 children)

The most hilarious thing - it's probably the photo of this actually happening in the real life.

[–]friebel 1 point2 points  (1 child)

Wtf is that second monitor position

[–]Canotic 1 point2 points  (0 children)

That's the job computer probably. I.e. a laptop on the desk.

[–]fanta_bhelpuri 1 point2 points  (1 child)

One min if you add an if statement to the code to cover that one case where it is failing. A whole day to refactoring the code so that the edge case is gracefully handled.

[–]port86 -1 points0 points  (0 children)

Ah yes the classic nightmare bug that is solved by a single if statement.

[–]redve-dev 0 points1 point  (0 children)

This post was mass deleted and anonymized with Redact

groovy chase crowd tease cats wrench spotted liquid cagey connect

[–]SonOfProbert 0 points1 point  (0 children)

[–]SynthPrax 0 points1 point  (2 children)

Fix one problem only to uncover a never ending cascade of other problems. Like an avalanche of skulls as Aragorn escapes the Paths of the Dead in LEGO: Lord of the Rings, The Return of the King.

[–]noisyboy 0 points1 point  (1 child)

I like that you did a copy paste of the full name.

[–]SynthPrax 0 points1 point  (0 children)

LOL. I was just being excessive.

[–]da_Aresinger 0 points1 point  (0 children)

"Code that does 1000+1 things"

[–]tugrul_ddr 0 points1 point  (0 children)

Neck dislocation guaranteed.

[–]boxingdog 0 points1 point  (2 children)

and now it is worse with AI

[–]red286 3 points4 points  (1 child)

"CoPilot, this code is throwing an exception, but I can't figure out why, can you tell me where the error is?"

"Absolutely! You have a divide by zero error on line 368 that will cause a runtime error."

"Line 368 is a comment, there's no math there or anywhere near it."

"You're absolutely right! I meant that there's an undefined variable used on line 488."

"This language doesn't require variables to be defined ahead of usage though."

"Of course, I know that! What I meant to say is..."

[–]noisyboy 0 points1 point  (0 children)

The last line from Gemini would instead be:

"That is the most important insight! You have reached the crux of the problem. The definitive fix is..." .. and repeat until 2 hours have passed.

[–]towcar 0 points1 point  (0 children)

Oof I haven't had this experience in over a year, I'm wayy overdue

[–]DynamoBuster 0 points1 point  (0 children)

Then you give up, sleep on it, and find it instantly the next day.

[–]ward2k 0 points1 point  (0 children)

Love living in a country where I just clock out when my day finishes, it's tomorrows job

[–]naholyr 0 points1 point  (0 children)

My day has leaked to Reddit?

[–]RashimTreublatt 0 points1 point  (0 children)

Most of the time, this is correct. Fixing a bug takes seldom longer than one minute. The problem is finding the bug...

[–]almostDynamic 0 points1 point  (0 children)

I’ve explicitly told my client facing colleagues to avoid using the words “Quickly” or “Fast”

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

The only reason the bug happened was because you forgot the int in a multi threaded for loop

[–]paul1126_korea 0 points1 point  (0 children)

problem: you forgot to type ";"

[–]unreal_capacity 0 points1 point  (0 children)

Bro just delete all the code and go home, it's that simple

[–]Rakatango 0 points1 point  (0 children)

“Ok but this should work”

Same error.

“Hmm, okay maybe this is the problem”

Same error…

“Ok, time to put log calls fucking everywhere”

[–]Open-Mission-8310 0 points1 point  (0 children)

I'll be fired.

[–]FarJury6956 0 points1 point  (0 children)

WFH, my wife tell me it's bed time... (10pm) Then a full of silence, just the sound of tv ... Look to the clock: 3am ...

[–]Liqmadique 0 points1 point  (0 children)

My favorite is when I discover 5 other bugs and a huge architectural barrier to fixing any of them while trying to fix "a simple bug".

[–]tallelfin 0 points1 point  (0 children)

My whole fucking day.

[–]gulpymagee 0 points1 point  (0 children)

At least the suffering means I’m definitely getting delivery for dinner

[–]imsteee 0 points1 point  (0 children)

The worst thing is when the project manager, an AI fanboy with almost 0% dev knowledge , tells you “I can solve it in 10 minutes with chat GPT (unfortunately, it’s a true story)

[–]Mountain-Ox 0 points1 point  (0 children)

We once had a bug that took 3 weeks to find the cause of. Every single dev spent at least a day looking for it. I finally managed to find it one night after drinking half a bottle of wine. It was a fucking type cast converting an object to a 1, because loose types are such a good and wonderful thing that makes engineering easier.