Home About Me

An overview of the Paxos consensus protocol, covering proposer, acceptor and learner roles, the prepare and accept phases, safety and liveness, trade-offs, and real-world applications.

A Java beginner asks how to flip an integer's sign, and the answers spiral from n = -n into bit tricks, string parsing, and an object-oriented negation library.