Modern Australian
Men's Weekly

.

what GitHub's Copilot 'AI assistant' means for coders

  • Written by Ben Swift, Educational Experiences team lead (Senior Lecturer), ANU School of Cybernetics, Australian National University
what GitHub's Copilot 'AI assistant' means for coders

I love writing code to make things: apps, websites, charts, even music. It’s a skill I’ve worked hard at for more than 20 years.

So I must confess last week’s news about the release of a new “AI assistant” coding helper called GitHub Copilot gave me complicated feelings.

Copilot, which spits out code to order based on “plain English” descriptions, is a remarkable tool. But is it about to put coders like me out of a job?

Trained on billions of lines of human code

GitHub (now owned by Microsoft) is a collaboration platform and social network for coders. You can think of it as something like a cross between Dropbox and Instagram, used by everyone from individual hobbyists through to highly paid software engineers at big tech companies.

Over the past decade or so, GitHub’s users have uploaded tens of billions of lines of code for more than 200 million apps. That’s a lot of ifs and fors and print("hello world") statements.

The Copilot AI works like many other machine learning tools: it was “trained” by scanning through and looking for patterns in those tens of billions of lines of code written and uploaded by members of GitHub’s coder community.

A screenshot of computer code produced by Copilot.
Copilot produces code from instructions in plain English (the pale blue text). GitHub

The training can take many months, hundreds of millions of dollars in computing equipment, and enough electricity to run a house for a decade. Once it’s done, though, human coders can then write a description (in plain English) of what they want their code to do, and the Copilot AI helper will write the code for them.

Based on the Codex “language model”, Copilot is the next step in a long line of “intelligent auto-completion” tools. However, these have been far more limited in the past. Copilot is a significant improvement.

A startlingly effective assistant

I was given early “preview” access to Copilot about a year ago, and I’ve been using it on and off. It takes some practice to learn exactly how to frame your requests in English so the Copilot AI gives the most useful code output, but it can be startlingly effective.

However, we’re still a long way from “Hey Siri, make me a million dollar iPhone app”. It’s still necessary to use my software design skills to figure out what the different bits of code should do in my app.

To understand the level Copilot is working at, imagine writing an essay. You can’t just throw the essay question at it and expect it to produce a useful, well-argued piece. But if you figure out the argument and maybe write the topic sentence for each paragraph, it will often do a pretty good job at filling in the rest of each paragraph automatically.

Depending on the type of coding I’m doing, this can sometimes be a huge time- and brainpower-saver.

Biases and bugs

There are some open questions with these sorts of AI coding helper tools. I’m a bit worried they’ll introduce, and reinforce, winner-takes-all dynamics: very few companies have the data (in this case, the billions of lines of code) to build tools like this, so creating a competitor to Copilot will be challenging.

And will Copilot itself be able to suggest new and better ways to write code and build software? We have seen AI systems innovate before. On the other hand, Copilot may be limited to doing things the way we’ve always done them, as AI systems trained on past data are prone to do.

My experiences with Copilot have also made me very aware my expertise is still needed, to check the “suggested” code is actually what I’m looking for.

Sometimes it’s trivial to see that Copilot has misunderstood my input. Those are the easy cases, and the tool makes it easy to ask for a different suggestion.

The trickier cases are where the code looks right, but it may contain a subtle bug. The bug might be because this AI code generation stuff is hard, or it might be because the billions of lines of human-written code that Copilot was trained on contained bugs of their own.

Another concern is potential issues about licensing and ownership of the code Copilot was trained on. GitHub has said it is trying to address these issues, but we will have to wait and see how it turns out.

More output from the same input

At times, using Copilot has made me feel a little wistful. The skill I often think makes me at least a little bit special (my ability to write code and make things with computers) may be in the process of being “automated away”, like many other jobs have been at different times in human history.

However, I’m not selling my laptop and running off to live a simple life in the bush just yet. The human coder is still a crucial part of the system, but as curator rather than creator.

Of course, you may be thinking “that’s what a coder would say” … and you may be right.

AI tools like Copilot, OpenAI’s text generator GPT-3, and Google’s Imagen text-to-image engine, have seen huge improvements in the past few years.

Read more: Robots are creating images and telling jokes. 5 things to know about foundation models and the next generation of AI

Many in white-collar “creative industries” which deal in text and images are starting to wrestle with their fears of being (at least partially) automated away. Copilot shows some of us in the tech industry are in the same boat.

Still, I’m (cautiously) excited. Copilot is a force multiplier in the most optimistic tool-building tradition: it provides more leverage, to increase the useful output for the same amount of input.

These new tools and the new leverage they provide are embedded in wider systems of people, technology and environmental actors, and I’m really fascinated to see how these systems reconfigure themselves in response.

In the meantime, it might help save my brain juice for the hard parts of my coding work, which can only be a good thing.

Read more: Artificial intelligence is now part of our everyday lives – and its growing power is a double-edged sword

Authors: Ben Swift, Educational Experiences team lead (Senior Lecturer), ANU School of Cybernetics, Australian National University

Read more https://theconversation.com/so-this-is-how-it-feels-when-the-robots-come-for-your-job-what-githubs-copilot-ai-assistant-means-for-coders-185957

Driving After Brain Injury: Common Challenges and How To Overcome Them.

Suffering a traumatic brain injury (TBI) can drastically influence a person's ability to drive safely. For many, driving represents independence, bu...

The Psychology of Stepping Up: Why We Avoid Helping—and How to Fix That

Most of us like to think of ourselves as kind, helpful people. We imagine that if someone needed assistance—especially in an emergency—we’d st...

Cross-Continental Collaboration: Nutifood and Viplus Dairy to Create Australian- Standard Premium Dairy Brand

Vietnam’s Nutifood has officially entered a strategic partnership with ViPlus Dairy, a heritage-rich dairy manufacturer with over 130 years of ex...

Commercial Plastering Can Boost Your Business Appeal

In business, appearances matter. The way your space looks sets the tone for how clients, customers, and even your staff perceive your brand. A well-...

How to Transfer Registration When You Buy a Used Car in Brisbane

Purchasing a second-hand car can be a thrilling experience, but there's more to it than simply handing over the cash and driving off. One very impor...

Expert Tips for Comparing Budget Movers and Energy Providers For a Modern Apartment

Starting a new life in a modern apartment can be a challenging yet exciting step. While moving into a modern apartment, people always need reliable ...

Slowing Down in Nature: My Experience on Orchid Classic Cruise in Lan Ha Bay

Why Orchid Classic is a Top Choice for Lan Ha Bay Lan Ha Bay, a hidden gem adjacent to the more famous Ha Long Bay, offers travelers a quieter and ...

Your Next Travel Essential? Why Aussies Love Lightweight Electric Wheelchairs

Planning for a trip or just getting around town? A lightweight electric wheelchair could be your perfect travel mate. Whether it’s a stroll throug...

Australian Study Woes – What is a Confirmation of Enrolment?

Recent changes to Australian study visas are altering the landscape for international students who want to learn and work on our shores.  To secur...

Metal lockers vs. wooden lockers: which is better?

Lockers—the ultimate background hero of the workplace. They might not have the flashiness of that overpriced espresso machine in the break room, b...

Invisalign Treatment: What Your Dentist Wants You to Know

When straightening the teeth, out-of-date metal braces are no longer the only option. Nowadays, Invisalign is among the most highly sought-after alt...

The Best Nail Art for Short Nails

Short nails often get overlooked in the world of nail art, but they’re actually the perfect canvas for stylish, sophisticated designs. Whether you...

How Much Does a Skip Bin Cost? Skip Bin Prices, Sizes & What Influences the Price

Regardless of whether you're renovating a house. You are tidying up your backyard, or running a construction site. Chances are you'll require a skip...

Panoramic Elevators: Combining Functionality with Aesthetic Appeal

In the evolving world of building design, the demand for architectural features that are both practical and visually striking continues to rise. One...

No Dig, No Drama: Sydney Pipe Relining Explained

You know that feeling when water starts pooling where it shouldn't? Or received a quote for pipe repairs that made your eyes water? Let's chat about...

The SEO Benefits of AI-Optimized Landing Pages: Smarter Metadata, Faster Load Times

Landing pages are integral to the conversion funnel in digital marketing. Yet, when SEO works well to drive traffic to the landing page, it's just a...

How to Reduce Turbo Lag with an Upgraded Mazda BT-50 Exhaust System

Are you struggling with turbo lag affecting your driving experience?  Did you know upgrading your Mazda BT-50 exhaust system could be the key to u...

How to Segment Email Lists Based on Content Engagement (Not Just Demographics)

Email segmentation generally refers to age, location, gender demographic, and conventional elements. While this could be helpful information, it doe...