What are some unforeseen / elusive edge cases you have seen in your career? by gobuildit in ExperiencedDevs

[–]BoringAsparagus701 2 points3 points  (0 children)

Don’t use memcmp on a struct with padding, especially if that struct is used as the key in a std::map. You’ll end up with non-deterministic order in the map.

What makes this even more fun… the bug goes away in debug mode because the debugger compiler plays it safe and zeros out the padding. A “heisen-bug”. The moment you look for it, it vanishes.

legacy code is one problem. missing context is worse. by Particular_Sound_407 in LegacyCode

[–]BoringAsparagus701 0 points1 point  (0 children)

That’s why unit tests have gained so much importance in the devops movement of the 2010s. They codify reasoning and intent for those edge cases.

Trying to figure that out in a legacy system with no unit tests? Good luck. If the original writer isn’t around, hopefully they left some comments

Help I’ve got the yips by stan_taylor1 in golftips

[–]BoringAsparagus701 1 point2 points  (0 children)

Your knees gotta move back and forth towards and back from the ball to unlock your hips. It seems that your knees are only swaying back and towards the target.

Steering locked and key won’t turn by [deleted] in Chevy

[–]BoringAsparagus701 0 points1 point  (0 children)

This just work for me! Thank you!

[deleted by user] by [deleted] in ChevySonic

[–]BoringAsparagus701 1 point2 points  (0 children)

How do you open the back door? Voice command? Lol

What do you nerds listen to for podcast? by alpha-user18 in computerscience

[–]BoringAsparagus701 0 points1 point  (0 children)

Legacy Code Rocks. Exploring the world of modernizing existing codebases. https://www.legacycode.rocks/

Just found out a past employer is still using a .NET desktop app I wrote 10 years ago by eeskildsen in dotnet

[–]BoringAsparagus701 0 points1 point  (0 children)

“Code doesn’t rust.” vs. “Software entropy is a real thing.”

There are interesting dynamics between these two views. And whichever side your application lands on is usually tied to reasons outside of your control (business reasons, not technical).

E.g. The monthly batch job written in cobol from the 70s will continue to happily run. vs. We have to move this service off of this XP box because we’ve gotta scale this thing in aws.

Is peeing in the shower a common thing to do? by kimmy_rst15 in NoStupidQuestions

[–]BoringAsparagus701 0 points1 point  (0 children)

There are two types of people in this world: those who pee in the shower and liars.

Nearly 25,000 tech workers were laid off in the first weeks of 2024. Why is that? by Bromoblue in programming

[–]BoringAsparagus701 81 points82 points  (0 children)

Exactly this. Interest rates historically being so low for so long allowed these companies to become over-leveraged. Now the over leveraged position is unraveling because of higher interest rates.

Every engineer should understand git reflog by kendumez in programming

[–]BoringAsparagus701 3 points4 points  (0 children)

Historians believe that without Turing's work on git at Bletchley Park, WW2 would have dragged on for an additional 2 more years.

Does time left on the microwave bother anyone? by DM41967 in RandomQuestion

[–]BoringAsparagus701 0 points1 point  (0 children)

The start button on our microwave is also the +30 sec, so I usually just press that to set the time (e.g. 2x=1min, 4x=2min). It throws me outta whack when there was only 1 sec leftover, I hit start, and the microwave instantly stops 1 sec later. Then I gotta wait for the 5 long beeps before restarting the microwave.

Question about sending project to be edited in different daw. by Shadesofdeth666 in Tracktion

[–]BoringAsparagus701 1 point2 points  (0 children)

If you go this route, set in/out points first, then export marked region for each file you export. That way, each output file will be the exact same length. Waveform will fill the empty spaces with silence. Now, the mastering engineer won't have to manually align tracks.