chantastic.fm

109: Gant Laborde on Machine Learning

Episode 109 · September 10, 2020 · 00:52:45

Hosted by chantastic · With Gant Laborde

Sponsored by Retool and Infinite Red

Download MP3 · Jump to transcript

News!

We have a YouTube channel for React Podcast 🥳
Watch the livestream of this chat with Gant and Subscribe for future videos!

Featuring

Links

Sponsors

Retool

Build internal tools, remarkably fast, with Retool. Connect to anything with an API, drag and drop React components, and write JS anywhere. retool.com/reactpodcast

Infinite Red

In over your head with a React or React Native app? Infinite Red can help. They're React Native core contributors who've been designing, building and shipping apps for over 10 years. reactpodcast.infinite.red

Transcript

[00:00:00] Michael Chan: This is React Podcast. I'm Chantastic. This week, Gant Laborde tells us how to present ourselves well digitally. In the world of online conferences, streaming, and meetings at a distance, your screen presence is your only presence. Then we take a 180-degree and talk about machine learning and leveraging it to find Nicolas Cage. You're gonna- Now, we tried something very new this week and streamed this conversation live on YouTube. If you've been clamoring to be a part of these chats in real time, uh check out our channel on YouTube. It's brand new, so we don't have a special URL, but uh a link will be in the description. And if enough of you subscribe, we'll have a nice, memorable URL soon. This episode is sponsored by Infinite Red and Retool. Every week I'm telling you to hire the thoughtful and experienced developers at Infinite Red, and Gant, our guest today, is one of those developers. Now, maybe you've heard about machine learning and the potential it has to revolutionize the product you make. To leverage that potential, you could send a few of your people off for a few weeks to read research papers and be only marginally closer to a user-facing feature. Or you could hire Infinite Red and gain the expertise they already have. That means more time delighting customers and less time reading white papers. And because they put so much emphasis on teaching, you'll walk away an expert too. Infinite Red have been working with companies like yours to design, build, and ship quality apps for 10 years. Start or refer a new project with Infinite Red and get $750, plain and simple. To find all of the ways that they can help you build the app of your dreams, visit reactpodcast.infinite.red. Retool helps you build internal tools remarkably fast. If you want to know how fast, go right now to retool.com/reactpodcast. Now, internal tools. I bet you have experience with a few internal tools, and I'm guessing that experience is very bad. Polished internal tools are never a priority for businesses, which is a real shame. Internal tools are where we fix problems, delight customers with fantastic support, and avoid those pesky requests to just change this field in the database. Your internal tools don't have to win awards, but they should be good, complete, reliable, and fast to build. With Retool, you get all of that. Retool is a drag-and-drop interface creator for engineers. It empowers you to build the internal tools you need in hours, not days, and gets you back to diligently obsessing over public, customer-facing features. Connect Retool directly to an API or database, then drag the resulting elements right onto the canvas. You can use SQL to make the queries, and JavaScript works just about everywhere. It's brilliant. To get started, visit retool.com/reactpodcast. Retool, the fastest way to build internal tools. Welcome to React Podcast.

[00:03:22] Gant Laborde: Good to be here. Happy to be here.

[00:03:24] Michael Chan: Hey, so first and foremost, I just have to say uh thank you because, you know, Infinite Red has been like a huge sponsor of the show, making the show possible.

[00:03:34] Gant Laborde: Oh yeah, yeah, yeah.

[00:03:35] Michael Chan: These things don't happen by themselves. And uh and I I know that you've uh been instrumental in just kind of making sure that you continue to support the show. And so I just wanted to say, you know, having you on, thank you.

[00:03:45] Gant Laborde: Oh yeah. Thank you for, you know, let me let me just say that we, We love finding ways to kind of give back to the community. We love finding, you know, artistic and creative instances. But um this has been one of the podcasts that we've continued to fund because it keeps sending people our way. So kudos to you as well.

[00:04:06] Michael Chan: Well, I'm glad to hear that. That's uh that's good. And I'm glad that people are getting help um from you because you guys are just really um doing some cool stuff, really good um experts in the industry and kind of keeping track of all of the all the technology and how to help people kind of bring their vision to life. And, uh, so it's a good, good little partnership.

[00:04:25] Gant Laborde: Yeah, it's rewarding. It's rewarding work.

[00:04:27] Michael Chan: Now, before we kind of actually jumped on the official part of this call, um, we were talking about, uh, streaming stuff.

[00:04:35] Gant Laborde: Yes.

[00:04:36] Michael Chan: And just kind of how the world has changed so much, like, in the last year, and kind of all of the ways that it's required, um, people who people like yourself who have have traveled the world giving a lot of talks, kind of engaging with people in a certain way, you've had to totally change the way that all works. And we we kind of naturally fell into this gear talk, and I just thought it'd be kind of fun to to start with that. I think we'll probably talk about AI a little bit later, but-

[00:05:03] Gant Laborde: Yeah.

[00:05:03] Michael Chan: What are you- like, how has this year been different from previous years for you as someone who's regularly going out into the world, kind of engaging people um, via conference and whatnot.

[00:05:13] Gant Laborde: Yeah, I could tell you specifically one of the things that we used to do. I I wasn't in a lot of sales calls for a while, and uh, you sort of- my presence was get a pretty good camera, get a pretty good microphone, and you're good. You know, as a as a person motivating a team, you don't have to do too much more. But I I started finding that now that we exist in this, this is just our reality. Like all day I'm staring at stuff. It's really gone up in value. This is where all the eyeballs are. This is where if you put a little bit more time and energy into your production, your value, your microphone, your lighting- as you can see, uh, you know, those in the podcast, um, just imagine the most beautiful palace in the world. For those of you on video, you can see like I have special lighting for my background now. Yeah. Just all these different ways that have actually kind of stepped up my game. Um, and I- it really does make a big, big difference in sales and in, um, in virtual conferences, man. Like, it's just so fun. I mean, we could be in a chat now and I'm just like- Wow.

[00:06:25] Gant Laborde: And to get Owen Wilson in there, I was like, if you make a good point, I want to be able to- it's key. Like, being able to do that increases the bandwidth of this, you know, let's take advantage. I would never have that available in person, but now I can have all the toys.

[00:06:43] Michael Chan: I think those might be the, the first sound effects on React Podcast.

[00:06:47] Gant Laborde: I've done- I've opened the curse. No one, no one's supposed to open that. It's too late now. It's- now it's even worse. I did it. I'm in trouble now.

[00:07:00] Michael Chan: So I'm curious, like What is that like? Like obviously you've gone through the, and I've done the same. And so we were kind of talking about a lot of gear and I totally agree that, you know, this is like, you know, everyone jokes about how you can now, like you can show up for a meeting in like just a shirt, right? Like you don't have to wear pants. And I think that in one way, yes, we've been able to kind of um like remove, like you don't have to wear a suit anymore, right? You can kind of, everything, the expectations are a little bit different, But the technology involved in how you present yourself and how you're heard via microphone and all that kind of stuff has, um, our expectation is like rapidly growing, going up for that. And I find that super interesting. Um, I'm curious, kind of as you have done that kind of at the level that you've been doing it, what's some of the gear that, that you've found a lot of success with? And then also like some of the stuff that you're eyeballing for people who also- Yeah. Want to present themselves better in their sales meetings or their, you know, virtual team meetings, all that kind of stuff.

[00:08:00] Gant Laborde: Well, I could say like, you've always got fantastic audio. Like when your audio comes through, I imagine you've got some tricks, maybe even have some software EQ and give it just a little bit of reverb or something. Because something about uh giving, you know, I'll I'll I'll admit, first things first. Hey everybody, I'm Gant. I do not have an amazing voice. My voice is far from something where people would say, "Wow." But but a lot like my voice, uh my name is that you could spot my voice from across the room. And that's sort of like what I I want to collect that. Sure. I want somebody who I met at a conference to say, "I think I know that dude," or, you know, "I I heard this talk." I want that to come through crystal clear. So, um, I switched from one of those, you know, the Blue Yeti, which is this USB- you don't have to worry about it, you just set up and everything's kind of nice, and you put it on cardioid for your chat and you start chatting. It was really awesome to have that for a while. And, you know, you always have this premise, you could always buy a guitar and play into it as well, or whatever kind of pipe dreams come along with every microphone packaging. Um, but then I was like, my, my trick here is my voice, my communication with you. And so then I invested in an actual real voice-specific microphone, which is what I have now. And it stays directly out of frame because I don't like it to distract, but right underneath my actual video frame.

[00:09:35] Michael Chan: I do like it to distract.

[00:09:36] Gant Laborde: Yeah, it does look cool. I mean, you gotta admit, when you have something like that, it does show- it's a little bit of, what is it like You know, it's a little bling bling, right, that you're showing.

[00:09:46] Michael Chan: Yeah. Yeah. Oh, absolutely.

[00:09:48] Gant Laborde: I, you know, if I could, I'd be like, oh yeah, there's this. And then actually have a lot of cool things I wish I could show, uh, like, like the, the Yamaha DAC and the Stream Deck and stuff like that, which we can totally get into. Um, but what I really like about this is that my voice, whatever body it has, whatever character it has, it's coming through. And if you've spoken to me in person, it feels like you're speaking to me now. And my inflections, my voice, it's there. And I think that's great because we kind of need that human connection right now. So so letting that through is pretty important.

[00:10:22] Michael Chan: Yeah, I totally agree. It's it's you know it's so funny because people come up to me at conferences and they're like- well, actually, they come up to me at conferences and they're like, you know, you sound kind of like the the React podcast host. But you sound drunk.

[00:10:37] Gant Laborde: Do you speed up these podcasts? Like you're like 1.2 speed and no one actually knows?

[00:10:46] Michael Chan: Well, no, everyone just listens on 2x, so they're listening like super fast and they're like, they hear me in person and I just sound like I've like very much slower. So, uh, yeah, cause I'm not really a fast talker for the most part. I, I kind of draw things out a little bit. Um, but yeah, so that's always kind of like a funny, funny thing. Like people recognize the voice, but the speed is like, well, you sound like a slow version of uh of of that guy.

[00:11:14] Gant Laborde: Uh, I'm just waiting for somebody to come tell me like, I thought you were taller or something like that. I hear that. I hear that's when you've made it. So.

[00:11:22] Michael Chan: Yeah. Yeah. Yeah. I thought you were taller.

[00:11:24] Gant Laborde: So, so, uh, yeah, I I've leaned into the voice. I've leaned into the video. I've leaned into, you know, being able And then of course, mic characteristics, probably the time I should spend into purchasing something a little bit more like sound dampening or higher quality or better lighting. Actually, I've really played with my lighting a lot. I've written 2 blog posts, by the way. Nice. About exactly this. So uh on the Google Developer Expert blog, um I published Improve Your Virtual Presence Video and Improve Your Virtual Presence Audio. And those those are two great things because um you know a whole bunch of experts were really just confused on what to do. And I was like, hey, here here's my path forward. I documented it all, check it out. And uh it's it's been really nice. But now I spend a lot of time figuring out how to make things more silly. And therefore I bring the sound effects, yeah.

[00:12:23] Michael Chan: So what are you using um I guess right now for Uh, your lighting effects and then also for your soundboard.

[00:12:29] Gant Laborde: Yeah. Yeah. So for, for lighting right now, I've got, uh, my classic is I bought this barn door kind of old style light that I hooked up to, uh, my, my Amazon Echo. And I used to turn it on and that was like the full amount of my lighting every day. It was giving me lighting from one side. And then I've stepped it up since then. I got the Elgato, um, Like a key light.

[00:12:54] Michael Chan: Yep.

[00:12:54] Gant Laborde: And that's, that's doing my- my wimpy one is now my, my, my secondary light. My key light is the, the Elgato, and I've got it all like wrapped right here into an interface so I can turn them on and off. Anybody who's watching the video is seeing some stuff happening. And, and then the last piece of it is that, um, I don't have a lot of space at my house, so I had to spice up what I had. And so I painted my door red and got some um RGB LED lights.

[00:13:24] Michael Chan: Nice.

[00:13:24] Gant Laborde: And just tossed those behind me and I can turn those on at any time and turn into HyperVision.

[00:13:29] Michael Chan: That's so sweet. Yeah, I like I love your I love your setup. I think maybe for anyone listening to this over audio, we'll probably have to like uh do a a screenshot or something like that so they can kind of see see what you're rocking. Cause it's really it's really nice.

[00:13:41] Gant Laborde: Thanks, man. You know, one of the things I think is really cool is uh I turned to my team and I said, "What's what's off?" They're like, "Can you move that that stupid bin behind your head?" And I said, "No, I cannot. That is basically overflow from having a kid." And they were like, "Oh, okay. Well, you need some symmetry brought back. So paint that white door red and and and do this and do that." And I just kind of like chat with my team and we're really open about it. And someone will be like, "You know what you need? This." And I just keep adding different things. And over time, anything that you- Interesting. Consistently wake up and think about becomes your reality. And that's just how it's ended up here.

[00:14:22] Michael Chan: This is interesting because it's kind of like, you know, using our analogy, it's kind of like the like the modern suit, I guess. But like-

[00:14:28] Gant Laborde: Yes.

[00:14:28] Michael Chan: You would you would never like say to someone like, oh, hey, like your suit is jacked. Like you need to do like another color, right? But like it's it's way less personal when it's like your room, right? Like, hey, your door, you gotta, you know, like spice that up a little bit.

[00:14:43] Gant Laborde: Right, it comes back to the why. On why why why were people wearing suits? You know, you you didn't— it was no way for you to sniff them on Facebook or, you know, like to to go watch their profile. You kind of had to do a cold read.

[00:14:58] Michael Chan: Yeah.

[00:14:58] Gant Laborde: And a cold read is, you know, uh suits. And it says like, this is success. I can take care of myself and I can take care of you, is what it used to say in some some weird primitive regard, I assume. And now, um, having this- this is my technical suit. This is like, hey, if I want to make something a little bit better, I can do that. That's a good analogy.

[00:15:22] Michael Chan: Well, thank you. Thank you. So the- now I'm curious, um, you know, as you're doing these virtual conferences, um, have you come across like some really good- you know, for people who are listening to this, they have a meetup they have some kind of event that they'd like to continue on. Have you found pieces of software that work better for these live events than others? Things that they should avoid? Yes. I know like for us right now, we have, you know, my my company has like a meetup and they've been trying to figure out how to go virtual. But like the tooling can be really difficult and it's awkward.

[00:15:56] Gant Laborde: Yeah, yeah, yeah.

[00:15:56] Michael Chan: So, yeah, so what what has worked well for you as kind of a guest and a speaker?

[00:16:03] Gant Laborde: Yep, I can tell you 1000%. Here you go. Conferences who are trying to recreate conferences online are failing. They're not failing failing. There's just- it's like everything's at 80% of what you want. And so you're you're not getting anything. You're not leaning- you're you're wearing a virt- you're wearing the wrong virtual suit. You know, you're trying to get a hallway track, you're trying to get exclusive Q&A with a speaker. And so you've got stages, Uh, people can migrate between stages. Um, it feels very lonely. Mm. Uh, we've forgotten the humanity in trying to mimic a giant conference center. And I will say quite specifically, my favorite online conferences have been the ones that group people together and get excuses to agitate and get people together. One of the advantages you can have uh at a virtual conference is the ability to absolutely talk during the conference. You can't do that in person. Like it's kind of rude, you know, if you're just sitting there having a whole conversation during it. What I love during these virtual conferences is the chat going crazy. You need somebody who's fun. Yeah, yeah, yeah. You need a meme master. You need some energy. And you need to pump everybody into the same spot so that someone's like, "I don't want to miss what they're gonna say about this person." Yeah. You know, characters are built and and destroyed in the chat alongside these virtuals. And I think that when you're trying to make this giant space, because you have infinite space on the internet, you're putting too much distance. And I've seen some really cool conferences try to do some really cool stuff, and have 4 technological hiccups but pull off this really grandiose thing. And no one really ever left there meeting a new person or having a new favorite talk. Um, but then there were some conferences that were basically like, here's the Zoom URL and here's the Discord chat. And it was amazing. I loved it.

[00:18:12] Michael Chan: Yeah, yeah.

[00:18:12] Gant Laborde: I loved it.

[00:18:13] Michael Chan: Yeah. It's, you know, it's really interesting because it feels a lot more at that point like the, the value of live streaming. You know, you, you see, you go onto Twitch and you, you know, hit any of the trending channels and it's like, you know, it's maybe a topic that you're not necessarily interested in, but like seeing that chat just like fly by and seeing all the excitement, like it gets you hyped.

[00:18:32] Gant Laborde: It does. It does. It's like some kind of, you know what it is? There's a reason why TV shows still have a laugh track. Right? We all know those people who were recording that laugh were recording in the '70s, half of them are dead. Like no one- I know when to laugh, but there's something uh community, there's some oxytocin that gets released by hearing a group of people having a good time. It's why I could listen to a track of just people having a great evening at a coffee shop and it can make me feel a certain way.

[00:19:09] Michael Chan: Yeah.

[00:19:09] Gant Laborde: I think that we need to think more on that front. We need to think more human because that's where I'm really having my most fun with these online conferences. I'm really having a blast meeting somebody who can find the funniest thing to post on every talk. Or or when something goes terribly wrong, the community comes together and laughs about it instead of there being an awkward silence. I think that it's a way cooler way to do it.

[00:19:37] Michael Chan: Yeah, yeah, yeah. That's super interesting. It's, you know, it's, it's really hard to- I think, as you mentioned earlier, we're trying to artificially recreate the things that we know, um, instead of embracing the things that are great about online streaming, um, the things that were kind of awkward about conferences, right? Like, you know, you had to choose before, right? Like, if you wanted to, like, listen to the talk or, like, go to the hallway track, Like you had to make a decision. You couldn't like just sit in the talk and then chat with your your homies about the talk or like whatever else seemed interesting or play your sound effects or like throw your memes. Like um and it's a much more— like I guess even if it's not collaborative between, you know, the person speaking and the the people in chat, um it is like a a a much bigger like experience, right? Like even if they can't respond directly to what's happening, um having that collaborative environment, that kind of like event is exciting. And, uh, you know, it's, it is something we should be kind of like chasing as we create these, these new event places.

[00:20:40] Gant Laborde: Yeah. I'll, I'll, I'll even say that sometimes the streaming being 20 seconds off, you know, is, is still okay. But you kind of, as a speaker, I always enjoyed getting some feedback from my audience. I enjoyed looking at them, seeing a nod, saying a joke, and then Seeing a smile. And with a chat, you could do that with an emoji in a second. But if my talk was recorded, I understand it saves the sanity of the conference organizer, but it also, it costs a little bit. It costs a little bit there. Now I can go there and be in my own, be at my own talk and troll myself. And that that so I maybe I am leaning in the right way there uh by doing things that you could never do if you were Uh, if you were giving a talk live. And I think that's the cool thing is like we have to find these things that the computer gives us, um, that we wouldn't have there, rather than trying- I I I promise you, so many people didn't get the right code typed in, or the site crashed at the wrong time, and they just said, no one's gonna know, and they just closed it out, and they didn't even go to a conference they were gonna go to.

[00:21:54] Michael Chan: Yeah.

[00:21:54] Gant Laborde: I know that's happening. I saw I see numbers from day to day of certain people and certain conferences that in attendance had 3,000 people. They go online where it's worldwide and it drops to hundreds.

[00:22:08] Michael Chan: Yeah, yeah.

[00:22:09] Gant Laborde: Right.

[00:22:10] Michael Chan: Yeah, well, it's you know, it's definitely interesting. And I think it it changes the way that you need to run these events too. Um, I mean, like even right now, this is the first time we've ever tried to like go live and we're like streaming, but also, um. You know, I, I've never had to like try to manage a conversation and then also like chat at the same time. And so I'm just not today. Right, right, right. You know, having, having that person who's like sitting there kind of like, you know, picking up the trends, like seeing, you know, what should be talked about and then like passing that to, you know, the, the, the guest and the host, um, you know, having that third person really does help facilitate a lot of these things and kind of make it feel a lot more cohesive.

[00:22:48] Gant Laborde: You know, I actually did a uh videocast back in 2013. We only did about 6 episodes uh before the technology actually went away that it was all about. But it was a lot of fun. Um, we had- one of my friends was technically set up as the cameraman and was able to control which, which screen had focus. Oh, cool. Who was talking. So it kind of had like that movie J-cut and L-cut style. And another aspect of it is, is that when the chat showed up, it was pre-digested questions and chat information. So I think that like what's funny is, you know how they say you're never- you can't go to college for the jobs that are gonna be available in a decade? It's kind of like this. It's like we we're making up the new rules as we go.

[00:23:40] Michael Chan: Yeah, that role of producer is just like critical now. Like I think everything you know, there's been a lot of opportunities, you know, when things aren't live to kind of have that, uh, that gap in between, right? Where you do the recording and then you do the editing and and then you put it onto the internet and then you deal with comments and all that kind of stuff. And now all that happens at once and like it's just too much for one brain to really like process. Oh yeah.

[00:24:04] Gant Laborde: Oh yeah. I agree. As well as as our project manager, uh, Jed says, uh, oh good, now I'm doing, uh, I'm I'm half-assing two tasks.

[00:24:17] Michael Chan: Absolutely.

[00:24:17] Gant Laborde: Multitasking. Yep.

[00:24:19] Michael Chan: Well, um, thank you for this. This was super fun. I'm glad that we got to talk about this because it's something that I'm trying to figure out now for, for React Podcast because it's like, I didn't think about it before because it's like, oh, you know, whatever, it's a, it's a, you know, audio show. But like people who kept coming on kept asking me like, oh, is this gonna be like livestream? Because it's just becoming like more and more the norm. Um, and I just, I, I thought, you know, What the hell, let's uh let's give it a try. Let's see how it goes.

[00:24:45] Gant Laborde: As as a host, I think it's really awesome. And I mean I mean for instance, look, I mean if I need to turn into a a glowing monster at any moment, it's it's kind of nice. Like this this could really emphasize some stupid point I'm trying to make.

[00:24:58] Michael Chan: Oh man, you know, our listeners are in for a treat treat this time. It's very uh it's a very uh different episode today. I love it.

[00:25:12] Gant Laborde: Indeed.

[00:25:13] Michael Chan: So, I want to talk uh with you. This is a this is just a hard cut. Just a straight departure from kind of what we've been talking about. But um you know you've been doing a lot of cool stuff in AI.

[00:25:24] Gant Laborde: Yeah, yeah.

[00:25:24] Michael Chan: And I wanted to have get your perspective on it. Because I think that you as a developer, as someone who's doing a lot of React and React Native, have um a lot of empathy for how-

[00:25:36] Gant Laborde: Yes.

[00:25:37] Michael Chan: Concerning or uh how big like AI and machine learning and all this kind of stuff is for for those of us who just identify as designers or front-end engineers or whatever.

[00:25:49] Gant Laborde: Um right.

[00:25:50] Michael Chan: So I guess tell me tell tell me a little bit about kind of like how you think about it as you know someone who's been doing a lot of front-end type stuff.

[00:25:59] Gant Laborde: Well, I could tell you, um I hated AI. I straight up hated it. I hated it. Um, we, I made a game back in the day where uh we would play and uh you would have two people and you just hand the mouse one to another. It was a game that we saw in an arcade and we were like, "That's really cool, we can make that." Went back home, me and my friends, we made that game. And then we said, "Okay, well now it's time to make it so that you can play, you know, like handing the mouse back and forth, which is just stupid. It's like, time to fix it. And then I can tell you, I started learning about the minimax algorithm and AI and a bunch of stuff. And I was like, uh, dumpster fire, we're gonna write the network code and a website so that you could find other players online. And instead of writing AI, 'cause it was just, I mean, just looking at it was bad. We wrote networking code and a website so you could join another person and wait in a game and then play the game against another person.

[00:27:03] Michael Chan: Oh, cool.

[00:27:03] Gant Laborde: And that was way easier and way more fun and way more rewarding than writing the minimax algorithm, which I know is like the basics of like board game control. Sure. But I didn't- I just, I was not amused. I was not entertained. I was not okay with it. It sounded like a lot of data management. And so, um, for a long time, I did not enjoy AI, and also neither did the world, to be fair. To be fair, no one actually cared about it for a long time until recently. It started doing things that no one has ever done before.

[00:27:41] Michael Chan: Yeah.

[00:27:42] Gant Laborde: And now my brain's back in. Like, I'm like, what? You can do that with AI? Uh, oh, I'm gonna try on, you know, what would I look like with purple hair? Well, I can pull out Photoshop and kind of see with some really bad skills, or I can pull up the the hair dye app and instantly change between 15 different hair dyes and say like, oh, purchase button, and you're done.

[00:28:09] Michael Chan: Yeah, yeah.

[00:28:10] Gant Laborde: So it's super cool where where we're going, and that that that got me. That that just got me. I was hooked again.

[00:28:16] Michael Chan: It is interesting because I think maybe something that differentiates, like, or is a dividing line for a lot of people that are identify as technologists are like kind of just pro- like raw programming or like computer science. Like there's a grouping of people there, um but then there's some people who got into programming because it was the best way to make a product, right? Yeah.

[00:28:36] Gant Laborde: And I think they want to do something.

[00:28:37] Michael Chan: Yeah, exactly. And I think I I think that this You know, it sounds to me like you kind of identify as that second group where it's like, I I get excited about the things that I can make. I get excited about the possibilities, you know, and like the the tools themselves are like, yeah, it's cool. I'll get excited about learning it. But like, I need that that focus, that goal that that helps me like actually utilize the technology in an interesting way.

[00:28:59] Gant Laborde: Yes, 100%. I if I couldn't find a real-world scenario for how I would use some kind of mathematical thing in school, I would fail that test. So I always took longer than everybody because I had to go find out why I needed to understand what what tangent was. What the hell is going on here, cosine? Like and they're just, oh, you just memorize this. I could never get on board with that. I am I am an avid memory person, and the trick to that is caring about everything that I memorize. And if you gave me something I didn't care about it, that's it. It's over. It's out of my brain.

[00:29:38] Michael Chan: Well, I feel like you, um, you found a good problem in identifying whether or not someone was or was not Nic Cage.

[00:29:48] Gant Laborde: Yeah, that was the most important thing that I probably did for humanity.

[00:29:51] Michael Chan: I think-

[00:29:52] Gant Laborde: Probably.

[00:29:52] Michael Chan: I think so. Well, I mean, because, I mean, let's be honest, Nic Cage is an elusive being.

[00:29:58] Gant Laborde: He's- yeah, he's trying to steal the declaration right now, I bet it. It's just- They're making national— so funny story about that, by the way. Um, when I— so this this is a real thing. This is a real actual thing that's been made.

[00:30:15] Michael Chan: Is that—

[00:30:17] Gant Laborde: Yeah, nickornot.com. And I first did it in React Native on like the the native framework for iOS on Core ML. And I was failing left and right. But but here's the thing, you know, um. What was it, uh the hot dog, not hot dog app from Silicon Valley? That was a real React Native app. That was a real thing.

[00:30:38] Michael Chan: Wild.

[00:30:39] Gant Laborde: And so I was like, are you kidding me? I can, if I learned AI, I can make stupid things like this. And I said, okay, here's your challenge, Gant. Learn AI and find out if somebody's Nicolas Cage or not. And I said this as a joke to uh Jason Lengstorf uh and a couple other people at a conference. And they're like, "Well, now you have to do it. You have to build that. And that talk that you're giving in September, that's your talk. That's what you're gonna do." And I was like, "Oh no." So from there, I took so many classes and certificates and took the longest route known to to humankind. It was very- but I failed my way to success. And absolutely, I had a blast. I've- this was so much fun. And I was- I printed out a giant Nicolas Cage head that I would hold over people and then use the app to see whether it was working or not. I had so much fun. I submitted the app to the App Store and it got rejected. I'm sure. The reason was they said it was, um, it was completely useless. And I submitted it back with a picture of, uh, like the the App Store and the Illuminati symbol next to one another. And I like I told them, I was like, of course you're trying to keep this national treasure out. And then they let it in.

[00:32:09] Michael Chan: No! They did?

[00:32:11] Gant Laborde: They did. I don't know.

[00:32:13] Michael Chan: Is it still there today?

[00:32:15] Gant Laborde: Yeah, yeah. And the app's still on the App Store. Uh and there's a website uh that does a different— and so you could use nickornot.com, upload any photo, and in real time you just Just check it out, see if it is Nicolas Cage or not.

[00:32:29] Michael Chan: You gotta go buy uh or uh download that app right now. I don't know if you make money off of it or not.

[00:32:34] Gant Laborde: No, no, no, no, no. That was that was a purely for uh a conference talk. And uh the the way to make money off of it is, hey, y'all, if you want to learn about AI or if you need some AI added to your product, that's probably a little bit less useful than Nicolas Cage or not. Uh let me know. Our company can build that for you, amongst many other fun things.

[00:32:58] Michael Chan: Oh, man. So I I want to talk talk a little bit about kind of the the the main chunks of like-

[00:33:05] Gant Laborde: Yes.

[00:33:06] Michael Chan: I know that there's like a big difference between like- I I know nothing about this.

[00:33:10] Gant Laborde: Dude, and that's not your fault. It's not your fault. Uh PhD students pop out of the woodwork to tell you that you need to go um take a a giant, you know, course from MIT or Stanford. And, you know, I respect everybody that can do the math behind this, uh but that's the path I went and it was not the right path. There's

[00:33:32] Michael Chan: yeah

[00:33:33] Gant Laborde: totally shortcuts.

[00:33:34] Michael Chan: Okay.

[00:33:34] Gant Laborde: Totally.

[00:33:35] Michael Chan: So what are the main parts of it? Because I know that like AI and machine learning, like, are kind of like— they've they've started to divide that, I guess, the branding, I guess, of that a little bit, or maybe reinforcing it now that like a lot of those have become like buzzwords. Um, and like, so what is the, you know, when you're talking about this kind of stuff, what are you specifically talking about?

[00:33:56] Gant Laborde: So AI is just super classic, um, anything that's emulating some kind of biological intelligence, um, through machinery. And you can make a video game character. As a matter of fact, most games are programmed by people to their skill sets to say like, look for this, do that. Yeah. Um, it's the giant if-then blocks of of of actually writing AI.

[00:34:22] Michael Chan: And like when I go into Fortnite, it's gonna like put a lot of bots in there that are like pretty crappy at the game to like help me like feel better about myself.

[00:34:30] Gant Laborde: Yeah, you could just write stuff like that. That's just AI. But the the cool thing that happened was someone said, you know, take a look at our brains. They have these neurons that fire and they're reinforced and Um, this there's this giant graph network, this this feeding network of of sort of like this balanced decision, and it it can be trained over time from the things that we see and the things that we do and the chemicals that are released. And and someone said, like, you know, we could kind of build something like that where the machine learns from the data rather than explicitly being programmed by a person. And that under the umbrella of AI is an entire section called machine learning. And so machine learning is this this concept of— um sort of did you ever see WarGames? It's like-

[00:35:24] Michael Chan: No.

[00:35:25] Gant Laborde: Oh, oh, I'm sorry, I'm gonna need your nerd card. I'm gonna have to pass that right through this Zoom uh in a second. But there's a you know where the game-

[00:35:35] Michael Chan: I'll make it up, I promise, I promise.

[00:35:37] Gant Laborde: Please watch that. They have this one scene where he says he sets the number of players to zero, so it actually learns from playing itself. Uh, and that's that's essentially like that moment from this movie in the '80s is like a great way of showing this concept that we are now in a world where data is everywhere. I have so much data. I could I do you want volcanoes on Mars? I have the data set for it. I have you- what do you want? We have we have drone uh datasets and labeled this. And you know, a lot of people themselves label their own data and then release it to the world. Um, and so here we are with this data-rich environment. We're then hit with this— uh our CPUs are now accelerated by GPUs, so we can handle these extremely large linear algebra calculations. In microseconds, and you combine all that data with all these GPUs, and you start getting this superhuman-like performance on things. Things that uh you would never, ever, ever, ever have an algorithm do before because you needed all this information. It's there now. Throw data at it and it gets smarter. Okay, you're done. And that's the beauty of machine learning. And here's the here's a good trick to it, by the way, I'll say. Is that you're no longer limited by the programmer. You're you're you're no longer limited by that. You're limited by what data you have.

[00:37:06] Michael Chan: Interesting.

[00:37:07] Gant Laborde: So if I got a PhD in English and I wrote Grammarly and you said, "Good job, we love Grammarly. Good job with your PhD in English and your coding skills. Can you go do that in Russian now?" I'm like, "No." Interesting. No, I'm not gonna go do that in Russian. But if I taught Grammarly with 10,000 English books, and then we load up 10,000 already electronic Russian books, and it learns Cyrillic. I didn't have to teach it anything. And this is where the power of machine learning has really kind of unfolded since 2015, is that we're beating humans.

[00:37:41] Michael Chan: Yeah. So it's like in in traditional kind of programming environments that like we're comfortable with, like I'm thinking about like a database, right? And it's like we are the classifiers of information, like the the developer, the human part of it. Like we say, this type of information is this type of thing. We're gonna store it in this way, whatever. But it sounds like machine learning is kind of the opposite where you just store data and then the machine becomes the classifier. Is that-

[00:38:07] Gant Laborde: Yeah. To a certain degree. Uh, yeah. And so there's this thing called a model, which is just a function. It's just a function. We're gonna call it a model, but uh, hey coders, it's a function. And what happens is the model is is a magnitude smaller of of this. It is the pattern recognition algorithm is what ends up being in there. And so you can have terabytes of, you know, pictures of poison ivy and pictures of not poison ivy. Uh and that's it. That's all you have. poisonivyornot.com. Uh buy it while it's available. And so you have all this information. And if I were to code that, that wouldn't be terabytes worth of stuff. You know, I would I would have to kind of figure it out. I would but I would have to tell it the patterns and the characteristics, and I would code all this stuff, and it would take me a lot of time and a lot of energy. But if I tell it to look through and identify the patterns that most scale something towards poison ivy and the things that are immediately declassifying it as not, Mm-hmm. And then I I just let the machine run on my computer for 2 weeks, running through my GPU. What comes out of that, as as long as hopefully everything's been properly balanced, is a properly weighted graph of data that when I put the right things in, the right things come out the other side. And that's it. It's it's basically- and that that graph is a set of neurons, deeply connected uh neural network. And I just, via math, just put information in and the correct information comes out. Now everybody with a PhD just fainted on a couch and they are very upset at me for saying that.

[00:39:50] Michael Chan: Fortunately there's no PhDs that listen to this show.

[00:39:53] Gant Laborde: But it's true! It's like, but I like, I hate to say it, but like, that's all it is. It's a function. Yeah, I've trained a function that if I give you this photo, you say true or false, if it's uh this thing or another. We could stop making the language so difficult and unapproachable.

[00:40:10] Michael Chan: Yeah. Well, I mean, I feel like anyone who listens to this show week in and week out uh is is probably not an academic if they have to listen to me every week.

[00:40:19] Gant Laborde: Well, I'm ready to duke it out if they are.

[00:40:23] Michael Chan: So, um, this is really interesting. And I'm curious now, you know, you'd mentioned that like the the model is just a function.

[00:40:32] Gant Laborde: Yes.

[00:40:33] Michael Chan: So does that make the models like transportable in the same way that functions are? So like if you wanted to have, you know, an app that continued to gain new capabilities, like, uh, you know, if you wanted to extend Nick or not to include other Nicks, like Nick Offerman or, you know, whatever. Um, are these, these functions able to like continue to be like learned and developed? And then I guess, are they transportable almost like NPM modules where you can just like update to the new model and you're good to go?

[00:41:03] Gant Laborde: Exactly. It's a little bit like uh Stack Overflow where somebody almost answered exactly your problem and you just need to modify it a little bit for yours. So in the world of machine learning, they call this transfer learning. If I were to uh take my poison ivy or not app and then I wanted to do something, uh let's just let's not even move it very far. I want to know if something's a cucumber You know, plant or not, something like that. Now, it wasn't trained to do that, but the layers that were trained, the the aspects and the lines from the most fundamental aspect of it, it's just figuring out on the first layers how to find all the horizontal lines, how to find all the vertical lines, what what kind of colors are more important than another. And then later on, it digests these things into into more refined, specific things. But if I just take this deep layered network, um almost all the time I could chop off one final layer, the one where it classifies it. Okay. It says, I've gotten all this data, I'm pretty sure I'm looking at poison ivy. I cut that off and put a new one in its place. I don't have to go back and train with terabytes of data, and I don't have to train for a week. I train with 100 examples for an hour. Or or or even less. Honestly, it's probably easier to say less, but I don't want to I don't want to overpromise on that. But you've got that for an hour. And and then now you've got something that can identify something's cucumber. And they say, you know what, I want to move on. I want to tell the difference between cats and dogs.

[00:42:40] Michael Chan: Yeah.

[00:42:41] Gant Laborde: Funny enough, you don't throw away that model. You might need to cut off 2 layers and just kind of go back a little bit, retrain. A little bit further back, um, and it'll find that out within an hour as well.

[00:42:53] Michael Chan: Interesting.

[00:42:54] Gant Laborde: The truth is, like, identifying what certain things are, uh, yeah, you can repurpose a lot of this stuff. So the interesting thing is these advanced models that are coming out of Google Brain, um, and a lot of the the cool stuff that's coming out there, the stuff that's out in the open, you can resort to using server farms worth of information and then making it do something silly. Uh, like, I guess I could have used that for Nicolas Cage or not.

[00:43:19] Michael Chan: That's really uh motivating, I think, for me, because I think my whole hang-up with uh machine learning is just like, oh, well, I don't want to- like, I'm not interested in actually training a thing, right? Because the the feedback loop is super low. Like you mentioned, weeks, right, for for certain models to kind of form. And like, That sounds like not super fun for me. But when you talk about this, where you can actually share the models and you can just like kind of like pull off a model and actually like use that to make like nickernot.com. Like, um, you know, I can, you know, maybe extend that to do other nicks. Like this is, um, that part is fun. Like the like the code sharing and kind of like sharing a model for something and see what people do with it. Like that sounds super exciting.

[00:44:03] Gant Laborde: Yeah, there's there's a lot of things coming up now. That are specifically geared towards making it even easier. There's some stuff called AutoML, which will help you identify the ability of like what what kind of model would really fit your problem and how much should you really cut off and you know upload your CSV file and then collect you know results. Um and I I know that all the PhD people are like, you can't just do that. It's not a golden goose egg. It kind of is. And I kind of do, and it kind of works. So, you know, I- if I can get to 93% accuracy and I need to go get my PhD to get to 96% accuracy, I'm okay. I'll sit here at 93. I'm good. Yeah, so,

[00:44:49] Michael Chan: because, you know, for our stuff, it's like, it doesn't- you know, I think that's the big difference between, like, you know, academic stuff and kind of like what we do. It's like we're just having fun, or maybe we want to augment something a little bit. Like, it doesn't have to be perfect. The expectations aren't that it's gonna be like 100% accurate, but like we can use it to kind of improve, you know, our user experiences, just kind of like our day-to-day experiences, you know, cool stuff.

[00:45:13] Gant Laborde: What's the alternative, man? Is it go do it all yourself? I think I'm okay with 4% error, you know, like uh we had this one client and so I think I can mention this where they had, uh they wanted to do facial recognition so that way they only sent you pictures of your kid, you know? Okay, so like you didn't have to stare at a bunch of photos of other people's kids to find your kid, you know, during these events. You just get photos of your kid mailed to you. That- what? Okay, you get one photo in uh 100 that's not your kid. Oh, okay, you know. Sure. I'll live my life. And and the truth is, I we didn't even have that.

[00:45:59] Michael Chan: It is a little creepy though when you hang that one up, though, when you put that one on the wall.

[00:46:02] Gant Laborde: Oh yeah, that that one being over the picture of your kid, by the way, on the mantelpiece, saying like, like, "Wish you were here" written next to it and some- yeah, the don't do that. I found out that that tends to upset the kids. Yeah,

[00:46:17] Michael Chan: that reminds me, I mean, just quick aside, that reminds me like when I was growing up, my parents bought like one of the model, like the model home homes. And um it came with, you know, picture frames everywhere, like on the walls and stuff, of like random people. And we just left them like that for the longest time. And we just come up with these random-ass stories about who they are.

[00:46:37] Gant Laborde: I love this. Oh dude, that is epic.

[00:46:41] Michael Chan: Yeah, it only got better as we started to like feed in just like a couple pictures of ourselves, right? And they're like, wait, who who the hell is this guy?

[00:46:50] Gant Laborde: Wait, you need to you need to like add the barcode on top of your pictures of your real family. Yeah, yeah. With like uh the frame dimensions are still in there. So it looks like you're just the stock photos, but those are the real people.

[00:47:06] Michael Chan: Yeah, exactly. Well, hey, um we're getting kind of uh to the end of our time here. Yes. But I wanted to-

[00:47:13] Gant Laborde: Yeah, I am sorry. I can nerd out forever. Oh, totally. This is always fun. So.

[00:47:17] Michael Chan: I mean, we'll have to we'll have to do this again because this is great. But um, I know that you've been doing a lot of work um on helping people learn ML. So where can people go to find your work, to learn uh ML from you, all that kind of stuff?

[00:47:30] Gant Laborde: Yeah. Uh so I did an entire course on how to do this in JavaScript at academy.infinite.red. There's a course there that's 100% free. I would totally get that one. It's basically how to get past all the AI buzzwords in 5 days.

[00:47:47] Michael Chan: Nice.

[00:47:48] Gant Laborde: So AI Demystified in 5 Days, free course, comes with a little certificate you could put on your CV and kind of make yourself a little bit, hey, I got this certificate. And then, or you just juice up your LinkedIn if you're addicted to certificates, right? Have fun. 5 days, you got it. Uh, the other one is way more intense on just sort of like saying, you don't know anything about AI, but you understand web. Let me get you started and let's start building some cool stuff together. And that's a 3-week course uh that we sell. So that one's a good one. Um you know actually, I tell you what I'm gonna do. Uh after this, hit me up. I'm gonna send you some free course codes and you can do a giveaway on your uh either on the show or you could do it uh during some of the tweets here and there. Oh, perfect. So y'all better listen to this. And some other stuff, because there'll be some free course codes coming up. And so that'd be a lot of fun.

[00:48:42] Michael Chan: That's awesome. That's awesome. That'd be super fun. I'd love to kind of share that with them. And maybe we'll do uh kind of the first round to anyone who hung out with us um in in chat for this uh this livestream.

[00:48:53] Gant Laborde: Nice.

[00:48:54] Michael Chan: Yeah. Well, hey, this has been a pleasure. Where can people find more about uh you as you kind of explore ML on the internet?

[00:49:01] Gant Laborde: Yeah. Uh well, I have um I have all my talking stuff on my website at gant If you go there, you can find my Twitter, which is @gantlabord. You can find all the conference talks. You can find all the fun stuff. You can find all these stupid avatar things I have of me, like shooting lasers out of my eyes and a bunch of other really fun stuff. So, you can really poke around that site and it'll be fun. So, that's gantlabord.com. And then, if you want to— definitely if you want to check out some of the cool stuff we're doing as a company, because we're doing stuff in React, React Native, and AI all the time. And design and UX. We've really stepped it up over there. So if you go to infinite.red and sign up for our newsletter there, you'll kind of see some more of our our sellable tasks, which I think are equally as amazing. Um they won't tell you where Nicolas Cage is, though. So just be sure to subscribe to both.

[00:49:59] Michael Chan: Yeah, yeah, yeah. I got it. If you want all the content, you want the full experience, uh you gotta you gotta go both.

[00:50:04] Gant Laborde: Exactly.

[00:50:06] Michael Chan: Cool. Hey, Gant, thank you so much for making the time to be on the show. I really appreciate um kind of all you're doing, all you're doing to help us learn uh to demystify uh ML. And then it's just you know always fun talking here with you.

[00:50:17] Gant Laborde: Thanks, man. I appreciate it. I'm happy to come back anytime. Um I I enjoy these nerd-like conversations. And uh who knows, maybe next time I'll have even more crazy streaming hardware to play with,

[00:50:30] Michael Chan: more sound effects, More visual effects. Bring it on.

[00:50:34] Gant Laborde: Sounds good.

[00:50:35] Michael Chan: Cool. See you, Gant.

[00:50:36] Gant Laborde: All right.

[00:50:37] Michael Chan: This has been episode 109 of React Podcast with Gant LaBorde and Chantastic. For links, notes, and everything, visit reactpodcast.com/109. And Gant has been gracious enough to give us some discount codes for his machine learning course, the paid one that he mentioned. Hit us up on Twitter and the first 5 will get those codes. Thanks to our sponsors for making this episode possible, Retool and Infinite Red. Build internal tools remarkably fast with Retool. Visit retool.com/reactpodcast to see just how much time you could be saving. How many more support tickets you could say yes to if you just used Retool to do it. Visit retool.com/reactpodcast to get started. Retool, the fastest way to build internal tools. If you have a project that needs a killer feature that you don't know how to build, hire Infinite Red and work with great folks like Gant. They'll teach you everything you need to know while you build together. And in short time, you'll be the expert. Infinite Red has been working with companies like yours to design, build, and ship apps for 10 years. Get expert help from Infinite Red at reactpodcast.infinitered. And get $750 when you start or refer a new project today. If you like this show, there's a fast, free way to demonstrate your support. Leave us a review on iTunes. It's the best way for you to let me know what you think we're doing right and what we can improve. 2 to 3 minutes of your time helps us make the best show we possibly can. As always, links and show notes for all episodes are available at reactpodcast.com. This episode was edited by Mikael Delport. It was produced by Mikael Delport and Sarah Jackson at Speck, a network to help you level up in design and development. Check out spec.fm for other shows that are sure to fast-track your career. I'm your friend, Chantastic. Thanks for listening. We'll be in your ears again next week.