aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2024-08-16 17:40 #

♪ Tindersticks · Raindrops (John Peel 1993)

2024-08-15 11:03 #

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

2024-08-14 21:22 #

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

2024-08-14 21:22 #

♪ Tindersticks · Raindrops (John Peel 1993)

2024-08-13 21:39 #

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.

img

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
2024-08-13 18:52 #

Someone’s Been Messing With My Subnormals!: one can only appreciate the obstinacy and quality of the data munging using Python and shell scripting!

2024-08-06 16:28 #

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;
}
2024-08-06 14:29 #

TIL that \%V can be used to replace only in a visual selection (very handy for rectangular selection with <C-V>). #vim

2024-08-02 16:16 #

And so, one year later, we got a few dozens of additional functions and a brand new name.

img

2024-08-01 21:58 #

♪ The Doors · The Crystal Ship