News for hackers. Stuff that matters.
Re:Why Japan’s Rail Workers Point at Things by LeonM on Saturday April 01, 2017 @02:19PM (#14013346)
Unless you lose state between step 2 and 3.
Re:Why Japan’s Rail Workers Point at Things by Scaevolus on Saturday April 01, 2017 @02:41PM (#14013460)
Then you're left with a pill on your keyboard and no email, so presumably you're supposed to take it.

If you discover a pill on your keyboard and an email, you should delete the email and take the pill.

I think this ensures at-most-once pharmaceutical delivery, but I haven't investigated formal proofs of Bicameral Generals with memory loss.

Re:Why Japan’s Rail Workers Point at Things by stickfigure on Saturday April 01, 2017 @03:55PM (#14013834)
This can be addressed with a two pill commit protocol.
Re:Why Japan’s Rail Workers Point at Things by cperciva on Saturday April 01, 2017 @04:17PM (#14013938)
This is a two-phase commit protocol already. Placing the pill on my laptop constitutes logging the transaction, so that it is guaranteed to be completed even though it hasn't taken place yet.
Re:Why Japan’s Rail Workers Point at Things by Ezhik on Saturday April 01, 2017 @09:34PM (#14015231)
How can we make the pill transaction atomic?