Reload Zsh Configuration
I’ve been using Zsh on-and-off for a very long time (15+ years), but I still occasionally learn something new about it.1 Yesterday I was setting up oh-my-zsh on a new computer and I’ve noticed they...
I’ve been using Zsh on-and-off for a very long time (15+ years), but I still occasionally learn something new about it.1 Yesterday I was setting up oh-my-zsh on a new computer and I’ve noticed they...
Many programming languages have a function for combining the elements of multiple collections (e.g. arrays or lists) together. Typically this function is named zip. Here’s an example from Haskell: ...
You never get a second chance to make a first impression. Lately I’ve been learning OCaml and I thought it might be a good time to share a few initial impressions, while they are still fresh. Of ...
One thing that was a bit weird for me in OCaml early on was how to introduce multiple let bindings (e.g. in the body of a function definition). Think something like this in Clojure: (let [a 1 ...
Update (2026): I’ve written an updated version of this article that covers the modern OCaml tooling stack – neocaml + ocaml-eglot instead of tuareg + merlin-mode. I’ve promised you articles about ...
Live as if you were to die tomorrow. Learn as if you were to live forever. – Mahatma Gandhi For as long as I’ve been into programming I’ve been learning some new programming languages on the s...
If you’re into programming puzzles you probably know that there’s a whole class of problems about doing something (e.g. some calculations) with the digits of a number. This means you need to break ...
Many programming languages have a function for combining the elements of multiple collections (e.g. arrays or lists) together. Typically this function is named zip. Here’s an example from Haskell: ...
Today I saw a clever bit of Clojure code involving clojure.string/replace, that reminded me how powerful the Clojure standard library is. I guess pretty much everyone knows that replace is normally...
Pretty often I receive emails like this one:1 I was curious if you’re open to guest posts and if my suggested topic would be of interest to you. I’d like to write an article for you about the p...