Latest / Talk Python To Me / #297: Python year in review (2020 edition)
Transcript
- 0:002020 will be one for the history books, won't it? I've put together a great group to look back on
- 0:052020 from the Python perspective. Join me along with Cecil Phillip, Ines Montani, Jay Miller,
- 0:11Paul Everitt, Reuven Lerner, Matt Harrison, and Brian Okken for a lighthearted and fun look back
- 0:17on the major Python events of 2020. This is Talk Python To Me, episode 297, recorded November 30th,
- 0:242020. Happy New Year, everyone, and thanks for listening.
- 0:27Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem,
- 0:32and the personalities. This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy,
- 0:37and keep up with the show and listen to past episodes at talkpython.fm,
- 0:41and follow the show on Twitter via at Talk Python.
- 0:44So let's go ahead and just kick off this episode. This one is a little bit different than the standard
- 0:49show. Everyone here has been a guest and a great guest, and some of you even repeat guests. Some
- 0:55of you are a repeat guest and scheduled for more episodes even, hint, hint, Ines. But let's go
- 0:59ahead and kick it off. So this is going to be a year in review. There's a bunch of us here,
- 1:03seven or eight of us, and I'll just do a quick introduction. Let me just welcome you individually
- 1:08on. You could say, you know, a couple sentences about who you are and whatnot so people know.
- 1:12And then we're just going to get into what you thought was the most interesting, impactful thing
- 1:17of the year. And I have some software to help me do this. So let me run it here. Darn it,
- 1:21it's me. All right, we'll go back to that. Well, let me welcome you all, then we'll go
- 1:25through this. So Jay, Jay Miller, welcome to Talk By The Me again.
- 1:28Happy to be here. I haven't been a guest in like three years. So
- 1:31I know, but your episode was so popular, like over a hundred thousand people listened to your
- 1:36episode. Can you believe that? That's so insane.
- 1:38I'm shutting down my podcast. I don't get those kinds of listens.
- 1:40Tell people about yourself.
- 1:44Sure. Jay Miller. I'm a podcaster, developer, now developer advocate for Elastic, you know,
- 1:50the people that do search and we are database shots again, Michael. But yeah, I'm just happy
- 1:57to be here. Yeah, that's it.
- 1:59Awesome. Welcome. Reuven Lerner. Welcome back. Good to see you, man.
- 2:03Hey there. Nice to be here.
- 2:04How early is it?
- 2:05It's not that early. It's only 530.
- 2:07Oh, okay. Well, thank you so much for waking up early and making, yeah, we have people from
- 2:11basically every corner of the world. So yeah, tell people about yourself again,
- 2:15if they haven't heard the episodes.
- 2:16Sure. So I'm a Python trainer. So most days I'm in different companies doing on-site training.
- 2:23Nowadays, a little less on-site for some strange reason. And so I normally do corporate training,
- 2:27everything from intro to Python for non-programmers all the way up to advanced Python workshops.
- 2:31And I also sell a whole bunch of courses online to individuals. Oh, and I have my book,
- 2:36my book, Python Workout.
- 2:37Yay.
- 2:38Yeah. And we're streaming live with video, so you can hold it up. Yeah, that's awesome.
- 2:42Oh, I can hold it up.
- 2:44Python Workout. Awesome.
- 2:45And this is the picture of me on the cover, of course.
- 2:46Of course. Yeah. That was when you were working out, preparing for the Olympics.
- 2:49Precisely. Precisely.
- 2:51Yeah, exactly. So we'll be sure to link to your book and some of your courses as well.
- 2:54Ines, welcome from the other side of the world.
- 2:57Yeah, I'm currently in Australia. Escaped the EU lockdowns. And now I'm here. Yeah. Happy to be back.
- 3:04I think I've been on a few of your podcasts, but it's always my favorite podcast.
- 3:07Oh, thank you. Yeah. It's awesome to have you here. And I have definitely dreamed about,
- 3:12well, my daughter goes to school online. I always work online. Maybe we should just go somewhere by
- 3:18a beach away from people. How can we do that where it's warm? Right. And it seems like you pulled it
- 3:22off. Beautiful. All right. Paul, Paul Everitt. Welcome.
- 3:24I just saw Anthony Shaw talking. So if you want to talk about converting your life to work at the beach,
- 3:30just subscribe to his damn Twitter account. Welcome, Anthony Shaw.
- 3:34Anthony, I'm raging against you.
- 3:35Oh my gosh. Also from Australia. Hey, Anthony. And Andri from PyCharm is here. A bunch of folks.
- 3:41Mark, awesome. Paul, introduce yourself.
- 3:43Sure. Developer advocate at JetBrains for Python stuff and web stuff. Most known for giving the Python
- 3:491994 talk. My purpose on this panel is to increase the median age so that we all qualify for the
- 3:56discount at the buffet.
- 3:57Hey, man. I'm right there with you. Right there with you. Awesome. Nice to have you, Paul.
- 4:01Brian, we've met before, right?
- 4:03No.
- 4:03Brian Okken, he and I co-host Python Bytes Together. And you've been on the show quite a few times as
- 4:09well. Last time, I think we covered 30 pytest plugins. That was quite the whirlwind tour.
- 4:13Yeah. So I highly recommend this book to anybody that wants to learn pytest.
- 4:17Awesome. Matt Harrison, welcome back.
- 4:18Thanks. Good to be here. I guess I'm similar to Reuben. I do corporate training and consulting in Python
- 4:25and data science. And I guess since we're flaunting books, I'll flaunt my latest book.
- 4:29Wait, wait. The tiny Python 3 notebook. Awesome.
- 4:32The Python notebook. It's very small. Anyway.
- 4:34It is tiny. Well, what I was going to say, Matt, is like, you're going to need to be like basically
- 4:38an octopus to hold up all your books. Multiple books on each tentacle.
- 4:42I've got a few here. So yeah, it's good to be here. Thanks for having me on.
- 4:45Yeah. Yeah. You were just recently on about learning how to learn.
- 4:48Yeah.
- 4:49Does it count if I have everyone else's book?
- 4:51Yes, it does. But it will also be hard to hold them all up, especially if you've got all of Matt's.
- 4:55Cecil Phillip, man. Hello. Good to see you, friend.
- 4:58Hey, thanks for having me on. I don't have any books to share,
- 5:01but because I hate writing, so I don't write anything.
- 5:03I do do some video. So if y'all are interested, I do do a weekly Python stream on Wednesdays.
- 5:10So if you folks want to check it out, it's on Twitch, the Microsoft developer account.
- 5:13And we do very beginner-friendly conversations about Python and stuff like that.
- 5:18And Michael, you were just on the other day too, right?
- 5:20Yeah, it was so fun to be on there with you. We got to play around with FastAPI.
- 5:23And man, that's a cool framework.
- 5:24So it's Coding from the Beach. What's the name of the show?
- 5:27That's a good name, actually. Maybe I should coin that one.
- 5:29No, so we do PyWeekly. So it's me and my co-worker, Brian Clark.
- 5:35And we kind of approach Python from the perspective of beginners,
- 5:39but also from two people that don't necessarily know Python very well.
- 5:43So Brian is a JavaScript guy. I'm a .NET guy.
- 5:46But we're both, I like to call it PyCurious. You know what I mean?
- 5:49Like we're Python Curious.
- 5:50And we definitely want to show people the different perspectives of learning new languages.
- 5:56Yeah, it's super interesting. And it's really low-key.
- 5:58It's like you said, it's this Twitch sort of exploration style of code,
- 6:03not polished presentation style.
- 6:05So you just guys sit down, take feedback from the audiences and go with it.
- 6:09Yeah, I love the show because I'm never prepared.
- 6:11Like I kind of just show up and talk about stuff and people love it.
- 6:15And it's great. I don't have to do notes or anything like that.
- 6:19We just kind of be like, hey, what do we want to learn about today?
- 6:21Right? Well, let's go ahead and do it.
- 6:22Yeah, fantastic. All right.
- 6:24Well, given how many of us there are, let's go ahead and just jump in.
- 6:28And we're going to do our year in review.
- 6:29And so I've written a small piece of Python software here in the REPL.
- 6:33It's very advanced. It's at least four lines of code.
- 6:35I've got to tell you.
- 6:36And what it's going to do is going to pick one of you.
- 6:37And then we're going to have you talk about what you felt was the most significant
- 6:42or impactful thing that you saw happening in the Python space.
- 6:45So round one, Cecil, you're on screen and it pulled you up.
- 6:49Go for it.
- 6:50I got lucky.
- 6:51Okay. So the most exciting thing that I think happened in the world of Python and one that I have a little bit of a close relationship to is the fact that Guido von Rossum joined Microsoft just a couple of weeks ago.
- 7:04So I didn't mention this before, but I do work at Microsoft as a developer advocate.
- 7:08And I think for me, it's been a really interesting to kind of see how the company has been embracing open source and working with a lot of the creators.
- 7:18And now seeing a lot of the leaders of the industry kind of join the company, you know what I mean?
- 7:22It kind of, you know, it's a kind of, it's like a different world.
- 7:25I mean, I don't know how else to explain it or talk about it.
- 7:28It's been really great to have him here.
- 7:30I had the opportunity actually to interview him and we did like an internal interview just talking about like, well, what made you decide to come out of retirement?
- 7:38That's awesome.
- 7:40Was this on channel nine?
- 7:41Is it public or is it?
- 7:42No, it was internal.
- 7:43It was an internal interview.
- 7:44I don't know what his, his, I'm sure he'll do some other ones, but it was an internal one.
- 7:49Did you make him whiteboard?
- 7:50No, we didn't do him any whiteboarding.
- 7:52We did ask him what some of his favorite shows were.
- 7:54So that was pretty interesting.
- 7:56We asked him like the Star Trek versus Star Wars conversation too.
- 7:59I couldn't, I couldn't handle that pressure.
- 8:01It's hard, man.
- 8:02It's a tough crowd.
- 8:03It's a tough crowd.
- 8:04I think it's definitely amazing to be able to see folks from the industry, like kind of embracing like these different companies and us really supporting open source in a very like authentic way.
- 8:15Yeah.
- 8:15It's such a big change.
- 8:17Reuben, you were just talking before we started streaming, I think about, you know, 10 years ago, how this was really different.
- 8:22Oh yeah.
- 8:23I mean like even more, but yeah, even 10 years ago, the notion that Microsoft would be so involved in the open source.
- 8:29Space and specifically the Python space was basically unthinkable.
- 8:33I mean, I think it was Steve Ballmer who said that, you know, Microsoft, like the Linux and open source were a cancer on the industry.
- 8:40And they were definitely seen, you know, Microsoft was seen as an enemy of the open source world.
- 8:45And it's been truly amazing to see them just embrace it.
- 8:47I mean, you see the booth at Python, you see the VS Code investment.
- 8:51It's very, very impressive.
- 8:52And it demonstrates, and he says, we'll say this earlier, like how much leadership at the top really can change the direction and the attitude of a company.
- 8:59And that filters through to even the lower level people and the decisions made there.
- 9:04Yeah.
- 9:04That's a lot of hard work, right?
- 9:06Because if you think about it, we've had different leadership for a very long time.
- 9:09And so for some of us, some of this change that people are still recognizing, I mean, we've been doing it for a very long time.
- 9:15You know what I mean?
- 9:16Like we didn't just in 2020 decide, oh, hey, let's adopt and support open source.
- 9:21It's been one of those things that have been building, you know, very much over time.
- 9:25But, you know, the fact of the matter is like you still have those old stigmas that we still have to shake.
- 9:29And, you know, we still have a lot of folks that we have to help convince that we're not the death star and we won't, you know, destroy the world kind of thing.
- 9:36But I think it's a good responsibility to take on because there's also, you know, there's a lot to fuck up.
- 9:43And if you commit to like doing something like, you know, GitHub acquisition and say, okay, we're doing that and we're running it, you know, we're good sign forward because every misstep can have like, you know, a really big impact.
- 9:55You know, if Microsoft starts doing bad things again, people are not going to be, you know, very forgiving at all.
- 10:00So I think that was the most sensitive one of them all is the GitHub acquisition because what they do to Azure is kind of their story.
- 10:07What they do to Windows is their story.
- 10:08But what they do to GitHub, that's everyone's story.
- 10:10And all of a sudden, that was a big deal.
- 10:13And on top of that, you have the ability to give GitHub a little bit more power in the space.
- 10:18Like, I mean, we've all been kind of watching what's happening with like YouTube DL and stuff like that.
- 10:23And just seeing the support.
- 10:25It's not just GitHub anymore.
- 10:27Now it's like, okay, what does one of the wealthiest companies in the world, you know, say about this particular position that YouTubers have a problem with, that people in tech have a problem with, like a lot of abusive behavior.
- 10:41And on top of that, you're providing support for things like npm.
- 10:45It's one of those questions.
- 10:46We all want to contribute to open source, but none of us have the financial ability to contribute like a company like Microsoft can.
- 10:54So I'm not just saying we're going to be a part of it, but saying, no, we're really going to be a part of it is like a huge deal.
- 11:00Yeah.
- 11:01The million dollar defense fund that they just announced is a big deal.
- 11:04Yeah, for sure.
- 11:05And when you think about GitHub, right?
- 11:06Like you think about like developer culture.
- 11:09That's what GitHub kind of represents to me is the new, you know, the future of developer culture.
- 11:15Like how do we collaborate?
- 11:16How do we work with each other?
- 11:17How do we share not just source code, but like experiences and knowledge, right?
- 11:21Through like something that we can all connect together with.
- 11:24That's code, right?
- 11:25And then kind of circling it back around to Vita, being able to, again, see these leaders of these really large open source projects put their faith in the company.
- 11:35And even considering what the past of the company was to what it is today.
- 11:38I think hopefully like the rest of the open source world would start to realize that we are serious about being good open source citizens and supporting the culture and the community.
- 11:47I mean, me personally, I'm just really excited to see what he's going to do, what he's going to work on.
- 11:51The future is bright, man.
- 11:52Yeah, absolutely.
- 11:53I think someone on Twitter had said, so now we actually hire folks that contributes to, you know, obviously C# and F sharp and the .NET stuff, but also folks that contribute to Java, Rust, C++, and obviously Python, right?
- 12:09So we have a whole host of language folks underneath the umbrella of the company.
- 12:12And so now being able to have that space of collaboration, like underneath the umbrella of one company, I think is going to be really interesting to see what the next couple of years looks like.
- 12:21Yeah, you're going to have to come back in six months and give us an update on all the Python tools you see.
- 12:25I'll give you the six month update on it.
- 12:26Right on.
- 12:27All right.
- 12:27I'm going to run the chooser.
- 12:28Hall, it has chosen you.
- 12:30Not sure about your chooser algorithm here.
- 12:32There doesn't seem to be.
- 12:33Random dot choice.
- 12:37I'm telling you.
- 12:37This time, it's not a good time to talk about election strategies.
- 12:42And as soon as how it chose you first.
- 12:44It could be flawed.
- 12:45We're reviewing it.
- 12:47Are you changing the random seat on everything?
- 12:49Exactly.
- 12:50Exactly.
- 12:51Yeah, I should be.
- 12:52My topic is things change, nothing changes.
- 12:56And I think I'm maybe stealing someone else's topic.
- 12:59So I appreciate your random algorithm choosing me first.
- 13:02And it's kind of along the line.
- 13:03I'm kind of interested in open source communities over the years and decades and why one works,
- 13:08why one doesn't.
- 13:09In particular, a lot of open source projects that get successful kind of founder when the founder leaves.
- 13:15And over the last couple of years, you've seen Guido transition out, stepping out as BDFL and kind of a new language governance model that he didn't even decide on.
- 13:25And then, you've seen the big fundraiser.
- 13:35An organizing event called PyCon.
- 13:37Python 2.7 end of life, which I guess a lot of us thought would never effing happen.
- 13:44And it effing happened.
- 13:45And through all of this change for a project that was like reaching mega escape velocity and popularity, nothing changed.
- 13:54Everyone's like, who cares?
- 13:55Python just kept on doing its business.
- 13:58Releases kept cranking out.
- 13:59Peps kept cranking out.
- 14:01Elections.
- 14:02Well, Python elections kept cranking out.
- 14:04Michael and Brian kept cranking out podcasts.
- 14:07Hallelujah.
- 14:08Something good happened in 2020.
- 14:10And so, it's interesting to me.
- 14:13Healthy projects are those with kind of a healthy bench, kind of a middle management.
- 14:16Python has a hell of a middle management now.
- 14:19It's awesome.
- 14:19And it's like middle management in every vector now.
- 14:23It's got language leadership, middle management, foundation leadership, middle management, conferences.
- 14:29All the regional conferences are kicking ass, even online.
- 14:32So, it's really good for me to see kind of a balance between some of the old heroes like Brett Cannon,
- 14:38who gave this awesome keynote two or three or four years ago at PyCon about open source.
- 14:43And then some of the new heroes like Marlene Mangami.
- 14:46When I give the Python 1994 talk, sometimes I give it with Barry.
- 14:49And it's like, well, did you ever know back then that it was good?
- 14:53Hell no, we didn't know.
- 14:54And so, seeing all of this happen, seeing generation after generation come in, do their thing, raise the next generation is pretty cool to see.
- 15:02Yeah.
- 15:02It's fantastic.
- 15:03And I know there was a lot of uncertainty when Guido stepped down about, oh my gosh, what's going to happen.
- 15:09But it's kind of been a non-issue, which is good.
- 15:11Non-issue in a good way.
- 15:13Indeed.
- 15:13Yeah, I think it's really nice to also have, you know, some stability, even, you know, especially nowadays, that's quite rare.
- 15:20And just to see, you know, stuff just works.
- 15:22Nothing goes wrong.
- 15:24No drama.
- 15:24No, you know, nothing terrible.
- 15:26Just drama.
- 15:27Almost boring.
- 15:28Yeah.
- 15:28Boring is good these days.
- 15:29One of the things that really surprises me, Paul, as you mentioned, the escape velocity.
- 15:34What's weird to me is how Python went, like, 20 years on medium, like, simmer popularity, and then it hit the afterburners and took off.
- 15:43Right?
- 15:44It seems just, I think there's going to be some interesting studies done about why or how did a language that had kind of been around for 20 years all of a sudden really dramatically improve in popularity.
- 15:53And, you know, I have some ideas, but I just think that that's an interesting aspect of what you're talking about here.
- 15:57Yeah, it's also the whole aspect of the, you know, the previous, like, Microsoft and Java and sort of, I guess, big money behind those sorts of languages in, like, the early 2000s, pushing them.
- 16:09And then I think community and to the point of, like, developer gave developers what they wanted rather than maybe, say, enterprise-y languages.
- 16:19And then I think there's a whole confluence of other things that happened as well.
- 16:24But it is kind of crazy, right, that, like, one of the top, if not the top languages right now, they're almost 30 years old.
- 16:32And it's got issues.
- 16:33It's got warts and whatnot, but it's a thriving language.
- 16:37And, you know, without significant big companies behind it, right, that it's competing with companies that've thrown millions of dollars into development of these things.
- 16:46Yeah, absolutely.
- 16:47Absolutely. And Matt and Ines, you two are on the data science side.
- 16:50And I think the data science and computational folks are the ones that poured the gas on the fire and really made it take off.
- 16:57And that's not where the growth necessarily completely is, but I think that gave it a serious kick.
- 17:01Yeah. No, actually, because I get asked about this a lot, like, oh, what do you think made Python the language for machine learning data science?
- 17:08And my theory is actually that, A, Python, of course, was lucky that it was in the right place at the right time.
- 17:13But I think actually it won because it's a general purpose language.
- 17:16People can come from other fields of Python into machine learning data science, for example.
- 17:21Like, what did people do before?
- 17:23If you look at kind of, you know, these surveys of what to use Python for before, it's a lot of web stuff.
- 17:27You can build kind of anything in Python.
- 17:30And I think that's what makes it so appealing and much more appealing than, let's say, like an AI language.
- 17:35And that's also, in my opinion, why a lot of these attempts at making an AI language haven't taken off.
- 17:40And people are like, no, Python is great.
- 17:41It's fast enough. It's usable enough.
- 17:44But I think the general purpose is really is what kind of got it over the edge there.
- 17:49A lot of people that I'm teaching or training are people who don't want to be programmers.
- 17:55They want to use Python as a tool.
- 17:57It's like Excel to them.
- 17:58They don't want to be programmers.
- 17:59And so something that they can pick up and it just sort of works.
- 18:02And they can go to Stack Overflow and copy something.
- 18:06And as long as they get the indentation right, it sort of works as long as they're using the right version or whatever.
- 18:12There's no compiling. There's no linking.
- 18:14Yeah.
- 18:14Weirdness.
- 18:15And then you have things like Google Colab or whatever, where you have an environment, it's all set up, and you can just sort of go, right?
- 18:22And so that is really empowering for people who don't want to be programmers, but view Python as a tool.
- 18:29A necessary tool that they need to leverage.
- 18:31And in addition, there's over a quarter of a million packages on PyPI, right?
- 18:37And that's literally standing on the shoulders of giants.
- 18:40You can go there and pick out something that you want to do, and you're a pipit and stall away from it.
- 18:46And that's super powerful, right?
- 18:49You don't have to set up a huge environment.
- 18:52Yeah.
- 18:52Yeah.
- 18:52It just really simplifies life for a lot of these people who don't want to be programmers, but want to leverage these really cool.
- 18:59But at the same time, you do have very strong support for C extensions.
- 19:04So if you're looking at the top packages people download from PyPI, most of them are written in C, Cython, whatever.
- 19:12That's what makes them so powerful.
- 19:14So we have that while also being able to provide pretty good developer experience.
- 19:18Yeah, absolutely.
- 19:19I think it was Seymour Papper who talked about a good language having, he was talking about logo, but it's even more appropriate for Python, having low floors and high ceiling.
- 19:28That's really easy to get in and do simple stuff.
- 19:31But when you want to do complex stuff, you're not limited.
- 19:33And so just yesterday, I was doing a workshop with people, and someone who had just started with Python, I said, oh, but look what we can do if we sort of extend it several layers.
- 19:43And he was amazed how complex you can get and how sophisticated you can get just in a few lines of code.
- 19:49It's really a testament to the elegance of the design of the language, I think.
- 19:52Andre Lasowski in chat makes a good point that many folks say Python is their second favorite language.
- 20:00And there's something to be said for that.
- 20:02Derek, sorry, should be there first.
- 20:04I'm with you.
- 20:05I'm with you.
- 20:06Well, to that point, I mean, it's also been said that Python is the second best language for doing things, right?
- 20:11So you might have a language that's better.
- 20:12Yeah, that's actually his quote.
- 20:14I got it.
- 20:14Data science, or you might have a language that's better for web apps, or you might have a language that's better for like system admin.
- 20:20But there's probably not a language that's going to like get you all three of those, right?
- 20:25And Python is sort of that Venn diagram that gets you in the middle and is good enough to do a lot of what you want to do.
- 20:32Absolutely.
- 20:33Random by choice.
- 20:34Chooses Brian Okken.
- 20:35Well, hey, cool.
- 20:37Let me pull up my notes.
- 20:38It was interesting.
- 20:39We were talking about Microsoft.
- 20:40And I didn't choose this, but I'm going to mention it anyway.
- 20:44Tons of projects switched over to GitHub Actions in 2020.
- 20:47And I mean, because it just kind of hit the area right like at the end of 2019.
- 20:53So I saw a lot of projects migrating to GitHub Actions.
- 20:57Anyway, I wanted to talk about packaging, which is sort of related.
- 21:00There's a couple things.
- 21:02I know I was supposed to pick one.
- 21:03And the exciting thing happened today.
- 21:04PIP 20.3 was released.
- 21:07And the dependency resolver is now the default.
- 21:10The dependency resolver is already angry at me for trying to deploy some dependa bot changes.
- 21:15I'm excited about this.
- 21:18And it's bit me already, too.
- 21:19I've had requirements.txt files that have broken dependencies.
- 21:23So I have to go look at those and see, well, which, you know, I have to pay attention to it.
- 21:27So there's a little bit of pain for some people, but it was such a long struggle.
- 21:32And I look back, and the request for a dependency resolver came in 2013.
- 21:38So seven years later.
- 21:39But something magical happened in 2019.
- 21:42And that was some money from Mozilla came through.
- 21:45And they threw some of that money at the dependency resolver.
- 21:48That was pretty cool.
- 21:49Yeah, that's a big deal.
- 21:50There's been a couple of these experiences where money was given to Python specifically
- 21:56to hire a team to improve something.
- 21:58PyPI, the rewrite of pypi.org was one.
- 22:01And then this is another.
- 22:02Yeah, and they rolled it out in several versions.
- 22:04So we had our version early in the year.
- 22:07And then around July, we had another version that had a different flag that you could try it out with
- 22:11to try to get some of the early adopters to try it out to make sure it's working.
- 22:14And then today, it's rolled out for good.
- 22:17And I'm pretty excited about it.
- 22:19I kind of want to tie this in with the packaging.
- 22:21I've seen a lot of progress on and a lot of adoption of the pyproject.toml kind of taking over more packages and more uses.
- 22:30So we saw Flit used to have its own any file now only uses pyproject.toml.
- 22:35There's been like additions to the metadata definition that hopefully will take hold.
- 22:42And even pytest now, you can throw your configuration in a pyproject.toml.
- 22:47So and I've seen more and more projects saying, getting pressure from their users to say,
- 22:51I don't want another any file.
- 22:53I want to put my settings in the pyproject.toml.
- 22:56So that's a good thing.
- 22:57Yeah, absolutely.
- 22:58You know, a couple of things on that.
- 23:00You talked about two things when you talked about packaging and you talked about GitHub.
- 23:03I mean, the fact that now you can actually do some package work within GitHub itself.
- 23:08I built a lot of small little tools, not things that I would want to go on PyPI.
- 23:14No, we don't need to clutter that up anymore with my garbage.
- 23:17But it's great when I can just say like, hey, here's a link.
- 23:21And if you're really, you know, concerned on how to add it, you can just tip install, but point to this GitHub, you know, and that works.
- 23:29Yeah, and also the stuff about finding security vulnerabilities automatically and doing PRs for you that GitHub does against like your various package definitions.
- 23:38I think that's great as well.
- 23:39Hey, has anybody ever put a JavaScript package on the GitHub package.json?
- 23:45Probably, but not me.
- 23:47I have.
- 23:49You know this is a Python podcast, right?
- 23:51No worse.
- 23:52It's Gatsby.
- 23:53So I basically put 500,000 JavaScript packages into my repo.
- 23:58Yeah.
- 23:59And I'm just saying that there's something I appreciate about Python a lot that like I actually, I never thought I'd say this, but like I do prefer also that you don't.
- 24:07I can't resolve the depend about security mega warnings fast enough.
- 24:12It's just incredible.
- 24:14I know.
- 24:15And I just turn them off, right?
- 24:16Like you just don't.
- 24:17Yeah.
- 24:18That totally fixes it.
- 24:19You're right.
- 24:20That is one way to do it.
- 24:22Yes.
- 24:22It's like, I've always said that's a problem with writing tests, right?
- 24:26Like when I started programming, I was all like, kind of hate writing these tests because they keep pointing out shit that's kind of wrong.
- 24:31And then I have to fix that.
- 24:32But I don't have tests.
- 24:34It all works fine.
- 24:35And then I'm happy.
- 24:35Same with, I don't know, TypeScript.
- 24:37Exactly.
- 24:37I actually even type hints to some.
- 24:39Fuck.
- 24:40Yeah, I know that's kind of wrong.
- 24:41So now I actually have to fix it.
- 24:43So, you know, just don't.
- 24:45So we should not let you speak at a high school.
- 24:47It's the see no evil, hear no evil.
- 24:49I do think that the Dependabot stuff, there's something about turning it off.
- 24:55It drives me crazy.
- 24:56I really value it.
- 24:57But at the same time, the reason I had this conflict with the dependency resolver is it told me I should give me a PR to upgrade one thing, but not one of the dependencies for which the newer version was required or would break the resolver.
- 25:10It's just like, ah, what is this thing doing?
- 25:11All right.
- 25:12Very good.
- 25:13Very good, Brian.
- 25:14Sorry, you need a batch dependency resolver.
- 25:18Yes.
- 25:18One that resolves everything at once and then makes sure you've got a working state at the end.
- 25:23Well, the thing is, the PIMP is fine.
- 25:25It was right.
- 25:26It's that Dependabot, if you have 100, I probably had 20 dependencies in this thing, it gives you one PR for each line.
- 25:34Sometimes it's like lags a day on the other one.
- 25:36And if it gets it out of order, then the resolver, anyway, long story, frustrating.
- 25:41I mean, to be fair, speaking of dependency resolving from the perspective of a library developer, it is hard.
- 25:47And it's, you know, you do want to use versioning properly.
- 25:49And I do feel like there's this eternal conflict between how do we manage dependencies properly for users and how can we make sure that we can define how our packages depend on each other in a way that's reasonable.
- 26:02Because not, you know, use semantic versioning, not everything is a major release.
- 26:06Not everything is a breaking release.
- 26:07But stuff just depends on each other.
- 26:09And you don't want to lock people in.
- 26:10There's always this, you know, the idea is you should be able to pick up your project a year later with its requirements and it should run.
- 26:17And that's really, really, really hard.
- 26:19Yeah.
- 26:20And if it gets wrong, then you probably get a lot of email or a lot of GitHub issues.
- 26:23Hey, Brian, on your topic of PyProject Toml, what's the latest, greatest on editable installs?
- 26:29I don't think it's completely working for all the same.
- 26:32So I'd like to be able to say pip install dash E.
- 26:35Is it dash E?
- 26:36And just a project.
- 26:38You can say pip install just a directory no matter what kind of packager it has.
- 26:44So that works now.
- 26:45So you can, even if you use flit or something, you can't do dash E.
- 26:49But flit itself, for instance, has its own editable install thing.
- 26:53And I don't know what poetry does.
- 26:55I don't use poetry.
- 26:56So it's a different command.
- 26:58I'm annoyed that it doesn't just convert it.
- 27:00I wish it would plug it in.
- 27:01But I think that'll be coming maybe in 2020 or probably not this year.
- 27:06Maybe next year.
- 27:07Hopefully.
- 27:08Yeah.
- 27:08Badwolf says in the chats, what is the quick solution for getting pip version updated?
- 27:14The first thing you created, a virtual environment.
- 27:15This is another thing that drives me crazy about pip.
- 27:17And if that could get changed, I would love it.
- 27:19When you create a new virtual environment, basically for about a week, you have the latest pip.
- 27:24And then afterwards, soon as you pip install something, it says, warning, your pip is out of date.
- 27:29As soon as you create a virtual environment, it's like, well, why didn't you just
- 27:31update it?
- 27:31I want, if you're going to tell me it's wrong, just fix it.
- 27:34You can use virtual environment.
- 27:35Instead of venv, use virtual environment because then you can update your pip and you can update
- 27:40the global one and install it in all your environments.
- 27:42Interesting.
- 27:43Yeah.
- 27:44I just wrote an alias that will create the virtual environment, upgrade pip and set up
- 27:48tools, and then activate it.
- 27:49Other way around.
- 27:50Activate it, then upgrade.
- 27:51Yeah.
- 27:51Yeah.
- 27:52It's funny.
- 27:52I have a shortcut like that too.
- 27:54Yeah.
- 27:54Awesome.
- 27:55And then you can also have it install everything you need, you know, in the same command, automatically
- 27:59create one switch.
- 28:01I shared my script somewhere.
- 28:02I think on Twitter, if anyone's interested.
- 28:04Nice.
- 28:04Yeah.
- 28:04Mine's just V and V.
- 28:05I just type V and V and magic happens.
- 28:07I don't think of it anymore.
- 28:08Well, when I finally switched to virtual and it's like, I make so many virtual environments.
- 28:13It's so much faster.
- 28:15And just that even just a few seconds, several times a day, it's worth it for me.
- 28:19Yeah.
- 28:20Yeah.
- 28:20Awesome.
- 28:21All right.
- 28:22I've chosen next and there's a dependency in the chooser.
- 28:25So it's works correctly.
- 28:27So it's chosen me actually to talk about the next thing.
- 28:29And Paul touched on this, but I think this is a really important one.
- 28:32Like this is the year that Python 2 actually went away.
- 28:37And it's, I just, it's been so long having to justify why Python 3 is the right thing or
- 28:44more often teaching people, no, no, no, you can't type Python.
- 28:47Please don't do that.
- 28:48Unless you're on Windows and you have to do that.
- 28:50But if you're not on Windows, then you better not do that.
- 28:52So you got to, you know, it's just like this drag.
- 28:54It always felt like things like Django or Flask and whatnot were being held back.
- 28:59All these libraries were being held back by Python 2 support.
- 29:03And last year they started dropping it.
- 29:05And then Python 2 itself actually went away.
- 29:07Brian and I tried to create the right nomenclature around this, I guess.
- 29:11I was calling it legacy Python and modern Python rather than 2 and 3.
- 29:15And that was, that was fun.
- 29:16People started to quote it and use that terminology, which was kind of cool.
- 29:19I don't know how well it worked, but it's really nice that Python 2 is finally officially gone.
- 29:24And I thought there'd be a bunch of people would freak out for Python and start creating
- 29:29like alternate old versions.
- 29:31And I haven't, besides some like support, commercial support stuff, I've really seen that happening.
- 29:35So it's, it's pretty interesting, I think.
- 29:37Yeah, I think we should have brought like horns and stuff and like, you know, waving.
- 29:42Some of those little pop, like bottle looking stuff on New Year's.
- 29:47Absolutely.
- 29:47Yeah, I mean, we really didn't get the party we were hoping for, right?
- 29:51Like PyCon was supposed to be this big send off for Python 2.
- 29:54But no, there was not so much of a PyCon.
- 29:57Not really.
- 29:57I mean, there's online, but it wasn't the same.
- 29:59Now we just got to wait until we have all of the articles about the companies that finally
- 30:04decided to switch and the steps that they took that they avoided for the last decade to,
- 30:10to make this a reality.
- 30:11Yeah, I mean, one of my biggest corporate training clients, they have been using Python
- 30:162 for years and years.
- 30:17And they do all sorts of testing of hardware using Windows.
- 30:22And so with all sorts of custom C extensions.
- 30:24So I've been saying to them for years, every time I do training, look, you should really
- 30:28think about Python 3.
- 30:29And you should realize you should move in that direction.
- 30:30And their attitude was basically, no, no, no.
- 30:33We've got so much invested in what we've done.
- 30:35We're not really going to upgrade.
- 30:36And finally, about, I guess, a year ago, they realized, huh, we're going to be stuck on our
- 30:41own maintaining everything, including all these packages of IPI.
- 30:45Maybe it's time to start talking about it.
- 30:47And so I'm actually doing some training for them now.
- 30:50And I asked a group, should we do Python 2 or should we do Python 3?
- 30:53And the majority actually said it's OK to use 3 because our group has switched.
- 30:57So if they are moving, it's clear that even sort of the draggiest of the draggiest companies
- 31:03are doing it.
- 31:04Yeah, I was just going to echo what Ruben said that, you know, when you have success and you
- 31:09get enterprises using your stuff and enterprises are slow to move.
- 31:14And I don't want to, like, criticize Python 3 too much, but I think if they would have put
- 31:18f-strings in 3.0, then they wouldn't have had this problem.
- 31:21But because they waited to put f-strings in, then they had people dragging their feet.
- 31:25So weird how that dragged.
- 31:26That was one of the most popular features, for sure.
- 31:28So you're saying the walrus operator was what finally did it?
- 31:32I'm not going to go there.
- 31:36You know, I was not super excited about the walrus operator.
- 31:38I find myself using it all the time.
- 31:40I like it.
- 31:40It's neat.
- 31:41Oh, it's cool.
- 31:42I think it definitely solves a problem.
- 31:43I just, wait, that's 3.8, right?
- 31:45The walrus?
- 31:45I believe so.
- 31:46Yeah.
- 31:47Yeah.
- 31:48I'm still, I mean, I feel like I'm now back at like, okay, we finally dropped support for
- 31:51two from all of our libraries that we're developing.
- 31:53And now we're on 3.6.
- 31:55Because, you know.
- 31:563.9 is current.
- 31:583.8 is now the new legacy Python.
- 32:00Ines, how was it for you?
- 32:05Like, as a library developer?
- 32:07Yeah.
- 32:07Yeah.
- 32:07I mean, I feel like I only really got to use Python 3 this year.
- 32:11I mean, of course, I've been using it privately for much longer.
- 32:14But I would say, in mid this year, I was finally like, cool.
- 32:17I just use type hints.
- 32:18I use f-strings across all of our projects.
- 32:20Because before, our dependencies had to support people on it too.
- 32:23And our old version of spaCy had to support people who wanted to use it too.
- 32:26So that kind of becomes the baseline.
- 32:28And now we've moved that up to 3.6.
- 32:30And so until 3.6 is dead, there's still always new features that, you know, we can't just,
- 32:36you know, ship.
- 32:36Yeah.
- 32:37But that step from 2 to 3.6 is going to be way bigger than 3.6 to 7, right?
- 32:43That's a very small step, the 3.6 to 3.7 or 3.7 to 3.8.
- 32:46So you've done the big step.
- 32:48Yeah.
- 32:49And some of the new features, it's like, yeah, whatever.
- 32:51I can, you know, live without writing those in my code base.
- 32:54And people can still use them in their code bases.
- 32:56Yeah.
- 32:56All the new versions we're going to publish, like spaCy 3, that's coming soon.
- 33:00We'll use Python 3 in the code base.
- 33:03And we'll only work with Python 3.
- 33:05We won't distribute wheels for Python 2, which we might have not even done for a while.
- 33:09Because it's really, really a pain for some of our more abstract and complex dependencies
- 33:14that we're also building.
- 33:15Yeah, cool.
- 33:16So far, people haven't really complained.
- 33:17Like, I was expecting people to complain a bit more, but like, no.
- 33:20Well, if you look at the PSF JetBrains survey, the data science folks, that side of the
- 33:25house have definitely moved to Python 3 quicker and bigger than the web team.
- 33:29I'm actually surprised how quickly people move up.
- 33:31Like, you know, I don't know, even after 3.9 came out, we've had people requesting like,
- 33:35oh my God, why does your, you know, annotation tool not work on, you know, 3.9?
- 33:39Or why does this not work?
- 33:40And it's like, nothing works on 3.9.
- 33:42I was like, LCI doesn't do 3.9 yet.
- 33:45Like, I can't build anything.
- 33:47None of our other packages run.
- 33:49Like, sorry.
- 33:50I felt like a big person developer for like the first time ever when I actually got my first
- 33:56issue with running the latest and greatest Python.
- 33:59It was because I was running GCP and I kept running into an error, running into an error.
- 34:02And I was like, you know what?
- 34:04It used to work.
- 34:05Let me just try it on 385.
- 34:06And then sure enough, it worked perfectly.
- 34:08And I was like, I've done it.
- 34:09I've reached the new achievement.
- 34:11Nice.
- 34:13Yeah.
- 34:13I've taken down the Talk Python training website by shipping the walrus operator accidentally.
- 34:17At the time, Ubuntu didn't support it.
- 34:20A quick question or a comment from Zach in the comments about when, you know, we can actually
- 34:26say legacy Python's gone when the OS vendor stopped supporting it.
- 34:28I think Python 2 is no longer shipping with the new macOS and Canonical is starting to
- 34:33make Python 3.8 the default.
- 34:35So I think we're getting there.
- 34:37I thought they were removing Python in general from macOS and just making you install it yourself.
- 34:43I think there might be some internal system thing.
- 34:46I saw people talking about the system Python 3.8, even though I agree I heard the same thing
- 34:50you said, but I don't have a fresh install.
- 34:52It's not actually such a bad idea.
- 34:54Like, I think, you know, for most things you do, you have to install some extra stuff anyway.
- 34:58So making it a more explicit install from a user's perspective, I think, isn't even so
- 35:03terrible.
- 35:03Yeah.
- 35:04Because otherwise, you know, if you just type in Python, you just run into all kinds of
- 35:08potential issues anyway.
- 35:09So, yeah.
- 35:10Especially when it's super out of date.
- 35:12All right.
- 35:12Yeah.
- 35:12I definitely end up like telling people in my courses, oh, you're using a Mac?
- 35:16Yeah.
- 35:16Ignore the Python that's installed.
- 35:18I know this is a Python course.
- 35:19Ignore the ones that's installed.
- 35:21And here are ways that you can install it on your own.
- 35:23So it'll be up to date.
- 35:24And here's how you can make sure it doesn't conflict with what's already installed.
- 35:27So maybe removing it all together is not such a terrible thing.
- 35:30Yeah, for sure.
- 35:31Homebrew.
- 35:32Homebrew.
- 35:32All right.
- 35:33Ines, the voting system has chosen you next.
- 35:36Unmute myself and look at my notes.
- 35:37Yeah.
- 35:37So I think I've already mentioned the topic I was going to talk about about five times so
- 35:43far.
- 35:43But yeah, I think in 2020, we really saw the ecosystem around type hints, static type checking,
- 35:51types in general mature and like really be widely adopted.
- 35:54And I do think a part of that is the more widespread adoption of Python 3 because before that, to be
- 36:00fair, you could use type hints before Python 3 just for completeness.
- 36:04But like, that's not what people did.
- 36:06And it looked very, very different.
- 36:07So yeah, now and actually, even I couldn't really imagine writing code without type hints
- 36:12anymore.
- 36:12Like if I write something and I'm not adding any types, it feels kind of naked and it feels
- 36:17kind of wrong.
- 36:17And I actually feel like, oh, my God, I might be missing some issues here.
- 36:21Maybe I'm not catching some bugs.
- 36:23So yeah, which is quite surprising.
- 36:24But it says something considering I only just recently was able to really embrace all the
- 36:30new Python 3 stuff.
- 36:31Yeah, that's a pretty quick transition.
- 36:32Find it.
- 36:33Yeah.
- 36:33I depend on this thing now that like previously you had to stay away from.
- 36:37Yeah.
- 36:38And I have static type checking enabled in Visual Studio Code, you know, underlines things if
- 36:45you pass in the wrong types, it gives you all these nice like autocomplete prompts or
- 36:49previews if you want to.
- 36:50That's also something I've gotten really, really used to over a really short period of
- 36:53time.
- 36:54Like, I don't know.
- 36:54What about you, everyone?
- 36:56Like, do you use type hints?
- 36:57Like, can we have like an opinion, Paul?
- 36:59Like, just raise the hand and then we summarize it for people who just...
- 37:02End of hand raise.
- 37:03Everybody.
- 37:03I'm slowly starting to use them more and more as I see the advantages.
- 37:11And in part, as I mentioned before we started recording, like, because my students are encouraging
- 37:15me to use it more and more because they want it because they come from languages where
- 37:18there's no such thing as optional type hints.
- 37:20It's, you must do this or the program does not run.
- 37:22So what do you know?
- 37:24They can actually be useful.
- 37:24Yeah.
- 37:25I think that's one of the biggest benefits that I like about the type hinting system is
- 37:29that it's optional.
- 37:30So you could choose to use it.
- 37:32And then if you don't need it, then we could just take it out.
- 37:34Because for me, like, I believe in lazy, being a lazy developer.
- 37:37And stuff like type hints just make certain things a little bit more discoverable.
- 37:42Right.
- 37:42And kind of like what we were saying before, like, it just improves your tooling to be able
- 37:47to discover more of your code for you.
- 37:49I like to use it.
- 37:50I like to use it for APIs or especially for package interfaces so that people using a package
- 37:55can use the editor tools and stuff like that for the hints.
- 38:00And also just wherever it makes sense.
- 38:02I mean, if it looks like it actually distracts from readability, then I take it out.
- 38:08Readability is above all for me.
- 38:09So if it's usable and readable, it helps.
- 38:12I mean, I wouldn't advocate.
- 38:13Oh, sorry.
- 38:14Any, like, I don't know.
- 38:15If you have a function that takes several arguments and then returns like a callback, that gives you
- 38:20this kind of type hint.
- 38:21I wouldn't advocate for that necessarily.
- 38:22But yeah.
- 38:23And I feel like they're working on some of that confusion as well.
- 38:27And some of that, like, clutter and blood.
- 38:29I mean, that was, I talk about that 3.9 story.
- 38:32It was because I was tired of typing, typing dot list or typing dot dict.
- 38:36And it was like, oh, you mean I can just do this now?
- 38:38Like, and then sure enough, you know, stuff crashes.
- 38:41And it's like, well, guess not.
- 38:42Maybe later.
- 38:43But it's great that for people who are looking at Python as a tool that they're using, not
- 38:51the language that they're writing on a day to day, but just flat out the tool that they're
- 38:56using, they don't know what we're talking about half the time, but they can kind of look at
- 39:01something and go, STR, hmm.
- 39:04Someone mentioned a string that one time.
- 39:06Maybe that's what that is.
- 39:07You know, it's a lot easier than just looking at the code and trying to figure it out.
- 39:11Yeah, and speaking of tools, I think type-ins, they're not only that syntax feature.
- 39:15They've really enabled this whole new ecosystem of tools that use type-ins to accomplish something
- 39:23else or in a creative way.
- 39:24And I think many of them have been covered on this podcast previously.
- 39:27For example, there's Pydantic, which uses type-ins in actually one of my favorite creative ways
- 39:31for data validation, settings management.
- 39:33It's actually a library we've adopted across a lot of our projects to just quickly, you know,
- 39:37you define this interface.
- 39:38Here's what I expect.
- 39:39You get like, you know, kind of like JSON schema just with type-ins.
- 39:43Pydantic is so wonderful.
- 39:44Yeah, you're right.
- 39:45It's really nice.
- 39:46It's really nice.
- 39:47Yeah, I would say it's one of my favorite recent discoveries in terms of Python developer
- 39:51tools.
- 39:52And then, of course, there's FastAPI and Typer developed by my colleague, Sebastian, which
- 39:57probably has been discussed a lot on this and related podcast.
- 40:00Yeah, he was on the show not long ago, like 10 shows ago or so.
- 40:03And yeah, that's a fantastic framework too.
- 40:05Yeah, so that's, I think it's also partly what really popular, popularized, great word,
- 40:12type-ins in as a, I don't know, as a tool for, yeah, developing applications and so on,
- 40:20I think.
- 40:20Also actually Pydantic.
- 40:21And yeah, we've also in 2020, I think, released our machine learning library, Think, which kind
- 40:27of functions more like an interface layer and lets you write neural networks, combine layers
- 40:33written in different frameworks like PyTorch.
- 40:35TensorFlow.
- 40:36And we've included custom types for arrays and all that stuff that passes through the
- 40:40network.
- 40:41Because, you know, if you're doing machine learning, a lot of it is like really abstract.
- 40:44You have like this multidimensional array as in like 300 dimensions.
- 40:49And then that goes through and then it gets transformed.
- 40:51And then it goes all the way back.
- 40:52And at the end, you're hoping to get something out.
- 40:54And there's a lot that can go wrong.
- 40:56And it's not even about like, oh, how experienced are you as a programmer?
- 40:59It's like, that shit's just abstract.
- 41:01Yeah.
- 41:01We can make it a bit less abstract, even by just providing custom types that you can
- 41:06declare.
- 41:07So it's easier to see what goes in, what comes out.
- 41:10Do these layers fit together?
- 41:12Do they not?
- 41:13Because otherwise, yeah, you easily end up with these very hard to debug NumPy errors
- 41:18triggered by like five layers deep that tell you that you can't broadcast that shape into
- 41:23this other shape.
- 41:23And you're like, yeah, that's going to be fun.
- 41:25This doesn't help me.
- 41:26I have no idea.
- 41:27Yeah.
- 41:28I think there's also things like mypyc, which will compile stuff that has types.
- 41:33And there's Cython, which will use the new Python type hints to compile to much faster
- 41:37code.
- 41:37So there's a lot of neat things coming out of it.
- 41:39Yeah.
- 41:39And I think especially also for abstract stuff like machine learning, there are lots of use
- 41:43cases that web type hints and type-based validation is really promising because we can also take
- 41:48something a developer already knows, like typing your functions, typing your layers, and it will
- 41:52just work and do some extra stuff if you wanted to.
- 41:55Watching mypy evolve is really cool.
- 41:58And for Think, we've briefly dabbled in custom mypy plugins for a bit.
- 42:04We have a plugin that checks if two layers you're chaining together return the correct types.
- 42:10Like if you have one layer that returns a two-dimensional array of floats and the other
- 42:13layer expects a two-dimensional array of integers or four dimensions, whatever, you can
- 42:19actually see that underlined in your editor done by mypy as you type the code.
- 42:23So you can prevent a bug before you even make it, like type it and introduce it.
- 42:29So that's cool.
- 42:30And I think that's all very actively developing.
- 42:32So I think there's so much potential for custom plugins.
- 42:35Like imagine more libraries just coming with their own mypy plugins that help the developers
- 42:40use those libraries better.
- 42:41I think, yeah, that's all super cool.
- 42:43Yeah.
- 42:43It's early days and there's a bunch of great tools.
- 42:46Cecil, let me round this out with coming back to one thing you said.
- 42:49You talked about how it was optional.
- 42:50The closest analogy that I think we have to this in other languages has got to be TypeScript,
- 42:56which is like JavaScript plus types and a little transpiling thing.
- 42:59And it's all cool.
- 43:00But all my interactions with TypeScript are like, oh, you haven't declared this thing right.
- 43:03This thing's, it's like, it's as picky as C++ or C# or Java.
- 43:08But it's, it's not as like built from the start, like the tools aren't necessarily all
- 43:14there to make that fit together.
- 43:15So I always feel like I'm kind of stumbling over the things like 80% of the time it's helped
- 43:20me and 20% of the time that frustrates me.
- 43:22Whereas like here you can just kind of, you can leave it off, take it or leave it if it's
- 43:25good, not good.
- 43:26Yeah.
- 43:26Yeah.
- 43:27I think TypeScript definitely helps with some learnings about how developers want to interact
- 43:32with typing.
- 43:33I think the thing with TypeScript is very, like there's a lot of features in there and it's
- 43:37very customizable, but you know, it's kind of like you have like a nail, right?
- 43:42And it gave you a jackhammer.
- 43:43You really don't need the jackhammer.
- 43:45Exactly.
- 43:46Maybe a little finishing hammer would be nice.
- 43:48Yeah.
- 43:49There's a lot of different things that you can customize and some people need that.
- 43:52But I think for 90% of folks, I'm making up that number.
- 43:56That's not a real number.
- 43:57But for a lot of folks, you probably don't need a lot of those knobs to turn and options
- 44:02to set.
- 44:03Yeah, absolutely.
- 44:03There was like a two year period with TypeScript where I'd read the roadmap.
- 44:07They do a great job of running their project.
- 44:10Great job.
- 44:11But they put a feature in using words I didn't know from type theory.
- 44:15And my answer was, oh, that's for Angular.
- 44:18Oh, that's for Angular.
- 44:20Oh, Angular is the only one having that problem.
- 44:22There's some serious machinery.
- 44:25Yeah, there is.
- 44:26All right.
- 44:27Final thought on this from the chat is Eric O'Shaughnessy says, I love how typing solidifies
- 44:31the author's intent.
- 44:33Yeah.
- 44:33All right.
- 44:34Let's have the chooser choose again.
- 44:36Jay.
- 44:37All right.
- 44:38So I totally didn't peanut butter on this.
- 44:40But as y'all were talking, like I just got some wonderful ideas.
- 44:44And I immediately started thinking about just the doubling down of some of the technologies
- 44:49that we've seen kind of pop up over the last couple of years, but then truly evolve.
- 44:54And like one of the biggest examples of that, and I know I'm like five years, daily, dollar
- 44:59short here, but like Jupyter, anything Jupyter notebook related, like it's not just for the
- 45:05solo data scientist anymore, like collaborative Jupyter notebooks.
- 45:10Like to me that I know people that just have dreams about that and they're like the best dreams
- 45:15ever.
- 45:15And, you know, I know, Mike, you just did a podcast episode a few weeks back about that.
- 45:23And we were talking about it on Python bytes a little bit.
- 45:25They're like, it's not just one option anymore.
- 45:27It's, you know, there's cocalc, there's pybinder, there's deep note.
- 45:31Apparently I'm a deep note influencer and I didn't even know it, but.
- 45:33That's awesome.
- 45:34It looks good.
- 45:35You are bringing it up again.
- 45:36Again.
- 45:36Exactly.
- 45:37But not just in like Jupyter land, we have like crazy ideas.
- 45:42Like what if we could do Python on the front end with Anvil?
- 45:46And like now Anvil is saying like, hey, we're going to open source some of our server
- 45:51technology so that you can take this technology and do it yourself.
- 45:54And I think that that's just like with type hints, we're coming up with these ideas and
- 45:59we're taking them a step further.
- 46:00I think that this is what, in my opinion, has kept me in the Python ecosystem as long as it
- 46:06has is because I'm constantly learning about like brand new ways to do a thing in Python.
- 46:14And I have to talk about this because I told people in my Slack channel that I would, but
- 46:18like we just thought, you know, at Elastic, we just launched a brand new tool called Elant
- 46:21and it's in beta.
- 46:22And the whole idea is it's like a Pandas data frame.
- 46:25But instead of storing all of your data in memory, you can store it in an Elasticsearch,
- 46:29you know, data store.
- 46:30Oh, that's an interesting idea.
- 46:31So now instead of being limited to what your RAM can hold, you're limited to how much space
- 46:39you got and you can run search and you can run queries on it.
- 46:42You can tie it into things like, you know, scikit learn and TensorFlow and do machine,
- 46:46you know, any type of machine learning on it.
- 46:48And at the end of the day, you're doing transforms on the data as it's in the data store.
- 46:54So there's no more downloading a bunch of data, working on it and trying to re-upload it.
- 46:58And it's off of the backs of crazy ideas from people crazier than I am that are just like,
- 47:05hey, what if we could do this?
- 47:06And, you know, to me, that's all I wanted to do with Python is just make up goofy stuff
- 47:12and see if it would work.
- 47:13I think that's an interesting idea.
- 47:14You could start using things like lots of data and things like serverless.
- 47:18where you get really short execution times and not much power.
- 47:21But if it's already in something like Elastic, you could do pandas against it, like quote pandas,
- 47:26like the API against it without really suffering a lot of trying to download it to your little
- 47:31Docker Lambda callback thing before it runs out of time to execute and whatnot.
- 47:36Yeah, actually, I think I've seen some people do some cool stuff with spaCy and Elastic as well,
- 47:40you know, processing all, you know, the huge volumes of text, which also I think is
- 47:44such an interesting part of our application of data science.
- 47:47Like, you know, you want to have, you have so much text that, you know, you can't even,
- 47:51nobody can read it.
- 47:52You can barely store it, but you can still analyze it and process it and find something
- 47:57out about it that otherwise.
- 47:58So yeah, that's, that actually sounds quite cool.
- 48:00I mean, the problems I was, I was having initially was just this amazing problem of like, I've got
- 48:06a million lines of data that I need to do something with.
- 48:10And I've got this little Mac mini here that's just chugging along, trying its best.
- 48:14And everyone's like, well, why don't you just use the Google API?
- 48:16And it's like, okay, well, I did the math.
- 48:18I'm going to need $20,000.
- 48:19And it's like, okay, so we can't use the Google API.
- 48:22We can't solve it with that problem.
- 48:24What else do we got?
- 48:24And now it's like, oh, wait, you mean I can just store all this data?
- 48:28Because it's only a few gigs, but then I can just hit my local server as many times as
- 48:33I want.
- 48:33Let, you know, search store or any type of data store that's good at retrieving the data
- 48:39as I want it, as I need it, and then let it do its thing.
- 48:42Like that solved a $20,000 problem.
- 48:45I mean, even, even a site for the cash.
- 48:48Do you want to send all your data to Google?
- 48:49Probably not.
- 48:50Yeah.
- 48:50I mean, that's awesome.
- 48:52Even if it were free, yeah.
- 48:54You could also send it to Facebook while you're at it.
- 48:58I don't know.
- 48:58I was, I was working with police call records, so I don't want to send that data anywhere.
- 49:02I don't want to be on a watch list.
- 49:04No, exactly.
- 49:05And I think those are like really, a lot of these really important applications of the technology
- 49:09when in the health domain, people are doing good and useful stuff, but they should not
- 49:13do that stuff at that type of cost, which means sharing all of their sensitive data with
- 49:19companies that will, you know, want it for some other reason.
- 49:21Yeah, absolutely.
- 49:22Matt, Reuven, you guys do training.
- 49:24What's the Jupyter story around there?
- 49:26I did a class with not Jupyter, but it was all collab based this morning.
- 49:30So yeah, I use it a lot.
- 49:32I think it's great for beginners.
- 49:33Like I said, for a lot of people who are scientists or engineers, that's what they sort of consider
- 49:40Excel.
- 49:41And so a lot of them sort of want to sit in Jupyter all day.
- 49:45They don't even want to like think about modules or code or even software engineering.
- 49:51Right.
- 49:52And so it's somewhat of a challenge for me to sort of say, okay, let's talk about some engineering
- 49:57skills and some good best practices for Python projects.
- 50:01And they're like, oh, I don't want to leave Jupyter.
- 50:02Right.
- 50:03Can I do this all in Jupyter?
- 50:04I'm like, well, you could, but you kind of don't want to per se.
- 50:08But yeah, definitely cool.
- 50:09I think what I'd love to see is Inez's fancy mypy checker hooked up with pandas on Jupyter.
- 50:16That would make my day because that's one of the things that I find confuses people just
- 50:21with pandas having 50 ways to do things and then objects returning five different types
- 50:26or methods that return five different types.
- 50:29like you don't get any tab completion or any of that good stuff in Jupyter when you're doing
- 50:34a lot of the machine learning stuff.
- 50:35Yeah.
- 50:36And a bunch of like grown up engineering stuff is coming to Jupyter, right?
- 50:39Like NB dev, NB QA, some of these other stuff that's coming.
- 50:44There's making it way more interesting for that regard.
- 50:46Yeah.
- 50:46The NB dev stuff is interesting just coming.
- 50:49I mean, that's sort of taking it to that sort of literate style of programming where we're
- 50:53going to stay in Jupyter all day and do everything from that.
- 50:56And then, you know, Netflix has their stuff where they're deploying Jupyter notebooks to
- 51:00production.
- 51:01Yeah.
- 51:01It was paper mill.
- 51:02Yeah.
- 51:02Reuben, how about you?
- 51:03And then I'm going to run the chooser.
- 51:04So I, yeah, I mean, I use, oh, so I use Jupyter every day for my training.
- 51:09I don't use slides.
- 51:10I just do live coding.
- 51:11And I find that's a great way to show them not just sort of the answer.
- 51:16This is how you code something, but this is the process you use to get to the solution
- 51:20because teaching people that process is really important.
- 51:23And it also means I can share with them everything that I typed during the day really, really
- 51:27easily.
- 51:27People are a little resistant to using it for especially experienced developers.
- 51:31They're like, wait, what is this thing?
- 51:32Why are you not using a normal IDE?
- 51:33I'm actually going to force myself in the last year to remember, oh, yeah, we should do a
- 51:37few exercises and tell them to use the IDE so they won't think that everything is done
- 51:41in Jupyter.
- 51:42That's a great environment.
- 51:43But like, there are other ways to develop software.
- 51:45Why does Python only run in this weird web browser thing?
- 51:49Speaking of this, this is another I think this is another reason why Python has taken
- 51:54off so much just that you want stuff to be dynamic.
- 51:57If you're doing the sort of data science type of work, you want to run your code that way,
- 52:03even if you're running it in an IDE in a more traditional way.
- 52:06But I think Jupyter has especially not just like, oh, you want to have like these little
- 52:09notebook cells in your browser, but more like this is the type of way you want to interact
- 52:13with code.
- 52:13Run something, change a line, run again, run that part.
- 52:16Well, they're coming from too.
- 52:17They're coming from notebook environments.
- 52:19And so this makes sense for a lot of these people.
- 52:22And being able to just explain it, you know, on the same, just in one look, like instead
- 52:28of going, here's five slides explaining what I'm about to do, or here's just the code.
- 52:34Now let me sit here and explain it to you.
- 52:36I can literally break it down line by line.
- 52:38Okay, this is what's about to happen now.
- 52:40Let's run this and watch it happening as we go.
- 52:42So for people who don't write Python full time, again, it's amazing because for them,
- 52:47they can see it piece by piece.
- 52:49Just like, you know, my daughter, I'm just trying to teach her how to read early.
- 52:52And it's just like, like break it up piece by piece.
- 52:55And like, you can do that when you're training young, experienced wise Pythonistas and just
- 53:00say like, hey, let's just look at what this does.
- 53:04And if we want to dig into it, it's almost like having a debugger in your presentation
- 53:08and just being able to like stop at any point in time and go, all right, let's, let's jump
- 53:12in.
- 53:12Let's go deeper.
- 53:13Let's really talk about this.
- 53:14Yeah.
- 53:14Or be able to step back two lines in your execution.
- 53:17True.
- 53:17All right.
- 53:18Just for the time sake.
- 53:19Go ahead.
- 53:20Last thought, Reuben.
- 53:21You get the final thought on this one.
- 53:22I started using more and more markup in my notebooks as well to like sort of document
- 53:27what I'm doing explicitly and sort of instead of just using hashtags and comments.
- 53:32So it becomes much more obvious with bullet points.
- 53:35I think people are enjoying that as well.
- 53:37Yeah, that's great.
- 53:38And that's, I mean, that's part of the Zen of notebooks.
- 53:40All right.
- 53:40And you're up next.
- 53:42The random choices selected you.
- 53:44Okay.
- 53:44So my big story for this year is very small story.
- 53:48A Microsoft story.
- 53:49It's COVID.
- 53:50It's the coronavirus.
- 53:52Which I think for the first time ever, it's the topic that everyone is speaking about in
- 53:58every country, every walk of life.
- 54:00Like whoever I talk to, wherever they are, this is the only thing people talk about because
- 54:04it is such a profound effect on everything we've done.
- 54:06Now, you know, this is a Python show.
- 54:08So we'll talk about the Python aspect of it.
- 54:10And I'm not trying to minimize at all the extraordinary pain that people are going through
- 54:15physically, medically, emotionally, financially, on, on, and on.
- 54:19But Python has continued sort of chugging along throughout this crisis.
- 54:24In fact, like we've seen that big companies, high-tech companies are actually among the winners
- 54:29in this as the whole world has gone digital.
- 54:31And companies are hiring Python developers.
- 54:34They're increasingly desperate for Python developers.
- 54:36The number of people in my corporate training classes who, when we go around and everyone introduces
- 54:40themselves, who were hired in the last six months is amazing to me.
- 54:44Like these are people who are working from home, were interviewed from home, hired from
- 54:47home, and are now doing training from home as their companies sort of grow in interest
- 54:52and power and everything.
- 54:52So people who have Python skills have continued to be, and I would even say are increasingly
- 54:58in demand, which is amazing.
- 55:00The bad news, or among the bad news is, of course, so I mentioned this before, Python and all the
- 55:05other meetings and meetups and gatherings have suffered as a result.
- 55:10The good news on this front is I've been able to speak at many more conferences than I would
- 55:12have been able to because, hey, I can attend the conference from my home office.
- 55:16I don't need to fly anywhere, go anywhere.
- 55:18But you know what?
- 55:19All of these conferences, these online solutions are still really lacking.
- 55:24At the end of the day, as much as we want to say, we're virtual, we're online, we communicate
- 55:28this way.
- 55:28And that is an important part of things, that face-to-face contact, that personal contact
- 55:32is really missing.
- 55:34And I'm really feeling it.
- 55:35I've only been going to conferences for a few years now.
- 55:37And boy, I really miss being in the same room as other people and talking to them and
- 55:40chatting and just sort of randomly bumping into people.
- 55:42And then you also have the financial aspect of it that someone was mentioning earlier, the
- 55:47PSF.
- 55:47Their big fundraiser each year is Python.
- 55:49And I'm sure it was a hit for them not just not to have it this year, but to have to cancel
- 55:53the venue.
- 55:54And I am extremely skeptical that's going to happen in person.
- 55:57I know EuroPython already said it's not happening in 2021.
- 56:00And we'll have to see exactly how this affects the community going forward.
- 56:05I'd say so far, we're doing okay.
- 56:07But here's an opportunity for someone to figure out how can we do conferences online that are
- 56:12effective in a closer way to what we've been doing so far.
- 56:15The news is, I would say, unbalanced good for Python and for people who know Python, but
- 56:20still pretty bad overall.
- 56:23And also add that like these vaccines, I mean, boy, oh boy, if they work, this is going
- 56:28to be like, I'm super, not as a biologist or anything, but I'm so amazingly impressed with
- 56:33all the science and the work that people have been doing on this front.
- 56:36And I think this has a chance also to affect our lives moving forward, how they develop them.
- 56:41They just need to make a PyCon bubble.
- 56:43So in the United States, the NBA was continuing to play because they had a bubble where they isolated
- 56:49all the players for however long, right?
- 56:52So we just all go to somewhere and bubble up for however long.
- 56:57Then we can have our conference.
- 56:58I don't know if my family will let me do that.
- 57:02Jay, we'll just do it in San Diego, man.
- 57:04It's nice though.
- 57:04Okay, I'm all for it.
- 57:05Coronado Island, we'll just get a section of it.
- 57:07Okay.
- 57:07Yeah.
- 57:08But why not?
- 57:09Mandatory quarantine for like conferences.
- 57:11I just did two-way quarantine here to be able to enter Australia.
- 57:15Yeah, just live in Australia.
- 57:16In the hotel room for two weeks and you're free.
- 57:18Make PyCon in Australia.
- 57:20That sounds okay to me.
- 57:21Problem solved.
- 57:21Well, I mean, to be fair, it's expensive.
- 57:24So I wouldn't, you know, would you want to pay like, you know, your conference plus two
- 57:30weeks in a hotel in order to do that?
- 57:32I don't think that'd be even less inclusive than a lot of these conferences already are.
- 57:37I don't want to take all of this thunder.
- 57:39But one of the first conferences that I watched was, Cecil, please remind me now because I'm blanking.
- 57:45That's how long of a year it's been.
- 57:46The conference that you helped put on.
- 57:49The Juneteenth conference.
- 57:50Yeah.
- 57:51And with that, I mean, one, great conference.
- 57:55I'm sorry I screwed up on remembering the name.
- 57:57That's my fault, not yours.
- 57:58But also the sheer fact that that conference was organized in two weeks.
- 58:05And it was an amazing conference.
- 58:07Like the ability.
- 58:08That could never have been done if it was in person, right?
- 58:11Yes.
- 58:11So like the accessibility that you're providing to new speakers, people that normally would
- 58:17not be able to get up and give a presentation.
- 58:19Like I've had that conversation so many times of like the type of talks that I like to create
- 58:24are not the type of talks you see at PyCon.
- 58:26And there's a reason why.
- 58:27And it's not a bad thing.
- 58:29It's just, it is what it is.
- 58:31And I think when you're able to say, you know what, let's do a conference.
- 58:35Let's make this happen.
- 58:36Let's, let's just get up.
- 58:38We can have fun with it.
- 58:39I've seen some conference talks that were literally small budget films.
- 58:43Like they had multiple casts.
- 58:45I've done transcriptions on, on conference talks that literally had, like, they gave me the script
- 58:50and said, all right, here you go.
- 58:51So like when you can actually do things like that and think outside the box and, and use this
- 58:58time to readjust the needle.
- 59:01There was a good podcast episode on more than just code.
- 59:05I believe not more than just code.
- 59:06I don't remember what it is.
- 59:07I'll find it greater than code.
- 59:08That's what it was.
- 59:08And they said, if we haven't taken this time to do something better, when things are different,
- 59:15when things have improved, then shame on all of us because yes, this sucked, but it caused
- 59:20us to think so much outside the box that we should be able to take all that knowledge with
- 59:26us when we can get back in the box and just have a ton of fun with it.
- 59:29Yeah.
- 59:30I think the, a lot of opportunities been made available for people to attend conferences and
- 59:34for people to get jobs where companies would previously say, no, you have to move to San
- 59:40Francisco or to Omaha or whatever.
- 59:42It's like, well, you know what?
- 59:42No one's going to the office.
- 59:44Let's try hiring from the best in the world instead of the best in Nebraska or whatever.
- 59:48I think that might be the biggest fallout of this, Michael, is just the change in everything
- 59:53being centrally located in Silicon Valley.
- 59:55Yeah.
- 59:56I've heard of a lot of people like that actually just have jobs in the Valley that have moved
- 1:00:01back to where their parents are because it's like 10 times cheaper or something like that.
- 1:00:06And they're not going to want to move back.
- 1:00:08Yeah.
- 1:00:10Have you heard that some companies are then readjusting their salaries?
- 1:00:13They're saying, well, if you live outside of the Bay Area, then it's cheaper.
- 1:00:17So we're going to cut their salary as a result.
- 1:00:19Yeah.
- 1:00:19But people have always been doing that.
- 1:00:22That's like, unfortunately, not new.
- 1:00:23So if you're listening and this happens, you can say, well, you no longer have to pay
- 1:00:29$15 million for my office area.
- 1:00:32So let's call it an even swap.
- 1:00:34Just keep a virtual address in the Bay Area.
- 1:00:41Exactly.
- 1:00:41My P.O. box is right down on Fifth Street.
- 1:00:43All right.
- 1:00:43Last one.
- 1:00:44This random choice was easy because we're down to our final excellent guest.
- 1:00:48Matt Harrison, what do you got for us?
- 1:00:49Okay.
- 1:00:50My thought was just on sort of the hardware aspect of things this year.
- 1:00:54So I have a daughter who started college this year for better or for worse.
- 1:00:59And she's learning both C++ and Python right now.
- 1:01:02Her linear algebra class has a Python lab, which I think is awesome.
- 1:01:06I wish I had that.
- 1:01:07But I was actually helping her with some homework.
- 1:01:11I wasn't doing it.
- 1:01:12But she was like, I can't figure this out.
- 1:01:14So I was her rubber duck the other night.
- 1:01:16And her issue was allocating memory, right?
- 1:01:20And so one of the things that's nice about Python is you don't have to worry about allocating memory.
- 1:01:25And she got all the output, but she was just double freeing a pointer here, which they checked on submission.
- 1:01:33So Python's now, now we're seeing Python.
- 1:01:35And I'll just tie this, like, I have a client who wants, next year, wants me to do a training on GPUs with Python, which just goes to show, like, my clients tend to be big companies.
- 1:01:45And so big companies are now leveraging, like, specialized technology to do things very quickly, right?
- 1:01:53And if you have a GPU, you can get 10,000 times performance that you get out of a CPU.
- 1:02:00So I think that's super exciting.
- 1:02:02There's the Rapids project, which is heavily sponsored by NVIDIA.
- 1:02:06And I'm super impressed with that.
- 1:02:09They're basically, like, taking well-known APIs and basically saying, hey, your code basically change an import or, you know, with the change of an import and this hardware, your code will run X times faster or whatever.
- 1:02:23And so I think that's super compelling and exciting.
- 1:02:25Not that necessarily everyone will have access to those sorts of things, but it's now getting to the point where it's becoming more common.
- 1:02:32On the note of hardware, I think another thing that was really interesting this year was the Apple M1 chip coming out.
- 1:02:38I actually bought a beefy PC this year, having run a MacBook for 15 years, just because due to Corona and whatnot, I needed something beefy to start doing virtual sharing and presentation like this.
- 1:02:51And my MacBook just wasn't cutting it.
- 1:02:53But the thing I don't like about my PC is that it sounds like it's going to take off every time I start doing something, right?
- 1:03:02Like modern Intel chips can take us to Mars if they want to.
- 1:03:06We just need to, like, make a huge drone out of them.
- 1:03:09And so I'm super excited to see, like, if you can get a silent MacBook that, you know, is super powerful, runs faster than Intel chips.
- 1:03:19That's super compelling, especially if they allow you to get a little bit more RAM, which from the machine learning side is interesting to me.
- 1:03:25But I'm also excited about the competition factor of that.
- 1:03:29I think, like, Intel and the chipset has sort of stagnated for the past couple of years.
- 1:03:34We've sort of run out of the end of Moore's law, per se.
- 1:03:37So I think both the GPU and the M1, it'll be interesting to see what the competition is from the PC manufacturers, if they're going to, you know, do a similar everything on a chip thing or just sort of go with what they've been going with.
- 1:03:53I think competition is good.
- 1:03:55And so I'm excited that Apple did this, even though there's going to be some growing pains.
- 1:03:59And Python might have some issues at first, but I think in the end, new technologies, new hardware that allow us to write at high levels and not have to worry about freeing and allocating memory.
- 1:04:09Which, again, a lot of people are using Python, don't care about that.
- 1:04:12They don't want to be programmers.
- 1:04:13They want to leverage great code, stand on the shoulders of giants and the latest and greatest software and hardware and have it be fast.
- 1:04:21So I'm super excited about the future with them.
- 1:04:24Yeah, I'm really excited about both these things.
- 1:04:26Like the whole GPU revolution is incredible.
- 1:04:28And the Apple M1 stuff is going to be really, really interesting.
- 1:04:32Like you, I bought a maxed out Mac mini.
- 1:04:36I actually had already ordered a top-of-the-line MacBook Pro 16-inch.
- 1:04:40And then that came out.
- 1:04:41I started seeing the reviews.
- 1:04:42I'm like, you know what?
- 1:04:43Forget it.
- 1:04:43I'm not getting that thing.
- 1:04:45I'm getting this new one to try it out.
- 1:04:46And it does have some drawbacks.
- 1:04:48Like Docker doesn't work right away.
- 1:04:49Maybe it will.
- 1:04:50Maybe it won't.
- 1:04:51But I have a 2018 MacBook Pro.
- 1:04:53That's pretty good.
- 1:04:54I have a SimRacing 16-core machine over there.
- 1:04:58Like I've got plenty of Intel stuff to work.
- 1:05:01So I'm going to try to jump on this.
- 1:05:02And I think the interesting Python angle here, besides just having stuff to run our code,
- 1:05:06and it's, you know, Inus talked about like her CI didn't support 3.9 right away.
- 1:05:10Well, whose CI is going to build wheels for Apple M1 straight away and things like that.
- 1:05:15There's going to be some interesting growing pains, especially on the data science side,
- 1:05:18as this true platform shift happens.
- 1:05:20It's funny you mentioned that because actually, yeah, when this came out, we were also thinking
- 1:05:23like, ah, maybe we should get one of these.
- 1:05:25You know, we want to make sure spaCy compiles properly on it.
- 1:05:27And we can really, you know, optimize for that.
- 1:05:29Did you guys get one?
- 1:05:31Yeah, because someone has to do it.
- 1:05:32Or so, you know, not yet.
- 1:05:33No.
- 1:05:34Also, it's a bit difficult with the traveling.
- 1:05:35But like, yeah, that's kind of...
- 1:05:37And we have other priorities too.
- 1:05:39This is not...
- 1:05:39I wouldn't put this like at the very top.
- 1:05:41But like, it's definitely something we want to do.
- 1:05:42Yeah.
- 1:05:43While at the same time, we also want to keep optimizing for CPU.
- 1:05:46Like, that's the other thing.
- 1:05:47Of course, you know, even all these new NLP models, all of that stuff, obviously, runs great
- 1:05:52on a GPU.
- 1:05:53And we'll see a lot of improvements.
- 1:05:54And we also see this become much more available and cheaper for people to use.
- 1:05:58But at the same time, we're still optimizing our tools and libraries for CPU.
- 1:06:02Like, you can run it on your random laptop.
- 1:06:04And also, it's still, for a long time, it will be cheaper still.
- 1:06:07If you just, you know, you want to run lots of machines.
- 1:06:09And you can get those, you know, much cheaper in the cloud.
- 1:06:12And if you can parallelize, you can train your models very efficiently on CPU if you can get
- 1:06:18it to work.
- 1:06:18Yeah.
- 1:06:19That will always be cheaper for a long time.
- 1:06:21There's a lot to say about just the overall cost of computing as a whole.
- 1:06:26I mean, this is great.
- 1:06:28This is $10.
- 1:06:28And I mean, I can run a lot of stuff on that.
- 1:06:31You're holding up a circuit.
- 1:06:33Well, this is an Adafruit thing just for the people who are not on the video.
- 1:06:36Oh, yeah.
- 1:06:37Sorry.
- 1:06:37I'm holding a Raspberry Pi Zero W.
- 1:06:39So it's like, you know, four gigs of RAM, like enough.
- 1:06:43You can buy a 64 gig, like flash drive for $3 now.
- 1:06:47Like, it's amazing, like just the overall cost of compute has dropped so much.
- 1:06:52I mean, what was it?
- 1:06:53The, what is the Raspberry Pi 400?
- 1:06:55400 where it's just, it looks like a keyboard, but it's actually a whole computer.
- 1:06:59Yeah.
- 1:06:59So it's like, as we continue to do more and more, we're doing it with less and less and
- 1:07:06it's cheaper and cheaper and cheaper.
- 1:07:08And most of us are coming from someplace where the cost of living is too damn high.
- 1:07:12And we're able to say that we can afford to buy a $15 Pi Zero and not think about it too
- 1:07:18hard.
- 1:07:18But the fact that we're getting to that point where you can have people all over the world
- 1:07:23where the question isn't anymore, how do I get a computing device in my hands?
- 1:07:27It's like, okay, now I have some choices and they're all affordable.
- 1:07:31Like to me, that's, we're going to see a lot of things come where Brian Okken is right
- 1:07:35now, where VS 2103 is in the future.
- 1:07:38There's going to be a lot of great things coming.
- 1:07:40And yes, I'm looking at chat.
- 1:07:41I have my kids to have one of those one laptop per child's in my, in their bedroom over there,
- 1:07:47right?
- 1:07:47Which I think that the Raspberry Pi 400 is sort of.
- 1:07:51It's the next gen of that.
- 1:07:52It's actually something that makes sense.
- 1:07:56Everyone has a TV, right?
- 1:07:57And you can just plug it in and you're not in somewhere.
- 1:08:01I mean, you're in Linux.
- 1:08:02So yeah, you're in a weird environment, but you can run one of the laptops with the hand
- 1:08:06crank on it.
- 1:08:07Yeah.
- 1:08:08Well, it has a little wings.
- 1:08:09Mine didn't have the hand crank, but okay.
- 1:08:11I actually like, I kept hearing about Raspberry Pi.
- 1:08:14And so I decided to order one recently and I haven't done anything with it.
- 1:08:17I like just came a few days ago, but I'm looking at this thing.
- 1:08:20I'm like, Oh my God, this little card here that costs me less than a hundred dollars,
- 1:08:25a lot less than that is more powerful than the computer I use to run my entire business
- 1:08:29for years and years and years.
- 1:08:31It's just astonishing to me.
- 1:08:32Yeah.
- 1:08:33So I think that's probably a good place to round out the show.
- 1:08:36Like the future is so exciting.
- 1:08:37And in some ways we're like kind of living there, right?
- 1:08:40Some of these things that are coming out are so amazing.
- 1:08:42And I just want to say, thank you all to you all for being here.
- 1:08:45You're all doing such amazing work and it's really humbling.
- 1:08:48You all took time from crazy schedules, from traveling, from weird locations to just be
- 1:08:52here and make this whole event happen.
- 1:08:54This has been another episode of Talk Python To Me.
- 1:08:57Our guests on this episode were Cecil Phillip, Ines Montani, Jay Miller, Paul Everitt, Reuven
- 1:09:03Lerner, Matt Harrison, and Brian Okken.
- 1:09:05Thank you all for being on the show.
- 1:09:06And it's been brought to you by us over at Talk Python Training.
- 1:09:11Do you want to level up your Python?
- 1:09:12Well, if you're just getting started, try our Python for the Absolute Beginner course.
- 1:09:17Or if you're looking for something more advanced, check out our new Async course that digs into
- 1:09:22all the different types of Async programming that you can do in Python.
- 1:09:25And if you're interested in more than one of these, be sure to check out our Everything
- 1:09:29Bundle.
- 1:09:29It's like a subscription that never expires.
- 1:09:32Whatever you're interested in, taking one of our courses or recommending one of our courses
- 1:09:36is the best way that you can support the podcast.
- 1:09:39Thank you.
- 1:09:40Be sure to subscribe to the show.
- 1:09:42Just open your favorite podcast app and search for Python.
- 1:09:45We should be right at the top.
- 1:09:46You can also find the iTunes feed at /itunes and the direct RSS feed at /rss on talkpython.fm.
- 1:09:54This is your host, Michael Kennedy.
- 1:09:56Thank you so much for listening.
- 1:09:57I really appreciate it.
- 1:09:59Now get out there and write some Python code.
- 1:10:01I'll see you next time.