create account

RE: steemd produces incorrect JSON. No, really, no foolin, you can verify this for yourself. UPDATE: This is a piston-lib error by xeroc

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

Viewing a response to: @l0k1/steemd-produces-incorrect-json-no-really-no-foolin-you-can-verify-this-for-yourself

· @xeroc · (edited)
$2.91
> This has turned out to be an error in piston-lib, which I now am not using anymore, because it's broken and useless. @xeroc

How about you stop using `pprint` and instead use `print(json.dumps(x))`

All the data that is obtained through the API is python `dict`. If you don't convert it to JSON properly, it's not the error of the library, but an error in your code.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorxeroc
permlinkre-l0k1-steemd-produces-incorrect-json-no-really-no-foolin-you-can-verify-this-for-yourself-20170403t140548103z
categorydawn-network
json_metadata{"tags":["dawn-network"],"users":["xeroc"],"app":"steemit/0.1"}
created2017-04-03 14:05:48
last_update2017-04-03 14:07:36
depth1
children3
last_payout2017-04-10 14:05:48
cashout_time1969-12-31 23:59:59
total_payout_value2.793 HBD
curator_payout_value0.114 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length368
author_reputation118,819,064,085,695
root_title"steemd produces incorrect JSON. No, really, no foolin, you can verify this for yourself. UPDATE: This is a piston-lib error"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,931,488
net_rshares16,385,110,918,132
author_curate_reward""
vote details (36)
@l0k1 · (edited)
You are right, but other factors are bigger in my decision :) Like the ongoing issue of the unjust amplification of whale power, of the impossibility to get any of the issues that are leading to user attrition, the idiotic inflation policy, which I understand is thought to be necessary because of the forum system, which I think is the cart before the horse because reduced supply allows a more stable price. I mean, it would work, **if** the economy was growing at 100% or 9.5% per year, but the reality is the economy is shrinking so even 2% is too high. And because they invested so much in building a monolithic chain, within 5 years the `block_log` file will be over 200Gb in size. It's time to start again with a different model, and with people who don't secretly value more their bank balance than a growing community and internal economy. I am not covering the whole topic at all but there's too much and I have better things to do than explain what should be obvious.

Oh, btw, I used this:

> variable = json.loads (x)
> print (variable)

I may have used simplejson, in fact, but neither explains why the output came out in python string convention instead of json.

Good luck with your work, anyway.  I just need to move to a more supportive environment where I can learn instead of spending so much time with such fractious people. (not you, of course).
properties (22)
authorl0k1
permlinkre-xeroc-re-l0k1-steemd-produces-incorrect-json-no-really-no-foolin-you-can-verify-this-for-yourself-20170403t203619071z
categorydawn-network
json_metadata{"tags":["dawn-network"],"app":"steemit/0.1"}
created2017-04-03 20:36:24
last_update2017-04-03 20:41:42
depth2
children1
last_payout2017-04-10 20:36:24
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,367
author_reputation94,800,257,230,993
root_title"steemd produces incorrect JSON. No, really, no foolin, you can verify this for yourself. UPDATE: This is a piston-lib error"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,934,058
net_rshares0
@abit ·
$0.31
Then please change the title to avoid misleading others.
👍  
properties (23)
authorabit
permlinkre-l0k1-re-xeroc-re-l0k1-steemd-produces-incorrect-json-no-really-no-foolin-you-can-verify-this-for-yourself-20170404t203249497z
categorydawn-network
json_metadata{"tags":["dawn-network"],"app":"steemit/0.1"}
created2017-04-04 20:34:24
last_update2017-04-04 20:34:24
depth3
children0
last_payout2017-04-11 20:34:24
cashout_time1969-12-31 23:59:59
total_payout_value0.232 HBD
curator_payout_value0.077 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation141,171,499,037,785
root_title"steemd produces incorrect JSON. No, really, no foolin, you can verify this for yourself. UPDATE: This is a piston-lib error"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,941,387
net_rshares3,963,974,369,082
author_curate_reward""
vote details (1)
@pharesim ·
$0.27
omg lol.
STEEM ERROR, steem is shit!
Oh no, piston error. Fucking dirt!
Erm...my own error? Can happen!
👍  
properties (23)
authorpharesim
permlinkre-xeroc-re-l0k1-steemd-produces-incorrect-json-no-really-no-foolin-you-can-verify-this-for-yourself-20170403t141853981z
categorydawn-network
json_metadata{"tags":["dawn-network"],"app":"steemit/0.1"}
created2017-04-03 14:18:54
last_update2017-04-03 14:18:54
depth2
children0
last_payout2017-04-10 14:18:54
cashout_time1969-12-31 23:59:59
total_payout_value0.199 HBD
curator_payout_value0.066 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length103
author_reputation239,450,405,799,183
root_title"steemd produces incorrect JSON. No, really, no foolin, you can verify this for yourself. UPDATE: This is a piston-lib error"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,931,569
net_rshares3,884,694,881,700
author_curate_reward""
vote details (1)