claas
banner
claas.dev
claas
@claas.dev
Software Designengineveloper

New here, coming from https://mastodon.social/@claasdev
Thank you! 🙏
December 20, 2025 at 3:19 PM
Right now it is a refactor of a simpler version that you can find on the hotfix branch that I use to run the fans right now but it has its flaws too hence the refactor that now has a deadlock 😂
December 20, 2025 at 12:33 PM
The core and code running on the pico is in the fan-controller crate/subdirectory I linked.
My other worry is that I am simply doing too much for the limited hardware and it is ultimately something like running out of memory.
December 20, 2025 at 12:33 PM
It has definitely grown beyond a simple project so I can fully understand if it more than you expected and don't have the time for it. It is also why I have procrastinated doing the work of trying to narrow it down beyond the logs I added.
December 20, 2025 at 12:33 PM
and through modbus it controls two fans. There are two LEDs that I control to display the state. I don't have the wiring documented but I should at some point so if you are interested I can do it.
There is also a whole MQTT part through which I make it controllable through Home Assistant.
December 20, 2025 at 12:33 PM
disclaimer: it is my first embedded (Rust) project and a learning experience. For my standards it is a mess but that is part of the fun I guess 😆
(And I already did a cleanup recently)
github.com/SantaClaas/e...
I am using a Raspberry Pi Pico W 1st gen connected to a MAX845 through UART to do modbus
embedded-fan-control/fan-controller at main · SantaClaas/embedded-fan-control
Contribute to SantaClaas/embedded-fan-control development by creating an account on GitHub.
github.com
December 20, 2025 at 12:33 PM
How do you find deadlocks in your embedded code? The pi pico I programmed with embassy rust doesn’t react after the first input I trigger and I don’t know how to debug it.
Probably gonna need to turn parts of the code off to narrow it down but that sounds like a hassle. Maybe it’s not a deadlock
December 20, 2025 at 10:29 AM
Safari holding back PWAs
December 18, 2025 at 1:10 PM
Using safari or Firefox is really eye opening on the amount of sites that don’t work outside of chrome
December 18, 2025 at 1:09 PM
Gonna progressively enhance the sh!t out of this 😄
December 17, 2025 at 10:11 PM
Oh the 1PW extension has some weird edges 😂
I implemented passkeys recently and it was the only extension that would sometimes add base64 padding to values or break the built-in json encoding for the credentials API
December 17, 2025 at 5:06 PM
Although not sure if that button can then close the dialog and submit the form at the same time. But that is less important since the submit often triggers some form of navigation.

(Copy from my yt shorts comment)
December 17, 2025 at 5:02 PM
It would be nice if inside a form they could be triggered by the enter key just like submitting. I sometimes need to open an “are you sure?” type of dialog before submitting a form and putting the actual submit button inside the dialog already works with the button form attribute.
December 17, 2025 at 5:01 PM
What is the differentiation to data attributes?
December 1, 2025 at 5:01 PM
Oh this is cool, would this enhance the use of data attributes even more?
November 13, 2025 at 11:00 AM
November 7, 2025 at 12:01 PM
Prf and large blob would allow this but so far that only really worked in safari with apple keychain for me. But this is maybe on the Authenticators and not the browsers 🤷
Or browsers offer a secret key storage api outside of webauthn
developer.mozilla.org/en-US/docs/W...
Web Authentication extensions - Web APIs | MDN
The Web Authentication API has a system of extensions — extra functionality that can be requested during credential creation (navigator.credentials.create()) or authentication (navigator.credentials.g...
developer.mozilla.org
November 6, 2025 at 10:53 AM
Another one I really want is better support for encryption at rest in browsers and end to end encryption scenarios. Basically getting a key that can only be accessed by your page and is stored on the devices secure key storage would help.
The only way to do that are Passkey extensions right now 1/2
November 6, 2025 at 10:50 AM
Baseline September 2025 so maybe it wasn’t when I had the problem 😄
November 6, 2025 at 10:36 AM
No I meant this developer.mozilla.org/en-US/docs/W...
But seems like it’s already baseline, my bad 🙈
So only time will help now
Uint8Array.fromBase64() - JavaScript | MDN
The Uint8Array.fromBase64() static method creates a new Uint8Array object from a base64-encoded string.
developer.mozilla.org
November 6, 2025 at 10:35 AM
Why is base64(url) to UInt8Array conversion still so hard?
There is a new API I believe but support is lacking
November 6, 2025 at 10:07 AM
Reposted by claas
evergreen
October 21, 2025 at 9:06 PM