Monte Chan talks about “GitHub Copilot & AI-Assisted Coding (Unlocking ColdFusion's AI Potential)” in this episode of ColdFusion Alive Podcast with host Michaela Light.
“It is an AI pair programming tool. So this helps test your programming that basically, there's another person but in this case is a AI tool, if you will, so but you will be doing most of the typing. But then that will also give you some code suggestions, if you will. And to help you with coding. So sometimes can be a short one liner, or could be one whole block of codes. So you can save a lot of typing.”
Contents
- Show notes
- What is Github Copilot?
- Any reasons to not use it?
- Tips on using Copilot
- Pricing
- Has Copilot changed the way your team approaches coding or collaboration?
- For teams new to AI-assisted coding, there's often a learning curve.
- Future of Copilot
- Looking forward, how do you see AI tools like Copilot shaping the future of ColdFusion development? Do you believe these tools will become integral to the language's evolution or remain as supplementary aids?
- Other AI coding tools
- Why are you proud to use CF?
- WWIT to make CF more alive this year?
- What are you looking forward to at the next CF Summit?
- Mentioned in this episode
- Listen to the Audio
- Bio
- Links
- Interview transcript
- Join the CF Alive revolution
Show notes
-
What is Github Copilot?
- An AI pair programmer.
- Essentially, Copilot is Auto Complete on steroid. When Copilot generates the codes, it does not know what it is writing. It is simply trying to predict the next word(s) based upon the information that it has.
- Works with VS Code, Visual Studio, NeoVim/Vim, and JetBrains IDEs via extensions
- Who makes it?
- Microsoft who own Github
- Why should CFers use Copilot
- Helps you write code faster especially when it generate a whole block of code
- Helps you write code faster especially when it generate a whole block of code
- Write better code esp if your give it self-documenting variable and function names
- Can help with JavaScript, CSS and SQl too
- Improves a junior developer’s weak area more than it improves a senior developer.
- “Copilot makes you better at what you’re good at and lets you quickly master what you’ve yet to learn.”
- “Among developers who use GitHub Copilot, 88% say they are more productive, 74% say that they can focus on more satisfying work, and 77% say it helps them spend less time searching for information or examples.” from https://github.blog/2022-09-07-research-quantifying-github-copilots-impact-on-developer-productivity-and-happiness/
-
Any reasons to not use it?
- Trained on codes found in public repositories – The accuracy of the generated codes depends on the amount of codes in their respective public repos.
- The quality of the codes may or may not be good
- It takes the name of your file, the codes before and/or after the cursor in the current file, the currently open files in your IDE, and the codes in the files linked to the current file in context when trying to provide code suggestions. In other words, as you are building your projects, the accuracy rate should increase.
- Does it copy your code to add to its store of code?
- Controversy over where the code comes from – copyright issues?
- Business version has option to only use code from a your own private GitHub repo
- Trained on codes found in public repositories – The accuracy of the generated codes depends on the amount of codes in their respective public repos.
-
Tips on using Copilot
- Be precise and provide details
- Be descriptive to your file names, variable names, function names, …etc.
- Keep file tabs open especially those files which are relating to the current file.
- Keep in mind that Github Copilot is like an Auto-Complete on steroid. It does not have an idea in which language you are writing.
- The suggested code may not have the correct syntax (ex. Missing a bracket, missing a semicolon, …etc.) or the suggested variables/functions may not exist.
- So! Read and test the code generated!
- Github Copilot is trained on data found in public repositories.
- So! Put more ColdFusion codes in public repositories.
- ForgeBox? Mirror into public GitHub or write an extension
- Explain code
- Simple bug fixing
- Translate code to/from other programming
- Demo
-
Pricing
- 30 day trial
- $10 per month for individuals; $19 for business license per user/mo
- Copilot Business comes with Copilot Chat
- More on features and differences between individual and business versions https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-for-individuals
-
Has Copilot changed the way your team approaches coding or collaboration?
- Helps with common coding standard use and formatting
- CF lint
- Helps with common coding standard use and formatting
-
For teams new to AI-assisted coding, there's often a learning curve.
- What advice would you give to other CIOs or development leads considering such a tool?
- How much time to learn and get used to it? A hour to learn. A week to get used to it.
-
Future of Copilot
- Github Copilot X recently announced. X is a placeholder. Essentially, it is a family of projects/products which utilize the Github Copilot technology to give a more complete programming experience.
- GitHub Copilot X is a set of technical preview features that extend the original Copilot with chat and terminal interfaces, support for pull requests, and early adoption of OpenAI's GPT-4.
- https://github.com/features/preview/copilot-x
- “The “X” represents a placeholder for where we intend GitHub Copilot to become available, and what we expect it to be capable of doing (e.g. “Copilot <for pull requests>“, “Copilot <for security>“). It is extending the product from one experience, code completion, to X experiences across the developer’s workflow. GitHub Copilot will always need to be so much more tomorrow than what it currently is today.
- Additionally, The “X”, indicates the magnitude of impact we intend to have on developer achievement. Therefore, it’s a statement of intent, and a commitment to developers, as we collectively enter the age of AI. We want the industry to be confident in GitHub Copilot, and for engineering teams to view it as the neXus of their future growth.”
- Copilot Chat – Chat-GPT like. Comes with Individual license now. Needed to join waitlist before.
- Copilot Voice – formerly known as Hey Github. Need to join waitlist. Program using natural language.
- Copilot CLI, Copilot for PR, Copilot for Docs, …etc.
- View them at www.githubnext.com
- Need a Github account for all of this.
- Microsoft adding Copilot to their other software apps such as Office
- Update from Monte: Github Universe is happening right now. Github Universe is a conference which talks about everything that is going on with Github. They made their sessions available to the public two hours after the respective sessions are over. I have watched some of those. Github Copilot is the emphasis on all of those that I watched.
- There is this session which talks about Copilot specifically. https://www.youtube.com/watch?v=AAT4zCfzsHI. It talks about how to integrate our own data to work with Copilot. You are more than welcome to watch the presentation in its entirety. However, I want to bring your attention to the presentation starting at around 33:45 mark of the clip.
- The presenter gave an example of how DataStax (a database service provider) created this agent plugin to utilize Copilot Chat to return information specific to DataStax.
- Having said all these, the reason why I brought this up is to answer one of the questions you asked me in the podcast. How can we make the Copilot experience better? In addition to the ones that I mentioned in your podcast, now, we can create a plugin to return CF information to the developers.
- Github Copilot X recently announced. X is a placeholder. Essentially, it is a family of projects/products which utilize the Github Copilot technology to give a more complete programming experience.
-
Looking forward, how do you see AI tools like Copilot shaping the future of ColdFusion development? Do you believe these tools will become integral to the language's evolution or remain as supplementary aids?
- Mark Tataka CF AI preso
- Adaptation curve
- Pace of change
-
Other AI coding tools
- FusionReactor 11 AI tool for performance tuning
- ChatGPT
- Have to copy and paste code into ChatGPT while Copilot directly sees your code in your IDE (including other related tabs)
- Google Bard
- AWS CodeWhisperer
-
Why are you proud to use CF?
- The generosity of the CF community helping other CF devs in groups or conferences
-
WWIT to make CF more alive this year?
- More people sharing their knowledge
-
What are you looking forward to at the next CF Summit?
- New features in ACF 2024
- More AI integrations and features
Mentioned in this episode
- Github YouTube Channel: https://www.youtube.com/@GitHub
- VS Code YouTube Channel: https://www.youtube.com/@code
- Microsoft Developer YouTube Channel: https://www.youtube.com/@MicrosoftDeveloper
- Github Next: https://githubnext.com
- Github Universe: https://githubuniverse.com
- Other AI coding tools https://www.codium.ai/blog/10-best-ai-coding-assistant-tools-in-2023/
Listen to the Audio
Podcast: Play in new window | Download | Embed
Subscribe: RSS
Bio
Monte Chan
Monte is a ColdFusion Web developer with 20+ years of web development experience in areas such as education software, health insurance, church web sites, pregnancy care centers, FinTech, and other businesses.
He is a Senior ColdFusion Developer at CF Webtools. He has used ColdFusion since version 4.5 back in 1999. Has developed web applications which were used in many different industries (ex. Health insurance, education, finTech, e-commerce…etc.) He was one of the co-managers of Alamo ColdFusion User Group.
Links
- Monte Chan | LinkedIn
- Monte Chan/Geek Talk | YouTube
- Monte Chan | Facebook
- Say in message that you do ColdFusion
- Email: [email protected] (but you may get a quicker response if you send me a message in Facebook Messenger)
Interview transcript
Michaela Light 0:01
Welcome back to the show. I'm here with Monty Chan, from sea of web tools. And we're going to be talking about an exciting new AI tool for ColdFusion. While and other languages, which is GitHub copilot, welcome, Monty,
Monte Chan 0:16
Both. Thank you. So we are a big fan of this podcast. And it's a great honor to be on this podcast.
Michaela Light 0:25
I am glad we finally got you on. I noticed you were posting on your LinkedIn about the CF summit talk you gave on using copilot ColdFusion. I thought I've got to get this guy on. So cool. So if you don't know Monty, he's been doing cold fusion since cold fusion 4.5 Back in the late 90s. And he's developed applications for all kinds of industry, education, health insurance, church websites, FinTech, many others. He used to be the CO manager of the Alamo. ColdFusion youth group. I guess that's in Texas, right? Yes, San Antonio, Texas. Yeah. But he's joining us today from Hong Kong, where he's visiting is his family. And he was telling me that before they moved the airport there that is grandfather's apartment, there used to be right next to the airport, and they could watch planes, actually below the apartment building coming in, because the planes used to wiggle around the skyscrapers there in Hong Kong. So we're quite excited. Yeah, so I guess we will just start off for people who don't know what copilot is, what is GitHub copilot?
Read more
Michaela Light is the host of the CF Alive Podcast and has interviewed more than 100 ColdFusion experts. In each interview, she asks "What Would It Take to make CF more alive this year?" The answers still inspire her to continue to write and interview new speakers.
Michaela has been programming in ColdFusion for more than 20 years. She founded TeraTech in 1989. The company specializes in ColdFusion application development, security and optimization. She has also founded the CFUnited Conference and runs the annual State of the CF Union Survey.
Join the CF Alive revolution
Discover how we can all make CF more alive, modern and secure this year. Join other ColdFusion developers and managers in the CF Alive Inner Circle today.- Get early access to the CF Alive book and videos
- Be part of a new movement for improving CF's perception in the world.
- Contribute to the CF Alive revolution
- Connect with other CF developers and managers
- There is no cost to membership.