Hello and welcome to Python Bytes, where we deliver Python news and headlines directly to your earbuds.
This is episode 313, recorded December 6, 2022, and I am Brian Okken.
Hey, I'm Michael Kennedy.
I'm the person with the scroll bar going across. I just realized that.
I'm Kelly Schuster for eight days.
And I'm Sean Tyburn.
And we're here from the Teaching Python podcast, so it's good to be here with you both.
Recommend everybody listen to Teaching Python.
The focus is kind of around teaching, being teachers and teaching Python.
But I think anybody that helps anybody with learning Python, it's worth listening to your show.
100%. It's more like about anybody who's a learner, which is everybody, hopefully, out there listening.
Well, welcome.
Thank you.
Well, should we get into the first topic, Michael?
Yeah, let's just jump right in.
Over here, this one, I ran across on Mastodon.
And I thought, what a fun, quick little thing.
And with the teaching angle from the Teaching Python podcast with Kelly and Sean, I thought this might be kind of a cool thing for teachers or for kids for something simple with Python.
But also, I just like it.
So if you look over here in the link, this person, Teresita, posted spell out numbers with Python.
All you got to do is pip install inflect.
Check this out.
So with inflect, this is a Python library.
You can just say, you create an inflector thing and you say number to words and you give it some giant number.
And you're like, I have no idea what this is.
And it says, in this case, it was 8,675,309.
And so any number you give it, it'll tell you the friendly version or the human version of it.
So if you want to turn, you know, written numbers into spoken numbers, this is the way to do it.
I think, you know, this is great.
I don't know you need it for 8 million, but if you go much farther than that, if you go beyond trillion, then it gets really interesting.
Another one that I found after I discovered this, because on Mastodon, somebody said, this is amazing.
Have you heard of num to words as well?
So num to words is another one that you can use.
Num to words is possibly better.
The API seems a little bit cleaner.
Now, I haven't pushed the outer bounds of like, well, what is the biggest number it will speak to me in a reasonable way?
So I don't know which one will go farther in that way.
But in terms of kind of usefulness, this num to words, the two spelled out as a number,
you can actually get a command line version.
So you can pip x install this.
And then on your terminal or command prompt, you just say num to words and put a number.
And then you don't even have to write Python code.
You just call it.
But of course you can.
And it will work in multiple languages.
Oh, the language part is cool.
I saw that there.
There's my teacher side just went, wow, I can go into Spanish and French.
Exactly.
So excited.
Oh, yeah.
So there's a bunch of different options.
There's a ton of languages you can use here.
Wow.
Which is really cool.
Yeah.
So this is neat.
And I wrote a little bit of code to just, you know, throw some sort of examples together and put those in the show notes.
So you can use inflect or you can use num to words.
I think I would trend towards the num to words because the multilingual as well as the command line version.
If you pip x install it.
Also, the fact that we don't have to call an instance.
Is that correct?
Yeah, exactly.
You don't have to create like some object and then call it on that.
It's a little more.
I thought like you might say.
I have a second grader in my household who's probably ready to cheat on his math homework with us.
There's a lot of those transfer questions.
So it could be fun.
I think this is great for like parents that have kids in, you know, trying to come up with pronounced big numbers and stuff.
Occasionally I forget.
I know that's what I'm saying.
I'm thinking of that too.
But this is like fact number like 20 for the math teacher.
I always tell them, no, we don't need math anymore.
We'll just have Python.
We don't need math anymore.
I have a Python library that's going to give us number sense.
All right.
So I got some homework for someone out there who's feeling ambitious.
How about create this as a website as a service so we can just put it in then as a progressive web app.
We just put it on our phone and then we can do it.
Or you could use PyScript and just install it.
So the kids could just constantly go around and ask it, what is this called?
What is that called?
Exactly.
And then set it up for phonetic pronunciation so we can just have Siri pronounce it properly.
Yeah, there you go.
And out in the audience, Steve says, I guess you could pipe it to say to get it to read the number out loud as well.
Okay.
I hadn't thought about that.
That's pretty dope.
Okay.
Very cool.
Nice.
All right.
Well, that's mine.
Off to you, Brian.
Okay.
So I'd like to go back in time to the origins of Python.
Now, I'm not going to read the whole article, but there was an article by Lambert Mirtens.
Mirtens.
Sorry, Lambert.
I got your last name wrong.
But this is really, it's a really cool but long article.
So I've heard mostly from Guido different stories about, I guess they weren't different stories, but that Python did come from a lot of inspiration from the ABC language.
I guess you probably have all heard that, right?
But I haven't heard a lot of that.
Like, where did ABC come from?
And maybe that's out there.
But I just haven't looked.
But this is kind of going through it.
So this is going back to 1970.
Lambert was involved with teaching programming.
And this is teaching programming at university levels to people that had no programming experience.
It's like they had a computer arts society.
They had non-numerical programming.
And he mentions teaching like artists and other people that probably don't even hang around computers at all.
And especially in the 70s, you wouldn't.
So they were using, and then he kind of ties it in also to modern day, a similar sort of topic is Django Girls,
which is a great program that, if anybody doesn't know about it, tries to get particularly women to learn and do something useful with Python in one day,
even if you've never touched a programming language, which is an incredible experience.
But he even mentions it's going on in like Istanbul.
So these workshops go on all over the world, which is pretty awesome.
So he started with a programming language called Telcomp.
And it was an unstructured language similar to BASIC.
And the reason why they chose it is just because it was easier to learn or easier to use.
It was more easy to talk about.
And then this tale goes through, like it's a pretty long tale,
but it goes through a lot of the frustrations they had even with Telcomp.
And then deciding to go into developing ABC, which was like started out was B for B for beginner or beta zero or B zero for the initial element or something,
which is, I think, too nerdy for a programming language name.
But talks about the ABC project.
A lot of this article is around the ABC project.
But one of the things I wanted to highlight, try to get my notes back up,
but wanted to highlight one of the things they brought up was really wanting to have ease of learning and ease of use,
desirable, but also at the same time, use high level task oriented features to make things easier.
So they wanted things, wanted it to be easy to learn, but also not cumbersome to use as a later as a developer.
And that was probably that was my experience with BASIC.
It was fairly easy to learn.
But then when you try to do something large, it's tedious.
And Pascal was the same way with me.
But Python's not so much.
And one of the things they talk about is even they had this, the put command right in there.
So put one, two in AB was to put two values in two variables.
And again, the swapping of you could say put AB in BA to swap variables where every other language I've ever used,
you've got to use a third intermediate variable.
And so we use that in Python today, right?
So A comma B equals B comma A.
B comma A will do the same thing.
Brian, this is like looking back on like evolution or something.
Yeah.
And when you see like, oh, I see here was where the fish started to grow an arm because it went on land a lot.
Yeah.
This is like, here's the tuple unpacking of early Python.
Yeah.
So I encourage people to read it.
It's just kind of a great read and a romp through history of Python.
So, I mean, they even brought in like ABC brought in, I think Beta Zero did also, of the spacing making sense and not having to do brackets and things,
but having spaces for blocks.
Pretty cool ideas.
What else?
One of the things that a couple of quotes, I'm not sure where it's at, talks about Python success.
The growth in pop and in popularity of Python from its inception 30 years ago as a one person effort flying under the radar has been phenomenal, but not meteoric.
It's instead, it's been a long, slow and steady rise.
And the competitive advantage it had in a period where we needed a lot of programmers was the ease of use and ease of new programmers.
So, yeah, in the last 20 years, we really needed a lot more programmers.
Having Python be easy to learn has been powerful.
And then, as it also comments, which we know about, where the use of extra languages, that same concept of it's easy to learn, but you don't have to stop using it when you do something advanced.
We see that with like data science and web libraries, where if it needs to be super fast, they stick it in an extension, in a C extension or something, or now Rust often.
But it hasn't slowed down.
And anyway, great read.
Thanks, Lambert, for writing this.
Cool.
Yeah, it's pretty cool.
I always thought of Python, especially for refugees from other languages, it's like it's cheating, right?
Because it shouldn't be that easy to do something that powerful or that complex.
And it's interesting to see the origins of that, even just the variable substitution or, you know, the multiple assignments.
That's pretty cool to see that it has its origins that far back.
Yeah, and I kind of, now I'm sort of here understanding some of the comments where every time we put in a new language feature, like the match statement or the walrus operator, there's some people that are like, are we making the language too complicated to learn now?
And I think those are valid discussions to have.
I don't think we've made it too complex to learn right now, but it's good to have those thoughts of like, you know, maybe it's a cool feature, but do we want to, you know, I look, my thoughts on that are really just don't teach that.
I probably wouldn't teach the match statement or the walrus operator to new engineers.
Yeah, indeed.
Very nice one.
All right, Kelly.
I'll go ahead.
One more comment.
I was going to swap it over to your next item.
Yeah.
All right.
Well, here we go.
Let's talk about robots that teach kids.
Oh, yeah.
So this has become the, I should, in a good way, the bane of my existence is finding all these bots.
And it's like, I have so many bots.
This one's an old bot.
And it's one of, it's a very popular bot for little kids.
Very cute.
They draw the line that can follow the line.
It was using block code on the iPad, connects easy.
And it's always been a real big staple for a lot of classrooms.
It's called the Ozobot.
But the interesting thing, coming in August 17th, the Ozobot just introduced a Python beta version, which is super cool.
They got rid of the original Ozobot bit, which was a similar version.
And then they made a new version of the Ozobot called the Evo Ozobot.
And with this bot, it has line following.
It has color detection.
It has sound.
It has proximity sensor.
It has Bluetooth.
It has crash detection.
You can even write functions within this, within the program for the beta.
And then I think when you open up the documentation for the beta, they have five different programs already written in there for you to try out.
And it's kind of cool.
You have a tree following, and it can count how many branches are in a tree.
So if you're talking, maybe you want to do a science classroom classification and you want to see how far removed, this is very sciencey for you guys, how far removed an amoeba is from an ape.
You would go down the cladogram or the tree, and you can calculate how many branches away.
So it would be really cool how to incorporate the EvoBot.
And not that you can't count trees, but, you know, just fun little things.
No, but it's a really cool way to get the kids thinking.
Yeah.
So it says there's two ways of programming.
And, you know, Brian just spoke about the history of programming languages and all these text-oriented languages.
But neither of those are particularly, I mean, it does come with the Python aspect, but it's not.
The two options here are kind of like there's this blocky style of programming.
And does that become Python, as you know?
No, I'm not sure how they came about it, but the original was always block.
And then the block would increase in difficulty depending on the age.
Similar to a lot of the other block programs where you would have limited writing, and then you would have color coding, and then you would start pushing in more functions.
But this one seems to be just a full-on Python beta version.
There is an online web browser where you can connect to the Ozo bot.
I think it gave you an – no, that's the simulator.
That one's for the block.
But that one's cool, too.
I'll try to find it for you.
But there's a – it's called – I'll find it for you.
But it's called like Evo Ozo bot, and you can code right in the browser once you connect via Bluetooth.
Yeah, let me see.
This is it.
So bots like these are great for learning to code.
And this is one that I definitely tell parents when – because everyone asks me, like, hey, what should I get for my kid?
Like, should I get a micro bit?
What kind of robot should I get?
The Ozo bot is a great one because it can now grow even further with your child as they're learning more about coding.
So you can get them started with really basics, you know, writing on paper with a marker.
It can follow the line and do different things as the color changes.
They can then grow into using blocks to program it, and now they can code using Python.
So it's the same robot, but now they've evolved their knowledge and understanding of computer science and computational thinking by progressing their languages as they go.
So it's a really great use for that.
This is really cool.
Let me just try to do a little commentary for people listening and not seeing.
Of course, the link's in the show notes.
It looks like a little miniature R2-D2.
Maybe, like, a little bit smaller than the palm of a kid's hand.
And one way you can program it, which is fascinating, is you can draw a line with different colors, like a big, thick, sharpie-looking line.
But the colors teach it to do stuff.
Like, if it hits a red part of the line, it might spin or play a sound, and then it goes to a black line, and then, like, a blue one maybe means, you know, disco.
Whatever.
I don't know what the mapping over to its actions are.
But that's really neat to get kids thinking.
And then they can go to this visual block, and then they can go to Python.
I agree.
This is neat.
And I put the editor on the notes for you, so you can click on it.
Yeah, so the only problem that I've been reading about is the Python's not picking up on the dimensions or the length of the line.
So they have to be exactly four millimeters in order to do, like, tree branching.
So it's working on that feature.
Whereas with the regular block, you can draw – a kid can draw a line, and it'll work.
But I think that's great, and they have the examples.
So they have the three simple ones that you can get right into the square walk example, and then it goes down into a little bit more complex where the template ones are.
So it's pretty cool.
Yeah.
Any idea how much – I mean, like, if I'm a teacher.
Yeah.
$175 for the new Ozo bot Evo.
It used to be $95.
But, like I said, it's a new improved.
You can get a class set.
A class set of, I think, eight is – I don't know.
I want to say $2,000.
Okay.
So it's not too bad.
It is one of those things that a teacher could go and get a grant for.
I was thinking even, like, a teach-at-home sort of thing as well.
Oh, yeah.
It's not out of bounds for –
Yeah, $175 is not bad for the bots going – you know, the bots that I've seen out there right now.
And I really like the idea of having programming be something that's interacting with the real world.
Like, either – that's what I liked about some of the MicroPython stuff or CircuitPython.
The Playground Express and stuff does lights and everything.
But this, it's – maybe it's just a little robot, but having it – your computer, your code, change something that they can see, it does make a big difference to make that reality there.
Yeah, and it's pocket-sized, which is – I love.
I love.
It's not big and bulky.
You can throw it in your pocket and walk around.
But I might lose it in my house.
Yeah, you might.
Your cat might take it or something.
But, yeah, that's mine.
Excellent.
Well, that's a really good find.
Brian, before we move on, I want to tell everyone about our sponsor this week.
I would like to tell us – tell everyone and to thank Microsoft and Microsoft for Startups for sponsoring this episode.
Microsoft for Startups set out to understand what startups need to be successful and created a digital platform to help you overcome those challenges, and it's the Founders Hub.
Founders Hub provides all founders at any stage with free resources to help solve startup challenges.
Platform provides access to expert guidance, skilled resources, mentorship, and networking connections.
Technology benefits and so much more.
Founders Hub is truly open to all.
You don't need to be investor-backed, but you can be.
Speed up development with free access to GitHub and the Microsoft Cloud.
Unlock credits over time.
Also discounts and benefits from innovative companies partnering with Microsoft Founders Hub, such as OpenAI.
You'll have access to their mentorship network, which includes hundreds of mentors across a range of disciplines.
Need advice on marketing or fundraising or idea validation?
Tons of topics, including management and coaching, are available, and you'll be able to book a one-on-one meeting with mentors, many of whom were former founders themselves.
It's no longer about who you know.
Get the critical support you need from Microsoft for startups, Founders Hub.
Make your ideas a reality today by visiting pythonbytes.fm/foundershub 2022.
That link, of course, is in your show notes, and we appreciate you using the link to let them know that you heard about them from us.
Yeah, thanks, Microsoft, for supporting the show.
Hey, Brian, real quick, real-time follow-up before we get on the next topic.
Marco and the audience says, I envy every child that gets hooked onto programming with one of these.
Yeah, that's way more compelling than original basic or Fortran or whatever many of us had to fight our way through.
Yeah.
Guess the number game.
Yes, exactly.
How about the print your name diagonal infinitely many times?
That one's a good...
I'm still trying to find it, but I remember when I was in third grade, I had a book that had programming challenges that would unlock parts of the story.
So you'd read a few pages, and then you'd have to solve some puzzle to figure out what happens next in the story.
And I need to go back and find it because it was such a creative way of getting kids engaged.
And it was the cost of a book.
Choose your own adventure, but with...
Oh, with code.
It's kind of like the advent of code thing.
That's my next sixth grade project.
I'm just going to have them do it.
You have to guess the right word in order to see the next lesson.
Nice.
Exactly.
Speaking of setting words, I want to talk to something a little more on the DevOps-y side, perhaps, of things.
But this is a real simple one that I think people will find some joy and use for.
I don't know if you've written any Python code and then wanted to know what's happening with it.
So if you open up Activity Monitor in macOS, if you open up Task Manager or some of the Sysmon tools, and you say, what is my program doing?
Is it using a lot of memory?
Is it busy?
It's not...
Nothing seems to be happening.
Is it like the CPU is pinned or is it just stuck?
You want to find your program in a list of programs or use even top or something like that.
What is the name of your program?
It's Python.
It's always Python.
And there might be many things called Python that are not even related to your thing called Python.
No.
So I want to tell people about this thing called SetProcTitle, as in SetProcessTitle or name, which is really, really cool.
And its use case is incredibly simple.
I think I even have an example here.
Yes.
Here.
No.
One of these.
I don't have the exact code.
But one thing that's cool is if you do anything with web stuff like MicroWSGI or G-Unicorn, if you would just have this installed as part of your web app or your API or any of those things, like in MicroWSGI, you can say proc name prefix is like, for example, on TalkByTheTraining, we use MicroWSGI.
So it says training dash.
And then you just say autoproc name is true.
Oh, cool.
When I go to the server and I hit glances or top or one of these types of things and you say, what are my processes doing?
Well, guess what?
It's called training MicroWSGI worker one, training MicroWSGI worker seven and eight.
And then for the thing that does the search engine as a system daemon I wrote in Python, it was also called Python in the list.
But now it's TalkByTheOn search, as in training, search daemon and these things.
And all you're going to do is basically import set proc title and say, at the beginning of your program, set proc title, whatever you want to see here, off it goes.
But also the web frameworks will pick this up and use it if they find it a lot of times.
Nice.
This is really cool when you're working in like a Docker environment where you've got a bunch of containers that are all running Python, especially ones that maybe you are just, you know, hosting rather than building.
This is a great way to identify your specific processes.
So I really like this.
Yeah, I like it too, because it's just so simple to use.
You literally, one import statement, what is the title?
But it knocks on, it follows onto these other tools that make it really useful.
So you can find your thing, not just, you know, one of the 10 Python things.
Yeah, just don't set the proc title to Python.
You could be also Python.
It could be also Python.
Exactly.
You could set it to like sneaky things.
Like you could set it to notepad on Windows or service host or like some weird thing.
You're like, oh, no, it's blending in.
This reminds me of that library, the progress library or the spinning wheel of death on the Mac.
So we just have the cursor and the ticking cursor going around.
Each wall, right?
Just combine them, combine them two together and just go, yes, it's still processing.
Exactly.
Evil virus.
All right.
Well, anyway, that's set proc title.
People should check that out if they haven't used it.
Oh, nice.
Cool.
Well, I was looking in the past before looking at old, the origins of Python.
Now I want to look in the future at 3.12.
Didn't we just get 3.11 though?
Yeah.
So 3.11 really just was finally released in like November, right?
So just last month, I think.
But I'm already looking ahead to 3.12.
So it is in the alpha stages.
So one of the things I want to point out like a caveat right away is that publishers, pre-release users should be aware that, oh, I forgot.
This isn't the right morning.
But basically, stuff in alpha might change.
So be careful if you're using alpha.
So 3.12 is on the alpha 2 release.
I'm already checking it out.
One of the things I love already, I'm loving this in 3.11.
So I'm glad they're going for more changes is the improved error messages.
100%.
So I'm already seeing.
Have you guys noticed?
I love it.
It's so much easier to teach.
Just let me tell you.
I'm like, read down last line.
Read it.
Yeah.
If you import something or use a wrong variable or something, having it be able to say, did you mean?
And then pick the right thing.
That's incredible.
It is incredible.
I love it.
So even more improvements in the error messages, which is great.
This is nice.
Did you mean?
Yeah.
Did you mean from import?
Oh, I've done this before.
Do you say import from?
You can't do that.
You have to say from thing, import thing.
So nice.
Those are great.
The new features so far, it's a Linux perf profiler.
So if you care about that, run it on Linux.
That's kind of neat.
There's a whole bunch of other changes.
The one thing I noticed was pathlib walk.
I didn't know pathlib didn't have a walk.
So for your walking, a directory tree, which is kind of neat.
Anyway, why am I bringing this up?
Because it's not going to come out until next November.
So why should you care about it?
Well, you should care about it as soon as possible if you're a Python package maintainer.
If you maintain a package that other people are using, why not start already and see if
there's anything in there that you need to care about?
And what I did, so I wrote up a little article on testing with Python 312 at pythontest.com.
And I just went through the changes.
So there were just a few lines of change that I needed to make.
If I talk about where to get it and using also running Py, which is Brett Cannon's Python
launcher on Mac in on Windows, it just comes with Py.
But once you install it, you can use three.
You can use that to launch 312 to play with things.
So the one liners really are.
I've got a tox any file that I just added 312 to.
That's it.
And then what else?
GitHub Actions.
GitHub Actions also does 312 now.
So I added 312 dev to the test matrix.
But so I released this morning.
I just wrote this up and sent it out.
And I already got a question back from Brian Skin saying, what if it fails?
I don't really want to like not release something just because 312 failed.
And if you care about that and want to make sure that that doesn't muck up your pipelines,
there's a way to deal with that.
So there's some documentation on GitHub Actions on how to deal with that.
And it's using continue on error.
And I'm using the documentation uses the variable experimental.
And that sounds good to me.
So I'm adding like a treat everything else normal without experimental, but treat 312 dev
as experimental, which means continue on error.
And all this does, the only thing it does, if you set that for a particular thing, is it
allows your different things that you're testing, it allows some of them to fail and not stop
others.
So by default, if anything fails in the GitHub Action Pipeline, then it stops running all the
rest of them.
And what this does is it allows the rest of them.
You still see that something failed.
So you have to decide whether you care about that or not, but it'll let everything else
pass.
So anyway, also handy for ensuring that all of your tests continue, right?
So if you just want to let it continue on everything, all your pipelines will always work.
You'll never break the bill and have to worry about it.
Yeah.
It's fine.
Brian, is this what you're recommending?
No, I actually, seriously, I like that feature.
And I love the experimental classification.
That's cool.
Yeah.
So anyway, what do we got next?
Well, over to Sean.
Yeah.
So I was at in Las Vegas last week for reInvent from AWS.
And I'm still not sure what day it is.
It's it was Las Vegas is its own time zone, meaning all of them at the same time.
But what I saw there was actually a really great chat by a company called EF Education
First.
It's been around for a long time.
They have schools and offices and training centers all over the world.
And they were talking about how they were using the cloud to reinvent online learning.
And they've been doing online learning for years and years since the 90s, in fact.
And what they recognized was that when we all went into the pandemic and we did online learning,
a lot of it looked like old school classrooms where everyone was neatly arranged in rows
and all sitting there facing forward and looking forward, just like we are kind of on this call right now.
But they recognized that that's not really the way that classrooms work anymore.
We don't all sit in rows and face forward towards the teacher.
We we are more interactive.
We're more engaged.
We're more collaborative in the classroom.
And they wanted to redesign their platform to do that.
So they retooled their entire thing using AWS cloud.
But what was great about their approach was that they also baked in a lot of science into the online learning.
And what they were talking about was the way that we've been doing measurements and metrics and science and learning online is always after the fact.
We look at test scores or we look at assessments.
We look at the way that people answer multiple choice questions.
But we don't actually bring the science into the actual learning environment, into the live classroom.
So what they did was used a number of AWS services, which you could find on any platform.
Transcription.
They used a bunch of NLP work with it.
A lot of analysis to be able to figure out how engaged every student was in the classroom, basically as it was happening.
So they could give feedback to the teachers to show them, like, hey, these students are really engaged.
These ones, not so much.
And then they also use some really great computer vision to see how people were interacting with the coursework.
So even just where their mouse was and what the position was, as well as their level of engagement with the students.
So what I really liked about this was they looked at this problem of online learning and tried to figure out how do we make it suck less for the teachers, for the students, for everybody involved.
And what I got me thinking about in this talk was how could we use this in computer science?
So how can we take that same level of engagement around learning a foreign language or learning business processes for an MBA and apply that to computer science in a really highly engaging sort of way?
And also a very metrics driven, sciencey sort of way so that everyone, student, teacher, administrator can get better information about how the learning is actually happening online.
I love that.
Like educational data mining at its best.
They really took it to another level.
I mean, just their classroom experience is very dynamic, right?
So it's almost that Twitch style.
If you see on the screen here, the instructor is green screened in in just the corner of the screen, right?
So it's not over in a box with a bunch of distractions.
He's in the corner and he's doing in this screenshot, he's doing a little bit of a mix and match and drag and drop.
But they had other examples where he was they had created a digital set where he was behind the counter at a hotel and he could practice, you know, checking into a hotel using the foreign language.
With him as the receptionist and the student as the guest coming in.
That's pretty cool.
I think there's like there's a lot of big uptick in a lot of the educational data mining side for the data scientists.
And there's been a lot more ability to collect all this big data from these websites.
We had a slew tons and tons of data from COVID-19.
And I think a lot of people are realizing, wow, we have so much data now.
What can we do?
And that's awesome.
That's awesome.
Just changes, just changes the dynamics.
I haven't been in the education space directly enough lately to know, but obviously I've seen kids through there and, you know, I was in a lot of school myself.
I feel like there's still probably a lot of opportunities for technology in education to make it smoother and nicer.
Is that still true?
Yeah.
I mean, just think about when you provide a course where you do a course online and you're in this box and all your cohorts are kind of in this box and you have to switch.
And then your slide takes over all the space when your students are trying to type.
And if you don't have two monitors, everything gets in the way.
So this can actually reshape the way that learning online for adults, for kids can change, right?
So can you imagine you're a nice little cutout person on the bottom screen and your code's going up behind you as you type.
So you're not in the way and you're still there and you're still engaging and you're still keeping, you know, that physical contact.
I did air quotes there for those people listening.
I keep forgetting podcasts.
Physical, you know, contact with your students.
Yeah.
And did you air quote that we were a podcast?
A podcast too.
Can't take her anywhere.
Sean, what else was your takeaways from AWS reInvent?
There were a ton of really great talks there.
And I'm catching up on a lot of them that I missed online.
But really the main point was that everything is asynchronous.
Everything is event driven.
And it's pretty much Python all the way down.
There's Lambda functions everywhere.
And most people are writing them in Python.
There's, you know, plenty of other options as well.
But it seemed like it was the most popular choice for making things happen in the cloud.
Looks like a lot of the videos, you know, it's in other sessions are available on demand as well.
So yeah, I put a link to the one with Werner Vogel, which was really great.
That was all about the asynchronous world that we live in and making the making the cloud more asynchronous.
Yeah.
As well as a, I forget the other one I put in.
I think it was a link to, oh, a new feature that they added called EventBridge pipes, which I thought was kind of fun and a nice throwback.
So EventBridge on AWS is like a place where you can have event driven code.
So one process will finish, it will post an event saying, hey, I'm finished.
And then another bit of code like a Lambda or something else can pick it up and process it.
But they took the idea of bash pipes or Unix style pipes, and they're using it to connect these events more directly.
So instead of having to write a bunch of glue code to be able to pass data and information about these events from one process to another, from a producer to a consumer, you can just connect them together directly.
And so, okay, when this happens, then do this other thing, just like you would pipe output from one command into the input of another.
Okay.
Very interesting.
Nice.
I also got to give a shout out to AWS and for, or in re-event to get those videos out that quickly.
I mean, it just stopped just a few days ago.
So that's amazing.
Yeah, they had live streams for just about everything.
You could register for free for it.
Pretty much every breakout session I went into had a really nice camera in the back filming it.
I think I even, I was even interviewed on a video podcast while I was there.
They really were embracing video and live streaming and making it available to as many people as they possibly could.
I guess when you're like the top server holder and space provider, it doesn't matter, right?
Sure.
It's just money, right?
Yeah.
Well, it's a great example of, you know, a company investing millions in a conference to get billions back from the developers using their platform.
So it seems like a smart investment.
Absolutely.
Well, yeah.
But wait, before we move on really quick, just an audience, James just says that would be an awesome use of tech and teaching comp side.
Yeah.
That's definitely about Sean.
Yeah.
Do we have any extras?
I guess we're rounded out.
Kelly, do you want to go first?
Yeah.
Go ahead.
Yeah.
So I just saw this and it's only been out for six days, but there's a new special interest group with the PSF, which is an EduSig.
And it's led by Timothy Wilson.
So I actually reached out to him because they've got a great list of universities that are teaching Python.
They've got about five high school schools that are teaching Python.
And I'm like, wait, I know there's more because I know there's a lot of our listeners out there are teaching Python there.
And with all the work that's done with the educational summit, I thought this was interesting.
There's not much on it from the PSF, so I'm hoping to find some more information soon.
But it's only been out six days, so I've got to be patient, I guess.
I'm like, go.
And launch with full five pages of information, please.
Yeah, that's excellent.
That was cool.
Nice.
Sean, do you have any extras?
I posted a couple of links to those talks at reInvent that I really liked.
Okay.
Go check them out.
They're pretty fun to watch.
And like Michael said, I think pretty much all of the live streams are out there, certainly of all the keynotes.
But it was looking at dozens of different breakout sessions available now and all of it online for free.
Wonderful.
All right.
I got a couple real, real quick ones here.
So I talked about TextSniper and Textinator a little while ago, which is just fantastic software for, you know, select part of your screen.
Whether this is a video you're watching with like a code demo and they're like, oh, here, call this API.
Or here's a link to it.
Just quick.
Command-shift-2.
Select.
But we left our Windows friends out of that.
So who was it?
I want to make sure I give some credit here.
I don't remember who said this ever.
I'm sorry.
But someone, thank you, listener, sent in a text extractor, which comes from the Microsoft Power Tools for Windows, Power Toys for Windows, which is the same thing for Windows.
So if you're in Windows and you want to be able to hit a button or hot key and then say, I want to copy this out of the video.
So I'm taking notes and I don't want to write, you know, five lines of bullet points.
I want to just paste them.
Boom.
Here you go.
So there's that.
That's a great free one.
Nice.
Did a quick article over on using Jinja partials to break up your HTML templates like Jinja, Chameleon, and Django templates into more reusable pieces.
And yeah, that's it for me.
Just those quick ones.
Okay.
I just had like, I guess now that I have two teachers and we were talking about how education has changed.
I just want to hear if you have a similar experience.
So my daughter is in junior high, eighth grade, and she's the she was in sixth when they were home the whole year doing like and the they did it all on iPads.
Now they're back.
They're back, of course, but they're still using the iPads a lot.
And they're even turning a lot of their work in.
I mean, and I didn't I didn't type when I was in junior high.
I was writing stuff and they actually some of the writing assignments have to now have to actually be in paper, which is the unusual thing.
Most of them are typed and sometimes they're in paper and people and the kids complain of like, I don't want to actually write something.
Have you guys deal with that at all?
Or I feel I feel the same way.
I hate writing.
I do, too.
Sean and I would not have a printer in our room.
They're like, do you have scissors?
Do you have a pencil?
I'm like, what's a pencil?
Who uses pencils in this school?
I think it slows down.
For us, for me, at least, it's inefficient.
I'd rather type something.
I can even start typing while kids are up to me looking at me and I can without, you know, looking at the keyboard.
And whereas if you're writing, you have to stop.
And one of the interesting things is the due dates.
Now, the due times are not on.
They're not like 59 PM.
Yeah.
They're like midnight or something like that.
It's defaulted in most learning management systems.
And teachers are lazy, just like coders.
Okay.
Interesting.
All right.
Well, thanks.
Well, I think the whole typing versus writing is it should have a purpose, right?
There should be an intent behind it.
So, in some grade levels and in some settings, the idea of writing something out is really important.
It might be to help slow down the thinking or even sometimes the tactile feel and the feedback that you get from the pen or the pencil moving across the paper, right?
It's the satisfying part of using a crayon.
But as long as it's not, oh, write it because I told you to, right?
Or write it so you don't cheat.
Right.
It should be there for a purpose or a reason.
We want you to write this out because we want you to slow down and think about what you're writing or take the time to process what you're writing instead of just, you know, typing it out.
That makes sense to me.
But I never appreciated the just do it because I said so.
I'm concerned about the kids' ability to doodle while the teacher's talking, though.
Are we losing that?
No.
Teachers don't like kids to doodle while they're talking anyways because they're like, you're not listening.
I mean, that's what's said, right?
We, on the other hand, we have whiteboard markers all over the table, you know, out there for the tables and the walls.
That's something that Sean and I started and has kept.
Because we do like the process of writing, like Sean said.
I, you know, write out your pseudocode.
Think about what's going on.
How would this look if you were writing something in an editor?
A hundred percent.
But actual writing stories?
I use Grammarly.
Like your tweet.
Well, I forgot.
We haven't got to our joke yet.
This is true.
I actually have a really quick follow-up.
Now, for people who are in the digital side but kind of want this, you can check out Paperlike, which is a screen protector for your iPad that gives it writing on paper feel.
Oh, nice.
For the pen, that might be kind of nice because still writing on glass is just odd.
All right.
But on to the joke.
We got a couple of jokes.
Marco was picking on me earlier saying, you use Mastodon, Michael?
I had no idea.
But as much as I love it, I tried to pull up the jokes last week, which were on Mastodon, and they would not pull up.
If I pulled them up when I was logged into Mastodon, they would say, you can't find these.
But if I pull them up in an incognito window, guess what?
You can find them.
So I want to highlight a couple of jokes.
We talked about recursion like the week before.
And Kim Van Wijk says, given the nature of the joke, perhaps next week's Python Bytes joke could just be, see last week's Python Bytes joke.
And also, I saw another joke, or not really a joke, but sort of a meme derived from a real thing, is apparently crows, ravens, can learn recursion.
And so it's just a matter of time before they take over the world.
No, they're going to get stuck in a race condition where they don't have a base case, and we'll never see them again.
They're like, no exit condition?
No.
The call stack got too deep.
Sorry.
Why did that raven fall over?
Well, it just went in circles faster and faster until it collapsed.
All right.
Then I got another Mastodon sort of follow-on joke because, you know, Mastodon is like open source and like independent and not corporate.
But it's kind of weird.
So this person says, timeline of a new Mastodon user.
Day one, this sucks.
Servers are confusing.
Why is my feed empty?
Day two, there's no quote tweet.
This is dumb.
Day three, Mastodon better make some changes if it wants to compete with Twitter.
Day seven, hmm, people are nice.
Day 10, I'm loving the note ads and real conversations.
Day 15, the workers must seize the production.
It means a reduction to execute the capitalist, might I add.
The billionaires first.
Yeah, maybe I can see people getting a little too intense in this.
And then let's see here.
That's too true.
I'm telling you, this is the timeline.
We're like on day 15 around here.
And then I saw some, one of you all put this joke in here as well.
Someone want to take that one?
Yeah, this is the, you know, my source for most of my geek humor, which is XKCD.
And it's a matrix, a feature matrix of the various social media platforms.
And so on the left side, it's got things like direct messages, group chats, file transfer,
built-in games, user run instances, doesn't require a central server.
So it just goes all the way down.
And across the top, it's Twitter, Discord, Mastodon, Facebook, just goes all the way to
the right.
And on the very right side, you know, everything has like maybe half of the checkboxes at most
filled in for features.
But on the very right side, it says the Cybeco wireless handheld computer for teens from the
year 2000.
And it's every single checkbox.
It does all of it from 22 years ago.
I love it.
Interesting.
We were living in the future and we just didn't know it.
Yep.
So now there's going to be a run on Cybeco computers on eBay.
You'll never be able to find one now.
It'll be like raspberry pies.
They're just to be unobtainium.
Yeah.
Like that quote, the future is now is not true.
The future is 22 years ago.
You missed it.
You're late in the game.
Well, so thanks.
Thanks everybody for coming on the show.
It was a lot of fun.
Thanks, Michael.
Thank you for having us.
We always enjoy it.
Yeah.
Thanks for coming, Sean and Kelly.
Bye.
Bye everyone.