• Crypto Sex Toys - PPC Adult Mega Store - 1000's of products, Same Day Dispatch, Fleshlights!
  • Advertise here for 1 PPC per day
  • Escrow for your PPC (Peercoin) Trades. Fuzzy Escrow Service 1% fee
  • Limited Edition - Physical Primecoins and Peercoins! - Each is 1 Troy Ounce of .999 Fine Silver - Available with other merchandise only at FiniteByDesign.com
  • Print

Author Topic: Sys beeeeer.org stats  (Read 2451 times)

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #30 on: October 04, 2013, 08:23:18 am »
Confirmed, its hitting a timeout, looking into it right now.

Update 1:
The summarie seems to be counting fine though, its just the details view...

Update 2:
Fixed, Xolo messed up the block output a bit xD
« Last Edit: October 04, 2013, 09:48:11 am by Sy »
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 291
  • Karma: +24/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: Sys beeeeer.org stats
« Reply #31 on: October 04, 2013, 12:21:21 pm »
i'll provide you a serepate JSON interface asap
so you don't have to parse the html garbage
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #32 on: October 04, 2013, 12:53:04 pm »
Quote from: xolokram on October 04, 2013, 12:21:21 pm
i'll provide you a serepate JSON interface asap
so you don't have to parse the html garbage

That would be awesome :)no rush over the weekend though, im outa town.
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 291
  • Karma: +24/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: Sys beeeeer.org stats
« Reply #33 on: October 04, 2013, 02:13:42 pm »
ok here's the "new" interface:
just add /raw to the url, e.g.
http://www.beeeeer.org/raw/payouts
http://www.beeeeer.org/raw/blocks
http://www.beeeeer.org/raw/block/193476
http://www.beeeeer.org/raw/payout/189813

glhf
try to point all your scripts to these URLs now

- xolokram
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #34 on: October 04, 2013, 02:40:47 pm »
Quote from: xolokram on October 04, 2013, 02:13:42 pm
ok here's the "new" interface:
just add /raw to the url, e.g.
http://www.beeeeer.org/raw/payouts
http://www.beeeeer.org/raw/blocks
http://www.beeeeer.org/raw/block/193476
http://www.beeeeer.org/raw/payout/189813

glhf
try to point all your scripts to these URLs now

- xolokram

Nice but im on the jump to a wedding, will change saturday / monday - thanks in advance, looking good!

Update 1:
Sweet, this is WAY faster!

Update 2:
Changed my codebase to the new URLs and added caching, updating right now - will work on database integration over this week...i think  ;D

Update 3:
And running again
« Last Edit: October 07, 2013, 09:31:04 am by Sy »
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #35 on: October 07, 2013, 10:05:12 am »
Done with the old version, added some server stats at the bottom.

Update 15:26
Haha done with the basic database insert
Quote
Foreach done in 1269.29ms, added 596,219 rows.
« Last Edit: October 07, 2013, 02:27:25 pm by Sy »
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 291
  • Karma: +24/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: Sys beeeeer.org stats
« Reply #36 on: October 07, 2013, 05:25:50 pm »
Hi Sy,

a user named "topnetdeal" (see http://ppcointalk.org/index.php?topic=501.msg4613#msg4613 ) showed me, that your stats page is not using/parsing the correct values.

from the block information pages (JSON objects), you should use the "reward" field, not the "amount" field. as the "reward" field is the value of the found block minus the pool fee.

also: do you use rounded values to calculate the payouts with your own script?!?

- xolokram
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #37 on: October 07, 2013, 05:31:57 pm »
Quote from: xolokram on October 07, 2013, 05:25:50 pm
Hi Sy,

a user named "topnetdeal" (see http://ppcointalk.org/index.php?topic=501.msg4613#msg4613 ) showed me, that your stats page is not using/parsing the correct values.

from the block information pages (JSON objects), you should use the "reward" field, not the "amount" field. as the "reward" field is the value of the found block minus the pool fee.

also: do you use rounded values to calculate the payouts with your own script?!?

- xolokram

I round them at output, not for calculations - for payout i take block->  payout -> address , not payout -> add -> address - i'll look into it in v2 with database support, its so much faster :D
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 291
  • Karma: +24/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: Sys beeeeer.org stats
« Reply #38 on: October 07, 2013, 05:34:21 pm »
ok, then there's something else 'wrong'

/edit:
i'm really confused, when you check my page:
block -> payout is the same as payout -> add
payout -> prev is the same as (payout - 1) -> next
and
payout -> next is the same as (payout -> prev) + (payout -> add) (for all users that are not over the 3.01 payout barrier)

or am i missing something???

but this is not what you can see on your web frontend.
« Last Edit: October 07, 2013, 05:53:05 pm by xolokram »
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 291
  • Karma: +24/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: Sys beeeeer.org stats
« Reply #39 on: October 07, 2013, 07:03:12 pm »
sorry for the double post

you're counting the orphaned blocks as valid blocks. but their value is 0 as you can see in the payout info.
(the reward is not updated in the block info page once the confirmations are checked, it's only visible in the payout info)

i'm sorry if there was a mistunderstanding regarding the block/payout information.

- xolokram
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #40 on: October 08, 2013, 07:11:41 am »
Quote from: xolokram on October 07, 2013, 05:34:21 pm
ok, then there's something else 'wrong'

/edit:
i'm really confused, when you check my page:
block -> payout is the same as payout -> add
payout -> prev is the same as (payout - 1) -> next
and
payout -> next is the same as (payout -> prev) + (payout -> add) (for all users that are not over the 3.01 payout barrier)

or am i missing something???

but this is not what you can see on your web frontend.

It's possible that they are the same, i didnt check, just told where i take the values from :)

I'll most likely fix it today, original script is almost (or sometimes) at 30s runetime limit for first creation so it's about time :)
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #41 on: October 08, 2013, 08:43:41 am »
DB switch mostly done, it's glitching from time to time when things don't work on the webserver that where fine on my local machine - just wait a few minutes and reload.

Can someone please verifiy that the values are correct? It's definately not counting orphans (anymore? ^^)

Highscore added, cache valid 1h
5 min vor every other page

Update:
I've got 362 cache files, that's around 90 users if everyone visited the 4 available pages and not a single feedback post? come on...

Update 2:
I've set the sites refreshtimer to cachetime + 1 second so you never have to reload the page, just keep it open.
« Last Edit: October 08, 2013, 03:40:52 pm by Sy »
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 291
  • Karma: +24/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: Sys beeeeer.org stats
« Reply #42 on: October 09, 2013, 08:42:45 am »
i like the highscore page :)
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

Offline Sy

  • Sr. Member
  • ****
  • Posts: 108
  • Karma: +9/-0
    • View Profile
Re: Sys beeeeer.org stats
« Reply #43 on: October 09, 2013, 08:46:14 am »
Quote from: xolokram on October 09, 2013, 08:42:45 am
i like the highscore page :)

Haha i'm wondering who the top #3 are, im still on the page but moving down slowly -.-  ;D

Payment Database is at roughly 700k entries now ^^
cgminer Monitoring
beeeeer.org stats

XPM: AePRWBYdhAyURqBTeiACUoMRryjQhu5Sx3

Offline xolokram

  • Sr. Member
  • ****
  • Posts: 291
  • Karma: +24/-1
  • beeeeer.org
    • View Profile
    • beeeeer.org - XPM Mining Pool
Re: Sys beeeeer.org stats
« Reply #44 on: October 09, 2013, 08:49:36 am »
How many blocks are shown at the "Show payout details" page?
beeeeer.org --- I DON'T RECOMMEND GROM'S MINER
BTC: 1S4kxaF4ro17qThUz4hQwAoiXzCWdzwdb
LTC: LMgYASNbAgGUG6fhw1xdMAWSbMiWjNNGgo
XPM: AJhA1PGbNM94ZmsJvVVM5FfbE9SdxiMzgd

  • Print