Saturday, 28 November 2026

Guidelines Support Library (GSL)

The Guidelines Support Library (GSL) are functions and types suggested for use by the C++ Core Guidelines ("tried-and-true guidelines, rules and best practices about coding in C++"). 

The source code directory actually contains links to videos by key C++ folks. Worthy viewing.

Plan9 in WSL

WSL Plan9 is implemented here. This enables file sharing between Windows and Linux.

Reading STAT output from ps

One of the columns which Linux command ps outputs is STAT. For example, you ps -aux | grep sql may show up sql databases running. If you see Ss for example this can be understood as follows:

S - interruptible sleep; process is sleeping and can be woken by a signal or event
s - session leader (PID == Session ID)

Claude writes 90% of its team's code - Anthropic

Article by Amanda Caswell on The New Stack. A blog post supports this (10 min post).

Friday, 27 November 2026

Prolog is Turing Complete

Pure Prolog is Turing complete. This means it is computationally equivalent to a universal Turing machine (UTM).

Automatic Differentiation in Machine Learning

C'est Quoi, et Pourquoi?

Automatic differentiation is used in the field of machine learning.

Once you start reading a few good machine learning papers, this concept will pop up repeatedly. Its usefulness appears in backpropagation in a neural network without a manually computed derivative.

Automatic differentiation (AD) and algorithmic differentiation are generally the same thing. The term automatic differentiation term is more common in machine learning and optimisation, and algorithmic differentiation is more often heard in numerical analysis and scientific computing communities.

Both refer to computing exact derivatives by systematically applying the chain rule to a computer program.

Thursday, 26 November 2026

Postgres on Windows

It is best, when using Postgres on Windows, to use WSL, as this will be easier to do testing with production-realism. Check out the instructions here.