Latest / Talk Python To Me / #119: Python in Engineering
Transcript
- 0:00Think about how you learn most technical or detail-oriented subjects.
- 0:03You start at the bottom, lowest level, and you create building blocks and work your way into the thing
- 0:08that eventually you get to that you actually care about.
- 0:11This happens in engineering. This happens in math. This even happens in programming.
- 0:15Our guest this week, Dr. Allen Downey, believes that computation and programming can help us turn this inside-out way of teaching right-side-out again.
- 0:23Join Alan and me as we discuss programming as a way of thinking and physical modeling and engineering in Python.
- 0:29This is Talk Python To Me, episode 119, recorded May 30th, 2017.
- 0:58Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.
- 1:05This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy.
- 1:10Keep up with the show and listen to past episodes at talkpython.fm, and follow the show on Twitter via at Talk Python.
- 1:17This episode is brought to you by Linode and Rollbar.
- 1:20That's right. Welcome to Linode, who has joined Talk Python To Me as a major sponsor.
- 1:25Be sure to check out what both of them are offering during their segments. It really helps support the show.
- 1:30Hey, everyone. I have a quick announcement before we get to our conversation.
- 1:35I'm super excited to announce the availability of my next course, and this is one I've been wanting to write for a long time.
- 1:42It's MongoDB for Python developers.
- 1:45This is one of the most practical and real-world courses on document databases in MongoDB.
- 1:50You'll learn the native query syntax PyMongo and the ODM Mongo engine.
- 1:55We'll also cover performance tuning and production deployments.
- 1:58Get the MongoDB course right now at training.talkpython.fm.
- 2:02Alan, welcome to Talk Python.
- 2:05Thank you. It's a pleasure to be here.
- 2:07It's an honor to have you on the show.
- 2:09I'm really excited to bring this engineering aspect of Python to all the listeners.
- 2:15It'll be really fun, I think.
- 2:16I hope so.
- 2:16Indeed, indeed. It's really cool to see the different ways that people are using programming in Python
- 2:20and certainly to see how it's slowly eating away at the big commercial monolithic type things like MATLAB and Mathematica and so on.
- 2:30Right, right.
- 2:31Yeah, very fun.
- 2:32We're going to dig into that for sure, but let's start at the beginning.
- 2:35What's your story?
- 2:35How did you get into programming in Python?
- 2:37I got to Python in, I think, the year 2000.
- 2:41I have a great story, which is I actually was working in Java.
- 2:45I was teaching at Colby College up in Waterville, Maine.
- 2:48I was unhappy with the books.
- 2:50I was using, so I started writing a free open source textbook, and I wrote it in Java because that's the language I was teaching in.
- 2:58I didn't know Python at the time.
- 2:59I'm not sure I had even heard of Python.
- 3:01But there was a snake thing, and there was some kind of movie that British make that's kind of funny.
- 3:06And then, right, exactly.
- 3:08Exactly.
- 3:09But I put my Java book out under a free license, and Jeff Elkner, who was teaching high school in Virginia at the time, kind of took me up on the offer.
- 3:18I said, you know, you can take this book.
- 3:20You can modify it.
- 3:21You can do anything you want.
- 3:22And he translated it from Java into Python and sent it back to me.
- 3:27So I actually learned Python by reading my own book.
- 3:30Wow.
- 3:31Most people don't learn Python by reading their own book.
- 3:34That's a really crazy story.
- 3:35That's amazing.
- 3:36It's a strange experience because it sounded like me.
- 3:40It's my writing style, but it's telling me things I don't know.
- 3:44Oh, no.
- 3:44That is weird.
- 3:45It's like in movies where the future you comes back from the future and tells you things that you don't know.
- 3:51It's just like that.
- 3:52Yeah.
- 3:52Oh, my gosh.
- 3:53That's really, really interesting.
- 3:54It was a pretty unique thing to do back in the year 2000 to release books kind of open source, right?
- 4:00Like now it's pretty standard that many books have some online open source component to it.
- 4:05But that was not common then, was it?
- 4:07I don't think so.
- 4:08And I had no idea what I was doing.
- 4:10In fact, the first version, because I was writing in LaTeX, and LaTeX is almost a programming language,
- 4:16I released it under the GNU general public license because I thought of it as being source code.
- 4:22So that was the first license I used.
- 4:24This was before the Creative Commons licenses didn't exist yet.
- 4:28I switched at one point to the GNU free documentation license because that made more sense.
- 4:33And now I'm mostly using Creative Commons licenses.
- 4:36Okay, which Creative Commons?
- 4:37Because there's a bunch of variations, right?
- 4:39Yeah, different ones for different books.
- 4:41Part of it, most of mine are, I don't have the non-commercial clause on most of them.
- 4:47But for the ones that I'm publishing with O'Reilly, that's kind of the compromise that we've settled in on,
- 4:53which is that the versions that are on my webpage have the non-commercial clause.
- 4:58Right.
- 4:58And then O'Reilly has the exclusive commercial license.
- 5:01That seems like a pretty fair deal.
- 5:02I think it's not bad.
- 5:03What I've done a couple of times, when people have made a substantially modified version,
- 5:08I can give them another license.
- 5:11I can grant it to them under a license that does not have the non-commercial clause.
- 5:15So if someone makes a really small change, then that's still covered.
- 5:19But if they make a bigger change, then I've got some flexibility.
- 5:21Right.
- 5:22Okay.
- 5:22Yeah, very interesting.
- 5:24I think this way of learning Python is quite amazing.
- 5:27And, you know, it's probably not entirely new, given how many people there are in the world, but it's got to be pretty rare.
- 5:32So tell me, what was your experience?
- 5:34What was the impression of the language as you learned it?
- 5:37Were you like, why did they take away all the curly braces?
- 5:40This is so weird.
- 5:41Or were you like, oh, this is actually kind of amazing.
- 5:43What was your thought?
- 5:44Oh, no, I was hooked immediately.
- 5:45Again, I was coming from Java.
- 5:47And so I knew the frustration of teaching Java, which is all the stuff that you have to explain on the first day, just to write hello world.
- 5:57There's public, static, void, main, string, bracket, bracket, and all that.
- 6:02And in Python, of course, it's print hello world.
- 6:05Exactly.
- 6:06It's amazing.
- 6:07I feel like people that work in those languages like Java, and I consider myself among them.
- 6:12I did for a long time C++ development and some C# development.
- 6:16And they're highly structured with symbol type languages, not structured in format, but structured with many, many symbols around it.
- 6:24And you just feel like those are required.
- 6:26Those are the right way to do it.
- 6:27Everything must have curly braces and extra parentheses and whatnot until you realize that it doesn't have to be there.
- 6:35You can actually have a nice, clean language that's just equally expressive.
- 6:38And it's really liberating when you get there finally, I think.
- 6:42Right, because you end up having to do the indentation anyway.
- 6:44Yeah, exactly.
- 6:45So at that point, if you have to indent, you might as well take away the squiggly braces.
- 6:49Exactly.
- 6:50Fully embrace it.
- 6:51Fully embrace it.
- 6:52Great.
- 6:52So you said you wrote the book when you were teaching in Maine.
- 6:56And now you're still teaching at a university, right?
- 6:59But you're doing it a little farther south?
- 7:00Yes.
- 7:01I'm at Olin College, which is just outside of Boston.
- 7:04And it's an engineering school.
- 7:05So it's a little bit of a different environment.
- 7:07I used to do computer science in the context of a liberal arts education.
- 7:12And now I'm doing computing in the context of an engineering education.
- 7:16So is it a little more exploratory?
- 7:19Let's try to model these things and less learn how to write operating systems, learn how to create web apps or things like this.
- 7:28How's the difference?
- 7:29Right.
- 7:29Yeah.
- 7:29Part of it is that maybe less emphasis on theory, less emphasis on getting very deep into how things work, and more on using what's there and using it to solve the problems that you're trying to solve.
- 7:44Sometimes it's about engineering.
- 7:45Sometimes you are modeling physical systems.
- 7:48Other times it's developing software systems, but maybe more like software engineering and less like computer science.
- 7:57Right.
- 7:57People may disagree with me, but just coming from my background where I just minored in computer science, I didn't go all in.
- 8:04I feel like computer science and programming and software development kind of are the same thing, but the true computer science part of it is much more theoretical than what a lot of people do day to day, even though they might call themselves CS folks.
- 8:18And so I think you guys might have this more explicit here in your program, right?
- 8:24Yeah, I think that's right.
- 8:25I mean, computer science as a field is kind of a historical accident.
- 8:30It came out of math departments, and then it combined with some parts of engineering.
- 8:37I mean, there are pieces there that are mathematics.
- 8:39They are just, that's, they're discrete mathematics.
- 8:41There are parts that are the engineering of working with software.
- 8:46And then there are parts that are applications, you know, using computation in science and engineering and other fields.
- 8:53Those are three kind of different things that don't necessarily belong together in one department.
- 8:59Yeah.
- 8:59I suspect that in 50 years, they won't be one department anymore.
- 9:03Yeah.
- 9:04Okay.
- 9:04So in 50 years, would you imagine there might be an artificial intelligence department?
- 9:08Oh, interesting.
- 9:09I don't know.
- 9:10That might.
- 9:10Or data science where that AI is a big section of it or something?
- 9:13Yeah.
- 9:14Data science might make more sense as a field.
- 9:18I don't know.
- 9:20I can't even begin to think about what this will look like.
- 9:22It's hard to predict that far out, isn't it?
- 9:23Yeah.
- 9:24Sure.
- 9:24All right.
- 9:25So you teach a number of classes there, which is really cool.
- 9:29We'll dig into some of the learnings and takeaways from those around sort of fixing engineering education through programming.
- 9:38But let's start a little bit farther back.
- 9:40You wrote a really cool article called Programming as a Way of Thinking in Scientific American, right?
- 9:45Yes.
- 9:46It was on their blog.
- 9:47Yeah.
- 9:47Yeah.
- 9:47That's an honor, right, to be on Scientific American, a pretty cool place.
- 9:50So I recommend people check that out.
- 9:53I'll put a link to it.
- 9:54But could you maybe give us the synopsis?
- 9:56Sure.
- 9:57I mean, it's the idea.
- 9:58And it's not just Python, but other modern programming languages are now so expressive that I think we can move away from programming as translation.
- 10:09It used to be that you had to write everything out using mathematics and then translate it into executable code.
- 10:17And you see things like, you know, the name of, you know, Fortran is formula translation.
- 10:22That's what programming was.
- 10:24It's right in the name.
- 10:25I remember, yeah, I remember learning Fortran.
- 10:28I actually did a little bit of engineering work in college as well.
- 10:31And they told me, Fortran's the most important language you'll ever learn.
- 10:35Wait, see where that went.
- 10:37But I remember that, you know, when they would teach programming to some degree it was, and you make this flow chart, and then you translate it into the language.
- 10:45And that just seems so in the way these days, right?
- 10:49Why would you ever do this?
- 10:50It just, you write it out in the language, right?
- 10:53Right, right.
- 10:54And you see this now in the history of pseudocode, which is if you look at early pseudocode, it looks like mathematics notation.
- 11:01And then gradually it starts to look more and more like Python.
- 11:05Until you get to the point where it is Python.
- 11:08That you realize that the pseudocode is more readable if you just write it in Python.
- 11:15And furthermore, it's executable.
- 11:17And of course, being executable is huge.
- 11:20Not only because that's, you know, the purpose of code, but also now it's debuggable.
- 11:25So now you're taking these ideas that are in your head.
- 11:28You're expressing them directly in code without going through all these translation steps.
- 11:34And now while you're debugging that code, you are debugging your understanding of the ideas that you're expressing.
- 11:41You're debugging your own brain.
- 11:42Yeah.
- 11:42It's really, it really is amazing.
- 11:44And the fact that you can push a button and get the answer means some of these conceptual debates about things are often instantly solved.
- 11:55Right.
- 11:56I think of a lot of mathematical proofs.
- 11:58Like I'm thinking of particularly one in topology where I sat there for days working on this problem.
- 12:03And you can work out the proof and you can write it down.
- 12:06And it seems very much like programming, very much logical step, step, step, do this.
- 12:09You come to a conclusion, but you're never really sure.
- 12:13You're not a hundred percent sure.
- 12:14Right.
- 12:15Whereas if you can do this with a program, the cool thing is you can push a button or hit the inner key and see, you know, do I actually have this right?
- 12:25Right.
- 12:25There's this great story about Paul Erdős.
- 12:28And I don't know if you've heard this.
- 12:29This is the Monty Hall problem, which is this notorious problem in probability that almost everybody gets it wrong when they first hear this problem.
- 12:38And even once somebody tells you what the right answer is, most people don't believe it.
- 12:43It's just so counterintuitive.
- 12:45So Paul Erdős, when a friend of his told him this problem, this is one of the greatest mathematical minds of the 20th century.
- 12:52Yeah, he was truly amazing.
- 12:54And he lived in the world of mathematics.
- 12:56Unlike so many people, he didn't even really have possessions.
- 12:59He just went from department to department, right?
- 13:02Oh, I mean, he's a great story in his own right.
- 13:04But this particular problem just, it did not click with him.
- 13:09He refused to believe what is actually the correct answer until his friend showed him a computer simulation.
- 13:16And exactly as you said, the power of writing code and seeing it happen is what it took.
- 13:21There was no amount of mathematical proof that was going to be as persuasive.
- 13:25Yeah, that's really, really amazing.
- 13:27And so one of the things that really resonated with me from this program is a way of thinking.
- 13:32And I think anybody who presents ideas to other people, maybe you're working at a company, you're leading your team, you want to tell them about something.
- 13:40If you're a public speaker or if you're a teacher or whatever is traditionally, I feel like we've taught things in the reverse order, in the wrong order.
- 13:50Like, what I'm going to do is I'm going to spend three weeks teaching you a billion little details.
- 13:54And then in a month, you'll see that what you've actually learned is kind of cool and we'll see what we can do with it.
- 13:59Right.
- 14:00Right.
- 14:01That's such a problem, isn't it?
- 14:03Yes.
- 14:03Yes.
- 14:04And this is now, this is a major theme of these textbooks that I'm working on, which is exactly as you said, put the fun stuff first.
- 14:11Show me that it works.
- 14:13Show me why it's useful.
- 14:14What can I do with it?
- 14:16And now I'm interested.
- 14:18Now I want to know how it works and we can start going top down.
- 14:22We don't have to start with all the details and work our way up.
- 14:25Right.
- 14:26And what's interesting, basically what makes this really possible is we can execute the ideas and understand them from the outside in.
- 14:34Right.
- 14:35Like if you're going to teach math, like you can't solve a fast Fourier transform unless you literally like learn all the steps.
- 14:41Right.
- 14:41But if you're doing programming, you could grab like a simulation library or you want to teach threading.
- 14:47You could just use the simple async and await stuff and just start from the outer shell.
- 14:52Like how does this look?
- 14:53How do we use it?
- 14:53What's amazing about it?
- 14:55And then now let's dig in one layer and then another layer and another layer, like basically in reverse.
- 15:00Right.
- 15:00Right.
- 15:01And in fact, your Fourier transform example, that's exactly what I do in Think DSP, which is chapter one.
- 15:08I'm using Python and I'm using SciPy.
- 15:10It's all in Jupyter Notebooks.
- 15:12So right away, you can grab, download a sound, download an MP3 or make your own recording.
- 15:18Look at the Fourier transform.
- 15:20Look at what that spectrum looks like and understand what the Fourier transform does, how you're breaking a sound up and expressing it as a sum of frequency components.
- 15:31At the end of chapter one, you understand 90% of what you need to understand.
- 15:36And then the last 10% is how the Fourier transform actually works.
- 15:40Right.
- 15:40Yeah.
- 15:41I remember learning that stuff and it was always just like, wow, this is so in serious integration.
- 15:45What is going on here?
- 15:46But you don't actually see like amazing signals being extracted from some noisy environment or, you know, some signal or something.
- 15:54Yeah.
- 15:54That's really cool.
- 15:55Right.
- 15:55Right.
- 15:56You can start with auto-tune and work your way down.
- 15:58Exactly.
- 15:58One of the quotes you ended that article with that I wanted to share with everyone I thought was pretty cool is was basically that modern programming languages are quantitatively different from their predecessors.
- 16:09And we're only beginning to realize the implications of that difference.
- 16:12You want to add a little to that?
- 16:13That's a pretty amazing, pretty awesome thought, I think.
- 16:16I agree with people are just beginning to realize.
- 16:18Yes.
- 16:19So if we do translation, if we start out thinking in natural languages and then we express it in mathematics and then we have to translate it into code, we're limited to the set of things that we can express in all three languages.
- 16:32And we lose something at each step of the translation.
- 16:36So my conjecture is if we don't have to do the translation, if we work directly in code, potentially we will start writing things that look very different.
- 16:45We will start writing things that we would never have come to if we approach them mathematically.
- 16:51But I don't think we know yet what that's going to look like because that's not how we've been trained to think.
- 16:58I think it'll have to be the next generation who start out in Python, who start out using programming languages for exploration.
- 17:07And we'll see what they do that ends up being different from what we do.
- 17:12That's for sure.
- 17:12You know, I talk to people about how they got into programming or what was exciting to them all the time.
- 17:17And a lot of times it's, well, I first, you know, wrote my simple basic program and it did something on the screen, like echoed my name a hundred times.
- 17:26Or I made this turtle draw a square or something.
- 17:30I can easily see a world in 10 or 15 years where people start answering that question.
- 17:35Like the first thing I did was, well, I pulled up this Jupyter notebook and I typed in these things.
- 17:40And then I understood something totally different than before, right?
- 17:44Yes.
- 17:44Yes.
- 17:45Or if they're going through grade school and every class that they take involves an element of computation.
- 17:52I mean, right now there's kind of obvious stuff.
- 17:55Like when, if people are doing trigonometry, then maybe they'll do some computing along the way.
- 18:00But they're probably not doing things like analysis of word frequencies when they study a text.
- 18:06But you could do that.
- 18:07You could have students in middle school take a couple of different authors and look at the distribution of sentence lengths or the number of different words that people use in different types of articles or different authors.
- 18:21They could do that kind of analysis.
- 18:23Yeah.
- 18:24That's really interesting.
- 18:25I can imagine a world where the study of literature somewhat involves sentiment analysis on the text using machine learning or something like that, right?
- 18:35Right.
- 18:35And where that's not something that's unusual, but it's just, look, we've got computation as a tool.
- 18:41We're going to apply it to everything that we study.
- 18:43This portion of Talk Python To Me is brought to you by Linode.
- 18:48Are you looking for bulletproof hosting that is fast, simple, and incredibly affordable?
- 18:52Look past that bookstore and check out Linode at talkpython.fm/Linode.
- 18:57That's L-I-N-O-D-E.
- 18:59Plans start at just $5 a month for a dedicated server with a gig of RAM.
- 19:03They have 10 data centers across the globe.
- 19:05So no matter where you are, there's a data center near you.
- 19:08Whether you want to run your Python web app, host a private Git server, or even a file server, you'll get native SSDs on all the machines, a 40 gigabit network, 24-7 friendly support, even on holidays, and a seven-day money-back guarantee.
- 19:23Want a dedicated server for free for the next four months?
- 19:26Use the coupon code python17 at talkpython.fm/Linode.
- 19:31There's this big push for all kids around the world sort of learning to code.
- 19:37And I think what we're touching on definitely highlights some of the amazing reasons why that is.
- 19:44I don't feel like we need more programmers per se, although there's going to be a need for more programmers.
- 19:49I think we need more people with these skills that can, like you say, apply a little bit of computation to everything.
- 19:55Whatever it is they're doing, bring a little computation to it, right?
- 19:59I agree.
- 19:59I'm not trying to make everybody be a software engineer.
- 20:02We don't need that, and they don't want that.
- 20:05But I do think if people have basic programming skills, that becomes a pedagogic wedge.
- 20:11You use that as a lever to learn everything else.
- 20:15I don't know if it's a wedge or a lever.
- 20:16I might be mixing my metaphors.
- 20:18But it gives you a tool for learning.
- 20:20Yeah, for sure.
- 20:21And you have a pretty interesting place to apply that, or at least see that in action, at an engineering school where most people probably aren't programmers.
- 20:28But they really kind of need some computation, right?
- 20:30Right.
- 20:30We have a range of students, both when they come in, not everybody has programmed when they get here.
- 20:36So we are the first contact for many of them.
- 20:39And then when they leave, not everybody's going to do software.
- 20:42We have some who love it, and that's going to be their career.
- 20:45And others, especially, not to stereotype, but the folks doing mechanical engineering are not necessarily the ones who love software.
- 20:53But the chances are they're going to do something with software at some point in their careers.
- 20:58Yeah, if even it's just to write some Python script to automate something that actually is the application they're modeling with, right?
- 21:04Right.
- 21:05At the very least, they can automate the boring stuff.
- 21:07Exactly.
- 21:08All right.
- 21:08So maybe that's a good place to segue into your physical modeling stuff.
- 21:13So let's talk about physical modeling in Python.
- 21:16You're doing a course there.
- 21:18You've got some cool libraries and stuff that you're working with.
- 21:22You said you're basically trying to fix engineering education.
- 21:25Maybe we could start with that.
- 21:26That's the Olin mission.
- 21:27So Olin College was founded because the founders thought that engineering education is broken.
- 21:33Why is it broken?
- 21:34A couple of ways.
- 21:35You know, one of them is that it's divorced from the people that we're designing for.
- 21:40So engineers, I use this analogy that it's as if the engineer is sitting in a box.
- 21:45Somebody comes and slides a well-formulated problem under the door.
- 21:50And you have no idea where it came from, but you craft a beautiful engineering solution and you slide it under another door with no idea where it's going.
- 21:59And that doesn't work.
- 22:00Engineers have to understand the people they're designing for.
- 22:04They have to identify opportunities.
- 22:06They have to formulate those beautiful problems and figure out, first of all, is there an engineering solution?
- 22:13Because not always.
- 22:14Is there going to be one?
- 22:16And then if there is, great, let's do the engineering.
- 22:19Let's craft a beautiful solution.
- 22:21But now there's a ton of work to get that idea out of the lab and make it real in the world.
- 22:27So engineering education has to hit all three parts of that, designing for people and then crafting an engineering solution and then getting it out into the world.
- 22:36Yeah, that sounds like a really nice way to structure everything.
- 22:40You also talked about the science and math death march.
- 22:43What is this?
- 22:45Well, that's the other big problem with engineering education is that there's not enough engineering.
- 22:49Students don't see anything that really looks like engineering, that looks like the practice of engineering, at least for the first two years.
- 22:58Very often they're doing math and science and other prerequisites.
- 23:02And they treat engineering as if it's the reward that you get for surviving past all those hurdles.
- 23:09But even then it tends to be, even in the second and third and fourth years, it tends to be very theoretical.
- 23:15So students often graduate with a lot of ability to solve the problems that are in the textbook, but very little ability to do real engineering.
- 23:25Yeah, that was my experience in college.
- 23:26So I feel like taking programming and simulations and letting you sort of start before you fully understand all the way down is a way you could maybe move the engineering up.
- 23:38Yeah.
- 23:38So this is the course that I'm working on right now is called Modeling and Simulation.
- 23:42And this is part of the first semester at Olin.
- 23:45We have three classes that go in parallel.
- 23:48Modeling and Simulation is about doing physical modeling.
- 23:53So you've got a physical system.
- 23:55You make a model of what are the important parts that you have to include?
- 23:59What are the things that you can leave out and simplify?
- 24:01And then do either mathematical analysis or computational simulation to use that model to either predict something.
- 24:10You know, what will this system do in the future?
- 24:12Explain why the system behaves the way it does.
- 24:16Or to design something to do some kind of optimization.
- 24:19Okay.
- 24:19And this is like, welcome to the university.
- 24:22Here's your dorm.
- 24:23Here's where you get textbooks.
- 24:25We'll see you on Monday in this class.
- 24:26Like that early?
- 24:27That is, yes, that's exactly right.
- 24:29And it's, we do some programming.
- 24:32So of the first year classes, this is the one that has the most software in it.
- 24:37And, but again, I mentioned most people are coming in, they haven't programmed before.
- 24:41So we are simultaneously learning a little bit of programming, but with the immediate goal of modeling physical systems.
- 24:49That carves it down.
- 24:51We can teach a very small subset of the language because it's not general purpose programming yet.
- 24:57It's really application focused.
- 25:00It's not a full multi-tier web application with a database back in the scale.
- 25:06No, no, no.
- 25:07Just, we're going to run this math problem against this data and go, right?
- 25:11Exactly.
- 25:12Right.
- 25:12So, you know, some of the first examples are just four loops where you're updating a variable that just measures, you know, the quantity of something.
- 25:20We're doing a bike sharing example.
- 25:22Probably one of the first examples is, you know, you've got three different stations and your customers are moving bikes from one station to another.
- 25:29And we're going to simulate that process and figure out, is there going to be an equilibrium?
- 25:34Or are we going to run out of bikes?
- 25:36Do we have to move the bikes around?
- 25:39So, with a very simple model, I mean, we're talking about three variables and addition and subtraction.
- 25:45But we can get some interesting questions.
- 25:47We can see equilibrium.
- 25:48We can see non-equilibrium.
- 25:50We can evaluate different strategies.
- 25:52Like, should I move the same number of bikes every day?
- 25:55Or should I measure something and make decisions dynamically?
- 25:59All kinds of things.
- 26:00Yeah.
- 26:00And that definitely ties back to the real world.
- 26:02I just heard today, I think it was today, maybe a few days ago, that Uber is running some program where or feature where it's cheaper to get cars where there's too many cars if your destination is in a place where they need to basically move a car to effectively.
- 26:19Ah, yes.
- 26:20So, here it is, just on a much larger scale, right?
- 26:24Right.
- 26:24So, almost the opposite of surge pricing.
- 26:26It'll be a discount if you happen to be going where we want you to go.
- 26:29Yeah, I think that's what, yeah, they called it like a power zone or something.
- 26:32I think it was Uber.
- 26:33It could have been Lyft, but I'm pretty sure it's Uber.
- 26:34Ah, interesting.
- 26:35Yeah.
- 26:35So, okay, you come in and you have them do these models and they can do it computationally.
- 26:41Do they do that in Python?
- 26:42Until this coming year, everything has been MATLAB, which has worked okay.
- 26:46It's got some nice tools built in.
- 26:49So, there are things like there's an ODE solver, there's a root finder, there's an optimization tool.
- 26:55And those are great.
- 26:56Again, thinking about going top down.
- 26:58We can use those tools before we understand how they work.
- 27:01So, that's been good.
- 27:02But we're switching to Python starting this fall.
- 27:05Oh, that's exciting.
- 27:05So, you guys are getting ready over the summer and then it's going to launch in Python for the next set of students, huh?
- 27:11Yes.
- 27:12So, this is my big project this summer is rewriting a lot of the materials that we have, switching over from MATLAB to Python.
- 27:19Okay, excellent.
- 27:19And this time, you're going to be writing the Python, not someone sending it back to you.
- 27:23Exactly.
- 27:24Oh, that sounds really great.
- 27:26Do you think that this would be, I'm sure it would be possible.
- 27:28Would this be a likely thing without IPython notebooks and Jupyter and all that kind of stuff?
- 27:33It certainly could.
- 27:34I think it would be less good.
- 27:36I think one of the nice things about Jupyter is the students can just check out a notebook.
- 27:42And there's a nice pedagogic process there where the first time through, they can just read the code and execute it and see what it does.
- 27:52And maybe on the second pass, they're just making small changes, like try and experiment, change a parameter, put a couple of extra statements here or there.
- 28:01And I think you're modifying code.
- 28:02You can learn a lot from doing that before they get to the third step, which is really, okay, now you're going to create code from scratch.
- 28:09Sure.
- 28:10I think that's nice to start that way.
- 28:12Especially this is almost like their first programming course, at least for some of them.
- 28:15So they come in and say, well, what if we moved three bikes a day instead of just two?
- 28:21How does that change the equilibrium and play with it?
- 28:23And you have the nice pictures.
- 28:24Yeah, it's pretty cool.
- 28:25And there's a lot of room for the students who are just learning to program.
- 28:28We're going to have kind of the lower bound that says, okay, we want to make sure that everybody gets to this level.
- 28:34At the same time, people who are coming in with experience or people who just pick it up quickly, they can go crazy.
- 28:40I mean, there's a ton that they can go and do.
- 28:42Yeah, cool.
- 28:42So what are some of the libraries you're planning on using for this?
- 28:46So a lot of it is SciPy.
- 28:48I mentioned some of the tools in MATLAB.
- 28:50We need an ODE solver, and there's a good one in SciPy.
- 28:55A root finder, optimization tools.
- 28:57That's basically it, and that's coming straight out of SciPy.
- 29:00And then the other library that I'm looking at is called Pint.
- 29:04And this does units, units and dimensions.
- 29:09This, I think, if this works, will be really good.
- 29:13Because we're doing physical modeling.
- 29:16And in physical modeling, everything is a quantity.
- 29:18If you tell me that the answer is five, my question is going to be, five what?
- 29:24Five meters?
- 29:26Five seconds?
- 29:27Tell me the units.
- 29:28Tell me the dimensions.
- 29:29So one opportunity here is to do computation where every quantity has its units attached
- 29:37to it, and they carry through the computation.
- 29:39So if you try to add two things, it's going to check to see if they have the same units.
- 29:45And if they don't, it's going to give you an error.
- 29:47You can't add joules and kilograms.
- 29:48What are you doing?
- 29:49Exactly.
- 29:49Exactly.
- 29:50And if you look at the number of real scientific and engineering projects that have run into
- 29:57problems because the units got messed up, including, I think it was at the Mars climate probe that
- 30:03was destroyed because they had, I think, both feet and meters.
- 30:08And that was the end of that.
- 30:10Yeah.
- 30:10That's really unfortunate.
- 30:12We in the U.S. probably have a little bit of blame to take for keeping the feet, the imperial units
- 30:20still around.
- 30:21Oh, yeah.
- 30:22The rest of the world has tried to move on.
- 30:24And we're like, nope.
- 30:24We love our feet.
- 30:25Still measuring things in drams per fortnight.
- 30:28Exactly.
- 30:29But even so, you still have centimeters versus meter.
- 30:33I mean, there's certainly room for this error, even in the unit system, the metric system,
- 30:37rather.
- 30:38You'd mentioned Pite earlier when we were getting things set up, and I'd forgotten.
- 30:42I did check this out.
- 30:43This is really cool.
- 30:44So you can, say, create one of these Pite-type things, and you can say, like, three times meters
- 30:50plus four times centimeters, and it will, you know, make that 3.04 meters, right?
- 30:55Things like that.
- 30:55It really makes it obvious and easy.
- 30:57Yes.
- 30:57Yep.
- 30:58So it'll do error checking, or if you multiply two things together, the result will have the
- 31:03right units, and it'll reduce units.
- 31:06So if you express something as some crazy combination, it'll say, oh, that's Jules.
- 31:10Yeah.
- 31:10Really?
- 31:12Yeah, Jules is a crazy unit.
- 31:14So I think this highlights one of the things where, say, MATLAB or one of these package systems,
- 31:21it's kind of nice in that it's self-contained and whatnot, but I don't think MATLAB has this
- 31:24concept of this Pint library.
- 31:26And if it has the Pint, there's, you know, a thousand other Python such libraries that
- 31:30are really cool to bring in to just sort of make it more expressive, right?
- 31:34Right.
- 31:35And it also, when you're comparing languages, there's theoretically, all languages are equivalent
- 31:40in the sense that they can compute all computable functions.
- 31:43But there are pragmatic things.
- 31:46There are, you know, some things are hard or easy, but there's also culture, which is around
- 31:51MATLAB culture.
- 31:52People tend to write fairly simple programs that are mostly script-like in the sense that
- 31:59you're just combining existing features.
- 32:01You're not often writing functions or functions that use other functions.
- 32:07You're not writing objects.
- 32:09You're not building up layers of abstraction.
- 32:12Right.
- 32:12You're not building reusable concepts.
- 32:16You're taking other people's reusable concepts and making it like a final product, right?
- 32:22Maybe not a well-factored one, but something that like, this is done when this runs.
- 32:25I'm not going to like open source this in a way that other people can easily build on, probably.
- 32:30I think that's often true.
- 32:31And not because it's impossible.
- 32:33I mean, I think there is object-oriented MATLAB out there, but it's not commonly used.
- 32:39When you come to the Python cultural ecosystem, it's more of a software engineering world.
- 32:46There's more abstraction, more functional decomposition, more object-oriented programming.
- 32:51So at the risk of starting a programming language war, the overall level of software engineering
- 32:57tends to be higher.
- 32:58So the tools you're working with are more abstract.
- 33:02And then from my point of view as an instructor, now I can build abstraction to put between
- 33:10the students and the tools that they're using.
- 33:12So what I'm planning to do, I'm making a library that's called modsim.py.
- 33:17Most of what the students do, at least when they're getting started, is they're going to
- 33:22use things from my library.
- 33:23So I can put wrappers around things.
- 33:26I can hide the details that they don't need to know about yet.
- 33:29If I see them making the same errors over and over, I can generate really good error messages.
- 33:34I can do argument checking.
- 33:36I can just help them get over what I know the rough spots are going to be.
- 33:40I think that's a great, great point.
- 33:42I've had a couple of people who were teaching classes and then they've had students teaching
- 33:49classes that were somehow computational and using Python said, why do I need to learn Python?
- 33:54Can't I just learn MATLAB or Mathematica and just go on?
- 33:59Like I've asked Jake Venderplass what he thought about this, like what he would respond.
- 34:02What would you tell a student who comes and says, I don't really want to learn Python or
- 34:06programming.
- 34:07Can we just use MATLAB for this example or this class?
- 34:10Well, you could.
- 34:10And I'm not trying to say I'm not a total zealot.
- 34:14And we've been teaching MATLAB for this class since 2009.
- 34:18It's not impossible.
- 34:19It's not terrible.
- 34:19I think it's an okay first language, but I think Python is better.
- 34:25I think it's a better first language.
- 34:26Just I think the rough spots are smoother.
- 34:29It's easier to get started.
- 34:31And it's a general purpose programming language, which means that all of the effort that you
- 34:37put into learning it will pay off not just for this class, but for any other class that
- 34:43you're taking.
- 34:43So you get a little bit more reward from that investment.
- 34:46Yeah.
- 34:47I think that's, that's really interesting.
- 34:48And I think Jake VanderPlas maybe even touched on this on his keynote at PyCon last week
- 34:53and that not everybody who goes through an engineering program or astronomy program or whatever is
- 35:00going to be just an astronomer or just an engineer on the other side.
- 35:04And so learning something like Python gives you a super marketable and flexible skill.
- 35:08Learning something very focused in that discipline makes it less, right?
- 35:13So it's also, also good job diversification possibilities, I guess.
- 35:18Yeah, I think that's right.
- 35:19I'm teaching at an engineering college.
- 35:21So in some sense we are focused, but not all of our students are going to be engineers.
- 35:25One of the things that we say is that engineering education is great preparation for a lot of things,
- 35:32not just engineering.
- 35:33Sure.
- 35:34And you could go work at somewhere like Autodesk and work on AutoCAD, for example, right?
- 35:38Or something like some company that makes software for engineers, but you could end up only using
- 35:44a little of engineering and a lot more programming skills, right?
- 35:46Sure.
- 35:46Yeah.
- 35:47Hey everyone, Michael here.
- 35:49Let me take just a moment and thank one of our sponsors who makes this show possible.
- 35:53This portion of Talk Python To Me has been brought to you by Rollbar.
- 35:56One of the frustrating things about being a developer is dealing with errors.
- 35:59Relying on users to report errors, digging through log files, trying to debug them,
- 36:04or a million alerts just flooding your inbox and ruining your day.
- 36:07With Rollbar's full stack error monitoring, you get the context, insight, and control you
- 36:12need to find and fix bugs faster.
- 36:14Adding the Rollbar Python SDK is just as easy as pip install Rollbar.
- 36:19You can start tracking production errors and deployments in eight minutes or less.
- 36:22Rollbar works with all the major languages and frameworks, including the Python ones like
- 36:27Django, Flask, Pyramid, as well as Ruby, .NET, Node, iOS, and Android.
- 36:32You can integrate Rollbar into your existing workflow.
- 36:35Send error alerts to Slack or HipChat or automatically create new JIRA issues,
- 36:39pivotal tracker issues, and a lot more.
- 36:41They have a special offer for Talk Python To Me listeners.
- 36:43Visit talkpython.fm/Rollbar.
- 36:46Sign up and get the bootstrap plan free for 90 days.
- 36:49That's 100,000 errors tracked for free.
- 36:51But, you know, just between you and me, I hope you don't encounter that many errors.
- 36:55Give Rollbar a try today.
- 36:57Just go to talkpython.fm/Rollbar.
- 37:00You talked at the beginning about your book.
- 37:03What was the title?
- 37:04Did you say the title?
- 37:04Thinking?
- 37:05Think Python, right?
- 37:06Think Python.
- 37:07Yes.
- 37:08Right.
- 37:09So that's a really great book.
- 37:10And it's almost like Computer Science 101 getting started with programming, right?
- 37:15It is.
- 37:16It's meant for people who have never programmed before.
- 37:19So it really starts from X equals five.
- 37:22This is a variable.
- 37:23This is a value.
- 37:24But it's meant to be mostly language agnostic.
- 37:29So the principles are the same across lots of different programming languages.
- 37:33Certainly the family of imperative programming languages.
- 37:36In fact, there are now, there are translations of the book in, you know, Java and Python.
- 37:42And actually the most recent one is Perl 6.
- 37:45The book, Think Perl 6, just comes out, just came out this week.
- 37:50Oh, that's pretty cool.
- 37:51Yeah, very nice.
- 37:52Okay.
- 37:52So what other books have you written?
- 37:54I know you talked about your digital signal processing one, right?
- 37:58Right.
- 37:59So that's ThinkDSP.
- 38:00And then the two, the data science books are ThinkStats, which is mostly about exploratory
- 38:07data analysis.
- 38:07And then ThinkBase, which is specifically about doing Bayesian statistics.
- 38:12All right.
- 38:12Are those open source in the same sense that ThinkPython was?
- 38:15Yes.
- 38:16Yeah, they all are.
- 38:17So those are all, my webpage is greenteepress.com.
- 38:21Or if you just Google my name.
- 38:23Yeah, I'll link to all the, I'll be sure to link to them as well in the show notes.
- 38:26Great.
- 38:27And so, yeah, all the books are there.
- 38:28As I said, not all under exactly the same licenses, but they're under free licenses.
- 38:33And then Think Complexity is the other one, which is about complexity science.
- 38:38I'm working on the second edition of that one now.
- 38:41So that's a work in progress.
- 38:42That sounds interesting.
- 38:43Give us a sense of what complexity science is.
- 38:45It's kind of an odd set of topics.
- 38:48One way to think about it is it's the physics of complex systems, systems where you have components
- 38:55that interact with each other.
- 38:56Like a three-body problem and gravity, something like that?
- 38:59Yeah.
- 39:00So that would be an example of a system that gets chaotic.
- 39:02And among continuous mathematics, those are interesting systems too.
- 39:07And then in discrete math world, there are things like grids and cellular automata.
- 39:13So things like Conway's Game of Life and Stephen Wolfram's work in CA's cellular automata.
- 39:19And then also graph models.
- 39:22So things like small world networks and scale-free networks and agent-based models, one of the
- 39:28big topics.
- 39:29So boids, things moving around in three dimensions.
- 39:33Or there are some economic models like sugarscape and Schelling's model of segregation.
- 39:39So those are some of the topics.
- 39:41Yeah.
- 39:41Oh, that sounds really interesting.
- 39:42I just need an excuse to study them, but it sounds cool.
- 39:45It's great stuff and they're fun.
- 39:47They tend to have a lot of leverage, like a small amount of computation for a lot of very
- 39:53interesting results.
- 39:54And there are philosophical implications to almost all of it.
- 40:00So almost every chapter ends with, here's some reading that you might want to do from
- 40:06the philosophy of science, because we've just come face-to-face with instrumentalism and
- 40:11reductionism and all kinds of other isms.
- 40:14Yeah, cool.
- 40:15It seems to me if there are parents out there listening who have to help their kid with a
- 40:20science fair presentation, you could probably take something pretty interesting from there
- 40:25and put a little simulation on it and make that a science fair presentation.
- 40:28It's pretty good.
- 40:29It's not as good as the volcano with the baking soda, but Game of Life is pretty good.
- 40:34Yeah, for sure.
- 40:35So another one that you are working on is called ThinkOS, right?
- 40:39Yes.
- 40:40That one looks interesting.
- 40:41And this takes people who you sort of assume the reader knows Python and says, all right,
- 40:46let's write an operating system and see.
- 40:48Yes.
- 40:50So this is filling a gap that I think has opened up in the computer science curriculum,
- 40:55because it used to be that the intro classes were often in C or Java or languages that are
- 41:02similar, so that when people get to the operating systems class, they already know a low-level
- 41:08language.
- 41:09And now they're ready to find out how to implement an operating system.
- 41:12Yeah.
- 41:13I think you're right that this is changing.
- 41:15And it's for the better in the large scale that people are starting with higher-level languages.
- 41:19I think even with Java, if you learn Java and you stay in a managed language or you learn
- 41:25Python, which is more common these days, understanding malloc and all these sorts of low, low, low-level
- 41:34things is pretty new, right?
- 41:35Right.
- 41:36And that's a good example.
- 41:37I think memory management is one of the gaps.
- 41:40So now when students get into a second or a third computer science class, now maybe they need to learn C,
- 41:48but they need to learn memory management.
- 41:50They need to learn a lot about that kind of system level.
- 41:53What do the operating system calls look like?
- 41:57What are those APIs?
- 41:58So ThinkOS is an attempt to fill in some of that space with, on the one hand, we're going to
- 42:06learn system level programming in C. And on the other hand, we're going to learn about
- 42:10operating systems. But what we're going to learn is the stuff that you need to know in order to be
- 42:17a good application level programmer.
- 42:19Right. I think you need to know C to be a good professional programmer. I don't think you need to
- 42:24do it all the time, but I think knowing really what happens down at that level, really what does
- 42:30it mean for pointers to do their thing? What does it mean for memory management and so on? And have
- 42:36that experience is pretty important, even if you spend 99.9% of your time in Python or something.
- 42:42Yeah, I think I agree. Although I tend to be skeptical about people telling me what everybody
- 42:49needs to know.
- 42:50Yes, of course, of course.
- 42:52But I think you're right. At the very least, one of the things that you're going to have
- 42:57is a mental model of what's happening while your program is executing.
- 43:01Right. Yeah. And I'm not necessarily, I said C, but I'm more thinking like just a language that
- 43:06you need to have a concept of like how the thing actually runs. That's more what I'm trying to say.
- 43:12And I think C is probably where most people get that model.
- 43:14Yeah, I agree. And maybe it used to be assembly language. So we're still moving up. But I think
- 43:20you're right. And you're going to have a performance model as well of what's fast and what's slow. So
- 43:27when you start writing at the application level, if you are surprised, if things are slower than you
- 43:32expected, maybe you can debug that because you know what's going on one level down.
- 43:37Right. Enough tools to go and explore that and go, oh, I see why this is happening rather than,
- 43:41that's weird. Didn't know that would be slow. I just guess that's just won't do that anymore.
- 43:47Interesting. Okay. So I think that is a really cool book. So if you come in from Python and you
- 43:51want to like get some, some experience and see sort of tailor, tailor made to take you from that one
- 43:58step to the next, that's cool. And certainly understanding operating systems is good as well.
- 44:02So let's see, where, where are you going with courses in this whole area? What do you have other
- 44:10courses that you're teaching? Do you have other areas you're trying to explore this? Like let's use
- 44:15computation to help people understand stuff in the right order, not the reverse order.
- 44:19Right. I've got a bunch of projects that I work on in parallel. So I mentioned complexity. That's,
- 44:25that's the immediate project. Sort of medium to long-term, I'm still thinking about linear algebra.
- 44:31I think there's a big opportunity there for people to really understand that in a way that lets them
- 44:37do things with it. I think a lot of people who've studied linear algebra,
- 44:41they walk away with the vague notion that they can prove things about matrices, but not necessarily a
- 44:48lot of skills for really using the entities of, of linear algebra to do work, to solve problems by
- 44:57expressing them in that vocabulary. Right. I could tell you if a matrix is singular, I could do various
- 45:02other things to it, but I can't apply. There's like no useful skill I take away from this. Right.
- 45:07Basically is a way a lot of people end up experiencing it. I suspect. Yep. That's another
- 45:12place where doing things computationally can flip the order. You can go top down starting with
- 45:17applications and gradually understanding how they work. All right. Well, that all sounds really fun.
- 45:22Do you think that we should be trying to get this computational stuff in middle school or like,
- 45:29like 10, 12, 13 year old kids, like maybe a little bit less math, a little bit more programming or
- 45:36something, or how do you think we could take this in and make it more? So it's not something they
- 45:41experience when they get to college, but sort of everyone gets a chance to see it.
- 45:45Oh yeah. No, I think everybody should see it. And earlier than that, I think you can do it in
- 45:49elementary school for some definition of do it. What I'm talking about is using computational tools in
- 45:56the context of whatever it is that you're studying at a level that's appropriate for where the kids
- 46:02are. It can't be another class. You can't go and study English for an hour and then math for an hour
- 46:11and then computing for an hour. I think the computing just has to be embedded everywhere. Just in the same
- 46:18way that we use paper and pencil as a tool, we should be using computation as a tool,
- 46:22but not just using applications that other people wrote. There should be a gradual process of
- 46:30programming for some definition of programming for basic things, languages like Scratch that are
- 46:38block-based where you're just organizing computational elements, gradually working up to general purpose
- 46:44programming languages. Yeah, I totally agree. I think, I think it'd be great to see that.
- 46:49And I suspect we will see that over time, but who knows when it really kick in at that level.
- 46:54That's a pretty big battleship to turn the curriculum up for children.
- 46:58Oh yeah, no question.
- 46:59All right. Well, Alan, we're getting sort of near the end of the show. So let me ask you the
- 47:03two questions I always ask everyone. One, first, if you're going to write some Python code,
- 47:09what editor do you open up?
- 47:10I do most of my programming in Emacs. And then more recently I'm writing more and more of it in
- 47:16Jupyter notebooks while I'm exploring. And then at some point I end up taking that code out of the
- 47:21notebooks and putting it into modules and then either Emacs or other IDs.
- 47:27Sure. All right. Excellent. And most notable or favorite PyPI package? We're over a hundred thousand
- 47:34by quite a ways now.
- 47:35Right. I guess pandas is probably the thing I'm spending my most of my time working with. I love
- 47:41it. I did a lot of statistics using my own tools for a while. And I ended up just writing a whole lot
- 47:49of pointless code that I never should have written because 90% of what I was doing would have been a
- 47:54one line pandas method. Yes.
- 47:58And then the other package I mentioned is pint that I'm very interested in. Again, for doing
- 48:03computation with quantities that have units.
- 48:05Pint is really simple. Pandas is something that's very powerful, but definitely takes some study and
- 48:10to really leverage it. But it's great as well. All right. So for the educators, for the students,
- 48:16or even professional programmers listening, what's the final call to action? How can they
- 48:20take these ideas and do more with them?
- 48:22Well, so the physical modeling project, as I said, I'm working on that this summer.
- 48:26We're going to be developing that course. And I'm really interested to hear from people who are doing
- 48:31physical modeling of lots of different kinds. In particular, we're probably going to start with
- 48:37population models and other discrete things where you've got either animals that are breeding,
- 48:44or I mentioned bicycles moving from place to place. So discrete things moving in discrete spaces.
- 48:51And then probably some first order systems like thermodynamics and chemical kinetics,
- 48:56maybe some pharmacokinetics. So just looking for examples that are interesting because the
- 49:04applications matter. So real world problems that have consequences. And really examples where
- 49:12you have a simple model that does a lot of work for you, that you can take a complex physical system
- 49:19and describe it with a model that is just the right amount of simple.
- 49:24Right. The interesting problems that are not so complex, they're too daunting, right?
- 49:29Right, right. And really do something with it that you're either making predictions that are
- 49:33real predictions that people care about, or explaining something that's genuinely an open question,
- 49:39or doing design where you can actually optimize something by modeling it, finding an optimum,
- 49:46and then building that product or whatever the system is.
- 49:49Yeah, that's really cool. You said you're going to be working on a thing called modsim.py
- 49:52for this class. Is that going to show up on GitHub? And could people come give you feedback and stuff
- 49:58on it?
- 49:58Yeah, I'll probably start the GitHub repository soon. In fact, I might already have, we'll have a link to that.
- 50:04Yeah, there's a little bit of time shifting. So whenever you get it done, even if it comes out after
- 50:08the podcast, send it to me and I'll put it in the show notes. People can then go and check it out.
- 50:13All right, Alan, thank you for being on the show. It's really great to chat with you.
- 50:15Thank you very much. It's been a lot of fun.
- 50:17Yep, you bet. Bye.
- 50:19This has been another episode of Talk Python To Me. Today's guest has been Allen Downey. And this
- 50:26episode has been brought to you by Linode and Rollbar. Linode is bulletproof hosting for whatever
- 50:32you're building with Python. Get your four months free at talkpython.fm/Linode. Just use the
- 50:39code Python17. Rollbar takes the pain out of errors. They give you the context and insight you need to
- 50:46quickly locate and fix errors that might have gone unnoticed until your users complain, of course.
- 50:51As Talk Python To Me listeners, track a ridiculous number of errors for free at rollbar.com slash
- 50:57talkpythontome. Are you or a colleague trying to learn Python? Have you tried books and videos that
- 51:02just left you bored by covering topics point by point? Well, check out my online course Python
- 51:07jumpstart by building 10 apps at talkpython.fm/course to experience a more engaging way to learn
- 51:13Python. And if you're looking for something a little more advanced, try my Write Pythonic code course at
- 51:19talkpython.fm/pythonic. Be sure to subscribe to the show. Open your favorite podcatcher and search
- 51:25for Python. We should be right at the top. You can also find the iTunes feed at /itunes, Google Play feed
- 51:31at /play and direct RSS feed at /rss on talkpython.fm. Our theme music is Developers,
- 51:38Developers, Developers by Corey Smith, who goes by Smix. Corey just recently started selling his tracks
- 51:43on iTunes. So I recommend you check it out at talkpython.fm/music. You can browse his tracks
- 51:49he has for sale on iTunes and listen to the full length version of the theme song. This is your host,
- 51:55Michael Kennedy. Thanks so much for listening. I really appreciate it. Smix, let's get out of here.
- 52:00Outro Music.
- 52:21you
- 52:21Bye.
- 52:22you