16 volumes
Knowledge base
Long-form notes on subjects I want to understand properly, each worked through from its history and first principles, with the mathematics written out and the key ideas built as figures you can run.
Math
Optimization and learning: the algorithms that find the best answer.
From Neuron to Transformer
Artificial intelligenceThreshold logic, perceptrons, backpropagation, convolution, LSTMs, word vectors, attention, scaling laws, RLHF, and reasoning models. 18 chapters, 15 interactive figures.
Downhill
Convex optimizationLagrange multipliers, gradient descent and momentum, the simplex method, KKT conditions and why convexity makes local minima global, duality, Markowitz portfolios, interior-point methods, and the lasso, with every algorithm running live. 10 chapters, 9 interactive figures.
Physics
Fields, waves, and matter, computed from first principles.
Ab Initio
Computational chemistryThe Schrödinger equation on a grid, the chemical bond, Hartree–Fock and Gaussian basis sets, electron correlation and the cost of accuracy, a Kohn–Sham atom, reaction surfaces, Monte Carlo sampling, and molecular dynamics, all computed live. 11 chapters, 9 interactive figures.
Field Lines
Classical electrodynamicsCoulomb and Gauss, currents and Helmholtz coils, Faraday's induction, Maxwell's equations and light, Hertz and phased antenna arrays, the Lorentz force and the electron, and why accelerating charges radiate, with fields computed live. 8 chapters, 7 interactive figures.
Loops
Quantum field theory and QEDZero-point modes and the Casimir force, Dirac's electron and g = 2, Klein–Nishina scattering, the Lamb shift and Bethe's renormalized calculation, amplitudes added as arrows, the running coupling and vacuum polarization, the five-loop electron anomaly against a trapped electron, and the muon anomaly that closed in 2025. 9 chapters, 10 interactive figures.
Biology
How living systems work, from molecules to cells to whole bodies.
Self and Nonself
ImmunobiologyPhagocytes and pattern recognition, antibodies and avidity, clonal selection and affinity maturation, V(D)J recombination, T cells and kinetic proofreading, thymic selection and regulatory T cells, immunological memory, vaccines, and herd immunity. 9 chapters, 8 interactive figures.
Budding
OrganoidsCell sorting and differential adhesion, the oxygen limit on a ball of cells, crypt organoids from single Lgr5 stem cells, neutral drift, morphogen gradients and patterning, cystic fibrosis swelling assays, engineered tumor organoids and drug prediction, and batch effects. 11 chapters, 8 interactive figures.
Two Hits
Cancer geneticsKnudson's two hits read off the ages of children with retinoblastoma, oncogenes as switches stuck on, loss of heterozygosity in read counts, the multistage model fitted to real incidence curves, mismatch repair and microsatellite instability, mutational signatures taken apart by least squares, telling drivers from long genes, clonal architecture, pre-existing drug resistance, and the sampling floor on finding a tumour in a tube of blood. 10 chapters, 11 interactive figures.
Medtech
How medicine images, measures, sequences, and treats the body.
Echo, Slice, Spin
Medical imagingThe physics and mathematics of ultrasound, computed tomography, and MRI: echoes and beamforming, Doppler, the Radon transform and filtered back-projection, Hounsfield units, nuclear magnetic resonance, T1 and T2 contrast, and k-space. 17 chapters, 11 interactive figures.
Base Calls
DNA sequencingNext-generation DNA sequencing, from Sanger's chain terminators to flow cells that read billions of molecules at once. Sequencing by synthesis and phasing, base quality and FASTQ, coverage statistics, Burrows–Wheeler alignment, de Bruijn assembly, variant calling, long reads, and counting cell-free DNA. 14 chapters, 9 interactive figures.
Pinhole
Fluorescence and high-content imagingThe diffraction limit, fluorescent proteins and filters, how a confocal pinhole cuts optical sections, photon noise and cameras, deconvolution and super-resolution, then plates and robots, nucleus segmentation, Z′ statistics, and Cell Painting. 10 chapters, 9 interactive figures.
Isodose
Radiation therapyThe first X-ray and radium treatments, how photons give up energy, depth dose for photons, electrons, and protons, cobalt units and linacs, cell survival and fractionation, tumor control and complications, inverse-planned IMRT, the Bragg peak, and dose verification. 11 chapters, 9 interactive figures.
Single File
Flow cytometryCoulter counting and hydrodynamic focusing, pulse shapes and doublets, light scatter and gating, photon statistics, compensation and spillover spreading, DNA cell-cycle analysis, droplet sorting, rare-event counting for minimal residual disease, and spectral and mass cytometry. 10 chapters, 9 interactive figures.
History
States, peoples, and the arguments over what happened to them.
Policy
The laws and programs that decide what gets built and sold.
Section 42
Affordable housing financeThe Low-Income Housing Tax Credit: its history since 1986, how credits are computed and allocated, and the real-world logistics of how agencies, developers, investors, lenders, and managers work together. 16 chapters, 8 interactive figures.
Cleared for Market
Device and diagnostic regulationDevice classes and the 1976 amendments, 510(k), De Novo, and PMA, quality systems and ISO 14971 risk management, diagnostic accuracy statistics and CLIA, software and AI, the EU MDR and IVDR, postmarket surveillance, IEC 62304, and the key ISO and IEC standards. 11 chapters, 9 interactive figures.
Next up
Topics in the queue, in the order I plan to write them.
- Herodotus's Histories
- Eastern Europe behind the Iron Curtain
- Numerical analysis