You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
Partitioning in Postgres, 2022 edition. #database
An open-source tribute to the macOS Drift screensaver. I always enjoyed the “flame” screensaver, but that may well do the job as well! #apple
♪ Front 242 · Headhunter
How to configure neovim to properly format python code?. Simpler solution is to add this mapping to your after/ftplugin/python.vim: nmap <buffer> g= :!black --quiet %<cr>:redraw!<cr>:!isort -q %<cr>:redraw!<cr>. Not sure if we really need two redraw, but it works quite well. This could be put in an autocommand if we want to format on save, say. #vim
Move a running process into a tmux session. This happened to me in the past, and I came up with a different solution, which involves the same steps but without reptyr IIRC. Now I forgot how I did…
♪ Bauhaus · Bela Lugosi Is Dead