WEBVTT

00:00:00.020 --> 00:00:02.000
<v Michael Kennedy>Hello and welcome to Python Bytes,

00:00:02.210 --> 00:00:04.960
<v Michael Kennedy>where we deliver Python news and headlines directly to earbuds.

00:00:05.260 --> 00:00:06.800
<v Michael Kennedy>This is episode 506,

00:00:07.040 --> 00:00:08.380
<v Michael Kennedy>recorded November 24th,

00:00:08.560 --> 00:00:09.560
<v Michael Kennedy>2026.

00:00:10.000 --> 00:00:10.780
<v Michael Kennedy>I am Michael Kennedy.

00:00:11.260 --> 00:00:12.440
<v Calvin Hendryx-Parker>And I'm Calvin Hendrix-Parker.

00:00:12.740 --> 00:00:19.560
<v Michael Kennedy>This episode is brought to you by Longlink, the open source platform for building and running custom business applications with Python and FastAPI.

00:00:20.000 --> 00:00:22.460
<v Michael Kennedy>Check them out. The link is in your podcast player show notes.

00:00:22.590 --> 00:00:23.500
<v Michael Kennedy>Tell you more about them later.

00:00:23.940 --> 00:00:25.440
<v Michael Kennedy>Connect with us on all the socials.

00:00:25.500 --> 00:00:26.780
<v Michael Kennedy>That's on top of the page.

00:00:27.040 --> 00:00:29.980
<v Michael Kennedy>And sign up for the Friends of the Show List.

00:00:30.160 --> 00:00:33.620
<v Michael Kennedy>We'll send you really cool announcements and summaries,

00:00:34.240 --> 00:00:38.780
<v Michael Kennedy>even deeper dives into some of these topics than what we might normally cover.

00:00:39.160 --> 00:00:41.280
<v Michael Kennedy>Speaking of covering things,

00:00:41.440 --> 00:00:43.320
<v Michael Kennedy>you know, it can be a dangerous world, Calvin.

00:00:43.560 --> 00:00:45.680
<v Calvin Hendryx-Parker>It is a potentially dangerous world out there.

00:00:45.860 --> 00:00:48.360
<v Calvin Hendryx-Parker>And I'm glad to see that some people are doing something about it.

00:00:49.060 --> 00:00:52.180
<v Calvin Hendryx-Parker>This is actually a blog post from the Python Software Foundation.

00:00:52.820 --> 00:00:58.880
<v Calvin Hendryx-Parker>Don't let the blogspot.com URL fool you is actually the actual PSF.

00:00:59.060 --> 00:00:59.940
<v Calvin Hendryx-Parker>But Mike.

00:00:59.980 --> 00:01:00.860
<v Michael Kennedy>I'm going to create a mashup.

00:01:01.160 --> 00:01:01.840
<v Calvin Hendryx-Parker>Oh, my goodness.

00:01:03.760 --> 00:01:04.739
<v Calvin Hendryx-Parker>It's a web2o.

00:01:04.800 --> 00:01:07.520
<v Michael Kennedy>A Yahoo mashup with that quest.

00:01:07.780 --> 00:01:08.580
<v Calvin Hendryx-Parker>Sorry, PSF.

00:01:08.780 --> 00:01:10.560
<v Calvin Hendryx-Parker>We may want to get a real blog at some point.

00:01:11.020 --> 00:01:14.380
<v Calvin Hendryx-Parker>I'm trying to throw not too much shade against blogspot, but it is blogspot.

00:01:14.940 --> 00:01:19.960
<v Calvin Hendryx-Parker>But no, Seth and Mike have basically kind of covered the fact that GitHub is going to start

00:01:19.980 --> 00:01:24.260
<v Calvin Hendryx-Parker>blocking some dangerous triggers by default. So there's a couple of them,

00:01:24.900 --> 00:01:25.300
<v Calvin Hendryx-Parker>specifically

00:01:26.260 --> 00:01:28.480
<v Calvin Hendryx-Parker>pull request target and issue comment.

00:01:29.210 --> 00:01:32.460
<v Calvin Hendryx-Parker>These are basically things that have been used in some of

00:01:32.460 --> 00:01:34.080
<v Calvin Hendryx-Parker>the recent supply chain attacks.

00:01:35.000 --> 00:01:38.560
<v Calvin Hendryx-Parker>These basically let a stranger on the GitHub internet or the

00:01:38.610 --> 00:01:41.620
<v Calvin Hendryx-Parker>internet start workflows that may have access to your secrets.

00:01:41.940 --> 00:01:43.860
<v Calvin Hendryx-Parker>So are very, very dangerous.

00:01:45.320 --> 00:01:45.820
<v Calvin Hendryx-Parker>They actually,

00:01:45.990 --> 00:01:49.200
<v Calvin Hendryx-Parker>so Mike and Seth, I believe they were,

00:01:49.360 --> 00:01:50.660
<v Calvin Hendryx-Parker>there's a post.

00:01:51.070 --> 00:01:51.460
<v Calvin Hendryx-Parker>Yeah, here it is.

00:01:51.460 --> 00:01:52.300
<v Calvin Hendryx-Parker>The Alpha Omega blog,

00:01:52.670 --> 00:01:56.360
<v Calvin Hendryx-Parker>the full details of the technical documentation about what they wrote

00:01:56.440 --> 00:02:00.360
<v Calvin Hendryx-Parker>up from the Python Software Foundation side of things is actually available over there

00:02:00.540 --> 00:02:02.940
<v Calvin Hendryx-Parker>on this link here into the Alpha Omega blog.

00:02:03.290 --> 00:02:03.880
<v Calvin Hendryx-Parker>But basically,

00:02:04.470 --> 00:02:08.940
<v Calvin Hendryx-Parker>the first step is basically to handle actions in event policy.

00:02:09.460 --> 00:02:10.240
<v Calvin Hendryx-Parker>the GitHub team,

00:02:10.460 --> 00:02:15.580
<v Calvin Hendryx-Parker>and even on GitHub teams or enterprise or an org-wide policy allows only

00:02:15.760 --> 00:02:16.400
<v Calvin Hendryx-Parker>triggers you expect.

00:02:17.040 --> 00:02:19.760
<v Calvin Hendryx-Parker>So there's common ones like pull requests and push and release.

00:02:19.940 --> 00:02:20.380
<v Calvin Hendryx-Parker>So those are

00:02:20.460 --> 00:02:22.560
<v Calvin Hendryx-Parker>ones coming from like people in your organization.

00:02:23.060 --> 00:02:24.260
<v Calvin Hendryx-Parker>But if you have an open source project,

00:02:24.800 --> 00:02:25.060
<v Calvin Hendryx-Parker>someone can

00:02:25.060 --> 00:02:30.140
<v Calvin Hendryx-Parker>leave a comment and maybe you had an issue comment trigger and a misconfigured one of those could

00:02:30.320 --> 00:02:32.060
<v Calvin Hendryx-Parker>cause havoc to ensue.

00:02:34.160 --> 00:02:38.160
<v Calvin Hendryx-Parker>GitHub's obviously releasing this in an evaluation mode. This is coming on

00:02:38.180 --> 00:02:40.560
<v Calvin Hendryx-Parker>December 2nd for public repositories.

00:02:41.060 --> 00:02:43.280
<v Calvin Hendryx-Parker>So as they say in the post here, if that

00:02:43.420 --> 00:02:44.420
<v Calvin Hendryx-Parker>means nothing to you,

00:02:44.620 --> 00:02:47.520
<v Calvin Hendryx-Parker>this post is for you and if it fills you with red, this is

00:02:47.720 --> 00:02:48.100
<v Calvin Hendryx-Parker>also for you.

00:02:48.440 --> 00:02:49.020
<v Calvin Hendryx-Parker>This affects everyone.

00:02:49.380 --> 00:02:51.300
<v Calvin Hendryx-Parker>Anyone who has got a public GitHub

00:02:51.540 --> 00:02:55.160
<v Calvin Hendryx-Parker>repository out there, maybe you know or don't know that you've been using these

00:02:56.020 --> 00:03:01.160
<v Calvin Hendryx-Parker>pull request target or the issue comment target and cause things to happen.

00:03:01.840 --> 00:03:02.820
<v Calvin Hendryx-Parker>That's what you got to watch out for here.

00:03:03.930 --> 00:03:06.260
<v Calvin Hendryx-Parker>The free plans do are gonna be done.

00:03:06.520 --> 00:03:08.420
<v Calvin Hendryx-Parker>let's see here, free plans are gonna be done repo by repo.

00:03:08.800 --> 00:03:10.060
<v Calvin Hendryx-Parker>You can apply the same policy

00:03:10.260 --> 00:03:13.180
<v Calvin Hendryx-Parker>through the GitHub command line if you wanted to.

00:03:13.440 --> 00:03:16.640
<v Calvin Hendryx-Parker>And new repos have no policy until someone adds one.

00:03:16.660 --> 00:03:17.900
<v Calvin Hendryx-Parker>So I don't know if you've noticed that recently,

00:03:18.260 --> 00:03:20.520
<v Calvin Hendryx-Parker>that there are no default policies added anymore

00:03:21.000 --> 00:03:22.400
<v Calvin Hendryx-Parker>for actions like that.

00:03:22.620 --> 00:03:24.640
<v Calvin Hendryx-Parker>That's probably wise because then you,

00:03:25.040 --> 00:03:26.760
<v Calvin Hendryx-Parker>there won't be unexpected things happening

00:03:26.900 --> 00:03:28.400
<v Calvin Hendryx-Parker>that you didn't configure to happen.

00:03:29.480 --> 00:03:32.500
<v Calvin Hendryx-Parker>The policy right now is set up for pypi.org.

00:03:32.800 --> 00:03:35.500
<v Calvin Hendryx-Parker>And so on python.org,

00:03:35.960 --> 00:03:39.260
<v Calvin Hendryx-Parker>Seth's been migrating the last few repos before turning it fully on.

00:03:39.700 --> 00:03:42.780
<v Calvin Hendryx-Parker>The post entry says that all three orgs are now done and going into

00:03:43.580 --> 00:03:46.720
<v Calvin Hendryx-Parker>basically what the specifics of it are in that blog post.

00:03:47.740 --> 00:03:49.080
<v Calvin Hendryx-Parker>Again, this is real.

00:03:49.640 --> 00:03:55.600
<v Calvin Hendryx-Parker>The probably recognize some of these names like the LightLLM supply chain attack was caused by a

00:03:55.800 --> 00:03:59.040
<v Calvin Hendryx-Parker>pull request target exploit being pulled there.

00:03:59.460 --> 00:04:00.940
<v Calvin Hendryx-Parker>So we've seen this happen.

00:04:01.970 --> 00:04:02.120
<v Calvin Hendryx-Parker>Again,

00:04:02.280 --> 00:04:03.560
<v Calvin Hendryx-Parker>their post goes into what's going on.

00:04:04.000 --> 00:04:05.480
<v Calvin Hendryx-Parker>If you've got those two triggers active,

00:04:05.880 --> 00:04:07.120
<v Calvin Hendryx-Parker>they're gonna be just deactivated.

00:04:07.320 --> 00:04:08.220
<v Calvin Hendryx-Parker>If you've got them active right now,

00:04:08.320 --> 00:04:09.960
<v Calvin Hendryx-Parker>you should probably go ahead and deactivate them on your own.

00:04:10.160 --> 00:04:10.820
<v Michael Kennedy>Yeah, for sure.

00:04:11.180 --> 00:04:13.080
<v Michael Kennedy>You know, you hear about certain things

00:04:13.540 --> 00:04:16.019
<v Michael Kennedy>being taken over for supply chain issues

00:04:16.200 --> 00:04:16.620
<v Michael Kennedy>and people are like,

00:04:16.660 --> 00:04:19.840
<v Michael Kennedy>"How is this possible without the code changing at all?"

00:04:20.160 --> 00:04:20.400
<v Michael Kennedy>Well.

00:04:20.760 --> 00:04:21.280
<v Calvin Hendryx-Parker>Here it is.

00:04:22.180 --> 00:04:24.340
<v Calvin Hendryx-Parker>It's the infrastructure underneath it that's...

00:04:24.820 --> 00:04:28.380
<v Calvin Hendryx-Parker>These kinds of tools make it nice and convenient

00:04:28.680 --> 00:04:30.680
<v Calvin Hendryx-Parker>and frictionless for us to be developers

00:04:30.840 --> 00:04:33.780
<v Calvin Hendryx-Parker>of open source projects and provide software to the world.

00:04:34.060 --> 00:04:36.900
<v Calvin Hendryx-Parker>but it comes with a lot of little sharp edges that we just,

00:04:37.060 --> 00:04:37.200
<v Calvin Hendryx-Parker>you know,

00:04:37.520 --> 00:04:39.280
<v Calvin Hendryx-Parker>as you say, it's hard to have nice things.

00:04:39.719 --> 00:04:42.320
<v Calvin Hendryx-Parker>If there's people, if there's people out there who are going to abuse them.

00:04:42.490 --> 00:04:42.760
<v Calvin Hendryx-Parker>I mean,

00:04:43.100 --> 00:04:43.640
<v Calvin Hendryx-Parker>if that was the case,

00:04:43.800 --> 00:04:46.980
<v Calvin Hendryx-Parker>we'd go back to using like Telenet or R login and just forget encryption

00:04:47.130 --> 00:04:47.220
<v Calvin Hendryx-Parker>altogether.

00:04:47.620 --> 00:04:48.060
<v Calvin Hendryx-Parker>Who needs it?

00:04:48.800 --> 00:04:49.700
<v Michael Kennedy>I'm on team Archie.

00:04:50.100 --> 00:04:50.400
<v Michael Kennedy>Let's go.

00:04:50.980 --> 00:04:51.760
<v Calvin Hendryx-Parker>That was a gopher user.

00:04:52.180 --> 00:04:52.580
<v Calvin Hendryx-Parker>Gopher user.

00:04:52.820 --> 00:04:53.280
<v Michael Kennedy>Let's go.

00:04:53.660 --> 00:04:54.640
<v Michael Kennedy>Oh my gosh.

00:04:55.060 --> 00:04:57.860
<v Michael Kennedy>I used both of those a little bit in those super early days of the internet

00:04:58.020 --> 00:05:01.180
<v Michael Kennedy>before the web existed. I still don't know what they are.

00:05:01.580 --> 00:05:01.700
<v Calvin Hendryx-Parker>Yep.

00:05:01.980 --> 00:05:03.660
<v Calvin Hendryx-Parker>So yeah, you can see here that they,

00:05:04.020 --> 00:05:04.220
<v Calvin Hendryx-Parker>Again,

00:05:04.840 --> 00:05:09.300
<v Calvin Hendryx-Parker>Alpha Omega supported the work done by the Python Software Foundation folks with Seth and Mike.

00:05:10.340 --> 00:05:15.120
<v Calvin Hendryx-Parker>There was analysis that got funded for looking at each of those attacks and understanding what happened.

00:05:15.580 --> 00:05:17.700
<v Calvin Hendryx-Parker>And we thank them for the things they're doing.

00:05:18.020 --> 00:05:18.200
<v Michael Kennedy>Yeah,

00:05:18.380 --> 00:05:18.720
<v Michael Kennedy>fantastic.

00:05:19.120 --> 00:05:21.480
<v Michael Kennedy>Alpha Omega actually does a lot of contributions.

00:05:22.220 --> 00:05:22.860
<v Michael Kennedy>So we're cool.

00:05:23.200 --> 00:05:26.880
<v Michael Kennedy>Have I mentioned that I'm on this sort of SQLite kick?

00:05:27.520 --> 00:05:32.120
<v Calvin Hendryx-Parker>I was surprised and not surprised that we're still talking about SQLite projects.

00:05:32.160 --> 00:05:33.980
<v Michael Kennedy>still talking about SQLite projects.

00:05:34.340 --> 00:05:35.980
<v Michael Kennedy>This one is super interesting.

00:05:36.400 --> 00:05:37.500
<v Michael Kennedy>What if you could say,

00:05:37.640 --> 00:05:39.040
<v Michael Kennedy>I would like database,

00:05:39.880 --> 00:05:44.920
<v Michael Kennedy>but even though I like SQLite, I would really want it to maybe run on

00:05:45.020 --> 00:05:45.500
<v Michael Kennedy>a different machine,

00:05:45.820 --> 00:05:47.480
<v Michael Kennedy>or I want it to be more durable,

00:05:47.880 --> 00:05:48.900
<v Michael Kennedy>more highly available.

00:05:49.280 --> 00:05:49.740
<v Michael Kennedy>Well, have I

00:05:49.780 --> 00:05:51.140
<v Michael Kennedy>got a cool project for you?

00:05:51.620 --> 00:05:52.160
<v Michael Kennedy>RQ Lite.

00:05:52.600 --> 00:05:54.520
<v Michael Kennedy>Instead of SQLite, it's RQ Lite.

00:05:54.900 --> 00:05:57.379
<v Michael Kennedy>And what it is, is it is a

00:05:57.660 --> 00:06:01.980
<v Michael Kennedy>basically a front end to a really interesting set of features on top of SQLite.

00:06:02.260 --> 00:06:05.300
<v Michael Kennedy>So what you do is you go and run this app, you set it up,

00:06:05.600 --> 00:06:07.380
<v Michael Kennedy>and its expected way to run,

00:06:07.480 --> 00:06:12.860
<v Michael Kennedy>it doesn't have to run this way, but its expected way to run is in a cluster of database servers,

00:06:13.340 --> 00:06:14.860
<v Michael Kennedy>all backed by SQLite.

00:06:15.040 --> 00:06:15.520
<v Calvin Hendryx-Parker>Interesting.

00:06:15.860 --> 00:06:15.960
<v Calvin Hendryx-Parker>Okay.

00:06:16.400 --> 00:06:16.580
<v Michael Kennedy>Okay.

00:06:16.840 --> 00:06:17.180
<v Calvin Hendryx-Parker>Go on.

00:06:17.940 --> 00:06:18.200
<v Michael Kennedy>Yes.

00:06:18.420 --> 00:06:19.120
<v Michael Kennedy>Now you got my attention.

00:06:19.680 --> 00:06:20.800
<v Michael Kennedy>Yeah, so you start a server,

00:06:21.140 --> 00:06:23.020
<v Michael Kennedy>and then you start a second one.

00:06:23.420 --> 00:06:25.800
<v Michael Kennedy>Could be on the same machine as a different Docker container,

00:06:26.060 --> 00:06:27.380
<v Michael Kennedy>or it could even be on a, you know,

00:06:27.660 --> 00:06:28.760
<v Michael Kennedy>maybe on even a different machine.

00:06:29.260 --> 00:06:31.480
<v Michael Kennedy>And then you attach it to the original one.

00:06:31.750 --> 00:06:33.200
<v Michael Kennedy>You could start a third, fourth, fifth, whatever,

00:06:33.440 --> 00:06:34.420
<v Michael Kennedy>how many you want.

00:06:34.520 --> 00:06:39.120
<v Michael Kennedy>It uses the raft voting protocol to decide if one of these machines goes down,

00:06:39.540 --> 00:06:40.240
<v Michael Kennedy>how does it keep running?

00:06:40.620 --> 00:06:41.800
<v Michael Kennedy>So this is pretty interesting.

00:06:42.250 --> 00:06:47.880
<v Michael Kennedy>Then you query it in either just pure HTTP as just a JSON endpoint,

00:06:48.180 --> 00:06:48.940
<v Michael Kennedy>or you can get a client.

00:06:49.310 --> 00:06:51.900
<v Michael Kennedy>Like there's a Python client here that you can get.

00:06:52.000 --> 00:06:53.800
<v Michael Kennedy>And really the way it works,

00:06:54.040 --> 00:06:54.900
<v Michael Kennedy>here's an example,

00:06:55.140 --> 00:06:58.440
<v Michael Kennedy>is you basically just treat it as a DB API.

00:06:59.040 --> 00:07:00.600
<v Michael Kennedy>I don't know if people are familiar with this term,

00:07:00.740 --> 00:07:02.800
<v Michael Kennedy>but this is the built-in way to talk to...

00:07:03.020 --> 00:07:03.400
<v Calvin Hendryx-Parker>Old school.

00:07:03.960 --> 00:07:05.740
<v Michael Kennedy>Yeah, it's old school, like straight raw SQL.

00:07:06.140 --> 00:07:07.120
<v Michael Kennedy>And that's how you talk to it, right?

00:07:07.160 --> 00:07:07.980
<v Michael Kennedy>You could, of course,

00:07:09.120 --> 00:07:09.700
<v Michael Kennedy>take this...

00:07:09.700 --> 00:07:11.000
<v Michael Kennedy>I'm pretty sure you could take this connection

00:07:11.280 --> 00:07:12.860
<v Michael Kennedy>because it's just a DB API connection

00:07:13.000 --> 00:07:15.140
<v Michael Kennedy>and pass it on to something like an ORM.

00:07:15.480 --> 00:07:16.160
<v Michael Kennedy>I don't see why not.

00:07:16.380 --> 00:07:16.800
<v Michael Kennedy>It's plausible.

00:07:17.200 --> 00:07:17.680
<v Michael Kennedy>So anyway,

00:07:17.840 --> 00:07:19.700
<v Michael Kennedy>it has all these different libraries.

00:07:19.860 --> 00:07:20.600
<v Michael Kennedy>It's got Go, Python,

00:07:20.760 --> 00:07:21.000
<v Michael Kennedy>TypeScript,

00:07:21.180 --> 00:07:21.460
<v Michael Kennedy>JavaScript,

00:07:21.720 --> 00:07:22.220
<v Michael Kennedy>Broth, C#,

00:07:22.420 --> 00:07:23.120
<v Michael Kennedy>et cetera, et cetera.

00:07:23.320 --> 00:07:24.280
<v Michael Kennedy>And they're asking for,

00:07:24.580 --> 00:07:26.960
<v Michael Kennedy>hey, make us another one if you look at this and it's not enough.

00:07:27.440 --> 00:07:28.100
<v Michael Kennedy>So this is pretty neat.

00:07:28.320 --> 00:07:30.140
<v Michael Kennedy>It's just a self-contained single binary.

00:07:30.820 --> 00:07:31.340
<v Michael Kennedy>Fires up.

00:07:31.340 --> 00:07:33.200
<v Michael Kennedy>I'm guessing that Go being on the top of the list.

00:07:33.720 --> 00:07:34.460
<v Michael Kennedy>Let's just go find out.

00:07:34.740 --> 00:07:35.800
<v Michael Kennedy>That's 18,000 stars.

00:07:36.100 --> 00:07:37.700
<v Michael Kennedy>So this is not just a little toy thing.

00:07:37.720 --> 00:07:37.980
<v Michael Kennedy>And yes,

00:07:38.140 --> 00:07:38.740
<v Michael Kennedy>it's written in Go.

00:07:39.800 --> 00:07:42.460
<v Michael Kennedy>So yeah, it's just a single Go binary that you go deploy.

00:07:42.720 --> 00:07:44.740
<v Michael Kennedy>It runs on Docker Compose and Kubernetes.

00:07:45.240 --> 00:07:46.620
<v Michael Kennedy>It has all the power of SQLite.

00:07:47.080 --> 00:07:47.800
<v Michael Kennedy>SQLite extensions.

00:07:48.460 --> 00:07:52.820
<v Michael Kennedy>You can stream changes with change data capture built in.

00:07:53.180 --> 00:07:54.280
<v Michael Kennedy>And it also automatically,

00:07:54.680 --> 00:07:55.580
<v Michael Kennedy>like LikeStream,

00:07:56.460 --> 00:07:59.000
<v Michael Kennedy>automatically streams continuous backups to S3,

00:07:59.360 --> 00:08:00.440
<v Michael Kennedy>Min.io, and Google Cloud.

00:08:00.900 --> 00:08:02.320
<v Michael Kennedy>So instead of having just,

00:08:02.500 --> 00:08:04.820
<v Michael Kennedy>yes, if one part of the cluster goes down,

00:08:05.110 --> 00:08:05.900
<v Michael Kennedy>you can get to the other.

00:08:06.360 --> 00:08:09.560
<v Michael Kennedy>But it's like you can say, I want it the way it was seven seconds ago.

00:08:09.930 --> 00:08:10.380
<v Michael Kennedy>Not now.

00:08:10.710 --> 00:08:11.080
<v Michael Kennedy>You know what I mean?

00:08:11.220 --> 00:08:14.060
<v Michael Kennedy>Like you could point like continuous point in time backup,

00:08:14.480 --> 00:08:17.360
<v Michael Kennedy>which is kind of the opposite of what you think with like SQLite, right?

00:08:17.520 --> 00:08:18.720
<v Calvin Hendryx-Parker>Like you don't think of it.

00:08:18.800 --> 00:08:18.860
<v Calvin Hendryx-Parker>Yeah.

00:08:20.440 --> 00:08:21.260
<v Michael Kennedy>It's really wild.

00:08:21.560 --> 00:08:23.760
<v Michael Kennedy>Like I said, 18,000 GitHub stars.

00:08:23.860 --> 00:08:25.540
<v Michael Kennedy>It's not just like a little toy.

00:08:25.540 --> 00:08:30.300
<v Michael Kennedy>It comes with a UI for monitoring the cluster health,

00:08:30.700 --> 00:08:31.920
<v Michael Kennedy>for monitoring the schema,

00:08:32.560 --> 00:08:33.680
<v Michael Kennedy>for all sorts of different things.

00:08:33.919 --> 00:08:36.260
<v Michael Kennedy>So yeah, it has its own little UI.

00:08:36.740 --> 00:08:38.360
<v Michael Kennedy>And so anyway, I want to put this out there.

00:08:38.640 --> 00:08:41.500
<v Michael Kennedy>This is by Philip O'Toole, I believe.

00:08:42.000 --> 00:08:44.260
<v Michael Kennedy>At least the thing is trademarked by Philip O'Toole.

00:08:44.500 --> 00:08:46.080
<v Calvin Hendryx-Parker>You need to have this person on Python

00:08:46.140 --> 00:08:48.360
<v Calvin Hendryx-Parker>so I can understand better why they started this project.

00:08:48.920 --> 00:08:50.280
<v Michael Kennedy>I know. It's very interesting,

00:08:50.520 --> 00:08:50.680
<v Michael Kennedy>isn't it?

00:08:50.940 --> 00:08:51.680
<v Calvin Hendryx-Parker>But it sounds like the,

00:08:51.940 --> 00:08:55.820
<v Calvin Hendryx-Parker>I mean, obviously you can read out of all these replicas,

00:08:56.040 --> 00:08:56.100
<v Calvin Hendryx-Parker>but

00:08:56.420 --> 00:09:01.240
<v Calvin Hendryx-Parker>writes are still happening in one spot and then getting spread across all of them.

00:09:01.600 --> 00:09:01.660
<v Michael Kennedy>Right.

00:09:01.660 --> 00:09:02.160
<v Michael Kennedy>I believe so.

00:09:02.160 --> 00:09:04.840
<v Michael Kennedy>And I believe that's why it has the raft consensus algorithm,

00:09:05.000 --> 00:09:06.200
<v Michael Kennedy>because it's got to decide who

00:09:06.340 --> 00:09:08.200
<v Michael Kennedy>is in charge of receiving the writes,

00:09:08.540 --> 00:09:08.680
<v Michael Kennedy>you know?

00:09:08.780 --> 00:09:08.940
<v Calvin Hendryx-Parker>Right.

00:09:09.220 --> 00:09:11.040
<v Calvin Hendryx-Parker>So if you have a hundred replicas,

00:09:11.340 --> 00:09:12.440
<v Calvin Hendryx-Parker>that sounds terrible.

00:09:12.620 --> 00:09:13.640
<v Michael Kennedy>It's probably not a good idea.

00:09:13.760 --> 00:09:13.960
<v Calvin Hendryx-Parker>Yeah.

00:09:14.160 --> 00:09:15.140
<v Michael Kennedy>I mean, maybe it's a good idea.

00:09:15.220 --> 00:09:18.760
<v Michael Kennedy>Maybe if you make sure that they're all read replicas, I don't know too much,

00:09:19.220 --> 00:09:19.599
<v Michael Kennedy>but there's

00:09:19.620 --> 00:09:25.720
<v Michael Kennedy>a whole section in the docs about clusters somewhere as well i i this wasn't on my bingo

00:09:25.900 --> 00:09:31.140
<v Michael Kennedy>card for today no no i'm sure here we go somewhere down here yeah you got your general guidelines

00:09:31.440 --> 00:09:36.040
<v Michael Kennedy>about clustering and building clusters and i just think it's interesting it's it's it's a very

00:09:36.730 --> 00:09:43.420
<v Michael Kennedy>wild idea a very wild way to create a super high availability as simple as sqlite but remember

00:09:43.600 --> 00:09:49.580
<v Michael Kennedy>sqlite does like hundreds of thousands of read writes a second on one machine on one yeah it's

00:09:49.600 --> 00:09:51.560
<v Michael Kennedy>there's some really interesting building blocks here.

00:09:51.720 --> 00:09:54.240
<v Calvin Hendryx-Parker>But I think that's because it wasn't trying to do all these things.

00:09:56.160 --> 00:09:57.340
<v Michael Kennedy>Well, it's definitely going to go slower

00:09:57.420 --> 00:09:58.760
<v Michael Kennedy>because you've got to talk to it over HTTP,

00:09:59.140 --> 00:09:59.260
<v Michael Kennedy>right?

00:09:59.480 --> 00:09:59.720
<v Michael Kennedy>I mean,

00:10:00.000 --> 00:10:01.380
<v Michael Kennedy>a single request will go slower,

00:10:01.640 --> 00:10:03.160
<v Michael Kennedy>but it might still be pretty scalable.

00:10:03.460 --> 00:10:03.800
<v Michael Kennedy>I don't know.

00:10:04.080 --> 00:10:04.660
<v Michael Kennedy>We shall see.

00:10:04.860 --> 00:10:06.240
<v Michael Kennedy>But it's just something else.

00:10:06.300 --> 00:10:06.720
<v Michael Kennedy>I thought it was,

00:10:07.260 --> 00:10:07.400
<v Michael Kennedy>you know,

00:10:07.580 --> 00:10:09.660
<v Michael Kennedy>what an interesting way to create database.

00:10:10.040 --> 00:10:12.240
<v Michael Kennedy>It's popular enough that it's not just like,

00:10:12.360 --> 00:10:14.340
<v Michael Kennedy>oh, here's a random interesting thing

00:10:14.440 --> 00:10:16.020
<v Michael Kennedy>that's probably unreliable and unmaintained.

00:10:16.240 --> 00:10:16.580
<v Michael Kennedy>You know what I mean?

00:10:17.800 --> 00:10:21.500
<v Calvin Hendryx-Parker>Well, I'd love to hear from more viewers if they've got a use case for this.

00:10:21.620 --> 00:10:21.780
<v Calvin Hendryx-Parker>Yeah,

00:10:22.000 --> 00:10:23.860
<v Michael Kennedy>if people are using this out there, let us know.

00:10:24.020 --> 00:10:24.180
<v Michael Kennedy>Yeah,

00:10:24.500 --> 00:10:25.060
<v Michael Kennedy>I'd love to know.

00:10:25.360 --> 00:10:26.500
<v Michael Kennedy>It would be so good.

00:10:27.340 --> 00:10:29.800
<v Michael Kennedy>But let's talk about Longlink,

00:10:30.040 --> 00:10:30.340
<v Michael Kennedy>our sponsor.

00:10:31.000 --> 00:10:31.260
<v Michael Kennedy>Yeah,

00:10:31.560 --> 00:10:32.660
<v Michael Kennedy>so our sponsor for this episode.

00:10:33.120 --> 00:10:36.040
<v Michael Kennedy>So thank you to Longlink for sponsoring this show.

00:10:36.540 --> 00:10:38.160
<v Michael Kennedy>And as I said at the opening,

00:10:38.400 --> 00:10:47.280
<v Michael Kennedy>this is a way where you can build a substrate for building your business applications on top of them with AI.

00:10:47.540 --> 00:10:49.420
<v Michael Kennedy>It gives you a lot of shared cool features.

00:10:49.840 --> 00:10:51.500
<v Michael Kennedy>Longlink is a growing startup out of Switzerland.

00:10:51.990 --> 00:10:52.960
<v Michael Kennedy>So they asked the question,

00:10:53.550 --> 00:10:55.980
<v Michael Kennedy>how much of your company still runs on spreadsheets?

00:10:56.340 --> 00:10:57.140
<v Michael Kennedy>For most businesses,

00:10:57.440 --> 00:10:58.000
<v Michael Kennedy>a lot.

00:10:58.280 --> 00:10:59.580
<v Michael Kennedy>Approvals live in email threads,

00:10:59.820 --> 00:11:01.400
<v Michael Kennedy>tracking lives in shared Excel files.

00:11:01.880 --> 00:11:02.320
<v Michael Kennedy>One,

00:11:02.780 --> 00:11:04.340
<v Michael Kennedy>you get these off the shelf software

00:11:04.460 --> 00:11:05.840
<v Michael Kennedy>that rarely fits the way you work.

00:11:05.840 --> 00:11:06.880
<v Michael Kennedy>So you got to work around it.

00:11:06.980 --> 00:11:09.180
<v Michael Kennedy>And AI has actually changed that math.

00:11:09.250 --> 00:11:11.920
<v Michael Kennedy>It used to be you'd make the custom software

00:11:12.600 --> 00:11:15.160
<v Michael Kennedy>or the SaaS software sort of work.

00:11:15.500 --> 00:11:17.000
<v Michael Kennedy>And now you're like, well, let's just build our own.

00:11:17.300 --> 00:11:19.940
<v Michael Kennedy>And building is easy, but keeping it simple,

00:11:20.140 --> 00:11:20.540
<v Michael Kennedy>affordable,

00:11:20.860 --> 00:11:22.580
<v Michael Kennedy>and maintainable is not so easy.

00:11:22.720 --> 00:11:25.320
<v Michael Kennedy>And that's the problem that Longlink is trying to solve.

00:11:25.560 --> 00:11:30.620
<v Michael Kennedy>You write your business apps in plain Python with familiar libraries and standard development practices.

00:11:31.060 --> 00:11:32.640
<v Michael Kennedy>Longlink provides the platform underneath.

00:11:33.000 --> 00:11:33.340
<v Michael Kennedy>Authentication,

00:11:33.520 --> 00:11:33.900
<v Michael Kennedy>permissions,

00:11:34.400 --> 00:11:34.740
<v Michael Kennedy>development,

00:11:34.940 --> 00:11:35.520
<v Michael Kennedy>as time deployment,

00:11:36.140 --> 00:11:36.440
<v Michael Kennedy>storage,

00:11:36.620 --> 00:11:36.820
<v Michael Kennedy>routing,

00:11:37.380 --> 00:11:37.640
<v Michael Kennedy>logging,

00:11:37.880 --> 00:11:38.780
<v Michael Kennedy>all taken care of for you.

00:11:38.860 --> 00:11:40.260
<v Michael Kennedy>You focus on the business logic.

00:11:40.820 --> 00:11:42.120
<v Michael Kennedy>Think purchase approvals,

00:11:42.340 --> 00:11:43.100
<v Michael Kennedy>vendor onboarding,

00:11:43.500 --> 00:11:43.980
<v Michael Kennedy>work orders,

00:11:44.260 --> 00:11:45.120
<v Michael Kennedy>and complaint tracking.

00:11:45.600 --> 00:11:46.380
<v Michael Kennedy>Start with one of these,

00:11:46.560 --> 00:11:49.840
<v Michael Kennedy>build a nice custom version on top of Longlink, and move on to the next.

00:11:50.140 --> 00:11:53.420
<v Michael Kennedy>Getting started is just one command, uvx Longlink init.

00:11:54.000 --> 00:11:57.040
<v Michael Kennedy>The platform has a free tier, no credit card required.

00:11:57.480 --> 00:12:01.160
<v Michael Kennedy>The project is open source and in beta, and the team would really love for you to try it and share your feedback.

00:12:01.500 --> 00:12:02.740
<v Michael Kennedy>And while you're there over on GitHub,

00:12:02.920 --> 00:12:04.460
<v Michael Kennedy>give them a GitHub star. Help them out.

00:12:04.700 --> 00:12:08.340
<v Michael Kennedy>Check out pythonbytes.fm/longlink to get started.

00:12:08.700 --> 00:12:11.640
<v Michael Kennedy>The link is in your podcast player's show notes.

00:12:12.160 --> 00:12:15.640
<v Calvin Hendryx-Parker>Interesting they mentioned the complaint tracker.

00:12:16.140 --> 00:12:18.040
<v Calvin Hendryx-Parker>Maybe those can get routed to dev null faster.

00:12:18.320 --> 00:12:18.580
<v Michael Kennedy>Exactly.

00:12:19.860 --> 00:12:21.260
<v Michael Kennedy>We'll be getting right back with you on that.

00:12:21.480 --> 00:12:22.020
<v Calvin Hendryx-Parker>No problem.

00:12:22.720 --> 00:12:23.460
<v Calvin Hendryx-Parker>Get right on that.

00:12:23.460 --> 00:12:23.840
<v Michael Kennedy>No problem at all.

00:12:24.360 --> 00:12:27.540
<v Michael Kennedy>I know I'm next in the show notes, but why don't we get over to you?

00:12:27.760 --> 00:12:29.360
<v Calvin Hendryx-Parker>Yeah, we should do it correct, the correct order there.

00:12:30.299 --> 00:12:33.680
<v Calvin Hendryx-Parker>So I've been a longtime person in the Python community,

00:12:33.740 --> 00:12:37.380
<v Calvin Hendryx-Parker>and anyone who's been around long enough has probably used ModWisgi,

00:12:37.840 --> 00:12:40.580
<v Calvin Hendryx-Parker>which is an open source project by Graham Dunpleton.

00:12:40.940 --> 00:12:42.920
<v Calvin Hendryx-Parker>And he's got a new open source project

00:12:43.200 --> 00:12:47.020
<v Calvin Hendryx-Parker>that Simon Willison posted about on his blog recently

00:12:47.520 --> 00:12:48.240
<v Calvin Hendryx-Parker>called Maru.

00:12:48.960 --> 00:12:52.920
<v Calvin Hendryx-Parker>It is basically re-envisioning, re-imagining everything

00:12:53.460 --> 00:12:55.940
<v Calvin Hendryx-Parker>that he has gone through in the last 20 years

00:12:56.340 --> 00:12:58.580
<v Calvin Hendryx-Parker>of maintaining and building ModWisgi,

00:12:58.900 --> 00:13:01.840
<v Calvin Hendryx-Parker>what he would have wanted to do instead.

00:13:02.520 --> 00:13:04.360
<v Calvin Hendryx-Parker>Because if you're in the,

00:13:04.500 --> 00:13:05.960
<v Calvin Hendryx-Parker>it's because ModWisgi, for those who don't know,

00:13:06.220 --> 00:13:10.900
<v Calvin Hendryx-Parker>is an Apache module that lets you run Python applications

00:13:11.000 --> 00:13:13.420
<v Calvin Hendryx-Parker>in the process space of Apache,

00:13:13.860 --> 00:13:16.420
<v Calvin Hendryx-Parker>which you can imagine comes with its own constraints.

00:13:16.530 --> 00:13:20.540
<v Calvin Hendryx-Parker>So it was one of the big reasons why he was always kind of unhappy with ModWhiskey.

00:13:21.020 --> 00:13:21.760
<v Calvin Hendryx-Parker>It was a great project,

00:13:22.250 --> 00:13:25.140
<v Calvin Hendryx-Parker>but he had pieces of it. He wishes he could have done differently,

00:13:25.230 --> 00:13:29.820
<v Calvin Hendryx-Parker>but he couldn't because Apache dictates a lot of how their modules run in the module space.

00:13:30.160 --> 00:13:31.900
<v Calvin Hendryx-Parker>And there's just not a lot you can do.

00:13:33.060 --> 00:13:34.940
<v Calvin Hendryx-Parker>You've got a box and you've got to fit inside it. And

00:13:35.060 --> 00:13:36.040
<v Calvin Hendryx-Parker>that's what ModWhiskey did.

00:13:36.230 --> 00:13:39.639
<v Calvin Hendryx-Parker>They allowed to run, you know, Whiskey apps. So Maru is a new AI

00:13:39.660 --> 00:13:45.320
<v Calvin Hendryx-Parker>I assisted a Rust server that allows you to run at edge Python applications,

00:13:45.530 --> 00:13:47.100
<v Calvin Hendryx-Parker>which are WSGI or ASGI.

00:13:47.150 --> 00:13:49.380
<v Calvin Hendryx-Parker>And actually they can be run side by side.

00:13:49.710 --> 00:13:51.400
<v Calvin Hendryx-Parker>It can provide for zero failover.

00:13:51.930 --> 00:13:58.080
<v Calvin Hendryx-Parker>And he provided a 19 post blog about how he did it.

00:13:58.390 --> 00:14:00.280
<v Calvin Hendryx-Parker>And Simon links to all of them.

00:14:00.590 --> 00:14:03.660
<v Calvin Hendryx-Parker>But it kicks off with 20 years of mod WSGI and what comes next.

00:14:03.960 --> 00:14:07.040
<v Calvin Hendryx-Parker>So you can imagine someone who's done this in this domain,

00:14:07.360 --> 00:14:07.920
<v Calvin Hendryx-Parker>in this space,

00:14:08.180 --> 00:14:10.760
<v Calvin Hendryx-Parker>has exactly the expertise you would need.

00:14:11.260 --> 00:14:14.520
<v Calvin Hendryx-Parker>Basically go out and agentically engineer the better solution.

00:14:14.780 --> 00:14:15.940
<v Calvin Hendryx-Parker>That's why this has happened now.

00:14:16.200 --> 00:14:17.980
<v Calvin Hendryx-Parker>Two things happened in Graham's life.

00:14:18.260 --> 00:14:26.060
<v Calvin Hendryx-Parker>He's semi-retired and agentic coding came about, which meant cost of producing software has dropped dramatically from a time standpoint.

00:14:26.240 --> 00:14:30.940
<v Calvin Hendryx-Parker>So he was actually able to spend time as a hobby again, building the better version of what he wanted.

00:14:31.580 --> 00:14:33.120
<v Michael Kennedy>Yeah, this caught my attention for sure.

00:14:33.440 --> 00:14:34.680
<v Calvin Hendryx-Parker>Yeah, I was really excited about it.

00:14:34.680 --> 00:14:36.720
<v Michael Kennedy>If you didn't cover it, I was thinking about covering it.

00:14:37.380 --> 00:14:37.920
<v Calvin Hendryx-Parker>It was really exciting.

00:14:38.620 --> 00:14:44.120
<v Calvin Hendryx-Parker>What's interesting is, yeah, he mentions in here kind of about the constraints of why he's doing this now,

00:14:44.320 --> 00:14:45.000
<v Calvin Hendryx-Parker>what's going on,

00:14:45.160 --> 00:14:45.440
<v Calvin Hendryx-Parker>what,

00:14:46.080 --> 00:14:49.840
<v Calvin Hendryx-Parker>you know, the Apache problems that he ran into and could never solve.

00:14:50.320 --> 00:14:51.040
<v Calvin Hendryx-Parker>But it looks really cool.

00:14:51.260 --> 00:14:53.800
<v Calvin Hendryx-Parker>And again, it's all AI code generated.

00:14:53.900 --> 00:14:58.280
<v Calvin Hendryx-Parker>He gets to do all the pieces he wants to do and he documents the process along the way.

00:14:58.680 --> 00:15:03.060
<v Calvin Hendryx-Parker>So if you're wanting to basically hear about how a very seasoned developer attacks a domain

00:15:03.680 --> 00:15:08.240
<v Calvin Hendryx-Parker>that they know a tremendous amount of knowledge about and using AI to its fullest,

00:15:08.480 --> 00:15:08.900
<v Calvin Hendryx-Parker>that they can

00:15:08.910 --> 00:15:09.640
<v Calvin Hendryx-Parker>be the design,

00:15:10.070 --> 00:15:10.760
<v Calvin Hendryx-Parker>the architecture,

00:15:11.260 --> 00:15:11.760
<v Calvin Hendryx-Parker>the documentation,

00:15:12.400 --> 00:15:13.620
<v Calvin Hendryx-Parker>the specs, the planning,

00:15:14.280 --> 00:15:14.980
<v Calvin Hendryx-Parker>and not worry about the

00:15:15.140 --> 00:15:16.420
<v Calvin Hendryx-Parker>code, that's what you got here.

00:15:16.570 --> 00:15:18.820
<v Calvin Hendryx-Parker>If you're not into AI generated code,

00:15:19.530 --> 00:15:20.300
<v Calvin Hendryx-Parker>maybe this isn't the project

00:15:20.440 --> 00:15:20.660
<v Calvin Hendryx-Parker>for you,

00:15:21.020 --> 00:15:24.919
<v Calvin Hendryx-Parker>but I think this is the way projects like this should go is where you get someone

00:15:25.320 --> 00:15:26.620
<v Calvin Hendryx-Parker>who is incredibly,

00:15:27.300 --> 00:15:27.420
<v Calvin Hendryx-Parker>again,

00:15:27.660 --> 00:15:28.580
<v Calvin Hendryx-Parker>knowledgeable in that domain,

00:15:29.100 --> 00:15:31.140
<v Calvin Hendryx-Parker>guiding a tool like these AI agents

00:15:31.260 --> 00:15:32.500
<v Calvin Hendryx-Parker>to build out the software

00:15:33.720 --> 00:15:35.720
<v Calvin Hendryx-Parker>that would be the best version

00:15:35.720 --> 00:15:36.700
<v Calvin Hendryx-Parker>of the thing you'd ever wanted.

00:15:37.660 --> 00:15:38.780
<v Calvin Hendryx-Parker>It does other cool things.

00:15:39.300 --> 00:15:40.980
<v Calvin Hendryx-Parker>So like zero downtime releases,

00:15:41.540 --> 00:15:42.480
<v Calvin Hendryx-Parker>full traffic management,

00:15:42.800 --> 00:15:45.140
<v Calvin Hendryx-Parker>like Canary and Blue Green releases.

00:15:45.640 --> 00:15:46.400
<v Calvin Hendryx-Parker>Those are nice.

00:15:46.840 --> 00:15:49.040
<v Calvin Hendryx-Parker>Yeah, so thinking about in the historic,

00:15:49.240 --> 00:15:50.480
<v Calvin Hendryx-Parker>like how we used to release software,

00:15:51.100 --> 00:15:53.260
<v Calvin Hendryx-Parker>you would have to release the code someplace,

00:15:53.620 --> 00:15:55.440
<v Calvin Hendryx-Parker>Maybe you're releasing containers into Kubernetes,

00:15:55.670 --> 00:15:57.360
<v Calvin Hendryx-Parker>but then you have to route traffic over to it.

00:15:57.780 --> 00:16:02.600
<v Calvin Hendryx-Parker>Maybe you are just doing a git pull onto a machine with Apache, and now you got to restart the

00:16:02.790 --> 00:16:04.760
<v Calvin Hendryx-Parker>process so that it can pick up your code changes.

00:16:05.020 --> 00:16:08.260
<v Calvin Hendryx-Parker>This launches the containerized version of the

00:16:08.400 --> 00:16:09.480
<v Calvin Hendryx-Parker>code right into its own process,

00:16:09.840 --> 00:16:11.320
<v Calvin Hendryx-Parker>handles that handover.

00:16:11.480 --> 00:16:13.540
<v Calvin Hendryx-Parker>If your code fails to start,

00:16:14.000 --> 00:16:15.260
<v Calvin Hendryx-Parker>traffic never gets routed to it.

00:16:15.610 --> 00:16:17.600
<v Calvin Hendryx-Parker>And that's just all bundled into this.

00:16:17.930 --> 00:16:18.880
<v Calvin Hendryx-Parker>And again,

00:16:19.140 --> 00:16:19.519
<v Calvin Hendryx-Parker>another thing

00:16:19.540 --> 00:16:23.060
<v Calvin Hendryx-Parker>he focused on was that same experience from the local developer.

00:16:23.350 --> 00:16:24.700
<v Calvin Hendryx-Parker>You use this for local development,

00:16:24.890 --> 00:16:28.400
<v Calvin Hendryx-Parker>you use it in a daemon like a server,

00:16:28.610 --> 00:16:30.900
<v Calvin Hendryx-Parker>or you can launch it into containers and have it has,

00:16:31.100 --> 00:16:35.020
<v Calvin Hendryx-Parker>it's got three modes of running, which is like the Muru CTL run,

00:16:35.700 --> 00:16:36.780
<v Calvin Hendryx-Parker>daemon start and serve,

00:16:37.460 --> 00:16:39.660
<v Calvin Hendryx-Parker>and all of them meant for specific different applications.

00:16:40.110 --> 00:16:41.700
<v Calvin Hendryx-Parker>But obviously it supports Docker,

00:16:42.120 --> 00:16:42.840
<v Calvin Hendryx-Parker>Compose, Kubernetes,

00:16:43.810 --> 00:16:46.400
<v Calvin Hendryx-Parker>and you've got the same process model across all three.

00:16:46.710 --> 00:16:47.999
<v Calvin Hendryx-Parker>So fits my

00:16:48.560 --> 00:16:51.940
<v Calvin Hendryx-Parker>checkbox of I should be doing the same thing in Prada as I do in my local machine.

00:16:52.420 --> 00:16:55.920
<v Calvin Hendryx-Parker>So it's easy to debug and I'm not running into weird deployment issues as I go into

00:16:56.580 --> 00:16:57.120
<v Calvin Hendryx-Parker>another environment.

00:16:57.500 --> 00:16:58.340
<v Michael Kennedy>It's very appealing.

00:16:58.740 --> 00:16:59.580
<v Calvin Hendryx-Parker>It's very, very appealing.

00:17:00.020 --> 00:17:03.420
<v Michael Kennedy>You know, the AI side doesn't turn me off from it.

00:17:03.780 --> 00:17:03.880
<v Michael Kennedy>Honestly,

00:17:04.160 --> 00:17:07.959
<v Michael Kennedy>I have stories I'm going to share with you that will, I think, maybe be quite

00:17:08.040 --> 00:17:08.480
<v Michael Kennedy>the contrary.

00:17:09.040 --> 00:17:09.860
<v Michael Kennedy>Before we get to that,

00:17:10.300 --> 00:17:12.020
<v Michael Kennedy>here's a guy who's got 20 years of experience.

00:17:12.240 --> 00:17:14.839
<v Michael Kennedy>I really wish I could rebuild this thing from scratch.

00:17:15.140 --> 00:17:17.420
<v Michael Kennedy>Now understanding 20 years of lessons.

00:17:18.020 --> 00:17:25.980
<v Michael Kennedy>But I just can't take the two years of like reprogramming this from scratch and then all the security stuff if I write it in native code and so on.

00:17:26.010 --> 00:17:28.020
<v Michael Kennedy>And then this partnership of,

00:17:28.339 --> 00:17:30.080
<v Michael Kennedy>you know, Clotter, Codex or whatever,

00:17:30.680 --> 00:17:32.600
<v Michael Kennedy>plus exactly what they want to build.

00:17:32.790 --> 00:17:34.020
<v Michael Kennedy>I think that can be very powerful.

00:17:34.420 --> 00:17:34.540
<v Calvin Hendryx-Parker>Yeah.

00:17:34.650 --> 00:17:37.140
<v Calvin Hendryx-Parker>In addition to like the zero downtime releases,

00:17:37.540 --> 00:17:39.140
<v Calvin Hendryx-Parker>it's everything you need for the front end too.

00:17:39.480 --> 00:17:40.680
<v Calvin Hendryx-Parker>It's HTTP 1.1,

00:17:40.950 --> 00:17:41.060
<v Calvin Hendryx-Parker>2,

00:17:41.320 --> 00:17:41.740
<v Calvin Hendryx-Parker>TLS,

00:17:42.060 --> 00:17:42.880
<v Calvin Hendryx-Parker>there's virtual hosts.

00:17:43.520 --> 00:17:47.000
<v Calvin Hendryx-Parker>It does all the bits the way you'd want it.

00:17:47.200 --> 00:17:49.420
<v Calvin Hendryx-Parker>So it simplifies, actually simplifying your deployments.

00:17:49.640 --> 00:17:52.340
<v Calvin Hendryx-Parker>You no longer need a separate static server.

00:17:52.800 --> 00:17:54.320
<v Michael Kennedy>Right, you don't need Nginx or whatever.

00:17:56.060 --> 00:17:59.060
<v Calvin Hendryx-Parker>Less moving pieces is better in my book.

00:17:59.920 --> 00:18:01.240
<v Michael Kennedy>Only one piece move.

00:18:01.740 --> 00:18:02.140
<v Calvin Hendryx-Parker>Exactly.

00:18:02.980 --> 00:18:04.740
<v Calvin Hendryx-Parker>And if the pieces inside it don't start up correctly,

00:18:05.000 --> 00:18:06.420
<v Calvin Hendryx-Parker>don't serve traffic to it.

00:18:06.640 --> 00:18:07.360
<v Michael Kennedy>Pieces rusted,

00:18:07.580 --> 00:18:08.280
<v Michael Kennedy>don't try to move it.

00:18:08.280 --> 00:18:08.880
<v Michael Kennedy>Get a new piece.

00:18:09.220 --> 00:18:09.400
<v Calvin Hendryx-Parker>Yeah.

00:18:10.100 --> 00:18:11.540
<v Calvin Hendryx-Parker>And there's great docs,

00:18:12.140 --> 00:18:13.840
<v Calvin Hendryx-Parker>great code, great process.

00:18:14.180 --> 00:18:15.200
<v Calvin Hendryx-Parker>The whole blog thing,

00:18:15.620 --> 00:18:16.379
<v Calvin Hendryx-Parker>just fantastic

00:18:16.400 --> 00:18:19.380
<v Calvin Hendryx-Parker>to watch people develop in the open like that.

00:18:19.700 --> 00:18:21.020
<v Calvin Hendryx-Parker>It's just funny because Graham's always said

00:18:21.080 --> 00:18:22.040
<v Calvin Hendryx-Parker>he's the grumpy old guy.

00:18:22.380 --> 00:18:23.440
<v Calvin Hendryx-Parker>This is fantastic though.

00:18:23.720 --> 00:18:24.760
<v Calvin Hendryx-Parker>Grumpy people don't do stuff like this.

00:18:25.100 --> 00:18:25.780
<v Michael Kennedy>No, it's very cool.

00:18:26.060 --> 00:18:26.360
<v Michael Kennedy>Very, very cool.

00:18:26.720 --> 00:18:26.920
<v Michael Kennedy>All right.

00:18:27.220 --> 00:18:29.420
<v Michael Kennedy>I've got one more thing for us.

00:18:29.920 --> 00:18:31.160
<v Michael Kennedy>And it's a follow-up from last week.

00:18:31.170 --> 00:18:33.120
<v Michael Kennedy>I told you all about DiskCache Oxide.

00:18:33.400 --> 00:18:33.580
<v Michael Kennedy>Well,

00:18:33.960 --> 00:18:34.160
<v Michael Kennedy>Calvin.

00:18:34.580 --> 00:18:34.940
<v Calvin Hendryx-Parker>Yes,

00:18:35.380 --> 00:18:35.940
<v Calvin Hendryx-Parker>I'm here for it.

00:18:36.340 --> 00:18:37.060
<v Calvin Hendryx-Parker>I'm here for it.

00:18:37.350 --> 00:18:37.760
<v Calvin Hendryx-Parker>I love it.

00:18:38.020 --> 00:18:38.240
<v Michael Kennedy>All right.

00:18:38.330 --> 00:18:40.260
<v Michael Kennedy>So one of the last main pieces,

00:18:40.520 --> 00:18:41.720
<v Michael Kennedy>there's a few more things

00:18:42.080 --> 00:18:45.460
<v Michael Kennedy>before I call this DiskCache Oxide Project Feature Ready.

00:18:45.660 --> 00:18:46.240
<v Michael Kennedy>Just for reminders,

00:18:46.540 --> 00:18:46.660
<v Michael Kennedy>everyone,

00:18:47.060 --> 00:18:50.260
<v Michael Kennedy>Discache Oxide is a SQLite based,

00:18:50.540 --> 00:18:53.360
<v Michael Kennedy>but Python cache that has

00:18:53.660 --> 00:19:00.600
<v Michael Kennedy>a very sophisticated Rust core for managing multi-threading background jobs that do like

00:19:01.000 --> 00:19:05.600
<v Michael Kennedy>management of the write-ahead log and checkpoints and all of these kinds of things,

00:19:05.800 --> 00:19:06.220
<v Michael Kennedy>expiration

00:19:06.860 --> 00:19:09.660
<v Michael Kennedy>that is missing from a lot of these like simpler cache stories,

00:19:09.920 --> 00:19:11.419
<v Michael Kennedy>but you still run it as a single

00:19:11.420 --> 00:19:12.820
<v Michael Kennedy>file in process.

00:19:13.380 --> 00:19:14.360
<v Michael Kennedy>So it has things,

00:19:14.600 --> 00:19:15.080
<v Michael Kennedy>you know, like,

00:19:15.280 --> 00:19:15.820
<v Michael Kennedy>I don't know,

00:19:16.160 --> 00:19:17.380
<v Michael Kennedy>800,000 requests,

00:19:17.780 --> 00:19:17.860
<v Michael Kennedy>read,

00:19:17.960 --> 00:19:18.500
<v Michael Kennedy>writes a second,

00:19:18.860 --> 00:19:19.680
<v Michael Kennedy>you know, in your app,

00:19:20.320 --> 00:19:22.600
<v Michael Kennedy>which is very cool. But what it didn't have is it didn't

00:19:22.740 --> 00:19:29.140
<v Michael Kennedy>have the official like built in cache support for Django. So for those of you don't know,

00:19:29.660 --> 00:19:29.860
<v Michael Kennedy>Django,

00:19:30.420 --> 00:19:36.040
<v Michael Kennedy>the framework itself has a way to read and write to caches with all the things that caches do.

00:19:36.200 --> 00:19:37.780
<v Michael Kennedy>And if you implement all the right bits,

00:19:38.210 --> 00:19:42.140
<v Michael Kennedy>then you can swap that out with a Redis or Valkey

00:19:42.220 --> 00:19:43.300
<v Michael Kennedy>cache or whatever,

00:19:43.520 --> 00:19:43.620
<v Michael Kennedy>right?

00:19:43.850 --> 00:19:46.980
<v Michael Kennedy>So I went and implemented that Django cache.

00:19:46.990 --> 00:19:52.600
<v Michael Kennedy>And now you can just go to the caches and set the default back into disk cache oxide.django

00:19:52.800 --> 00:19:53.000
<v Michael Kennedy>cache.

00:19:53.290 --> 00:19:56.500
<v Michael Kennedy>Give it a location and a timeout and you're off to the races.

00:19:56.880 --> 00:19:57.460
<v Calvin Hendryx-Parker>Nice and easy.

00:19:57.820 --> 00:19:58.500
<v Michael Kennedy>Nice and easy.

00:19:58.650 --> 00:20:04.900
<v Michael Kennedy>You can set up page data caches and session caches as two separate things so that you're

00:20:04.900 --> 00:20:06.680
<v Michael Kennedy>We're not necessarily mixing those together,

00:20:07.170 --> 00:20:07.280
<v Michael Kennedy>right?

00:20:07.330 --> 00:20:08.560
<v Michael Kennedy>You can also pass all the settings,

00:20:08.860 --> 00:20:12.800
<v Michael Kennedy>like how large of a complete file size,

00:20:12.880 --> 00:20:15.500
<v Michael Kennedy>like how much space is this thing able to take up?

00:20:15.780 --> 00:20:17.880
<v Michael Kennedy>And then it'll start ejecting older things

00:20:18.260 --> 00:20:19.420
<v Michael Kennedy>that are laying in there.

00:20:19.780 --> 00:20:21.160
<v Michael Kennedy>So if you're familiar with Django Cache,

00:20:21.220 --> 00:20:22.360
<v Michael Kennedy>this is all pretty standard.

00:20:22.580 --> 00:20:23.480
<v Michael Kennedy>Let's see, do I have any numbers?

00:20:23.670 --> 00:20:24.040
<v Michael Kennedy>There we go.

00:20:24.330 --> 00:20:25.380
<v Calvin Hendryx-Parker>Yeah, where's my performance numbers?

00:20:25.740 --> 00:20:26.420
<v Michael Kennedy>Here you are, Calvin.

00:20:26.680 --> 00:20:27.020
<v Michael Kennedy>Here you are.

00:20:28.380 --> 00:20:29.680
<v Michael Kennedy>I didn't say this, I don't believe,

00:20:29.710 --> 00:20:30.980
<v Michael Kennedy>at the beginning, but I said it last week.

00:20:31.380 --> 00:20:33.699
<v Michael Kennedy>This is one of the things I'm very focused on

00:20:33.720 --> 00:20:37.340
<v Michael Kennedy>is making sure this works perfectly in free-threaded Python

00:20:37.770 --> 00:20:40.180
<v Michael Kennedy>so you can scale out as much as you want

00:20:40.620 --> 00:20:42.180
<v Michael Kennedy>without having to go to multiple processes.

00:20:42.800 --> 00:20:44.540
<v Michael Kennedy>But the graph here actually shows,

00:20:44.650 --> 00:20:46.580
<v Michael Kennedy>what if I do a web garden where I have one,

00:20:46.940 --> 00:20:47.000
<v Michael Kennedy>two,

00:20:47.260 --> 00:20:48.240
<v Michael Kennedy>four, eight processes?

00:20:48.800 --> 00:20:51.440
<v Michael Kennedy>And it compares against just the single-threaded,

00:20:51.800 --> 00:20:55.480
<v Michael Kennedy>or not the single-threaded, the single-file cache.

00:20:55.530 --> 00:20:57.840
<v Michael Kennedy>And you can also do fan-out sharded caches,

00:20:57.990 --> 00:20:59.080
<v Michael Kennedy>and you don't have to think about it.

00:20:59.080 --> 00:21:01.160
<v Michael Kennedy>You just say, I want eight separate files,

00:21:01.560 --> 00:21:03.500
<v Michael Kennedy>and it'll manage all those connections and stuff for you.

00:21:03.960 --> 00:21:04.700
<v Michael Kennedy>And if you do that,

00:21:04.890 --> 00:21:10.760
<v Michael Kennedy>you can get 1.43 million requests per second on just four worker processes,

00:21:11.280 --> 00:21:17.180
<v Michael Kennedy>as opposed to the meager 607,000 readwrites on the regular disk cache oxide one.

00:21:17.540 --> 00:21:21.040
<v Michael Kennedy>Compare this to, how does this look for like the traditional one?

00:21:21.260 --> 00:21:26.640
<v Michael Kennedy>So Django has a database cache SQLite version also that's like this one.

00:21:26.750 --> 00:21:29.140
<v Michael Kennedy>It does 262,000.

00:21:29.980 --> 00:21:30.600
<v Calvin Hendryx-Parker>It's not shabby.

00:21:31.000 --> 00:21:31.280
<v Michael Kennedy>It's not.

00:21:31.420 --> 00:21:32.060
<v Michael Kennedy>I mean, that's very,

00:21:32.220 --> 00:21:32.560
<v Michael Kennedy>very fast.

00:21:32.560 --> 00:21:33.240
<v Michael Kennedy>It's very fast.

00:21:33.760 --> 00:21:37.980
<v Michael Kennedy>It's still less than a quarter of what this does, you know what I mean, for the same amount of CPU.

00:21:38.560 --> 00:21:43.500
<v Michael Kennedy>It is a file-based one that does a little bit less than half of the database ones.

00:21:43.540 --> 00:21:45.180
<v Michael Kennedy>It was like 10x the file-based one.

00:21:45.340 --> 00:21:45.440
<v Michael Kennedy>Anyway.

00:21:45.720 --> 00:21:45.840
<v Calvin Hendryx-Parker>Wow.

00:21:46.280 --> 00:21:55.700
<v Calvin Hendryx-Parker>I feel like we need to see free-threaded Django with Django Ninja running with this disk cache oxide on top of Maru.

00:21:55.940 --> 00:21:56.420
<v Michael Kennedy>Yes.

00:21:56.640 --> 00:21:57.540
<v Michael Kennedy>Let's uncork it all.

00:21:57.700 --> 00:21:58.140
<v Michael Kennedy>Let's do it.

00:21:58.860 --> 00:22:04.880
<v Michael Kennedy>And there's also an example that you can work through that has like a whole sample code project you can download and write.

00:22:04.920 --> 00:22:05.100
<v Calvin Hendryx-Parker>Yeah,

00:22:05.420 --> 00:22:05.940
<v Calvin Hendryx-Parker>I'm here for it.

00:22:06.160 --> 00:22:06.540
<v Michael Kennedy>Yeah, all right.

00:22:06.980 --> 00:22:07.900
<v Michael Kennedy>So that's pretty cool.

00:22:08.440 --> 00:22:08.980
<v Michael Kennedy>That's it.

00:22:09.240 --> 00:22:09.900
<v Calvin Hendryx-Parker>That's super cool.

00:22:10.820 --> 00:22:13.460
<v Michael Kennedy>I believe I'm on extras today.

00:22:13.460 --> 00:22:14.000
<v Calvin Hendryx-Parker>You got some extras.

00:22:14.560 --> 00:22:16.860
<v Calvin Hendryx-Parker>I am extra free today.

00:22:17.420 --> 00:22:17.920
<v Michael Kennedy>Not extra,

00:22:18.160 --> 00:22:18.820
<v Michael Kennedy>just regular.

00:22:19.320 --> 00:22:20.560
<v Calvin Hendryx-Parker>Just regular Calvin.

00:22:20.760 --> 00:22:21.760
<v Calvin Hendryx-Parker>No extra Calvin today.

00:22:21.820 --> 00:22:22.740
<v Calvin Hendryx-Parker>It's been a week.

00:22:23.640 --> 00:22:24.080
<v Michael Kennedy>Yes,

00:22:24.760 --> 00:22:25.660
<v Michael Kennedy>sometimes it is a week.

00:22:25.880 --> 00:22:25.980
<v Calvin Hendryx-Parker>Yeah.

00:22:26.240 --> 00:22:32.600
<v Michael Kennedy>So today I unleashed Black Friday at Talk Python training and Talk Python itself.

00:22:33.440 --> 00:22:35.500
<v Michael Kennedy>So don't run very many sales over there.

00:22:35.510 --> 00:22:38.060
<v Michael Kennedy>You can get the everything bundle at 20%.

00:22:38.080 --> 00:22:38.160
<v Michael Kennedy>Yeah,

00:22:38.480 --> 00:22:39.360
<v Michael Kennedy>about 20% off.

00:22:39.820 --> 00:22:41.480
<v Michael Kennedy>And for returning customers,

00:22:41.800 --> 00:22:44.620
<v Michael Kennedy>there's further discounts on top of the 20%, you know, like

00:22:44.690 --> 00:22:44.820
<v Michael Kennedy>things.

00:22:44.940 --> 00:22:47.220
<v Michael Kennedy>So if you're looking at the courses over at Talk Python,

00:22:47.480 --> 00:22:48.660
<v Michael Kennedy>you can get all the courses for

00:22:48.780 --> 00:22:49.320
<v Michael Kennedy>20% off,

00:22:49.520 --> 00:22:55.079
<v Michael Kennedy>or I put together a special only Black Friday available bundle of something I'm calling

00:22:55.100 --> 00:22:58.300
<v Michael Kennedy>getting started with Python and programming in the age of AI.

00:22:58.600 --> 00:22:59.600
<v Michael Kennedy>I think that's a really good fit.

00:22:59.720 --> 00:23:00.480
<v Calvin Hendryx-Parker>That's a steal.

00:23:00.900 --> 00:23:01.580
<v Calvin Hendryx-Parker>That's a steal, Michael.

00:23:01.620 --> 00:23:02.280
<v Calvin Hendryx-Parker>It's $65.

00:23:02.960 --> 00:23:03.220
<v Michael Kennedy>I know.

00:23:03.220 --> 00:23:08.340
<v Michael Kennedy>It's $65 for these four courses that form a perfect line of progression.

00:23:08.920 --> 00:23:11.920
<v Michael Kennedy>So Python for beginners gets you started on programming Python,

00:23:12.620 --> 00:23:13.100
<v Michael Kennedy>data structures,

00:23:13.520 --> 00:23:15.380
<v Michael Kennedy>thinking through problem solving and breaking down problems

00:23:15.480 --> 00:23:17.420
<v Michael Kennedy>and just like the general programming beginners.

00:23:17.760 --> 00:23:20.840
<v Michael Kennedy>And then running with Git because if you're going to work with agents,

00:23:21.200 --> 00:23:24.960
<v Michael Kennedy>you really need to understand source control better than even regular programming.

00:23:25.320 --> 00:23:29.380
<v Michael Kennedy>And then Agente AI and Agente Python security.

00:23:29.740 --> 00:23:31.100
<v Michael Kennedy>So I think this is a really cool deal.

00:23:31.530 --> 00:23:34.060
<v Michael Kennedy>And like Calvin said, normally it'd be $156.

00:23:34.520 --> 00:23:35.420
<v Michael Kennedy>It's $65.

00:23:35.620 --> 00:23:35.900
<v Michael Kennedy>So get that.

00:23:36.190 --> 00:23:38.640
<v Calvin Hendryx-Parker>Yeah, folks who are doing like the code mess

00:23:39.000 --> 00:23:40.560
<v Calvin Hendryx-Parker>advent calendar things,

00:23:40.840 --> 00:23:41.480
<v Calvin Hendryx-Parker>there you go.

00:23:41.620 --> 00:23:42.200
<v Michael Kennedy>This will be a fun one.

00:23:42.240 --> 00:23:44.160
<v Michael Kennedy>Those are all some of my very favorite classes

00:23:44.310 --> 00:23:45.020
<v Michael Kennedy>as well that we have.

00:23:45.460 --> 00:23:46.540
<v Michael Kennedy>Talk Python in production book,

00:23:46.960 --> 00:23:47.600
<v Michael Kennedy>25% off.

00:23:47.760 --> 00:23:49.160
<v Michael Kennedy>And if you want to do Talk Python membership,

00:23:49.740 --> 00:23:52.560
<v Michael Kennedy>there's also a discount for all of those tiers as well.

00:23:53.240 --> 00:23:54.160
<v Michael Kennedy>So Black Friday,

00:23:54.520 --> 00:23:54.820
<v Michael Kennedy>Talk Python.

00:23:54.980 --> 00:23:58.440
<v Michael Kennedy>please check it out. It really is a great way to get a discount and support the show.

00:23:58.820 --> 00:23:58.880
<v Michael Kennedy>Now,

00:23:59.040 --> 00:24:04.960
<v Michael Kennedy>this is the part that I alluded to when we talked about the Muru. I found as part of my work,

00:24:05.100 --> 00:24:05.860
<v Michael Kennedy>I don't believe,

00:24:06.200 --> 00:24:08.060
<v Michael Kennedy>no, it was definitely not on disk cache oxide.

00:24:08.660 --> 00:24:10.300
<v Michael Kennedy>It was on Chameleon RS,

00:24:10.600 --> 00:24:14.920
<v Michael Kennedy>the Rust version of my re-implementation because none of these things work on free-threaded Python.

00:24:15.120 --> 00:24:16.660
<v Michael Kennedy>They're not tested on free-threaded Python.

00:24:16.920 --> 00:24:19.859
<v Michael Kennedy>People don't pay attention to it and it's really not

00:24:19.880 --> 00:24:20.100
<v Michael Kennedy>great.

00:24:20.460 --> 00:24:21.840
<v Michael Kennedy>So I actually found a,

00:24:22.000 --> 00:24:26.160
<v Michael Kennedy>maybe if you could put it in italics, a bug in CPython itself for

00:24:26.820 --> 00:24:28.200
<v Michael Kennedy>doing this free threaded work.

00:24:28.720 --> 00:24:34.320
<v Michael Kennedy>And so I submitted this as a bug report over to just the CPython

00:24:34.440 --> 00:24:34.800
<v Michael Kennedy>organization,

00:24:35.260 --> 00:24:37.500
<v Michael Kennedy>Brittany Ray triaged it,

00:24:37.800 --> 00:24:38.800
<v Michael Kennedy>you know, there's a bit of a conversation.

00:24:39.120 --> 00:24:39.780
<v Michael Kennedy>And now there's

00:24:39.960 --> 00:24:43.560
<v Michael Kennedy>this other thing, which I'm just now learning about, because this wasn't here last time I looked,

00:24:45.580 --> 00:24:47.160
<v Michael Kennedy>scaling with format. So here's,

00:24:47.320 --> 00:24:48.080
<v Michael Kennedy>this is not a huge deal.

00:24:48.520 --> 00:24:49.840
<v Michael Kennedy>I'll just really quickly tell you

00:24:49.860 --> 00:24:51.340
<v Michael Kennedy>that if you use format,

00:24:51.980 --> 00:24:53.560
<v Michael Kennedy>like string.format,

00:24:53.630 --> 00:24:54.980
<v Michael Kennedy>or rather an fstring,

00:24:55.420 --> 00:24:57.860
<v Michael Kennedy>if you make the heinous mistake of saying,

00:24:57.980 --> 00:24:59.240
<v Michael Kennedy>I want two decimal places,

00:25:00.250 --> 00:25:02.660
<v Michael Kennedy>instead of just, I just want the float.

00:25:03.040 --> 00:25:04.480
<v Michael Kennedy>No, I want the float with two decimal places.

00:25:05.040 --> 00:25:07.060
<v Michael Kennedy>It is six and a half times slower.

00:25:08.480 --> 00:25:11.260
<v Michael Kennedy>Only under free-threaded Python as you add threads.

00:25:11.700 --> 00:25:13.760
<v Michael Kennedy>And so I figured out sort of the differences.

00:25:14.820 --> 00:25:16.800
<v Michael Kennedy>So anyway, there's this issue that I submitted.

00:25:17.020 --> 00:25:17.640
<v Michael Kennedy>I did not do,

00:25:18.520 --> 00:25:19.420
<v Michael Kennedy>did I put the PR?

00:25:19.560 --> 00:25:20.000
<v Michael Kennedy>I don't think so.

00:25:20.160 --> 00:25:21.140
<v Michael Kennedy>No, that's what they were working on.

00:25:21.160 --> 00:25:22.660
<v Michael Kennedy>I'm like, I don't think I put a PR here.

00:25:23.040 --> 00:25:23.660
<v Michael Kennedy>There is a PR,

00:25:23.840 --> 00:25:26.580
<v Michael Kennedy>but I didn't write it because I wasn't like, I'm going to contribute to

00:25:26.660 --> 00:25:26.980
<v Michael Kennedy>CPython.

00:25:27.180 --> 00:25:27.880
<v Michael Kennedy>No, I'm just like, look,

00:25:28.040 --> 00:25:28.100
<v Michael Kennedy>guys,

00:25:28.280 --> 00:25:28.640
<v Michael Kennedy>this is.

00:25:28.880 --> 00:25:29.300
<v Calvin Hendryx-Parker>Here it is.

00:25:29.500 --> 00:25:30.280
<v Michael Kennedy>It's so simple.

00:25:30.400 --> 00:25:34.340
<v Michael Kennedy>All you do is just do string dot format in a loop with free threading.

00:25:34.520 --> 00:25:38.720
<v Michael Kennedy>And if you put any sort of like two decimal places type of format or your toast become

00:25:38.860 --> 00:25:39.380
<v Michael Kennedy>serial again,

00:25:39.620 --> 00:25:40.140
<v Michael Kennedy>which is crazy.

00:25:40.340 --> 00:25:40.660
<v Michael Kennedy>So anyway,

00:25:41.200 --> 00:25:42.560
<v Michael Kennedy>as much as people say, oh,

00:25:42.720 --> 00:25:44.640
<v Michael Kennedy>these AIs just write a bunch of crap software that's

00:25:44.760 --> 00:25:44.920
<v Michael Kennedy>bugs.

00:25:45.340 --> 00:25:45.640
<v Michael Kennedy>You know what?

00:25:45.820 --> 00:25:46.760
<v Michael Kennedy>They're really good at going.

00:25:47.080 --> 00:25:47.440
<v Michael Kennedy>Did you,

00:25:47.640 --> 00:25:48.640
<v Michael Kennedy>did you notice this?

00:25:49.340 --> 00:25:53.640
<v Michael Kennedy>Not only is this not scaling the way we thought, but it's not scaling because of this string,

00:25:53.800 --> 00:25:54.420
<v Michael Kennedy>this F string.

00:25:54.500 --> 00:25:55.420
<v Michael Kennedy>That is insane to me.

00:25:55.520 --> 00:25:55.840
<v Michael Kennedy>So anyway.

00:25:56.200 --> 00:25:58.800
<v Calvin Hendryx-Parker>They fixed it in 14 lines of code, Michael, including comments.

00:25:59.900 --> 00:26:00.620
<v Michael Kennedy>Do they already fix it?

00:26:00.840 --> 00:26:02.740
<v Calvin Hendryx-Parker>Yeah, there's a fix in there.

00:26:03.100 --> 00:26:03.880
<v Michael Kennedy>Oh, there is a fix.

00:26:04.100 --> 00:26:04.300
<v Michael Kennedy>Yeah.

00:26:04.320 --> 00:26:05.360
<v Michael Kennedy>It's only two files changed.

00:26:05.700 --> 00:26:07.400
<v Michael Kennedy>Yeah, because the fix is actually not that hard.

00:26:09.100 --> 00:26:13.040
<v Michael Kennedy>The non-specified, I don't know what you call it when it doesn't have a spec.

00:26:13.220 --> 00:26:14.120
<v Michael Kennedy>It's just like curly, curly,

00:26:14.300 --> 00:26:14.920
<v Michael Kennedy>a thing, you know?

00:26:15.220 --> 00:26:20.840
<v Michael Kennedy>That one just grabs onto a certain format designator or something.

00:26:21.140 --> 00:26:21.940
<v Michael Kennedy>But when you do it,

00:26:22.100 --> 00:26:23.100
<v Michael Kennedy>if a specifier,

00:26:23.360 --> 00:26:28.320
<v Michael Kennedy>it all uses a lock and serializes down to like this other data structure before it goes back out.

00:26:28.660 --> 00:26:29.060
<v Michael Kennedy>So it's like,

00:26:29.360 --> 00:26:31.180
<v Michael Kennedy>just do the way the other format is doing.

00:26:31.420 --> 00:26:31.900
<v Michael Kennedy>Don't, you know,

00:26:32.140 --> 00:26:32.960
<v Michael Kennedy>it's pretty simple to fix,

00:26:33.140 --> 00:26:34.480
<v Michael Kennedy>but it's also just discovering it, right?

00:26:34.520 --> 00:26:34.920
<v Calvin Hendryx-Parker>That's very cool.

00:26:35.280 --> 00:26:35.480
<v Michael Kennedy>All right.

00:26:35.960 --> 00:26:36.300
<v Michael Kennedy>Long Beach,

00:26:36.460 --> 00:26:36.840
<v Michael Kennedy>Long Beach,

00:26:37.100 --> 00:26:38.000
<v Michael Kennedy>California is calling you.

00:26:38.480 --> 00:26:39.740
<v Michael Kennedy>Calvin, I hope you can make it this year.

00:26:39.900 --> 00:26:40.600
<v Calvin Hendryx-Parker>I won't.

00:26:40.660 --> 00:26:41.700
<v Calvin Hendryx-Parker>I won't make it this year, unfortunately.

00:26:41.740 --> 00:26:42.400
<v Michael Kennedy>Oh my gosh.

00:26:43.340 --> 00:26:43.560
<v Michael Kennedy>Well,

00:26:43.720 --> 00:26:44.500
<v Michael Kennedy>I'm going to be making it.

00:26:44.540 --> 00:26:46.580
<v Michael Kennedy>I'm going to be cruising around on my little scooter like I did last year.

00:26:46.860 --> 00:26:47.160
<v Calvin Hendryx-Parker>That'd be cool.

00:26:47.940 --> 00:26:50.300
<v Calvin Hendryx-Parker>You're talking about none other than PyCon 2027.

00:26:51.600 --> 00:26:53.040
<v Michael Kennedy>PyCon 2027 is announced.

00:26:53.460 --> 00:26:54.740
<v Michael Kennedy>Call for proposals are out.

00:26:54.940 --> 00:26:55.400
<v Michael Kennedy>That's interesting.

00:26:55.640 --> 00:26:56.600
<v Michael Kennedy>That's not why I'm telling you.

00:26:56.740 --> 00:27:01.660
<v Michael Kennedy>I'm telling you because there are dates on the calendar when you can reserve your opportunity to go to it.

00:27:01.840 --> 00:27:02.880
<v Michael Kennedy>And we had a lot of fun in Long Beach.

00:27:03.060 --> 00:27:03.920
<v Michael Kennedy>So hope to see you there.

00:27:04.260 --> 00:27:05.100
<v Michael Kennedy>And hopefully I can make it.

00:27:05.320 --> 00:27:05.900
<v Michael Kennedy>Chances are I will.

00:27:06.260 --> 00:27:06.480
<v Michael Kennedy>All right.

00:27:07.020 --> 00:27:07.500
<v Michael Kennedy>Really quickly,

00:27:07.860 --> 00:27:09.920
<v Michael Kennedy>if you happen to run IntuneX, we spoke about this before,

00:27:10.080 --> 00:27:10.460
<v Michael Kennedy>the Mooru.

00:27:10.900 --> 00:27:11.900
<v Michael Kennedy>you should move,

00:27:12.180 --> 00:27:14.340
<v Michael Kennedy>run yourself over to your server and patch it.

00:27:14.340 --> 00:27:15.660
<v Michael Kennedy>Let me tell you, oh my goodness.

00:27:18.220 --> 00:27:20.180
<v Calvin Hendryx-Parker>Unauthenticated remote code execution

00:27:20.980 --> 00:27:22.640
<v Michael Kennedy>with just a sweet little web request.

00:27:23.580 --> 00:27:25.200
<v Calvin Hendryx-Parker>Is this, is they calling it Nginx to shell?

00:27:26.300 --> 00:27:28.540
<v Michael Kennedy>They are calling it, oh, it does have a name.

00:27:28.670 --> 00:27:29.260
<v Michael Kennedy>It is,

00:27:29.900 --> 00:27:30.960
<v Michael Kennedy>no, it's Nginx to root.

00:27:31.180 --> 00:27:31.420
<v Calvin Hendryx-Parker>To root.

00:27:31.420 --> 00:27:31.740
<v Calvin Hendryx-Parker>Is his name.

00:27:32.280 --> 00:27:33.800
<v Calvin Hendryx-Parker>All the other ones were like to shell.

00:27:34.300 --> 00:27:35.180
<v Calvin Hendryx-Parker>Yeah, we already got to shell.

00:27:35.520 --> 00:27:36.280
<v Calvin Hendryx-Parker>Nginx got to be different.

00:27:36.680 --> 00:27:36.800
<v Michael Kennedy>Yeah,

00:27:36.960 --> 00:27:37.020
<v Michael Kennedy>yeah.

00:27:37.200 --> 00:27:37.780
<v Michael Kennedy>And this is actually,

00:27:38.220 --> 00:27:39.480
<v Michael Kennedy>there's in this thing I'm linking,

00:27:39.600 --> 00:27:41.160
<v Michael Kennedy>there's only two vulnerabilities listed,

00:27:41.440 --> 00:27:44.540
<v Michael Kennedy>but there's actually five CVEs that you need to patch.

00:27:45.260 --> 00:27:46.620
<v Michael Kennedy>So stay on top of it, folks.

00:27:47.200 --> 00:27:49.600
<v Michael Kennedy>If you're running out of the Docker Nginx container,

00:27:49.820 --> 00:27:50.680
<v Michael Kennedy>the new one has it fixed.

00:27:50.900 --> 00:27:52.440
<v Michael Kennedy>But if you don't update your container,

00:27:52.840 --> 00:27:54.400
<v Michael Kennedy>it's still the old one and it's not good.

00:27:54.760 --> 00:27:56.340
<v Michael Kennedy>So just if you're running Nginx,

00:27:56.730 --> 00:27:57.620
<v Michael Kennedy>please pay attention to this.

00:27:57.880 --> 00:27:57.980
<v Michael Kennedy>Otherwise,

00:27:58.130 --> 00:27:58.600
<v Michael Kennedy>don't worry about it.

00:27:58.900 --> 00:27:59.140
<v Michael Kennedy>Really quick,

00:27:59.640 --> 00:27:59.880
<v Michael Kennedy>Lady Bird.

00:27:59.930 --> 00:28:00.800
<v Michael Kennedy>Are you familiar with Lady Bird?

00:28:01.540 --> 00:28:01.620
<v Calvin Hendryx-Parker>Yes,

00:28:01.910 --> 00:28:02.780
<v Calvin Hendryx-Parker>I saw those in our post.

00:28:02.900 --> 00:28:04.060
<v Calvin Hendryx-Parker>Someone mentioned it in Art Slack too.

00:28:04.420 --> 00:28:05.120
<v Michael Kennedy>Yeah, Lady Bird,

00:28:05.280 --> 00:28:05.760
<v Michael Kennedy>the browser.

00:28:06.560 --> 00:28:09.120
<v Michael Kennedy>Could we have more than just Chrome and maybe Firefox?

00:28:09.200 --> 00:28:14.380
<v Michael Kennedy>you know what I mean yes someone else is building one and it's interesting this is from scratch I

00:28:14.480 --> 00:28:20.040
<v Michael Kennedy>think it's also in rust if I remember rust or go or something some memory safe native language if I

00:28:20.260 --> 00:28:24.880
<v Michael Kennedy>remember correctly but anyway it's an alpha you can go try it read the announcement and uh that's

00:28:24.890 --> 00:28:29.840
<v Michael Kennedy>it we're ready for an unnamed joke what do you think about that an unnamed joke oh I'm not even

00:28:30.020 --> 00:28:33.760
<v Michael Kennedy>right I'm not ready for this no I don't even know what to call it no actually it's just I didn't put

00:28:33.760 --> 00:28:39.160
<v Michael Kennedy>it in the show notes right so here's a a very fun picture oh I gotta log in so I'll just do it like

00:28:39.180 --> 00:28:42.320
<v Michael Kennedy>how tech people and AI people and just other,

00:28:42.760 --> 00:28:43.400
<v Michael Kennedy>not just tech people,

00:28:43.520 --> 00:28:46.580
<v Michael Kennedy>but just how different groups of tech people see each other.

00:28:46.700 --> 00:28:47.360
<v Michael Kennedy>This is really fun.

00:28:47.650 --> 00:28:49.780
<v Michael Kennedy>So it's got a grid of software engineers,

00:28:50.160 --> 00:28:50.600
<v Michael Kennedy>data scientists,

00:28:50.780 --> 00:28:51.280
<v Michael Kennedy>AI engineers,

00:28:51.820 --> 00:28:52.260
<v Michael Kennedy>prompt engineers,

00:28:52.580 --> 00:28:52.900
<v Michael Kennedy>and DevOps.

00:28:53.410 --> 00:28:55.940
<v Michael Kennedy>And then it has like the cross product of that.

00:28:55.950 --> 00:28:58.800
<v Michael Kennedy>So you can see what software engineers think of DevOps engineers.

00:28:59.200 --> 00:29:00.720
<v Calvin Hendryx-Parker>It's not what my mom thinks I do,

00:29:01.200 --> 00:29:02.620
<v Calvin Hendryx-Parker>you know, what I actually do.

00:29:02.900 --> 00:29:04.740
<v Michael Kennedy>Unless your mom's a DevOps engineer, you don't know.

00:29:06.140 --> 00:29:07.200
<v Michael Kennedy>So like, for example,

00:29:07.380 --> 00:29:11.960
<v Michael Kennedy>software engineers think of DevOps engineers as server babysitters.

00:29:12.480 --> 00:29:12.700
<v Michael Kennedy>Whereas,

00:29:13.020 --> 00:29:14.380
<v Michael Kennedy>let's see,

00:29:14.720 --> 00:29:18.100
<v Michael Kennedy>DevOps engineers think of software engineers as bug factories,

00:29:18.560 --> 00:29:20.640
<v Michael Kennedy>or the data scientists are GPU holders.

00:29:20.860 --> 00:29:21.140
<v Calvin Hendryx-Parker>Accurate,

00:29:21.300 --> 00:29:21.600
<v Calvin Hendryx-Parker>accurate.

00:29:22.900 --> 00:29:27.500
<v Michael Kennedy>Software engineers perceive the prompt engineers as professional typists.

00:29:29.880 --> 00:29:31.400
<v Michael Kennedy>Data scientists, the AI engineers,

00:29:31.600 --> 00:29:32.520
<v Michael Kennedy>model salesmen.

00:29:33.240 --> 00:29:34.840
<v Michael Kennedy>Oh, there's so many good ones here.

00:29:36.180 --> 00:29:40.360
<v Michael Kennedy>that's pretty good yeah the ai engineers see the software developers as the legacy keepers

00:29:40.610 --> 00:29:46.120
<v Calvin Hendryx-Parker>and then so what do software developers see software developers as i can't see the diagonal

00:29:46.580 --> 00:29:50.100
<v Michael Kennedy>yeah yeah yeah they're real builders uh of course yeah let's go down the diagonal you're right we

00:29:50.100 --> 00:29:54.800
<v Michael Kennedy>got to go down the diagonal so software engineers see this is all how people see themselves software

00:29:54.920 --> 00:29:59.800
<v Michael Kennedy>engineers real builders data scientists math geniuses with like a normal distribution and

00:29:59.820 --> 00:30:00.620
<v Michael Kennedy>Einstein in the picture.

00:30:01.500 --> 00:30:02.860
<v Michael Kennedy>AI engineers are future builders.

00:30:03.600 --> 00:30:05.620
<v Michael Kennedy>Prompt engineers are AI whisperers.

00:30:06.580 --> 00:30:10.940
<v Michael Kennedy>And DevOps engineers are keeping it alive. And they're like a fireman's outfit.

00:30:11.580 --> 00:30:12.700
<v Calvin Hendryx-Parker>That one's actually true.

00:30:13.360 --> 00:30:13.920
<v Michael Kennedy>That is true.

00:30:14.280 --> 00:30:17.060
<v Michael Kennedy>Prompt engineers see DevOps people as cloud wizards.

00:30:17.780 --> 00:30:19.060
<v Michael Kennedy>AI engineers is the launch crew.

00:30:19.300 --> 00:30:20.500
<v Michael Kennedy>Data scientists are the pipe fixtures.

00:30:20.880 --> 00:30:22.560
<v Michael Kennedy>And anyway, it's fun.

00:30:22.960 --> 00:30:23.200
<v Calvin Hendryx-Parker>Nice.

00:30:23.380 --> 00:30:24.980
<v Calvin Hendryx-Parker>That's awesome, Michael. Thank you for that.

00:30:25.300 --> 00:30:25.400
<v Michael Kennedy>Yeah,

00:30:25.720 --> 00:30:26.240
<v Michael Kennedy>everyone check out this.

00:30:26.800 --> 00:30:29.840
<v Michael Kennedy>There's a lot of combinations you can go play with to enjoy this.

00:30:30.220 --> 00:30:31.560
<v Michael Kennedy>Well, I sure enjoyed it.

00:30:31.960 --> 00:30:32.220
<v Michael Kennedy>Calvin,

00:30:32.620 --> 00:30:33.560
<v Michael Kennedy>thank you as always.

00:30:34.200 --> 00:30:34.320
<v Michael Kennedy>Yeah.

00:30:34.760 --> 00:30:36.700
<v Michael Kennedy>And thank you to Long Link for supporting the show.

00:30:36.920 --> 00:30:39.400
<v Michael Kennedy>And thank you to everyone out there who is listening.

00:30:39.580 --> 00:30:39.900
<v Calvin Hendryx-Parker>You see him.