B-but Metallica fans bad!
Can’t catch a break
- 1 Post
- 146 Comments
Until a traumatic injury. Then that fucker, along with angry soft tissues, will remind you how much you really don’t have control.
i_dont_want_to@lemmy.blahaj.zoneto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
32·16 days agoI was told about a bug in a specific tool. It was being used in production. Apparently we’ve gotten a lot of complaints about it over the years, and they would complain if the site was actively used it always failed.
I couldn’t find it in the development branch in source control.
I asked if this tool was purchased from a third party. My boss, who was not a developer, said no. And he was very sure of that. But he didn’t know where the code was.
I was the developer with the most seniority, and I was there for less than a year at this point.
I looked again. I finally found it… In an unapproved pull request from a few years prior.
The meat of this tool basically took information to make an order and create an order in the system.
Any time we needed to insert a record, it would find the highest Id in the table, increment 1, and insert the new record, id and all. It did this for every entity that needed to be inserted. Address, customer… Everything.
Worse, very little validation was done. Want to order something but it’s out of stock? No problem, this tool just pushed it right through.
Want to ship something using a shipping method that doesn’t exist? You got it.
Want to ship something to an address that doesn’t exist? Sounds like the warehouse’s problem.
Knowing about the level of knowledge here, you know that there were no transactions. All sorts of unused records were left in the database when there was an error. The users would get a generic error and try again several times, too.
The worst part was, we have an already existing function that would take order information and try to make an order. And it would give you actionable errors!
I’m so hungry, I could eat a whole octorock.
Unless the school that has the software dev program forces all their teachers to use this stuff…
Mike Tyson visits Pennsylvania.
Yeah, fuck you, Olympics.
i_dont_want_to@lemmy.blahaj.zoneto
196@lemmy.blahaj.zone•The Mamdani rule went from 0 to 60 in 2.9English
28·21 days agoOoh, baby, when you talk like that…
Oh no theirye brian 😔
i_dont_want_to@lemmy.blahaj.zoneto
Programming@programming.dev•AI will reduce programming jobs a lot, it's madness to deny it
141·1 month agoIt’s a problem when people just generate the code, see if it runs, maybe test it once or twice, and… That’s it.
Same issue with people blindly copying Stack Overflow and other code snippets on the web.
Like you say, the value we bring is in our review and understanding of the code, as well as our ability to make judgements on things like architecture.
I have question marks over my head. Time to get my landline phone that is directly wired to IKEA.
i_dont_want_to@lemmy.blahaj.zoneto
Ask Lemmy@lemmy.world•Has Trick-or-Treating died in your area, and what is to blame?
7·1 month agoMy area was full of trick or treaters. I saw more homemade costumes. Had some teens in the spirit, lots of adults, too. My kid got to hang out with some friends and trick or treat.
However, I didn’t dress up this year. Too much to do. My daughter’s costume was all stuff we already had. Didn’t decorate because, again, too much to do.
Is this why everyone wants to fuck cars?
i_dont_want_to@lemmy.blahaj.zoneto
196@lemmy.blahaj.zone•This is your brain on Hacker NewsEnglish
109·2 months agoWanting the fruits of their own labor? Damn you, greedy laborers!
i_dont_want_to@lemmy.blahaj.zoneto
Ask Lemmy@lemmy.world•What kinda restaurant is your favorite to eat out at, and what's your go-to order there?
1·2 months agoOh man, I haven’t had Burgerville in nearly a decade and a half. Bummer.
i_dont_want_to@lemmy.blahaj.zoneto
Ask Lemmy@lemmy.world•What kinda restaurant is your favorite to eat out at, and what's your go-to order there?
1·2 months agoGFS scratches a little of that itch for me.
i_dont_want_to@lemmy.blahaj.zoneto
Ask Lemmy@lemmy.world•Americans, what do typically have for breakfast?
3·2 months agoWater.
Maybe a chai latte, yogurt, a piece of fruit, or chocolate oat milk.


I find it’s difficult to be around people I treat like shit, too.