Proof of Brian hits another milestone

avatar

About five months ago I created a Hive bot called @proofofbrian. All it does is notify people if they mis-typed the #proofofbrain tag. It was really an exercise for me in writing something like that. All it does is leave a comment and a vote. I do include images of some famous Brians from Wikipedia to make it more fun. People seem to appreciate what it does and I think it gets a few laughs.

I am a bit wary in case I get caught mis-typing the tag too. At least peakd suggests some tags so I can just select it.

This week it notified the 300th person! That is a fair chunk of the active Hivers and some very established people got caught out. It only notifies each person once to avoid spamming by keeping a list of who was told. That is how I know how many comments it left. Some people even give the comments a vote, but it is just a tiny amount and it was not intended to earn for me.

Replies

This would not be possible without the beem Python library that gives you all the functions you need to work with the Hive blockchain. I just run the bot when I am using my home PC, so it will miss some cases. I have thought of running it on a Raspberry Pi, but beem was crashing. I need to look into that again.

You can see my code on Github. It is just a few lines plus some data for the image files and the tags it looks for. There may be some variants I have missed, but I made the list based on some queries for what was actually being used.

I ought to think about other apps I could write. I do have some scripts I use to find people for the #BritList. We have access to a huge amount of data on this blockchain, so there is lots of scope for analysing it. If people have suggestions of things that could be done then I may attempt to code them. It is all good programming practice for me.

Hive five!



0
0
0.000
27 comments
avatar

That is quite funny but an easy mistake to make when typing tags quickly.

Thanks for sharing the code too.

0
0
0.000
avatar

The code is simple, but maybe it can help others create their own bots. We don't want lots of spam, but they can have a purpose.

!BEER

0
0
0.000
avatar

I know a bit of Python so was going to have a dabble at some point. So your script will be useful to get me started. Cheers !wine

0
0
0.000
avatar

Interesting as I had no idea this was even possible in Hive. How wrong was I!!

0
0
0.000
avatar

Hive is an open platform with all the data available. I might not know how to access it directly, but this library makes it simple.

!BEER

0
0
0.000
avatar

That's a hilarious bot. Very clever. I hate it when I mis-spell a tag. It happens once in a while. I usually catch it way too late to make a meaningful goal change.

300 people is a lot. Clearly it was a good idea. 👍

0
0
0.000
avatar

It finds a few each day usually. I try to check my tags before I publish, but we all make mistakes.

!BEER

0
0
0.000
avatar

Congratulations @steevc! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You got more than 58500 replies.
Your next target is to reach 59000 replies.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Introducing NFT for Peace
0
0
0.000
avatar

I ought to think about other apps I could write.

You definitely should.

0
0
0.000
avatar

Ha ha I got this bot a few times, I'm so good at rushing my tags and not checking my spelling lol, it's very helpful @steevc

0
0
0.000
avatar

You should only get one comment from the bot as once you are on the list you do not get notified again. It is really easy to get tags wrong.

!BEER

0
0
0.000
avatar

Congrats on the milestone. That is really cool. I think I have gotten hit with the bot once. I think my typo was different though. I think I left out the r in proof or something like that.

0
0
0.000
avatar

Your sports account got it. I search for various typos, but I will still miss some. You can see them in the source code.

0
0
0.000
avatar

I though proof of brain went the way of the dodo, but proof of brian has a lot of lol potential :)

0
0
0.000
avatar

I still get POB tokens, but there is none for Brian. It's just for the LOLs.

0
0
0.000
avatar

everything I do on Hive is for the lols :P

0
0
0.000
avatar

That is a great use for a bot. Not spammy at all and very helpful.

You can see my code on Github. It is just a few lines plus some data

Maybe I'll try it with some other tags? 👨‍💻👍

0
0
0.000
avatar

You are a very good and valuable user to the whole HIVE community. Thank you for your contribution to this community.

0
0
0.000