SteemWorld ~ Weekly Support ~ #27

in steemworld •  6 years ago  (edited)

[EN]


This post is intended to cover the server costs for SteemWorld.org and to enable me to continue my development in the future.

In case you missed the first part:
SteemWorld ~ Weekly Support ~ #1

[DE]


Dieser Post ist dafür gedacht die Serverkosten für SteemWorld.org zu decken und mir in Zukunft weitere Entwicklungen zu ermöglichen.

Falls du den ersten Teil verpasst haben solltest:
SteemWorld ~ Weekly Support ~ #1

Updates


The past week proceeded not exactly as I had planned before and I ended up with optimizing the implemented data caching methods for all clients on SteemWorld. Don't ask me how I got there, but I'm glad to announce that users now can open as many accounts as desired simultaneously without longer increasing the server load on my main data server.

As some of you might know, I don't make all required Steem RPC requests from each client to the connected nodes directly. I solved it in a way so that my server does the requests once a minute and stores the request results in a 'requests' table. The client (your browser) just sends a get_status request to my API once every 30 seconds and receives all data like new mentions, new followers and the cached Steem requests with only one request.

That takes much load from the public Steem RPC nodes, but of course, it increases the load on my side a bit, therefore I needed to make a few changes to the existing logic.

The following Steem API requests are being cached on my server:

const CACHED_GET_DYNAMIC_GLOBAL_PROPERTIES    = 1;
const CACHED_GET_CURRENT_MEDIAN_HISTORY_PRICE = 2;
const CACHED_GET_REWARD_FUND                  = 3;
const CACHED_GET_HARDFORK_VERSION             = 4;
const CACHED_GET_NEXT_SCHEDULED_HARDFORK      = 5;
const CACHED_GET_ACCOUNT_COUNT                = 6;
const CACHED_GET_WITNESS_COUNT                = 7;
const CACHED_GET_TICKER                       = 8;
const CACHED_GET_CHAIN_PROPERTIES             = 9;

A week ago my server always answered each get_status request with all cached data, because it didn't know what the current client exactly needs. That is now not longer the case and the clients send the required cached requests data IDs along the status request as shown here (abstract request):

{
    "type"   : "get_status",
    "params" : 
    {
        "ids"          : [ 1, 2, 8 ],
        "user"         : "steemchiller",        
        "last_follow"  : 94172775,
        "last_mention" : 94238931
    }
}

The example above would return all new mentions since the in field last_mention defined unix timestamp, all new followers since the in last_follow defined timestamp and all in the field ids defined cached requests (in this case GET_DYNAMIC_GLOBAL_PROPERTIES, GET_CURRENT_MEDIAN_HISTORY_PRICE and GET_TICKER).

After receiving the cached requests the client stores them in the browser's local storage, so that all other simultaneously opened SteemWorld tabs can share the same result and each of them knows about what is being required for the next get_status call. The good thing about using such a caching method is that it decreases the server load significantly and also the clients benefit from using more locally cached data, because they do not need to load blindly all data via internet connection each time.

Improved Content Security Policy (CSP) Headers


Special thanks go to @scorer for mentioning SteemWorld's bad CSP headers in my last post! To be honest, I didn't take care of the CSP prior to his comment, but I'm glad to have achieved a very good rating now:

Sites can be tested with:
https://securityheaders.com/?q=steemworld.org&hide=on&followRedirects=on

To Firefox users:
If you should encounter any issues when loading the site, please let me know and I will adapt the (now very strict) CSP settings. I say this, because when using Firefox there appear two logs in the Developer Console stating 'The page’s settings blocked the loading of a resource at eval/inline (“script-src”)', which don't make sense on my site (might just be a FF bug, but I will try to find out more about it in the coming days).

Continuing Main Mission


Building the Post Editor (yes, it can be used to create new posts and comments too) is still my main mission on a daily basis. There is not much to say about it currently, but I can tell you that I'm doing my best to get it running soon ;)

I wish you all a wonderful week!

Planned Open Source Steem Data Service (SDS)


  • Runs on Linux, Mac and Windows
  • Can be run locally or as public web service
  • Enables each of us to analyze and work with the Steem blockchain data in a simple and very efficient way (SQL and custom queries can be used too)
  • Syncing is possible via available public instances (very fast) or regular Steem nodes
  • Provides automatic downloading of already parsed data (no need to start from block 1)
  • No need to setup any database services (all file-based -> no layers in between -> lightning fast)
  • Offers configurable datasets (if you just need a DB with all transfers for example, you can run an instance with only the desired parser module 'transfers' enabled)
  • JS developers can easily implement own parser modules (just add a custom script in the modules path and the service will call the parseBlock, parseTransaction, parseOperation and parseVirtualOperation methods within your script for each block)
  • Also 'virtual operations' can be parsed (or downloaded from one of my servers that will provide all parsed datasets in nearly realtime)
  • Highly compressed data (some crazy stuff and a bit of magic involved here, more details on this soon)
  • Interfaces to other database systems planned
  • Completely free to use, will be released under MIT license

In the making


   ( A )


  • Post Viewer and Editor
  • SDS
  • More details in Coming Rewards (number of posts and comments, pie charts)
  • Improved Coming Curation Rewards
  • Thinking about if/when to start a witness node

   ( B )


  • Different views, no limit in the Posts Overview (requires SDS)
  • Account Operations without limits, custom date ranges and filters, jump to day x (requires SDS)
  • Exact (separated SP, STEEM and SBD) All Time Rewards in the Stats Section (requires SDS)
  • Rewards Overview Tool with searching capabilites (requires SDS)

   ( C )


  • RC costs calculation
  • New responsive SteemWorld that can be run locally (Open Source)

Links


EN  |  What is SteemWorld?
-> Welcome to SteemWorld.org!

DE  |  Was ist SteemWorld?
-> Willkommen auf SteemWorld.org!

Thank you for supporting my work!


Positive thoughts create a positive world. It all begins with connecting our thoughts with emotions. What we focus on is what becomes powerful. We are the creators of our world.

Much love,

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for your work 👍

Vielen Dank für deine tollen Verbesserungen.
Wenn du dich dafür entscheidest auch ins Witnessbecken zu hüpfen dann bekommst viel support von uns allen =)

Posted using Partiko Android

Thank you for your latest report on all you are doing on our behalf @steemchiller.

"Building the Post Editor (yes, it can be used to create new posts and comments too) is still my main mission on a daily basis."

With this as your primary focus, in your next update, I would be interested to know where this feature ...

"Enables each of us to analyze and work with the Steem blockchain data in a simple and very efficient way (SQL and custom queries can be used too)"

... of SDS is on your "roadmap" for future deployment.

Beyond just Steem activities @steemchiller, wondering about your overall welfare in general and more specifically, where you might be in your deliberations about maybe moving to another place. Are you still actively considering that possibility?

All the best to you!

Thank you @roleerob! It's always good to see one of your nice and well-thought comments on my blog ;)

... of SDS is on your "roadmap" for future deployment.

That's a good question. I took much of my time for developing SDS in the past months and it's nearly finished or let's say 'ready to be tested/used'. Hopefully I can give it the final touch in about a month or so. As crypto prices keep being suppressed (held on the same price levels for weeks by trading bots, which creates the illusion that we have an infinite amount of sellers, mirrored order books tell us the truth), I needed to change priorities again.

Offering a post editor, profile and feeds like on Steemit will bring me enough beneficiary rewards to be able to complete my planned roadmap in a more 'healthy' way.

Are you still actively considering that possibility?

After ~ 8 month! (never seen before) of nearly zero sunshine and a daily doses of grey, heavily clouded skies here in North Germany I can say that I feel like I aged a few more years in that time. It seems like Germany is no longer inhabitable for people who want to live a healthy life, so my decision to leave the country didn't change and it will not. We (my girlfriend and I) are already preparing for the new life and are selling our stuff on eBay. I won't mention the exact destination until we arrived (for specific reasons). One thing I already can tell is that a sun exists in the place we are heading to :)

All the best to you!

  ·  6 years ago (edited)

Okay, very good @steemchiller ...

"As crypto prices keep being suppressed (held on the same price levels for weeks by trading bots, which creates the illusion that we have an infinite amount of sellers, mirrored order books tell us the truth), I needed to change priorities again."

... to know your thoughts behind your priorities. Makes sense. Too bad we all have to suffer through the impact of those with ... uhhhh ... "less than honorable" intentions. But I suppose it has always been this way in the real world, as the new crypto asset class cannot escape from the reality of human nature "in all its glory" ... 😔

"... so my decision to leave the country didn't change and it will not. ... One thing I already can tell is that a sun exists in the place we are heading to :)"

Well, obviously one of the big "Ys in the road of life" decisions has been made and you are resolutely working to see it through. It will be very interesting to "hear" about your chosen new home, once you have decided to reveal it.

I genuinely wish you well and glad to "know" one of of the truly "good guys" here on our Steem blockchain. Thanks for all you do for all of us. I hope you will enjoy many happy returns some day for all of your hard work.

Until we "meet" again, all the best to you and yours for an even better tomorrow!

Steem for e-commerce payments.

I want something where I can create a Steem payment button in 5 minutes just filling in fields in a form and a payment button is generated, with a piece of code that I can just paste into any salespage.
@flaxz

This is up your street. @SteemChiller

Posted using Partiko iOS

Thanks, very good point!

I'm still busy with the upcoming post builder. After that I've planned to complete and implement the new SDS on my server. I guess, it will take at least two months from now until I find time for such a payment button, but I like the idea and someone should really take action regarding to developing something like that.

I will come back to your request, when I'm done with my other stuff ;)

Thinking about if/when to start a witness node
@SteemChiller

Please start.
You will have my vote 🗳 & support.
DA94CBB2-C60E-4C86-91DA-A032B12F9953.gif
Thank you for all that you do for our $STEEM.
Resteemed.

Posted using Partiko iOS

Mine too!

I have just seen Steemworld is verified for BAT Tokens. @steemchiller you have my monthly contribution forever as well ;-)
p.s: You should advertise it!!!

Thanks for the heads up @toofasteddie

I sent @steemchiller 5 BAT

Klasse Arbeit.
Hab dich auch in unserer FB Gruppe als pinned Post gemacht.
Danke dir.

As always thank you for your hard work. My STEEM experience would not be the same without SteemWorld.

Are you interested in solving a mystery? I hope so...
Why does my vote display as 20 cents when it should be 3 cents?

Here is the information of my vote:
Link: https://steemit.com/steemmonsters/@simplymike/re-mellofello-giving-back-to-the-steem-community-win-a-7-day-delegation-for-a-near-gold-level-account-20190320t092921590z

What's even more strange is that the 3 votes by fulltimebot** does not show up at all:

Looks like it's related to a bug on Steemit. The total payout amount seems to be correct, but the other voters are missing. I guess they are testing something with their new nodes structure.

The voting details on SteemWorld show the following:

Ah, thank you for looking into this. My friends were shocked when they saw that my vote was worth 20 cents, and wondered why they didn't get one too, haha. Now I can send them the detail.

Vielen Dank und liebe Grüße Kadna

Thanks for all your hard work @steemchiller! Always look forward to seeing what new tweaks and updates you have added... what you have created here definitely makes Steem a more enjoyable experience!

@steemchiller You ROCK !! Steemworld is awesome, thank you, keep up the great work ;)

https://steemit.com/steem/@steemchiller/welcome-to-steemworld-org

There's always something that needs attending to, eh, @steemchiller. :) I'd say an A-plus rating is awesome for anything, particularly if it has anything to do with security.

As far as the post editor goes, if it's your main mission, I have no doubt it will get done. It's really cool to have these updates, by the way. I know there's a financial side to it, but in a very distant way (meaning, you're doing all the work), the rest of us get a glimpse at the behind the scenes build. For me, at least, it's been very cool to read about week to week.

Onward and upward. :)

This site is wonderful.
It has become my homepage in steemit.
Almost all my interaction in the ecosystem is based on the information you provide.
Thanks a thousand.

Felicitaciones por su trabajo de almacenamiento en caché, fiel usuario de esta pagina https://steemworld.org/@oresteg

Keep up the incredible work @steemchiller - I rely on your site daily to monitor my stats and make decisions about my Steemlife - Thank you, very much appreciated

Many thanks for all your work! Hope you do decide to set up a witness; you definitely would have my vote!

=^..^=

Thank you for all your good work and persistent effort!!
What can we do without you?!

Cheers.

Posted using Partiko iOS

In meinem Firefox 65.0.1 auf Android 6.0.1 hängt das Laden dauerhaft an dieser Stelle:
Screenshot_2019-03-20-12-41-32.png

Ich habe es gerade auf verschiedenen Android-Versionen mit FF 65.0.1 getestet und es läuft ohne Probleme bei mir. Hast du irgendwelche Addons installiert, welche die Seite evtl. beim Start manipulieren? Kannst du sonst mal den Cache leeren und die Seite danach neu laden?

Cache löschen und auch ein Firefox-Neustart haben nichts geändert.
Meine Addons:

Posted using Partiko Android

Wenn du https://steemworld.org/test/ aufrufen kannst, liegt es vermutlich an einer der installierten Extensions. Sollte der Übersetzer z.B. irgendwelche Skripte auf meiner Seite ablegen, würde das meine neue CSP nicht zulassen (was in meinen Augen auch richtig so ist und aus Sicherheitsgründen auf deren Seite geändert werden müsste. Die hätten sonst z.B. auch Zugriff auf private Keys usw.)

Ich habe den Translator erst deaktiviert und dann deinstalliert, jeweils mit Neustart, hat alles nix gebracht. Die beiden anderen sind systemseitig und nur der Codec ist deaktivierbar, deinstallierbar sind beide nicht.

Posted using Partiko Android

Ich habe die SteemWorld jetzt auf Brave, da läuft sie wunderbar, außer dass Links immer in Partiko geöffnet werden, was ich meistens nicht will, egal was in den Settings eingetragen ist, Partiko ist da ja gar nicht dabei!

Posted using Partiko Android

Das ist schön zu hören! Ich habe sonst auch keine Idee mehr, was das im Firefox verursachen könnte. Ich weiß, dass Mozilla das Update auf Version 65 auf Microsoft-Geräten zurückziehen musste, da sich ganz viele Seiten nicht mehr aufrufen ließen. Vermutlich ist es wirklich nur ein FF-Bug. Ich warte mal ab und mache erstmal mit meinen geplanten Sachen weiter...

Partiko ist, soweit ich weiß, ja nur als App verfügbar, daher habe ich von SteemWorld aus keine Möglichkeit, das Öffnen der Links zu steuern. Wahrscheinlich installiert Partiko eine Art 'Hook' im Android-System, um geöffnete Links abzufangen und in der eignenen App zu öffnen. Normalerweise müsste das irgendwo einstellbar sein.

Danke für die Infos! Ich habe die Einstellung gerade gefunden, jetzt wird abgefragt, ob Links aus SteemWorld in Partiko oder in Brave geöffnet werden sollen.

Posted using Partiko Android

Ich hoffe das du bald etwas besser von Steem leben kannst. Das es ein bisschen mehr hoch geht... Dank dir.

Are you on discord? How do I get in touch with you?

I'm on discord (more or less, not logged in for quite some time), but preferably you can reach me via https://steem.chat/direct/steemchiller

Thank you for making such a useful tool. Is steemworld open source?

Not yet, but I've planned to make it open source in future.

Just upvoted! Awesome work you do! Thanks for the follow!🤗

Posted using Partiko Android

Thanks for your effort and your creativity, mate!

🐶 HARF HARF! 🐾 !sbi status

Thanks for your vote. Please let me tell you that nobody with a 'comment spam creating @sbi signature' will receive a vote for a comment on my blog. Nobody needs to store daily stats inside the blockchain and it increases the server costs for developers like me without bringing any benefit to my blog. Please think about it.

Got it, my friend.
I appreciate your frankness and I understand your point of view very well: auto-comment removed.

Hi @holydog!

  • you have 19 units and 0 bonus units
  • your rshares balance is 934999736540 or 0.645 $
  • as you did not wrote a post within the last 7 days, your comments will be upvoted.
  • your next SBI upvote is predicted to be 0.026 $

Structure of your total SBI vote value:

  • 69.33 % has come from your subscription level
  • 0.00 % has come from your bonus units
  • 22.14 % has come from upvoting rewards
  • 8.53 % has come from new account bonus or extra value from pre-automation rewards


    Value % breakdowns are in beta and some oddities may appear. These % are historical and represent source of vote value pending and already delivered. Recent changes (increase in delegated SP, for example) may take time to noticeably change the % breakdown.

Yes Thank you for the best Tool in Steemit

This post has been just added as new item to timeline of SteemWorld on Steem Projects.

If you want to be notified about new updates from this project, register on Steem Projects and add SteemWorld to your favorite projects.

I prefer to come here to learn - where I can also show my gratitude by giving a few votes.

Coming to your site would only deprive the support we should be giving to the person who is creating this magical SteemWorld for us.

Instead of trying to take away earnings from Creators, why don't you go create something worthy of our votes?

I love all you are doing, mate: Thank you very much!

!sbi status

Hi @crmilazz!

  • you have 2 units and 0 bonus units
  • your rshares balance is 188526752858 or 0.130 $
  • as you did not wrote a post within the last 7 days, your comments will be upvoted.
  • you need to wait until your upvote value (current value: 0.005 $) is above 0.024 $

Structure of your total SBI vote value:

  • 41.88 % has come from your subscription level
  • 0.00 % has come from your bonus units
  • 9.84 % has come from upvoting rewards
  • 48.28 % has come from new account bonus or extra value from pre-automation rewards


    Value % breakdowns are in beta and some oddities may appear. These % are historical and represent source of vote value pending and already delivered. Recent changes (increase in delegated SP, for example) may take time to noticeably change the % breakdown.

Thanks for your vote. Please let me tell you that nobody with a 'comment spam creating @sbi signature' will receive a vote for a comment on my blog. Nobody needs to store daily stats inside the blockchain and it increases the server costs for developers like me without bringing any benefit to my blog. Please think about it.

hey my best friend
just a hint

can you add the avatar photo picture of each user to steem world on his page, I know it can be done but i do not know if it is too much hard it needs programming... the same photo in the steemit account ===please

Great dashboard @steemchiller!

Just what I need for hyperdrive... I gotta go get it!

Thanks!

Thank you!!!

I'm glad people like you try to help this community. Thank you very much!

Posted using Partiko Android

Congratulations @steemchiller.

I'm glad to support this great tool!

Hi @steemchiller!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 6.252 which ranks you at #235 across all Steem accounts.
Your rank has not changed in the last three days.

In our last Algorithmic Curation Round, consisting of 214 contributions, your post is ranked at #6.

Evaluation of your UA score:
  • You've built up a nice network.
  • The readers appreciate your great work!
  • Good user engagement!

Feel free to join our @steem-ua Discord server

Danke wie immer!
upvote&resteemed

Hey there buddy. Thank you for your work :)

  ·  6 years ago (edited)

I can't wait to see the Steem Data Service (SDS) in action!
I'm also courious to see the Post Editor... thanks for all your efforts, mate!


Everything is okay! 👌


You received an automatic vote, because I believe in you and I love what you create! ;)

A huge hug from @amico! 🤗

I love promoting !sbi status

Hi @amico!

  • you have 158 units and 685 bonus units
  • your rshares balance is 1389795590179 or 0.962 $
  • your next SBI upvote is predicted to be 0.192 $

Structure of your total SBI vote value:

  • 8.76 % has come from your subscription level
  • 83.75 % has come from your bonus units
  • 6.93 % has come from upvoting rewards
  • 0.55 % has come from new account bonus or extra value from pre-automation rewards


    Value % breakdowns are in beta and some oddities may appear. These % are historical and represent source of vote value pending and already delivered. Recent changes (increase in delegated SP, for example) may take time to noticeably change the % breakdown.

Gratitude from Thailand, as always, @steemchiller.

Thank you!

Hi @steemchiller , wie immer "Daumen hoch" L G unsuwe

Great progress as usual! I wonder if you have considered somehow tracking the tokens being created by the Steem Engine project!

Posted using Partiko iOS

Danke für die Arbeit!!!

Dear steemchiller:

We are SteemBet, the next generation STEEM based gaming platform. We are honored to invite you to join our first fantastic dice game, which is just the beginning of SteemBet game series. Our dividend system has now launched. The prize pool has already accumulated 2,000 STEEM and more than 60 players have participated in staking mining token SBT. A huge reward of 40,000 STEEM is awaiting! Join us NOW with other 500 STEEM users to loot HUGE dividend reward!!

SteemBet Team

Official Website
https://steem-bet.com

Discord Server
https://discord.gg/95cBN3W

Telegram Group
https://t.me/steembet

Thank you very much for your work and contribution to this community. Congratulations!

Posted using Partiko Android

Wenn du dich dafür entscheidest auch ins Witnessbecken zu hüpfen dann bekommst viel support von uns allen =)I understand 95.59% in this post, and if you post more beautifully, we will understand better and we can improve. Thank you for this kind of posting. We want you to be able to improve in one day.
You can earn money by making comments and can not earn without comment and due to the comments, you can correct their mistakes
Posted using Partiko Android.