Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hashkey collisions (typical numbers)

Author: Vincent Diepeveen

Date: 08:33:55 04/07/04

Go up one level in this thread


On April 07, 2004 at 10:26:01, Renze Steenhuisen wrote:

>On April 07, 2004 at 10:18:36, Vincent Diepeveen wrote:
>
>>On April 07, 2004 at 10:16:26, Renze Steenhuisen wrote:
>>
>>>>It will be some simple bugs by Renze.
>>>
>>>A simple bug to create, can be a hard bug to find and solve!
>>>
>>>>>For reference, my program gets:
>>>>>Checking minimum hamming distance between random keys: 14 bits
>>>>>Checking average hamming distance between random keys: 31 bits
>>>
>>>This looks strange to me, I would guess that minimum and average are much closer
>>>together than 14 and 31 are, but my knowledge Cryptography is somewhere back in
>>>my memory (from about 2 years ago...)
>>>
>>>My guess is that minimum HD = 14, and an average HD = 31, is suboptimal. But
>>>don't nail me to a cross if I'm wrong!
>>>
>>>Cheers!
>>>   Renze
>>
>>Making a chessprogram is especially for european programmers a big 'learn how to
>>debug course' :)
>
>Why do you say _EUROPEAN_ programmers? Is it because we aren't just to
>programming, or is it because we aren't used to bugs?
>
>Hi Vincent!

My impression is that the courses given in USA in general are at a higher level
than those in europe.

In europe you write 1 page of JAVA and you have 'programming experience'.

It is a result of the collegebooks.

In case of programming the question is: "which college book, you just must make
a 1 page program that's it, no need for a collegebook".

I've been quite some years at university. Computer Science. "oh and debugging
and writing testbeds is also important". Remark by some guy giving programming
at university. Not written down at paper, as it was not considered important
enough to dedicate a lesson to it.

Let's see 10 seconds of in total a few years.

No wonder all problems that all those students get is debugging.

When i started diep in 1994, after already having written a very buggy
chessprogram in 1993 called 'grijp' ('grab') and already programming from when i
turned 14, it took me a few years to learn how important debugging was.

Let me ask you a general question:

Do you actually know what boundschecking means?

Best regards,
Vincent






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.