r/ProgrammerHumor • u/DataGrump • Nov 06 '18
Rule #0 Violation Why it takes so long to fix a bug
3.8k
u/Neyvash Nov 06 '18
110%. This is also me at the house
734
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.
104
u/ImBrent Nov 06 '18
To the alien***
38
u/jakethespectre Nov 06 '18
*to the bear
→ More replies (4)44
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
→ More replies (7)75
u/TheTerrasque Nov 06 '18
That's what you spawn children for, to do the heavy work for you
→ More replies (5)50
→ More replies (6)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)19
8
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
→ More replies (1)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.
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
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
Nov 06 '18
Starting new projects before finishing the first one
11
→ More replies (53)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
Nov 06 '18
I have tutorial playlists saved to my YouTube library that I haven't looked at in over a year
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
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
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
→ More replies (12)2
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
→ More replies (3)3
9
→ More replies (2)3
→ More replies (11)11
273
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
→ More replies (1)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)3
1
0
Nov 06 '18
[deleted]
2
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
142
Nov 06 '18
What’s missing, is eventually you realise your job is meaningless and you go cook meth.
40
24
u/CzarEggbert Nov 06 '18
This makes me think of recursion...
17
→ More replies (2)2
66
u/UnsubstantiatedClaim Nov 06 '18
This is called "Shaving the yak"
19
14
→ More replies (3)10
13
u/TheTooz Nov 06 '18
WD40 is not a lubricant
26
→ More replies (1)2
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
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
8
u/vReddit_Player_Bot Nov 06 '18
Links for sharing this v.redd.it video outside of reddit
| Type | Link |
|---|---|
| Custom Player | https://vrddit.com/r/ProgrammerHumor/comments/9uov1n |
| Reddit Player | https://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
2
8
7
u/Fartikus Nov 06 '18
Once the chain is finished though... the serotonin rush is real.
→ More replies (2)
17
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
3
3
Nov 06 '18
This should be changed to refactoring. Currently experiencing this and there are so many feels for this I almost cried.
3
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
7
2
2
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
2
2
2
2
2
2
2
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
2
2
4
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)→ More replies (1)1
1
1
1
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
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
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
1
1
1
1
1
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
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
1
1
1
1
1
1
1
1
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.
1
1
1
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
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
1
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
1
1
1
u/anggogo Nov 06 '18
Prioritize by complexity and business impact, in this case, the light bulb should be first
1
1
u/Rorsxach Nov 06 '18
u/vreddit_bot pls
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.
1
1
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
1
1
1
1
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
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
1
1
u/TotesMessenger Green security clearance Nov 08 '18
1
1
1
1
1
3
u/PretendsToKnowThings Nov 06 '18
What episode is this from?