create account

RE: [New Features on steemr] supports AppBase API and plots active hour diagrams! by justyy

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

Viewing a response to: @dapeng/new-features-on-steemr-supports-appbase-api-and-plots-active-hour-diagrams

· @justyy · (edited)
$3.29
Thank you for your contribution.

- I will not suggest adding code that use steemdata because it just doesn't work, I don't think dead code should be in the code repro for any reasons.
- While you start building the library, I would suggest you should also start adding unit tests, which gives the confidence while you make changes.
- the code is not very much commented and I have seen the commented-out code as well.
- You shouldn't set default parameters e.g. something like id='dapeng', if the id is not given, you should expect the function to throw exception
- the database URI should be defined as a constant but should not appear in your code base more than once.
- Your hourrose method, as you said you make some changes from the original copy, it will be better to provide the reference to the original code. And BTW, there are more than 400 lines of code for this function, which is un-maintainable.

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2333223).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
👍  , , , , , , , ,
properties (23)
authorjustyy
permlinkre-dapeng-new-features-on-steemr-supports-appbase-api-and-plots-active-hour-diagrams-20180620t135957681z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/2333223","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2018-06-20 13:59:57
last_update2018-06-20 20:28:03
depth1
children4
last_payout2018-06-27 13:59:57
cashout_time1969-12-31 23:59:59
total_payout_value2.552 HBD
curator_payout_value0.739 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,401
author_reputation280,616,224,641,976
root_title"[New Features on steemr] supports AppBase API and plots active hour diagrams!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,497,607
net_rshares1,594,791,767,311
author_curate_reward""
vote details (9)
@dapeng ·
$0.09
These are very useful suggestions for a non-professional programmer like me. Many thanks.

Regarding SteemData, I wish it could come back someday, as it is open source and anyone might take it over. I would leave the option there (perhaps commented out) for future use. It is just ten lines.
👍  ,
properties (23)
authordapeng
permlinkre-justyy-re-dapeng-new-features-on-steemr-supports-appbase-api-and-plots-active-hour-diagrams-20180620t143031082z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-06-20 14:30:30
last_update2018-06-20 14:30:30
depth2
children2
last_payout2018-06-27 14:30:30
cashout_time1969-12-31 23:59:59
total_payout_value0.068 HBD
curator_payout_value0.020 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length291
author_reputation64,632,001,917,831
root_title"[New Features on steemr] supports AppBase API and plots active hour diagrams!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,501,738
net_rshares43,491,758,124
author_curate_reward""
vote details (2)
@ackza · (edited)
$0.09
Ask @surfyogi if he can bring back a WORKING version of steemdata or something like it. 

hey nice post! I have to admit I can'[t understand it but when i saw this post in a list of non technical posts on #promo-steem trending i realized i must upvote AND resteem this post to help promotoe technical steem posts. They help stimulate interest in programming which we all need to learn more about, or at least data

i mean what is an R environment?  What is CRAN? What are those crazy maps u are showing that look like radar? Whats going on ?
👍  
properties (23)
authorackza
permlinkre-dapeng-re-justyy-re-dapeng-new-features-on-steemr-supports-appbase-api-and-plots-active-hour-diagrams-20180624t035223042z
categoryutopian-io
json_metadata{"tags":["utopian-io","promo-steem"],"users":["surfyogi"],"app":"steemit/0.1"}
created2018-06-24 03:52:21
last_update2018-06-24 03:53:03
depth3
children1
last_payout2018-07-01 03:52:21
cashout_time1969-12-31 23:59:59
total_payout_value0.071 HBD
curator_payout_value0.023 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length541
author_reputation287,729,820,746,520
root_title"[New Features on steemr] supports AppBase API and plots active hour diagrams!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,993,446
net_rshares48,283,036,627
author_curate_reward""
vote details (1)
@dapeng ·
Thank you very much for your kind support!

R is a programming language and free software environment for statistical computing and graphics. CRAN is the abbreviation for Comprehensive R Archive Network. More details can be found on [Wikipedia](https://en.wikipedia.org/wiki/R_(programming_language)). The radar map is a 24-hour clock, showing the active hours of a Steemian: the greater the radius is, the more posts the steemian has.

A tutorial to steemr might be useful and helpful. I will write one as soon as I finish the development of the main functions in steemr.
properties (22)
authordapeng
permlinkre-ackza-re-dapeng-re-justyy-re-dapeng-new-features-on-steemr-supports-appbase-api-and-plots-active-hour-diagrams-20180625t073335082z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://en.wikipedia.org/wiki/R_(programming_language)"],"app":"steemit/0.1"}
created2018-06-25 07:33:33
last_update2018-06-25 07:33:33
depth4
children0
last_payout2018-07-02 07:33: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_length572
author_reputation64,632,001,917,831
root_title"[New Features on steemr] supports AppBase API and plots active hour diagrams!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id62,155,883
net_rshares0
@utopian-io ·
Hey @justyy
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.

**Contributing on Utopian**
Learn how to contribute on <a href="https://join.utopian.io">our website</a>.

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for Utopian Witness!</a>
properties (22)
authorutopian-io
permlink20180620t153927457z
categoryutopian-io
json_metadata{"tags":["utopian.tip"],"app":"utopian-io"}
created2018-06-20 15:39:27
last_update2018-06-20 15:39:27
depth2
children0
last_payout2018-06-27 15:39:27
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_length406
author_reputation152,955,367,999,756
root_title"[New Features on steemr] supports AppBase API and plots active hour diagrams!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,510,719
net_rshares0