WEBVTT

0:00:14.948 --> 0:00:20.837
<v A>Programming Throwdown Episode 97: The Holiday Episode! Take it away, Jason!

0:00:21.192 --> 0:02:14.018
<v B>Hey everyone. So happy holidays! All the different holidays are celebrated around this time of year, as we do every year. We're going to do a kind of combo giveaway and also answer folks' questions. So if you have a question, now's a chance. If you're watching or listening to this live, you can put a question in that channel, and we will kind of alternate between answering folks' questions and giving away prizes. And so we can actually give away the first prize, we're going to do well. First, I'll talk about the prizes. So we're going to do three books to the top three folks that worked out really well. So you could pick any of our Books of the Show for 2019 that is available in ebook, and we will send it to you if you have Kindle or any of those services. We'll also give away three laptop stickers, which is pretty cool. We'll give three T-shirts. And the way folks can enter this: anyone who's a patron on our Patreon is automatically enrolled in this. So I'll be reaching out to everyone who's not who's a patron—I have access to your email—so I can send you an email telling you what that you've won, in case you missed the episode. And we can just coordinate together to figure out how all right. Our first winner... I don't want to say—I don't know what we should say—but basically our first winner is Don R. So if your name is Don, there's a good chance that you won a free ebook, any of the Books of the Show are good candidates. And so I'll be reaching out to you, Don, and we will get you set up with a book. Nice! All right. Congratulations!

0:02:14.018 --> 0:02:15.216
<v A>Congrats, Don. Do you?

0:02:15.540 --> 0:02:16.920
<v B>Have a question to kick it off. Yeah.

0:02:16.920 --> 0:02:41.187
<v A>So I have some questions. Also have a topic I want to talk about at some point, but we'll see if we can work it in. So scrolling back through the history because I'm a terrible person and don't actively read the Discord, I see there's some question which I think is pretty easy we can answer quickly: Is if someone's trying to get started using Linux and want us to pick a Linux distribution—they're looking for recommendations. But I'll also say what do you currently use? All?

0:02:41.355 --> 0:03:48.420
<v B>Right. So recommendations for Linux distros and what we currently use. Yep. Um so I'm currently running Ubuntu on my computers at home, but at work we use Fedora. And I think actually you can use Ubuntu at work, but we have this thing called Chef, and Chef goes in and automatically sets up a bunch of things—distribute software. It's like a workflow manager for it. And our Chef is designed for Fedora. So so I'm running Fedora at work, running Ubuntu at home. And that's what I'm that's what I'm running as far as like which distro I recommend. I have you know tried all of almost all of them or a lot of them at various points in time. I think you know Gentoo is fun, but it's good if you're learning, but I wouldn't use that as a production system; it just requires too much maintenance. I'm a big fan of Ubuntu. It just—it's pretty clean. It kind of gets the job done. You know, it's built on Debian. It's pretty stable. What about you?

0:03:48.420 --> 0:05:08.894
<v A>So I've mostly used Ubuntu, and I'm not nerdy about Linux. So for me, most distributions that are fairly popular—oh, I'm probably getting in trouble anyways—mostly popular ones because they're the easiest to find help for if you stay aside from any of the more esoteric ones unless you really want to get into. For the most part, they're kind of equivalent. I try not to over embellish my systems so that I can move easily between them. So I mostly use Ubuntu, mostly because it's easiest to find answers and help for. Um I know there's a number of interesting developments related to like Linux distributions which are better for containerization and the progress that's been seen as part of that, and I think that's pretty interesting. But yeah, I don't really have a lot of experience outside of—I guess I'd use Debian stuff before, and then now Ubuntu. Um so I don't have if you're never used it before—oh, I don't know what would be like a good first like install Linux on something and try it? I always recommend people put it in a VM and just use it in the VM. Then you can use it from within whatever you're using now—Windows or Mac, or I mean if you're on, I guess a macOS computer, or oh sorry, Mac OS computer, you can pretty much it—it's not technically Linux, but you can pretty much treat it like it is and learn.

0:05:09.231 --> 0:06:13.626
<v B>A lot of it. Yep, yep. Also like Docker is awesome, and Vagrant is awesome. Both of those are super super lightweight ways to get a Linux system. So like you could—you could run Docker and just do I think it's like `docker run ubuntu:latest`, and just that one line will give you a Bash prompt in Ubuntu, and you can run that regardless of whatever OS you're in. And if you like delete the entire hard drive or something, it's fine because it's just a Docker image. Um yeah, but that's not graphical, so you're really gonna have to get your hands dirty. Cool. All right. Let's do the next book. So the next—the next person is... The next person is Sean B. I'm assuming it's Sean. Oh, yeah. Oh, here we go. Yeah. So Sean last name starts with B. So Sean B! Congratulations! You won an ebook. I'm going to be reaching out to you later on today, and we'll work together to figure out which.

0:06:13.896 --> 0:06:28.179
<v A>Book? You get nice congratulations. Uh so before we go on to another question, I have—we haven't done news segment in a while, and although I've had various things floating around, I wanted to get your opinion on if you had seen the AI Dungeon.

0:06:28.577 --> 0:06:33.066
<v B>You know, I saw that. Is that the one where it's like procedurally generated?

0:06:33.505 --> 0:06:38.145
<v A>So it's not procedurally—so they used the what was it? Is it GPT?

0:06:38.162 --> 0:06:45.368
<v B>Yeah, the OpenAI. Yeah, procedural isn't the right word, but again, they're using the language model from OpenAI.

0:06:45.368 --> 0:07:56.935
<v A>I'll give a brief overview thing, and then you can describe. So most people have probably heard about it. It got its fair number of, I guess, live streamers on YouTube who have been playing it to some hilarity. But if you've ever played a text-based RPG, which go back to the dawn of computer games, I guess—although they still have a following today of new content being created—you would be placed in a world and you would have some set of actions you could do. And it's like a graphical RPG, but you just have to type in. So it feels interesting because you're almost chatting with the computer, like 'Pick up keys,' 'Look around the room,' 'Walk east,' 'Walk north.' And so you're actually describing what you want to do rather than like pressing keys and hotkeys and making it happen clicking with your mouse. And so someone took the GPT-2 model—is it? Yeah—and trained it on a bunch of these text adventures and RPG texts, and so it gives you that familiar thing where you're given a text prompt, but instead of a limited vocabulary of pre-programmed grammars that you could use, like a verb and then, I guess, would that be an adjective? Like 'Walk east'? I don't know. Yeah, I don't know either.

0:07:56.985 --> 0:08:02.352
<v B>Guess no, it's—I think it's an object direct object, I think. Anyways, so instead of having to

0:08:02.352 --> 0:09:58.860
<v A>put like a verb first where you choose from a dictionary and then you know a second set of parameters that you choose from, you pretty much say anything you want. So it'll give you—you give it, I think they have like some pre-canned scenarios you can do, or you can give it sort of like a seed sentence about like the setting, and then it'll give you, you know, the first thing, like 'You appear in a land filled with spewing volcanoes and the smell of sulfur.' And then that's just it. And you can pretty much say whatever you want to do. And the interesting thing is instead of having this limited—that it'll try to respond to pretty much any text. So if you say, 'Give myself a magical blizzard cloud over my head,' it'll say, 'Snow begins to fall and melt into rain. What do you do next?' And it's just sort of this interactive back and forth, and it to me which is really interesting because although from the AI aspect, I guess it's pretty interesting, and the guy was running up huge server bills based on, you know, how he was actually trying to run the thing. He's a from the university, and it was, you know, just a project he did, I guess, on the side. He was racking up sort of huge bills for everybody logging in and booting up these systems and loading these giant models and executing them. But just from the concept, it's fascinating because if for kind of one of these first times you pretty much just say anything, and the computer will attempt to respond to you. So it's almost just like a sophisticated chatbot. And so you get these people sharing stories that they have with the computer where sometimes it gives non sequiturs, but if you kind of play along and are careful in what you choose, it'll just respond back almost as if you're just talking with a friend. And I've never played Dungeons & Dragons with an actual Dungeon Master, you know, person, but I kind of imagine it's like what happens there where you can say anything you want and there's like a set of rules where it tries to respond to you appropriately. But you

0:09:58.860 --> 0:10:03.869
<v A>never really see that in computers because it's just too hard. The universe of what people can say is just too big.

0:10:04.206 --> 0:10:24.979
<v B>Yeah, I think—I think the part that and I haven't looked at it yet. So maybe I'm missing this, but it seemed like you can't really win, right? Or like or make progress. You win? Yeah. So so like what does it mean to win when you're making it all up as you go? Oh, like you could just say, 'Like I just won,' and it'll talk about what a winner you are.

0:10:25.232 --> 0:10:26.717
<v A>It's like declare a victory. Yeah.

0:10:27.000 --> 0:10:29.299
<v B>Yeah, I mean, I think so. This

0:10:29.299 --> 0:10:30.413
<v A>Is how do you win?

0:10:30.750 --> 0:11:38.217
<v B>In life? Yeah, good point. So so this is the quintessential AI question of our time, which is, you know, we had all of this symbolic AI, right? We had these expert systems and we had, you know, people writing millions of lines of Lisp, and—and it's algebraic, right? And it's like a formal automata. And then we went to, you know, this new sort of deep learning where everything is now signal processing and there there are no symbols. It's just like just this like crackles of energy flying around. And so this is a case where it's like you kind of need to reunite those two fields. So like there needs to be sort of some concept of I don't know, a key and a door, and that can't just float away; like it has to be sort of a part of the story indefinitely, right? And so and so that's I think that's the piece that's kind of missing. Is you can't do the like problem solving and the game part of it without some type of symbolic. Yeah, but it's it's amazing. I mean, I think it'll happen. It's just a matter of time. That's that's the cutting edge, but

0:11:38.537 --> 0:11:59.445
<v A>I guess to me like the equivalent to Dungeons & Dragons is the, you know, from what I understand, it doesn't have to have strong objectives. Like now there are end games for Minecraft and stuff, but I mean you just go in and it's just a sandbox. You kind of just do things. Like those are also valuable experiences without the conventional sort of quote-unquote game framework. Yeah, that's

0:11:59.800 --> 0:12:17.980
<v B>A really good point. I think I was looking at it through the lens of of an adventure game when—when you're right, it's really more of like a sandbox. It's really an interactive fiction sandbox. Yeah, that's so cool. I'm I'm I'm really inspired now. I'm gonna check that.

0:12:18.464 --> 0:12:22.412
<v A>Out. I think we should do. Yeah, you should play it and tell us like recount the story. Yeah

0:12:22.682 --> 0:12:37.887
<v B>There was one where they trained it on news and you could give it a news headline and it would write the story. That was hilarious. So you could say anything you want. You could say, 'The United States sinks into the ocean,' and it would write a whole story about it, and it sounded pretty plausible.' Yeah.

0:12:38.022 --> 0:12:49.784
<v A>I mean, you have to be generous because it's still like I guess early days, but if you forgive it and like go along with what it's trying to say, I mean, I think you ever read those? I read Dwarf Fortress stories sometimes. Yeah, right. Yeah.

0:12:49.784 --> 0:12:50.830
<v B>All of this.

0:12:50.830 --> 0:12:59.014
<v A>From a few ASCII characters on the screen, and this person is spinning this giant tale of, you know, heroism from their mighty dwarves. I actually

0:12:59.780 --> 0:13:08.970
<v B>installed Dwarf Fortress about a couple of days ago just randomly. I wanted to get back into it, and yeah, that learning curve is brutal, but it's all right. I

0:13:09.072 --> 0:13:10.439
<v A>Think some more giveaways. Let's

0:13:11.012 --> 0:13:37.270
<v B>Do it. Okay. So the next person is James James K. Um, James K, you are a James K has been a patron for a long time, which is awesome. Thank you, James. Thank you so much for your patronage. And it's paid off. You get an ebook of your choosing, and so I'll reach out to you to set that.

0:13:37.354 --> 0:13:38.873
<v A>Up. Cool. We can go.

0:13:38.940 --> 0:13:40.189
<v B>To the. Um, yeah. So,

0:13:40.189 --> 0:15:04.560
<v A>I pulled a bunch of them out. Um, so the next one out of there we had is that—sorry. I some of the others, I didn't write down the names of this one. I did. So X86 was asking about learning Java data structures, and people were replying and sort of, you know, indicating that just learning general data structures as opposed to the specifics of Java. Other Java has some interesting ones, and what I'll say here is actually rather than reading a book about data structures—although maybe that's good too, I guess it's hard to say. I read a book about data structures for a class pretty early on, so I guess I got exposed to some of them, but I would recommend learning a little bit about design patterns. And if you really want some like beginning level stuff, the we've recommended on the show before, but the Head First Design Patterns book. Yeah, as a way to motivate learning about—I mean, I guess it's about design patterns—but learning about those design patterns will also introduce you to a number of data structures, which I think is pretty good. Aside from that, it's mostly task-based. So like if you need efficient lookup, you know, learning about hash maps and the various things related to them, or learning about linked lists, you know, it becomes more about like what you're trying to do and the specifics of it. But for a sort of more cohesive narrative that will force you to learn various data structures at a different level, I think Design Patterns is a good way to go.

0:15:04.560 --> 0:15:11.120
<v B>Yep. Yeah, I've read that book. It's fantastic. I think it's a good way to sort of motivate the data

0:15:11.120 --> 0:15:11.972
<v A>structure with a

0:15:11.972 --> 0:15:15.162
<v B>use case instead of just trying to learn this library of data, but I guess.

0:15:15.314 --> 0:15:50.970
<v A>If you were trying to do like computer competition or oh yeah, that's totally tech company, tech company interview algorithm, data structures. Yeah, I think just like any pretty much any of the popular data structures books are probably a good approach. The MIT one is pretty popular. Yep, but there's a variety of them, and I think any of those is good. And yeah, it's hard to get into, but I don't know a way around that. Like you kind of just have to get exposed to a variety of things and learning them somewhat as like a puzzle, and then once you understand them, it sort of clicks and makes sense.

0:15:51.190 --> 0:16:24.130
<v B>Yeah, what I recommend to folks too is after that is to check out these coding sites like HackerRank and TopCoder and look at the hard problems and read the solutions to them. And so if you read the problem—I mean, the problems is going to be fictitious, but like it's you know loosely based in reality. So it might be something like routing mail or something like that, and then you can see the data structure they use, and it kind of gives you an idea of how that could work in the real world.

0:16:24.417 --> 0:16:42.034
<v A>Yeah, when you get to those kind of data structures, I guess maybe I've never really thought about it deeply, but the design pattern style object-oriented designing and the data structures there is somewhat different than the data structures as entwined with algorithms that is the more like traditional computer science stuff. Yep.

0:16:42.321 --> 0:17:07.026
<v B>Yep. Yeah, there a design pattern could use a data structure, but it doesn't have to. But yeah, I think they're both important for different reasons. Like one will get you through the interview and the other—so it's probably worth knowing both. So Joe actually in the chat has like what are our guys? What are our thoughts on the PinePhone or the Librem 5? Thriving? Do you know what that is, Pine?

0:17:07.380 --> 0:17:14.097
<v A>Phone? Isn't it? Uh no. Like a phone that's open source. Like oh yeah. Yeah.

0:17:14.282 --> 0:18:51.465
<v B>Go. Yeah. Oh yeah. Okay. So yeah, I could talk briefly about you know. I use an Android phone, and I do have what's it called, F-Droid, and so you can install open source software. I was using this other thing called Aptoid, which would let you install—it's another third party, you know, kind of Play Store. And one of the things I noticed about Android is the phone just degrades quickly. You know, like my phone is two years old and already has a ton of issues. Like sometimes the cell just is gone. Like I just have no 3G, like no cell. I can't call, and so I just have to reboot the phone, and it just seems like every time I get a phone after a couple of years, it has serious issues. So like right now I have the Pixel 2 XL part of it too is you know, I'm not the most gentle with my phone. You know, it kind of goes everywhere with you. I don't—I don't have a case, and so it's part of it might be self-inflicted. But yeah, I feel like if I go open source on my phone, it's just going to make those worse. I used to do a lot of just random things with the phone, but now I've started to just do more on the web, and so—and so I'm just using less apps and just doing less, doing fewer things on the phone, or maybe another way of saying is doing almost everything inside of the browser of the. And so I'd probably not go open source on the phone unless maybe you know it's super reliable, but open source usually not good for that. What's your what's your take, Patrick? Yeah.

0:18:51.584 --> 0:19:57.801
<v A>So I'm looking here at the comparison chart between the Librem 5 and the PinePhone. I guess they're sort of the same but also very different. So what I'd say is I love the sort of you know hacking aspect of a lot of this, but I don't really want to do it in this form factor. Yeah, this form factor seems overly cramped. So like hacking on a single board computer like a Raspberry Pi or an Arduino or you know something like that—those things would be interesting to me, and I could do projects on them if I'm going to do computer style work and write applications, I kind of want to do that on like my laptop or my desk. Um my phone, I see more as like I guess I would say like a video game console. I would want it to be closer to which is I want it that I you know it works. I sit down, I do a thing, and it just—it's good at what it does, which is being a phone, you know. Oh, and playing. So like I want it to be a curated thing. Also, I mean just like the practical aspects like having a kernel panic or something happen on my phone when I'm trying to make a phone call doesn't exactly sound like fun to me. Yeah, for some people—I'm sorry. Oh.

0:19:57.801 --> 0:20:27.839
<v B>Yeah, you know what would be really cool would be changing the morphology of the phone. Like for example, if I could make my phone look and feel like an Xbox controller with a screen in it. And so I mean, I don't know how that would fit in my pocket. I have to think that through, but basically like if the phone had real buttons and an analog joystick, but it was all built in. Like I could 3D print the case of the phone, and it—and it had all of that. Um that's interesting. I think there are cases though that's like a.

0:20:27.839 --> 0:20:29.240
<v A>Phone as module or something.

0:20:29.240 --> 0:20:41.490
<v B>Yeah, I mean there are those cases you can wrap around. There are the ones too where the phone clips in that just is too clunky, but but there are the cases that have the hardware buttons. I probably start there before going to an open source.

0:20:41.541 --> 0:21:43.506
<v A>So if I had a very specific use case, like I was very security minded or I was monitoring a lot of closed-caption cameras and wanted like very specific complete control over how my phone behaved for very specific cases that aren't very in line with the mainstream, I think these would be cool, and I could see myself turning to one of them as a second device or even as my primary device if that was my thing in life. But for me, I guess I fit close enough in with what most people want to do on their phone, and the phone is very very like the Android phones that come out from the major vendors, the iPhones from Apple, like I feel they a lot of time has been spent polishing off the sharp edges and making them very well tuned for sort of the average use case. And so if you're anywhere close to the average use case, those ones are probably going to work really well because they're manufactured at such volumes and with such history, and something like this would be one of these open source phones would be really cool for a second phone or if you had a very specific purpose that was very far outside the mainstream. Yeah.

0:21:43.641 --> 0:22:11.660
<v B>You know one thing I'm surprised is that AR using the phone hasn't really taken off. Like there's some cool—I've seen some cool use cases, like I think in Google Maps if you're walking around, you can actually it'll show the camera and they'll show the path like, you know, projected on the camera. But I kind of expected that to be a bigger thing, and it just seems like I don't know, just seems like that there hasn't been as much let's say innovation in the cell phone.

0:22:11.660 --> 0:22:24.225
<v A>But the biggest problem is yeah, exactly. Sometimes I need my cell phone to be able to call my family or, you know, hail a taxi, Uber. And if it's just freaked out and in some sort of weird and the battery drained, that's really going to give me a bad day.

0:22:24.563 --> 0:22:31.988
<v B>Yeah, it makes sense. All right. So on to the—should we do T-shirts or stickers next? Which one do you think is more valuable? Let's...

0:22:32.241 --> 0:22:32.900
<v A>Do one of.

0:22:33.625 --> 0:22:35.920
<v B>Each. Let's do so we should.

0:22:36.224 --> 0:22:37.185
<v A>Alternate. Oh, okay.

0:22:37.185 --> 0:24:19.200
<v B>Well, so I've—I've grouped people into three groups. Yeah, I just don't know which with which tier we'll do. We'll do T-shirts. I think T-shirts are more expensive, so we can just go based on that. We'll let the economy decide. Um, so Clayton T who actually has been also been a Patreon for an extremely long time—I don't know if it says I'm going I'm basing that based on some information, so I don't know if I have the actual—I'll see if I can look that up. But from what I can see here, they've been a Patreon for a super long time. Thank you so much, Clayton. And you're getting a T-shirt, which is awesome. So I'm gonna I'm gonna reach out to you later today and submit your work. All right. You want to do another one? Another T-shirt or another question? Let's do another T-shirt. Let's do another T-shirt double or nothing people some Clay. Yeah, let's get people dressed. I think it's like Maslow's Hierarchy of Needs, right? You need your T-shirt before you can ask the right question. Number one: James H. James H. is a proud owner of a T-shirt. This is amazing. So first of all, I just want to say—I mean, I'm looking at I have a spreadsheet here which is yeah, I wish I could tell you I'm some marketing guru or I know all about, but reality is we spend most of our time creating content, and so I don't spend a lot of time looking at the Patron dashboard. So this is a rare opportunity for me, and I'm just really overwhelmed by seeing just how many people have been supporters for so long, like years. And I think that's amazing. So thank you so much, James, and everybody else. But James, you're a lucky winner of a T-shirt, and so we'll get that over to you. Congratulations.

0:24:19.200 --> 0:24:34.349
<v A>Yeah, thanks to all the patrons and the people who do the Audible subscriptions, who respond to the advertisers and advertising, and the people who buy from our Amazon links for the books of the show. All of that helps out. It's actually.

0:24:34.585 --> 0:26:34.180
<v B>Really awesome. Yeah. So Nod Nod Edge or no Nod Nod Nod has a question in the Discord: How do we find the sweet spot between over and—and if you have like the if you have an answer wherever you work that is like probably one of the hardest questions? Do you want I could take a crack at it, or you want yeah, you go first? Okay, I'll go first. Um so yeah, it's a really good question. I think so one thing is if you can somehow measure the expected drift. I think that's really important. So we're actually going to talk next month. We're going to publish an episode with a person who's an expert on Agile and a lot of these sort of processes, software engineering processes. And one of the takeaways, kind of a spoiler, is that you want to really learn from the past. So you want to sort of make the past gather as much signal as you can from the past and use that to sort of inform the future. And so that's one way to do it. Another way is just maybe you have some common sense reasoning, like you know that you're releasing a new product, right? But find out sort of like how much entropy there's going to be, you know, in the future, and that will kind of steer you in the right direction there. So for example, if you're writing version two of something, and the reason you're writing it is because version one is slow and clunky and has bugs, well then you want to apply more engineering rigor, and you want to maybe redo the database and put a lot of effort there, right? Conversely, if you're making an app and you don't know if anyone's going to use it, and you don't know how they're going to use it, that's not really a good time to be writing just like a ton of things to make it very highly scalable and available and all of that. And so I think knowing your audience and knowing the product is really key there. That was really going to give you the insight because.

0:26:34.180 --> 0:26:51.306
<v B>Because you can't really—I think that you can't really like give the you can't build the ultimate product on day one, right? You're going to have to adapt, which means what you write now is probably not going to be the right answer no matter how well you engineer. So.

0:26:51.593 --> 0:27:16.787
<v A>Yeah, it's a really good summary. I mean, no one has the right answer because there's not only one answer, and like Jason was saying, I mean, it largely depends on how much things are going to change and how well you're predicting what's happening. If you look at—I guess play it by analogy—if you look at startups, they take funding, but they often pivot, right? They often think they're going to do one thing, and then even the very successful ones end up doing not.

0:27:17.074 --> 0:27:28.971
<v B>That thing. Yeah, like Slack. Slack was a IRC client that a video game company wrote, and then they realized that the IRC client was way more popular than video.

0:27:29.140 --> 0:28:07.345
<v A>And I mean you can go down the list of, uh, I think Twitter was an in-company communications thing. Yep. Uh yeah. So I mean lots of these companies pivot, so I'd say the same thing is probably true on smaller scales, right? Which is however, air on the side of under-engineering and over-engineering is probably safer. Um yeah, but at the same time, I would say like each person develops a gut feel about their systems and their technology stack and what parts really have to get addressed up front and what parts can be delayed without ruining everything. Um but it's always a gut call; like no one actually knows. Yep. Yeah.

0:28:07.514 --> 0:28:33.788
<v B>I totally agree. Yeah, I mean it's something you'll just—you'll just hone in on with experience. I mean it's it's like any trade; you have to you have to just build a lot of stuff to figure out sort of the sweet spot there and get that intuition. Um okay, so last T-shirt goes to Scott G. Um so Scott G, you are a proud owner of a T-shirt. I'm going to reach out to you later.

0:28:33.788 --> 0:28:44.080
<v A>On today, congratulations all right. Uh son, hey, on the Discord a while ago asked for recommendations related to image processing. That's a big, big, big

0:28:44.080 --> 0:29:58.680
<v B>question. Yeah, there's a lot there. So I can um um um well, yeah, I mean I can talk specifically about AI, and Patrick, you probably know more about the signal processing part of it. Um but for AI, the the the most popular ones are Detectron, which does a bunch of object detection. They have a model you can download which has, you know, a bunch of different categories. Or if you need to train your own, you can do that. Um there's one called Hugging Face. I think Hugging Face is another one. Um there's another one called—I think it's literally just called Face Recognition. If you put GitHub Face Recognition, you'll find it, and that has an insane number of stars. Actually, that is the most starred repository I think in all of GitHub. It's just called Face Recognition, and it it does that thing very well. Um so, you know, in general, I would say that—that you know you should um you should really try to use existing libraries. I mean image processing requires enormous amounts of data and compute, and so um um transfer learning, you know, starting with one of these models is definitely the way to go, even if even if you're building something specific, you want to start with one of these solutions. Yeah.

0:29:58.680 --> 0:30:59.183
<v A>I mean I guess from the signal processing ish side as a way to describe it—I mean looking at OpenCV and just looking at various functions that it uses and how to interface them is a great way to start. I'm not normally a big Python person, but Python works really well for this because it's pretty easy to use. OpenCV, open a file, apply blurs to it, understand how that works, dig into what that is really doing under the hood—the difference of doing them with convolution versus doing them in frequency space, right? So thinking about those kinds of things, but even just understanding like how the image data is stored, how do you change channels? How would you swap red and green? What does that do? How is the image represented in memory? Um it's a very far stretch from what Jason was just describing. Um but I mean, I think these things come up at least in my career, have come up reasonably often where knowing how—I mean ultimately they're big matrices, I guess. That's a spoiler.

0:30:59.267 --> 0:31:00.094
<v B>Yeah. Yeah, you

0:31:00.320 --> 0:32:05.687
<v A>know like understanding what those matrices represent, how to manipulate them is a generally pretty useful skill. Um and so thinking through how that works, playing around with it on your own, trying to do your own—like for instance, writing your own function to convert a red green blue image into a grayscale image. Um how do you weight various channels? Like working through that, although it seems like really redundant, and why would you not just use Oh, maybe you don't even know, but there's a standard like balance of the channels to use to replicate what the human vision sees. But I mean, like working through on your own and understanding what that does actually teaches you a lot. Um And then there's all sorts of tangents, not even getting into the sort of machine learning image recognition part of it, but just doing things like understanding barrier masks and debarering and what did various filters—like not every camera uses the same image filters for the red green and blue channels—how does that impact things? It's a completely different way to take it, but it's enormously fascinating, and people spend their careers um you know thinking about those kinds of things. Yeah.

0:32:05.687 --> 0:32:06.312
<v B>Yeah. So yeah.

0:32:06.531 --> 0:32:12.760
<v A>I mean there's lots and lots and lots of ways to take it. It depends, I would say do something which you find interesting because it'll keep you

0:32:12.760 --> 0:32:35.840
<v B>motivated. Yeah, that's such a good point. Yeah, totally. And and I think uh um yeah having having a sort of goal in mind is is is really important especially for something like image processing because you might say, well, I want to be able to recognize absolutely everything, and those are super super hard open problems. It's much better if you can start with like, yeah, I want to distinguish these three things.

0:32:35.840 --> 0:32:49.340
<v A>Um I'll give a shout out to one specific project here because I'm to the hardware thing; it's my shtick, I guess. Um and that is OpenMV. They call themselves the Arduino of machine vision.

0:32:49.967 --> 0:32:51.149
<v B>I think is it

0:32:51.486 --> 0:32:52.802
<v A>NV or MV machine.

0:32:52.802 --> 0:32:54.034
<v B>Vision Open. Okay, open MV.

0:32:54.709 --> 0:33:24.240
<v A>So it's a little PCB that has a camera and a processor attached to it, and they have a really nice infrastructure built around it for bringing in the images, doing common manipulation, streaming them out to your computer so you can see them, and really bringing it together with an IDE and stuff, like you would see for an Arduino board. Um, I really like this project. I did the Kickstarter for the latest one and got it. I haven't had a chance to open up and play with it yet, but it's in my short list of to-dos.

0:33:24.240 --> 0:33:24.983
<v B>That's awesome. I think.

0:33:25.260 --> 0:33:29.978
<v A>Something like this is a really interesting way to get started because how much?

0:33:29.978 --> 0:33:31.024
<v B>Does that cost?

0:33:31.080 --> 0:33:35.108
<v A>I want to say it's like—uh, Harold. I'll just look on the store because I don't want to miss.

0:33:35.159 --> 0:33:37.420
<v B>Well, roughly? Like is it a hundred dollars? A thousand dollars? Yeah?

0:33:37.420 --> 0:33:39.664
<v A>Like, I would say it's like fifty dollars. Oh.

0:33:39.664 --> 0:33:40.997
<v B>Man, that's amazing. Sixty-five.

0:33:40.997 --> 0:33:57.130
<v A>Dollars, I guess for the H7, which is their newer one, the OpenMV H7, which is a lens, the board, the camera. It's not as cheap as an Arduino, but it's not—I mean, for like trucking it up to a learning experience and like with what you're getting with it, that's pretty nice. Yeah.

0:33:57.231 --> 0:34:01.060
<v B>I mean, sixty bucks is amazing. Totally amazing. Yeah, I'm gonna get one of those.

0:34:01.382 --> 0:34:21.649
<v A>Yeah, so I think this is a good project to play around with and sort of start interacting with these at a very low level. Um, I wouldn't recommend running the Tectron; it probably doesn't even work on this. I have to run a very, very small model if at all. Um, but if you want the sort of opposite end of this, like how hardware deals with images and low-level image processing, I think is a great.

0:34:21.835 --> 0:34:24.440
<v B>Way to use. Yeah, and you could always—you could always pipe that to your computer.

0:34:24.720 --> 0:34:25.969
<v A>And then that's exactly.

0:34:26.189 --> 0:35:13.742
<v B>Right. Yeah, yeah, that makes sense. Cool. All right, so our first sticker winner is Jason D. Um, Jason D has been a patron for a little more than half a year, and you are a winner of a sticker. I'll be reaching out to you to figure out how to get that laptop. Cool. So we have a question: Is it worth going back? This is from KZ. Is me—is it worth going back to school to get a Master's even if it won't necessarily bump my pay grade? I really enjoyed undergrad. Um, yeah, I really enjoyed undergrad. Is it worth getting a Master's? So Patrick, you actually got a Master's while you were working. Yes. And so what was it like getting a Master's while you were working? And did it—you know, was it net positive? This is really.

0:35:14.552 --> 0:37:02.029
<v A>Hard to say. Like I don't think I would do it today. Um, like I'm glad I did because it's one of those things that like the sooner to your academic—like undergraduate—that you do it, I think the easier it is. Not to say that it's impossible at any level, but um I think it honestly, it really depends if you can stay motivated to do it. Um going back and getting a degree might be worth it, right? It helps. I don't know how it would hurt other than it being kind of expensive. Um but if you—if it's offered through your work, I don't necessarily see it as a big risk of a thing to do, but I also like having been a person who does interviews and looks at resumes. Like I don't really take it as a huge positive like a person who's gone and worked for two years versus a person a year or two versus a person who's getting a Master's degree. I wouldn't necessarily prefer one over the other unless the Master's degree was something very specific to what we did. Um but the same would be true if they worked on something specific to what we did. Now that's just sort of like my experience and what I've done with it. Yeah, I know it varies a lot. Um but I would say in general, if you're having trouble finding good work and getting hired, my initial gut feels is not due to the fact of not having a Master's. There's probably a few niches and specific places where that could be a problem, but the general market I haven't seen being particularly interested in Master's degrees as the PhDs is kind of a different story, but Master's degrees—I would say you maybe look at other stuff, look to get experiences. There's probably cheaper and more time-efficient ways to increase your higher ability than doing a Master's degree. That isn't to say you shouldn't do it or that it has no benefit. I just think if you're doing it to improve your resume/higher ability, I would probably not recommend it.

0:37:02.198 --> 0:37:05.300
<v B>What did—what does it what is the benefit then?

0:37:05.300 --> 0:37:27.139
<v A>So I mean, I think the benefit is being able to do more classes. Most people when they're doing undergrad don't get to try all of the different classes and different specialties of Computer Science just using that as an example. So going to a Master's degree, you could delve a little deeper into various topics which you kind of didn't get to and you might not in your first job have access to or second job. Um yeah, that.

0:37:27.139 --> 0:37:29.029
<v B>Totally makes sense. It's a really good going.

0:37:29.029 --> 0:37:35.745
<v A>Back to school after a few years, like five, ten years, could catch you back up on developments or refocus you. Um you.

0:37:37.467 --> 0:37:50.680
<v A>Know doing it while you work, right? Like continuing education—that's that's always a good thing, I guess. Um and you know, I guess two all else being equal between two people having a Master's degree is worth something. Um yeah, I think.

0:37:51.000 --> 0:38:19.604
<v B>I think—I think it totally makes sense that like the—you know, you might not at your current job be able to do image processing, but you might want to gain that specialty. And so to get out of that sort of trap, um you could—you could do the degree, but it sounds like if you're going to do it, you should keep working and take the extra year. Um Um I guess it would take three years instead of two? How many years in three years?

0:38:19.604 --> 0:38:45.169
<v A>I did mine in three, so yeah, one class. So that was specific to—I guess mine. Everyone's a little different, but I did one class a semester, three semesters a year, and um did it in whatever, ten says, 10 credits. Um but that varies, I guess. It's a—it's a lot of work though, right? There's—I don't want to say busywork, but doing it while you work is hard because you might have deadlines on your—you know, job, and then you also have a.

0:38:45.473 --> 0:39:25.640
<v B>Paper due? Yep, yep, yeah. I remember—um, yeah, I remember exactly that: having a deadline and a paper due on the same day. And it's brutal, but I think it's good to do it early when a lot of the knowledge is still fresh. I feel like if you're gonna do it, good to knock it out early. Oh, the other thing is, you know, in both of our cases, our jobs paid for our graduate degrees. And that's—I think that's a game changer, right? So I mean, if you have to drop $60k to get the Master's degree, it's going to be pretty hard to recoup that again. It doesn't mean you shouldn't do it; it just means that—um, you know, it depends on what your goals are.

0:39:25.640 --> 0:39:35.474
<v A>Also, the story is completely different if you are trying to get like a Computer Science or related Master's degree, and that's not graduate—I think that's a whole separate topic, but you...

0:39:35.474 --> 0:39:37.701
<v B>Uh, you broke up there. What can you repeat that?

0:39:37.701 --> 0:39:45.345
<v A>I said yeah, I think it's a completely different topic if your undergraduate degree wasn't in a Computer Science related field and you want to do your Master's degree in a Computer Science.

0:39:45.345 --> 0:39:59.622
<v B>Related? Oh, that is a really, really good point. Yeah, I've seen resumes where that was the case. I do think in that case it makes a big difference. Yeah, because—because um, I think you want to show that you have sort of the core, you know, CS fundamentals. Yeah.

0:40:00.094 --> 0:40:02.862
<v A>I think that's—yeah, you're right. I think the value proposition there.

0:40:02.963 --> 0:40:44.290
<v B>Is very cool. All right. So we can go to our next sticker winner. It's Daniel H. Daniel's been a patron for a little under a year, and—wow. Daniel is from a very interesting—what is the country code CH? So I'm totally gonna out our friend Daniel here, but I just gotta know CH, Switzerland. Oh, okay. That's not as—that's not as exotic as I thought it would be, right? But still, I mean, see Daniel from Switzerland. Thank you so much being a patron for a little under a year, and we will send a sticker your way. I'll reach out to you to get a way to mail that out.

0:40:44.661 --> 0:41:47.234
<v A>To you. Cool. So we have one more question from a while ago, and five questions, but our last question that people have sent in to us is from Cheesy Taco: How to approach resumes and job titles? They give a little context here about, you know, they're basically doing programming on the job now. Excuse me if the summary is not accurate, but, you know, doing programming on the job now, but their job title doesn't really reflect that, and they're sort of worried about, you know, they don't want to say that they're a programmer as a job title because, you know, their actual job title isn't that at all. But it is what they do, and sort of how would they address that? So what would be a recommendation, Jason, if someone is doing like scripting and programming and maybe even building applications at their job but maybe they have a different title, like Researcher or, you know, associate or something like just a generic title at maybe a commercial company? And how would you—what would you do for the resume? Like how would you look for that to be represented so that they're not lying but they're also communicating what they're?

0:41:47.588 --> 0:43:46.020
<v B>Yeah, this is a very, very interesting question. Um, so the thing about job titles—job titles are one of the few things that are represented very clearly in a background check, right? So, um, you know, you can't really have a lot of latitude there. For example, if you're an accountant and you say you're a Software Engineer, um well, let me give another example. If you're an accountant with, you know, three years programming in Visual Basic and you say I program a Visual Basic for four years, that's pretty hard to verify, right? I mean, you should never lie about anything, but—but if you're going to do that one, um you could basically get away with it. Um, but if you're an accountant and you say you're a Software Engineer and you go through the interview—let's say you even get the job—um when they do the background check before they make you the official offer, that that's immediately gonna gonna gonna show up. So, so you can't really do that. So, so you know you have the job title that you have, um you know nowadays with, you know, so much AI in the recruiting process, um you know there's going to be some companies that will, you know, filter that. And so, you know, I think that—that the job title, I think in some cases could be a challenge. Um, I still think that, you know, all of the things that we mentioned for folks who are, you know, students or in school they still apply: so you're having a good GitHub account, a presence, having a portfolio, um taking some—some mooks doing some classes. We had a show with the director at Udacity, so to do some Udacity classes. You know, those are all stellar. Um, and obviously writing what you do under your job title and your resume. Um, but yeah, I think I think—um, I think that is one of the big challenges, and I think in...

0:43:46.020 --> 0:44:04.360
<v B>General advice I've heard is kind of do what the company does. So, in other words, if you're a Software Developer, try to join a company where software is kind of their focus. Um, and so—and that will prevent that kind of misalignment. Um, but yeah, what's your take on it? Yeah.

0:44:04.545 --> 0:45:36.640
<v A>I agree. I would say for me, I think there's a lot of latitude in how you do your resume. So as Jason pointed out, you should never lie; it's going to end poorly in most cases—many cases. Um, and so I think what you can do though is, you—I've seen people do is even within a single position at a company list out like projects they worked on and what their role was on that project. Um, and then maybe under that, so if you imagine like, you know, having sections and you know you're having like bold the company you work at and to the right of it having what you did on that project—like maybe you were a Tech Lead, maybe you were a Programmer, maybe you were an Architect, right? Saying something like that. And then underneath the like that part, like to the left, you know, maybe for under just saying like title, you know whatever your current title is, or even, you know, people might put Software Engineer Level 3 years. So I've seen people do this on their resume. I think that might be a good form to take if this is your thing. So if you actually are legitimately doing programming and you want to say like Application Developer as your like role but your position also include your title, just so that it's not confusing or ambiguous and just call it out sort of like at the bottom of the section or like in a sort of subheading, then I think I don't—I don't know that that would be a problem. Like, yeah, it's completely honest, and as Jason pointed out, people who use keyword screening or whatever will not—it won't take issue with that, right? It's not going to screen you out because you say your title is something different and you'll make sure to get screened in by having the right keywords.

0:45:36.640 --> 0:46:32.843
<v B>Yeah, that totally makes sense. Totally makes sense. And you have as long as you have the job title in there, then—then you know the person who's doing the background check, it's a third-party company, and what they're going to do is they're going to look at your resume and they're going to look at the job title that is coming from your former employer, and they're going to look for a match. And as long as that matches anywhere, they're gonna—they're gonna say that's fine, right? Um, so, so yeah, I think that's—I think putting it, framing your job title is the right answer there. That's a solid answer. Sweet. Cool. All right. Let's do the last sticker and then we can answer a few more questions um, you know, time permitting. But so Devin C. Devin C's been a patron for two years. Thank you so much, Devin, and you are getting a sticker. Very cool. And yeah.

0:46:32.843 --> 0:46:41.837
<v A>I think that's all the questions we have so far from the Discord. So if you have any more from email you had or if you want to just go and finish up the giveaways and this up and wish everyone a happy New Year.

0:46:42.209 --> 0:48:40.880
<v B>Yeah, actually well there's I'll just go through. There's a couple of questions that are pretty short. Someone said did I get sweaty when Eternal Terminal was on Hacker News front page? Um, I got a lot of emails. I didn't know it was on Hacker News until somebody told me. So I wasn't the one who posted it, so that was kind of a surprise. I was actually driving back from a family vacation at the southern part of the state, and so I was in the car and I got this message like, 'Hey, you're at the top of Hacker News.' And then I checked my email and there was a ton of emails. It was pretty cool. You know, I didn't get sweaty, but I'll tell you a story where when I didn't think there were that many people at my work using Eternal Terminal, I was pretty cavalier about rolling out updates. And if you imagine like updating SSH, you either have to like update the server but then also support the older clients or you have to basically update everything at once and then kick everyone out and then say, 'Hey, you need to update your client.' So in the beginning it just made a lot more sense to do that. This actually gets back to the over-engineering thing. You know, we were making so many changes and learning a lot about what it meant to write sort of a good remote terminal—um, that it didn't make sense to keep around old versions. And at one point, we released a bad version and something like 300 people couldn't remote into their machine, and that was terrifying. So there's been some times where things did get pretty terrifying, but the good thing is you know it's been three years since we started Eternal Terminal, and so at this point it's mature enough that you know even there's a ton of people coming most of them were able to just start using. I think it's it helped.

0:48:40.880 --> 0:50:13.416
<v B>That um someone asked, 'Oh, someone asked how do you deal with having a single like how to how do you handle extremely large repos?' I've read about Google having a mono. So a lot of these companies have one single repository for the whole company, but they're not using just regular Git. They're they've often forked something like Mercurial or Git, but they have their own version, and so you can check out just parts of the repo. And so you could think of it—you could imagine it as like a repo, but every subdirectory can be its own repo if you want it to. There's also like shadow file systems. The short answer is it's actually it's a huge technical challenge to have a huge mono-repo, and so it's I'm kind of surprised that there isn't a product out there that enables that. But I guess the reason is there just aren't that many people who have—I think Google has like 14 billion lines of code or something, and there aren't that many companies that have that much code that you know a mono-repo becomes that's I think that's all the questions. Did we miss any of them? Or I don't think so, but it's possible. Yeah, someone said—um, so yeah, I think oh, someone posted the face recognition. It's called—I'll put a link in the show notes, but yeah, the repo is called Face Recognition. Has actually does have the most stars on GitHub. It has 30,000 stars, which might be the most image processing most stars. Cool. I think that's it. Should we wrap it up?

0:50:13.720 --> 0:50:16.724
<v A>All right, well thanks everyone. It's been a blast.

0:50:17.129 --> 0:50:41.800
<v B>Of a year. Yeah, yeah, it's been totally amazing. It's again just astonishing to see the support that we have and to actually like literally see it here in Spreadsheet Forum is really exciting. Um thanks again. You know, we have actually we already recorded one interview and we have some other interviews and other content lined up that's super exciting. So we look forward to sharing that with you folks next year. All right.

0:50:42.104 --> 0:50:42.720
<v A>See you guys.

0:50:45.360 --> 0:50:47.360
<v A>You.

0:51:09.600 --> 0:51:40.400
<v B>The intro music is Axo by Binar Pilot. Programming Throwdown is distributed under a Creative Commons Attribution-ShareAlike 2.0 license. You're free to share, copy, distribute, transmit the work to remix, adapt the work, but you must provide attribution to Patrick and I, and ShareAlike in kind.

