PDA

View Full Version : New Signatures



Bok
10-21-2009, 04:05 PM
Probably a lot of people don't know about the BOINC only signatures. You do NOT need to configure these with statstool at all as they are based off of your CPID (Cross-Project ID). I've just reconfigured some of them to be a little more flexible..

cpidtaga.php has columns for score, today's score and project rank
cpidtagb.php does away with the today's score.

Both of them take the following options
cpid=x where x is something like c843714b32e467b97d2571d1af9971f8 (mine_ which can be found on any of your boinc project home pages, or on the stats site.
cols=y (how many columns you want to show which will control height and widch)
theme=z(1-17 are defined) - these have custom pictures and also allow for various colors on the fonts - feel free to ask for a new one if you give me a picture..
limit=a (where a limits how many projects are displayed)

example 1 (theme=13, cols=3 for me)
{img}http://stats.free-dc.org/cpidtaga.php?cpid=c843714b32e467b97d2571d1af9971f8&theme=13&cols=3{/img}
you would change the bracket type to get to work.

http://stats.free-dc.org/cpidtaga.php?cpid=c843714b32e467b97d2571d1af9971f8&theme=13&cols=3

example 2 (cpidtagb with cols=5 and theme=17)
{url}http://stats.free-dc.org/cpidtagb.php?cpid=c843714b32e467b97d2571d1af9971f8&theme=17&cols=4{/url}
http://stats.free-dc.org/cpidtagb.php?cpid=c843714b32e467b97d2571d1af9971f8&theme=17&cols=4

Bok

LAURENU2
10-21-2009, 08:18 PM
HELP I have info overload :hair:

That's a mighty BIG Sig you have there Bok

If I did Not Know Better I would think you were saying My Sig Is Bigger then Your Sig:lmao:

outlnder
10-22-2009, 02:54 AM
I think I got it.

Looks good, right?

Bok
10-22-2009, 07:00 AM
you need more projects :p

zombie67
10-23-2009, 12:02 AM
Awesome stuff. How about one more without the project rank? Just project and credits. I am trying to get to a 4 column that is still narrow.

Shish
10-23-2009, 02:51 AM
I would like fully automated (computerised? :blush:) don't need to do nuttin, not even ticky boxes, don't even ask, but 2 separate sets of active/inactive, sigs display. :eek::D. Too much choice makes Bok tired boy=nae guid!:thumbs::idea::D

gopher_yarrowzoo
10-23-2009, 04:34 AM
Shish it didn't really take much to do that just moving some of the code that was fixed so it can be changed by us nothing difficult that and cleaning up the code since I did the original of it so it looks neater.. Zombie we'll see what we can do..
Bok time to clean up the filespace it's going to get crowded again :p

Shish
10-23-2009, 05:07 AM
OK mate. If it's easy as Momma's Tennessee Whiskey and Apple Pie, "Guaranteed to make the kids stop crying", I want your scrips to coombe the stats and owt Ah've have ever had a result in added to my sig, provided it doesn't make my sig as small as M$ Win7 code! That's wot I call clean up and code for your life (or not, whatever turns you on or around the Wright way) and automated or in modern parlance....COMPOOTEREYESED! :crazy::thumbs::lmao:

Bok
10-23-2009, 07:25 AM
Awesome stuff. How about one more without the project rank? Just project and credits. I am trying to get to a 4 column that is still narrow.

sure, try cpidtagc.php same options

http://stats.free-dc.org/cpidtagc.php?cpid=c843714b32e467b97d2571d1af9971f8&theme=15&cols=4

zombie67
10-23-2009, 10:44 AM
sure, try cpidtagc.php same options

Perfect!

I note a couple of the projects name are so long, they overlap the scores. Perhaps the names could be shortened to "ORE" and "DRTG"?

http://stats.free-dc.org/cpidtagc.php?cpid=0a7b8378436fdcaef549d87e35f26480&theme=1&cols=4

Bok
10-23-2009, 12:06 PM
I tweaked it a bit more. I'm just substringing those values as they are used elsewhere too.

Still probably needs a few more tweaks once I see different setups..

Bok

gopher_yarrowzoo
10-23-2009, 03:15 PM
Yeah see ask and you shall receive..

Bok
10-23-2009, 03:52 PM
cpidtagd.php contains fixed width font on the scores and I've right-aligned them..removed the headings too as they didn't make too much sense with only one column.

http://stats.free-dc.org/cpidtagd.php?cpid=c843714b32e467b97d2571d1af9971f8&theme=15&cols=4

Shish
10-23-2009, 04:14 PM
Bok and Gopher.
Sorry for the unmeant really sarcasm. You both are too good to us.

Bok
10-23-2009, 04:27 PM
never took offence mate, I'm from your neck o' the woods remember :)

Bok
10-23-2009, 04:35 PM
It's actually still not quite right, I need to rework the code a little in order to calculate the width more accurately..

Right now, I'm calculating the 'width' of the top score of each column in order to right-align them all within column and have identical spaces between the score and the next column, but unfortunately it's after I've already created the image, so I can't use that to calculate the width. So it's a (pretty good) approximation right now with some calculated offsets.. but not perfect.

It can be broken by setting cols= too high

I'll correct it later.

Bok

gopher_yarrowzoo
10-23-2009, 04:43 PM
hmm yeah well could move the loading of the scores before "making" the image?

Bok
10-23-2009, 04:47 PM
That's the general idea yeah, just needs a bit of rework, not that difficult.

gopher_yarrowzoo
10-23-2009, 05:57 PM
:d

zombie67
10-24-2009, 09:56 PM
It's actually still not quite right, I need to rework the code a little in order to calculate the width more accurately..

Right now, I'm calculating the 'width' of the top score of each column in order to right-align them all within column and have identical spaces between the score and the next column, but unfortunately it's after I've already created the image, so I can't use that to calculate the width. So it's a (pretty good) approximation right now with some calculated offsets.. but not perfect.

It can be broken by setting cols= too high

I'll correct it later.

Bok

I notice that there is a lot of empty vertical empty space in the "total" section. Can that be squeezed at all?

Bok
10-25-2009, 06:54 PM
It can, was going to do that friday but ran out of time.. will do it tomorrow.

frmky
10-31-2009, 02:11 PM
Bok,

I'm the admin over at NFS@Home. We've had a request (http://escatter11.fullerton.edu/nfs/forum_thread.php?id=40) for a NFS@Home project signature like those for yoyo@home and PrimeGrid. However, we only have 3 different applications, and only 2 of those, lasievee and lasievef, are really used. The third is there only for very rare occasions. Are you interested in doing one for a project running only 2 applications?

Greg

Bok
10-31-2009, 03:41 PM
Certainly, I'd love to but I don't see any data on the breakdown of different projects over at NFS@home?

You need to be exporting subproject data like PrimeGrid (http://www.primegrid.com/stats/) and Yoyo do so I can track it at that level... check that link and see the user_work.gz file primegrid produces.

Do you want me to get in touch with the admin over at Yoyo@Home and get you in touch so he can describe how he does the subproject data ?

It's basically a few new tables on your side and some hooks in the assimilator to updated them, then a change to export the raw data.

Bok

frmky
10-31-2009, 05:47 PM
Ah, I see. I have yoyo's contact info, but think I'll hold off on that for a while on the hope that WCG (https://secure.worldcommunitygrid.org/forums/wcg/viewthread_thread,26299_offset,0) does get to it in 1Q2010. Thanks!

Bok
11-01-2009, 08:38 AM
I don't think whatever WCG does will make it into BOINC base though (no matter how much I try!)

From what I know of what Yoyo implemented it's fairly simple..