this post was submitted on 10 May 2025
232 points (98.3% liked)

Programmer Humor

36679 readers
20 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Meme transcription:

An obviously exhausted Spongebob is raising his arms in a rejoicing gesture. His face shows great tiredness, but also happiness.

Title: Finally finding your stupidity after hours of debugging.

all 14 comments
sorted by: hot top controversial new old
[–] DonutsRMeh@lemmy.world 7 points 1 month ago (4 children)

It's worse when it's just a semicolon.

[–] vort3@lemmy.ml 9 points 1 month ago (2 children)

It's worse when you have a bugged function, try to fix it, and no matter what you change it's still bugged because an hour later you realize there is a function with the same name that redefines the function you were changing anyway somewhere else in the code.

[–] bleistift2@sopuli.xyz 2 points 1 month ago

Been there, done that. I’ve learned to be very unique in naming my shit.

[–] DonutsRMeh@lemmy.world 1 points 1 month ago

God damn. This gave me anxiety.

[–] driving_crooner@lemmy.eco.br 5 points 1 month ago (1 children)

I do mostly data science and was going crazy when one of my scripts stopped working properly in January after months of use without problems. It's pretty obvious when you write it down, but I had hardcoded 2024 somewhere and it was using the 2024-01 dataset.

[–] DonutsRMeh@lemmy.world 1 points 1 month ago (1 children)

Wow, how long did that take to find?

[–] driving_crooner@lemmy.eco.br 1 points 1 month ago (1 children)

Not a lot really, half a day or something like that, but it was a boomer because the analyst had to the process manually. Then I had to spend a couple of days re checking my scripts to see of I had some more hardcoded variables.

[–] DonutsRMeh@lemmy.world 1 points 1 month ago (1 children)

Sorry you had to go through that. Unpopular take to so many: AI is really good at detecting bugs if you don't feel like hunting for an obscure bug all day. Just tell it to not change a thing and only find the bug.

[–] driving_crooner@lemmy.eco.br 1 points 1 month ago (1 children)

I have no problem using AI to find bugs, but this specific process was a Python-SAP pipeline connection and SAP is pretty country-sector-company specific that unless you train in-house no model is going to understand what are you talking about.

[–] DonutsRMeh@lemmy.world 0 points 1 month ago

Ah, I see. I got those at work, too. We have a whole team at work that is working on training a local llm on our whole company's database for that purpose specifically, and I'm so excited for that. Looking up documentations sometimes could you take hours. Imagine an llm looking it up.

[–] PunkRockSportsFan@fanaticus.social 1 points 1 month ago (1 children)
[–] Hasherm0n@lemmy.world 2 points 1 month ago

Literally had this happen to me the other day....