Heart-driven drum loop
I have Python code for reading a heart rate monitor.I have Python code to generate MIDI events.Could I resist putting them together? Clearly not.Here's Jack Of Hearts, a JACK MIDI drum loop generator...
View ArticleThings I learnt in March 2023
str.endswith() can take a tuple of possible endings instead of a single stringAbout JACK and DebianThere are 3 JACK implementations: jackd1, jackd2, pipewire-jack.jackd1 is mostly superseded in favour...
View ArticleHandling keyboard-like devices
I acquired some unusual input devices to experiment with, like a CNC control panel and a bluetooth pedal page turner.These identify and behave like a keyboard, sending nice and simple keystrokes, and...
View ArticleGtk4 model-backed radio button in Python
Gtk4 has interesting ways of splitting models and views. One that I didn't find very well documented, especially for Python bindings, is a set of radio buttons backed by a common model.The idea is to...
View ArticleMysterious DNS issues
Uhm, salsa is not resolving:$ git fetch ssh: Could not resolve hostname salsa.debian.org: Name or service not known fatal: Could not read from remote repository. $ ping salsa.debian.org ping:...
View ArticleAdulting
SlidesTalk page (including video)AbstractAlthough Debian has just turned 30, in my experience it has not yet fully turned adult: we sometimes squabble like boys in puberty, like children we assume that...
View ArticleIntroducing Debusine
SlidesSlide sourcesTalk page (including video)AbstractDebusine manages scheduling and distribution of Debian-related tasks (package build, lintian analysis, autopkgtest runs, etc.) to distributed...
View ArticleTyping decorators for class members with optional arguments
This looks straightforward and is far from it. I expect tool support will improve in the future. Meanwhile, this blog post serves as a step by step explanation for what is going on in code that I'm...
View ArticleNew laptop setup
My new laptop Framework (Framework Laptop 13 DIY Edition (AMD Ryzen™ 7040 Series)) arrived, all the hardware works out of the box on Debian Stable, and I'm very happy indeed.This post has the notes of...
View ArticleHow to right click
I climbed on top of a mountain with a beautiful view, and when I started readying my new laptop for a work call (as one does on top of mountains), I realised that I couldn't right click and it kind of...
View ArticleDisable spellchecker popup on Android
On Android, there's a spellchecker popup that occasionally appears over the keyboard, getting very annoyingly in the way. See for example this unanswered question with screenshots.It looks like a...
View Articlencdu on files to back up
I use borg and restic to backup files in my system. Sometimes I run a huge download or clone a large git repo and forget to mark it with CACHEDIR.TAG, and it gets picked up slowing the backup process...
View ArticleDebugging printing to a remote printer
I upgraded to Debian testing/trixie, and my network printer stopped appearing in print dialogs. These are notes from the debugging session.Check firewall configurationI tried out kde, which installed...
View Article