The System Halted

The System Halted — Palak Mathur on software engineering, leadership, and Emacs

Start here

A few posts that capture what this site is about.

  • Software Engineering

    Types Check Shape, Tests Check Behaviour

    Notes from building a small text editor in Rust, and what a green-but-wrong save() function taught me about the line between what a type system can prove and what only a test can.

  • Computer Science

    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 when to use BigDecimal instead.

  • Personal Essays

    Org Incentive Optimization Problem

    Most orgs are unknowingly running an “Org Incentive Optimization” algorithm that over-rewards flashy new platforms and under-values quiet reliability work, so you have to translate maintenance into visible, computable outcomes.

  • Politics & Governance

    Reforming the Security Council Without Breaking Trust

    A practical case for UNSC reform that preserves stability, legitimacy, and the incentives for major powers to stay invested.

  • Software Engineering

    TDD as a Management Technique Revisited

    I still think TDD is a Taylorian construct. What I care about now is thinking about testing and evaluation before writing code.

  • Movie Review

    [Movie Review] Dhurandhar

    Review of Hindi movie Dhurandhar

  • Computer Science

    Either This Or That - Why I Wanted Disjunctive Types In Java

    When your Java methods really mean "either this or that" but the type system only says "here’s something…maybe," you’re flying blind. This post walks through using Result types, sealed hierarchies, and a bit of logic-thinking to make those hidden alternatives explicit, so the compiler – not your ...

Equality is an idea. Conditioning is an inheritance.

· all issues →

Recent posts