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


Transcript #315: Some Stickers!

Return to episode page view on github
Recorded on Tuesday, Dec 20, 2022.

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

00:05 This is episode 315, recorded December 20, 2022, almost the end of the year.

00:11 I am Brian Okken.

00:12 I'm Michael Kennedy.

00:13 It is almost the end of the year. Are you guys, are you ready for Christmas and everything?

00:16 Yeah, starting to think about Christmas, maybe try to do some skiing.

00:20 You know, it's getting cold and it's snowing in the mountains around here, so getting there.

00:24 Why don't you kick us off with our first story?

00:26 Let's go. Let's talk some Jupyter Server.

00:28 So this is an announcement by Zach Saylor, and it says Jupyter Server 2.0 is released.

00:35 Now we know what Jupyter is. We know what Jupyter Notebooks are. We know what Jupyter Lab is.

00:39 Well, Jupyter Server is the core web server that powers those things, right?

00:44 So when you pull up a Jupyter Lab or Jupyter Notebook, you're talking to a server.

00:48 Oftentimes that's a localhost little thing running, but other times it's a centralized server that's set up for like students or a research group,

00:56 where it's set up on a supercomputer near a bunch of data that, you know, you log into it.

01:00 It runs locally on that, right?

01:01 So it's the core of Jupyter in a lot of ways.

01:05 So 2.0, that's a big deal, right?

01:06 I think so.

01:07 It means new features, right?

01:09 Open source, when something goes from one major version to another, that's usually a pretty big deal.

01:14 So let's hit some of the highlights.

01:16 So one of them is a new identity API.

01:19 One of the farther looking out features of Jupyter Server that they're hoping to bring is like a Google Docs-like experience.

01:27 So real-time collaboration experiences.

01:30 There are some making them better.

01:32 And around this, having multiple people working on a single notebook, you need to have a good way to work with identity.

01:41 So there's a new identity API in Jupyter Server that makes it possible.

01:45 It is configurable, luggable.

01:47 You can even swap out your own identity provider to authenticate users with any provider.

01:53 So within your organization, you could do single sign-on, all those types of fun things.

01:58 Oh, neat.

01:59 Yeah.

01:59 Related to that, you have authorization.

02:02 So once you know who you are, what can you do?

02:05 Enabling collaboration on a notebook shouldn't just mean you have access to everything on the server or nothing on the server,

02:12 but you maybe have access to these notebooks, but not those notebooks.

02:15 Or maybe you can read that notebook and not write to it.

02:17 So there's this new authorization API that allows you to share certain notebooks with certain people, even if they have access to the server.

02:26 So that's pretty cool.

02:27 Again, with the collaboration stuff, there's a new event system API coming along, and they created this package called Jupyter Events that allows for JSON-based event-driven system over here.

02:41 So a lot of cool things that should be coming.

02:44 So it's like a foundational piece so that they can add more events, more interactivity, and so on.

02:48 There's a new kernel WebSocket API.

02:50 It ships with its own kernel manager.

02:53 I suspect most people are not messing with that, but it's down in the guts.

02:57 In Jupyter Lab, you can open up a terminal.

02:59 Now, this terminal service is a server extension, and it can be optionally disabled because it's an extension, which is cool.

03:06 And Brian, the last one for you.

03:07 They say, as we work to increase our test coverage to 80%, major thank you to Steve Sylvester,

03:13 We built a handy set of pytest fixtures that can benefit Jupyter developers and extension authors.

03:19 That's pretty cool.

03:20 Yeah, we released pytest Jupyter, a bunch of fixtures and other pytest goodies for Jupyter core libraries and extensions.

03:26 That's nice.

03:27 I'm actually going to check this out, and I think it'd be cool to get one of those folks on to test and code to talk about it.

03:34 So I'll reach out to them.

03:35 Yeah, but I think that'd be great, too.

03:36 All right.

03:37 Well, there you have it.

03:38 The core of Jupyter got a little bit better.

03:40 Nice.

03:41 Well, what do we...

03:43 I'm next, so I guess...

03:45 What do you got next?

03:46 What do I got?

03:47 Actually, so last week, it was just last week, actually.

03:52 Time flies.

03:53 We were talking about automatically converting stuff, like having other programs convert your Python code, modify your code, and all the different ways you can do that.

04:04 And one of the things I said was, it'd be cool if we had some ways to convert from setup.py to setup.cfg, or from setup systems to pyproject.toml.

04:16 And so, of course, lots of people reached out to me and said, there's already some ways that you should take a look at.

04:22 So thank you, Christian Klaus and Brian Skin and others for reaching out and letting me know.

04:28 First one, actually, the main thing I wanted to talk about was a thing called any to tommel.

04:33 So this is a project that takes...

04:37 It converts...

04:39 It attempts to convert any files or CFG files to tommel.

04:43 They say it's experimental.

04:45 So what is...

04:47 I thought I was looking at setup.py files.

04:49 Well, actually, a lot of large projects are not just setup.py.

04:54 They've moved a lot of the settings from setup.py to setup.cfg.

04:58 So this is still helpful.

04:59 This isn't going to...

05:01 I don't think I can grab your setup.py file if that's the only thing you're using.

05:05 But if you're using setup.cfg, maybe this will help.

05:08 It converts to a tommel file.

05:10 And it says it's experimental, but that's all right.

05:13 So it's kind of fun.

05:15 There's a couple versions of it.

05:17 One of the versions is light, and it's got light, L-I-T-E, and full.

05:22 And the light version has less calories.

05:26 No.

05:26 The light version creates a tommel file, but the full version will try to get your comments

05:34 over, too.

05:35 So convert your comments into tommel-compliant comments.

05:38 That's pretty neat.

05:39 So I'd definitely try that.

05:40 What did I?

05:42 I didn't...

05:43 I don't think I tried this.

05:45 I didn't try this, but it looks pretty fun.

05:47 So a way to automatically change that.

05:50 So it'd be fun to grab that.

05:53 And I've heard from people that they have used this to convert their project, at least the

05:58 initial batch.

05:59 at least Christian mentioned that they needed to clean it up a bit afterwards.

06:06 So one of the tools they used was a thing called PyProject-Format.

06:11 And what this does is...

06:14 And I did try this.

06:15 It's pretty neat.

06:15 It takes like your...

06:18 If you've got any PyProject.tommel file, and it converts it to a known way to set it up.

06:26 I think it's over here.

06:27 It's like black for project files.

06:29 Kind of.

06:30 Yeah.

06:30 But one of the things with the PyProject syntax is you can have like...

06:35 You know, like in any file, you can have things in any order you want, and it's still valid.

06:39 But are you going to be able to find it there?

06:41 I mean, if you're working with lots of projects, it'd be really nice if the authors were in a

06:46 similar place, and the dependencies were in a similar place.

06:50 Because they could be like all over the place.

06:51 And it's easier to find them if they're in the right place and formatted the same.

06:57 And I mean, who really cares how much...

06:59 How it's formatted, as long as it looks good and it's proper.

07:03 So I think this is a neat idea.

07:05 I tried it on a couple of my projects, and it worked okay.

07:09 So...

07:10 And I want to like put that in an asterisk.

07:12 So you want to check what you get afterwards.

07:15 Because one of the things it did, which I didn't expect it to, was it replaced...

07:21 It took the name of my project and replaced dashes with underscores.

07:24 And I know that like a library, you can't have a dash in the thing you're importing.

07:30 But the name of the project that is where it shows up on PyPI and everywhere else, it can

07:37 have a dash in it.

07:38 And traditionally, and I was using it on a pytest plugin.

07:40 Traditionally, we do have dashes.

07:42 We say pytest dash something.

07:43 So it needs to stay a dash.

07:45 It doesn't...

07:46 Don't translate it.

07:47 So that was a little shocking.

07:47 You want it to be pytest underscore check?

07:49 Yeah.

07:50 No, I don't want it to be that.

07:51 So I did submit an issue.

07:54 I'm sure it's a minor thing.

07:56 But at least, you know, at least I know it's there.

07:58 So to check it out.

07:59 So a neat tool to auto-format it.

08:02 And a couple other tools that were kind of neat.

08:04 Validate PyProject.

08:07 Ooh, just a moment.

08:09 Can you still see me?

08:10 Okay.

08:11 Yeah, seems fine.

08:12 Something happened on my computer.

08:14 Anyway, it just validates to make sure everything's fine.

08:19 And I ran it on a couple of projects and nothing happened.

08:22 I'm like, oh, it must be good.

08:24 So I inserted some errors just to see what would happen.

08:28 And it's pretty terse.

08:30 It pretty much just says like, there's an error on this line at this column or something.

08:35 So it'll still helpful.

08:37 You can go count and figure out where the project might be.

08:40 But kind of a neat validator.

08:42 But for validation, and I'm not sure what I was checking, but it says it's JSON schema definition defined driven.

08:50 So you could probably check it out.

08:52 Interesting.

08:53 It probably converts it to JSON and then runs through JSON schema or something like that.

08:57 Oh, you think so?

08:58 Maybe.

08:58 Yeah, probably.

08:59 Might.

09:00 One of the things that I wanted to bring up when validating TOML files and projects is don't forget talks.

09:09 Using talks to go ahead and what the default of talks, you can use it for lots of stuff.

09:16 But the default works great for me for this, which is to take your project, build it, put it in a virtual environment and install it there.

09:24 And you'll catch things like you forgot to specify a dependency or missing dependencies or you forgot some code or something like that.

09:34 You'll catch it if you test it.

09:35 So test your projects.

09:36 Absolutely.

09:37 Yeah, those are a bunch of great little tools.

09:39 I didn't know about hardly any of them.

09:41 I'm starting to do more with PyProject.TOML.

09:44 It's nice.

09:44 And it's good.

09:45 Hatch and HatchLeen and PyProject.TOML.

09:48 Oh, yeah.

09:48 Hatch is fun.

09:50 So Hatch and HatchLeen.

09:51 It sure is.

09:52 All right.

09:53 Well, quick word from our sponsor before we move on, do you think?

09:57 Yeah, it sounds great.

09:58 So this episode of Python Bytes is brought to you by Microsoft for Startups.

10:03 Starting in business is hard.

10:04 By some estimates, over 90% of startups will go out of business within the first year.

10:09 With this in mind, Microsoft for Startups set out to understand what startups need to be successful and create a digital platform to help overcome those challenges.

10:19 And it's Microsoft for Startups Founders Hub.

10:22 Founders Hub provides all founders at any stage with free resources to help solve startup challenges.

10:27 The platform provides technology benefits, access to expert guidance and skilling resources, mentorship and networking connections, and so much more.

10:36 Unlike others in the industry, Microsoft for Startups Founders Hub doesn't require startups to be investor backed or third party validated to participate.

10:45 Founders Hub is truly open to all.

10:47 So what do you get?

10:48 You get to speed up development with free access to GitHub and Microsoft Cloud with the ability to unlock credits over time.

10:54 And to help your startup innovate, Founders Hub is partnering with innovative companies like OpenAI, a global leader in AI research, and deployment to provide exclusive benefits and discounts.

11:05 Through Microsoft for Startups Founders Hub, becoming a founder is no longer about who you know.

11:10 You'll have access to their mentorship network, giving you access to a pool of hundreds of mentors across a range of disciplines, across areas like idea validation, fundraising, management, coaching, sales, marketing, as well as specific technical stress points.

11:25 You'll be able to book a one-on-one meeting with the mentors, many of whom are former founders themselves.

11:31 Make your ideas a reality today with the critical support you'll get from Microsoft for Startup Founders Hub.

11:36 To join the program, visit pythonbytes.fm/foundershub 2022.

11:41 Or, of course, go to your show notes for this episode and click the link there.

11:47 Indeed.

11:47 Thanks to Microsoft for supporting our show.

11:49 Very cool program.

11:50 All right.

11:51 Let's talk about the cloud.

11:54 We're going to round this whole episode out with a little bit of talk about the cloud as well.

11:58 Specifically, though, serverless and functions.

12:02 Brian, have you done anything with functions like AWS Lambda or DigitalOcean or any of those Azure functions?

12:09 Not for a while.

12:10 I played with it when I learned about them, but I haven't done anything lately.

12:13 Yeah, they're neat.

12:14 I've been thinking about this project.

12:17 I'm not even close to committing to it and not going to give away too many details until I'm more willing to put time and energy into it.

12:25 But something that requires interaction from many, many different geographical locations.

12:30 And one thing that's really cool about Lambda and serverless, these functions, is you only pay while they're running.

12:35 And so if you want to say, I want to have 20 different locations in which I can, like geolocations throughout the world, I could do certain things, but I'm not going to do them very often.

12:44 Well, having a bunch of functions, many of them on these different parts of the cloud would be really awesome.

12:50 And if you're working with AWS Lambda, there's certain APIs for doing this, obviously, that AWS puts out.

12:57 But what if you were a Python developer and you wanted to use Python?

13:01 So I present to you AWS Lambda Power Tools Python, a suite of utilities for AWS Lambda functions that makes distributed tracing, structured logging, custom metrics, and item potency, and many leading best practices easier.

13:16 And it is all based on Python.

13:19 So you can just write your Python code and start working with this API.

13:23 This one came to us from, let me make sure I got this right, via Mark Pender.

13:28 So thanks, Mark, for sending this in.

13:30 It also happens to be available in Java, TypeScript, and .NET.

13:35 But if you come down and look at the features, there's all sorts of different bits of Python code and classes or modules that you can use that do things like distributed tracing, right?

13:46 Because if you're on a serverless thing and something you want to keep track of sort of logging or performance, you know, those things are super transient.

13:56 They don't have a hard drive where you append to the log or anything like that, right?

14:00 So having that kind of setup would be great.

14:02 Use this Pydantic for data parsing.

14:06 But there's just a bunch of built-in parts of this library that you can use within your functions, your serverless functions, to make it better.

14:13 So it's got tracing, which includes decorators and utilities to trace Lambda functions, both synchronous and asynchronous.

14:19 There you go.

14:20 Structured logging, metrics that asynchronously go up to CloudWatch.

14:25 Remember, this is AWS.

14:27 Event handlers for putting stuff over into GraphQL.

14:31 You can build your own middleware, like something that runs before and after the request.

14:36 That's really, really handy.

14:38 Like only certain types of clients should be able to call this over the web.

14:42 Batch processing, typing, validation, a bunch of other stuff.

14:45 Parsing, streaming.

14:46 So you can actually set it up to, instead of loading some massive data set into your function,

14:51 you can just stream that data in and process it as it goes.

14:54 So there's some tutorials and there's some example applications.

14:58 There's a serverless shopping cart, a serverless airline.

15:01 That's a pretty big one.

15:02 Serverless e-commerce platform and some graph.

15:05 Serverless, just let me just say this.

15:08 It's not a joke.

15:09 It's serious.

15:09 Serverless GraphQL nanny booking API.

15:12 There it is.

15:15 Sure.

15:15 Why not?

15:16 So anyway, if people are doing serverless, especially if they're doing AWS Lambda, this

15:20 might be cool.

15:21 John, she in the audience points out that Zappa works great for quickly in deploying Flask

15:27 apps as, yeah.

15:29 So if you look at AWS Zappo Lambda Flask, that's probably a sufficient search.

15:36 Right.

15:37 That's a pretty cool project.

15:38 I believe we covered that way, way back in the day.

15:41 So basically it turns your Flask routes into serverless function calls as well.

15:45 So anyway, here's some nice tools.

15:48 I suspect you could probably put those together as well, right?

15:51 Like your tracing and logging, you could probably still put inside of Zappo.

15:54 But I haven't tried that combination.

15:56 Cool.

15:56 Neat.

15:57 Well, I'm looking forward to whatever secret project.

16:00 There's like a 17 and a half percent chance that that actually comes to fruition because

16:04 it's got a lot of operational overhead.

16:06 I'm not sure I want to like put myself on pager duty.

16:09 Yeah.

16:10 Okay.

16:11 I do want to hear what you got next.

16:12 Well, I wanted to talk.

16:13 Our friend Bob is on the screen, so.

16:14 Yeah.

16:15 So I wanted to talk about Bob Bilderbos and actually his GitHub profile.

16:22 Several people have done things like this.

16:25 So we're looking at Bob's GitHub profile.

16:29 And one of the things you see that's different than the default is you see some stuff at the

16:35 top, like the latest PyBytes articles and latest Python tips and even latest Boston on toots.

16:42 So that's kind of neat.

16:44 But how did he do this?

16:46 Well, luckily, he's got a link at the bottom that says how to create a self-updating GitHub

16:51 readme.

16:52 And we did talk about this way back in 2020.

16:55 Simon Willison had a blog post about that.

16:58 And so we'll link to the episode and Simon's also.

17:01 And Bob actually says he was inspired by both Simon and I think Brett Cannon as well has an

17:07 updated readme.

17:08 But I really like this article.

17:10 So it's just a little short thing saying, hey, I started updating my profile, GitHub profile

17:17 with some tools.

17:19 And then he just published all the tools.

17:21 So that's pretty awesome.

17:22 First of all, he's got a script.

17:24 So the script that runs, of course, he has it up on GitHub as well.

17:28 And it just goes through and collects all of this data for him.

17:32 And the script's pretty easy to read.

17:37 And then all of it is used to fill out all that data is used to fill out a template, which

17:46 he also published the template.

17:47 It's a markdown file that uses for that.

17:52 And then all of it's pulled together with a GitHub action.

17:56 Wait, wait, wait, wait, go back for just a second there.

17:57 It looks like it's a markdown file that has Jinja template language in it.

18:02 So hit it with Jinja and it generates the final markdown.

18:07 I think that's cool.

18:08 So yeah, how does it look?

18:10 I didn't look exactly where the template's being used in the code.

18:14 Yeah, I don't see it either.

18:15 But you don't have to have well-formed HTML for Jinja to run.

18:20 You can just jam it against anything.

18:22 For example, the RSS feed for Python bytes is generated using just an XML template with

18:29 markup language in it like this.

18:31 Yeah.

18:32 It does look like he's using Jinja template itself out of the Jinja 2 project to render it.

18:38 Yeah, cool.

18:39 Nice.

18:39 And then the whole thing is run by GitHub action and it auto commits.

18:46 So using another project that GitHub auto commit.

18:50 But the whole thing's pulled together and runs whenever.

18:54 So once a day.

18:55 And when does it run?

18:56 Well, it's a cron job.

18:57 So I had to use my handy decoder because I can never remember that stuff.

19:01 Crontab.guru.

19:02 It's 845 in the morning.

19:04 It goes off and runs this.

19:07 Kind of neat.

19:08 I wanted to try this.

19:10 So I highlighted it again because it's been on my to-do list since 2020.

19:14 I haven't done it yet.

19:16 One of the things that I'm hoping it will do is it'll highlight that I haven't posted any

19:21 articles recently and it'll get me off my rump and write some more because I want to write.

19:26 Yeah.

19:27 Yeah.

19:27 You'll have to take on the philosophy that I did as well.

19:30 Like, you know what?

19:31 Two paragraphs.

19:32 That's a perfectly fine blog post.

19:34 Yeah, definitely.

19:35 I learned something and also the today I learned sort of thing as well.

19:40 So I like that.

19:41 Yeah, that was very popular.

19:42 Well, that's quite a nice one.

19:45 That's all of our normal items now.

19:47 It is.

19:48 Yeah.

19:48 It is.

19:49 You got any?

19:49 Well, let me go through my extras first since I got a follow up for this one.

19:53 Okay.

19:53 I got a few extras.

19:54 I know that we both do.

19:55 So you talked about crontab.guru, right?

19:58 People haven't seen this before.

19:59 I just learned about this that there's this funky syntax for cron jobs, but there's the

20:06 site crontab.guru that lets you put in like, well, I want a five there.

20:10 It says every minute past hour five.

20:13 If you just say star five, star, star, star, for example, or if you put, what's it?

20:20 Like star over 20.

20:21 Every 20 minutes, you know, past every minute past the 20th hour or like there's, there's

20:27 weird syntax here, but there's this cool little site that you referenced.

20:31 Oh, wow.

20:33 Yeah.

20:33 Yeah.

20:33 I was curious if you could do like a just day of the week and not like no Sunday, Saturday

20:38 and Sunday, how you would do that?

20:39 Yeah.

20:40 Probably.

20:41 Yeah.

20:42 There's 20 star now.

20:45 Anyway, there's, there's a whole bunch of different things and a little bit of a description

20:48 on how this works, but way more interesting than I knew.

20:51 All right.

20:52 So let me, let me tell you about a few things real quick.

20:54 I recently, I've been playing with Canary Mail.

20:56 Canary Mail is like a mail client, like Spike or Outlook or whatever, you know, one of the,

21:02 you know, like Thunderbird, one of the client side, rich email clients.

21:05 Okay.

21:05 But this thing just added an AI capability called Inbox Copilot, which is a lot like GitHub Copilot.

21:13 And so you just go to it and you just say, Hey there, email, write me a message that says

21:21 this.

21:21 So for example, you could just see like, if you got a message asking if you're going to be

21:24 able to make the, so meaning you could just say, you type CCC anywhere in your message,

21:30 it pulls up this little separate window that you talk to the AI and you just say, tell

21:34 them, you know, apologize.

21:35 I'll be late by 20 to 30 minutes traffic.

21:38 And that's all you say.

21:39 And it writes like a really nice, formal, like well-written, friendly, not terse message back.

21:46 So I'm going to try to start playing with this a little bit more.

21:48 We'll see how it goes.

21:49 I already had the app.

21:50 It just, it, they, it just came with this Copilot thing.

21:53 I'm like, okay, that's pretty interesting.

21:54 So people can check that out.

21:55 I don't even know what it costs to be clear.

21:57 Not an ad.

21:58 This, this episode is sponsored by Microsoft, but yeah, it's like $20 a year.

22:03 You know, not, not a terribly expensive thing to play with.

22:06 All right.

22:06 Next one is, this is a tweet from the Python package index itself.

22:11 And the status is Python or the messages Python 3.11 delivers.

22:16 Check this out, Brian.

22:17 So they, they show some kind of analytics, real-time performance graph of the G unicorn,

22:24 the Python worker processes that power PyPI on Python 3.10.

22:30 And when they upgraded to 3.11, it's pretty striking, huh?

22:33 Yeah, totally.

22:34 That just went down and in load.

22:36 If you look at it, yeah, I mean, it dropped at least 50% of usage there.

22:40 And then if you, this is a pretty zoomed in picture.

22:43 Someone else, Dustin Ingram, it was, tweeted, well, you should see it over time more.

22:48 Look at, bam.

22:49 There's this huge jump in the middle.

22:51 This is when they restarted it.

22:53 You know, whenever you restart the app, it doesn't have like all of its caches and all that stuff warmed up.

22:58 And potentially they even maybe had to throw away like Redis cache data if they were pickling it

23:03 because 3.10 and 3.11 didn't, you know, they might not be compatible in a binary way.

23:08 So anyway, there's like this kind of like, ouch, you restarted us.

23:11 It hurts type of thing.

23:13 But then after that, it really, really drops.

23:15 I mean, at least, at least 50% or 2x more for 3.10 than 3.11.

23:21 So that's, that's really massive.

23:23 That's pretty cool.

23:24 Anyway, so 3.11 delivers.

23:26 People can check that out.

23:27 And this is, I mean, there's a lot of traffic on PyPI.org, right?

23:31 Because it's not just the human browser traffic.

23:33 It's every time you pip install something, every time you do a Docker build and it runs pip install something,

23:38 like all the robots of the world are just hammering this thing, you know?

23:42 Yeah.

23:42 Yeah.

23:43 Yeah.

23:43 All right.

23:44 So that's a good one.

23:45 I was just in Las Vegas this weekend.

23:48 That was fun.

23:48 Thanks for rubbing it in.

23:50 It's such a good time.

23:52 Went to see the Blue Man Group and we went to see Cirque du Soleil and we had breakfast at like a beautiful brunch.

23:59 They even had a, you know how some places have like a little omelet factory where you can have some eggs or whatever.

24:06 You tell them they had a donut, one of those as well.

24:08 So they'll make custom donuts for you on the spot.

24:10 It was outrageous.

24:11 Why do I bring this up?

24:12 Not to rub in whether or not I was in Vegas, but it was my first chance to test out my iPad as my only dev device traveling experience.

24:20 Oh, okay.

24:21 First trip since I'd tried all those tools.

24:23 And it worked pretty fabulously, actually.

24:25 I just took my iPad and my ergonomic keyboard so I don't give myself carpal tunnel again.

24:30 And it worked great.

24:31 So all those tools we talked about, people, maybe I'll find a way.

24:35 If people want to know, I'll find a way to link back to that episode.

24:37 Able to monitor the Michael Kennedy empire from remote.

24:41 Indeed.

24:41 Yeah.

24:42 I even, I busted in and installed some Linux security updates real quick and then dropped back out.

24:46 It was all good.

24:47 Tailed some logs.

24:48 Yeah, it was fine.

24:49 Mostly I wrote email.

24:50 No, that's what my empire is about.

24:52 It's right email.

24:52 All right.

24:53 Here's another good one.

24:54 Linux, Amazon, Meta, and Microsoft want to break the Google Maps monopoly.

25:00 So apparently Google Maps owns a significant portion of the mapping data and the street view data and so on.

25:07 But all those groups I mentioned are working on creating this thing called Overture Maps Foundation.

25:12 And they're going to create an open source, open to everyone set of maps by pulling in some of existing open map data, but also really doubling down on trying to add more information.

25:23 That's pretty cool, right?

25:24 So if you want to do anything with mapping, that might be getting a lot better.

25:27 Yeah.

25:27 I haven't seen the word TomTom in a long time.

25:30 I know.

25:31 I actually had my hands on a TomTom device this summer.

25:34 It was insane.

25:35 All right.

25:35 Last one before we get to our joke.

25:37 I decided my laptop that had zero stickers on it was boring.

25:42 So I went completely bonkers.

25:43 Got a completely.

25:45 I went to Redbubble, ordered an insane number of stickers and put on my laptop.

25:50 What do you think of this thing, Brian?

25:51 I'll put the link in the picture in the show notes.

25:53 I like the laptop opening and closing tags.

25:56 Yeah.

25:57 It's got a bracket laptop at the top of the laptop, and it's got a bracket slash laptop at the bottom.

26:02 Yeah.

26:03 You got Python bytes there.

26:04 It's nice.

26:05 I got to get you a testing code sticker.

26:07 Yeah.

26:07 Get in there.

26:08 We'll find a spot.

26:09 I replaced the Mac icon with a terminal icon.

26:11 So it was pretty good.

26:12 Yeah.

26:13 Anyway, that was a lot of fun.

26:14 Okay.

26:15 But that's it for my extras.

26:16 How about yours?

26:17 I got a few extras.

26:18 So I just don't have a lot to add to these, but I'd noticed it's kind of interesting.

26:23 So GitHub, I think this was on December 15th, announced that they're able to check for security

26:31 leaks.

26:31 And I'm linking to an article that they can check your GitHub repos for security leaks,

26:39 like secrets and stuff.

26:42 Apparently, that's how a lot of secrets get leaked, is people actually merge requests a bunch of secrets or something.

26:48 So it's kind of cool that it's there.

26:52 It says you have to turn it on.

26:54 I went to check one of my repos, and it looked like it was already on.

26:57 So I may as well check it anyway.

27:00 So I wanted to shout out to Julia Evans.

27:04 Did I get that right?

27:05 Julia Evans.

27:05 She's written a whole bunch of great stuff to help programmers, but she just released Pocket

27:10 Guide to Debugging.

27:11 And I was pretty intrigued by this.

27:13 One of the things that highlighted was asking for help and writing a tiny program that reproduces

27:20 the problem.

27:21 Those are two things that I really encourage people to do before they waste too much time.

27:25 So I might throw some money away because those are really great free tips.

27:29 Yeah, that's cool.

27:30 There's a, I found this, what, Python Easter eggs repository.

27:36 Not all of these work anymore.

27:38 So I tried the first one, the import hello on Python 3.11.

27:41 Doesn't seem to work.

27:42 But a bunch of these others are really pretty fun.

27:44 Import this, of course, is there.

27:46 One of the things that I think I knew about at one point, but I forgot about was the from

27:52 future import Barry as Fluffle.

27:55 So this was a joke from 2009 that's still in Python 3.11 that it's Barry Wars.

28:04 It's like a joke from Barry Warsaw and Brett Cannon.

28:07 And if you do that, it completely, it removes the not equal, like the pound, like the, the

28:15 bang equal sign with less than greater than for not equal.

28:21 So the joke being if Barry was the dictator for life, he would change it.

28:25 Anyway, it's kind of funny.

28:26 Fluffle stands for friendly language uncle for life.

28:30 And there's even a PEP for it.

28:32 So you can, you can read about the B PEP 401 with this.

28:36 Anyway.

28:37 Nice.

28:38 Just a few extras.

28:38 It could have been our joke.

28:40 It could have been our joke section.

28:41 It could have been our joke section, but we have another joke, don't we?

28:44 We do.

28:45 So I told you, we'd wrap this up with some stuff about the cloud.

28:48 So here's a nice little conversation a father and a daughter are having.

28:53 They're out walking in a park and looking up at the sky and they see a cloud, you know,

28:56 mostly empty sky, empty sky.

28:58 And the kid says, dad, what are clouds made of?

29:01 The dad looks down and clearly says, Linux servers mostly.

29:04 That's good, right?

29:07 Yeah.

29:07 Yeah.

29:07 That's good.

29:08 Even when they're serverless, they're probably still Linux things running in Docker, running

29:13 on a Kubernetes cluster, running on Linux.

29:15 Serverless is a hilarious word.

29:17 It just means you don't know where the server is.

29:19 Yeah.

29:19 It's like server's not my problem.

29:20 Yeah.

29:23 Well, this show is not a problem.

29:25 It was a lot of fun.

29:25 It was a lot of fun.

29:27 Thanks so much for joining us and showing up again.

29:30 And thanks everybody in the audience.

29:32 Yeah, absolutely.

29:33 Hey, before we go, I have one quick more announcement really, really quickly.

29:36 Next week, for those of you who are kind enough to drop in and join us live, we're not doing

29:42 a live show.

29:42 We're going to do a crossover episode with Talk Python and vice versa.

29:46 Python Bytes on Talk Python.

29:47 And Brian, we're going to be on vacation.

29:50 So I'll see you in January.

29:51 All right.

29:52 Talk to everybody in January.

29:53 Yeah.

29:53 So happy new year, everyone.

Back to show page