news
Programming Leftovers
-
Julian Andres Klode ☛ Dependency Tries
As I was shopping groceries I had a shocking realization: The active dependencies and
B
overC
(andA
transitively overC
). -
Python
-
Ned Batchelder ☛ Hobby Hilbert Simplex
I saw a generative art piece I liked and wanted to learn how it was made. Starting with the artist’s Kotlin code, I dug into three new algorithms, hacked together some Python code, experimented with alternatives, and learned a lot. Now I can explain it to you.
-
-
Shell/Bash/Zsh/Ksh
-
Vincent Delft ☛ Vincent's blog
Since few months, I'm using zsh as my main shell. In this post I explain changes I did and why. It uses Antidote, smart plugins, and a clean prompt. For syntax highlighting to battery status in the prompt, every detail is tuned for my daily use. Here’s how my .zshrc makes Zsh enjoyable.
-
-
Golang
-
University of Toronto ☛ Go's builtin 'new()' function will take an expression in Go 1.26
An interesting little change recently landed in the development version of Go, and so will likely appear in Go 1.26 when it's released. The change is that the builtin new() function will be able to take an expression, not just a type. This change stems from the proposal in issue 45624, which dates back to 2021 (and earlier for earlier proposals). The new specifications language is covered in, for example, this comment on the issue. An example is in the current development documentation for the release notes, but it may not sound very compelling.
-