Search found 59 matches

by odomobo
Mon Jan 28, 2019 4:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI question
Replies: 11
Views: 2029

Re: UCI question

If the perl script doesn't work for you (which it might), you might be able to write an expect script. Expect will wait for certain conditions before proceeding. That way, for example, the script can wait for "readyok" before sending "position ...", and wait for "bestmove ..." before sending "quit"
by odomobo
Mon Jan 28, 2019 8:18 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI question
Replies: 11
Views: 2029

Re: UCI question

The UCI protocol says nothing about command line arguments. I am guessing you were using some engine-specific feature. Do you know which engine you were using? Also, it sounds really useful to have a standard "interface" for executing commands using command-line parameters. It would simplify certain...
by odomobo
Sun Jan 27, 2019 8:21 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess engine on ASIC bitcoin miner?
Replies: 7
Views: 1647

Re: Chess engine on ASIC bitcoin miner?

The entire point of ASICs is that they are designed to do exactly 1 thing very well, unlike CPUs and GPUs which are very general-purpose.
by odomobo
Fri Jan 25, 2019 11:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Internet Game Server
Replies: 21
Views: 5195

Re: Internet Game Server

BTW using CGI, if you set up your server correctly, you can get the basic auth username and password passed through CGI: https://httpd.apache.org/docs/trunk/mod/mod_authnz_fcgi.html . By default, it appears that the webserver attempts to perform auth for you. You can get the request method from REQU...
by odomobo
Fri Jan 25, 2019 10:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Null move pruning, only when score >= beta?
Replies: 8
Views: 1288

Re: Null move pruning, only when score >= beta?

Wait, I think I am misunderstanding you. When you say "score", do you mean the static evaluation of the current position?
by odomobo
Fri Jan 25, 2019 6:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Null move pruning, only when score >= beta?
Replies: 8
Views: 1288

Re: Null move pruning, only when score >= beta?

I haven't implemented null move pruning, but theoretically... Pruning when score == beta should only fail for the same case as pruning when score > beta -- when the side to move is in zugzwang. Pruning for score >= beta should be strictly better, unless there is some other bug with your null pruning...
by odomobo
Thu Jan 24, 2019 9:06 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Elo boost and time management
Replies: 19
Views: 3307

Re: Elo boost and time management

I believe it should be:

Code: Select all

nextAvailableTimeForMove = remainingTime/remainingMove - smallMargin
by odomobo
Thu Jan 24, 2019 8:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Internet Game Server
Replies: 21
Views: 5195

Re: Internet Game Server

What I currently have is a CGI 'server engine' that supports the following arguments on HTTP GET requests: A couple things to note: you should never use HTTP GET for requests which update the state of the server. The way the HTTP protocol works is that GET requests are designed to be cachable anywh...
by odomobo
Thu Jan 24, 2019 5:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Internet Game Server
Replies: 21
Views: 5195

Re: Internet Game Server

I agree with Srdja. Also, dealing with plain text files will limit scalability after some point. And you pointed out that multiple processes will have to modify the same file at a time, which could introduce concurrency bugs. The simple solution (IMO) is to let a DB handle that complexity for you. I...
by odomobo
Wed Jan 23, 2019 7:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Linux friendly engines at all levels
Replies: 24
Views: 4220

Re: Linux friendly engines at all levels

My engine GearHeart is around the strength of TSCP. It's supposed to be a reference implementation of a chess engine, with most of the same features as Vice, but written in a C++ style. It should build on linux, but you'll need boost and sparsehash libs (you should be able to apt-get them).