Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sunrunner
3 days ago
|
parent
|
context
|
favorite
| on:
Bit flips: How cosmic rays grounded a fleet of air...
This is a really good point and a common error in bit flip detection code. To avoid this kind of look-before-you-leap hazard the following is recommended:
try { do_action() } catch (BitFlipError e) { logger.critical("Shouldn't get here") }
Ask-for-forgiveness as an error detection pattern avoids these kinds of errors entirely.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: