Part 7: Kahan Summation -- A Better sum() for Java Streams
Learn why naive summation loses digits and how Kahan compensated summation helps. Includes Java Stream integration, test strategies, and ...
Learn why naive summation loses digits and how Kahan compensated summation helps. Includes Java Stream integration, test strategies, and ...
A short essay on why stereotypes feel efficient but fail under scrutiny, and how to talk about groups: Indians, Americans, immigrants, an...
Learn how to handle NaN and Infinity in Java without scattering if (isNaN) checks everywhere. Five practical patterns: boundary validatio...
A 2026 rewrite of a 2011 note: one tomato’s journey through India’s post-harvest chain, what changed since 2011, and what still leaks value.
Over the last day I made a round of changes that do not scream “new feature,” but materially improve how this site loads, behaves, and fe...
A New Year note from a builder who still believes small, consistent commits can change a life, and sometimes a team.
AI-assisted coding is a force multiplier. This post argues that disciplined engineering practices, rooted in Extreme Programming, are wha...
In IEEE 754 floating point, there are special values (NaN, +∞, −∞) that follow rules that look like broken logic, until you realize they'...
How fine is the double-precision grid, and why does 1.0 vanish next to 1e16?
A practical case for UNSC reform that preserves stability, legitimacy, and the incentives for major powers to stay invested.