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.

2025-05-18 20:00 #

[Numpy] took away indices and replaced them with broadcasting. And broadcasting cannot fill indices’ shoes. — I don’t like NumPy

2025-05-17 19:59 #

/me is listening to “Gravity (Still)” by Hooverphonic

2025-05-16 16:20 #

A leap year check in three instructions. In Racket:

(define (leap-year? x) (<= (bitwise-and (* x 1073750999) 3221352463) 126976))

img

See also this followup post by John Cook.

2025-05-16 16:13 #

What’s New in Neovim 0.11. I upgraded via Homebrew some weeks ago and didn’t notice any breaking changes. However, after reading this article, I tried to setup my LSP configurations via the new facilities, and it works like a charm: root_dir has to be replaced with root_markers, and the filetypes parameters is equivalent to the basename (e.g., filetype.lua) that I put in my ftplugin directory. It is much easier to manage basic autocompletion via omnifunc. I don’t use virtual text and I don’t really care about virtual lines either, but it looks great. I revamped some of my custom mappings since Neovim now ships with default meningful keymaps for goto actions. #vim

2025-05-16 11:49 #

The web today.

img

2025-05-16 11:45 #

On macOS, relying on ZDOTDIR=$HOME/.config/zsh helps to declutter hidden files in $HOME. I initially put it in my $HOME/.zprofile, but you will need to use .zshenv (a symlink to .zprofile also works) in order to make your $PATH available in Neovim terminal. #vim

2025-05-13 12:30 #

TIL about LocalSend.

2025-05-13 09:46 #
2025-05-13 08:58 #

Apparently, vibe coding is when you explain to your AI-based editor what the heck you wanted to do, except you’re much more into debugging code written for you. WTF it is calling vibe coding? I wouldn’t mind it being called AI coding, but vibe? — Am I becoming obsolete or just older?