Caedes

Desktop Wallpaper, Art, etc.

Discussion Board -> Desktop Wallpaper, Art, etc. -> Problem in code?

Problem in code?

MiLo_Anderson
05/17/05 1:24 AM GMT
Just browsing the galleries and this image currently has a c-index of 100. I'm guessing this could be an error in the code somewhere considering i have never seen an image rated that high, and i also didn't give it a 10 when i voted which i would assume every vote would have to be in order to get 100.

http://www.caedes.net/Zephir.cgi?lib=Caedes::Infopage&image=RobNevin-1116195374.jpg
0∈ [?]
"A piece of toast with butter always lands butter side down, and a cat always lands on its feet. What happens if a piece of toast is tied butter side down to the back of a cat? Does it perpetually hover above the ground in indecision when dropped?"

Comments

Post a Comment  -  Subscribe to this discussion
*caedes
05/17/05 2:16 AM GMT
Thanks for bringing this to my attention. I've finally figured out what was causing this. Note that the c-index is only displayed when an image has received at least 4 votes, however in this case the c-index was calculated when it only had one vote (a 10). Then the image got 3 more votes and the c-index could then be displayed. However, the c-index had not been calculated again with the other three votes because it is only updated every couple of hours. To solve this I've changed the code to only calculate the c-index once an image has at least 4 votes. Now we know that an image has at least 4 votes going into the calculate when the c-index is displayed.
0∈ [?]
-caedes
MiLo_Anderson
05/17/05 3:50 AM GMT
Glad to see you were able to figure out what it was. Stuff like that can be hard to figure out sometimes.
0∈ [?]
"A piece of toast with butter always lands butter side down, and a cat always lands on its feet. What happens if a piece of toast is tied butter side down to the back of a cat? Does it perpetually hover above the ground in indecision when dropped?"

Leave a comment (registration required):

Subject: