“Why isn’t my Docker bind mounted file updating from host to container when I make changes with vim?”

The inodes have it When setting up the TIG stack, I saw that Telegraf has an option to reload its configuration from telegraf.conf, which it does on receiving a SIGHUP signal. Since in Docker, it gets pid 1, reloading config is easy: docker exec -it telegraf /bin/kill -HUP 1 Which worked well. At least until […]

Continue Reading

[workaround] ImportError: libffi.so.7: cannot open shared object file: No such file or directory

Too advanced tl;dr: if you have issues and can’t update, you can install the libffi7 package as a temporary workaround After a recent Arch update, python packages / applications using ctypes, such as yt-dlp, were throwing an error: ImportError: libffi.so.7: cannot open shared object file: No such file or directory or more fully: (you may […]

Continue Reading

Fixing OBS Offset Cursor Issue, Part 3 (investigating with Python-C++ interfaces!)

Poking and prodding at the Windows API Background There is an issue with cursors being rendered offset for DPI-scaled windows in OBS, illustrated in this video clip: I’ve been looking into this as it was suggested that my proposed fix of letting the user specify an offset amount was more of a workaround of the […]

Continue Reading

PSA: apt / gpg issue – The following signatures couldn’t be verified because the public key is not available

Not a key?! Context Bob from Root Access ran into this annoyance while installing pixiecore by Dave Anderson, a tool for making PXE (network) booting a cinch. Problem He grabbed the pubkey via curl -L https://packagecloud.io/danderson/pixiecore/gpgkey, saved the output to a file at /usr/share/keyrings/pixiecore-archive-keyring.gpg, and told apt about both the repo and the pubkey: deb […]

Continue Reading

“Unsupported sample-rate”: Logitech Media Server Won’t Play Some Files with SB Player

Muh musics! tl;dr: If you’ve got a music file that you (say) downloaded from YouTube via youtube-dl (for example) and it won’t play in Logitech Media Server, check the sample rate- you may need to convert it to 44.1kHz. This only happens with some players! (eg SB Player) Background I use Logitech Media Server (aka […]

Continue Reading

Transcribing A Video’s Audio Using Google Cloud Text-to-Speech

Navigating a series of pitfalls Background: I created a highlights video recently for the monthly subscriber crown that I run. I figured the highlights video itself was worth posting, but I like to have the speech captioned. I’ve previously written a small script to generate the appropriate transparent PNGs for overlaying, but that was for […]

Continue Reading