Strelka 2.0B + sources

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Dann Corbit
Posts: 12777
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Strelka 2.0B + sources

Post by Dann Corbit »

Note:
In Strelka.c, change the 1st three include files to the following:

#include <windows.h>
#include <stdio.h>
#include <setjmp.h>

In the original sources, windows.h and stdio.h are surrounded by double quotes "" instead of <>, which is not correct for system header files.

The setjump.h file is referenced as <csetjmp> which causes VC++ to compile parts of it as C++ which in this context is not correct.
Alexander Schmidt
Posts: 1235
Joined: Thu May 10, 2007 2:49 pm

Re: Strelka 2.0B + sources

Post by Alexander Schmidt »

Dann Corbit wrote:Now Vas can take a look and know for sure what similarities there are
...but only in v2.0.

In v1.8 there was for sure Rybka stuff inside Strelka.

http://talkchess.com/forum/viewtopic.ph ... 91&t=18620

And if there is Rybka's secret inside Strelka, are you sure that Vas is telling everybody what it is? I guess he will not give other commercial authors a reason to take an even closer look on Strelka.

I am still not happy that Strelka is Open source, also if all Fruit and Rybka stuff is removed or rewritten in the meantime.

Alex
GeorgeLyapko

Re: Strelka 2.0B + sources

Post by GeorgeLyapko »

Ovyron wrote:
Dann Corbit wrote:Now Vas can take a look and know for sure what similarities there are (if he is even interested)
He already took a look into Strelka's source (before it was released) and claimed that it was a clone of Rybka BETA.
This is simply not true.

This is quote from Osipov in russian:
Странный он - этот Васик.

Три раза я предлагал ему ознакомиться с исходными текстами Стрелки - в июле, сентябре и октябре. В июле ему это было неинтересно, интересовало только - насколько трудно было изучать алгоритм Рыбки дизассемблером, и насколько труднее это в отношении новых версий Рыбки. Я ему подробно обо всем написал.
В сентябре он был очень занят подготовкой к матчу с Заппой, и ему было не до Стрелки. После моего октябрьского письма он думал о чем-то недели три, и ответил как-то совсем туманно.

И вот теперь это его последнее заявление... Непонятно - исходники Стрелки читать не хотим, но мнение о ней имеем твердое.
here it is in English(machine translation, but quite readable):
Strange person is he - this Vasik.

Three times I proposed him to view the source code of Strelka - in July, September and October. In July it it was uninteresting for him, he was interested only how difficult it was to study algorithm of the Rybka by disassembling it, and if it is more difficult with the new versions of the Rybka. I gave him detailed answer. In September he was very busy with preparation for a match with Zappa, and he had no time for Strelka. After my letter from October he was silent for three weeks, and has answered somehow quite mistily.

And now here is his last statement... Incomprehensible - he does'nt want to read the source code of Strelka, but his opinion about it is quite hard.
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Strelka 2.0B + sources

Post by Denis P. Mendoza »

Dann Corbit wrote:Note:
In Strelka.c, change the 1st three include files to the following:

#include <windows.h>
#include <stdio.h>
#include <setjmp.h>

In the original sources, windows.h and stdio.h are surrounded by double quotes "" instead of <>, which is not correct for system header files.

The setjump.h file is referenced as <csetjmp> which causes VC++ to compile parts of it as C++ which in this context is not correct.
Thanks for the fix Dann. It seems Strelka uses VC6 coding, but at least ICC can compile it in 64 bit with slight improvements in speed. Here's an unofficial 64-bit compile.

http://www.zshare.net/download/636253098b62b1/
Uri Blass
Posts: 10790
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Strelka 2.0B + sources

Post by Uri Blass »

Dann Corbit wrote:
perejaslav wrote:Now available on http://sdchess.ru/download_engines.htm
:D
That is very good. I think it removes many questions as far as Fruit is concerned, since it is now open source (although the license is not clear).

Now Vas can take a look and know for sure what similarities there are (if he is even interested) and I also invite other chess authors to compare with Fruit and I think that they will also come to the same conclusions that I came to (clearly inspired by Fruit, but not simply a clone).

Uri has found lots of interesting ways to shrink the code of the engine. He may wish to add a fork now, if that seems pleasing to him.
I see that the code is already smaller and simpler and what I found is probably not relevant because strelka already got rid of the ugly random numbers.

Uri
Uri Blass
Posts: 10790
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Strelka 2.0B + sources

Post by Uri Blass »

Alexander Schmidt wrote:
Dann Corbit wrote:Now Vas can take a look and know for sure what similarities there are
...but only in v2.0.

In v1.8 there was for sure Rybka stuff inside Strelka.

http://talkchess.com/forum/viewtopic.ph ... 91&t=18620

And if there is Rybka's secret inside Strelka, are you sure that Vas is telling everybody what it is? I guess he will not give other commercial authors a reason to take an even closer look on Strelka.

I am still not happy that Strelka is Open source, also if all Fruit and Rybka stuff is removed or rewritten in the meantime.

Alex
Strelka2 is definitely a modified version of strelka1.8 that is smaller.
In case that Strelka2 is better than strelka1.8 then I think that 1.8 is not interesting because in this case the only secrets that are not revealed in 2 are bugs of rybka.

Vas already revealed the secret when he released rybka but only Juri Osipov was smart enough to read the secret(maybe also other programmers who decided to keep the secret for themselves).
He decided to share the secret with other people and I do not see why it is illegal.

If we talk about differences between strelka2 and rybka
I can say that strelka2 corrected a bug that both strelka1.8 and rybka beta have so I hope that strelka2 is better.

Uri
John Conway
Posts: 161
Joined: Wed Jul 11, 2007 1:44 pm

Re: Strelka 2.0B + sources

Post by John Conway »

Vasik claims Strelka is a Rybka 1.0 clone and he doesn't care about that. Now that Strelka is open source, does this mean that Rybka code is exposed? Perhaps Vasik could make Rybka 1.0 open source so that all can see for themselves just how much of a clone Strelka is.
Dann Corbit
Posts: 12777
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Strelka 2.0B + sources

Post by Dann Corbit »

John Conway wrote:Vasik claims Strelka is a Rybka 1.0 clone and he doesn't care about that. Now that Strelka is open source, does this mean that Rybka code is exposed? Perhaps Vasik could make Rybka 1.0 open source so that all can see for themselves just how much of a clone Strelka is.
I guess that the similarities in code would barely be recognizable.
There may be some data tables in common (speculation on my part).
If there are parts that were reverse engineered, they won't look like the original source, but the algorithms would probably be recognizable.

The compiler will do dead code elimination, loop unrolling, constant folding and lots of other things like that.

If Vasik cares about it, he will examine the source. He may have been neutral before because getting the source might have been more bother than he wanted to make.
Ben Lau

Re: Strelka 2.0B + sources

Post by Ben Lau »

Oh, no.

The rar file has the encrypt password!

How to get the password?
Christopher Conkie
Posts: 6074
Joined: Sat Apr 01, 2006 9:34 pm
Location: Scotland

Re: Strelka 2.0B + sources

Post by Christopher Conkie »

GeorgeLyapko wrote:
Ovyron wrote:
Dann Corbit wrote:Now Vas can take a look and know for sure what similarities there are (if he is even interested)
He already took a look into Strelka's source (before it was released) and claimed that it was a clone of Rybka BETA.
This is simply not true.

This is quote from Osipov in russian:
Странный он - этот Васик.

Три раза я предлагал ему ознакомиться с исходными текстами Стрелки - в июле, сентябре и октябре. В июле ему это было неинтересно, интересовало только - насколько трудно было изучать алгоритм Рыбки дизассемблером, и насколько труднее это в отношении новых версий Рыбки. Я ему подробно обо всем написал.
В сентябре он был очень занят подготовкой к матчу с Заппой, и ему было не до Стрелки. После моего октябрьского письма он думал о чем-то недели три, и ответил как-то совсем туманно.

И вот теперь это его последнее заявление... Непонятно - исходники Стрелки читать не хотим, но мнение о ней имеем твердое.
here it is in English(machine translation, but quite readable):
Strange person is he - this Vasik.

Three times I proposed him to view the source code of Strelka - in July, September and October. In July it it was uninteresting for him, he was interested only how difficult it was to study algorithm of the Rybka by disassembling it, and if it is more difficult with the new versions of the Rybka. I gave him detailed answer. In September he was very busy with preparation for a match with Zappa, and he had no time for Strelka. After my letter from October he was silent for three weeks, and has answered somehow quite mistily.

And now here is his last statement... Incomprehensible - he does'nt want to read the source code of Strelka, but his opinion about it is quite hard.
Sorry George, but Ulysses is right. The public domain statements are worthless with regard to this.

Have you seen our "new" engine Tossa btw? 2750 maybe moreka....

:wink:

Christopher