Last active
September 11, 2025 15:40
-
-
Save itproto/7dcad10de9a2ad1992a8e1be57b190e6 to your computer and use it in GitHub Desktop.
Revisions
-
itproto revised this gist
Jun 10, 2025 . 1 changed file with 80 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -79,3 +79,83 @@ Competitors: 4. __Commits__ summary - auto-generated - __PR__ summary β GitHub interface disabled - GitHub VSCode_workspaces_workflow β cloud-hosted dev.env ## 4.1 Keyboard/Settings - `Cmd+I` β Invoke Copilot - `Cmd+Shift+I` β Chat window - `Cmd+Alt+Shift+L` β Open Copilot settings - `Tab/Ctrl+Enter` β Accept suggestion - `Esc` β Dismiss suggestion - `Ctrl+Enter` β Show all suggestions - `Alt+][` β Next suggestion - `Cmd+/` β Add to context --- ## 5. Prompts ## 3S: 1. Short (CONCISE) β LLM chatterbox, order of sentences `sort list|ascending` vs. "can you be so kindβ¦" (can have typos and incomplete) 2. Simple (no multi-tasking) β break down complex tasks 3. Specific (CONTEXT) β use `#tags/@agents` --- ## 5.1 Context (Working set) > /help ### @AGENTS - @workspace - @vscode - @terminal - @directory/@file ### /SLASH Shortcuts - /new - scaffold - /generate - /fix - /tests /doc - /explain ## #Tags Contexts #file, #editor, #codebase, #sym --- ## 6. Limits - __Limited Scope__ β Check GitHub for the types of projects/languages supported. No latest documentation for openfin/esp.js - __Bias__ β Can reproduce some bad practices and common errors. - __Security__ β Potential risk of leaking client data (Copilot takes care of it). - __Public Code__ β Stochastic machine, can produce public code (license issues, vulnerabilities). - __Inaccurate__ β Copilot is not a linting tool or compiler (doesnβt fully understand code). Needs human oversight. - __Codex-Only__ β not a ChatGPT to answer any questions (code/context related) --- ## 7. Demo Time: 1. Create 3 slides revealJs about Copilot in md format 2. `As FXO team PM, create a project plan to create FXO tile screen` 3. // function that generates random prices for 5 major currency pairs 4. `function generateStock()` 5. extract common code 6. generate tests `right_click` 7. `Q/A comments` ```ts // Q: what does rxjs stand for? // A: ``` 8. `#terminalLastCommand`, `#codebase` 9. __Generator__ β Create simple Next.js app 10 `@workspace` - I want to document how to run this project so that other developers can get started quickly by reading the README.md file --- ## 8. Q/A --- ## Resources π [https://learn.microsoft.com/en-us/training/browse/?terms=github%20copilot](https://learn.microsoft.com/en-us/training/browse/?terms=github%20copilot) -
itproto revised this gist
Jun 10, 2025 . 1 changed file with 22 additions and 27 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,9 @@ ### π¬ My Take on Codex-tools (LLM-based dev tools) - Similar to JavaScript β cool/strange/simple at the beginning - Evolution of tools/practices for defining context/prompts/LLMs --- > 3 months usage of passive use at SCB ### 1.1 Day-to-Day: - Generating tests - Explaining code @@ -15,18 +14,16 @@ --- ### π Observations - Slow generation - Settings disabled by admin (model, scopes) --- ## 2. Copilot J+History Jun 2021: GitHub (Microsoft) released Copilot based on Codex (OpenAI GPT-3) - Uses FIM (fill-in-the-middle) - new LLM approach for capuring context - GPT-3.5 Turbo - first success - Introduced system to block risky patterns/exploits --- @@ -35,8 +32,8 @@ Jun 2021: GitHub (Microsoft) released Copilot based on Codex (OpenAI GPT-3) 1. Subscription: - Individual - Business - Enterprise (learns codebase, COBOL, scans PRs for the best practices) 2. Models: - GPT-4.0, D3 @@ -46,15 +43,13 @@ Jun 2021: GitHub (Microsoft) released Copilot based on Codex (OpenAI GPT-3) --- ## 2.1 Internals > NLP, ML 1. Input Preprocess β prepare for model context and prompt (code related) β `processed_prompt` 2. LM Analysis β neural network analyzes `processed_prompt` (large body of text) 3. Generation β LM generates code/suggestion 4. Output Format β indent/highlight <img src="https://images.ctfassets.net/wfutmusr1t3h/16gHTMjSRTr8UtY7rb9rjG/ed6323cd793ddf005ff37fe969e3ae61/2000x1200-Inline-Graphic.jpg?w=1280&q=75" style="width: 3000px" /> --- @@ -67,20 +62,20 @@ Jun 2021: GitHub (Microsoft) released Copilot based on Codex (OpenAI GPT-3) Competitors: - Amazon CodeWhisperer - Cursor VSCode Fork - Claude Code (recent impressive results) --- ## 4. Features: 1. __Completion__ β VSCode (ghost text) 2. __Smart Actions__: - __Explain__ - __Fix__ - __GenTest__ - __GenDocs__ 3. Cmd+I β change/refactor 3.2 Cmd+I in __terminal__ 3.3 QuickChat 4. __Commits__ summary - auto-generated - __PR__ summary β GitHub interface disabled - GitHub VSCode_workspaces_workflow β cloud-hosted dev.env -
itproto created this gist
Jun 10, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,86 @@ ### π¬ My Take on Codex-tools (LLM-based dev tools) β Similar to JavaScript β cool/strange/simple at the beginning β Evolution of tools/practices for defining context/prompts/LLMs > 3 months usage of passive use at SCB ### 1.1 Day-to-Day: - Generating tests - Explaining code - Simple refactoring - Code generation - Reading errors/extracting values --- ### π Observations - Proxy settings (WFH) - Slow generation at times (stops) - Many settings disabled by admin (model, scopes) - Generation interrupted by **public code** warning --- ## 2. Copilot Jun 2021: GitHub (Microsoft) released Copilot based on Codex (OpenAI GPT-3) - Uses FIM (fill-in-the-middle) β new LLM approach for better context - GPT-3.5 Turbo = success - System to block risky patterns/exploits --- ### π§ Settings π https://github.com/settings/copilot 1. Subscription: - Individual - Business - Enterprise (learns codebase, COBOL, scans PRs for best practices) 2. Models: - GPT-4.0, D3 - Anthropic Claude 3.7 - Gemini 2.0 Flash --- ## 2.1 Internals ### NLP, ML 1. Input Preprocess β prepare for model context and prompt (code related) β `processed_prompt` 2. LM Analysis β neural network analyzes `processed_prompt` (large body of text) 3. Generation β LM generates code/suggestion 4. Output Format β indent/highlight ```html <img src="img/cop-cycle.jpg" style="width: 3000px" /> ``` --- ## 3. Stats - **AMD 2023**: Specific HDL Language β generated code better aligned with standards. - **Shopify**: Out of 2,000 developers, 75% used Copilot, with 26% accepting suggestions. - **Accenture**: Out of 500 developers, 35% accepted suggestions. - **General Satisfaction**: 75% of users are satisfied with Copilot. Competitors: - Amazon CodeWhisperer - Cursor VSCode Fork - Claude Code --- ## 4. Features: β Completion β VSCode (ghost text) β Smart Actions: - __Explain__ - __Fix__ - __GenTest__ - __GenDocs__ β Cmd+I β change/refactor β 3.2 Cmd+I in __terminal__ β 3.3 QuickChat β Commits_summary β auto-generated β PR_summary β GitHub interface disabled β GitHub VSCode_workspaces_workflow β cloud-hosted dev.env