I was hired to work on a CMS designed for schools. I was tasked with debugging.
I started off with the newest issues and worked my way back.
Well, there was a bug where teachers would upload a video but it wouldn't play on the page. It was plaguing a team of 8 for YEARS.
It was mentioned in our morning standup, and I decided to fast track it.
The dude who wrote the code was shrinking the display size in half: well how do you think that would work when a dimension of the video isn't divisible by 2?
So, remember, I am the new guy, quickly fixed it using an if/then and the % modulus operator, and lo and behold, the next morning standup I had to explain the fix in front of the project manager, his boss, and the entire team...
fucking awkward. "You see, there's this thing in division called a remainder." This was the first thing in the morning.
But because the bug had been so ever present, that's why the boss's boss attended the standup. God, I just wanted to die.