Fuzzy logic (what if you couldn't trust your bits?)

in #steemstem7 years ago

I've played around with an idea - what if the data I store on the disk or in memory wasn't as stable as I'm used to? What if the bits had a probability to switch from 0 to 1 or the other way around? Here's some python code which assumes 99% stability of the bits:

https://gist.github.com/jurev/106a78ffdc7ea516ec322522d40a3755

Interesting result: if you have 8 bits it is better to take 6 data bits and 2 checksum bits than 5 data bits and 3 checksum bits, taking into account that all bits (data and checksum) are only 99% stable.

Now - who would want to implement sha256 with my fuzzy bits?

Sort:  

The @OriginalWorks bot has determined this post by @codemojo to be original material and upvoted it!

ezgif.com-resize.gif

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message!

Please note that this is a BETA version. Feel free to leave a reply if you feel this is an error to help improve accuracy.

Coin Marketplace

STEEM 0.15
TRX 0.15
JST 0.028
BTC 54034.48
ETH 2262.26
USDT 1.00
SBD 2.31