Stefan Scherfke

@sscherfke
65 Followers
65 Following
484 Posts

Senior software and platform engineer (Python) at energy & meteo systems

Follow @sscherfke at Pixelfed for nature (and cycling) photography.

Websitehttps://stefan.sofa-rockers.org
GitLabhttps://gitlab.com/sscherfke
GitHubhttps://github.com/sscherfke
Typed Settingshttps://typed-settings.readthedocs.io/en/latest/

I finally manged to get working winbars in #neovim that only appear in actual files (but not in quickfix or term) and which also show LSP breadcrumps if available. And they are also slightly dimmed for inactive buffers.

https://gitlab.com/sscherfke/dotfiles/-/commit/8da2a77cc8eef82e9102128dbe085680289d0fe7

#neovim #lualine #lspsaga #lsp

Alex Damon on Instagram: "Mon Mothma has a PHENOMENAL speech in Andor season 2 and it *really* mirrors a lot of similar themes we are dealing with in our own galaxy. Check out my review for the past few arcs of #Andor And stay tuned for our livestream tomorrow night! #starwars"

15K likes, 256 comments - starwarsexplained on May 7, 2025: "Mon Mothma has a PHENOMENAL speech in Andor season 2 and it *really* mirrors a lot of similar themes we are dealing with in our own galaxy. Check out my review for the past few arcs of #Andor And stay tuned for our livestream tomorrow night! #starwars".

Instagram
#UV is just pure awesomeness. Combined with #TypedSettings, it’s sooo easy to write a CLI. Also #rich. 🀩
Aaaaand ... it's finally in production! πŸŽ‰πŸŽ‰πŸŽ‰

And of course, when everything was ready for the final integration test, the Lego motor broke down. 🫠

Disassembled everything and checked all cables, but it’s definitely the motor. The second one that broke, to be precise. Gud Lego kwalitee. πŸ‘Œ

I’m finally done with the new software. 873 ~~beautiful~~ lines of c/c++.

In forecast mode (FCS), the turbine rotates according to the predicted wind speed (it also shows the forecast for the next 6h). In timer mode, it rotates at full speed for ~1h.

It also displays the current temperature/humidity as measured by the white DHT sensor.

Most pixels are handcrafted and there are some "clever" solutions for a few problems.

But all in all, I'm so glad to be writing Python most of the time.

Today, I spent a lot of time hand-crafting pixel graphics and prototypes for the new display layout. This was a lot of fun. Kind of. And the free version of https://pixenapp.com/ is quite nice. :)
Pixen - pixel art editor for macOS, iOS, and iPad

Pixen is a professional pixel art editor for Mac, iOS, and iPad designed for working with low-resolution raster art, such as those 8-bit sprites found in old-school video games.

However, the e-paper display has been broken for more than a year now, the WiFi code stopped working even before that and the whole set was getting dusty.

So I took it back home, cleaned it and started to fix the code. I never programmed a micro computer and my C/C++ skills are rusty at best.

But with @zeratul2099's help, I quickly learned how this stuff works. It was a great feeling to light up an LED via a button. And it felt even better when I got the display to actually show something.

A few years ago, we bought the #LEGO 10268 Vestas wind turbine for work. @zeratul2099 put together a circuit board with an ESP32, with which we can control the motor according to the local wind forecast. We also added some lights and other extras. Here are some photos: https://www.flickr.com/photos/188984025@N02/albums/72157714914817786
LEGO ems-vestas

We modified the LEGO Vestas Wind Turbine. The rotor speed is controlled by an arduino based on the current wind feed-in. We also added some lights and custom printed tiles.

Flickr