Live data from Hacker News

GitHub Copilot available for JetBrains and Neovim

github.com

91–100 of 446 posts

Re: GitHub Copilot available for JetBrains and Neovim

#91
post #70
post #60

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.

Yes it's not very shinning there. I would also throw the error instead of printing the error to the console and returning undefined.

Re: GitHub Copilot available for JetBrains and Neovim

#92
post #71

Earlier 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

The threshold of originality is clearly being reached some of the time:

> Copilot regurgitating Quake code, including sweary comments (twitter.com/mitsuhiko)

https://news.ycombinator.com/item?id=27710287

Re: GitHub Copilot available for JetBrains and Neovim

#93
post #2

Can any users give their opinion on how it's helping their productivity? What problems are they finding, if any?

Useful to say, write a python script, doing some mandane things, like generate all the argparse lines for you, read the files, etc.

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

#94
post #72
post #56

Earlier 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…

So one argument against code coverage requirements is that poor engineers won't test correctly. Without the code coverage requirements you're in the same situation.

Re: GitHub Copilot available for JetBrains and Neovim

#95
post #34

Good, 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…

That analogy only works if you designed/architected your own house.

Re: GitHub Copilot available for JetBrains and Neovim

#97

Copilot 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.

AI comedy gold

Re: GitHub Copilot available for JetBrains and Neovim

#98
post #87
post #63

Still 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 ;-)

But people already naturally exhibit subtle bugs in the course of ordinary programming. Your acquaintance will just be another drop in the ocean.
Post reply on HN