Working notes

Short write-ups from experiments, code and reading. Unpolished on purpose. There is an RSS feed. Results from the research code are in the research reports.

2026

What one reflectivity curve can tell youWhether a wrong X-ray reflectivity fit comes from the optimizer or from the curve itself, what a scan of 36...24 Oct The same oxide, two conventionsMy X-ray reflectivity tools put the native SiO₂ layer on opposite sides of the film depending on which code...24 Oct Testing a CUDA port against its CPU twinHow I check that a CUDA phase-retrieval library computes what its JAX original does, iteration by iteration...24 Oct Pre-registration for computational experimentsWriting down what result would make a claim false before running the simulation, three cases where the writ...24 Oct A catastrophic-backtracking regex in a terminal hookA secret-masking rule in codigest's shell capture could be split 2^(n-1) ways on a run of n letters, so one...24 Oct How the homepage wave worksThe model behind the interactive hero — a 2D scalar wave equation on a grid, a double slit with absorbing j...13 Oct