Santiago Sainz

Writing

Everything, newest first.

Every link and essay in the commonplace book. RSS.

Posts
5
Latest
17 Nov 2026
Feed
RSS

November 2026

  1. Penrose Tiling Explained

    Jeff Preshing makes a Penrose tiling approachable by keeping the representation small: two kinds of triangle, with vertices stored as complex numbers. One kind splits into two triangles, the other into three, using the golden ratio to place the new vertices. The diagrams sit beside the Python, so each subdivision is something a reader can check rather than take on trust.

    The lovely detail is what he leaves undrawn. Omitting the triangles' bases lets adjacent triangles read as rhombus tiles. Starting from a wheel of ten triangles, the same local rules produce increasingly intricate patches of an aperiodic pattern. It is worth reading for that bridge from a compact algorithm to a visible structure, not just for the finished image.

  2. Building a self-updating profile README for GitHub

    Simon Willison's 2020 walkthrough turns a profile README into a small publishing pipeline. A GitHub Action runs a Python script that gathers project releases through GraphQL, blog posts from an Atom feed, and TILs through a Datasette query. It replaces marked sections of the README rather than rewriting the whole page.

    That boundary is the useful part: write the introduction by hand, generate the lists from the places where the work already lives. His workflow has scheduled, push, and manual triggers, so refreshing the index does not require editing each link. A schedule cannot guarantee freshness if a fetch or build fails, but the design removes a second copy of the same editorial work. The article is a clear, compact starting point for any page that summarises several other sources.

  3. Times Tables, Mandelbrot and the Heart of Mathematics

    Number evenly spaced points around a circle. Join each point n to 2n, wrapping the result around the circle when it exceeds the point count. With enough points, the straight chords trace the outline of a cardioid. Mathologer's video turns a multiplication table into something a reader can draw, then vary by changing the multiplier.

    The appeal is how little machinery the first experiment needs: a circle, numbered points, and one repeatable rule. The finite drawing is an approximation, not a proof that every visible curve is exact. That makes it a good invitation to explore: increase the point count, compare the outlines, and ask what curve the lines approach. The connection to the cardioid bounding the main component of the Mandelbrot set gives the video a destination beyond the initial visual surprise.

September 2026

  1. The Edge of the Map

    A plan of tasks assumes the route is already known, which is why it collapses on contact. Matt Pocock's wayfinder plans in questions instead. I installed it this morning — this is the review before the first run.

  2. Making Failure Legible

    Agents fail in the middle, quietly, and in ways that look like success from the outside. A working method for making that visible before it reaches a customer.

5 posts since September 2026Follow by RSS