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

Programmer Humor

35929 readers
95 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
[–] [email protected] 6 points 3 weeks ago (4 children)

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

[–] [email protected] 5 points 3 weeks 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.

[–] [email protected] 1 points 3 weeks ago (1 children)

Wow, how long did that take to find?

[–] [email protected] 1 points 3 weeks 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.

[–] [email protected] 1 points 2 weeks 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.

[–] [email protected] 1 points 2 weeks 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.

[–] [email protected] 2 points 2 weeks 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.

[–] [email protected] 9 points 3 weeks 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.

[–] [email protected] 2 points 3 weeks ago

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

[–] [email protected] 1 points 3 weeks ago

God damn. This gave me anxiety.

[–] [email protected] 1 points 3 weeks ago (1 children)
[–] [email protected] 2 points 3 weeks ago

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