Questions in Respect to Code Release

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
mar
Posts: 2001
Joined: Fri Nov 26, 2010 1:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Questions in Respect to Code Release

Post by mar » Fri Mar 06, 2015 8:38 pm

jorose wrote:So my first question is in respect to licensing. I want to release my code under GPL however I found out there are 3 versions of GPL, is there a reason not to use the newest version?
I'm not a fan of GPL. It's like a poisoned apple, once you taste it, you can't get rid of it.
You may consider other licensing options, there's a plenty of truly open and free licenses out there.

syzygy
Posts: 4455
Joined: Tue Feb 28, 2012 10:56 pm

Re: Questions in Respect to Code Release

Post by syzygy » Sat Mar 07, 2015 1:57 am

mar wrote:
jorose wrote:So my first question is in respect to licensing. I want to release my code under GPL however I found out there are 3 versions of GPL, is there a reason not to use the newest version?
I'm not a fan of GPL. It's like a poisoned apple, once you taste it, you can't get rid of it.
Sure you can, just release the same code under some other license.

Only if you start accepting contributions from others will you get stuck with that license, but the same applies to other licenses.

jdart
Posts: 3824
Joined: Fri Mar 10, 2006 4:23 am
Location: http://www.arasanchess.org

Re: Questions in Respect to Code Release

Post by jdart » Sat Mar 07, 2015 2:40 am

I think Martin means: GPL gives users of your code few choices. If you use it and distribute the results, then the combined code has to be GPL too.

Licenses such as BSD or MIT give the consumer more choices, including the ability to distribute code w/o requiring source publication.

--Jon

syzygy
Posts: 4455
Joined: Tue Feb 28, 2012 10:56 pm

Re: Questions in Respect to Code Release

Post by syzygy » Sat Mar 07, 2015 5:08 pm

jdart wrote:I think Martin means: GPL gives users of your code few choices. If you use it and distribute the results, then the combined code has to be GPL too.
True, but this might be exactly what the OP wants to achieve. The "consumer" of the code might not like it, but it is the copyright holder that gets to choose.

jdart
Posts: 3824
Joined: Fri Mar 10, 2006 4:23 am
Location: http://www.arasanchess.org

Re: Questions in Respect to Code Release

Post by jdart » Sat Mar 07, 2015 9:20 pm

True, and quite a few people consider this attribute of GPL to be a positive feature. But I am not fond of GPL myself.

--Jon

jorose
Posts: 267
Joined: Thu Jan 22, 2015 2:21 pm
Location: Zurich, Switzerland
Full name: Jonathan Rosenthal

Re: Questions in Respect to Code Release

Post by jorose » Wed Mar 11, 2015 11:04 am

After some thought I've decided to opt for trying to cross compile for Windows, mostly for the learning experience. If there is any interest for a natively compiled Windows binary I will probably ask for help as I don't feel particularly comfortable doing productive things on Windows.

jorose
Posts: 267
Joined: Thu Jan 22, 2015 2:21 pm
Location: Zurich, Switzerland
Full name: Jonathan Rosenthal

Re: Questions in Respect to Code Release

Post by jorose » Wed Mar 11, 2015 11:11 am

As I'm not actually expecting anybody to develop anything on my code basis or even integrate any of my code (there are much better coders writing open source engines) I decided I will use GPL, but might release later versions (or rerelease an existing version) under less strict licenses if anybody interested in using the code should ask for it.

jorose
Posts: 267
Joined: Thu Jan 22, 2015 2:21 pm
Location: Zurich, Switzerland
Full name: Jonathan Rosenthal

Re: Questions in Respect to Code Release

Post by jorose » Wed Mar 11, 2015 11:15 am

Thanks for the reply! I don't think I will copy paste your code, but it should prove useful in understanding the problem you mentioned.

jorose
Posts: 267
Joined: Thu Jan 22, 2015 2:21 pm
Location: Zurich, Switzerland
Full name: Jonathan Rosenthal

Re: Questions in Respect to Code Release

Post by jorose » Wed Mar 11, 2015 11:21 am

Thank you!

I will give links in the header file and mention it in the readme. I will probably write a small entry for my engine on the CPW, but it might be a while before I get around to doing that.

jorose
Posts: 267
Joined: Thu Jan 22, 2015 2:21 pm
Location: Zurich, Switzerland
Full name: Jonathan Rosenthal

Re: Questions in Respect to Code Release

Post by jorose » Wed Mar 11, 2015 11:27 am

A huge thank you! This post helped me more than you probably realize. Many of your individual points were commented on by others and I tried to reply there. On the topic of a makefile I decided I would write a very simple one, along the lines of the shell script variant you mentioned.

Post Reply