Search found 18164 matches

by hgm
Thu Feb 20, 2020 9:39 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 47
Views: 834

Re: EPD destruction tests

To check the position for legality, the GUI would have to be aware of the rules of the game. E.g. in Suicide Chess positions without King (or with multiple Kings) are quite legal (and common). Whether castling rights should be considered correct or faulty would depend on whether one is playing Chess...
by hgm
Thu Feb 20, 2020 9:31 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zobrist key independence
Replies: 17
Views: 543

Re: Zobrist key independence

Eliminating e.p. keys It occurred to me that if one is really stingy, one could hide some of the four e.p. keys too: It seems that not making accomodations for a second Queen would be asking for trouble. So in any case you would need to use 13 basis keys for constructing 64 Queen keys such that the...
by hgm
Thu Feb 20, 2020 8:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Zobrist key independence
Replies: 17
Views: 543

Re: Zobrist key independence

Do you remember whether he discussed methods to reduce collisions by improving key independence? Or was it just about measuring the frequency of collisions within real chess trees?
by hgm
Thu Feb 20, 2020 8:45 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: hash collisions
Replies: 294
Views: 8969

Re: hash collisions

Let's just make it quite clear, since you misinterpret everything. I am not complaining on my behalf about your insults. I can look after myself, thank you. I am pointing to the fact that YOU are an insulter as a matter of course, that YOU encourage mobbing, that YOU initiated the insults, that the...
by hgm
Thu Feb 20, 2020 8:40 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: hash collisions
Replies: 294
Views: 8969

Re: hash collisions

Rebel wrote:
Wed Feb 19, 2020 10:45 pm
Next time say that into his face.
Then what? What response do you expect him to exhibit that would make that an interesting experiment? Explain yourself!
by hgm
Wed Feb 19, 2020 10:12 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: hash collisions
Replies: 294
Views: 8969

Re: hash collisions

Crazy people can see insults in everything. Their lack of rational behavior both sees to that and earns them the label. That is just a fact of life, and not an insult, certainly not to anyone in particular. You apparently see insults in the most innocent things, and cannot help to shout it from the ...
by hgm
Wed Feb 19, 2020 9:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SIMD methods in TT probing and replacement
Replies: 14
Views: 396

Re: SIMD methods in TT probing and replacement

Equi-distributed draft with 3 entries (one always-replace, two depth-preferred) would look like this: int n = -1; // gets value on probe hit if(n < 0) { // replacement int d1 = bucket->slot[1].depth; int d2 = bucket->slot[2].depth; if(histo[d1] > histo[1]) d1 -= 1000; // make over-represented entrie...
by hgm
Wed Feb 19, 2020 8:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 47
Views: 834

Re: EPD destruction tests

Well, if a tool to filter those for a certain degree of legality doesn't exist, you would have to make it yourself. You cannot expect engines to do that; it is not their task. Which makes sense: engines are not stand-alone programs, but plugins for a GUI. Making the engine do the checking would requ...
by hgm
Wed Feb 19, 2020 8:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 47
Views: 834

Re: EPD destruction tests

I think it is simple. Things are made for a purpose, and different purposes have often incompatible requirements. An tool for driving nails into the walls is quite unsuitable to sleep on. This is why we have developed a very wide range of tools. It is the same in chess. Having highest possible Elo a...
by hgm
Wed Feb 19, 2020 7:08 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: EPD destruction tests
Replies: 47
Views: 834

Re: EPD destruction tests

It depends on what positions the engine can (or is willing) to handle. If it has no problem playing with 15 Queens, it would be a waste to prevent the user from exercising that capability. If its piece-list structure (say) would only allow for 3 Queens max, you will be forced to refuse the position....