frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Consensus for Side Effects

https://github.com/abokhalill/chr2
2•yousef06•1h ago
Hi, creator here.

Most Raft/Paxos libraries treat the state machine as a black box. That’s fine until the state machine does real-world things like charging a card, sending an email or firing a webhook.

Then the leader crashes after the side effect but before commit, and you get duplicates. Every time. All the “exactly once” hand-waving collapses the moment a process dies mid-flight.

This repo is my attempt to fix that by design: side effects live in the replicated log, not behind it.

how it works, roughly:

Side effects are written as pending entries in replicated state. Only the current leader executes them, under a fencing token.

Leadership is fenced durably so a zombie leader can’t wake up and re-run old effects.

The state machine runs with a deterministic RNG seed + block time from the log, so replay is bit-for-bit or it halts.

The WAL is strict: CRC + hash-chained. Corruption stops the system instead of guessing.

Trade-offs are explicit:

Effects are at-least-once. Exactly-once requires stable IDs and sink-side dedup.

CP over AP. Safety over availability.

If you’ve ever been paged because a leader died at exactly the wrong microsecond, you know why I built this.

Repo: https://github.com/abokhalill/chr2

Happy to answer any questions about chr2 architectural internals or design trade offs.

Well Done Silicon Valley

1•zerosizedweasle•5s ago•0 comments

Palantir CEO says AI to make large-scale immigration obsolete

https://www.mercurynews.com/2026/01/20/palantir-ceo-says-ai-to-make-large-scale-immigration-obsol...
1•bookofjoe•12s ago•0 comments

Ask HN: When does changing pricing models break user trust?

1•skicoachapp•34s ago•0 comments

Multi-Modal Program Verification in Velvet

https://proofsandintuitions.net/2026/01/21/multi-modal-verification-velvet/
1•matt_d•3m ago•0 comments

Simulations and games about non-zero-sum concepts and emergent phenomena

https://nonzerosum.games/arcade.html
2•embedding-shape•7m ago•0 comments

What We Can Do–Starting Now, a Daily Civic Action Plan [video]

https://www.youtube.com/watch?v=gdBsLrGamtM
1•itronitron•8m ago•0 comments

The use of the word 'robust' to describe software in UK law

https://ials.blogs.sas.ac.uk/2019/06/25/the-use-of-the-word-robust-to-describe-software-code/
1•fanf2•8m ago•0 comments

Show HN: Grov – Multiplayer for AI Coding Agents (Open Source)

https://grov.dev/
5•tonyystef•9m ago•2 comments

Terminal UIs, the Ruby Way

https://www.ratatui-ruby.dev/
2•thunderbong•15m ago•0 comments

Show HN: ImproveThis, refine messages based on who you're writing to

https://improvethis.ai
1•buildwithdep•16m ago•0 comments

FSNotes 7 – Remarkable fast plain text notes

https://fsnot.es/v7/
1•todsacerdoti•19m ago•0 comments

The 40M Dollar Job (2019)

https://idiallo.com/blog/the-40-million-dollar-job
1•foxfired•20m ago•1 comments

Show HN: Unicode Explorer – Explore, Search, and Learn Unicode

https://unicode-detector-nine.vercel.app/
2•SpyCoder77•20m ago•0 comments

End-of-Life usefulness of degradation by products from transient electronics

https://www.nature.com/articles/s41528-025-00411-w
1•PaulHoule•21m ago•0 comments

Show HN: I'm eating at all the phở restaurants in Portland, at least twice

https://pho.curtisbarnard.com/
2•oregoncurtis•22m ago•1 comments

Colundi Waftundi

https://wftlrd.uk/colundi/
2•anigbrowl•22m ago•1 comments

Hiring

https://teachingmadefun.com/
1•TMFkids•23m ago•1 comments

NYC Bans Hidden Hotel Fees Ahead of World Cup Tourist Influx

https://www.bloomberg.com/news/articles/2026-01-21/nyc-bans-hidden-hotel-fees-ahead-of-world-cup-...
4•toomuchtodo•24m ago•1 comments

Show HN: Infinate –O(k)constant-time spatial attention for unlimited LLM context

https://github.com/ch1pu/infinate
1•ch1pu•25m ago•0 comments

ChatGPT needs a persistent workspace layer

4•LostBeacon•25m ago•0 comments

Show HN: PFAS Reporting 2026 – Triage tool for the EPA's 2011–2026 lookback rule

https://pfasreporting2026.com
1•todaycompanies•26m ago•1 comments

NexPhone: Android, Linux, and Windows 11 in a single device

https://nexphone.com/
2•gessha•27m ago•1 comments

Show HN: Find what you should play next

https://gamebrain.co
2•dsky•28m ago•3 comments

The Truth About Toilet Swirl

https://www.smartereveryday.com/toiletswirl
2•ColinWright•28m ago•0 comments

Get Closer So I Can Hear the Birds

https://terratauri.com/blog/get-closer-so-i-can-hear-the-birds/
2•terramauthe•29m ago•0 comments

Show HN: Ably AI Transport - a transport layer for agentic apps

https://ably.com/docs/ai-transport
1•mchristensen•31m ago•0 comments

Face Shape Detector

https://whatismyfaceshape.net/
1•adilblati3•32m ago•1 comments

Show HN: Tandem – open-source cross-platform AI coworker (Tauri)

1•frumu•35m ago•1 comments

Show HN: TerabyteDeals – Compare storage prices by $/TB

https://terabytedeals.com
2•vektor888•36m ago•0 comments

Oldest Cave Art Discovered in Indonesia

https://www.barrons.com/news/world-s-oldest-cave-art-discovered-in-indonesia-3ddd2a48
1•wjb3•36m ago•0 comments