Bitcoin Forum
November 16, 2024, 10:03:53 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 »  All
  Print  
Author Topic: [PrimeDice] Track Your Earnings!  (Read 4535 times)
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2996
Merit: 2374


View Profile
July 28, 2014, 01:35:27 AM
 #41

What did you do to make this? How is data pulled from the forum servers?

★ ★ ██████████████████████████████[█████████████████████
██████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████
★ ★ 
williamj2543
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
July 28, 2014, 01:43:26 AM
 #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.

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
redsn0w
Legendary
*
Offline Offline

Activity: 1778
Merit: 1043


#Free market


View Profile
July 29, 2014, 08: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  ?''
virtualx (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 508


LOTEO


View Profile
July 30, 2014, 01:28:04 AM
 #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.


...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
williamj2543
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
July 30, 2014, 01:29:37 AM
 #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?

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
virtualx (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 508


LOTEO


View Profile
July 30, 2014, 01:40:33 AM
 #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.

...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
redsn0w
Legendary
*
Offline Offline

Activity: 1778
Merit: 1043


#Free market


View Profile
July 30, 2014, 10: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!
virtualx (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 508


LOTEO


View Profile
August 01, 2014, 08: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.



...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
redsn0w
Legendary
*
Offline Offline

Activity: 1778
Merit: 1043


#Free market


View Profile
August 01, 2014, 09: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 .
zhinkk
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
August 01, 2014, 10: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.
virtualx (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 508


LOTEO


View Profile
August 01, 2014, 10: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

...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
August 02, 2014, 05: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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
virtualx (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 508


LOTEO


View Profile
August 05, 2014, 08:55:42 PM
 #53


The site should be some faster now, in addition you can see more detailed statistics.

Default page:
http://talkera.org.cp-in-1.webhostbox.net/pd3/

Table:
http://talkera.org.cp-in-1.webhostbox.net/pd3/?uid=211419

JSON data:
http://talkera.org.cp-in-1.webhostbox.net/pd3/src/API.php?uid=211419



...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
redsn0w
Legendary
*
Offline Offline

Activity: 1778
Merit: 1043


#Free market


View Profile
August 05, 2014, 08:58:33 PM
 #54


The site should be some faster now, in addition you can see more detailed statistics.

Default page:
http://talkera.org.cp-in-1.webhostbox.net/pd3/

Table:
http://talkera.org.cp-in-1.webhostbox.net/pd3/?uid=211419

JSON data:
http://talkera.org.cp-in-1.webhostbox.net/pd3/src/API.php?uid=211419




Oh , very nice work .. give me your btc address I will send you a small donation !
redsn0w
Legendary
*
Offline Offline

Activity: 1778
Merit: 1043


#Free market


View Profile
August 05, 2014, 09:06:33 PM
 #55

Wow, thanks!  Cheesy

My address is
125tQCeg89h8d3ccgBsipbjGUJpqx4c3H1

(just to be sure of the address, current balance is 0.000755 BTC)

A small donation sent , thank you for this " web-tool" .
BitCoinDream
Legendary
*
Offline Offline

Activity: 2394
Merit: 1216

The revolution will be digital


View Profile
August 05, 2014, 09:39:00 PM
 #56

The following link is not opening at my end...

http://talkera.org.cp-in-1.webhostbox.net/pd3/?uid=211419

U might like to host a mirror of it for free using this service => https://bitcointalk.org/index.php?topic=617213.0


redsn0w
Legendary
*
Offline Offline

Activity: 1778
Merit: 1043


#Free market


View Profile
August 05, 2014, 09:45:13 PM
 #57

The following link is not opening at my end...

http://talkera.org.cp-in-1.webhostbox.net/pd3/?uid=211419

U might like to host a mirror of it for free using this service => https://bitcointalk.org/index.php?topic=617213.0



You have just to wait  1 minute Wink .. for me work !
bigasic
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000



View Profile
August 05, 2014, 09:55:03 PM
 #58

i cant seem to get it to work, i have a mac... any advice?
virtualx (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 508


LOTEO


View Profile
August 05, 2014, 10:05:57 PM
 #59

i cant seem to get it to work, i have a mac... any advice?

might be some browser issue, does http://talkera.org.cp-in-1.webhostbox.net/pd3/src/API.php?uid=348910 work for you?

It should show something like this
Quote
['',5,0.002], ['August 01',2,0.0008], ['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],

...loteo...
DIGITAL ERA LOTTERY


r

▄▄███████████▄▄
▄███████████████████▄
▄███████████████████████▄
▄██████████████████████████▄
▄██  ███████▌ ▐██████████████▄
▐██▌ ▐█▀  ▀█    ▐█▀   ▀██▀  ▀██▌
▐██  █▌ █▌ ██  ██▌ ██▌ █▌ █▌ ██▌
▐█▌ ▐█ ▐█ ▐█▌ ▐██  ▄▄▄██ ▐█ ▐██▌
▐█  ██▄  ▄██    █▄    ██▄  ▄███▌
▀████████████████████████████▀
▀██████████████████████████▀
▀███████████████████████▀
▀███████████████████▀
▀▀███████████▀▀
r

RPLAY NOWR
BE A MOON VISITOR!
[/center]
DannyElfman
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
August 05, 2014, 10:07:56 PM
 #60

Very cool gadget! Will keep using it in the future.

This spot for rent.
Pages: « 1 2 [3] 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!