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

#470: A Jolting Episode

Published Mon, Feb 23, 2026, recorded Mon, Feb 23, 2026
Watch this episode on YouTube
Play on YouTube
Watch the live stream replay

About the show

Sponsored by us! Support our work through:

Brian #1: Better Python tests with inline-snapshot

  • Alex Hall, on Pydantic blog
  • Great for testing complex data structures
  • Allows you to write a test like this:

    from inline_snapshot import snapshot
    def test_user_creation():
        user = create_user(id=123, name="test_user")
        assert user.dict() == snapshot({})
    
  • Then run pytest --inline-snapshot=fix

  • And the library updates the test source code to look like this:

    def test_user_creation():
        user = create_user(id=123, name="test_user")
        assert user.dict() == snapshot({
            "id": 123,
            "name": "test_user",
            "status": "active"
        })
    
  • Now, when you run the code without “fix” the collected data is used for comparison

  • Awesome to be able to visually inspect the test data right there in the test code.
  • Projects mentioned

Michael #2: jolt Battery intelligence for your laptop

  • Support for both macOS and Linux
  • Battery Status — Charge percentage, time remaining, health, and cycle count
  • Power Monitoring — System power draw with CPU/GPU breakdown
  • Process Tracking — Processes sorted by energy impact with color-coded severity
  • Historical Graphs — Track battery and power trends over time
  • Themes — 10+ built-in themes with dark/light auto-detection
  • Background Daemon — Collect historical data even when the TUI isn't running
  • Process Management — Kill energy-hungry processes directly

Brian #3: Markdown code formatting with ruff

  • Suggested by Matthias Schoettle
  • ruff can now format code within markdown files
  • Will format valid Python code in code blocks marked with python, py, python3 or py3.
  • Also recognizes pyi as Python type stub files.
  • Includes the ability to turn off formatting with comment [HTML_REMOVED] , [HTML_REMOVED] blocks.
  • Requires preview mode
    [tool.ruff.lint]
    preview = true
    

Michael #4: act - run your GitHub actions locally

  • Run your GitHub Actions locally! Why would you want to do this? Two reasons:
    • Fast Feedback - Rather than having to commit/push every time you want to test out the changes you are making to your .github/workflows/ files (or for any changes to embedded GitHub actions), you can use act to run the actions locally. The environment variables and filesystem are all configured to match what GitHub provides.
    • Local Task Runner - I love make. However, I also hate repeating myself. With act, you can use the GitHub Actions defined in your .github/workflows/ to replace your Makefile!
  • When you run act it reads in your GitHub Actions from .github/workflows/ and determines the set of actions that need to be run.
    • Uses the Docker API to either pull or build the necessary images, as defined in your workflow files and finally determines the execution path based on the dependencies that were defined.
    • Once it has the execution path, it then uses the Docker API to run containers for each action based on the images prepared earlier.
    • The environment variables and filesystem are all configured to match what GitHub provides.

Extras

Michael:

Joke: Plug ‘n Paste

Episode Transcript

Collapse transcript

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

00:05 This is episode 470. I know what we're doing.

00:11 And it is Monday, February 23rd, 2026. I'm Michael Kennedy.

00:16 And I'm Brian Okken.

00:17 This episode is brought to you by us.

00:19 We have many interesting things available or in the works that we're going to be announcing.

00:23 I know, Brian, you're working on your Lean TDD book.

00:27 I just released Command Book, which ironically is not actually a book.

00:31 But other things, obviously our courses and so on.

00:34 So seriously, we put this stuff out here because we think it's a perfect complement to the podcast.

00:39 And we'd really love if you'd consider it as part of your learning, reading and so on.

00:43 Also consider signing up to the newsletter.

00:45 We've got a bunch of people enjoying the newsletter.

00:47 We put a lot of effort into it to generate extra info, background info, more links, not just, hey, we're emailing our show notes out.

00:55 Isn't that inventive?

00:56 No, we're doing extra.

00:57 And Brian is spearheading that.

00:59 So thank you for doing that, Brian.

01:01 And yeah, connect with us on the social.

01:04 Subscribe here on YouTube if you're interested in catching the live show.

01:08 Just go Python by Statofilm slash live.

01:10 Click the link.

01:11 Crush the bell.

01:12 You know, so that way you actually get a pop-up when we're streaming live like we are right now.

01:16 And with that, I think I want to talk about inline snapshots.

01:21 What do you think, Brian?

01:21 Yeah, sure.

01:22 Let's zoom in.

01:25 Or in.

01:25 I don't know.

01:26 Sure.

01:27 Somehow.

01:28 Somehow.

01:29 Somehow.

01:29 Wow.

01:30 So I'm going to cover, and this is a fun article, actually, from the Pydantic blog from Alex Hall.

01:38 And the article is Better Python Tests with Inline Snapshot.

01:42 And actually, it's that.

01:44 But it's also kind of a peek at how Pydantic is doing some of their testing.

01:49 And, you know, it would be, it's not a bad idea to try to emulate Pydantic because they've been doing great.

01:55 So anyway, let's dive into what they're talking about here.

02:00 The problem is the maintaining test data for complex data structures and how you compare.

02:08 So their example is like create a user with an ID of 23 or 120.

02:14 Anyway, test a name and an ID, and then checking to make sure that it really is, you know, getting the data, the object, and validating that it's correct, that some action happened.

02:28 This is all cool and all, but it's not really, it's hard to fill that in.

02:33 And if you have tests like that all over the place, it's hard to make sure that they're up to date and everything.

02:38 So there's a lot of ways that people have done, attacked this problem before.

02:43 Like they give a shout out to Syrupy, which is a cool project also.

02:48 One of the, and so one of the issues, okay, so one of the issues is, let's say you've got a bunch of stuff.

02:54 You want to, you know, these systems working right now.

02:56 This is kind of how the workflow is.

02:58 You know, it's working because of other testing or manual testing or whatever.

03:02 And you want to like just save a bunch of, have some tests and save what the output is and then test against that.

03:09 Like a known, known input and the, you know, it's working.

03:14 So grab the output and compare the two.

03:16 And that's the sort of the model.

03:18 And with Syrupy, it saves that in an, in an external file, but with inline snapshot, it saves it right in your test.

03:25 So I'm going to take a look.

03:26 Like you, you start out with like an empty snapshot with an empty bracket, and then you run the test with inline snapshot equals fix.

03:34 So it's like fixing the snapshot or fixing them in place.

03:37 And then it, it actually goes out and changes your test and fills in that little template bracket with data that you can compare with, with whatever you want.

03:49 And that's actually pretty awesome.

03:51 It just like turns the, turns the user, like some data structure into a dictionary or whatever, take a data structure, snapshot that, and then you can run with it.

03:59 There's a few reasons why I kind of really love this.

04:02 One of the things is just maintenance.

04:05 If you're like before and after a big change refactoring, you can like set some of these up and, and then like refactor and then go back and make sure everything's, you didn't intend to change anything.

04:16 You want to make sure things change.

04:18 And then sometimes you do want to change like lots of the data structure.

04:22 And, and then you can like having the, this right in line with your tests, you can have that, like go through a code review and manually inspect the test and say, yes, this is actually what I want it to look like.

04:38 The danger is if you don't manually inspect, then you're not going to, you're just believing whatever's there.

04:44 It's then it's, then your tests just become a change detector test and nothing else.

04:48 And there's, you know, sometimes there's a place for that.

04:50 So anyway, a great article about snapshot testing.

04:54 But I also do want to shout out to a lot of the other tools that they bring up in this article.

04:58 So I'm going to go through some of them.

05:00 There's, there's the pytest Examples, which is the plugin that they're talking about with this inline examples.

05:09 There is inline, wait, no, this is another tool.

05:13 So pytest Examples is another tool that they've got.

05:15 And that's pretty cool.

05:16 So the inline snapshot is, is this, this tool that we're talking about.

05:22 And then there's Syrupy, which isn't a bad tool.

05:25 And if that's better for your workflow, take a look at that as well.

05:29 And that's very popular.

05:30 And then there's a dirty equals, which is a fun, I should probably cover this at some other point if I haven't already.

05:37 A fun, almost equal sort of a thing.

05:40 So you can do things like, is the number positive?

05:42 And, and there's a whole bunch of other extra things around comparisons that are not exact comparisons that are kind of fun.

05:49 And then, and then a shout out to a thing called executing, which is being able to, it says a mini package that lets you get information about what frame is, what the frame is currently doing.

06:01 So about their current execution frame in Python, which is, I've never had a need for that, but it's kind of interesting.

06:07 So anyway, shout out to that great article.

06:09 Lots of tools.

06:09 That might be interesting for like low effort logging and stuff, you know, enhancing test output or just logging in general.

06:16 It's like, I got an error.

06:18 I want to just say, well, what parameters were supplied to this function and who called it?

06:23 Maybe something like that, just an automatically add that to the test output or something like that.

06:27 Yeah.

06:27 There might be some cool, fun things for logging the execution frame.

06:31 Yeah.

06:32 Yeah.

06:32 Nice.

06:33 That's a bunch of, a bunch of cool tools.

06:34 I love the idea too.

06:35 I like this.

06:36 Now let's jump over here.

06:39 I want to talk, I want to shock you, Brian, with this, but I want to talk about Jolt.

06:43 Okay.

06:44 So Jolt is a TUI, a pretty sweet TUI actually, which is battery intelligence for your laptop.

06:51 Okay.

06:51 So this is not really a Python tool, but it's certainly a tool that Python people could love.

06:55 Right.

06:55 It's kind of a developer oriented thing.

06:58 Right.

06:58 So it says battery intelligence for your laptop, real time power monitoring process, energy tracking, battery health insights, all in your terminal.

07:07 And it works on macOS and Linux.

07:09 Okay.

07:09 Sorry, windows folks.

07:10 You may be able to do this in a windows subsystem for Linux though.

07:13 I have wouldn't, I wouldn't bet on it.

07:16 I'm not sure.

07:16 So it's easy.

07:17 You just brew install it or whatever, however you like.

07:19 And it's, they've got kind of a picture here, but honestly the picture is not as inspiring as maybe the reality.

07:25 So before I tell you more, let me switch over to my laptop, which actually has it running here.

07:30 And notice it's got a huge green bar, which is how much battery I got left.

07:35 But it also tells you I'm on battery.

07:37 It's been on battery for three hours and 27 minutes and it has three hours and 40 minutes left.

07:42 Yes, it's a MacBook Air.

07:43 It should last longer, but it's doing a lot of stuff.

07:45 As you'll see.

07:46 It gives you stuff about the health.

07:47 Like how many times has it been charged?

07:48 176.

07:49 What is the temperature?

07:50 What is its current energy draw or how much energy actually contained in it and its health?

07:55 It shows you power of your machine.

07:57 So right now my laptop is using 8.8 watts of power.

08:01 The CPU is 1.5.

08:02 The GPU is like basically nothing.

08:04 I bet you it's mostly screen if I had to guess.

08:06 And then it gives you all your processes.

08:08 So you can see the Vivaldi is the most significant impact here at like 57% CPU because I have it screen sharing back.

08:16 That's why we can look at it, right?

08:17 It's got Claude, it's got Firefox, PortKiller, which I talked about.

08:21 I had PortKiller open last night to do a CloudFlare tunnel for a project and just didn't shut it down.

08:27 And it's like parsing the state of the system a lot to get its things, which is cool.

08:30 And it's got this like moving graph at the bottom of your energy consumption temperature.

08:35 You can like toggle through these things.

08:37 How do I like toggle to like battery percentage over time, watt over time.

08:40 There's like all these things you can do.

08:43 What do you think?

08:43 I think this is great.

08:44 I'm going to go install this on my laptop, right?

08:47 Right away.

08:48 Yeah, it's just brew install jolt-ish.

08:50 Let me actually read it so it doesn't give you something terrible if you were to actually do that.

08:54 You know what I mean?

08:55 Yeah.

08:55 It is.

08:57 You got to do, you got to tap.

08:59 Whatever it is you tap, you got to do brew install Jordan D slash tap slash jolt.

09:04 Not just straight jolt.

09:05 Anyway, I think it's pretty neat.

09:06 So yeah, there it is.

09:08 Yeah.

09:09 And apparently it can work in Windows.

09:13 We've got somebody said just installed.

09:16 Oh, Pat.

09:16 Yeah.

09:16 Pat Decker just installed it under WSL in Windows and it doesn't work.

09:20 Pat, thank you for the real time follow up.

09:21 That's fantastic.

09:23 And to get it installed, use curl install.

09:26 Sure.

09:27 Yeah, I probably would have done that on Linux as well.

09:29 Yeah.

09:30 So this looks great.

09:32 It's really neat.

09:32 Just as like a what is my system doing, even though it's kind of centered around battery,

09:37 it's pretty cool actually.

09:38 Yeah.

09:39 And with laptops, that's mostly what you care about.

09:43 It's like, how is this impacting my battery?

09:47 Yeah, exactly.

09:48 Exactly.

09:48 Anyway, people can check that out.

09:50 I thought it's a little bit of just a tool rather than a library, but I thought it was fun.

09:54 Yeah, nice.

09:55 It's not rough.

09:55 It wasn't that rough anyway.

09:57 It's not that rough.

09:58 Yeah.

09:58 So let's talk about rough.

10:00 Nice, nice transition there.

10:02 So we, of course, have talked about rough several times and lots of other things around

10:08 it.

10:09 But we're going to talk about it a little bit more because Matthias, and sorry, Matthias,

10:14 I'm not going to try to pronounce your last name.

10:16 So a listener sent us in, said, hey, you should check this out because now you can format because

10:24 if you do rough check for it's linting, but it does a lot of formatting as well, or it can, but you can also do Ruff format.

10:34 And so both of those things you can now point those at, I think it's for both of them, can point it at markdown files.

10:42 So yes, yes.

10:44 And so for, I mean, it's not just documentation because I'm like, we're writing books and stuff like that with markdown.

10:52 So I'm definitely going to point this at some book type code and blogs, of course, lots of blog, shortened in markdown.

11:02 Anyway, so some of the cool features of this is that you can also turn it off for parts of it.

11:08 So if there's like, if you want to show an example of bad code, you probably don't want rough to reformat that for you.

11:16 So there's ways to turn it off.

11:18 That's interesting.

11:18 Don't do this.

11:19 And it gets fixed.

11:20 You're like, no.

11:21 Yeah.

11:22 So there's some tricks around it, though.

11:25 So for turning it off, there's a format off and on.

11:29 And apparently there's like some other, there's something else that you could turn it off and on.

11:33 But like, if you're in the habit of just doing code blocks with just three ticks, it's not going to cut it because it's looking for what it's looking for those.

11:43 What are those identifiers?

11:45 I don't know what you call that.

11:46 The little thing after the three ticks to tell you what language.

11:49 Yeah.

11:49 Whatever the language designation is.

11:51 Yes.

11:51 But there's a few.

11:52 They do PY, Python, Python 3, PY3.

11:58 Interesting.

11:58 People are still using that.

11:59 It probably does that because it needs to know what language it is to decide how to format it.

12:03 Yeah.

12:04 I mean, it shouldn't try to format like, you know, Rust as if it's Python, I guess.

12:09 Yeah, exactly.

12:10 Also, these semicolons are unnecessary.

12:12 We took them away.

12:13 And the way rough works is through pulling it into the abstract syntax tree and outputting it again.

12:23 So it has to actually be valid Python.

12:25 If you have invalid Python that won't parse, it's not going to figure that out.

12:31 So it won't, I don't think it errors.

12:34 It just doesn't do those.

12:36 So if you're going to get it.

12:36 Anyway.

12:37 And there's a preview mode.

12:38 That's kind of neat that you can say, hey, what would you do for this?

12:43 But, you know, frankly, I would just have it in Git and let it go.

12:47 And then you can do the diffs to see what it did.

12:50 So cool, cool thing there.

12:53 And I'm pretty excited about that.

12:54 One of the interesting bits is that it also does PYI files.

12:59 So it will format.

13:01 What are those?

13:02 Type files?

13:02 Type files, yeah.

13:04 Yeah.

13:04 So just a fun little tool.

13:07 The caveat is this feature is only available in preview mode.

13:12 And I didn't know what that meant.

13:13 So I had to look it up.

13:14 So preview mode means it doesn't mean you have to install anything different,

13:17 but you have to enable preview mode by setting in one of your settings files.

13:22 You have to say preview equals true.

13:24 Oh, interesting.

13:25 Like your ruff.toml or pyproject.toml.

13:27 Yeah.

13:27 Or you can pass --preview in the command line, apparently.

13:31 So you get that.

13:33 Or you could download the source and recompile rough and then make that the default.

13:36 Sure.

13:38 Just kidding.

13:39 Yeah.

13:40 There's a thousand ways to skin the cat as it goes.

13:43 Please don't skin my cat.

13:44 As morbid as that statement may be, there are many ways to do it.

13:48 It's terrible.

13:50 All right.

13:50 So let's go to the cloud.

13:52 To the cloud.

13:53 So I want to talk about GitHub actions.

13:55 So here's the deal.

13:56 I have some GitHub actions.

13:58 Maybe they format my markdown.

14:00 Maybe they run my tests.

14:01 Maybe they check against other things.

14:03 Maybe they integrate with who knows what, right?

14:05 There's a ton of GitHub actions.

14:06 So how do you do that?

14:08 Well, maybe you create a feature branch and you commit and then you wait for your project

14:13 to not be busy and then GitHub runner to pick it up and run it.

14:16 And then you pay your fee for the GitHub runner to run your thing while you're waiting.

14:19 Your computer's idle.

14:20 You could use jolt to see like that.

14:22 It's not doing anything.

14:23 So there's this thing I found called act.

14:25 Neck, neck, toes, slash act.

14:28 So neck, toes is the person create.

14:30 It's a little bit popular.

14:31 69,000 GitHub stores, 2,000 forks.

14:35 Wow.

14:35 Have I heard of it?

14:35 Have you heard of this?

14:36 I think.

14:38 Maybe.

14:38 Rings a bell.

14:39 Okay.

14:40 Maybe we even covered it like 10 years ago.

14:42 Anyway.

14:42 So the idea is you can run your GitHub actions locally on your computer using nearly the same

14:47 infrastructure.

14:48 So you don't have to pay for them.

14:50 You don't have to wait on them.

14:51 You don't have to.

14:52 One of the problems is you've got to make a commit.

14:54 Like maybe you're not ready to commit.

14:55 You're like, I actually want to see what the GitHub action result would be before I do commit

14:59 it.

15:00 You know what I mean?

15:00 Yeah.

15:01 Yeah.

15:01 So what you do is it, this thing reads your GitHub workflow and your environment variables

15:06 and all that based on what you have set there.

15:09 And then it uses a local hash runner.

15:11 So basically sets up a Docker thing to run.

15:15 Right?

15:15 So if I scroll down here a little bit, it says reads those, then it uses the Docker API

15:21 to pull the necessary image to find any workflow files.

15:25 You can see the little thing running right down below.

15:27 And then sets up the execution paths.

15:29 Then it runs each container based on all the stuff that you have set in your action.

15:34 Right?

15:34 So it just basically runs here and off it goes.

15:36 You can see like it gives you little like reports on how that went and so on.

15:41 Did they pass and so on.

15:43 So I think this is pretty cool.

15:45 Yeah.

15:45 I think it's cool too.

15:46 I wonder if there's something like this for GitLab.

15:49 Hmm.

15:51 GitLab Act.

15:52 I wonder how similar the actions are.

15:54 Like I've not set up GitHub Actions very much on GitHub and not at all on GitLab.

15:59 And so maybe if they're basically file compatible, it's good enough.

16:03 Because this doesn't actually use anything about GitHub either.

16:05 It just says what are the Docker images and commands and stuff like that.

16:10 Yeah.

16:11 So it may work.

16:13 Yeah.

16:13 So this is definitely cool.

16:15 It is kind of a pain to try to debug GitHub Actions, figure out what's going on.

16:20 So yeah.

16:20 Yeah.

16:21 Definitely check this out.

16:22 Awesome.

16:23 So what is the story on the extras?

16:26 Do we have extras?

16:28 I just have one.

16:30 And I didn't before we started the show.

16:32 I know.

16:32 I thought you had no extras.

16:33 But now I'm hearing you have extras.

16:35 What's the deal?

16:35 There were none in the notes.

16:37 So I'll just do a quick one.

16:39 So you brought up the book Lean TDD at the beginning of one of the books.

16:44 Yeah.

16:44 One that's actually a book.

16:46 So I had started.

16:47 Yeah.

16:48 So Lean TDD, I just want to give a status update.

16:51 Not much has happened.

16:53 There's a lot happening, but it's all up here.

16:55 So one of the reasons why I released it.

16:57 So the first draft is done and it's out.

17:00 And it's actually not really a first draft.

17:01 It's probably second or third that's released.

17:04 But I'm reading it now.

17:07 And I definitely want to change the first couple chapters.

17:11 And I know it's a dry subject.

17:14 But if I'm having trouble reading it because it's a little dry, now I should be selling it more.

17:19 I'm like, no, it's super exciting.

17:21 No, it needs to be more exciting than it is.

17:24 Because I am excited about the topic.

17:26 But the initial start of it is a little rough to get started in the book.

17:32 So I do want to make it a little more exciting.

17:35 And so there's been a lot of notes, but it's all been on paper.

17:39 So I am still working on it.

17:41 It doesn't look like that.

17:42 If you've grabbed a copy, thank you.

17:45 It's helped motivate me.

17:47 I've had quite a few people grab copies.

17:49 And things are moving.

17:52 It just doesn't look like it from the outside.

17:53 So anyway.

17:55 And Mike, the man, says, you're going to write lean BDD?

18:01 Well, behavior-driven development and acceptance test-driven development

18:06 are covered in the book.

18:07 I kind of lump those together as well.

18:10 And Mike, if you're a BDD kind of person, I'd love to talk with you more about it.

18:16 That's my extra is not much news.

18:19 OK.

18:19 Yeah, very, very cool.

18:20 Neat.

18:21 I know how this goes.

18:22 You're like, ah, it's good.

18:23 They're like, no, no, no.

18:25 I've got to do this again.

18:26 I have this project.

18:26 I rewrote it three times already.

18:28 It's driving me crazy.

18:29 But I think it's good now.

18:30 It's finally the third time.

18:31 All right.

18:32 Savannah Ostrowski says, stoked to share that the steering council has accepted PEP 814.

18:40 What is PEP 814, you might ask?

18:42 Well, that means winter is coming.

18:45 Winter is coming.

18:46 Why?

18:46 Well, because PEP 814 is frozen dicked.

18:51 Frozen dicked.

18:51 That was a bad joke.

18:52 No, it was so bad it was good, I think.

18:55 No, anyway.

18:56 The idea is that we've got frozen set.

18:59 We've got other types of frozen containers and data structures.

19:04 But we didn't have frozen dictionary.

19:06 So the idea is it's a read-only, right?

19:09 So you create a thing.

19:10 You want to be able to return it from a function or share it and have an absolute guarantee that people are not changing it, right?

19:17 Adding or moving items, keys, and so on.

19:19 I don't think that really applies to stuff referenced in there.

19:23 So if you put a list as a value and then you go and, like, get the point of the list, you probably can still change it.

19:28 But, you know, like, I guess it depends.

19:30 If you fill it with only other frozen stuff, it's frozen all the way down.

19:33 But it's really cool because it allows better concurrency.

19:35 This is something we're going to be paying more attention to in the future as Python T starts, you know, free-threaded Python starts to become a thing.

19:42 You're like, well, I hate all this locking we have to do in these race conditions.

19:46 Like, well, if you can't change it, you don't need to lock on it.

19:48 You know what I mean?

19:49 So that's very cool.

19:50 I don't want to add any more than that, but it will be in Python 3.15.

19:54 Now in the audience, Kiva Birb says, oh, that is excellent.

19:58 We'll definitely be using this all the time for default prams.

20:00 Oh, you know what?

20:01 That is a really interesting idea for default prams.

20:03 Yes.

20:04 I hadn't really considered it there.

20:05 Yes.

20:06 Yeah.

20:06 Okay.

20:06 And then a little bit of Django.

20:09 Also, please wear pants.

20:10 I guess.

20:11 It's just, I don't know what that reference is, but.

20:14 I don't either.

20:16 Okay.

20:16 So Jeff Triplett posted on Mastodon in response to Paolo Melichori saying, I just published

20:23 the first article in a new series of my blog, Django ORM standalone.

20:28 And Jeff and Mario and I were just talking about this that same week.

20:33 And like, would it be cool if you could use the Django ORM without Django?

20:37 Right.

20:37 So maybe I've got a Django project, but I also have a little library I just want to run

20:41 and also talk to the database.

20:43 And I don't want to have a separate data access layer.

20:45 I just want to have my models and a script and I don't care about the web side of things.

20:50 So basically that's Django standalone, right?

20:52 Because any large project is going to have to start to have like different flavors and

20:57 utilities and aspects, maybe daemons.

20:59 Like they don't all have to run the web app, you know, they all shouldn't run the web app.

21:03 So anyway, give it a little shout out to this article here.

21:06 Yeah.

21:06 Or even like if you want to do a FastAPI plus using the Django ORM.

21:11 Yeah, exactly.

21:11 If you want to use the ORM on another web, like maybe you really love the Django ORM,

21:16 but you also love Flask.

21:17 Well, here you go.

21:18 Let's do it.

21:19 Hmm.

21:20 That's exciting.

21:21 Okay.

21:21 I talked about command book, this sort of long running, this, this home for long running

21:28 terminal commands, like commands.

21:30 I want to run for three hours, like start up the web server and the daemon and the tail

21:33 and just leave it.

21:34 And if I accidentally close my terminal, I don't want them to go away.

21:37 I don't want to clutter up my terminal.

21:39 Right.

21:39 Fun little app.

21:40 There's a free version, free aspect and paid aspect, personal license and beyond.

21:44 But I finally got around to writing up the motivation of like, why does this exist?

21:48 Here's, here's how it works.

21:50 Here's why I created it.

21:50 And so on.

21:51 So I linked to the blog posts.

21:52 It says a five minute read according to my own website.

21:55 So you should do that.

21:56 Plus like a little how to guide and everything and make a book out of it.

22:01 It could be a command book book.

22:03 A command book book or command book squared.

22:06 I mean, let's go.

22:06 Which was, how do we want to do this?

22:08 Yeah.

22:08 How do we want to do this?

22:09 All right.

22:10 I think we're ready for our joke.

22:12 And this joke is called plug and paste.

22:14 Is it a plug and play?

22:15 Do people still talk about plug and play anymore?

22:17 I don't know.

22:18 It was like windows 95 was such a thing.

22:20 Yeah.

22:21 That was like the big thing.

22:21 Like now with plug and play, you can just plug in the USB thing.

22:25 Anyway, sort of like that.

22:26 So here's the joke.

22:27 And let me set the stage.

22:28 Like, you know how people say, oh, we only use 20% of our brain or 30% of our brain.

22:33 And think how incredible humans could be if we could harness all of the power of the brain.

22:38 And I'm not really sure I really buy into that.

22:39 Like, do you really need to be using the running part of your brain and the part that controls thinking and the part that controls language?

22:47 Like that doesn't necessarily add capability.

22:49 Anyway, so that's what it's based on.

22:51 So there's this person sort of looking up like, whoa, what if we could use 100% of our brain?

22:56 And I think it's Morgan Freeman says, at work, a customer just tried to copy a document, unplug the mouse, and plug it back into another computer and paste it.

23:08 Maybe we got a little more foundational stuff to work on if we could use 100% of our brain.

23:15 Yeah.

23:16 What about 10%?

23:17 Can we use 10%?

23:18 Yeah.

23:19 You know that whole 100% of your brain thing is not real.

23:24 I can totally see that.

23:26 People were saying, on the average, people only use a small percentage of your brain.

23:31 That's not true.

23:32 We use all of it.

23:34 Yeah.

23:34 It's too costly to feed our brain if we weren't using all of it.

23:39 I mean, not everybody uses all of it.

23:41 I would say there's a range of engagement throughout society.

23:48 I think they're using it all.

23:49 They're just like, most of it's just doing reruns of The Simpsons, I think.

23:53 Well, yeah, yeah.

23:55 That's probably true.

23:56 I find that when somebody, if the photons from TikTok hit a person's face, it's like a beam that shuts down about half of the brain.

24:07 Like as the photons just strike the skin.

24:09 I was listening to, we're tangenting, yeah.

24:12 But I was listening to a podcast and there was an ad for TikTok on the podcast advertising how safe it is for kids because of all the safety features they've got.

24:23 And I'm like, that's insane.

24:25 It is insane.

24:26 So anyway.

24:28 Yeah.

24:29 That's a whole rant we can go on.

24:30 But I think that, I think like TikTok and this short form stuff, it's like really hurting people's attention span and ability to engage for extended periods of time.

24:40 Just watching my own kids.

24:41 Yeah.

24:42 Yeah.

24:43 Yeah.

24:43 I'll have to find the article.

24:44 I just found out that, that my wife found an article about how Gen Z is the first generation that's got a lower IQ than their parents.

24:54 I don't know.

24:56 But, you know, on average.

24:58 I would say maybe the tests are just given wrong.

25:00 Could they be given, the IQ test, could it be given as a TikTok series instead of, and then it would be, it might actually, they might crush it.

25:08 Seriously, I think it's like, it might not be an intelligence.

25:10 It might be a concentration thing.

25:12 It could be.

25:12 Yeah.

25:12 I don't know, but it's not, it's not a great sign.

25:15 Anyway.

25:16 Anyway.

25:16 I don't know.

25:17 How do we get into this?

25:17 I don't know.

25:18 I don't know.

25:18 How do we say your brain?

25:21 All right.

25:21 We're going to go use 100% of the brain to get this podcast ready and shipped to the world.

25:26 Everyone, thanks for being here.

25:27 Thanks.

25:27 Bye.

25:28 Bye.

25:28 Bye.


Want to go deeper? Check our projects