5 ms·
> but that is also copyright infringement. so basically all of Stackoverflow is copyright infringement and has been for decades? Find me the programmer who has
by pmarreck 4y ago
> but that is also copyright infringement.
so basically all of Stackoverflow is copyright infringement and has been for decades? Find me the programmer who has never either 1) copied and pasted directly from the internet, or 2) taken an idea found on the internet and massaged it for their own purposes. I mean... this is basically why programming is so lucrative IMHO. Everyone is piggybacking off of everyone else's work (at least in open source)
- ryukafalz 4y ago(Recent) StackOverflow contributions are licensed under CC BY-SA 4.0 by default (though the author can of course release it under any additional licenses they choose): https://stackoverflow.com/help/licensing https://stackoverflow.com/help/licensing If the code is really sufficiently trivial (and I’d guess that most code samples you’ll find on StackOverflow are) you may have a fair use argument in the US. Generally speaking though (and especially for anything nontrivial) you need to respect the license. CC BY-SA 4.0 is one-way compatible with GPLv3, though, so that helps if you’re including it in a GPLv3 codebase: https://creativecommons.org/2015/10/08/cc-by-sa-4-0-now-one-way-compatible-with-gplv3/ https://creativecommons.org/2015/10/08/cc-by-sa-4-0-now-one-...
- pmarreck 4y agoDefine "sufficiently trivial"
- ryukafalz 4y agoIt's fuzzy and imprecise, as many legal concepts are. Small/unoriginal enough snippets may not even be copyrightable: https://en.wikipedia.org/wiki/Threshold_of_originality https://en.wikipedia.org/wiki/Threshold_of_originality Then even if it is copyrightable, under some circumstances your use of it may be considered fair use anyway: https://en.wikipedia.org/wiki/Fair_use#U.S._fair_use_factors https://en.wikipedia.org/wiki/Fair_use#U.S._fair_use_factors Or potentially de minimis: https://blogs.library.unt.edu/copyright/2017/09/05/the-de-minimis-defense-in-copyright-law-de-mini-what/ https://blogs.library.unt.edu/copyright/2017/09/05/the-de-mi... But when in doubt, ask for permission or ask a lawyer.
- account42 4y agoEven apart from copyright aspect, it would be nice if we as programmers would improve our attitude towards attribution. If researchers can cite the work that has influenced theirs without legal threats than so can we.
- zvr 4y agoThe tens of thousands of developers in a company I am familiar with have taken a basic training on intellectual property concepts and software licenses. A typical case mentioned in the training is that code from StackOverflow is (probably) licenses under CC-BY-SA 4.0 and as such it can never be copied inside their proprietary-licensed code base.
- ryukafalz 4y agoThis is something I wish more companies would do. It’s sorely needed.