Earlier quoted context omitted.
Likewise skeptical, but I have been super impressed with it. I just got in to the technical preview, and worked through a specific task I needed to do (involving mongoose, a mongo aggregate query, a few loops, some date functions) and started by adding a comment above each line. It helped a lot actually, felt like a collab. I'll reproduce a generic example I sent a friend. Prompt: const redis = require('redis'); // C…
Redis has the INCR command that does this in redis without the additional round-trips (and race conditions). It also sets the value to 0 if the key doesn't exist. So, I actually consider this to be exactly the bad behavior that people accuse Copilot of.
GitHub Copilot available for JetBrains and Neovim
91–100 of 446 posts
Re: GitHub Copilot available for JetBrains and Neovim
#92Earlier quoted context omitted.
Legally, it needs to be opt-in in order to protect downstream consumers of code written by Copilot. Copilot sometimes reproduces code verbatim. You can't use open source code except under the terms of the license. Authors whose code may be reproduced by Copilot need to grant a license to downstream consumers, and republishers of Copilot-generated code need to adhere to the terms of that license. Copilot is inserting…
Only if the threshold of originality is passed. I feel many of Copilot snippets are so tiny that this threshold is not reached. But not a judge here. https://en.wikipedia.org/wiki/Threshold_of_originality
> Copilot regurgitating Quake code, including sweary comments (twitter.com/mitsuhiko)
Re: GitHub Copilot available for JetBrains and Neovim
#93Can any users give their opinion on how it's helping their productivity? What problems are they finding, if any?
In a way, it does the dirty pipes surprisingly well. But when it comes to implement the core of the algorithm, it is not there yet, but the potential is huge.
Re: GitHub Copilot available for JetBrains and Neovim
#94Earlier quoted context omitted.
Why is that useless? Codebases I have worked on that had high code coverage requirements had very little bugs. * It promotes actually looking at the code before considering it done * It promotes refactoring * It helps to prevent breaking changes for stuff that wasn't supposed to change
The example i usually give [1] in javascript is say you have function (x,y) => x + y Orgs targeting code coverage write a test for 1,2 => 3 and get 100% coverage and then stop as there is no incentive to go further. They don't write tests for say (1,null) (null,null) ('x',1) (NaN, Infinity) and so on.. these additional tests will improve coverage of scenarios and code coverage will not move. I have seen projects wher…
Re: GitHub Copilot available for JetBrains and Neovim
#95Good, I was getting really tired of subtly plagiarizing by hand.
Yesterday, I was disgusted to see framers putting up a house that clearly plagiarized the entire internal structure of my own. Same joint interfaces, same structural idioms when dealing with things like staircases, windows, and rafters, same fasteners, same adhesives, even the building materials! Aside from the most general aspects of the layout, it was exactly the same right down to the inch! People have no professi…
Re: GitHub Copilot available for JetBrains and Neovim
#96Re: GitHub Copilot available for JetBrains and Neovim
#97Copilot has been super fun! Here is a small website I generated via only comments - in the HTML and JS. The CSS needed a bit more massaging but it also auto generated. https://spencer0.github.io/copilot-tests/
The fall of rome was a great event for the people of rome.
Re: GitHub Copilot available for JetBrains and Neovim
#98Still no way to opt your code out of this. Disgusting.
A friend of a friend, told me he is furiously adding code to Github, with subtle security bugs. He can't wait for it to show up in the proper places...Courtesy of Copilot ;-)
Re: GitHub Copilot available for JetBrains and Neovim
#99Why are people not bothered by privacy concerns in this case?
Re: GitHub Copilot available for JetBrains and Neovim
#100For those who don't know, he's essentially the godfather of vim plugins - I even have an entire 'tpope section' in my init.vim