News for hackers. Stuff that matters.
Re:10% of Firefox crashes are caused by bitflips by Dylan16807 on Friday March 06, 2026 @02:52AM (#47272211)
If your pieces of important data are very tiny, that's probably your best option.

If they're hundreds of bytes or more, then two copies plus two hashes will do a better job.

Re:10% of Firefox crashes are caused by bitflips by d1sxeyes on Friday March 06, 2026 @07:24AM (#47274118)
Ah, true! You just restore the one that matches its hash. Elegant.
Re:10% of Firefox crashes are caused by bitflips by rixed on Friday March 06, 2026 @11:39AM (#47277286)
A single hash should be enough.
Re:10% of Firefox crashes are caused by bitflips by Dylan16807 on Friday March 06, 2026 @02:55PM (#47280237)
Yes, but what's easier depends on layout. "Consensus" makes me think of multiple entire nodes, and in that situation you can have a nice symmetry by making each node store one copy and one small hash.

If you're doing something that's more centralized then one hash might be simpler, but if you're centralized then you should probably use your own error correction codes instead of having multiple copies.