You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
♪ Tindersticks · Raindrops (John Peel 1993)
Just when I spent about half an hour compiling swayimg with all its dependencies, wondering how long it would take to compile the latest version of zathura and zathura-mupdf, it just came up to my mind that Ubuntu 24.04 LTS was released a few months ago. Time to upgrade the whole system I guess. #vim
Yet another round of computer cleansing today. I also removed VirtualBox since I can certainly manage everything with qemu, and lot of unused Gnome garbage that I installed for testing purpose. Ironically, I also uninstalled Gapless since I always returned to Cmus with which I am so comfortable and which fits my TUI workflow so perfectly. #unix
♪ Tindersticks · Raindrops (John Peel 1993)
Flat is a good thing but at some point I wish there could be a way to avoid unecessary duplication of core frameworks. I mean, below you’ll find that I need 4 versions of the Qt goodies that I don’t even use on my system.
This all results in several Gig of wasted space, IMO. But this probaby is the way to go, as far as containerization is concerned.
» du -sh /var/lib/flatpak
11G /var/lib/flatpak
Someone’s Been Messing With My Subnormals!: one can only appreciate the obstinacy and quality of the data munging using Python and shell scripting!
I wanted to get rid of raw <img>
tags and replace then with <figure>
, available as a shortcode in Hugo. It turned out I had a lot of replacements to perform:
» rg -nc "\!\[.*\]\(" content/post | cut -d: -f2 | paste -sd+ | bc
688
Here’s a classical one-liner using Sed:
sed "s/^\!\[.*\](\(.*\))/{{< figure src=\"\1\" >}}/ content/post/*.md
I took the opportunity to add a small colored insert to each figure using the following CSS code:
figure {
box-shadow: 0 0 0 .5em #f3f3ed;
margin: 2em 4em;
}
TIL that \%V
can be used to replace only in a visual selection (very handy for rectangular selection with <C-V>
). #vim
And so, one year later, we got a few dozens of additional functions and a brand new name.
♪ The Doors · The Crystal Ship