Live data from Hacker News

GitHub Copilot available for JetBrains and Neovim

github.com

61–70 of 446 posts

Re: GitHub Copilot available for JetBrains and Neovim

#61
post #50

Earlier quoted context omitted.

I said I use VSCode all the time, which I suspect is the reason I got access. (I never use VSCode.)

I actually do use VSCode (in addition to Vi and Vim) and I believe I indicated that.

Same and I also signed up right away. Still no invite.

Re: GitHub Copilot available for JetBrains and Neovim

#62
post #18

Earlier quoted context omitted.

It may be desirable for boilerplate to be maximally painful if it forces our collective hands to cut down on boilerplate and innovate it away

Who is realistically going to innovate the boilerplate out of Java if they're stuck using it at work?

I mean, Clojure kinda does that

Re: GitHub Copilot available for JetBrains and Neovim

#66

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.

Re: GitHub Copilot available for JetBrains and Neovim

#67

Earlier quoted context omitted.

It does the boring code for me. If I want to throw an exception if an object is null or undefined, Co-pilot will do the if and the exception throw using the right error class, and a more meaningful error message that what I usually came up with. If want to map some random technical data table to something useful in my programming language, I can copy paste the data from the documentation in pdf or html into a comment…

This is the kind of thing I would need to see in real time, because I simply can't believe that it does any of these things in a way that is reliable and doesn't involve having to search through and make sure it hasn't made any mistakes, taking just as much time as if you did it by hand.

It's _very_ good at "learn by example" with some twists. It _does_ make mistakes, and I do double check it, but it still definitely saves time. I used it to write the bulk of a new implementation of a new audio backend for a game engine yesterday - it filled out a lot of the "boilerplate" integration work (e.g. generating all the functions like "set volume/pan/3D audio position" that map over 1:1 to functions in the other library).

I will say, though, that it's also good at making up code that looks very believably real but doesn't actually work.

The ethics involved in Copilot are a bit strange, and I'm not sure I'll keep using it for those reasons, but it does a good job.

Re: GitHub Copilot available for JetBrains and Neovim

#68
post #60

Earlier quoted context omitted.

This is the kind of thing I would need to see in real time, because I simply can't believe that it does any of these things in a way that is reliable and doesn't involve having to search through and make sure it hasn't made any mistakes, taking just as much time as if you did it by hand.

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…

Why does it increment the count?

Re: GitHub Copilot available for JetBrains and Neovim

#70
post #60

Earlier quoted context omitted.

This is the kind of thing I would need to see in real time, because I simply can't believe that it does any of these things in a way that is reliable and doesn't involve having to search through and make sure it hasn't made any mistakes, taking just as much time as if you did it by hand.

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.

Post reply on HN