News from the #HobbyArcheology department. I have absolutely no clue what I found this time so I’ll go with “probably something religious”.
Kind: Notes
Getting better in #FlightOfNova 💪 Delivery mission without breaking… much 🤡
Man… I need telemetry data for this game. That’d be so freakin awesome 🤓
AAXtoMP3
[1] fails to split up AAXC files to chapters. The reason for this is due to an error in the RegEx Find command to pick up the extra cover image in better quality. Audible-cli
dumped two jpg files for the cover: One 500×500 pixels ($bookname_(500).jpg) and the other 1215×1215 pixels ($bookname_(1215).jpg). The find command picks up _both_, which introduces a linebreak resulting in a stat error breaking the script. Creating the chapters comes after this step and while the resulting MP3 is fine in itself I really do prefer chapter files over one huge blob.
Since the AAXtoMP3 project is archived I can’t report any bugs to it but this is my dirty fix adding tail
to the mix to only get the last result:
diff --git AAXtoMP3 AAXtoMP3
index 0a6c2e0..98a30ce 100755
--- AAXtoMP3
+++ AAXtoMP3
@@ -467,7 +467,8 @@ validate_extra_files() {
# Cover
extra_dirname="$(dirname "${extra_media_file}")"
- extra_find_command='$FIND "${extra_dirname}" -maxdepth 1 -regex ".*/${extra_title##*/}_([0-9]+)\.jpg"'
+ extra_find_command='$FIND "${extra_dirname}" -maxdepth 1 -regex ".*/${extra_title##*/}_([0-9]+)\.jpg" | tail -n1'
+
# We want the output of the find command, we will turn errexit on later
set +e errexit
extra_cover_file="$(eval ${extra_find_command})"
Happy backing up your audio books 👏
[1] The purpose of this software is to create a method for you to download and store your books just in case Audible fails for some reason.
Compiled OpenTrack with tracker-neuralnet
I’m flabbergasted how good this tracker-neuralnet plugin for #OpenTrack works. It does the #headTracking with just a webcam without any clips, reflectors or LED stripes. I kinda expected this to not work really well in a dark room, that I prefer for gaming, but I was wrong. Even with a tiny light in one corner of the room only it kept tracking flawless.
…can even scratch my nose and it keeps tracking.
To get this neuralnet tracker input in the first place I had to download the ONNX runtime package onnxruntime-linux-x64-1.18.1.tgz
from https://github.com/microsoft/onnxruntime/releases/tag/v1.18.1 (My Fedora offered 1.15.1 from it’s repo but this was at the time of writing not sufficient and having it installed resulted in failure due to an API mismatch). I didn’t even install it somewhere, just unpacked it in my Downloads folder.
Back in my OpenTracks folder I run cmake
the way I’ve done it before several times but this time I added the unpacked onnxruntime folder to the config.
Configure did it’s magic (note how it picked up module tracker-neuralnet
once the ONNXRuntime_DIR was set) and here we are one make
later. This is rather impressive 🤓
YMMV
Forwarding letsencrypt certs from the proxy to the internal mailserver
I’ve a private mailserver with a web interface behind a proxy at home. It’s that proxy that obtains certs from LetsEncrypt every few months.
I’m using the same certs for the mail gateways (smtpd, ical and so on) behind the scenes and it’s annoying to keep the certs in sync so my Evolution (mail client) would greet me once every few months with an obsolete cert warning.
No more! Why repeat these steps manually again and again if I can just utilize the power of systemctl --host
and scp
?
#!/bin/bash
scp /etc/letsencrypt/live/mail.example.com/* 192.0.2.152:/etc/letsencrypt/live/mail.example.com/
for i in {postfix,mail-gateway,mail-ical}; do systemctl --host 192.0.2.152 restart ${i}; done
This may run as a hook script for the certbot or simply via cron once a week 🤷
(Yes yes, we can argue all day why this box can log in to another via ssh
as root with just a key to this single virtual machine on my internal network. This is a homelab set-up and gaining access to the proxy would be a disaster already since this one terminates HTTPS already *and* has the cert keys.)
Deshalb gilt auch im Juli weiterhin das Papierticket D-Ticket JugendBW Februar in Verbindung mit dem beigefügten Bestätigungsschreiben, bis die Chipkarte zugestellt wird.
Das ist unsere #Digitalisierung am Limit. Die Kinder fahren seit März(!) mit dem abgelaufenen Februar Ticket beim #VGF #Freudenstadt mit, weil das eingeführte Chipkarten D-Ticket weiterhin nicht zur Verfügung gestellt werden konnte.
Naja, in 3 Wochen sind Sommerferien, dann ist der Fisch eh geputzt.
So, #x4foundations Timelines released today. Bagged it, of course. Don’t even really know what’s coming but the X series are something I enjoy since X: Beyond The Frontier in 1999. Kinda rad that a company that old managed to stay in business and true to their very own franchise.
Oh and also native for #Linux PC, my daily (and only) system for #gaming.
I could ramble on why X4 is a great Space Pew Pew game but others can do that much better. Like ObsidianAnt for example: https://www.youtube.com/watch?v=YCcaA1FAuAg
Da ahnst nix böses und plötzlich lädt hier eine Spedition ein komplettes #BalkonSolar Set für mich ab ❤️🎁
X4 as screenshot generator
I was reminded by the OnThisDay feature that I used many X4 screenshots and recordings as background for presentations and video conferences during the self isolation times of the first Covid waves. The media was recorded in-game before, of course.
I also wish I’d had recorded that IndieWeb presentation alas I did not ☹
TIL (and I know I’m late for the party): protontricks
can set the env
for Steam in a very comfortable way to run another exe in the same wine prefix/bottle/compatData folder for an already running game. Useful for companion apps of games or e.g. OpenTrack. I used to do this manually with little scripts 🤓
protontricks-launch ~/.steam/steam/steamapps/compatdata/1069190/pfx/drive_c/opentrack/install/opentrack.exe