News for hackers. Stuff that matters.

ohduran

Re:Raft Consensus in 2k Words on Wednesday November 12, 2025 @09:02AM (#45900295)
Election timeout is random to prevent split votes. The up-to-date restriction ensures that you can only get elected if you're ahead, which, combined with the requirement to gather the votes of the majority of the votes, ensures that the leader has all committed entries.

Check section 5.4.3 in the paper, where it proves it quite elegantly IMHO: https://raft.github.io/raft.pdf

Re:Python 3.14 Is Here. How Fast Is It? on Friday October 10, 2025 @02:51AM (#45536011)
Same happened to me; I owe a career to having gone through his Mega Tutorial. Miguel if you're reading this, thank you from the bottom of my heart.
Re:Pytest for Neovim on Saturday April 05, 2025 @06:48AM (#43592385)
This is so helpful, congrats!

Older »