WEBVTT

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

0:00:16.040 --> 0:00:17.024
<v A>Episode 18,

0:00:17.024 --> 0:00:40.800
<v B>Go. Take it away, Patrick. So I had my parents visiting, and we went to—being in the Bay Area, we went to try to do some of the touristy attractions, and we went to the infamous Alcatraz. Ooh. Which sits in San Francisco Bay, and you can kind of see it from there. It's an ominous old building, kind of like a lot of run-down skeletons of buildings that used to be there. No, not actual skeletons. I love you.

0:00:41.121 --> 0:00:44.400
<v A>Did you take the picture from behind the bars or whatever?

0:00:44.640 --> 0:01:31.060
<v B>No, actually I didn't. Oh, okay. But it was kind of interesting, so try to keep this semi-relative, or at least maybe interesting to people. So you see like movies and stuff growing up, at least here in the States, about Alcatraz—this prison for hardcore mobsters in like the 30s, and I guess it was around that time, like the 30s. And even before then, there was like a military base there or whatever. But this is where they sent all the really bad people. And there's several famous escape attempts, and various famous prisoners are held there. And then eventually the prison kind of closed because it was like really horrible, and also people in San Francisco were kind of like realized it was maybe a bad idea to take all the worst criminals from the country and stick them just a few miles offshore from like a really big city. Although like that bay is really dangerous and filled with all sorts of ways to die, you know, it's still maybe a bad idea.

0:01:31.200 --> 0:01:39.720
<v A>Did you know during the summer they have a swim—a duathlon, where they swim from Alcatraz to San Francisco and then run a marathon?

0:01:39.920 --> 0:01:44.220
<v B>Yeah, I did see that. And the tour guide was quick to point out that those people do it in a wetsuit.

0:01:44.860 --> 0:01:55.900
<v A>Actually, they have some people who do it without a wetsuit. I happen to work next to somebody who's going to do it without a wetsuit. That's crazy. And yeah, I thought—I just thought people died doing that. Like I didn't think that it was safe.

0:01:56.360 --> 0:02:23.620
<v B>Yeah, I mean, I guess it's different if you're like trying to do it in cover of darkness and disoriented and not coordinated, right? Like this could be really bad versus like middle of the day, you know what you're doing. It's sad. But okay, so anyway, so we go to the prison. It's just cool. You know, if you're around and you haven't done it, you should do it. But I thought it was interesting because having seen it all this time, I really thought there was like all these different buildings and like rows and rows and rows of jail cells. It was this massive thing. It's really not. I mean, a lot of prisoners were held there, but it was a pretty small area where they were held. I think it

0:02:23.620 --> 0:02:24.109
<v A>was in the

0:02:24.109 --> 0:03:05.040
<v B>hundreds, right? I don't remember the exact number, but yeah, just not a lot. And it really fits. There's three levels, so it's really high, but they're open air. Like it's just the cells are stacked in three levels. It's not like three floors and you can see from top to bottom. Yeah. But just to see how small it was. And so they've done something really creative. I guess it's like social engineering, let's call it. Yeah, exactly. You get there and then you take this boat ride over, which is cool because you're, you know, going to San Francisco Bay on this boat. Yeah. And then you get there and then they, you know, give you a—you know, a little speech for like 10, 15 minutes about all the stuff you're going to do. And then they direct you to walk up this long hill to where the prison is. And then they give everybody headphones and this little device, which gives you an audio tour.

0:03:05.160 --> 0:03:06.040
<v A>Yep. Complimentary.

0:03:06.120 --> 0:03:07.967
<v B>Yeah. Included. Well, you pay

0:03:07.967 --> 0:03:11.612
<v A>For. Oh, that's true. You have to pay for the ticket to get there, right? Right. So, but

0:03:11.663 --> 0:03:13.064
<v B>Then they give you this thing, and at first I thought,

0:03:13.340 --> 0:03:17.100
<v A>But the point is that everyone has one because they're free at that point. Yes. Yes. Once you're there.

0:03:17.200 --> 0:03:34.160
<v B>If you can get there, you know, you get these for free. Yep. And so then you're touring around. So I noticed a couple of things. One is that at one point I took my headphones off and was just—I don't remember taking pictures or something, and I paused it, and you look around and you just see, you know, hundreds of people like wandering this gel like zombies.

0:03:34.500 --> 0:03:36.440
<v A>Yeah. Because they're all going in the same direction.

0:03:36.440 --> 0:03:46.594
<v B>The same path. But like—but like overlapping each other. Yeah. And like not paying attention to people around them and bumping into each other and just like completely mindless. Yeah. It

0:03:46.594 --> 0:03:48.640
<v A>Was really creepy and weird. It's so awesome.

0:03:48.880 --> 0:04:49.160
<v B>And like, I don't know, just it was very, very strange. And you could tell like what park people were on and like what they were doing. And so that was kind of creepy. But the second thing is the social engineering part is getting at is that because it's so small, you would be very disappointed having paid, I don't know, it was an extraordinary amount, like $30, $20 or something to take this boat ride there. But to go and like you would look around and you'd be done in like an hour and leave. And like you'd be like, oh, that's kind of like disappointing. But instead they give you this audio tour, which most places charge for you to take the audio tour. And they even have like guided tours. And so it makes you take a lot longer. And they take you on an inefficient path. And they kind of have you looping over yourself and revisiting the same places, but with kind of different story or different view or looking at something on the wall a slightly different way. And it really makes you feel like you got your money's worth. And I felt kind of bad having pointed out to my family after this tour, like, wow, that was kind of like not that good. Like, you know, the story was good. Like this audio was a good thing. But like, it was really not that interesting or big if you really think about it.

0:04:49.300 --> 0:05:14.100
<v A>It's sort of like The Matrix and you're outside of The Matrix because you didn't have your headphones on. And everyone else is sort of like—like just really entertained by something, which is really actually in the grand scheme of things, like very tiny and like completely controlled by this like audio program. And so you're outside of it and you're like realizing these people are walking between like four or five rooms. But like to them, they're just spending hours in this massive like.

0:05:14.100 --> 0:05:20.588
<v B>Yeah, that was kind of good. So take it. It's worth going. Now we've polluted it, I guess. Now like you're going to feel bad doing it. But

0:05:20.723 --> 0:05:22.580
<v A>Yeah, well, I mean, I think it's OK.

0:05:22.800 --> 0:05:24.030
<v B>I do it once. Yeah. Once.

0:05:24.200 --> 0:05:34.680
<v A>I would. If you had to pick between Alcatraz and Golden Gate Park, you should pick Golden Gate Park and like the west side and like see the bridge and stuff like that. Or like go on the bridge.

0:05:34.680 --> 0:05:45.620
<v B>Yeah. I mean, it was worth doing. I don't mean to talk down about it. But it was just this like aspect of this audio tape thing, which is very intriguing to me that people are so easy to tune out everything around them.

0:05:45.820 --> 0:05:47.183
<v A>Yeah. Yeah, definitely. So,

0:05:47.183 --> 0:06:04.680
<v B>Interesting. Now I'm going to be more attentive when I go to touristy places to see how they're manipulating. It's obvious like Disney is very into this, right? Yeah, they're pros. Like controlling everything, like how you experience this Disney magic and what they do to do that. Yep. Yeah. Yeah. So, all right. On to tech news articles.

0:06:04.920 --> 0:06:09.500
<v A>All right. So, speaking of being in jail, how do you come from that?

0:06:09.760 --> 0:07:17.880
<v B>I don't know. A group of researchers used an interesting technique of, I guess we would call it nanofabrication to reach the ultimate resolution of color printing. So I read this story a couple of times before I figured out what was going on. But what they did was essentially were able to manufacture these metal dots spaced very, very close together. But all the dots are the same color. They don't have pigment to them. They're very, very tiny. And they're all just metallic. But based on their spacing, they're spaced about half the wavelength of light apart. And by altering very slightly the distance between the dots, they're able to generate color based on what waves can get through between the dots, like the posts, and which ones can't. And what they're saying is basically that by doing this and making this color picture, which is fairly tiny right now, it's like only like five micrometers by five micrometers, which I guess humans can only see down to about 10. But making it this small, they've reached, you cannot make a color picture that is of more resolution. Because if you put the dots closer together, they'll just blur together and won't have like the color aspect of it.

0:07:17.900 --> 0:07:20.000
<v A>Because your eye isn't sharp enough?

0:07:20.140 --> 0:08:05.600
<v B>Because of the actual physical properties of light. So light has a wavelength, right? So if you make something two dots closer together than that wavelength, the waves can't resolve them. It can't tell the two things apart. It looks like one thing. So it's like, you know, the classic story of, I guess you hear this in physics, if you try to figure out what object is in this room by shooting, you know, first like beach balls at it, and then like baseballs at it, and then, you know, like tiny BBs at it, and what gets through and what doesn't depends on the size. So this is like trying to see, it would be like at the point of where they reach, you be trying to see, you know, what a, like a can of soda with a beach ball, like just too big. Oh, I see what you're saying. Like you can't, you can't tell that it's there. Maybe that's a bad analogy. Anyways.

0:08:05.720 --> 0:08:06.975
<v A>No, I see what you're saying. Yeah, I got

0:08:06.975 --> 0:08:32.220
<v B>you. Yeah. So it's a 10, you know, a hundred thousand dots per inch, which doesn't seem that high because like printers do 10,000 DPI. It's only 10 times more resolution than that. Oh yeah, you're right. So it's not incredibly high, but. But it's the maximum. Yeah. It's not possible to do more. That's insane. Like it's cool because these people got there first and they win. Like nobody. Yeah. There's no, there's no more race. Like they, they finished.

0:08:32.340 --> 0:09:22.540
<v A>So it's so funny you mentioned this because I just saw a Ted Talk today on a trillion FPS camera. So a camera that could record a trillion FPS and it can record so many frames for a second that they actually like fired like a small beam of light. And you could actually see like the beam of light, like enter this piece of glass and like fragment through the glass. Whoa. So you could actually like slowly, like it was like a slow motion, like a video of light. Whoa. Yeah. Yeah. I have to check that video. We'll post both links. But yeah, it's amazing. Like what are the chances that two like huge milestones in terms of like, you know, dots per inch in terms of pictures or frames per second were both, you know, reported in the same day. So close. Yeah. That's pretty awesome.

0:09:22.660 --> 0:09:23.280
<v B>That's kind of cool.

0:09:24.800 --> 0:10:45.567
<v B>So the next article I had here was about this, this company called Joint Cloud. And Joint Cloud did something which a lot of people were upset about, but I thought would be an interesting topic to discuss, which was when they were first beginning and they actually had a different name previously. They offered people who spent, and I believe it was like on the order of $500 or something, they would get a small hosting account. So this is a website host, but they're slightly different. They're like an Infrastructure as a Service kind of thing. Oh, I see. So, you know, think more kind of like EC2, I guess. Amazon's a kind of equivalent thing. And so they were offering for $500. If you paid them this $500 in about 2006, I think it was, that they would give you a lifetime of hosting, shared hosting plan for a lifetime. And they were a very young company. So giving them a lot of money up front for something that they may go bankrupt in a year or two, that was pretty risky. So people gave them this money and they used that money to help, you know, fund their startup or whatever. So now turned 2012, what, like six, seven years later, and they've sent out emails to all of the people who have this account and said, basically, you know, we're ending your account. You know, we're no longer, this is a legacy account. We're no longer going to provide it. We're going to give you a year free of, you know, our new equivalent plan. And we're going

0:10:45.567 --> 0:10:46.060
<v A>to enter a plan.

0:10:47.540 --> 0:10:50.280
<v B>Is that reasonable for them to do? Is that unreasonable?

0:10:50.880 --> 0:11:23.859
<v A>Yeah. I don't know. It's a tough call, right? Because they took this gamble and they sort of like, they want to have their cake and eat it too, right? Like they took this gamble of getting their initial following by providing this like amazing service. And then now it's sort of like they want to cash in on those people, but also cash in on their support that they gave back when they were new. So it's really, I don't know. I guess, you know, one thing, it must be a large segment of their population, right? Otherwise, they wouldn't have spent the social capital to do this, right?

0:11:23.860 --> 0:12:45.880
<v B>Like, okay, interesting. I mean, I don't know. It's one of those things where it could be that they're a small percentage, but a large expense. So that the servers are on. So I was reading an article that was related to, I think, United did something similar where they offered for the sum of like $300,000. It was like a lot of money. You could buy like lifetime tickets, basically. Yeah. Where you go anywhere in the world on, I think it was on United. Yep. That's right. Anywhere in the world, anytime you want. And you could buy a companion one for some additional fee. And so the people did, people spent like what amounted to like a lot of their savings to buy this saying that for years when we retire, we'll be able to, you know, just travel around the world. And it, you know, it's like, this is cool. But it turned out United kind of crunched the numbers when they were having some bank problems that these people who paid, you know, like $300,000 are costing us on average, like a couple million dollars a year. Yeah. And like, like taking up seats. And they got all sorts of like priority service. And then there's all these accusations of fraud, like, oh, instead of, you know, a person in their spouse flying, the person would just book a ticket, but book the seat next to them for, you know, under a fake name, just so they wouldn't have to sit next to somebody. And doing things like this. And so there's this like, he said, she said between United and the customers where they're trying to revoke these lifetime tickets because of this abuse. And, but yet people paid a very large sum of money. And if it turns out United didn't crunch the numbers correctly, whose fault is that?

0:12:46.219 --> 0:13:39.740
<v A>Yeah. Yeah. I mean, it's hard to say, right? One, one kind of interesting thing that I thought about was it, I've been reading this book called The Lean Startup. And it's kind of, it's a really interesting book. I haven't read enough of it to like talk about it in any depth or anything, but the chapter I'm on now is what's called the Minimum Viable Product. And the idea is sort of like you cut any corners, you do anything you can to like get something out the door that like people will want. And so this is sort of an example of this where these guys, they didn't really have a plan of like how their pricing model was going to work or anything like that. So it's just like the bare minimum that they knew everyone would love, got it out the door. But, but then like, and, and so it like, we've really worked for them. But I feel like, you know, they, that's an investment. And so they're sort of like, they're defaulting on their investment in these people, you know.

0:13:39.980 --> 0:13:56.820
<v B>But it's kind of sad that this has become, and some people are even saying like shame on the people who bought this for assuming it actually be, you know, kind of a lifetime. Well. Because, I mean, this has happened over and over again, right? Like you used to have unlimited data and it turns out, oh yeah, yeah, no, no, no. It's not actually unlimited.

0:13:57.200 --> 0:13:59.740
<v A>So it turns out, so I guess people are just not going to trust.

0:14:00.260 --> 0:14:07.600
<v B>Yeah. So in general now you just can't trust when people say unlimited or lifetime. Or any of this stuff, right? It's just not, not true, right? Because you.

0:14:07.960 --> 0:14:15.800
<v A>We have a bunch of those forever stamps. Uh-huh. And I think it's just a matter of time before they're like, well, the forever has come.

0:14:17.020 --> 0:14:50.760
<v B>Yeah. Well, it's interesting because so the forever stamps, the post office office says if you buy this and then we increase the cost of a stamp, we'll just, you can use the forever stamps. Right. But it actually, they have some incentive to keep doing it because then they don't have to keep changing print runs for the new amount. So they can print a lot of these forever stamps and just essentially sell them for whatever they want. Right. And they don't have to keep printing new stamps with a new number on them. Right, right. So it's somewhat in their advantage to keep doing that, which is a safety as a consumer that they'll want to keep honoring it because there's like a cost savings for them to keep doing these.

0:14:50.960 --> 0:14:52.026
<v A>Yeah, that makes sense. So.

0:14:52.500 --> 0:14:58.140
<v B>Makes sense, which is different than a company offering, you know, a completely unlimited or, you know, lifetime style membership.

0:14:58.620 --> 0:15:10.819
<v A>Yeah, that's fair. Yeah. I mean, realistically, the price of a stamp, let's say it goes up 10 times, right? That's not as bad as these lifetime memberships where it's probably hundreds or thousands of times, you know, value.

0:15:11.079 --> 0:15:37.680
<v B>Yeah. And so you can say, well, give them back the money they gave. But the thing is like, well, the people don't want back the money because it's like your point. The service is worth more than the money they gave. Yeah. Now, in hindsight, it's a really great deal that they made. But at the time, it was risky. Yeah. So you need to like give them back in proportion to the risk they took. But on the same hand, like if these people are costing too much money and it would drive the company out of business, what's the like, you know, like say like what's the right thing for the business to do?

0:15:37.840 --> 0:15:44.020
<v A>Yeah. I mean, why should the company have to like fold and then reinvent itself just because it made a promise it can't keep?

0:15:44.400 --> 0:15:54.600
<v B>It's hard to say, but they should because they made a promise. Yeah. So like they should have to keep that. But if the company goes, you know, goes away because this is too expensive, these people are going to lose their plan.

0:15:54.780 --> 0:15:55.680
<v A>Yeah. It's basically the same.

0:15:55.800 --> 0:16:10.440
<v B>It's the same thing. So it's the same outcome for them. So yeah, it's a really hard thing. So just be careful if you're starting a service. Just plan for it to not like plan to go on. Right? Don't plan that like, oh, we'll go away in a few years. So like this isn't a hard promise to keep.

0:16:10.680 --> 0:17:23.280
<v A>And in general, I've noticed that I've become really suspicious of temporary anything. So in other words, like cable companies are notorious for this. It's like, you know, I used to have cable TV and every year I would get like half off my cable bill and it would last for a year. And at 11 months, I would call the cable company and say, 'I'm canceling.' And they're like, 'Oh, we'll extend your special offer.' And so it turns out like everybody I worked with, everyone in the office was on the special offer. Like it wasn't really that special, you know, but just things like that, like scream, like, like scummy and like be careful, you know what I mean? So it's like anytime you see like unlimited or, you know, half off for the next year or whatever, it always makes you. For example, I was getting an SSL certificate for Trivopedia, and there was one, it was GoDaddy. They were having like half off for the first year, and they wouldn't—it was very hard to find out what it was the second year. And it turns out it was this ridiculous price. Like it was like three times what I could get somewhere else for the second year. So just things like that, just be careful for like, like temporary things or unlimited things because, you know, it's never going to last. Yeah.

0:17:23.540 --> 0:17:26.972
<v B>So basically you can't trust everything you read on the internet. Yeah. Shocking.

0:17:28.079 --> 0:17:40.020
<v A>So the next news article is on Apple buying a fingerprint company. And yeah, I saw this story actually. And I thought it was kind of interesting. I'm not quite sure what does the article say what they plan on doing with it?

0:17:40.080 --> 0:18:36.362
<v B>Well, of course it's Apple. No. But everybody has an opinion. Yep. Yeah. Yeah. So there's a company who made fingerprint scanners and had a lot of technology, and they had to make an SEC filing because I believe they're a public company is why. And so they have to disclose that Apple is trying to buy them and that they're entering into negotiations, and then somebody has to go and approve it, I guess. And so Apple, they've disclosed that Apple had been trying to make a negotiation to license some technology related to 2D fingerprint scanning, and that now Apple wants to buy them. And so people are speculating that either in the, that they're in a hurry, that it seems like everything is very rushed versus normal. So that it might be as early as this year's new iPhone or iPad that might be coming out that they might have some sort of fingerprint scanning as a two-factor authentication or something like that. So two-factor authentication is something you know and something you have is a typical two-factor authentication. Yep. And

0:18:36.362 --> 0:18:37.830
<v A>There's three-factor, right? There's,

0:18:38.826 --> 0:19:13.639
<v B>Yeah. Let me look it up. I think that adds like something you are. But something you have and something you are seem kind of the same to me, but I may be getting that wrong. All right. So first factor is like username and password. So those are not considered two-factor. Although if you want some interesting reads, go read about Microsoft. You know, not that I want to rag on Microsoft, but they had an interesting post about whether or not they were going to add two-factor authentication to their new outlook.com. And they consider username and password two factors. But the reason that's not two factors is because that's two things, you know. So it's the same. So if somebody figured them out via the same means, they could hack you, right? Yep. So

0:19:13.639 --> 0:19:22.460
<v A>Just to recap: so a username, a password, something that's sort of in your head that you can just blurt out onto a machine or device. That's one factor.

0:19:22.820 --> 0:19:32.420
<v B>Yeah. So those are the same factor, right? Username and password. Because they're both something that's in your head, right? But they're also something that if an attacker like was able to hack a database, they would have both of those.

0:19:32.460 --> 0:19:32.660
<v A>Right.

0:19:32.900 --> 0:20:15.992
<v B>So versus when you add two-factor, typically that next factor is something you have, right? So this is like World of Warcraft has RSA keys, which are little pieces of plastic. Wait, World of Warcraft? Yeah, I think for like certain World of Warcraft people, they get. Yeah, I'm pretty sure. Oh, that's interesting. Or other online or banks do this. Yeah. Or many companies do this for their VPNs. So it basically amounts to a physical device that you have, a little piece of plastic that has a number on it. And that number changes every so often, right? Right. And so the interesting thing about that is you have to type it in. But even if somebody managed to steal the number that you typed in, it was only good for 10 seconds, 30 seconds, a minute, five minutes, whatever, however frequently that number changes. And once it changes, they no longer have access to your account because they don't have that object, right.

0:20:16.180 --> 0:20:25.476
<v A>And even if they have like a sequence of numbers, a lot of these number generators are like algorithmically designed where you need thousands or millions of numbers in a

0:20:25.476 --> 0:20:26.809
<v B>sequence. It's supposed to be that. It's supposed

0:20:26.809 --> 0:20:27.400
<v A>to guess the next one.

0:20:27.620 --> 0:20:43.000
<v B>Ideally, nobody would be able to guess it if they knew one number, then the next number, then the next. They shouldn't be able to figure it out, right? But yet, it's not random. It's not like a random number generator, although it looks like it. It's not because the person on the server needs to be able to also know what the number is supposed to be.

0:20:43.120 --> 0:20:43.340
<v A>Right.

0:20:43.740 --> 0:20:48.680
<v B>So that's typical like the two-factor thing. Yeah. But something you have could also be your fingerprint.

0:20:49.700 --> 0:20:54.079
<v A>So interestingly, this article, yeah. So I'm going to pretend like I know,

0:20:54.079 --> 0:20:55.024
<v B>the reality is I'm

0:20:55.024 --> 0:21:07.157
<v A>totally cheating for those of you at home and reading Wikipedia. But the third factor is something you are—a fingerprint or something which like is actually physically part like a

0:21:07.157 --> 0:21:08.035
<v B>view that cannot

0:21:08.035 --> 0:21:14.886
<v A>be rubbed. Like you could give the RSA key to somebody else, but you can't give them your finger. I think,

0:21:14.886 --> 0:22:03.587
<v B>that's the analogy. Okay. So it could be two-factor—it could be like password and fingerprint, right? Or three-factor: we give password, fingerprint, and RSA key, and an RSA. Yep. You know, or OTP (one-time password). There are various names for these things. And so, yeah, it's interesting that the iPhone might have this, or maybe that's how you log into a device—like you have to hold your finger down. And, you know, it's a secure thing. And people have lots of issues with fingerprints because, you know, fingerprints are pretty easy. They're not considered as safe as some people think they are. Oh, really? If you get someone's fingerprint, now it's hard because you have to know the person. But like if you touch a mug and then I get that mug, I can actually lift your fingerprint off the mug. Oh, I see. And then put it on. Like, it's pretty easy for me to fool most fingerprint scanners. But in reality, that's still far more secure than an iPhone, which just normally isn't even locked. So your data is not protected at all. Yep. And, I mean,

0:22:03.587 --> 0:22:08.280
<v A>a password, like, I think they have password crackers and things like that.

0:22:08.420 --> 0:22:14.725
<v B>Yeah, or somebody can just sit there and guess them or look at the smudges on your screen. Oh. You know, there's all sorts of ways. There's,

0:22:14.725 --> 0:22:30.840
<v A>an expert phone cracker here in the audience. That's genius. But you're totally right. Like, let's say you had someone's phone and you're some kind of digital forensics expert. You needed to get in. You could probably measure the amount of wear on the different parts of the phone. And I would give you some guess as to.

0:22:30.860 --> 0:23:10.260
<v B>Yeah, and like a super calm. But I mean, even just looking at the smudge panel, or I mean, most people think they're going to be birthdays, anniversary years. Yeah. So if you really know the person, you're going to guess. Or I bet a lot of them are 000, 1234, 9999, right? I mean, just try the first 20 things and you're probably going to hack 50, 60, 75% of phones out there. But a fingerprint is nice because, you know, it should be easy to do. You just set it on if it works really well, right? And this is great. So, interesting. Nobody knows, right? It's Apple. It's secretive. They don't say anything. But that would be very curious to see if it comes to their mobile devices or whether it's something more mundane like being on the laptop, which other companies have done before.

0:23:10.520 --> 0:23:43.268
<v A>Yeah. I know that, like, one thing that Apple seems to boast in their smartphone, you know, like propaganda or, like, commercials or whatever, is how fast it unlocks. Like, that seems to be a feature. Like, it always says, like, oh, you can, you know, be like from phone in your pocket to using your phone like faster than any other phone. That's like one of their key features. And so, like adding a fingerprint where you don't have to type in a code. Oh. No, no, actually, it's going to make it go faster. Yeah. Because, I mean, it's much faster to just put your thumb on something than to punch in

0:23:43.268 --> 0:23:55.000
<v B>four digits. So, my thing is, another thing Apple prides in the office is it should work and be simple, right? Yeah. And fast, right? I mean, this is the kind of thing. But fingerprint scanners, I don't know if you've ever used them, but all the ones I use tend to just be terrible.

0:23:55.460 --> 0:24:09.400
<v A>So, they had one at my university to get into the gym. They used fingerprint scanners, and it actually worked really well. I mean, but I will say that I've seen other people have probably. So, basically, either it works or it doesn't.

0:24:09.800 --> 0:24:12.260
<v B>Like, it seems like if you're one of the. So, if it works for you, it works really well for you.

0:24:12.260 --> 0:24:18.420
<v A>Yeah. If you're one of the 8% or 3% or whatever. Because I've seen people just sit there at the fingerprint scanner and it just doesn't work.

0:24:18.420 --> 0:24:50.540
<v B>Yeah. I mean, so, like, if you're the FBI, you probably know, do some image detection on a fingerprint, and you have to match 15 distinctive features on the fingerprint or whatever. But, I mean, for some of these fingerprint scanners, maybe they only have to detect two or three features. And then that's enough to, you know, just a random person having the same fingerprint match on two or three points. It's probably fairly low. Right? It's not unique as we think of fingerprints. But, you know, it's a one in a hundred thousand chance that just picking up a random person's phone, you're going to have a close enough match to get that. Yeah. So, you can increase reliability that way.

0:24:50.760 --> 0:25:17.840
<v A>Yep. I mean, you think about it. If somebody takes your phone, chances are that phone's going to go through maybe 10 people's hands. Like, someone will steal your phone. That person might try to get in, might not. Who knows? If they can't get in, they'll probably try to sell your phone on eBay or something. So, your phone will go to a second or third person. But it's not going to cross more than, like, 50 people. Yeah. So, if the scanner can be good enough to where the 51st person happens to have a close enough fingerprint, that's okay.

0:25:18.520 --> 0:25:30.930
<v B>Yeah. Yeah. So, I mean, it's all a statistics game. Yeah, of reliability. This is a common thing, right? False positive versus false negative. Yeah. So, the person whose phone it is wants to get in every single time. But everybody else in the world should not be able to get in. Yeah,

0:25:30.930 --> 0:25:31.707
<v A>Exactly. This

0:25:31.707 --> 0:25:33.600
<v B>is a hard thing to balance.

0:25:34.520 --> 0:25:36.260
<v A>Yeah, yeah. Totally. That's a good article.

0:25:36.516 --> 0:26:20.914
<v B>Talking about companies that change what they're doing in life, Twitter has been in the news a lot. Yeah. So, Twitter made a lot of waves when they went from kind of being focused on the web to start. I think their first thing was they made their own client, and people got a little worried. But then they started buying some big clients. Am I getting the history exactly wrong? No, I think you're right. But now they're making even bigger waves where they're telling third-party clients, so if you are trying to make a website or a piece of software that connects to Twitter and displays tweets on your own, but you're not Twitter, you're going to be limited to 100,000, did it say? I think that's right. 100,000 users. Yeah. So, no more than 100,000 people can use your service. That's kind of weird. Like, why would you...

0:26:20.914 --> 0:26:22.146
<v A>Is your arbitrary number, right?

0:26:22.160 --> 0:26:54.620
<v B>But even the number, like, that's weird that, like, we're limiting. You cannot become popular. That's basically what they're saying. Yeah, that's right. No matter how great you are, you cannot become popular. Not any other. Like, it seems like a lot of other ways to limit it. I don't know. But that just seems weird. And I guess for existing, they're doubling it. So, like, you can have 200,000. So, this is kind of weird. I know there's, like, limits on how many or there sometimes are limits on, like, if you're a third-party client per username that you have, you can only make so many requests, right? To help try to prevent, like, denial-of-service attacks, these kinds of things.

0:26:54.620 --> 0:26:59.720
<v A>Maybe they're worried of people. Like, maybe they've had people just scrape the entire Twitter corpus.

0:26:59.720 --> 0:27:14.760
<v B>But I mean, it used to be one of the things where they would provide that to people. Yeah. Like, provide the stream, right? And that was interesting because people did all this analysis about, you know, what all the tweets were about and sentiment analysis. Yeah. Trying to see if people were happy or sad. Did you see that?

0:27:14.760 --> 0:27:51.179
<v A>Did you read that article on this guy could, within like, 100 meters, figure out where you lived based on your tweets and your friends' tweets, etc.? But that's not surprising. Yeah. So, you think about it. It's like, what it did was it tried to search you and your friend network, etc., and tried to find one or two people it had a good bearing on. Like, somebody says, for example, I just went to the San Francisco Giants game, right? So, it knows that person's in San Fran. And then it kind of used this, like, inference diffusion algorithm. But, like, within 100 meters. 100 meters is really

0:27:51.246 --> 0:27:55.380
<v B>good. But the other thing is some people have location data attached. So, that makes it even stronger.

0:27:55.740 --> 0:27:56.540
<v A>Oh, that's true.

0:27:56.740 --> 0:29:16.860
<v B>Yeah. So, some people will have location data. Some people will mention things that are like definite, unique locations. And then even once you have that, you can kind of start, like, oh, I went to McDonald's. Well, you probably went to McDonald's close to where all these other things are. So, now I can start to get even better and closer. Yeah, yeah. So, yeah. That's amazing. That is crazy. So, Twitter is very valuable. But now they're making a, it's kind of an interesting thing. They have all these third-party, and that's how they got big. Again, they use these third-party clients. People weren't going to Twitter.com a lot. They were using all these other Twitter clients. And now they're basically getting rid of those. And, you know, people say, well, why? And I mean, one thing we discussed when we brought up this article before we started recording, which I think is interesting, is that these people are accessing Twitter through an API. So, Twitter's value is in these 140-character tweets that you're following or whatever. But that means if all they're saying is, like, I issue Twitter server a request to say, give me Jason's tweets and his friend's tweets, right? And it sends me back these 140-character texts. That's the response I expect. But how do you advertise through that? Yeah. Well, you can inject fake stuff, like here's a sponsored tweet. But that's pretty easy to either just filter out, right, because you know that's not in the person's list of friends or, you know, just show, but it's not a big deal. But you can't—I can't give you, like, an image to show. Like, hey, you need to show this ad as well.

0:29:17.400 --> 0:29:44.646
<v A>You know what would be interesting is if you had to create a session. So, in other words, like, you asked Twitter. You said, 'Hey, I want to open up a new session,' like, in your API. And then that session gave you, let's say, like, 100 tweets an hour, let's say. I don't know. I'm making that number up. But it gave you X tweets an hour. But then if you wanted another tweet in that session, you had to—they gave you an ad that you had to show. I guess there's no way to know that you showed it. They didn't know that you

0:29:44.646 --> 0:30:05.040
<v B>actually showed the ad. Yeah. This is a complicated thing. I mean, the other thing is that they could charge you per access or something, right? Yeah. So, then those third parties would have to, you know, give that cost on. Right. So, either you pay a one-time fee and they hope you don't, you know, spend more than that. I mean, there's all sorts of weird ways I guess they could try. But they've just decided, I guess, this is the way they're going to do it.

0:30:05.120 --> 0:30:24.240
<v A>Yeah. I mean, the problem with this is that there's no path forward. Like, let's say you had an app that had, you know, hundreds of thousands of Twitter users and was very popular and highly monetizable. You know, I guess you could contact Twitter directly and negotiate with them. But, I mean, this policy doesn't just kills your business.

0:30:24.520 --> 0:30:26.540
<v B>Well, it just prevents the businesses from ever starting.

0:30:26.700 --> 0:30:26.940
<v A>Right.

0:30:27.040 --> 0:30:40.720
<v B>Right, that too. People just won't start a Twitter business now. Yeah. Right? But this is interesting because I guess other people like, you know, Facebook or even like Google Plus or other places, they start that way, right? Nobody can access their data.

0:30:40.920 --> 0:30:41.180
<v A>Right.

0:30:41.180 --> 0:31:01.360
<v B>And then there are no third-party clients. And then slowly they kind of sometimes let out a little bit of an API to do that. Twitter kind of started the other way. Like, oh, we're going to make this available for you. And then now they're kind of becoming more like just Facebook or Google Plus. Yeah. But that kind of—I don't know. That kind of ruins it. Like, then it's not different anymore.

0:31:01.720 --> 0:31:02.220
<v A>Yeah, exactly. This

0:31:02.220 --> 0:31:03.260
<v B>is another social network.

0:31:03.400 --> 0:31:05.342
<v A>It's just one where you can't post as much. Yeah.

0:31:05.580 --> 0:31:09.880
<v B>You just have—yeah, you—I guess. You can't post the picture. You have to post a link to the picture.

0:31:09.880 --> 0:31:12.440
<v A>So, yeah. Do you have a Twitter account?

0:31:12.560 --> 0:31:13.480
<v B>I do have a Twitter account.

0:31:13.540 --> 0:31:34.350
<v A>So, I actually have a Twitter account that other than getting hacked, I haven't done anything with it. So, apparently I've made tons of posts but none of them intentional. But I just never understood it. Like, and maybe you could explain it to me. But, like, it seems like Twitter is just like a subset of what you could do with Facebook. Like, I didn't quite understand the Twitter concept.

0:31:34.420 --> 0:32:42.846
<v B>I mean, so things have changed, right, the environment. But when it originally came out for me, the draw was I could follow—it was asymmetrical, which Facebook wasn't. So, Facebook was symmetrical. If you were my friend, I was your friend. So, that means if you're a celebrity, right, and I was your friend, you could see all of my stupid posts that you didn't care about because you're a celebrity. Gotcha. And then I could see all of your posts, you know, like all of them. So, in Twitter, the difference was, first of all, it was public. So, anybody could see any post you had. So, there was no expectation of privacy. And then there was this asymmetric part. So, you didn't post things there that you didn't want everybody to see. So, that was good. And from me, like, being aggravated at Facebook for how they deceive people about privacy, I liked the fact that it was just easy. Everything is visible. It's all public, right? But then there was this asymmetric thing. If you're a celebrity, I could follow you. You could post something and I could see it. But you didn't necessarily have to see everything that I posted. You could have a different set of people that you followed as a celebrity and you would only see their information. Now I get it. Right? So, it's—and then Google Plus kind of did the best of both worlds in a way, I guess. But there's not as many people there. But it doesn't seem like anyways. But this best of both worlds that—I

0:32:42.846 --> 0:32:45.460
<v A>think just about everyone on Google Plus is a programming throwdown follower.

0:32:45.980 --> 0:32:49.140
<v B>We have a few hundred followers. Yes. That's about right.

0:32:50.680 --> 0:33:01.520
<v B>But you know, Google Plus is both. Like, right? Like I can do asymmetric following, right? But if it knows that we're both in a—like, I can share stuff to this group specifically versus having to make it all public.

0:33:01.740 --> 0:33:03.360
<v A>Right. Exactly. Yeah. Makes sense.

0:33:03.460 --> 0:33:04.024
<v B>So, it is. Yeah.

0:33:04.360 --> 0:33:14.940
<v A>I guess I can see it now. I mean, definitely—so Twitter is commonly used in like NBC, for example. Say, you know, check our Twitter. And it—now it makes sense.

0:33:15.060 --> 0:33:39.100
<v B>Because it's public. It doesn't make sense for them to be like—because then when you post that hashtag Olympic Gold or whatever thing they put at the bottom of the screen during the Olympics, NBC, you know, Olympic Gold or whatever. When they do that, they can boast like, oh, we had 100,000 people use our thing, right? And that's measurable for them. If you did that on Facebook, you would have to like friend them. Right? They wouldn't necessarily have access to everything that you were posting related to that.

0:33:39.420 --> 0:33:43.275
<v A>Yeah. That makes sense. So, oh, I mean, the NBC Olympics would get me on a huge—yeah.

0:33:43.613 --> 0:33:45.300
<v B>Let's not—let's not—let's not get out

0:33:45.419 --> 0:33:48.740
<v A>of this. Patrick gave me this like he knows how upset I am that—

0:33:48.740 --> 0:33:53.140
<v B>I don't—we haven't even talked about it. But I know how upset I was. I know how upset everybody else I knew was.

0:33:53.360 --> 0:33:53.720
<v A>Yeah.

0:33:53.820 --> 0:33:55.600
<v B>So, like, let's not even—

0:33:55.600 --> 0:33:58.682
<v A>We have to proxy through Europe to watch the Olympics. Anyway. So.

0:33:59.480 --> 0:34:00.809
<v B>Tool of the bi-week. Tool.

0:34:00.809 --> 0:34:11.035
<v A>Of the bi-week. Anyways, actually, I have an Olympic prediction, but I'll tell it later. What prediction? I have an Olympic prediction. Olympic? Here, we'll do it real quick. Okay. All.

0:34:11.035 --> 0:34:11.560
<v B>Right. Go for it.

0:34:11.710 --> 0:34:36.180
<v A>Cancel. Cancel. Tool of the bi-week. Tool of the bi-week. So, last Olympics, I made a prediction that I was going to be able to watch the Olympics in 2008. In 2008. Okay. I made a prediction that in 2012, I was going to be able to watch the Olympics like either on YouTube or on something like YouTube. All of it. And that came true if you were not an American. Oregon. If you're in one of the 97 countries or whatever that—

0:34:36.180 --> 0:34:41.579
<v B>You were not in a, like, first world, like a large developed country. So, it seemed like—No, England was on

0:34:41.579 --> 0:34:42.962
<v A>the list. Was it? I'm pretty

0:34:42.962 --> 0:34:54.300
<v B>sure. But that's because everybody's a BBC subscriber already. They already all pay for BBC whether they like to or not. Oh, right. I think the way it works—and I'm probably getting this wrong—in the UK, if you have a TV, you have to pay for BBC.

0:34:54.860 --> 0:34:55.220
<v A>Oh.

0:34:55.580 --> 0:34:57.272
<v B>So, you already have to pay a subscription. I

0:34:57.272 --> 0:34:57.800
<v A>didn't know that.

0:34:58.000 --> 0:35:04.040
<v B>Right? It's, like, included. I don't know if it's, like, a tax or a license or a fee you pay. Okay. So, like, they don't have cable providers like we do.

0:35:04.680 --> 0:35:09.379
<v A>So, that was my prediction, and that sort of came true. Okay. My prediction for the next Olympics is that—

0:35:09.379 --> 0:35:13.680
<v B>Okay. Wait, wait. Sorry. I messed it up. Is this the 2014 Olympics or the 2016 Olympics?

0:35:13.979 --> 0:35:14.654
<v A>Oh, you mean the Winter

0:35:14.654 --> 0:35:15.540
<v B>Olympics? Rio or Winter?

0:35:16.680 --> 0:35:18.248
<v A>I think—I'll say Rio. Give

0:35:18.248 --> 0:35:19.007
<v B>myself an extra two

0:35:19.007 --> 0:35:23.918
<v A>years buffer. Okay. By then, definitely any followers have forgotten. So, but maybe

0:35:24.154 --> 0:35:25.032
<v B>you remember. No.

0:35:25.620 --> 0:35:41.140
<v A>So, the prediction is that either using peer-to-peer technology or someone like Microsoft or Google, like, buying the exclusive rights themselves, one of those two things will happen, and you will be able to, for free, watch the Olympics online. That's my prediction.

0:35:41.140 --> 0:36:03.799
<v B>I would agree with you, except NBC has already bought the rights, I think, through 2018 or 2020. So, regardless, like, you would have to pay—you'd have to either, A, buy NBCTE, which owns NBC. Oh, that's devastating. You'd have to buy the company to get the rights, or you would have to pay them to agree to give you the rights. Like, you would have to sub-license from them if they're even allowed to sub-license.

0:36:04.100 --> 0:36:13.640
<v A>That just crushes my spirit. Well, that actually—so, that eliminates option number two. We still have peer-to-peer video streaming.

0:36:13.740 --> 0:36:15.740
<v B>So, well, I assume you meant legally.

0:36:16.380 --> 0:36:17.520
<v A>Oh, well.

0:36:18.660 --> 0:36:21.560
<v B>Well, if you say illegal, you could watch this one for free.

0:36:22.840 --> 0:36:28.520
<v A>Yeah, okay. But it's not very accessible, right? Like, my grandma can't watch it for free easily.

0:36:30.200 --> 0:36:33.274
<v B>There—yeah, okay. This is going to get into a mincing of words. I mean, she has

0:36:33.274 --> 0:36:51.660
<v A>to change her DNS and all this stuff, right? Yes. Yes, yes. So, there will be some peer-to-peer technology which is like unshutdownable. And you know, there's also other websites that had Olympic content, and you'd go to it the next day, like, day two of the Olympics, and just an FBI logo. And like, the FBI just sees that website.

0:36:51.920 --> 0:36:57.034
<v B>Oh, wow. I didn't know that, but—yeah, yeah. You must go to different websites than I do. No, literally, like, I just

0:36:57.034 --> 0:37:03.300
<v A>Yeah. They did this to this other—no, I'm just kidding. So, yeah, so okay, interesting prediction. That's my prediction.

0:37:03.300 --> 0:37:30.380
<v B>So, the biggest problem I had is, oh, we want to use all this social networking. But you had to stay off of every social network. Or even—so, even if you get over-the-air free NBC channel, like, their one channel that only broadcasts some of the things that were only based—so, in America, they only broadcast things that they thought Americans would be interested in. Yeah. It basically turned it into a reality show. Yeah, it's true. About certain athletes as opposed to certain sports or certain—just whatever. Very strange.

0:37:30.480 --> 0:37:34.440
<v A>Yeah, like, there's virtually no team sports. Like, and I'm pretty sure that's on purpose.

0:37:34.840 --> 0:37:57.320
<v B>Well, there were, but regardless. I mean, they're in the minority. Yeah. So, if you—even if you watched the thing, you had to stay offline because they didn't show it until many hours later. So, if you went online, you would see who won the sporting event. Yeah, it'd ruin it. It would just be everywhere. And so, then when you watched it 16 hours later, like—yeah. Yeah, that was the part that killed me is I couldn't go on anything or I would accidentally see who won.

0:37:57.560 --> 0:37:57.760
<v A>Yeah.

0:37:57.880 --> 0:38:03.522
<v B>Right? Even the sports NBC was showing or I knew was going to show that I might be interested in—they were ruined by the end. I think it would have been ruined if I

0:38:03.522 --> 0:38:11.400
<v A>went online. Yeah. Yeah. Yeah, I totally had that happen. Yeah. I went online to see what sports they would show and that was—and I ruined it.

0:38:11.554 --> 0:38:13.562
<v B>Yeah, now Google News will show you who won.

0:38:13.562 --> 0:38:14.520
<v A>Right? Yeah. Yeah, exactly.

0:38:15.740 --> 0:38:18.929
<v B>All right. I implied that you used Google. I had no idea. Maybe you were a Bing user. Yeah.

0:38:19.180 --> 0:38:24.278
<v A>Yeah. Yeah, Bing News showed me who won, but fortunately they were wrong. So, no, I'm just kidding. Oh. So, tool

0:38:24.345 --> 0:38:25.442
<v B>of the buy

0:38:25.442 --> 0:38:25.859
<v A>week.

0:38:27.720 --> 0:38:30.606
<v A>So, my tool is GNU Cash. Is it GNU or

0:38:30.606 --> 0:38:31.720
<v B>GNU? Say that three times fast.

0:38:32.160 --> 0:38:38.470
<v A>I never know. Is it GNU or GNU? Like, do you pronounce the G? I'm not going to pronounce it. All right. Maybe you can look that

0:38:38.470 --> 0:38:39.479
<v B>up. I'm not going to fall victim.

0:38:40.160 --> 0:38:49.962
<v A>I think it's GNU Cash. But anyways, it's G-N-U-C-A-S-H, GNU Cash. And the idea here is... Two

0:38:49.962 --> 0:38:51.040
<v B>syllables, GNU.

0:38:51.278 --> 0:38:51.784
<v A>Oh, it is.

0:38:51.784 --> 0:38:53.780
<v B>GNU. That's what Wikipedia's pronunciation key says.

0:38:53.860 --> 0:39:58.820
<v A>Wow. Learn something new every day. So, GNU Cash is, like many programs—there's GNU Chess, there's GNU Go, there's GNU CC, the C++ compiler. And the GNU Foundation manages a bunch of open-source platforms. And GNU Cash is one of these open-source programs. So, what you can do is you can go into your bank or your credit card or other financial institutions that you're a member of. And you can export to any format you want, actually. Like, GNU Cash will take Microsoft Money or Quicken or the QuickBooks—the new Quicken. They'll take any of these formats. So, you export your data. It's like, for February, you export your, you know, credit card, your bank statements, etc. Then you go into GNU Cash and you import these things. And it will do the job of sort of matching up. So, in other words, if you used your checking account to pay your credit card, it'll match those two transactions together and create a... What's that called? Double logging or something? Anyways.

0:39:59.080 --> 0:40:00.240
<v B>Accounting? The accounting thing?

0:40:00.420 --> 0:41:32.960
<v A>Yeah. When you match the two. Anyways. So, GNU Cash will do all that for you. And it'll try to intelligently—and it gets better at this the more you use it—to guess at the categorization of your entries. Yeah, yeah. So, in the beginning, it actually starts knowing nothing. For example, on your credit card, you paid for Shell Gas. So, Shell will show up. And so, you put 'Gas' on there. But then through fuzzy string matching, it over time starts to learn. Now it's at the point where it's kind of trained. We've been using it for a few months, and it knows most of our expenses. Like, this is video games. This is gas. This... Yeah. And the other cool thing it does is it shows you, like, every month—or you can pick a range of months—it'll show you, like, pie charts and bar charts showing how you're doing and what your biggest expenses are. I cried a little every month when I saw, like, it was, like, $100 plus a month going to sell a cell phone bill. Excuse me. But yeah, it's good to sort of be aware of your expenses. And we were talking about this before the show. Neither Patrick nor I have a set budget. Like, 'Oh, our expenses are going to be X dollars a month.' But the better thing is to sort of have this adaptive budget. So, you know, if over time you see, 'Oh, my video game expenses keep going up and up,' and you know, I'm getting addicted to buying things on Steam and not playing them or whatever, as I am—guilty. So, you could say, 'Oh, I'm going to tone this down. I'm only going to buy one thing on Steam this week.' And so it allows you to sort of self-regulate.

0:41:33.020 --> 0:42:02.740
<v B>Yeah, this is a common mind-hacking thing: if you want to help make something better, if you just make it visible. So it's not exactly visible where your money is going each month. And people tend to have problems spending less than they make. Yeah, which is—you should be doing that. Spend less than you make. It's important, definitely. And if you make it visible, though, right? Like, you see how much you're spending in various things, you begin to be conscientious about it. So even if you're not trying to make it go down, you will make it go down.

0:42:02.880 --> 0:42:03.366
<v A>Yeah. That's typically

0:42:03.366 --> 0:42:37.280
<v B>what happens. Just like this: when they put up a speed limit sign that tells you how fast you're going—even though they don't send you a ticket or anything for the most part—or just showing you your speed, people automatically slow down. Yeah, because they feel bad. And like, 'Oh, other people are seeing me,' right? Like, I need to go slower. Or efficiency of your car. Like, depending on how fast you're going or how fast you accelerate, your car is at different levels of efficient. But even if you don't care about miles per gallon, if you put a meter on there that shows miles per gallon, studies show that you will make your miles per gallon go up. Yeah. Just it's human. Like, you want to make it better.

0:42:37.560 --> 0:42:40.380
<v A>Yeah. I mean, anytime you see a number, you want to make it go either up or down.

0:42:40.380 --> 0:42:41.920
<v B>Whatever direction that it's supposed to go.

0:42:41.920 --> 0:43:06.951
<v A>I noticed that there's a community center where I play volleyball and the speed limit signs are all prime numbers. And like, yeah, in the actual place where you park, like in the specific place where you're passing all the spots, the speed limit is seven. And then when you're getting ready to exit on that sort of main atrium, it's 19. And I just thought that really caught my attention. And so I thought that was pretty clever.

0:43:06.951 --> 0:43:21.480
<v B>Probably not prime. It's probably trying to make it something that you have to actually try for. So if you make it, like, 15 or 20, people kind of confuse the hash marks, right, like on the car. Oh. So, like, making it a weird number, you have to count the hashes and be like, 'Oh, I need to stick it here.'

0:43:21.700 --> 0:43:26.740
<v A>Yeah. Or at least you think about it. Yeah. Like, you don't see a lot of sevens or 19s.

0:43:26.780 --> 0:43:27.674
<v B>Right. That's the first time.

0:43:27.674 --> 0:43:52.720
<v A>I've ever seen 19. Yeah. So just making it something different sort of gets you out of what do they call that? Like, blindness. Like, so there's a term called X-blindness. So it would be like, in this case, speed limit blindness, where you pass by so many speed limit signs every day that you just become blind to them. Just subconscious. Yeah, yeah. So this time, it's like you see a 19 and you're like, whoa, you immediately start paying attention.

0:43:52.960 --> 0:43:55.568
<v B>Yeah. So GNU Cash does this. Yeah. It's helpful. Yeah.

0:43:55.960 --> 0:43:58.540
<v A>GNU Cash keeps you from broke blindness.

0:44:00.799 --> 0:44:05.035
<v A>Spending blindness. So what's your tool of the buy week? My tool of the buy week?

0:44:05.035 --> 0:44:13.460
<v B>is 7-Zip. So 7-Zip is an open source Windows tool for meeting all your compression and decompression needs.

0:44:13.540 --> 0:44:22.820
<v A>Yep. And being the guy who like always pretends to do like four tools, but it's really for different OSs, I'll add P7-Zip, which does this for OS X and Linux.

0:44:22.820 --> 0:45:20.027
<v B>Oh, okay. All right, all right. So 7-Zip. So, I mean, how many times you go on a form somewhere or see something and people are like, 'How do I unzip this?' Or 'How do I do it?' Yeah. So it's like, so get 7-Zip. It'll do all your stuff. So people, it used to be like WinRAR or what was, I forget, the WinZip or whatever. It was one of Windows. But now, just like 7-Zip, I have it installed, what they call it, shell extension. So you can right-click on an archive and then just say 'Extract a folder,' 'Extract.' And first of all, 7-Zip's really fast, so it's nice. And it's, you know, you don't even normally need to bring up the GUI. It has a GUI, but I hardly ever bring it up. And then it just works, right? Like, you just, it's nice. Like, you don't have to think about it. It's just the tool to get. And it's not like WinRAR used to be, it's like what is that called? Pesterware or something? Yeah, you get that pop-up. So, like, it's free, but like you're supposed to pay it just an amount of time. And if you don't, it pops up. Nagware. Okay, yeah. And, you know, you're kind of like, but 7-Zip's not like that. You just install it. It just works. They have their own compression format. Yeah. I think like .7z. Yep,

0:45:20.027 --> 0:45:23.250
<v A>It's LZMA is the type, is the format. Is

0:45:23.250 --> 0:45:51.660
<v B>the algorithm? Okay. Yeah, but it works for RAR files. It works for ZIP files. It works for tar.gz files, you know, that you get from Linux stuff if you ever need something that's that. You know, it just works. I think it even works on ISO files. Like, I think an ISO container, like, you can unzip the ISO into its component files. Yep. Of course, some ISOs can contain stuff like boot sectors and things, so I'm sure it probably just ditches those. Yeah, probably. But like all the files that are there, it'll extract.

0:45:51.879 --> 0:46:03.784
<v A>So it's really useful. Yep. And 7-Zip is like the best compression you're going to get without knowing the media. You know, like an MP3 will always beat 7-Zip because it's lossy and it's

0:46:03.970 --> 0:46:05.300
<v B>Made for these? It's cheating.

0:46:05.560 --> 0:46:13.540
<v A>Yeah. But if you don't know what you're zipping or you just want a general utility, 7-Zip will give you the best compression out there.

0:46:14.180 --> 0:46:15.520
<v B>So, yeah, I recommend that.

0:46:15.700 --> 0:46:20.840
<v A>Yeah, yeah, it's great. Multi-threaded, too, so it runs pretty fast. Yeah, it's good stuff. Definitely get that. Yep.

0:46:21.420 --> 0:46:26.540
<v B>All right. So on to our programming language of the week. I don't even know if we announced it. I guess we did announce it at the beginning. We're covering Go.

0:46:27.060 --> 0:46:29.974
<v A>Yes. Go-Go. Maybe they, you

0:46:29.974 --> 0:46:31.760
<v B>Know. Go-Go gadget umbrella.

0:46:32.820 --> 0:46:50.427
<v A>If you didn't know, you might think that I was just telling you to start talking. Like, episode 18, Go, and then you just start talking. Yeah. Patrick left the building. So, yeah, so Go is a—Go is actually an imperative language that was invented at Google. Oh,

0:46:50.427 --> 0:46:50.640
<v B>Okay.

0:46:50.640 --> 0:46:54.480
<v A>But it has sort of a lot of nice, like, sort of functional characteristics that make it really

0:46:54.480 --> 0:46:55.259
<v B>So it's pretty new, right?

0:46:56.080 --> 0:46:56.974
<v A>Yeah. About

0:46:56.974 --> 0:46:57.940
<v B>Two years ago now?

0:46:58.279 --> 0:47:33.840
<v A>Something like that. I mean, Go 1.0 came out, what, March? So that's, what is it now, August? So, yeah, just about six months ago the 1.0, like the official version came out. But before that, they had sort of, like, these release candidates that had varying levels of functionality. Like, batteries, like, as far from included as possible. Even, like, I remember when it first came out a couple years ago, you needed to download a library just to print to the screen. Like, you had to go on the internet and get, like, another package for printing. And I was like, this is ridiculous.

0:47:34.180 --> 0:47:34.380
<v B>Yeah.

0:47:34.380 --> 0:47:43.020
<v A>But now, you know, they have a lot of those things included, like file.io and printing and all that stuff is all totally in there now.

0:47:43.020 --> 0:48:06.520
<v B>So the thing that I remember when I first started hearing the press releases about Go and people talking about it, as people tend to do any time Google says anything, was this, it was built for multi-processor environment. Like, you know, now there are computers that have many cores and that kind of stuff. And that it was going to be, it's not multi-threaded. I remember it wasn't. But people said that it was built for things that have multiple cores and multiple processors. So what do they use to do that, that can handle concurrency?

0:48:06.880 --> 0:48:17.760
<v A>Right. So they use GoRoutines. And GoRoutines is sort of a play on words. It's a play on co-routines, which I think we've talked about, actually, on the show. Okay. But I'll just recap quickly.

0:48:19.560 --> 0:48:40.520
<v A>So you have, let's just go through the layers. You have processes. And so if you ever go to, like, your Task Manager in Windows or you type top in Linux or on the Mac, you go to the, what's it called, Activity Monitor, you can see a list of your processes. Like, I have Chrome. I have Firefox. I have, you know, Adium and SimMessenger, et cetera.

0:48:42.140 --> 0:48:52.260
<v A>That's like the highest level of granularity. And so starting up a process is pretty time-consuming. And you're not supposed to have thousands of processes running or hundreds of thousands, right? You're supposed to have just...

0:48:52.260 --> 0:48:53.597
<v B>Unless you're effective with malware. Yeah,

0:48:53.783 --> 0:50:00.760
<v A>That's right. Our parents probably have. Well, maybe not your parents. Your parents are pretty tech-savvy. But sure, my parents have thousands of processes. But anyway, so you're intended to have, you know, 20, 30, as many as you have programs running, right? Then the next level down, a process can create multiple threads. And so threads can sort of allow you to do two things at exactly the same time. And you can have different threads running on different cores of your machine. And so you get, you know, N-way parallelism. So let's say you wanted to... Let's say 7-Zip, for example. So 7-Zip will take... Let's say 7-Zip knows you have four cores on your computer. Well, they'll take your file, split it into four chunks, and do the compression on each chunk on a different thread, on a different core. And so once it's done, all those threads will come back together and merge the chunks. So that's threads. But in many environments, you actually want... So along with processes, you can't have that many threads. Like, you can actually only have a few hundred threads total.

0:50:02.680 --> 0:51:37.319
<v A>Some operating systems, I mean, some, if you have enough memory and things, you can get to 1,000 or even 2,000. It's extremely rare. If you're making an application for everyday users, you can't really feasibly go over 100 threads safely. So... But you might want to do 1,000 things at the same time, right? Like, that might make your program easier to write, easier to understand. Maybe if you're doing, like, disk kind of stuff, you know, you might only have, like, 90 of these that need the CPU at one time. But you have the other, like, 900 waiting on the network, right? So to do that, they invented coroutines. And the idea is coroutines is something that sits on top of a thread pool. So you might have, let's say, your application might have 10 threads that are all just kind of sitting there waiting for work. And you might have 10,000 coroutines. And the coroutine says, hey, I have stuff to do. Give me a thread that's available. And so you have up to, you know, let's say, four coroutines that can do that. And then once they're like, oh, I'm waiting for the hard drive, you know, this thread can work on another coroutine. So coroutines have been awesome. Stackless Python is one of the first programming languages that had coroutines. Now Ruby has them. But for people who have heard of EVE Online, the MMO, that whole thing runs on a few machines that have stackless Python. And every AI is running its own coroutine. So if you imagine there's, like, millions of computer opponents in the game, and each one of them has a coroutine that's sort of running

0:51:37.319 --> 0:52:02.160
<v B>at its own pace. So the interesting thing about EVE Online, well, one of the many interesting things about EVE Online is that as opposed to most massively multiplayer online games where there's essentially parallel worlds, where if you exist in one world, you only exist in that world, and it's not easy to travel to another world. And all player activity doesn't exist in just one world. But EVE Online, every player logged in, and every, it all exists in one common shared world.

0:52:02.480 --> 0:53:02.600
<v A>Yeah. Yeah, exactly. And so one of the reasons why they were able to do that is because they picked a technology that scales so well. So, I mean, it wouldn't be possible to have, I mean, a lot of these, like, World of Warcraft and things like that, they might do, like, a thread for every zone AI. Like, each zone will have, like, for all the AI running in that zone, one thread. And so if you follow that logic, you can only have a few hundred or a thousand zones, right? And then you have to, you know, use a new machine. So Go, you know, understood that coroutines are awesome and that we want to sort of, like, take advantage of that. But they also understood that a lot of people who need this kind of tech aren't Python and Ruby programmers. They're guys who do, like, low-level, you know, like, networking or, like, this back-end for World of Warcraft, like, heavy data processing and things like that. So they created a language that was very similar to C or C++, but with this coroutine support.

0:53:02.800 --> 0:53:07.260
<v B>Looking at Go code, it really does look a lot like C. You can almost just read it like it's C.

0:53:07.520 --> 0:54:15.623
<v A>Yep. Yeah, it has the option of being strongly or weakly typed. You can actually do, like, x := and then anything. So if you change the return value of the function, now x's type changes. But you can also be explicit and say, like, you know, integer. Yeah, it's actually backwards. It's really confusing when you see it for the first time. It's, like, x int :=, which is, like, really throws you off. But, yeah, you can say effectively, like, x is an integer and it's equal to the output of this function. And if the function output changes, you'll get a compiler error. So it gives you that safety that you often need when you're doing these, like, critical back-end, you know. Like, if you think about it, you can have a front-end in JavaScript as most, you know, browser front-ends are. And if something crashes, your program will keep running. Like, let's say you're using Gmail or Yahoo Mail or something. You go to open a mail and your JavaScript crashes. You'll just try to open another mail and you're okay, you know. Or you'll reload the page and the whole JavaScript engine will refresh. If your back-end crashes, you're in big trouble. Like, if the thing that writes the database crashes, then, like, everybody's host. That's

0:54:15.623 --> 0:54:18.200
<v B>when the server goes down. Yeah. That's when you say that the website's down.

0:54:18.440 --> 0:54:25.060
<v A>Yeah. Then everybody on using your service gets the screen with, like, a team of monkeys has been dispatched to fix the problem.

0:54:25.660 --> 0:54:27.240
<v B>Or the whale with all the balloons.

0:54:28.080 --> 0:54:29.280
<v A>Oh, I haven't seen that one.

0:54:29.360 --> 0:54:30.000
<v B>The fail whale.

0:54:30.920 --> 0:54:32.059
<v A>That's awesome. What is

0:54:32.059 --> 0:54:33.360
<v B>that? I think that's a Twitter one, right?

0:54:33.460 --> 0:55:01.962
<v A>Oh. All I know is the YouTube one: The team of monkeys has been dispatched. But actually, there's the crying robot, too, on Gmail. But anyways. So, yeah. So, if Go is an attempt to sort of give you that safety that C++ gives you—the strong type and everything—and even give you more safety because Go has a garbage collection and safe pointers, so you don't have to worry about buffer overruns. So, you can't do arbitrary pointer math. Yep. Oh.

0:55:02.380 --> 0:55:04.340
<v B>Gone are the crazy C operations.

0:55:05.200 --> 0:55:05.894
<v A>No, you're right. Yeah,

0:55:05.894 --> 0:55:06.860
<v B>it's memory safe.

0:55:07.080 --> 0:55:08.087
<v A>Yep. Yep. It's totally

0:55:08.087 --> 0:55:09.180
<v B>memory safe. It can be type safe, yep.

0:55:09.440 --> 0:55:18.700
<v A>So, yeah. You can do crazy, like, you can add pointers, but if you ever go out of bounds, yeah, you'll get a runtime error, as opposed to, like, in C where it'll just kind of let you do crazy things.

0:55:18.700 --> 0:55:20.240
<v B>Depending on if you do something bad or not.

0:55:20.380 --> 0:55:31.500
<v A>Yeah, yeah. Like, if you have some kind of static thing, it'll, like, if C, you can allocate a huge array and then have smaller arrays inside of it and do all sorts of funky things with memory. You can't do that with Go. But, um.

0:55:31.960 --> 0:56:06.200
<v B>But they try to still, as opposed, they try to give you some ability to kind of lay out memory and control more how memory is done. So that it still stays efficient because you can have more control over how things are done because you know what it should act like. Yep. As opposed to just, you know, kind of, I think the way Java more approaches it is, like, doesn't really give you any control over that. Like, look, we know what we're doing. You just write your code and we'll handle everything else. Yep. But sometimes you can impart knowledge. Like, hey, I know. Like, let me give you this hint. Like, hey, put these things next to each other because I'm going to keep using them over and over again.

0:56:06.400 --> 0:56:12.560
<v A>Yep. Yeah, totally. Yeah, Go gives you that. Go gives you sort of that flexibility that you can do. It lets you do that, which is awesome.

0:56:14.920 --> 0:56:37.480
<v A>So Go works, as we mentioned, with Go routines. And the way that these routines talk to each other is through channels. And so the idea is if you've ever used a concurrent queue in Java, you know what a channel is. It's exactly that. So what a concurrent queue is, first let's talk about a queue is. A queue is a, I always get this mixed up.

0:56:37.800 --> 0:56:38.680
<v B>First in, first out.

0:56:39.480 --> 0:56:44.760
<v A>Is that? Yes, that's a queue. I always get those two mixed up. For some reason, like.

0:56:44.840 --> 0:57:00.779
<v B>A queue is literally like a pipe. Like, or like a line when you queue up to get your Starbucks or your McDonald's or whatever. The first person who gets there is the first person who gets served. And everybody who comes next, if there's somebody in front of them, has to wait behind that person in front of them.

0:57:01.020 --> 0:57:05.200
<v A>Right. But like in the case of a stack, which is...

0:57:05.580 --> 0:57:06.680
<v B>Last in, first out.

0:57:07.765 --> 0:57:07.967
<v A>Right.

0:57:08.000 --> 0:57:11.759
<v B>The most recent person to get there is the first person to be served.

0:57:11.760 --> 0:57:37.279
<v A>See, I know. I found out now why I get it confused. Because I think, let's say you have a bunch of things already in the stack. And you put a thing in the stack. I think that—that's sometimes I can think that that's the first thing because it's like the thing you just put in. But that's totally wrong. So just to clear it, the thing you just put onto the structure is the last thing. Yes. And so when the first...

0:57:37.279 --> 0:57:39.400
<v B>thing goes out, the most recent timestamp.

0:57:40.200 --> 0:57:41.060
<v A>Yeah, that's a good way.

0:57:41.060 --> 0:57:41.580
<v B>of the event.

0:57:42.100 --> 0:58:37.920
<v A>Yeah. That's the last thing. And so, yeah, a queue is a first in, first out. And you can use these channels, which are queues, to talk amongst goroutines. And the interesting thing is it can be blocking. It doesn't have to be, but it can be. So, for example, you could create 10 goroutines. Let's say you're implementing 7-Zip, for example. You could create 10 goroutines that would compute 10, you know, that would compress 10 chunks of memory, you know, one each. And then would pass the compressed chunks through one of these channels. Then in your main program, you would say, you know, go and then the first function. Go space second function. Go space third. And then at the end of the 10 functions are in a for loop. At the end of that, you could have another for loop from 1 to 10 where you just read from the channel.

0:58:38.080 --> 0:58:43.980
<v B>And you block. So, even if channel 5 finishes before channel 1, you won't look at it because you're waiting for channel 1.

0:58:44.240 --> 0:58:57.800
<v A>Oh, so you can actually do both? Oh, okay. You can actually block in order to where, like, the first channel, the first goroutine has to answer first. Or you can just block and say, once any of these 10 finishes, then, like, you know, do something with the data and then wait for the answer.

0:58:57.800 --> 0:59:05.860
<v B>So, in the case of 7-Zip, you'd be interested in having it ordered. Right? Because you need to write it out ordered to the file, typically. Right, right. But in other something, you may not care.

0:59:06.060 --> 0:59:06.396
<v A>Right.

0:59:06.396 --> 0:59:09.080
<v B>Exactly. First thing that gets done, let me know because I want to start doing work again.

0:59:09.340 --> 0:59:14.880
<v A>Yep. And so, there's some things that make this really great. So, we'll talk about some of the strengths.

0:59:16.892 --> 1:00:45.580
<v A>One strength is that to turn something from a function call, which is synchronous. So, let's say you laid out your program as if you had written it in C. And it just said 4i equals 0 to 10, compress chunk i. And then 4i equals 0 to 10, like, write chunk i. Like, you could write that in C, and it would just, like, use one thread and one routine, and it would just execute in parallel or in sequence. And if you had any bugs, you would find them and things like that. If you wrote it in Go, or if you wanted to change it into using more than one core, all you have to do is put the word Go in front of the function. Well, and you have to do the channel stuff, right? But the idea here is the channels will work, and the functions will work without Go. So, if you don't put the word Go, it'll only use one core, and everything will run in sequence, which is great for debugging. And, you know, your channels will, obviously, like, your channel will completely fill up before you get to that stage where it empties, because it'll do all 10 in blocking, right? But it's cool because you can test it, and you can see if there are any bugs and things like that. Then all you do is you go in your code, and you add Go, Go, Go. And, you know, as long as you've done it right, all of a sudden now your program is using, like, all the cores on your machine, and it runs super fast. But, you know, most of the time when you get to that stage, it's already well tested. And so that whole, like, pipeline of development I found to be, like, really nice.

1:00:45.660 --> 1:00:46.400
<v B>Yeah, that is nice.

1:00:46.400 --> 1:01:22.819
<v A>And the other thing is, because they're coroutines and not threads, you don't have to worry about using too many of them. So, I mean, let's say you broke your file up into 1 meg chunks, and each chunk you tried to process in parallel. Well, if you use threads, and I gave you, like, a 10 gigabyte file, and you tried to create 10,000 threads, you'd crash the OS, and, yeah, it'd be a nightmare, right? But in Go, you can create 10,000 Go routines, and they know, like, the 9,998 of them would know you only have two cores, not to, you know, waste your time. And so they just sit there.

1:01:25.700 --> 1:02:02.588
<v B>So you talked about, I mean, maybe skipping ahead a little bit, you're just kind of getting to the strengths. So this, I mean, I even brought it up, this concurrency is kind of baked in. It's pretty nice. People seem to like it. It's lightweight, like it's not a big chore to get it set up and working, like it can be in some languages. And then you don't really have to worry about all this thread, and I need to start up a thread pool, and then I need to have a queue, and threads need to service the queue, and all that kind of stuff is just taken care of. Which is really nice, because now that processors aren't really getting any faster, but we're getting more of them, even, like, you know, phones now are going to have, I think, like four processors in them. Yep.

1:02:02.660 --> 1:02:08.759
<v A>And now they have those 64-core desktop processors. It's just insane.

1:02:09.479 --> 1:02:12.620
<v B>So those are strengths, but with strengths come weaknesses.

1:02:13.100 --> 1:02:14.100
<v A>Yeah, that's right.

1:02:14.640 --> 1:02:32.940
<v B>So one of the weaknesses is there's no generics. So it's hard to write something that operates. Generics is what the Java name is, and C++ it's called templates. Yeah. So this is like you write one function, and it kind of knows how to operate on all sorts of different types that are passed in.

1:02:33.120 --> 1:02:33.360
<v A>Yep.

1:02:35.299 --> 1:03:43.990
<v B>And then the other thing is it's still pretty new. And as with anything, if you're going to try to use this at work, I'm not going to vouch for it. I don't think Google might vouch for it, but I'm not going to vouch for how reliable this is or how great it is or that it'll work. So if you're trying to go to your boss and, like, hey, I want to write this our entire startup company. We want to make it based on Go. Yeah. You know, like, you might be a genius five years from now, or you might ruin your startup when they have to rewrite all their code just because it doesn't have that track record, that history. But it is good for using, you know, like we always encourage people to find that little project or that little tool that you need to write and implement it in Go. And then one day it will have that track record or it'll pass by the wayside. Yeah, one of the two. But, you know, everything starts at some point, right? Like, I mean, C++ used to be brand new and people laughed at it and said nobody will ever use that. Now it's like, what did we do before C++? Or, you know, Java's becoming that same way. You know, so C or C, so Go, you know, maybe one day people will look back and be like, 'Back when I was a kid, Go was a young rippersnapper.'

1:03:45.120 --> 1:04:48.640
<v A>Yeah, exactly. I mean, but it's interesting that you mentioned C++ because, you know, just think how hard this stuff is. So remember, the people that Go, that Go language is going after, in my opinion, are the C, C++, the really low level. And to do this kind of stuff in C++ is super hard, right? I mean, even just threading. Like, I don't know about you, but any time I've had to do multi-threading, I've had to use Boost Thread. Because, like, Boost Thread has all this code which, like, wraps around this. Like, it'll say, 'Oh, I'm in Windows, I need to use what is it called, the threading library in Windows? Not Winsock. But anyways, uses something. If you're in Linux, it uses PThread. PThread. Or Mac uses PThread. You know, so then if you want to do thread pools, you have to write the thread pool code yourself and handle that and, like, make sure all the threads are, like, busy. Like, you have to do all that yourself. It's just insane. And so Go gives you all of that for free and still gives you a lot of the constructs in C and C++ that low-level programmers really like.

1:04:48.700 --> 1:04:56.164
<v B>Yeah, I guess my point is, like I was saying, it's a track record thing, right? Yeah, totally. Don't be surprised if your boss isn't gung-ho about it. Yeah.

1:04:56.164 --> 1:04:56.569
<v A>Exactly.

1:04:57.580 --> 1:05:15.080
<v B>You know, if you're in university, writing a research paper in Go, it might be great and there might be a lot of stuff to study. But the problem is, in 10 years from now, if your plan is to have that research paper be worth selling in 10 years, you'd rather build on something that has, you know, people kind of, it's trusted. It's well-known.

1:05:15.200 --> 1:05:19.540
<v A>And you know it's going to be there. And the compiler will exist for future machines.

1:05:19.640 --> 1:05:30.120
<v B>Right, yeah. Like, C++, like, I mean, even if people stop writing code in it, there's just so much code that is written in it. Yeah. Support somewhere by somebody seems like it would just have to continue, right?

1:05:30.120 --> 1:05:52.700
<v A>Yeah, and I mean, that's why, like, C++ is so ubiquitous that the Android has the native development kit. And I think iPhone has something. Actually, iPhone C++ just works natively. So, yeah, I mean, like, these languages have stood the test of time long enough to where, you know, you could write something in C++ and someone could use it on Android, right? I mean, right now, that's not true with Go and it might never be true.

1:05:53.299 --> 1:05:55.460
<v B>I mean, it doesn't have its place. It's just not ready yet.

1:05:55.720 --> 1:06:09.469
<v A>Yeah. Yeah, and there's also, along those lines, there's not a lot of bindings for Go. So, in other words, let's say you wanted to use 7-Zip, for example. Let's say you wanted to use 7-Zip inside your program and you're writing. So, 7-Zip is

1:06:09.469 --> 1:06:14.025
<v B>written. Well, 7-Zip source code part or library. Yeah, right, right. Part of their

1:06:14.025 --> 1:06:39.620
<v A>Program. So, 7-Zip is written in C++. But if you wanted to use it in Java, there's a binding for it, which means that the 7-Zip people, or maybe somebody else, some hobbyist, has gone in and written the glue code to access 7-Zip C++ libraries from Java. And so, Java has a ton of these bindings to other libraries. But Go doesn't have any of this yet.

1:06:40.620 --> 1:06:47.725
<v B>Yep. Yep. So, as far as tools go, there are two different compilers for Go. So

1:06:47.725 --> 1:06:59.380
<v A>Many! Yeah, I mean, you know, I think this is common, right? Because C++ was the same way. There was a number of different compilers. And then, remember when there was, like, Turbo C++?

1:06:59.620 --> 1:07:13.700
<v B>Well, there still are. There are many. I mean, you've got, like, the Microsoft compilers. You've got GCC. I mean, there are typically, you know, multiple compilers. And it's interesting that, though, one person, you know, essentially Google, is developing Go, and they've still thought to release two compilers.

1:07:13.859 --> 1:07:56.940
<v A>Yeah. Yeah. So, in this case, the, but actually the two compilers have different sort of use cases, I guess you could say, or different sort of applications. The regular Go compiler has a really fast compile time. But it has a really slow, not really slow, but it's a slower runtime. And so there's also a version called GCC Go. And what this does is it runs, like, a Go preprocessor on the code. And so for people who don't know, GCC is more than just a C compiler. It also does C++, obviously, G++. But there's GCJ for Java. There's other.

1:07:56.940 --> 1:07:59.940
<v B>It basically exists for, like, every programming language.

1:08:00.420 --> 1:08:04.000
<v A>I'm trying to think. I can't come up with another one, but I know there is at least

1:08:04.000 --> 1:08:05.240
<v B>One more. Yeah, almost every language.

1:08:05.660 --> 1:08:13.760
<v A>There's GCD for decompiling. So, anyways, so all of them compile down to this intermediary code, which, I don't know, has some name.

1:08:14.720 --> 1:08:26.979
<v B>So there's a front end. So you can have a different front end, like you're saying, like a precompiler, that produces this output file in a certain format. Right? That represents kind of the programming structure as opposed to the specific language.

1:08:27.139 --> 1:08:40.315
<v A>Right, exactly. And then there's the GCC backend, which can take things from GCJ, GCC, G++. It can take output from all of these because they're all in the same format and just do a ton of, like, optimization. Crazy,

1:08:40.315 --> 1:08:42.680
<v B>like, research-based optimization.

1:08:43.020 --> 1:09:05.290
<v A>Yeah, like, oh, this for loop could be unfurled or unrolled. This one can't. And there's some crazy branching we can do here to try both branches, et cetera. So GCC Go has a Go front end with a GCC backend. And because it's doing all this crazy, funky stuff, it takes longer to compile. But then it should, in theory, run faster. So you

1:09:05.290 --> 1:09:19.380
<v B>You can, when you're doing the interactive, like, try something, run it, try something, run it, you can do the fast compile times. You don't waste a lot of your time. Yeah. But then when you're ready to kind of, like, you know, start testing performance or tuning that, then you can switch over to the GCC.

1:09:19.580 --> 1:10:06.900
<v A>Yeah, totally, totally. That's nice. Yeah, another cool tool is—this is more of, I guess, a doc than a tool, but it's organizing Go code. I found this really useful. I've been writing Go for the past few weeks, and I found this kind of useful in sort of laying out, understanding, you know, what is a package and what's a package supposed to contain? Because, you know, in languages like C++ and Go—the package, and even in Java, actually, I never quite understood, like, you know, oh, I have 20 files. Should I try to group these files in different packages? Like, what's the limit, you know? And so it tries to address some of those, like, philosophical or maybe architectural questions. So, yeah, those are some pretty good tools to get people started.

1:10:07.099 --> 1:10:18.299
<v B>Yeah, I think we've got some. So, you know, Go is new, but it's cool. It's good for a lot of low-level systems, like we're talking about applications, back-end stuff, you know. Watch where it goes, you know.

1:10:18.380 --> 1:11:04.500
<v A>Yeah, I mean, think about if you write a server in Go. So, you know, typically the way a server works is you have some kind of thread pool, and then people access your server—like somebody hits your website—and it looks for an open thread to service, like, that web request, right? So pretty much everything you do on the web that's server-side or anything you do that has to service a lot of customers relies on some kind of thread pool. And as we mentioned, you know, in C++, there is no thread pool. You have to write that yourself. So this stuff in Go becomes very easy. Like, if somebody hits your website and it has a Go backend, you just kick off a Go routine. And you don't worry about, oh, if a million people hit my website at the same time, I'll kill the operating system.

1:11:04.759 --> 1:11:05.580
<v B>You might go really slow.

1:11:06.019 --> 1:11:29.740
<v A>Yeah, I mean, you know, that person, that millionth person that hit the website, you know, they might not get service. The request—like, the browser might tell them that this website is not available. You know, and there's, you can actually, before kicking off the Go routine, you could check on things like that. But the important thing is that you're doing something really low level, but you don't run the risk of blowing up the operating system, right? I mean, that's sort of the nice thing about it.

1:11:31.840 --> 1:11:55.694
<v B>We've gotten some awesome feedback about our Java episode. People like that. People have some comments, and we read them all. We don't always reply, or at least not expediently, to all of our stuff. We do read them. We are listening. We're paying attention to some new languages people have been asking for. The queue is growing. It's not first and first—I guess maybe it's a priority queue. Yeah, that's right. But the languages are growing faster than we're actually recording them. Yeah, we

1:11:55.694 --> 1:11:59.719
<v A>definitely are going to spend the next few episodes getting back to some of those requests.

1:12:00.099 --> 1:12:07.980
<v B>Yep, but thanks for all the feedback. As always, you can find us on our Google Plus page or email us at programmingthrowdown@gmail.com.

1:12:08.080 --> 1:12:15.540
<v A>Yeah, if you write any cool programs in Go, definitely post us a link or something. Tell us about them.

1:12:16.320 --> 1:12:17.682
<v B>All right, well, until next time. See

1:12:17.817 --> 1:12:18.620
<v A>You guys later.

1:12:19.082 --> 1:12:20.972
<v B>The intro music is Axo by

1:12:20.972 --> 1:12:41.840
<v A>Bynar 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 share alike in kind. All right, well, let's do it again.

