What do you folks make of this ?

General discussion about computer chess...
syzygy
Posts: 148
Joined: Sun Oct 16, 2011 4:21 pm

Re: What do you folks make of this ?

Post by syzygy » Tue May 15, 2012 3:58 pm

hyatt wrote:Floating point calculations are STILL lazy. But they work. But that has nothing to do with Fruit / Rybka. Fruit uses the ugly float-everywhere approach where he uses doubles everywhere, including the functions like my_timer_elapsed_cpu() and such. Ugly is not the word.
The point was not Fruit at all. The point was your glaring unwillingness to admit such an obvious point as - for example - the naturality of using floating points in intermediate time allocation calculations. Ever heard of "impeaching the witness"? (Hint: your words.)

On TalkChess we've already gone through a ton of examples. Do you really want to repeat that exercise? I don't think so.

User avatar
marcelk
Posts: 52
Joined: Fri Jan 28, 2011 10:27 pm
Real Name: Marcel van Kervinck

Re: What do you folks make of this ?

Post by marcelk » Tue May 15, 2012 11:31 pm

hyatt wrote:
marcelk wrote:
BB+ wrote:
hyatt wrote:I know of no other program, excepting Fruit and derivatives, that uses floats.
GnuChess 5.07 is an obvious example.

Code: Select all

extern float SearchTime;
extern float TimeLimit[2];
extern int TCinc;
extern float TCTime;
However, it seems that version 2 and version 4 were int-based, so maybe floats are a post-Stanback addition.
GnuChess5 is not the only one and Hyatt should be aware of that because it has been pointed out to him less than a month ago. Either he is dishonest here, or he considers Gaviota, Sjeng, Stockfish and even the 1997 version of Rookie all as "Fruit derivatives". If he upholds the latter I don't know how to respond, but it won't be mild.

OOhhh... I am simply shaking in my boots...

Are you saying ALL the above programs use a floating point target time? If so, it IS nonsensical. If you are saying they use integer values, with a floating point calculation used to set the integer value, so what? I've been clear as to what _I_ am talking about.
I'm saying neither, as you can read in the full text you quoted. The distinction between "using float as the storage type of the target time variable" and "using floats in time allocation calculations" hasn't been on my radar, and it is not clear to me that you mean one but not the other when writing about "using floats". To me, both fall under "using floats". So I am saying these programs all use floats in time allocation.

More importantly, I'm also saying that any program using floating point in time allocation means just that: it "uses floats" and not "it is Fruit or a Fruit derivative".

But ok, in your later posts make you it evident that with "use floats in time allocation" you essentially mean "use floats in the ugly Fruit-way and not in the beautiful Crafty-way". Fair enough, we can work from there, bar insinuations of Fruit copying in said programs which cannot continue.
You seem to think that just using a single floating point operation makes the time control code floating point. Try again...
You are not only infallible but also a keen mindreader. I admit I followed your advice and gave it a good try, but I must give up: How can code which uses a floating point operation not be floating point code?

User avatar
marcelk
Posts: 52
Joined: Fri Jan 28, 2011 10:27 pm
Real Name: Marcel van Kervinck

Re: What do you folks make of this ?

Post by marcelk » Tue May 15, 2012 11:38 pm

syzygy wrote:
marcelk wrote:GnuChess5 is not the only one and Hyatt should be aware of that because it has been pointed out to him less than a month ago. Either he is dishonest here, or he considers Gaviota, Sjeng, Stockfish and even the 1997 version of Rookie all as "Fruit derivatives". If he upholds the latter I don't know how to respond, but it won't be mild.
Clearly there can be only one conclusion: Gaviota, Sjeng, Stockfish and Fruit are all clones of 1997 Rookie.
Well, I -did- help out Reggie a lot with programming advice when he started Faile. He might have gotten some unnatural ideas about floating point values representing physical measures such as time from me. And Sjeng -did- start out as a clone of Faile... What have I done?

hyatt
Posts: 1242
Joined: Thu Jun 10, 2010 2:13 am
Real Name: Bob Hyatt (Robert M. Hyatt)
Location: University of Alabama at Birmingham
Contact:

Re: What do you folks make of this ?

Post by hyatt » Thu May 17, 2012 11:06 pm

syzygy wrote:
hyatt wrote:Floating point calculations are STILL lazy. But they work. But that has nothing to do with Fruit / Rybka. Fruit uses the ugly float-everywhere approach where he uses doubles everywhere, including the functions like my_timer_elapsed_cpu() and such. Ugly is not the word.
The point was not Fruit at all. The point was your glaring unwillingness to admit such an obvious point as - for example - the naturality of using floating points in intermediate time allocation calculations. Ever heard of "impeaching the witness"? (Hint: your words.)

On TalkChess we've already gone through a ton of examples. Do you really want to repeat that exercise? I don't think so.

Again, using floating point is NOT "Natural". It is counter to well-established programming language guidelines dealing with mixing integer and floating point math. It is not even POSSIBLE in some programming languages. So get off of that bandwagon. Anyone can use any poor programming practice(s) they want. That does NOT make them "natural practices" however... Not now, not ever...

Keep working on that "impeachment." You aren't getting very far so far...

syzygy
Posts: 148
Joined: Sun Oct 16, 2011 4:21 pm

Re: What do you folks make of this ?

Post by syzygy » Thu May 17, 2012 11:15 pm

hyatt wrote:Again, using floating point is NOT "Natural". It is counter to well-established programming language guidelines dealing with mixing integer and floating point math. It is not even POSSIBLE in some programming languages. So get off of that bandwagon. Anyone can use any poor programming practice(s) they want. That does NOT make them "natural practices" however... Not now, not ever...
Thank you for illustrating my point!!!

hyatt
Posts: 1242
Joined: Thu Jun 10, 2010 2:13 am
Real Name: Bob Hyatt (Robert M. Hyatt)
Location: University of Alabama at Birmingham
Contact:

Re: What do you folks make of this ?

Post by hyatt » Thu May 17, 2012 11:41 pm

syzygy wrote:
hyatt wrote:Again, using floating point is NOT "Natural". It is counter to well-established programming language guidelines dealing with mixing integer and floating point math. It is not even POSSIBLE in some programming languages. So get off of that bandwagon. Anyone can use any poor programming practice(s) they want. That does NOT make them "natural practices" however... Not now, not ever...
Thank you for illustrating my point!!!

Thank you for making mine...

Post Reply