Ultimate Vocal Remover

If you are looking for STEMs or vocal-only (acapella) tracks of existing songs in vain until now, your search might have ended today. I just stumbled over the “Ultimate Vocal Remover 5” (or short “UVR5”), and I’m still knocked off my feet by this tool. It can do things like separate music from vocals, create… Continue reading Ultimate Vocal Remover

Update Python to 3.11 on Raspbian Bullseye

I found a guide how to build (compile) the most recent Python-versions on the Pi here. This guide still works on “Bullseye” and also with Python 3.11. However, I’d recommend to miss out the part with deletion of the symlink at /usr/bin though, but use the “update-alternatives”-tool instead. One just need some patience as the… Continue reading Update Python to 3.11 on Raspbian Bullseye

A reminder to myself: Do not use “empty” in PHP in conjunction with POST requests…

I just stumbled over a silly bug in my code that took quite I while until I at last found the cause. I had several if (isset($var) && (!empty($var)) { …. } to process input that came via HTTP POST requests. This worked quite well, but there was one case where the code block was… Continue reading A reminder to myself: Do not use “empty” in PHP in conjunction with POST requests…

Published
Categorized as Misc Tagged

Initialize static arrays in Freepascal

…Just in case I stumble again over that nasty “Variable of a managed type does not seem to be initialized” message and forgot how to get rid of it: Create a type definition for the array you want to initialize, then use that defintion in “var”-section, too. By doing so, we can use the “Default”-function… Continue reading Initialize static arrays in Freepascal

Linux batch rename one-liner

Just in case I need it again and don’t remember: for f in <OLDPATTERN>; do mv “$f” “$(echo “$f” | sed ‘s/<OLDPATTERN>/<NEWPATTERN>/’)”; done And to batch-rename strings in all text-type files in a folder: for f in <FILEPATTERN>; do if [[ $(file “$f” | grep “text”) != “” ]]; then sed -i ‘s/<OLDPATTERN>/<NEWPATTERN>/g’ “$f”; fi;… Continue reading Linux batch rename one-liner

New stuff @ soundcloud

I recently thought “Is there a techno mix of the Jeopardy melody?” I didn’t find any… So, here’s something to fill this gap! 😀 The style I chose is called “Kirmestechno” here in Germany, because it used to be played at bumper car in amusement parks. It’s something like Hands Up, but more annoying. 🙂… Continue reading New stuff @ soundcloud

Get “yum” on old CentOS working again

If you have some older CentOS VMs for testing or cross-compiling, you may run into the problem that you can’t install or update the system via “yum” any more: # yum update Loaded plugins: fastestmirror, priorities Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/… Continue reading Get “yum” on old CentOS working again

Using command timeouts inside of bash scripts

Sometimes one needs to terminate a command after a period of time and this particular command does not offer a timeout function itself. This could be a real show-stopper when it’s about running commands synchronously inside of scripts. Somehow I didn’t manage to get “timeout” from the coreutils working correctly inside of a bash script… Continue reading Using command timeouts inside of bash scripts

New remix @ soundcloud

Yet another remix I just finished that had been lying around for far too long. This time it’s Tannengruen’s ode to the love called “Der Kuss” (the kiss). Downloads are enabled, enjoy!