Question for coders

Message boards : Number crunching : Question for coders
Message board moderation

To post messages, you must log in.

AuthorMessage
Pathogen

Send message
Joined: 17 May 99
Posts: 34
Credit: 13,549
RAC: 0
United States
Message 15345 - Posted: 11 Aug 2004, 5:52:16 UTC
Last modified: 11 Aug 2004, 6:08:10 UTC

I'm thinking about making a Java front-end for Seti BOINC for OS X. Looking in state.sah, I see most of the data I need for display-- except for the current user total credit, work unit cpu time and the like. I found that info, or at least where they should be, in init_data.xml and also in client_state.xml. Trouble is, as you can see below, only one tag has a value other than zero. Does anyone have an idea why this is the case and also for , what is the unit of measurement, seconds?

Thanks in advance!

wu_cpu_time>4461.470000 /wu_cpu_time>
user_total_credit>0.000000 /user_total_credit>
user_expavg_credit>0.000000 /user_expavg_credit>
host_total_credit>0.000000 /host_total_credit>
host_expavg_credit>0.000000 /host_expavg_credit>


NOTE: Please disregard the subsequent posts (marked "Disregard") on this topic. This is the only valid one. I tried to find a way to delete them but it seems I cannot... :-( Also please note that I had to modify the XML tags in order to get them to display at all as the board tries to parse them and displays only the values.
ID: 15345 · Report as offensive
Profile Toby
Volunteer tester
Avatar

Send message
Joined: 26 Oct 00
Posts: 1005
Credit: 6,366,949
RAC: 0
United States
Message 15352 - Posted: 11 Aug 2004, 6:21:00 UTC
Last modified: 11 Aug 2004, 6:26:32 UTC

Doesn't < work on these boards?
EDIT: < and > do indeed appear to work... you just have to know the HTML code for them :)

As far as the zeroes are concerned... I believe it is just another side-effect of the server outages. The client on my laptop here says I have 0 credit as well even though this is not the case. I'm not sure why, but the clients seem to default back to 0 whenever they can't contact the server. I swould think they should just keep displaying the last data. Just wait until they get back up and running and check again. I bet everything will be back to normal.

P.S. This is why you do not click "submit" over and over again if the server isn't responding :)




-------------------------------------------
- A member of The Knights Who Say NI!
Possibly the best stats site in the universe:
http://boinc-kwsn.no-ip.info
ID: 15352 · Report as offensive
Petit Soleil
Avatar

Send message
Joined: 17 Feb 03
Posts: 1497
Credit: 70,934
RAC: 0
Canada
Message 15371 - Posted: 11 Aug 2004, 8:13:56 UTC - in response to Message 15345.  

> I'm thinking about making a Java front-end for Seti BOINC for OS X.

Hi Pathogen

Sorry I could not help but it's a very good idea though.
Many if not most Mac users are not cmd lines fanatics and
you would become a star if you come up with Java page.

I am also running a Mac here and I had lots of help from
mikkyo. You can look for him on MacNN board. He's the one
who compiled all the clients of the following page.
http://members.dslextreme.com/~readerforum/forum_team/boinc.html

He would be the best person "I know" to answer you question.

After Tobby of course...

Good luck

Marc


-.-. --.- -.. -..- . - .-.-. -.- --... ...--
ID: 15371 · Report as offensive
STE\/E
Volunteer tester

Send message
Joined: 29 Mar 03
Posts: 1137
Credit: 5,334,063
RAC: 0
United States
Message 15429 - Posted: 11 Aug 2004, 11:37:02 UTC

WoW, Pathogen I did a little checking with the Guinness World Book of Records and you have single handedly set the new World Record for Double Posting in a Forum, a bit impatient with the posting speed of the forum are we ... ;)
ID: 15429 · Report as offensive
Pathogen

Send message
Joined: 17 May 99
Posts: 34
Credit: 13,549
RAC: 0
United States
Message 15436 - Posted: 11 Aug 2004, 11:56:25 UTC - in response to Message 15352.  
Last modified: 11 Aug 2004, 11:57:45 UTC

> Doesn't EDIT: do indeed appear to work... you just have to know the
> HTML code for them :)
***
I know HTML. However, the XML tags were parsed, not displayed by this board, meaning only the values for those tags was displayed and not the tag itself, even inside pre. Hence it was necc. to remove a LT/GT or two... ;-)

' As far as the zeroes are concerned... I believe it is just another
> side-effect of the server outages. The client on my laptop here says I have 0
> credit as well even though this is not the case.
***
OK, that's good news!

> I'm not sure why, but the
> clients seem to default back to 0 whenever they can't contact the server. I
> swould think they should just keep displaying the last data.
***
Yeah, they should. That's a bug.

> P.S. This is why you do not click "submit" over and over again if the server
> isn't responding :)
***
The way these boards have been of late, you never know... In any case, you should be able to delete your own posting, IMHO.
ID: 15436 · Report as offensive
Pathogen

Send message
Joined: 17 May 99
Posts: 34
Credit: 13,549
RAC: 0
United States
Message 15437 - Posted: 11 Aug 2004, 11:58:53 UTC - in response to Message 15371.  

Thanks Marc!
ID: 15437 · Report as offensive
Profile Toby
Volunteer tester
Avatar

Send message
Joined: 26 Oct 00
Posts: 1005
Credit: 6,366,949
RAC: 0
United States
Message 15523 - Posted: 19 Aug 2004, 19:14:37 UTC - in response to Message 15345.  
Last modified: 19 Aug 2004, 19:15:30 UTC

Well... let me demonstrate :)

<wu_cpu_time>4461.470000 </wu_cpu_time>
<user_total_credit>0.000000 </user_total_credit>
<user_expavg_credit>0.000000 </user_expavg_credit>
<host_total_credit>0.000000 </host_total_credit>
<host_expavg_credit>0.000000 </host_expavg_credit>

just have to put &#60&#59; instead of <

Ah, the secrets of message board posting :)
ID: 15523 · Report as offensive

Message boards : Number crunching : Question for coders


 
©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.