Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: You wont believe how stupid I am, let me explain...

Author: Albert Bertilsson

Date: 04:54:31 12/14/03

Go up one level in this thread


I'm sorry to cause this problem, and I've finally guess the "length can not be
less than zero" problem.

When I display the stats I cut of the 9 last digits and display Giga nodes
instead of nodes, this works ok because once a problem is submitted the node
count is several giga nodes.

What I forgot was that when starting the crunch, stats is fetched, and since no
problems have been completed node count will be 0, trying to cut this string to
length -8 will always fail. I'm really ashamed to have created a stupid bug like
this, I should consider doing something less complicated for occupation.

I'll update the server... I'll post here to let you know when it should work.

/Regards Albert



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.