News for hackers. Stuff that matters.
Re:Every modeler is supposed to be a great Python programmer by Tade0 on Friday December 09, 2022 @07:42AM (#33920601)
> It's so easy to make subtle assumptions when you redo their code that completely invalidates the work they've done.

It's equally easy to test whether those assumptions actually break anything. Especially when minor errors can be catastrophic.

I'm part of a team that was tasked with producing a web app from something that was originally a piece of Matlab code.

We considered just running the Matlab code in a container but ultimately IEEE 754 is IEEE 754 regardless of platform/language, so creating a 1:1 implementation in C++ proved possible.

Re:Every modeler is supposed to be a great Python programmer by jvans on Friday December 09, 2022 @03:47PM (#33926289)
The catastrophic errors aren't the problem, the problem is when things are degraded by 20% which results in a small loss when it could have been a big win. You just assume it didn't work when in reality it wasn't implemented correctly