PDA

View Full Version : team add request



1fast6
04-20-2009, 09:12 PM
hi bok...

please add "The Pirate Fleet" team to your OGR-27 project stats

http://stats.distributed.net/team/tmsummary.php?project_id=27&team=31857

thanks :thumbs:

Bok
04-20-2009, 10:34 PM
Done.

And run manually, so they should propagate to live within the next 1/2 hour or so..

Bok :cheers:

Death
04-21-2009, 04:05 AM
maybe that's a time to add all teams to ogr27? what's the issue?

alpha
04-21-2009, 06:10 AM
Some use password protection to prevent you from seeing the member list for that team.

Bok
04-21-2009, 07:59 AM
Correct.

Plus it's a screen scraping exercise as no files are produced by dnet unfortunately.

Bok

Death
04-23-2009, 04:29 AM
well if can parse one page you can parse them all. it's just a matter of server load.

maybe top 50 teams??

Bok
04-23-2009, 07:06 AM
No way would I crawl the whole lot. Dnet have already said NOT to. With top 50, again I'd hit password protected pages.

I should certainly rewrite the parser to drive from the team list rather than having it based on individual team-id's, it's not just not high on my 'intersting to do' list right now.

Bok

Death
04-24-2009, 10:46 AM
http://lists.distributed.net/pipermail/rc5/2009-April/041674.html

maybe changes on their side, like xml exporting will be better?

Bok
04-24-2009, 11:19 AM
I don't really care what format it is in, as long as it was in single files. Parsing html is not fun and prone to errors anyway.

I've asked a few times for the same thing you are and been knocked back though :(

No reason not to keep trying mind :)

Bok

gopher_yarrowzoo
04-25-2009, 11:38 AM
Yes pity some people don't realize the amount of trouble that others go to in order to update and keep stats running...

Death
04-27-2009, 10:21 AM
Well discussion clarify something

Nuno Rodrigues to D.net
show details Apr 24 (3 days ago)

Reply

I searched the .plans and found this:

http://n0cgi.distributed.net/cgi/dnet-finger.cgi?user=thejet


Thanks to Simon T. we've got another XML export in our stable.
The Participant Summary page is now available as an XML export.
The new page can be reached at:

http://stats.distributed.net/participant/psummary_xml.php

The page takes the following arguments [as query string parameters]:
id = The participant ID
project_id = The project ID [25 == OGR-25, 8 == RC5-72]
show_friends = Include friend statistics in a <friends> element
show_neighbors = Include neighbor statistics in a <neighbors> element

An example can be seen here:
http://stats.distributed.net/participant/psummary_xml.php?id=236831&project_id=25&show_friends=1&show_neighbors=1

Hopefully over the next few weeks/months we'll get a more robust implementation to allow all of our statistics pages to be viewed in XML form, making life much easier for those 3rd party statistics web sites to grab their core data.

Death
04-27-2009, 10:21 AM
and another

The distributed.net stats used to have a "raw output" option that was
designed to make it simpler for web scrapers to pull their stats out
and work with them locally, but most of the raw pages were lost when
we migrated to the "next gen" stats system and have never been
replicated in the "new" codebase (now over five years old, I think).

That said...

http://cvs.distributed.net/viewvc.cgi/stats-html/

...the stats code is open source and if anyone wants to put the time
in to produce xml format output the contribution would be happily
accepted and put into production.

Death
04-27-2009, 10:25 AM
view-source:http://stats.distributed.net/participant/psummary_xml.php?id=469686&project_id=27



<!-- WARNING: This code is experimental and the schema is subject to change at any time -->
<!--
API Documentation:
// Variables Passed in url:
// id == Participant ID
// project_id == Project ID
// show_friends == Show Friend Data
// show_neighbors == Show Neighbor Data
-->
<participant-summary id="469686" project="OGR-27" project-id="27" last-update="26-Apr-2009" >
<name><![CDATA[Alain Kaeslin .COM]]></name>
<motto><![CDATA[]]></motto>
<stats>
<stat name="rank-project" unit="" value="221" change="322"/>
<stat name="rank-project-day" unit="" value="1" change="7" />
<stat name="work-overall" unit="Gnodes" value="670825"/>
<stat name="work-day" unit="Gnodes" value="446509"/>
<stat name="work-first" unit="" value="2009-04-24"/>
<stat name="work-last" unit="" value="2009-04-26"/>
<stat name="days-working" unit="" value="3"/>
</stats>
</participant-summary>


from html stats



Rank Participant First Unit Last Unit Days Gnodes
1(7) Alain Kaeslin .COM 24-Apr-2009 26-Apr-2009 3 446,509

Bok
04-27-2009, 10:48 AM
That's been there for some time. It's only per user though (there is or was a team one too), so does not really help in getting full stats.

It would need to be expanded to do all users and have a teamid on too :)

Bok

Death
04-28-2009, 08:06 AM
http://stats.distributed.net/team/tmsummary_xml.php?team=26268

WHOOOP!

Death
04-28-2009, 08:06 AM
also if you wish you can make some changes in cvs

http://cvs.distributed.net/viewvc.cgi/stats-html/team/

Death
04-28-2009, 08:12 AM
http://stats.distributed.net/team/tmember_xml.php?team=26268

EVEN BETTER!

You can run grabber once for team = 1; i++; i < 100000
and then remove from final list all 404 errors or access denied responces.

Bok
04-28-2009, 08:46 AM
There is no way on earth I would run something to do 100,000 page retrievals from dnet. They would (and rightly so) ban the ip address.

Until they provide a single file for stats, this is just not going to happen.

Bok

Death
04-29-2009, 07:06 AM
okay

There are 338 registered teams.
204 of them submitted work units yesterday.
(2 of them are brand new!)

you can retrieve only 338 xml pages. )))

1fast6
06-02-2009, 10:25 PM
hi bok... one more request to add our RC5-72 team...


http://stats.distributed.net/team/tmsummary.php?project_id=8&team=31857

thanks...

Bok
06-02-2009, 10:56 PM
Done and run,

should show up fairly soon...

Bok :cheers:

1fast6
06-03-2009, 12:01 AM
thanks, much appreciated... :thumbs:

SazanEyes
06-10-2009, 12:05 AM
Please add [H]ard|OCP

http://stats.distributed.net/team/tmsummary.php?project_id=27&team=24958

edit: and add to RC5-72 as well (same number)

Bok
06-10-2009, 06:47 AM
They will show up on tonight's run...

Bok