Skip to content
pvjohnston.com
Home Résumé Writing About Contact
Menu
Home Résumé Writing About Contact
Writing 2 notes

#scientific computing

Every note tagged #scientific computing, newest first — or browse the full archive.

July 20, 2026 Engineering understanding traceable

From script to sentence: a traceable Brewster-angle calculation

A tiny Fresnel calculation shows how this site now carries computed values from versioned inputs into prose without mistaking traceability for correctness.

#reproducibility#Hakyll#Pandoc#optics#scientific computing
July 14, 2026 Engineering

Two runs, two answers: floating-point sums aren't associative

Run the same simulation on four cores and eight and the total energy disagrees in the twelfth digit. That is not a bug in your code — it is floating-point addition refusing to be associative, and the fix is not to make the hardware lie but to know your noise floor.

#floating-point#numerical computing#reproducibility#ieee 754#scientific computing#hpc
pj Peter V. Johnston

Science, AI-powered tools, automation, and technical writing — with the math, code, references, and diagrams left in.

Site

Résumé Writing How it’s made

Elsewhere

GitHub ORCID Google Scholar noprofits.org Contact
© 2026 Peter V. Johnston · BSD-3-Clause · Built with Hakyll + Pandoc Seattle