News for hackers. Stuff that matters.
Re:Copilot regurgitating Quake code, including sweary comments by rjknight on Friday July 02, 2021 @09:36AM (#27711331)
> This product seems like it needs some more thought. Maybe a way to comment, flag, or otherwise call out bad output?

Wait for your colleagues to use it, fix the bad code in the pull request, and wait for copilot to learn from the new training data you just provided!

Re:Copilot regurgitating Quake code, including sweary comments by more_corn on Friday July 02, 2021 @10:36AM (#27712059)
This is actually a good idea that is missing from nearly every machine learning product. How do you back propagate lessons from user interaction into future training of the model? It can be done, I can't think of a place I've seen it done though.
Re:Copilot regurgitating Quake code, including sweary comments by adriancr on Friday July 02, 2021 @10:56AM (#27712333)
It would be viewed as IP theft by most companies to upload private code to this for use by others
Re:Copilot regurgitating Quake code, including sweary comments by dgb23 on Friday July 02, 2021 @11:32AM (#27712808)
It would have to be in the same range of what is suggested, small patches and opt in.

If snippets are a legal problem, then Copilot is problematic by default, since it suggests code that may or may not be sourced from free software.

Re:Copilot regurgitating Quake code, including sweary comments by adriancr on Friday July 02, 2021 @11:48AM (#27713034)
Even free software snippets have clauses like GPL or attribution.

Putting GPL code in proprietary codebase would cause a company massive headaches...

So I agree copilot is problematic by default, liability to lawsuits for employers and forced open sourcing, liability to IP lawsuits as well which will end up on employees shoulders.

Re:Copilot regurgitating Quake code, including sweary comments by TeMPOraL on Friday July 02, 2021 @12:28PM (#27713632)
It's tricky, because once you start accepting user feedback, you need to moderate it, or else someone will poison your model for fun and profit.
Re:Copilot regurgitating Quake code, including sweary comments by giantg2 on Friday July 02, 2021 @10:37AM (#27712076)
But what about all the bad training data provided too?