Brought to you by Michael and Brian - take a Talk Python course or get Brian's pytest book


Transcript #170: Visualize this: Visualizing Python's visualization ecosystem

Return to episode page view on github
Recorded on Wednesday, Feb 19, 2020.

00:00 Hello and welcome to Python Bytes, where we deliver Python news and headlines directly to your earbuds.

00:04 This is episode 170, recorded February 19th, 2020. I am Brian Okken.

00:11 And I'm Michael Kennedy.

00:12 And this episode is brought to you by DigitalOcean. They've got something cool we're going to share

00:17 with you a little later. But first, tell me about whatever you're going to tell me about first.

00:21 I want to kick things off by building a picture for you. A picture of something awesome and yet

00:29 something fairly complex. The Python visualization space. I don't know how you feel about it,

00:35 but whenever I think, oh my gosh, I gotta go make some cool pictures and do neat things with Python,

00:40 I'm like, matplotlib, bokeh, py, py plot, what else should I learn? All these other things.

00:47 And then if I want to do this graph, there's a lot of stuff out there. So Price and Daniel sent across

00:53 a website, a resource for anyone who feels like me and says, ah, there's like kind of an

00:59 overwhelming sense of all the things happening. And this is called PyViz at pyviz.org.

01:06 And basically, the idea with PyViz is they've categorized and mind mapped all the things around

01:16 Python data visualization and they've grouped it into different stuff. So the way they describe it

01:21 is they say it's an open platform for helping users decide on the best open source Python data

01:25 visualization tools for their purpose with links, overviews, comparisons, examples, and tutorials.

01:30 That's cool.

01:31 Yeah, sounds good, right? So they have different sections that you can go check out. Overview of all

01:35 the packages, which is like a nice visual graph relationship thing. High level overview of the

01:40 tools, a live table comparing maturity, popularity, and support. Also a special focus on building

01:47 dashboards that are like interactive web things that people can interact with for scientific

01:53 visualization for rendering embedded three-dimensional objects. And like I said, some tutorials and

02:00 examples. Also some of the examples talking about like, if you have this kind of data, here's how

02:04 you visualize it. What do you think?

02:06 Yeah, I like it that the subset is still a lot of work if you know what you want to do and you still

02:10 have to try to figure out what you want to do with it. But at least it's broken it down into

02:15 just a handful of things that you have to figure out.

02:18 Yeah, absolutely. Well, it doesn't entirely alleviate the challenge of this. But like,

02:24 for example, if you go to the overview section, you can see there's three main sections, JavaScript,

02:30 matplotlib, and OpenGL. And that might sound like, I thought this was Python. What's up? Like these are,

02:35 I'm going to work with Python and get the outcome as a JavaScript thing on a web page or something I can

02:42 get into matplotlib or something I can get into like an OpenGL window for interaction and whatnot.

02:48 So yeah, there's a bunch of stuff here that you can work with. But I think it's interesting to see the

02:53 relationships as well.

02:54 Well, we had a visualization thing that we used at work that we had originally done a JavaScript side one.

03:02 And I think that we're going to switch and go back to a matplotlib side, mostly because it's whether or not it's

03:10 happening on the front end or the back end. That's a division that we have to make, made that decision.

03:16 But you know, it's only software, you can change it.

03:18 That's right. It's not concrete.

03:21 Yeah, just get another intern.

03:22 Indeed, indeed. All right. Well, I definitely am going to make use of this site if I've got some

03:28 visualization to do. And yeah, there's a couple of things I'm really would like to up the sort of

03:33 reporting exploration game for both the course side of things, understanding what users are up to,

03:39 but also for the podcasts, right? So we can understand how our listeners are listening a

03:44 little bit better. So I'll see what I can do around that for us. It might involve one of these.

03:48 Yeah, that'd be cool. I'm intrigued by the breakdown of some of the dashboard ones.

03:52 Yeah. Would you say that that project's awesome that I was thinking about?

03:55 I think so. Yeah. It's probably going to be an awesome project.

03:58 What else is awesome?

03:59 Oh, well, Zen is awesome. I actually like a lot of these. I have to admit it,

04:04 I like the awesome sites, the collections, awesome collections of different things,

04:08 usually thrown up on GitHub. And this one's also on GitHub.

04:11 They're usually more concrete, though. They're more like awesome async servers in Python or awesome

04:17 web frameworks.

04:18 Right. But we want to be a little reflective here. We've got a rabbit hole of Zen with

04:24 the awesome Zen of Python. Yeah, I was trying to make a bad pun of a rabbit hole lot of Zen.

04:30 So anyway, so the Zen of Python is a thing. So you import this and you see it. And we've covered,

04:36 I think, at least one article talking about that. But somebody put together a collection of articles

04:43 and video and talks and some other things about the Zen of Python, because people have thought about

04:49 it and written about it. And I like it. A couple of things I wanted to point out. Al Swigert has a

04:54 nice one that's a Zen of Python explained. It's a really quick reference. If you're new and are

05:01 curious about the Zen of Python and you read it and you don't quite get what the heck that is,

05:06 I think that he did a good start. I'll probably get his name wrong. But Moshe Zetka has a meditations on

05:12 the Zen of Python, which is probably a longer couple paragraphs per item, a little bit longer,

05:18 but I like his take on it as well. And one of the things I just learned recently is that there's a

05:24 reference to the increment and decrement operator within the Zen of Python, or not the increment and

05:30 decrement, but post decrement and pre decrement from C is like something that trips up C people.

05:36 There's actually a joke embedded in the Zen of Python about that.

05:39 How nice. Yeah, if it has to be an interview question about what incrementing a variable does,

05:46 it might be too complicated.

05:47 Yeah.

05:49 What happens if you test if, you know, plus plus X of this thing or whatever, right? Like that's,

05:56 yeah, not good. So although I do wish Python had a X plus plus, you know, sometimes I could go.

06:03 Yeah. Just an easy increment or decrement operator would be good, but we don't need two.

06:08 No, that's right.

06:10 I got to admit, I read in the, now we're getting down the C world in a for loop. It's recommended

06:16 that you do a pre-increment because there's a little bit of savings on complex objects to do

06:21 pre-increment, but give me a break. It's I plus plus at the end of a for loop. I always do that.

06:26 Yeah, it is. Definitely is. So I'm glad Python doesn't even have a for loop.

06:31 We have for loops, just not the same.

06:34 Yeah.

06:35 For I equals zero.

06:38 Yeah. Pretty sweet. Yeah. No, this is a cool art, the cool find here. I like this.

06:42 The Xenopython is something that's frequently spoken about, but it's very terse and there's

06:49 not a lot of explanation about it. So, you know, it's like one of those things I remember being

06:53 new going, Oh, the Xenopython. How cool. What does it mean? You know what I mean? Like,

06:58 could I get an example for each line, please? It would be nice. You know?

07:02 Yeah. I'm also including a link. I think it's important to read the Xenopython as a joke

07:06 and here's why. And it talks about a few aspects of it as to basically don't take it too seriously. And

07:13 Python is a language that you're really not supposed to take too seriously. Yes, it's serious. We can get

07:19 a lot of work done, but don't get freaked out on stuff.

07:22 It's named after Monty Python after all. Come on. Yeah, exactly. Lighten up people.

07:27 You know what else is awesome? Kubernetes. Kubernetes and DigitalOcean.

07:33 And DigitalOcean, yes. Yep. So there is an enormous amount of material on the web about

07:38 Kubernetes available both online and in print. So the DigitalOcean community realized that it's a

07:44 little, you know, you might have trouble figuring it all out, even though there's a lot of information.

07:49 So they developed a Kubernetes for full stack developers course to provide a thorough,

07:55 well-maintained and approachable reference set of tutorials for anyone who would like to start

08:00 learning about Kubernetes. And if that wasn't cool enough, they also realized that some people don't

08:06 want to take courses. They want to read about it. So they compiled the course curriculum into an ebook

08:11 to make it available for more people. So you can see that if you go to pythonbytes.fm

08:17 slash do dash kube and you can download the book and visit the course. And as always, you can visit

08:25 pythonbytes.fm/digital ocean to get a hundred dollar credit for new users to build something awesome.

08:31 I think we should just keep rolling things that are awesome. Yeah. Yeah.

08:33 So Matt Harrison inadvertently recommended this next item to us.

08:38 Really?

08:40 I mean, like very indirectly, but he did. So he posted on Twitter how he is absolutely loving

08:47 jupitext. J-U-P-Y-T-E-X, jupitext. And I didn't even see it on Twitter. No, Twitter emailed

08:55 me a summary of popular tweets, which said Matt Harrison liked this. So thank you, Matt.

09:00 Interesting. Okay.

09:02 Okay. So Jupyter Notebooks are awesome. They're super cool for exploring data and they're really

09:07 powerful for people who are doing like more exploration rather than writing software, right?

09:12 You can run the first bits. They might take a while, but then you can slice and dice stuff

09:16 to visualize it and explore it as much as you want. However, they're not all the way awesome

09:21 because if I put one of those things into say GitHub and you were to check it out and I were

09:28 to be messing with running it and that was getting like live data. So non-deterministic results and

09:33 you did the same and then we both put it back. It keeps like those results and stuff. And it's not

09:37 very friendly in Git, right? Another thing that would be nice would be sometimes you want to

09:44 explore stuff in Jupyter, but then productize it, turn it into like a script of its natural language,

09:50 right? It supports a bunch of languages now. It would be nice to be able to go. And here's the one we run

09:54 where the comment, the text becomes comments or whatever. So basically that's what JupyterText

10:00 does. It will take Jupyter notebooks and turn them into markdown documents or Python scripts.

10:07 Wow.

10:07 And then you put those in source control or whatever, right? You can work with those.

10:11 So you could then export it out and work with it in like PyCharm or something like that. You also get

10:16 meaningful diffs of what changed when you look at the differences of those. So this thing's really cool.

10:22 You can export the Jupyter notebooks in all these different script languages. Currently it supports,

10:29 ready for this. Julia, Python, R, Bash, Scheme, Clojure, MATLAB, Octave, which is the open source

10:34 MATLAB, C++, UKDB+, IDL, TypeScript, JavaScript, Scala, Rust, PowerShell, C#, F Sharp, and my favorite

10:44 behind Python, robot framework.

10:46 Nice.

10:48 I just want to work in the robot framework. What language did you know? I know, robot. Oh, really?

10:52 Cool.

10:53 Yeah. Anyway, people who are working in Jupyter notebooks, this looks super helpful. And

10:57 Matt, thanks for having a popular tweet that got emailed to me.

11:00 Yeah. So can you do Scheme in Jupyter?

11:03 You must be able to.

11:04 You must be able to. I did Scheme as my CS101 course.

11:09 Yeah, me too.

11:09 And I did a couple of CS courses.

11:10 And I'm not a fan of all the close parentheses, to be honest. I'm like, what a crazy language

11:17 this is. But yeah, apparently you can.

11:19 Nice.

11:20 I guess I would rather do that over like, rather than through like an X term or whatever.

11:24 But yeah, apparently you can.

11:26 Nice.

11:27 Pretty cool. Anyway, so if you work on the Jupyter notebooks and you want to be able to export

11:30 them in these cool ways and do other stuff as well, check that out.

11:33 Well, one of the things I want to talk about is stuff that we iterate over.

11:38 Okay.

11:38 This is a failed attempt as a transition.

11:41 So a great article called a tour of Python iter tools and iter tools is one of those things

11:49 that you kind of, it's so cool, but you kind of blast past it when you learn it. And you,

11:54 when you're learning Python, it's a little bit, a little bit more advanced than you want,

11:58 but this is cool stuff. This article is by Martin Heinz and he's just kind of briefly

12:04 describes what handful of the different tools within iter tools and a library called more iter

12:10 iter tools does. And all of these are around iterables and iterating over things.

12:15 And you wouldn't think right off the bat that you could do so much, but I'm going to highlight

12:20 a few of these, not all of them for iter tools. He talks about compress, accumulate cycle and T.

12:27 And I had not been familiar with cycle and T, but they're pretty cool. So iterables,

12:33 some of them that they like they're empty once you go over it once and T allows you to make

12:39 multiple references to one interval. That's pretty neat. And cycle is so cool. It allows you to like,

12:46 so you, if you iterate over like say a set or a list of items, you can just iterate through it once,

12:52 but cycle allows you to just keep going over and over and over again. It's like a never ending

12:56 repeating iterable. And, the little example in the document or in this article that shows you how to

13:03 easily iterate through characters to make a never ending spinner on a command line. So it's kind of

13:10 fun.

13:10 Oh yeah. That's cool. Yeah. You just put the, the different ones and a list and then you just cycle

13:15 it.

13:16 Yeah. The note is that like for things like games and stuff like that, if you iterate through,

13:21 through different players, you might have to do that. But there's a lot of cases where I want to,

13:25 like maybe zip through a couple of lists, but I, it's really just a site. One of the lists is a

13:32 cycle. You can kind of do that. It's cool. More iter tools has a whole bunch of things like he's

13:37 highlighting different things that are different ways to chop up your iterations. Like there's a

13:43 divide that just divides it into different sub iterables.

13:46 Like paging almost, right? Like process them 25 at a time or something.

13:49 Yeah. So there's a whole bunch of different ones. Like in partition is like, if you have a,

13:53 an expression to that can be mapped to true or false on any of your elements, it'll split the,

13:59 the interval into two intervals based on that predicate, which is pretty cool.

14:04 A side effect that I never knew about. So if you want to add another, another function

14:08 that gets called with each element during iteration, wow, this is cool. I think that's neat.

14:14 I don't know what to use it for, but I'm going to come up with a use. There's a bucketizing to be

14:19 able to do a bunch of buckets, map reduce, just a whole bunch of neat things. And I think this is a

14:25 good, if you think you, you've like sunk your teeth into Python and you want to like take it to the next

14:31 level, this is a good article to, to learn iter tools.

14:33 This is a super interesting and iter tools is definitely one of those things where you feel like

14:38 I'm always surprised that there's extra stuff. Collections as well. You know,

14:44 it's just like, wow, there's also that thing. Why did I not ever use that thing? You know,

14:48 there's some things about programming that I know some people say they'll, when they come to a problem

14:53 and they need a solution for it, then they'll look up. That's how they learn new things. But you're

14:59 right with collections and iter tools, you don't know to look it up because you don't know there's

15:04 a solution there. So these are good things to like skim through so that you just have seen them once.

15:08 So that later when you run into a problem, you're like, oh, there's a thing in iter tools that I can

15:14 use for this. Yeah. I know that that's true even before I look, but I don't know what it is.

15:18 I just know if I go dive around in there, it's probably something I can use at some point.

15:23 Yeah, that's a cool one. And it's nice to see it put together and highlighted like that.

15:27 I just really want to talk about this next one. Okay. Okay. All right. So this next one is called

15:31 JustPy. And the idea is I want to create a web application that allows me to do single page

15:40 app, cool, interactive, front end framework type stuff that I would do with something like say Vue.js,

15:45 but I don't want to write JavaScript. So it's pretty interesting. It's a web framework that lives on a

15:53 server. So you put it on, you know, your standard, it actually supports async stuff. So you'd put it on

16:01 like a async server, like Starlette or something like that, or UVicorn. And then you express how the pages

16:10 are supposed to look in Python. And it creates the JavaScript that's going to make that happen. And then

16:17 you're going to create, I guess, web sockets or some form of back and forth back to the server to run your

16:23 Python code as people interact with it. Okay. Using effectively like Ajax type of interaction. So yeah,

16:30 it lets you create these front end and, you know, sort of full stack web apps with no front end programming.

16:36 And the way it works is like I said, it has no front end back end distinction. All the programming is

16:42 done on the back end, allowing a simpler, more productive way and more Pythonic way to

16:47 create a web app, but it intercepts the relevant events on the front end and sends them back to

16:51 the back end to be processed, either talking to a database or just like having the Python logic there.

16:56 Neat. Yeah. It's a really, really different take. And it's been getting a lot of traction.

17:00 My personal thought on it, the verdict's a little bit out. I'm not sure how I feel about it,

17:06 but I definitely think it's interesting and people should check it out to see what they think about it.

17:10 It's really based on like classes and components. So you can create these components,

17:15 which then can be put onto the page. So like here's a login component or like a

17:19 component that displays a list of podcast episodes or whatever. You can put those in different places

17:25 and you can create these custom components and they can either be just straight Python where you

17:31 create kind of the DOM in Python. That's part of the, if it was more HTML based, I'd be happier,

17:36 but it does also support HTML components that then work with it and even has like interactive

17:43 charts and grids. So that's pretty cool.

17:45 Yeah. I see what you're saying. It's kind of neat, but also if you don't want to learn HTML and

17:51 JavaScript, learn this instead.

17:53 Yes, exactly. It's kind of like that. It's like too much avoiding HTML. I think it's awesome that the

17:58 logic of it is in Python and this, this no distinction stuff is really cool about the front and back end.

18:04 I just wish I would design the site in HTML and CSS and then plug in the liveness through this, not as much of the content definition.

18:14 That said, Quasar, I suspect many listeners are not familiar with the Quasar library, but the Quasar library is a cool library that's got all sorts of stuff built on top of Vue.js.

18:26 So their little slogan is build high performance Vue.js user interfaces in record time.

18:33 So you can see they've got like, think of kind of like what Bootstrap did for web design is kind of doing that for Vue.js, right?

18:40 You get some like cool stuff going on there. And the reason I randomly diverted sideways and started talking about Vue.js and Quasar is because JustPy is built on libraries that you would know.

18:53 So Starlette and UVicorn for the server side, but Vue.js for the front end, that means the Quasar library automatically plugs in its components and functionalities into JustPy.

19:03 So that gives it like actually a huge boost. Like, oh, there's already this really cool library that just plugs into it.

19:08 Oh, nice. Okay.

19:10 That gives it a boost. But yeah, I wish you could define more stuff in HTML and then bring it. Now you can say like, here's an HTML page. I'm going to import it and like work with it. But it's not, it doesn't seem to be my first reading that that's like the natural way to go.

19:25 Yeah. Okay.

19:26 But nonetheless, I love that this exists. It looks really interesting and people should check it out.

19:31 Nice.

19:31 Nice. I wonder what the maintenance story like is around it though.

19:34 Yeah. I'm curious. So we want to talk about maintenance and I'm not sure why this article is titled modularity for maintenance.

19:42 So modularity for maintenance, it's a bunch of automation tools that you can use to help maintain your open source projects.

19:49 And it's really terse with links, but it's got continuous integration and talks and linting tools and type checking and dependencies and security scanning and using code coverage and formatting help and releasing and all these automation tools that help you, which is actually, it's really cool to have all these listed down in one place.

20:11 And I like that. If you've done all this for a bunch of projects and then you start a new project or maybe you split one project into two projects, just the overhead of making, setting all that stuff up again for another project is in itself a lot of work.

20:27 So he's hoping for somebody to make so that you can save some time. But all of us also, I never really thought about all of these time-saving things you actually end up having to set up again for each project.

20:43 Are they actually saving you time?

20:45 Yeah, right.

20:46 It depends. It depends how long you use the project. Probably they are, but yeah.

20:49 Probably. But I guess it is interesting to think about the extra overhead and you have to have some of these require login credentials and stuff that you have to set up.

21:00 But actually, I really like all this list and I kind of want to go take one of my projects and see if I can make sure I'm hitting all of these things.

21:08 Yeah, it's super cool. And I just last night used Cookie Cutter, the new Python package template from Cookie Cutter to create a Python package that I'm working on.

21:21 So yeah, this is super real. I'm like, oh, I bet there's a Cookie Cutter thing to set up like the setup file just right and integrate talks and whatnot. And yeah, let's hit it with that.

21:30 Where was this new Cookie Cutter thing?

21:32 It's not super new. If you go to Cookie Cutter, there's like a place called, a park called Pantry Full of Cookies or something like that. Let me go. I'll pull up it really quick.

21:42 Under the documentation on cookiecutter.readthedocs, there's a pantry full of cookie cutters. And then the first four are for making packages.

21:53 So there's Audrey's ultimate Python package project template creator thing. There's a minimal package for pip installable projects and a couple of others. The one I used was the second one, I believe.

22:06 No, third one. I don't know. I can't remember anymore. And it was on a different computer, so I can't get to the history of it.

22:13 Okay.

22:13 But yeah, anyway, these are really cool because basically it sets it up. I used the one that was the minimal, PyPackage minimal. It automatically sets it up to work with pytest.

22:22 And it has the setup Py all generated based on what you tell it and stuff like that. It's pretty cool.

22:28 Okay. Well, okay. If it's not using Flit, I don't know if it's really minimal.

22:32 But the thing is, it doesn't have all these things that Glyph's talking about, right? It does have Travis CI integration in there.

22:42 But there's a lot of things that it could be added, and it's pretty neat. Somebody could fork that and then make it.

22:48 Yeah, I definitely think so. So, yeah, hopefully.

22:51 Yeah. Nice. All right. Well, I guess that's it, huh? What else we got? What do you want to let people know about?

22:55 Here's a quick one. Not really big enough to warrant a whole topic, but I noticed Sentry is helping to fund some open source projects.

23:04 They got some money from somebody else. They decided to match it and pass it along.

23:10 And they're going to help fund Black, PyPI, pytest, StructLog, and a Rust tool called Gimli.

23:17 Cool.

23:18 And that's pretty neat. I like the... Actually, I haven't played with StructLog too much. I've played with it a little bit, but all the others I use all the time.

23:26 Oh, yeah. Very nice. Yeah. Sentry, a nice open source-based company. Funding open source. Pretty nice.

23:32 The circle of life. Except for Sentry's not eating any of these, but other than that.

23:37 Nice. Okay.

23:41 Thanks. All right. A couple of quick announcements on my end. Just launched a new course, Python for Absolute Beginners.

23:48 So this is like, hey, I didn't take CS at college. What the heck is all this stuff about when people talk about memory allocation and variables and data structures, but actually really getting started with Python.

23:59 So that's a super fun one. People can check that out. Build a lot of games, but learn a lot of Python.

24:04 And then also related on Talk Python training, started streaming a couple of our latest courses where possible, including this one I just announced, is high DPI.

24:14 So almost 4K streams, and it's like night and day. It's so awesome to sit there and look at the screen and go, that is like as if I'm looking at a real monitor.

24:25 Just back in time.

24:27 So anyway, I'm trying that out. Hopefully, so far it's been working well for people, but if for some reason it doesn't, people can send me a note.

24:33 Here's an interesting one that comes from Anthony Sotili.

24:36 Amazon Web Services has decided to no longer publish AWS CLI, their package, AWS CLI, to PyPI, pulling a 700 million download package off of PyPI.

24:49 Think of all the bandwidth they're saving.

24:51 That's weird.

24:53 So this is not their Python library, potentially.

24:58 This is the CLI tool that people who don't even do Python would use.

25:03 Right.

25:04 It's just implemented in there.

25:05 So it's not a huge deal.

25:07 It's not like a giant, oh my gosh, what's happening to the world sort of thing.

25:10 But it's also strange.

25:12 So what's more strange is I'm linking to Anthony Sotili's Twitter thread that talks about this, but then that links over to GitHub where there's more conversation.

25:21 On one hand, it makes sense, right?

25:23 Like, why use pip to distribute a library that is not specifically for Python developers?

25:31 But the other bit is, well, the replacement's an unversioned zip file of script.

25:35 So I don't know which is better.

25:39 It's a little bit funky.

25:41 And then finally, people might have noticed some weirdness with the podcast.

25:45 I don't know what has gone on, but something happened.

25:48 I think it was at Apple.

25:49 On Talk Python, it all of a sudden started showing four episodes, some from three or four years ago, as the latest.

25:58 And you might say, well, maybe something changed in the database and the dates got wrong or the number.

26:02 Like, we changed nothing.

26:04 Didn't change the RSS feed generator.

26:07 We didn't change the data.

26:09 It just all of a sudden started going crazy.

26:10 And my theory is they've put some kind of limit on the size because we were shipping like 2.5 megs of XML for each request, especially for Python bytes because the show notes are large.

26:24 And I think it just went like, no, but its response to no was just to do something really weird.

26:30 So on Python bytes, we now are showing just the last half year because the alternative was to have things massively broken in the RSS and the podcast players.

26:42 So if you want the older ones, they're still available on the website.

26:45 We're not doing anything like that.

26:47 But this was the fix that I had to put in to get things to work again on the teams.

26:52 I don't know what happened.

26:53 I think it's a fair tradeoff.

26:54 Yeah, I do too.

26:55 And also, like, it means stuff refreshes faster for people.

26:58 They're not pulling 2.5 megs, like, all day long with their podcast players.

27:02 I don't mind on the web server, but for them, they might mind.

27:05 Yeah.

27:05 They don't pull it all unless they download every episode or something, right?

27:09 Well, it's constantly pulling that 2.5 megs over and over and over, right?

27:14 Like, if you pull up the tail of the web server, it's just going toom, toom, toom against that over and over and over.

27:19 Then it pulls the actual episodes it finds that are different.

27:23 Oh, right.

27:24 Okay.

27:25 Got it.

27:25 Yeah.

27:25 But it's hitting the full-on RSS.

27:27 So now the RSS speed is like 250K, which is still pretty big, but it's not 2.5 megs.

27:32 Oh, yeah.

27:32 Sounds smaller.

27:33 Are you a fan of physics, Einstein, relatively?

27:37 I like gravity.

27:38 It's good.

27:39 Yeah.

27:39 Yeah.

27:39 And you're also a fan of software quality.

27:42 Yep.

27:43 As most software people should be, I suspect.

27:45 But did you know that E equals MC squared is-

27:49 I have heard that on t-shirts before.

27:51 It's a statement about programming, really.

27:55 I didn't realize Einstein was into this, but it's about, like, testing and code quality and bug rates and whatnot.

28:00 How?

28:01 Because E equals MC squared is errors equals more code squared.

28:06 So as you add code, the errors increase at the square of the amount of code, basically.

28:13 And that seems not totally untrue.

28:14 Yeah, that's funny.

28:15 But yeah, you're right.

28:16 It's sort of kind of true.

28:18 Yeah.

28:18 I'm not sure if it's the square or it's, like, 1.5 or maybe it's, like-

28:23 It's definitely nonlinear, though.

28:25 You know, some polynomial, but it's nonlinear and it grows.

28:29 Yeah, for sure.

28:30 Yeah.

28:30 For sure.

28:31 Anyway, E equals MC squared.

28:32 That's the joke for the week.

28:33 First law of software quality, E equals MC squared.

28:36 Nice.

28:36 I like it.

28:37 Awesome.

28:38 All right.

28:38 Yeah.

28:39 Thanks.

28:39 Bye.

28:39 Bye.

28:40 Thank you for listening to Python Bytes.

28:42 Follow the show on Twitter at Python Bytes.

28:44 That's Python Bytes, as in B-Y-T-E-S.

28:47 And get the full show notes at Pythonbytes.fm.

28:50 If you have a news item you want featured, just visit Pythonbytes.fm and send it our way.

28:55 We're always on the lookout for sharing something cool.

28:58 This is Brian Okken, and on behalf of myself and Michael Kennedy, thank you for listening

29:02 and sharing this podcast with your friends and colleagues.

Back to show page