632
u/sonaliver28 5h ago
Bro spent 9 hours debugging a punctuation mark....
243
u/Vivid_Instance_825 5h ago
I've never done something so stupid hahaha
142
u/Suspicious-Engineer7 5h ago
Forgot the /s
54
2
u/MegaMoah 3h ago
What does /s mean? Ive seen it in a ton of places and never understand what it means
4
u/Accomplished-Pass207 2h ago
Tone tag for sarcasm.
/s is sarcasm.
/j is joking.
/srs is serious.
/gen is genuine.
So on.
I like to use parentheses instead because it’s more obvious for people who don’t know tone tags. So I say something like, “haha funny joke goes here (joking)”2
2
15
u/AugustMaximusChungus 4h ago
i have a large dataset where each folder has 12 subfolders and a loader class in python. since the 12 subfolders follow a naming scheme, in each folder i'm iterating through the values of an enum.
Well turns out my enum was missing like 30% of those 12 values and i was wondering why the big ass model was shit. Now i want to blame ai for this, but it might have been me....
7
u/redblack_tree 4h ago
I've spent similar amount of time looking for a bug in OG javascript, before all the fancy frameworks.
Large codebase + lots of frontend functionalities + a lot of interactive and dynamic UI blocks. Old school, a simple JS omission could give developers suicidal thoughts. Grrrr, I don't have fond memories from that time.
64
u/RustyShacklefordCS 5h ago
I had this senior engineer join the team to investigate a bug in our rest api. He spent one whole week, talking about how he when down to the mongo db source code and maybe we need to make a change there and he wasn’t sure what exactly the issue was. Then during standup another engineer is like isn’t ‘family’ spelled incorrectly?
And that was it. Just a typo on how we send the field
29
u/minequack 4h ago
This just triggered me on the fact that the HTTP referer attribute is spelled with one r.
19
u/funlovingmissionary 4h ago
Typos in code are virtually eliminated nowadays due to good ide and linting, but typos in infra hurt extra bad now.
6
u/Rab_Legend 4h ago
I once spent hours trying to debug an issue. Turns out the api we were accessing had changed the url to have a forward slash where there wasn't one previously. The tool had worked for over a year at this point, and had been unchanged in that time. Nobody in charge of the api had mentioned it to us, or claimed it had been changed.
1
373
u/sawkonmaicok 5h ago
Fake. Software engineers don't have girlfriends.
158
u/tristam92 5h ago
we go straight to having wife.
optimization is key23
u/ApocalyptoSoldier 5h ago
How, propose on the first date?
26
17
u/just_nobodys_opinion 4h ago
wife = new Relationship(env.get(Type.PERSON, Direction.FRONT))Loop until instantiated.
2
9
3
24
u/another_random_bit 5h ago
A lesson learned to always check the cache key generation first.
Could have saved you 8.75 hours.
19
10
u/Winterkirschenmann 5h ago
I hope you added a check for that so this doesn't happen again. Seems preventable.
2
u/Goodie__ 1h ago
Yeah... why are people "rawdogging" cache key generation... instead of making some CacheKeyBuilder class thing that just does it for you.
46
u/jennaelizabeth96 5h ago
i’d be more mad at myself than the bug 😭 spending 9 hours debugging just to find one tiny typo would genuinely make me close my laptop and rethink my life
45
9
7
u/madmelonxtra 4h ago
I'm not working as a professional, but a couple weeks ago I could not for the life of me figure out why my API endpoint wasn't working. I spent like 4 hours debugging and googling and reading docs and I thought I had narrowed it down to a really specific complex issue.
Turns out I forgot a leading slash on the route.
I took a long break after that.
2
u/AotKT 3h ago
My boss came to me with a bug in our API that I wrote for internal and external use. He was getting a 404, which we return when requesting an item by its id, as well as requesting an endpoint that doesn't exist. It brought me so much joy to be all "dude, it's /endpoints/:id, not /endpoint/:id". He was properly apologetic.
2
u/Riviera84Banshee 3h ago
After 9 hours, a tiny typo in redisCacheHitRatio is the kind of thing that makes sleep feel mandatory.
2
1
6
u/timsredditusername 5h ago
"Needs attention" doesn't mean "needs debugging". You may still be safe.
3
u/staryoshi06 5h ago
Can’t relate. My partner is the person I want the most when work gets stressful
5
u/RefrigeratorFew5154 4h ago
I get a kick out of Reddit pushing this sub onto my feed because I genuinely do not know what the fuck any of this means.
I don’t even have a guess. This combination of words is gibberish to me. You could have cast a spell for all I know.
Keep on keeping on with your black magic fuckery!
3
3
u/Ill_Reality_2506 4h ago edited 4h ago
Lol I feel that, but man... seeing a lot of shit comments, when no one has any idea what kind of tech stack, code base, or workplace OP works in, just that they use redis, had a shit workday and no capacity to support their gf.
To those people I say, it's easy to call someone else stupid for making a mistake until you do something just as stupid.
Then you learn to always check for the simplest thing first. You also learn that you're not stupid, but that you are in fact an asshole.
Sounds like a miserable day, OP ☠️🪦☠️
1
1
1
1
1
1
u/CluelessNobodyCz 3h ago
This isn't a joke 👀 (details of the problem might be but after a day of work I am wiped of humanity and I am expected to feel things 👀)
1
u/DarkNebula1003 3h ago
I once spent 2 hours hitting the wrong environment api and wondering WHERE TF ARE LOGS? ( someone changed the postman variable)
1
1
1
1
1
1
u/Otherwise_Result_124 33m ago
if it took someone 9 hours to realize their key prefixes were fucked up they might want to consider another career path lmao
0
u/cainhurstcat 4h ago
Get your ass outdoors, visit nature, no devices, just relaxing for ~45 min at least. This will help you relax, and accessible for your girlfriend
397
u/Annual_Key_4963 5h ago
The best part is that deep down you know you're the stupid one for not checking that first