SlideShare a Scribd company logo
1 of 26
Download to read offline
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
2
© 2023 Brent C. Laster &
GitHub Copilot
Presented by
Brent Laster
Tech Skills Transformations
© 2023 Brent C. Laster & Tech Skills Transformations LLC
All rights reserved
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
3
© 2023 Brent C. Laster &
About me • Founder, Tech Skills Transformations LLC
• R&D DevOps Director
• Global trainer – O'Reilly, NFJS, etc.
§ Git, GitHub, GitHub Actions
§ Jenkins, Gradle
§ Kubernetes, Tekton, Kustomize
§ Copilot, Codespaces
§ Etc.
• Author -
• O'Reilly "reports"
• Professional Git book
• Jenkins 2 – Up and Running book
• Learning GitHub Actions
• https://www.linkedin.com/in/brentlaster
• @BrentCLaster
• GitHub: brentlaster
© 2023 Brent C. Laster &
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
4
© 2023 Brent C. Laster &
Disclaimer...
• Opinions, typos, ramblings are mine
• Generated code is on Copilot J
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
6
© 2023 Brent C. Laster &
What is GitHub Copilot?
• Cloud-based Generative AI tool
• Turns natural language prompts into coding suggestions
• Works across dozens of languages
• Trained on billions of lines of code
• Functions similar to an AI pair programmer*
• Works on multiple IDEs
• Needs to be paired with Copilot Chat (in beta) for best
experience/benefit
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
7
© 2023 Brent C. Laster &
How Copilot can help
• Code suggestions for nearly any current
language
• Comment driven code creation
• Automatic test generation
• SQL generation (for queries, tables, indices,
stored procs)
• Regular expression generation
• Pattern/mappings generation
• Document code
• Explain code
• Fixing code
• Reviewing code
• Translating code
• Generate K8s manifests
• What is the API to do...
• More!
Source: https://github.com/orgs/community/discussions/49422
• Generate boilerplate code
• Less time reading docs
• Less time recalling syntax
• Learning a new language
• Reduce cognitive load
• Let programmers focus on the problem more
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
8
© 2023 Brent C. Laster &
Challenges
• Should have human
oversight/review
• Only as good as context/prompt
• Learning curve
• Sometimes needs "nudging"
• Hallucinations
• Date problem
• Length of response
• Always generative - not
deterministic
• Some data going across
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
9
© 2023 Brent C. Laster &
Copilot for Individuals vs for Business
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
10
© 2023 Brent C. Laster &
Signup individual #1
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
11
© 2023 Brent C. Laster &
Signup Individual #2
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
12
© 2023 Brent C. Laster &
Signup Individual #3
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
13
© 2023 Brent C. Laster &
Supported IDEs
• Jet Brains
• VS Code
• Visual Studio Code
• Neovim
• Also Codespaces
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
14
© 2023 Brent C. Laster &
GitHub Copilot Extensions
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
15
© 2023 Brent C. Laster &
Copilot shortcuts
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
16
© 2023 Brent C. Laster &
Chat commands
• "slash commands" for key functionality
• allow users to perform common tasks w/o having to retype
prompt every time
• not all available in every IDE - VS Code has superset
• In some cases, invoke functionality that wouldn't be available
via prompts alone
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
17
© 2023 Brent C. Laster &
Microsoft Copilot AI
• Copilot will have real-time access to content
and context in Microsoft Graph
§ Graph - API dev platform to connect
multiple services
Microsoft Graph
v Business Data
v User Data
(emails, files, chats, meetings,
calendars, contacts)
Microsoft 365 Apps
AI Safety
Large Language Model
v GPT-4
v Codex
v DALL-E
• Asking a question in app,
§ Copilot sends data to Graph to
analyze / make sense of query
§ Data sent to GPT-4
§ Amswer from ChatGPT sent back to
Graph for
» Grounding
» Security
» Compliance Checks
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
18
© 2023 Brent C. Laster &
How Copilot works (high-level)
Public Code
training
install
copilot
and
start
writing
code
gather context
• filename
• other open files
• comments
• code before and after cursor
• whether last was accepted
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
19
© 2023 Brent C. Laster &
How Copilot works (high-level)
Public Code
gather context
• filename
• other open files
• comments
• code before and after cursor
• whether last was accepted
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
20
© 2023 Brent C. Laster &
How Copilot works (high-level)
Public Code
prompt
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
21
© 2023 Brent C. Laster &
How Copilot works (high-level)
Public Code
suggestions
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
22
© 2023 Brent C. Laster &
How Copilot works (high-level)
Public Code
Copilot
chat
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
23
© 2023 Brent C. Laster &
Copilot X: Copilot for Docs
• Uses chat interface to provide users with AI-
generated responses to questions about doc
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
24
© 2023 Brent C. Laster &
Copilot X: GitHub Copilot CLI
• Use Copilot to compose commands, figure out
arguments, flags, etc.
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
25
© 2023 Brent C. Laster &
Copilot X : Copilot for PRs - markers
• Available for tech preview now
• copilot: all - showcases all the
different kinds of content at once
• copilot: summary - expands to a 1
paragraph summary of changes in
the PR
• copilot: walkthrough - expands to
a detailed list of changes, including
links to relevant code
• copilot:poem - expands to a poem
about changes in the pull request
Source: https://githubnext.com/projects/copilot-for-pull-requests
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
26
© 2023 Brent C. Laster &
Copilot X for PRs : Under consideration
Source: https://githubnext.com/projects/copilot-for-pull-requests
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
27
© 2023 Brent C. Laster &
Demos!
© 2023 Brent C. Laster & Tech Skills Transformations LLC
All rights reserved
techupskills.com | techskillstransformations.com
© 2021 Brent C. Laster &
@techupskills
28
© 2023 Brent C. Laster &
That’s all - thanks!
techskillstransformations.com
getskillsnow.com

More Related Content

Similar to Introduction to GitHub Copilot

2019-Nov: Domain Driven Design (DDD) and when not to use it
2019-Nov: Domain Driven Design (DDD) and when not to use it2019-Nov: Domain Driven Design (DDD) and when not to use it
2019-Nov: Domain Driven Design (DDD) and when not to use itMark Windholtz
 
Introduction to GitHub Actions - How to easily automate and integrate with Gi...
Introduction to GitHub Actions - How to easily automate and integrate with Gi...Introduction to GitHub Actions - How to easily automate and integrate with Gi...
Introduction to GitHub Actions - How to easily automate and integrate with Gi...All Things Open
 
Kubernetes Problem-Solving
Kubernetes Problem-SolvingKubernetes Problem-Solving
Kubernetes Problem-SolvingAll Things Open
 
Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...
Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...
Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...RightScale
 
Go for Operations
Go for OperationsGo for Operations
Go for OperationsQAware GmbH
 
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloAzure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloITCamp
 
Clean Code Part III - Craftsmanship at SoCal Code Camp
Clean Code Part III - Craftsmanship at SoCal Code CampClean Code Part III - Craftsmanship at SoCal Code Camp
Clean Code Part III - Craftsmanship at SoCal Code CampTheo Jungeblut
 
"Technical" UX Design
"Technical" UX Design"Technical" UX Design
"Technical" UX DesignSkot Carruth
 
Tokyo Release.pdf
Tokyo Release.pdfTokyo Release.pdf
Tokyo Release.pdfRajiv283486
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOpsHybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOpsWeaveworks
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOpsHybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOpsSonja Schweigert
 
Day 2 Kubernetes - Tools for Operability (HashiConf)
Day 2 Kubernetes - Tools for Operability (HashiConf)Day 2 Kubernetes - Tools for Operability (HashiConf)
Day 2 Kubernetes - Tools for Operability (HashiConf)bridgetkromhout
 
Ektron DxH Developer Dive - Synergy 2012
Ektron DxH Developer Dive - Synergy 2012Ektron DxH Developer Dive - Synergy 2012
Ektron DxH Developer Dive - Synergy 2012Derek Barka
 
Git and GitHub for Documentation
Git and GitHub for DocumentationGit and GitHub for Documentation
Git and GitHub for DocumentationAnne Gentle
 
Игорь Фесенко "Direction of C# as a High-Performance Language"
Игорь Фесенко "Direction of C# as a High-Performance Language"Игорь Фесенко "Direction of C# as a High-Performance Language"
Игорь Фесенко "Direction of C# as a High-Performance Language"Fwdays
 
The Hacker's Guide to Kubernetes: Reloaded
The Hacker's Guide to Kubernetes: ReloadedThe Hacker's Guide to Kubernetes: Reloaded
The Hacker's Guide to Kubernetes: ReloadedPatrycja Wegrzynowicz
 
DevOps from the Provider Perspective
DevOps from the Provider PerspectiveDevOps from the Provider Perspective
DevOps from the Provider PerspectivePat Patterson
 
orlando-codecamp-meet-copilot-24-Feb-2024_pub.pptx
orlando-codecamp-meet-copilot-24-Feb-2024_pub.pptxorlando-codecamp-meet-copilot-24-Feb-2024_pub.pptx
orlando-codecamp-meet-copilot-24-Feb-2024_pub.pptxBill Wilder
 
Docker Enterprise Workshop - Intro
Docker Enterprise Workshop - IntroDocker Enterprise Workshop - Intro
Docker Enterprise Workshop - IntroPatrick Chanezon
 

Similar to Introduction to GitHub Copilot (20)

2019-Nov: Domain Driven Design (DDD) and when not to use it
2019-Nov: Domain Driven Design (DDD) and when not to use it2019-Nov: Domain Driven Design (DDD) and when not to use it
2019-Nov: Domain Driven Design (DDD) and when not to use it
 
Introduction to GitHub Actions - How to easily automate and integrate with Gi...
Introduction to GitHub Actions - How to easily automate and integrate with Gi...Introduction to GitHub Actions - How to easily automate and integrate with Gi...
Introduction to GitHub Actions - How to easily automate and integrate with Gi...
 
Amit_Resume
Amit_ResumeAmit_Resume
Amit_Resume
 
Kubernetes Problem-Solving
Kubernetes Problem-SolvingKubernetes Problem-Solving
Kubernetes Problem-Solving
 
Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...
Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...
Integrating RightScale, Windows, and .NET for Fun and Profit - RightScale Com...
 
Go for Operations
Go for OperationsGo for Operations
Go for Operations
 
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea SaltarelloAzure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
 
Clean Code Part III - Craftsmanship at SoCal Code Camp
Clean Code Part III - Craftsmanship at SoCal Code CampClean Code Part III - Craftsmanship at SoCal Code Camp
Clean Code Part III - Craftsmanship at SoCal Code Camp
 
"Technical" UX Design
"Technical" UX Design"Technical" UX Design
"Technical" UX Design
 
Tokyo Release.pdf
Tokyo Release.pdfTokyo Release.pdf
Tokyo Release.pdf
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOpsHybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOpsHybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
 
Day 2 Kubernetes - Tools for Operability (HashiConf)
Day 2 Kubernetes - Tools for Operability (HashiConf)Day 2 Kubernetes - Tools for Operability (HashiConf)
Day 2 Kubernetes - Tools for Operability (HashiConf)
 
Ektron DxH Developer Dive - Synergy 2012
Ektron DxH Developer Dive - Synergy 2012Ektron DxH Developer Dive - Synergy 2012
Ektron DxH Developer Dive - Synergy 2012
 
Git and GitHub for Documentation
Git and GitHub for DocumentationGit and GitHub for Documentation
Git and GitHub for Documentation
 
Игорь Фесенко "Direction of C# as a High-Performance Language"
Игорь Фесенко "Direction of C# as a High-Performance Language"Игорь Фесенко "Direction of C# as a High-Performance Language"
Игорь Фесенко "Direction of C# as a High-Performance Language"
 
The Hacker's Guide to Kubernetes: Reloaded
The Hacker's Guide to Kubernetes: ReloadedThe Hacker's Guide to Kubernetes: Reloaded
The Hacker's Guide to Kubernetes: Reloaded
 
DevOps from the Provider Perspective
DevOps from the Provider PerspectiveDevOps from the Provider Perspective
DevOps from the Provider Perspective
 
orlando-codecamp-meet-copilot-24-Feb-2024_pub.pptx
orlando-codecamp-meet-copilot-24-Feb-2024_pub.pptxorlando-codecamp-meet-copilot-24-Feb-2024_pub.pptx
orlando-codecamp-meet-copilot-24-Feb-2024_pub.pptx
 
Docker Enterprise Workshop - Intro
Docker Enterprise Workshop - IntroDocker Enterprise Workshop - Intro
Docker Enterprise Workshop - Intro
 

More from All Things Open

Building Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityBuilding Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityAll Things Open
 
Modern Database Best Practices
Modern Database Best PracticesModern Database Best Practices
Modern Database Best PracticesAll Things Open
 
Open Source and Public Policy
Open Source and Public PolicyOpen Source and Public Policy
Open Source and Public PolicyAll Things Open
 
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...All Things Open
 
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashThe State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashAll Things Open
 
Total ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptTotal ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptAll Things Open
 
What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?All Things Open
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractAll Things Open
 
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlowAll Things Open
 
DEI Challenges and Success
DEI Challenges and SuccessDEI Challenges and Success
DEI Challenges and SuccessAll Things Open
 
Scaling Web Applications with Background
Scaling Web Applications with BackgroundScaling Web Applications with Background
Scaling Web Applications with BackgroundAll Things Open
 
Supercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblySupercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblyAll Things Open
 
Using SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksUsing SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksAll Things Open
 
Configuration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptConfiguration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptAll Things Open
 
Scaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramScaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramAll Things Open
 
Build Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceBuild Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceAll Things Open
 
Deploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamDeploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamAll Things Open
 
Sudo – Giving access while staying in control
Sudo – Giving access while staying in controlSudo – Giving access while staying in control
Sudo – Giving access while staying in controlAll Things Open
 
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsFortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsAll Things Open
 
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...All Things Open
 

More from All Things Open (20)

Building Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityBuilding Reliability - The Realities of Observability
Building Reliability - The Realities of Observability
 
Modern Database Best Practices
Modern Database Best PracticesModern Database Best Practices
Modern Database Best Practices
 
Open Source and Public Policy
Open Source and Public PolicyOpen Source and Public Policy
Open Source and Public Policy
 
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
 
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashThe State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
 
Total ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptTotal ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScript
 
What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart Contract
 
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 
DEI Challenges and Success
DEI Challenges and SuccessDEI Challenges and Success
DEI Challenges and Success
 
Scaling Web Applications with Background
Scaling Web Applications with BackgroundScaling Web Applications with Background
Scaling Web Applications with Background
 
Supercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblySupercharging tutorials with WebAssembly
Supercharging tutorials with WebAssembly
 
Using SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksUsing SQL to Find Needles in Haystacks
Using SQL to Find Needles in Haystacks
 
Configuration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptConfiguration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit Intercept
 
Scaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramScaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship Program
 
Build Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceBuild Developer Experience Teams for Open Source
Build Developer Experience Teams for Open Source
 
Deploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamDeploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache Beam
 
Sudo – Giving access while staying in control
Sudo – Giving access while staying in controlSudo – Giving access while staying in control
Sudo – Giving access while staying in control
 
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsFortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
 
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 

Introduction to GitHub Copilot

  • 1. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 2 © 2023 Brent C. Laster & GitHub Copilot Presented by Brent Laster Tech Skills Transformations © 2023 Brent C. Laster & Tech Skills Transformations LLC All rights reserved
  • 2. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 3 © 2023 Brent C. Laster & About me • Founder, Tech Skills Transformations LLC • R&D DevOps Director • Global trainer – O'Reilly, NFJS, etc. § Git, GitHub, GitHub Actions § Jenkins, Gradle § Kubernetes, Tekton, Kustomize § Copilot, Codespaces § Etc. • Author - • O'Reilly "reports" • Professional Git book • Jenkins 2 – Up and Running book • Learning GitHub Actions • https://www.linkedin.com/in/brentlaster • @BrentCLaster • GitHub: brentlaster © 2023 Brent C. Laster &
  • 3. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 4 © 2023 Brent C. Laster & Disclaimer... • Opinions, typos, ramblings are mine • Generated code is on Copilot J
  • 4. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 6 © 2023 Brent C. Laster & What is GitHub Copilot? • Cloud-based Generative AI tool • Turns natural language prompts into coding suggestions • Works across dozens of languages • Trained on billions of lines of code • Functions similar to an AI pair programmer* • Works on multiple IDEs • Needs to be paired with Copilot Chat (in beta) for best experience/benefit
  • 5. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 7 © 2023 Brent C. Laster & How Copilot can help • Code suggestions for nearly any current language • Comment driven code creation • Automatic test generation • SQL generation (for queries, tables, indices, stored procs) • Regular expression generation • Pattern/mappings generation • Document code • Explain code • Fixing code • Reviewing code • Translating code • Generate K8s manifests • What is the API to do... • More! Source: https://github.com/orgs/community/discussions/49422 • Generate boilerplate code • Less time reading docs • Less time recalling syntax • Learning a new language • Reduce cognitive load • Let programmers focus on the problem more
  • 6. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 8 © 2023 Brent C. Laster & Challenges • Should have human oversight/review • Only as good as context/prompt • Learning curve • Sometimes needs "nudging" • Hallucinations • Date problem • Length of response • Always generative - not deterministic • Some data going across
  • 7. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 9 © 2023 Brent C. Laster & Copilot for Individuals vs for Business
  • 8. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 10 © 2023 Brent C. Laster & Signup individual #1
  • 9. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 11 © 2023 Brent C. Laster & Signup Individual #2
  • 10. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 12 © 2023 Brent C. Laster & Signup Individual #3
  • 11. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 13 © 2023 Brent C. Laster & Supported IDEs • Jet Brains • VS Code • Visual Studio Code • Neovim • Also Codespaces
  • 12. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 14 © 2023 Brent C. Laster & GitHub Copilot Extensions
  • 13. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 15 © 2023 Brent C. Laster & Copilot shortcuts
  • 14. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 16 © 2023 Brent C. Laster & Chat commands • "slash commands" for key functionality • allow users to perform common tasks w/o having to retype prompt every time • not all available in every IDE - VS Code has superset • In some cases, invoke functionality that wouldn't be available via prompts alone
  • 15. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 17 © 2023 Brent C. Laster & Microsoft Copilot AI • Copilot will have real-time access to content and context in Microsoft Graph § Graph - API dev platform to connect multiple services Microsoft Graph v Business Data v User Data (emails, files, chats, meetings, calendars, contacts) Microsoft 365 Apps AI Safety Large Language Model v GPT-4 v Codex v DALL-E • Asking a question in app, § Copilot sends data to Graph to analyze / make sense of query § Data sent to GPT-4 § Amswer from ChatGPT sent back to Graph for » Grounding » Security » Compliance Checks
  • 16. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 18 © 2023 Brent C. Laster & How Copilot works (high-level) Public Code training install copilot and start writing code gather context • filename • other open files • comments • code before and after cursor • whether last was accepted
  • 17. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 19 © 2023 Brent C. Laster & How Copilot works (high-level) Public Code gather context • filename • other open files • comments • code before and after cursor • whether last was accepted
  • 18. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 20 © 2023 Brent C. Laster & How Copilot works (high-level) Public Code prompt
  • 19. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 21 © 2023 Brent C. Laster & How Copilot works (high-level) Public Code suggestions
  • 20. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 22 © 2023 Brent C. Laster & How Copilot works (high-level) Public Code Copilot chat
  • 21. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 23 © 2023 Brent C. Laster & Copilot X: Copilot for Docs • Uses chat interface to provide users with AI- generated responses to questions about doc
  • 22. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 24 © 2023 Brent C. Laster & Copilot X: GitHub Copilot CLI • Use Copilot to compose commands, figure out arguments, flags, etc.
  • 23. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 25 © 2023 Brent C. Laster & Copilot X : Copilot for PRs - markers • Available for tech preview now • copilot: all - showcases all the different kinds of content at once • copilot: summary - expands to a 1 paragraph summary of changes in the PR • copilot: walkthrough - expands to a detailed list of changes, including links to relevant code • copilot:poem - expands to a poem about changes in the pull request Source: https://githubnext.com/projects/copilot-for-pull-requests
  • 24. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 26 © 2023 Brent C. Laster & Copilot X for PRs : Under consideration Source: https://githubnext.com/projects/copilot-for-pull-requests
  • 25. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 27 © 2023 Brent C. Laster & Demos! © 2023 Brent C. Laster & Tech Skills Transformations LLC All rights reserved
  • 26. techupskills.com | techskillstransformations.com © 2021 Brent C. Laster & @techupskills 28 © 2023 Brent C. Laster & That’s all - thanks! techskillstransformations.com getskillsnow.com