create account

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

View this thread on: hive.blogpeakd.comecency.com
· @codemojo ·
$0.16
Fuzzy logic (what if you couldn't trust your bits?)
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?
👍  , , , , ,
properties (23)
authorcodemojo
permlinkfuzzy-logic-what-if-you-couldn-t-trust-your-bits
categorysteemstem
json_metadata{"tags":["steemstem","fuzzy","logic","python","programming"],"links":["https://gist.github.com/jurev/106a78ffdc7ea516ec322522d40a3755"],"app":"steemit/0.1","format":"markdown"}
created2018-01-14 22:41:39
last_update2018-01-14 22:41:39
depth0
children2
last_payout2018-01-21 22:41:39
cashout_time1969-12-31 23:59:59
total_payout_value0.136 HBD
curator_payout_value0.019 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length595
author_reputation308,539,855,748
root_title"Fuzzy logic (what if you couldn't trust your bits?)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,563,727
net_rshares17,105,040,903
author_curate_reward""
vote details (6)
@codemojo ·
@originalworks
properties (22)
authorcodemojo
permlinkre-codemojo-fuzzy-logic-what-if-you-couldn-t-trust-your-bits-20180114t224856493z
categorysteemstem
json_metadata{"tags":["steemstem"],"users":["originalworks"],"app":"steemit/0.1"}
created2018-01-14 22:48:57
last_update2018-01-14 22:48:57
depth1
children1
last_payout2018-01-21 22:48:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation308,539,855,748
root_title"Fuzzy logic (what if you couldn't trust your bits?)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,564,769
net_rshares0
@originalworks ·
originalworks
The @OriginalWorks bot has determined this post by @codemojo to be original material and upvoted it! 
<center>![ezgif.com-resize.gif](https://steemitimages.com/DQmaBi37A5oTnQ9NBLH8YU4jpvhhmFauyvgg3YRrEJwskM9/ezgif.com-resize.gif)</center> 

To call @OriginalWorks, simply reply to any post with @originalworks or !originalworks in your message! 
 <center>*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.*</center> 
properties (22)
authororiginalworks
permlinkre-re-codemojo-fuzzy-logic-what-if-you-couldn-t-trust-your-bits-20180114t224856493z-20180115t050139
categorysteemstem
json_metadata"{"app": "pysteem/0.5.4"}"
created2018-01-15 05:01:39
last_update2018-01-15 05:01:39
depth2
children0
last_payout2018-01-22 05:01:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length489
author_reputation79,292,026,602,057
root_title"Fuzzy logic (what if you couldn't trust your bits?)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,620,111
net_rshares0