Learning to Use Terminal / GitHub / Ruby!
Learning to Use Terminal / GitHub / Ruby!
My journey to creating @oddbot !
Hello friends! I recently decided I want to learn how to create a bidding bot on Steemit that would be in the lineage of Dr. Otto (the basis for @booster, @bellyrub, @discordia, & @lovejuice.) with a few added features. Dr. Otto was created by the gifted programmer @inertia. The name of the variation I am creating is @oddbot and it will have an interesting personality that results in it making quirky decisions on what to do with the SBD that it receives.
For example, it may decide to convert the SBD it receives into STEEM and power it up to the people that use it. Or, it may decide to randomly select one person that used it in the past 24 hours and award them the full amount of SBD. Or, it may trade for SBD and power it up to @oddbot. Or, it may use the SBD to purchase SP delegation from @minnowbooster. You get the idea, there will be many different creative actions that it may perform with the SBD it receives :) It will make posts declaring its decision at the end of a certain time period, maybe every 48 or 72 hours.
It will be a bidding bot for minnows, because it will only have a few thousand SP. It will hopefully also have unusual and creative messages that it leaves as its comments for using its service. As well, it will curate some of the posts upvoted with the service manually by resteeming it and/or making posts promoting it. The focus will be helping minnows that make great original content to get noticed! So, much of what is put into it will go back to those who engage with it. Its SP will most likely be kept low so that it's not useful to dolphins and whales, only to minnows. Over time, it may evolve and this may change, however, its focus will always be creativity, and highlighting excellent original content.
There's just one little problem...
Scripts... and more scripts..!
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ rbenv install 2.0.0-p247
gem 'radiator', github: 'inertia186/radiator'
$ bundle install
require 'radiator'
api = Radiator::Api.new
response = api.get_dynamic_global_properties
response.result.virtual_supply
=> "135377049.603 STEEM"
I haven't done any programming in 10+ years...
Excepting markdown and html, I haven't done any programming in a loooong time. And none of it was ever on a Mac, which I now use. When I was a kid I learned Basic, Visual Basic, Flash, & Html on Windows. So now it's time to start from "square one" learning basic commands in Terminal, Github and Ruby. Then I need to understand the basics of Radiator (API client that accesses the STEEM blockchain also invented by @inertia) and understand the basics of how the Dr. Otto template works.
After that will come the more difficult part because I need to find out how to write the code (in Ruby) to create different options for @oddbot 's actions at the end of each specified period. Honestly, it seems a little overly ambitious, but that leads me to the next point:
I welcome any help / advise on the best way to go about it!
I definitely welcome any links to tutorials, articles, etc. that are pertinent to learning to use Terminal, GitHub, & Ruby. I also would love some contacts experienced in programming in Ruby that I could toss ideas back and forth with. In fact, let's be honest, I'm going to NEED help to get this done. I'm a complete novice at this point, so I expect the learning curve to be steep. @oddbot is an experiment and an excuse to increase my programming skills after a long hiatus. It's also an idea that I believe could benefit the Steemit community, minnows in particular! The quicker it gets functioning, the quicker we can hopefully enrich the Steemit community with a bot that has quite a bit of spice to it ;)
I shall be far more clever than even @banjo!
How do you know I am not an excellent programmer?
Aw what a great idea, sounds like this bot will do many things. He sounds so sophisticated he is kinda scarying me into believing he will be some kind of A.I. force of nature ッahah:)
I come across so many very smart people on this platform who want to improve it all the time. Exciting times for Steemit.
Lol... he may be eccentric but not scary. He's a gentlebot, not to be confused with @gentlebot of course. Nor that scoundrel @banjo, who is never up to any good!
No I didn't. But yes, to date, it is accepted that the sea is of the colour blue, generally.
lol@banjo 's reply ヽ(´▽`)ノ
This is exciting so, I am kind of addicted to these bots. It must be the gambler in me. I get too happy waiting to see what percentage upvote I am going to get ahaha!
I will keep an eye out for his progress ;) I am NO WAY techy, so I will just have to wait and see haha
I love it and I can't wait. Soooo excited for the great works it will doo in the Steemit Community. Can you make it with a spoonful of sweetness and lovability like the @iamgrootbot which I have fallen in love with. Much success @d-pend I now you will get the help you need to figure it all out. keep us updated on your progress.
As usual, I am not tech savvy but I will resteem this to spread the word. I have to give you a lot of credit for taking on such an awesome endeavor to help minnows. Karma will send you positive energy for your thoughtfulness. Good luck and I wish you all the success!
Thank you @cabbagepatch. I may be a bit overly ambitious with some of the things I want @oddbot to be able to do. But I think if I apply myself and study the @drotto code once I get the basics of Ruby down, it will eventually click into place, especially if any able programmers are willing to help me out :)
I'm in a similar boat. Like almost Identical. If I figure it all out I'll shoot you a message with a step by step guide. Best of luck
Right on! All the best right back atcha...
Nice! Look forward to seeing the bot :D
Thanks, it might be a while XD
This post received a 3.2% upvote from @randowhale thanks to @d-pend! For more information, click here!
@d-pend got you a $1.6 @minnowbooster upgoat, nice! (Image: pixabay.com)
Want a boost? Click here to read more!
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by d-pend from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, and someguy123. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you like what we're doing please upvote this comment so we can continue to build the community account that's supporting all members.
I am Groot! :D
I am D Pend! :o)