Live data from Hacker News

GitHub Copilot is generally available

github.blog

11–20 of 796 posts

Re: GitHub Copilot is generally available

#11
post #7
post #3

What's the criteria for being considered "a maintainer of a popular open source project"? They never actually publish the criteria anywhere from what I can tell. They just say visit the subscription page and if you are eligible it should be available to you and if you see a charge then you are not eligible. I think though they should still be transparent about what their metric is for determining popular projects on…

> What's the criteria for being considered "a maintainer of a popular open source project"? The FAQ [0] says > A maintainer of a popular open source project is defined as someone who has write or admin access to one or more of the *most popular open source projects* on GitHub (emphasis added) [0] https://github.com/pricing#i-work-on-open-source-projects-ca...

Ummm, yes, that was my original point. What does "one or more of the most popular open source projects on GitHub" mean exactly? Do you need a certain number of github stars on your project? Are you listed on some "most popular github projects specific page"? or what?

Re: GitHub Copilot is generally available

#12

Does copilot learn from and suggest patterns in the same codebase that you're working, or does it just pull from the huge pool of projects on GH? How well does copilot help with languages like Elixir that are less common? WIth TypeScript it's been remarkable, but that's one of the most popular and surely very familiar to devs and GH, so I would expect less popular like Elixir to not perform as well. Does copilot work…

> suggest patterns in the same codebase that you're working

Sometimes, with variable results. I think I've only observed it guess patterns from the current directory

> Does copilot work for shell scripts?

Yes, it gave me this earlier today while editing my .zshrc:

  # kill a process on a given port
  killport() {
    lsof -i :$1 | awk 'NR!=1 {print $2}' | xargs kill
  }

Re: GitHub Copilot is generally available

#13

Does copilot learn from and suggest patterns in the same codebase that you're working, or does it just pull from the huge pool of projects on GH? How well does copilot help with languages like Elixir that are less common? WIth TypeScript it's been remarkable, but that's one of the most popular and surely very familiar to devs and GH, so I would expect less popular like Elixir to not perform as well. Does copilot work…

Copilot seems to learn from elsewhere in my codebase, and is able to utilize patterns I've used elsewhere in the codebase when prompted in a different file. Isn't perfect, but it saves a ton of time.

My primary usage is shell scripts, as it seems to struggle on complex code, while shell scripts are typically a lot of simple code.

Re: GitHub Copilot is generally available

#14

Does Copilot already display the licenses of the code it might insert/suggest, or assure the developer, that the inserted/suggested code is not a verbatim copy of existing code? How can developers be sure, that they are not violating licenses by using Copilot?

My sincere question is what if a developer looks at some GPL code, and then that developer encounters a situation in a corporate project where-in he uses the GPL code from memory, is that already a violation?

So to avoid a violation a developer needs to perform a mind-wipe?

Re: GitHub Copilot is generally available

#16

Does Copilot already display the licenses of the code it might insert/suggest, or assure the developer, that the inserted/suggested code is not a verbatim copy of existing code? How can developers be sure, that they are not violating licenses by using Copilot?

From my experience with it the suggestions are so generic it's hard to imagine anyone has a legit license to "formatDateISO....() {code here}".

Maybe I'm using it wrong but I've hardly seen it pump out a mass volume of code.

Re: GitHub Copilot is generally available

#17

Does Copilot already display the licenses of the code it might insert/suggest, or assure the developer, that the inserted/suggested code is not a verbatim copy of existing code? How can developers be sure, that they are not violating licenses by using Copilot?

[deleted]

Re: GitHub Copilot is generally available

#19

Does Copilot already display the licenses of the code it might insert/suggest, or assure the developer, that the inserted/suggested code is not a verbatim copy of existing code? How can developers be sure, that they are not violating licenses by using Copilot?

Others may have a different experience, but I have never seen Copilot offer suggestions anywhere near complicated/unique enough for it to matter.

That’s not a knock on Copilot, I think it’s a great product and I happily subscribed today after using it the last few months!

Post reply on HN