n16f.net - Nicolas Martyanoff

n16f.net - Nicolas Martyanoff

Nicolas Martyanoff

I am Nicolas Martyanoff, and this website is a way to publish some of my thoughts on various subjects.

Latest Posts

I just encountered the strangest behaviour in Emacs. I was editing a shell script, hit C-x b to switch to another buffer, and Emacs suddenly froze with the following message: Pinging <hostname> (Commercial)... Where <hostname was the...
Paredit is an Emacs package for structural editing. It is particularly useful in Lisp languages to manipulate expressions instead of just characters. One of the numerous little features of Paredit is the automatic insertion of a space...
I recently went back to Common Lisp to solve the daily problems of the Advent of Code. Of course it started with installing and configuring SLIME, the main major mode used for Common Lisp development in Emacs. The most useful feature of...
In the default Emacs configuration, C-l is bound to recenter-top-bottom. This function has an interesting behaviour: when called once, it scrolls the current window so that the current line appears at the middle of the screen. When...
Storing credentials and confidential data in a secure location is important, and I have been happy with 1Password for years. But having all this critical information stored in a single location is dangerous; losing access to my 1Password...
Edit (2023-02-07) Updated to mention subkey selection during renewal. Introduction I recently tried to learn more about GnuPG and it turned out to be more difficult than expected. So here are my notes regarding various GnuPG operations....
The Erlang logger application introduced in OTP 21 is extremely flexible, but the default settings are not the most practical for development purposes: The default log level is notice, meaning that info and debug messages will not be...
I use Dialyzer a lot, and it has always been useful to expose various errors in my Erlang code. Unfortunately, I recently discovered an unexpected behaviour: by default, Dialyzer ignores unknown types. It is very surprising and suddently...
The CLHS, or Common Lisp HyperSpec, is one of the most important resource for any Common Lisp developer. It is derived from the official Common Lisp standard, and contains documentation for every aspect of the language. While it is...
The usual way to develop programs in Common Lisp is to use SLIME in Emacs, which starts an implementation and provides a REPL. When a program needs to be running in production, one can either execute it from source or compile it to an...
While the erl application is really useful to tinker with Erlang modules, the lack of a persistent history has always been annoying. I recently discovered via Adopting Erlang that the history can be made persistent since Erlang 20 with...
I am used to read RFC documents in Emacs by opening them as simple text files. But I was always annoyed by the impossibility to follow references to other documents. Additionally, searching for the right RFC usually involve going back to...
I have been learning a lot about Erlang recently, and I stumbled upon a strange behaviour: printing strings containing non-ascii characters, e.g. "μs", using io:format and the ~ts control sequence behaves differently depending on the way...
I have been using Emacs for some time, and ido has always been my favourite way to switch buffers. But recently I discovered and started using Helm, a package based on incremental completion which can provide lots of interesting...
Search Random