Schedulers online status for websites

Message boards : Number crunching : Schedulers online status for websites
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 89573 - Posted: 23 Mar 2005, 3:57:03 UTC
Last modified: 23 Mar 2005, 4:01:16 UTC

I thought there would be some website owners out there who wanted to be able to display online status of the boinc projects schedulers.

So I created this little script that does exactly that. It looks like this:



Now, Boinc Online Schedulers (BOS) version 0.3 is pretty much still an alpha version, but it looks to work pretty good.

All that's needed is to make an image tag on the page you want to display it at, like this: <img src="http://83.72.130.163/esea/boincschedulers.php">

It's updated every 5 minutes. Future plans for it includes:

- choice of projects to display
- choice of colors to use


ID: 89573 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 89862 - Posted: 23 Mar 2005, 17:13:37 UTC

<p>New version 0.4</p>
<p>First of all the URL has changed.</p>
<p>And now you can choose which projects to display by selecting the ones you
don't want displayed.</p>
<p><img src=&quot;http://www.esea.dk/esea/boincschedulers.php&quot;>
displays all supported projects like this:</p>
<p> </p>
<p>Parameter list:</p>
<p>SETI@home: seti=no

Predictor@home: pred=no

climateprediction.net: clim=no

LHC@home: lhc=no

Pirates@home: pir=no

Einstein@home: ein=no

BURP: burp=no</p>


ID: 89862 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 89995 - Posted: 23 Mar 2005, 21:56:56 UTC

<p>Version 0.5</p>
<p>You now have two choices of how to choose which projects to display:</p>
<p>1) if you use the no setting on the parameters, you choose not to display those
projects, but any new projects added to the script will automatically be displayed
as well as the current ones you left displayable

2) if you use a yes setting on the parameters, you isplay only those projects
selected - any new projects added to the script will remain hidden</p>
<p>Example:</p>
<p><img src=&quot;http://www.esea.dk/esea/boincschedulers.php&quot;> will
still display all projects supported - like this:</p>
<p> </p>
<p>Please let me know if a color doesn't work - I'll propably make some typo's
here and there.</p>
<p>Next the textcolors will be changable - same color names ;)</p>


ID: 89995 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 90048 - Posted: 23 Mar 2005, 23:37:15 UTC

all colors on the list are now available
ID: 90048 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 90329 - Posted: 24 Mar 2005, 13:00:25 UTC

<p>Version 0.6</p>
<p>Textcolor is now changable.</p>
<p>Parameters:</p>
<p>projectcolor: changes the color of the projects names

onlinecolor: changes the color of the &quot;Online&quot; text

downcolor: changes the color of the &quot;Down&quot; text

unreachcolor: changes the color of the &quot;Unreachable&quot; text</p>
<p>Still the colors are the names from O'Reilly's list.</p>
<p>Example:</p>
<p><img src=&quot;http://83.72.130.163/esea/boincschedulers.php?projectcolor=darkslateblue&backcolor=cornsilk&onlinecolor=skyblue&unreachcolor=indigo&downcolor=gray&quot;>
looks like</p>
<p> </p>
<p>And btw, if you misspell a color name, the script will revert to the standard
color.</p>
<p>Also fixed the height when using the yes value on project parameters.</p>
<p>Next I'll create an URL creator as the URLs can now potentially get tricky
- after that I'll look into direct RGB color changes (dec and hex)</p>


ID: 90329 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 90427 - Posted: 24 Mar 2005, 16:41:38 UTC

Now it's gotten even easier ;)

The URL generator is ready. Next two things on the todo-list is direct hex color choices and transparency color.

But for now take a look at the URL generator - I've tested it during development, but there might be a slip up somewhere.


ID: 90427 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 90581 - Posted: 25 Mar 2005, 0:14:09 UTC

Just put the translation contribution page online.

Please contribute with missing languages - Thank you very much in advance :)


ID: 90581 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 90626 - Posted: 25 Mar 2005, 1:50:31 UTC

<p>Version 0.7</p>
<p>Added the ability to change colors with hexadecimal numbers.</p>
<p>Parameters:

backhex: changes the background

projhex: changes the project names color

onlinehex: changes the Online text colot

downhex: changes the Down text color

unreachhex: changes the Unreachable text color</p>
<p>Example:</p>
<p><img src=&quot;http://www.esea.dk/esea/boincschedulers.php?backhex=aaddff&projhex=aa3311&onlinehex=dd00aa
&unreachhex=2200aa&downhex=aa66aa&quot;>
looks like: </p>
<p> </p>
<p>NOTE: do not use the number char (#)</p>
<p>This has been added to the URL
generator
.</p>


ID: 90626 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 91055 - Posted: 26 Mar 2005, 0:18:46 UTC

Version 0.8

I've begun the multi language capabilities, but it's on an experimental stage still. The languages that have been gracefully contributed has been added, but some characters are not shown proberly as well as long string currently do not make the image wider (that'll come).

But, something that really works is uptime percentages. Yup, I've added the ability to display uptime percentage in addition to scheduler online status, and if you want, you can choose ONLY to display the uptime percentages.

In addition I've added some pages to the URL generator site - so take a look, and try it out ;)


ID: 91055 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 91401 - Posted: 27 Mar 2005, 2:16:06 UTC

<p>Version 0.85</p>
<p>Added the ability to have uptime percentages appended directly to the online
status, so now you can choose between nice coloumns, only a space between status
and percentage, and only percentage.</p>
<p>Added simulated images to the URL generator, so now you can see the colors
of all states, and don't have to wait until a projects goes down or gets unreachable.
There's even a simulated image for the odd occurance that none of the projects
are online ;)</p>
<p>Color names for standard colors have been added to the URL generator. One of
them is not found on O'Reilly's list though. The bosgolden color is one I created
for this image. The other standard text colors weren't on O'Reilly's list either,
so I changed them accordingly for best match.</p>
<p>Added the ability to change the tagline color. This way you can choose a color
for it that doesn't clash with the background color.</p>
<p>Change the URLs generated by the URL generator and added them to the image
script. The URLs will now get shorter. The old URLs you may already use will
still work.</p>
<p>Fixed a stupid bug that made the online status for climateprediction disappear
when not online, and especially if it's down. I didn't know the bug was there
until I saw the simulated images, so they've been a great help for me too ;)</p>
<p>I wanted to do alot more from the Coming up list, but I have to get up early
in the morning.</p>
<p>Well, go to the URL
generator site
for the latest updates ;)</p>
ID: 91401 · Report as offensive
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 13736
Credit: 208,696,464
RAC: 304
Australia
Message 91469 - Posted: 27 Mar 2005, 10:11:40 UTC


Nice work.
:-)
Grant
Darwin NT
ID: 91469 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 91476 - Posted: 27 Mar 2005, 10:59:07 UTC

Yes, it is very nice ...

Thank you for the changes ... and you can see that by giving me the control over it (thank you again) I was able to make the author's credit show up better (antiquewhite) for the light color set that I prefer ...

One more suggestion, you may want to make up some samples of them ... if you are feeling that you cannot do it justice you could ask for help from those that are not art challenged like myself ...
ID: 91476 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 91663 - Posted: 27 Mar 2005, 23:18:49 UTC

Samples would be nice for people wanting to know what it does and can do - words doesn't always paint the pictures in ones mind that would explain it. A page with samples is on it's way :)


ID: 91663 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 91869 - Posted: 28 Mar 2005, 13:16:24 UTC - in response to Message 91663.  

> Samples would be nice for people wanting to know what it does and can do -
> words doesn't always paint the pictures in ones mind that would explain it. A
> page with samples is on it's way :)

Yes I saw that ... used it to "tweak" my values ... Thanks ...

NEW REQUEST

Can we have the projects sorted by name?
ID: 91869 · Report as offensive
Metod, S56RKO
Volunteer tester

Send message
Joined: 27 Sep 02
Posts: 309
Credit: 113,221,277
RAC: 9
Slovenia
Message 91883 - Posted: 28 Mar 2005, 13:56:12 UTC
Last modified: 28 Mar 2005, 13:56:52 UTC

Great gadget ;)

I have an extension to Paul's request: in the yes mode, could the parameter sequence be preserved in the listing? This way every user could sort the projects according to her/his own preferences (as much as I support yours :) ).
Metod ...
ID: 91883 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 91887 - Posted: 28 Mar 2005, 14:06:02 UTC - in response to Message 91883.  
Last modified: 28 Mar 2005, 14:06:20 UTC

> Great gadget ;)

Yes it is!

> I have an extension to Paul's request: in the yes mode, could the
> parameter sequence be preserved in the listing? This way every user could sort
> the projects according to her/his own preferences (as much as I support yours
> :) ).

I could not think of any other sorts that made sense, but you are correct, the order should be customizable (if possible) ...

Sort=Alpha or sort=random or sort=???
ID: 91887 · Report as offensive
Metod, S56RKO
Volunteer tester

Send message
Joined: 27 Sep 02
Posts: 309
Credit: 113,221,277
RAC: 9
Slovenia
Message 91889 - Posted: 28 Mar 2005, 14:11:50 UTC - in response to Message 91887.  

> > I have an extension to Paul's request: in the yes mode, could the
> > parameter sequence be preserved in the listing? This way every user could
> sort
> > the projects according to her/his own preferences (as much as I support
> yours
> > :) ).
>
> I could not think of any other sorts that made sense, but you are correct, the
> order should be customizable (if possible) ...
>
> Sort=Alpha or sort=random or sort=???

If you take a look at my signature graphics you can imagine that I'm only interested in 3 projects. The order is not that important, but I do have my preferences (not all projects get the same amount of CPU time).

For example, I'd like to use the following URL:

http://www.esea.dk/esea/boincschedulers.php?clim=y&seti=y&ein=y&bck=white&prj=black&unr=gold&apc

And I would like to see the projects in the resulting image in selected order:

CPDN
SETI@home
Einstein@home

Heck, I'd like the project names be the same as are used in Boincstats signature image ... but now I'm already pushing it :)
Metod ...
ID: 91889 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 92052 - Posted: 28 Mar 2005, 23:00:19 UTC

Paul and Metod:

Actually I chose the sorting with the criteria "first up, first on" ;) A request from Pirates to switch between Pirates and Einstein resulted in the current order, as Pirates is the "helper project" of Einstein ;)

As I may be wrong in the current order (I'm not so sure which came first, CPDN or Prdictor), it would be nice to have user defined order, like the ones the two of you have suggested.

I think the first implementation of this would be where the url parameters would be &soa for alphabetical and &so[0]=cpdn&so[1]=seti etc. hmm. come to think of it, I'll propably wait a bit with the user defined sort order - it would need some changes to the URL generator that are a bit more complex than other additions/changes I have made.

Metod:

Well, if the project names should be different, I'd rather have them to be user defined with an array of choices for each project ;) But this could actually make it fit even better into a web page, by using the same project names as the rest of the site - making the users of the web site less confused :)


ID: 92052 · Report as offensive
Profile [HWU] GHz & CO. - BOINC.Italy
Volunteer tester
Avatar

Send message
Joined: 1 Jul 02
Posts: 139
Credit: 1,466,611
RAC: 0
Italy
Message 92160 - Posted: 29 Mar 2005, 4:09:14 UTC
Last modified: 29 Mar 2005, 4:30:28 UTC

Great work bruno! Very nice and useful!

I've insert the BOS in my site: http://boinc.altervista.org

I've posted the italian language :)
GHz
BOINC.Italy
ID: 92160 · Report as offensive
Profile Bruno G. Olsen & ESEA @ greenholt
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 875
Credit: 4,386,984
RAC: 0
Denmark
Message 92300 - Posted: 29 Mar 2005, 13:25:18 UTC

Version 0.93:

Added background transparency. As the image is .png this might not work in all -internet Explorer versions.

Fixed a bug that made the image display the uptime percentage of Pirates@home as the uptime percentage for BURP in some cases.

Added links page to URL generator site.

Added background image to URL generator so that you can see how transparency works.


ID: 92300 · Report as offensive
1 · 2 · Next

Message boards : Number crunching : Schedulers online status for websites


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.