Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - amencon

Pages: 1 ... 4 5 6 7 8 9 10 [11] 12 13 14 15 16
151
General Discussion / Re: publish feed price automatic(From BitSuperLab)
« on: September 06, 2014, 02:27:57 am »
Hey,

What are the limits of publishing price feeds to btsx as a delegate?
Can this script be scaled up to provide dozens of price feeds? Or is there a limit?
Eli5 how price feeds work? :S

Cheers :)
It's dynamic in that you can set a change_min and change_max threshold, when the script polls the prices and seeing a change that fits in the range you set it publishes the new price.  On top of that you can set a periodic time countdown where it will publish the price on a schedule.  So currently I have my script setup to publish the feeds if prices go over 1% and under 50% change and also every 4 hours regardless of price activity.

As far as how many feeds it can monitor and update, skimming the script I see nothing that would limit how many are allowed.  When a price is published it is a separate RPC call with normal fee so the script just runs through the feeds and publishes them one by one when the criteria matches.

Let us know if you need any help customizing the script, it is very simple and just some variables that need changing.

152
General Discussion / Re: Onename.io
« on: September 05, 2014, 02:37:46 pm »
keyID will crush this
Nice.  Can't wait to see it in action.

153
General Discussion / Re: Onename.io
« on: September 05, 2014, 08:36:55 am »
https://onename.io/amenconi

The steps and UI to set it up were surprisingly simple, easy and fast.

154
My feed should now also update when difference over 1%.

155
Delegate alecmenconi updated to 0.4.12 now.

156
General Discussion / Re: Delegates can now Publish their Version
« on: September 04, 2014, 09:54:50 am »
The site is flagging 0.4.10, 0.4.11 and 0.4.11-RC in green atm, everything else is in red. I'll improve the logic later today.
Ok cool no rush.  It was less of a complaint about the site and more just prompted me to wonder if there was standard that was supposed to be followed in case the devs were going to use it somehow for tracking version adoption or for some other purpose.

Thanks.

157
General Discussion / Re: BitsharesX sub-forum inaccessible
« on: September 04, 2014, 09:05:46 am »
It looks to me like that sub forum was closed and those thread topics merged into this sub-forum.  I suppose it didn't make much sense to have two BitsharesX sub-forums.

158
General Discussion / Re: Delegates can now Publish their Version
« on: September 04, 2014, 09:01:48 am »
Hmm I updated my version registered as "0.4.11-RC2x64" but it highlights the field as red.  I assume this isn't a big issue overall and you likely just coded it to look for a few set strings but is it frowned upon to list the version as verbose as that?  Maybe I should change it to just "0.4.11"?  Not sure what the best practice is here or if there is one established.  Updated client seems to be running smooth though.

you need to add the version field to your delegate BY HAND!
Code: [Select]
wallet_account_update_registration <account_name> <pay_from_account> { "version":"0.4.11" } [delegate_pay_rate]
The blockchain does not know what version your run. you need to tell using the 'data' field of your account.
Ah sorry I didn't explain very well, within my client I see my version info just fine.  It's just when viewing my delegate on bitshatesblocks.com that the version field is highlighted red.  I'm almost certain that svk just uses some simple logic and turns the field green if it detects the "data" field for "version" as "0.4.10" or "0.4.11" as I see other version entries of "latest" or "0.4.11-RC2" shown in Red as well.  I just wasn't sure if when manually updating our client with the version if there was a standard that we were supposed to follow that I missed.  As a user defined field I doubt anything in the client uses it other than just for display so I'm probably just nit-picking.

159
General Discussion / Re: Delegates can now Publish their Version
« on: September 04, 2014, 08:30:03 am »
Updated. I've also added the version information to the delegates overview on my site, that way you can get a quick visual overview :)

http://bitsharesblocks.com/delegates
Hmm I updated my version registered as "0.4.11-RC2x64" but it highlights the field as red.  I assume this isn't a big issue overall and you likely just coded it to look for a few set strings but is it frowned upon to list the version as verbose as that?  Maybe I should change it to just "0.4.11"?  Not sure what the best practice is here or if there is one established.  Updated client seems to be running smooth though.

160
General Discussion / Re: Delegates can now Publish their Version
« on: September 03, 2014, 03:45:23 pm »
Updated delegate alecmenconi with version: 0.4.10.

Will look at updating to 0.4.11 tonight.

161
General Discussion / Re: Block Explorer and Delegates Listing
« on: September 03, 2014, 03:35:08 pm »
Hey svk,

You might already know and be working on it, but it looks like your site's connection to the blockchain is down as all areas appear to be not populated with data.

I tried it from 2 different sources so I don't believe the problem is on my end.

Just a heads up in case you weren't aware.

Thanks.
Hey, thanks for the heads up but like the others are saying it does work, it's just a strange bug related to cross origin sharing, which means your browser is blocking the data sent from my back end since it's not on the same domain as your computer.

My http headers are all OK to handle this, but it seems sometimes it just refuses to work. Will investigate once I find the time.
Thanks for staying on top of things and responding even when it was a false alarm.  I'll know next time to just wait for it to come back on it's own.

Recently I built some code that loads dynamic content on other people's websites, I had some initial issues with CORS for some reason so I defaulted to JSONP and that has worked well, not sure if that could be a possible solution though if you want to do more interaction for your visitors than just GETs at some point.

Thanks for the tip, I considered doing that when I first implemented it but decided to go the CORS way, but in the end I should've just gone with JSONP from the start.

I just switched the site over to using JSONP calls, if you notice you're not getting updates do an F5 to get the new version with the proper API calls!
Nice! You do fast work.  Hopefully that ends up being more stable.

162
Hmm think my script file was bad.  I've re-set it up and I believe it should be working correctly now.  Thanks for the alert, I'll keep a closer eye to verify it keeps updating correctly.

163
+5%
We desperately need to find a way to increase vote percentage.
Agree completely.  This sounds like a great initiative and I hope it's successful in getting more people voting and involved with communicating to their delegates what they want to see.

164
Stakeholder Proposals / Re: delegate.liondani... let me introduce myself ;)
« on: September 02, 2014, 11:45:49 pm »
That does sound like a bad experience, glad it worked out OK in the end.

I must be a little crazy in the same way as far as missing blocks, even though I never expect to make much money off being a delegate it sucks to know you've let the network down those rounds.

Thanks for the votes.

165
General Discussion / Re: Block Explorer and Delegates Listing
« on: September 02, 2014, 10:37:11 pm »
Hey svk,

You might already know and be working on it, but it looks like your site's connection to the blockchain is down as all areas appear to be not populated with data.

I tried it from 2 different sources so I don't believe the problem is on my end.

Just a heads up in case you weren't aware.

Thanks.
Hey, thanks for the heads up but like the others are saying it does work, it's just a strange bug related to cross origin sharing, which means your browser is blocking the data sent from my back end since it's not on the same domain as your computer.

My http headers are all OK to handle this, but it seems sometimes it just refuses to work. Will investigate once I find the time.
Thanks for staying on top of things and responding even when it was a false alarm.  I'll know next time to just wait for it to come back on it's own.

Recently I built some code that loads dynamic content on other people's websites, I had some initial issues with CORS for some reason so I defaulted to JSONP and that has worked well, not sure if that could be a possible solution though if you want to do more interaction for your visitors than just GETs at some point.

Pages: 1 ... 4 5 6 7 8 9 10 [11] 12 13 14 15 16