Notebook

Writing

Essays and notes on elements of mathematics and computation, primarily as they pertain to neuroscience and finance.

Why I keep rewriting the same fluid solver

May 2025

Notes on what each rewrite of a Lattice Boltzmann code taught me about numerical intuition.

A field guide to softening in N-body codes

Feb 2025

Plummer, spline, adaptive — what changes when you tune the softening length and why it matters.

Floating-point traps I keep falling into

Nov 2024

A small catalogue of subtle precision bugs from simulation code, with minimal reproductions.