Live data from Hacker News

GitHub Copilot available for JetBrains and Neovim

github.com

321–330 of 446 posts

Re: GitHub Copilot available for JetBrains and Neovim

#321
post #309
post #289

Earlier quoted context omitted.

Did you try it? Because I've been using it for weeks and it makes me read these types of comments as "I don't understand the value of the internet" or "what's the purpose of owning a phone". It's night and day if you have it enabled or not. There's just no question about the value proposition once you start using it. I mean, you can tell comments here from people who have actually been using it, and people who have n…

Are you worried about copyright issues from the code it produces?

It only spits out functions at most 10 lines long. There is very little that could actually be copywritten in a 10 line block. And most of those suggestions are incredibly generic problems like find the distance between two coords.

Re: GitHub Copilot available for JetBrains and Neovim

#322
post #76

Copilot is crazy. The other day, I was writing a Python function that would call a Wikipedia API. I pulled from the internet an example of a GET request, and pasted it as a comment in my code. # sample call: https://en.wikipedia.org/w/api.php?action=query&format=json&list=geosearch&gscoord=37.7891838%7C-122.4033522&gsradius=10000&gslimit=100 Then I defined a variable, base_url = "https://en.wikipedia.org/w/api.php?"…

That code is unadulterated garbage

Re: GitHub Copilot available for JetBrains and Neovim

#323

Earlier quoted context omitted.

Speaking as a former pentester, this is a fine way to form query params in this specific case, if lat and long are floats. They're the only data you can control, and unless they're strings, it's useless for exploitation. Even denormal floats / INF / NAN won't help achieve an objective. I broadly agree with you, but people are pummeling Copilot for writing code that I saw hundreds of times. Yes, sometimes I was able t…

But I would still never not escape the params because you don’t know how that code will change one day or where it will end up, and chances are that you won’t remember to fix it later if you don’t fix it now. We just had a major failure at work recently because someone decided to not decode URL params and their code worked fine for years because it never mattered… until it did. Just do it right. It’s so easy. Why ris…

[deleted]

Re: GitHub Copilot available for JetBrains and Neovim

#324

Earlier quoted context omitted.

Speaking as a former pentester, this is a fine way to form query params in this specific case, if lat and long are floats. They're the only data you can control, and unless they're strings, it's useless for exploitation. Even denormal floats / INF / NAN won't help achieve an objective. I broadly agree with you, but people are pummeling Copilot for writing code that I saw hundreds of times. Yes, sometimes I was able t…

But I would still never not escape the params because you don’t know how that code will change one day or where it will end up, and chances are that you won’t remember to fix it later if you don’t fix it now. We just had a major failure at work recently because someone decided to not decode URL params and their code worked fine for years because it never mattered… until it did. Just do it right. It’s so easy. Why ris…

[deleted]

Re: GitHub Copilot available for JetBrains and Neovim

#325
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?

Lombok and most intellij features make java boilerplate pretty obselete.

Re: GitHub Copilot available for JetBrains and Neovim

#326
post #213

I’ve never understood the value proposition for Copilot. In terms of difficulty, writing code is maybe on average a two out of ten. On average, maintaining code you wrote recently is probably a three out of ten in terms of difficulty, and maintaining code somebody else wrote or code from a long time ago probably rises to around a five out of ten. Debugging misbehaving code is probably a seven out of ten or higher. Gi…

The value prop for things like these is always the same: for the widely - and accurately, although that's irrelevant to my point - lambasted initial release to start the ten year journey down the road towards the creation of an eventual product that will make people link to comments like these the way they link to the original Dropbox Show HN: post.

There are levels of ease of which we have not yet dreamed, especially in the realm of information manipulation.

Re: GitHub Copilot available for JetBrains and Neovim

#327
post #213

I’ve never understood the value proposition for Copilot. In terms of difficulty, writing code is maybe on average a two out of ten. On average, maintaining code you wrote recently is probably a three out of ten in terms of difficulty, and maintaining code somebody else wrote or code from a long time ago probably rises to around a five out of ten. Debugging misbehaving code is probably a seven out of ten or higher. Gi…

> In terms of difficulty, writing code is maybe on average a two out of ten.

I’ve never heard talented programmers say that

Re: GitHub Copilot available for JetBrains and Neovim

#328
post #289

Earlier quoted context omitted.

Did you try it? Because I've been using it for weeks and it makes me read these types of comments as "I don't understand the value of the internet" or "what's the purpose of owning a phone". It's night and day if you have it enabled or not. There's just no question about the value proposition once you start using it. I mean, you can tell comments here from people who have actually been using it, and people who have n…

> Because I've been using it for weeks and it makes me read these types of comments as "I don't understand the value of the internet" or "what's the purpose of owning a phone". And yet apart from making this very inaccurate comparison you haven't made any argument for why such a thing as Copilot would be useful to anyone. How do you personally find Copilot useful? And why do you think someone whose job demands more t…

I think current co-pilot is less useful for person who entirely knows the language and libraries.

Right know I see more use for people who understand the language and libraries, but are frequently Googling ”how do I do xyz in P” (because they can’t recall certain things).

Re: GitHub Copilot available for JetBrains and Neovim

#329
post #213

I’ve never understood the value proposition for Copilot. In terms of difficulty, writing code is maybe on average a two out of ten. On average, maintaining code you wrote recently is probably a three out of ten in terms of difficulty, and maintaining code somebody else wrote or code from a long time ago probably rises to around a five out of ten. Debugging misbehaving code is probably a seven out of ten or higher. Gi…

It's meant to be a souped-up autocomplete. You don't quite remember how to do a common thing, and instead of having to go look it up, the IDE suggests it for you and you can keep doing what you're doing. A bunch of small instances of that can save you lots of time.

Re: GitHub Copilot available for JetBrains and Neovim

#330

Earlier quoted context omitted.

> Because I've been using it for weeks and it makes me read these types of comments as "I don't understand the value of the internet" or "what's the purpose of owning a phone". And yet apart from making this very inaccurate comparison you haven't made any argument for why such a thing as Copilot would be useful to anyone. How do you personally find Copilot useful? And why do you think someone whose job demands more t…

I think current co-pilot is less useful for person who entirely knows the language and libraries. Right know I see more use for people who understand the language and libraries, but are frequently Googling ”how do I do xyz in P” (because they can’t recall certain things).

Bouncing around languages and ecosystems is pretty common, isn't it?
Post reply on HN