Latest / Talk Python To Me / #30: Python Community and Python at Dropbox
Transcript
- 0:00What does it mean to be a leader in the Python community?
- 0:02Does it mean you contribute to open source projects?
- 0:05You speak at conferences?
- 0:07You start the largest user group?
- 0:09You write a book?
- 0:10You be a core contributor to the language?
- 0:12The answer is yes.
- 0:14And that's why Jessica McKellar won the Frank Wilson Award
- 0:17for contributions to the Python community.
- 0:19She is the guest on this episode of Talk Python To Me.
- 0:22It's number 30, recorded Thursday, September 24th, 2015.
- 0:27Welcome to Talk Python To Me, a weekly podcast on Python,
- 0:56the language, the libraries, the ecosystem, and the personalities.
- 0:59This is your host, Michael Kennedy.
- 1:01Follow me on Twitter, where I'm @mkennedy.
- 1:03Keep up with the show and listen to past episodes at talkpython.fm
- 1:07and follow the show on Twitter via at Talk Python.
- 1:09This episode is brought to you by Hired and OptBeat.
- 1:13Thank them for supporting the show on Twitter,
- 1:15where they're at hired underscore HQ and at OptBeat.
- 1:18Hey, everyone.
- 1:20I don't have any news this week, so let's get right to the show.
- 1:23Let me introduce Jessica.
- 1:25Jessica McKellar is a startup founder, software engineer,
- 1:28and open source developer living in San Francisco, California.
- 1:31She works at Dropbox and enjoys the internet, networking,
- 1:35low-level systems engineering, relational databases,
- 1:38tinkering on electronics projects,
- 1:39and contributing to and helping others contribute to open source software.
- 1:43Her motto is, be the change you want to see in the world.
- 1:46And she has been a director for the Python Software Foundation.
- 1:50Jessica, welcome to the show.
- 1:53Thank you for having me.
- 1:53Yeah, I'm really excited to have you on the show.
- 1:56You've been a long-time sort of Python hero to me.
- 2:00I've seen some of your talks that you've done at conferences and keynotes,
- 2:05and they were really inspiring.
- 2:07So I'm excited to talk to you.
- 2:08I really appreciate that.
- 2:09You're welcome.
- 2:09I'm excited to talk to you about this.
- 2:11Thank you.
- 2:12So before we get into all the awesome stuff you're doing at the outer edge of the Python world,
- 2:18let's maybe take a step back and you could tell me a little bit about how you got into programming
- 2:23and how you got into Python.
- 2:25What's your story?
- 2:26Yeah, absolutely.
- 2:27So I was not one of those people who was programming since birth.
- 2:32I was a big science nerd in high school, and I actually declared chemistry as my first major.
- 2:37And I actually have a chemistry degree.
- 2:39That's my first bachelor's degree.
- 2:40But I had a bunch of friends.
- 2:42I went to MIT, and I had a bunch of friends who were pursuing computer science degrees while I was busy pursuing my chemistry degree.
- 2:50And, you know, I would sort of look at them out of the corner of my eye, and I would look at what they were learning.
- 2:55And it seemed like this, they were really learning this toolkit.
- 3:00Like they were learning a toolkit full of tools for solving many different types of problems in the world.
- 3:05And that seemed very attractive to me, and also, frankly, very different from what I was getting with my chemistry degree.
- 3:11And I wanted to try out what learning that toolkit felt like.
- 3:17And I ended up taking some computer science classes.
- 3:19I was pretty immediately hooked and ended up getting a computer science degree and then also a CS master's.
- 3:25That's cool.
- 3:26What was your first programming class language?
- 3:28Well, yeah.
- 3:29So I was at MIT right when they were in the middle of this big transition from Scheme, which is a dialect of Lisp, to Python.
- 3:38So my first couple of classes were in Scheme.
- 3:41And then sort of the back half, many of them were in Python.
- 3:45Oh, that's nice.
- 3:47So my first computer science class was also in Scheme.
- 3:51And I do wish it was in Python.
- 3:54You know, no disrespect at all, but Python is just so much better, in my opinion.
- 3:58I mean, Scheme is a very interesting learning language.
- 4:01But I think that, so there was a very conservative, so the reason why there were, well, one of the reasons for this transition was, like, some pretty serious declining enrollment numbers in the computer science program.
- 4:13So it was part of this big revamp to make the program accessible, A, to, like, a diverse set of backgrounds.
- 4:20You know, I think that there had been a sense previously that you really sort of needed to have already been programming, you know, in high school for you to really seriously consider doing it at university.
- 4:32And they wanted to open up the door towards a more diverse set of backgrounds and to make it also a more interdisciplinary curriculum.
- 4:39And I think enrollment has been, you know, sort of skyrocketing since that change, which is exciting for me.
- 4:46That's really great.
- 4:47I don't know why, but it's definitely, I definitely get the sense that Python is more welcoming to people from different backgrounds.
- 4:55And it just seems to bring greater diversity.
- 4:57I do conference speaking.
- 4:59I do training in a variety of languages.
- 5:02And when I do Python, it feels like the people in the audience are much more representative of the general population.
- 5:09I don't know why.
- 5:10Maybe you have better insight than I do.
- 5:12But it's a good thing for whatever reason that's true, you know?
- 5:15Yeah, so certainly, A, the Python community has made very concerted efforts internationally to be a very welcoming community, in particular to first-time programmers.
- 5:26And then also, I mean, the language, sort of this batteries-included philosophy means that if you're just learning how to program and maybe you're not sure if this is for you,
- 5:35I mean, you know, the fact that after just a couple of hours of learning the language basics and then a couple of lines of code,
- 5:42you can do something that is actually pretty exciting, it really hooks people.
- 5:47Yeah, I think you're right.
- 5:48I mean, programming is so fun and so interesting.
- 5:53But when you're new, it's not fun and interesting.
- 5:55There's all these little terrible details like, how do I declare a variable?
- 6:00And why does a semicolon go there?
- 6:03And why do I need to know how to declare a class to declare a function just to, like, print?
- 6:07You know, there's, like, all these stuff you've got to make, sort of, make your way through believing on the other side and there will be something interesting and cool you can do.
- 6:15But it takes a long time with a lot of languages.
- 6:17And like you said, like, Python, you get to that gratification a lot quicker.
- 6:20Yeah.
- 6:22So what was it like doing computer science at MIT?
- 6:25I mean, that's one of those schools that's definitely up there on a pedestal.
- 6:29And I bet it's a pretty interesting environment.
- 6:31Can you tell me what that was like?
- 6:32Yeah.
- 6:33Well, the pedestalization is funny because, honestly, the school is very similar to lots of other, you know, STEM-focused universities, you know, in the country and around the world.
- 6:46And the thing that you really benefit from at MIT is the network.
- 6:48But, yeah, you know, I received a nice, rigorous computer science education.
- 6:51I learned a lot.
- 6:52One of my fondest memories, although maybe it wasn't fond at the time.
- 6:59So I had this, like, fairly compressed computer science education there because I spent the first two years getting a chemistry degree and then the last two years getting a CS degree.
- 7:08And so I ended up sort of like the time from first computer science class to taking grad classes was rather condensed.
- 7:16And I have this really distinct and fond memory of taking, there's this sort of famous operating systems class, 6828.
- 7:23And, like, that was the class where I really learned how to be a systematic debugger.
- 7:29Because, I mean, when you're building an operating system from scratch, and this wasn't in Python, but, you know, debugging is universal.
- 7:35It's all programming languages.
- 7:36But when you can't trust, like, your page table implementation, you can't, like, trust anything about your kernel, you really learn how to be systematic about these things.
- 7:47And I look back on that very fondly.
- 7:49It's, like, sort of very rigorous.
- 7:50It was very hard for me at the time, but I learned a ton from it.
- 7:54I can imagine that, you know, if you mess up the memory implementation or something, like, that's pretty critical.
- 8:00It's not just, like, you're off a little bit, right?
- 8:03Something goes really wrong.
- 8:04So, yeah, that's really, I'm sure that was interesting.
- 8:06Was that in C?
- 8:07Yeah, and a lot of assembly.
- 8:08Yeah, I'm sure it was fun.
- 8:10Like you said, I'm sure the most important part is just being around a bunch of smart people, super excited about programming, just kind of immersing yourself in that world.
- 8:20Yeah, totally.
- 8:22The reason I reached out recently to you is you got a big honor in the Python community, and you won this thing called the Frank Wilson Award.
- 8:31Yeah.
- 8:31Yeah, congratulations on that.
- 8:33Oh, thank you.
- 8:34You want to talk about that a bit?
- 8:35Maybe tell us all what it is first.
- 8:36Sure.
- 8:37It's mostly a recognition of a sort of sustained involvement and investment in the community in particular.
- 8:43And that is pretty much my cup of tea here.
- 8:47So I do, you know, I have contributed to the language.
- 8:50I'm a maintainer for various open source Python libraries.
- 8:54But a lot of what I'm invested in is the community side.
- 8:58I guess some of the things that I've done over the years have included being an organizer for the Boston Python user group, which became the largest user group in the world.
- 9:07How big is that?
- 9:08Several thousand people.
- 9:11That's pretty awesome.
- 9:12You can't have everybody attend, right?
- 9:14No, you can't.
- 9:16But it's this really wonderful both sort of online and offline community.
- 9:19And there are a bunch of people who deserve a ton of credit for this.
- 9:23It's certainly not a one-person effort.
- 9:25A big part of the growth was around us making a very concerted investment in attracting and retaining sort of diverse backgrounds in the community in Boston.
- 9:38So Boston, it's a college town.
- 9:40You have a ton of students.
- 9:41There are a bunch of fields adjacent to just sort of pure software engineering that are very well represented.
- 9:48It's a big biotech community.
- 9:51The sciences are very well represented there.
- 9:54Yeah, you've got all that high-tech stuff.
- 9:56What is that?
- 9:57Route 128 or something sort of on the ring out there.
- 10:01There's a lot of really cool companies.
- 10:04Yes.
- 10:05So you have this opportunity to have a bunch of sort of really interdisciplinary, wonderful interdisciplinary discussions,
- 10:10and then also to be very concerted about attracting diversity amongst other demographics.
- 10:16So we had a very concerted push where it was getting more women into the community, for example, to get more students into the community.
- 10:21And that was a big part of our growth.
- 10:23And that model, sort of the model that we built out was starting with sort of an introductory series of programming workshops
- 10:32and building that into a pipeline of sort of project nights where you come and you can get mentorship on whatever projects you're working on to intermediate Python workshops.
- 10:44And then sort of being well-situated at that point to be just a general, fluent member of the community.
- 10:50And so this sort of pipeline model has been emulated in a bunch of other cities and has proven pretty successful.
- 10:58Sure.
- 10:58I currently am not in Portland, Oregon, but I live in Portland, Oregon.
- 11:02The Python user group there seems to be modeled very much like that.
- 11:07They've got like a peer mentoring night.
- 11:08And then once a month they've got like, you know, more formal speaking.
- 11:11And then they've got a lot of different levels.
- 11:13And I think that that's really pretty key to making it successful, like you say.
- 11:17Yeah.
- 11:18I've actually been to the Portland user group on a couple of occasions.
- 11:20Oh, nice.
- 11:21Yeah.
- 11:22Yeah.
- 11:22Yeah.
- 11:22Very cool.
- 11:23You know, it seems to me like if you're just a student or somebody, if you were to go to, I don't know, user group with some famous speaker talking about the nuanced bits of some advanced piece of the language or some library or technology, right?
- 11:37That's sort of inaccessible to you.
- 11:39But I think having this pipeline that slowly brings people more in is probably good.
- 11:44Yeah.
- 11:45And you want the super advanced stuff too, right?
- 11:48I definitely want to be, you know, have an opportunity to talk with experts on advanced topics.
- 11:54But having, you know, sort of having the beginner, the intermediate, and the advanced topics covering your attendee base is definitely important.
- 12:01Yeah.
- 12:01That's super cool.
- 12:02Okay.
- 12:02So Python user group in Boston, we're going to name some other things.
- 12:07I derailed you.
- 12:09I know you have a bunch more.
- 12:10I spent a lot of time speaking.
- 12:12I'm sorry.
- 12:12I mean, I was a director for the Python Software Foundation for a couple of years, a co-chair for the Outreach and Education Committee, which is sort of specifically dedicated to bringing Python into schools and learning communities and attracting diverse audiences.
- 12:31So what level were you focused at?
- 12:33Was that university?
- 12:34Was that high school?
- 12:35In general?
- 12:36It's really everything.
- 12:37And actually, a lot of it is sort of learning opportunities and learning communities outside of the formal education system.
- 12:46So supporting a lot of these, you know, workshops for sort of a diversity-focused workshops or perhaps like an after-school program for kids where they might not otherwise have a formal opportunity to learn how to program.
- 12:59It was really the full spectrum.
- 13:00Okay.
- 13:01Yeah, that's cool.
- 13:01A lot of international investments, which is really cool.
- 13:05So we've definitely given grants to people on probably every continent except Antarctica.
- 13:11Yeah, which is very cool.
- 13:14Yeah, there's not a lot.
- 13:15There's probably only scientists on Antarctica, aren't there?
- 13:18We'll get them, though.
- 13:18We'll get them.
- 13:19They probably brought Python with them, actually, keeping it warm and somewhat.
- 13:24One of the things that I really liked that you did was a talk, I think it was in New Zealand at KiwiPyCon.
- 13:33Is that right?
- 13:34I did give one of those, yeah.
- 13:35Yeah, yeah.
- 13:36And you said you titled it something like Choose Your Own Python Adventure.
- 13:40Do you remember that talk?
- 13:42I do.
- 13:42Yeah.
- 13:43Yeah, that was really, really good.
- 13:45And let me see if I can summarize it.
- 13:47We could talk about it a little bit.
- 13:48So, you know, you kind of said, like, look, we want development and programming in Python to be wonderful and delightful.
- 13:56And there's a lot of positive stuff happening, like you talked about, the adoption growth and things like that.
- 14:03But you wanted to make sure that it keeps growing.
- 14:06And there was maybe some challenges that you said, look, we need to address these things.
- 14:12The number one issue that you brought up, which I thought was pretty interesting and resonated with sort of my experience as well, was Python on Windows.
- 14:19Yeah.
- 14:21So what's the problem with Python on Windows, even though it is getting better?
- 14:24It is definitely getting better.
- 14:26And the talk was a couple of years ago.
- 14:27And there have been some, you know, there's been a lot of investment since then.
- 14:31But this stems from, I think, an issue that is common in many communities and, you know, also, like, many startups.
- 14:42Like, there are many contexts in which this is true, which is just that the developers are using a different environment than the preponderance of the users.
- 14:51So the vast majority of people who are programming in Python are programming on Windows.
- 14:55And very few of the people contributing to, like, the CPython code base use Windows.
- 15:01And that creates a disconnect around, you know, you need to be, you need to have a good understanding of what the experience is.
- 15:10In particular, sort of the early experience, the onboarding experience, the installation experience for the vast majority of your users.
- 15:16And, like, take that empathy back and invest it in the language.
- 15:21And so a lot of it stems from that.
- 15:24Just not having a lot of people regularly experiencing what it's like to be a beginner in the language on Windows.
- 15:31And so I think the key challenge is, A, like, attracting folks who do have that background and welcoming them into the development community.
- 15:39And then also just being more conscientious about and proactive about addressing that very large segment of our user base.
- 15:47And some of this is, so I come from sort of startup land.
- 15:52I've been through a series of startups and acquisitions.
- 15:54And I tend to think about everything in life, including the Python community, in terms of, like, a pretty standard, like, user retention funnel analysis.
- 16:04And if you think about it, it's like, okay, Python wants to be a language that hopefully, like, many, many people are still using for a diverse set of, you know, in many diverse areas for many years to come.
- 16:18And to do that, we need to be getting new developers and retaining them.
- 16:24And it's sort of like, at your big top of the funnel is all of these new users, most of which are on Windows.
- 16:30And then, you know, you get those folks to use the language, maybe in a basic way, maybe in school.
- 16:35You want to retain them through them using it professionally.
- 16:38And then you want to convert some of those folks, hopefully, into becoming active contributors back to the language and community.
- 16:43And the thing that we can, it's easy to, it's easy to focus on things that impact a smaller set of the funnel, if you're not really conscientious of what the broader funnel looks like.
- 16:57Because, like, there's a disproportionate impact for focusing on the top of the funnel, the widest part of the funnel.
- 17:02So, like, investments that you make that make the first five minutes of using Python better are going to have an impact on, like, hundreds of thousands of people.
- 17:13And then fixing, like, a particular bug that affects, like, some specific bug and some specific library potentially is still very important, but may impact a smaller number of people.
- 17:26Which is not to say that we shouldn't do both, but we should be conscientious as a community about ensuring that we're investing enough in the top of the funnel.
- 17:34Yeah, it's really interesting to view the ecosystem and lifecycle of a language through growth hacking terms.
- 17:42But that's really cool.
- 17:43Yeah.
- 17:44But it makes perfect sense.
- 17:46I can't help it.
- 17:46No, of course.
- 17:46And it makes perfect sense.
- 17:48You're right.
- 17:49There is a disconnect.
- 17:50I mean, if you take the time and you make, let's just focus on Windows, but it could be basically getting started anywhere.
- 17:55If you make getting started with Python on Windows better, you're not going to go to the conference necessarily and go, oh, that's the guy that made that better.
- 18:04Because everybody there, like, doesn't hit that problem.
- 18:07They're way past it.
- 18:08Right?
- 18:08But if you make, you know, coroutines just slightly more efficient, they might cheer when they see you or something, you know?
- 18:14But like you said, the people that are coming in, they feel that pain.
- 18:20And I've done a lot of training where, you know, there's 30 Dell and HP laptop screens or, you know, backs facing me.
- 18:28And there's a lot of, well, it says Python is not found when I type Python.
- 18:34It's like, okay, well, did you restart the command line, the command prompt after you installed it?
- 18:38There's just all that friction, right?
- 18:41Yeah.
- 18:42And to be clear, I'm definitely not knocking.
- 18:44Folks should do what they're passionate about.
- 18:46And if the thing that people are passionate about is, in fact, like optimizing how coroutines work, that's fantastic.
- 18:52It is sort of collectively as a community.
- 18:55We should value and we should incentivize and recognize the efforts that do impact this big part of the funnel that has historically been underserved.
- 19:05Yeah.
- 19:06So, you know, I just, I totally agree.
- 19:08And I guess I should recommend that people watch that video of yours, even though it is a few years ago.
- 19:13I'll put it in the show notes because I think it is, like you said, it's a place to have where there's sort of low-hanging fruit that can have really big impact on people.
- 19:23So, what do you think about things like IDEs and stuff like that that maybe do a little more hand-holding for getting people started?
- 19:30This episode is brought to you by Hired.
- 19:43Hired is a two-sided, curated marketplace that connects the world's knowledge workers to the best opportunities.
- 19:50Each offer you receive has salary and equity presented right up front and you can view the offers to accept or reject them before you even talk to the company.
- 19:59Typically, candidates receive five or more offers in just the first week and there are no obligations, ever.
- 20:05Sounds pretty awesome, doesn't it?
- 20:07Well, did I mention there's a signing bonus?
- 20:10Everyone who accepts a job from Hired gets a $2,000 signing bonus.
- 20:14And as Talk Python listeners, it gets way sweeter.
- 20:18Use the link Hired.com slash Talk Python To Me and Hired will double the signing bonus to $4,000.
- 20:26Opportunities knocking.
- 20:27Visit Hired.com slash Talk Python To Me and answer the call.
- 20:41I mean, in general, I think that that's great for people where it works and for environments where it works.
- 20:47And it's certainly very common in schools.
- 20:49I have a...
- 20:51I don't actually know if this is a majority opinion or a minority opinion, but I have a strong opinion on this, which is that I think that...
- 20:59So in general, with Python, it's like there's one...
- 21:02Explicitness is better than implicitness.
- 21:04And there's hopefully one obvious and good and correct way to do things.
- 21:08One of the places where we don't sort of adhere to that philosophy is in how we recommend that people get started.
- 21:15And I actually think that there's an opportunity for us to be more opinionated with new learners about how to set up their environment in a way that will sort of maximize their chance of being successful new learners of the language.
- 21:31Like, if you currently...
- 21:32Like, if you go to Python.org right now and you, like, try to follow the instructions for how to get your development environment set up, it's like there are many forking recommendations.
- 21:41And we try to be this sort of neutral place.
- 21:44And I understand why there's a temptation to present yourself as, like, neutral and providing all the options.
- 21:51But the problem is that a new learner doesn't know enough to know what the...
- 21:56Like, to determine what the right answer is.
- 21:58And so, like, being opinionated about potentially an IDE...
- 22:02I mean, maybe the answer is an IDE.
- 22:03Maybe it's not.
- 22:04And just, like, a super vanilla, like, sort of terminal-based education is okay.
- 22:09But I think we should be considering having a more opinionated stance on what development environment we recommend for new learners.
- 22:14Yeah, I think that makes a lot of sense.
- 22:17I mean, you don't want to alienate some significant portion of the population saying, use EMAX, don't use EMAX, use PyCharm, don't use PyCharm, whatever, right?
- 22:25But when you're new, recommendations, if you say, well, here's four good choices, and then, like you say, it's just...
- 22:33It's tough.
- 22:33So, do this, get started, then make your choices down the road or something.
- 22:38Yeah, I'm not really sure what the choice is or the right choice is either, but...
- 22:42But I think it's a conversation worth having.
- 22:43Yeah, I definitely think it's a conversation worth having.
- 22:46So, one of the things you did, as you said, for a while, you were the PSF director.
- 22:51So, what does the director do, and what's that like?
- 22:54I bet that's a crazy role to have.
- 22:56And so, and just to clarify, there are several directors that work together, sort of as a committee.
- 23:01And so, this is the...
- 23:05So, the Python Software Foundation is a 501c3 nonprofit.
- 23:08And it's sort of the stewarding arm for the community.
- 23:11And it also, as this nonprofit, has the ability to collect and disperse funds towards investments in the community.
- 23:17So, a big part of what we do is to sort of get funding and then reinvest it in the community in a smart way.
- 23:25We also do things like underwrite PyCon.
- 23:28So, those are the two big things that we do.
- 23:30And there's also sort of an aspect with this investment of...
- 23:35And so, like, what are you investing in?
- 23:37You want to invest in accelerating development of the language.
- 23:41Invest in development of the popular libraries and maybe new libraries.
- 23:47New initiatives.
- 23:48Not new anymore, but, you know, back in the day, we gave a big grant to PyPy, for example.
- 23:52So, you know, potentially new initiatives that would accelerate the language or broaden the set of domains in which Python is an excellent language to use.
- 24:00And then also investing in, like, local community initiatives, which includes everything from local workshops to regional Python conferences.
- 24:08Okay.
- 24:09Yeah, that's really cool.
- 24:10Does trying to promote Python 3 fall under that banner?
- 24:13Yes.
- 24:15Yes, I would say yes.
- 24:16We tend to...
- 24:17I mean, so, just to be clear, the PSF doesn't try to dictate sort of details of the language.
- 24:24But definitely, Python 3 is important, A, because it's the future of Python, and B, because it's important that as a community, we communicate a clear direction externally.
- 24:35Like, it can be very confusing, again, potentially to new learners and maybe companies that are thinking about,
- 24:40what languages they want to use for a new software stack.
- 24:43Like, they want to be confident that the Python community knows what it's doing and has a clear sort of future direction.
- 24:48So, to the extent that that is a part of sort of the outward communication mission of the PSF, yeah, that's definitely important to us.
- 24:54And we also, like, we have funded...
- 24:56We've given away grants to port, like, major libraries to Python 3 and things like that.
- 25:01Right, sure.
- 25:01I had Chris McDonough on the show, and he's talked about, you know, you guys, I don't know if you were involved directly, but, you know, PSF sort of nudged him to get Pyramid to run on Python 3, where he was...
- 25:13Yeah, totally.
- 25:14You know, not exactly.
- 25:15Rushing in to get it done, because he was actually working.
- 25:17Things like that.
- 25:19Right now, professionally, you're working at Dropbox, right?
- 25:23Out in San Francisco?
- 25:24Mm-hmm.
- 25:26That must be a pretty awesome place to be.
- 25:27Yeah, it's been a lot of fun.
- 25:29So, as I said earlier, or as I alluded to earlier, I come from sort of a series of startups and acquisitions, and the latest startup and acquisition have landed me at Dropbox.
- 25:40And I had been in Boston for 10 years coming out of university, and sort of the inexorable pull of Silicon Valley finally got a hold of us.
- 25:48We all moved out west.
- 25:50And, yeah, so I'm a director of engineering at Dropbox.
- 25:52I run the engineering group that is responsible for all of the sort of platform software.
- 25:59So, this includes the desktop clients, our mobile apps, and web as a platform.
- 26:03Incidentally, Guido is a part of this group.
- 26:06Yeah, that's awesome.
- 26:07So, what's it like to work with him?
- 26:09Yeah, I mean, he's...
- 26:10Well, if you've ever...
- 26:12For anybody who lurks on the Python dev mailing lists, it's about like that, but at work.
- 26:18But, you know, Guido has, you know, he has such expertise with...
- 26:23Like, when you think about, like, what developing a language...
- 26:26Like, what skills developing a language entails, those are skills that are incredibly useful when architecting complex systems, like thinking about abstractions that need to be very long-lived, perhaps with API design, for example.
- 26:39So, you know, he's a very...
- 26:41He brings a lot of excellent expertise to the table at Dropbox.
- 26:45I'm sure.
- 26:45We also tend to get...
- 26:46We get into an occasional Python-related flame war, but that's par for the course.
- 26:51Yeah, I'm sure.
- 26:52Yeah, I mean, one of the really valuable skills that I can think of is, like, simplicity.
- 26:57Yeah.
- 26:58People see something that is simple, and they think, well, that must have been easy to build, because it's simple.
- 27:02Right.
- 27:03You know, that's hard with languages.
- 27:06That's hard with complex software.
- 27:07But it seems like he's at least nailed it for Python, the language.
- 27:12I haven't seen the Dropbox codes.
- 27:14I can't say for sure, but I bet that skill transfers over.
- 27:17Yeah, definitely.
- 27:19Well, and, you know, so the Dropbox desktop client is written in Python.
- 27:21It's one of, if not the largest, you know, pieces of desktop client software that is out in the world.
- 27:30You know, Dropbox has 400 million users.
- 27:31There aren't that many pieces of desktop software that aren't sort of bundled with an operating system distribution that have that level of user base.
- 27:39So that's all in Python.
- 27:40It's not in Python 3, although we periodically...
- 27:43You know, it's a very large historical code base, but we do periodically revisit, if we're going to...
- 27:49Make the jump to Python 3.
- 27:51That's super interesting.
- 27:52I did know that, and I thought it was great.
- 27:55So I'm glad you brought it up.
- 27:56Can you talk a little bit about, like, just, you know, the internals, the libraries you're using, how you build it, how you distribute it?
- 28:04Like, what's the story with that?
- 28:07I don't actually think that I'm allowed to.
- 28:09Sorry.
- 28:11Okay.
- 28:11I don't want you to do anything you can't do.
- 28:14But, you know, a lot of people build, you know, little utility scripts, or there's a ton of web applications and data science apps.
- 28:21But the sort of, here's the thing with the UI that I can ship in Python is really interesting.
- 28:28Yeah.
- 28:29Well, Python has taken us a long way.
- 28:30I mean, Dropbox has been around since 2007.
- 28:32And, you know, Python gives you this cross-platform desktop client software that you can develop against pretty rapidly.
- 28:41You know, we've certainly benefited, I think, quite a bit from making this early language choice.
- 28:47I mean, there are pros and cons.
- 28:48Like, there are definitely alternative models for desktop client development, but it's definitely served us pretty well.
- 28:52Yeah.
- 28:52It seems like it has served you guys really well.
- 28:55And when I think of companies that are, like, making major use of Python, well, Dropbox, maybe along with Google and a few others, is right there at the top.
- 29:03Can you give us kind of a sense of, like, all the things you're doing with Python there?
- 29:08Or you and other people, obviously.
- 29:10In addition to our desktop client being written in Python, the majority of our server-side code is in Python as well.
- 29:17So we pretty much use it for everything.
- 29:19There's a little bit of Go.
- 29:20I mean, our mobile apps are written in the languages you would expect, but Python is definitely the majority language.
- 29:25So do you want to talk a little bit about some of the open source projects you work on?
- 29:30I saw your core contributor to Twisted, for example.
- 29:33Yeah.
- 29:34So, and I have to admit that sort of there's an ebb and flow to how much of my time is spent on sort of the community and the people parts versus the technical parts.
- 29:45Yeah, so I, the first open source project that I ever contributed to was Twisted.
- 29:51It came out of an internship that I was doing at VMware.
- 29:55I was using Twisted.
- 29:57So Twisted is an, I mean, maybe everybody knows it, but Twisted is an asynchronous networking library written in Python.
- 30:02And I was using some of the primitives and some of the documentation was a little unclear to me.
- 30:08And I thought, oh, hey, this would be a great opportunity to, like, try my hand at making my first ever open source contribution.
- 30:15So I created a little tiny diff for, like, a little bit of a documentation change.
- 30:19And, like, very nervously, I, like, quadruple checked all of the instructions, like, contribution instructions.
- 30:27And then, like, you know, opened up a ticket and, like, quadruple checked all of the ticket fields.
- 30:33And then, like, sort of sweat a little bit with my hand hovering over the submit button.
- 30:37Like, finally press submit.
- 30:38And, of course, everyone was super nice.
- 30:40So Glyph, who was the creator of Twisted, who incidentally, this is what San Francisco is like, incidentally, he lives in my apartment complex now.
- 30:46Oh, wow.
- 30:47What a small world, huh?
- 30:48Right.
- 30:48So Glyph, who's the creator of Twisted, and a bunch of other folks were super friendly, very willing to handhold me through the process.
- 30:56You know, I ended up making some more small documentation contributions.
- 31:02Like, ended up sort of getting pretty involved in the community.
- 31:04Ended up becoming a core committer.
- 31:07I ended up writing a book about it with O'Reilly.
- 31:09So that first little, like, nervous documentation contribution ended up being a very important...
- 31:16A, it was very important for me because that was such a positive first experience with contributing to an open source project.
- 31:24Like, I want everyone to have that positive first experience.
- 31:27It was very important for me.
- 31:28And hopefully, also, it's been a good investment for Twisted, given that I've managed to stick around.
- 31:33So that's one of them.
- 31:36And then OpenHatch is...
- 31:38Well, it's both a website and a nonprofit dedicated to lowering the barriers to entry for open source contribution.
- 31:44And I've been fairly involved with them as well.
- 31:47And then I just, like, miscellaneous patches here and there to various other projects.
- 31:51Yeah.
- 31:51Core Python.
- 31:52Yeah, that's really cool.
- 31:53I think that's one of the nice things about the Python community.
- 31:56They seem pretty welcoming to new folks.
- 31:58Whereas, you know, if that was like a C++ project, they might have, I don't know, not been as welcoming, right?
- 32:04It could have been, oh, you did this wrong or whatever.
- 32:07Well, I hope that all language communities and all sort of libraries are recognizing how important it is to provide a good initial experience for potential contributors.
- 32:18Because it's so important for you.
- 32:20Like, if you want your language or your library to continue to evolve and be popular, like, you need to be ingesting new contributors who can pick up some of the development.
- 32:31So hopefully people are learning that.
- 32:33That's for sure.
- 32:34And I think things like Git and GitHub and Bitbucket are really sort of opening the door to make this feel, you know, less threatening as well, right?
- 32:42You're not cruising around SourceForge trying to use some old clunky tool to get a check-in to go in or something.
- 32:49Yeah, definitely.
- 32:50Do you have a favorite open source project?
- 32:53Whether you contribute to it or not.
- 32:55Geez.
- 32:58Or how about one, you know, one or two of your favorites?
- 33:01You don't necessarily have to exclude, be exclusive.
- 33:05I mean, that's, I feel like I can answer this question on a number of different levels.
- 33:09So I have used Django at this point through several startups.
- 33:15And I think that Django was a very important thing to have flourished in the Python community.
- 33:21Like for, you know, it really was a big part of opening up Python being a serious language for many types of website developments.
- 33:32So A, on a personal level, having used it quite a bit.
- 33:36And then B, because I think it's had like a very material positive impact on the community.
- 33:40That's probably a choice.
- 33:42Yeah, I would say Django definitely has had a really big impact.
- 33:47So that's a good one.
- 33:48Yeah.
- 33:49You know, Python itself.
- 33:51But that's kind of assumed, right?
- 33:53Sure.
- 33:54Yeah, yeah.
- 33:55And having contributed to CPython, my challenge for us would be that I think we haven't quite cracked the nut on getting really good, sustained new developers to core Python.
- 34:11And that's a thing that we should, that's nothing we do need to crack.
- 34:15Yeah, absolutely.
- 34:16And Guido actually made a, you know, that a key part of his keynote at PyCon, right?
- 34:21Yeah.
- 34:22Yeah.
- 34:22So it's tough, though.
- 34:24You know, it's a very different world than Python.
- 34:28And people are drawn to Python, the language.
- 34:31And then you go look at CPython, and it's, to some degree, a totally different type of programming and skill set and so on.
- 34:38Yeah.
- 34:39One, it's a very mature project.
- 34:41Just in terms of it's been around for a while.
- 34:44It, you know, it's, it is the language.
- 34:48So sort of the commitment to quality needs to be very high.
- 34:54Like, we can't sort of regress, regress functionality for the hundreds of thousands of people who develop against it.
- 35:00And then, you know, millions of people who end up sort of using the end software that's developed.
- 35:05So it's like, it's very mature.
- 35:07There's like a fair amount of process.
- 35:09And that's all important and necessary.
- 35:11But figuring out how to balance that, again, making it an accessible environment for new contributors.
- 35:16Yeah, sure.
- 35:17I mean, if you're writing software used by that many people, you've got to deal with every edge case.
- 35:21Be just super careful.
- 35:23And then on top of that, it's C, which means it's a little harder to do.
- 35:26This episode is brought to you by OpBeat.
- 35:42OpBeat is application monitoring for developers.
- 35:45It's performance monitoring, error logging, release tracking, and workflow in one simple product.
- 35:50OpBeat is integrated with your code base and makes monitoring and debugging of your production apps faster.
- 35:56And your code better.
- 35:57OpBeat is free for an unlimited number of users.
- 36:01And until recently, it's only been available for Django developers.
- 36:04But I'm happy to tell you they are launching Flask support.
- 36:07Visit opbeat.com slash Flask to be amongst the first to join the Flask private beta.
- 36:23I think it's important that people that work in Python kind of at least have a conceptual understanding of what's happening down in the CPython layer.
- 36:32There's a guy named Philip Guau who did a really cool thing.
- 36:37He took his graduate class that studied the CPython code base and then took that and put it on YouTube.
- 36:44So there's this thing called, he called it the CPython 10-hour code walk or something like that.
- 36:50And then I had him on show 22 to talk more about it.
- 36:53So I totally recommend people check that out if they want to know more about CPython.
- 36:57Yeah, totally.
- 36:58And I also, this is such a who's you.
- 37:01So I know Philip.
- 37:02We were actually, well, I actually know him through a couple of channels.
- 37:06But then we were at this, how would you describe it?
- 37:10So there's a community that used to be called Hacker School that is now called Recurse Center.
- 37:15Which is, it's sort of like an artist in residence program for programmers.
- 37:19It's sort of, it's a fairly unstructured environment where you go and you sort of invest in your programming skills for several months.
- 37:27And I have sort of been a visiting speaker at that program, as has Philip.
- 37:33So, and we've actually crossed paths physically there as well as on the internet.
- 37:36So small world as per usual.
- 37:38It definitely is.
- 37:40Where was, if that was a thing in person, where was that?
- 37:42Oh, so Hacker School and now Recurse Center is in New York.
- 37:46So, you know, I brought up your video, the Choose Your Own Python Adventure.
- 37:50Are there other videos that are out on YouTube or other places we can find that people should check out if they're interested in more?
- 37:57Like, of me?
- 37:58Yeah, I mean, of like talks that you've given that you think, hey, people should check this out.
- 38:02Or I guess other ones as well.
- 38:03I mean, so many of the talks that I've given at various Python conferences are online.
- 38:09And you can find them on PyVideo.
- 38:11But maybe one of the most gratifying things for me is, so for a couple of years at PyCon US, I did an intro to Python tutorial.
- 38:22So, you know, it's a three-hour tutorial for absolute beginners as soon as no prior programming experience.
- 38:27Like, we do, we walk everyone through everything, like, from the installation and environment setup on through the first couple of hours in the language.
- 38:36And that's, I've read something like 200,000 people have watched those videos, which is, like, that's a lot of people.
- 38:45Like, that's incredibly gratifying to me that there are that many people who were, like, wanted to learn Python and then took the time to have that first experience watching, you know, like, sort of watching that PyCon tutorial.
- 38:57So that's the one that I maybe was proud of.
- 38:59Okay, that's really cool.
- 39:00I mean, just the thought that you've, you know, influenced that many people down that path has got to be gratifying.
- 39:06Yeah.
- 39:08And I, you know, I really, like, the beginners are where my heart is.
- 39:13And I think some of that comes from being, I mean, comparatively, sort of, comparatively, quote, unquote, late to learning how to program.
- 39:22So not starting until university.
- 39:24And then being, you know, honestly, being surrounded at school by people who had been doing it for a lot longer and really sort of feeling like I was catching up for a long time.
- 39:34I think that built up a lot of empathy that has stayed with me through the years around, like, what it's like to be a new programmer, what it's like when everything maybe feels foreign and you maybe are surrounded by people who it feels like have been doing this for longer than you.
- 39:48And it's really wanting to provide an excellent experience for those people.
- 39:51That's really interesting.
- 39:53I hadn't really thought of it that way before.
- 39:55But I didn't get into programming until, like, a ways into college.
- 39:58And, you know, super deep into it until kind of my senior year almost in college.
- 40:04And I think it does help you teach people who are new because the sort of pain of learning is fresh.
- 40:11Like, if you learn it when you're 10 years old, it's like learning language.
- 40:14Like, I don't remember how I learned English.
- 40:16I just know English.
- 40:17Right?
- 40:17So I feel totally unqualified to teach English.
- 40:20But I do remember learning programming and all the mistakes I made and so on.
- 40:25So that's quite an insight.
- 40:27What else would you like to talk about while you're on the show?
- 40:30I think there's maybe a call to action here.
- 40:33Yeah, absolutely.
- 40:34Listeners.
- 40:34Well, and I'm not sure, you know, they're probably listeners from many, many backgrounds.
- 40:39But I would encourage everyone to think about sort of what they get out of Python, the language and community.
- 40:44And to consider, if you're not already, giving back in at least one way, either technically or in a more community-oriented way.
- 40:52And if that is, like, taking the plunge and making your first open source contribution, if that's volunteering with your user group at an upcoming workshop, you know, whatever it might look like.
- 41:05I would definitely, you know, one of the important things about Python is that it is almost entirely community-driven.
- 41:15There is not a giant company or consortium behind the language and community.
- 41:22Most of the conferences are volunteer-driven.
- 41:27And so it really is, like, sort of the success of the community and requires us all working together to drive the language and community forward.
- 41:34So I'd encourage everyone sort of to take that opportunity seriously and, you know, pick at least one thing that you'd want to get, that you'd want to contribute by the end of the year and go ahead and do it.
- 41:45Yeah, that's a great call to action.
- 41:46And I definitely second that.
- 41:48I'll throw a few more ideas out there in that vein.
- 41:51Hour of Code is coming up in December.
- 41:54You know, volunteer at your local school.
- 41:56It's surprisingly easy.
- 41:58There's actually a lot of Python sort of online Hour of Code-focused things.
- 42:02So, you know, you could maybe help push a kid in a direction that they start down the programming path where they might not have otherwise.
- 42:10Last year, I volunteered at my daughter's elementary school.
- 42:14And we did programming for first, second, third, fourth, and fifth grade.
- 42:18We did a whole bunch of little classes throughout the week.
- 42:20And then three or four months later, I saw a kid who was in third grade walking to school with a JavaScript book.
- 42:26And I talked to his dad.
- 42:28And he said, yeah, that's because he did that Hour of Code thing with you.
- 42:31How awesome is that?
- 42:32Oh, that's awesome.
- 42:32Right?
- 42:33So, I mean, that's, like, a few hours once a year you can do that.
- 42:36And if you learn something, you're exploring some new library and you're having a hard time finding documentation or it didn't seem clear, record a video and put it on YouTube.
- 42:44Right?
- 42:45Of what you figured out and just, like, to teach somebody how to get started.
- 42:48Right?
- 42:48A lot of ways to get back.
- 42:49Jessica, let me ask you a few questions.
- 42:52Put you slightly on the spot before I let you go.
- 42:54Sure.
- 42:55Yeah.
- 42:55A question I always ask my guests at the end of the show is, what's your favorite editor?
- 43:00If you're going to write some Python code, what do you open up?
- 43:02Sure.
- 43:03I mean, I'm an Emacs user through and through.
- 43:05Yeah?
- 43:06Learned it at MIT and that was that?
- 43:09Yep.
- 43:09Pretty much.
- 43:09Hey, you can, look, you can run a web browser inside of Emacs.
- 43:13Why would you not want to do that?
- 43:14Of course.
- 43:15That's awesome.
- 43:17And then, you know, there's so many awesome packages out on PyPI that people can just go and grab, you know.
- 43:24What are some of the ones that you think people maybe don't know about that you'd like to highlight or talk about?
- 43:30Gosh, I think my answers to this are probably, unfortunately, quite niche.
- 43:34There are lots of, there are libraries that facilitate, how do I even describe this?
- 43:40I do, I participate in a lot of capture the flag events.
- 43:45And so there are a lot of like Python bindings for various types of like program introspection that you would do.
- 43:53Like if you want to disassemble something and then like trace flows to the program, there are like there are Python libraries that facilitate that.
- 44:00So like where, or to automate some of those processes.
- 44:04So where you might use like IDA pro or whatever to be disassembling and analyzing a binary for a capture the flag event.
- 44:12Like you can actually do a lot of this stuff in Python.
- 44:14But that's like a super niche answer that is maybe not what you were going for.
- 44:18No, that's good though.
- 44:19I mean, everybody has their own specialty and it's cool.
- 44:22It's like, otherwise we'd hear NumPy, we'd hear requests, we'd hear SQLAlchemy.
- 44:27Yeah, right.
- 44:28I mean, so that's exactly what I was looking for really.
- 44:30Although the other thing I would say is that it's very, very cool that there are such strong,
- 44:38there are such strong communities around certain various disciplines.
- 44:42And that's very exciting for me.
- 44:44So it's like astronomers have all kinds of like super sophisticated astronomy focused packages on PyPI.
- 44:50Like basically all of the science disciplines for like finance, there are a bunch of like very sophisticated Python packages.
- 44:58And it's like the fact that we've gotten to that level of specialization and like the ability to support these domains in this very sophisticated way.
- 45:04I think that is very cool.
- 45:06That is.
- 45:06Yeah, right.
- 45:07That's an absolutely huge win for the Python community.
- 45:09And I think it's just accelerating the diversity of people coming from these different disciplines.
- 45:15Yeah, that's great.
- 45:16Final call to action.
- 45:18People get out there, contribute, donate your time, give a little back.
- 45:22Jessica, thanks for being on the show.
- 45:24Thank you so much for having me.
- 45:26Yeah, you bet.
- 45:27Talk to you later.
- 45:27This has been another episode of Talk Python To Me.
- 45:31Today's guest was Jessica McKellar.
- 45:33And this episode has been sponsored by Hired and Optbeat.
- 45:36Thank you guys for supporting the show.
- 45:38Hired wants to help you find your next big thing.
- 45:40Visit Hired.com slash Talk Python To Me to get five or more offers with salary and equity presented right up front and a special listener signing bonus of $4,000.
- 45:49Optbeat is mission control for your Python web applications.
- 45:54Keep an eye on errors, performance, profiling, and more for your Django and Flask web apps.
- 46:00You can find the links from today's show at talkpython.fm/episodes slash show slash 30.
- 46:05Be sure to subscribe to the show.
- 46:08Open your favorite podcatcher and search for Python.
- 46:10We should be right at the top.
- 46:11You can also find the iTunes and direct RSS feeds in the footer of the website.
- 46:15Our theme music is Developers, Developers, Developers by Corey Smith, who goes by Smix.
- 46:21You can hear his entire song on talkpython.fm.
- 46:24This is your host, Michael Kennedy.
- 46:27Thanks for listening, everyone.
- 46:28Smix, take us out of here.
- 46:30Staying with my voice.
- 46:32There's no norm that I can fill within.
- 46:34Haven't been sleeping.
- 46:35I've been using lots of rest.
- 46:37I'll pass the mic back to who rocked it best.
- 46:40I'll pass the mic back to who rocked it best.
- 46:51you
- 46:51.