Showing posts with label Computers. Show all posts
Showing posts with label Computers. Show all posts

2011-03-18

Studying Chess on Ubuntu Linux - Part 1 Setup

The first thing that you need to do is to setup your programs that are needed for studying. Generally players use a chess engine and a chess database program. Luckily for us someone created SCID an open source database program that works fairly well and is available on all platforms. I use Ubuntu Linux so my guide will be specific for Ubuntu but it should be easy to set this up on any system, including OS X, Windows and Linux.

Another benefit that Chess Players have received from open source is the chess engine Stockfish.
Stockfish is an open-source UCI chess engine based on Glaurung. Stockfish is an alpha-beta searcher and uses a bitboard representation.
Install SCID
  1. sudo apt-get install build-essential - This installs a Linux C++ compiler so that SCID can be built.
  2. sudo apt-get install tcl8.5-dev tk8.5-dev - This installs a runtime in Linux which enables the UI for SCID.
  3. Download SCID and extract to a temp directory.
  4. ./configure
  5. ./make
  6. ./make install

Install Stockfish
  1. Download Stockfish
  2. Download Stockfish Opening Book
  3. Extract Stockfish and run make profile-build ARCH=x86-32 for 32 bit Linux systems. 64 bit Linux systems can use make profile-build ARCH=x86-64
  4. Installation of this is a bit different than SCID.  I copied my executable (the file named stockfish) to ~/bin so I can have a place to save my opening book.
  5. Extract opening book to ~/bin.
Setup Stockfish in SCID
  1. Click on Tools and then Analysis Engine...in the menu
  2. Create a new chess engine by clicking on the New... button.
  3. Type in Stockfish in the name
  4. The command field should contain the executable for Stockfish.  Mine was ~/bin/stockfish
  5. Directory should be set to . to indicate that the directory to use should be the same as the directory that the executable is located in.
  6. Click on Configure UCI Engine.
  7. There are lots of options here - I mainly only change the book file to book.bin and set the Multiple variations to 4.
I will discuss how to use these programs next time I post about studying chess on Linux.

2011-03-08

Chess News of the Week - Programmers write open letter about Rybka-Fruit issue

Programmers write open letter about Rybka-Fruit issue

This is very interesting to me as a chess player who has used Fruit and as a Software Developer interested in open source.  This is very poor judgement by these guys if they did just steal the code.
 
 

Recently the author of Fruit, Fabien Letouzey, wrote an open letter to the computer chess community where he raised the concern that Rybka 1.0 beta may be a derivative of Fruit 2.1 in this public post.
Since then it has emerged from highly respected sources like Zach Wegner, Bob Hyatt and others that there is a lot of evidence that has been accumulated over the last few years that Rybka 1.0 beta is a derivative of Fruit 2.1.
Zach Wegner has presented evidence of alleged significant copied/derived Fruit evaluations in Rybka 1.0 beta here.

The large problem with these guys who stole the code was that Fruit was released under the GPL - part of the license states that any and all code contributed to a project after it uses GPL code is also now considered GPL.  That is a part of the deal when you use the code that people are making open.  Also you are required to publish any added or changed code.  If Rybka is guilty they are stealing from the public and selling what they stole instead of building on a project that was established as an open project.  It will be interesting to see how this procedes and if they are required to open their code and pay a fine.