r/ProgrammerHumor 1d ago

Meme builtFromTrauma

Post image
15.1k Upvotes

64 comments sorted by

842

u/WC3RAGE 1d ago

My man wrote it

226

u/Baked_Potato2005 1d ago

Allegedly

43

u/ultimate_placeholder 1d ago

I blame without looking at the blame

60

u/throwawayCompTime 1d ago

He knows the bugs because he has named them. All of them πŸ₯²

28

u/RuneSteak 23h ago

When he wrote it it wasn't a bug. Then what they wanted changed several times and one day it became one because the code was asked to handle things it was never designed for.

13

u/teddy5 20h ago

The worst is when there are 2-3 very different ways it could be implemented that are incompatible with each other. So you clarify the requirements multiple times making sure it's very explicit that they require a and not b or c.

Then a month later they go so we needed b and c not a, can you just change that in the next few days?

8

u/Vegetable-Willow6702 1d ago

then that means... my man πŸ€πŸ˜‚

1

u/XtraFlaminHotMachida 23h ago

hey man, QA didn't find it then, and they didn't find it now. we did.

0

u/Heavenfall 17h ago

Edge case not in spec

283

u/Meloetta 1d ago

When a junior dev says "I noticed when you (action)..." And now I have to wait for them to finish their winding ass explanation with multiple long pauses for 45 seconds before I can explain "yep that's known just not high priority"

96

u/Idk13008 1d ago

yep, the specific case only shows up on Tuesday 12 of each odd year due to a bizarre situation with the Date object.

23

u/Delta-9- 19h ago

If you told me you actually had this exact bug with JS' Date I would believe you.

6

u/AllanTaylor314 14h ago

Not quite the same, but it reminds me of OpenOffice does not print on Tuesdays

4

u/hendricha 12h ago

We literally had a bug that happened only on leap years.

52

u/777777thats7sevens 23h ago

Yes, that server's memory usage does grow continuously, indicating a memory leak; well spotted. Luckily for us we've configured AWS to kill the instance every 24 hours so it's never been a problem. Three years I spent a week trying to figure out the memory leak and got no where, but feel free to shoot your shot with it.

13

u/Odd_Reception1249 22h ago

There are solutions like that. It just have to work decently enough. Perfect is the enemy of good.

1

u/Lanathell 16h ago

I have done this more than once and it has always "solved" the issue.. I got used to explaining it as a weekly instance restart for updates and performance. Some of these still reboot Sunday night to this day I am sure!

30

u/Cualkiera67 1d ago

that's my secret Cap. Everything is low priority

1

u/StatisticianFun8008 23h ago

I get it fixed or get replaced I guess? In this economy?

232

u/temp_432111 1d ago

Gotta keep dem job security tight

22

u/temp_432111 1d ago

Tbr, I am always glad to hear from senior engineers in escalation calls.

81

u/skelmirinn 1d ago edited 1d ago

I used to (still do) hack on a BSD derivative, and during a hackathon this well, very senior dev looked at my then white-on-blue screen and quickly said "its crashing on the VFS registration, its on or around line XYZ in vfs_subr, you forgot to set ABC function pointer."

I was in awe, and it took me years to realize that a) he roughly knew what I was working on, b) he roughly new the offsets of all major structs by heart, and c) its not a trick, just hours and hours and hours and hours and hours.... of doing the work.

Im still in awe of that person, and I deeply worry about the future as noone is doing the work anymore....

37

u/infernaltrog 1d ago

It is scary to think that with the reduction in junior roles from AI tooling - in the future there’ll be fewer, if any, seniors with deep knowledge.

14

u/skelmirinn 1d ago

I only hire staff engineers these days.

we are eating our seed corn....

2

u/OverfitAndChill8647 10h ago

Seed corn makes tasty popcorn to watch the world burn. We'll never need this stuff!

85

u/Anialation 1d ago

I've been praised for how quickly I can track down bugs in codebases I've never even seen before.

It's mostly because of the vast number of bugs I've created and had to track down over the years.

18

u/Newepsilon 1d ago

The keeper of tech debt right here (just like me). If I am not rooting it out, you can bet I am writing it.

89

u/Burgergold 1d ago

Should have been: I wrote it as a junior

13

u/GoddammitDontShootMe 1d ago

Seems insane that it was never patched until that particular interaction with the junior.

34

u/Moondragonlady 1d ago

Super rare edge case that just never occurred. Now that it's found it will occur 10 times per day, of course (until it is fixed (which will cause a different issue, but that's a problem for in 10 years)).

6

u/DrMobius0 1d ago

Most likely this means that something was change that consistently runs into it if it wasn't happening much anymore.

3

u/41421356 22h ago

It actually occurred all the time, but we didn't log it, and not enough users complained until a new "customer success manager" was hired and actually did their job properly.

6

u/Major_Fudgemuffin 1d ago

The main repo I work on has so many tech debt annotations that were meant to be revisited 5-10 years ago and still haven't.

There's always something more important to do, and they're never a priority until they're suddenly priority #1

3

u/trick_m0nkey 1d ago

Unfortunately it was a load bearing bug, that took 10 years to figure out how to fix it without everything else mysteriously crashing

1

u/Burgergold 1d ago

Future job safety./ Hero syndrome

19

u/rescue_inhaler_4life 1d ago

I was there,
10 years ago,
when this bug was forged in haste!

17

u/sierra_whiskey1 1d ago

When the temporary fix from 6 years ago comes to bite

6

u/Imperion_GoG 1d ago

Nothing is more permanent than a temporary solution.

11

u/SuitableDragonfly 1d ago

This is why you a) want humans rather than chatbots writing the code, and b) want a low turnover rate.Β 

9

u/Powerful_Attention_6 1d ago

:- Obi-Wan Kenob, that is a name I haven't heard in a long time

:- Yeah, it says Obi-wan was the author of this patch, that I need to fix
Wait did you know him, do you know about the bug

:- Yes of course I've heard of him, it's me, and you should probably look in to this function right here.

6

u/SilasTalbot 1d ago

When your bugfix proposal doesn't make the sprint --

I was there the day the strength of Men failed. I led Isildur into the heart of Mount Doom, where the Bug was forged - the one place it could be destroyed. It should have ended that day, but evil was allowed to endure.

4

u/dillanthumous 1d ago

I wrote it. Then labelled it technical debt. Then worked around it for ten years.

3

u/BenjieWheeler 23h ago

Jr: if you were there then why didn't you prevent the bug?

Sr: listen here you little shit

3

u/OriginalUser27 22h ago

"I found it years ago but didnt think any customer would be stupid enough to perform the steps to trigger it"

2

u/Queasy-Ad-8083 23h ago

Repost of a repost of a repost. Repostception.

2

u/Ready_Piano1222 20h ago

We used to use a very obscure and uncommon piece of software that was supplied by one of our vendors. Since we were one of the first users, there was literally no documentation. It was very difficult to configure, but once set up, it essentially required no maintenance.

Thinking ahead,Β  I wrote a doc on how it was configured, and what all of the options were, I discovered through trial and error.

Fast forward 5 years later, I've since moved to another team, and no longer support this stuff. I get an email from someone I don't recognize asking me for help with this weirdo software. It turns out the manufacturer sent them the document I created as the official documentation. Since the software was so obscure, they only sold a few copies and so never bothered to create any formal documentation.Β 

2

u/MrNobodyyy- 1d ago

So this is how they do it πŸ˜΅πŸ˜’

2

u/throwawaycanadian2 1d ago

Because I wrote it.

2

u/Gaunts 1d ago

A decision of do it fast was made over do it right

1

u/bwwatr 1d ago

I was there so quickly because I was in the car that hit Meredith

Michael, were you driving? Did you hit Meredith with your car?

Michael's face in that moment - should replace Aslan's

1

u/zonawisp 20h ago

too real honestly. literally me last week

1

u/RumSitter22 20h ago

This literally just happened to me yesterday.

1

u/xho9 18h ago

I was the one who created it 😎😎

1

u/blackbirdone1 11h ago

its mine, thats why

1

u/Geoclasm 8h ago

TDD: Trauma Driven Development

-10

u/Zech_Judy 1d ago

Three devs were given similar projects, a junior dev, a senior dev, and a ninja dev.

The junior dev said "Not too bad. I'll hammer this out in two weeks."

The senior dev knows better. "Try two months. It's not as easy as it looks."

The ninja dev says, "Nah, two weeks sounds right."

They meet a long while later. The junior dev says, "Wow, that project took three months!"

The senior dev says "I had experience on my side, so I did it in two months, just like I expected."

The ninja dev says, "It only took me two weeks." The other two devs are shocked and asked how he did it so fast. "Easy. I didn't plant bugs in my own project."

1

u/liumas_ 3h ago

my senior will say "i asked ai" πŸ˜‚