WEBVTT

0:00:00.000 --> 0:00:08.680
<v A>Hosting provided by HostTornado. They offer website hosting packages, dedicated servers, and VPS solutions. HostT.net.

0:00:16.160 --> 0:00:21.560
<v A>Programming Throwdown, Episode 44. Logo Scratch Lego. Take it away, Patrick.

0:00:22.520 --> 0:00:27.080
<v B>I need to have an answer to how many monitors should I have at work.

0:00:27.080 --> 0:00:34.202
<v A>How many monitors does it take to get to the center of a Tootsie Pop? A programming problem. So,

0:00:34.202 --> 0:00:42.440
<v B>I feel like I need more. Right now I have, or maybe I need bigger monitors. Oh, maybe that's the difference, the size of the monitor or the number of the monitors.

0:00:42.680 --> 0:00:43.840
<v A>So what do you have right now?

0:00:43.900 --> 0:00:46.780
<v B>So right now I have two 24-inch monitors.

0:00:47.420 --> 0:00:47.860
<v A>Okay.

0:00:48.400 --> 0:00:54.284
<v B>And like side by side, and I have them on like adjustable arms, and I have them both in landscape mode. Okay,

0:00:54.284 --> 0:00:54.900
<v A>right.

0:00:54.900 --> 0:01:22.431
<v B>And so that's pretty good because the way I have it set up is like, so I run Ubuntu, so I have like the virtual desktop side by side. I only use two. And on the first one I have like email and like docs and stuff, you know, kind of on two windows, so I can have my email up all the time when I'm on that window or whatever. And the second one I typically have like a browser in one window, documentation, console, command line, and then the other one, my IDE. So the second

0:01:22.431 --> 0:01:27.520
<v A>monitor is like a split screen, and the first one is just email or something like that?

0:01:27.600 --> 0:01:38.380
<v B>Well, so like on my second virtual environment, yeah, the first one, the left side is like Eclipse, and then the second one is like my command line or like documentation in the browser or whatever.

0:01:38.600 --> 0:01:39.390
<v A>Gotcha. So

0:01:39.390 --> 0:02:10.200
<v B>I have two. But then, yeah, like you pointed out, now I don't have space for my email. And so maybe that's good because I don't look at my email, but I feel like I need four monitors. Like I feel like I need two more up above for like, you know, so I can have like my console in one, my web browser that's like doing documentation in the other, and my email in the fourth. So I feel like I, but maybe I could just get a bigger one. Like some people have the 30-inch monitors at work. Yeah, right. But then I feel like it's too, like the tall is wasted. Like I don't need really that height.

0:02:10.964 --> 0:03:18.579
<v A>See, I feel like this is one of those like thing that sort of bifurcates people. Like some people are zero inbox people. Some people have like 40,000 unread messages, right? That would be me. Yeah, I'm actually a zero inbox person. So some people are like, you know, it's like some people like Skittles, some people like M&Ms, I don't know, whatever. But this is one of those things. Like I only have one monitor, and everybody kind of like, not gives me a hard time, but like every now and then someone says, 'Hey, why don't you get a second monitor?' Or 'Hey, you know, you have your laptop screen. You just have a picture of your family on it.' And I just, for some reason, I cannot adopt more than one screen into my workflow. Even like those virtual screens. I've started to get into the virtual screens where like on the MacBook Pro, you can use three fingers and swipe. If you do the three-finger swipe, then you go to other virtual screens. And I've started doing like my, you know, music, like I'll have Twitch streaming music on one virtual screen. But even that, it's like, I did it for a week and now I'm out of it again.

0:03:20.480 --> 0:03:24.180
<v B>Yeah. So is your, you have a big monitor or just a normal monitor?

0:03:24.380 --> 0:03:29.871
<v A>I have a, it's a big monitor. It's probably like a 30-inch. It's one of these Thunderbolt displays. So it's like

0:03:29.871 --> 0:03:31.180
<v B>a 4K or 5K or something.

0:03:31.380 --> 0:03:33.364
<v A>Something like that. Okay. I think that

0:03:33.364 --> 0:03:36.960
<v B>makes a difference too. I don't have any high resolution ones. So.

0:03:37.440 --> 0:03:44.920
<v A>Oh, I see. Yeah. I just, yeah, I don't know. I had two monitors at my last job and I only ended up using one. The other one was just always.

0:03:45.180 --> 0:03:57.023
<v B>So the thing I think might solve my problem, but I can never get into it is the getting an, like an alternative window manager. So a lot of people use like various, like a Haskell, what's

0:03:57.023 --> 0:04:00.465
<v A>the Haskell based one? I always forget. Why is it

0:04:00.465 --> 0:04:38.029
<v B>slipping my mind? Anyways, the tiling window managers where you know push buttons and you flip your consoles up to corner, your ID over to the left. And you know, it kind of like resizes them automatically. Yeah. Right. Right. Based on their positioning. And whenever they show me, it's like, wow, that's really cool. And then I try to use our computer. I'm like, you know, like helping them with something like I can't make it do anything. Uh, and then, you know, it's like when if you only ever use one computer, I guess it's good. But for me, the context switching is so hard. I also same reason. I don't have a lot of aliases in my Bash script. So I've very minimal aliases because when I sit down at someone else's computer and I start and it's like, Oh, it's not working. Oh

0:04:38.029 --> 0:04:39.278
<v A>Yeah. Oh,

0:04:39.278 --> 0:04:41.719
<v B>because, and then I don't know what the command is cause I don't type it.

0:04:42.419 --> 0:04:46.973
<v A>Do you use, have you switched over to Oh My ZSH after we did that show? So

0:04:46.973 --> 0:05:05.485
<v B>I did for my, so actually you had Baboon. Was it the same show or a different show? Yeah. Yeah. So I use that on a Windows computer now. And, so yeah, I have it on there and I like it except that occasionally it has problems cause I get auto updates and then like it did like a bad update once. And it took me like an hour just to

0:05:05.485 --> 0:05:06.109
<v A>get back to what

0:05:06.109 --> 0:05:08.200
<v B>I needed. And it's like stuff like that just kills me.

0:05:08.380 --> 0:05:31.780
<v A>Yeah. Yeah. But the Oh My ZSH, I love the tab completion. Like I found out the other day it would actually, if you're typing a switch, like a command line argument to a function, it actually has tab completion there. So when you hit Tab, it runs the command with --help. It pulls out all of the switches and then it tries to complete. It's like super awesome.

0:05:32.160 --> 0:05:38.357
<v B>That's pretty cool. So, I figured, so I saw the people who do stock trading and then I think they have the answer to how many monitors. Oh

0:05:38.357 --> 0:05:38.760
<v A>Yeah.

0:05:39.015 --> 0:05:41.277
<v B>Like a three by

0:05:41.361 --> 0:05:42.441
<v A>three or

0:05:42.441 --> 0:05:54.520
<v B>Whatever. So you have like, you know, three rows and it looks like, you know, almost like a surround screen. But then I guess you just would go to like a VR, like Oculus Rift with like total like immersion in like a sphere of monitor or something.

0:05:54.640 --> 0:06:08.310
<v A>There's some guy with the Oculus Rift right now who's just banking in the stock market. I mean, he's just, every trade is just, he's pulling the one-arm bandit and getting, you know, a huge high free. He's

0:06:08.310 --> 0:06:08.700
<v B>a currency trader.

0:06:09.000 --> 0:06:10.032
<v A>He is like, this is

0:06:10.200 --> 0:06:11.719
<v B>an NBC show coming this fall.

0:06:13.660 --> 0:06:13.879
<v A>Oh.

0:06:13.879 --> 0:06:25.880
<v B>Man. So anyways, so I feel like I need wherever I always need an additional monitor, but then it's almost not always worth it. Some people have like a big monitor and a small monitor, and that's just jarring to me.

0:06:26.219 --> 0:06:33.799
<v A>Oh yeah. I can't deal with that. Or some people have the monitor for reading, like the monitor for reading the portrait papers. Yeah. That's a portrait.

0:06:34.060 --> 0:06:34.956
<v B>And then one. Yeah. I

0:06:34.956 --> 0:06:42.280
<v A>don't know why, but that, I think I have like sort of like an OCD when it comes to symmetry on monitors, but I just cannot, I can't even look at that.

0:06:42.280 --> 0:06:46.300
<v B>Or the people have mismatched the same size, but like different brands. And so the bezels are different colors.

0:06:46.620 --> 0:07:03.900
<v A>Yeah. Yeah. I can't deal with that. Oh man. I was that kid growing up though who, if someone like even if a small corner of the TV screen was blocked by someone's head, I would ask them to move. Like, please move your head a little bit. You're blocking, you know, one thousandth of the TV screen.

0:07:03.900 --> 0:07:07.039
<v B>So you don't like going to movies then? Okay.

0:07:07.940 --> 0:07:16.820
<v A>Yeah, exactly. Although the movie, they do it right. Yeah. The projectors stadium. Yeah. Yeah. Right. Um,

0:07:17.080 --> 0:07:19.169
<v B>All right. So onto news, that

0:07:19.169 --> 0:07:19.928
<v A>First article I

0:07:19.928 --> 0:07:58.099
<v B>have is, like, I didn't look at the guy's name. I think it's Andy Gavin, making Crash Bandicoot. So Crash Bandicoot came out for the PlayStation One as I think one of the launch titles. And this guy, Andy Gavin was at Naughty Dog. Well, I guess it was a very new company at the time. I think they had made one or two games anyways. And he has a series that I saw a link to off of Reddit or something of like 13 series about writing him and the other guy who were kind of like the head people at Naughty Dog, making Crash Bandicoot. And how that like people at the time were just like, I remember playing Crash Bandicoot? Did you play Crash Bandicoot?

0:07:58.340 --> 0:08:00.840
<v A>I never played it, but I heard. Oh, okay.

0:08:01.099 --> 0:08:50.530
<v B>So like at the time I was a little younger, I guess. So I didn't really realize it was the new PlayStation, right? Like I just thought this was how everything was going to be now. But I guess like at the time it was like one of the very first kind of 3D platformers and how to do level design, how to get all the textures compressed and how to put things in your field of view that blocked like distant objects. So the number of polygons on screen was reduced, all that kind of stuff he goes into in this blog. And like, you know, it's kind of funny when you read it, he says that, you know, for doing like saving space after they'd already done all the obvious things, like using the lowest two bits of all the pointers to store data. It's like the obvious things. And then it's like, Oh, okay. I know. So all the addresses must be four-byte aligned. Then you can use the lowest two bits because they're always zero. I

0:08:50.530 --> 0:09:08.300
<v A>saw, I saw, I think it was a part of this article where he was saying that they had this Monte Carlo based approach to compress all of the textures. Yes. And yeah, they couldn't get it to fit on the CD. So they just ran it over and over again until it finally fit.

0:09:08.580 --> 0:09:15.500
<v B>Yeah. They were trying random permutations of like placements of objects, hoping to find one that would pack more elegantly.

0:09:17.180 --> 0:09:17.660
<v B>Yeah.

0:09:18.120 --> 0:09:18.694
<v A>So I guess

0:09:18.694 --> 0:09:26.540
<v B>But though, when it shipped, it was like so far ahead of what other people were doing with the PlayStation at the time that it was like a massive achievement. So,

0:09:26.660 --> 0:09:28.414
<v A>Yeah, it's amazing, but it's just

0:09:28.414 --> 0:09:43.540
<v B>Kind of fun to read those crazy hacks that people did. You can also read like John Carmack writes about them sometimes. And I mean, a lot of times they're actually still even useful, but you know, there are things you should never do unless you really absolutely have to, but it's still kind of fun to read about them.

0:09:43.940 --> 0:10:00.320
<v A>Yeah. I saw this. I did a little bit of work on Ogre, that open-source graphics engine. And I was just, you know, flipping through that code one time a while back and it said, it basically had this square root function that was done using like a division or something. Yeah.

0:10:00.400 --> 0:10:06.580
<v B>Convert to float, and then using a two-iteration Newton solver. Yeah. This is a famous John Carmack hack.

0:10:06.820 --> 0:10:11.740
<v A>Yeah. Yeah. And it had a reference to like some article of John Carmack wrote and everything. I was like, this is amazing.

0:10:13.600 --> 0:10:14.145
<v A>Yeah. I

0:10:14.145 --> 0:10:18.040
<v B>I have some code that has that hack in it. Oh, nice.

0:10:19.660 --> 0:10:23.500
<v B>It's not, it's not a hack. It's just like a very fast way of doing a square root.

0:10:23.680 --> 0:11:34.926
<v A>Yeah. It's a fast approximation of a square root. So Apple will open-source Swift. We did a show on Swift. That was back when there was Swift 1.0 and other Swift 2.0, which is not backwards compatible, but has a lot of extra features and things like that. And Apple open-sourced it, which is pretty cool because people were wondering if Swift will be the next sort of C#—where C# was kind of like contested territory and Mono came out. And at the beginning, Microsoft wasn't really supporting Mono. Now they are, but it's kind of too late. And the whole thing kind of like, it was very ugly. As we were wondering what's going to happen with Swift, there's already a variety of open-source projects that are trying to do various things with Swift. And Apple decided to just open-source their implementation of Swift, which I believe boils down to like a Swift-to-LLVM front-end compiler, kind of like Clang. So, but I don't know too much about the details. So that

0:11:34.926 --> 0:11:57.980
<v B>was announced at WWDC, which happened since our last episode. Yep. So lots of Apple news came out. So now I guess also there was recently rulings about the Google Verse Oracle API for Java stuff. But I always feel like when someone doesn't open-source the language, I guess it's what is the name? His name starts with I, the guy who did Mono.

0:11:58.600 --> 0:11:59.780
<v A>Oh, I don't know.

0:12:00.087 --> 0:12:43.760
<v B>Miguel's? I something anyways. But he did Mono and implemented like C#, but we're like basically a different compiler runtime thing for Linux. And I feel like, you know, similar to what Android uses with a different, a non-Sun or Oracle implementation of Java to run on Android. You can almost these languages being open source can be vague in what they mean. I almost feel like people have the opportunity to implement them, but now it seems like maybe that's not always going to be so legal. So it's good to hear that Apple is going to open-source it. So people who want to be able to write a version of the front end for other systems will have the ability to do so.

0:12:44.199 --> 0:12:47.280
<v A>Yep. The guy's name is Miguel de Casa.

0:12:47.840 --> 0:12:48.620
<v B>Yeah. Okay.

0:12:48.920 --> 0:12:57.640
<v A>And he also co-founded GNOME, which is pretty awesome. He worked at Novell, which is pretty cool.

0:12:58.660 --> 0:13:03.760
<v B>Well, good. I'm glad I wasn't completely off. Cause I had like his name. I could see it in my head. And then I was like,

0:13:03.819 --> 0:13:05.646
<v A>Oh, I

0:13:05.646 --> 0:13:08.025
<v B>was going to say IG something, but I seem a Casa. Okay.

0:13:08.520 --> 0:13:09.939
<v A>Yeah. Yeah. All right.

0:13:11.060 --> 0:13:21.981
<v B>So, so yeah, so I don't know, is it legal though? Or maybe it changed now. It's like, if someone has a language that doesn't have an open source in any way, can you use the, uh, the

0:13:21.981 --> 0:13:23.972
<v A>grammar of the language? Like is the

0:13:24.006 --> 0:13:24.816
<v B>grammar copyrighted?

0:13:25.579 --> 0:13:30.773
<v A>Well, that's what that lawsuit is about, right? It's, is the, well, specifically the APIs of

0:13:30.773 --> 0:13:32.545
<v B>the standard library or something.

0:13:32.579 --> 0:13:36.900
<v A>Yeah. Right. So, yeah, I mean, you know, that's going—we're not lawyers.

0:13:37.100 --> 0:13:37.480
<v B>I don't know.

0:13:37.760 --> 0:13:56.420
<v A>Actually. Well, the last I heard about that lawsuit, just to report on it again. Yeah. We're not taking a stance here or anything, but I believe Google asked the president to bring it up with the Supreme Court. And the president said no; the president's staff said no. And so,

0:13:56.560 --> 0:14:05.939
<v B>Yeah, I think just this week or last week, the Supreme Court basically said they weren't going to hear it. So yeah, it's going—it's just going to stay with the last appeal, which was in favor of Oracle.

0:14:06.340 --> 0:14:17.027
<v A>Right. Right. So I guess actually, what does that mean? Just mechanically, like, does that mean that Google has to pay Oracle a dollar for every Android phone or something? Or I mean, I think

0:14:17.027 --> 0:14:21.120
<v B>That'll go—that'll be decided in the penalties phase or something.

0:14:21.520 --> 0:14:22.860
<v A>Oh, I see. Okay.

0:14:22.980 --> 0:14:29.819
<v B>Now I'm curious what the implications of the actual ruling will be.

0:14:30.580 --> 0:14:35.877
<v A>Yeah. Right. I mean, how do you enforce that considering, you know, it's been going on and

0:14:36.822 --> 0:14:37.780
<v B>Everything seems complicated.

0:14:38.819 --> 0:14:42.407
<v A>Yeah, it is. It's pretty wild. So we

0:14:42.880 --> 0:14:49.124
<v B>had WWDC. We also had E3. Yeah. So all the video gamers out there in

0:14:49.124 --> 0:14:49.967
<v A>podcast. It was

0:14:49.967 --> 0:14:56.520
<v B>So cool. Did you watch any of it? I watched some of the highlight videos. Okay. So I watched some about the Oculus Rift.

0:14:56.880 --> 0:15:03.660
<v A>Yeah. That's the only one I saw. I saw somebody playing Minecraft, like on a table with the Oculus. No,

0:15:03.660 --> 0:15:04.900
<v B>that was with the Hollow Lens.

0:15:05.219 --> 0:15:07.433
<v A>Oh, sorry. Sorry. You're right. You're right. How can you

0:15:07.433 --> 0:15:08.007
<v B>mix those up?

0:15:08.219 --> 0:15:16.860
<v A>Yeah, you're totally right. I'm an idiot, but yeah, I saw someone playing Minecraft, like on their, on some regular coffee table with the Hollow Lens. And that looked freaking amazing.

0:15:17.500 --> 0:15:42.360
<v B>So they had the Oculus Rift was there too. And they have some cool motion controllers. Which people always say it's kind of awkward. Like a lot of the stuff. Now you still use your keyboard. And so it's kind of not the most natural, but they're coming out with some controllers. And I kind of want to try an Oculus Rift. I've just never had the opportunity to try one yet, but I feel like I wouldn't be something I would be super into, but, but I want to try it. I think it would be cool.

0:15:43.160 --> 0:16:25.560
<v A>And you know what got me into it? Like I saw a ton of videos on Oculus. I saw, I followed it since the Kickstarter, but it always seemed like you said something I wouldn't be interested in. And then I saw somebody recreated the first Legend of Zelda using the Oculus. And so it's re by recreated. I mean, it uses the exact same artwork and everything like that. And the level layout is the same and the missions are all the same, but it's first person using Oculus. And it looked pretty wild. I mean, someone you know kind of goes around a pillar and a skeletons there. And it's just like, it's very jarring. It took a very benign game and made it like extremely terrifying. Oh man.

0:16:26.140 --> 0:16:54.040
<v B>Yeah. I mean, now that it's getting what would that be? First-party support, third-party support, whatever. Now that it's getting like, you know, a lot of games are going to start using it or have it as an option. I guess maybe it'll make more sense in my head, but it has like a lot of tech demos is what it seemed like to me. Like a lot of short little games people are putting out to kind of test out the technology, but it was not quite there yet. So I'm really interested in it, but I think I'm more interested in like the version two of all these headsets.

0:16:54.300 --> 0:17:05.740
<v A>Yeah. Right. So, someone made Oculus run a Minecraft, which I guess is the same as Hollow Lens, but that was a while ago, like a year or two ago. It was pretty cool.

0:17:05.740 --> 0:17:19.240
<v B>But I guess then now it'll solve this problem that the Wii U tried to solve with the tablet for per person or whatever, or using other game controllers. So if everyone's wearing an Oculus Rift, you can play like Madden and no one can see what plays you're picking or like,

0:17:19.420 --> 0:17:20.160
<v A>Oh yeah. True.

0:17:20.640 --> 0:17:24.760
<v B>So you'll all sit on the couch playing games together, not being able to see each other.

0:17:25.319 --> 0:17:27.293
<v A>That's all the teenagers, hip teenagers. Okay.

0:17:27.460 --> 0:17:38.900
<v B>So also I saw the video, which I don't know if you've seen the actual gameplay video for Star Wars Battlefront. And I'm not a big online gamer. Like I mostly just play by myself because I'm not friends. I know it's sad.

0:17:39.020 --> 0:17:43.940
<v A>Well, for I mean, anyone who has kids pretty much needs a pause button. Otherwise, okay. Fair point.

0:17:43.940 --> 0:17:53.800
<v B>I was being self-deprecating, but the stars, but really, really cool. So I'm getting very excited about the new Star Wars movies and I feel like I shouldn't, but I am.

0:17:54.420 --> 0:17:57.540
<v A>Oh really? Okay. I wouldn't go that now. Okay. Now you're self-deprecating.

0:17:58.680 --> 0:17:59.660
<v B>Wait, wait, what?

0:18:00.380 --> 0:18:01.240
<v A>I'm just kidding.

0:18:01.540 --> 0:18:19.977
<v B>Okay. Anyways, I just like the last one. Anyways, you know, I was again, I was a little younger than some people. Well, that's redundant. Anyways, when the second set of Star Wars movies came out, so like Jar Jar Binks, when I went to see the movie, I was still of an age where it wasn't so appalling to me. And so

0:18:19.977 --> 0:18:20.770
<v A>I actually have

0:18:20.770 --> 0:18:22.960
<v B>fond memories of even the second set of movies.

0:18:23.180 --> 0:18:54.480
<v A>I remember—I mean, I actually don't remember much about the second set of movies, which is kind of a shame. But I do remember there was that one part in the first one where they were using some kind of submarine and a giant fish starts chasing them. And then an even bigger fish eats that fish. That was pretty cool. But yeah, for some reason—not to jump on the bandwagon here—but the second trilogy just didn't resonate at all with me. I didn't think they were bad, but I remember absolutely nothing. But the first trilogy, I remember very vividly.

0:18:54.940 --> 0:19:12.070
<v B>So also Fallout 4. Yep. People seem to be really excited about this at work. Like everyone wants to talk about this, but I'm like one of the few people who couldn't really get into Fallout 3. I tried, and it was just—maybe it's because of kids or whatever. Like I just couldn't get into it. And like, it just

0:19:12.070 --> 0:19:14.440
<v A>didn't stick with me. Did you play Melee or did you use a gun?

0:19:14.440 --> 0:19:25.080
<v B>I don't even think I made it far enough. I made it like two or three hours in and I get just like too much reading of text and—or—I guess there's not text, but,

0:19:25.160 --> 0:19:25.874
<v A>but dialogue.

0:19:25.874 --> 0:19:28.240
<v B>dialogue. Yeah. Just, anyways,

0:19:28.340 --> 0:19:47.220
<v A>I played it the first time and I—I had a pistol and I kind of did what I think is the, you know, a normal person would do who knows nothing about the game. Just kind of going through it. And it was kind of boring. And then, I got like, I learned about VATS where you kind of go into this. Did you get that far to where you had VATS?

0:19:47.740 --> 0:19:48.140
<v B>No.

0:19:48.480 --> 0:20:29.920
<v A>Okay. So VATS is basically it turns the game into kind of like a turn-based game. Kind of, it's kind of weird. Basically it freezes time and then you get like a couple of bonus attacks. Kind of think of it that way. And they're sort of—whether they hit or not—isn't based on your FPS skills, but it's based on just like some calculations based on your stats and things like that. And so I got the Bloody Mess perk, which makes every time you kill someone, they just get like horrifically mangled. And then I used a sledgehammer and I used this VATS thing. It was just so fun. The game went from like, just okay. It's extremely fun, just knocking people's heads off with the hammer.

0:20:30.780 --> 0:20:39.440
<v B>Maybe I'll bust out my Fallout 3 and try again. Cause people seem to like—I worked—they were saying how many times they've played it through and get like all the achievements. And yeah.

0:20:39.560 --> 0:20:42.320
<v A>Yeah. Definitely go Melee. It's pretty fun. Okay.

0:20:42.480 --> 0:20:48.831
<v B>I'll maybe I'll give another go. But then the other thing I'm really excited for is Final Fantasy VII coming out on iOS. Yeah.

0:20:49.060 --> 0:20:49.523
<v A>Has been said.

0:20:49.523 --> 0:20:59.243
<v B>That's coming out this year. And I mean, I remember playing through Final Fantasy VII. And like, I got pretty far before my brother pulled the save card out while I was saving or something. And

0:20:59.243 --> 0:21:00.711
<v A>like corrupted my game. I was

0:21:00.711 --> 0:21:08.580
<v B>I don't remember. I think there were three or four discs, and I was like on disc three or two or three. Yeah. And then I just, I was so disheartened. I didn't play it anymore.

0:21:09.120 --> 0:21:20.640
<v A>Oh man. That happened to me on some games. But yeah, that feeling, it kind of gives you sort of a vengeance, you know? Like now it's like you have to get redemption for that event.

0:21:22.320 --> 0:21:22.969
<v A>Well, and this

0:21:22.969 --> 0:21:26.840
<v B>is your chance. Anyways, so I, but I will, I'm excited to play it on iOS.

0:21:27.240 --> 0:21:31.460
<v A>Yeah. Super cool. And I think they're going to bump up the graphics and things like that. So.

0:21:32.200 --> 0:21:38.000
<v B>Yeah. I don't even care. Maybe if I saw it, I'd be like, 'Ooh, wow, this is actually really bad.' But,

0:21:38.780 --> 0:21:40.570
<v A>yeah, you'd be surprised. Nostalgia.

0:21:40.570 --> 0:21:41.379
<v B>just want the nostalgia.

0:21:41.959 --> 0:21:42.939
<v A>All right. Fair enough.

0:21:44.500 --> 0:21:49.620
<v A>But yeah, it was totally awesome. Did you see the Nintendo World Championship?

0:21:50.100 --> 0:21:50.379
<v B>No.

0:21:51.199 --> 0:22:55.022
<v A>So, I didn't know about this, but maybe this happens every year. I mean, it's first year. I don't know, but someone just kind of said, 'Hey, hey, tune into this,' like while it was happening. And basically they had this championship to see who's the best Nintendo player. A person played just a variety of games or segments of games. It was based on time and score and things like that. They had narrowed it down to two people. So that's when they announced that we use coming out with Mario Maker, where they took all of the enemies, obstacles, terrain, everything from all of the Mario games and put it all into one editor, and even some new enemies that never existed, put it all into one editor and give you kind of crazy control to adjust the size of the enemies, things like that. And then not only did they make the announcement, but they also had these two unfortunate people play these ridiculously hard levels that these game designers made with Mario Maker. And it was pretty awesome. If you haven't seen it, definitely check it out.

0:22:55.022 --> 0:22:58.640
<v B>I'll have to go check that out now. Let's pause this while I go do that.

0:22:59.360 --> 0:23:00.100
<v A>All right.

0:23:01.800 --> 0:24:39.428
<v A>Okay. So, yeah, next new story is Chirp distributed file system. This is pretty cool. I have to look more into it, but it does address a serious use case of mine. So, you know, okay, you have a well, I have a laptop at work and I have a desktop, and I typically want to use the desktop when I am there at my desk and the laptop the rest of the time. But you constantly run into problems where, 'Oh, I wrote some code on my laptop. I have to just finish it on my laptop.' And so what ended up happening is I ended up just never using the desktop. Some other people go the other way where they're remote desktop into their desktop, but that always kind of is hokey. Your remote desktop is never really a hundred percent. It's kind of ugly and things like that. So I started using it turns out you can lock down BitTorrent Sync. So you can set it up to where only if you're in the same, like Class D network, will you do the sync? I locked down the BitTorrent Sync and I got it running on both machines, and I can literally just build something on my laptop, go to my desktop, and it's done or do a code change on my desktop, etc. And it's cool, but you know, it's not really designed for that. There is latency and things like that. So this sounds like it's even better where you have some distributed file system and you could just work off of that kind of like an NFS kind of thing. I don't know too much about it, but wait, so just say the

0:24:39.428 --> 0:24:42.179
<v B>name. This is the Chirp distributed file system.

0:24:42.300 --> 0:25:07.289
<v A>Yeah, it's called Chirp and I'll look more into it and report back, but it looks pretty cool. All right. Time for book of the show. Book of the show. This is kind of a cop out, but a ton of people have been asking, recommending that I read this. In fact, I'm going to read it with a buddy at work. We're going to kind of do a book club or whatever, but I've never

0:25:07.289 --> 0:25:08.220
<v B>done a book club before.

0:25:08.540 --> 0:26:11.660
<v A>Really? Yeah. I've never done one either. This will be the first time. I've done plenty of research paper reading, reading clubs or whatever they're called. Reading groups. I've done plenty of reading groups where we pick a research paper every week and go over it, but I've never done that now. Anyways, this book is called Gödel Escher Bach. It's super famous among like computer scientists, linguists, things like that. But basically, I'm not going to do it justice because I haven't read it yet, but it's basically about language and about formal automata and formal systems. And it tries to, it kind of like plays games with language and it has a lot of puzzles in it. But it's not a, it's not a puzzle book. It's not like this is, you know, 'Puzzle Number Three.' It's written as a novel, but it has this incredible amount of information and it's just a fascinating read. So I've heard a lot of good things about it. And yeah, I hope to report back next show on how awesome this book is.

0:26:12.460 --> 0:26:18.240
<v B>All right. Yeah. I feel like I've picked this book up before a couple of times and then never made it through.

0:26:18.880 --> 0:26:20.480
<v A>Did you, how far did you get?

0:26:20.540 --> 0:26:43.740
<v B>I don't know. I'm trying to remember now. I'm looking like I'm trying to read this like table of contents, but I've read books like the, you know, people in the book, wherever Gödel and others like have been covered in other books I've read. So I don't know if I'm mixing up. Like I've read several books about kind of the same, same topics or whatever. What is it called? Like popular math or novelized math.

0:26:43.919 --> 0:26:44.899
<v A>Yeah. Like,

0:26:44.960 --> 0:26:47.020
<v B>this is like a format is called something. And

0:26:47.020 --> 0:26:48.741
<v A>I've read some of it. Deutch has that

0:26:48.741 --> 0:26:57.620
<v B>book. And then Simon Singh also has books like this. And so I've read several of those. So I don't know if maybe I'm mixing it up with one of those.

0:26:58.659 --> 0:27:36.295
<v A>So I'm looking, trying to look up what David Deutch's book is. But yeah, the 'Fabric of Reality,' David Deutsch. That's another good book. If you're if you like reading about popular math, but just, just to finish it up. So Gödel is a mathematician. Escher is a person who's famous for writing these or for drawing these, you know, these pencil diagrams, pencil drawings that defy logic. So there'll be, you know, like a waterfall that falls like in a loop. And there's just like, yeah, you've probably seen them. I know.

0:27:36.295 --> 0:27:37.260
<v B>That's what they're called.

0:27:37.659 --> 0:27:50.183
<v A>Yeah. Right. And then Bach is of course the musician. So I guess my understanding, my big understanding is because it tries to link all of these things together under the umbrella of formal systems. And

0:27:50.183 --> 0:27:57.840
<v B>yeah, it should be pretty cool. Interesting. So how do you say this? I always think I said the first guy's name is Gödel. Is that not right? I will look it up.

0:27:57.939 --> 0:28:00.120
<v A>Okay. I'm pretty sure it's Gödel. Okay.

0:28:00.399 --> 0:28:19.840
<v B>Maybe right. I say a lot of things wrong because a lot of things I read growing up, like I just get books from the library and read them because I was a nerd and am a nerd. And so I never heard them. And then, yeah, I was having this conversation with someone the other day about how I used to say, Oh, we were having on the podcast, I think about Linux instead of Unix. Yeah. So,

0:28:20.439 --> 0:28:22.520
<v A>Okay. It's good. Dell.

0:28:24.060 --> 0:28:30.739
<v A>So I went on Wikipedia and I clicked, listen, and it said, Goodell, Kurt Goodell, Goodell. Goodell.

0:28:30.979 --> 0:28:34.200
<v B>All right. Yeah. Well, go onto Wikipedia and listen to the pronunciation.

0:28:34.580 --> 0:28:38.440
<v A>Right. Yeah. I mean, that's me trying to sound like a German. So there you go.

0:28:38.660 --> 0:28:48.132
<v B>My book is Leviathan Wakes, which is a science fiction by the, what do you call it? A pseudonym. Yes. Pseudonymous. Yeah.

0:28:48.320 --> 0:28:49.300
<v A>Or James Essay,

0:28:49.440 --> 0:29:41.020
<v B>Corey, which I believe is actually a pseudonym for two authors. And, they wrote a book, this book, I found it to be pretty good. It wasn't as good as some of the other science fiction books I wrote, but I, you know, I definitely give it a strong recommendation, but not a, you must read this, like stop whatever else you're reading and read it. Okay. It was interesting and it was, it wasn't, so it's considered hard science fiction, but I didn't find it to be that, wait, what does that mean? So I was looking this up the other day, what hard science, what defines hard science fiction. And I couldn't come up with a good definition, but I think it's just science fiction with an emphasis, like on things that are like physics, math. It doesn't necessarily have to mean that they're true or accurate, but that they just like go into detail about the,

0:29:41.680 --> 0:29:42.351
<v A>like the, like

0:29:42.351 --> 0:29:55.980
<v B>world building, as opposed to just like a light, you know, pulp fiction kind of thing taking place where ridiculous stuff happens and who cares? Like they, they may break the rules, but they try to be consistent with the rules once broken.

0:29:56.500 --> 0:29:57.280
<v A>Gotcha. Okay.

0:29:57.860 --> 0:30:37.127
<v B>That's Patrick's definition. All right. A lot of them, I think do have a rigorous like worlds that they build. And like I said, they suspend disbelief, but then like they keep it consistent. So things like a Ringworld, like Ringworld is not actually possible because it's less idea that you'd build a ring around a star and then people would live on the ring, but it wouldn't be stable because like, if the ring got bumped, it would kind of just like fall into the sun. I think anyways, at least that's when I heard a talk by Larry Niven, that's what he said. So he's like, Ringworld is not practical. He had this other thing that was practical, but Ringworld

0:30:37.127 --> 0:30:38.740
<v A>wasn't practical, but, Oh, I see.

0:30:38.740 --> 0:30:50.320
<v B>Like it made an attempt to try to say like, Oh, it kind of makes sense that you would build a ring around the sun and everyone would live equidistant from the sun. And then it would spin to, you know, keep gravity. And like, anyways.

0:30:51.020 --> 0:31:03.486
<v A>Gotcha. So, it takes something that isn't true, but like formalizes it and builds the whole universe around it. And you see sort of what that parallel universe would look like had that thing. Right. So,

0:31:03.486 --> 0:31:12.936
<v B>Like stuff may try to travel faster than light, but then they'll impose some like arbitrary limits so that it's not like completely ridiculous. It's just a little ridiculous. Okay. Anyways.

0:31:14.480 --> 0:31:33.860
<v B>And so Leviathan Wakes is, I never know what to say without spoiling it. So just check it out and read it. It's a science fiction book about people in space in the kind of, I would say more near future. So people are kind of in the, in the solar system versus going between the stars.

0:31:34.958 --> 0:31:37.160
<v A>So, and that way it's kind of different.

0:31:37.440 --> 0:31:52.879
<v B>And this book is available on Audible. And if you've not checked out audibletrial.com/programmingthrowdown and get a free 30-day trial, which means you get a free book that you get to keep at the end, even if you don't.

0:31:52.879 --> 0:31:56.040
<v A>continue to get Leviathan wakes or you can get Godel Escherbach.

0:31:56.140 --> 0:31:57.480
<v B>Oh, did you check? Is it available too?

0:31:58.180 --> 0:31:59.360
<v A>I made an assumption.

0:32:00.560 --> 0:32:02.200
<v B>They have like a lot of books.

0:32:02.380 --> 0:32:11.100
<v A>So I'm sure Godel Escherbach is, is there unless it's so hard to explain. No, I don't see it there. So, Oh, okay. Nevermind then.

0:32:11.800 --> 0:32:30.860
<v B>Yeah. Jason was just psyching you up for something that wasn't there, but they do have lots and lots and lots of books to check it out. They probably have at least something you'd be interested in listening to and getting for free with this trial or check them out on Amazon or anywhere else as well. I'm not supposed to say that. Am I? Oh, well,

0:32:31.320 --> 0:33:52.879
<v A>Yeah, it's fine. To, to, to, to tool of the show. So, so my tool of the show is not that useful, but I think it's pretty cool. It's called cellauto.js. And, it's a library for cellular automata. So, for people who don't know, I think we've covered it in the show, but just in case, you didn't catch that episode. So cellular automata just means, you have some huge grid and you have some rule. The rule can only take into account, you know, a cell and its neighborhood, but that rule is tessellated across the entire grid to make up a single epic or step. So in other words, the most common one is the Game of Life where the rule is, if there's what is it like, five to seven people are in your neighborhood. So think about like a cell and, and it's in 2D. And so think about it like your phone, your numeric pad on your phone, and you're the number five. And so you have, you know, eight numbers around you. And if five to seven of those numbers are true. So we're thinking of each of these numbers two to three.

0:33:53.659 --> 0:34:49.880
<v A>Oh, it's two, three. Like if each of these cells is holding, like either holding life or not holding life. So if two to three are holding life, then you will, if you're not alive, if that cell has no life in it, it will flip and start having life. If there's more or less, if there's less and there's not enough to reproduce, if there's more than saturated and your cell dies, or if it was, if there's nothing there, it just stays in nothing. So it's a very simple rule, but because of the way it's tessellated across the whole grid, and then that whole tessellation is applied over and over again across time, it creates these really cool looking animations and interesting dynamics that just keep you mesmerized. So that's a cellular automata. So, what would be cool, you know, what would be cooler than being able to watch that on the internet just by going to a website and not having to, you know, download anything.

0:34:50.420 --> 0:34:54.910
<v B>Anything on Netflix. Yeah, right. Oh, no, no. I mean, nothing would be

0:34:55.028 --> 0:34:55.568
<v A>Cooler than that.

0:34:55.659 --> 0:34:56.699
<v B>Nothing, nothing.

0:34:57.460 --> 0:35:18.079
<v A>Wait, Netflix isn't in JavaScript. Oh, but it is on a website. That's true. Cell auto is pretty cool. You can, there's a bunch of different cellular automata. And so you can kind of play around with them. There's one that makes caves. They have one that has water that kind of like flows down as if it was, Oh,

0:35:18.220 --> 0:35:19.319
<v B>They do have the Game of Life.

0:35:20.160 --> 0:35:33.182
<v A>They actually have the Game of Life, which is pretty cool. They have this one called Forest Fire. That's pretty cool. Oh, wow. There's one called Cyclic, which is some kind of like color. This is

0:35:33.182 --> 0:35:41.660
<v B>Fascinating. Podcasting, listening to Jason click, click through each one and tell us what it's doing. Okay. Why don't you give us a play-by-play on ESPN? Oh, oh,

0:35:43.740 --> 0:35:53.719
<v A>Did I tell you, just random side note. I saw Magic: The Gathering tournament on ESPN at a sports bar the other day. No. And I thought, what were you doing at a sports bar? This is

0:35:53.719 --> 0:35:54.500
<v B>Shocking. Wait, go back.

0:35:55.700 --> 0:36:05.144
<v A>I went to a sports bar to watch the Stanley Cup Finals. And the people sitting next to me were watching Magic: The Gathering on ESPN. I don't know. Infinity

0:36:05.144 --> 0:36:08.181
<v B>Only in, only in California and San

0:36:08.181 --> 0:36:13.294
<v A>Jose. Silicon Valley. Yeah. And I mean, they were like really into it. I mean, at one point, I

0:36:13.294 --> 0:36:14.627
<v B>didn't know that was actually a thing. It's

0:36:14.627 --> 0:36:18.492
<v A>really on ESPN. It's, it was literally on ESPN. I

0:36:18.492 --> 0:36:19.820
<v B>mean, it was like just a highlight.

0:36:20.880 --> 0:36:59.080
<v A>No, it was like literally the entire match was being filmed on ESPN. And the announcers were very young. I mean, the announcers were maybe like 16 or something. It was unbelievable. I learned that as an announcer, they train you not to say anything negative because these announcers would occasionally mess up because they were so young. So this announcer one time said, Oh, this one person messed up, but then he went back and corrected himself and said, Oh no, this other person was did this very well to cause the other person to do that. So like, I learned that announcers always try to say just positive things. Anyways,

0:36:59.279 --> 0:37:14.819
<v B>I feel like they, I don't know. I tried Google searching 'Magic: The Guarantee ESPN,' and it seems like they did at one time, but I can't find anything saying they were doing it recently. I know they did broadcast. They do have the tournaments are broadcast, and people do watch them and announce them. And it's a big deal.

0:37:14.899 --> 0:37:24.591
<v A>but I'm pretty sure it was, it might've been another station. Maybe it was like MLG or something. Okay. I could have sworn it was like a big, well, you keep

0:37:24.591 --> 0:37:31.679
<v B>looking for that because I'm completely like, maybe they don't even show chess tournaments anymore. Do they? I've seen them on occasionally, but

0:37:32.100 --> 0:37:34.980
<v A>I've never seen a chess tournament on ESPN.

0:37:35.180 --> 0:38:19.660
<v B>I've seen Spelling Bee on ESPN. Did you really? Once I think anyways. All right. That's amazing. This is completely off topic. My tool of the show is a game that's been out on many platforms called Transistor. It recently came out for the iPad, and so that's where I played it. And so this is a game where you're a singer. Something has happened. You befriend a sword that talks to you and helps you try to discover kind of what happened. And it is similar to Fallout and what you were describing, Jason, which is the only thing that I've heard before. It's like, you can either play the battles out kind of in real time, or you can push this button and then enter kind of like a turn-by-turn fight sequence.

0:38:20.120 --> 0:38:20.520
<v A>Okay.

0:38:20.640 --> 0:38:51.025
<v B>And your sword talks to you. It's like the narrator similar is by the same company that made Bastion. And so, there's a narrator that kind of talks to you and says what you're doing. And then there's all these kind of cool side stories, I guess in the game where you like go up to a terminal and, you know, you can like vote in elections or like order pizza or like stuff that kind of has nothing to do with the game but kind of gives you the feel of what's going on in the world. Oh, cool. And so I'm not like this

0:38:51.025 --> 0:38:51.970
<v A>is the best game.

0:38:51.970 --> 0:38:59.040
<v B>Ever, but I'm enjoying it. So, maybe when I finish, I'll be like, wow, this is amazing. Um, so

0:38:59.040 --> 0:39:37.140
<v A>I feel like it's interesting. Like there's a lot of games, you know, like The Elder Scrolls, for example, where they have books that you can actually read in game, which have just a ton of lore and content in them. And I've never done that, but in Days X, they had these computer terminals where you can log in and they would kind of drop hints about the game, but they'd also have lore and those I would read, even if it was, you know, 20 pages or something. So it's, it's like a fine line, but if you get it right, it's actually really cool as a gamer to sort of like just, you know, experience lore. If you're into reading.

0:39:37.360 --> 0:39:55.440
<v B>Yeah. Well, I feel bad 'cause I had, I kind of panned both my Book of the Show and Tool of the Show. I really did enjoy both the—I'm enjoying both of them. Um, well, I finished the book and I'm playing through the game. I really didn't try. I just like, I need a caveat and everything can be five stars. These are both like, solid four stars.

0:39:56.900 --> 0:39:57.760
<v A>Cool. Cool.

0:39:58.520 --> 0:39:59.976
<v B>All right. Time for

0:39:59.976 --> 0:40:25.240
<v A>our discussion of languages. Yes. So, hopefully you had everyone out there had a rich childhood of messing around with something, you know, chemistry sets or, programming languages or what have you. Patrick, you're actually at least a second-generation computer scientist, possibly more. Yeah, if you include like mathematicians.

0:40:25.340 --> 0:40:30.280
<v B>No, my grandfather programmed on mainframes operating. Oh, nice. Third generation.

0:40:31.020 --> 0:40:53.420
<v A>My dad is an engineer, but my grandfather is a mathematician. And so we have kind of geekery in our family too. And so, yeah, growing up, like my cousins and I would do a ton of this, and it was just super entertaining. And I hope to one day—my kid's very young, but I hope one day he will get into this too.

0:40:53.420 --> 0:40:59.528
<v B>So the reason we're having this is if you didn't get it from the title, we're going to talk about various programming languages, targeting kids in

0:41:01.080 --> 0:41:02.211
<v B>a not creepy way.

0:41:02.900 --> 0:42:40.600
<v A>Yeah. Not that kind of targeting. So yeah, one of them is Logo. I actually got introduced to Logo through the Delta drawing program that came out on Atari, but basically Logo just—I mean, while I'm going to specifically talk about the turtle graphics part, 'cause I don't actually know anything about the rest of it. And Patrick can probably fill in the holes here, but there's a turtle graphics/turtle cursor part of Logo. It's pretty cool. Basically you had a little arrow and you could give that arrow instructions like go forward, but don't draw a line; go forward and leave a trail behind you, or turn. And there, I think there are other things too, but basically it sort of taught you to have this like psychocentric view where it's sort of like, you had to, you know, if the cursor was pointed down, you had to understand that turning right kind of meant that it was the cursor's right, not your right. And so you had to kind of sort of displace yourself and understand frames of reference and things like that. So it's pretty cool. It was very useful. Even I think learning to build that mental capacity was also extremely fun. Like I was able to draw—the book came with a bunch of things for you to draw to get you started. And then from there you could either cobble together the things that it told you to draw to make other things. Like I drew like a half horse, half monkey or something. You could do all sorts of stuff. Like there's one where it had you draw a car, and so then I was able to draw a bunch of cars on a highway. Just incredibly fun and highly recommended.

0:42:42.279 --> 0:43:04.892
<v B>Yeah. The one I used, and I don't remember exactly which one it had, of course the turtle and the drawing, but then it had other ones where you could do things like more like, ant kind of simulations where like they would leave pheromones and then other ones would follow the pheromones. So like you could simulate having food and like your home base and the ants would try to go out to the food and come back to the home base, and they

0:43:04.892 --> 0:43:05.939
<v A>would leave pheromone trails.

0:43:05.939 --> 0:43:48.200
<v B>And then they would kind of like other ones in a given square were more likely to move into a square with the pheromones than move in a random direction. And so then slowly they would kind of build up. And so then it was showing this agent-based simulation where like it's similar to what Jason was describing with cellular automata. Each agent is obeying the same set of small rules, but then together you get this emergent behavior that their answer randomly wandering around the screen, distributing hormone evenly. But then once one finds the food, it starts to head back home and leaves a more directed trail. And then another one will do it. Another one, another one. And then, you know, pretty soon they're all kind of going to and from the food source back to the home.

0:43:49.460 --> 0:43:56.920
<v A>Yeah. Yeah. I remember that. I played that same game. I don't remember the name or anything like that, but it's called Maze or something, but it's super fun.

0:43:57.200 --> 0:45:13.580
<v B>Yeah. And I guess every version of Logo isn't exactly the same. There isn't one standard. This is the Logo language. So all of them have added various features. And then they kind of teach making functions by using new words. So you can initially say like forward 90, and it'll go forward 90 pixels or whatever. But if you want to say like draw a square, I won't know what a square is, but you can tell it, make a square be the following steps. And here's a function parameter. Right? And so you can kind of start to build up your grammar of functions. And then that's how kids begin to introduce this very graphical way, which, you know, it's always, even when I was learning basic and stuff like that, was always the thing I wanted to do was like draw stuff, right? Like just draw pixels. And even it was when I was doing C programming early on and did like, the command line stuff, but I always wanted to be able to just like draw pixels and like make lines that moved and fill them. And it was actually hard for me when I was very young, because like in BASIC, it was very easy to do that. But in C, it's like, no, like I'd never had, it's still to this day. If someone came to me and was like, 'Hey, I want to learn C and I want to use it to just like do really basic drawing or like implement Pac-Man or something. I don't know how to tell them to get started quickly.'

0:45:14.160 --> 0:45:41.380
<v A>Yeah. I have no idea. I had the same thing where I went from making games in BASIC to, and we're kind of leaping ahead here. Cause I mean, we made big games in BASIC when we were on a 10 or 12 or something, but I went from making games in BASIC to trying to build a mud in C or just edit the mud that someone else was running in C. And yeah, it was the same thing. I was just, I mean, console was okay, but trying to do anything graphical is just almost impossible.

0:45:41.380 --> 0:46:07.969
<v B>So I saw that say, like, I think you'll see a common theme among these, but I think in general, like the graphics part is really easy for kids to grasp because at some level you're it's very visceral, like what's coming out as opposed to just text, which is kind of boring. Like you're seeing something and when it goes wrong, it still looks cool. Like, 'Oh, it went wrong,' but you have the opportunity to learn something, right? Because you see what happened and be like, 'Oh, I didn't realize that's what was going to happen,' versus just like crash. Right. Yeah. I mean, so

0:46:07.969 --> 0:46:31.000
<v A>if it crashes, it's almost impossible. Well, it's not impossible. It's other than syntax errors. It's very hard to crash one of these. I mean, they're kind of designed to be sort of very constrained dynamical system. And yeah, you'll make very unintended things happen, but you'll almost always see some kind of consequence, not, you know, a core dump or something like that. Yeah.

0:46:31.000 --> 0:47:19.080
<v B>So the really common one that I think now is Star Logo. Okay. And they just released a new one that has like OpenGL graphics. So instead of just the boring, like 2D palette on your screen and moving the turtle or cursor around, you actually have like a 3D view and more Minecrafty, I guess. I'm not sure that that adds anything, but it's there. And then I found a nice tutorial at turtleacademy.com and they have a web version of Logo. So they both teach you to write code in Logo, and like, you can run the examples interactively on their website. So that's really cool. So if you have like a niece or nephew or son or daughter or cousin or somebody or yourself are listening to this, then you can check this out. And it's pretty cool.

0:47:19.259 --> 0:48:10.360
<v A>I think the one thing that I saw when I was looking through a bunch of these, one common theme that I was like, especially fond of was that it's much more collaborative. Like you can actually have your turtle draw something and then post it to other, to this central website. Yeah. And other people can not only see your drawing but also recreate it. Like they could hit go and watch a turtle draw your car or whatever. And I think the whole collaborative part is pretty cool because when I was growing up, I mean, I made that the cars on the highway. Actually, I remember specifically I made cars on the highway and then I went to show my parents. And when I'd come back, one of my cousins had reset the Atari and it was gone. I was just so devastated. Yeah. I need to go back and redraw those cars and you need to play Final Fantasy VII.

0:48:11.980 --> 0:48:13.317
<v A>One of these things

0:48:13.401 --> 0:48:14.100
<v B>is not like the other.

0:48:14.840 --> 0:48:25.214
<v A>Yeah. But now, I mean, you know, everything is permanent. Um, I'm sure these, a lot of these are like Google Docs where, you know, you don't even have to save. It's just, there's, I wonder if I, I

0:48:25.214 --> 0:48:28.879
<v B>Bet there are people Twitch streaming, doing programming and Logo right now.

0:48:29.339 --> 0:48:34.339
<v A>Yeah, that's right. And it's much more collaborative and ultimately like way more fun.

0:48:34.540 --> 0:48:53.969
<v B>So the next one is especially big in that Scratch. Um, and so Scratch has a really big community online. And it was a project. A lot of these are out of MIT. MIT does a lot of work with getting, I guess, kid-friendly GUI-based programming languages. And, and

0:48:53.969 --> 0:49:37.520
<v A>Scratch. That came from—not to go too much on tangent, but in the, was it the fifties or the sixties when Sputnik was launched? I think it was the fifties. The government sponsored this gigantic program, which is an unbelievable amount of money to get the whole nation more into STEM. And if you want to know, STEM is Science, Technology, Engineering, and Medicine—math, sorry. And one of those, and so one of these grants was all around education and bringing forth like the next generation of mathematicians and things like that. And so, you know, part of that, a lot of that went to MIT, and that's sort of where all of these projects came from.

0:49:38.800 --> 0:50:41.000
<v B>Yep. So Scratch is different than Logo. Logo is a graphic representation of your program. But Scratch—sorry, you write in text, but the results are graphical in Scratch. The results are graphical, but you also program graphically. So with blocks and building up programs, and the really cool thing, which I think is also a great way to introduce programming, is not just making games. Like everyone wants to make games, and that's good. And like, there's a good Python way to get started in games—Game Against Pie game is what it's called. And it works really well, but you know, and that's good, but making games is actually pretty hard. Especially making games; people really want to play because people have very high expectations for games. Like they expect to be able to go to a menu and start the game, have lives or, you know, die or like progress, right? Have danger, have risk, and then have an end to the game, right? Like there's a lot of stuff you have to do before you can really call it a game. Right.

0:50:41.080 --> 0:50:41.600
<v A>Exactly.

0:50:41.899 --> 0:51:14.299
<v B>But what this Scratch uses a lot for, and I think is great, is animation. So if you think about it, you can kind of program your code to just run through a demo. So like demo scene would be similar where user input isn't really necessary. It just plays out something that you've programmed, but it could still be just as complicated as a game, but you can kind of build it up in a way that's more controlled. You don't have to worry about some of the same things. And even when you just have a short snippet, people kind of get it. It's like a short movie or whatever. Right.

0:51:14.359 --> 0:51:21.962
<v A>Yeah, exactly. I mean, a game, it has to hold your attention for a long time, but an animation can be just as long as you want it to be. Right.

0:51:22.400 --> 0:51:39.960
<v B>And so, allowing kids to kind of build little animated scenes in a programming language style is a great way to introduce that concept and not have to worry about people doing unexpected things. That's a whole other thing that is good to learn, but you know, one thing at a time.

0:51:40.560 --> 0:51:41.605
<v A>Yeah. Right. And

0:51:41.605 --> 0:53:05.153
<v B>So Scratch supports both. You can make games and use input. You can produce sounds, the animations; there's even a—it looks like a functionality to be able to use your webcam as an input. Not as familiar with that, but they promoted a lot for using in coding clubs, which I didn't have one in school, but we had one briefly that I started, which I'm sure was terrible, but that's fine. But we never had like a coding club, but I know it is a thing that people have, or even like a class. And so having this Scratch for even like elementary age students—so kids, you know, what would that be like? Seven, eight, nine, 10—I guess nine, 10, like third, fourth grade—that those kinds of age kids can begin to get started in this and kind of begin to grasp the concepts. And so, you know, if you've never seen it before, check it out. And the graphical representation kind of helps you see what should come next. Right? So like when you type a for loop into—you know, see, it's not obvious what should follow the for line or that. Oh, you need curly braces and the lines in between or whatever. Right? Like it's not immediately obvious just from the word 'for' that the next thing is going to be a loop. But when you have these graphical ones, the structure of the block of a loop is actually such that you kind of see like, oh, this thing is contained and is going to run over and over again.

0:53:05.153 --> 0:53:05.727
<v A>So it helps.

0:53:05.727 --> 0:53:06.620
<v B>You to think about programming.

0:53:06.820 --> 0:54:06.900
<v A>I think too. Like when we were talking a lot about, you know, kind of kids and people who are just starting, but even, you know, I'm one of these people. I tend to be like, kind of like take a bottom-up approach. And sometimes it causes you to not actually get what you want. Like you started off wanting to make a basketball video game. And what you end up with is, you know, one, one hundredth of a graphics engine, right? Because like, you just got so like bogged down and seeing how to open a window, how to draw a triangle. And that takes, you know, half a year. And yeah, so this way, you know, starting with something like this, it forces you, you know, it's, it's restrictive, but it also forces you to think about the high-level spot, the high-level part. And if, if you can't get it looking just right because, you know, the Scratch won't let you, it's fine. And just, you know, being able to live with that is pretty useful for anybody.

0:54:09.040 --> 0:54:29.629
<v A>Yep. So the next one is Lego Mindstorms. This is the kind of thing that every kid wanted, but I never knew anyone who had this. I didn't have these, but it looks so freaking cool. Like everyone knows about the Lego Mindstorms robot that can solve the Rubik's Cube and how amazing that is. But yeah, I never had one. Oh, I always liked

0:54:29.629 --> 0:54:32.840
<v B>of Segway ones, the ones that like to self-balance the inverted pendulum.

0:54:33.040 --> 0:54:46.217
<v A>Oh yeah. Right. So yeah, Lego Mindstorms is a combination as you might imagine of Lego and then various kinds of logic. Is it actually, there's a, there's a main

0:54:46.217 --> 0:55:12.319
<v B>blocks. There's like a big, larger block that has essentially a processor in it and a little LCD, and that's where you load your code. And then you can plug in sensors or motors to that hub. And from your computer, download the code that you want to run on it. And then you can build up a structure, a car, robot, whatever it may be. A Rubik's Cube solver out of Lego blocks with these actuators and sensors in them.

0:55:12.640 --> 0:55:20.060
<v A>How do you actually connect the sensor? So I guess you have to buy a very specific sensor where they have integrated. Right. So I think,

0:55:20.060 --> 0:55:25.469
<v B>I believe the way it works now is actually an I²C protocol. So people hack in other sensors now, but

0:55:25.469 --> 0:55:26.025
<v A>Yeah.

0:55:26.500 --> 0:55:35.320
<v B>Basically there's a special block that has a sensor in a wire, and then a special connector on the hub that you plug that block into.

0:55:36.280 --> 0:55:37.240
<v A>Gotcha. Gotcha.

0:55:37.520 --> 0:55:43.880
<v B>No, but yeah, basically it talks I squared C to that thing, and they just have like a small set of sensors they support. Well,

0:55:43.940 --> 0:55:45.347
<v A>Small is relative, I guess. Um,

0:55:45.940 --> 0:56:29.780
<v B>But the cool thing about this one is that they have of course a graphical programming language backed by LabVIEW, which I've—maybe we might could do a whole show on LabVIEW, but LabVIEW is a graphical programming thing all of its own by National Instruments, and is more targeted to like, I guess what you would call even serious programming. But they have a version. It backs this NXTG, which is used to program LEGO Mindstorms. And the cool thing there is like you're programming graphically. And just, like you would see your GUI and Scratch or Logo here. You actually see something in real world move, and inputs in the real world affect it. And so I think that's yet another great stimulation source for keeping people engaged.

0:56:31.040 --> 0:56:39.600
<v A>Yeah. Yeah. It's amazing. I wonder, can you actually make—I guess there's nothing stopping you right from making like a little car or something like that? No, no. I mean, does it have a battery?

0:56:39.800 --> 0:56:43.580
<v B>Yeah. So it has a battery and it'll move around. You can make line following robots.

0:56:43.820 --> 0:56:45.520
<v A>Yeah. Um, cool. Cool.

0:56:45.620 --> 0:57:19.140
<v B>And so then there's a lot of alternative languages that sprung up, and it's actually surprising how many there are. Like I went on Wikipedia to look at how many there were, and there's like—I don't want to say at least a dozen. So like you can code it, and see you can code it in like any visual basic, the—there's this RoboMind, which has a simulation part to it as well. So you can actually like simulate your robot moving around in a simulated world. And so you can write in like even real programming languages when you're ready; you can step to it from kind of these I won't call them toys.

0:57:19.140 --> 0:57:31.002
<v A>Oh, cool. So it's like a bridge. Yeah. So you start off just doing visual, but then you don't have the experience we had where you go from basic to C and it's just like your whole universe falls apart. Yeah.

0:57:31.280 --> 0:58:34.359
<v B>So I was reading—and Seth Shaw, a guy in Python who wrote The Hard Way, was talking about this. And he was saying like, he wrote The Hard Way for beginner programmers, and people don't understand what beginner programmers mean. They think it means like people who already do a lot of maybe like shell scripting or something, one to learn programming, or people who've done a lot of like Excel and—and it maybe did a little bit of dabbling with macros. And he's like, no, no, no. People who, like, you can't tell them type the pipe character. They don't know what the pipe character is. You know, they don't know how you would even get into manipulating files, like opening an editor, typing a file in, saving it to somewhere known in the directory structure, opening a command line, getting to that folder, right? Like that whole process would be foreign to these people. Like those are the people that, you know, we're really going to have to help. We can't just expect the only people who are worthy to learn programming are people who already know their way around a computer to a high degree.

0:58:34.654 --> 0:58:35.025
<v A>I never really

0:58:35.127 --> 0:58:39.859
<v B>thought about it. Yeah. Like, I guess I have a pretty high bar for where I would expect people to start before they learn programming.

0:58:41.359 --> 0:59:03.780
<v A>Yeah. I have the same thing. I mean, I guess the issue is, you know, we grew up in the DOS era where if you wanted to use a computer, you had to learn that. And so it, by, you know, the—because of that, it became a prerequisite. It's like you couldn't program if you couldn't use a computer, and you couldn't use a computer if you couldn't do DOS and DIR and pipe and all those things.

0:59:04.280 --> 0:59:07.020
<v B>But most people didn't want to use a computer when that's all it could do.

0:59:07.480 --> 0:59:12.100
<v A>Yeah. Right. Right. So that's why we have sort of the skewed view. It's interesting. So,

0:59:12.260 --> 0:59:16.220
<v B>Uh, yeah. Cool. So I think these things we're talking about are great introductions, and you have some others.

0:59:17.120 --> 1:01:16.440
<v A>Yeah. So I use this one a ton. It's called Author. Where apparently it was bought by Macromedia, which was bought by Adobe. And so it was called Adobe Author where, much later, but I used it when I was in high school or maybe even middle school. It came with my Packard Bell. So, it was pretty cool. Basically, it was this flowchart-based model where think about kind of like Flash, but the user experience is a little bit different. So you would, as you do in Flash, you have objects on the screen; you would animate them by dragging them around, things like that. You can listen to the user events, but instead of having sort of that timeline in Flash, which has all these objects that exist, you know, in time and exist in different states across time, things like that. In this case, it was all flow-based. So, there'd be some root node that would get executed. And then there'd be a node that says, 'Draw a car.' And that node would have a child node that says, 'Wait four seconds.' Then it would have a child node saying, 'Move the car,' so on and so forth. And then because you could have a many-to-one relationship, you could say, 'Okay, once the car has moved, then do these 10 other things.' So you can imagine how it's kind of like a tree structure. But yeah, I built a bunch of animations in it and stuff like that. It was super fun. Apparently, it's discontinued. So, yeah, so it got discontinued like 2003 or something. So, you can't use that, but you can use Adobe Flash, which is, you know, a very similar idea, and arguably better in almost every way. And Adobe Flash is a great way to get into programming because you start off just animating by, you know, literally just taking things you drew in Microsoft Paint or GIMP or what have you—Photoshop.

1:01:16.440 --> 1:01:39.979
<v A>Uh, dragging them into Flash, and then just moving around in time and then adjusting the scene how you want it at various points in time. And I have this animation. Then you start, you can learn about ActionScript, and you gracefully go from a pure visual environment to writing code. So Adobe Flash is pretty awesome. Definitely check it out if you haven't already.

1:01:39.979 --> 1:01:44.245
<v B>I've never used Flash before. I don't

1:01:44.245 --> 1:01:49.290
<v A>know why. Yeah. Wow. Really? I mean, I've used it. So

1:01:49.290 --> 1:01:53.979
<v B>I've used Flash before; that was poorly stated. I've never like written or authored any Flash.

1:01:53.979 --> 1:02:17.779
<v A>Yeah. You've never used Flash Studio? Yeah. I don't. Oh, you know, I think cause I have a minor in Digital Media. So for me, I had to take a bunch of classes. We were forced to use Flash. But yeah, if you take any like intro to digital media or anything, well maybe now it's different, but at the time they would teach you—they would definitely teach you Flash.

1:02:17.900 --> 1:02:20.965
<v B>I wonder sort of what is replacing HTML?

1:02:21.100 --> 1:02:38.060
<v A>HTML, HTML, HTML. Five obviously is replacing the technology, but what's replacing Flash Studio? Oh, in other words, like if I wanted to take someone who doesn't know anything about programming and get them into what I just—like recreate what I just described. What would I use?

1:02:38.140 --> 1:02:42.987
<v B>No idea. Put it out to the audience. I think, I think actually

1:02:42.987 --> 1:02:47.500
<v A>Adobe has Adobe Flash has an HTML5 exporter or something, but I don't know.

1:02:47.640 --> 1:02:50.879
<v B>Yeah. We'll ask the audience. If you are an Adobe Flash wizard,

1:02:51.540 --> 1:03:09.020
<v A>Let us know sort of what the next step is. I'm really curious. I mean, I believe Adobe can export to HTML5 now, but I'm not a hundred percent. I don't even know really kind of what that means because I'm sure they're not just completely compatible. But yeah, let us know. I'm curious.

1:03:12.315 --> 1:03:12.366
<v A>All.

1:03:12.366 --> 1:03:12.680
<v B>Right.

1:03:12.740 --> 1:03:37.879
<v A>So, are we got one more? So, Oh, just real quick. We have a Wikipedia link on our website which has list of educational programming languages. If you have a son or daughter, or if you want to look at one of these kind of beginner languages, I think it's really fun to do that and create some cool stuff. Check out our link. It has a ton of languages, way more than we could cover.

1:03:38.779 --> 1:03:46.439
<v B>Yep. And if you're too, if you're too leet for all of these, then try one of our other podcasts.

1:03:47.799 --> 1:04:05.185
<v A>Yeah. So, the feed burner, last time we talked, we were, I think it was like 200 people away from 10,000. We are now 140 people away from 10,000. We only gained

1:04:05.185 --> 1:04:09.235
<v B>60 people in a month. I know, right? I

1:04:09.235 --> 1:04:10.399
<v A>know. Well,

1:04:10.660 --> 1:04:13.437
<v B>Welcome to 60 more of you who this is your second episode.

1:04:14.200 --> 1:04:57.620
<v A>Yeah. Welcome you. 60 people to the show and everything. Super awesome. Either way, man, we're super grateful for having such an appreciative audience. One thing that I kind of struggle with and I'd be interested to your feedback is, you know, we have Twitter, people reply on Twitter and retweet and ask us questions on Twitter. People ask us questions on Facebook, and there's communications going on Google Plus. And I really feel like we should kind of bring this together. It's kind of silly that there's just like three separate discussions happening at the same time. So I don't really know what to do about that. If anyone there has any suggestions, post your suggestion all three times.

1:04:58.240 --> 1:05:04.332
<v B>I'm a social hermit. So you can mail me a letter and I may respond to

1:05:04.332 --> 1:05:22.624
<v A>You. Oh man. But yeah, I mean, I'm really curious sort of, you know, anyone out there, even if you have a small company that you run or something like that, like, well, how do you solve this problem where, you know, we have a lot of followers, but when you split it three ways, it just doesn't build enough

1:05:22.624 --> 1:05:24.720
<v B>of a core, or base.

1:05:25.120 --> 1:05:33.036
<v A>Yeah. It sort of dilutes everything like exponentially. Like I think if we could get everyone on one platform, it would be really special. There would be

1:05:33.036 --> 1:05:35.440
<v B>dozens of us. That's right.

1:05:36.520 --> 1:05:46.319
<v A>Oh man. So, yeah. Anyways, we really appreciate your support and thanks a lot for watching the show, listening to the show. Till next time. Yep. See you later.

1:05:46.320 --> 1:05:47.320
<v B>Bye.

1:05:47.320 --> 1:06:11.440
<v A>Bye. 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 an attribution to Patrick and I, and Sharealike in kind. Bye. Bye.

