of course what my Raspberry Pi LED persistence-of-vision bikewheel written in Rust needs is a plugin system

what my bike wheel LED microcontroller project needs... it turns out... is command-line arguments.

Shall I gratuitously solder a rotary encoder onto this entirely web controlled device / NO / let's take this device somewhere without network how will I control it?

Playing with Julia programming language to implement a new LED pattern.

The version that gets installed on my Pi Zero is way out of date...

... but luckily I implemented an ASCII network protocol when I wanted to be able to try out Unison, so I can reuse that here:

send 50 x RGB hex values and a newline to stdout, pipe it into netcat, and the LEDs are updated.

Unexpected field extension of ℝ 

> TypeError: '>' not supported between instances of 'float' and 'complex'

This code is just meant to make LEDs flash pretty colours and now I have to debug how it's getting complex numbers... something to do with negative time by the looks of it.

I found this API nina.api.bund.dev/ to the German national alert system - a bit too late to see what it looked like on the annual test.

But I wonder how often I'm meant to poll it without making anyone mad?

The cache headers say the alert list is valid for 10 years, which is probably wrong, given that official apps talk of alerts within 1 minute.

I have all these network connected RGB LEDs, you see, with the emphasis in this case on the R component.

I really would like an ADC on my Pi Zero to measure battery voltage, but every time I look, I end up thinking the cheapest option is to buy a Pi Pico and use that as the ADC. At which point I get lost wondering if I should port the whole project to run on just a Pico, instead of having both a Zero and a Pico, and then I give up for another few months.

benc's personal instance

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!