Search found 16818 matches

by bob
Sat Jun 02, 2007 1:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Comparison data of Crafty vs Rybka that I promised 2 days ag
Replies: 27
Views: 15177

Re: Movei added to Crafty vs Rybka comaprison data

I am not sure I understand what you are doing. One common "sanity test" I do in crafty is to feed it several thousand FEN positions, and have it evaluate each one 4 times. First, as the position is entered, then I flip the board vertically and swap the colors of all pieces, to give me a second posit...
by bob
Sat Jun 02, 2007 1:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: pthread weirdness
Replies: 26
Views: 12832

Re: pthread weirdness

Pradu, It has to do with threads being asynchronus. In normal programing, the value in a memory location that a pointer points to is predictable because the programming is synchronized (the calling function waits on the called function to return). With threads, the calling function continues and ma...
by bob
Sat Jun 02, 2007 1:34 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: pthread weirdness
Replies: 26
Views: 12832

Re: pthread weirdness

I notice you have a loop iterating on i, and you are passing the _address_ of I to the new thread. By the time that thread executes, i will probably be at limit+1 which is almost certainly not what you want. Don't pass the address of that, pass the actual value. Note that the create function requir...
by bob
Sat Jun 02, 2007 1:27 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Technical question about the Core 2 Duo and Mac OS X
Replies: 45
Views: 19528

Re: Technical question about the Core 2 Duo and Mac OS X

Hello, I am considering replacing my first-generation Core Duo MacBook with one of the new Core 2 Duo MacBooks (they got a minor speed bump a few days ago). Before I buy, I have a very basic technical question: I've been told that the AMD 64-bit CPUs require a 64-bit OS in order to run in 64-bit mo...
by bob
Sat Jun 02, 2007 1:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Programs on the USCF member list
Replies: 11
Views: 5538

Re: Programs in chronological order of joining

IThe only way I know to get a rating is to have a USCF rated match with a person instead of entering a tournament. At a price. US$5 per match and US$0.50 per game were the numbers the last time I looked. -------- How about the Europeans? Have there been many OTB tournaments that allowed program par...
by bob
Fri Jun 01, 2007 12:01 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: pthread weirdness
Replies: 26
Views: 12832

Re: pthread weirdness

Bob is right that there are resource usage metering differences among varying pthread implementations; I've seen this between Linux and OpenBSD. Which has the bug? It depends on who you talk with. Linux threads are essentially lightweight processes and are managed as such, so a fork only approach i...
by bob
Thu May 31, 2007 11:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Programs on the USCF member list
Replies: 11
Views: 5538

Re: Programs in chronological order of joining

If that is supposedly from oldest to newest in terms of when they joined USCF, the list is wrong. "blitz" was a member in 1974 or thereabouts, and played in USCF events every year after that. Cray Blitz was a member in 1980, which I think predates nuchess, and certainly predates hitech and chiptest/...
by bob
Thu May 31, 2007 4:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: pthread weirdness
Replies: 26
Views: 12832

Re: pthread weirdness

all I can say is that I gave up on pthreads a few years ago. I found too many inconsistencies between the various unix and linux implementations. CPU time was problematic as some systems return the cpu time for a thread, while others return the accumulated time for all threads. scheduling policies v...
by bob
Thu May 31, 2007 4:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Programs on the USCF member list
Replies: 11
Views: 5538

Re: Programs on the USCF member list

Also some of those ratings have been "deflated" incorrectly. Every now and then USCF "deflates" all ratings (reduces them proportionally) to account for rating inflation over time. Yet many of those programs (belle, cray blitz, hitech, et al) have not played human chess in 20 years or so but their r...
by bob
Thu May 31, 2007 4:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: First fail high drops in endgame
Replies: 20
Views: 10274

Re: First fail high drops in endgame

Here's my output for a 20+ second search on fine 70... time=23.10 mat=1 n=94433259 fh=98% nps=4.1M ext-> check=14.0M 1rep=591K mate=0 pp=0 reduce=62.7M/14.0M predicted=0 evals=58.0M 50move=0 EGTBprobes=0 hits=0 SMP-> splits=0 aborts=0 data=0/128 elap=23.10 Note my fh% is 98, which is way above norma...