News for hackers. Stuff that matters.
Re:Copilot sells code other people wrote by paulcole on Thursday June 23, 2022 @07:48AM (#31847731)
> Under German law, the code is legally not allowed to be reproduced or used without explicit permission even if it doesn't have a license

This is nuts. How can anbody be expected to both know that you’re German and German law when you post on an international website?

Or is this a German law that exists to prevent other Germans from doing things but that the rest of the world scoffs at?

https://choosealicense.com/

Re:Copilot sells code other people wrote by giaour on Thursday June 23, 2022 @08:47AM (#31848283)
US law is pretty similar in this regard, isn't it? If you don't have a license for a particular piece of code, you can't use it without the author's/copyright holder's permission, even if you found it posted online.
Re:Copilot sells code other people wrote by solar-ice on Thursday June 23, 2022 @08:42AM (#31848223)
You're expected, wherever you are, to look into where any code you use comes from and what legal rights you have to use it. (The author not offering you a license means you can't use the code, nearly anywhere in the world - pretty basic Berne Convention stuff.)

This is the legal expectation in general, not just for software - you can't just come across a design for a neat widget somewhere and start using it in your product, there's probably both copyright and patent on it. Software isn't special. Not everything in Github can be copied into your code verbatim.

Re:Copilot sells code other people wrote by falcolas on Thursday June 23, 2022 @08:43AM (#31848238)
That’s how us law works too. Works are automatically under copyright, even if you don’t say so. It needs a license to lessen the copyright restrictions.