Pull Request for Hivemind - add dynamic STEEM/VEST for SP calculation

in Steem Dev3 months ago (edited)

Have you taken a closer look at your profile on Steemit?
Mine looks like this:

79_current_view.png

Have you ever wondered how the value for Steem Power on the profile page is determined? Okay, maybe you've looked at your values in the Steemworld.
If you've got this far, you've probably realised that the values don't match.

79_steemworld.png

I can reassure you. You can't reproduce this because the calculation on Steemit.com is completely wrong.

The value should actually match the value for Effective Power on Steemworld, but it doesn't, because Hivemind doesn't use the current value for STEEM per VEST. Instead, a fixed old value is used. As you may know, this value is constantly changing, which - without any action on your part - also changes your SP. Kind of small interest payments from the blockchain.

Okay, so far so good. But I would also like to see the current value for Steem Power on the profile page. You too?

To change this I created a pull request:

https://github.com/steemit/hivemind/pull/337

If this is accepted, my profile will look like this:

79_new_view.png

Feel free to follow me and vote for me as a witness for further contributions to improve the user experience on Steemit. The next task is already scheduled...

Stay tuned and Steem on!

Steem Search on https://moecki.online/

My Full Node on https://api.moecki.online

My Python Pricefeed for Witnesses

Vote for me as Witness

15.09.2024
Sort:  

The thing is, sometimes I think that if there is no Steemworld, we ordinary bloggers are just lost, we can't find our way around anything. I'm even surprised that there are people who haven't heard of it, or don't use it at all. But without it there is no orientation for anything, SP value on steemit.com is a question I've had for a long time, I'm glad it's finally being raised by a witness and a developer. There is no orientation for the vote power, do I have to count how many posts I upvoted today myself to determine my vote power. There is no orientation even for the real value of the posts. Steemit.com seems too outdated - the way the upvotes are displayed, without values or percentage, does not give any orientation either. I also have a question about the wallet, but that's another topic.
Glad to see people thinking in the direction of development and improvement. Thank you!

 3 months ago 

Yes, Steemworld covers a lot. I also use it every day.
But we also need functions on Steemit for interaction. This also includes the voting power. Maybe we can achieve that as a community. The-gorilla is currently working on the front end and I'd rather not interfere with him. But I'm confident. Maybe something will move. Ultimately, we have to convince the Steemit team to accept the code. :-)

On the other hand, I don't want to develop another frontend. Apart from my non-existent design skills, most people still use Steemit and that's why I want to change something there too.

I hope you succeed with the conviction! I also prefer to use Steemit, so I hope things happen right here.
By the way, I have a question, as I mentioned, about the wallet, which has been bothering me for years out of curiosity, not so important - what determines the number of transfers that are displayed there. I assumed that the higher reputation or SP you had, the fewer entries would be displayed, but that's not the case. I actually suffered from having too many exposed records in my wallet 😃 Do you have any professional explanation? Sorry if this is not the right place.

 3 months ago 

what determines the number of transfers that are displayed there

The account state, which also includes the account history, is retrieved on the page. This history is requested with a limit of 1000 entries. The entries relevant to the wallet are then filtered from these 1000 entries.
The number of transfers therefore depends on how many transfers are contained in these 1000 entries. This is therefore always a different number. If you have more other activities (votes, rewards etc.), there are fewer transfers among these entries.

I hope I have expressed this clearly. If not, I'll be happy to write you an example :-)

Hey @moecki,
thank you for using our automatic payout bot 'DUBby' to share your post rewards with your commentators.
To make sure everything works as planned, please remember to give me payout orders.
Just write a comment to the users who should receive a share. It should contain the instruction in the form !finanzbot x %.

If you need help with this, feel free to ask or check this manual (german).

Greetings from the 'DU-Finanzbot' (by Witness @moecki).

I... I think I'm starting to grasp... Yet an example will never be superfluous, if you don't mind and have the time. 😊 Thank you!

 3 months ago 

We consider the last 10 operations in the history of two accounts:

no.op acc1op acc2
1voteauthor_reward
2curation_rewardcomment
3votecomment
4transfervote
5claim_reward_balancetransfer
6curation_rewardvote
7votetransfer
8transfertransfer
9votecuration_reward
10curation_rewardtransfer

As you can see account 1 has two transfer operations under the last 10 operations and account 2 three transfers.

Because the wallet page only shows the transfers, account 1 has two entries and account 2 three entries.

The same happens if you request 1000 operations.

!dubby 20%

Thank you! It's all clear now!

UMMER(2).jpgTeam True Colours - @aaliarubab


I thought only I was having this issue;)

But you can still see that "you are better than me", lol. If it was before I would have said it's because you have a higher reputation and more SP, but now I've seen that's not the case because many accounts with less reputation and negligible SP have far fewer records than mine.
When I don't understand something - like the complex system here, I just look, dig, observe and compare, look for interconnections to explain things to myself, but I don't see such a thing here. Or I'm just not able to see it...🤔

 3 months ago 

You are not alone :-)

!dubby 2 % :-)

Happy to hear :)

How I wish to have a voting mana on every page of steemit.com...

 3 months ago 

I would have done that for the voting panel in particular. I can't yet estimate how much effort it would take. But it's not impossible :-)

!dubby 5%

Having it in the voting panel would be awesome. Did you check remlaps extension?

 3 months ago (edited)

Yes, I'm currently tinkering with it a little :-)

Take a look here: https://steemit.com/hive-142124/@moecki/skcaoh

Me too, for sure!

Hi @moecki, thank you for this post and for the explanation, I have noticed that as well but I just considered it to be broken and that nobody at present are willing to fix it. You know that we, majority of people on Steemit are only users and have no idea about such nuances.

I agree with you with following:

  • users still using more Steemit for their daily blogging, because we got used to that and like people are we like some routine until it breaks. The other alternative apps like "wherein.io" "upvu" have better reflection of the data and that is something that I also used to check some stuff too.

But I completely agree with you there are little tunes need to be done on Steemit Platform if we want it to be attractive for for example Investors who will come with their stakes. I think it is unprofessional to have such discrepancy.

That is very good topic and if it is relatively easy to fix I wonder if @steemcurator01 as representative of Steemit Team can bring it to their discussion, we all will benefit from it. Alternatively I wonder if while improving interface of Steemit @the-gorilla would be able to implement that too.

If there is anything else that I could help with please let me know

 3 months ago (edited)

Yes, I made this one small improvement after it had been annoying me for some time now. There are still a few things that need to be addressed. I'm currently experimenting with a new algorithm for the trending score (including for the steemit.com and steemit.com/trending homepage).

By the way, the code has already been accepted. Now only the Steemit servers need to be updated.

!dubby 10%

I am very glad for to hear that, you are doing great job!

 3 months ago 

It appears that @moecki has already written the code to fix it, we just need to get it through the system so that we can see it on steemit.com. Exciting times!

 3 months ago 

Oh, how wonderful 🙂 I'd been asked to take a look at this but I didn't think that it was Condenser related - now you've solved the problem and I can forget that it was ever a problem at all 😉

Now all we need to do is get it on the live server!

 3 months ago 

I didn't think that it was Condenser related

That's right, sometimes it's difficult to differentiate. In this case, the data came incorrectly from Hivemind.

Now all we need to do is get it on the live server!

Thanks to your action (!dubby 30%), the code was accepted very quickly. Let's see if the Hivemind servers are also updated quickly.

Eigentlich schon fast erstaunlich, dass sich bisher niemand die Zeit genommen hat, das zu berichtigen. Um so schöner, dass du es gemacht hast! Schon "blöd" bzw. macht keinen so guten Eindruck, wenn das Hauptfrontend falsche Werte anzeigt.

 3 months ago (edited)

Ich weiß es auch nicht. Es gibt so einige Kleinigkeiten, die man leicht beseitigen könnte.
Warum man das nicht macht, erschließt sich mir nicht. Unfähigkeit? Unwillen? Gleichgültigkeit?

... und ich weiß immer noch nicht, ob es überhaupt gewollt ist.
Naja, Nebeneffekt ist, dass ich irgendwann das Frontend mit weniger Macken habe :-)

!dubby 10%

This is a good development that is long awaited.
I hope it gets integrated soon enough 👏.

 3 months ago (edited)

I hope too :-)

!dubby 5%

It would be a welcome development, I wish you success!

 3 months ago (edited)

Moving forward in small steps. :-)
So far, my attempts at improvement have unfortunately gone unheard.

!dubby 5%

24M5.gif

 3 months ago (edited)

Why are you crying? :-)

!dubby 1%



This post has been upvoted/supported by Team 7 via @httr4life. Our team supports content that adds to the community.

image.png