- Podcasts
- viewSource
- GitHub Copilot
About this episodeListen in as Aurooba and Brian recount their experience of trying out GitHub Copilot, debate its gender (!!), how it will affect…
Listen in as Aurooba and Brian recount their experience of trying out GitHub Copilot, debate its gender (!!), how it will affect developers in and out of the WordPress space, and what the current and possible future ethical concerns could be with AI coders. And it wouldn’t be a conversation between them if they didn’t digress into a tangent or two, of course.
A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!
GitHub Copilot – https://github.com/features/copilot
ChatGPT – https://openai.com/blog/chatgpt/
Watch ChatGPT and Midjourney build a complete website – https://www.youtube.com/watch?v=8I3NTE4cn5s
Brian's article about GitHub CoPilot on MasterWP – https://masterwp.com/getting-cozy-with-github-copilot/
Brian's website – https://briancoords.com/
Aurooba's website – https://aurooba.com
Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
GitHub Copilot
**Brian Coords:** Okay. GitHub co-pilot is an AI code pair programmer, I guess is the word they use for it. It's a little kind of robot that sits in your code editor and he has suggestions for code and he, uh, has, um, some skills like auto completing your code or letting you write comments and then completing all that code for you.
**Aurooba Ahmed:** Hmm. I. . I do say please, but I don't think I've ever said thank you and I never, I don't think I ever use pronouns for Siri, cuz I have an iPhone. I'll just be like, Siri's being dumb or Siri's not working. Why won't Siri work? Yeah. I don't think I ever use pronouns for the assistant. Do you?
**Brian Coords:** Uh, we in our house we say please and thank you to her. We. We use Siri a lot for like timers. I'm like a, oh, you know what? I had Siri in here and I took her out so I should be good. We use her for like the timer in the kitchen, like the little home pod, and when the timer goes off we say thank you, and she says, don't mention it, or something like that.
**Brian Coords:** Oh, I know there's a full psychology around presenting. Yeah, the, the. the comfort people have with male virtual assistance versus female. Mm. So to return to GitHub co-pilot, I think in my mind, when I looked at the, um, little avatar thing that they made for, it's like I, it's like a little helmet guy, like a little aviator helmet.
**Brian Coords:** I don't know why. I mean, I know why it's an entire like, history and a cultural like programming that I have that I just turn him into. I, I'm just like, if we asked. , you know, chat GPT to describe a computer program or make a, an image of one. It would be a image of a male. You know, that's just a,
**Aurooba Ahmed:** We are past the time. I think I saw this on Mastodon uh, just the other day where it's like there was a time when he and him were like, what we used when we didn't know someone's pronouns, but now we have a better like term that we can use that we've all kind of accepted, which is they and them, right. When we don't want to know or don't know someone's gender.
**Brian Coords:** You would say like, the default for someone like me to pick, which is like, oh, he's clearly a guy, cuz. , you know, that's where my brain is gonna go, and that's what like my 30 plus years on this earth have like hammered into me. So I appreciate you pushing back on that , because, uh,
**Aurooba Ahmed:** but like, I never, that doesn't happen to me. Like, I don't automatically subs like give something a gender and like I have to like physic. Consciously say, oh, do I wanna give this thing a gender? And then I give it a gender? If I so wish, like I don't think of, even though I also think of the co-pilot as sort of like a personality, the thing that's happening in my machine, I almost never would say he, I would be like, oh my God, co-pilot. It is so cool. Not He is so cool.
**Brian Coords:** I, I just feel like, uh, but then. That's like most of what copilot was when I was using it. It's like, here's a snip, like you start writing, here's the rest of what we think you're gonna write. But like, we also know what variables you've been using on this page. We also know what, um, you know, libraries you're using.
**Aurooba Ahmed:** Yeah, so I started using it a little while ago and I, I, I, I pay for it now. Like, I, I don't want to code without it. It's freaking awesome. Um, it, like, sometimes I just like will write a comment about something that's like, something really basic, like, Like customizing the query in WordPress, be like, just customize this for me to do like 24 posts and then it'll make me the function.
**Brian Coords:** And it did and it was, and. , it was even like, the example was, it was like a social sharing link and it was like a function, like I pass you a link and you return like the Facebook link or whatever. Yeah. And it knew that Facebook doesn't take, uh, you can't like send text with a link. You can only just send a link.
**Aurooba Ahmed:** Yeah. I tested it with one of the APIs that I use a lot. So there's this simple MailChimp API wrapper for PHP that I use whenever, whenever I'm integrating like a site with MailChimp, and I said, okay, use Drew M's MailChimp API and here's the API key and I wanna subscribe to this list. I wrote that in a comment and it just did it. And all I had to do was pull the API like file into my project, and that's it.
**Aurooba Ahmed:** And also because of the fact that it's trained on like everything open source, and we work in WordPress and so much of WordPress code is open source. You know, we'll talk about like plugins, the actual core Gutenberg, everything that it just, it knows the protocols, it knows the standards that we are expecting, and it can just use that to give you the right stuff. It's,
**Aurooba Ahmed:** You know what I mean? Like instead of you having to do this small, tiny things, you can think a little bit more higher level thinking about your code more strategically and let it do the simple everyday common tasks. So it's like a, what do they call? , um, in like, you know, like, uh, like grunt work. It's the grunt work.
**Brian Coords:** it makes everybody more efficient. Maybe some people lose jobs, maybe certain skills and stuff, but like also there is like a path where you kind of do have to get through grunt work to like get good at something and like, I don't think that's gonna go away, but it just, it'll definitely change I think the dynamic because like the skill you're learning is, is just gonna be a different skill than like sitting down and just writing some code.
**Aurooba Ahmed:** Because something that I've always noticed with junior developers that they're not very good at, like assessing their own code. or even anyone else's code. Right. And that's a skill you develop over time as you look at your own code and you look at other people's code and you learn how to read code better.
**Brian Coords:** that's not a good you, you know, like, like that's where you want to be. But yeah. You know, at the end of the day I, I think I constantly say that feeling of, I just want to code faster, but I don't wanna like feel stressed, but I do wanna just get more stuff done because you're like, there's so many things I wanna do.
**Aurooba Ahmed:** I think that we as humans are just not very good at trusting things that feel bigger than us and bigger than what we can grasp in our own brains, like you just said. I think that that's a fallacy because almost everything in the world is bigger than we can grasp in our brains. It's just that we have this ability to focus on just the parts that are relevant to us, and when we're forced to face the fact that we can't, that's scary, but it's a reality that's everywhere.
**Brian Coords:** gender biases. That I promise you. In fact, um, there was an article recently where um, someone we know basically did, you know, one of those image generators and it like, changed her race and gender and stuff in just crazy ways and, and it oversexualized all the images and stuff. And it was all these things, but it was all these biases because it's only training on human data. So i,
**Aurooba Ahmed:** I don't know how I would personally play into that. Like me as a day-to-day developer building websites and bespoke apps on the web, I can be aware of it. But like when I think about it, am I doing something that will be training it to do that kind of like enable that kind of bias? I don't know. Uh, I couldn't think of an example in my life where that's happening, but it could be happening and I just don't know it. I don't know.
**Brian Coords:** yeah, it, I think one really good example for like web developers is like the choices you make around accessibility. Like that's, that's your decision to say like, Do I, do I want what I build to, you know, be accessible to everybody regardless of their situation or not. So like, you know, there, there are those times for those sorts of decisions that we get to make, but like writing a function that like, you know, reverses an array for you or something like that, probably,
**Brian Coords:** Do, do we even want to touch on ethics? I feel like once everybody uses GitHub co-pilot, they're like, uh, you know, I actually changed my mind about the ethics of AI uh, . I, I'm just saying I, and I'm probably one of those people. But you're like, uh, well, now that I've used it, I look at it a little differently. Do you have an opinion on the, the,
**Aurooba Ahmed:** I don't think I went into it bad thinking badly about it. You know, like I , when I first heard about it, what I understood it to be is that it's train. It's being trained on open source code code that is publicly available, and I don't think that, I mean, I think that's legitimately fine.
**Aurooba Ahmed:** I mean, if it's using what I'm doing in my private repos as a way to train its train and become better for other people or replicate code for them, then maybe that's a problem. But if it's using it to just help me, and the code that's suggesting for me, that's okay. Which I think is probably what it's doing to some extent because it personalizes how it's suggestions to you and I want it to do that.
**Brian Coords:** I think I understand. So I mean, on the one hand it's like I'm using a Microsoft tool where I store all my Microsoft code in my Microsoft VS code editor, and I'm going to deploy it to, well, I, I'm not gonna lie, I don't think we host anything on Microsoft servers, but you could, depending on the type of work you work on, you know, I mean, good for them, I think.
**Brian Coords:** I think I more came at it from like starting with the , the art side of it, like art image generators and stuff where real artists are saying like, They're showing like, look, this, this is the training set for open AI it has my art in it. There's no, my art is not public. It's not, you know, open source. It's
**Brian Coords:** and using that as training data. I think those ones are a little. Code. I'm a little less like precious about open source code being used for training data. I think like that's kind of the point of it. That's kind of like a good thing and it's just code, you know? It's not, it's not art. It's code. It's not poetry, it's just code.
**Aurooba Ahmed:** eventually it's gonna get there. Where it's gonna be able to like, not think, but maybe think, but you know, like the way machine learning is where it's able to think about a better approach to doing something. Now that that is like art, that is creativity at play within code. So how would you feel if you tried to do something and it says, no, this is, here's a better way. And it's able to come up with the entire like setup for how you should approach something. And it's learning that from like other repos.
**Brian Coords:** make the, exactly, and it'll all come together. And it'll just be another website that looks just like the websites many of us build on a day-to-day basis, which you.know, the point of the website is to just say like, look, I'm a real company with a real website. That's kind of the the goal it serves, you know?
**Aurooba Ahmed:** But you're right. You know, um, at some point the human, like, if we train it to think certain things are just not valuable, then it's not gonna tell us that. And if it doesn't tell us that, then people will, it's like a, it's like an echo chamber, right? Like the same thing keeps happening again and again, and it's really hard to break that cycle. Yeah, I'm, I'm gonna keep using it. I mean, I, I really like it.
**Aurooba Ahmed:** Because now because of this, in less time you can create, which changes a lot of expectations. Mm-hmm. I think that if this allows us to save time, doing the mundane and makes us, forces us to think more about writing better code in the long run, it's a good thing, but it's probably going to be painful in practice for a lot of people. At first.
**Aurooba Ahmed:** Yeah. Like in a way it's making the end barrier to entry lower, but that also means you have to be better if you wanna grow and stand out more. Right? Because anyone can use chat GPT or freaking co-pilot to write some, write a tiny little plugin. I did it the other day just as, just for fun with chat GPT actually, and. If you want to be more intentional or want to stand out, you're gonna have to be more strategic about your code. Something that they can, like the AI can't do, but only you can do.
