this post was submitted on 14 Jun 2023
20 points (100.0% liked)

Programming

13368 readers
2 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Microsoft is breaking its open and extension-friendly ethos with VSCode in order to cripple GitHub Copilot competitors with restricted APIs.

you are viewing a single comment's thread
view the rest of the comments
[–] argv_minus_one@beehaw.org 6 points 1 year ago (2 children)

I wouldn't touch AI tooling with a ten-foot pole. Sooner or later, someone's gonna get sued for copyright infringement because they plagiarized someone else's code via Copilot, and I don't wanna be that someone.

[–] exx@beehaw.org 2 points 1 year ago (2 children)

At least the way I use AI tooling, it would be very difficult to accidentally plagiarize code outside of boilerplate I guess. The way tools like GitHub Copilot are really useful is when using your existing code as "reference", so if you use it to write a simple method, it's only going to be restructuring your existing code.

In other words, Copilot is basically just meant to be used as really smart copy-paste.

[–] argv_minus_one@beehaw.org 3 points 1 year ago

Plagiarizing boilerplate is still plagiarism.

If it only used my own code, I'd be less reluctant to use it, but I was under the impression that it's trained on numerous projects, not just mine.

Also, if it only used my own code, would it be useful? I very rarely have to write the same code twice.

[–] kugiyasan@lemmy.one 1 points 1 year ago

Might be cool to actually have a pattern copy pasting for those 10 main use cases, I feel like using a LLM just to repeat some boilerplate is such a waste.

One case where the LLM is really useful is when generating some basic comments, but to be fair 50% of the time my comments explain why I'm doing something, and Copilot isn't smart enough to understand that.

[–] Barbarian772@feddit.de 2 points 1 year ago (1 children)

I already copy boilerplate code verbatim from docs or stackoverflow. Also how would that work in closed source programs?

[–] argv_minus_one@beehaw.org 3 points 1 year ago

I already copy boilerplate code verbatim from docs or stackoverflow.

That code has predictable license terms. You have no idea what the license terms are for some random code that an AI plagiarized for you, because you have no idea where it even came from.

Also how would that work in closed source programs?

I don't know, but Stac Electronics somehow figured out that Microsoft plagiarized their code, so it seems best to assume that I will also be caught.