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


Transcript #393: Dare enter the Bash dungeon?

Return to episode page view on github
Recorded on Tuesday, Jul 23, 2024.

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

00:04 This is episode 393, recorded July 23rd, and I am Brian Okken.

00:10 And I'm Michael Kennedy.

00:11 If you'd like to watch the show live, you can catch us.

00:15 You can go to pythonbytes.fm/live and you can watch it live.

00:18 We'd love to have you on board.

00:21 Usually it's Pacific time, Tuesdays at 10 a.m.

00:24 Sometimes it changes.

00:26 And if you'd like to connect with us or offer, if you've got a topic that you'd like to have us cover, you can find out how to contact us on pythonbytes.fm.

00:35 Or you can follow all of us on Mastodon and Fosstodon.

00:40 So check out those links in the show notes.

00:42 Yeah.

00:43 Should we jump in?

00:44 Let's jump.

00:44 I think the first thing I want to talk about comes to us from Matt Wilkie.

00:51 And so Matt Wilkie suggested this cool project called Marimo.

00:55 Have you heard of it?

00:56 No.

00:57 Think Jupyter, as in Jupyter notebooks.

00:59 I feel like I'm on a vibe lately.

01:02 Last time I talked about Saturn, the Mac desktop application that was like a minimalist Jupyter notebook.

01:08 This is not that.

01:10 This is a what's called a reactive notebook.

01:13 And this actually solves one of the big pet peeves of mine about notebooks.

01:18 And notebooks are basically human selected go to statements, which is a little bit sus in the end.

01:26 I mean, it's great.

01:27 But I can go and say, I can go and run cell one, two, three, four, go back and edit cell two, but not run it.

01:34 Edit cell three.

01:36 And then run cell three.

01:38 And then you look at it.

01:39 And you have cell one, which ran cell two, which has data and it never ran.

01:43 And then old three, four, five, and then new three.

01:47 How do you visually know about that?

01:49 I mean, I guess there's a little number on the side that says one, two, three, four, five, right?

01:54 As you go back up.

01:55 But the ones that are not the latest numbers, those are not knowable effectively to you, right?

02:01 And so this concept of a reactive notebook is it understands the relationships of the cells and the pieces of data in the cells.

02:08 And so probably the best way here is to look at an example.

02:12 Okay.

02:12 If you go and look, let's see this one.

02:15 I'm going to see.

02:16 Come on, show me somewhere.

02:18 So for example, if I go, I don't know where I would find a good example for you.

02:21 Anyway, if I go and say in that cell three there, yeah, here we go.

02:25 They've got a cool example on their page.

02:27 If you go in there and you make some kind of change to a data cell, for example, if you say the number of items is 100,

02:34 and then you print out that number of items says, I'm sorry, a thousand, then it'll say, well, it's a thousand.

02:38 But if you go and edit, say, cell three, which then cell four is using some of the outputs from, and you make changes to it, it knows that.

02:47 And it automatically re-renders and re-executes that Python code that is in there.

02:50 And then you even have UI widgets, which you can put in and slide them around.

02:54 And every cell that depends upon that slider bound to that piece of data runs.

02:59 Oh, that's cool.

03:00 That's how I want it to work anyway.

03:01 Yeah.

03:02 Exactly.

03:03 Yeah.

03:03 Another big change here is there's some other things that are worth talking about here is it's also Git friendly in the sense that the notebook format.

03:13 So the notebook format for Jupyter, just keep contrasting it, right?

03:17 Is a JSON file that has the cell definition and then the cell output embedded in the JSON file.

03:24 And specifically because of the cell output, it can get pretty ugly in Git if you're not careful about clearing out the cell output every time.

03:32 Because if it just uses something like call an API and get the current data and that data changes, the output changes, and then you get weird merge conflicts like this graph conflicted with the old graph.

03:42 You're like, that's just the output.

03:43 What is going on here, right?

03:44 Yeah.

03:44 So this is a pure Python.

03:46 The notebook itself is stored as a pure Python thing that when you put into GitHub or any form of Git, honestly, it diffs like Python, right?

03:56 Okay.

03:56 So yeah, Python first design, reproducible by default because they're always executed in a deterministic order without hidden state.

04:06 The editor comes with GitHub Copilot, autocomplete.

04:10 Mm-hmm.

04:10 Mm-hmm.

04:11 Remember, Git, Jupyter Lab and Jupyter Notebooks.

04:15 In order to get the autocomplete to render, you've got to hit like a cord of keys.

04:20 It's not just typing.

04:21 That'll make it come up.

04:22 So pretty cool.

04:23 This one's for you, Brian.

04:24 Vim key bindings.

04:26 Yay.

04:26 Yeah, yeah.

04:28 And a VS Code extension.

04:29 So anyway, I think this is pretty neat.

04:31 And it is open source under the Apache 2 license.

04:35 It has 5.5,000 stars.

04:38 I don't mean to sound super negative on notebooks.

04:40 I think they've been transformative for data science.

04:43 But I do think some of the drawbacks, like I laid out at the beginning of basically like human selected go-to statements is really tricky.

04:51 And I definitely like the idea of a little bit more cohesion between the pieces.

04:55 Yeah.

04:56 And also just different takes on stuff that people build on each other.

05:00 I'm sure that if some of these ideas take off, maybe Jupyter will pick them up.

05:06 Sure.

05:06 And Christopher out there does have a valid point.

05:08 Wonder how it handles computationally heavy stuff.

05:10 Sometimes you don't want a cell to rerun quite yet.

05:13 Right?

05:13 You know, if it takes 10 seconds for something to rerender, re-update, and you're just trying to edit that code.

05:20 But I don't believe it rerenders until you render the cell that affects it.

05:26 Yeah.

05:26 But I mean, it still might be valid.

05:28 There might be times for both behaviors.

05:31 I can imagine like a time when, though, like if you're doing a demo where having it redo it automatically would be awesome.

05:39 Yeah.

05:40 Yeah.

05:40 Anyway, take it or leave it.

05:42 But there it is.

05:43 Mario.

05:43 Cool.

05:44 Reactive notebook for Python.

05:45 I want to talk about change a little bit.

05:49 Mostly a change log.

05:51 So wait, that wasn't really a good transition.

05:55 But yeah, whatever.

05:57 pytest has a new update.

06:00 Yay.

06:02 So pytest updates fairly regularly anyway.

06:05 But I'm really excited about 8.3 that came out just the other day because there was a flag that I worked on.

06:14 So there was in 8.0, there was in the 8.0 release.

06:19 I don't even remember when that was.

06:21 There was a change that I helped put in place that was to turn on tracebacks for X fails.

06:28 So this is sort of inside baseball stuff.

06:30 But if you expect a test to fail, it normally didn't produce a traceback.

06:35 But I added or I and a few other people worked on a feature to turn on tracebacks.

06:41 If you had the dash RX flag on, which means extra reporting for X fails.

06:47 I thought that made sense.

06:48 But it turned out that broke a whole bunch of people.

06:50 Sorry.

06:51 But it's fixed now again.

06:53 It's back to the normal behavior by default.

06:55 However, now there's a new flag called X fail dash TB that will turn those on.

07:01 So it turns on independent of the dash RX flag.

07:05 Those are separate now.

07:06 So I like the way this is here.

07:09 The other thing that I want to talk about.

07:12 So that's one of the features.

07:13 There's a bunch of new stuff also.

07:15 There's a change to keywords and markers.

07:19 And this is a little hard to quite get your head around, except for if you'd look at an example.

07:25 So the idea is that you used to be able to do a marker run, run a marker test or a marked test.

07:31 But you couldn't sometimes markers have parameters to them and you couldn't.

07:36 But the now basically just the just is now if there's a parameterized marker, you can specify that.

07:43 And there's a few, not all types, but a bunch of types are supported.

07:47 So I think we've got ints, strings, bulls and none.

07:51 So cool.

07:52 Yeah, very cool.

07:54 That's a cool feature.

07:55 And then the no fold skipped.

07:57 So apparently this was something that I didn't think I needed.

08:02 But now that I see it, I really am happy about it.

08:06 The idea was when you used to skip a test, it would tell you the file and line number.

08:12 I guess I didn't realize that.

08:13 But it wouldn't in the reporting, but short summary, but wouldn't tell you the name of the test.

08:18 And now you can turn on a no fold and it'll show you, I guess, more information and a bunch of other features.

08:27 I'm thinking a lot of this stuff came out of the, there was a recent pytest sprint that happened in Austria.

08:34 And I'm thinking maybe a lot of these features came out of there.

08:37 So cool, cool progress on pytest.

08:40 Oh, that's a big news.

08:41 Very big news.

08:42 So love to see it moving along.

08:44 Yeah.

08:45 Would you say it's the de facto testing framework for Python?

08:48 Are you still all about unit tests?

08:50 I'm all about pytest.

08:53 I don't hear much.

08:55 There are some other fun ones coming up that I've looked at a little bit.

09:00 But pytest is the big behemoth now.

09:02 Yeah, for sure.

09:03 It's not a big piece of code.

09:06 It's just most people are using it as far as I can tell.

09:09 Yes, indeed.

09:10 Awesome.

09:11 All right.

09:12 First of all, a bit of real time follow up.

09:13 Chris answering his own questions.

09:15 Oh, look in the docs there.

09:16 It's a way to mark sales as stale if they're too expensive.

09:18 Oh, cool.

09:19 Nice.

09:19 Yeah.

09:20 Excellent.

09:20 Now let's move on to Pittsburgh, Austria, where we can talk about the Python Language Summit

09:27 2024.

09:28 This happened at PyCon 2024 in the US.

09:33 And this happens every year.

09:35 It occurs just before PyCon US happens because this is the biggest gathering of core devs and other core dev influencers, if you will.

09:44 People who have projects that influence Python significantly like Pydantic or FastAPI have, I believe, in the past.

09:50 So there were 45 people in attendance, which is a lot.

09:55 Yeah.

09:56 I think of the core devs.

09:57 That's quite a few.

09:58 So what was covered?

09:59 So this year we had, you previously talked about the calendar version.

10:04 So they discussed whether or not they should adopt calendar version name for Python.

10:11 And it actually had more pushback than maybe you would imagine, basically around like, hey, there's a lot of systems that read the version and make meaning out of it already.

10:21 And they might get freaked out, I think, is one of the takeaways.

10:24 But my only pushback would be, come on, use the whole year, the 2024, not just 2024.

10:31 Anyway, but it doesn't affect me too much one way or the other.

10:35 I'll be happy with whatever it goes.

10:36 We're already incrementing by year on 3.13, 3.14, 3.15.

10:42 If we just skip a few and then keep incrementing by year, I don't know.

10:47 It's a huge difference.

10:47 Yeah.

10:48 Then we have Python's security model after the XZ-utils backdoor.

10:53 That was one of the, wow, we dodged a huge bullet.

10:57 That was a multi-year campaign to get into the XZ backdoor, into the XZ utility for Linux.

11:05 I don't know if you'll remember hearing us talk about that.

11:07 But basically they berated the beleaguered maintainer of this really important tool until they let them become a core contributor.

11:15 And that core contributor turned out to be a malicious actor.

11:18 So pretty insane.

11:19 Yeah.

11:19 It's crazy.

11:20 Yeah.

11:21 So Pablo Gallino Salgado gave a talk about Python security model after that.

11:25 Like, what are we going to do about these kinds of things?

11:28 There's also a talk on native interface and limited C APIs.

11:34 We had free-threaded ecosystems on how to talk about that and how to consider this.

11:40 Remember, the free-threaded Python is coming in 3.13 as a custom build output, not by default.

11:46 And we'll see how that goes.

11:47 Basically, it's got a big asterisk by the accepted on the PEP saying, we reserve the right to unaccept this, basically.

11:56 Another one that is super exciting for me is Python Unmobile by Malcolm Smith.

12:01 And talked about how Python is basically the foundations of it being built for macOS and Android ARM 64 and x86.

12:12 64 almost.

12:14 Almost there.

12:15 They've got BuildBot coming along and, like, how they're making this work.

12:18 But in Python, they've got tier three support accepted for making sure that CPython works on iOS and Android.

12:26 And now it's up to, well, what are we going to do about it?

12:30 Which I think would be awesome to be able to write mobile apps in Python, right?

12:34 So the foundations are coming along.

12:36 Yeah, this is all based on the Beware project, right?

12:39 So Beware, Toga, those types of things.

12:41 And I'll let it begin.

12:43 Come on, that would be really, really great to be able to have some kind of cool UI framework that lets us publish native or any form of apps writing in Python that publish as something other than a web page sent to mobile.

12:56 Keeping with the awesome but also controversial a little bit is Pyrepple.

13:01 Pyrepple is the, when you type Python, the repl that you get from PyPy, P-Y-P-Y.

13:06 And it's, we've talked about this before, there's a new repl for Python, regular Python.

13:10 And they're borrowing that one, which is a lot nicer, has a better editing of things like blocks of code instead of just want to go back one line at a time for, you know, an embedded if statement or an indented if statement.

13:25 Something weird like that.

13:26 A lot nicer.

13:27 The uncertainty was at the time, at least, it didn't work on Windows.

13:32 So a lot of people were like, look, it's going to be really weird to ship this and tell people to use it.

13:36 But then if they're on Windows, they can't use it.

13:38 So one of the big efforts is to get it working on the new Windows terminal, not the old cmd.exe crummy thing, but the new Windows terminal people should be using anyway.

13:48 But it's still going to cause probably some infusion, I guess.

13:51 Should we make PDB better?

13:53 Honestly, I don't know.

13:55 Limiting yield and async generators.

13:57 Also an interesting talk.

13:58 Annotations as transforms and some lightning talks by some folks, for example, unsupported build warnings.

14:07 Rust in Python, formalizing the PEP prototype by Emily Morehouse.

14:13 Python on iOS.

14:14 Finally.

14:15 Now this sounds like what I talked about with the Beware in mobile.

14:18 I don't believe it is.

14:19 I think this is more of, how do we get basically the Python REPL running on iOS and Android?

14:24 If I understand it correctly, there's things like Pythonista and others that let you run basically limited run of Python.

14:33 So, but it could be, I might be misunderstanding whether that's about, making a search more meaningful and efficient data sharing between sub interpreters, which is actually what is, I think, most exciting.

14:45 Right.

14:46 Sub interpreters open up possibility of even without free threaded Python, basically multi-threaded Python computationally.

14:52 And, but then if you can't share any data, then it gets a little bit funky.

14:56 So this talks about things like, well, what if you had the ability to have immutable data shared across things like that?

15:01 Right.

15:01 So anyway, very cool.

15:03 People can check all of that out.

15:05 All of these are written up with, details.

15:07 And I believe it was Seth Michael.

15:09 Yeah.

15:09 Seth Larson, wrote all these articles.

15:12 So thank you, Seth as well.

15:13 Yeah.

15:14 Great.

15:14 yeah.

15:15 Good, good length.

15:16 I mean, enough detail to really understand what's going on, but not so much that it's overwhelming.

15:21 You can really, catch up really quickly on some of these topics.

15:24 That's pretty cool.

15:25 Yeah.

15:26 Indeed.

15:26 over to you.

15:28 It's not like, just getting into a dungeon, which would be bad.

15:32 That would be, that would be very bad.

15:34 How would you get out of the dungeon?

15:35 Yeah.

15:36 Well, you, you, you might want to check out bash dungeon if you wanted to get out of, if it was like a Linux dungeon.

15:42 Linux dungeon.

15:43 Yeah.

15:44 Yeah.

15:44 Yeah.

15:44 So, I can't remember where I saw this, but, came across a project called bash dungeon.

15:51 it's on GitHub.

15:54 We got a link to it and the, apparently it's built off a couple other ones.

15:58 There was a dungeons and directories and a bash crawl.

16:01 but I'm, I'm looking at this.

16:03 It's a work in progress.

16:04 The idea is it's a game that's intended, to teach new year, new users, how to use their shell in a fun and interactive way.

16:14 And, there's a, there's some various, like how to play it.

16:19 You can get, there's like a get pod account or Docker.

16:23 That's weird that the way I recommend is you can just, you can just clone the thing.

16:27 So, and it has instructions on that too.

16:29 Just clone the repo and see.

16:31 You can play it as Docker, or through Docker.

16:35 Yeah.

16:35 So, the, so I'm, I'm just going to cheat and look at the repo here.

16:40 So, you, when you, so the instructions are to, CD into bash dungeon and then do an LS, then CD into enter and then LS and then cat for parchment, cat the parchment.

16:52 So you're reading the parchment.

16:54 So yeah, let's follow it a little bit.

16:56 So I'm going to go in to go into enter and there's a parchment.

17:01 And then when you do a cat, you cat is how to like read a text file or just print the whole thing on your screen.

17:08 So it has this little parchment with like, Oh, here's what you should do.

17:11 You could use LS and, and, it recommends doing LS dash F, to try to teach you about that.

17:18 and then when you, you, you look, look around right away and the only thing you've got is a corridor.

17:24 So if you CD into the corridor, then there's a couple more parchments that you can read.

17:29 there's a spell you can cast that the spell is a spell, a hint that says, Hey, you can use head dash end one to look at a file.

17:38 See at the top.

17:39 And if it happens to be a script, it might be runnable with a warning that in this, this repository, you can trust it, but you should not just run random scripts that you find.

17:49 good warning.

17:50 but then if you cast this, if the, there's a chest that has a cast and then it always, it talk teaches a bunch of different things.

17:59 one of the cool things I, I like it.

18:01 Oh, what was that?

18:02 Is the file, file spell, which, will tell you what kind of, what type of file it is.

18:09 Actually, I totally forgot about file.

18:10 So, that's why I think this is fun.

18:13 It's if you've ever done dungeon crawler type games, this is kind of a neat way to brush up on, on your bash skills and, or, or learn them in a new, if you've, if you're a new to bash.

18:27 And it's kind of, it's kind of a fun way to, to present this information.

18:31 So it's actually super fun.

18:33 And since I've been doing a lot with Docker, I just literally hit copy and paste.

18:36 And within about like 15 seconds of seeing it could run in Docker, I was already like corridor.

18:40 It's insane.

18:41 So fun.

18:43 There's some, some cool stuff like the chest, for instance.

18:46 So in this first chamber, there's nothing there or the, the corridor, there's nothing until you, open the chest and it tell the LP, it says,

18:57 find an amulet of color and that it, to use it, attach it to your torch with --color equals always.

19:04 So basically it's telling you to do color with your LS and teaches about it.

19:08 This is.

19:09 Yeah.

19:09 Yeah.

19:10 Yeah.

19:10 Yeah.

19:10 And then hidden.

19:11 So that's what's printing out, but hidden.

19:13 There's a spoiler alert.

19:14 It's going to move a hidden directory to non hidden.

19:17 So our first chamber was dot moves it to.

19:20 Yeah.

19:21 So I love it.

19:22 I love it.

19:23 Yeah.

19:23 Mark out in the audience wonders if at the end, they'll give you tree as a map spell.

19:28 I love it.

19:29 Oh, I bet.

19:30 Mark has played some muds.

19:32 It's a multi-user dungeon.

19:33 I used to play.

19:33 I used to play some, spend a lot of time over there.

19:36 And this reminds me of that a little bit and it's making me smile.

19:40 Yeah.

19:40 Let's go shadow's edge.

19:41 I've never done multi-user dungeons, but I totally was doing lots of dungeons back in my,

19:46 TRS 80 days.

19:48 So.

19:48 Yeah.

19:49 I remember the dial up.

19:50 You'd be like, oh yeah.

19:51 You'd hear maybe like a 30, 32 K, 36 K connection.

19:55 Oh, that's going to be a good day.

19:56 None of that 9,600 business.

19:59 I won't be able to read the texts that's coming down.

20:01 Yeah.

20:03 I love that stuff.

20:04 Yeah.

20:04 Anyway.

20:05 Yeah.

20:06 This is actually really, really cool.

20:07 Really cute.

20:08 all right.

20:09 Those are our items.

20:10 I want to remind everybody that, that we are sponsored this week by ourselves.

20:16 So, please, if you enjoyed the show, check out, start with this pie test

20:22 stuff.

20:22 No, check out, Michael's, Talk Python Training.

20:26 if you, if you go to python test.com, there's, pie test trainings as well.

20:31 And you can have links to my pie test book.

20:34 a new, new, new shorter pie test training coming up soon, but, all sorts of, there's

20:39 always exciting new, courses on Talk Python Training.

20:43 So check that out.

20:44 So.

20:44 Yeah.

20:44 Indeed.

20:44 Thanks.

20:45 Yeah.

20:45 Check them all out.

20:46 Do you have any links to that stuff?

20:48 I do.

20:48 And links to all those things you mentioned are at the top of the show notes.

20:51 Yeah.

20:51 yes.

20:52 So how about some drama that we always love some drama, right?

20:55 Yeah.

20:57 So David, the data script author, over on Fostadon, Mastodon happens to be on Fostadon.

21:04 She sent us, sent us a post.

21:06 I mentioned said, Hey, thoughts.

21:09 And the thoughts are on a discuss over on python.org that says, py simple GUI now requires

21:16 a paid license opinions.

21:18 So there's this project called py simple GUI and I actually invited them to be on talk Python,

21:23 but they never got back to me.

21:25 So I guess I'm feeling better about that.

21:26 Anyway, the, the post says, a rather popular GUI package.

21:31 It's like a real simple way to specify like a quick way to specify a simple GUI in Python.

21:36 Yeah.

21:36 Yeah.

21:37 Recently changed this policy now requires a paid license to go forward.

21:43 You're doing the hobby stuff.

21:44 You can use it for free, but if it's commercial, you got to pay for it.

21:46 I don't know a whole lot of the details about it, but went so far as to go back and remove

21:53 the older commits that had the older codes.

21:56 You can't even roll back the repository to the code.

21:58 Anyway, it's, it's interesting.

22:01 And I think it's just, if you're thinking about an open source project, you're thinking

22:05 about maybe charging for it.

22:07 I'm certainly not against that.

22:08 Like you put in a lot of effort.

22:09 It's your project.

22:10 If that's what you want to do to try to make a living from it and put more energy into it.

22:14 Fine.

22:15 I think the, the frustration here is that it, it was open source.

22:20 It got a bunch of contributions from other people.

22:23 And then it got switched to switched to commercial out of the blue with all those old commits getting

22:28 blown away.

22:28 And stuff.

22:29 So anyway, people have thoughts.

22:31 They can check out this conversation.

22:33 That's interesting.

22:33 Yeah.

22:34 Yeah.

22:35 Also just two other really quick things here is the, the code in a castle in Tuscany thing

22:41 still has some, some spots available.

22:45 So people can check that out.

22:46 If they want to learn Python, FastAPI, basically build a high performance web app in Python,

22:53 using some database stuff and Pydantic and all sorts of fun things and do load testing,

22:58 but do that in the first half of the day.

22:59 And the second half of the day, go to vineyards and other excursions in Tuscany with me and a bunch of other,

23:04 I thought enthusiasts, check that out.

23:06 And I just realized as we were talking, as I was talking about that Mario thing is real similar to shiny for Python as well,

23:13 which is also one of these reactive web dashboards.

23:15 So we have a 100% free, no strings attached reactive web dashboards with shiny course you can check out over at talk Python.

23:24 So people can check that out in the show notes.

23:26 And yeah, like I said, it's free.

23:28 So if it sounds interesting, give it a try.

23:29 How about you?

23:30 A few extras.

23:31 Last week we mentioned Python 3.13 beta 3.

23:36 Now Python 3.13 beta 4 is out, came out a couple of days after we talked about 3.

23:43 But this is the beta 4 is the final beta, last chance for bug fixes.

23:49 So please, if you have a package that should be tested against new Pythons,

23:56 which means if you have an open source package, Python package, you should go test it.

24:00 Test it against 3.13.

24:02 Make sure that it works.

24:04 So there's that.

24:05 Also, when I was there, there was a pop-up that I closed talking about new guidelines.

24:11 So there's, I think these are new, but there's, if you want to hang out on discuss.python.org,

24:17 please check out the community guidelines.

24:19 These are some pretty easy to read, pretty standard stuff.

24:23 And if you're thinking, why do we need new community guidelines?

24:27 Or why are we emphasizing this?

24:29 There's a, there was some drama in the Python world a little bit a couple weeks ago.

24:36 And there's an article called inclusive communications expectations in Python spaces put out by the,

24:42 the steering council.

24:44 I think that's who put that.

24:47 Yeah.

24:47 The steering council does not endorse bad behavior, essentially.

24:50 So a decent read.

24:52 So if you want to talk about, look about how to be a good citizen in Python, check this out.

24:59 Last thing I wanted to bring up is we've talked about security in, in web browsers and stuff before.

25:06 And there was some news I noticed on Forbes the other day.

25:09 Google confirms bad news for 3 billion Chrome users.

25:13 What's the bad news?

25:15 They had, they were trying to do, do I like for four years or something like that,

25:22 talking about killing, tracking cookies, but they're not going to kill those anymore.

25:27 That, that effort has stopped.

25:30 A quick summary.

25:32 Maybe, maybe there's more details here.

25:33 Sure.

25:33 But yeah, it's a, it's just, I don't think, I don't think it's going anywhere.

25:39 Chrome likes to make, I love it.

25:40 So actually I think the title is, is, you know, 180 degrees.

25:45 Wrong.

25:46 I think this is good news for Chrome users and for people on the internet.

25:50 All right.

25:51 Because the alternative was our web browsers will have baked in fracking that is part of

25:57 the execution of your environment, that it tracks you and has an ad engine that lets it

26:02 think about you and then apply these for, and with, with third-party cookies, we have tools

26:08 that are not in control of Google or Chrome that will basically neutralize the vast majority

26:14 of them.

26:14 Right.

26:15 Nextiness, I whole ad blockers, Vivaldi or others, you know, other things that are more

26:22 private focused browsers.

26:23 And yeah, to me, I think we've talked about this before, Brian, we even talked about it

26:28 before we hit record.

26:30 I think there's a fundamentally wrong assumption or an axiom of what Google believes the internet

26:36 should be.

26:37 I think Google believes the internet should be, it must be that you can track people on

26:42 the internet.

26:42 Let's do that in a nice way.

26:43 Like, no.

26:45 I know neither of us think that the first assumption should be, of course, you have to track people.

26:49 How can we do that nicely?

26:50 Like, wait, why do we have to, of course, you have to be able to track people?

26:53 No, you don't.

26:54 You can have ads based on the content of the site, for example, you know, or the content

27:00 of the article.

27:01 It doesn't have to be Michael viewed this thing, then that thing, then that thing.

27:04 And so now, now we're going to sell him shoes while he's trying to find hardware supplies

27:11 or who knows whatever, right?

27:12 Yeah.

27:12 I mean, we already have, like, even without, I've done a little bit of work on, I know you

27:17 have too, about how do you do, like, could you do targeted ads without tracking?

27:21 And of course you can.

27:22 There's, based on, I don't know how it does it, but based on the IP address or whatever,

27:28 that's a little creepy, but basically even regions, you can find out.

27:34 But essentially, like, based on the content, but also based on, like, you know, what country

27:39 is the person in?

27:40 I'm okay with people knowing what country I live in or, you know, which part of the country

27:44 even, so that, you know, maybe there's a festival in Oregon that I might want to see.

27:49 Throw me in there for that.

27:50 That's fine.

27:50 But, like, you don't need to track my personal stuff.

27:54 No.

27:55 Anyway.

27:56 Yep.

27:56 Indeed, indeed.

27:57 Real, real quick, real-time follow-up.

28:00 Mark also says, Ari, I said, well, GUI, it wasn't exactly open source.

28:04 It was more source open before this change.

28:07 The project had a warning that it does not accept user-submitted code nor user-submitted

28:11 documentation.

28:12 So it was more source open anyway.

28:14 And with that.

28:16 Don't.

28:17 Yeah, exactly.

28:18 I want to help.

28:19 Yeah, no.

28:19 All right.

28:20 I want to go over to something funny.

28:23 I sure do.

28:25 Okay.

28:25 I got a few things.

28:27 Anyway.

28:29 So let's go to, there was a, I got this from, who did I get this from?

28:36 VMBresser posted this on Mastodon, so I saw it.

28:40 So this is a SMBC, Saturday morning breakfast cereal cartoon.

28:46 There's a lot of text here.

28:49 So, you know, bear with me.

28:51 A woman looking at, looks like a, I don't know, desk with a microphone.

28:56 Maybe she's being, anyway.

28:58 It looks almost like a court situation.

29:01 Kind of.

29:01 And she says, ladies and gentlemen of Congress.

29:04 Oh, she's speaking to Congress.

29:05 Ladies and gentlemen of Congress, I have bad economic news.

29:08 Historically, it has been very hard to measure whether or not our economy offers many good

29:14 investment opportunities.

29:15 However, new methods have been discovered.

29:18 Economists can now determine how many good opportunities exist by seeing how much money we

29:25 can raise for transparently idiotic startups.

29:28 This is actually a decent idea.

29:30 And one of the congresspersons says, how bad is it?

29:35 She says, well, as of this morning, I myself secured $40 million in Series A funding for

29:42 this balloon, which I have written AI on it with a Sharpie.

29:46 Amazing.

29:47 Wow, wow, wow.

29:49 Amazing.

29:49 When is the Series B?

29:51 And may God have mercy on us all.

29:55 I think that's a positive indicator, although it could be the sign of an impending crash.

30:00 But there's so many businesses that are basically rappers around ChatGPT.

30:05 And they're like, we're revolutionizing the world.

30:07 If not, you're just...

30:09 Until the API changes.

30:10 Yeah.

30:11 Or the cost changes.

30:12 Or it's $19.99 all over again.

30:15 Yeah.

30:16 Cue the Prince and Will Smith songs.

30:19 The last thing I wanted to bring up was PyJokes.

30:23 PyJokes has...

30:24 We've used jokes from PyJokes before.

30:27 Last release was in 2019, but there was just a new release this month.

30:31 Woo!

30:32 Go back and install PyJokes.

30:34 Let's go.

30:35 So PyJokes, you can just pip install it and you can run PyJokes.

30:40 I pulled out a few that I liked.

30:42 If at first you don't succeed, call it version 1.0.

30:45 Actually, that'll be 0.5.

30:49 Anyway.

30:50 Yeah, yeah, yeah.

30:50 Okay.

30:52 I'll skip one.

30:54 Oh, that's pretty good though.

30:55 A product manager walks into a bar, asks for a drink.

30:58 The bartender says no, but he'll consider adding it later.

31:01 Okay.

31:03 The last one.

31:04 Triumphantly, Beth removed Python 2.7 from her server in the year 2030.

31:09 Finally, she said with glee, only to see the announcement for Python 4.4.1.

31:15 No.

31:16 No.

31:17 Although, yeah, so 2030, if we went to Calver, that would just be Python 330.

31:23 See, Calver's nice.

31:24 Yes, it is nice.

31:26 Yeah, you could understand.

31:27 Yeah, I do think it's good that it links more clearly back to the year.

31:30 Like how long ago?

31:31 Oh, that was that.

31:32 That's right.

31:32 Yeah.

31:33 Like what will we be in 2030 now?

31:37 We'd have to do six plus whatever it is.

31:40 Yeah, it's difficult.

31:42 Yeah.

31:42 Anyway.

31:43 So, well, one more Python bytes in the bag.

31:48 Thanks, Michael, for a wonderful time.

31:50 Yeah.

31:50 Thanks as always.

31:51 Lots of fun.

31:52 All right.

31:52 And thank you to everyone for listening.

31:54 See y'all later.

Back to show page