this post was submitted on 06 Jul 2021
5 points (60.9% liked)

Open Source

32381 readers
827 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 3 years ago (1 children)

Will copilot warn the original author of the stolen code in that case, so that they can sue the copyright violator? Why does copilot even allow inserting more than one line in that case? If you are right that means that it is actively enouraging copyright violation, which puts it on the same level as thepiratebay.org.

[โ€“] [email protected] 0 points 3 years ago* (last edited 3 years ago)

Will your preferred code editor warn the original author that you just cut an pasted some copyrighted code into it? How would it even know?

It allows inserting more than one line because it is dumb and can not know if the piece of code it referenced is copyrighted or not and who wrote it. It just looks at the immediate context of the place of your cursor, then looks at its database where it says "usually these three words are followed by these other three words or letters" and then suggests that (very simplified speaking).

And no it is not anywhere close to the Piratebay ;)