WEBVTT

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

0:00:15.600 --> 0:00:21.023
<v B>Programming Throwdown, Episode 16: Build Automation. Take

0:00:21.023 --> 0:00:30.200
<v A>it away, Jason. Hey, so I've been working on a crazy hobby project that finally sort of culminated to a terminus.

0:00:30.320 --> 0:00:33.190
<v B>Is that redundant to say 'crazy hobby project'? Yeah,

0:00:33.190 --> 0:00:36.345
<v A>I guess that's true. All my hobby projects are very crazy. Yeah.

0:00:38.560 --> 0:00:42.620
<v A>This one didn't like crash or explode or anything, which is kind of nice. Oh, okay, good, good.

0:00:42.860 --> 0:00:46.760
<v B>That's a plus. And you finished? Yes, that's right, I did. That's an accomplishment.

0:00:47.160 --> 0:01:44.440
<v A>I guess I finished most of it. I have a little bit more to do, but yeah. Art is never truly finished. Exactly. But yeah, it's called Trivipedia. And so the idea is, you know, I only recently found out that you could download all of Wikipedia, like the entire text corpus of Wikipedia in one zip. If you're a glutton for punishment or want to break your bandwidth caps. Yeah, exactly. It's like an eight, nine gig zip or something. Oh, it's not that bad. And even better, you can download what's called the squid logs. And for people who don't know, Squid is like a proxy for like, you know, sending messages to different servers and caching and things like that. But long story short is you could download for all of the Wikipedia pages how many hits they received. Like the page you can popularity contest. Yeah, exactly. So I took the most popular Wikipedia pages. What was the most popular page? So the most popular page is Facebook. Oh! Which is hilarious. Yeah, I think that maybe.

0:01:44.470 --> 0:01:49.954
<v B>Well, this is still recent to the IPO, so. This was, yeah, 2011 data. So I

0:01:49.954 --> 0:02:18.660
<v A>think that like, maybe people are like, you know, because I noticed that Facebook's Wikipedia page is the second search result for Facebook. Oh! So yeah, I think a lot of people are sort of fat fingering it or something. Maybe. Yeah, and also a lot of, and we're keeping the podcast clean here, but you know, a lot of, you know, certain movie stars were incredibly popular on Wikipedia. They pretty much dominated the top 100.

0:02:19.536 --> 0:02:23.029
<v B>And I was kind of surprised because I know that's how the regular internet

0:02:23.029 --> 0:02:28.860
<v A>is distributed, but like I didn't really realize that. That's sad. Even on Wikipedia, it's the most popular thing.

0:02:29.120 --> 0:02:30.320
<v B>So what is Trivipedia?

0:02:30.760 --> 0:03:16.700
<v A>So yeah, Trivipedia. You can go to www.trivipedia.net. Oh, you should probably spell that. Yeah, T-R-I-V-I-P-E-D-I-A. Okay. Trivipedia.net. And essentially, I curated about 300,000 trivia questions from all this Wikipedia data for the most popular sites. So you'll get a question like, 'This person is like a young singer, blah, blah, blah, born this year.' And your choices might be like Justin Bieber or Justin Timberlake or something, right? And you'd have to like click on that. I'm going to do terrible at this game. Yeah. There's many different categories. There's like a side tech category and stuff. Yay! Yay! Yeah, it's pretty fun. There's also an Android app, and I'm just finishing the touches on an iPhone app.

0:03:16.960 --> 0:03:18.260
<v B>Maybe we'll hear more about that later.

0:03:18.620 --> 0:03:35.592
<v A>Yeah, totally. The iPhone app is going to use our tool of the bi-week. Oh, teasers. Spoiler. Teasers. Teasers coming up. So yeah, and maybe, you know, if I have $150,000 sitting in my back pocket, I can make a TL top-level domain for Trivipedia. Oh,

0:03:35.592 --> 0:03:45.019
<v B>Yeah. So I did want to say that I checked out Trivipedia. It was pretty cool. And I like that you can kind of be the trivia crowned champion of your area.

0:03:45.280 --> 0:04:03.182
<v A>Yeah, that's right. He uses the location. So, you know, in the beginning, you could be like, 'You know, Trivipedia Knight of Santa Clara County or Knight of Orange County.' And as you move your rating up, you can end up being, you know, there's somebody who just... I want to be king of, like, the Bieber questions. We're, like, studying

0:04:03.182 --> 0:04:05.494
<v B>about Bieber now? Just to, like... No.

0:04:05.494 --> 0:04:14.742
<v A>I want Bieber. That's a lie. That's a lie. But yeah, I think most countries now have a king or queen, which means there's at least one person. Oh, wow. Well, that's kind of an accomplishment. That's cool to see.

0:04:14.742 --> 0:04:16.100
<v B>Your work be used around the world.

0:04:16.320 --> 0:04:27.128
<v A>Yeah, yeah. Right now, the Emperor of Trivipedia, so the person with the highest rating in the world, is an American. But that's only recently; so he used to be a British guy, so there's a little

0:04:27.128 --> 0:04:36.020
<v B>Contention there. A British Emperor? I thought he'd be a king in... I don't know. Yeah, who knows. All right. So, like you were saying, so when you earn $150,000 from this...

0:04:36.020 --> 0:04:43.665
<v A>Yeah, I can buy Trivipedia.Trivipedia. Whoa! My mind exploded. So... Oh, go ahead. Oh,

0:04:43.665 --> 0:05:16.400
<v B>Yeah. So, still recently, we had a few articles talking about all the different top-level domains that were sold or being sold or what were being bid on. I guess they're going to go through an approval process. Yep. And so, top-level domain is a thing that comes at the end of a URL before the slash is specific to the website. So, like .com, .edu, .org. Like, these are the common ones. And then countries have their own, so like .ly, you know, or .co. So, some of these are more popular than others, but there's not... There's an innumerable amount. There's not too many.

0:05:16.720 --> 0:05:26.600
<v A>Yeah, and they usually represent something very specific. Like, you know, each country has its own, and then there's .edu for university. But it's not like... Up until now, it's not like you can just have anything.

0:05:26.720 --> 0:06:09.289
<v B>Right. But now, I guess, say, well, why? Like, why can't we just have anything, you know? And so, they're allowing companies to... If they can... There are certain requirements, so it has to be something that's, you know, going to be useful generally. And that also, I guess, they have to support, like, other people being able to have, like, subdomains and be essentially their own registrar to allow people to register. Although, it wasn't clear to me that they have to allow open registrations or how much they're allowed to charge or what restrictions they can put on it. Yep. So, a number of companies—Google, Amazon, and others—so this is fairly expensive, like $150,000 to get one of these. But they reserve some kind of crazy ones, like LOL or .blog or, you know, of course, Google, like, got Google.Google. So, you could do search.Google. You

0:06:09.289 --> 0:06:09.728
<v A>know, I assume.

0:06:09.728 --> 0:06:13.820
<v B>things like this. Or Amazon, you know, buy.Amazon or shop.Amazon.

0:06:13.900 --> 0:06:14.942
<v A>Mobile.Amazon. Yeah, so,

0:06:14.942 --> 0:06:23.080
<v B>and that's kind of good. Like, it seems like another layer of security. Like, I know I'm going to, like, if it's something .Amazon, like, I know it's the Amazon page.

0:06:23.159 --> 0:06:23.920
<v A>Versus, like,

0:06:23.920 --> 0:06:35.480
<v B>is Amazon.NET really Amazon? Like, I don't know. Yep. But maybe it's also confusing, too, because now, like, it's not obvious that if you want to guess a company's thing, you can't just add .com after the end of it.

0:06:35.719 --> 0:06:53.180
<v A>Yeah, yeah, exactly. And, you know, it used to be, you know, with so few choices, each choice used to have sort of intuition behind it. But now that there's going to be just so many choices, like, you might have .Amazon without the O. Like, these kind of things might sort of come down. Yeah, that's right. Make it shorter. Yeah.

0:06:53.360 --> 0:07:31.538
<v B>I don't know. One of those things, you know, you hear about when people talk about creativity or art or that kind of thing is that it's those restrictions, the limits, working in bounds. Like, that makes people very creative. So you end up with these, like, people ending, like, I remember Delicious was, you know, D-E-L.I-C-I-O.us. It's, like, impossible to remember. But, like, it is cool because, like, they use .us to, like, spell it Delicious or, you know, like, URL short numbers like bit.ly.ly. Like, these, I mean, they have ringy names and they're using. It's, like, you get this creativity. But, yeah, if you can have anything, like, you know, I guess there will still be creativity, but it's kind of different because the domain is so much wider open. Yeah,

0:07:31.538 --> 0:07:32.620
<v A>Yeah, exactly.

0:07:32.620 --> 0:07:50.995
<v B>So some people who missed out on investment and name squatting in the last round of top-level domains being opened are now saying this is a huge investment opportunity. What do you think? Should you go invest some money? So not buying a top-level domain, but once the domains start opening up, should you go try to register as many

0:07:50.995 --> 0:07:58.240
<v A>as you can on various top levels? So, yeah, so before there was, how many top levels do you think there were before? Maybe 1,000?

0:07:58.640 --> 0:07:59.365
<v B>No, I don't think.

0:07:59.365 --> 0:08:30.550
<v A>I was thinking, like, in the hundreds. Yeah. But now, I mean, there's effectively infinite, right? Because you can have any, as long as you have 150K and you're willing to, you know, construct a tiny bit of infrastructure you need to give domain subdomains to other people. You can have just about anything. So, I don't know. I think that there might be, like, a land grab in the beginning. But I feel like once people realize, like, the gigantic space of names that are possible, that, yeah, it's not going to be a very good investment. Yeah, it's hard.

0:08:30.904 --> 0:08:40.140
<v B>To say because it's always a strain to say this time is different, right? Like, oh, there's more, so this time will be different than last time. Well, maybe it won't be. Maybe it will be. Like, you can't know until afterwards.

0:08:40.340 --> 0:08:40.900
<v A>Yeah, it's true.

0:08:40.939 --> 0:08:51.137
<v B>There's some blackmail opportunities. Like, somebody registered, I think, sucks.dot sucks. Oh. So, like, now every company is going to want to, you know, have, like, Amazon.sucks so that they can control it and not you would

0:08:51.137 --> 0:08:54.968
<v A>say bad things about them. That's a great idea. But then to your point,

0:08:55.761 --> 0:09:14.480
<v B>with so many, what about, like, is horrible or, you know, or vulgarities or, right? I mean, any sort of, like, thing after that, like, why does it have to be, like, if you want a JSON.dot is awesome, what about JSON is super or JSON is fantastic? Like, the land grab seems different to me. Like, you could always find, it seems like something that would work.

0:09:14.720 --> 0:09:24.972
<v A>Yeah. Yeah, you're totally right. I mean, there's so many, like, permutations of just sucks or awesome. Like, there's so many other ways you can say that, right? And they're all available. Yeah. So, if you were going to

0:09:24.972 --> 0:09:31.992
<v B>create an app, like, let's say, Trivipedia, and you wanted to have it be freemium, what top-level domain would you choose to ensure a good success?

0:09:32.280 --> 0:10:48.660
<v A>Or do we know anything about that? I think we do know a little bit about the anatomy of freemium from this article, The Anatomy of Profitable Freemium. It's, I thought it was extremely interesting. You know, freemium is sort of the future of a lot of things. You know, games are becoming more and more freemium. You know, there's some games, like, for example, Diablo 3, where, although they did charge for the game, there's a marketplace where you can buy and sell items that you've, like, grinded for in the game for real money. And the way it works is Blizzard gets a cut of that. And so, you know, that's proven to be a huge moneymaker, I think, from articles I've read. And so they, most likely, when Diablo 4 comes out, they won't even charge for it because they'll just have this marketplace mechanic. So a lot of apps are going to the freemium model. It has obvious benefits, right, because it completely removes the barrier of entry. Like, let's say you think you have no faith in this company and, you know, you don't know if this is going to be a quality game. You have no history, no track record. It has no Metacritic. But it's free. You at least give it a shot. You'd say, let me, you know, make a character and just, you know, even if I got through the character-making screen and left, I'd have nothing to lose, right?

0:10:48.980 --> 0:11:48.360
<v B>Yeah, I see what they're saying. So I have played a number of free-to-play games or whatever, but I have less investment. Like, almost it's more of a waste of time because you, oh, it's a different experience. So you're going game to game. Like, I spend very little time in any one game because I have no commitment to it. I don't pay anything. So I download it. I play it for an hour or two or a day. And I never really get into it. It's like, oh, this control scheme is not amazing or whatever. Like, I never put investment into learning or playing it well. And I just skip to the next one. And I just skip to the next one. So, like, I'm still taking up my time. But in some ways, like, I feel like I would be more enjoyable paying for something because then I feel like it's sunk cost. And, like, I need to play it because—and then you could be forced into enjoying something that at first seemed not good. Like, you know, you read books or watch movies where, like, if you could leave at any time and there was no kind of barrier to entry of having bought it or rented it or gone to the movie theater. Like, after the first five or ten minutes, you might have just walked away or flipped the channel or whatever. But because you—like, you stick through it. And then it turns out, like, the movie is really amazing. And it's just, like, you needed to get through those first few minutes to accomplish what the director wanted.

0:11:48.960 --> 0:11:56.500
<v A>Yeah, that's a good point. I mean, if it is freemium, then you really have to impress people, like, from the first few hours of gameplay, I guess.

0:11:56.579 --> 0:12:08.640
<v B>But then doesn't it come down to, like, tricking people? Like, you show, like, all your features up front and, like, oh, you're going to get much more amazing features if you pay. But then, like, it turns out, like, oh, actually, this isn't that much more amazing.

0:12:09.220 --> 0:13:42.180
<v A>Yeah, yeah. There is a lot of that. I mean, a lot of these games—like, for example, I was playing one called Dungeon Fighter Online. And you pay money to get, I guess, more storage in your backpack. But, like, that just made the game, like, more cumbersome because a lot of the things that you hold you don't even need. So you could just—you're, like, actually better, more agile. You're just hoarding stuff or whatever. Yeah, yeah. It sort of appeals to your hoarding mechanic but at the expense of, like, actually being better at the game. So, yeah, I mean, it's one of these things that you really sort of have to get right. And nobody—there's no formula. There's no science yet. And so this is one of the few articles I was able to come across where they actually sort of try to put a science on it and explain, like, these are some models. These are some, you know, companies that have done well with it. Some companies that have done poor. One thing that was sort of like a motif across the entire article was that there's a small, small subset of the population, which they call whales, who subsidize the game for everyone else. No comment to their actual physical size. Yeah, exactly. And these few whales—so let's say, you know, 900 people or 990 people will play and not pay a dime. But then 10 people will pay, like, $1,000 or, like, hundreds of dollars each. And they'll basically subsidize the game for everybody else. Yeah. And that's true for games. And it's also true for programs like Dropbox and Evernote and things like that. So across the board, that's been one common observation. I thought that was really interesting.

0:13:42.199 --> 0:14:09.960
<v B>That is interesting. I mean, I think there's a balance. Like, if you like a service, you kind of should pay for it because otherwise you can't complain if it goes away. You weren't paying anything for it. Like, it's annoying. We've all had favorite web services or sites that go away because the author just didn't have time because they weren't making, like, Trivipedia. If you don't make a lot of money off of that, your incentive to keep it maintained is lower. Like, no offense. But, you know, if it's hugely successful, like, you're going to—you know, and people are able to contribute money or generate revenue for you in other ways, you're much more likely to stick with it.

0:14:10.080 --> 0:14:20.940
<v A>I mean, even, like, look at the inspiration of Trivipedia. Wikipedia itself is constantly in need of money. And they're constantly sort of, like, on the edge because they have such high bandwidth expenses and things like that.

0:14:20.940 --> 0:14:24.440
<v B>Maybe you couldn't monetize it, though. It's a fine balance to walk.

0:14:24.700 --> 0:14:53.579
<v A>Yeah, yeah. Freemium is—I'm sorry. Wikipedia is Donationware, which has its own set of interesting mechanics and everything. I have a feeling that, you know, when kids grow up, they're going to think that—what is it, Jimmy Wales? Uh-huh. That he is, like, everything. Because you'll search for, say, like, George Washington. His personal plea. And you see, like, yeah, his personal plea is the very first thing. So it's like—I wonder if you went to, like, a five-year-old and you said, who's George Washington? And you had a picture of him and Jimmy Wales. Oh,

0:14:53.579 --> 0:15:11.972
<v B>no. It'll be, like, the McDonald's arch as, like, most recognizable face. Yeah. Oh, that's right. So if you're trying out all these freemium apps and you've got to generate an account and create a password and, you know, what's to say that your password's not going to get leaked? Like, our next news story where LinkedIn linked a bunch of things. Yeah,

0:15:11.972 --> 0:15:56.809
<v A>LinkedIn totally busted, right? So—and, yeah, I have, like, a personal gripe about this because, you know, I was one of the people whose passwords were leaked. I got the email from LinkedIn. When I logged in, they told me to change my password, et cetera. Fortunately, I use—like, we use KeePass, which is actually something—I think it was a tool of the week. That was a Tool of the Week, yeah. Yeah, so my password—that password was just a throwaway. But in the past year, my LinkedIn, my joystick forum password, and my Twitter password have all been leaked. And, in fact, Twitter, they were able—I think we talked about this on our show, but someone went into my Twitter and my Facebook, which they both shared the same KeePass password. I don't know how that happened. But I think

0:15:56.809 --> 0:15:57.670
<v B>I—there's some reason

0:15:57.670 --> 0:16:50.060
<v A>There's a one in a billion chance, so you just got unlucky. Pretty sure there was some laziness going on there. But so, yeah, all these passwords got leaked, and someone went in and posted as me, and it was not pretty. But I had to clean all that up. So, you know, I personally am like—this is really upsetting because I use KeePass. I try and keep everything secure, and these passwords are constantly getting leaked out. But at the same time, I can understand them wanting to have an identity. You know, if you use, like, login with Google or something, then you sort of dilute your brand. You know, like LinkedIn—like, Facebook's not going to have a login with Google account and vice versa. You know? So I can see sort of both sides of it. I can see, you know, businesses wanting to have, like, their own identity of you. But then I can also see how, like, a lot of people aren't taking security seriously.

0:16:50.420 --> 0:17:05.355
<v B>A lot of apps on, like, on the iPhone and iPad and stuff—I know more about that than Android. But they seem to offer—well, those in some websites now offer both. Like, create your own account with that company or use, like, login with Facebook or login with Twitter.

0:17:05.355 --> 0:17:08.545
<v A>Which I actually like that. Yeah, like Stop Overflow does that. Oh, okay. So I

0:17:08.545 --> 0:17:19.540
<v B>I actually feel like that might be the best of both worlds. Like, hey, if you're too lazy, do this. But if you—you know, if you want to just create an account—because the problem is, like, some stuff is only with Facebook because they want to spam your board or whatever.

0:17:19.680 --> 0:17:21.720
<v A>Oh, yeah. But all of your friends. Yeah.

0:17:21.900 --> 0:17:37.120
<v B>So, like, that's annoying. So, like, you might want to create your own account. And then also if you don't have Facebook—you know, like, I don't have a Facebook account. Like, I think I do somewhere, but I don't ever, ever, ever use it. And so I don't—I wouldn't even know what the login is for it anymore. So I wouldn't—I would just probably ignore the website.

0:17:37.384 --> 0:17:38.025
<v A>So it's nice when

0:17:38.228 --> 0:17:42.840
<v B>they have an option to create your own and, you know, I can just generate something random and use and try it out or whatever.

0:17:43.180 --> 0:18:03.520
<v A>Yeah, yeah, totally. But, yeah, these passwords got leaked. If you use LinkedIn, supposedly they said although the passwords got leaked, no one's account was compromised because they know which passwords were leaked. And so they just locked down those accounts. And so if you got the email I did, the next time you go into LinkedIn, it'll just have you change your password. Oh, that's nice. That's nice.

0:18:03.740 --> 0:18:34.034
<v B>You know, that's something that I think companies are doing a better job. Security is still a big issue. But being upfront, like, hey, something happened to us. And so, like, hey, let's just reset everybody or, you know, let's let everybody know. Like, I feel like they're being much more responsible about that for the most part. I'm sure there's exceptions we don't hear about. Yeah, totally. But, yeah. So if you wanted to learn about security, you know, you might go and try to get a master's degree. But that's pretty expensive. So somebody should do something to offer a master's degree for, like, maybe, like, $100. Man, $100? You mean

0:18:34.034 --> 0:18:36.500
<v A>$100,000? No, $100. $100.

0:18:36.959 --> 0:19:23.224
<v B>That's what our next news article talks about. Sebastian Thrun, like, a crazy guy who I keep seeing pop up around the internet. Yeah. He's, like, he was a Stanford professor. He's, like, running his own online college now. Yeah. And, like, he also, I think he even works at Google. Like, I don't know how one person has enough time to do all of those things. But he, in an interview, was talking about that, you know, he wants to revolutionize online education, which I agree. I was talking to somebody about saving. So I have a young child. You know, my daughter's, you know, many years before she goes to college. And so one thing he began to think about is, like, should I start saving for, you know, college? Because although it's many years away, the earlier you start, the easier it is. But I don't even know. Like, I do, and I probably will. But I don't know that education will be the same for my daughter that we went through. Yeah.

0:19:23.400 --> 0:19:34.980
<v A>I think that, you know, as we move to online and things like that, the number of students that a teacher can teach grows dramatically. And I think the bubble on education might burst, you know.

0:19:34.980 --> 0:19:41.040
<v B>Well, not just the ability for a teacher to teach so many more people, but the best teachers can teach the people.

0:19:41.800 --> 0:19:42.445
<v A>I mean, I had

0:19:42.445 --> 0:20:07.320
<v B>a lot of teachers. I went to a great college, but I had a lot of teachers who, you know. And so if you could get the best teacher, and then, this sounds really bad, but, you know, just like other people, right? Like those teachers or whatever, become kind of teaching assistants. So because there are so many students, they have the same size class. But somebody else is doing the lecturing, and they're really there one-on-one helping people, going through the concepts in fine detail. Like, I think, in general, that could probably be a better model.

0:20:07.580 --> 0:20:08.600
<v A>Yeah, totally. Totally, totally.

0:20:08.600 --> 0:20:17.039
<v B>So Sebastian is trying to—he currently ran a CS101 where you built your own search engine, which I actually kind of wanted to do. I have

0:20:17.039 --> 0:20:18.240
<v A>to check that out. Like, just to do it. That's awesome.

0:20:18.270 --> 0:20:29.914
<v B>And then he did Introduction to AI, which, of course, Stanford also had one. But he did one, which was learning to drive—or learning to program self-driving car. Oh, nice. So I don't know if that comes from his Google work or not. Now, are

0:20:29.914 --> 0:20:32.783
<v A>these classes that anyone can just go to and participate in?

0:20:32.840 --> 0:20:44.106
<v B>Yeah, so I don't think there's any cost. So it's completely free. You go, you take the class; they have tests, they have homework. That's a pretty big commitment. I've done a couple, and I've never successfully finished them because I just can't bring myself to do homework, and I haven't paid anything to risk.

0:20:44.240 --> 0:20:45.660
<v A>You have like three virtual Fs.

0:20:46.160 --> 0:21:02.020
<v B>No, I have way more than three virtual Fs. It's horrible. But, yeah, so anyone can register. I mean, it lists like what are good prerequisites. So, like, if you're going to do CS, like, it's certain math and statistics you probably need to be able to be successful. You can probably pick it up if you're really dedicated to it.

0:21:02.260 --> 0:21:19.037
<v A>And you can totally go at your own pace. So let's say you take the class, and it turns out, oh, I don't have what it takes to take this class. You could take another class. Like, you could take algebra from iTunes U. There's 100 universities that have that online. And then go back, you know, with your new knowledge. Yeah, try again. So

0:21:19.037 --> 0:22:06.389
<v B>He's trying to do a world record setting. I forget how many. I think I believe it's in the hundreds of thousands. I don't have the article up in front of me, but hundreds of thousands of people he needs. And he's going to do an introduction to Statistics course. And he wants to set the record for most people in an online course. So this is pretty good. I encourage you if you're interested in Statistics. Statistics is something that I think in modern society that everybody has to have. You hear statistics thrown at you constantly to be able to do, like, expected value, to be able to do, you know, these kinds of things. You don't need to be able to do Bayesian inference or, like, crazy, like, complex all that stuff is really cool and very useful. But, as a person in a modern high-tech society, the amount of things that if you knew statistics would help you clarify or think through or attempt to make rational decisions is very important. It's

0:22:06.473 --> 0:22:37.480
<v A>Very important to know Statistics. Yeah, I mean, even just, like, basic causal analysis. You know, everyone's heard the cliché: if you flip a penny three times and you get heads all three times, what's the chance you're going to get heads the fourth time? Of course, it's 50-50 because, you know, there's no interdependencies. Just because you got heads the first three times doesn't mean anything about the fourth flip, right? And there's a lot more than just that simple rule in Statistics, which will really sort of give you good intuitions to make smart decisions.

0:22:37.560 --> 0:23:05.379
<v B>And then the subtlety to that, right? Like, if you flip a heads four times in a row, that fourth time is a head now. Like, you know, over the next, you know, in flips, it will revert to the mean, right? So chances are you will have less tails and head, but still any one flip is the same. So it's all this crazy stuff or one that always gets me, which I like, and they're kind of enjoyable logic puzzles, is if somebody has two kids and you know that one of them is a boy, what's the chance that the other one is a girl?

0:23:06.820 --> 0:23:12.440
<v A>If somebody has two kids and you know one of them is a boy, what's the chance that the other is a girl?

0:23:14.243 --> 0:23:16.302
<v A>I feel like I'm walking into a trap.

0:23:16.302 --> 0:23:39.040
<v B>Here, but I'm pretty sure it's 50-50, right? So it actually turns out it's not. It gets confusing. So let me see if I can do this correctly. Maybe I'll be wrong. So I believe that the reason why is because either one can be a boy. So the chance of the other one being a boy means that both have to be boys, which is a one in four chance. So the chance of another one being a girl is the other of that. So it's a 75% chance that the other one is a girl.

0:23:39.160 --> 0:23:40.460
<v A>Yeah, yeah, that makes sense.

0:23:40.460 --> 0:23:45.765
<v B>So it's because I didn't tell you the first one is a boy. Yeah, yeah. Was the second one. Either

0:23:45.765 --> 0:23:47.706
<v A>of them is a boy. So I told you

0:23:47.706 --> 0:23:50.260
<v B>only one, and I didn't tell you the position. Nice.

0:23:50.580 --> 0:23:52.026
<v A>I think that's right. Somebody's going to

0:23:52.026 --> 0:23:52.971
<v B>email us and tell us.

0:23:52.971 --> 0:23:54.300
<v A>Wrong. That sounds totally legit.

0:23:54.860 --> 0:23:55.992
<v B>So, okay, anyways, if

0:23:55.992 --> 0:23:56.970
<v A>you want to trick your

0:23:56.970 --> 0:24:05.712
<v B>friends, watch the puzzles. And maybe you could read about those statistics courses on your new Microsoft Surface tablet. Yeah, yeah. Maybe there's an app for that. Oh,

0:24:05.712 --> 0:24:06.700
<v A>Wait. Oh.

0:24:07.880 --> 0:24:10.020
<v B>You're giving away what our thoughts are about it.

0:24:10.020 --> 0:24:18.975
<v A>Yeah, at this point, that's a double spoiler. But, yeah, basically the Microsoft Surface tablet was announced. And I think you know more about this than me. Oh, well, I

0:24:18.975 --> 0:24:32.054
<v B>got trapped into one of my friends is like, 'Oh, are you going to watch it?' I'm like, 'Oh, okay. All right. I guess I'll watch the live announcement.' And this is, I think it was earlier this last week. We got messed up technical difficulties. So we're redoing some

0:24:32.054 --> 0:24:32.860
<v A>of these news stories.

0:24:33.404 --> 0:24:41.780
<v B>And we're never particularly on top of the ball as far as getting our news stories very timely. But that's okay because we like to talk about the broader concepts.

0:24:42.020 --> 0:24:42.567
<v A>Yeah, exactly. And

0:24:42.567 --> 0:25:58.640
<v B>you can find all of the links online in our show notes. Totally. But Microsoft had this live announcement. We're going to talk about this stuff. And then as soon as I saw what it was, I'm just like, 'Oh, fail. It's so disappointing.' It's like we've made something that's like more than a tablet. It's got this keyboard and a kickstand. And those are all really amazing things. But, you know, part of the allure of a tablet in my use is like it's simplicity. You do one thing at a time. It's very simple. If I want to do anything more, I'm going to get on my computer. Yeah. But I want my tablet to be simple and awesome and really good at what it does and, you know, be easy to use. And I can use it late at night when I don't want to have to do a thousand things and it has good battery life. And every time you try to make it do something a little bit more, you're sacrificing something else. You know, either cost, battery life, like something. You can't get them all. And then the fact that, you know, they're going to have like a lower end tablet, which the pricing is not quite out yet. And then a higher end tablet is going to be essentially a laptop. And it's just like they're going to have a full processor. Like how hot is this thing going to get? What's the battery life going to be? You know, and then, yeah, it's amazing. They showed it running Lightroom, which is a photo editing app. It'd be amazing to be able to run Lightroom on my tablet. But, you know, if it's going to have to do all these other things and the battery life is going to be horrible and it's going to be very expensive. And yeah, I mean, wasn't the claim that it can run any Windows app or something like that? I think that was one of the claims of the more advanced ones, like the Pro model or whatever.

0:25:59.160 --> 0:26:02.267
<v A>But I don't want my... So I mean, it's going to open Pandora's Box, right? I mean...

0:26:02.520 --> 0:26:07.860
<v B>Because now they have to support like, you know, all sorts of quirks from previous Windows versions and crazy things.

0:26:07.860 --> 0:26:43.180
<v A>I mean, I noticed like even switching between my phone and I have a Motorola Zoom tablet, you know, the apps will like, the compatibility varies wildly. Like an app that'll work fine on the phone will just completely bomb on the tablet. And it's not just the obvious things like the screen display being shifted, although that happens a lot. A lot of apps like, you know, you go to touch and there's some weird shifting going on because they weren't expecting the screen size of the tablet. But even just more subtle things like certain processes will just crash. Like there is this thing called Open Feint, which is a way to...

0:26:43.180 --> 0:26:45.440
<v B>Like a high scoreboard thing. Yeah, yeah.

0:26:45.720 --> 0:26:52.040
<v A>So like any game that had that would crash on my phone. Yeah, yeah. So it's like, it has nothing to do really with the display or anything.

0:26:52.040 --> 0:26:54.968
<v B>Yeah, so the iPhone one's not as bad as the iOS does. It's pretty good. Like I

0:26:54.968 --> 0:26:56.440
<v A>haven't had a lot of issues with that. My phone's good about that.

0:26:56.460 --> 0:27:02.494
<v B>But yeah, I mean, just the Windows thing, like, I mean, oh, it'd be so cool. I could run Quick 2 on my, you know,

0:27:02.494 --> 0:27:03.960
<v A>on my tablet. Yeah, I'm sure that'll be either.

0:27:03.960 --> 0:27:22.060
<v B>But it's like, oh, but what is the experience going to be like? Like in reality, although it's cool to do that, people need to have the tablet experience in mind. Like you want somebody to sat down and designed it. The more you try to make it do and the less custom tailored it is, like the less enjoyable it is to some extent.

0:27:22.200 --> 0:27:31.975
<v A>Yeah, totally. Yeah. You know what would be awesome is if they had it run the iOS simulator. Oh. And you could download it on iOS apps. Yeah,

0:27:31.975 --> 0:27:36.720
<v B>awesome. That's a word for it. So, but another cool thing, they have the cover that has a keyboard on it.

0:27:36.820 --> 0:27:37.965
<v A>And I thought that was pretty.

0:27:38.134 --> 0:27:50.580
<v B>Cool. But you know, I mean, anybody could do it. Like, it's not like an amazing leap forward. I feel like it's a me too, me too, you know. And then it has a kickstand on the back. You could flip out the little stand and it stands up.

0:27:50.820 --> 0:27:52.000
<v A>Yeah, no one's done that before.

0:27:52.140 --> 0:28:03.025
<v B>I much prefer having it without the stand. It'd be a little thinner. And then I'll just get a $10 aftermarket stand that is exactly the stand I want for my use case, you know. Yep. So,

0:28:03.025 --> 0:28:04.920
<v A>Oh well. But this one comes in hot pink.

0:28:05.280 --> 0:28:08.640
<v B>Whoa! No, no, no, no, no, no. You didn't tell me. Hot pink?

0:28:09.880 --> 0:28:12.300
<v A>I'm totally buying one now. Oh, man. Gotta get it.

0:28:12.560 --> 0:28:18.482
<v B>Okay. Well, anyways, I think it's time for our—I don't have a good transition. I was doing so good,

0:28:18.972 --> 0:28:34.429
<v A>But tool of the buy week. That's right. We made up for it by both saying that at the same time. It's awesome. So, my tool of the buy week is Apache Cordova, which used to be called PhoneGap. And this thing is pretty awesome. Basically, the way it works,

0:28:35.948 --> 0:30:02.820
<v A>is, you know, right now if you want to make an app for the phone, as I did with Trivipedia, you either have to write a separate app for every type of phone. So, in other words, you have to, you know, bust out your Java skills and write like the Android app in Java. Then you have to go to the iPhone and write like an Objective-C app. And then you have to go to Windows Mobile, and I don't even know what that is. That sounds like fun? Yeah, that sounds painful, right? Incredibly painful. So, fortunately, all of the phones support JavaScript. So, actually, you can write JavaScript code for the iPhone, and for Android, I think it pops up like a web view and launches your JavaScript, but it feels like a natural app. So, you can actually, you know, if you did it right, you can write your code in JavaScript and it would work across all these devices, assuming you had kind of the right middleware layer. And that's what PhoneGap is. So, PhoneGap, you take your—like, you write HTML and JavaScript as if you're making a website. And then what PhoneGap does is it converts your like website buttons and your website pull-down menus and stuff into the native controls. So, like, you know, if you were to say, like, click a link in a website and it takes you to a new page and then you have like the browser bar at the top. And that's not really the experience you want when you're making like a native phone app, right?

0:30:03.139 --> 0:30:03.360
<v B>No.

0:30:03.520 --> 0:30:17.704
<v A>This sort of obfuscates all of that. So, you know, it gets rid of the browser bar. It makes the URLs go to like not really go to real pages, but they sort of compact all the pages into like the application. So, it feels very.

0:30:17.704 --> 0:30:19.004
<v B>smooth and quick. There's

0:30:19.004 --> 0:30:19.206
<v A>no.

0:30:19.409 --> 0:30:22.900
<v B>loading screens or anything. Yeah, yeah. So, it's like it's storing locally all the pages.

0:30:23.160 --> 0:31:08.093
<v A>Yeah, exactly. It sort of does this compilation process, and it's great. You know, I had it. I tested it on, you know, I made the Android app for Trivapig already. So, I didn't need to use PhoneGap for that, but I did anyways. I built an Android version, and it ran pretty well. Oh, cool. Yeah, and I built the—I mainly used it for the iPhone version, and it went really well. So, pretty happy with the performance. So, are we going to see you on the App Store soon? I hope so. Yeah, I'm actually on the Android App Store already with the native Android app, and I should be on the iPhone App Store pretty soon. I have to, you know, save up for that $100 developer's fee that they want to smack me with. Okay. It's like getting hit with, like, a 40-pound trout. It's

0:31:08.093 --> 0:31:10.962
<v B>like, bam. That's a large trout. 40 pounds. That's

0:31:10.962 --> 0:31:14.240
<v A>a pretty big trout. That's a big trout. Getting a trout to the face is not fun.

0:31:14.280 --> 0:31:22.060
<v B>That sounds pretty cool. So, can you also run it on the website? Like, if you did it from the beginning, could you have it be, like, your main website as well? Or would that be awkward?

0:31:22.260 --> 0:31:45.060
<v A>Yeah, you can't do that. Okay. But I actually started from the web version, and, like, the very first version was just the website that I copied and pasted into PhoneGap. And that actually worked. It was concrete because it was meant for, you know, a desktop. So, you can't actually do PhoneGap for, you know, PC. But you can take your website and port it over, and it's close to the same.

0:31:45.240 --> 0:31:46.838
<v B>So, it gets two thumbs up for you? Two

0:31:46.838 --> 0:32:05.740
<v A>thumbs way up. And that's free? PhoneGap's totally free, open source. And supposedly, it'll even work on, like, Windows, Microsoft Surface tablet, which you are totally buying in hot pink. Yeah. With all the money you make from Trivipedia. Yeah. Yeah, if enough people buy Trivipedia, I will get a hot pink Surface tablet. Yay!

0:32:07.300 --> 0:32:14.960
<v B>That'll be our cover art forever. Yeah, exactly. If that happens, maybe we'll just go to the Microsoft Store and take a picture of you with it, and then it'll be our cover art.

0:32:15.080 --> 0:32:28.000
<v A>No, yeah, it'd be awesome. I think I'll do it. I'll have two. Like, you know how you see, like, those car commercials? People with two guns? Oh, no, no. No, where it's, like, a guy, and he's got two, like, Budweiser babes or whatever. Yeah, I'll have the two hot pink Surface tablets. Yeah.

0:32:28.300 --> 0:32:29.760
<v B>Okay, we won't tell your wife about this.

0:32:31.280 --> 0:32:31.962
<v A>I don't know.

0:32:31.962 --> 0:32:50.946
<v B>If she listens to this show or not, but my tool of the bi-week is Xbox Media Center, which is actually not called that anymore. Oh, really? Just XBMC. Oh, okay. Because it's not just for the Xbox anymore. Oh, yeah. So this was a project that, if I recall correctly, originally started out on the original Xbox, which is a PC, just without

0:32:52.718 --> 0:33:41.352
<v B>full Windows on it. Mm-hmm. And so they re-scripted it. It had like a program that would run, and you would have to hack it, and you could put this on there. And it made it into what it says, a media center. So you could, you know, play DVDs like a DVD player. You could, you know, add a hard drive in the Xbox. You could put stuff on your hard drive, and you could, you know, play MP3s and movies that way. Just a really flexible thing, and over time, it's just continued to support other platforms. And they did a really good job that some open source projects managed to do just amazingly well, which is kind of make a completely modular platform. So they're able to just have like this back end to run on the Xbox, but this whole front end, like UI and media manager and rating system and all this stuff that could be platform independent. Oh, wow. And this does allow them to kind of support even more than the original Xbox. Now I think it even runs on the Xbox 360. I'm not sure. But it'll run on your PC, so you can

0:33:41.352 --> 0:33:41.858
<v A>just run it.

0:33:41.858 --> 0:33:55.155
<v B>as like what they call a 10-foot interface. So, you know, something that you can use from your couch with a remote if you have it hooked up to your computer. And I think it supports like OSX, Linux, Windows. It also, I think they have a version of run on the Apple TV. So if

0:33:55.155 --> 0:33:55.982
<v A>you jailbreak your Apple.

0:33:55.982 --> 0:33:57.501
<v B>TV, you can run it there.

0:33:57.560 --> 0:33:58.480
<v A>Oh, you have to jailbreak?

0:33:59.120 --> 0:34:02.395
<v B>Yeah, you do have to jailbreak because Apple doesn't actually let you run any.

0:34:02.749 --> 0:34:03.593
<v A>apps, like download apps.

0:34:03.593 --> 0:34:13.300
<v B>On your Apple TV. I don't have an Apple TV, but I believe that's correct. As you can jailbreak it, you can run your own apps, and then this is one of the apps. Or maybe it's like an actual boot to it as like an operating system.

0:34:13.600 --> 0:34:15.777
<v A>Wow, you can even do it on the iPad. That's impressive. Oh,

0:34:15.777 --> 0:34:55.669
<v B>That's cool. So that's probably, like, actually two, maybe, like, same front-end interface thing, right? So what happens is you can just set up on a NAS, a Network Attached Storage, or just, like, a PC running, or even just internet, and just have kind of that as your back end, a source for media and data or whatever, and stream it to this XBMC client and just run stuff, play stuff. And it's cool because some of these devices are crippled, so you get an Apple TV, and it's like, I wish I could do a little bit more. Well, Apple TVs are pretty cheap. I think they're, like, $100. So, I mean, way easier to maintain and take care of it and still do what you want by installing this on there than running, like, a whole other PC and paying for extra power and all of that. Yeah.

0:34:55.669 --> 0:34:58.825
<v A>Totally. So that's kind of cool. And space. You know, PC takes a lot of space. Yeah, and

0:34:58.825 --> 0:35:43.409
<v B>Apple TV is very small. Or even, like, an Xbox 360 or an Xbox. You can buy them very, very cheap. So if you have an entertainment center and you can put one of these in there and for, you know, what does the Xbox sell for these days? Probably, like, $50 for a used one. You don't even care if it's probably got a broken optical drive if, you know, assuming there's another way to install the Xbox. You just need it to do one thing, right? So, like, you can get it really cheap. And then, you know, whatever the back end you have for your house, you can have all these different front ends. And it's just a really nifty thing. So check it out. Also, I use it as kind of, like, even just on my Windows PC at home instead of Windows Media Center because I have a TV Tuner card. And this doesn't support TV Tuner, at least not that I saw. I didn't really try that hard. But for just, like, general, like, watching movies or whatever, the Media Center on Windows is kind of terrible. So

0:35:43.409 --> 0:35:43.919
<v A>This is much better.

0:35:44.080 --> 0:35:45.974
<v B>And so I like this a lot. And so I

0:35:45.974 --> 0:35:47.200
<v A>use it to do stuff on there.

0:35:47.439 --> 0:36:22.204
<v B>So that's very useful. I've been thinking about—this is off topic, but so, like, decking my, like, you know, my space out with, like, all sorts of, like, front-end TV media players. It's actually really complicated to, like, not spend a lot of money and have something that my wife and, you know, one day my child and, like, other people that just come over or whatever be able to use. And not be like, oh, turn on this computer. Turn on the TV. Switch the HDMI port to this. You know, go over and do this. Like, it's really complicated. I want, like, a really nice. Like, I feel like there's a market there. Somebody, like, had a really well-thought-out, customizable system to do all this. Maybe

0:36:22.204 --> 0:36:22.720
<v A>It's not possible.

0:36:22.940 --> 0:36:23.779
<v B>Maybe I'm pipe dreaming.

0:36:24.080 --> 0:36:53.811
<v A>Yeah, because, I mean, for me, for example, I have the same problem where, you know, if you want to play the PlayStation, you have to switch over to HDMI, too, and you have to know that. That right there is hard. Then you have to, like, turn on a PlayStation controller. It boots up the PS3, all that stuff. But then if you want to use the PC, you have to go in the coffee table, get the wireless keyboard and mouse, switch over to PC, you know, turn on the computer, which it's a laptop, and we keep it closed. So you have to, like, open the lid, you know, turn it on, close the lid again. Yeah, it's just not feasible.

0:36:54.580 --> 0:37:32.033
<v B>Like, the general, like, DVD player, PlayStation, Xbox, like, that is okay. But, like, if you get something—I don't know if you ever used a Roku or an Apple TV, like, something that but that did this, like, streaming really well and had, like, an integrated back end, so I knew it was going to work. There's other stuff, like, Western Digital makes something that's a frontend. I think Roku even has some stuff. I mean, these people have things that will stream on the front end, and Xbox Media Center is closed. But then I still have to get a compatible back end and make sure the right codecs are installed or the right conversion or run, like, something and make sure it stays updated and on. It's just, I wish there was, like, some really nice, low-cost, like, maybe you should write one on your Raspberry Pi

0:37:32.033 --> 0:37:58.740
<v A>that you will get eventually one day. Like, somebody—oh, a friend of mine, a colleague of mine at work—he signed up for the Raspberry Pi around the same time I did, maybe a month before. And he got an email saying that they were going to ship it to him in, like, a month and a half. Oh, it's going to be forever for you. Yeah, so it's minimum month and a half. So I'm thinking, like, in three months I'll have one based on when I signed up and when he's. Of course, it could be a million people in between.

0:37:58.740 --> 0:38:02.408
<v B>So by programming through it on episode 100. Yeah, exactly.

0:38:03.620 --> 0:38:09.782
<v A>It'll be good. I'll have MAME running on the Raspberry Pi. Yay! By the time we run out of programming languages, I feel

0:38:10.356 --> 0:38:29.740
<v B>like recently that it's one of those, what is the thing, like, if you had talking about growth and, like, you tried to count something, like, it would grow faster than you could count it. So I feel like programming languages that way. We—there's a programming released more frequently than we do the show. Yeah. So, like, we even if we keep going, like, we'll never; it grows faster than we do.

0:38:29.740 --> 0:39:14.400
<v A>And it's, like, even if the, like, you know, if we were omnipotent and the number, like, the number—let's say—wouldn't grow or would grow very slowly. But as people write in and tell us about new languages and things, like our awareness, that number is growing much faster. Yeah, that's true. And I don't think, yeah, that we're never seeming to catch up. It's really good, which is great for the show. Oh, I mean, great. Yeah, it's bad for our queue, but it's amazing for the show. So, all right, well, on to this week's topic. So, this isn't a language. No, it's not. It's—it's actually sort of, I guess, a process, a concept? Yeah. Yeah. So, build automation. Yeah. So, what is the one thing everybody thinks of when I heard this topic, I thought of one thing: Make and Makefiles. Makefiles.

0:39:15.320 --> 0:39:18.126
<v B>It's just me. I dread Makefiles. Oh, man. Somebody

0:39:18.126 --> 0:39:55.140
<v A>starts talking about Makefiles, and I just want to stick my fingers in my ear and go, la, la, la, la, la, la, la, la, la. It's so bad. You know, if I get an error in, like, you know how most programs, if those—if you're out there doing Linux stuff, they'll say, oh, you know, to install this, just download the zip file and then run, you know, ./configure, and then make, and then make install. Yeah. If any of those three fail, I give up. Yeah. I just don't raise my hand. That's me. That's me. It could be, like, it could be so specific. It could say, oh, Makefile line 31. This if should really be an end if. And, like, I won't even—it's like, forget it. I'm not touching this thing. I'm not touching it.

0:39:56.779 --> 0:40:07.520
<v B>Yeah. Or if it's, like, sometimes you install a package and it's, like, you don't do ./configure. It's, like, something else. Like, oh, you have to go in and enter this. Oh, yeah. Enter your platform type. Like, no auto maker. I'm done.

0:40:07.720 --> 0:40:11.080
<v A>I'm done. That's so brutal. But it is a very hard topic.

0:40:11.440 --> 0:40:27.480
<v B>I mean, building complex—we talk about many modules, many people working on a common programming source base. And, like, how do you get all of that to build down into one, you know, let's call it a deliverable, an end item, a thing that you're going to use and run?

0:40:27.760 --> 0:40:52.700
<v A>Yeah, yeah. Totally. Yeah. I mean, it's completely vital, as painful as it is. There's just, if you think about it, you know, you can do, like, many build commands in a single command. Like, let's say you had three C++ files and you wanted to compile all of them into one object. You can do the -c and then the file name is -o, right? But, like, eventually you're going to run into something where you have to do, like, many different things. You have to follow some kind of recipe.

0:40:53.140 --> 0:40:55.815
<v B>Or, like, you need to build it for two systems. Yeah.

0:40:55.980 --> 0:41:20.402
<v A>Or, like, you need to build it with, you know, this library for Math or possibly this library for Math. Yep. Or you have two parts of it. You have the Math library and then you have the Graphics library. And then maybe you have a third part, like, the executable. It's, like, combinatorial. Yeah, yeah, exactly. And it's, like, the executable, you know, needs a Math library. And just, yeah, I mean, you need to have some way of, like, controlling the build process. And making

0:41:20.402 --> 0:41:25.040
<v B>Sure, so I've learned this the hard way, making sure everybody on the team is building it the same way.

0:41:25.500 --> 0:41:25.780
<v A>Yeah.

0:41:26.040 --> 0:42:15.960
<v B>So if you just let people, like, for instance, like, let's stick in the C++ world for a second. So, like, just use GCC to make it, right? Like, oh, I'm just going to do this from the command line. Like, well, what optimization level did you use if we're tracking down a timing problem? Or, you know, any other set of, you know, potential flags? Or, worst of all, like, different people have different things in their, like, you know, BashRC script or wherever. And, like, stuff is happening that they're not exactly aware of or don't remember. And, like, tracking down. That happened to me and a colleague of mine. I was getting an error. And nobody else on the team was getting the error. And it was only me. And I had submitted a fix, like a bug fix, because I thought it was a bug. And it turned out they all had something additional in their, like, setup script that I didn't have. And it turned out, I don't know if it was a bug or not. Like, it just, we got into a debate about, like, well, which way is the right way. But, for sure, everybody needs to do it the same way.

0:42:16.260 --> 0:42:29.560
<v A>Yep. Yeah, totally. So, we should probably go through the history. This is a, this has a pretty, like, crazy mixed up history why it's such a crazy mess right now. It's sort of, it's grown very organically.

0:42:29.820 --> 0:42:47.039
<v B>And I'm sure there's, like, even stuff we're not even going to talk about. Like, history is just kind of, like, a travel through time as opposed to a complete history. Because I'm sure there's, like, there was Jason's Make configuration script, right, that you probably had that was personal. And, like, that may have been the very first one. Or, you know, so this is, like, more of, like, an arrow

0:42:47.039 --> 0:43:40.397
<v A>through time. Yeah, exactly. Yeah, so, and I don't even know which one of these two came first. But the first ones that I know of are Make, which everyone, you know, if everyone here is typed Make, is almost certainly using BSD Make, which is, that's the one that everyone kind of should be familiar with. Then there's also gmake, which is GNU Make. And basically those two essentially do the same thing, which is they, you know, they parse the Makefile. And then they turn the Makefile into a bunch of commands. And so we'll get into sort of Makefiles and what those are and things like that later. But they sort of process the Makefile directly. So someone goes in by hand and writes the Makefile. And then these guys go through and, you know, as sort of interpreters, just as if you had written a Lua file or a Python file, these guys go through line by line and parse the Makefiles. So Makefiles

0:43:40.397 --> 0:43:41.039
<v B>there is kind

0:43:41.039 --> 0:43:42.940
<v A>of like the programming language of Makefiles.

0:43:43.140 --> 0:44:00.640
<v B>Yeah, yeah, exactly. Yeah, so in studying for this, it really brought to me like how much I, what is the right term, conflate? Like I put together the idea of Make and GCC. So GCC is an amazing set of software. It's so powerful. And in my mind, Make and like GCC are kind of linked. They're kind of one and the same. But they're really not.

0:44:00.779 --> 0:44:02.180
<v A>No, totally different. Yeah.

0:44:02.279 --> 0:44:09.642
<v B>Yeah, so you can use Make to do all sorts of other things if you really wanted to. In fact, it might be like Turing complete. I'm not really sure. But it's

0:44:09.642 --> 0:44:13.920
<v A>Close. So yeah, you can definitely do all sorts of crazy stuff with it for sure.

0:44:16.120 --> 0:44:22.820
<v A>Then there's, so then, you know, people quickly realized that Makefiles were kind of brutal to write. They get very long and very complicated.

0:44:23.140 --> 0:44:25.032
<v B>And they, the hard part about

0:44:25.032 --> 0:44:40.860
<v A>It is that there's so many sort of variables that you're defining. And then you're also like defining all of these rules. So a variable might be like the flags for this program are -O3 -P -G. That's

0:44:40.860 --> 0:44:43.260
<v B>A variable. That's not, those aren't the right ones.

0:44:43.720 --> 0:44:46.580
<v A>What? I'm just kidding. You're combining it wrong. You totally got me.

0:44:46.980 --> 0:44:47.740
<v B>Totally got me.

0:44:48.060 --> 0:46:00.561
<v A>We're actually recording the podcast like in the same room. And so like, Patrick could see the fear in my face. I was like, oh no, Dennis. So that's a variable. And then you also have, you know, actual rules. So for example, you know, whenever you have to do something, whenever you have a rule called that ends in .cpp, call GCC, you know, the rule name and then the rule name .o or something like that. And so Makefiles have both of these sort of intertwined. You could put a rule here. You could put a variable there. So these, a lot of these Makefile code generators like Automake and QMake and CMake, they try to sort of have this like data definition kind of thing. Like CMake, for example, uses key-value pairs for defining all of your variables. And so that makes it very easy to sort of visualize and see. And they even have groupings of variables. So you can see like these are my compiler flag variables. These are my path include path variables. These are et cetera. And then CMake also has the CMakeLists.txt file, which has the rules. But by kind of separating those two, it sort of makes it easier to understand. Yeah.

0:46:00.740 --> 0:46:28.379
<v B>So CMake also has like a GUI. Yeah. If you want to, I mean, you don't have to. But it also makes it easier to represent. And then they make their own kind of intermediate file. Like this is like the CMake description of what you are. So like you say, certain sorting is enforced or certain groupings are kind of taken care of. Yeah. But then, and then from then you can kind of compile, interpret, translate that CMake file into a normal Makefile. Right? And then it handles a lot of the boilerplate code, the organization, the complex branching structures you might want.

0:46:28.620 --> 0:46:54.966
<v A>Yeah. Yeah, totally. So that was sort of like the second phase. You know, they got into like the Automake CMake world. That's sort of the next generation code writing code. Yeah. It's getting scary. Code writing code. We must go deeper. That compiles other code. So now the more, the most modern is sort of this Ant Maven kind of stuff. And so. And so these are normally associated with like Java. So kind of like around the time like Java was coming

0:46:54.966 --> 0:47:04.259
<v B>Out. Because Make and GCC were kind of like kind of intermixed. And so this is an opportunity for people to kind of say, well, we're doing Java. So it's a different methodology. Yeah. We're going to kind of put in.

0:47:04.260 --> 0:48:03.520
<v A>And these ones actually take it a step further. So not only do they, are they sort of at a higher level as CMake and QMake and things like that. But especially in the case of Maven, it's also in the cloud. So you can say, hey, you know, I need the, like, I need the pill, the Python imaging library. You know, your Maven file can say that. And it can actually go to the cloud, find a copy of the Python Imaging Library, pull it onto your machine and build it without you having to, you know, distribute that with your code. You know, it's like the idea of adding that, pulling it in from the internet is in the build file. And so that I think is really awesome because one of the hardest things is, you know, distributing your code and then realizing, like, oh, I was using this version of free image. And now, like, Ubuntu 13 is on that version of free image and my makefile doesn't work anymore. Yeah.

0:48:03.680 --> 0:48:08.960
<v B>And knowing if you can have it pull, which I think it's able to do, pull the latest version, right?

0:48:09.120 --> 0:48:09.824
<v A>Yeah. So I

0:48:09.824 --> 0:48:43.100
<v B>keep pulling the newest version of Python Imaging Library. Like, it could be confusing in some sense. Like, oh, why did this not work or why did it stop working, or all these things. But on the other hand, it means that if your end user goes and grabs the latest stuff, you know it'll work. And then if something does break, you can go ahead and just fix it. Yeah. And if it doesn't, or you don't want to because there's some drastic change, you can always lock it in a set version. And at least it's explicit. Like, it's not that it was whatever Python Imaging Library I pulled on June the 2nd of the year. No, it's just, like, you know, version 1.6.3.4.2.1. A.

0:48:43.460 --> 0:49:04.971
<v A>Yeah. Yeah, exactly. So, I mean, and this keeps you from running into shared library hell or DLL hell as Windows people call it, where, you know, you were using this version of Free Image and you included it in your Makefile. And so even though this person has a higher version, which would have worked, now they have to build your version too, for your app. Oh, that points out

0:49:04.971 --> 0:49:13.740
<v B>another pet peeve of mine is people have version numbers and they'll have an upper bound on the version number. And even though there's no reason, it's just that was the highest version that was around.

0:49:13.965 --> 0:49:14.472
<v A>and they are,

0:49:14.472 --> 0:49:23.439
<v B>and you have a higher version, and you have to go in and edit to allow your higher version because you know it'll work and you can't find the older version. Yeah, this is brutal, man. Sorry.

0:49:24.000 --> 0:49:51.060
<v A>No, no, it's cool. And so now also, you know, sort of in parallel with the AntMaven stuff is you're starting to see more of the build process integrated with the IDE. So, for example, if you use Eclipse, if you create a new C++ project and you drag a bunch of files into some folders there, Eclipse is smart enough to look at the files, index the files, come up with the dependencies, and do all that good stuff, making things easier.

0:49:51.319 --> 0:50:00.085
<v B>Yeah, totally. Although, I guess, then when things go wrong, maybe it'll be like assembly. Like, nobody will know what the underlying how to get stuff built actually works.

0:50:00.299 --> 0:50:13.120
<v A>Yeah, I've had things bomb in Eclipse and it's just been brutal. I mean, it comes down to you have to remove files and add them back or remove a file. You know, keep removing files until it works, and then, oh, yeah, it gets ugly.

0:50:13.379 --> 0:50:17.517
<v B>Or when it's tied in as well with Source Control and then stuff gets all mess up. It

0:50:17.517 --> 0:50:31.700
<v A>can get really bad really fast. That's so bad sometimes. Yeah, so that's the history. As you can tell, it's still kind of a hard thing to deal with. But it's something that as software engineers and coders, we have to deal with on a daily basis. Yeah, you really get to know. Be aware of it.

0:50:31.820 --> 0:50:35.540
<v B>And you already kind of talked about, but I mean, like, if we didn't have this, it would be horrible.

0:50:35.800 --> 0:50:36.501
<v A>Yeah, that's right. This

0:50:36.501 --> 0:51:16.647
<v B>is better than the alternative. And there really are a lot of features that these things bring. So you kind of hit, like, dependency. So, like, this, you know, there's the concept that if I depend on module B, which depends on module C, I depend on module C. Well, you say, no, you don't. You just depend on module B. Yeah, yeah, but module B, like, there's this, you have to kind of walk this graph. And it's not just, like, one-to-one-to-one. I mean, they can get, you know, to many, to many. And so you could be expanding. Like, I depend on one project, which depends on five projects, which depends on each of those, depend on two or three more. You get this expansion that can get really big, really, really fast. And so something has to kind of go through and understand, like, oh, okay, I need to build this first and this second and this third and kind of come up with that whole structure.

0:51:16.880 --> 0:52:29.024
<v A>Yeah, I mean, imagine, like, if you did this yourself. Let's say you just had a .sh, like some shell script that just built all of your files. And then you had, let's say, like a graphics engine and a music engine and then your game engine with the executable in it, right? So you started off with, like, it built the graphics and it built the music, then it built the game. But then for whatever reason, all of a sudden, you know, you decided that, oh, I want there to be, like, I want the graphics engine to depend on the music for some reason. Like, if a certain music's playing, I want to play an animation and instead of writing an API, I'm just going to have, like, the graphics code import the music. Bad coder. That terrible code. Don't ever do that. Bad coder. But now you have to, like, rearrange your shell script. And, you know, in this case, with just three things, you would just move it down. But you can imagine this getting way, way out of hand. And also, your shell script doesn't self-document. Like, the fact that things are in a certain order, like, you know in your head that the graphics engine has to be built first. But the shell script just has three lines. I mean, it doesn't, inside, unless you write your own documentation there, it doesn't encode that one thing depends on the other. Yeah. That's right.

0:52:29.500 --> 0:52:53.864
<v B>And even just having a list of what all the things you depend on. Like you said, so if you're going to email somebody else at your source code or post it up to a source control somewhere, you know, then that way you can kind of say, like, hey, this is all the other stuff you need as well. And some languages have kind of batteries included features that make that easier than others. So, another thing you talked about a little is the kind of cross-compilation or even just, like, for 64-bit versus 32-bit or, you know, like,

0:52:53.864 --> 0:52:54.674
<v A>I need

0:52:54.674 --> 0:53:16.060
<v B>big endian versus little endian. Like, all of these things. Like, you know, you may support all of those features in your program, but you've got to pass the appropriate flags to you, to the compiler, to possibly the operating system. Like, you know, all these different things. And sure, you can do that, right? Like, you could write that file. But it's much nicer to have a tool to help you write those things and to keep them organized.

0:53:16.380 --> 0:54:04.030
<v A>Yeah. And in, like, in the same way as most languages are written in themselves, you know, we've talked about that every now and then where, you know, Python comes batteries included. So, a lot of the things in Python, like the entire standard library, is written in Python. So, in the same way, a lot of, you know, a lot of make files reference things that are also written in Make. That just kind of comes standard. So, for example, going back to your example of big endian versus little endian, they've already done the grunt work of calling the sort of crazy kernel-level libraries to figure out if your machine is big endian without you manually specifying it. And you just have to say, like, is big endian or something. And some, you know, the make file, you know, program writers have dealt with that problem for you. So, that's a good

0:54:04.030 --> 0:54:04.755
<v B>point. Because depending

0:54:05.025 --> 0:55:40.656
<v A>on what machine you're compiling it on, not just compiling it for. Yeah. Yeah. Yeah. I mean, you might say, like, I just want to compile it for this machine, whatever it is. And so, you know, if you don't know what OS call to make to learn all of the intrinsic properties of this machine, you know, the make file guys, they do. And they've done all that. Yeah. So, yeah, another big part of make files are using conditional logic. So, for example, FFmpeg is a popular, like, MPEG encoding, decoding library. And they're constantly under fire from, like, the, was it RIAA? Oh, okay. Yeah, yeah. And other, like, organizations that are against sort of re-encoding of music and things like that. So, what FFmpeg has done is they've structured their make file in such a way where you can pass a flag called, I think it's enable non-free—dash dash, enable non-free. And if you pass that flag, they'll give you all of the codecs, like MPEG4, which are sort of in dispute and are not sort of, like, are under patents and things like that. If you want to be on the safe side, let's say you're a big corporation and you're worried about getting sued and things like that, you can not put in that enable non-free flag in the make file. And then they won't be in the code. And then that stuff will be out of the code. And so, this is really important for FFmpeg because they want to make sure that, you know, not only can you not use this, but it's literally, you know, not in your code. Like, the code's not in your object, so you can't get in trouble. Yeah.

0:55:41.300 --> 0:55:46.160
<v B>No, that's pretty good. So, we already kind of, I think we spoiled most of the strengths talking about features.

0:55:46.500 --> 0:55:46.700
<v A>Yeah.

0:55:46.700 --> 0:55:56.282
<v B>But one in here that is good, you're talking about, is also, you know, even if you could write shell scripts for all this stuff because you were an awesome programmer, which you are. Likewise.

0:55:57.439 --> 0:56:02.899
<v A>No, that's not true. You're wearing a Nintendo controller T-shirt, so I have no, my argument is invalid.

0:56:04.740 --> 0:56:06.964
<v A>So, parallelizing and

0:56:06.964 --> 0:56:08.466
<v B>distributing. I mean, this is something that

0:56:08.466 --> 0:56:09.782
<v A>if you were going to do on your own,

0:56:09.782 --> 0:56:41.170
<v B>it would be like, you'd have to write your own library. I mean, it'd just be crazy. Yeah. But here, the Makefiles can handle, like, once they know the dependency graph and they walk this, they can say, this build can go on on a different machine than this build because it's not needed until this step. And so, it can kind of chop and slice and dice it, you know, eight ways between here and there and say, like, this is our plan. This is how we're going to compile everything. And so, use things like distcc, distributed GCC, like these kinds of things. Or even just, you know, you have multiple cores. Handling all this is very complicated and can be quite complicated, and Makefiles can really help you with that. Yeah.

0:56:41.440 --> 0:57:12.962
<v A>I told you, like, if you've ever done the whole, like, configure, make, make, install stuff, you know, unless somebody has written their Makefile wrong, but assuming that someone's put the dependencies where they should have and everything, you can replace that make with make -j and then the number of cores. Oh, that's obvious. -j. Yeah. For JSON. For jobs. Oh, for JSON. Yeah, indeed. So you can have, like, eight JSONs, like, in hamster cages, just, like, running away in parallel. I want a JSON in

0:57:12.962 --> 0:57:14.025
<v B>my computer to compile

0:57:14.025 --> 0:57:14.960
<v A>my code for me.

0:57:15.220 --> 0:57:16.280
<v B>Oh, that'd be pretty awesome.

0:57:16.480 --> 0:57:18.582
<v A>That'd be a horrible job. I want a JSON in my computer, too. Oh,

0:57:18.582 --> 0:57:21.779
<v B>okay. I don't know why. That sounded really vain.

0:57:22.900 --> 0:57:35.460
<v A>I would like a Jason inside of every computer. Actually, I just want the Argonauts. Jason could stay out, but I need an Argonaut in every computer. Isn't that like a one and an Argonaut zeros? Like, the biggest number ever.

0:57:37.060 --> 0:57:58.339
<v A>You lost me. I don't know. I think you went over my head. I'm searching Google now. Yes, an Argonaut is one followed by an Argonaut zeros. I'm totally making that up. So you could do make-j8, for example, and it'll automatically know sort of like what depends on what, and it'll use all eight of your cores. Wikipedia says Argonaut is an ancient Greek civilization. And

0:57:58.913 --> 0:58:00.480
<v B>I want eight of them.

0:58:02.000 --> 0:58:05.440
<v B>Oh, there is a sailor in Greek mythology, Jason and the Argonauts.

0:58:05.560 --> 0:58:09.680
<v A>Yes, indeed. Indeed. Okay. Sorry, continue.

0:58:13.200 --> 0:59:15.180
<v A>But yeah, so you could totally make your makes build super fast. Make, make. You can make your make, makes. Yeah, and also, as Patrick was alluding to, there's DiscCC, which is that's actually kind of a little tricky to set up. So, you know, unless you're doing a ton of building, you know, I wouldn't go that route. Or you have a server farm. Yeah, yeah, but if you or you want to use EC2 for that, if you have lots of money. But yeah, you could totally install DiscCC. It's like a wrapper around GCC. And let's say you had like four computers in the house. You could put DiscCCD, which is the DiscCC daemon, on all four of those computers. And then when you did make, I think it's like, I forgot the flag, but there's a way you can put into make where it'll actually farm out your make, which is pretty awesome. And you also won't have to heat your house. That's true, yeah. You can just heat the house with induction from your processors that are just on fire.

0:59:15.580 --> 0:59:26.880
<v B>Or like you said, if you're rich and you have a lot of money, instead of starting up this on EC2, you could just send the money to us and Jason will compile it for you. Yeah, exactly. There will be eight Jasons.

0:59:29.280 --> 0:59:36.840
<v B>So weaknesses. We already talked a little bit about sometimes just because of the job, the nature of the job, make files can get incredibly complex.

0:59:37.040 --> 0:59:40.280
<v A>Yeah, so complex. It just yeah, it can get ridiculous.

0:59:40.500 --> 0:59:50.380
<v B>So also, I mean, it's another layer between you and the compiler, and so that can kind of obscure things, which is great. I mean, you want to have an abstraction, but at the same time it can kind of hide errors from you.

0:59:50.660 --> 1:00:18.900
<v A>Yep, totally. Yeah, I can't count the number of times that I've gotten errors, and just I try to compile some open source app, and I get an error, and you know, there might say like something really crazy, like oh, can't find like some file with like ten different, you know, sets of ellipses in front, because make has like stepped through all these directories, and then like now is referring to a file relative to somewhere else that I don't even know of, you know. So, yeah, it can definitely make things really hard to debug, so.

1:00:19.120 --> 1:00:23.799
<v B>And because of all that, you end up with the one guy who you know who's really good at this.

1:00:23.852 --> 1:00:24.105
<v A>Yeah.

1:00:24.105 --> 1:00:44.540
<v B>Exactly. And he's the only one who helps you put some awesome code in your Makefile that you do not understand, and nobody else has either. And then eventually that person leaves, forgets whatever, and you end up with what I call 'code black magic.' Yeah. That's those lines of code that you have in a lot of historic legacy programs, which nobody quite knows why they're there or what they do, but don't take them out or it will break.

1:00:44.660 --> 1:00:52.120
<v A>Yeah. Yeah, I actually saw something in a Makefile where it said, like, error one is okay here, and then it returned two.

1:00:53.820 --> 1:01:58.977
<v A>And I'm like, should I be worried about this? The answer is probably yes. Yeah. So, yeah, fortunately, there's a lot of tools to sort of help you navigate the painful experience that is the Makefile process. Yep. You know, one of them is Automake. Automake's very popular. Actually, do you know anything about Automake? No. Like, I've used it a lot. Yeah, same here. Never used it. Oh, really? I've gone in and, like, because sometimes it tells you type 'automake', and automake, it's such a complicated mess, but automake creates the configure that then you have to call to create the Makefile. Oh, man. That you have to call make on to make. Yeah, it's crazy. I need to go take pain medicine. Yeah. Somehow Automake is better than writing Makefiles. I don't get it. But one that I have used a ton, and I swear by it, I think it's great, is CMake. Mm-hmm. You know, I mentioned most of the good things about CMake with separating the variables and all that, but CMake's a great one. I've used a little bit of QMake for doing, like, Qt apps. Oh,

1:01:58.977 --> 1:02:00.299
<v B>Okay. All right. That's where I've seen it before.

1:02:00.520 --> 1:02:09.254
<v A>Yeah, yeah. And I think NMake is the one that Microsoft puts out. Yeah, yeah. I've used that. So pretty much star make. Yeah, yeah. Is there any character

1:02:09.254 --> 1:02:11.720
<v B>here? Make? Yeah, exactly. You need a JMake?

1:02:12.180 --> 1:02:38.880
<v A>Yeah. Oh, yeah. It should be the next one. Argo make. So, yeah. As we mentioned, Ant and Maven are tools. There's also Premake, which is kind of interesting because it uses Lua, which we talked about in the last episode. Yeah. So you actually write Lua code that generates the Makefiles, and I've used Premake. It's decent. I still prefer CMake, but Premake's good. Playing favorites over here. Yeah, exactly.

1:02:39.500 --> 1:03:29.984
<v B>So one of the things where they're kind of like, you know, sticking with our typical outline, I guess, we're trying to come up with some uses, and we talked about, I mean, obviously, to help build your file. That's the main use of a build system. But some things, you know, to kind of give you guys nuggets of inspiration, you know, things to think about, things you may never heard about. You may say, 'Oh, this is old hat,' Jason and Patrick, and you're like, 'Oh, that's great.' But some of the newfangled things that young whippersnappers are using, you know, like continuous integration, right? So, you know, the idea that, yeah, you might be able to type GCC blah blah blah really fast. But, you know, one thing is that you might not type it every time you make a code change or every time you push a change even. And so more and more, it's important, the idea of, you know, building your system continuously, what the code that's checked into the repository, like what is it? You know, is it successfully built? Will it run the unit tests? Yep. Does it have unit tests? Yes is the

1:03:29.984 --> 1:03:31.040
<v A>right answer there. Yeah, exactly.

1:03:31.580 --> 1:03:36.020
<v B>You know, does it have system tests? Does it have end-to-end tests? Does it have, you know, just all these kinds of tests?

1:03:36.520 --> 1:03:56.039
<v A>Yeah. So to put what Patrick's saying, like, more explicitly, like if you, let's say you have, like, Subversion or Git or something like that, you can actually write something on your server side, I think it's called a hook, a Git or Subversion hook, where every time somebody checks in code, it runs the Makefile. And then it runs make test, and then it runs make system test. This is

1:03:56.039 --> 1:04:04.700
<v B>Perfect. I just say a bunch of words, and then you, like, executive summarize it for me. I do need you in my computer. Like, I can write an email, and then you can write TLDR.

1:04:07.240 --> 1:04:08.180
<v B>All right.

1:04:10.520 --> 1:04:29.991
<v A>But yeah, I actually only recently found out about Continuous Integration stuff because that's something I hadn't been privy to until recently. It is pretty awesome. Actually, I got the email nobody wants to get, which is the, oh, you broke the build. You broke the Continuous Integration. Yeah, you submitted code that now causes everyone

1:04:30.396 --> 1:04:34.960
<v B>else to. But that doesn't happen if you have perfect unit tests and perfect peer review.

1:04:37.080 --> 1:04:37.180
<v B>Yeah.

1:04:39.100 --> 1:04:42.520
<v B>Which everybody has. Of course. Nobody ever makes mistakes.

1:04:42.920 --> 1:04:45.432
<v A>No. Yeah, yeah, definitely. I

1:04:45.432 --> 1:04:48.020
<v B>don't. That's a lie. I can't remember last time.

1:04:48.020 --> 1:04:48.540
<v A>I do regularly.

1:04:49.080 --> 1:04:58.088
<v B>I also have a terrible memory. The worst is I got an email because I did this, and I got an email not from my own team for breaking the build, but from another team who depended on our team. Oh, those

1:04:58.088 --> 1:04:59.033
<v A>are the worst. So

1:04:59.168 --> 1:05:11.080
<v B>then they're like, 'Hey, what are you doing?' And we are a little bit more sheltered in how we do stuff, but they have to meet certain requirements. When something breaks, it's a big deal for them. And I broke it.

1:05:11.560 --> 1:05:28.969
<v A>Nice. Yeah, I broke something in just a terrible twist of fate or coincidence. It happened to be the hour that they were cutting their release for the month. Oh. And I just happened to break their stuff only minutes before. Oh, tsk, tsk, tsk. Yeah, I actually got a

1:05:28.969 --> 1:05:30.032
<v B>phone call. They

1:05:30.032 --> 1:05:43.360
<v A>called my cell phone. Oh, wow. It was not pretty. The alternative to that is they cut the release, and then it's broken to the customer. So still make files incredibly useful for that kind of stuff.

1:05:43.580 --> 1:06:12.620
<v B>And also for source distribution or package management systems, so things that are going to hold for people on all sorts of platforms and versions of the OS and all this, and for them to be able to download from a common area. So like Ubuntu software, probably you go in there and say, I want more apps, or I guess applications. Here's my software. I'm going to download it. So they can get compiled for your system. Sometimes they're pre-built. Sometimes you can have the people build it themselves so that it can be specific for their platform and highly optimized.

1:06:13.080 --> 1:06:14.120
<v A>Yeah, totally. Totally.

1:06:14.799 --> 1:06:23.560
<v B>Well, that's all I got for this week, the fun topic that everybody loves of build automation. But it is important, and when it goes wrong, it goes wrong.

1:06:23.799 --> 1:07:01.660
<v A>Yeah, I mean, I think many people who watch the show are still in college or in high school. And so I think that it's hard to appreciate. One person was in elementary. Really? No, I don't know that. Oh, okay. I made that up. I was impressed. So they, you know, it's hard to sort of appreciate this, you know, build system and build automation because a lot of times you're working solo. But you quickly find when you work with a team, things as what Patrick mentioned were. You know, I had something recently where I was using a different version of Java than somebody else. And so like my code worked on my machine, didn't work on theirs. And so, you know, these kind of problems are just multiplied when you use Makefiles, you know.

1:07:02.220 --> 1:07:40.037
<v B>Like, oh, go ahead. I'm sorry. Yeah, I was going to say too, like the earlier you start learning to use these tools. Even if you are a solo team, even it's overhead you don't really need. But like especially if you are not yet working in the industry of software. Yeah. Software industry. Wow, I said that poorly. I think it works. As long as if, you know, if you're not yet there and you say, well, why do I care? I don't work on a big team. I work by myself. Yeah, yeah. But if you learn these things now, when you go to work, like it's going to be people are going to think you're that much more genius when you show up, you know. Like you get through the interview, that you show up and like, oh, we have this thing people don't know about. It's called Continuous Integration. You're like, oh, no, I use that on my, you know. Like you'll know about it. Even if it's not the same form, even if it's not, you'll, I mean, ideas will be there. And you'll be

1:07:40.037 --> 1:08:06.759
<v A>that much more productive that much sooner. And one thing I've noticed from looking at like old code is even if you're working by yourself, if you go back and look at code you wrote, say, two years ago, it might as well have been written by a different person. So with that in mind, think of yourself as like a collaboration with your other selves over time. Your future self. Yeah, exactly. And so, you know, writing Makefiles is a way to sort of immortalize your code and hopefully keep it so that it builds, you know, a couple of years from now.

1:08:07.180 --> 1:08:19.640
<v B>Well, sorry for the slight delay in the episode. We had some Skype issues. We had some Skype issues last weekend. So we were recording this again, but hopefully this is a great episode. Hopefully you guys will enjoy. Thank you again for all the reviews still coming in and the emails we get.

1:08:20.080 --> 1:08:28.975
<v A>Yeah, totally. Like care for you guys and gals. If you guys have any questions about, you know, programming throwdown or anything, don't hesitate to throw a comment on our G+. Throw it down. Throw

1:08:28.975 --> 1:08:36.840
<v B>it down. Tell us what your favorite build automation tool is. Yeah, yeah. Suggest languages. J-make. Brownie points for all the J-makes.

1:08:37.580 --> 1:08:43.032
<v A>I'm going to look that up. No, it might actually be a real thing. Probably. It might be a rap artist. Of course it.

1:08:43.032 --> 1:08:46.680
<v B>Is Java programmers compiling large projects.

1:08:47.020 --> 1:08:47.420
<v A>All right. Okay.

1:08:48.040 --> 1:08:49.940
<v B>So I think that's all we got. So that's a wrap.

1:08:50.180 --> 1:09:18.260
<v A>Yeah, have a good one, guys. 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. So Japanese, Japanese.

