Live data from Hacker News

GitHub Copilot

copilot.github.com

971–980 of 1001 posts

Re: GitHub Copilot

#971

Earlier quoted context omitted.

I'm not sure I spend less time actually coding stuff (because I have to review the Copilot code). But the cost of the code I write is definitely reduced, because: - the review from my peers is faster (the code is more correct) - I come back less to the code (because I have thought about all the corner cases when checking the copilot code) - As I care more about naming & inline docs (it helps copilot), the code is act…

Check out how it helped me write a React component: https://twitter.com/francoisz/status/1409919670803742734 I think hit the Tab key more than I hit any other key ;)

I can't see anything due to the variable bitrate.

Re: GitHub Copilot

#972

Plenty of discussion about the IP issues. It makes me want to start adding a section in my LICENSE.txt that says it's not eligible for use training commercial models. We'll likely end up with a whole set of license choices for that. Although if a license can permit or prohibit use in training commercial models, does that mean that the lack of permission implies a prohibition on it?

My guess is that there is something in the GitHub terms of service that says you consent to this by using them to host your code.

Good thing there are many other platforms we can move to. And most of them are open source unlike GitHub.

Re: GitHub Copilot

#973

So if it was trained using "source code from publicly available sources, including code in public repositories on GitHub." was it also GPLv2? So everything generated also GPLv2?

You bring up a really good point. I'm super curious what the legality and ethics around training machines on licensed or even proprietary code would be. IIRC there are implications around code you can build if you've seen proprietary code (I remember an article from HN about how bash had to be written by someone who hadn't seen the unix shell code or something like that). How would we classify that legally when it co…

> (I remember an article from HN about how bash had to be written by someone who hadn't seen the unix shell code or something like that).

I believe you're referring to Clean Room Design[1].

[1] https://en.wikipedia.org/wiki/Clean_room_design

Re: GitHub Copilot

#974

Calling it a pair programmer is a bit exaggeration though. How can it match a human?

It's different. Here you train your partner to be sold as part of massive corporate product and have all your code phoned home in exchange for a little assistance.

Re: GitHub Copilot

#975
post #245

Earlier quoted context omitted.

How many jobs have developers helped displace in business and industry? I don't think it's controversial that we become fair game for that same automation process we've been leading.

Nothing is inevitable. Doctors and lawyers have protected their professions successfully for centuries. Only some software developers seem interested in replacing themselves in order to enrich their corporate masters (mains?) even further. Just don't use this tool!

This feels like people protesting against automation by not using the automated checkout machines at a store. Go ahead, faster queues for me.

Re: GitHub Copilot

#977
post #625

I'm amazed to see how positive the overall response is to this idea. Almost as if programmers think that writing programs is the worst part of the job and ready to be automated away. As someone more aligned with the Dijkstra perspective, this seems to me like one of the single worst ideas I've ever seen in this domain. We already have IDEs and other tools leading to an increase in boilerplate and the acceptance of it…

You sound afraid you'll be replaced by software.

Are you not?

Re: GitHub Copilot

#979
post #548

Earlier quoted context omitted.

I mean you say this, but you and most likely the majority of programmers rely on dozens of repositories, packages and libraries with likely zero deep understanding of it (and at the very least haven't read the source code of ) so I don't really understand the difference here. The advantage of something like this is that instead of having to go to stack overflow or any number of reference sites and copy pasta it can j…

I really wonder who those folks copy-pasting from Stack Overflow all day are. I only rarely find pieces of code that I can copy-paste. Typically Stack Overflow only gives me an idea of how to solve something, but incorporating that idea into my code base is still not trivial.

Thank you! I've never understood this meme about copy-pasting. I honestly rarely end up using SO and when I do, I almost never copy paste from there. It's not because it's some kind of weird principle I have - I will copy paste if I think it makes sense - it's just rare that I want the exact thing they have written there (it's in JS and I'm using TS, it's using another library than I am, etc) and generally I'm looking for information rather than code.

Re: GitHub Copilot

#980

Earlier quoted context omitted.

Has anyone used Copilot with a more succinct language? It appears to only automate boilerplate and rudimentary patterns, which while useful in repetitive low signal to noise ratio languages like React or Java, sounds less appealing if you're writing Clojure.

I've not used Copilot but I've experimented with two other AI driven autocompletion engines in Java and Kotlin. In both cases I uninstalled the plugins due to a combination of two problems: 1. The AI suggestions were often less helpful than the type driven IDE autocompletions (using IntelliJ). 2. The AI plugins were very aggressive in pushing their completions to the top of the suggestions list, even when they were s…

Good luck using type-based autocomplete to write entire functions for you.
Post reply on HN