Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Cookbook / Licensing issues #1

Open
jcubic opened this issue May 28, 2021 · 14 comments
Open

New Cookbook / Licensing issues #1

jcubic opened this issue May 28, 2021 · 14 comments

Comments

@jcubic
Copy link
Contributor

jcubic commented May 28, 2021

Because the old cookbook has an LGPL license we can't use it for a new cookbook and force people to include a license.

Solution: create a completely new cookbook.
I propose license CC-BY-SA same as StackOverflow from where we can grab some solutions to common problems.

If you want to share the recipe please create an issue.

@lassik
Copy link
Member

lassik commented May 28, 2021

Thanks for taking initiative with the cookbook.

The code examples should not use CC-BY-SA since that's not a known open source license. They should probably use CC0. CC0 is Public Domain, but with some extra text for countries where people can't donate work into the Public Domain.

If StackOverflow is using CC-BY-SA for the code, then thousands or millions of people may be breaking the terms of that license by copy/pasting code without attribution. CC licenses (other than CC0) are generally not recommended for code.

I don't have an opinion on the license for the explanatory text, but would CC0 work for that as well?

@lassik
Copy link
Member

lassik commented May 28, 2021

(I don't know why the old Scheme cookbook was LGPL, and how that license was intended to apply to code)

@jcubic
Copy link
Contributor Author

jcubic commented May 28, 2021

The problem with CC0 is that we will not be able to use code from StackOverflow. I was hoped to search for some common problems and copy-paste the code and use the same license (CC-BY-SA).

@lassik
Copy link
Member

lassik commented May 28, 2021

Is there a page explaining how the StackOverflow license is intended to be applied? SA means "share-alike" which would imply that if you paste the code into a permissively licensed program (e.g. MIT or BSD license), the program changes to copyleft (similar to the GPL).

If the StackOverflow license does not apply to their example code, then we can copy that code into the cookbook no matter what license SO is using.

@jcubic
Copy link
Contributor Author

jcubic commented May 28, 2021

There is this page https://stackoverflow.com/help/licensing. But the law language is difficult (I had no issue with legal texts in my own native language Polish but for English, I have some problems with understanding).

The license is explained at https://stackoverflow.com/help/licensing but also there is the Term Of Service and I think that they explain how to use a license if someone will want to copy the whole StackOverflow (this can be only done for personal and non-commercial purpose).

Maybe we should concat with some copyright lawyer so can look at everything and tell us what we can and can't do with the content.

@jcubic
Copy link
Contributor Author

jcubic commented May 28, 2021

I think that I will ask on Meta StackExchange or maybe Law StackExchange.

@lassik
Copy link
Member

lassik commented May 28, 2021

One lawyer explains it in this blog post: What is the license status of StackOverflow code snippets?. The result is very unclear. Nobody seems to know how to interpret the SO terms. I think it would be best to avoid this kind of confusion.

I skimmed the Terms of Service, and they talk about "Subscriber Content" which includes code. They say attribution is required for Subscriber Content.

I think we're going overboard if we require attribution in 5 or 10 line snippets copy-pasted into a program, and it makes the license of the resulting program unclear.

@lassik lassik changed the title New Cookbook New Cookbook / Licensing issues May 28, 2021
@jcubic
Copy link
Contributor Author

jcubic commented May 28, 2021

I always give a kind of attribution to code snippets from stack overflow (usually using ref: <short url> in comment).

@lassik
Copy link
Member

lassik commented May 28, 2021

I asked @johnwcowan to comment since he has a lot of experience with open source licensing.

@soegaard
Copy link

Feel free to use recipes in the old cookbook under whatever license you want.

@lassik
Copy link
Member

lassik commented Jun 10, 2021

@soegaard Did you rite most of them?

@soegaard
Copy link

soegaard commented Jun 10, 2021

I wrote quite a few. My favorite is the one explaining do-notation.

Other names I remember: Noel Welsh, Neil van Dyke and Anton van Straten.
Mail me if you need their emails.

I don't know how many recipes are still relevant though - I think both libraries and coding style
has evolved since then.

@lassik
Copy link
Member

lassik commented Jun 10, 2021

@soegaard OK, seems each page in the cookbook lists the person/people who wrote that page. Neat!

We've been planning a dual-license or multi-license (possibly MIT/BSD/ISC/CC0) for the cookbook material to make it as easy as possible to copy code to a project without hassle. Would you be willing to release your pages under this license?

@soegaard
Copy link

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants