News for hackers. Stuff that matters.
Re:Ask HN: What's the worst thing your code has done? by AnimalMuppet on Monday July 17, 2017 @08:29PM (#14793436)
The specific issue that we encountered was that the power was measured correctly, but was out of control. At that point, not being able to kill the power is a very real concern.

If we measured wrong, we could either be high or low. If we measured high (that is, the reading is higher than reality), we would either turn down the power until it read right, or else kill power completely. If we read low, though, IIRC we would limit how high we'd turn up the gain to try to get the power we were asking for.

There was also a feedback loop based on temperature. If the power was double what we asked for, the temperature would quickly climb, and we'd reduce power. It would have worked, even with inaccurate power readings, though not as smoothly as it should with accurate power readings. But when we got 20 times the power we asked for (due to the power control failure), it was too much too fast.

Re:Ask HN: What's the worst thing your code has done? by AstralStorm on Tuesday July 18, 2017 @01:04PM (#14798153)
Congratulations. You've found out there is value in having real programmable fuses instead of control electronics.