Developer delegate: dev.bitsharesblocks

Started by svk, November 12, 2014, 01:46:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

liondani

#363
@svk

On  https://bitsharesblocks.com/asset/orderbook?asset=USD
On the MARGIN CALL ORDERS (Cover bitUSD)  table the last short that shows up expires at 7 June... Can you add all data for all shorts?
It would be great to have the list for all expirations for the whole month! (one month from now)
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

kenCode

#1 Did I do something wrong with the "bitsharestalk" key?

#2 It still doesn't show my Delegate services, my gravatar image, or my email:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode

Here is the Console code I used:
>> wallet_account_update_registration delegate.kencode delegate.kencode {"services":"BitShares Sales & Support, DAC Builder, PR Agent, Copy Editor, Social Mediums & Translator","gravatarID":"3e4a1a8b2521be32eb3244b9cfbf7669 ","version":"0.9.0","website":"http://BitShares-Munich.de","email":"[email protected]","delegate":{"handle":{"bitsharestalk":"kenCode"},"country":"de","description":"BitShares Munich","proposal":"https://bitsharestalk.org/index.php?topic=16072"}} 100

TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
======================================================================================================================================================================
2015-05-15T13:05:09 PENDING   delegate.kencode    delegate.kencode    0.00000 BTS             Update delegate.kencode's public data       0.50000 BTS         ba0a2615


#3 Let me know what I should fix please :)
Thanx,
  -ken
kenCode@Agorise
Matrix/Keybase/Blurt/Hive: @Agorise
Session: 0525c95e7f37dca6e29ac84fe7030f0bc5f8bcd564207f03c893e47d2a381a2337

xeroc

I think that bitsharesblocks is not yet parsing all values you could possibly store in your public data ...
also note that the "proposal" on the wiki is still a "proposal" .. and no one can be force to follow that syntax ..
It's a difficult thing for svk to be compatible with "moving parts" :)

kenCode

Well, it's looking better, but it still doesn't show my Delegate services, my gravatar and such:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode

Here is the Console code I used:
>> wallet_account_update_registration delegate.kencode delegate.kencode {"services":"BitShares Sales & Support, DAC Builder, PR Agent, Copy Editor, Social Mediums & Translator","gravatarID":"3e4a1a8b2521be32eb3244b9cfbf7669","version":"0.9.0","website":"http://BitShares-Munich.de","email":"[email protected]","delegate":{"handle":{"bitsharestalk":"kenCode"},"country":"de","description":"BitShares Munich","proposal":"https://bitsharestalk.org/index.php?topic=16072"}} 100

TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
======================================================================================================================================================================
2015-05-15T13:05:09 PENDING   delegate.kencode    delegate.kencode    0.00000 BTS             Update delegate.kencode's public data       0.50000 BTS         ba0a2615


Is my syntax off?
Is bitsharesblocks not ready for the json key/value pairs that the wiki states?

Let me know what I should fix if you could, please :)
Thanx,
  -ken
kenCode@Agorise
Matrix/Keybase/Blurt/Hive: @Agorise
Session: 0525c95e7f37dca6e29ac84fe7030f0bc5f8bcd564207f03c893e47d2a381a2337

BunkerChainLabs-DataSecurityNode

Quote from: xeroc ¯\_(ツ)_/¯ on May 15, 2015, 11:04:16 AM
Quote from: kenCode on May 15, 2015, 10:37:58 AM
cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.
I was making fun of this .. sorry if it came across as an insult .. It's difficult to make fun over the internet .. I apologize

Well I thought it was funny. :)
+-+-+-+-+-+-+-+-+-+-+
[url="//www.peerplays.com"]www.Peerplays.com[/url] | Decentralized Gaming Built with Graphene - Now with BookiePro and Sweeps!
+-+-+-+-+-+-+-+-+-+-+

cass

Quote from: kenCode on May 15, 2015, 10:37:58 AM
Quote from: svk on May 15, 2015, 10:23:29 AM
Who's pointing fingers or laughing? I simply pointed out you used incorrect json which is why it didn't work, ranting and raving won't change that.

Services and email don't show because I never added them to Bitsharesblocks, they do exist in your public_data however.

Like I said the wiki does give you a handy script you can use to update the public data. As for the CLI, it's always been recommended best practice to run delegates using a VPS, which means you have no access to the GUI.
cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.

svk, you're cool too no worries, I'm just frustrated the past few days. sorry guys.

? i just quoted OPs post ... nothing more .. and i was just kidding ..
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

xeroc

Quote from: kenCode on May 15, 2015, 10:37:58 AM
cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.
I was making fun of this .. sorry if it came across as an insult .. It's difficult to make fun over the internet .. I apologize

kenCode

Quote from: svk on May 15, 2015, 10:23:29 AM
Who's pointing fingers or laughing? I simply pointed out you used incorrect json which is why it didn't work, ranting and raving won't change that.

Services and email don't show because I never added them to Bitsharesblocks, they do exist in your public_data however.

Like I said the wiki does give you a handy script you can use to update the public data. As for the CLI, it's always been recommended best practice to run delegates using a VPS, which means you have no access to the GUI.
cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.

svk, you're cool too no worries, I'm just frustrated the past few days. sorry guys.
kenCode@Agorise
Matrix/Keybase/Blurt/Hive: @Agorise
Session: 0525c95e7f37dca6e29ac84fe7030f0bc5f8bcd564207f03c893e47d2a381a2337

fav

Quote from: svk on May 15, 2015, 10:24:57 AM
Quote from: favdesu on May 15, 2015, 10:22:08 AM
you're welcome :D I added a url to my delegate post.

It won't work unless you use the correct format though as described in the wiki, I think you added the full url as a field in your json.

yeah, I'll delete it or try to get it fixed asap. it's not that important in my opinion.
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

svk

Quote from: favdesu on May 15, 2015, 10:22:08 AM
you're welcome :D I added a url to my delegate post.

It won't work unless you use the correct format though as described in the wiki, I think you added the full url as a field in your json.
Worker: dev.bitsharesblocks

svk

Quote from: kenCode on May 15, 2015, 10:16:21 AM
Uh huh, that's what I thought.
It's not the user's fault (me).

The bts.wiki doesn't say anything about having to use the Console, CLI or Command Line anything:
http://wiki.bitshares.org/index.php/Delegate/PublicData

The wiki even says that I can use keys such as "services" and "email" which also don't show once I paid to have them published:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode

This is exactly the kind of bs I'm ranting about. Laughing it off and pointing the finger at somebody else instead of taking responsibility (whether it's your job or not) and just get the damn job done. What's it going to take?

Who's pointing fingers or laughing? I simply pointed out you used incorrect json which is why it didn't work, ranting and raving won't change that.

Services and email don't show because I never added them to Bitsharesblocks, they do exist in your public_data however.

Like I said the wiki does give you a handy script you can use to update the public data. As for the CLI, it's always been recommended best practice to run delegates using a VPS, which means you have no access to the GUI.
Worker: dev.bitsharesblocks

fav

Quote from: svk on May 14, 2015, 09:03:41 PM
Quote from: xeroc ¯\_(ツ)_/¯ on May 14, 2015, 06:07:09 PM
@svk one of your processes that fill the delegates database seem to be broken .. I can't find any of the bunkermining delegates

Quote from: kenCode on May 14, 2015, 08:43:04 PM
Hey guys, I just posted this tech support question and was told to notify this thread, so here it is:
https://bitsharestalk.org/index.php/topic,16344.msg209004.html#msg209004

Please and thanx :)
  -ken


Both questions are related, Ken you broke the backend script that updates the delegate info with incorrect json in your public data field. favdesu also has some reaaaally strange fields in his json that made it impossible to update the mongo database. I pushed an update that removes incorrect fields so it's working again now.

If you want the backend to pick up your delegate.description etc fields you need to use proper json, not "delegate.description"

you're welcome :D I added a url to my delegate post.
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

kenCode

Uh huh, that's what I thought.
It's not the user's fault (me).

The bts.wiki doesn't say anything about having to use the Console, CLI or Command Line anything:
http://wiki.bitshares.org/index.php/Delegate/PublicData

The wiki even says that I can use keys such as "services" and "email" which also don't show once I paid to have them published:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode

This is exactly the kind of bs I'm ranting about. Laughing it off and pointing the finger at somebody else instead of taking responsibility (whether it's your job or not) and just get the damn job done. What's it going to take?
kenCode@Agorise
Matrix/Keybase/Blurt/Hive: @Agorise
Session: 0525c95e7f37dca6e29ac84fe7030f0bc5f8bcd564207f03c893e47d2a381a2337

svk

Quote from: kenCode on May 15, 2015, 09:52:42 AM
You want me to past json code into the key field? So what goes into the value field?
I know json quite well, but bts.wiki specifically says to use "website" as a key (for example) and "delegate.proposal" as a key.
Not everybody knows json or will understand what to paste into these fields.

I know it's easier to blame it on the user though, right?

Be specific, please:



"delegate.description" is not a valid key, "delegate" is a key and "description" is a subkey in "delegate". I don't believe you can set subfields like this using the GUI, so use the Command Line Interface instead. xeroc made a little python script that does it for you if you don't want to do it yourself:

http://wiki.bitshares.org/index.php/Delegate/PublicData

Otherwise, just use this template:

https://bitsharestalk.org/index.php/topic,11485.msg154443.html#msg154443
Worker: dev.bitsharesblocks

kenCode

You want me to past json code into the key field? So what goes into the value field?
I know json quite well, but bts.wiki specifically says to use "website" as a key (for example) and "delegate.proposal" as a key.
Not everybody knows json or will understand what to paste into these fields.

I know it's easier to blame it on the user though, right?

Be specific, please:

kenCode@Agorise
Matrix/Keybase/Blurt/Hive: @Agorise
Session: 0525c95e7f37dca6e29ac84fe7030f0bc5f8bcd564207f03c893e47d2a381a2337