Welcome to MilkyWay@home

Special Contribution Badge


Advanced search

Message boards : Number crunching : Special Contribution Badge
Message board moderation

To post messages, you must log in.

AuthorMessage
ProfileBok

Send message
Joined: 29 Aug 07
Posts: 12
Credit: 3,164,814
RAC: 0
3 million credit badge10 year member badge
Message 61582 - Posted: 22 Apr 2014, 13:10:08 UTC

Any chance you could create a simple xml/csv/txt file containing the id's of users who have the special contribution badge so it can be displayed in external sites? I'd rather not have to scrape individual pages to get the data if at all possible.

Thanks!
ID: 61582 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rick A. Sponholz
Avatar

Send message
Joined: 17 Mar 10
Posts: 7
Credit: 96,925,283
RAC: 1
50 million credit badge9 year member badgeextraordinary contributions badge
Message 61695 - Posted: 5 May 2014, 20:05:03 UTC

To whom it may concern,
Bok's inquiry, was at my request. I would like to display my Milky Way contribution badge, as part of my signature from Free-DC. Bok needs the info in order to display it on his website, and I need it there, to get as part of my signature. Please consider our request. Thanks in advance for your prompt attention, Col. Rick A. Sponholz
ID: 61695 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jeffery M. Thompson
Volunteer moderator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 23 Sep 12
Posts: 156
Credit: 12,997,107
RAC: 0
10 million credit badge6 year member badge
Message 61696 - Posted: 5 May 2014, 23:41:58 UTC - in response to Message 61582.  

I am pointing the MilkyWay team to the thread.
I think we may need to ask for any objections from the team and users and may need to reword some things on the donation page though it is scrapable data as is so maybe not. As for implementation it shouldn't be difficult it is just a simple db query to get the info.


Jeff Thompson
ID: 61696 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rick A. Sponholz
Avatar

Send message
Joined: 17 Mar 10
Posts: 7
Credit: 96,925,283
RAC: 1
50 million credit badge9 year member badgeextraordinary contributions badge
Message 61697 - Posted: 6 May 2014, 0:38:47 UTC - in response to Message 61696.  

I am pointing the MilkyWay team to the thread.
I think we may need to ask for any objections from the team and users and may need to reword some things on the donation page though it is scrapable data as is so maybe not. As for implementation it shouldn't be difficult it is just a simple db query to get the info.


Jeff Thompson


Jeff,
Thanks for your quick response, and your thoughtful consideration. Rick
ID: 61697 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jeffery M. Thompson
Volunteer moderator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 23 Sep 12
Posts: 156
Credit: 12,997,107
RAC: 0
10 million credit badge6 year member badge
Message 61716 - Posted: 12 May 2014, 19:13:14 UTC

So there are some different ways this can be done.
Trying to figure out where to plug it in.

If I get this correctly Bok wants all users with this flag set to true.
And you need it as information when you query your current user id.

So there are two distinct features around the badge status being requested?

Jeff Thompson


ID: 61716 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileBok

Send message
Joined: 29 Aug 07
Posts: 12
Credit: 3,164,814
RAC: 0
3 million credit badge10 year member badge
Message 61719 - Posted: 13 May 2014, 14:10:16 UTC

All I really need is a some type of file csv/xml/json/other containing a list of userid's who have the special contribution badge. Updated daily would be enough. I would script something to pull the file and parse, storing the list of id's in one of my tables.

It could be added to the standard boinc xml user file too, but I suspect this would be more trouble than it's worth.

ID: 61719 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilearkayn
Avatar

Send message
Joined: 14 Feb 09
Posts: 999
Credit: 74,932,619
RAC: 0
50 million credit badge10 year member badge
Message 61730 - Posted: 19 May 2014, 14:39:44 UTC - in response to Message 61719.  

All I really need is a some type of file csv/xml/json/other containing a list of userid's who have the special contribution badge. Updated daily would be enough. I would script something to pull the file and parse, storing the list of id's in one of my tables.

It could be added to the standard boinc xml user file too, but I suspect this would be more trouble than it's worth.



Not for Dr A. He just included logic to export the badges with the stats dump.

Dr David Anderson wrote:
I added code to db_dump.cpp (the program that creates XML statistics files)
to generate badge info, namely:

- tables.xml now includes a list of the badges defined by the project
(including the URL of the associated image file)
- badge_user.gz (new file) is a list of user badge assignments
- badge_team.gz (new file) is a list of team badge assignments.

Projects that use badges: please update db_dump.cpp when convenient,
let me know if the new data looks correct,
and let us know (on the boinc_projects email list) when your
project supports this.

Statistics sites: once a few projects have done the above,
please consider adding display of badges to your sites.

ID: 61730 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jeffery M. Thompson
Volunteer moderator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 23 Sep 12
Posts: 156
Credit: 12,997,107
RAC: 0
10 million credit badge6 year member badge
Message 61731 - Posted: 19 May 2014, 15:35:34 UTC

I was discussing this on the boinc developers list they have now included it in the code base.
It will still need to be modified to work with the way we do badges but hopefully as this gets processed out in the mix it will be in a standard format for aggregation sites so that the processing is minimal at all points in the process.



Jeff
ID: 61731 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileBok

Send message
Joined: 29 Aug 07
Posts: 12
Credit: 3,164,814
RAC: 0
3 million credit badge10 year member badge
Message 61739 - Posted: 20 May 2014, 12:48:45 UTC

yes, I saw the mail about it. Still curious to see this, given it hasn't even been implemented at SETI@Home (or their beta site).

I already do badges for almost every other project which does them. Given most are credit badges or RAC based, that's easy enough to implement with the values that come out of the standard xml files anyway and until all the projects adopt this code I can't change it. And for those projects which offer individual subproject data (PrimeGrid, Yoyo@Home, NFS@Home etc) where they give badges by subproject they can't adopt this code at all.

But it should work here. I'll watch out for it in the exports.
ID: 61739 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rick A. Sponholz
Avatar

Send message
Joined: 17 Mar 10
Posts: 7
Credit: 96,925,283
RAC: 1
50 million credit badge9 year member badgeextraordinary contributions badge
Message 61841 - Posted: 6 Jun 2014, 1:22:11 UTC

Jeff,
Any idea when Milky Way will provide the extraordinary Contribution info into the feeds for our badge signatures? I would appreciate anything you could do to expedite it. That badge is way too cool to go unnoticed. I think the visibility of the badge could get you additional contributions.
Thanks in advance,
Col. Rick A. Sponholz
ID: 61841 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jeffery M. Thompson
Volunteer moderator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 23 Sep 12
Posts: 156
Credit: 12,997,107
RAC: 0
10 million credit badge6 year member badge
Message 61843 - Posted: 6 Jun 2014, 3:03:24 UTC

No direct timeline.
I am organizing some maintenance on the server before I change the server code.
Also the way we do badges needs me to change the code of what David Anderson did a bit though I have a plan, I need to test it. So my timeline is within this month but there are other mission critical pieces we are working on.
Also most of the coding is trying to get GPU for N-body live.

Sorry I know this isn't a direct answer but I want it done also, though I may be able to get the new guy to do bits of it ;).

So I am hoping for this month but I can't write it in stone.

Jeff
ID: 61843 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
ProfileBok

Send message
Joined: 29 Aug 07
Posts: 12
Credit: 3,164,814
RAC: 0
3 million credit badge10 year member badge
Message 61845 - Posted: 6 Jun 2014, 13:33:00 UTC

Rick,

I did a manual addition in my database for your badge.

Bok
ID: 61845 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Rick A. Sponholz
Avatar

Send message
Joined: 17 Mar 10
Posts: 7
Credit: 96,925,283
RAC: 1
50 million credit badge9 year member badgeextraordinary contributions badge
Message 61846 - Posted: 6 Jun 2014, 13:56:59 UTC - in response to Message 61843.  

No direct timeline.
I am organizing some maintenance on the server before I change the server code.
Also the way we do badges needs me to change the code of what David Anderson did a bit though I have a plan, I need to test it. So my timeline is within this month but there are other mission critical pieces we are working on.
Also most of the coding is trying to get GPU for N-body live.

Sorry I know this isn't a direct answer but I want it done also, though I may be able to get the new guy to do bits of it ;).

So I am hoping for this month but I can't write it in stone.

Jeff


Thanks for the update Jeff. It's easier to be patient when you know someone at least wants it done too. Regards, Rick
ID: 61846 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jeffery M. Thompson
Volunteer moderator
Project developer
Project tester
Project scientist
Avatar

Send message
Joined: 23 Sep 12
Posts: 156
Credit: 12,997,107
RAC: 0
10 million credit badge6 year member badge
Message 61924 - Posted: 20 Jun 2014, 15:02:37 UTC

Travis has implemented a version that works with our form of the badges.
I am still looking at this implementation. Let us know if it works or not.


From Travis,


Hi Everyone,

I’ve updated:

/boinc/milkyway/html/inc/xml.inc

to include

/boinc/milkyway/user/display_badges.php

and updated the show_user_xml function to also add information about user badges. See:

http://milkyway.cs.rpi.edu/milkyway/show_user.php?userid=1&format=xml

I’ve also created a script which will export the badges, you can find it in:

/boinc/milkyway/html/ops/export_badges.php

This will write badges to:

/boinc/milkyway/download/badges.xml

Once a day, as I’ve updated the config.xml file to run it daily as a task.

______________________________________________________________________________________

Jeff
ID: 61924 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Special Contribution Badge

©2019 Astroinformatics Group