____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Fortune Cookie HIVE

BY: @firedream | CREATED: Nov. 27, 2021, 7:55 p.m. | VOTES: 36 | PAYOUT: $37.91 | [ VOTE ]

[IMAGE: https://images.hive.blog/DQmdARtpURQv5GQYN35vhNZ7TzeU5ttNqRmbqdHwHDHsQ2H/image.png]

Who doesn't like fortune cookies? This post is in fact linked to a small application in node-js At any upvote, it will send a comment to this post - with your name mentioned- some wise words as from a fortune cookie.

It streams the HIVE chain in a server, checks for the votes on this post and mentiones you with some small nice words. I made it opensource, so anybody interested can check the code at : https://github.com/firedreamgames/hive_cookie

Cookies for upvotes :)

Stay Positive

FD ps: thanks to @deathwing for unstucking me in discord!

Edit:

Learning while doing - it seems I have to solve the below kink.

RPCError: Assert Exception:( _now - auth.last_post ) >= HIVE_MIN_REPLY_INTERVAL_HF20: You may only comment once every 3 seconds.

Kink #2: When the server crash, the streamer stops and fails to send the cookies for upvotes.

Solution :

Not too difficult, I am on it!

Edit#2:
Messed up a bit but solved it :) Now it is working fine.

TAGS: [ #hive ] [ #nodejs ] [ #hivejs ] [ #programming ] [ #dev ] [ #gaming ]

Replies

@firedream | Nov. 27, 2021, 8:02 p.m. | Votes: 0 | [ VOTE ]

Dear @firedream
Thank you for your %100 upvote
Here is your fortune cookie below

Sometimes traveling to new places leads to great transformation.

@firedream | Nov. 27, 2021, 11:33 p.m. | Votes: 0 | [ VOTE ]

Dear @spectrumecons
Thank you for your %15 upvote
Here is your fortune cookie below

An inch of time is an inch of gold.

@firedream | Nov. 27, 2021, 11:33 p.m. | Votes: 0 | [ VOTE ]

Dear @captainhive
Thank you for your %15 upvote
Here is your fortune cookie below

Everybody is ignorant -- only on different subjects.

@firedream | Nov. 28, 2021, 3:19 a.m. | Votes: 0 | [ VOTE ]

Dear @vegoutt-travel
Thank you for your %15 upvote
Here is your fortune cookie below

Bloom where you are planted.

@firedream | Nov. 28, 2021, 5:48 a.m. | Votes: 0 | [ VOTE ]

Dear @tipy
Thank you for your %100 upvote
Here is your fortune cookie below

Something's rotten in the state of Denmark. -- Shakespeare

@firedream | Nov. 28, 2021, 3:45 p.m. | Votes: 0 | [ VOTE ]

Dear @pishio
Thank you for your %16.9 upvote
Here is your fortune cookie below

Let him choose out of my files, his projects to accomplish. -- Shakespeare, "Coriolanus"

@firedream | Nov. 28, 2021, 3:47 p.m. | Votes: 0 | [ VOTE ]

Dear @akhyar23
Thank you for your %100 upvote
Here is your fortune cookie below

Be different: conform.

@firedream | Nov. 28, 2021, 4:08 p.m. | Votes: 0 | [ VOTE ]

Dear @cvrle
Thank you for your %100 upvote
Here is your fortune cookie below

It's a great weekend to watch a movie.

@firedream | Nov. 28, 2021, 4:35 p.m. | Votes: 0 | [ VOTE ]

Dear @holdonla
Thank you for your %100 upvote
Here is your fortune cookie below

Clear your mental, emotional, and physical space and you will see.

@firedream | Nov. 28, 2021, 6:32 p.m. | Votes: 0 | [ VOTE ]

Dear @mukna996
Thank you for your %100 upvote
Here is your fortune cookie below

You will gain admiration from your peers.

@firedream | Nov. 28, 2021, 6:54 p.m. | Votes: 0 | [ VOTE ]

Dear @trollvictor
Thank you for your %100 upvote
Here is your fortune cookie below

There is a true and sincere friendship between you and your friends.

@firedream | Nov. 28, 2021, 7:34 p.m. | Votes: 0 | [ VOTE ]

Dear @fw206
Thank you for your %9.6 upvote
Here is your fortune cookie below

It could be better, but it's good enough.

@firedream | Nov. 28, 2021, 9:45 p.m. | Votes: 0 | [ VOTE ]

Dear @kaywoods
Thank you for your %4 upvote
Here is your fortune cookie below

You have the power to write your own fortune.

@firedream | Nov. 28, 2021, 9:50 p.m. | Votes: 0 | [ VOTE ]

Dear @magnauseum
Thank you for your %29 upvote
Here is your fortune cookie below

Action speaks nothing, without the motive.

@magnauseum | Nov. 28, 2021, 9:55 p.m. | Votes: 1 | [ VOTE ]

Wisdom. πŸ™πŸ’―

@firedream | Nov. 29, 2021, 7 a.m. | Votes: 0 | [ VOTE ]

thank you @magnauseum

@firedream | Nov. 29, 2021, 1:02 a.m. | Votes: 0 | [ VOTE ]

Dear @mrhuman88
Thank you for your %50 upvote
Here is your fortune cookie below

In the arena of human life, the honors and rewards fall to those who show their good qualities in action.

@trollvictor | Nov. 29, 2021, 1:54 a.m. | Votes: 1 | [ VOTE ]

It,s very cool

@firedream | Nov. 29, 2021, 7 a.m. | Votes: 0 | [ VOTE ]

thank you @trollvictor :) solving the problems on the way.

@firedream | Nov. 29, 2021, 4:56 a.m. | Votes: 0 | [ VOTE ]

Dear @gigihii03
Thank you for your %100 upvote
Here is your fortune cookie below

Respect yourself and others will respect you.

@firedream | Nov. 29, 2021, 6:07 a.m. | Votes: 0 | [ VOTE ]

Dear @investegg
Thank you for your %1330230045.99 upvote
Here is your fortune cookie below

Q: Why haven't you graduated yet? A: Well, Dad, I could have finished years ago, but I wanted my dissertation to rhyme.

@firedream | Nov. 29, 2021, 6:07 a.m. | Votes: 0 | [ VOTE ]

Dear @corporateay
Thank you for your %7841517.84 upvote
Here is your fortune cookie below

AWAKE! FEAR! FIRE! FOES! AWAKE! FEAR! FIRE! FOES! AWAKE! AWAKE! -- J. R. R. Tolkien

@firedream | Nov. 29, 2021, 6:09 a.m. | Votes: 0 | [ VOTE ]

Dear @rsntpl
Thank you for your %6865903.99 upvote
Here is your fortune cookie below

A personal relationship will become more fulfilling.

@firedream | Nov. 29, 2021, 6:09 a.m. | Votes: 0 | [ VOTE ]

Dear @r351574nc3
Thank you for your %91646412.97 upvote
Here is your fortune cookie below

Future looks spotty. You will spill soup in late evening.

@perpetuator | Dec. 5, 2021, 4:19 a.m. | Votes: 4 | [ VOTE ]
@firedream | Nov. 29, 2021, 6:09 a.m. | Votes: 0 | [ VOTE ]

Dear @thedailysneak
Thank you for your %37688042.08 upvote
Here is your fortune cookie below

Good day to deal with people in high places; particularly lonely stewardesses.

@perpetuator | Dec. 1, 2021, 3:04 a.m. | Votes: 1 | [ VOTE ]

봇에 버그가 μžˆλŠ” 것 κ°™μŠ΅λ‹ˆλ‹€.

@firedream | Dec. 1, 2021, 3:13 a.m. | Votes: 0 | [ VOTE ]

λ‚˜λŠ” 그것을 κ³ μ³€λ‹€ :)
This happens when you get "voter,result[i].weight" instead of "voter,result[i].percent".
Good to hear from you!

@perpetuator | Dec. 5, 2021, 4:55 p.m. | Votes: 4 | [ VOTE ]
@firedream | Dec. 6, 2021, 3:39 a.m. | Votes: 0 | [ VOTE ]

ha ha :) That seems to be me!

@firedream | Nov. 29, 2021, 6:56 a.m. | Votes: 0 | [ VOTE ]

Dear @onealfa
Thank you for your %100 upvote
Here is your fortune cookie below

"Life, loathe it or ignore it, you can't like it." -- Marvin, "Hitchhiker's Guide to the Galaxy"

@firedream | Nov. 29, 2021, 6:56 a.m. | Votes: 0 | [ VOTE ]

Dear @eturnerx
Thank you for your %6.8 upvote
Here is your fortune cookie below

People find it difficult to resist your persuasive manner.

@firedream | Nov. 29, 2021, 6:56 a.m. | Votes: 0 | [ VOTE ]

Dear @sneakyninja
Thank you for your %5.06 upvote
Here is your fortune cookie below

You will soon meet a person who will play an important role in your life.

@firedream | Nov. 29, 2021, 6:56 a.m. | Votes: 0 | [ VOTE ]

Dear @salty-mcgriddles
Thank you for your %15 upvote
Here is your fortune cookie below

Better to face danger than be always in fear.

@firedream | Nov. 29, 2021, 6:56 a.m. | Votes: 0 | [ VOTE ]

Dear @exifr
Thank you for your %15 upvote
Here is your fortune cookie below

The new moon will bring pleasant surprises.

@firedream | Nov. 29, 2021, 6:57 a.m. | Votes: 0 | [ VOTE ]

Dear @exifr0
Thank you for your %15 upvote
Here is your fortune cookie below

Your domestic life may be harmonious.

@firedream | Nov. 29, 2021, 6:57 a.m. | Votes: 1 | [ VOTE ]

Dear @malihasrk
Thank you for your %50 upvote
Here is your fortune cookie below

You believe in the goodness of mankind.

@firedream | Nov. 29, 2021, 6:57 a.m. | Votes: 0 | [ VOTE ]

Dear @sbi-tokens
Thank you for your %10.13 upvote
Here is your fortune cookie below

An inch of time is an inch of gold.

@firedream | Nov. 29, 2021, 7:10 a.m. | Votes: 0 | [ VOTE ]

Dear @cmmemes
Thank you for your %100 upvote
Here is your fortune cookie below

Someone you care about seeks reconciliation.

@firedream | Nov. 29, 2021, 7:47 a.m. | Votes: 0 | [ VOTE ]

Dear @itsostylish
Thank you for your %100 upvote
Here is your fortune cookie below

Emulate what you respect in your friends.

@firedream | Nov. 29, 2021, 11:32 a.m. | Votes: 0 | [ VOTE ]

Dear @naingtun45
Thank you for your %100 upvote
Here is your fortune cookie below

Fortune smiles upon you today.

@firedream | Nov. 29, 2021, 11:54 a.m. | Votes: 1 | [ VOTE ]

Dear @allfabeta
Thank you for your %100 upvote
Here is your fortune cookie below

Clear your mental, emotional, and physical space and you will see.

@firedream | Nov. 29, 2021, 12:47 p.m. | Votes: 0 | [ VOTE ]

Dear @sbi4
Thank you for your %69.34 upvote
Here is your fortune cookie below

You have a quiet and unobtrusive nature.

@firedream | Nov. 29, 2021, 12:48 p.m. | Votes: 0 | [ VOTE ]

Dear @ravensavage
Thank you for your %10.13 upvote
Here is your fortune cookie below

There will be big changes for you but you will be happy.

@firedream | Nov. 29, 2021, 1:43 p.m. | Votes: 1 | [ VOTE ]

Dear @concheror
Thank you for your %100 upvote
Here is your fortune cookie below

If you look in the right places, you can find some good offerings.

@concheror | Nov. 29, 2021, 6:24 p.m. | Votes: 1 | [ VOTE ]

Can you point the right place with a link maybe?

@firedream | Nov. 29, 2021, 6:28 p.m. | Votes: 1 | [ VOTE ]

ah, this is for the next upvote ;)

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>