Vol. II · No. 207
Established 2025

smallweb

Sunday, July 26, 2026
168 writers in the library
Tech · 1 shelves
Tech

Entropic Thoughts.

Software engineering, systems thinking, and technical analysis.

Recent essays

30 of 53

Kuiper Q-Q plot: are these the same?

When we tried to get an intuition for the differences in distribution functions, we learned that children subjected to a treatment had greater variation in their score than the reference group. (Continue reading the full article on the web.)

Intuition for distribution differences

Imagine every person in a country is assigned some sort of score, and a higher score is better. I can’t share the specifics around the score I’m investigating right now, but on the population level it is collected by a government agency. Here’s the distributio…

A full body MRI earns you a year of smoking

Alternative titles: … earns you a high-risk pregnancy … earns you an ascent of Matterhorn … earns you 10,000 km on a motorcycle … earns you two BASE jumps … earns you a day on the frontline in Ukraine (Continue reading the full article on the web.)

Data-directed programming in Haskell (SICP 2.4.3)

I have a copy of SICP, or as it is also known, The Wizard Book. This book is widely praised, but I can’t take the time to work my way through all of it. Instead, I’m going to occasionally jump into the parts of it that look interesting. Last week, we looked at…

Tagged data in Haskell (SICP 2.4.2)

I have a copy of SICP, or as it is also known, The Wizard Book. This book is widely praised, but I can’t take the time to work my way through all of it. However, sometimes I jump into parts of it that look interesting. Today, we’ll see how to support multiple…

GLM 5.2 playing text adventures

I’ve heard some buzz around the new GLM 5.2 open-weights model. They say it’s very capable! I won’t run a full comparison benchmark, but I have some credits sloshing around on OpenRouter so I figured I might compare GLM 5.2 to the similarly-priced Gemini 3 Fla…

Lean, not backpressure

Lucas Costa has written a good article on how to build systems that can handle code-generating robots. Unfortunately, when calling it backpressure, he used the wrong metaphor. Backpressure is about signaling to upstream processes that they are running too fast…

LLMs and almost good code

TL;DR: My new prior is that top-of-the-line LLMs working on easy tasks generate code that is maybe 10 % more complicated than necessary. I also think we accept this complexity too easily, because it comes from code that is right here, right now, solving an imm…

Is the Monaco Grand Prix decided at qualifying?

A Formula One driver triggered my fact-checkitis. They claimed that Winning the Monaco Grand Prix in Monte Carlo is determined nine out of ten times by which position one starts in. That makes intuitive sense, because the Monte Carlo track is a narrow street t…

90 % of the t distribution

William Sealy Gosset was great. He improved beer at Guinness by using the statistics that existed at the time. Not happy with that, he invented new statistics to brew even better beer. The things he invented are used all over the place now, but Guinness wanted…

The stock market returns 4 %

People assume all sorts of wild stock market returns when they make their financial calculations. Here are some numbers that show up on web searches: 6 % 8.4 % 10 % 10.1 % 11.3 % 11.5 % 13.6 % 16 % These are all correctly computed under their respective assump…

Pythagorean Addition

TL;DR: Instead of labouriously computing \(c = \sqrt{a^2 + b^2}\), we can mentally calculate using the alpha-max plus beta-min algorithm, by estimating \[\hat{c} = \mathrm{max}\left(a, 0.9a + 0.5b \right)\] and this will be very close to the actual \(c\). This…

Regatta Starting Stations – Chi-squared Continued

In the Henley Royal Regatta two teams at a time propel their boats up a river and compete to be first to go a distance. Teams get assigned to their starting stations – Berkshire or Buckinghamshire – at random. From there, it is a straight shot up the river, wi…

Article previews in RSS

Since about three years past time immemorial, the RSS feed for this site has been very anaemic. It had article titles and dates, and that was it. Many readers have requested that I include the full article in the feed, or at least a preview, but I’ve always pu…

Fizz Buzz Through Monoids

Some decade ago I read a good implementation of fizzbuzz. What set it apart was its excellent modularity. The original article is no longer on the web, but this is my reconstruction: In[1]: module Main where import Control.Monad (guard) import Data.Foldable (f…

Understanding systems

Some time ago I read an article on what makes a good tutor. It explicated many of the things I do when tutoring, so obviously I thought it was a great article. When I had a side gig as a private tutor, I covered mostly maths and physics, so that’s how I’ll fra…

Spaced Repetition: Beginner Guide/FAQ

Spaced repetition is best introduced in the words of Gwern: it is a mechanical golem that will never forget, and never let us forget whatever we chose to. If this was a medical treatment or lessons from a personal coach, it would be priced so that only high-ra…

Object Oriented Programming in Ada

Ada is incredibly well designed. One way this shows is that it takes the big, monolithic features of other languages and breaks them down into their constituent parts, so we can choose which portions of those features we want. The example I often reach for to…

Readership maths skills

Many of you get notified of new articles via RSS, and some of you stay tuned through the email newsletter. The email subscribers have, in the past three weeks, answered a survey on their understanding of maths topics. I asked three questions of increasing diff…

The MVC Mistake

Creating abstractions should not be left to beginners. Richard Gabriel says puts it well:: Abstractions must be carefully and expertly designed, especially when reuse or compression is intended. However, because abstractions are designed in a particular contex…

Lines of code are useful

The internet is full of people dismissing lines of code as a measurement. People say things like Lines of code written has been firmly established over the decades as a largely meaningless metric. and (Continue reading the full article on the web.)

Esqueleto Tutorial

When interacting with databases in Haskell, we use a library called Persistent to create mappings between database content and Haskell data types. This library can also query for records and update them, as long as the operations involved are very basic. Once…

Are LLMs not getting better?

I was reading the METR article on how LLM code passes test much more often than it is of mergeable quality. They look at the performance of LLMs doing programming when the success criterion is “passes all tests” and compare it to when the success criterion is…

Rebasing in Magit

I read Ian Whitlock’s article on why he can’t quit Magit and it inspired me to share more about Magit from my perspective. This article will focus on rebasing. Here I have opened the git log, by first opening Magit (which I have bound to the F3 key), and then…

Teaching Children to Bicycle

Teaching an adult to ride a bike is easy. This is how: You hand them a smaller bike so they can comfortably reach the ground. You instruct them to not focus on going in any particular direction, but instead always steer into the fall. (Continue reading the ful…

Flake Checks in Shell

TL;DR: To use a shell script as a Nix flake check, turn it into a derivation with runCommand. It must Create a file named as suggested in the environment variable $out. Print the desired “how to fix” information to stdout. Exit with status code 1 if the check…

Learning KeyBee

The problem with Qwerty keyboards on small touchscreen devices is that they are designed for ten-finger typing, and we typically only use two thumbs to type. Surely there must be ways input can be optimised for two thumbs beyond the Qwerty keyboard. Obviously,…

Wilks' Tolerance Intervals

Imagine we want to figure out what round-trip times we can expect between Sweden and New Zealand. We ping a server belonging to the University of Waikato from Stockholm, and record the following round-trip times in milliseconds. 290 388 299 290 462 292 291 293…

Solving Systems of Equations Faster

\[\left\{\begin{array}{l} & 4x & - & 3y & = & -17 \\ - & 2x & + & y & = & 7 \end{array} \right.\]

Survival Analysis of the Supreme Court

The – by far – most likely reason for the scotus composition to change is that one of its current justices leave. What’s the probability of that?