r/programming • • Oct 01 '19

Stack Exchange and Stack Overflow have moved to CC BY-SA 4.0. They probably are not allowed too and there is much salt.

https://meta.stackexchange.com/questions/333089/stack-exchange-and-stack-overflow-have-moved-to-cc-by-sa-4-0
1.3k Upvotes

445 comments sorted by

View all comments

Show parent comments

9

u/HowIsntBabbyFormed Oct 02 '19

Is the "sharealike" clause any more restrictive than the GPL? Because you can copy GPL code into whatever internal code your company has and there are no issues since you're not redistributing it.

I suppose it would be an issue if you were copy-pasting stackoverflow code into a closed-source program that you were distributing to customers... but you shouldn't be copy-pasting any code you find online into a distributed, closed-source, program unless you're 100% sure it's open source and non-copyleft (like public domain, MIT, Apache, BSD type licenses). And even then, you might not "infect" your codebase, but there might be other requirements, like documentation and copyright notices.

10

u/danhakimi Oct 02 '19

Yes, sorry, I'm talking about use in a file / product that is being distributed. People do it. People also try including that code in open source projects, which I then catch after they download the projects from GitHub and take their licenses at face value. Some of the time. Mostly only if there's a comment saying "we took this from StackOverflow."

To clarify, copyleft code can be used, it's just tricky. I'm not going to sit here and detail each license's requirements for you (although I might if you paid me), but... They're not all "don't use me!"

The sharealike is a little different from the gpl, but they both turn on the definition of derivative work, which is ambiguous. The fsf tells you where they draw the line for software derivative works, but CC doesn't, because they ain't about software.

2

u/Nastapoka Oct 02 '19

The sharealike is a little different from the gpl, but they both turn on the definition of derivative work, which is ambiguous.

Is it what we also call "copyleft"? Or is that yet another idea?

1

u/danhakimi Oct 02 '19

Same idea..

5

u/playaspec Oct 02 '19

There really should be a matrix of flowchart to navigate this.

2

u/OnlyForF1 Oct 02 '19

How many people are working for companies without customers though?

4

u/astrange Oct 02 '19

Lots of people work for SaaS companies. They only have to worry about the AGPL, which nobody uses.

1

u/flukus Oct 02 '19

That's because of the distribution exemption in the GPL, does this license have an out for people not distributing code? Copyright only allows for personal exemptions not corporate ones.

1

u/[deleted] Oct 02 '19

AGPL is basically "you have to share code even if you are just providing a service with that code". So say to every user of you SaaS app

0

u/flukus Oct 02 '19

But the GPL is an exception in copyright in that it allows commercial use without complying with the terms, I wouldn't just assume CC does, unless they specifically allow it or it kicks in on distribution I'd assume it was more like the AGPL.

0

u/[deleted] Oct 02 '19

It does not. Why you think it does? We've already had plenty of cases of companies being sued over it and losing or settling.

There is not any exception, just "you have to give source code to every user" which just means if all your users are internal then you do not need to share it to outside. And also that they are free to take it out of company and share further

0

u/flukus Oct 02 '19

Then how do you think commercial licences work? You don't just get to use them internally.

2

u/astrange Oct 03 '19

You're right. The GPL is written not to be an end user license, you don't even have to "agree" with it to use the software. (sometimes installers make you agree to it but they're wrong)

Most FOSS licenses are like this though, excepting the patent clause in Apache. I believe CC is the same except for CC-NC.

1

u/langlo94 Oct 02 '19

Nah the AGPL is used in SS13.