About strelka1.8 sources

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

Moderators: hgm, Rebel, chrisw

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

About strelka1.8 sources

Post by Uri Blass »

I got source of this program and was asked to write a message about this program so I decided to do it.


1)I was not able to compile the source based on the .c and the .h files that I got but I guess that it is because of my lack of knowledge in compiling programs.

Board.c has
memset(Board, 0, sizeof(struct board_t));

I could find
extern struct board_t Board[1]; in parse.c when the definition of board_t is in strelka.h

It is clear to me that the compiler needs to know about parse.c and strelka.h when it compiles Board.c and without #include I do not understand how it can do it.

I guess that there is some way to compile it based only on the .c and .h files that I got.
I asked for help in doing it and I will try to compile it as soon as I get it.




2)I did not get the impression that it is a clone of a known free source program and it is clearly not a case when the programmer started from a known free source and changed it.

There is some similiarity with fruit but this similiarity can clearly be based on learning from ideas.

I did not compare most of the structures to fruit structure but here is a structure that is practically the same as fruit and my opinion is that it is legal because we are talking about a small structure that people also can find independently.

I decided to compare the basic structure of hash and I see that the basic structure of hash is the same.

fruit2.1 has the following struct

struct entry_t {
uint32 lock;
uint16 move;
sint8 depth;
uint8 date;
sint8 move_depth;
uint8 flags;
sint8 min_depth;
sint8 max_depth;
sint16 min_value;
sint16 max_value;
};

Strelka has exactly the same parameters in the hash
partly with different names and different name of variable types and different order of variables.


Uri
Alessandro Scotti

Re: About strelka1.8 sources

Post by Alessandro Scotti »

Hi Uri,
that's good to know! Re: the hash structure it's probably inspired to that of Fruit, but since the code has been rewritten I don't see any problem with that. (The only thing I'm curious to know is whether storing two bounds helps or not, as IIRC Fabien said it doesn't help much but I have never got to try that)
Christopher Conkie
Posts: 6073
Joined: Sat Apr 01, 2006 9:34 pm
Location: Scotland

Re: About strelka1.8 sources

Post by Christopher Conkie »

Uri Blass wrote:I got source of this program and was asked to write a message about this program so I decided to do it.
Who Uri?

Who sent or gave you the source?

Who asked you to write something about it?

And......why are you writing about it?

What for?

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

Re: About strelka1.8 sources

Post by Uri Blass »

Christopher Conkie wrote:
Uri Blass wrote:I got source of this program and was asked to write a message about this program so I decided to do it.
Who Uri?

Who sent or gave you the source?

Who asked you to write something about it?

And......why are you writing about it?

What for?

Christopher
Sergei Markoff sent me the source.

Note that the main similiarity in analysis is to rybka but I do not have the source of rybka so I compared the code only with the open source programs and I remember claims that strelka is based on fruit so it is logical to compare with fruit.

Note that strelka is clearly smaller than fruit(except some big table of numbers) so I guess it is more easy to understand it than understanding fruit.

Uri
Christopher Conkie
Posts: 6073
Joined: Sat Apr 01, 2006 9:34 pm
Location: Scotland

Re: About strelka1.8 sources

Post by Christopher Conkie »

Send it to me.

I will be able to tell you if it has Rybka in it for sure.

chris at playwitharena dot com

8-)

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

Re: About strelka1.8 sources

Post by Uri Blass »

Sorry but I am not sure if I have the right to send it to other people
inspite of the fact that I was not asked not to do it.

My assumption is that I am not allowed to distribute the source and if the person who send me want to do it he can distribute the source by himself.

Note only that
I am not the only programmer who got the source.

Tord also got it.

Uri
User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Re: About strelka1.8 sources

Post by George Tsavdaris »

Christopher Conkie wrote:Send it to me.

I will be able to tell you if it has Rybka in it for sure.
How?
Have you seen Rybka's code or have you disassembled it?

chris at playwitharena dot com
He needs confirmation from Strelka's author(i don't think Markoff's is enough, since the engine is from Osipov and the fact that Sergei sent the code to Uri is irrelevant) i guess for that....
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
Christopher Conkie
Posts: 6073
Joined: Sat Apr 01, 2006 9:34 pm
Location: Scotland

Re: About strelka1.8 sources

Post by Christopher Conkie »

Uri Blass wrote:Sorry but I am not sure if I have the right to send it to other people
inspite of the fact that I was not asked not to do it.

My assumption is that I am not allowed to distribute the source and if the person who send me want to do it he can distribute the source by himself.

Note only that
I am not the only programmer who got the source.

Tord also got it.

Uri
I don't want the complete source.

I want the numbers part.....that great big table of values....you know the one I mean.

I don't even need any explaination as to what the values are.

Just the values themselves. Now I'm sure you can send just that.

Christopher
Christopher Conkie
Posts: 6073
Joined: Sat Apr 01, 2006 9:34 pm
Location: Scotland

Re: About strelka1.8 sources

Post by Christopher Conkie »

George Tsavdaris wrote:
Christopher Conkie wrote:Send it to me.

I will be able to tell you if it has Rybka in it for sure.
How?
Have you seen Rybka's code or have you disassembled it?

chris at playwitharena dot com
He needs confirmation from Strelka's author(i don't think Markoff's is enough, since the engine is from Osipov and the fact that Sergei sent the code to Uri is irrelevant) i guess for that....
Trust me.....I will know as soon as I see the values I've asked Uri for.

If you don't believe me ask Vasik........

:wink:

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

Re: About strelka1.8 sources

Post by Uri Blass »

Christopher Conkie wrote:
Uri Blass wrote:Sorry but I am not sure if I have the right to send it to other people
inspite of the fact that I was not asked not to do it.

My assumption is that I am not allowed to distribute the source and if the person who send me want to do it he can distribute the source by himself.

Note only that
I am not the only programmer who got the source.

Tord also got it.

Uri
I don't want the complete source.

I want the numbers part.....that great big table of values....you know the one I mean.

I don't even need any explaination as to what the values are.

Just the values themselves. Now I'm sure you can send just that.

Christopher
I understand what you mean but I do not feel free to do it.
If sergei does not send them to you or does not allow me to send them to you then I am not going to do it.

He did not tell me not to send them to you but I assume that I cannot give a big part of the code without his agreement.

Note only that
my opinion (based on similiarity between the analysis of strelka and rybka) is that the table in strelka is probably the same table as the table in rybka.



Uri
Last edited by Uri Blass on Mon Oct 01, 2007 7:31 pm, edited 2 times in total.