I'm trying. I'm really trying to give Copilot a chance.
So far it's been offering reasonable Python code suggestions. Not great, but reasonable.
Too bad I was asking it about Raku and Nushell.
I'm trying. I'm really trying to give Copilot a chance.
So far it's been offering reasonable Python code suggestions. Not great, but reasonable.
Too bad I was asking it about Raku and Nushell.
Okay, today I'm using Copilot with Go, a language where if you took out the boilerplate you'd have nothing left but whitespace.
And it's pretty good! I don't trust the autocomplete suggestions blindly, but it gets a fair chunk of the structure that I need for a given expression or block.
Aha!
That false argument was supposed to be true.
We're back on the road! We're nearly out of gas now, but we're on the road.
Ah. Hm.
Well anyways it's progress.
And this is all on me. Copilot doesn't know about the gg library yet.
I fixed it!
Now to break the rest of it
Copilot suggestions are based on vast swathes of code harvested from other projects. Licensing issues aside, this provides a whole new level of convenience.
Now I don't even have to go to Stack Overflow to get mad at other programmers.
Found out Steve Yegge is involved with Sourcegraph Cody so I went straight over to try it out. It's got a chat interface, but also some recipes. I tried the "code smells" recipe on the code Copilot helped me write.
I figure let the AI assistants argue with each other.
@randomgeek #Cody uses #Anthropic’s #Claude API or can be configured to prompt #OpenAI instead, as well as use the latter for embeddings: https://docs.sourcegraph.com/cody/faq#what-third-party-cloud-services-does-cody-depend-on-today
I’m glad neither #Sourcegraph nor its third-party #LLMs train on the code you give it: https://docs.sourcegraph.com/cody/faq#does-cody-train-on-my-code
Cody is probably prompting #GPT4 (OpenAI deprecated the API for the #LicenseWashing #Codex model behind #Copilot) based on this #Slack #bot code: https://sourcegraph.com/github.com/sourcegraph/sourcegraph@e772c7cbd177961cb2f8b02fcb35727158e8edef/-/blob/client/cody-slack/src/services/openai-completions-client.ts?L28
@mjgardner I'll take a look at those. All I know so far is from Yegge's posts: