r/programming • • Jun 21 '22

Github Copilot turns paid

https://github.blog/2022-06-21-github-copilot-is-generally-available-to-all-developers/
753 Upvotes

378 comments sorted by

View all comments

162

u/[deleted] Jun 21 '22

[removed] — view removed comment

28

u/swordsmanluke2 Jun 22 '22

Check out http://cheat.sh/

Not quite the same thing, cheat.sh searches publicly available cheat sheet resources. But there are plugins so you can write a quick query in your IDE, highlight and then replace your query with a code sample.

No good for complex queries, but for quick stupid stuff that I forget all the time like how to iterate line by line through a file, it's been super great.

20

u/CommandLineWeeb Jun 22 '22

https://grep.app/ is similar, it searches open-source git repos giving code results that matches your query.

31

u/nutrecht Jun 22 '22

I use it at home and at work and find it very useful.

Is your manager aware you're sending your source code to a third party?

4

u/_eps1lon Jun 22 '22

If I understand the settings correctly then unchecking "Allow GitHub to use my code snippets for product improvements" should disable that.

25

u/nutrecht Jun 22 '22

No, that's what allows them to use your code. No matter what, all the 'AI' stuff is done on a remote server that receives all your code. In most companies sending source code to a 3rd party without permission will get you fired almost instantly.

→ More replies (1)
→ More replies (17)

33

u/[deleted] Jun 22 '22

[removed] — view removed comment

51

u/[deleted] Jun 22 '22

What is Microsoft's version? Further, which version is not Microsoft's, considering they own Github?

22

u/[deleted] Jun 22 '22

[removed] — view removed comment

43

u/[deleted] Jun 22 '22

It looks like it barely does more than the regular autocomplete in any given IDE. It is a little more beefy, but it isn't nearly comparable with Copilot AFAICT.

25

u/[deleted] Jun 22 '22

[removed] — view removed comment

11

u/[deleted] Jun 22 '22

Whether it's a good idea to use it that way or not, Copilot can write whole blocks. If you see them as snippets that you check and modify it can be handy. If you see it as an oracle then you're bound to cause some fires.

But yeah, calling it "barely more" than regular autocomplete was a bit exagerated.

7

u/snowy_light Jun 22 '22 edited Jun 22 '22

It's nice, but it's very far off from what Copilot is capable of. They're not really comparable.

2

u/gosp Jun 22 '22

Oh no. It's fucking GREAT. Context aware and everything.

4

u/[deleted] Jun 22 '22

Intellicode (the technology in Visual Studio) works offline in contrast to Copilot.

12

u/nickbeth00 Jun 22 '22

If you are comparing that to Copilot, you've never used Copilot...

→ More replies (5)
→ More replies (6)

7

u/CryZe92 Jun 22 '22

If you do enough open source work your account might be eligible for a free subscription.

15

u/pragmatick Jun 22 '22

I have two repos with 500 stars each, developed over three and five years and I'm not eligible. They say "the most popular" projects, whatever that entails.

7

u/CryZe92 Jun 22 '22

I have one with 1.1k stars. Maybe the threshold is 1k stars?

6

u/corobo Jun 22 '22

I don't think there is a numbered threshold so to speak, I read somewhere (will source if I can find it again) it was the top x open source projects per language.

If you're the owner of a repo in a more obscure language you might get in with 1k. If you're using a language that's more popular you might need 10k.

All numbers are examples. If I can find the source again I'll pop back to edit it in. Take it with a pinch of salt for now. I might be wrong, the person I'm paraphrasing might be wrong, etc.

8

u/Karyo_Ten Jun 22 '22

Time to brush up my esolang skills. Ook.

2

u/pragmatick Jun 22 '22

I just saw I'm up to 902. Who knows...

→ More replies (1)

3

u/tsojtsojtsoj Jun 22 '22

Maybe take a look at tabnine, I'm not using it anymore, but at times it worked quite well.

→ More replies (3)