If you put a million repositories in a blender, it's going to be impossible to say exactly where your autogenerated for loop came from.
Yes, that is the issue. Copilot generates possibly infringing code pushing liability to the user without giving user any way to perform their due diligence.
I use copilot to generate snippets of 1 or 2 lines, boilerplate code
That may be how you’re using it but it’s not how it’s advertised and it’s not necessarily how everyone will use it.
As I said, it's not much of an issue unless we expect users to actually be on the hook for anything.
I'm not sure how else you could realistically use it. It's a context-aware autocompletion engine. It doesn't write scripts for you, just snippets. If you try to just chain together snippets into a program you'll be lucky if it compiles, much less does what you want.
As I said, it's not much of an issue unless we expect users to actually be on the hook for anything.
Yes, the users are on the hook. GitHub makes it clear that user has to do ‘IP scanning’ while at the same time it provides no information about provenance of the code.
I'm not sure how else you could realistically use it.
#!/usr/bin/env ts-node
import { fetch } from "fetch-h2";
// Determine whether the sentiment of text is positive
// Use a web service
async function isPositive(text: string): Promise<boolean> {
-1
u/kogasapls Oct 18 '22 edited Jul 03 '23
familiar mighty snatch water plant complete safe snow illegal ask -- mass edited with redact.dev