Eleventy is super fun. Thanks, @jgarber, for the suggestion! In just a couple of hours this morning (while also switching over our wifi network and setting up a laptop for a friend), I've got all my posts imported, tags working, slugs for all the old underscore posts so I don't need redirects, and a bunch of cleanup done.

Another weekend and I might be able to actually switch this thing!! #weekendHacking #personalProjects #blogging #hashtagOverload #eleventy #openSource

In a shocking exposé, Amir Sharif discovers that smartphones are distracting 🎉! This earth-shattering revelation from his self-proclaimed "weekend hacking" surely has the tech giants #quaking in their boots 🤡. Genius #insights like "put your phone away" are why we're all here, folks. 🔍📱💥
https://www.amirsharif.com/protecting-my-attention-at-the-dopamine-carnival #smartphoneexposé #techdistractions #weekendhacking #techgiants #HackerNews #ngated
Protecting My Attention At The Dopamine Carnival - Amir Sharif

What the hell is going on with our brains? It seems like the algorithms have already taken over and the scientific literature is catching up with

Just remembered i don't have to wait for the led magnetic switch module, but can just bust out my travel luggage scale and test the separating force on my DIY #3DPrinted #magnetic phone stand ring.
#3DPrinting #WeekendHacking
Morgen treffen wir uns außer der Reihe zum #WeekendHacking ab 20 uhr im Juz Bingen
Die Wegbeschreibung ist auf https://binhacken.de/ zu finden.
#hackspace #binhacken #bingen #cccRegio #JuZBingen
//s91
/bin/hacken

Make- & Hackspace Bingen

/bin/hacken

This Saturday I got rid of a lot of allocations in the GStreamer logging Rust bindings ✨​

That was a lot of fun 😁​

When using GStreamer 1.20 or newer, the only allocations that are left now are

  • the formatted string if any formatting is necessary, i.e. if a string literal is logged no allocation is needed
  • when the default GStreamer log output function is used, one allocation is needed for building the whole log line

Previously there were at least 4 additional heap allocations per log. When logging string literals this is now one heap allocation less than from C 🥳​

Additionally, thanks to an awful Rust hack, all logging is actually using the function name instead of the module name for giving context information.

This required a couple of changes in gtk-rs that then made the following gstreamer-rs MR possible: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1160

There are probably other places that could be improved in the same way, but this seemed like something performance critical.

#GStreamer #Rust #RustLang #WeekendHacking

gstreamer: Make logging of messages from a string literal allocation-free except for possible string formatting (!1160) · Merge requests · GStreamer / gstreamer-rs · GitLab

And also log the actual function names instead of the module names.

GitLab
Migrating my http://standardnotes.org/ to https://obsidian.md/ using bash, jq and perl. #weekendhacking
Standard Notes | A Simple And Private Notes App

Standard Notes is a private notes app that features unmatched simplicity, end-to-end encryption, powerful extensions, and open-source applications.