300
submitted 7 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
all 11 comments
sorted by: hot top controversial new old
[-] Tolookah@discuss.tchncs.de 35 points 7 months ago

Wait, you didn't have meetings about the button first?

[-] sukhmel@programming.dev 13 points 7 months ago

Oh, they did. But the guy doing actual work with the button was on the meetings about scrollbar

[-] pixeltree@lemmy.blahaj.zone 25 points 7 months ago

We had an all hands on deck, world is ending bug one time. Like, basically the entire org got pulled onto it. In our product is a spreadsheet of activities, with dates and durations. Our customers can run a scheduling algorithm to adjust dates based off of durations and activity dependencies and relationships. This is super important. This broke. We have to make sure that activities don't have circular dependencies, or otherwise scheduling will loop infinitely and fail. So, we basically dfs looking for a loop before scheduling, and fail it with a not really helpful error message. That loop checkimg got updated so it could properly provide helpful info in the error message. This change caused most real world schedules to have false positives for loops when checked, ergo, no ability to schedule. I found the cause of the problem but not the dependency structure that caused the issue, and ultimately decided it would be faster, cleaner, and overall better to rewrite the feature myself than to fix the original. So, I wrote the most beautiful damn depth first search of my life! Learned about the bug monday morning, had the fix good to go tuesday night, so that qa could test wednesday thursday for the hotfix merge deadline friday. Two days isn't a lot to cover testing it, but I figure with every tester in the org pretty much available to pound on it itd be good enough. While I was working on the rewrite, other devs and qa were hunting down all the details of what happened to cause the bug, data structure wise, and coming up with good test cases. So, by the time it was ready, they knew what happened and had a much more thorough test plan. Well, it came down from on high that the fix would go into the next major release, not a hotfix, so it didn't actually go out for 3 weeks after the monday the bug came in. Sigh. Well, I had fun writing it, and I consider it the cleanest, most beautiful and elegant code I've ever written. It used a stack of stacks! When I'm feeling shitty and useless at work, I go back and look at it tbh.

[-] Marketsupreme@lemm.ee 23 points 7 months ago* (last edited 7 months ago)

I code maybe 2 times a year at my job. Every other time I am doing some sort of paperwork to verify features work, or I am using fucking excel. It's incredibly dull.

[-] quicksand@lemm.ee 7 points 7 months ago

I feel you. I spent 48 hours this week streaming shows, waiting for a possible call to some in. I'm sure that's some people's dream job, but it drives me nuts that I have to be on site for no reason. I like the feeling I get from actually working and the sense of accomplishment it gives you

[-] Marketsupreme@lemm.ee 4 points 7 months ago

I love working from home. I game all day. But man I miss my service industry jobs for how much satisfaction they could give but the trade off is high levels of stress.

[-] sukhmel@programming.dev 18 points 7 months ago

Make the user search for this button depth-first

[-] zqwzzle@lemmy.ca 8 points 7 months ago

Sometimes the customer throws out insane shit you have to talk them down from though. https://m.youtube.com/watch?v=BKorP55Aqvg

[-] sukhmel@programming.dev 18 points 7 months ago

As wise people ~~said~~ wrote:

screenshot of two comments from the video "Expert", both from seven years ago, @argentorangeok6224 wrote "As an engineer, I eventually learned to just agree with them and then did whatever actually needed to be done- knowing they'd never even know the difference.", @Alfosan2010 wrote "This is not comedy, this is corporate life"

Don't talk them down, but also don't follow insane shit

this post was submitted on 10 Apr 2024
300 points (97.2% liked)

Programmer Humor

32479 readers
406 users here now

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

Rules:

founded 5 years ago
MODERATORS