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

To post messages, you must log in.

AuthorMessage
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6680 - Posted: 23 Mar 2005, 4:05:21 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: 6680 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6688 - Posted: 23 Mar 2005, 17:27:21 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: 6688 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6691 - Posted: 23 Mar 2005, 21:59:03 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: 6691 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6693 - Posted: 23 Mar 2005, 23:28:48 UTC

all colors of the list is now available as background
ID: 6693 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6703 - Posted: 24 Mar 2005, 13:07:49 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: 6703 · Report as offensive     Reply Quote
ric

Send message
Joined: 17 Sep 04
Posts: 190
Credit: 649,637
RAC: 0
Message 6704 - Posted: 24 Mar 2005, 13:46:52 UTC - in response to Message 6703.  
Last modified: 24 Mar 2005, 13:49:24 UTC

Thankyou Bruno!

easy to use and an other nice contribution to the community.

I like this kind of stuff, making the daily boinc roundtrip more "userfriendly"



using now this:


ID: 6704 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6705 - Posted: 24 Mar 2005, 16:44:49 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: 6705 · Report as offensive     Reply Quote
Profile The Ox

Send message
Joined: 2 Sep 04
Posts: 16
Credit: 65,275
RAC: 0
Message 6707 - Posted: 24 Mar 2005, 17:20:58 UTC

Very impressive, Bruno. Thanks for your contributions!

Regards,
Clint

www.clintcollins.org - spouting off at the speed of site
ID: 6707 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6710 - Posted: 25 Mar 2005, 0:16:07 UTC

Just put the translation contribution page online.

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


ID: 6710 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6711 - Posted: 25 Mar 2005, 1:54:01 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: 6711 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6716 - Posted: 26 Mar 2005, 0:21:10 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: 6716 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6729 - Posted: 27 Mar 2005, 2:19:08 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: 6729 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6742 - Posted: 29 Mar 2005, 13:28:43 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: 6742 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6755 - Posted: 30 Mar 2005, 9:50:09 UTC

Fixed the backend as SETI@home changed the reporting so it looked like the scheduler was Unreachable when it wasn't.

Added an RSS news feed. It's available here: http://www.esea.dk/esea/bos_devserv_news.asp


ID: 6755 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 6783 - Posted: 31 Mar 2005, 14:45:04 UTC

Version 0.97
Made some multi language changes:

- Changed the font from build in font to true type Arial. This eliminates alot of character problems
- The image now has dynamic width. It changes if states in a variety of languages are longer then the standard width.
- Added four languages. I will wait adding chinese and russian untill I have conquered a charset problem. I will look into this saturday when the server is offline anyway

Naturally the URL generator is changed accordingly.


ID: 6783 · Report as offensive     Reply Quote
Profile Bruno G. Olsen & ESEA @ greenh...
Avatar

Send message
Joined: 17 Sep 04
Posts: 52
Credit: 247,983
RAC: 0
Message 7047 - Posted: 16 Apr 2005, 22:45:28 UTC

Version 0.99:

Just a small update before the 1.0 release. Added the possibility to add a timestamp to the image. The timestamp displays the time and date of the last BOS update.

I know the development of BOS has been a bit slow lately, but I'm working on other projects also and BOS seems to run pretty stable. Besides, I've been thinking about the scheme for mirroring which looks to become pretty ambitious :)

Well, I just thought it might be nice to have this timestamp, although it looks pretty odd in this version (my opinion). Ok, I still call it alpha ;)


ID: 7047 · Report as offensive     Reply Quote

Message boards : Number crunching : Schedulers online status for websites


©2024 CERN