Github Copilot
JaxNode November 2021
About Me
fek.io/blog
youtube.com/c/polyglotengineer
github.com/davidfekke
@jaxnode @polyglotengine1
So are we all out
of a job?
"Twenty years from now, if you are a coder, you might be out of a job"
Mark Cuban was the basis for Russ Hanneman on Silicon Valley
Milton Friedman
Push a button, it can land by itself
Otto Pilot
Github Copilot
- Billed as Your AI Pair Programmer
- Supports Python, JavaScript, TypeScript, Ruby, Java, and Go
- Also supports other languages
- Invite Only
- Supports only few editors
Supported Editors
- VSCode
- Visual Studio
- Neovim
- All JetBrains IDEs
How does it work
- Based on the OpenAI Codex
- Copilot extension sends comments and code to its Copilot service
- Copilot then makes suggestions
Codex Model
- OpenAI Organization
- Complex machine learning model
- Trained against all Github public repos
- Trained against English language
How to get Copilot
- Signup for the invite
- Once you get an invitation, install the extension
- Authenticate the extension against your Github account
How to use Copilot
- Make sure extension installed
- Works best when writing small functions with meaningful names
- Works well when good docstrings and comments are used in your code
Copilot claims
- When using Python, Copilot recreated function bodies based solely on the signature correctly 47%
- If given 10 attempts, it was 57% accurate
- Will get better over time
- Works best with APIs and frameworks that you may not be familiar with at this time
Demo
Questions
Github Copilot
By David Fekke
Github Copilot
- 658