create account

RE: Testing base64 encoded images on the blockchain. Please disregard. by metzli

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @novacadian/testing-base64-encoded-images-on-the-blockchain-please-disregard

· @metzli ·
$0.04
lol. This means nothing to me... 

Can you point me in the direction of how to decipher it. 
👍  
properties (23)
authormetzli
permlinkre-novacadian-qap9b6
categoryblockpics
json_metadata{"tags":["blockpics"],"app":"peakd/2020.05.4"}
created2020-05-21 21:06:45
last_update2020-05-21 21:06:45
depth1
children4
last_payout2020-05-28 21:06:45
cashout_time1969-12-31 23:59:59
total_payout_value0.019 HBD
curator_payout_value0.019 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length92
author_reputation60,250,343,088,505
root_title"Testing base64 encoded images on the blockchain. Please disregard."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,510,876
net_rshares136,295,255,186
author_curate_reward""
vote details (1)
@firstamendment ·
A byte in hexademinal number is an alphanumeric number up to two characters long.  It uses numbers 0-9, and letters A-F [basically 10-15]. keeping things simple, the largest byte would be FF which translates into 255 (16*15+15).  In the 256 ascii system, there are characters associated with these values.  You may quickly pull up an ascii table on google, but you might find one that has 128 characters instead.

Images we tend to think of in binary (base 2) or hexademical (base 16) data.  And an image contains a lot of data.  But this data can also corresponds to ASCII character data (0-9, a-z, A-Z, punctuation, etc, etc).  The steem/hive block chain doesn't like the ASCII encoding system, and will reject certain characters.  So there exist other encoding mechanisms besides ascii.  You use a base 58 encoding system every time you enter your keys for example.  A base64 is an encoding mechanism that uses 64 characters, but it takes more space to save data [then binary] but it gets past hive/steem's limitations.  After the encoded data is save, the data has to be decoded to return it to its original state.  There may be additional steps depending on what the creators intent is.

There are still other limitations. The maximum size of a steem post is 64k (64*1024=65536).  but due to using base 64k encoding, it shrinks it down to about 48k.  Custom jsons were limited to 2k, but they may be up to 8k now.  custom jsons won't appear on a steemit type frontend dapp, but takes many times longer to store.  A really large post on a front end dapp could end up being pruned for size, but there are ways around this limitation for dapps.

There are images, books, even archived websites on the hive block chain.

  When the Justin Sun steem witnesses talk about limiting the number of post that can be made a day, or saying only steem should control dapps, in their effort to purge it of voices it doesn't like-they are shooting themselves in the foot.
👍  
👎  
properties (23)
authorfirstamendment
permlinkre-metzli-qaq51z
categoryblockpics
json_metadata{"tags":["blockpics"],"app":"peakd/2020.05.4"}
created2020-05-22 08:32:45
last_update2020-05-22 08:32:45
depth2
children1
last_payout2020-05-29 08:32:45
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_length1,961
author_reputation6,283,118,312,070
root_title"Testing base64 encoded images on the blockchain. Please disregard."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,518,541
net_rshares-1,236,291,521,875
author_curate_reward""
vote details (2)
@metzli ·
I am copying and pasting this so I can read it a few times. 

Thank you for taking the time to explain. 
properties (22)
authormetzli
permlinkre-firstamendment-qarix6
categoryblockpics
json_metadata{"tags":["blockpics"],"app":"peakd/2020.05.4"}
created2020-05-23 02:29:33
last_update2020-05-23 02:29:33
depth3
children0
last_payout2020-05-30 02:29:33
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_length104
author_reputation60,250,343,088,505
root_title"Testing base64 encoded images on the blockchain. Please disregard."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,532,987
net_rshares0
@firstamendment ·
  Although to prevent cp from getting on the chain, we (not nova) limit the size of the image store to the chain.  Here is an example of an archived website on steem. The parsing isn't perfect yet, as somethings may still load from nature.  Really waiting for the front end guy and a new chainid.  

https://steemsafe.net/php/loadfile.php?fileid=620&index=0
properties (22)
authorfirstamendment
permlinkre-metzli-qaq6pz
categoryblockpics
json_metadata{"tags":["blockpics"],"app":"peakd/2020.05.4"}
created2020-05-22 09:08:45
last_update2020-05-22 09:08:45
depth2
children0
last_payout2020-05-29 09:08:45
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_length357
author_reputation6,283,118,312,070
root_title"Testing base64 encoded images on the blockchain. Please disregard."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,518,936
net_rshares0
@novacadian ·
You seem to have found it, yet for others who may follow the link is...

https://hive.blog/base64/@novacadian/base64-encryption-explained
properties (22)
authornovacadian
permlinkqapbaq
categoryblockpics
json_metadata{"links":["https://hive.blog/base64/@novacadian/base64-encryption-explained"],"app":"hiveblog/0.1"}
created2020-05-21 21:49:39
last_update2020-05-21 21:49:39
depth2
children0
last_payout2020-05-28 21:49: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_length137
author_reputation9,215,822,138,395
root_title"Testing base64 encoded images on the blockchain. Please disregard."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,511,513
net_rshares0