News for hackers. Stuff that matters.
Re:I'm a Developer Not a Compiler by MortyWaves on Wednesday November 27, 2024 @11:36AM (#42257352)
I have a couple of favourite ones but one I always think of immediately is a time when I was tasked with fixing some dashboard.

Sometimes students scores would be appearing as zero despite their average score being not zero.

Turns out it was some very simple averaging that didn’t filter out tests with a score of zero. That zero would then basically poison the entire calculation and only produce zero.

I don’t know how interesting that one is though.

Re:I'm a Developer Not a Compiler by williamdclt on Wednesday November 27, 2024 @11:49AM (#42257485)
I'd follow-up with questions on how you debugged that, how you'd do it now, what tooling you were missing, the testing strategy that led to this... I'd say it can be pretty interesting
Re:I'm a Developer Not a Compiler by fernandotakai on Wednesday November 27, 2024 @12:06PM (#42257626)
you totally got it btw -- because questions should be conversation starters, not just "question -> answer" ad infinitum.

when i ask about a bug, i just want to know how you go debugging, understanding logs, dealing with other frustrated developers... you know, how you deal with things in a day-to-day basis.

Re:I'm a Developer Not a Compiler by shemnon42 on Wednesday November 27, 2024 @11:49AM (#42257491)
The bug is never the interesting part. The follow on questions are where the data is. How did you find it? How did you fix it? What made it memorable? Did it change the way you code?