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-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

2024-08-01 12:58 #

Creating and managing a package seemed much harder than I expected. — An unbiased evaluation of environment management and packaging tools

… to put it very mildly… This, however, does constitue a very good overview of what’s available in the Python ecocystem as of this writing. #python

2024-07-27 11:13 #

I try to use all the features of fzf-lua, and it’s quite easy to reproduce a Git time machine with the bcommit command. If you’re not, you may want to give a shot to git-time-lapse: It does the job pretty well with zero dependencies (e.g. Telescope, plenary), and it can be installed as a simple optional plugin. #vim

2024-07-25 09:44 #

From time to time, I make a few infidelities with cmus and use gapless (formerly g4music). It’s a great piece of software which I initially compiled from scratch until I decided to rely on the Flathub version. I once generate m3u playlists for relevant folders in my global library and they come up nicely in the playlist view. See my review here.