HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ManDeJan

no profile record

Submissions

Kartoffels: Programming game where you write firmware for potatoes

kartoffels.pwy.io
2 points·by ManDeJan·2 года назад·0 comments

comments

ManDeJan
·2 месяца назад·discuss
This is very exciting to me
ManDeJan
·6 месяцев назад·discuss
Kudos to the Sansec team for manually verifying the results and not flooding maintainers with AI generated bug reports
ManDeJan
·12 месяцев назад·discuss
How does this work with interrupts, say in an embedded context, that execute on the current stack, and that may in some cases, be interrupted themselves. Do you add the maximum stack depth of all interrupt routines that could go off at the same time?
ManDeJan
·2 года назад·discuss
'd you be interested in sharing the discord? :)

I try every year to optimize for speed in zig: https://github.com/ManDeJan/advent-of-code
ManDeJan
·2 года назад·discuss
I read the firmware, it's build with the Arduino IDE and PWM for the heater element is bitbanged and updated from the main loop. Meaning it can easily get stuck sending a MQTT message over wifi when it loses connection, causing the heater to possibly be left on indefinitely.
ManDeJan
·2 года назад·discuss
A neat project for sure but as it stands this has major safety issues. The control logic is able to lock up and keep the boilers heating element in an forever "on" state till something snaps. I couldn't find a mention of safety in the manual nor see any mechanical safety failsafes in case of overheating.