You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
Apple Silicon and Virtual Machines: Beating the 2 VM Limit: “I got 9 macOS VMs running at once on my M2 Pro MacBook Pro, and still usable for testing!”
Enough lines drawn close together stop looking like lines and start looking like a surface. Generative art over the years
Quoi ? C’est compliqué ? Faut faire un effort ? C’est pas joli ? C’est élitiste ? Et tu crois qu’entretenir une crête colorée sur le sommet de son crâne, c’est à la portée de tout le monde ? Bien sûr qu’être technopunk ça demande un effort. Tu voudrais que tout soit facile, sans apprendre et joli justement dans l’esthétique à la mode que t’impose un marketeux défoncé ? Mais retourne dans les jupes de Zuckerberg ! — La complainte du technopunk ringard
Vim Advanced Search and Replace. I too make heavy use of the Quickfix, and I think it is one of the most underrated feature of Neovim. #vim
Simplest hash functions. I wish every single technical blog post look so precise and so well laid out.
Adding guards to all the executables I use as makeprg, compiler,
formatprg, etc. in my Neovim config files (mostly in after/ftplugin) to
ensure portability across machines. While it is easy to detect language servers
when they come as static binaries, some LSPs come as packages, e.g., R or Racket
language servers. Here’s what I came with:
" after/ftplugin/r.vim
let output = system("Rscript -e '\"languageserver\" %in% installed.packages()'")
if v:shell_error == 0
lua <<EOF
vim.lsp.enable("r_language_server")
EOF
endif
" after/ftplugin/racket.vim
let output = system("raco pkg show racket-langserver | grep Checksum")
if v:shell_error == 0
lua <<EOF
vim.lsp.enable("racket-langserver")
EOF
endif
For other languages, I just use an if executable("<whatever>") test.

TIL about Git maintenance (via Git Tips 2: New Stuff in Git).
Trying out Helix today. It lasted a few hours until I got back to Neovim. Too much muscle memory, I guess, and I’m happy with my current hand-crafted config.