- Podcasts
- Programming Throwdown
- COBOL and Mainframe Computing
COBOL and Mainframe Computing
Programming Throwdown
- September 28, 2017
- 1 h 21 min
- Episode 70
About this episodeDid you know that there was a programming language co-invented by a consortium of government offices and top businesses (at the time)?…
Did you know that there was a programming language co-invented by a consortium of government offices and top businesses (at the time)? Today we talk about that language: COBOL, and also discuss the mainframe computers of that era that ran COBOL. Show notes: https://www.programmingthrowdown.com/episodes/70-cobol-and-mainframes
★ Support this podcast on Patreon ★Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
COBOL and Mainframe Computing
Hey everyone. So you know we actually get a lot of emails from people saying, 'Uh, hey, can you advertise, you know, our new, I don't know, energy drink or something?' We don't—we'd actually get energy drinks. I just don't want to call anyone out. And we don't—everything we advertise or everything we talk about, I should say, are things we legitimately use. We don't just—I think the word is 'shill.' We don't just shill for people. And it's kind of part of proving that. I was on Udacity because I was interested in Game Theory plus Reinforcement Learning. So people don't know I did my PhD in Reinforcement Learning, and I've also been just really fascinated with Game Theory, and now those two things are actually starting to come together. So Game Theory has advanced to the point where economists don't know what to do. And we'll talk about that a little bit, and Reinforcement Learning has gotten to the point where like machine learning engineers are kind of stuck. And they actually come right together. And they're both kind of on this crash course. So I put that into YouTube just to kind of see, you know, what I would get, you know, what people are thinking about that. And I got a Udacity course. It was actually the last video in the Machine Learning course. Was 'The First Result,' and basically it was Michael Littman, who's pretty famous in the Reinforcement Learning community. And he's like, 'Yeah, we don't know how to solve this.' He's like, 'Here are some ideas, but I have no idea.' So it didn't really help me that much, actually. The ideas were some pretty good leads, but it was pretty cool that like Udacity—it was pretty integrated in YouTube and all of that. But basically just to kind of fill everyone in, so you know when you think about Game Theory, you think about sort of these two-player zero-sum games. Like for example, or maybe not always. Zero-sum, but you know, for one person to win, the other has to lose. And so, for example, there's this game called Matching Pennies. Actually, Matching Pennies isn't zero-sum. There's—oh, there's like a—there's like Prisoner's Dilemma. Is Prisoner's Dilemma also not zero-sum? But this idea where there are these two people and if they, you know, they both get put in two separate rooms, and some, you know, imagine you and a friend commit some crime together, and they put you in two separate rooms, and they say, 'Okay, you know, you need to confess. And if you confess, then we're going to give you less time in jail. If you don't confess, we find you guilty. You're going to get hammered.' Right? So, if you confess—like let's say Patrick and I are in this situation, like you robbed a bank or something, we get busted, we're in two separate cells. And I say, 'Yep, you know, I did it.' And Patrick says, 'Yep, Jason did it.' Then I'm in big trouble. I'm going to take like the entire—I'm going to be the perpetrator and I'm going to be the instigator, and I'm going to get this huge sentence.' And Patrick's going to go free, right? And vice versa, right? If we both say, 'Yeah, we did it,' then we'll get a little bit of a sentence, like we'll get a reduced sentence for being honest. And if we both say none of us had anything to do with it, then the police have no evidence, and we get off—let's say scot-free. That's the best, right? We might go to jail for like a little bit, like we might have a long interrogation, but at the end of the day they let us go. So that's the best. But it's hard to get there because it's hard for us to trust each other. Like if I say, 'Um, you know, actually sorry, the best is for us both to say we did it and then we both get a' Reduced sentence. If we both say we didn't do it, then we both get, you know, pretty long sentence. So we both want to say we did it, right? We both want to say we committed the crime together, and then we kind of—we'll both get some punishment, but not that big a punishment because we admitted it, right? But the danger is if I say, 'Yeah, I did it,' hoping that Patrick's going to do the same. Patrick could just say, 'You know, I didn't do it,' and I get the full sentence. So if Patrick knows that I'm admitting guilt—if he knew that—then he would obviously just say, 'I didn't do it,' and he would get off, right? And so Game Theory, that's kind of one example of like one of these complicated situations, right? Like if you don't have any communication with the other person, then you have to like just deeply trust them, or you just say, 'You know, I didn't do it,' and hope that they do the same thing. Or—or not do the same thing. But it puts you in what's called a Nash Equilibrium, which just means that if I say, 'I didn't do it,' then—and Patrick says he didn't do it—that's sort of the best we can do with no information. Anyways, it's a little bit kind of, you know, it's a complicated subject. There's a lot of super interesting work on it. But then there's this question of what happens when you have three players? And it turns out when you have three players or a non-zero-sum game like that Prisoner's Dilemma, things get really, really, really complicated. It's almost as if think of it like this: Like it's pretend like you didn't know what a 'for loop' was, and so you're writing like, you have to sort 10 numbers, and you actually do it by writing all the instructions, like you do a bubble sort, like literally all the instructions, like an unrolled for loop because you don't know what a 'for loop' is. And then all of a sudden they say, 'Okay, now you have to sort 10,000' Numbers, right? Without a for loop? Like you're kind of in trouble, right? And that's kind of where economists are with, you know, multiplayer Game Theory. They think about things at this kind of level of detail, but it's hard to sort of abstract that and it's hard to like scale that out. Let's say, right? On the other side of the fence there's Reinforcement Learning where they can easily handle like huge games. Like you could play Chess or you could play Go, or you could play one of these games where there's just like, you know, millions and millions of different ways the game could be played, and it still works. But Reinforcement Learning only works on two-player zero-sum games. Like Go is an example. Like there's two people, and then at the end of Go one person wins and the other person loses. There's no in between; you can't like both win or, you know, anything like that. And so, as soon as you go to like a three-player game or something like Prisoner's Dilemma where both people could win if they choose certain strategies, Reinforcement Learning doesn't really know what to do there. And so there's sort of this sweet spot where when you have these kind of complicated games—like imagine a three-player game of Go or something like that—nobody really knows how to solve that. Like the Game Theory people can't scale up, and the Reinforcement Learning people don't know how to handle three players. And so it's just this like hole, and you know, this is this is something kind of super fascinating, and I've been kind of really diving deep on it. And you know, it's just—I think it's kind of amazing that so many kind of research papers are out in the open now. You don't have to like—I don't know, Patrick, do you remember this when you had to like subscribe to ScienceDirect or you had to use a login from the university library to read research papers? I didn't do it often, but
I was like, 'Yeah, buy this research paper for $50.' You know that was curated with government money. It's like they finally kind of stopped a lot of that. And so it's—it's pretty awesome that that with between like Udacity, YouTube, you know, free and open research papers that you know you can dive deep on almost any topic. And that's sort of what I'm binging on right now. Did you take any like Game Theory courses or any? Like was it part of like Microeconomics or anything like that?
Yeah, same here. I mean, we had a—we had a Game well, I had a Game Theory course in grad school, but other than that, I mean, I kind of elected to take that. But yeah, in general it's a topic that is actually super interesting. I mean, anytime you have any type of negotiation or there's an auction—like you're on eBay buying something—there's Game Theory at play there. Um one kind of really interesting Game Theory problem is called the Keynesian Beauty Contest. Have you heard of this? I think you were—you're the one who told me about this, maybe?
Close. So the way it works is—I think you have the right idea, but it's it's not the prettiest; it's actually the person in the middle. So okay, everyone picks a number between one and let's say a hundred, and if you get the median, you get a thousand dollars. So, so if—if there's going to be some people who will call them like level zero people—these are people who are just going to pick a random number, like they're not going to really know what to do, right? And so let's assume that everyone's a level zero person. Everyone's just picking random numbers from one to a hundred, and you want to pick the median. Well, you're going to pick, you know, 50, right? Because there's going to be a whole, you know, range of numbers. You're going to pick the one in the middle. But there's going to be some people who are going to think the same way that you just did. So there's going to be a group of people who are all going to pick 50. And what that's going to do is that's going to, you know, make the middle go lower, right? So if there's a—actually sorry, it can't be 50. Let's say it's the bottom one-third or something. So a bunch of people are going to pick 33. Um and that's going to make the middle kind of go lower, which is going to make the median go lower, which means if everyone, for example, if half the people pick 33 and half the people pick just any number, then you want to pick something less, like I think it's like 25 or something. You can calculate what it is, but then you can keep kind of doing this. You can keep saying, 'Oh, there's going to be some people who are going to think two steps ahead, and so I should think three steps ahead,' or 'I should try and figure out how many people are going to think two steps ahead.' And yeah, this whole stuff is super fascinating, and it turns out whenever you're dealing with like auctions or these type of like financial negotiations—the stock market stuff, like that—all of it has sort of the Game Theory kind of built in. Like there's agents who are, you know, calculating all of this. There's all the Quantitative trading is based on this, and it's definitely worth checking out. I'm going to post a link to the YouTube video—the Udacity part of the not the end of the course where I went, but the part that starts talking about Game Theory. And it's actually Michael Littman, who is a super genius, and another gentleman whose name I don't remember, but he's actually a pure economist. And the two of them together talk about Game Theory and Reinforcement Learning, and then together they just hypothesize what to do, you know, now that they've crashed into each other. So yeah, check it out. I think for Game Theory one of
The thing for me is that this doesn't exactly fall into the economic standpoint, but understanding that each actor in some situation that you might encounter in work or life or whatever has a different perspective they're viewing and they're trying to make their own decisions based on what you're doing, just like you are trying to make a decision based on what they're doing.
Yeah, actually, you hit the nail on the head. So, like the current best idea for solving this problem—where let's say you have a good example of this is there's this game called Dota: Defense of the Ancients, and it's a five versus five game on the computer. And there's people who are trying to have an AI play that game, but you can imagine your AI, you know, robots playing soccer or or AI people really playing any type of team game like Counter-Strike or Team Fortress or something. None of these AIs are really any good because they can't really cooperate. And it turns out the way to sort of get the cooperation and the multiplayer is there's a technique now called Neural Fictitious Self-Play, which sounds kind of weird, but basically, it's as you said, you know, you are trying to do what's best for you, but you also keep a mental model of all your opponents, and you play the best response to their to what you expect them to do. So, you know, for example, if you know there's this amazing chess move, but you also know that your opponent has never played that move before, given that circumstance, then you're not going to plan for that. Like, you're going to assume that he's going to miss it again and you're going to play the best response to what you think he's going to do. And so it kind of gets into this Keynesian beauty contest where like if you do that, but you know he's going to do this, and then it kind of ends up being this sort of recursive thing. But yeah, that's kind of where the state of the art is right now in like this opponent modeling and all that.
Makes sense. Yeah, I wish I had a more academic—I should probably become more academically rigorous about my understanding of game theory, but maybe it would help or maybe it wouldn't. I'm not sure. Like as far as like a practical day-to-day life, like you talked previously, you recommended a book on sort of negotiation, and it's clear how that applies day to day. Do you think studying more game theory—theory, oh man, studying more game theory in an academic sense past you know sort of a peripheral superficial understanding do you think that has benefits to like how actually stuff happens out in society?
I think I think the high-level concepts. Yes. So, in other words, this idea that you know there's going to be like some group of people who are going to think one step ahead, some are going to think two, three, four steps ahead, and that the interesting part is trying to figure out you know what fraction of the population is going to think so many steps ahead. So then you could build sort of like the meta system. Like I feel like that can translate into real life. So in other words, the very high-level concepts where you don't need to really understand a lot about information theory or anything—like the high-level concepts—I would say yes. But they're also kind of like being developed as we speak, so no one has yet written like you know a layman's guide to this stuff. So yeah, probably unless you really want to geek out, it's probably not the type of thing. Like you'd probably be better off reading the negotiation book. But if you wanted to know, if you ever wondered, like why things cost what they do—that's still this is actually kind of just a continuation of that fascination. And so I think this is a big part of that. And so if you're interested in economics, maybe another way of putting it is if you're a machine learning person, check this out because there's this whole field of economics that you need to catch up on, and if you're an economist, it's exactly the same but in reverse. Right. Yeah, so.
So I was just did you say free? I did, free. And it's not even a Keynesian beauty contest. Everyone gets it for free: Annotated Algorithms in Python. So, you know, I followed the programming subreddit and I came across this. It's pretty cool. I skimmed through the book. It has a lot of really interesting stuff. It's similar to—I have a book from Sedgewick called Algorithms and C++ that I've had for super long time. This is very similar in that it covers a lot of the same algorithms, and it you know the code is documented, and there's also paragraphs describing the solutions right in general. I think Python's a better language for kind of explaining things. So so this is probably a better book than the one I have, and it didn't cost a hundred dollars; it's totally free. So check it out. You can get a PDF of it. It's a long book—I mean when they say it's a full book, it is—388 pages. So it's the real deal. You could probably get a physical copy. I don't know how much that would cost, but it would be worth grabbing one of those. Otherwise, feel free to thumb through the PDF. It's totally.
Free. Nice. My link is—oh, I mean this is terrible, I guess just having this is not really a news story. But this, if you type in let's see, if you type in 'interactive bloom filter,' maybe Google can do it. Otherwise the link will be in the show notes. But this is a little well, you wouldn't call them a widget anymore like an applet, but and this is a JavaScript application demonstrating how a Bloom Filter works. But I thought it was two things: one, an interesting opportunity to mention to people about Bloom Filters, and a second thing I thought it was a pretty good thing. So this is on a website jason davies—presumably by a person named Jason Davies—right? And if you search 'interactive bloom filter,' it'll come up on Google. I think the second hit for me; otherwise, the link is in the show notes. And what a Bloom Filter is is if you think of a hash map, which is you know have some array and you take some object that you want to put in the array and you hash it in some way and you put the object at the index in the array that was the result of your hash function. So if you've never heard
that probably made no sense. And if you never heard a hash map before, it was probably not a great explanation. But essentially, you have a big list of places in your array and you put an object in somewhere in that list. And then there are ways of handling things like collisions—like what happens if two things can hash to the same result? Especially if you imagine having only like two elements in your array, even if you have a really great hash function, you still only have two results. You're so you're sort of modulizing whatever your result is down to only two, and so your chance of collision if you have one object in is, you know, 50 percent. And so what happens is that as the table gets more and more full, you have to grow it because you need to make sure these collisions don't happen because they degrade your performance, and you limit how much stuff you can hold in memory. So what if
you want? So I've never seen a Bloom Filter before. So I might totally be embarrassing myself here, but I think the idea—correct me if I'm wrong—is that you don't need to actually look up a value. So the difference between a Bloom Filter and a hash map is—don't spoil it! No, don't spoil it. Oh, okay, okay. Sorry. I'm just figuring it out now. So
I'll let you finish. Okay, sorry. Not to interrupt you—uh the but to interrupt you. So if you imagine you're building this hash map, a lot of people have done this, and this is great because it provides constant time lookup of your object, right? So now imagine if you had a bunch of records in a database and say there was way too many to fit in memory, but you still wanted to somehow keep track of which things were in your database so that you didn't have to perform the expensive database lookup just to see if something with a given ID exists. And Bloom Filters are the solution to that or a solution to that, which is to say if you have maybe you have you know a hundred million potential objects in your database and you don't know which ones, and it cost you seconds to go over the network or to go to disk to read them out of the database, you're stuck with this simultaneous problem of it's expensive to check and it's too big to just hold all of the values in memory. And what a Bloom Filter does is take the items that you know are stored in your database, hash them not once but in three different ways, and there's kind of different ways of doing producing three different hashes or however many different hashes, but producing multiple hashes and then setting a boolean flag—a bigger big hash map. There's just a boolean saying true or false, and you just start hashing all of the items that exist on your disk and you just hash them into this this hash map. And what happens is you will get collisions, or it's very probably get collisions, but you're not worried about it when someone comes in to say ask a question of the thing that you're I guess this is sort of like a cache, you know? Hey, do you have object foo? You hash object foo and if you have trues in the hash map for the three hashes of Foo. Then what you can say is maybe, but if you don't have three matching—or in this case, three is the example they have here in this demo—so I'm saying three, but it doesn't have to be three. But say you've hashed Foo three different ways and it didn't match, you don't have those three entries. And you, in fact, as long as if you're missing any one of them in your Bloom filter, then you go, 'Oh, actually, I know for certain I don't have that there.' Because if you did have it, you would have those three entries in your boolean map. And the reason you can only say maybe is because you could have had collisions from multiple other different features that produce those entries in the hash map. And so you don't know for sure, but based on the parameters of the hash map—sort of how many collisions happen, how many of the entries have the boolean flag set—you can, you know, sort of a priori up front, you can know how likely if you say yes it is to be true. And yeah, I
And by 'A,' there was like one collision, but then the other three were empty, so it knew that 'A' couldn't be there. And then I kept going and going and going. I don't even know how many 'A's I'm up to—probably 100 or 50 'A's or something—and it still has not even once been able to find one of these strings where all three of those cells are filled in. It's pretty amazing, right?
So you can find, you know, of course there exist bad cases. So if you're talking about non—sort of I don't—I'm not going to get into the academic definition, but if you're talking about like non-random queries, like your queries have patterns, like this can be much worse. But for just sort of like because you can basically, you could get a collision on your very first try. So if you imagine sort of Cat and Dog happen to hash to the same three values, then you're just screwed, right? Even though you only tried twice, that can't happen—just the probability of it happening is low.
I mean, it can be used for lots of things. Like I've seen it used a lot of distributed apps. You can imagine wanting to do this kind of behavior because if you're making a request over the network, that's very expensive and high latency. And so you'd rather much rather have it in memory, but you can't sort of hold all the data in your memory; that doesn't work.
I think you could also for things in which a collision is low cost, you could sort of also use this as your only data store. So like imagine—imagine saying like I want to don't want to pay a lot to keep track of all of the articles Jason has read on The New York Times. Not a promotion for The New York Times website, but like every time that Jason has a cookie and I'm only allowed to store, you know, I have no idea if this is...
If I want to store that in the—or so not in the cookie, but in the database back end for The New York Times every time I saw Jason's IP address or his cookie or key. Like I want to only, you know, allocate 64 bytes to holding Jason's entry. Then every time he reads an article, I could take the URL of the article and put it in a Bloom filter and just keep putting it in and putting it in. And over time, if I want to recommend him articles he's not yet read, I could consult the Bloom filter and say has Jason read this article yet? Yes or no. And if it says probably yes, it's not very expensive to me because if I exclude it from my list, it's really not a big deal. It's not a bank.
Sort of like, but the great news is there are many, many, many visitors to The New York Times, and I sort of know that I don't have to pay a huge cost or figure out like oh after a year I should delete my users because up front you're saying for a very compact representation, I know I can hold this for all the users I'll ever encounter and know throughout all history all articles they've ever visited without having to like phase stuff out of the cache or not or whatever. You know? Yeah, right.
Yeah, right. Yeah, this is super cool. Everyone should go to this URL. Um one thing I do include the show notes. Um uh, you know when we post the update, so if you follow us on iTunes, the show notes should be in the uh or on any podcast viewer, the show notes should be in the podcast uh notes. You just tap the URL um and it'll take you straight to our show notes for that episode. Then you could tap this URL in the notes and go to the Bloom Filter. Everyone should check it out. It's really cool. Uh don't do it while you're driving, but if you're on a bus or something or you're at home uh when you get home, check out the uh this Bloom Filter JavaScript thing. It's pretty cool. Um yeah, my news uh second news is Oh My Zsh, which is almost the tool of the show, but but uh um you know it's kind of weird making Zsh a tool, but Oh My Zsh is is pretty awesome. Basically, um I'm not like one of these people that really cares that much about let's say Bash or Zsh or Shell. I feel like they're all more or less the same. Um um but Oh My Zsh adds like a ton of functionality to Zsh, and I actually switched from Bash to Zsh just because of this. So someone that I used to work with showed this to me. Um it does so many cool things like uh the tab completion is incredibly clever. If you put let's say um you know the the middle three characters of a directory when you're doing LS and you hit Tab, it'll it'll figure it out. Um there's a bunch of like kind of nice to have like uh when you're inside of a GitHub repository, it tells you what branch you're on in the prompt. Um it colors a bunch of things like LS and things like that automatically. Um it uh yeah, it has a ton of really awesome features like uh um another really good one is uh it has a bunch of different themes. So if you want kind of different color themes, if you know want like a prompt is pretty easy on the eyes, like a font color. It's pretty easy on the eyes, and that theme will kind of percolate into like all the other commands, right? So when you do LS, you know it'll kind of fit that theme. Um so definitely check it out. Um the other thing is is uh it'll do kind of this really cool tab completion. It'll actually if you type in the name of a binary and then you do like `--tab`, it'll actually run that binary with `--help` and then it will try to extract the command line parameters, and then it'll autocomplete. Or if you do, you know `git -- what's the example? Or like `git add --` you know b or something like that, it'll it'll resolve that to branch or something, right? So so it'll resolve command line parameters for you. It does all sorts of other cool stuff. Um I don't know if there's equivalents for other shells. Maybe there is like an Oh My Bash or some some equivalent, right? Um but I guess the high level thing here is check out—check out these things are really powerful and uh um I feel like they've really increased my productivity like pretty significantly. So um it's Oh My Zsh is literally a one-liner. Um I mean you have to change your your default shell to Zsh, and then you run this one line command, and uh boom, you have this whole thing. Um it also auto updates, um which is kind of dangerous, I think about it, but uh we got it. Yeah, that does scare me.
It's pretty cool, I guess. I missed out because For News is something I came across, but it's actually a legit actual tool, but it's not a software tool. I don't know. Maybe I should have been a tool to show. So this is the Curta Calculator. So I came across this through a weird sequence of events. I I had sort of known about it for a little while, like in the back of my head. I'd kind of seen it um and then there were simultaneously I saw someone created a 3D printed version of this mechanical object, and then also Adam Savage—now that the guy from MythBusters they no longer do MythBusters—has this channel on YouTube tested um and they covered this, the 3D printing thing that I had previously separately seen. The guy who 3D printed it printed one for Adam Savage that he unboxed on Tested. Um and so that reminded me about it anyways. So the Curta Calculator is also known as—I think they call it the Pepper Mill Calculator, and this is a non-electronic calculator. It just blows my mind thinking about it. Um and what you have is this tube that is maybe a couple inches in diameter. You know, oh, I'm using we probably should use metric, but I I I'm not; it's not at hand. Uh do you want to estimate the metric size of it, Jason? Uh let me check. Okay. Anyways, so something that is roughly about handheld and it looks sort of like a pepper mill. Um and at the top there's a little handle that you turn and grind just like...
And probably a little more than that long. And so what you have is a series of windows and displays, sliders, and knobs that allow you to on kind of one part of the two. This is gonna be horrible. You should check out the pictures, but one part of the tube you sort of set, you know, kind of like the input for your calculation. Then on the top there's a set of displays that give you the output of your calculation, and then through a sequence of kind of throwing some switches and turning the the grinder crank, uh you can perform multiplication, multiplication, division, addition, and subtraction. Um whoa, cool on this calculator one.
Or no. No, they stopped making them when they basically got devastated by tiny little, you know, pieces of silicon that did the same thing. So early electronic calculators with like sort of discrete components and presumably even vacuum tubes and stuff were very expensive and fragile, but then eventually you sort of had commoditized calculators, and it put a ruin to these beautiful objects, although these
Check them out if you've never seen one before. I think they're quite expensive to buy in working condition—you know, hundreds of dollars kind of thing—and it's just fascinating to me. And I don't think today we'd probably be like, 'Oh, this is terribly slow,' but at the time, being able to multiply—I think it's like sort of eight, nine-digit numbers with sort of 11-digit running some—was incredible. And to be able to do it pretty efficiently. And so if you've never seen one of these before, check it out. To me, as a Computer Scientist by trade, software engineer by trade, I'm always fascinated with intricate mechanical objects, and this is sort of some sort of pinnacle of mechanical complexity—all the moving pieces, the gears, the fact that you're doing this. We're going to talk about this. It sort of goes along with cobalt in a way, but doing decimal arithmetic where you sort of have like the number nine multiplied by the number seven and you need to be able to do that and display it in several different windows that have essentially 10-sided discs that, you know, pop into the right rotation when you—I mean, it's just crazy. It blows my
it's one of these things where like you really have to have a good background in like number theory. So actually, I was playing a game. So just to recap, we did a few interview episodes, and that's why now we have probably 10 tools of the show all in one show. But I was playing this game called A Human Resource Machine. Yes? Did you play this?
It's so yeah, just for people who haven't heard about this game, basically you're given an assembler with very few instructions, and you have to complete different tasks like sort a list or add one to every number that you can input. And the thing about this really cool is if you have a background in CS, like you have a bachelor's degree in CS, even you can blow through this game. Like you'll know everything. People don't have a background in CS, it's really cool because it kind of walks you through how to do all of these things using just a very few instructions, and also it gives you an environment where you know there's a right answer. And but then it's got these challenge modes. One of the challenge modes is 'Do it in the fewest instructions possible,' and that is really, really interesting. Another challenge mode is basically 'Do it as quick as possible,' so in other words, at runtime you want to step through the fewest number of instructions. That's also really fun, but this is one of those things where if you have kind of a good background in number theory, you could probably figure out a way to do these multiplications using very few instructions, and I feel like that's kind of necessary when you're—when each instruction is like, you know, a physical thing that has to happen.
Halfway through, so I recently tried to print—uh, this is a soft topic—but they have a 3D printable transmission model with different gear ratios. And so it's sort of like an automatic transaxle transmission, except it doesn't automatically switch gears. Well, I guess just like a regular transmission, not an automatic transmission. Oh, got it.
was like, wow, it's amazing. So I like spent all this time printing it. Suffered a couple, you know, failed prints, but eventually got it out of print and then realized I think it was not—like, I think it was not exactly square my printer or something at the time, and so all the gears didn't mesh. And like, I had spent all this time printing it, and then I...
Quite right. I didn't know how to exactly how to fix it. It wasn't obvious, and it was just really frustrating to have spent all that time and then it wouldn't go together. Yeah, that sounds terrible. Yeah, so—I would love to print this, like in my mind. Yes, I'll print this, but I know I don't probably never have. I would print the first three or four things and then be like, 'Oh, I see how this works.' I don't...
A 3D printer on fire? Yeah, okay. Anyways, all right. So yeah, let's—we're falling a little bit behind, but we'll make this. Okay, here we go. We'll speed it up. But book of the show, book my book of the show is actually just a biography of Claude Shannon, who's a pretty famous mathematician and I guess you could say computer scientist, although it was really kind of ahead of his time. There. Um, but yeah, check it out. It's actually—I found this from a Medium blog that I follow, and it's—it's—they actually the people who wrote the biography actually wrote a blog post talking about their process of, you know, because this is written post humorously, right? Um, and so this is that the right way.
So they um after laughing, they decided to write this autobiography. And so they covered like, you know, they actually went to his house. They did all these—they did an unbelievable amount of research. Like they're super passionate about Claude Shannon and these people, and they did a ton of research for years and years and years. Um, I haven't actually read the autobiography; I just got it, um, but just reading the blog post, I was already, you know, that you put on my to-do list immediately because it's an unbelievable effort. And the other thing is Claude Shannon bucks the trend of sort of modern-day success stories, you know? Like, uh, you know they always say, 'Oh, modern-day people are organized. Modern-day people are always going to the gym. Modern-day people are super hyper-focused.' And he kind of bucks all of that. Like he's not focused at all. He also abandons ideas and then comes back to them like 20 years later. And so this guy's like—it sounds like he just has a limitless memory, and things are just incubating all the time, and it's just an incredibly uncertain environment. Um, you know, there's all of a sudden he's like, 'Oh, something from 17 years ago now makes sense,' and he just starts working on it. And it's just completely chaotic, like totally risky, no plan. It just sounds kind of—it just completely goes against all if you were to pick up like a, you know, a self-help book written by a CEO. This would go against everything. Um, but yet this person was insanely successful. And I just find that fascinating. Also, you know, someone who's pretty disorganized, like it kind of was sort of a ray of hope that people were kind of like cluttered and clutter-minded still have a chance. Um, but it's just cool to see to see this person just go about life. Like in a very different way. I mean, he'd like invent the bicycle, like a new type of bicycle, and then he'd like, you know, create this new kind of math equation. And then he—so Claude Shannon's most famous thing is his work on entropy, which is that's kind of ironic actually now that I think about it. Um, but it's yeah, like he came up with the information theory and entropy and the idea that, um, you know, let's say you have a long string, but it's all AAAAA. That's actually pretty simple, and even if you add more A's, it doesn't necessarily really become more complex, right? Um, that's—that's a gross simplification of his work, but but you know he covered a lot of these like what really is information, what, you know, is entropy, what is complexity stuff like that. Um, so yeah, check out this book, and it's—it's not written for computer scientists, so it's so anyone should be able to pick it up and read it. Um, and I'm looking forward to going through it.
Stuff comes up a lot in communication stuff if you ever do like networking. Yeah, yeah, you hear about his stuff—A Fire Upon the Deep by Vernor Vinge. I feel like I already talked about this book, but it's probably just because I read it a while ago and talked about it at work. Um, so A Fire Upon the Deep is—I've heard I've had this recommended to me, you know, numerous times by various people. It's been around for a while. I think it was written in the '90s. Um, and so it's not a new science fiction book, um but it is part of what ultimately became a series, although I've only read this first book. Um, and I—I think it's decently well-contained, and it is sort of sci-fi from the level of, um, you know, very alien concepts. So in fact, I actually had a little bit of trouble getting into the book initially. Um, and just because of like how alien one of the storylines in the book really is, I try not to spoil things. I won't spoil it. Um, but basically about people moving around in space and encountering alien species, and some of the stuff that happens. Um, and there's a lot of just like very strange things that happen. Um, I sort of believe last—this is kind of funny because I've read several books between, but I had to pick one. Um, but I think last time I talked about The Three-Body Problem, and similarly had this thing like this is very sort of strange and different, um and this book had a similar feel that things just feel foreign in them. And it's sort of an interesting part of reading science fiction, and maybe this is what I read the most. I maybe other forms of fiction also have similar things, but just reading something that is talking about, you know, putting you in sort of the perspective of an alien that has nothing to do with you—that's just so dissimilar from humans.
Is, and obviously like, you know, sort of bias because fundamentally they have some form of communication because the author still has to describe it um in some way and some pattern of thinking. And in reality, you know, life could be very, very different than that in these stories, but it would be really hard to write from their perspective or whatever, like writing from the perspective of a plant is or a tree would be super tricky. Um, yeah, right? But anyway, blah blah. It's a side topic. Um, this book is good. I don't know, I wouldn't give it like five out of five, but a solid four out of five. This is a good read. I thought it was really nice, and I think it, you know, a lot of people—this was a very important work to them. They they really recommend it, so it's definitely worth reading. Um, it's definitely not what I would say is sort of light reading. Um, it wasn't easy to sort of breeze through; it was sort of tough and crunchy to get through, but I enjoyed it.
Yes, it is. Okay. Um, the first one—this is the first one. Yeah. Um, I don't know much more about the rest, so same thing as The Three-Body Problem is part of a series, but I'm not sure. This is always the tough thing about starting into series as you read the first book, but you're kind of signed up that you knew it was a series; you got to keep going because some of them just have like dramatic cliffhangers, like they're really just one giant book split into three parts. Um, fortunately for The Three-Body Problem and this one, I don't really feel like that was the case. Like they didn't end on some giant nothing is wrapped up, um but you could tell sort of where the next books would go. Yeah, that makes sense. You're not signing up to have to read the whole series if you don't.
Want it? Yeah, that's—that's great. This is a little bit off topic, but remember well just in general I absolutely hate it when they set up like these huge cliffhanger endings, um and especially when it's not great in the first place and you kind of know that it's the series isn't really going to even survive, but then there's a cliffhanger so you don't get the closure at the end. Anyway, you're
Yeah, yeah, I was thinking about actually the Super Mario Brothers movie. Watching that when I was like eight years old and I was like even as an eight-year-old is like this movie's kind of terrible. And then they're like a you know Bowser ran away. It was like to be continued. And it's like, nope, nope. Oh man, well so cool. So if you like those books by Claude Chanon, I'm actually reading or I guess listening to on Audible. So you can get an Audible trial if you go to audibletrial.com/programmingthrowdown, and you could pick up the Claude Chanon book totally for free. And also The Fire Upon the Deep is
Yeah, it's getting close to Christmas. For Christmas, we take the money that's left over that we haven't spent on trying to grow the show or trying to maintain our server stuff like that, and we give it in free T-shirts. Actually, we've gotten a decent amount of Patreon subscribers, so I think maybe what we'll do this year, we'll still give some T-shirts, and then we'll give the rest to charity. So if you have a cool charity, send us an email or post on the comments or something like that.
The show is BitShoot, which is pretty cool actually. Uh, uh this is really fun. Um, it's using something called WebTorrent, which people should also check out. Um, but BitShoot is uh, uh, is like YouTube, but there's not really any server. So the way it works is when you go to upload a video, um, you can choose to serve your own video or not, right? Um, and then what happens is when someone goes to watch—let's say your video—they can actually get it from you or from anybody else who happens to be on BitShoot and has a copy of your video. So as soon as one person watches your video, they then become a server as long as they're on the website. Um, and so it's all done in JavaScript like uh on the client side. So you're basically running BitTorrent, but but on your browser. Um, and uh if you go to WebTorrent—I think it's webtorrent.io or webtorrent.com—you can actually see a visualization of this, but uh but even cooler, you just go to BitShoot and it just kind of feels like YouTube, but it does not feel like.
Yeah, yeah, that's actually a really good point. This is like I found this to be tool to show because it's kind of a cool technology. Okay? Like I just like I found it was cool that like functionally it's just like a bunch of videos, but it's like running off like maybe one machine on AWS or something. Like the idea that like there's not really a back end for this. But you're right, and I guess it's a tool in the sense that you could upload a video and give that link to a bunch of people, and I guess presumably it would work. Although, like a machine also. It's a great—I don't know. Yeah, this is actually terrible. My real tool to show is is Oh my Zsh, and this should be my news, but anyway, I just thought this was really cool. I mean, I didn't really think it was possible to have BitTorrent running in your browser. I thought that—it's like you know, I didn't really like, I don't even really understand. I mean, you know, I'm definitely not a web developer expert, right? But I don't really understand how you can make connections to other people in the browser like besides the server. I just figured like there was just a fundamental rule that like you could not do that. That just seems like—that seems like something that could be abused or something. But I mean, this is living proof that that you can not only can you do that, but these people have built like basically the functionality of YouTube without actually holding any of the videos, which is pretty wild.
here's what i'm gonna do in the show notes i'm actually going to put web torrent and not this site okay i actually know nothing about this site i only was linked to it from web torrent i see so my new tool of the show is web torrent you can go to web torrent.io and it actually when you go to web torrent.io it starts playing a video and you can actually but on the left you can actually see you connecting to these other random people and them actually giving you the video so uh yeah go there instead but um but
My tool of the show is Gadget on iOS by Corng, although I also saw they released this on Mac this week, sorry, Android and Linux and Windows people—that's basically sorry everyone. But this is so also I warning, this is very it is expensive, but it does go on sale. And for the kind of thing it is like you can do this is a music app where there's a bunch of synthesizers and a sequencer and tracks, and you can do, you know, even audio recording if you want. There's really sort of like a powerful tool, and if you go and listen to some of the music people are producing on this app, it's just absolutely astonishing. But for me, I don't know. I have this weird like I wish I was a musician, but I'm not. Okay? But I also don't have the discipline to teach myself an instrument. Okay? And so I like to play it being a musician. Like I have this idea it would be cool to have like you know a piano in the house, but then I'm gonna have this giant piano and I don't know how to play, and I know I won't learn how to.
So I have tried. I mean, I took piano lessons when I was younger, and I ran into some problems that I just don't like. I didn't have good rhythm, and I didn't sort of stay diligent enough, or you know maybe if there had been YouTube it would have been more engaging at the time. But anyways, it doesn't matter. So this all started because I have this weird thing about synthesizers. I just love the way synthesizers work, in the way that I love the Korg calculator. It is this, you know, mechanical object. These analog synthesizers—they're just these, you know, boxes full of knobs and plugs. And especially if you don't know about modular synthesizers, specifically Eurorack modular synthesizers, check it out. There are basically these panels that mount in a wall, and you take quarter-inch instrument jacks, sort of like fat headphone jacks, and you plug them in between all these different modules. It's literally plug and play, and one, you know, might make you know random voltages going up and down, and another, you know, has knobs for a filter, and you have all these different things, and you end up making sounds like weird sounds, cool sounds—sounds that sound like instruments. It's just all these various things. Anyways, I just I just think and specifically I wanted my tool of the show to be The Pocket Operator, which is by Teenage Engineering, which is something that is like a PCB that looks just like and we talked about credit calculator, so I guess it kind of goes with it, but it looks like a calculator, but it actually is this sort of toy but also really cool synthesizer that is. It's still a little expensive for what it is, but you know for these kinds of things it's not very expensive, and it has these buttons that you push, and if you listen to the audio demos, it just makes these cool sounds, and it seems like something that people kind of just play with and make these cool sounds. I know if I play.
Terrible. That's right. You know, Loop It and you know make, you know, change if it goes or boop. Um, you know, and play sort of notes on it, all these different things. And they also make other things. This Teenage Engineering check them out, but that was couldn't be the tool of the show because it's a physical thing, and I wanted to have a piece of software. So I have this Core Gadget you can play around with, which is what I do, or make serious music if you're into that kind of thing. Check it out. It's kind of cool what people are doing. Um, yeah, I
Your mom would say, 'Well, is that what you kids are into these days?' Um, yeah, exactly. So, yeah, so similar to what I my experience, I think this is $40, not on sale. Occasionally it goes on sale to $20. But yeah, I play around with every so often and pretend that I know how to make music, and it's cool. Yeah.
Yeah, it's been going forever. But yeah, maybe it's time for a change. So yeah, someone try sending it, send us some cool intro music and change programming throw down forever. That's. True. Yeah, leave your mark on the show. All right. Cool. After all that Cobalt, we have to go fast. Cobalt mainframes. We'll kind of jump through this. So yeah, so Cobalt. Basically, Cobalt is fascinating. It's used by so many people even today. It actually started as an initiative through the Department of Defense and a consortium of companies. And the reason to create Cobalt was that you know it was that time where people were sort of inventing a lot of languages, right? You know, you kind of see this. Actually, this has gone—this has happened multiple times, and it's almost happening again right now or maybe a couple years ago, where remember how like all of a sudden we had TypeScript and we had CoffeeScript, and we had like 10 different way ClosureScript. We had all these different ways to basically write JavaScript or that would somehow compile to JavaScript, transpile to JavaScript, right? So this is the same kind of thing. We had this you know in the '60s, maybe even earlier in the '50s. It's an explosion of languages, right? I mean, it's Fortran 57. You know Lisp was coming out around that time. You just a ton of languages were being invented, and the issue is it was costing—the other thing is these languages were being built for specific machines. It's like you know if you want to use this machine, you have to write everything in Fortran 57, and it's like, oh, you know I wanted to buy the latest machine, but that machine requires me to write everything in Lisp, and it's like a huge undertaking, right? So these people got together and they decided to make sort of—they felt like if they got enough all these big players at the time, like GE, Philips, IBM, and the government you know Department of Defense, etc., that they would just make the ultimate programming language, and it would be done, and people who could just write in Cobalt and they'd never have to rewrite it again. Obviously, that hypothesis was completely busted. I mean, in hindsight—I mean, you look at today there's JavaScript, there's C++, there's you know Java, Python. So this idea of one language to unify them all like didn't really pan out. But at the time, you know that was a perfectly rational hypothesis. I mean, it only makes sense in hindsight, right? That that isn't the right thing to do. And so they made Cobalt. To this actually as of 2012, which is the latest data I could get, over 60% of organizations are still dependent on Cobalt to some degree, which is enormous. It means if you go and work for a company—let's say a large company—that it's more likely than not that you will have to see some Cobalt. It's not that you will have
that oh yeah, that's true. Yeah. It's true. Um it's mainly used for you know financial services. I know in a previous job there was somebody who had to interface with like a credit card company. So basically, like let's say you have your credit card, it's Capital One or you have a Chase card, you have the Amazon card, or what have you? There's a lot of different sort of—let's say brands, but there's really like three or four kind of—let's say back ends. So in other words, you might have a Capital One card, but it's really Visa, right? Um so there's someone who had to interface with I think it was either Visa or Mastercard one of these, and um and it was all in Cobalt. Now this was they had a—they had a specification, so you know on our side we didn't have to write Cobalt, but looking at the specification, it was obvious that the people on the other side that it was all Cobalt. Um you know everything was fixed with text and stuff like that. Just like you know columns zero through ten are going to be the name of the account and stuff like that. Another really kind of interesting footnote in Cobalt is—is Cobalt was like ground zero for the Y2K problem. Now this was I guess 17 years ago, so there might be people listening to this actually there's definitely people listening to the show who weren't even born when the Y2K project was a problem. Wow, yeah, dude.
But for people who don't know or don't remember, you know in the year 2000 there was a big problem with computers, which is computers up until then many of them had been using two digits to represent the date. So imagine, you know your bank every day they're calculating interest and they're giving you you know a fraction of a penny every day, and at some point it becomes a penny, and you get an extra penny in your savings account, right? Now all of a sudden it goes from December 31st of 1999—or let's say '99—to January 1st of '00. So if you only use two digits to represent the day, what that means is you just went back 100 years back in time. And so that same bank that's giving you you know a tiny bit of a penny every day all of a sudden they just drain your bank account like they're like, you know you made you know negative half a penny of interest—you know for you know 100 years. And so you know you had you had 500 in your bank account and it's gone, right? And so the Y2K problem was this belief that you know there's so many computers all of them are using two digits for the year that you know even if one of them isn't updated or some program isn't updated, it's just going to cause total havoc, right? And Cobalt because you know and we'll get to this, there's like Cobalt like you know the number of decimals is kind of intrinsic to the language, and so many Cobalt programs have been written assigning just two numbers for the year that that Cobalt was a big part of the Y2K problem, and it required a massive amount of work to you know get everyone on a four-digit year in time. And the long story short, just to finish it. Off. You know, everyone fixed all the major stuff was fixed. I don't honestly even know of one thing that went wrong that was in any way significant that I remember. And yeah, just basically nothing happened, but you know it nothing happened because of an extraordinary amount of effort went in, you know, before the year 2000 to make that.
Fix so the basic functions of COBOL are that it has procedures you do compile it as opposed to being interpreted, and that it's statically typed for objects, but the permanents themselves are just duct types. So I mean, to be fair, I guess this set of things is not that much different from most of the languages we use today. But yeah, I mean.
You just... yeah, it's sure I feel like actually that's probably more harm than good. But yeah, it's definitely unique. Another unique feature is this idea called Picture Clauses, which somehow kind of combines classes with SQL and F. So it's sort of like you basically say, you know, I want to take in a string, and I want to—you know, kind of whenever a string enters this function, it comes out, let's say format it as a date. But instead of calling us printf every time you want to do that, it's sort of this object that kind of holds the string, you know, in this new state for you, and it's kind of you can pass that sort of like this date-converted string. You can pass that around to different functions and things like that. Yeah, I mean currently, you know, COBOL is up to COBOL 2014, but you know the vast majority of the updates in COBOL have been to basically modernize it for the platform. So, like for example, nowadays they're following the IEEE standard. So, you know what happens if you divide by zero? What happens if you have zero over zero, right? Like how are the floating points? Yeah, exactly. Like all of that. You know COBOL used to do its own thing. You know I used to actually have a software, you know, floating point implementation, and they kind of scrapped all of that. Um yeah, so it's a lot of like, you know, how do we run our COBOL code on, you know, a MacBook or something like that, or the latest, you know, Intel machine or something? That's been the majority of the changes. You know plurality of software managers said they're either moving off COBOL already or they would if it was—if it was cheaper. But it's just too expensive to migrate all that code, which is kind of interesting. You know, it's a I mean, if COBOL is any indicator of the future, you know there's a lot of job security because um because you know there's constantly things being written in different languages and so you need that expertise forever, effectively. Um so yeah, I don't really know. I mean, what do you think, Patrick? Do you think that this is like a one-time thing because it happened when computers were so young, or do you think that this phenomenon of always needing a COBOL engineer—no, that's going to happen for every language? I think there's
too few people using it. So unless your specific use is so valuable and impossible to get off of—basically you're not going to find someone who's going to maintain the compiler or maintain an OS. And even if you run an old compiler on an old OS, eventually your hardware is going to be replacing, and you're going to run out of people who make those kinds of processors anymore. So imagine like all of the systems that were like Apple computers used to run on Power PCs at some point your thing that was running on a Power PC that doesn't have an Intel-based compiler, an x86 compiler. Um you—that Power PC, you're going to pay more and more to get replacements, and eventually one day they're going to run out. You're not going to be able to get
To get someone—you know, it's probably more expensive to get someone to port their compiler and just rewrite your application at that point or whatever. So for things where there's not enough of an install base, I don't think you end up with this happening at sort of the long the the at sort of the limit, right? Right? But for things—some things there's enough of a that that's not true like because for COBOL maintaining the compiler makes a lot of sense because there's so many people using it. You're dividing up that resource cost amongst all of those people. Yeah.
It makes sense, I think. For any language—let's say for any language we talked about in the show, except for that show we had on esoteric languages, but for any other all the other, you know, sixty some odd languages we've covered or maybe fifty some odd languages, I would say any of them will survive, like survive insofar as if you specialize in any of them, you know you'll be needed, let's say 20 years from now. But
the question is one of sort of I guess supply and demand. That if you know so the specialists are still needed, but the question is like is it like is our is the team you're working on valuing that stuff? So if you're like the only—you know, it's the classic example, I guess, of do you always—I don't know if it's actually true, but you know there's like two surviving Picasso paintings and some person buys both and destroys one because one is worth much more than the two together. Oh.
sort of say that like you're the only COBOL expert in the whole entire world, you probably charge a lot of money. But if there are lots of COBOL experts and it's maintenance, not new development, and so people sort of don't need that much work or don't value it that highly, and they're already sort of saying they're price sensitive, is one of the reasons they're not moving off. Then like the question is, is it lucrative enough for you to continue doing it? And that's a question each person has to make on
their own. Yeah, yeah, totally. Yeah, I think that's a good point. Like, if for example, like CoffeeScript was kind of a really big thing now—I mean, there's still people using CoffeeScript, but it's much less popular. And so yeah, I think as you said, it's a supply and demand thing. Like if a bunch of people get super hyped about some language and then it falls off the face of the earth, that's kind of the worst because now there's so many people who are experts and not enough kind of work to do.
Yeah, so COBOL often is, although it can be done on other stuff, often is used alongside of running the COBOL code on a mainframe. Oh, I said that poorly anyways. And so the idea here is we wanted to also briefly talk about mainframes, which is nothing something we've not talked about before, and it's not something I personally have much experience with, although I have used them a couple times. Oh, really? Wait, hang on. How
is running mainframes. And so you had—I guess you'd call it a terminal emulator to the mainframe, and it's like very strange. And you know, it's something if you've never done before, it seems sort of weird, but in just, you know, just to go to high level, so people sort of have some amount of background. This is by no means an in-depth covering of either of these topics, but about mainframes is that you want—you know, sort of a single system that has very efficient throughput as a single system, but it's also very reliable. So if you imagine instead of having like a distributed database, if you wanted to say I want a machine that just has a very giant amount of RAM and a really fast processor, and I want to do things—that's like every customer in my bank has a, you know, entry in my ledger that's stored in this giant memory database, and I want to, you know, give everyone the interest their account accrued each night. And so for each night, I want to go through all of my customers and, you know, figure out how much interest they've earned, update their account. I want to do it. And this is where the batch comes in. I want to do it fast. So I'm doing it on a mainframe that specializes in this kind of work, and I'm doing it batch processing, which sort of says I want to do all of these things together, but I want each of them to be atomic. So if I sort of, you know, get Jason's, you know, bank account amounts and calculate his—and for this it's not important, but, you know, calculate his interest, and then I want to update it, I want that to happen atomically. So in that case, you're only doing one thing: updating a single number. But if you were updating multiple things, you would want them to sort of all either happen or not happen in case of a problem. So that if you do run into an issue, you don't have someone's account left in a bad state. I mean, you was able to withdraw money and get cash out of the ATM, and my bank account balance didn't go down. Right? Right. You know, and that would be bad because the bank lost money. That money disappeared, and they don't know where it went. That would be horrible. And so they need systems that are reliable and a method of executing that, you know, sort of also has this redundancy built in. And all computing used to be done on these—I guess mainframes was sort of like kind of the only way of doing things, and people would sort of timeshare on these mainframes, and there would be jobs, and each job would be executed, and the next one, and then the next one. But now it's sort of different. It's often used in these—you know, I want redundancy. I don't want redundancy in that two different computers are sort of both working on this task and you know hopefully it'll work, which is a lot of, you know, like if I go to we talked about before, like if you go to The New York Times and some part of it doesn't work, it's bad, but no one's like out tons of money or or you know dying because of it. But if you're in a bank, you really don't want to—not know. And it's actually true that it's pretty difficult to coordinate across systems to get that reliability.
You have to see this in the—you see that remember that article of people who could figure out how to duplicate items in games? Like there's this—there's this thing where someone would know sort of where the boundary of the zone is. Like it's not visible, but they just kind of know from the code that like you know I'm in World of Warcraft Zone A, but if I take one step over, I'm in Zone B. And they would actually give an item to their friend and then just take this tiny step from Zone A to Zone B, and it would actually end up with two items because the GIF command would fail in the second zone, but at the same time it would pass in the first zone. And now there's two copies of that item. Yeah, and obviously when you're dealing with, you know, real money, you can't do that, so a mainframe would kind of avoid that.
And so I—I mean, I'm not sure. You know, again this is not my area of expertise. I don't hear of a lot of new development happening in sort of like great new features of mainframes, but I'm absolutely sure that tons and tons of new code gets written every year that work on mainframes. In this case, yeah, also you know one thing we haven't really talked on, and again it's not really my background, but is report generation for the purposes of auditing, for the purposes of people to do overview. And not just in banking, actually in lots of different software engineering fields, report generation is very important. But mainframes and COBOL are two things that very specifically you want to roll up. Like I want to know how much money is in a given branch of a bank, and I want to know, you know, how many current deposits do I have? How many, you know, the accounting balance sheet, right? You want to be able to get reports of where every penny is and where it's coming from and where it's going to, and you need to generate those each night and check them for consistency. It be reliable and redundant and backed up. All of those things—I mean, a lot is at stake. And so that's the realm where you find these things. Yeah, that makes sense. I mean.
I think one of the things that really killed the mainframe is Paxos. So Paxos is this—like I guess algorithm. Oh, we do not have time. Yeah, yeah, we can't cover it; we're already running super late, but it basically allows a lot of machines to coordinate, and I think we've actually talked about it in the past. Maybe we have a consensus? Yeah, if you search Paxos on our site, you could find it. If not, maybe we'll cover it in the next show. Send us an email if you want us to cover Paxos. But—you know that I think that really is what killed the mainframe market because all of a sudden now a group of computers could kind of do the same thing. All right cool. So yeah, that's COBOL mainframes, you know game theory, all sorts of cool stuff, algorithms and Pythons. We had a lot of stuff to cover this episode. Hope you guys appreciate it. As you know, sorry I went a little bit long, but we had a ton of content. You know, it's been a long time. It's been almost what three months since we had a non-interview show. So we had a lot we wanted to tell you about. And thank you again for all of your support. Looking forward to, you know, only a few months until Christmas, we start giving away some T-shirts. So if you haven't signed up on Patreon, go ahead and sign up. You know, even if you can only give a dollar, that's totally fine. You can—you can give a dollar and end up winning like a $20 T-shirt. It can happen. So thanks for all your support. Check out the books of the show, tool of the show, and send us all your feedback. the intro music is axo by binar pilot programming throwdown is distributed under a creative commons attribution share alike 2.0 license you're free to share copy distribute transmit the work to remix adapt the work but you must provide attribution uh to uh patrick and i and uh share alike and kind you
