SteemMakers' bot updated

in #utopian-io7 years ago (edited)

Recently we did a first real world test with the steemmakers backend. As an experienced developer I always hope for as little issues as possible and if there are any, please let them be simple ones.

SteemMakers

SteemMakers is a community which focuses on uniting, helping and rewarding makers and DIYers on the Steem blockchain. You can find more info about us and how to contact us on our website www.steemmakers.com.

SQL and bot issue details

There was one minor issue with the stored procedure that is used to add new entries to the database. The thing is that every programming language has it's own quirks and the more languages one works with at the same time, the more stupid mistakes like these are made. These days at work is hectic and I'm working with C, C++ and C# on a daily basis. For steemmakers I'm using javascript, php and SQL. It was just a matter of time to make silly mistake. Nothing serious so that one got fixed quickly

With the first test we had multiple items that needed to be handled by the bot and that didn't end well. The first vote went fine but then the logic collapsed. Luckily I remembered that once I was voting two comments in a row on steemit.com and I got a message that sequential comments need a 20s interval. I checked what the required intervals are and the seem to be 3s for voting and 20s for commenting. As mentioned before every language has it quirks and callback hell is one of the many javascript quirks. There's even a site dedicated to it: http://callbackhell.com. It took me a while to figure it out but in the end I got it fixed.

Next steps

Next up is adding a paginator to the site so the user can see more entries. And that's about it for the very first iteration. Then we should finish the first guidelines and start curating.

Help us out

Anyone interested is free to join and help out. We're especially looking for help on the guidelines and for curators. The code is available on Github, have a look and join us on Discord!

Utopian proof of work: GitHub commit 1, commit 2



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

Please tell more about what are your future aims of this project. It will be great if you make a roadmap for your project.

You can contact us on Discord.
[utopian-moderator]

That's one of the points on the todo-list ;-)

Hey @ms10398, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Hey @jefpatat I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.031
BTC 59351.18
ETH 2529.39
USDT 1.00
SBD 2.42