r/ProgrammerHumor • • Nov 06 '18

Rule #0 Violation Why it takes so long to fix a bug

30.9k Upvotes

409 comments sorted by

3.8k

u/Neyvash Nov 06 '18

110%. This is also me at the house

734

u/[deleted] Nov 06 '18 edited Nov 06 '18

No it isnt, we all know that since you're a redditor you not productive enough to be this way, when you join reddit you sign away all your productivity away to the devil.

71

u/Neyvash Nov 06 '18

I'd normally agree, but I have the super-power called... being a mom. Shit's got to get done and who else is going to do it. lol

75

u/TheTerrasque Nov 06 '18

That's what you spawn children for, to do the heavy work for you

50

u/McCoy1996 Nov 06 '18

...spawn children...

I/s that how that all works?

73

u/t3sture Nov 06 '18

You must construct additional peons.

→ More replies (7)
→ More replies (2)
→ More replies (5)
→ More replies (7)

2

u/sarcasmcannon Nov 06 '18

Hey dude, I saw 5 r/motivation memes today! I think I'm doing pretty good.

→ More replies (1)
→ More replies (6)

19

u/SteeleDynamics Nov 06 '18

Me too.

DFS at its finest (read: worst).

→ More replies (4)

8

u/[deleted] Nov 06 '18

Excatly. I wanted to fix my led string light that I hung outside. Can’t find the proper wire, once I found it.. it was broken so I put electrical tape around it and put it out and when I tried to use hangers, turn out I didmt have any nails. I decide to head to the store, car won’t turn, turns out battery is dead, Chang the battery.. oil sign came on and changed the oil... now headlights won’t work, and after everything was done, freaking store closed so I couldn’t finish what I had to do eventually.

2

u/khube Nov 06 '18

Yup, life in a fixer upper house.

2

u/ragingnoobie2 Nov 06 '18

I swear man, there are just endless amount of chores it's insane. You fix one thing and another one breaks.

→ More replies (1)

213

u/ArrowheadVenom Nov 06 '18

I love how Walter White does almost this exact thing in Breaking Bad.

“There is ROT in the floorboards, Skyler!”

70

u/[deleted] Nov 06 '18

Also a great example of the same scenario played for comedy in one show and played straight as a drama in another, both done quite well.

1.7k

u/[deleted] Nov 06 '18

Starting new projects before finishing the first one

11

u/BagelJaengi Nov 06 '18

Embrace the queue!

2

u/AmatureProgrammer Nov 06 '18

Finding a nice tutorial/resource online and saving/bookmarking it to refer back to when you have time, but then forgetting about it.

2

u/[deleted] Nov 06 '18

I have tutorial playlists saved to my YouTube library that I haven't looked at in over a year

→ More replies (53)

735

u/skeptic11 Nov 06 '18

The take away from this should be that it's ok to only fix the original bug.

Additional bugs can be typed up as a new issue and assigned to the project manager. They can determine if the bug is worth time fixing this sprint, if so they can decide what get's bumped.

27

u/[deleted] Nov 06 '18

Bug fix time estimate: 15min

Time to write unit tests for bug fix: 15min

vs

Time to write up issue: 2min

Time to repeatedly bring up the bug at planning meetings to get it prioritized: 5min * N

Time to fix bug when encountering it again later and being annoyed it's not fixed: 30min.

Take the limit as N goes to infinity.

15

u/hahainternet Nov 06 '18

The take away from this should be that it's ok to only fix the original bug.

This is the most incorrect you could be. The takeaway is that if you only fix the original bug enough times, you have built a house of cards which will collapse at the slightest touch.

There wasn't just one bug in this gif, but a series of bugs which cascaded due to them not being fixed earlier. Leading to a major outage and pissed off customers.

→ More replies (4)

6

u/[deleted] Nov 06 '18

I dunno, it seems like the point of this joke is you actually can't fix the first bug until the others have been fixed.

13

u/skeptic11 Nov 06 '18

The light-bulb is on the shelf. He just needed to be careful when removing it.

The screwdriver was in the drawer. It just annoyed him that the drawer made noise.

It wasn't until he realized he was out of WD-40 that he had an actual blocker sub-bug - the car not turning on.


He could have been much more productive fixing the light-bulb, then fixing the shelf, then fixing the car after realizing he couldn't fix the drawer without it.

He also wouldn't feel like he was working on fixing 4 different things and getting no-where. He would have already quickly fixed the first 2.

9

u/skeptic11 Nov 06 '18

Also, the project manager (his wife) probably only cared about the light-bulb.

→ More replies (1)

9

u/chazmuzz Nov 06 '18

This sort of distracted work is something I would expect from a junior, but not a senior developer

10

u/skeptic11 Nov 06 '18

Yep. Junior devs bring energy and an eagerness to learn. You need to calm them down and focus them sometimes though.

I just spent a month training you. You may not burn yourself out within the first year.

→ More replies (4)

2

u/Vlad11_11 Nov 06 '18

Or on the next patch you have a lot more features than you would think.

2

u/TheTerrasque Nov 06 '18

Would be more relevant if they were all connected, like it often is

→ More replies (12)

611

u/thisismyaccount57 Nov 06 '18

I've been looking for this gif for like two years!!

126

u/MCPE_Master_Builder Nov 06 '18

For reference in the future, try /r/tipofmytongue

70

u/undearius Nov 06 '18

What if I forget the name of the subreddit but I know there's a subreddit for answering that sort of thing?

94

u/MCPE_Master_Builder Nov 06 '18

I don't know, cry, I guess?

3

u/Flugschwein Nov 06 '18

Subscribe the sub, and then go through your list. ;-)

0

u/[deleted] Nov 06 '18

[deleted]

→ More replies (1)
→ More replies (3)

9

u/[deleted] Nov 06 '18

Where is the gif from?

29

u/slylover88 Nov 06 '18

Malcolm in the Middle

→ More replies (3)
→ More replies (8)

3

u/GordoSF Nov 06 '18

I've been looking for this sub for like two years!!

→ More replies (2)

11

u/ElectricalMTGFusion Nov 06 '18

Malcom in the middle has so much meme potential

→ More replies (11)

273

u/[deleted] Nov 06 '18

Yes. Malcolm in the Middle is the greatest show of all time.

50

u/LegendOfAdrastos Nov 06 '18

Hal went into deep depression because of Lois, moved to Albuquerque, went to therapy, started a new family, became a science teacher, but unfortunately, after realising he got cancer, his depression came back, but this time he became a full fledged drug lord.

11

u/TheGuyWithTwoFaces Nov 06 '18

And all I could think of was "we've got rot!" during this entire gif.

5

u/PooPooDooDoo Nov 06 '18

Meth in the Middle

4

u/codyfo Nov 06 '18

Holy shit, that makes so much sense! You just gave me the perfect excuse to go back and rewatch Malcolm in the Middle.

→ More replies (1)
→ More replies (1)

3

u/stuffedanimalfap Nov 06 '18

Nu.uh. it's clearly the Breaking Bad back story

1

u/cholantesh Nov 06 '18

That's a strange way to spell Arrested Development.

0

u/[deleted] Nov 06 '18

[deleted]

2

u/[deleted] Nov 06 '18

I never appreciated Hal as a kid, because what do I care about an adult character? Now I appreciate just how amazing he is.

0

u/[deleted] Nov 06 '18

[deleted]

25

u/Geminel Nov 06 '18

Life is unfaaaaair.

→ More replies (1)
→ More replies (1)

142

u/[deleted] Nov 06 '18

What’s missing, is eventually you realise your job is meaningless and you go cook meth.

40

u/Zmodem Nov 06 '18

You're goddamn right.

24

u/CzarEggbert Nov 06 '18

This makes me think of recursion...

17

u/Doggo4 Nov 06 '18

This makes ME think of recursion...

7

u/srottydoesntknow Nov 06 '18

This makes me think of recursion...

→ More replies (3)

2

u/[deleted] Nov 06 '18

That makes me think of this.

→ More replies (2)

66

u/UnsubstantiatedClaim Nov 06 '18

This is called "Shaving the yak"

19

u/[deleted] Nov 06 '18

What's the origin of that term?

21

u/wirelyre Nov 06 '18

See this reference in The Jargon File.

14

u/nalydpsycho Nov 06 '18

I use this term at work way more than my coworkers are comfortable with...

10

u/EMCoupling Nov 06 '18

Someone shared this to me some time ago and I found it an enjoyable read.

→ More replies (3)

13

u/TheTooz Nov 06 '18

WD40 is not a lubricant

26

u/DC38x Nov 06 '18

So that's why my girlfriend has been complaining

2

u/[deleted] Nov 06 '18

it is, it just doesn't last long

3

u/TheTooz Nov 06 '18

It's a solvent that happens to have have a slightly oily consistency, that's why it's commonly mistakenly used as a lubricant.

5

u/[deleted] Nov 06 '18

so....it lubricates?

→ More replies (2)
→ More replies (1)

11

u/LegendOfAdrastos Nov 06 '18

Hal went into deep depression because of Lois, moved to Albuquerque, went to therapy, started a new family, became a chemistry teacher, but unfortunately, after realising he got cancer, his depression came back, but this time he became a full fledged drug lord as well. Can't wait for the "Breaking In The Middle" where they explain how he became a chemistry teacher without knowing anything about chemistry and finally connect the two worlds. Long term writing, bois.

9

u/Amq01 Nov 06 '18

there's a hole in my bucket

6

u/IzarkKiaTarj Nov 06 '18

Dear Liza, dear Liza...

→ More replies (1)

8

u/vReddit_Player_Bot Nov 06 '18

Links for sharing this v.redd.it video outside of reddit

TypeLink
Custom Playerhttps://vrddit.com/r/ProgrammerHumor/comments/9uov1n
Reddit Playerhttps://www.reddit.com/mediaembed/9uov1n
Direct (No Sound)https://v.redd.it/2f1beh0y2qw11/DASH_600_K

vReddit_Player_Bot v1.3 | I'm a bot | Feedback | Source | To summon: u/vreddit_player_bot | Bookmarklet

8

u/billydodd Nov 06 '18

This is a stack based approach, Hal should be using a queue

7

u/Fartikus Nov 06 '18

Once the chain is finished though... the serotonin rush is real.

→ More replies (2)

17

u/[deleted] Nov 06 '18

Can we just setup a cron to repost this once a day? Seems easier than manually doing it.

9

u/willfulwizard Nov 06 '18

I’m annoyed by most reposts. (Not mad, I know many people have never seen them so let them be posted.) But not this one. I will upvote it every time.

4

u/danc4498 Nov 06 '18

Somehow I'm in the registry searching for keys to delete. I just wanted to debug this app I wrote 2 years ago!

4

u/infomaniac89 Nov 06 '18

Hah! The memories... I used this as a metaphor for debugging for my first conference talk about 5 years ago. The talk (and the video referenced) have both since been taken off YouTube for whatever reason, but my slides remain https://speakerdeck.com/dannykopping/the-debugging-checklist?slide=6

4

u/blacpythoz Nov 06 '18

Fixing things in Arch Linux

3

u/DIzlexic Nov 06 '18

Fun fact: this is also why it takes so long to shave a yak.

3

u/[deleted] Nov 06 '18

This should be changed to refactoring. Currently experiencing this and there are so many feels for this I almost cried.

3

u/moonshadow264 Nov 06 '18

This is r/ADHD ‘s favorite gif.

3

u/qube_7 Nov 06 '18

This is me when cleaning my apartment, ending up spending four ours replanting my flowers or something. Instead of cleaning.

3

u/[deleted] Nov 06 '18

This is me fixing my archlinux install

7

u/kayoken_5000_ALV Nov 06 '18

It do be like that

2

u/Lygre Nov 06 '18

So accurate

2

u/warpod Nov 06 '18

Every fucking time

2

u/shakix99 Nov 06 '18

I came full circle today boys. Started writing a fix for a bug I already had a fix for. Too had my old fix was like 3 months outdated code ha

2

u/anotherkeebler Nov 06 '18

Well those yaks aren't gonna shave themselves.

2

u/AestheticFC Nov 06 '18

One Small Favor quest from RuneScape anyone?

2

u/ohlaph Nov 06 '18

It do be like that though.

2

u/tamatarabama Nov 06 '18

I upvote this gif everytime I see it!

2

u/[deleted] Nov 06 '18

man, malcom in the middle has to be one of the greatest shows ever

2

u/NinjaBurrito206 Nov 06 '18

Yes no, maybe, I don't know. Can you repeat the question?

2

u/donutnz Nov 06 '18

The repair cascade after fixing the car would have been magical.

2

u/gamerABES Nov 06 '18

That's what ADHD feels like.

2

u/Pyraptor Nov 06 '18

I thought that when he was going to place the new light bulb, all lights in the house would turn off.

2

u/v01d1 Nov 06 '18

Story of my life :/

2

u/candybar97 Nov 06 '18

I don't remember this scene from Breaking Bad

2

u/Devvinitive Nov 06 '18

This has literally been the most relevant post of my life.

4

u/EntrepreneurIL Nov 06 '18

This is so true, it should be posted in r/programming not here 😊

1

u/Bullet_in_my_head Nov 06 '18

What movie is this from?

8

u/NiceSasquatch Nov 06 '18

tv show, malcom in the middle.

imho, excellent show. and Bryan Cranston is a completely different character than breaking bad, kinda amazing.

→ More replies (3)

1

u/gnafkcin Nov 06 '18

I think it's from the tv show Malcolm in the Middle.

→ More replies (1)

1

u/mattstreet Nov 06 '18

I wish this was why it took so long to get bugs I file fixed.

1

u/rdns98 Nov 06 '18

Epic relevance

1

u/loozerr Nov 06 '18

Oh look, this time of the minute again.

1

u/behaaki Nov 06 '18

This is exactly how it goes, and it took me years of effort to not do it that way.

1

u/Animoose Nov 06 '18

I feel personally attacked

1

u/fush1014 Nov 06 '18

There are so many bugs in this software...

1

u/doublejosh Nov 06 '18

This is called “YAK SHAVING” ...look it up.

1

u/Tyj1013 Nov 06 '18

Star Wars Battlefront II

1

u/datTarthonGuy Nov 06 '18

Ah yes, yak shaving

1

u/[deleted] Nov 06 '18

Poor Hal

1

u/nfriedly Nov 06 '18

We call it "yak shaving" where I work. No idea why.

1

u/infreq Nov 06 '18

It's not even humour, it's 100% correct

1

u/lemothelemon Nov 06 '18

God I can hear the theme song start up immediately after this finishes

1

u/elasticcream Nov 06 '18

Until you're shaving a yak in upper Mongolia

1

u/itspinkynukka Nov 06 '18

Some WD-40 will fix that right up.

1

u/siba-tech Nov 06 '18

Break it bad

1

u/trowawee12tree Nov 06 '18

This is so accurate, haha.

1

u/[deleted] Nov 06 '18

It really do be like that.

1

u/MadHaterz Nov 06 '18

I hate the new Reddit upload format. You can't just share the gif anymore...

1

u/Jimbobwhales Nov 06 '18

Man Heisenberg had it rough.

1

u/BigChubs18 Nov 06 '18

I can't stop laughing. I'm not a programmer. But i know this is so true.

1

u/10art1 Nov 06 '18

This is why the modern programmer fixes bugs asynchronously

1

u/gambl0r82 Nov 06 '18

Oh look, it’s me every day at work getting interrupted by user requests.

1

u/heartcount Nov 06 '18

people are saying WD-40 isn't a lubricant, what is it typically used for?

2

u/congo91 Nov 06 '18

It’s a solvent. Use it to break up rust.

1

u/scary_jon Nov 06 '18

Didn't modern family do this off once?

1

u/Allah_Shakur Nov 06 '18

"It just never fucking ends" -AvE

1

u/mickledick Nov 06 '18

Am I the only person that sees a rerun of Malcolm in the Middle and keeps expecting Cranston to sneak off and cook meth at some point?

1

u/[deleted] Nov 06 '18

Me, every saturday.

1

u/TabCompletion Nov 06 '18

The title should be "refactoring"

1

u/nevertellmethemods Nov 06 '18

Me when I get to a [7] on my day off.

1

u/BoogerThyme Nov 06 '18

Classic Walter White moment.

1

u/devcow Nov 06 '18

A good one! :-D

1

u/[deleted] Nov 06 '18

Is this Malcolm in the Middle?

1

u/dan1101 Nov 06 '18

This is why I tend to allocate an entire day for something that should take an hour or two.

1

u/try_altf4 Nov 06 '18

Reminds me of my first uninitialized variable fix, running into a home cooked source control system that failed to compile and update the production code.

Was great. The compile command on their system also did not work.

1

u/jlnunez89 Nov 06 '18

Pretty good example of a Stack vs Queue.

1

u/tallerThanYouAre Nov 06 '18

This is me in my brain, planning my weekend. When the weekend comes, I'm too exhausted to do anything.

Monday, plan the next weekend.

1

u/mhahka Nov 06 '18

This was a good show

1

u/Fatal_Deviation Nov 06 '18

The mom from malcolm in the middle was hot

1

u/King_Bonio Nov 06 '18

Man literally just watched this episode.

1

u/cadaverously Nov 06 '18

Vortex of sequences

1

u/HarveyWeinstein1 Nov 06 '18

This show was the best and still is.

1

u/chelefr Nov 06 '18

Lol!!!!!! Thanks for this

1

u/mazziegold Nov 06 '18

Me cleaning house. Or trying to.

1

u/peterfonda2 Nov 06 '18

Malcolm in the Middle was a great show

1

u/Rappican Nov 06 '18

basically /r/factorio in a nutshell

1

u/asdf23451 Nov 06 '18

1

u/vreddit_bot Nov 06 '18

Downloadable link: https://v.redd.it/2f1beh0y2qw11/DASH_600_K

Use a browser if you can't open it in your app.


I'm a Bot bleep bloop | Info | Donate

1

u/henry9206 Nov 06 '18

This gif can also be applied to trying to do any one thing in RDR2.

1

u/iopq Nov 06 '18

He should have been shaving a yak by the end of it

1

u/riskybusinesscdc Nov 06 '18

This is the most accurate meme in programming history.

1

u/AssCork Nov 06 '18

If you spend enough time planning the project (collecting requirements, writing epics, stories, tasks, sub-tasks, and actions, preparing purchase and access requests, submitting change records for thr release phases)

Eventually the need will go away 😎

1

u/internets_expert Nov 06 '18

When you debug your own life

1

u/flukshun Nov 06 '18

OMG this has been my week. I don't even know where to begin summarizing it for my status call without going full Trump.

1

u/[deleted] Nov 06 '18

How it feels to be an ironman

1

u/[deleted] Nov 06 '18

>3 hours in >Decides to rebuild the house from scratch

1

u/nsjr Nov 06 '18

Or, you can forget everything, install a cable directly from you neighboor into you kitchen, put something incandecent and forget everything else.

1

u/velofille Nov 06 '18

This is me when i go to get a coffee ...

1

u/Wizard_of_Wake Nov 06 '18

Shaving the yack. Or in this case shaving the hack.

1

u/profesorkind Nov 06 '18

This scene just describes life in general.

1

u/anggogo Nov 06 '18

Prioritize by complexity and business impact, in this case, the light bulb should be first

1

u/[deleted] Nov 06 '18

Frustrating. Just sell some meth and pay to get someone in

1

u/Rorsxach Nov 06 '18

1

u/vreddit_bot Nov 06 '18

Downloadable link: https://v.redd.it/2f1beh0y2qw11/DASH_600_K

Use a browser if you can't open it in your app.


I'm a Bot bleep bloop | Info | Donate

1

u/TurncoatTony Nov 06 '18

Malcom in the middle was awesome

1

u/CoffeeAddict2018 Nov 06 '18

My life with ADD 😂

1

u/KindaCrypto Nov 06 '18

Boss: Why are you shaving this yak?

Me: I need the underbelly fur of an unladen yak to trade to the clockmaker for three silv…

Boss: never mind

1

u/2faymus Nov 06 '18

I'm not sure there's a better way to explain it than this gif. Well done.

1

u/Glavenoids Nov 06 '18

Such a good show...

1

u/teewuane Nov 06 '18

Stack overflow.

1

u/[deleted] Nov 06 '18

Doing this right now. On a bathroom break.

1

u/Dial-1-For-Spanglish Nov 06 '18

Got to cut your losses early. Just postpone the satisfaction of fixing everything thing before fixing that one thing.

1

u/OmgItsHavoc Nov 06 '18

What is this from??

1

u/ayriuss Nov 06 '18

I like how its ends with him rebuilding the engine to fix a few bugs. I'm looking at you Bohemia Interactive...

1

u/wouldofcouldof Nov 07 '18

Started playing again on Thursday, decided to pick ironman mode.

1

u/ViatorA01 Nov 08 '18

That’s my whole life in one gif.

1

u/TotesMessenger Green security clearance Nov 08 '18

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)

1

u/andrzejdus Nov 10 '18

Technical debt :P

1

u/thewwfguy Nov 13 '18

this is why i build a list and stay focused!

1

u/skyhi14 Nov 06 '18

That’s because you are using WD-40 as a lube; get a lithium grease.

1

u/AdaGang Nov 06 '18

Finally a r/programmerhumor joke that isn't way over my head. Love it