Hello and welcome to Python Bytes, where we deliver Python news and headlines directly to your earbuds.
This is episode 363, recorded December 5th.
And I'm Brian Okken.
I'm Michael Kennedy.
And this week we are sponsored by ourselves.
So we will plug our own stuff a little bit later.
And if you want to follow the show, follow it at pythonbytes at fosstodon.org.
And also Michael and I are both on Fosstodon as well, which is Mastodon.
If you're anywhere other than Fosstodon also, that's fine.
You can still follow us.
But if you would like an invite, hit one of us up and we will send you an invite.
Mastodon has made it easier to start following people from other instances, by the way.
I don't know if you remember how it used to be.
You'd go and somebody would be like at mass.to and it'd be like, sign in.
And you couldn't follow them.
You have to sign in.
You're like, but I have an account here.
What is this weirdness?
So now if you say follow, it'll pull a dropdown and say, you know, give me a few letters out of your
instance and then we'll direct you over there where you're signed in to click follow.
So it's a little bit easier to follow anybody on Mastodon.
It's still clunky.
I don't know why it's so hard.
So what I usually do is I'm not trying that.
I usually like pop somebody's whole, like say, at mkennedy at fosstodon.org or something.
I pop it in the search, the search bar.
That's what I did previously as well.
Yeah.
It usually, usually finds the person, right?
So yeah.
Yeah.
You can even put just the whole URL of their profile without reordering it to their username.
But if I'm trying to find the URL, that's sometimes, yeah.
Indeed.
All right.
Well, it's Mastodon's getting a little smoother and actually Mastodon conversations are going
to be featured at least in my, my stuff here somewhat heavily.
So yeah, let's talk about FixIt.
So FixIt is this, what's the best way to put it?
It's probably a Flake 8 like, they compare it to Flake 8.
This comes from Meta, AKA Facebook, and it's a linter for their monorepo.
And when you hear monorepo, that is not a monolith.
Ironically, a lot of times the more broken up your code is, the more it fits a monorepo.
But anyway, it's, they have literally a single repo.
Is it Git?
I'm not sure.
But something like a single Git repo for all of Facebook, which is just insane.
They want to lint that.
And they want to have things like Black applied to it.
And Black actually came from Lukash Lenga, who was at Meta at the time.
So kind of funny.
But they don't use Black.
I don't know why they don't use Black.
They have some reasons.
Seems like Black saw some of them and could be probably adapted while Lukash was there.
But anyway, they don't.
So they had this thing called FixIt that goes through and is more like Black,
even though they compare it to Flake 8 in that it not just finds problems,
but fixes them and normalizes things like, where do your commas go in a list?
You know, or you have a plus to continue a line.
Is that at the end of the one line or the beginning of the other line?
Right?
Those kinds of things we're all familiar with.
So they built one called FixIt.
And now they released another one called FixIt 2 that's supposed to be better.
And they open sourced it so people can check this out if they're interested.
Right?
So I'll tell you quick about it.
A quick few things about it.
And let's bump over to the Mastodon.
Not the Mastodon.
Omnivore.
Other thing.
Because I have notes on this big, long thing.
So it turns out that Python is super popular over at Meta, which is really cool.
They have production engineers and software engineers.
So production engineers are like software devs who do production.
Their main role is to do production.
And they also have a whole Python language foundation team, which is pretty interesting.
And the job of this team is basically to build tools for the rest of the team.
And that's where this FixIt thing comes.
So one question is like, why not just use, say, Black or Flake 8 or whatever, right?
Or Format.
Well, hey, now we're getting there.
Okay.
So it says, of course, there's alternatives to Flake 8.
But, for example, Flake 8 doesn't fix things.
It just tells you that there are errors.
Yeah.
It has limited support.
This is kind of interesting for hierarchical configurations for different projects within
a monorepo.
So even though it's a monorepo, maybe like the API gets formatted this way.
But the, I don't know, the DevOps decode gets a different set of configurations because it's
a different team.
But you still want to just hit the repo with it, right?
Interesting.
Yeah.
That's an interesting, so there's, it's worth bringing up, I thought, because there are
some interesting ideas and some interesting challenges.
Slow performance on code, on large code bases.
And then another thing that they do a lot is they plug in custom rules, blending rules and
correction rules.
Like at a hierarchical level, which is kind of interesting, right?
Now, Brian, I don't know, everyone sees it, but I have a list of these four things, these
four reasons of why not just X.
Three of them are green because rough space format hits all of those.
Rough format didn't exist.
And I honestly wonder if Ruff format existed, you know, this is, is this a thing that gets
created?
I'm not sure.
I mean, it's an open question.
I didn't know that rough could do hierarchical configuration.
I actually am.
Well, what rough can do is you can have a rough.toml that configures it at different levels.
Right.
So given the number of engineers and the fact there's a single repo, how hard would it be
to automate, search this repo for all the rough.tomls, run Ruff format dot in that working directory?
Yeah.
Done.
You know what I mean?
Right.
It would, I don't think it inherently does, but in 30 minutes it does.
You know what I mean?
Yeah.
Of one person's time.
So I wouldn't suspect like as a company, like, well, we couldn't possibly have somebody write
that automation.
That's way too much for us.
So, you know, so I think that obviously I don't believe that's a, you know, dash dash
hierarchical sort of option, but I think that could easily, easily be added.
So that's pretty cool.
It says even with, here's the irony is even with the one we built, the, it didn't contain
the local rent, linting rules or the hierarchical configuration.
And those are the core requirements.
So it's like, okay, well, we redesigned it to this new one.
Right.
And what's interesting is it works on the, using the lib CST module.
Okay.
Which is a concrete syntax tree.
You often hear of the AST or abstract syntax tree, which is like the intent of the code
is to loop over this iterable, but it is not.
The variable is named this and there's two spaces here and there's a comment, right?
It tries to like throw away, just get to the essence.
But the CST is the code just in hierarchy form.
And which means if you want to fix it, right?
That's way more applicable for, these kinds of tools here.
So anyway, people can check it out.
It's on PyPI.
And I think it's an, it's an interesting thing to contrast with rough.
So yeah.
Yeah.
Anyway, it's out there for people.
It's obviously tested on some pretty seriously large code bases and it could be interesting,
but I'm still going to rough space format dot for my, for my money.
Yeah.
Interesting comment from a grant, in the chat, another YAML file for each, sub
project as opposed to supporting PyProject.com.
Yuck.
But you know, totally fair.
In this case, I, I think it might be like, you gotta remember this isn't just Python, right?
This is like every bit of code at Facebook.
Oh yeah.
Right.
So it's, it's probably react PHP, optimize PHP, go.
I, who knows how much stuff is in there.
Gobs of config files in each project.
Yes.
It's yeah.
I mean, you wouldn't want all the configs for all the languages all mixed together.
Right.
So anyway, but still interesting, interesting stuff.
Anyway, all right.
Um, how would you like to talk about user interfaces?
No, we have been known to go on a gooey kick before.
It's been a while.
Let's do it.
Yeah.
I'm here for it.
All right.
So, Samuel Colvin, the, make it fast, Brian.
That was funny.
Um, the, the person that brought us, Pydantic is, has, has worked very closely with,
uh, FastAPI as well.
So FastAPI and Pydantic work great together.
Now there's fast UI.
Well, fast UI is working with, FastAPI, but it also works with other stuff too.
So, so a Samuel Colvin has just recently brought us fast UI, which is, looks like an
active development.
It's been modified five hours ago and the, it's already got, but it only, I only heard
about it like last week and, it's now at 1.8 thousand stars.
Um, that's pretty awesome.
Anyway.
Um, so what's this, it is supposedly a, it's still a work in progress.
So not production ready, but it's a way to build app web applications and web UIs, defined
by declarative Python code.
So, there's a few points around this.
It's, so it's for, there's a bunch of parts of it.
It's, it's a pipe UI package, fast UI, but so it brings in some models and some
UI elements and components.
Um, it's also an MPM package.
So you, it brings in a little, react type script stuff.
Um, the, so what does it really mean though?
It means that you can kind of look at in, in, there's a couple examples he shows, you
declare it kind of like this, you're declaring, is sort of for a, or a FastAPI endpoint
like user table or something like that.
That's an endpoint.
It's going to, return this thing that doesn't look like HTML and it doesn't quite look like
Python either, but it is, it's like a, there's a C page object, which wraps the page.
There's components inside, which is a list of things like headings and a table.
And it, it, I don't really know what this looks like, but it's not bad.
Um, so I'm kind of excited to play with it.
But in a few lines of code, he shows a fairly workable, clean looking user interface.
And then, along with it, for the release, he released a full demo, which you can walk
through, a UI demo that was really zippy and works pretty good.
Like the tables one is kind of fun because it shows like, a whole bunch of names and
popular of names of cities and populations.
And you can quickly filter by country and it's like super fast.
So, I think you get kind of a lot for not much work.
If the, if the workflow looks okay.
So you've done more UIs than I have.
What do you think of this?
It's interesting.
Okay.
Um, so when I think of building web apps for myself, I don't shy away from saying, oh, I
have to write HTML or there has to be a template model or something like that.
Right.
That's, that's okay for me.
Yeah.
But I've been doing it for 15 years, at least I would say probably started doing web stuff
in 2000.
So that's a little bit more than that.
Anyway, that's a long time.
And so I'm super comfortable with it, but I know there's a lot of use cases where I just
want something quick and easy.
I want a simple deployment or I'm not a web developer and I just want to get this up and
going.
I like it.
Um, a lot of the sort of low code zero HTML styles of that I've seen like, oh, here you
can do it in Python have kind of a top to bottom linear way of creating the code.
And I super dislike that, right?
Like first I'm going to create a page object.
Then I'm going to say page.components.add.
Then I'm going to go page.components.add.
And then I'll get a table and I'll say table.rows.add, you know, like, wow, like makes it really
hard to see the visual look.
So you go check out the fast UI, GitHub readme.
You'll see that the structure and the indentation of the code matches the DOM.
And that's quite nice.
Yeah.
So I really liked that aspect of it.
Uh, it reminds me a lot of Flutter where you write code in the exact same way.
You've got, I don't know if you call it a DOM, but whatever the, the widget graph is in called
in Flutter, you do the same type of thing.
Like you, you'd have a body and then the body has a child and then the child can be some complex
thing.
And it's all inherited, nested in a very, very similar way.
So yeah, I think it's super interesting.
I think it will empower a lot of people.
I like the structure of the code matches the thing you're building.
That makes it way more appealing to me.
Cause that's part of what's nice about HTML.
You go in there and you're like, you're in the table and you're indented in the table
visually.
You know what I mean?
Yeah.
The, and there's, there's, there's a lot of fun stuff here too.
So even like forms and stuff that you can do with, even server side validation.
So, that it's not just a component library, but also some, some react and some other
things going with it is pretty cool.
The, Kim brings up, something that I, I thought of directly for myself.
Uh, he says it's got a lot of appeal for enterprise grade web apps where boring, simple table layout
is more than enough.
And, I'm kind of thinking of it, I was thinking of it kind of like that, a dataset
sort of thing.
If basically I've got a database that I want to front in for, but if, but I, you know, it's
not necessarily SQL or something or dataset just freaks me out maybe.
Um, but something like this is I think pretty nice.
And I think a lot of enterprise projects will be using, using this to play with.
So yeah, I'm actually thinking about it for my own, for an internal project myself.
So yeah, sure.
It looks quite neat.
And being based on FastAPI.
Yeah.
Um, boy, would it be cool if there was a run it locally as an electron app like thing where,
where the electron app shipped with Python and just ran a hidden building user.
So like it becomes a, make it a thing, an exe or a dot app I could share with my users.
Yeah.
But yeah, I agree.
I agree with Kim that forms over data.
This nails it.
Yeah.
And like you said, if, I mean, a most web app, a web, a lot of web developers, it doesn't
take that much web training to, to write some HTML.
I mean, to do it well, it takes a little bit, but, but to do it good enough for a lot
of projects, it's not bad.
And, or a normal HTML, CSS and the normal tool chain is still pretty good or build a
Django app or something.
But, there's a lot of people that don't even, that don't even want to get into it at
all.
So I think this is a good fit for that.
So anyway, indeed.
And Chris may ask about, you know, Hey, I wonder what the escape hatch story is.
That's always a good question when you're in a framework that kind of defines so much for
you.
Like, well, what if I went a little bit more, then what?
So yeah.
Yeah.
Brian, is it a good time to remind people that maybe they should check out a course or two?
Yeah, sure.
Let's, I will.
So I'll, I'll remind people that this, this episode is brought to you by both of us,
Michael and Brian.
And the thing that I've been working on a lot lately is courses, courses, python
test.com.
And that is the complete by test course.
And, it's almost done.
We'll be done this month.
Um, I've got 13 out of 16 chapters done so far and it will grow then.
Um, after, after I've gone through the entire Python testing with my test book, there's extras
there.
And as I've noted before, there's a lot of stuff at the end, that has changed a
lot like talks and CI and things, since the book came out.
So, it's pretty excited.
So how about you?
Sure.
Yeah.
Very awesome.
Uh, I would just want to like highlight maybe some of our new courses.
We have an early access Visual Studio Code for Python developers course, which is partway
done, but available in early access mode.
If you want to check that out, we have a data science jumpstart with 10 projects from Matt
Harrison and, HTMX plus Django course by Christopher Trudeau.
So all of those are excellent and we've got plenty more coming as well.
So people should check those out.
Sweet.
All right.
Let's go to Mastodon.
So this one's not exactly Python, but there are Python elements to it.
And basically I said, like, we talked about this after the show and I thought, you know,
why don't I just have this conversation for people out there?
I'll throw out a list.
It's like, I've got a bunch of emails.
Uh, want to be able to reach out to people.
I want to run a newsletter or I want to run a training company in a podcast, you know,
and wouldn't gather those up.
And for many years I've been using MailChimp and they just increasingly rubbed me the wrong
way.
It's just on principle.
I'm not super keen about it.
Like three months ago, like, oh, we got to raise our prices because the database storage
for your 20 K or whatever it turns out to be is really rough.
So it's another a hundred dollars.
Then the next month, like, oh, we're going to need to raise our prices.
It's another a hundred dollars on top of the previous another a hundred dollars.
And she's like, I'm not really using a lot of this.
And it's, I kind of want to look for something else.
Right.
So I went to Mastodon and said, Hey folks, MailChimp alternatives.
And boy, oh boy, do we get like a ton of conversation about this.
And so I've gathered this all up and put the results of that into, into a list that I
posted on the show notes.
So I just want to run through this really quick because there's some interesting choices
for people that have like small or large mailing lists.
Right.
So they come from all these different places and interesting choices.
So for example, one of them is called email octopus because it can how much it can send
like eight times as much email as like a regular, maybe for like a two handed creature with all
of its eight arms.
It can really send email.
Now.
So this one is email marketing, which is kind of interesting.
There's list monk, which is an open source free self-hosted newsletter and mailing list manager.
Interesting.
Right.
With 12,000 GitHub stars.
There's Calia, which, is similar is also open source.
Gemacht in Deutschland made in Germany.
Very, very cool.
It looks kind of visually nice.
Right.
There's Millie Harold, which is a Ruby on rails one also self-hosted, which is kind of fun.
There's send portal again.
So I didn't know about so many of these open source ones.
And that's kind of why I thought my, it might be interesting to point this out to people on
the show.
Right.
Like there's actually a bunch of open source ones.
Quite sadly, I haven't found a decent Python one.
So there's that there's Brevo, which is another one.
Um, button down.
This one is not open source, but it is made with Python open source.
So I talked to the guy who runs button down and this one is written in Django.
So if you want your newsletters powered by Django, I don't think it's open source, but anyway,
pretty, pretty neat option there.
There's Zoho, which is pretty cool.
Cindy.
Here's another cool one.
Cindy as also self-hosted, but you, it's not open source, but you buy it.
It wants for like $70 and then you run it on your system.
And what's cool is it hooks into AWS SES, which is our simple email service, which if
you send a bunch of emails, you probably have.
I don't, I do, but I don't use it.
I have send grid, which it also works with and mail jet and elastic email.
And the thing that's cool about these is you can send like 10,000 emails for a dollar.
Right.
And it's based on consumption, right?
Like even if I don't send a mail in MailChimp, it's many hundreds of dollars to just say, well,
we're going to keep your database records fresh for you.
We'll sit here.
But this one, it's like, you know, they say a hundred times cheaper.
I mean, obviously it matters how you use it, but you plug it into one of these super, super
simple things and they'll even set it up for you.
You can pay them like another 70 bucks and they'll set up a server and a Ubuntu server or
Linux server.
I'll set it for you.
So this is the one I'm actually thinking of going with potentially.
And there's ConvertKit, Mautic, I don't know, open source marketing instead of just email,
Constant Contact.
I don't have any relations with any of these, by the way, folks, get response, ConvertKit,
all of those.
So if you want to see the Mastodon conversation about why people suggested them, some people
are like, oh, I worked with that, but it sucks.
Don't use that.
And so on.
You can check it out.
So I thought there's probably enough people out there who are going like, I have this
problem and I just see so many choices and what are they?
Maybe there's open source.
Maybe there's some Python thing.
So there it is.
So we don't have a solution, but you've got something.
Well, I'll.
Well, I can report back to people how things go.
So it's a fork in the road for me.
Right.
Yeah.
On one hand, I don't really do.
I don't do any tracking of people.
And so I don't know, like retargeting and all these kind of like campaigns where like, if
you come and visit this page, but then two days you visit that page, then we're going to
send, you know, like that kind of stuff.
I don't really do that.
So I just basically send emails to people.
And in that case, right, you should be looking at something simpler.
Maybe one of those open source ones is pretty nice.
But if you want to do really interesting automations, which maybe I should look into, I don't know.
Then maybe one of the real simple ones is not the right choice.
So I should either go way more simpler or more advanced, but I'm in this like middle ground
paying tons of money for something that I don't really appreciate.
And I've also finally wrapping this, put a bow on this.
People have said, well, you know, you can just use mail merge with Excel, with Google
sheets and like send it out of your Gmail.
Like, no, that's awesome.
If you want to, if you run like a, like a soccer team and you want to send them a message or
something like that.
But if you have to be subjected to the U.S.
Can't spam act, the GDPR, people delete my stuff, delete my, my info you have on me.
I want to unsubscribe.
I want to partially unsubscribe or my mail bounced.
And then you got to stop sending it.
Like all of that, you can't just like automate send.
Even out of send grade is not enough, right?
You need to have a whole backend that like deals with all that crap.
And that's what a lot of these like open source ones bring.
So anyway, pretty cool.
Newsletter is having a newsletter is more complicated than people think because it, it's just is.
It's way more complicated.
And the weird thing that like the first time I tried to set one up was that you have to put your address down.
And, it's, it's kind of a weird work.
It makes sense, but also it's weird.
But it kind of doesn't make sense.
It kind of doesn't make sense.
Yeah.
Like, yeah.
I really just have to put my house there.
What can I put there?
Like, but because the U S can't spam act, I think is the reason that that is there.
And yeah, you know, that's the government, right?
Like maybe we should have cook up cookie banners that everyone clicks like five times an hour a day for the rest of their life.
That's going to make things better.
Well, you know, I, I used to like, I know we've done this enough, but sorry about that.
Um, the, I used to do MailChimp, but I had a PO box set up just for that.
And I was like, I don't use it for anything.
So instead of paying the post office, I switched to paying a convert kit because convert.
One of the things convert kit does is you can use their address, which, which is interesting.
Um, but, I'm, I'm, I'm still on the fence on convert kit.
I'm trying it out.
So we'll see.
Yeah.
We can both report back to people and see, but it's tricky stuff.
So anyway, hopefully it helps the folks.
Now completely change of gears, back to command line interfaces.
I talked about user interfaces, on GUIs, but let's talk CLIs a little bit.
Um, so back on episode, what was it?
361.
We talked about appeal.
Um, and I've talked about art person click and typer and stuff like that before appeal was another one.
Uh, and, and this all came out because I did an episode on, on Python test about, art parse applications and testing.
So somebody actually Sander 76, on fostered on, contacted me and said, Hey, there's a bunch of other options other than the ones you've covered so far.
Uh, have you looked at this?
Uh, have you looked at these and how do you test them?
I don't have an answer about how to test them, but I was interested in this whole kind of line of things.
So there's a, there's a, a, a, a, a set of command line interface tools that instead of, instead of art parse style or something of telling, you know, defining flags, they define it based on an object, a configurable object.
So, let's, his, clip stick for instance, let's, let's start with Tyro.
This is one of the early ones.
It's kind of easy to figure out.
Tyro is a, is a command line interface, tool that you can use, data classes or Pydantic or adders to define the, the, all the options.
So for instance, here's an example it was showing the video.
Um, you can take a, you import Tyro and then you define a data class with, types on, on a bunch of arcs.
You just, it doesn't matter what it is, what's called, but you have a class with a bunch of elements in it.
And those are the things that you can pass to your application now.
And then you just, you, you implement a Tyro CLI, application.
That's, that's the arguments.
And that's, it's kind of cool on parsing arcs that way.
Um, so that, that's Tyro.
And then there's, there's clip stick, which is kind of cute.
Like CLI.
Yeah.
Anyway, that defines, defines all of your types within a, a base model, like from Pydantic, Pydantic base model.
And then you can define a whole bunch of types in there.
Um, and then you can, and it has help and all that stuff.
So basing it on, on, on, Pydantic object.
And then also there's, there's a, a, nicely designed website called, with, Pydantic art parse.
So art parse with Pydantic.
So there's another one that's, defining, arguments based on a base model.
Um, and I just, I haven't played with these yet.
I just wanted to report back that these are some different ways to, to set up user interfaces using, using like Pydantic or data classes or adders or something like that.
Yeah.
As an object.
And then, and then you have, instead of, you get like this Arga, Args object, instead of having a whole bunch of different elements, you have like this object with all of your arguments that you can pass around.
And since it's things like Pydantic, you can do things.
I'm, I haven't played with it, but I'm guessing that you can do things like limit the scope.
So it's not just an integer, but it's an integer between one and five or something like that.
Um, right.
Yeah.
That's cool.
Yeah.
So these are fun.
Those are super fun.
Yeah.
Pydantic is great.
Typing for this kind of stuff is great because it, it's usually not open-ended, right?
That should be a number.
And if it's not, it's going to be a problem or that should be a string for the host name.
Yeah.
It's required.
All these things like really map over to that validation side of Pydantic.
But I do want to, so, from, Sandra 76 is a question.
How do you test these or, or is testing easier?
Um, it is a good question.
And I, it, I've put it on my to-do list for January, January or sometime in 2024 to take a look at.
So I'll have to report back about that also.
Yeah.
Very nice.
So it's the, Samuel Colvin and team day for you with fast UI and the Pydantic based stuff.
Yeah, indeed.
Good stuff.
So.
All right.
Extras.
You want me to do mine first?
Yeah.
Let's hit yours first.
All right.
Well, I have one and it's super quick.
So I just, you know, there was this, announcement here that Google is, Google Chrome in particular
is looking to limit ad blockers and start like limiting how much control people have over their
privacy and data and stuff with what's called the manifest V three, API for basically for
using, extensions.
And the main rule here is that they're limiting how many domains and rules you can apply to block
basically to limit network traffic.
So you can say, well, there's 500 ads you can block, but those are the only 500, right?
Which really limits it.
So people are whining.
I'm like, you know, why don't I just write an article?
Because like I could turn all that stuff off and I don't care at my house.
And you could too, just instead of worrying about what these browsers are doing, just go
and turn on a network level ad blocker.
Like you can use next DNS, which I've talked about before, or you can, if you want to run
your own server and only have it when you're home, you can do this pie hole.
I know that's super awesome, but next DNS is a service, which so when you're at the
coffee shop or traveling or on your phone, you can also have the benefit of pie hole.
But anyway, I talked a lot about how, how that works and how you set it up with some cool
graphs, like it's like 10,000 block queries on my network for just two people for a little
bit.
And also this is all great.
Once you set this up though, when you get to a place that says, Hey, you have to disable
your ad blocker or you can't watch this movie, read this article.
You're like, you know what?
I hate you, but just for a minute, I have to do this because I really, really need to get
here.
It talks about how you can set up a second browser.
Like for me, it's Firefox, not Vivaldi, like Vivaldi's my own, but Firefox, I set it up
to use a DNS over HTTPS, but one that doesn't block like Cloudflare or something that doesn't
filter anything.
So if I have to escape my, my blocking network for whatever reason, I can just run Firefox
and it tunnels out of all this restrictions, which is usually nice, but when you need to turn
it off, you got to turn it off.
So there's quick article essay, whatever you want to call it for people to check out.
Yeah.
Things like that still bug me though.
Like the turn off ad blockers.
There's, it's not, can't be that high of a percentage of the population that's turning them off.
So yeah, I know.
Weird.
Yeah.
There was a, one show was like Peacock or Paramount.
One of those streaming platforms would not let my wife watch some show because it says she
had her ad blocker on.
Of course she didn't.
She had, she was on the wifi, which was blocking everything.
Um, and also the side of the extra benefit here is this means your mobile apps have ad
blockers built in.
This means your TV has an ad blocker built in.
This means like everything has an ad blocker built in, not just your browser.
Right.
So, all this whinging over, like whether or not you're, you can do blocking in a browser,
like, you know, you could just do better and it's not even your problem anymore.
Right.
So yeah, it was super.
She's like, well, Michael, how do I watch this?
I'm like, I don't know, actually.
I'm sorry, but I don't want to turn it off for the whole everything.
Right.
Like, I just want to let you watch your movies.
How do you do that?
So that's in there as well.
Yeah.
Okay, cool.
Nice.
Okay.
I've got a few extras.
Uh, won't take long though.
Uh, Django five released yesterday.
Um, we've already talked about all the cool features of Django five.
Didn't we?
I think you covered it a couple of weeks ago.
Um, but, it, I just noticed that it is, it's not a beta or anything anymore.
It's, it's released.
So as of December 4th, it's all grown up.
Yeah.
So that's awesome.
I'm excited to play with that.
Um, so that that's fun.
A, and then something submitted by Paul Barry.
So thank you is, it's Brian seemed, he says, Brian seems to like Vim and you can use
Vim key bindings in a lot of places.
And so he sent over the Vim key bindings everywhere, the ultimate list.
And, it is a GitHub repo with a whole bunch of awesome, things like, debuggers
and, like Vim PDB.
I didn't know you could do that.
That's, that'd be fun.
Um, IPython, you can turn, VIK bindings on with IPython.
Um, anyway, quite a few fun, fun settings and telling you how to do it for different
things.
So even email clients, look at that.
Yeah.
None of them I use, but I used to use mutt a long time ago.
Um, yeah, I don't see mine either, but that's so good.
Thunderbird.
I should try that.
Yeah.
So, okay.
So, and then I've got for my last extra, I have a little drama.
So I talked about last week that I think that Python or we have before the testing code is
now Python test my other podcast, but I left it on the domain testing code for a while.
But, recently I tried switching it to, to podcasts.
Uh, so what we're looking at now is podcast.pythontest.com.
So the new URL is that.
Um, but if you just go to, if you just go to pythontest.com, there's a, there's a link to
the podcast.
So you can find it that way.
Just podcast.pythontest.com.
Anyway, what do I do with the old domain?
I redirected it, but it didn't work.
I don't know what I did wrong.
I contacted, name cheap and they said, it looks fine to us.
Um, so not sure what went wrong.
So I changed it, changed the DNS settings last night to, to just point to like a small
site.
So, a small site that looks like this, this morning, it just says, Hey, I'm here.
Testing code.
The podcast moved.
It's over there.
Um, and so just so that it won't 404 on people.
And I also have some redirects.
So if you say like testing code.com slash 23, it'll redirect to the 23rd episode over
on the other one.
Awesome.
Except it didn't work last night.
I was pulling my hair out and then, I woke up this morning and it worked on my phone,
but not here yet.
So, I know that there's this thing of saying, if you ever muck with DNS, it can take up to
72 hours to like ripple through the internet.
I haven't ever had to deal with that before.
It's always been pretty quick.
Whenever I muck with DNS settings, apparently I'm,
hitting that.
So hopefully in a few days, it'll be all resolved.
And so now I have to reset my, days since it lasts DNS problem to zero.
Um, so.
Days since last.
Oh my God.
That is so amazing.
I love it.
So I'm showing a, an Etsy.
I think you can find them lots of places, but there's an Etsy state sticker that says zero
days since it, it was DNS and in parentheses, it's always DNS.
It is anyway.
Oh my gosh, Brian.
Are you, are you foreshadowing here?
Maybe.
Do you know what I did this whole weekend?
I have two things to cover for my extras.
Okay.
Um, well I, I covered the one and I also just realized I wanted to give a quick mention just
in case.
I spent my, I don't know anything to show, but so let's just leave this up because it's
perfect.
Okay.
I spent all of the weekend and a good chunk of Monday migrating domains from different places.
I have a bunch of old ones.
I have a bunch of old ones at GoDaddy because 15 years ago that seemed all right.
Yeah.
And they're super hard to get out of there.
Um, so I've got a bunch of Google domains because I thought Google domains is beautiful until Google
decided to shut that down because apparently it's too much work to store like a DNS file.
That's it's a hundred characters.
I don't know.
Cause it's a commodity now and they can't make money off of it.
I know.
Anyway, I can understand it.
But anyway, so I had like, well, I don't want to stuff on that thing.
That's like shutting down.
I got to move that off and I got some others in other place.
So moving that all together, holy moly, does that take some time?
And sometimes they move quickly.
Sometimes they don't.
Some of the domains have, security turned on that if they transfer, it takes three days
for it to disable, but the domain will transfer right away.
But if you transfer it to, you reset it too quickly, it'll like just permanently stop working.
Some of them have to have SSL as part of the DNS definition, like, dot dev requires
only SSL.
But if you want to use let's encrypt, well, it's got to resolve to someplace, but it can't
resolve to someplace.
It's not as SSL.
You're like, okay, who decided to invent a catch 22 for domain names?
Like, oh, ah.
So the last one of the last ones switching is Python bytes.fm, which I requested after a
45 minute phone call, figure out why GoDaddy couldn't give me the access code to do the
switch.
I finally did this morning and I got it, but I hope everyone gets to hear from us after
it switches.
So if there's the reason, the whole reason to tell the story is that for some reason it
stops working, it will be back.
I apologize.
I'll get it.
I'll get it there.
I think it's going to go seamlessly.
Sometimes I do.
Sometimes they don't.
Fingers crossed for this one.
So we need to buy these stickers in bulk then.
We're going to zero days since it was DNS.
It's always DNS.
Yeah.
So we need to get those ordered now.
Mojo's asking where I ended up.
I ended up, let me do it like this so I don't give away the joke.
I ended up at hover.com.
Okay.
It's the one thing that they do.
They don't do other stuff.
They don't kill white rhinos for sport, nor do they not care about their DNS.
It's like their job.
So it seemed like a good place so far.
Fingers crossed.
Thank you, Robert.
All right.
So you already had probably the best joke for the show, but I've got a joke as well.
You ready for it?
Okay.
Yeah.
Okay.
Oh, I love this.
So, yeah.
So Chris, no, Josh Collinsworth, sorry, came up with this thing and it looks like some kind
of code he's written.
It's over on codepen.io that generates these.
So it's an honest LinkedIn notification generator.
So, you know, you go to like your activity or your notifications and it tells you stuff.
Well, this one tells you stuff that is, you know, more in line with the reality of LinkedIn
rather than what LinkedIn wants to tell you.
So here's a picture of this woman.
It says, congratulate a near stranger for tears at a job.
You didn't know they had, they had.
And then there's like a, yeah, it's so good.
There's like a blurred picture of somebody.
It says, someone looked at your profile.
Who?
We're holding that information for ransom.
It says, smiling guys, says, follow the worst coworker you've ever had for their sudden
unsolicited insights.
And it just goes on and on.
I think it even has infinite scroll.
Somebody connected with your first manager from your job in 2014 reacted to a former classmate's
post.
Thought you should know.
So one of the influencers shared an incredibly crappy opinion just for the engagement.
Click to engage.
Never hire anyone who writes CSF ever.
No CSS.
So on and so on.
It's just, it's so good.
Wish that guy who made you cry in the bathroom a happy birthday.
That was great.
Oh, that was, that was a, did you already get the one where it was like free work?
The free labor one?
Oh yeah.
No, where is it?
No, right there.
You're, you're one of the few experts invited.
Oh yeah.
Yeah.
You're one of the few experts invited to slash do free unpaid labor rather add to this
collaborative article.
How do you exploit users without them noticing?
Well, I've been getting those like a whole bunch lately and I, and I actually clicked on
it when I'm like, what are they talking about?
Oh, they want me to write articles for free.
Uh, no, I'm not doing that.
I got one this morning even.
So I got not one of these, but I got a congratulate John Gould on his new or gold, on his new,
uh, promotion.
And I'm like, he owns the company.
I don't understand.
Yeah.
Good little pat on the old back there, John.
Good job.
Giving yourself a promotion there.
Exactly.
Chris Taylor and 36 others at soul sucking corporation shared this post from the CEO in hopes of
avoiding the next round of layoffs.
These are good.
Get a lot of those.
Yeah.
All right.
Well, I don't know if it's too dark, but that's what I brought for the joke.
I think it's great.
I think I do.
I kind of like LinkedIn to like keep in touch with people and keep up your resume and stuff
like that.
But I don't actually ever use it as a finding new articles through service.
But anyway, there's a whole group of people who do.
I don't think I'm part of it either, but yeah, I'm not the target audience.
So it's all right.
Yeah.
All right.
Well, thanks again for a lovely Python bites.
Absolutely.
Bye.