by Bostonian · 2y ago · 0 comments
Many legal systems don't know "fair use" and by default you have effectively zero rights to do anything with copyrighted materials without explicit permission.
The license will tell you what is allowed (and If its a standard one you can assume it is in accordance with the law)
https://www.copyright.gov/fair-use/
more likely to find that nonprofit educational and noncommercial uses are fair.
less likely to support a claim of a fair use than using a factual work (such as a technical article or news item).
if the use employs only a small amount of copyrighted material, fair use is more likely.
And since code tends to be more idea than expression most of it can be considered to not fall under copyright after the application of the Abstraction, Filtration, Comparison doctrine.
Of course if you piss off an entity with a bunch of money to throw at lawyers it could be a bigger issue, regardless if you’re in the right, because defending yourself can rack up legal fees.
I do copyright/patent/trade secret inspections of source code for a living.
EDIT: Yet again, downvoted for just stating the truth... The irony is that 10 years ago and before the controversies around LLMs this comment would not have garnered negative attention because the forum was all for weaker copyrights... when copyright affected musicians instead of programmers' bottom lines... Sigh...
EDIT: I did a little bit of investigation and there are similar limits on copyrights in Germany known as "limitations on protected rights" that seem to carve out things like educational use and archiving, but I don't know anything about German law. I would find it surprising if most Western nations didn't have something similar to fair use unless there was an active interest in damaging the public's access to information.