News for hackers. Stuff that matters.
Re:Copilot sells code other people wrote by Sakos on Thursday June 23, 2022 @07:07AM (#31847434)
I share my code without a license because I want others to be able to see how I solved things. However, this doesn't mean I'm okay with wholesale copying my code. If it's some random guy, then whatever. If it's a corporation like Microsoft, then yeah, I have a problem with it. 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. I retain ownership of it until and unless I explicitly relinquish my ownership rights.
Re:Copilot sells code other people wrote by Xunjin on Thursday June 23, 2022 @08:07AM (#31847896)
Well, it depends on where you post it, right? Because if you are using a GitHub which probably is US based, you follow the laws related to US?!

Demanding that the law of a country should be followed by another is totally no sense. They can agree, make agreements about it, and even take legal action to the Highest court, so it could be evaluated, but using your nationality as an argument of what you can do, it's just plain wrong.

Re:Copilot sells code other people wrote by Sakos on Thursday June 23, 2022 @03:59PM (#31854419)
https://choosealicense.com/no-permission/

I always find it weird how people respond to my comments. Why didn't you check what the US law is like for source code? A lot of places have similar laws around source code, primarily in the West because of efforts to normalise laws across countries, driven by US efforts. And other countries? Well, it's the same for any kind of IP. Either the country has strong IP law and you have the resources to pursue an issue or not and you can't do anything about it.

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.