Steem Activity Update: New way to calculate the best hour to publish

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@jga·
0.000 HBD
Steem Activity Update: New way to calculate the best hour to publish
<center>![steem-activity-update.png](https://steemitimages.com/DQmcyr8ySfDcDYmopwjweGjL8P3viMouHpkNRs7cj3yzmx3/steem-activity-update.png)</center>

Several months have passed since [I published this tool](https://steemit.com/steemit/@jga/steem-activity-explore-what-is-the-best-time-to-publish) and the feedback I have received has been amazing. And I am pleased that many people use it and it helps them.

**What is Steem Activity?** A common problem among Steemit users (and especially the minnows) is that we post at times where our followers may not be online. Steem activity is a tool that shows you the voting activity of your followers (last 4 weeks) in order to know the best hours to publish. In this order, there are more possibilities to be visible and be voted.

<center>**[Enter to the webpage](https://joticajulian.github.io/steem-activity/index.html?lang=en&account=jga)**
</center>
<center>**[Enter the repository on GitHub](https://github.com/joticajulian/steem-activity/)**</center>

# Improvements
Below I describe the improvements made to the webpage.

### Calculation of SBD instead of votes
Before, Steem Activity made bar graphs only by counting the number of votes deposited in each hour of the day. The problem with this calculation is that there was no difference between a minnow and a whale: If a minnow voted there was a +1 like a +1 of a whale. Although this is an incentive that the best moments are those where more people are connected and active, the truth is that it is more important to give weight to the votes that have more value. 

In this order, now the tool calculates the total amount of SBD that the followers give voting and it shows it distributed in hours and days of the week.

<center>![steem-activity sbd intead votes.png](https://steemitimages.com/DQmUyXPGExdB3e3dmBFFwECKTHT6jJPhFSaBmu5k51KXEea/steem-activity%20sbd%20intead%20votes.png)</center>

### Select the number of weeks
Now you can select the number of weeks that you want to compute. It has the last week by default, and you can select up to 4 weeks.

<center>![steem-activity last weeks.jpg](https://steemitimages.com/DQmcb935akdH9aoaYdQTG33TT2dV9aajAr8nXTBGn3FSRMj/steem-activity%20last%20weeks.jpg)</center>

### Use of space
The previous page did not take advantage of the spaces. The graphics were small and there were many blank spaces. Now the graphs are distributed in 2 lines, they are bigger and closer.

### Bugs and fixes
* The official API of steemit [suffered some changes](https://steemit.com/steemitdev/@steemitdev/steem-api-endpoint-change-the-last-date-to-update-is-here-january-6-2018) and we needed to reconfigure this connection.
* Handling of errors when requesting data to the blockchain.
* Sometimes there was repeated lines when the best 4 moments were showed. Now they are unique and well sorted.

### Translation
The page support 3 languages: English, French (special thanks to @roxane) and Spanish.

## Thanks for your support
I would like to thank everyone that gave me a feedback about the tool and also the people who have mentioned it in their posts:
* @jerrybanfield - [What is the best time to post on steemit?](https://steemit.com/steemit/@jerrybanfield/what-is-the-best-time-to-post-on-steemit)
* @roxane - [Comprende Steem #15](https://steemit.com/fr/@roxane/comprendre-steem-15-si-tu-veux-enfin-savoir-quand-poster-tes-articles-pour-avoir-un-max-de-visibilite-ceci-est-pour-toi)
* @bitfairy - [Some useful steemit tools](https://steemit.com/tutorial/@bitfairy/some-useful-steemit-tools)
* @maryfavour - [Why I post every other day on my personal steemit blog](https://steemit.com/steemit/@maryfavour/why-i-post-every-other-day-on-my-personal-steemit-blog-and-a-tentative-publishing-schedule)
* @caladan - [Useful tools for newbies on steemit](https://steemit.com/steemit/@caladan/useful-tool-for-newbies-on-steemit)
* @abelinche - [Conoce las aplicaciones y herramientas de steem](https://steemit.com/spanish/@abelinche/conoce-las-aplicaciones-y-herramientas-de-steem)
* @thewinter - [Steemit, herramientas útiles](https://steemit.com/streemit/@thewinter/steemit-herramientas-utiles)
* @ana-maria - [re Steemit Tips #3 - what is the best time for you to publish](https://steemit.com/steemit/@ana-maria/re-evernoticethat-steemit-tips-3-what-is-the-best-time-for-you-to-publish-your-blog-posts-20171112t150411209z)
* @nirgf - [What are the best times to post on steemit](https://steemit.com/steemit/@nirgf/what-are-the-best-times-to-post-on-steemit)

## Commits
These are the link to relevant commits:

* [Counting votes by SBD](https://github.com/joticajulian/steem-activity/commit/f444cc4535cbc5f71ad122bb088975c9a9b7de6d)
* [Posibility to select the number of weeks](https://github.com/joticajulian/steem-activity/commit/d1f26cca38f2e1be92c3b041ed968c3ad8b587c9)
* [Better use of space](https://github.com/joticajulian/steem-activity/commit/5f3a8d888b0b21571d605cd7289ca4dc9f86eb04)
* [Fixed the calculation of 4 best moments](https://github.com/joticajulian/steem-activity/commit/05da21e8f6b9bfa63faa098714b0c6f093ac3b98)
* [Bug solved: Infinite loop after an error](https://github.com/joticajulian/steem-activity/commit/a63c3e0617856a2e2c2a5fa9fa2ed916894c3eec)
* [From steemd to api](https://github.com/joticajulian/steem-activity/commit/d172a99bfc9feb5c4c56d151bb967086f2329fad)
* Translations [1](https://github.com/joticajulian/steem-activity/commit/29f10144a5b9f3c6ea6eab969298c7731a4de852), [2](https://github.com/joticajulian/steem-activity/commit/b08fae3ac23920b3fa77a785173558cba152d93e).

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@jga/steem-activity-update-new-way-to-calculate-the-best-hour-to-publish">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,