Podcast Lookup

Theoretical Artificial Intelligence

Programming Throwdown

  • May 31, 2013
  • 1 h 13 min
  • Episode 27
Episode page
About this episodeThis show covers Theoretical Artificial Intelligence, a deep dive into what AI is all about. Tools of the show: TypeScript and Ridiciulous…

This show covers Theoretical Artificial Intelligence, a deep dive into what AI is all about. Tools of the show: TypeScript and Ridiciulous Fishing. Books of the show: Dungeon (Paperback: http://amzn.to/11Iares) and Hitchhiker's Guide to the Galaxy (Kindle: http://amzn.to/117nNv3) (Hardcover: http://amzn.to/11IaEyj)

★ Support this podcast on Patreon ★

Transcript

From the publisher

This transcript comes from the podcast’s own feed, shown as the publisher wrote it.

Theoretical Artificial Intelligence

00:00—
  1. A

    Hosting provided by HostTornado. They offer website hosting packages, dedicated servers, and VPS solutions. HostT.net.

  2. B

    Programming Throwdown, Episode 27: Artificial Intelligence Theory. Take it away, Jason.

  3. A

    Hey, so we're back from vacation. Pretty excited about that.

  4. B

    Yeah, we took a break. Sorry, that was my fault.

  5. A

    No, it wasn't your fault.

  6. B

    Well, it wasn't really my fault.

  7. A

    It was the end of the season.

  8. B

    Oh, yes. Okay. And

  9. A

    now it's the beginning of

  10. B

    another. We're starting a new season.

  11. A

    We're very excited, though, to be back.

  12. B

    It works for TV shows, so why doesn't it work for us?

  13. A

    Yeah, I mean, they have to go celebrate on their private island that they bought in the Bahamas with all their millions as actors. Just like we did. Yeah, that's exactly what we did.

  14. B

    The show earned us our first million dollars, and so we took a couple weeks off. Yeah, right. Wait, that's not what happened to you? Wait, you made... Oh, I owe you your share. I'm sorry. I'm sorry. I spent it all already.

  15. A

    No, I'm Margarita. We'll

  16. B

    just have to do another 26 episodes.

  17. A

    Yep. Yeah, pretty exciting to do our 27th episode. And yeah, I have the first of these articles. It's pretty interesting. I posted this on G+, so some of you who are following the Programming Dirtown community got sort of a sneak peek on this article. But yeah, I thought it was pretty funny. Basically, an indie game company made a Game Dev Tycoon, which is sort of like one of these Sim... You know, there's these SimCity kind of games where you have some complex adaptive system. So it's just some sort of system that's running around. And your job is to sort of tease apart these variables that you don't really know. Like, for example, in SimCity, you know, there's like crime is created from residential zones. And you put police stations to reduce the crime. But that takes money and space. And so you have to make these trade-offs, things like that. And you start

  18. B

    to... I think you just sucked all the fun out of SimCity.

  19. A

    Yeah. You start to like learn the dynamic... Half of the fun is like learning the dynamics of the Sim and all that. So these guys made a Game Dev Sim where you're like a few guys in a base...

  20. B

    So you make choices about what you want to spend your money on

  21. A

    about making a game. Hacking on games. And you can like choose... Do I want to buy like the PS3 Dev Kit, which costs $100,000, but has a lot of...

  22. B

    But neither of us have played this game, so this is speculation. Oh, no, I have. Oh, you did? Oh, you played it? Oh, okay. Never mind. Jason has played this game.

  23. A

    Yeah. But, you know, or just make a PC game on the web. So it's pretty fun. It's kind of a cute theme, cute story. So they did something pretty fun where they released a quote-unquote cracked version of their own game as soon as they released the game and put it on Pirate Bay. What they did was if you pirated the game using, you know, their cracked version, about halfway through the game, people start pirating your in-game games that you're producing.

  24. B

    Must go deeper.

  25. A

    And you run out of money and you fail the game. And I thought it was pretty fun.

  26. B

    So the pirates keep stealing enough that you can never win. Yeah, exactly. So you start to just do worse and worse and worse.

  27. A

    Yeah.

  28. B

    So it's like effectively a not-demo-demo.

  29. A

    Yeah, yeah. It's basically, it's the illusion that you're getting the full game, but you're really getting, you know, the first 30 days of game time or whatever.

  30. B

    But I mean, I think that's fair. Like, I mean, people... This is what people always say, right? Like, oh, I downloaded this game so I can see if I like it or not. If I like it, I'll buy it. Yeah. But if you play it halfway through before this happens or essentially... You really liked it. You should have probably bought it by then.

  31. A

    Yeah. I mean, I was super pissed when I had no game. I'm just kidding. Oh, no. The truth goes up, right? Uh-huh. But it's a pretty funny article. Some people posted on their forums saying, 'Hey, pirates keep, you know, stealing my game.' Can I research DRM in the game and stuff like that? So...

  32. B

    Oh, wait. That'd be really funny, actually. I want to learn how to DRM the game that I cracked.

  33. A

    Yeah.

  34. B

    I want to learn to DRM in the game, which... Oh, God. This is

  35. A

    confusing. Totally in such a moment there.

  36. B

    Yeah. This has happened before. A couple of people have done this, like, where I think one person, like, released a version of the game, but in the game you wear a pirate hat if you download the version. Like, just, like, to be cutesy, like, remind you or whatever. Actually, I... But legally, like, I guess it's weird, right? Because if you can't get in trouble for downloading a cracked version that the publisher put out.

  37. A

    So, like, I think...

  38. B

    Yeah. Not that these people... I think these people have no intention of suing the people stealing. But I don't think you ever... Like... Right. You couldn't sue somebody for downloading a version you released.

  39. A

    Yeah. I mean, and also there's an element of entrapment, too. Like, if there's a game and it's new and it's hot and you put it out on Pirate Bay immediately, maybe some people couldn't even buy it yet. I mean, I don't know exactly when they put it out and when they made the game available in different countries and whatnot. But you might get someone to pirate the game who wouldn't have if you hadn't done that, right? So, yeah, I don't think you can go after them. But actually, there was one game, and I think it was Squaresoft. They made a game for Android. This is pretty cruel. Oh, no, no. It was Earthbound. Remember the game Earthbound for Nintendo? No. Vaguely. Vaguely. So, if you copied that game, like, if you tried to dump the ROM, they had something in the game. I don't remember specifics, but you'd get to the boss after playing for 30 or 40 hours, and the game would crash. Like, purposely crash right there. That's pretty devastating.

  40. B

    Well, on a similar thing, talking about Pirates, the much-hyped Dude Daft Punk album, Random Access Memories. Pretty awesome. They, I don't, I don't think, as of this recording, I don't think they have actually even fully released it yet. But what they did was, on iTunes, you can actually go on your computer and stream the whole album. So, there's a couple interesting caveats. One is that, like, it streams all at once. So, I went and listened to it. But, like, there's no track. So, you have to listen. Like, you can pause it and come back. And you can move around in the song, I think. But you can't actually, like, do, like, next track, next track, or shuffle or any of that, right? You just listen front to back. Like, the quality seemed okay. I wasn't really, like, listening to it in an environment where I could tell if it was a really high-quality stream or not. But it seemed okay. And people were saying, like, that, I guess, a version, I didn't quite follow, but a version have, a pirated but lower-quality version had been, like, put onto the torrent sites right before this. It's like, people were confused. Like, did they steal it from the streaming site or something? Oh, okay. And it turns out now, like, this happened a couple days ago that they released the streaming version. That somebody did find a way to basically, anytime iTunes does this, you can go download it from the stream. Basically, they're just streaming a file. Yeah. So, you can find a link to that file, basically, and then just download it. Or, of course, you could always just record it. Yeah,

  41. A

    just capture the audio. But,

  42. B

    It's interesting because if you're going to do that hassle, like, presumably you would probably download it somewhere else anyways. Like, but it's interesting to try to maybe get more people to buy it. They'll do this. I mean, from my impression, Daft Punk has more money than they care what to do with. So, like, I don't, like, I don't know that they super care, like, if people steal their album or not, which may be different for small people. But this is kind of an interesting move to head off, you know, people trying to release it earlier, get the scoop.

  43. A

    Yeah. There was a TED Talk about a lady who, you know, going back to your point about big versus, like, small artists, she, from day one, made all of her albums free and did everything off donations and merch sales at her concert. And she did remarkably well. So, like, the studies show that if you release all the music for free, more people will come to your concert, and enough of those people will buy t-shirts and bracelets. Especially, she kind of, you know, like, she'd make it a point in her concert to be like, you know, hey, if you like it, you know, pay money for something, you know. Yeah. Please support us. A little bit of psychology there. You have to do kind of the right thing there. But, yeah, it worked really well for her.

  44. B

    Yeah. I think it's music industry is probably going to break into pieces where, like, different people earn living in different ways or whatever. But, I mean, I do. I have heard this story over and over again that, yeah, like, if you kind of just give it away for free and then charge for your concert and for merchandise, like, you can do pretty well. But it's increasingly difficult to charge for the music itself. Right. And people are saying, like, with increasing, like, this, you know, RDO and Spotify and then recently Google announced they were going to be doing something similar. Yeah. It's rumored Apple's going to do something similar as well, these, like, radio things. But they pay ridiculously low. So, like, it's like 100 streams of your song and you'll get three pennies or something. Yeah, exactly. It's like some ridiculously bad deal. So, like, charging for that is really, really hard.

  45. A

    Yep. I mean, and it makes sense that, you know, the concert, you know, even when people were paying, say, like, $1 a song on iTunes, right, that's still nothing compared to $70 a ticket to go to a concert. And if you go to a concert, you're probably going to have to bring a friend, right, unless you want to go alone. So, that's, like, $140 they're making. You don't have

  46. B

    to sell $140. But it's not scalable, right? I mean, ideally, you would like to be able to sell your album digitally all over the world with basically no cost. Whereas if you do a concert, you have to pay to rent the venue. You have to go there. You can only do it for sale.

  47. A

    That's a good point. I saw there's, and I forgot the name of it

  48. B

    now, but there's some artists are doing, like, concerts online where, like, you can pay, like, $5 or whatever and, like, watch them play a couple of songs on, like, you know, like YouTube. Like, YouTube, like, as opposed to recording a video or streaming it live, though, you, like, people buy to, like, have you play or whatever. And I thought that was kind of interesting, you know? Like, oh, okay. You know, that's another way to do it. Like, a more, quote, unquote, intimate setting, I guess. Like, with only the really diehard fans.

  49. A

    It's like what Udacity is to colleges. They're trying to do the concerts.

  50. B

    Yes, maybe. Okay. I don't know. That point escapes me.

  51. A

    Yep. Okay. But yeah, another article is pretty interesting. North Carolina has banned—so technically they haven't banned Teslas, but they've effectively

  52. B

    Tesla sales.

  53. A

    Right. But they've effectively banned Tesla sales. Basically, so apparently to have a car dealership, you have to like meet a bunch of criteria. And one of the criteria is you have to be in the state and employed in the state and things like that. So, you know, there's a lot of, for example, if you go to your neighborhood, you know, Ford or Cadillac or whatever dealership, they have, you know, a general manager for that dealership who lives in that state, et cetera. And they have a set of, you know, certified car salesmen, et cetera. So Tesla didn't want to do any of that. They wanted to sort of take a page from Apple's textbook and just have a bunch of stores with, you know, a couple of cars and then some, you know, Tesla geniuses like the Apple geniuses. But they would really kind of route you through either a phone or an online system or something like that and you'd custom order your car, et cetera. So they're going that route. And, you know, anytime you go against, you know, the status quo, you're going to run up against people with a lot of money and therefore a lot of resistance. And so apparently there was some lobbyists who gave the senator of North Carolina a bunch of money and he passed a law, pushed through a law saying that, no, you know, if you don't have a certified dealership, you can't sell cars in our state.

  54. B

    Yeah, it's a really subtle issue where there are established car dealerships. And I guess the way these things are currently written, like I think you're alluding to, it's like the people who make cars aren't allowed to sell directly to a consumer. Right? For whatever, you know, probably I'm sure I'm going to trust that was a legitimate reason at one point about why you would want to buy from someone else as opposed to directly from the people who made the car. This whole infrastructure was created. And like I said, I'm sure there are legitimate reasons. I just don't know what they are. I don't know, but Tesla now, right, is trying to skip that. Like, oh, we don't want middlemen. We just want to sell directly and like help lower costs in addition to all the other things they're doing with making the electric car and all that. This is one of the ways they're trying to be different. And so like you said, just have, it's just a showroom, but not actually a dealership kind of thing. And then people just kind of buy from Tesla directly in California. Right? And then, you know, they just bring the car to them or whatever. It's like Amazon, like you just buy your car on Amazon and they just deliver it to your door.

  55. A

    Yeah, it just shows up.

  56. B

    But you want somewhere to go sit in the car and try it

  57. A

    or whatever, presumably. Right.

  58. B

    But like you said, this makes a lot of established people very upset. It's kind of nerve wracking, though, that like they're not just trying to hurt Tesla, but they're also concerned, like maybe or maybe not, they're concerned about Tesla. But I think there's also like some other thing where maybe they're concerned about Ford saying, 'Wow, this works really well for Tesla. It would work really good for us, too.' Right? And then Ford starts selling directly in North Carolina. And then they bypass the—they can sell cheaper than these other people can because they don't

  59. A

    have to hold inventory. You bought your car online or no?

  60. B

    No.

  61. A

    Okay. Well, I haven't bought my car online. I

  62. B

    shopped for it online. Like I did a lot of shopping around and, you know, emailing people.

  63. A

    Oh, yeah. But

  64. B

    ultimately I went somewhere and bought it.

  65. A

    It is possible, right, to go online and totally customize the car you want online and then it goes to the store. So I mean like.

  66. B

    No, but I think ultimately you have to go through a dealership.

  67. A

    Oh, I see.

  68. B

    Like you can't have, at least I know of. I don't think like you can go on Ford's—we just keep using Ford as an example, but go on Ford's website, like pick out a car and say like, you know, I want to just go ahead and pay for all of this at this price. You know, send your check to them or whatever and have it show up to your door. Okay? Or even like have it just show up somewhere. Right? Like I think ultimately you can order it, but then I think what happens, at least this is my assumption from the little bit of stuff I did, is you can build the car you want, but then ultimately they say, 'Here's five dealers in your area. Which one would you like to get you a quote on what that car will cost? Like how much they'll charge you for it.' I see. Okay. Right? So they kind of have like, 'Here's the listed price,' but that price is really high. Like you wouldn't ever really want to pay that price. So then like they will call you and like, 'Oh, we can give you a better deal than that.' You know, or maybe just charge you that. It just depends.

  69. A

    But yeah, I

  70. B

    don't think there's no like, but it makes sense. Right? Like for me, I would rather just pick the car based on reviews and customize it and then just have somebody drive it on a flatbed to my house and drop it off one day. Like, so,

  71. A

    so cars are a little different, I think, than most things in that, you know, you have to sort of negotiate when you're buying a car. Like I don't negotiate when I'm buying a toaster. Right? But yeah. So, but okay. So a house is a huge investment and also there's limited supply of houses. So there it's a little bit different. Okay. Okay. But even like take a huge TV. Let's say you want to buy a gigantic $6,000 TV. There's some cars that cost 6,000. Right.

  72. B

    So yes, there's

  73. A

    Some Kias out there. I'm sure that cost. Anyway, the point is there's things that cost a lot of money that don't involve negotiation. Right? That's true. Yeah. And so I feel like the whole like car negotiating, go to the salesman and haggle thing, like that can disappear. Like I don't feel like.

  74. B

    So I feel like. I agree. I don't like that aspect. In fact, I, you know, I almost went—there was one dealership we had which just said like, 'Look, this is our price.' And they weren't like, you know, joking. Like I got the sense legitimately they had no intention to negotiate with me. But their price is also really, really good. Yeah. But then unfortunately, as much as I didn't want this to happen, but it ended up better, I guess. I went and found other people who didn't believe me until I said like, 'Like what this other place was offering.' But then they actually did manage to give it to me cheaper. And so it was like, oh, I'd rather give my business to the place that wasn't going to make me negotiate and was giving me what from all intents and purposes seemed like the best deal. But then I did manage to negotiate a better deal somewhere else. It's kind of like, oh, but I do think like, I mean, cars are one of the most expensive things you would buy. Yeah. And I also think, which increasingly I didn't know this, but if you're willing to negotiate, you can't actually negotiate on TV purchases.

  75. A

    You can't do?

  76. B

    What? You can negotiate on TV purchases. Yeah.

  77. A

    Oh.

  78. B

    So like if you're going to buy something that expensive, you can, well, even just like from a low level, you could shop around, right? Like you'd go to Fry's or Best Buy or whatever.

  79. A

    Oh yeah, definitely. Whatever.

  80. B

    You could bring an ad, right? Like, 'Hey, they got it cheaper.' Like, can you give me a better deal than this? You can do. And then the other thing is cars are typically not just like a standard item. There's a lot of options. Right? So if there's like a TV, you could do that, right? Like if you start to include things like extended warranties and whether it comes with an installation kit and stuff, like you can especially negotiate on those parts.

  81. A

    Yeah. Actually, you just reminded me—sorry to interject. No problem. Pro tip: If you're getting a new phone, you can almost always get a free case. So the past two or three phones I've paid for, I've got free cases just because as you say, 'Look, this price is pretty high.' You know, I could probably get it cheaper. You know, walk out the store, come back the next day, you get a free case. So whether that is like worth it to you or not. But yeah, to your point, you can negotiate on a lot of things.

  82. B

    Yeah. So like I think we—maybe it's our generation, maybe it's just who we are. I don't, I have no idea what it is, but I personally don't really care for negotiation. Like I'd rather just be everybody be up front, which

  83. A

    Okay.

  84. B

    which never happens. But like, you know, I want to—I don't really like doing that, but I do know that sometimes if you're willing to say something, like it's happened to me before a couple of times, I've, you know, just mentioned something even like, oh, I saw like you guys offer this thing or whatever on this other item. Could I get it on this? I'm like, yeah, sure. Or, and they'll give me some other thing or a discount or, oh, this coupon expired. Could I go ahead and use it anyways? And in reality, they really shouldn't give it to you because like sales are tied to coupons. So they try not to run sales and coupons at the same time. Right. And this kind of thing. But if you just ask and then they say, okay, either because they don't know what they're doing or they just really want to make the sale, there's a lot of wiggle room for all things. That was a far off topic. I would, I really do want the day though where I can just like go online, choose what I want, get a fair price and like have the car brought to my house.

  85. A

    Yeah. That's all I mean.

  86. B

    And then I only have to deal with negotiating and selling my car, my previous car.

  87. A

    Yeah. I think that we can get there. I mean, this is a step in the right direction.

  88. B

    Unless it gets banned everywhere. Well, this is a step in the wrong direction. North Carolina banning

  89. A

    It. Yeah. The article is a step in the wrong direction. But yeah, I mean, eventually, you know, cars will, you know, there's already so much information on the internet, right? That you could go to a dealership. It would be amazing if you could take a car and on the test drive, take it to CarMax and try and sell it. Oh. Yeah. I mean, we're dragging this topic up. You've seen that story from the person who said he could beat any chess player in the world, even a grandmaster. As long as he picks two of them, he can guarantee to beat one of them. And he would just go back and forth playing the move the other one. Oh,

  90. B

    No. I haven't heard this story.

  91. A

    Yeah. So like, let's say there's two grandmasters. Can you see that? Yeah, yeah, yeah. You just play them off each other. As long as one plays white and the other plays black, then yeah, you just play the other move and eventually you beat one of them, right?

  92. B

    Yeah. Okay. It'd be nice if you could do this with cars. Okay. I didn't. Okay. Maybe that's a little bit extreme. But I mean, yeah. We'll see. I don't know if we'll ever get there. It's interesting. And it's also hard because we're getting off topic, but there's this whole free market aspect, right? But then people want to change what that is. Like, oh, Tesla is getting unfair advantage or whatever. We want them to play on the same field. People don't want the game to change when they're playing a game and doing good at it.

  93. A

    Right. That's true.

  94. B

    So I think there's some things. It's kind of interesting when you see this and it's like, really? Like, this is kind of blatant that like you're just trying to protect your entrenchment and not allowing things to change.

  95. A

    Yeah. That's definitely what's going on here. I don't know. So anyways, we're always way off topic quite a bit. So time for... Tool of the show. Show. Show. Oh, I did a double there. Wow. Reverb. And I didn't even have to do that in post. So... Whoa, whoa. All right. You're up first. All right. I'm up first. So my tool of the show is TypeScript. So... That's where you

  96. B

    type out scripts. Why do I always... I'm so compelled every time to make some stupid comment when you say this. It's really annoying. I'm sorry.

  97. A

    It's calligraphy. So JavaScript is totally ubiquitous, right? I mean, JavaScript's the only language that works on all major browsers. So if you're going to do something client-side in the browser, you're going to be writing JavaScript. Now JavaScript... Now JavaScript... So Apple and Google don't quite get along. So neither one wants to support the other one. Like, you know, Apple doesn't support Java, programming Java. Google doesn't support Objective-C for Android. Windows, I don't even know what you write in. I guess C Sharp. Who knows? But one thing I do know is that all of them support the JavaScript compiler. So, you know, if you were to try to submit the Java compiler, you know, in C++, like that compiler, as part of your app to the iPhone store, they will just reject it. And this has happened before. People have tried. They've been rejected over and over. But the JavaScript compiler, totally legit. So JavaScript has taken over mobile for the same reason that it's taken over desktop, which is, you know, it supports all the major phones. So with JavaScript becoming so popular, people have been trying to sort of, you know, try to get the best of both worlds, try to use JavaScript and get this, you know, universal, you know, support. But then also try to get things like type safety, things like static analysis, these things which make life a lot easier if you're doing, say, C++ or Java or something like that. And people have listened to a lot of our episodes, know that we talk about this at length. So long story short, TypeScript is a dialect of JavaScript, but it allows you to annotate JavaScript with types. You're allowed to say, hey, this thing should only ever be an integer. And this thing should only ever be a string, et cetera. So then what happens, you run a TypeScript compiler, which takes all of these annotations, and it also supports some cool things like classes and inheritance, things like that. It takes all of your TypeScript files and converts them into JavaScript, and it transpiles them. And when it does, it doesn't create some horrendous JavaScript that, you know, you would expect, like just some complete disaster. But it creates JavaScript that's actually very readable. And along the way, it makes sure that you haven't violated any of your type constraints. So it's pretty cool. I've been using it a little bit. I haven't made anything with it, but I've been using this Turbulence TypeScript game engine, and I'm really liking it. I'm a big fan.

  98. B

    Nice. Nice.

  99. A

    Yeah. So

  100. B

    Is it much different than, like, other things I hear, which are, like, JavaScript derivative stuff?

  101. A

    Yeah. So there's CoffeeScript.

  102. B

    Yeah, CoffeeScript, Dart.

  103. A

    There's Dart. So one cool thing about TypeScript is, as I mentioned, kind of an annotation system. So you can take existing JavaScript code and just rename the files to .ts. Okay. And then TypeScript will compile them back to JavaScript, which is a no-op in this case. But it will, but you can take an existing JavaScript project, and it immediately is a TypeScript project. That was kind of the appeal for me, or actually the appeal for those Turbulence developers when I was reading their blog. They said, you know, we had a ton of JavaScript code. We were getting all these runtime errors, and it's kind of a mess and unmaintainable. And we needed a way to sort of add type safety and other nice things, but we didn't want to rewrite our code from scratch. So, yeah, Dart is pretty awesome. Definitely look into that. Have we talked about Dart? I don't know. I think we did a show on it. Yeah, we did a show on Dart. Okay. Yeah. We have terrible memory. Well, it's our 27th show, you know. They say humans can only remember seven things. We'll talk about that in our AI, maybe. But anyways.

  104. B

    Oh, we did. We did a whole show on Dart. Man, I feel stupid now.

  105. A

    Yes. So there's a bunch of languages. Oh,

  106. B

    I remember now, yes.

  107. A

    TypeScript is pretty nice because it is JavaScript. At least it can be. So, yeah. Cool. So what is your toolish?

  108. B

    show? That was episode 12 for anybody wanting to play along at home.

  109. A

    Oh, yeah. Definitely. Flashback time.

  110. B

    You can go listen to us talk about Dart then. No, I remember talking about Dart. I just was trying to understand the difference because I haven't heard of TypeScript before. Gotcha. So try to relate something new to something I know. Nice. You know, Java is just C++ with garbage collection. So that's how I understand Java.

  111. A

    Sure. And batteries.

  112. B

    Sorry. That was not a funny joke. In my continued not doing good at sticking to actual things that are useful as tools, I have another game.

  113. A

    They're tools for your mind. They're tools for

  114. B

    me to spend time. Yeah. And I think actually worse, I think this one is iOS specific. And that is ridiculous fishing. Ridiculous. So ridiculous fishing is truly ridiculous. The game starts out as you're basically a guy on a fishing boat. But it's not like one of those old games if you ever played one, like with the little handheld fishing rod and you like flick it and you like wind or whatever. Like, I don't remember what they were called.

  115. A

    Oh, yeah. I remember. Like Bass Pro. Yeah.

  116. B

    Or something. Yeah. Yeah. Yeah. So it's not like that, though. It's much more ridiculous. So you cast your lure into the water, but there's no casting mechanism. You just drop it. And then it starts to fall through the water column. And there are fish. But you're really trying to avoid the fish. Oh. Because you want to get down. The biggest fish. Because good fish are like lower. So you want to get down. It's like different types of fish versus like each type only has one size. But anyway, you like navigate your way down trying to avoid fish. And the first fish you run into, you're going to hook him. And then you start coming up. But on the way up, any fish you hit, you also hook. So kind of like Katamari. What are you like getting bigger and bigger clump of fish on your hook? Oh, man. But it doesn't grow. So like, but anyways. I see what you're saying. It

  117. A

    does. Okay.

  118. B

    So you're ascending now through the water column, the opposite of however far down you went. And that would be pretty ridiculous because it's got like a crazy vector art style and pixel. But it doesn't stop there. Oh, okay. As soon as you get to the surface, instead of having collected those fish, you don't actually get the fish until you shoot them. So the fish explode into like a rain of fish. And then you have to take your finger on the touchscreen and tap the fish to shoot them. And some fish take, you have to shoot multiple times. Some fish are negative points. You actually don't want to shoot them. Oh, or you lose points. So you shoot all the fish as they're raining up and then down. And then any ones you miss fall into the water and you lose them. You don't. It doesn't count.

  119. A

    So do you get one cast and then you start? Like is each cast a different game? A different instance of the game?

  120. B

    Yeah. Yeah. Basically. So once this thing is done, then it's over, right? Like you have gotten some money and then you can buy upgrades.

  121. A

    So like things,

  122. B

    that allow you to not have to go back up the first time you hit a fish. Kind of like a health or whatever. Or like a better lure that allows you to chainsaw through fish and hit score points that way. Or like better guns. So like maybe like an orbiting laser cannon that blows fish up, or maybe a shotgun or a machine gun. And like depending,

  123. A

    on your style. Is anybody who reaches the bottom? Is

  124. B

    there a bottom? Yeah. So there's different fishing holes you go to, and they have different depths. And there are different things at the bottom. And there's a progression and a story and an end. And I won't spoil it, but it's a ridiculous story. That sounds nice. That I don't think I really understand. But then they eventually get to an endless mode, and then kind of you can try to collect all the fish. You try to various things. But it's a pretty cool game. But there's a story here which I think is fairly interesting. So the developer of this, Vlambeer—I'm probably saying that wrong. Also, you might have heard of the game Super Crate Box.

  125. A

    Okay.

  126. B

    Maybe not. They made this game as well. But they had what was the name of it? It was like Radical Fishing, which was like a web game, which was something—I haven't played it—but something fairly similar. And after they released that game, that was like 2011 I think, another company came out with something called Ninja Fishing, which was essentially what this Radical Fishing was, but just like for iOS devices. Oh, someone copied them. So someone copied them. And they were already starting to make this ridiculous fishing. It was like a blank company people knew, but it was still, what I gather, at least somewhat successful. Wow. So what did they do? They just went and spent more time refining their game. And it took them until now a couple years let it die down that thing to pass and then come out with this even better game and kind of show them. And supposedly it's doing really well. Wow. Anyways.

  127. A

    So I would

  128. B

    encourage you to check it out. It's $3. That's right. $2.99.

  129. A

    It has 3,000 ratings. That's pretty high. At least

  130. B

    3,000 people have bought it.

  131. A

    Yeah. I don't know.

  132. B

    So, yeah. I don't think you can get the exact number of downloads they've had. They don't tell you.

  133. A

    But I think realistically, like, what is it like?

  134. B

    It's like at least 1%.

  135. A

    Of people will rate. Yeah. Let's say like 1 in 25% of people rate it to be conservative. Then multiply it by 20. That's 60,000 downloads. That's pretty good.

  136. B

    No. That's not that good. I think it's way better than

  137. A

    that, actually. All right.

  138. B

    So, I mean, I think they've sold lots of it.

  139. A

    Oh, wow. Okay.

  140. B

    Anyways. Regardless of how many they've sold or not sold or destroyed, it's a ridiculous game. You should try it out.

  141. A

    Yeah. It sounds absolutely ridiculous. Hopefully they'll make Android version.

  142. B

    Yeah.

  143. A

    Anything 2D should be pretty straightforward. Should be

  144. B

    Straightforward. Yeah. I mean, that's always an interesting thing, right? Like things which get made for one and not the other, for various reasons. And various people have opinions.

  145. A

    See if they wrote it in TypeScript. You

  146. B

    Should mail them a letter, Jason. I know. You should get a petition going.

  147. A

    We should combine our tools here.

  148. B

    You should get a petition going. All

  149. A

    Right.

  150. B

    Now it's time for the book of

  151. A

    The show. Book of the show. All

  152. B

    Right.

  153. A

    So, my book of the show is a graphic novel, which I always find really funny.

  154. B

    It's graphic. Like, it describes a lot of gore in the novel. Yeah.

  155. A

    I'm fine. I did it again. I'm so sorry. I'm fine being really immature and calling it comics. Like, it doesn't bother me. I don't feel like I'm less of a person. Anyways, so this is a very long comic—hundreds of pages—but totally awesome. And it's called Dungeon. It's actually written by a couple of French authors: a French author and illustrator, but then Joann Spar and Louis Trondheim. But then it was translated to English. It's pretty awesome. Basically, the story is, you know, you've played so many video games where you have to go in the dungeon, slay the dragon, save the princess, etc., or you've seen so many books or stories about it, right? This sort of takes that concept and turns it on its head. So, the comic is about you are the protagonist as a Dungeon Master. And actually, in the first volume, which is what I linked to, which you can buy through our Amazon web referral, which is pretty awesome, is you play as the son of a dungeon or you follow the son of a Dungeon Master. And then the feature volumes, he sort of inherits the family business. The business is, you know, getting warriors to come into your dungeon, letting them slay some slimes and building up their confidence and letting them, you know, go back to the town, get some more weapons, come back. And then at some point, killing them and then taking all their armor and weapons and pawning them off. So, that is the business of the dungeon. That's evil. Yeah. So, if you've ever played, like, Dungeon Keeper or any of these games, it's kind of, like, very paradoxical. And it's a pretty awesome book. Highly recommend it. They have to go to their, you know, board meeting where the, you know, Board of Trustees looks in on the dungeon and sees the graphs. And they talk about how they don't have hockey stick performance in their dungeon and what can we do? At one point, they have a branding problem because the dungeon is too close to another dungeon. So, they kidnap a princess so that all these warriors start coming to their dungeon instead. And then the enemy dungeon kidnaps their princess back. So, it's just pretty funny. Pretty awesome. And I highly recommend it. It's a great read.

  156. B

    That does sound interesting. On the notion of lighthearted and less serious thing, my book is Hitchhiker's Guide to the Galaxy. Woo-hoo! So, this was written by Douglas Adams.

  157. A

    Yes.

  158. B

    I believe the order of this is that originally this was a radio show on the BBC, right? And then he wrote this book. It makes—it's a very, if you've never heard of it before or read it before, a lot of pop culture geek references have their start in this book.

  159. A

    Yeah. If there are a lot of jokes that you don't understand, it's probably because you haven't read this book.

  160. B

    That's possible. But it's really—it's kind of like a comical take on science fiction with a lot of hilarity. But it's a really good read. There is a story there. It has a lot of interesting tangents and things that don't always make sense. But it's funny, and it is really classic geek material.

  161. A

    Yeah. I mean, they interviewed—you know, there's been tons of interviews with Douglas Adams. But one in particular that I read, he actually hitchhiked throughout Europe. And he had a book called Hitchhiker's Guide to Europe. And it was about sort of how to hitchhike through Europe with no money. And he went through Europe completely penniless for months. And so that inspired him to write this Hitchhiker's Guide to the Galaxy. And so it's a phenomenal read. So, yeah.

  162. B

    Yeah, definitely. If you haven't read it before, you should definitely check it out. Yeah, totally. And it's been out for a while now—25 years at least.

  163. A

    Yeah, yeah. So,

  164. B

    yeah.

  165. A

    I mean, it's a pretty reasonable price, I think. I haven't bought it in a long time, but I think I looked it up and it was.

  166. B

    It's okay. That's all right. It's well priced, and you can get—you'll probably even get a used copy if you want.

  167. A

    Yeah, $14. Oh, okay. Yeah,

  168. B

    Not five. And there's five books. It was $14. Yeah, I was going to say. So it was supposed to be a trilogy, but it ended up being five books. What?

  169. A

    Is that called? Quintilogy? I

  170. B

    Guess. He has a funny name for it. I forget. I've seen a quote by him about it.

  171. A

    Oh, really? I can't

  172. B

    Recall what it is. All right. But some classic characters from that book.

  173. A

    Yeah. Any book where this isn't too much of a spoiler because it's super early in the book, but any book which the Earth gets destroyed on the first chapter has to be amazing, right? I mean, that sets the stage for awesome.

  174. B

    As long as you make sure to bring your towel, you'll be okay. Yeah, definitely. All right. On to theoretical Artificial Intelligence. Okay. Maybe Artificial Intelligence theory.

  175. A

    Yeah, definitely. So we're actually doing a two-parter—two parts. Two. So the first part is... And, best of all, they're both free. What? This isn't like one of those Zynga games where we give you the first part and then we charge you $100. Wait, that's

  176. B

    A brilliant idea. No, because then the first part would have to be really good.

  177. A

    Yeah.

  178. B

    And then the second part wouldn't be as good. And then people would be mad and want their money back.

  179. A

    We're setting up microtransactions. We're just going to go on tangents until you pay us a dollar. Beep!

  180. B

    Please insert coin here. Yeah. To continue, that would be 25 cents further, please. Yeah. Oh, man. So you have

  181. A

    on here the Turk.

  182. B

    No, first we're going to talk about—we will not cover everything in AI because we don't have enough time. Yeah, definitely. So this, I liken this to: We'll do a tour of Artificial Intelligence. Yeah. Jason and I will be your tour guides.

  183. A

    Definitely. We'll hold hands. Hold your hands. What? Stop. Stop. We'll walk you through the world of AI.

  184. B

    So we're going to go over some highlights. This is by no means comprehensive. And we may try to shorten some things. And hopefully that's not too bad. If there's anything we miss and you really want to hear about, feel free to email us. Next episode, we'll read some listener feedback. Yeah. And so you guys have been doing that. And so keep doing that. And if you have something you want to hear, please go ahead and write us. Let us know. We can cover something in more detail. I don't know—that we could cover something in less detail because we'll have already covered it.

  185. A

    We'll do our best.

  186. B

    So my favorite AI thing when I think about AI, this is kind of bad. I don't know. I think about the Turk. So if you don't know what the Turk is, this was in the 18th century. I guess it started around 1770—was kind of the exact time. And this was billed as a mechanical automata chess master, right? So this was a robot you could go visit who sat in front of a chess table and would play chess very well. Keep in mind, 1770. 1770. People were amazed. They went on tour for nearly 100 years. And people would pay to come see it. It was just like a, you know, what in the world? Like this machine. People were amazed to see this machine that could beat you, could play. I remember going to—this is really weird, but going to North Carolina as like probably like a third or fourth grader with my family and going somewhere where they had like various arcade machines and they had a chicken that played tic-tac-toe. What? So you, it was—this is really bad. Like I don't, people should not have done this, but it lived inside like one of those crane machines, you know, like the

  187. A

    crane. Oh my God, no way.

  188. B

    But no crane, but no crane. But like in a glass box and you would put a quarter in and the chicken would go first. So I assume what happened, they drop a little feed into this box and the chicken would go over and peck, and it was

  189. A

    labeled like, you know, an input box or something.

  190. B

    And the chicken would peck, and then, you know, the screen would show what position it picked. And then you would go next, and then the chicken would go over and peck some more food. And then you would just back and forth, and the chicken was unbeatable. Nobody could beat the chicken. So I guess maybe it's like early childhood memory of not being able to beat a chicken, like being embarrassed that I couldn't beat a chicken at Tic-Tac-Toe, like, shaped my life. And so the Turk was similar. This was this machine. And you know, I think there are a lot of drawings of it, you know, like kind of the chest was open. You could see all these gears, you know, kind of whirring and spinning and figuring out how to play chess. And for a hundred years, people were amazed at this. And then it was finally destroyed in a fire. And they wrote about the secret of the Turk was that there were chess masters inside of him, cleverly hiding themselves and manipulating the arms of the robot to play chess. But I think, and we can go through like history of all these things people thinking about and talking about AI, but just like the kind of amazement that the average person has with some machine, something that's not human, but smarter than them.

  191. A

    Yeah. Yeah, definitely. That's pretty awesome. That's where Amazon Mechanical Turk came from.

  192. B

    Yeah. So yeah, nice, clever name. Pretty awesome. So

  193. A

    Yeah. I mean, so one of the hallmarks of early AI was Alan Turing's Turing Test. And it basically in a nutshell says that if a human can't tell whether they're interacting with a computer or another human, then said computer has passed the Turing Test. And so that's been something that sort of AI people have constantly gone back to.

  194. B

    Yeah. It kind of goes to what I'm saying, right? Like that people want to know something smarter than themselves. So if you could make, how do you tell when a computer is intelligent? Wow. If you can't tell the difference between a human, it's at least as intelligent as a human.

  195. A

    Yeah. Yeah. And we'll definitely cover that because there are a lot of interesting areas that can go there.

  196. B

    Also, we talked about last episode, I believe our book was Foundation Series by Isaac Asimov. Yeah. And I think that was my book. And Isaac Asimov also has a very popular kind of saying related to artificial intelligence and robotics in particular, where he had the Three Laws of Robotics, which are: A robot may not injure a human being or through inaction allow a human being to come to harm. Number two, a robot must obey orders given to it by human beings, except where such orders conflict with the first law. And three, a robot must protect its own existence as long as such protection does not conflict with the first or second laws. So anyways, read all that to say that I think it's interesting that people were fascinated and are still fascinated by these laws to think that you could get to the point where it would even matter that you had these laws. Like if something was capable of being worried about whether or not it obeyed by the laws, you had kind of arrived.

  197. A

    Right. And to think about the Laws of Robotics dealing with safety and being so integrated with safety shows sort of the inherent fear of AI, right? Even today, people are worried that some AI will go horribly wrong or AI will take over the world. We don't need people.

  198. B

    Yeah. It's a classic Terminator thing, right?

  199. A

    Yeah, exactly. Yeah.

  200. B

    Yeah. So people are like fascinated and fearful of, you know, going back to the Turk, like that this thing can be smarter than them and that they won't have a good way to stop it.

  201. A

    Right. Right. So in the early '50s, there was a lot of pioneering work. There was the first neural network, which we'll cover in more detail definitely in the second episode. But suffice it to say that there's an artificial neural network, which is sort of a mathematical approximation of sort of the electrical patterns that go on in a human brain and the plasticity of that. So in other words, how your brain sort of transforms to capture information and store it there. And we'll cover that in more detail. There's also Arthur Samuel's famous Checkers AI where some concepts like MiniMax and planning and things like that were introduced.

  202. B

    And I think it's interesting, like the relationship of even today games and artificial intelligence, because I think it's a way for like defining a set of rules, almost like the Turing Test, right? Like you're defining a world that has a set of rules, the game, and then you're allowing, you can pit yourself against the opponent, the computer that like you can put somebody on the other end. And as long as if you're both obeying by the same set of rules, you've essentially created a level playing field.

  203. A

    Yeah. Yeah, definitely.

  204. B

    So playing a computer in Checkers, like if it can beat you in Checkers, you know, in some ways, like it's bested you at Checkers, right?

  205. A

    Right. Like in the domain of Checkers, it's easy to pass the Turing Test, right? It's much harder to pass the Turing Test when, you know, locomotion, speech, all of these other things are involved, right? I mean, once you've done that, then you've made a...

  206. B

    Although interestingly, you and I went to a talk by a person who does board game design, and I thought he had an interesting point where he was saying that writing a game for the computer, it's very, sometimes it's very easy to write an AI, but playing an AI is very different from playing a human.

  207. A

    Oh, that's true.

  208. B

    So passing the Turing Test of Checkers is like, you can win at Checkers, but people don't get the feeling that they're playing a human. Right. You're playing distinctly different and maybe in a way that a human wouldn't normally play. Yeah. Like he mentioned overly, over aggressiveness. Yeah. That often, you know, human opponents will try to play well without being mean, but the computer is just going to do whatever is best in its odds.

  209. A

    Yeah. Another thing too is, say, take Checkers, for example. So you learn to play Checkers from, a human learns to play Checkers from either somebody or a book that somebody has written. So there's sort of this, what's called the quote unquote eternal conversation. There's an eternal conversation on Checkers. So the first people who invented Checkers said some things about it and how it captures some part of the world, world dynamics. That's probably what inspired them to make Checkers, probably war or something like that. Then there's people who sort of took that, expounded on it, expounded on it. Some people wrote books on strategies. And so your understanding of Checkers is actually derived from the people who taught it to you and then subsequently everybody else in that stream. Whereas a computer is just going to learn Checkers as a mathematical function. Right. So it might be exploring Checkers in a completely different vector than you are.

  210. B

    Yeah. So almost like if somebody makes an analogy to you about how to determine what to do, then you're likely to make different decisions in the computer which doesn't understand how to equate playing Checkers to moving in a cornfield.

  211. A

    Yeah, exactly. That doesn't make sense. That's why game AI is so hard. People think, oh, game AI, you know, I'll do all this planning and stuff like that. And they think all these sophisticated methods and things that the Mars Rover would use. Right. But it doesn't really work. I mean, think about it like even just in Mario. If the Goombas bounced every now and then, that'd probably be harder to jump on them. Right. But that doesn't make the game more fun. Right. Part of what makes Mario fun is the predictability. You hit the turtle shell. It knocks eight Goombas in a row. You get a one up. You know, it makes your brain happy. Right. Serotonin's released. So making a computer that can sort of facilitate a fun experience is actually really hard. A lot harder than making, as you mentioned, the perfect player. Right.

  212. B

    So leading into the 1950s and the quote unquote golden age of artificial intelligence.

  213. A

    Yeah. So at this point, everyone thought, oh, we have it. We figured out neural networks and we know how the brain works and how electricity causes you to store information. So that's it. We got it figured out. We're going to have human-level intelligence. And they thought that for about 15 years, 20 years or so, and realized it's not true. And we'll get into why that is. But yeah. So after the golden age, which is around mid-70s, we have what's called the AI winter. And this is where, you know, people started to lose faith in AI. And the goals that AI set were so lofty that even if AI had made tremendous progress, which it didn't, it still would have gone through this period of remission. Right. But it went through a terrible winter where basically people thought AI was kind of dead. There's not really a point to it. Then in the 90s, you had this sort of renaissance of AI. A lot of people attribute the renaissance of AI to, you know, better, faster computers, Moore's Law, things like that. And also just more sophisticated methods and just a lot of infrastructure, you know, both on the research and on the computation side.

  214. B

    In 1996 was when Deep Blue, a supercomputer and program combo, beat Garry Kasparov in chess. In chess. And I always find this story interesting because, first of all, I didn't even realize it was that recent. Well, relatively recent, I guess. Yeah, totally. And it's kind of like if you look at their checkers, world-class checkers in '51, and it took 45 years to play something that's played on the same board. You play chess and checkers on the same, or you can play on the same board. Yeah, I think it's even the same size. Yeah, same size, same board, right? And just different pieces, different rules or whatever. And, like, look how drastically different. And, I mean, obviously, chess, you can even tell simply it's much more complex than checkers. But, like, you know, it took all this time to kind of get there. That's interesting to me. It's also interesting, like, this huge controversy over, like, were people helping it? Like, you know, was it a ploy by IBM to increase their stock price? Like, nobody's ever fully convinced that they—I mean, today, I think people are fairly settled that it's—at least my understanding, it's pretty hard. Like, chess—you can sometimes beat a chess computer like the world-class ones. But

  215. A

    Yeah, now it's at the point where the best chess computers beat the best players. And it's sort of a given that that's going to remain forever.

  216. B

    Yeah. So now—but back then, like, in the intermediate years, there was a time when it wasn't quite clear. And even then, right, like, you would think, oh, that was the first time that a computer had beat a reigning world chess master. And so, like, okay, like, that's it, right? Like, but maybe there's all these caveats and, you know,

  217. A

    One of the things I remember that was up for contention was they actually put all of Kasparov's games that he's ever played into Deep Blue's, you know, repository. So Deep Blue knew kind of Kasparov's strategies specifically. And so the argument was, oh, if we took someone who wasn't Kasparov, you know, like, would you have to train for each person or is the system general, right? And at the time, I think that some of those were valid. I think that if you had another famous chess player play Deep Blue, you would have to train on that person for a while as well. But now they've gotten to the point where they'll beat anybody.

  218. B

    So what is artificial intelligence?

  219. A

    All right. Well, here we're getting sort of the meat of the podcast. So all right. Let me get my soapbox out for me to stand up. Okay. I'll take a seat. So first let's talk about intelligence, right? Because this by itself is pretty loaded, right? So when you talk about intelligence, you're talking almost certainly about human or animal intelligence, right? Or

  220. B

    lack of it.

  221. A

    Yeah. If you're watching real world, then you're—so there's two main sources of intelligence. One is neural plasticity. So this is, you know, if I tell you, hey, my phone number is 545-5555, whatever. That's not

  222. B

    really your number.

  223. A

    No, I'm getting phone calls already. Then a week later, you know, I ask you what my phone number is and you recite it to me, right? There's intelligence and just memorization. And at a higher level, if you learn the layout of your house and then the next week you unlock the front door and go straight to the living room because you know where it is, right? So there's that kind of intelligence that's learned as you're—after you're born. There's also a tremendous amount of innate intelligence. And so this is actually intelligence that is encoded in your DNA. So your brain is actually, you know, constructed with a certain set of structures, you know, structures for language, structures for vision. And a lot of these structures have incredible complexity and what I would call intelligence in them. And so, you know, things like vision, language understanding, these things are innate. They're not learned. It's not like, you know, you might be blind. I think babies are blind when they're born, but that's not a mental thing. That's just a physiological aspect. But you actually have a tremendous amount of innate knowledge. Just to put it in perspective, giraffes and other quadrupeds, when they're born, they can see—they can actually run immediately on birth. In fact, giraffes specifically, they fall, I think, three or four feet out of the womb and immediately get up and run. So that's intelligence. And so

  224. B

    I don't think babies are actually born blind, though. It's something slightly different. But it's okay. Continue.

  225. A

    On. Oh, is it? Yeah, yeah. Well, yeah, that was a jump. But the point is, I know for a fact that babies are not born without the ability to see on a cognitive level, right? So—okay, so that's intelligence. And intelligence is sort of passed on through the generations. It's encoded in our DNA, and our DNA is constantly undergoing mutations and things like that to make—to add more intelligence and to make it more amenable, right? So this is a very slow process. It's not like your child is going to be born knowing geometry or something like that. It doesn't really work that way. But the fact is that people born now or animals, let's say, born now are much more intelligent than protozoans born millions of years ago, right? So now let's talk about Artificial Intelligence. So we want to emulate human intelligence. Like we want computers, as we mentioned in the Turing Test, to have conversations with us, to see, to recognize objects, to do all these things. But we don't have an Earth simulator, right? And even if we did have a complete Earth simulator that could, you know, really, really quickly simulate the entire process on Earth and evolution and all these different speciation and all these things—genetic drift, et cetera—it wouldn't probably come out the same, right? And unless we had an exact copy of Earth as a seed, we would come up with some other intelligent hypothetical species, right? So we can't go back and recreate human intelligence. Like it's just not possible. So Artificial Intelligence is our way of saying, knowing we can't do that, how can we still make something that passes this Turing Test? How can we make computers that sort of, you know, live in our world, don't really know our history, but are still able to relate to, you know, to the way that we behave and interact? So that's kind of my—that's my JZ Gauchy's soapbox opinion of intelligence and AI.

  226. B

    I always find it interesting, the discussion about Artificial Intelligence. Like, you know, these kinds of things about there seems to be different camps. Like some people who deeply believe in needing to understand how the brain works. Other people saying it doesn't matter. We don't—we can do something else and still be fine. You know, or like you alluded to, like maybe it's important to figure out what you think happened and how we got here. Other people, nah, not so much. We don't need to do that. But people can still make progress and, you know, create useful things regardless of which one of these camps they kind of fall into or which path they're considering.

  227. A

    Yeah, definitely. Yeah, I mean, I think you need—you definitely need to do both. So there are some concessions you have to make. I mean, the reality is human intelligence is almost certainly not perfect, right? I mean, there's almost certainly—speak for yourself. Unless we all had Patrick's brain. There's almost certainly a better brain out there, right? Like some other thing. So, and there are, of course, there are things that computers are much better at than we are, you know, like arithmetic, right? We'll never match a computer's ability to do that. So, you know, you have to, but on the other hand, we want computers to pass that Turing Test, which is fundamentally a human evaluation, right? I mean, it's a human domain that you want computers to succeed in. So you have to sort of do this balance between, you know, studying the brain and, you know, sort of like, I guess, hacking the brain—quote unquote. You know, as we mentioned in image processing, where you encode the blue—I believe it was blue, right? Yeah, you encode the blue channel more lossy than you encode the red channel because humans are, you know, less adept to blue. So that's sort of an example of someone coming at it from the biological side, right? But there's plenty of things on the mathematical side, too, which can make a big difference.

  228. B

    Yeah. And then, in my opinion, too, I think there's been somewhat of a shift from, like, Artificial Intelligence is all about passing the Turing Test to, like, you know, and people point out things like search engines as this, right? Like, they can do a lot of very useful things, which, whether or not that's intelligence, it's unknown, but it's definitely a very useful thing that people—that isn't an outcome of passing the Turing Test. Right. Getting an AI sufficient to pass a Turing Test doesn't solve the search engine problem. Exactly. So we get things which, you know, and maybe that's machine learning, maybe it's artificial—I mean, whatever you want to call it. But, you know, kind of the advancements of computer, the future was always making a computer which was equivalent of a human. Yet, we kind of ended up developing this other side branch where it was like, oh, making computers do even things that are more useful than what a human would be able to do.

  229. A

    Yeah, definitely. Yeah, that's a really good point. So, yeah, along these lines, this was a hot topic a long time ago before either of us were born, but it's still really important, and that's common sense knowledge. So when you hear this term sort of common sense, you think of things like if I was to ask a child what's taller, a skyscraper or your house or, you know, things like that, they would just—they have this ton of common sense reasoning, right? And that's because human beings absorb an incredible amount of data. I mean, in the image processing episode last episode, we talked about how much data is in video, right, uncompressed video. And it was enormous. It was what, like a dictionary every tenth of a second or something like that. You could fit the entire dictionary. So that's just from your eye, right? You have actually a lot of sensation—your ears, your nose, touch, especially your, you know, fingertips. And they're all—all of those data sources are extremely rich, and there's a ton of data, way more data than any computer can come close to processing even today. So the fact that, you know, humans are able to digest and process so much information is another aspect of AI that, you know, we're starting to make progress on. Especially now we have—there's that Open Crawl, which has, you know, the entire internet, 50 terabytes of the internet in it or something, right? So with things like search engines, databases, you know, and things like that, we're able to sort of create a small sample of the knowledge that we experience every day. And so we're starting to make progress there.

  230. B

    Yeah, I don't know, it's fascinating having a child and watch them like what they pick up and learn and the process of how they grow. But even, like, my daughter will see us do something in the kitchen or whatever, like, you know, do some pots and something with the pots and pans. And she has like a little play set of pots and pans, but they don't look like our pots and pans. Other than roughly resembling a similar shape, she has no ability. Like, we've never really sat there and told her like this is a pot. This is also a pot, you know. Like, we never went through labeling and said like these things are the—But she'll watch us do something and she will see her observe her at her play kitchen, washing her hands under a fake faucet that looks nothing like our faucet and doesn't emit water, right? And so she recognizes that this thing that I have here is the same as that thing over there. And she's able to kind of—she doesn't know necessarily why she's doing it, but she wants to do the things that we do. And she's able to figure that out all on her own. And it's like, wow, to make a computer do that, that would be like really hard. Like, I don't even know. It's amazing. Yeah. It's

  231. A

    Absolutely amazing. And, I mean, she's only able to do that because—think of how much information she's digested. I mean, it's way more than that Crawl Open Crawl database, you know, 100 times over, right? Maybe 1,000 times over. So, yeah, it's amazing. And that's one problem that, you know, has to be cracked still. So we'll just sort of wrap up what is AI. There's some general goals for AI which I feel are pretty universal. So one is deducing. So, in other words, have you heard of the canonical, like, monkey-banana problem?

  232. B

    No.

  233. A

    So the idea is there's a banana hanging from the ceiling and there's a chair against the wall. And if you just leave a monkey in a room long enough, the monkey will start to swing at the banana, but he can't reach because it's too far out of his reach. And then he'll start to understand like to take the chair, move it in the middle of the room, climb on the chair, and then get the banana. So the idea is the monkey has to sort of envision the future where he's standing on the chair, do some planning, et cetera. So that's deducing. There's also reasoning. So just reasoning involves a lot of sort of looking at the past and using that to determine the future, right? So I know I touched a stove. It hurt me. I got burned. I'm not going to touch those, right? And there's also problem solving, which gets into expert systems and things like that. And we'll definitely talk about all those in more detail in the next episode. So

  234. B

    what are some of the challenges? Like, we talked about maybe some of what we thought AI would be and how we didn't get there. So, I mean, there's obviously some things that got in the way.

  235. A

    Yeah. Yeah, definitely. So, yeah, one thing that got in the way was this concept of Strong AI. So people wanted, you know, people had sort of reverse engineered the brain at a very low level. They hadn't done anything with DNA, which is, you know, as we talked about, you know, a huge folly, right? But they said, oh, if I have two neurons, one, you know, signals the other one like this. And so our brain has, I think it's like a trillion neurons. So if I just do this a trillion times, I'll have a human brain. And that doesn't work. Now, I'm sure everyone listening to the show knows why. But, you know, their idea of recreating a human really kind of set AI back. Another problem is whenever you're doing planning or reasoning, you have what's called a combinatorial explosion. So let's just take checkers, for example. So on average in checkers, there's—I think like 2.5 moves you can make that are reasonable on average. So if you're looking at a certain board, there's, let's say, two moves you can make. So now you're looking at two boards. But in each of those boards, there's another two moves you can make. So now, you know, it just explodes, right? There's also knowledge representation. So this is incredibly difficult, right? How is knowledge actually stored? One common thing that you hear of is humans can only remember seven things at a time. That's why most phone digits, most phone numbers are seven digits, right? But we do this thing called chunking, where you might remember seven things, but each of those seven things is incredibly complex. And so you've sort of collapsed a bunch of information into one, quote-unquote, thing that you have to remember, right? And that's what video games are all about. Like, in Mario, it's kind of all about the context. Like, if you're jumping over a pit, you know that you have no room for error. But if you're jumping to hit, you know, a block to get a mushroom or something, you're much more relaxed. Like, you might try and do that and hit a Goomba at the same time or something like that. So in video games, you kind of chunk different actions based on their context. So finally, the biggest challenge in AI is what's called the frame problem. And the frame problem is basically you don't know what affects a certain action. So, for example, let's say you're getting out of your car and you want to know if now is a good time to get out of your car. So clearly, if the car is moving 50 miles an hour, that's probably not a good time to step out of your car, right?

  236. B

    Unless you're being held hostage.

  237. A

    Yeah, yeah. Then you could do a barrel roll or something.

  238. B

    But probably not at 50.

  239. A

    No, yeah, maybe not. Maybe slow to 30 and then barrel roll. Okay. But the point is, like, you know, the current temperature in France, for everyone who's not in France right now, does not matter. Whether, you know, if the car is going 50 miles an hour or if it's not, matters a lot more than the temperature in France as to whether you should get out of your car or not. But how do you know what should matter and what shouldn't when you're making decisions? That's the crux of the frame problem. So if you don't know what matters and what doesn't, then you have to consider every possible thing that could exist. And also, the next time you make that decision, you don't really know what made that decision a good or bad idea the first time, right? Because how do you know that the weather in France isn't the reason why last time you got out of your car and you were hit by a bike, right? So knowing sort of what the context is for a particular decision is the frame problem. And that's actually extremely difficult.

  240. B

    I guess that's a good thing about AIs for games because it already frames the problem for you.

  241. A

    Yeah, that's why games and AI are sort of intertwined.

  242. B

    Okay. So we're kind of giving a little tour, like background, speaking at a very high level. Hopefully this is interesting to you. You know, we're going to get to some specifics and some more hardcore stuff in the next episode. But, you know, kind of wrap up here. We want to talk a little bit about some of the cool things that AI is used for. We talked a lot about games, but there are some other things that are kind of classic examples of what AI gives us or attempts to give us. Yeah, you want to go first? Okay, so first one is Maxima, the Computer Algebra Expert System. So it's something that's able to solve algebra?

  243. A

    Yeah, totally.

  244. B

    Is that okay? That was your point.

  245. A

    I thought you were going to go straight

  246. B

    to Eliza. Oh, well, I'll talk about Eliza and then you can talk about Maxima. All right. So mine, of course, sticking with useless things, is ELIZA chatbot. So this was, you know, kind of like the early—you may have seen it before. I remember seeing it at like a science center when I was a

  247. A

    little kid. Yeah, they actually have it. I was at the MoMA. San Francisco MoMA has an Eliza.

  248. B

    Oh, okay. Yeah, so it's like a computer that says, like—I forget what they're reading. Like, 'Hello, what's your name?' or something? And you type, 'You know, my name is Patrick.' 'Hi, Patrick. How are you doing today?' 'I'm doing good.' 'I'm glad to hear you're doing good,' you know, or something. And then it kind of—so it looks for like certain keywords and tries to create a sentence or alter what you said in a certain way to make it get back. Often gets stuck and just kind of says like, 'I don't know what that is' or something, you know. But, you know, it kind of gives you this illusion almost for just a second that, whoa, wait, what's happening? Am I really talking to somebody else?

  249. A

    Yeah, it takes some of what you say and sort of puts it in its next statement. Like you might say, 'I don't like diapers.' And it will say, 'Oh, tell me more about diapers.' And so you feel like, 'Oh, wow, it's really answering me. Did I tell you I actually—' and my wife was really embarrassed, but I actually—I know of a way to trick these chatbots because—so if you don't know, I got a Ph.D. in AI and machine learning. So I've done this stuff for a long time. So here's a pro tip: Have you ever seen Eliza bot at a museum or something? Okay. You can say something to the effect of—like what I said, 'Oh, I really don't like flies.' And Eliza said, 'Oh, tell me more about flies.' And I said, 'Well, I also don't like bananas.' And she said something. I don't remember what she said the second time. But then this is the catch. You say, 'No fruit flies like a banana.' And so you think about it. There's two ways to take that: like no fruit flies like a banana or no fruit flies like a banana.' Yeah. And it flipped out. And it said—so I've done this before and it just said like 'I don't understand' or 'does not compute' or something. Right? But this time it literally said—'I joke you not.' Did you just wet yourself? Is what it said.

  250. B

    Literally. And like everybody around us like just busted.

  251. A

    It said something like 'I don't understand. Did you wet yourself?' And one—well, I was so embarrassed. It was pretty epic. I kind

  252. B

    of want to go try this now.

  253. A

    Yeah. You should definitely go to the MoMA and give us a shot. Okay. All right. So, yeah. So we'll cover Maxima. Yeah, since I butchered

  254. B

    it by just reading what you wrote on the page.

  255. A

    So Maxima is an algebra expert system. We'll cover expert systems more later. But you can think of it as sort of like searching. But instead of searching through moves and checkers, it's searching through things that you can do in algebra, like dividing or canceling this number out or, you know, removing an X from both sides, et cetera. And so it does really complex integrals and differential equations and things like that. Like if any of our listeners are in high school or university and they're taking—I think it's what, Calc 2 or something like that? But where you study integrals and you have to memorize all these crazy rules, like the trig rule. Like the derivative of sine is cosine, and derivative of sine squared is one minus cosine squared. I mean, we're all these crazy rules. So this system, Maxima, knows about all these crazy rules, and then it will try different rules and get in and hone in on the solution. So you can say, 'Give me the integral of this huge equation,' and it will sort of crunch the numbers and figure it out for you.

  256. B

    Another useful project which was using AI was the DARPA Grand Challenge. So this was, you know, the created self-driving car that will drive across the desert and then through a mock city. And this was kind of, you know, first year was like a horrible disaster. Or they did it again. And, like, you know, it was much, much better. And, you know, even just like the, you know, five years or whatever, I guess, between the—however many years it was, between the first one and the final one that they did. You know, like there's just like a huge progression in like, you know, how good they could do. And, you know, just the complexity of not only just steering the vehicle the way you want it to go but recognizing where you want to go and, you know, what to avoid and, you know, all these things. And it's just, you know, it takes a lot of planning, intelligence, getting to like you talked about the strong guy being able to kind of like solve all the problems, you know, and trying to put them together in something. Not that a self-driving car solves all the problems. But, you know, it has to solve many different kinds of aspects of AI in order to be able to get from point A to point B. Because it's not just like move from point A to point B, you know, it's like how do I move? What's the best way to get there? How do I avoid—what if things go wrong? damaging myself or damaging others or, you know, all these things.

  257. A

    Yeah, they did the Grand Challenge, which was out in the desert. And then recently they did the Urban Grand Challenge. Urban

  258. B

    Grand Challenge, yeah.

  259. A

    Which I found out later wasn't really urban. Like it was a fake urban setting. So no one was actually at risk.

  260. B

    Well, there were people driving the other cars.

  261. A

    Yeah, but they were like,

  262. B

    But they were. Yeah, they were like. Yeah,

  263. A

    still pretty cool. So, yeah, we'll do one more. Okay. So this is pretty cool. It's RoboCup Soccer. And basically the goal is—I don't remember when this started. It was sometime while I was in university. But basically when it started, the goal was to have a 1997. Ah, there we go. To have a fully autonomous humanoid robot soccer team compete in the World Cup in 50 years. So by 2047 to have like full-sized human robots competing against, you know, like Germany for the World Cup finals. So pretty ambitious goal. They have an incredible amount of backing from like ACM and other organizations. A lot of interesting AI. Another student of mine—or another student that was with me in the lab at university was working on this problem. And it's just pretty amazing the amount of progress they've done. They actually have—they sort of split it up into several domains. They have the full-sized humanoid problem, and at that point they're kind of like doing penalty kicks, and they haven't really, you know, made too much progress there. But if you think about it, that's very expensive. So that's kind of like the last step. But now they have sort of a smaller scale competitions with real robots that run around and kick soccer balls and stuff. It's pretty awesome. The Wikipedia link should point to some pretty epic videos of soccer magic. In

  264. B

    the show notes.

  265. A

    Yep. Yeah, yeah. If not, we'll add some videos. But it's totally awesome and highly recommend checking out.

  266. B

    So that's interesting though. Like we just talked about AI and games. But here's actually like getting a harder problem as opposed to just—and I think they even do have a simulation league or whatever. But now you're trying to play—you know, it's simultaneous as opposed to taking turns. So if you take longer to figure out what you're going to do, you know, like that's bad. Other people run around here. Yeah, yeah. You know, and then also like having to—again, getting back to like what the Grand Challenge thing, like dealing with it in the real world. Not only do you have to figure out what you want to do, but how you're going to do it. Yeah. Like how do you actually do this? Yeah, it's an interesting thing. Do you think they'll make it?

  267. A

    So what, right? 2047? 2013? In 30 years? I think that they—I think that they'll have humanoids playing soccer. I don't know if they'll compete in the World Cup. One thing I wasn't sure about is like if a robot slide tackles you, does it just matter you? Right? I mean, how does that work?

  268. B

    Well, obviously, I mean, I don't think the rules probably permit them to play. They probably don't meet the anti-doping—anti-doping rules. No, something, right? Like they probably don't meet the rules. So you can't—you'd have to create a scenario in order to allow them to play, right? Yeah. You're not allowed to make contact. I don't know. That's not really fair.

  269. A

    That's the thing is like I don't really know how they would deal with that part of it. So I feel like that's where the actual limitation is going to be. Like the AI will be sufficiently capable, but just the mechanics of taking the—stripping the ball from another player and not destroying them is going to be the hard part.

  270. B

    Yeah. You have to have the robots implement Asimov's Three Laws.

  271. A

    Yeah.

  272. B

    Then the players can't do anything because the humans will just tackle the robots. Okay. Well, I think that wraps it up for this episode. So next episode, we're going to be talking about, you know, in depth kind of how do you actually get these AI problems done? Like what are the tools and techniques you're going to use? Yeah.

  273. A

    By the end of the next episode, you'll be able to actually solve AI problems on your own.

  274. B

    Or at least know what to go look up to work. Yeah.

  275. A

    Using other people's source code.

  276. B

    Yes. You'll know the Google search that will give you the answer. All

  277. A

    right. Well, I think that's it for us for now. Cool. 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 attribution to Patrick and I and share alike in kind.