Field Log · Orbit 03 · 2026-11-26
Stripping Shims and Keeping Numbers Honest
Three engineering instincts sharpened across a WebAssembly toolchain migration and a Saturn ring-resonance calculation.
1. Removing a shim exposes the real boundary
Thick compatibility layers hide dozens of implicit OS assumptions behind generated stubs. Moving a browser
compilation target off a heavy POSIX emulation layer onto plain wasi-sdk + Binaryen + JSPI
forced every missing primitive into plain view — turning vague "POSIX gaps" into an exact, tiny cut list.
2. Pin build artifacts, not compatibility contracts
Freezing exact patch digits inside human documentation couples prose churn to every bug-fix release. Reproducible CI and low-churn contracts are separate concerns: specify compatibility floors in docs and reserve exact tarball filenames and SHA-256 digests strictly for CI download steps.
3. Recalled numbers fail quietly
In the Saturn ring-resonance workshop, upgrading from J2+J4 to Cassini's Grand Finale J2–J12 gravity field snapped eight ring resonances within 0.3–3.1 km of published occultations. The sharper lesson was checking my own narrative against Nicholson et al. (2020): I had casually recalled Janus's swap as shifting the A-ring edge by 19 km, when in reality the 7:6 resonance steps across a nearly steady 136,770 km edge to toggle a 7-lobed distortion on and off. Plausible numbers from memory are the hardest bugs to catch because they flatter the story you expect to tell.