Pages:
Author

Topic: [PrimeDice] Track Your Earnings! - page 2. (Read 4535 times)

legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
August 02, 2014, 12:06:40 AM
#52
http://talkera.org.cp-in-1.webhostbox.net/pd/view.php?uid=152939

Can confirm, although it takes like 5 seconds to load lol. I'm guessing this will be much better once a better host is used.

Caching should be used, which is possible if someone downloads and updates the dataset regulary. This could be done automatically using a script, and simply by collection all of the JSON data for each member. I simply don't have enough rights on the server.

Now all of the algorithm runs straight, but if cached would take only 1 second  Smiley
Caching is not as accurate as live data, it takes a few minutes between each cache. They cannot cache everyone's info into their server. It would take the server to load everyone's stats, occupying unnecessary space if the user never use them.
hero member
Activity: 672
Merit: 508
LOTEO
August 01, 2014, 05:46:53 PM
#51
http://talkera.org.cp-in-1.webhostbox.net/pd/view.php?uid=152939

Can confirm, although it takes like 5 seconds to load lol. I'm guessing this will be much better once a better host is used.

Caching should be used, which is possible if someone downloads and updates the dataset regulary. This could be done automatically using a script, and simply by collection all of the JSON data for each member. I simply don't have enough rights on the server.

Now all of the algorithm runs straight, but if cached would take only 1 second  Smiley
sr. member
Activity: 266
Merit: 250
August 01, 2014, 05:07:59 PM
#50
http://talkera.org.cp-in-1.webhostbox.net/pd/view.php?uid=152939

Can confirm, although it takes like 5 seconds to load lol. I'm guessing this will be much better once a better host is used.
legendary
Activity: 1778
Merit: 1043
#Free market
August 01, 2014, 04:31:58 PM
#49
Update:
I got a lot of code now, some for caching, some for just collecting the data etc.. the project is growing much bigger than I initially thought.

Any user can get their post count in simple JSON format now, for example:
http://talkera.org.cp-in-1.webhostbox.net/pd/src/API.php?uid=348910

The output in this case is
Quote
['July 30',2,0.0008], ['July 27',1,0.0004], ['July 25',6,0.0024], ['July 24',6,0.0024], ['July 23',5,0.002], ['July 21',1,0.0004], ['July 17',1,0.0004], ['July 15',2,0.0008], ['July 14',1,0.0004], ['July 08',1,0.0004], ['July 05',1,0.0004], ['June 30',1,0.0004], ['June 28',1,0.0004], ['June 27',3,0.0012],

The elements are date, posts, btc. The loading time is really slow, but anyone could put it in their own interface, or cache the data for all members.
For example, this table interface uses the data:
http://talkera.org.cp-in-1.webhostbox.net/pd/view.php?uid=348910



I do not have that much control of this server to cache it, and run a program every 10min-1hour to update it.  And so, I'm willing to make the code open source-  I'm sure an even greater project will come out of it.  Cool

Is there any svn service these days? I've never been a big fan of git.




 Shocked Shocked Shocked Shocked This is fantastic , goo job ! Very good job .
hero member
Activity: 672
Merit: 508
LOTEO
August 01, 2014, 03:54:41 PM
#48
Update:
I got a lot of code now, some for caching, some for just collecting the data etc.. the project is growing much bigger than I initially thought.

Any user can get their post count in simple JSON format now, for example:
http://talkera.org.cp-in-1.webhostbox.net/pd/src/API.php?uid=348910

The output in this case is
Quote
['July 30',2,0.0008], ['July 27',1,0.0004], ['July 25',6,0.0024], ['July 24',6,0.0024], ['July 23',5,0.002], ['July 21',1,0.0004], ['July 17',1,0.0004], ['July 15',2,0.0008], ['July 14',1,0.0004], ['July 08',1,0.0004], ['July 05',1,0.0004], ['June 30',1,0.0004], ['June 28',1,0.0004], ['June 27',3,0.0012],

The elements are date, posts, btc. The loading time is really slow, but anyone could put it in their own interface, or cache the data for all members.
For example, this table interface uses the data:
http://talkera.org.cp-in-1.webhostbox.net/pd/view.php?uid=348910



I do not have that much control of this server to cache it, and run a program every 10min-1hour to update it.  And so, I'm willing to make the code open source-  I'm sure an even greater project will come out of it.  Cool

Is there any svn service these days? I've never been a big fan of git.


legendary
Activity: 1778
Merit: 1043
#Free market
July 30, 2014, 05:27:32 AM
#47
How did you get the post count per day though? The forum does not supply this information. One way would to view the profile caches per day and get the post count per day, but that would take forever, wouldn't it?

The algorithm uses some tricks to get the post count. The method you mentioned is one possible method, but I'm sure there are many. The method itself doesn't matter to much - as long as the loading time is low and the data is correct. Using a cached version, it would take the user only around half a second to load everything - I guess that's the way satoshi would implement it.  At the moment the code is too messy to make open source, but I might do it later.

Ok, thanks for everything.  we  Expect more news!
hero member
Activity: 672
Merit: 508
LOTEO
July 29, 2014, 08:40:33 PM
#46
How did you get the post count per day though? The forum does not supply this information. One way would to view the profile caches per day and get the post count per day, but that would take forever, wouldn't it?

The algorithm uses some tricks to get the post count. The method you mentioned is one possible method, but I'm sure there are many. The method itself doesn't matter to much - as long as the loading time is low and the data is correct. Using a cached version, it would take the user only around half a second to load everything - I guess that's the way satoshi would implement it.  At the moment the code is too messy to make open source, but I might do it later.
hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
July 29, 2014, 08:29:37 PM
#45
How did you get the post count per day though? The forum does not supply this information. One way would to view the profile caches per day and get the post count per day, but that would take forever, wouldn't it?
hero member
Activity: 672
Merit: 508
LOTEO
July 29, 2014, 08:28:04 PM
#44
Right, the loading time is due to process of fetching the info. I could implement it cached, loading times would be lighting fast, but the post could get off if not updated every 5-10 minutes. I think the most important is correct data, but I'll have a look at it.

Currently only table3.php shows the correct data, http://talkera.org.cp-in-1.webhostbox.net/pd/table3.php?uid=334898 ), the others have to be updated yet, but updates are coming very soon.

All of the requests/suggestions mentioned here will be implemented.

Do you Have  any news @ virtualx  ?''

I'm updating the system on this local machine, this week there will be an update.
I have a lot of prototypes and making much progress

What did you do to make this? How is data pulled from the forum servers?
Well I don't know how he did it exactly, but I did an html_dom, so basically I get text info from your profile page. It finds the post count, username, activity, address, etc. rows for the table, and finds the corresponding data in the next column over. OP, if you want a more accurate fast system I could show you mine, it doesn't take any time to load. Heres my currently working system: http://cryptobets.co/bitcointalkuser.php?id=191301
Thats my id, just replace it with yours after the question mark. Its more of a testing thing I did for a possible future signature campaign, and I could easily add a table or fancy graphics. Although I don't really know how the owner of the system on this thread got post history.

Basically its using an algorithm which takes some time to load. A less detailed view would be much faster, but it would be good for signature campaign users to see the earnings per day. To improve speed the new version will use caching and be updated automatically - say ever hour or 10 minutes - so the loading time from the user side would be very short.

legendary
Activity: 1778
Merit: 1043
#Free market
July 29, 2014, 03:06:48 PM
#43
Right, the loading time is due to process of fetching the info. I could implement it cached, loading times would be lighting fast, but the post could get off if not updated every 5-10 minutes. I think the most important is correct data, but I'll have a look at it.

Currently only table3.php shows the correct data, http://talkera.org.cp-in-1.webhostbox.net/pd/table3.php?uid=334898 ), the others have to be updated yet, but updates are coming very soon.

All of the requests/suggestions mentioned here will be implemented.

Do you Have  any news @ virtualx  ?''
hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
July 27, 2014, 08:43:26 PM
#42
What did you do to make this? How is data pulled from the forum servers?
Well I don't know how he did it exactly, but I did an html_dom, so basically I get text info from your profile page. It finds the post count, username, activity, address, etc. rows for the table, and finds the corresponding data in the next column over. OP, if you want a more accurate fast system I could show you mine, it doesn't take any time to load. Heres my currently working system: http://cryptobets.co/bitcointalkuser.php?id=191301
Thats my id, just replace it with yours after the question mark. Its more of a testing thing I did for a possible future signature campaign, and I could easily add a table or fancy graphics. Although I don't really know how the owner of the system on this thread got post history.
copper member
Activity: 2996
Merit: 2374
July 27, 2014, 08:35:27 PM
#41
What did you do to make this? How is data pulled from the forum servers?
legendary
Activity: 1848
Merit: 1023
I am a good bro
July 26, 2014, 12:08:31 PM
#40
Simple and good graph thanks!
legendary
Activity: 1960
Merit: 1005
July 26, 2014, 11:57:58 AM
#39
Hey,
I just checked my profile there and it is working pretty well.
Stunna can implement this one in the OP so everyone can click and see how much at 17th of every month.
You should PM him with details about your little project and he may decide to put it and even tip you for this Smiley He is very generous.
BR
Gondel
legendary
Activity: 812
Merit: 1002
July 26, 2014, 10:29:46 AM
#38
Pretty neat stuff. Some people already mentioned it, but the balance is off because the start date does not start on the 17th, but rather the 1st.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
July 26, 2014, 01:36:08 AM
#37
This is pretty nice. Maybe you should contact Stunna about this! It would be nice if you could decrease the loading time.

Loading time maybe is issued cuz he probably use some free host that is ok btw.
For other concerns can u make it that any1 from PD can check his earning that will be good only to import his username on forum or something.

And definitely contact Stunna about this this is really unique project.
It should take a while since he have to fetch the info. Speed shouldn't really be at the top priority. I agree this is quite a good source of info to use. Any plans for setting the enrollment date? A good suggestion will be the post count to reset at every 17th of the month.
legendary
Activity: 1484
Merit: 1001
Crypto-News.net: News from Crypto World
July 26, 2014, 01:18:00 AM
#36
This is pretty nice. Maybe you should contact Stunna about this! It would be nice if you could decrease the loading time.

Loading time maybe is issued cuz he probably use some free host that is ok btw.
For other concerns can u make it that any1 from PD can check his earning that will be good only to import his username on forum or something.

And definitely contact Stunna about this this is really unique project.
legendary
Activity: 2198
Merit: 1989
฿uy ฿itcoin
July 26, 2014, 12:17:54 AM
#35
This is pretty nice. Maybe you should contact Stunna about this! It would be nice if you could decrease the loading time.
sr. member
Activity: 266
Merit: 250
July 25, 2014, 09:02:46 PM
#34
Holy shit, this is really cool. Thanks for putting time into making this, I always wanted some tool like this to monitor my progress! One thing I noticed is that it displays my post count higher than it really is.

Which link are you using? only the table (table3.php) shows the latest data, I have to update the others (and the code).


I used the main url, http://talkera.org.cp-in-1.webhostbox.net/pd/?uid=207962.
legendary
Activity: 1596
Merit: 1005
★Nitrogensports.eu★
July 25, 2014, 08:59:16 PM
#33
Loading time is a bit long. And it is just me but this tool shows time of all post, even before I joined PrimeDice campaign. There is a way for only showing some periods? Example this from 17 last month?
Pages:
Jump to: