Minor Bug in 4.09

Questions and Answers : Wish list : Minor Bug in 4.09
Message board moderation

To post messages, you must log in.

AuthorMessage
Pete49

Send message
Joined: 28 Jul 04
Posts: 64
Credit: 250,376
RAC: 0
United States
Message 28534 - Posted: 21 Sep 2004, 3:35:18 UTC

Probably in the earlier versions as well

In projects tab.

RAC and Credit are being sorted Alphanumerically not Numerically.

Project names sort does NOT ignore case of characters.

-P


ID: 28534 · Report as offensive
Heffed
Volunteer tester

Send message
Joined: 19 Mar 02
Posts: 1856
Credit: 40,736
RAC: 0
United States
Message 28565 - Posted: 21 Sep 2004, 7:19:01 UTC

"RAC and Credit are being sorted Alphanumerically not Numerically."
________________

My credits are only numbers man...

What sort are you getting???

ID: 28565 · Report as offensive
Profile efa
Avatar

Send message
Joined: 26 Mar 00
Posts: 233
Credit: 494,221
RAC: 0
Italy
Message 28571 - Posted: 21 Sep 2004, 7:27:22 UTC - in response to Message 28565.  

> My credits are only numbers man...
You havent the dot in the credit?
Because if "integer.fractional" is considerend as a string, the alphanumeric sorting may be wrong.

ID: 28571 · Report as offensive
Pete49

Send message
Joined: 28 Jul 04
Posts: 64
Credit: 250,376
RAC: 0
United States
Message 28615 - Posted: 21 Sep 2004, 11:58:05 UTC - in response to Message 28565.  

> "RAC and Credit are being sorted Alphanumerically not Numerically."
> ________________
>
> My credits are only numbers man...
>
> What sort are you getting???
>
Attached to 4 Projects

Sorted one way:

Total Credits
11568.94
1627.27
2.95
83.35

Reverse the sort and:

83.35
2.95
1627.27
11568.94

They are not being sorted numerically but rather, alphanumerically (as strings).
Avg. Credits sorts the same.

As it relates to the Projects column...

"Alphabetical" sort:

LHC@home
Pirates@Home
SETI@home
climateprediction.net

Reverse sort:

climateprediction.net
SETI@home
Pirates@Home
LHC@home

With the hexidecimal value of 'c' being larger than 'Z', climate
always ends up "out of order" in the sort. Case should not be
considered when sorting strings.








ID: 28615 · Report as offensive
Heffed
Volunteer tester

Send message
Joined: 19 Mar 02
Posts: 1856
Credit: 40,736
RAC: 0
United States
Message 28715 - Posted: 21 Sep 2004, 18:50:17 UTC - in response to Message 28615.  

Ah, I see...

My project credits are all close enough that they are sorted correctly. (same number of decimal places)

ID: 28715 · Report as offensive

Questions and Answers : Wish list : Minor Bug in 4.09


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