Latest / Talk Python To Me / #198: Catching up with the Anaconda distribution
Transcript
- 0:00It's time to catch up with the Anaconda crew and see what's new in the Anaconda distribution.
- 0:04This edition of Python was created to solve some of the stickier problems around deployment,
- 0:08especially in the data science space. Their usage gives them deep insight into how Python is being
- 0:13used in the enterprise space as well. And that turns out to be a very interesting part of the
- 0:17conversation. Join me and Peter Wang, CTO at Anaconda Inc., on this episode of Talk Python
- 0:22to Me, number 198, recorded January 16th, 2019. Welcome to Talk Python To Me, a weekly podcast
- 0:42on Python, the language, the libraries, the ecosystem, and the personalities. This is your
- 0:47host, Michael Kennedy. Follow me on Twitter, where I'm @mkennedy. Keep up with the show
- 0:51and listen to past episodes at talkpython.fm, and follow the show on Twitter via at Talk Python.
- 0:56This episode is sponsored by Linode and Rollbar. Please check out what they're offering during
- 1:02their segments. It really helps support the show. Peter, welcome to Talk Python.
- 1:06Thank you very much. I'm very happy to be here.
- 1:07I'm happy to have you here. It's been a while since we've talked about Anaconda. I had Travis
- 1:12Oliphant on the show way back when, but it seems like it's time for a catch up on what you all
- 1:17have been up to. Yeah, well, there's been a lot going on. It's definitely, one of the employees
- 1:21that's commented that every six months, it feels like a different company. And we do,
- 1:25yeah, the space is evolving very quickly. We're trying to just keep up with it.
- 1:28So you would say this data science thing is not a fad. It's probably going to be around
- 1:31for a while?
- 1:31At this point, I think I'm going to go on a limb and say it's probably going to be around
- 1:34for a little while.
- 1:35Right on. All right, before we get into all that though, let's start with your story.
- 1:38How did you get into programming in Python?
- 1:40I actually got into programming when I was a young kid and I've been always programming.
- 1:44I've actually been programming for almost as long as I've been speaking English.
- 1:46I got a PC when I first came here to the United States, so I was very lucky.
- 1:50But I actually majored in physics and out of college, I started going to computer programming
- 1:56as a profession. And I did a bunch of C++, but I discovered this thing called Python on Slashdot.
- 2:03And I think they announced the version 152. And I was like, fine, I'll go take a look at it.
- 2:08And I started playing with it and I just fell in love. And so my day job was like getting beat
- 2:14up by C++ templates and out of compliance compilers. And at night, I just hack on Python.
- 2:19So finally, after a few years of this, I ended up moving to Austin. I got a job doing Python
- 2:23as my day job, which was awesome. In like 2004, I started at Enthought. And I did a lot of work
- 2:29in the scientific community and doing consulting with Python because I knew the science given my
- 2:33math and science background in physics. But I also knew the software principles and software
- 2:37engineering. So it was a really fantastic time. And that's basically the long and short of it.
- 2:40Yeah, that sounds like a great fit. You know, things just came together, right? You have this math and science
- 2:44background and you love Python. You found this job and it all just,
- 2:48like all of those things came together to really put you in the right place.
- 2:51They really did. I feel very, very blessed in that way. Now, it was a lot of hard work too,
- 2:55but I got very comfortable. And, you know, there's this great quote from Bruce Lee that you must never,
- 3:00like not, you must never get comfortable, but there will be plateaus and you can't stay there.
- 3:04And so I think towards the end of the 20, the aughts, the 2000s, around 2010, I was starting to see big
- 3:11data happening. And I started realizing that Python was getting used for business data analysis more
- 3:16than just science and engineering. And that our little cozy scipy community could actually be
- 3:20something much bigger. And so I started doing some exploration, exploratory work. I really wanted to
- 3:26do like D3 for Python. You had a few of the little things I wanted to scratch, some few other itches.
- 3:30And so I started Continuum with Travis in order to address some of the technical gaps that we had in
- 3:36the community and the technology stack. And then also to really push a narrative in the technology
- 3:41market that yes, Python is good for business use. Yes, it's production ready. Yes, you should use it.
- 3:47And it can handle big data just fine. And so we really started pushing that narrative in 2012,
- 3:53you know, created num focus, created py data, did all these things. And I think that the results have
- 3:57spoken for themselves. I definitely think they are that they have. That's great. In 2012, I do think
- 4:03there was a little bit more of a debate of, well, is it safe to use Python for our business critical
- 4:07stuff? But I feel like that battle has been really solidly won, especially on the data science front,
- 4:15right? There was debates about R, maybe R was the space to be. That's not really where it's at anymore,
- 4:20is it?
- 4:20No, there was definitely a period of language war sort of stuff going on early on. It's odd, like, you know,
- 4:25even then, the discussion about is data science a fad? Is it a fad term? Isn't it just business
- 4:31intelligence? Or is this just that big data hype cycle all over again? You know, there's a lot of
- 4:36doubters and haters on that term. But as I've talked to more users and managers and stuff,
- 4:42at businesses, it's clear that they're thinking about data analysis and data analytics in a very
- 4:47different way than they have for like decades. And data science is definitely, definitely here to stay
- 4:51because of that.
- 4:52Absolutely, absolutely. So maybe give people a sense of what you do day to day so they know where you're
- 4:57coming from.
- 4:58Well, my day to day consists of my former role as CTO. I run the community innovation and open source
- 5:05group here at Anaconda. I actually don't run the product engineering teams. And I work with
- 5:10everyone. But my general role is working with the community, helping the various community oriented
- 5:15and open source devs that we have champion their projects and work better with the broader community.
- 5:20I also do a lot of industry facing technical marketing and evangelism. So a lot of customers
- 5:25will have me go and speak at internal data science events they do, things like that. There's actually
- 5:29remarkably few people in the Python world that really speak to industry on behalf of Python itself,
- 5:34relative to the usage of it. I mean, you'll find no shortage of industry analysts talking about how
- 5:39great Java is, or how great these like big data projects are, you know, all these like PR type
- 5:44things. There's no one doing that for Python. And so that is actually some of my day job. And beyond
- 5:49that, it's just trying to keep up with all the things that are happening in data science, machine
- 5:53learning, data engineering, data visualization, AI, all of it.
- 5:58On top of the advocacy role, it's a pretty much full time learning thing, right? Because there's so
- 6:04much change, right?
- 6:05There's so much in every area. I mean, there's all the cloud stuff too. There's edge learning,
- 6:09there's data privacy, you name it. Every single area that touches data science is undergoing massive
- 6:13change right now.
- 6:14That's super exciting, but it's also a bit of a challenge. And I think the Anaconda distribution
- 6:18does help some with that. Before we get into the distribution story, though, let's just talk about
- 6:24Anaconda Inc. So when I had Travis on the show a couple years ago, it was Continuum that was the
- 6:32company and Anaconda was the distribution. But now those are not different anymore, right? It's just
- 6:37Anaconda, the company and the distribution.
- 6:40We renamed ourselves really out of pragmatism, because we would go to places and we'd introduce
- 6:47ourselves as Continuum Analytics. And they're like, oh, yes, you guys, like you got some Python stuff.
- 6:51We see that here. Like, who are you guys? And then we say, oh, well, we make Anaconda. And they're like, oh,
- 6:56I love Anaconda. I use Anaconda all the time and blah, blah, blah. And so we sort of like, after that started
- 7:01happening to us all the time, we sort of figured like, well, maybe we should just call ourselves Anaconda.
- 7:06And, you know, one of the things that held that up was for a long time, as we were growing the company and
- 7:12growing the distribution, we were afraid that changing the company name would actually spook the community.
- 7:18And it's a really, it's been one of these interesting things. Like I have, I have lots to say
- 7:22about open source. Let's just put it that way. But it's very hard to play the game of open source,
- 7:27honestly, and not still get beat up with FUD about it. And so even though we've open sourced our build
- 7:32tools, we've open sourced the recipes, we open source everything from the very beginning,
- 7:35there are still people in the community who distrust us because we're a company trying to make a
- 7:40sustainable, build sustainable funding for this open source effort. So it's a really,
- 7:45that was one of the reasons we actually were reticent to do that name change until finally
- 7:49just became a no brainer that we basically had to.
- 7:51Yeah. If people keep mistaking you for Anaconda Inc, maybe just say, fine, that is our name.
- 7:56Yeah. And we'll just deal with the haters, you know, on a one-off basis, I guess. I don't know.
- 8:00Yeah, exactly. I mean, it's not unprecedented, right? 37 Signals, who made Basecamp and,
- 8:06you know, sort of founded Ruby on Rails, they eventually renamed themselves just to Basecamp.
- 8:11They're like, yep, the one major project, fine, we're just called that, right? I guess it's like
- 8:15Microsoft reading themselves Windows, which they're probably very happy they didn't. But,
- 8:19you know, in a lot of senses, that makes sense. That's cool. Okay, so there's a broad spectrum
- 8:25of folks who listen to the show. Many of them will have experience with data science. Many of them
- 8:31will know what the Anaconda distribution is. But maybe just, you know, for the folks who are new or
- 8:36have been working somewhere else, tell them, what is this distribution? How is it different
- 8:40than the standard CPython? And why did you guys make it?
- 8:43I'll try to sum this up for a technical, but not data science necessarily audience, right? The basic
- 8:49gist of it is that Anaconda arose out of a failure in the Python ecosystem to address the packaging needs
- 8:56for the numerical and computationally like heavyweight packages that are in Python. And so for the same
- 9:03reason that Linux distributions exist, very few people build Linux from scratch. For actually
- 9:08exactly the same technical reasons, we built the Anaconda distribution, because it's actually really,
- 9:13really hard to correctly build all of the underlying components that you need for doing productive data
- 9:18science and machine learning. And so the reason it's distribution is because all of the libraries you
- 9:25build and the packages, the modules with extension modules that you load up, they need to be compiled
- 9:30together, they need to be compiled in a compatible way. And so you need to agree on compiler definitions,
- 9:35you need to agree on code generation targets, optimization levels, things like that. And if you
- 9:41only ever use pure Python packages, so packages whose code only consists of PY files, then you basically
- 9:49never run into a problem. It's only when you start having extension libraries, things that depend on maybe
- 9:54system libraries, God forbid you try to cross platforms between Linux and Mac and Windows across
- 9:59architectures between ARM and x86, you're completely hosed. And so we, in service to the scientific Python
- 10:06community, we built this distribution that was a set of packages and a way of building packages that are
- 10:11compatible with each other. So that's what the Anaconda distribution is. It's a bulk distribution with about a
- 10:16couple hundred pre made libraries. And we have a package updater in it called Conda that lets you
- 10:23then install thousands more that are built by us and built by a large open community that also uses the
- 10:29same standards. So that's what Conda and Anaconda are in a nutshell. And it's really one of these like
- 10:35packaging war kind of things or packaging, the confusion of Python packaging. We actually tried to approach
- 10:42Guido back in the day to help define some standards around this. And he basically gave us a very helpful
- 10:49guidance, which is maybe your packaging needs are so exotic, you need to build your own system. So we took
- 10:53him at his word and we did it. And consequently, when people use Conda, in a lot of cases, things just work.
- 10:59There's still like corner cases and a lot of like little rough spots, especially in terms of pip interop.
- 11:04But we're very proud of the work we've done so far. And it's used in production every day by big,
- 11:08big companies that people rely on Python for their production workloads. So that's basically Anaconda
- 11:13and Conda in a nutshell.
- 11:14Okay, well, that's a really good summary. Yeah, when I think of it, the main value is that you get
- 11:20pre compiled binary versions of the packages that would otherwise have to be compiled from source when you
- 11:27pip install them, right?
- 11:29Yes.
- 11:29And the other part is the cross package compatibility, because somebody makes one package, and they have an
- 11:38interest in making them as best they can or whatever, but they don't really care about integrating and testing
- 11:43against all the other open source projects that you may pull into your project that they don't even care or know about,
- 11:49right? So this sort of bigger picture compatibility that you look at is pretty cool as well.
- 11:55It's actually become quite critical. And I think this is one of the areas that the Python community,
- 11:58in the confounding haze of packaging, and half built packaging solutions, that we've not really
- 12:05been good at giving guidance to the user community about is that if all you ever need to do is build
- 12:10one package for yourself, and you fully control the deployment environment, and the development
- 12:14environment, then maybe you can go and do that, right? But if you actually have to work on a team
- 12:19with other people, like for example, on web developers, a lot of times, they control the
- 12:23server, they choose the packages they bring, and they write the code, and they can just push it out
- 12:28to their server. And they're good, right?
- 12:30Yeah, and they're good to go. And they can you can do any number of things that you want to, you know,
- 12:33what I would what I would liken it to is if you ever do, if you build your own wheel, if you build your
- 12:38own native extensions, it's like getting plastic powder or plastic pellets, and making your own mold
- 12:44mold of Legos or Lego like things and pouring your own little pieces. And so as long as you're the one
- 12:49that controls what they have to plug into, and you're the one that controls all the molds, then you
- 12:53don't need any standard definitions of studs or holes or lengths or anything like that, you're good to go.
- 12:58But if you ever want to work with other people who have their own molds and their own places and
- 13:03studs, they want to put these things on, you've got to come up with a standard definition. And so what
- 13:08Anaconda is essentially, it's like a Lego system, we've standardized what the studs are and what the
- 13:13holes are. So lots of people can build different kinds of Legos, and they all can plug together.
- 13:16And that's kind of the long and the short of it.
- 13:18Yeah, very interesting. So some other things that are in play there are you talked about Conda and
- 13:25installing the packages that you built, right, the couple hundred or whatever that come with the
- 13:29distribution. But then you also said installing the others through this thing called Conda Forge.
- 13:35What's Conda Forge?
- 13:35Well, Conda Forge is a community of people who I would say out of a masochistic charity to the
- 13:42community. They take on the job of maintaining build scripts and recipes that take upstream
- 13:48software and make it so it's actually buildable in a reproducible way and that it works with other
- 13:54things. So it's a community of package builders and they have several hundred contributors and
- 13:59they've built thousands of packages. We ourselves build about a thousand, although only 200 are built
- 14:04into the big Anaconda installer download. But the Conda Forge community goes even beyond that and
- 14:09builds several thousand. And that's what Conda Forge is.
- 14:11Yeah. Interesting. So people are like, you know, it's really painful to build this package,
- 14:16but only one of us should ever suffer and feel that once. And we'll do that on behalf of the
- 14:21community. I'll take that on for this one package.
- 14:23Yeah, basically. I mean, you know, the real challenge is it's one of those things in life
- 14:27where it's almost worse that it's easy to do a bad job. I don't know that we have a term for this
- 14:32in English. Maybe there's a long German word for it. But it's like the same thing with the coding
- 14:36principles of like, if something is broken, you want it to break loudly and fail loudly,
- 14:40right? You don't want it to make a half effort. Sometimes it kind of works sometimes. And so with,
- 14:45but building package is the same thing. Most people can kind of get a build working for most things,
- 14:51but does it work well? Will they ever be able to do it again? Like it doesn't work with anything else.
- 14:57None of those things, you know, it takes a lot of work to make a good package build. So,
- 15:01well, that speaks to the reproducibility side of things. And I know in data science and
- 15:06scientists using data science tools, that reproducibility is a super important aspect.
- 15:11And I guess the first step is I can run the software, which means I can build the packages
- 15:16and install them.
- 15:17Right. And that is really what we think that providing pre-built binaries and then having
- 15:22good provenance of the build system itself. That's really some of the only ways you can really
- 15:27honestly, like not kidding yourself, have reproducibility. I think some people think
- 15:32that Docker somehow saves them, but it really doesn't. So it's kind of a struggle right now,
- 15:38honestly, because there's so many moving pieces. There's a lot of confusion in that space, but I do.
- 15:42Yes, I do agree with you that Conda packages used properly can absolutely be a great way to ensure
- 15:47reproducibility for data science.
- 15:49Yeah. Well, it's probably better than saying, well, if you want to install this package,
- 15:54you're going to need to have the Visual Studio 2008 compiler set up correctly on your machine
- 15:59in 2025 or whatever, right? When it's no longer compatible with the Windows or who knows what,
- 16:05right?
- 16:05Yeah. We're going to have to, like, one of the reasons I think that our team,
- 16:08the Conda and Anaconda team are happy to move away from Python 2 is because the dependency on that
- 16:13compiler. Someday when we finally put Python 2 to rest, I'm probably going to try to eBay a bunch of,
- 16:19like, boxes of those CDs just so they can break them out of, you know, sort of like a cleansing
- 16:24bonfire or something. I don't know. Maybe you shouldn't burn CDs. That's bad, actually.
- 16:28Yeah, but you could have some sort of ceremony with them for sure.
- 16:32Yeah.
- 16:33I think the new Python 3.7, it uses MSBuild. Is that right?
- 16:38You know, I'm not sure on the details of that, but I think that there have been significant
- 16:42improvements. And, you know, the Python folks who work at Microsoft have worked really hard
- 16:49to improve the compiler situation there for Python. I think it's much better now with Python 3 and in
- 16:53the later releases of Windows. It's just we have, you know, very old Python, very old Windows that
- 16:59still are deployed that we have to keep those users going. So that's where almost all the pain is.
- 17:04I can imagine. Yeah, I just had Steve Dower from Microsoft on the show, and he's in charge of the
- 17:08installer and stuff there. And he's doing some really, really cool stuff to make it more accessible
- 17:12on Windows. And it's easy to go to conferences and forget how important Windows actually is,
- 17:19right? You look around, it looks like everyone has a Mac. There's a few people running Linux.
- 17:23That's pretty much what you see at the conferences, right? But that's not what the actual consumption
- 17:28out in the world is, is it?
- 17:30No, that's not at all reflective of the of even the United States. And then you go to the broader
- 17:35world. It's a lot of Windows. It's a lot of Windows, a lot of Linux, too. But yeah, I think this is one of
- 17:42the structural problems that faces the open source community is that when you're small, it's easy to do
- 17:47product management, because it's like you and your buddies. But once you get bigger, you have to actually
- 17:52intentionally go and try to pull in information from your users. And I think that's the Python, that's
- 17:57actually, I think, a structural challenge for the Python community at this point in time.
- 18:00When we're talking about Conda Forge and things like that, something I had not heard of before,
- 18:05but I saw that you're running is something called BioConda. Now, it sounds like it might have to do with
- 18:11biology and data science around biology, but that's all I can discern from it. Tell us about that.
- 18:16That's new to me.
- 18:17So BioConda is actually not one of our projects. And oh, I should have said this earlier with Conda Forge.
- 18:22BioConda, Conda Forge, and various other sort of groups, they use our Anaconda Cloud package hosting
- 18:29infrastructure to support their community. Because with the Conda package installer, it's easy to give
- 18:35it a namespace flag, basically a channel name, and then it will go and download packages only from that
- 18:40channel on Anaconda Cloud. So these represent, Conda Forge and BioConda represent different communities
- 18:46that are using the Conda packaging tool, but they may have set slightly different standards or included
- 18:50certain other standards in their build system protocols and standards. So all these packages
- 18:55work together. So yes, BioConda is for the biology, genomics sort of community.
- 19:00Yeah.
- 19:01They have very specialized, well, specialized is maybe a euphemism, but there's a lot of specialized
- 19:05software needs in the biology community. It's very R-centric. There's a lot of, depending on what
- 19:11you're doing in that domain, there's a lot of PERL sometimes.
- 19:13So...
- 19:14Yeah, interesting. We'll leave that there.
- 19:17Are there other ones? Is there like a ChemConda or things like that?
- 19:20No. So there's actually... Yeah. So I think Bio... I'm going to kick myself later,
- 19:24probably, as I forget some. But there are major research disciplines and communities that do use
- 19:29Conda quite a bit. So I think the astronomy research community has taken on Python and embraced Python
- 19:34a lot. They use Conda as a way to get nightly builds and dev builds and just really get easy
- 19:39deployments, right, of their complex software. One of the things that Conda does well,
- 19:43I should have said this earlier, it's not just a Python packaging tool. It's a sort of a userland
- 19:48software packaging tool. So we package up R, Perl, Python, C, C++, Fortran, Java, Scala,
- 19:54Ruby, Node, you name it. We really are almost like a portable userland RPM kind of thing.
- 20:01And so that allows for these communities that have a lot of scientific engineering code written in not
- 20:07Python, sometimes not even C or C++. We can package all those things up together, move
- 20:12these collections of packages around.
- 20:13Yeah, that's pretty interesting. That takes the challenge of packaging and sort of
- 20:18magnifies it extremely, right? Multiplies it combinatorially.
- 20:22Oh, yeah. Oh, yeah. It definitely gets pretty complex.
- 20:28This portion of Talk Python To Me is brought to you by Linode. Are you looking for hosting that's fast,
- 20:33simple, and incredibly affordable? Well, look past that bookstore and check out Linode at
- 20:38talkpython.fm/Linode. That's L-I-N-O-D-E. Plans start at just $5 a month for a dedicated server
- 20:45with a gig of RAM. They have 10 data centers across the globe. So no matter where you are or where your
- 20:50users are, there's a data center for you. Whether you want to run a Python web app, host a private Git server,
- 20:55or just a file server, you'll get native SSDs on all the machines, a newly upgraded 200 gigabit network,
- 21:0224-7 friendly support, even on holidays, and a seven-day money-back guarantee. Need a little help
- 21:07with your infrastructure? They even offer professional services to help you with architecture, migrations,
- 21:12and more. Do you want a dedicated server for free for the next four months? Just visit talkpython.fm
- 21:18slash Linode. So another thing that looks like it's doing really well is Anaconda Cloud. And so
- 21:26this is a place where like data scientists can share their work and their packages and things like that.
- 21:31Is that right? Yes. So right now, Anaconda Cloud is primarily, I think, used as a package hosting
- 21:35environment. And a lot of developers in the data science ecosystem use it as a way to publish
- 21:40nightlies or dev builds. Many of the projects, the key projects, they give us a heads up when they're
- 21:45about to cut a new release so that they can push, make sure that they can announce the Conda package
- 21:50at the same time they announce the release of the, you know, cutting new version of the software. So
- 21:54it's very nice of them. Yeah. So how's that work alongside as well as moving differently than just
- 22:00putting on PyPI? It gets pretty complex. So number one, there's channel support. So we basically have
- 22:07individual developers can have their own channel and those packages, you know, their users can just
- 22:11download packages from just that channel and not sort of a single global namespace, right?
- 22:17Another really important thing is that there's not just one build. So Conda as a packaging system
- 22:22has much deeper and richer metadata about the build environment and what it expects of the runtime
- 22:28environment. So I can build a package that the same upstream software, I can build different versions
- 22:33that are optimized for different levels of your hardware, like whether or not you have GPUs,
- 22:37whether or not you want, you have an advanced Intel chip or a relatively basic chip, I can push all of
- 22:42that stuff in. And maybe using this version of a compiler or that version of a compiler, like Clang
- 22:48versus GNU GCC, you know, these things actually make material difference in whether or not the package
- 22:53will work. That level of resolution and that ability to feature flag and select is not available on PyPI
- 22:59as far as I'm aware. And again, it's just, you know, even if one package is available, if you use
- 23:04pip to install PyPI, pip aggressively goes and tries to build other things from source, right? And if it
- 23:09doesn't, it sort of has a very, it doesn't do an a priori solve what you need, it sort of grabs things
- 23:14as they go. And so you can end up with very much the incorrect packages coming down, you can end up
- 23:19trying to build something from source that maybe build successfully. But again, that's not what you
- 23:22wanted. You want the pre build, right?
- 23:24Right, with different settings, different compiler. Okay, that's the primary difference.
- 23:27It is frustrating periodically that you can say, here's a bunch of things I need to install
- 23:32on pip, you know, pip install these things. And one of them will have a requirement that the version
- 23:38of one part is no larger than such and such. And yet it'll go grab, you know, depending on the order
- 23:44once you specify it, it may grab the wrong one, you know, and just install that. And then the other
- 23:50package is incompatible. Like there's weird little cases like that you can get into all the time,
- 23:55right? Because it's actually, this is one of those areas of software development that for most people,
- 24:00it's not a fun and sexy area to think about. But it's a deeply critical thing. When we rely on open
- 24:05source software is to actually understand what does the dependency matrix look like. And there's no free
- 24:10lunch, you know, if you do it in kind of this relatively naive way, like what pip does, then you
- 24:15can easily end up in a corner, and things are incompatible. If you try to do it, what we do,
- 24:19which is have very explicit and curated metadata about versions, and you do an a priori solve,
- 24:24well, people complain the solve takes a long time, which it can. So there's really no free lunch on
- 24:30that. I think one of the challenges that we actually have is that the metadata itself can be wrong. And
- 24:37we found that all over the place. So packages think they will declare they're compatible with this
- 24:42version or that version, and they're actually not. And so we have to actually patch what the upstream
- 24:46declarations are. So again, it gets subtle and detailed. There's just a lot of like muck in this
- 24:51area that we have to deal with. Yeah, it sounds a little bit like, these are the problems that you
- 24:56can address and then learn about. If your job is to coordinate a whole bunch of packages that don't
- 25:02interact intentionally with each other, right? They just want to make their project,
- 25:06something that you can ship and install and use. And that's fine, right? But at this,
- 25:12this interaction across them is where it gets tricky.
- 25:15There's absolutely a tragedy of the commons. Like with the way I've, the metaphor I've used in the
- 25:19past is that every developer, you know, open source maintainers, bless their hearts. They are way,
- 25:24they're doing a thankless job a lot of times anyway, and they're way burned out and stressed.
- 25:28But they're really solving for it. Does my vehicle work in my driveway? You know, can it get out of my
- 25:33driveway and drive into my other maintainers driveway down the street? And if that works, they're good to go
- 25:38a lot of times. And when everyone, one, every of the thousand developers in the ecosystem do this,
- 25:44you'll end up with a bunch of cars squashing all over each other in the, in the, in the highways and
- 25:49the freeways, because they're not thinking about that integration problem for their end users.
- 25:52And the end users, a lot of times in data science, they're not sophisticated software developers.
- 25:56They have no ability to solve this problem for themselves.
- 25:58They're at the very edge of struggling to write a 10 line script, not understand the complexity of like
- 26:05TensorFlow dependencies or something like that.
- 26:07Exactly. Exactly.
- 26:09So one thing that you all did recently, that seems to be a trend is you switch from the major minor
- 26:15versioning scheme to calendar based scheme. And I think this is an interesting thing, especially
- 26:20around open source, because we've had, you know, Mamuta Shemi created this site called Zerover,
- 26:26sort of make fun of all the projects that have been around for 10, 15 years with, you know,
- 26:3250 or a hundred releases, but are like 0.1 point 17, you know, some point, you know,
- 26:38like really small versions. And it seems like one of the fixes is to say, well, let's move towards
- 26:44something that has more to do with, I can look at the version and I can tell you without deeply
- 26:50knowing that software, whether that's a new version, an old version, a medium aged version,
- 26:55right? Like if I told you request was 2.1.4, is that new? Is that out of date? I don't know.
- 27:02Right. But if you use this, this new style, it's pretty obvious. Like, what was the thinking there?
- 27:07It's a community convention. It definitely makes it, it's for that user affordance that you can
- 27:11sort of look at it and know. And also, you know, we set this expectation that we will release at a
- 27:16regular cadence and it's for our own internal documentation and everything else. Everyone
- 27:19just is able to collaborate more easily around that. But I think the zero ver thing, I mean,
- 27:24I love Mamuta and I think it was a hilarious thing, you know, in a community here where we have
- 27:27SciPy and iPython or, you know, Jupyter and other things, pandas, you know, zero dot, whatever,
- 27:33or I guess it's not quite zero dot anymore, but like SciPy for sure. These things, there's actually
- 27:38something we can laugh at all we want to, but there's a thing there that the author is trying
- 27:43to say, or the maintainer is trying to say, which is, it's not quite ready yet.
- 27:46You know, I'll call it 1.0 when I'm good and ready and I'm not ready yet. It might not be for 20 years.
- 27:53And so, of course, that's also kind of a silly position to take with literally millions of people
- 27:57and their production code depend on your software.
- 27:59I think they're not saying that it's ready. I think what they're, they're thinking of to say
- 28:04when it goes to 1.0 a lot of times is it's done and software is rarely done.
- 28:10Well, software is done. The instance it's released, at least that version of it, right?
- 28:13I think this is where we as an industry actually have to get, we have to up-level our thinking
- 28:18about this. And we got to stop thinking about software as artifacts, hardballs of code that
- 28:25are static. And we actually have to start thinking about this from a flow perspective, that we are
- 28:30looking at flows of projects. And there's a covenant that is established in a relationship
- 28:36between the user of one of these flows and the people who originate those flows.
- 28:41And I think, you know, there's a really interesting thing I learned years ago about
- 28:45aerodynamics. And basically that when planes move less than the speed of sound, you can reason
- 28:52about aerodynamics somewhat similarly to water and water flow, right?
- 28:55But once you break the sound barrier, the thing that actually causes you the greatest amount
- 29:00of pressure on your airframe and things like that, you actually have to reason about the change
- 29:04in cross-sectional area of the airplane as it moves through the air.
- 29:08So it's almost more like streams of thick rope and you're shoving rope aside.
- 29:14So you move from this particle flow way to looking at actual flows.
- 29:19And so similarly with software, I think we've got to stop thinking about this as being just a code drop,
- 29:25right? And maintainers as people who go and dump out a bunch of code and actually look at a relationship
- 29:31with projects. And this gets to like sustainability. This gets to, you know,
- 29:35versioning and what's what, what is the promise in a version number, all of that stuff. It's actually
- 29:40deeply involved. I don't know that the software industry has really started to learn how to consume
- 29:46like the enterprise consumers of open source. I don't know that their internal practices have
- 29:50really caught up with thinking about it that way.
- 29:52Yeah. And that's kind of why I was bringing up the versioning a little more deeply because
- 29:56I think the folks that spend their time all day in open source, they know that Flask, even though it had
- 30:04some small version number recently moved to 1.0, but it had some small version number, but it's really
- 30:10used a lot and it's been around a lot. So it's fine. Right. But the corporate groups, the enterprise groups,
- 30:17they see that as a flag of like, that's test software. We're not ready to like make our bank
- 30:24run on test software. Is that the feeling that you got by interacting with, because you, you touch both
- 30:29open source and enterprise groups more than a lot of folks, I would suspect.
- 30:34Yes, absolutely. We, we are a B2B software company. That's where the bulk of our revenue comes from.
- 30:39And absolutely. We suffered, we suffered mildly for that. You know, we have to basically go and
- 30:44talk to procurement and compliance and it people that are swimming, you know, they're up to their
- 30:48ears in software. They look at a spreadsheet. We come in with our software, our enterprise software
- 30:53and say, well, you know, here's the open source things that are in the manifest. And they look at
- 30:57this thing and they're like, what is this? This is a pile of garbage. It's all zero dot, whatever.
- 31:01Right. And it's like, yeah, but that runs Instagram, you know, like that literally runs
- 31:05Dropbox. So like, what are you complaining? You don't really want to get into that.
- 31:09Once you have that argument with an IT guy, you've already lost.
- 31:11Right. You're, you're a small insurance company with a hundred thousand customers.
- 31:15You're not running, you know, YouTube with a million requests per second. That's using similar
- 31:21software, right? It's, but it's the mentality, right?
- 31:23Yeah. And you know, a lot of, a lot of going into any kind of, I would say that over the last,
- 31:29you know, five or six years, I've had to do a lot of adulting. And one of the parts of adulting
- 31:33up from just being a geek, like, you know, code nerd kind of guy to being able to actually have
- 31:38customer conversations is actually having quite a bit of empathy for the customer.
- 31:41Right. And from their perspective, yeah, they are just a regional bank with a few hundred
- 31:45thousand customers. They don't have the budget of alphabet to write to throw at a SRE team
- 31:51and a whole dev team and all that stuff. So their approaches to understanding risk and risk
- 31:55mitigation from the thousands of vendors that want to sell them software. Maybe it's the most
- 31:59practical, you know, I'm not, again, I'm not defending it, but I'm just saying one could come
- 32:03to a point of empathy, right? With their approach.
- 32:04That's a really good point. I do totally agree. It is exactly because they're small,
- 32:09they can't hire the fresh new hottest software engineers that would rather be in Silicon Valley
- 32:15or Austin or, you know, Portland or wherever, right? Like they just don't even have the ability
- 32:21to determine whether or not what you're saying is true in a lot of, a lot of cases, right? It's like,
- 32:26they just, you know, exactly.
- 32:28We just rather use Microsoft. We know that they give us this SLA and this agreement and
- 32:32we're just good, right? There's one way to make websites, use ASP.net. We're good. Just use,
- 32:37you know, something else supported like that, right? And it's, it's a challenge that they
- 32:41obviously want to use these new tools and powerful tools, especially in data science,
- 32:45right? But they've, they've got a different culture and way of describing software being ready.
- 32:50You know, and we can laugh all we want to about like these compliance guys, like beating us up
- 32:54for our, you know, scipy, o. whatever. But on the flip side, you know, how many of our,
- 33:00our credit card reports and our gas bills come from, yeah, basically some like little ASP app or some,
- 33:06you know, access database, God forbid with a bunch of VBA macros, right? That runs the world. So
- 33:10how elite are we really?
- 33:12That's an interesting point. Yeah. It's definitely worth thinking about. So in a broader sense though,
- 33:17I feel like Python is making its way into this enterprise and a major corporation space. I know
- 33:25it's increasingly being used for a lot of work, not just data science, but, you know, other types of
- 33:31software as well. How do you see it? How do you see the world with your inside view you got?
- 33:36Well, I think that's absolutely right. And I think that the Python community may not survive that
- 33:41adoption. Interesting. What do you mean by that?
- 33:43Not Python, the language, but the Python community. What I mean by that is that, you know, I've talked
- 33:48to quite a few like maintainers of some popular projects and they've all reflected to me that
- 33:53last couple of years as Python has gone, Python adoption just shot through the roof. I think some
- 33:58of it is our pushes on data science and things like that. Others are, you know, this rapid rise of
- 34:04deep learning. You know, many things have contributed to this, but ultimately Python is now one of the
- 34:09most popular languages on the planet. People are getting jobs in Python and they're using Python
- 34:14to do their jobs. And what we're seeing is this transition in the expectation of like, hey, man,
- 34:21this is just my nine to five. Like this is a tool that I'm supposed to use to do my job.
- 34:25And this tool sucks right now. So I'm going to get on your GitHub and I'm going to give you a bunch
- 34:28of grief about it because this is your freaking tool. You know, my, like my employer, I got to feed
- 34:34my family. My employer tells me how to use this tool. It's a piece of crap. And so that is,
- 34:39that's what I said. I think the Python community might not survive that adoption transition unless
- 34:44it intentionally really works hard to drive a positive, like to drive some values into the
- 34:52newcomers.
- 34:52So maybe that person that comes and complains because, well, I used to download my stuff from
- 34:58Microsoft.com. Now I get it from Python.org, but this thing sucks. So I'm going to go back and just
- 35:03complain about it as if, you know, there's a commercial entity on the other side whose job
- 35:08it is to make the SLA legit.
- 35:11Right. Right. But more likely, more likely, actually, they picked up, they inherited some
- 35:15piece of crap, three-year-old Python code from some guy who didn't know what he was doing.
- 35:19Written in Python 2.5 or something. Yeah.
- 35:21Oh, absolutely. It'll be, it'll be 2.5. I think there's a couple of 2.4 things running
- 35:25around that I'm aware of, but a lot of 2.5, there's a lot of 2.5 out there. And yeah,
- 35:30and it's using some old version of that plot lib or something or some old version of pandas. And
- 35:34they're going to complain, you know, on the tracker or on the, you know, on the issue tracker about that.
- 35:38And part of the cultural change that I think we should try to encourage sounds like, okay,
- 35:44you're doing this for your job. You need, it's not so great. We are the maintainers, but you have
- 35:50a company who depends upon this. Can your company contribute some time, a PR, some fit, like it's got
- 35:57to be a two-way street. I think it can't just be, well, you know, one of the things I suspect that
- 36:01you also feel at Anaconda Inc. is there are so many companies out there making millions and billions
- 36:10of dollars a year on top of free. There's like people working in their free time on some open
- 36:16source project that company is basically built upon and they make billions of dollars and contribute back
- 36:22nearly zero or zero.
- 36:24Yes. I've frequently equipped that I can fit probably the core NumPy pandas maintainers
- 36:31in my, no, no, my, okay. So we've gotten a few more now, so they don't all fit my minivan,
- 36:36but at one point in time, certainly core NumPy.
- 36:39You're going to need one of those longer, like full vans that holds 15 people.
- 36:43I may need a 15 person van, but I could, I could probably fit them in the 15 person van.
- 36:47You know, Matt Plotlib, which everybody relies on is like just a few people, maybe part-time. There's
- 36:54not like one whole FTE on it even.
- 36:55Yeah.
- 36:56There's projects like Jupyter that are very large, but also underfunded. And there's projects
- 37:00that are small and underfunded. And it's extreme. Yes. It's exceptionally tragic.
- 37:05Right.
- 37:06It's exceptionally tragic.
- 37:07Well, and do you know that I think the part of the tragedy to me is like, if it really took
- 37:11a thousand people to make Matt Plotlib, 600 people to make Flask, maybe the community can't contribute
- 37:18back enough to pay those thousand engineers full-time. But like you said, it's like a van full of people,
- 37:26or it's my small car full of people for Flask, right? And click and all those things. The people
- 37:33and the companies that use Flask make so much money and depends so heavily upon it that they could easily
- 37:39pay those three, four or five people to be full-time on that and be doing really well. Right. But they don't.
- 37:46Right. It's just, it's not even asking very much of them, which is what's crazy.
- 37:49I'm of two minds on this or not two minds, but I have like two major views on this.
- 37:53One of them is that we should look at this as the triumph of software. I mean,
- 37:58to sort of just to sort of restate the point you're making, which is that,
- 38:00holy crap, one or two or 10 people can build something that is fundamental to
- 38:09billions and billions of dollars of global economic activity. That's something to be celebrated,
- 38:15right? Because that should free up. Think of how many more thousands of software developers
- 38:19don't have to be working on Flask. They can just go and have free time. Not really,
- 38:23but you know, in theory, that's how.
- 38:24Build something more interesting than just the framework, right? They could build something with
- 38:28this result.
- 38:29So that's one way to look at it and that we should celebrate where we can. But on the other hand,
- 38:34the thing is like, if we can't even somehow come up with the funding for like 10 FTEs for these
- 38:39fundamental projects, what's broken? What's broken, right? Because it can't be, it's not,
- 38:44it can't be that hard. And so I think there's two ways to look at this. One is that the open source
- 38:50community as the, essentially the field of software, I think it's essentially commoditizing out and the
- 38:57labor, what open source represents. And this particular thing happening in the Python ecosystem
- 39:01is the very vanguard of this transition. It represents essentially the end of labor economics
- 39:07for software. And so that going away, we're at that transition. And so it's very hard to think about it
- 39:15for companies because companies will allocate budget for software development in a very like
- 39:21headcount oriented way, right? And they know what they're getting when they pay for an FTE dev here
- 39:26or there or wherever.
- 39:27Sure.
- 39:27If they just throw money at some open source, what are they getting for it? You know, they know how to,
- 39:31they know how to pay money for software. Companies are very good at paying money for software,
- 39:34but paying for stuff that they can already get for free. They literally, that is a null value on a
- 39:40spreadsheet. They cannot compute that. It is a NAN, right? So my view on this is actually quite simple,
- 39:46which is that if open source developers, the people like me who care about the open source ecosystem,
- 39:51if we want to sustain the community innovation and that positive abundance mentality that we have in the
- 39:59open source ecology, the human ecology of open source has moved to post scarcity, post labor economics.
- 40:05If we want to sustain that, then we need to actually drive a new conversation. We need to actually
- 40:10provide the tooling and the infrastructure for the companies to think about how to consume this.
- 40:17This portion of Talk Python To Me is brought to you by Rollbar. Got a question for you. Have you been
- 40:22outsourcing your bug discovery to your users? Have you been making them send you bug reports? You know,
- 40:27there's two problems with that. You can't discover all the bugs this way. And some users don't bother
- 40:32reporting bugs at all. They just leave sometimes forever. The best software teams practice proactive
- 40:38error monitoring. They detect all the errors in their production apps and services in real time and
- 40:43debug important errors in minutes or hours, sometimes before users even notice. Teams from companies like
- 40:49Twilio, Instacart and CircleCI use Rollbar to do this. With Rollbar, you get a real time feed of all the errors
- 40:56so you know exactly what's broken in production. And Rollbar automatically collects all the relevant data and
- 41:02metadata you need to debug the errors so you don't have to sift through logs. If you aren't using Rollbar yet,
- 41:07they have a special offer for you. And it's really awesome. Sign up and install Rollbar at
- 41:12talkpython.fm/Rollbar. And Rollbar will send you a $100 gift card to use at the Open Collective,
- 41:18where you can donate to any of the 900 plus projects listed under the Open Source Collective or to the
- 41:24Women Who Code organization. Get notified of errors in real time and make a difference in Open Source.
- 41:29Visit talkpython.fm/Rollbar today.
- 41:34What are some of the key elements?
- 41:35One way to do it is you can look at it almost like treat each new... Number one,
- 41:39it's something we have to work on ourselves, which is to not make money be a bad word,
- 41:44which is still a mindset that pervades many Open Source communities and developers.
- 41:48Any affiliation with any kind of money-managing,
- 41:52money-changing organization is seen as essentially...
- 41:55It's seen as corrupting sometimes. Yeah, yeah.
- 41:57It's corrupting, exactly. So, I mean, we literally had a SciPy mailing list,
- 42:02I think a couple of years ago, someone was arguing that we should only allow steering council members
- 42:07to be part of universities or part of academia, which they don't have their own agendas.
- 42:11And the other people were just like, are you kidding me? Academics don't have agendas anymore.
- 42:15So, people like to kid themselves a lot about this kind of stuff. But anyway,
- 42:19so I think that the Open Source community needs to, number one,
- 42:22not be allergic to money and treat it as a corrupting influence, right?
- 42:25There's companies and ways, business models that are trying to help Open Source and trying to be
- 42:33good participants in it. And then there are the corrupting, evil, taking advantage of type
- 42:37companies. So, like, it's not black and white, but there are certainly paths forward where
- 42:42companies like you guys and others are putting in lots of effort to try to make things better
- 42:49legitimately.
- 42:50Yeah. And I appreciate that you recognize that. Like, we really have really tried to be good
- 42:54citizens in the Open Source community. But I think companies, for a lot of companies, that
- 42:59it's like the mind is willing, but the spreadsheets are weak. You know, like, it's still really hard for
- 43:04people and proponents and advocates, even within those companies, to, at the end of the day,
- 43:08make the budgetary justifications. Because the companies internally don't know how to,
- 43:12they don't know how to reason about it.
- 43:14Yeah.
- 43:14You know? So, I think that's where the Open Source community can try to help. Like,
- 43:18number one, one thing we could do is do almost like a Kickstarter style or like, you know,
- 43:23I play Warcraft a little bit. And so, it's like world boss, like, takedown. So, before we can
- 43:28release any new versions of Library XYZ next year, we've got to get this much money in, right?
- 43:34Yeah.
- 43:34And people basically just, but they put the money in. But I think that's actually as fun as that
- 43:39would be in the Kickstarter model like that, as cool as that would be and as interesting as that
- 43:43would be, I think businesses have a hard time just writing checks for donations. So,
- 43:48the other thing that I think the Open Source community needs to do, I think the one that's
- 43:51more realistic, is to actually form entities that can have a business-to-business conversation
- 43:57with the corporate players and understand how to talk to their procurement, talk to their legal and
- 44:05everyone else, and basically act as a crossover facility to do the product management so the
- 44:10businesses know what they're getting for their money. It's not a charity. You know,
- 44:13some things that people may not be aware of is that for a business to write a $10,000 charity check,
- 44:18that comes out of a different part of the business a lot of times.
- 44:22Even if everyone wants to, for budgetary and for finance and compliance reasons,
- 44:27they literally cannot just write a check to some dude, you know, some Open Source hacker in the
- 44:32middle of Europe somewhere. So, these are the things that we need to actually put together.
- 44:36I think the allergic to money issue, I think that that can be solved with the right examples of Open Source
- 44:43companies and companies entering Open Source in positive ways. But I feel like there's some kind of
- 44:51structure or something that has to get between the corporations and the Open Source projects,
- 44:58where it's like you say, it's not a charity check. It's you pay into this and there's, you get a little
- 45:05bit more of something. And I don't know what that is, but there's something like that. Then the companies
- 45:10can justify it. They say, look, we depend upon this thing. We pay, you know, 0.01% of our revenue to the
- 45:18people that make it work so that our system doesn't go away. And here's what we get for that 0.01%. I don't know
- 45:22what that is. It's actually, we don't have to reinvent the wheel here. It happens all the time
- 45:26in every other industry. It's an industry consortium. It's an industry consortium. You pay into it. And
- 45:31what happens is you get votes on various technical councils and technical boards, and they do the
- 45:36product management and the dev management for what the thing should be. In the Python world, we want that
- 45:42to, in all cases for a lot of these projects, we want that to still be subordinate to the vision
- 45:48of the open innovation volunteer kind of crew. But there's so much housekeeping. There's so much
- 45:56issue tracking stuff. There's so much like documentation, management, cleanup, just keeping
- 46:01the lights on and the yak shaving. There's so much that goes into a project that these kinds of
- 46:06consortium models can fund. And I think Python itself, and I'll just come out on your podcast and I'll just
- 46:11say it. I think Python itself badly needs this. Yeah.
- 46:14Badly needs an actual consortium like this to be operated in a way that can accept dollars easily.
- 46:19That's easy for people to write checks, right? Like we all know this as entrepreneurs, like make
- 46:23yourself easy to do business with. The open source community, I would say, has not made itself easy
- 46:27to do business with. You got to either hire a core dev. And if you do, that core dev then has to,
- 46:32in their own minds, be like, am I wearing my community hat or my employee hat, which is tough on them,
- 46:37right? It's very stressful for them. And the open source community, even when we get the dollars,
- 46:41we don't make it clear to the people writing the checks what those dollars are buying for them.
- 46:45Like if they have a couple of issues that are easy to solve, that really can make a difference for
- 46:49them, we don't necessarily prioritize those issues just because they wrote us a check because we don't
- 46:53want to feel like we're that, you know, like it's that quid pro quo. So I think that you really need
- 46:58some kind of facility in the middle of that access consortium that is able to help businesses steer
- 47:02and guide a lot of these maintenance, pretty basic kinds of maintenance things that need to happen
- 47:07for projects that would make their lives easier. And that can then funnel a ton of money into a ton
- 47:13of margin on that goes into the innovation work and all the forward looking kind of stuff.
- 47:16And everyone's happy.
- 47:18Yeah. Do you think the PSF could do it?
- 47:19I think the PSF could do it. I think that the PSF would be, I don't know if it operates as a
- 47:24nonprofit.
- 47:25It does. Yeah.
- 47:26Yeah. So if it's a nonprofit, I think it'd be very hard for it to do it. It might need to actually
- 47:31create like sort of Mozilla Foundation, Mozilla Corporation. I think it would need to create
- 47:35some kind of a traditional C corporate or a B Corp, perhaps like a social mission for profit that it
- 47:42owns like director seats on and, you know, the chunk of the things. But companies, a lot of times are
- 47:47just prohibited from writing checks to 501c3s unless it comes out of their philanthropy group.
- 47:52So again, this is that making it easy to do business with kind of thing.
- 47:55Yeah. Interesting.
- 47:56Absolutely. I think the PSF should spin up a thing like that. And I've been sort of
- 48:00quietly advocating for this behind the scenes a little bit. And maybe I'll be more vocal about
- 48:04that here this year.
- 48:05All right. Well, we can spread a little word on the podcast as we just have.
- 48:08It's really interesting. And I think there's absolutely lots of possibilities for business
- 48:15models in open source. But I feel like there's actually a 98% gap, like 2% of that is captured.
- 48:2698% of it is not because we have these large, but still not huge, like banks in the Midwest that
- 48:33contribute nothing. They do no PRs. They don't do anything to that effect, right? They just,
- 48:38it's just not in their culture. And like you said, there's no real mechanism for them to
- 48:43pay a little and get more and justify that.
- 48:45Yes. Yes. And actually some of the open source business models that are emerging now,
- 48:49they present challenges of their own. Again, my overriding thesis is that the world of software
- 48:54is actually commoditizing pretty quickly. And so people, like if you look at the things that have
- 49:01been happening in the last six months, as I would say open source software component vendors,
- 49:07like Mongo and Redis and Timescale and others, as they start getting their business eaten by the cloud
- 49:13vendors, they're realizing that open source, you know, sounded great. Open core sounded great.
- 49:18And then they start losing any future route to revenue. And they've got to actually aggressively
- 49:23go to like dual licensing and like deep viral HEPL three kind of stuff. I don't know that open source
- 49:29is even the right conversation to have anymore. I think it should be around sustainable community
- 49:35innovation and the freedom to experiment, freedom to innovate, freedom to, you know, there's a lot of
- 49:40like free as in beer and free as in innovation. But like, the traditional ways we have about talking about the
- 49:47source code itself, again, is limited in this paradigm of like code drops. And we're beyond that now.
- 49:53Yeah. And you know, you look at the cloud, for example, a lot of these places that they provide you something,
- 49:58and you pay on usage, right? You don't buy any software in the cloud, but you have the subscription
- 50:06model all over the place, right? And that's, that's starting to really shift the way things are working
- 50:11as well. And I feel like the cloud vendors actually have this interesting lock in where they're a little
- 50:16bit defended against some of these challenges that are coming up.
- 50:20Well, absolutely. There's only like three major cloud vendors of significance in here in the US,
- 50:25at least. And all of them are absolutely going for lock in. And they're, you know, ultimately,
- 50:32their business model. It's not necessarily I mean, it's a for profit business model, put it that way,
- 50:36right? Yeah, the cloud is the new lock in with a lot of those API's. It's interesting. And like this
- 50:40MongoDB AWS thing you talked about, like, that's a little bit of it as well, right? But it's pretty
- 50:45interesting. Yeah, I think we could probably talk for hours and hours on this, because we're both
- 50:50pretty passionate about it. It's awesome. But let me ask you a few more questions before we run out of
- 50:55time. Sure. These are all sort of forward looking type things. And one of them is data science from
- 51:00you called out the year 2012 to me that if you look at the analytics and the graphs and the usage,
- 51:05like there's a huge increase in the derivative of a lot of things around Python at 2012, up till now.
- 51:13So five years further out, what do you think data science looks like? Is it still deeply working
- 51:20with Python? Is it solving different problems? Where is it going?
- 51:23We're going to see data science much more integrated. People have a better sense of what it
- 51:30can and can't do by itself rather, right? It's a new discipline that's coming into the business. It's a
- 51:36new swim lane. Everyone's trying to figure out how they stand in relation to it. There's a lot of
- 51:40political, you know, fighting and a lot of experimentation within a lot of businesses that I see. But at the end of
- 51:44the day, I think this idea of doing data exploration, doing model development, and revving models that are
- 51:52really critical to the business is the new reality for people. So that's not going away. That's a
- 51:57fundamental dynamic that's going to be here. And if you need to go and explore data, you need to go and
- 52:01do model development, then you're going to be doing data science full stop, right? There's no,
- 52:06like, if you need to basically bring in domain expertise, stats, and coding ability to do that
- 52:12well, then you're going to need data scientists intersect. You need all three of those skills,
- 52:16you need all three of those. But data scientists are going to find themselves needing to have a much
- 52:21better, I think the borders between data, the data science world and the others will clarify better.
- 52:26So you'll have data scientists interacting with data engineers, and much better, hopefully much better
- 52:31established best practices around how that's supposed to go. And then IT people start accepting that,
- 52:36yes, Python is here to stay, we're going to need to deploy real Python stuff. And we need to know a
- 52:40little more something about it, right? And so a lot of these little intersectional areas right now
- 52:45between data science and other concerns, same thing with BI, people right now, there's literally people
- 52:49out there selling point and click visualization tools saying that's data science. And it's like,
- 52:53that's not really data science. But they're going to figure that out probably in the next couple
- 52:58of years. Hopefully, they get the clue. Yeah, I think that's what I think is going to happen.
- 53:02Now, the result of that happening is a gigantic, I think that that clue is going to really start
- 53:06hitting home in two years or so. Then the immediate next problem that people have is overall workflow
- 53:13management across all of these things. Because everyone's got their favorite tools. Everyone is
- 53:18producing things that touch and intersect with everyone else's stuff. How do we get all of this
- 53:23stuff managed in one place? And I think that's the challenge doesn't be fit, we're gonna be square in
- 53:28the middle of that conversation still. And five years from now, assuming that the Chinese economy
- 53:50assuming that the Chinese economy hasn't collapsed, we are going to see some really scary stuff coming
- 53:56out of Chinese and the AI innovation happening there. Because they have been, they're completely
- 54:01unapologetic about using their entire national population of a billion people as a sandbox for
- 54:07trying AI surveillance, sort of cybernetic, the computer controls you kind of things.
- 54:12Yeah, the whole social ranking, and all that stuff that's...
- 54:16So here's the terrifying thing about that. I'm going to be a little bit of a contrarian on this.
- 54:20What if it turns out that their sesame credit system, Rev2, no, Rev1 is scary and crappy.
- 54:24Rev2, what if it turns out that they give social sesame credits for their businesses and local
- 54:29politicians? Yeah.
- 54:30What if they actually start upgrading social sesame credits to being this kind of thing where
- 54:34it becomes almost like a, again, back to Warcraft, but like a Warcraft honor reputation system,
- 54:38right? And becomes multicolored, it becomes vectorized instead of scalar. They might actually
- 54:44innovate a scary, awesome approach that has deep problems because it requires a surveillance state.
- 54:50And the Western world might look at that and say, huh, you know, that actually works a lot better
- 54:54than, you know, Ivanka Trump, you know, running our fast food joints.
- 54:58Yeah.
- 54:58Sorry, the White House. So that dates this podcast, by the way. For those who are listening months in
- 55:03the future, in case you forgot, just two days ago, the President of the United States served Big
- 55:07Macs at the White House. That just, that happened. So this is still fresh in our minds.
- 55:12To Clemson, who won the national college football championship. Yeah.
- 55:16Yes. It's incredible. Anyway. So the point is that the scary thing about the Chinese AI system
- 55:21is that it might work and work really, really well.
- 55:23Yeah. Not that it's just pure wrong, but actually there's aspects of it that are amazing
- 55:28in its sort of black mirror, electric dreams way.
- 55:32Oh yeah. Tell you what, it's going to be pretty amazing. I think the same way that like a lot of the
- 55:36Western world is like, oh, well, we already saw where this goes in Orwell, so we're not going to
- 55:41go there. Western world has that kind of snottiness about it. I think they're underestimating how good
- 55:46it could be and how tempting that goodness can look to technologists, to the capitalists, and to the
- 55:53policymakers here. That's really for me as a, as someone fled the communist regime, you know, as a
- 55:58child, like that's the scary thing about it.
- 56:00That is really an interesting analysis. And certainly I was thinking ethics, data ethics,
- 56:05and accountability for data models and AI and ML, right? Like, sorry, you couldn't get the house.
- 56:12The AI said no, right? Like, no, no, no. You have to say why the AI said no. Well, we don't know,
- 56:17but it's really good. And it said no, you know, like answering that problem is going to be interesting
- 56:22too.
- 56:22It is. And you know, the thing is that already now you get denied, right? And there's already a model
- 56:28that tells you why you're denied. And the AI can, this kind of gets back to that same thing with the
- 56:33whole black mirror thing and the AI in China, like really, really good AI. It doesn't look like that
- 56:37AI, you know? So the really, really good systems, quote unquote, good, the really effective systems
- 56:43at partitioning people and spot targeting them, they're going to be dressed up in ways that are
- 56:48palatable. Our robot overlords will look like Cylons. They're going to look really human-like.
- 56:52This is the scary future, man. I'm not trying to like scare you and scare your listeners.
- 56:56I'm just telling you though, like, this is what's coming. And as humans, I'm actually a human. I'm
- 57:01not a Cylon as humans, as, you know, tribe human, I think we've got to get better at being human.
- 57:06And so that's maybe too philosophical hand wavy, but anyway.
- 57:10Yeah. It's really an interesting thing to ponder for sure. All right. So I guess final comment or topic
- 57:17just real quickly is I feel like there's been this Python 2, 3 debate, modern Python versus legacy Python,
- 57:25as I like to position it. And I feel like the adoption of modern Python in data science is much faster
- 57:33than it has been in the general Python space. One, do you think that's true? And then two, why do you think that is?
- 57:41One, I think it's true. And two, I think it's because a lot of data science stuff is new and
- 57:45legacy data science code tends to age with models. So like a piece of data science code is only as good
- 57:52as the model data that it was trained on and models change because the world changes. So there's a built
- 57:59in expiration date on any data science model that you've got. So you're not keeping transaction systems
- 58:04from 20 years ago live.
- 58:06The complexity and the algorithms and the techniques are just not even relevant, right? Like the machine
- 58:11learning of five years ago doesn't compete with the machine learning of today. And it's not like
- 58:15you're just going to upgrade. It's a totally different thing. You just retrain it on TensorFlow
- 58:20or Keras or whatever, right?
- 58:21Right. And secondly, this is another sort of important dynamic, which is that the regulatory environment
- 58:27around data science hasn't caught up. So it doesn't require you, you know, I was talking to an engineer
- 58:32from a software modeling engineer from an airplane company. And he was saying, yeah, the FAA requires
- 58:39us to be able to reproduce our computational design models for like decades, for decades.
- 58:45Yeah. Wow.
- 58:46So, I mean, yeah, because planes actually, if they're well maintained, they fly for a long time,
- 58:50right? And if there's a structural failure of a part...
- 58:53Right. There's a lot of 737s out there. Yeah.
- 58:55Oh, yeah. And so data science just doesn't have that problem yet. And, you know, one of the earliest
- 58:59adopters of Python, this is a really interesting dynamic that people may not be aware of, but
- 59:03in the mid 2000s, there was a significant uptake of Python in the hedge fund and the finance industry.
- 59:10And so that was Python 2, Python 2, 5, 2, 6 around the time. And so that got into a lot of places.
- 59:18And finance is actually a pretty regulated area. And so a lot of that code, especially if it starts
- 59:23running production finance systems, people need to keep it running, not only because they're...
- 59:27Even if you stop using a particular finance model to like score or to do whatever, to price a trade
- 59:33and things like that, oftentimes you'll want to go back and do what's called backtesting.
- 59:37So you want to run new data against those old models, and you'll want to race them against the
- 59:43new models, right? You'll want to run new models on old data and new data on old models. And so that
- 59:48kind of backtesting approach, you need to keep that old code running for that purpose as well,
- 59:52just from a risk management perspective. So a lot of the finance industries like running
- 59:56ahead and adopting Python 2 has sort of gotten them stuck on Python 2 a little bit.
- 1:00:01Okay. Interesting. Yeah. So almost a victim of its own success in a way, but in some of these
- 1:00:09industries. All right. I guess we're going to have to leave it there because we're out of time. But
- 1:00:13like I said, a lot of interesting stuff to talk about. I have to just put it at rest. So before we move on,
- 1:00:19though, I'm going to ask you the two questions, always ask it in the show. If you're going to
- 1:00:23write some Python code, what editor would you use?
- 1:00:25My old go-to is still Vim. But for large code bases, I tend to use PyCharm so I can, you know,
- 1:00:30sort of navigate more easily.
- 1:00:31Yeah, sure. Makes sense. And then there's many, many packages on PyPI or available on CondoForge.
- 1:00:39What do you think one that people maybe haven't heard of, but they should, or you want to recommend?
- 1:00:43Is it bad form to pimp? Is it like to pimp your own stuff?
- 1:00:46No, you do it. No, no, go ahead.
- 1:00:48So I'm really, really excited about a new project that we created called Intake,
- 1:00:53which I would encourage people to take a look at it. It's pretty new. We just launched it last year.
- 1:00:58Yeah, it looks interesting. I was going to ask you more about it, but we just
- 1:01:00have too many topics already. So tell us about it real quick.
- 1:01:03So Intake is a data loading abstraction library. So it's basically just load my data,
- 1:01:09and it abstracts your data loading stuff into a declarative syntax so that the beginning of your
- 1:01:14data science scripts doesn't have a whole bunch of like embedded and brittle SQL calls or pandas
- 1:01:19column transformations or things like that. Intake is a way to make it so that your actual
- 1:01:23data science or data transformation code is sort of its own code artifact and your data bits are your
- 1:01:29data bits. It's kind of a nerdy thing, but we think that it actually addresses that data,
- 1:01:34that model reproducibility and code reproducibility problem that data scientists face.
- 1:01:38Sounds really useful. Thanks. All right. So final call to action. People are excited about
- 1:01:42the Anaconda distribution or maybe getting, making some progress on this open source business model
- 1:01:48thing we talked about. What would you say to people?
- 1:01:50So I would say that we have AnacondaCon coming up. So if you're actually using Python
- 1:01:55in a commercial environment, strongly recommend AnacondaCon. We have a, we try to make a really good
- 1:02:01blend of technology and practitioner kind of stuff and workshops there combined with
- 1:02:07business perspectives. So it's not like an industry conference like Gartner or Strata.
- 1:02:12It's not like a pure one of those things. It's also not a pure like tech community conference,
- 1:02:16like Pi data or something like that. So it's, we try to make a mix of those things.
- 1:02:19We've gotten really good reviews in the past couple of years. It's our third year doing it.
- 1:02:23I'm super excited about it. It's here in Austin in April, April 3rd to 5th.
- 1:02:26So that's AnacondaCon.io. And secondly, people are using Anaconda to like it and they're using it in a
- 1:02:32business environment. I would recommend they check out Anaconda Enterprise. We are very,
- 1:02:36very proud of the product and we have a lot of problems that we solve for people inside business
- 1:02:40environments and the business use of Python for deployment, package management.
- 1:02:44Yeah. Real quickly, like what, what's the, what do you get from, right? You know,
- 1:02:47I talked about the business model should be, you get a little bit more for your money,
- 1:02:50not just pure charity, you know, here's a PayPal donate button. What do people get real quick?
- 1:02:57So Anaconda Enterprise is, it gives you the ability to have your own managed package repository.
- 1:03:02It gives you a way to do secured and governed collaborative notebooks and model deployment.
- 1:03:07It works in the cloud. It works on prem. Many of our customers use it across an air gap and very
- 1:03:12strictly governed environments. We basically make it so that data scientists and Python practitioners
- 1:03:18in business can be as effective with Anaconda as they are at home nights and weekends on their
- 1:03:22own laptops. All right. Yeah. That sounds cool. We just clear all the IT hurdles. Yeah,
- 1:03:25that's sweet. All right. Well, thanks for all that you've talked about here, Peter. It's been a
- 1:03:30super interesting conversation. Thanks for being on the show. Thank you so much for having me. I
- 1:03:33really enjoyed it. You bet. Bye. Bye-bye. This has been another episode of Talk Python To Me.
- 1:03:38Our guest on this episode was Peter Wang. It's been brought to you by Linode and Rollbar.
- 1:03:43Linode is your go-to hosting for whatever you're building with Python. Get four months free at
- 1:03:49talkpython.fm/Linode. That's L-I-N-O-D-E. Rollbar takes the pain out of errors. They give you the
- 1:03:57context insight you need to quickly locate and fix errors that might have gone unnoticed until users
- 1:04:02complain, of course. Track a ridiculous number of errors for free as Talk Python To Me listeners at
- 1:04:07talkpython.fm/Rollbar. Want to level up your Python? If you're just getting started, try my Python
- 1:04:14Jumpstart by Building 10 Apps course. Or if you're looking for something more advanced, check out our new
- 1:04:20async course that digs into all the different types of async programming you can do in Python.
- 1:04:25And of course, if you're interested in more than one of these, be sure to check out our everything
- 1:04:29bundle. It's like a subscription that never expires. Be sure to subscribe to the show. Open your favorite
- 1:04:34podcatcher and search for Python. We should be right at the top. You can also find the iTunes feed
- 1:04:39at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on
- 1:04:45talkpython.fm. This is your host, Michael Kennedy. Thanks so much for listening. I really appreciate it.
- 1:04:51Now get out there and write some Python code.
- 1:04:53Bye.
- 1:04:53Bye.
- 1:04:54Bye.
- 1:04:54Bye.
- 1:04:54Bye.
- 1:04:54Bye.
- 1:04:54Bye bye.