News for hackers. Stuff that matters.
Re:I designed a cube that balances itself on a corner by biomcgary on Sunday February 11, 2024 @07:04PM (#39340102)
I thought the two hardest things in CS was naming things, off-by-by one errors, and cache invalidation, but I must be remembering that incorrectly.
Re:I designed a cube that balances itself on a corner by klabb3 on Sunday February 11, 2024 @07:08PM (#39340126)
synchronization. Don’t forget
Re:I designed a cube that balances itself on a corner by sdenton4 on Monday February 12, 2024 @01:10AM (#39341985)
The whole reason for the off by one error in the standard joke is that we forgot to use a mutex.
Re:I designed a cube that balances itself on a corner by actionfromafar on Monday February 12, 2024 @05:44AM (#39343484)
Don’t forget synchronisation.
Re:I designed a cube that balances itself on a corner by spenczar5 on Sunday February 11, 2024 @10:53PM (#39341145)
synchronization, too
Re:I designed a cube that balances itself on a corner by Sduic on Monday February 12, 2024 @09:02AM (#39344833)
OK, the two hardest things in CS are naming things, off-by-one errors, cache invalidation, and synchronisation...and consensus...

I'll come in again.

Re:I designed a cube that balances itself on a corner by hnburnsy on Monday February 12, 2024 @11:43AM (#39347017)
Damn you beat me to it, I knew this felt like a Monty Python skit...

>“Nobody expects the Spanish Inquisition! Our chief weapon is surprise... surprise and fear... fear and surprise... Our two weapons are fear and surprise... and ruthless efficiency.... Our three weapons are fear, and surprise, and ruthless efficiency... and an almost fanatical devotion to the Pope... Our four... no... Amongst our weapons... Amongst our weaponry... are such elements as fear, surprise... I'll come in again.”

Re:I designed a cube that balances itself on a corner by bostik on Monday February 12, 2024 @12:56PM (#39348052)
Consensus is a distributed systems problem. And in that space there are only two hard problems:

    2. Exactly-once delivery
    1. Guaranteed order of messages
    2. Exactly-once delivery