You are viewing a single comment's thread from:

RE: Programming Diary #19: Follower network strength and preparing for Open Source publication

in Steem Dev7 months ago

Nice :-)

I recently saw something in the Hivemind code that amazed me. I can't remember what it was right away, but it must have once been available or intended as a function.
Perhaps you can actually still find remnants of the implementation of the recommendations at that time. In any case, I think that this was implemented at Hivemind level.

It ends prematurely which I found interesting 🫢

Strange. On steemitdev.com it doesn't end prematurely...

Sort:  
 7 months ago 

I think hivemind came along later. I ran a couple quick searches of steemit's github space, but didn't find anything. I didn't spend a lot of time at it, though.

 7 months ago 

You are right. Thanks for the link. I really need to have a look at all the old posts from steemitblog. Quite a lot was explained there.

I found two commits:
https://github.com/steemit/steem/commit/a01b04ed439681528c61b3b7e318092c8b98067f
https://github.com/steemit/steem/commit/f3877959f55d30e1ba2815eeb437dabc0e3d70fd

These were probably the first implementations. I don't yet know whether it was changed before it was removed again.

 7 months ago 

I recently saw something in the Hivemind code that amazed me. I can't remember what it was right away, but it must have once been available or intended as a function.

Whilst looking for some documentation for steemit.com, I stumbled across a few interesting discussions that were prompted by the dev team. I can't remember what any of them were either 😆 but I did think about digging some of them out. One of them was a page view counter and there's a lot of condenser code scattered about for that.

 7 months ago 

page view counter

This would be a great favour to some (well known) users :-)
However, there are a few obstacles here:

  • The way it was implemented at the time, only the calls via the Steemit condenser could be counted.
  • The data are obviously still sent to the overseen server, but requests to it do not work (I tried this once with the old code).
  • Even if the server were to answer requests again, this would only work with the api.steemit.com node. Meaningful results are obtained with other nodes (if the changeover works) only if they redirect the requests to api.steemit.com.

Will you accept the challenge? ;-D

 7 months ago 

Ha ha - no chance! I'm grateful that you've looked into this already. I'm not a fan of page view counters and if you managed to convince me otherwise (😉), I'd investigate a Google Analytics API that could pull the data in and produce some more meaningful data. One day, I'll get access to Steemit's GA account!

 7 months ago 

Hopefully it won't take so long ;-D