I was curious about the fuss over Fruit...

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
hgm
Posts: 23774
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: I was curious about the fuss over Fruit...

Post by hgm » Sat Jan 29, 2011 10:13 am

I am no lawyer, but I doubt if it is necessary to have a copyright notice in every file. When I buy a book, I also usually do not se a copyright notice on every page...

Damir
Posts: 2191
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

Re: I was curious about the fuss over Fruit...

Post by Damir » Sat Jan 29, 2011 10:19 am

pawnslinger wrote:Also, in all the files I am working on, I am adding this notice at the very top of the file:

/********************************************************************************************************************
Fruit 2.1 UCI by Fabien Letouzey (c) 2005, licensed under the GPL v.2 of the Free Software Foundation
MyFruit 1.0 by Edwin Meiners (c) 2010, licensed under the GPL v.2 of the Free Software Foundation
********************************************************************************************************************/
I think this will clearly spell the status of the code.
Do you have a link to MyFruit 1.0 ? :)

pawnslinger
Posts: 42
Joined: Thu Jan 06, 2011 8:10 pm
Location: Mesa, AZ USA

Re: I was curious about the fuss over Fruit...

Post by pawnslinger » Sun Jan 30, 2011 3:19 am

hgm wrote:I am no lawyer, but I doubt if it is necessary to have a copyright notice in every file. When I buy a book, I also usually do not se a copyright notice on every page...
It is my habit of many years. When I was coding professionally, my lawyer advised me EVERY file needed a notice, each source code file and the executable and the documentation. So I just got in the habit of cut-n-paste. It is like boiler plate.

But you are most likely correct. In fact, from the recent research I have done, current law does not require any copyright notices at ALL. If you don't have explicit license, it automatically is granted to the author.

pawnslinger
Posts: 42
Joined: Thu Jan 06, 2011 8:10 pm
Location: Mesa, AZ USA

Re: I was curious about the fuss over Fruit...

Post by pawnslinger » Sun Jan 30, 2011 3:30 am

Damir wrote:
pawnslinger wrote:Also, in all the files I am working on, I am adding this notice at the very top of the file:

/********************************************************************************************************************
Fruit 2.1 UCI by Fabien Letouzey (c) 2005, licensed under the GPL v.2 of the Free Software Foundation
MyFruit 1.0 by Edwin Meiners (c) 2010, licensed under the GPL v.2 of the Free Software Foundation
********************************************************************************************************************/
I think this will clearly spell the status of the code.
Do you have a link to MyFruit 1.0 ? :)
A work in-progress. Since I am retired, I am just takihg my time and having fun. My immediate goal is to add multi-threading. I looked at the Toga source code to see how they did it, and I was not overly impressed. They used MS threading, guess they use VC. I want to use POSIX threads. And I am much too picky about my code, so I am trying to learn Fruit from the inside out. I am doing this line by line. Trying to understand all the code.

So far I am thru with the trans.cpp file. I am working on material.cpp right now. As well as Fabien did in writing Fruit, material.cpp is getting almost completely rewritten. Some of the "if" statements run on and on for pages. The compiler doesn't complain, but I find it very hard to understand it. So I am redoing it all. Keeping the same underlying idea that Fabien had intact, but redoing the code. Not as structured, to be sure... I will be using "goto" statements to unravel the "if" statements. And I am eliminating all redundant code. Should be easier to understand and run faster when I am done.

Anyway, it all takes time. I won't release anything until I have it enough in hand to get the threading working. Once the threads are working, then I will release a beta copy. I am not sure, but it will be awhile.

NaltaP312
Posts: 48
Joined: Wed Oct 29, 2008 12:06 pm

Re: I was curious about the fuss over Fruit...

Post by NaltaP312 » Mon Jan 31, 2011 9:33 pm

I invite you to visit the Toga forum
http://www.computerchess.info/tdbb/phpBB3/index.php

You will found some Toga version and so other program MP.

Post Reply