Latest / Talk Python To Me / #285: Dask as a Platform Service with Coiled
Transcript
- 0:00If you're into data science, you've probably heard about Dask.
- 0:02It's a package that feels like familiar APIs such as NumPy, Pandas, and scikit-learn.
- 0:07Yet it can scale that computation across CPU cores on your local machine
- 0:12all the way to distributed grid-based computing in large clusters.
- 0:16While powerful, this takes some setup to execute in its full glory.
- 0:21That's why Matthew Rocklin has teamed up with Hugo Bowne-Anderson
- 0:24and others to launch a business to help Python-loving data scientists
- 0:28run Dask workloads in the cloud.
- 0:30And they're here to tell us all about how they've built this open-source foundational business.
- 0:35And you know what? They must be on to something.
- 0:38Between recording and releasing this episode,
- 0:40they just raised $5 million in VC funding.
- 0:44This is Talk Python To Me, episode 285, recorded August 12, 2020.
- 0:57Welcome to Talk Python To Me, a weekly podcast on Python,
- 1:06the language, the libraries, the ecosystem, and the personalities.
- 1:09This is your host, Michael Kennedy.
- 1:11Follow me on Twitter where I'm @mkennedy.
- 1:13Keep up with the show and listen to past episodes at talkpython.fm.
- 1:17And follow the show on Twitter via at Talk Python.
- 1:20This episode is brought to you by Brilliant.org and Monday.com.
- 1:23Please check out what they're offering during their segments.
- 1:25It really helps support the show.
- 1:27Talk Python To Me is partially supported by our training courses.
- 1:30Do you want to learn Python, but you can't bear to subscribe to yet another service?
- 1:35At Talk Python Training, we hate subscriptions too.
- 1:38That's why our course bundle gives you full access to the entire library of courses
- 1:42for one fair price.
- 1:44That's right.
- 1:45With the course bundle, you save 70% off the full price of our courses,
- 1:49and you own them all forever.
- 1:51That includes courses published at the time of the purchase,
- 1:54as well as courses released within about a year of the bundle.
- 1:57So stop subscribing and start learning at talkpython.fm/everything.
- 2:04Matthew, Hugo, welcome back to Talk Python To Me.
- 2:06Hi, Michael.
- 2:07Hey, Michael.
- 2:08Thanks for having us again after a couple of years.
- 2:10Yeah, it's fabulous to have you both back.
- 2:12You all were guests previously.
- 2:14Hugo, you were on a really popular episode 139,
- 2:17Paths into a Data Science Career,
- 2:20which I think is great helping people do that.
- 2:22And Matthew, you were 207, Paralyzing Computation with Dask.
- 2:27Oh, I think you'll beat me.
- 2:28You beat me on the show, Hugo.
- 2:30It's not a competition.
- 2:31But if it was, you're right.
- 2:33You would have won.
- 2:33Yes, that's right.
- 2:34But I think this talk is going to be a really interesting extension
- 2:39of the one that you were on, Matthew,
- 2:41where we talked about the technical stuff of Dask and the computation.
- 2:45And now, you know, it's really grown a lot.
- 2:47That was February 2019.
- 2:49That was a time in the world when you could go places.
- 2:51Like you could just go out and you could go to a place where they made food
- 2:55and you could physically touch another person
- 2:57and then just take it and you wouldn't worry about it.
- 2:59It was amazing.
- 2:59That's right.
- 3:00Yeah.
- 3:00The actual remote experience of developing software
- 3:02hasn't changed a ton.
- 3:03I think actually people in our space have more or less the same workflow.
- 3:07We just, you know, don't see each other at conferences any longer.
- 3:10Yeah.
- 3:11Yeah.
- 3:11If we were accused of being antisocial as developers, well, we've taken it up a notch
- 3:15or everyone's just come.
- 3:16Other people have come to join us in this weird world.
- 3:19But yeah, actually, I think software is pretty social as, you know, even though it gets categorized,
- 3:25not so much that way.
- 3:26So it's great to have you both back.
- 3:28I'm looking forward to talking about Dask, but especially Coiled and this new company you
- 3:32are starting and this new platform you're starting sort of based on taking that to the next level.
- 3:37So it's going to be a really fun conversation.
- 3:39Yeah.
- 3:39I'm looking forward to it.
- 3:40As am I.
- 3:40Yeah, absolutely.
- 3:41Yeah.
- 3:41Now, before we get into it, though, you both were on before and I asked how you got into
- 3:45programming and how you got into Python.
- 3:47So I might have a really, you know, maybe keep it short since there's two of you and
- 3:51we did cover some of the stuff a little before, but let's try a different question.
- 3:54How did you get into data science?
- 3:55You go, you want to go first?
- 3:57Sure.
- 3:57I was working in applied math in cell biology and biophysics.
- 4:01And my job was ostensibly to do a bunch of mathematical modeling.
- 4:05But all my collaborators were generating loads of data that I needed to figure out how to
- 4:11analyze to collaborate with them and even, you know, play a big role in the iterative design
- 4:16of experiments and all of this type of stuff.
- 4:18This was 2011, 2012.
- 4:20Excel didn't seem like a great answer.
- 4:22That's where I started.
- 4:23And then I went to R and then I went to Python and kind of learned them concurrently because
- 4:28I was working with biologists.
- 4:29R was quite popular, but the IPython notebook was becoming more and more popular.
- 4:34It was a great resource for teaching oneself and teaching others.
- 4:38So I jumped in then and worked in research, worked in education a lot, and then moved to
- 4:43industry, to tech, and started working in ed tech to educate people around all of these
- 4:49tools as well.
- 4:49Yeah.
- 4:49Excellent.
- 4:50Matthew, how about yourself?
- 4:51I think for me, that probably the culmination point or the inflection point was just after
- 4:55I graduated from university.
- 4:57I graduated with like a physics and astronomy degree.
- 4:59And I was looking at job applications.
- 5:01I didn't like any of the jobs that I was qualified for.
- 5:04But the jobs that I loved.
- 5:05I had the same feeling when I studied math.
- 5:08I'm like, I love this stuff, but what am I going to do with this?
- 5:11And none of this looks that great to me.
- 5:12But I didn't know how to code.
- 5:13I had been coding since I was like a kid on an old TI calculator.
- 5:16And all of the programming mixed with science jobs, those were fascinating.
- 5:21So I actually went into graduate school for computer science, scientific computing, and that
- 5:24was a really good fit for me.
- 5:27I love that I got to touch all sorts of different domains.
- 5:29But that was probably the inflection point is looking at job applications after having
- 5:33already graduated college and realizing, ah, I think I made a mistake.
- 5:35Maybe I should have turned left earlier.
- 5:37That's really interesting because a lot of people, they look around and they see folks
- 5:41who have successfully created these amazing open source libraries and projects, initiatives,
- 5:46you know, like Dask.
- 5:48And they're like, the people who get to do that, they've been programming since they were
- 5:51five and they got a computer science degree and they just knew they wanted to do that.
- 5:55And I think that's not actually as true as often people think it is.
- 5:59Right.
- 5:59I think none of us got computer science degrees.
- 6:01Is that fair?
- 6:02Yeah, I didn't.
- 6:03I got a computer science book after I decided I didn't want to work in math anymore and started
- 6:08like, you know, C++ book and started going on that.
- 6:10That's not the same as a degree though.
- 6:12Good plan.
- 6:12I feel like there's an analog in the data science world as well with respect to, you know,
- 6:16all these boot camps that happen now and now masters in data science at prestigious
- 6:19universities and relatively few people I know at least have taken the university track.
- 6:25I think boot camp to junior data scientist positions far more prevalent.
- 6:29But for more on that, you can check out the previous episode that I recorded with Michael.
- 6:33Yes, exactly.
- 6:35We've got a whole show on that one.
- 6:37So, all right.
- 6:38Now, the last time we spoke, Hugo, you were at data camp doing stuff with teaching people
- 6:44online Python stuff.
- 6:46That was awesome.
- 6:46And Matthew, yeah, yeah, cool.
- 6:49And Matthew, you were just moving to do a little bit of collaborative stuff with NVIDIA, but
- 6:54now you both have, you know, teamed up, joined forces to do something else, right?
- 6:58What are you doing nowadays?
- 6:59So, we're building a company called Coiled, essentially to productize for the enterprise
- 7:06a lot of features of the PyData ecosystem and Dask in particular.
- 7:09So, the V1 of our product, we're just about to launch.
- 7:12So, it's mid-August 2020, we're about to launch, is managing Dask and distributed compute
- 7:16in the cloud for you and handling security, conda doc environments, team management, this
- 7:21type of stuff.
- 7:22And that doesn't really say what we do on a day-to-day basis.
- 7:24I think I could list what we don't do on a day-to-day basis more quickly than what we do.
- 7:29Yeah, sure.
- 7:30But having, you know, incorporated the company in February, it's kind of waking up every day
- 7:35and seeing what the most impactful stuff we can do actually is.
- 7:38And that's really exciting.
- 7:39And it's a great, I'm really excited to work with Matt and the whole Coiled team.
- 7:43Matthew, how about you?
- 7:43What do you do day to day?
- 7:44You've joined up with Hugo on Coiled.
- 7:46Yeah.
- 7:47So, day-to-day, you know, I still help maintain Dask.
- 7:49So, there's a ton of GitHub conversations, you know, Discord, Stack Overflow.
- 7:53But now, we're also making a company.
- 7:54So, we're, you know, figuring out sales.
- 7:56We're figuring out legal.
- 7:57There's a ton of sort of nuts and bolts of running a company.
- 8:00That is quite difficult.
- 8:01As Hugo was saying, listening to what you can do is different from what you can't.
- 8:05Yeah, exactly.
- 8:07So, you went to school for physics and astronomy, and then you got a master's degree in computer science, and then you did some really interesting data science around Dask.
- 8:16I bet none of that taught you about marketing funnels or accounting or taxation law or any of that fun stuff, right?
- 8:24You'd actually be surprised.
- 8:25Like, running...
- 8:26Like, yeah.
- 8:26Maintaining an open source project includes lots of those things.
- 8:29Okay.
- 8:30So, there's actually a lot of, like, we're hiring.
- 8:31We do a lot of community management.
- 8:33There's a lot of, like, employer-employee kinds of relationships that occur.
- 8:37Right.
- 8:37People are new to the project.
- 8:38Okay.
- 8:39Yeah.
- 8:39You need to have relationships with large companies like NVIDIA or Google or Microsoft.
- 8:42Like, running a sizable open source project is actually not so dissimilar from running a business.
- 8:47Yeah.
- 8:48Now, taxation laws and legal agreements, there's certainly more of them now.
- 8:52Probably so.
- 8:53But, yeah, you guys probably wear a lot of hats as you're getting this stuff off the ground.
- 8:57Indeed.
- 8:57Very much so.
- 8:58Yeah.
- 8:58And to speak to Matt's point, when we first started working together, he was like, okay, what's the call to action on the landing page?
- 9:04And I was like, oh, great.
- 9:05Let's have that conversation.
- 9:07And his, you know, appreciation of design ethics, sorry, design aesthetics and marketing funnels, I think is actually, I was pleasantly surprised.
- 9:17Yeah.
- 9:17Well, I mean, so there are probably, you know, 10 to 15 to 20 people who work on desk at different companies.
- 9:22You know, many of whom we've, like, tried to get jobs.
- 9:25So, you know, we do marketing.
- 9:27We do sales.
- 9:27We do all of those kinds of things you do inside of companies.
- 9:30We just do it without paying anybody directly or without having any actual control over everything.
- 9:37Running with responsibility is kind of like running a company without any power.
- 9:39It's a lot of soft power.
- 9:40Sounds like product management.
- 9:42Yeah, I can imagine.
- 9:43Sure.
- 9:44It does.
- 9:44I don't know.
- 9:45All right.
- 9:45Cool.
- 9:46And I guess also just throw out there really quick, Hugo, you did the DataFrame podcast for a while.
- 9:50So people may also know you from there as well, right?
- 9:52Are you still doing that?
- 9:53No, no, I'm not.
- 9:54And I miss podcasting a great deal.
- 9:56I'm very much enjoying going on podcasts.
- 9:58But Matt and I have some secret plans to start podcasting in the nearish future.
- 10:04So that may be a bit of a teaser there.
- 10:07But yeah, that was a really fun podcast to put out weekly.
- 10:10And of course, I came on your show, on this show before doing that.
- 10:13I just want to let everyone know that Michael was actually incredibly helpful in getting the podcast up and running and letting me know all the things that he learned along the way that, you know, I still learned a lot along the way.
- 10:25But there are several things that Michael helped so wonderfully with.
- 10:28So thank you for that, Michael.
- 10:29Oh, you're really welcome.
- 10:30I was glad to see you having success there.
- 10:31And I'm looking forward to whatever secret project you guys have in mind.
- 10:36As am I.
- 10:36Awesome.
- 10:37So we're going to talk about Dask and open source and where maybe some sort of company making this a little more powerful or amplifying the message there might come from.
- 10:47But I wanted to start a conversation a little more broad and philosophical.
- 10:52So I'm going to talk about two things real quick.
- 10:55First of all, we saw in 2017, Stack Overflow published an article called The Incredible Growth of Python.
- 11:02And it showed Python being pretty flat for many years, relatively, along with a bunch of other languages.
- 11:08And then around 2012, you know, somebody kicked the derivative up or the second derivative.
- 11:14And it just took off.
- 11:15Right.
- 11:16And it went up and up.
- 11:17And they said, look at this.
- 11:18It's about to pass these other languages.
- 11:19And if we predict out, look how crazy it's going to get.
- 11:21And, you know, that was three years ago.
- 11:23We can look back, you know, I'll actually link to the Stack Overflow trends now.
- 11:28And those predictions underestimated how popular Python was going to be.
- 11:33But more so, they underestimated the stability of the other languages.
- 11:36And they're actually going down more than the flatness that they predicted, which is, I think all those kinds of things is really interesting.
- 11:42My theory is a lot of folks came into Python because of the data science stack around that timeframe.
- 11:49And so I guess my question to you all is, you know, how much is this incredible growth of Python, the incredible growth of data science in Python versus more broad stories around there?
- 12:01I think there's a lot of, I think the data science or scientific stack inside of Python certainly played a large role in that.
- 12:07And, you know, I think that's because we understood, I think that the scientific stack targeted very much scientific users, which were a good proxy for data science users today.
- 12:15Yeah.
- 12:15And so we had the same combination of performance and accessibility that was necessary to meet that need.
- 12:20So we're sort of ahead of the game by accident.
- 12:22Those are why a lot of the maintainers have a science background.
- 12:25Right.
- 12:25What I would say, though, is that Python is really only powerful today because of that union of the data science stack with the web stack, with the visualization stack, with the system operations stack.
- 12:37And it's really the fact that we can do all of those things together, which make Python sort of the standard default place to build advanced applications today.
- 12:46You know, if we were only MATLAB, for example, and we couldn't do web servers, we would be sort of a fringe language.
- 12:52We would be a niche.
- 12:53If we were only, you know, Scala and could do only Spark, we would also be sort of a niche.
- 12:58Python can do everything.
- 12:59And that is where you can build these really rich and awesome applications.
- 13:02Yeah.
- 13:02I think that's a really good point.
- 13:04I mean, people talk about that's why Node.js had the interest that it did, because you could sort of solve the problem in all the places you had to work.
- 13:12And I feel like that's kind of the story as well for Python on the scientific computation side and to some degree on the website as well.
- 13:20I mean, we all have to write HTML and stuff.
- 13:22But, you know, the way I think of it is, you know, if there's a biologist who's coming in and she has to do a little bit of computation, she's like, okay, I just need to do this.
- 13:31I need to make this graph.
- 13:32This data is too big for whatever.
- 13:34If I can write these 10 lines of code, not even in a function, just top to bottom, straight down, write these five lines, 10 lines of code, get this amazing output by using all these libraries.
- 13:44Eventually, the idea of like, well, maybe I need to pass different data.
- 13:46So maybe I need to write a function.
- 13:48And then, you know, you get a little bit farther.
- 13:49No, now I'm going to reuse this.
- 13:51I'm going to make this package.
- 13:52Right.
- 13:53You know, two years later, you look back and it's like, how did I become a programmer?
- 13:56I thought I was a biologist.
- 13:57I never, ever intended to be that.
- 13:59So I feel like Python brings a lot of people in through that sort of gravity.
- 14:04But because it'll solve the problems that are more advanced and has this rich sort of top end, you don't have to abandon it like you would MATLAB and go learn something else.
- 14:13You just get to stay there.
- 14:14And I think people are, it's sticky in that regard.
- 14:17I agree.
- 14:18This is a really common theme in how we think about data science.
- 14:21There's this on-ramp, right?
- 14:22You know nothing or you know how to use Excel.
- 14:25You can use a little bit of pandas.
- 14:26You can use a little bit of Dask on one machine.
- 14:27You can go out to scale on a cloud.
- 14:29You can run on the world's biggest supercomputers, right?
- 14:32And it's that smooth experience that we think about.
- 14:34We're getting ahead of myself a little bit talking about Dask.
- 14:36But that smooth experience of starting from nothing and working up to being amazing is what I think a lot of the Python ethos is about.
- 14:45Yeah, I agree.
- 14:46I agree with all of that.
- 14:47And I do think it's the rise of an entire community and network of tooling in the Python landscape.
- 14:53It's also the rise of tireless educators such as the carpentries, data carpentry and software carpentry bringing this stuff around the world.
- 15:01I'm very humbled to have played a small role in my work at DataCamp to spread the gospel of Python.
- 15:07I've never used that term before.
- 15:08We'll see how that lands.
- 15:10The other thing I think that I've been really excited about is seeing the wider Python community embrace data science as a fundamental part of the Python landscape now.
- 15:20I don't know if anyone's done a data analysis of, let's say, data science talks and keynotes and tutorials at PyCon over the past 10 years.
- 15:27But at least anecdotally, we've seen a huge embrace there.
- 15:30I mean, it was where we first met in your hometown of Portland, right?
- 15:33Oregon.
- 15:34Yeah.
- 15:34Right.
- 15:35Catherine Hough and Jake Vanderplus were two keynotes several years ago.
- 15:39And I was like, oh, wow.
- 15:39Yeah, they talked about the mosaic and it was beautiful.
- 15:42And we're having keynotes from the Python community.
- 15:45Exactly.
- 15:45Yeah.
- 15:46Super interesting.
- 15:47So I do think that that's a lot of the magic of Python is that it welcomes people from these different areas.
- 15:54And there was a really interesting survey.
- 15:56I think it was the JetBrains PSF combined survey that asked something like, how many you are data scientists and what percentage of the Python community do you believe data scientists are?
- 16:09And data scientists made up almost like the equal partition of web, which were the two biggest groups, but they thought they were much less represented because they, I think they felt like they were working more individually, but there were just so many of them.
- 16:22So it was really interesting that they believed that they were not as big of a part as they actually were.
- 16:26But I think that that perception is starting to change.
- 16:28I'd be interested in what type of like self-identification bias there is with respect to data science.
- 16:33Like I almost get the impression everyone has to identify as a data scientist these days, even like whatever they do, even if they're a gardener.
- 16:40It's true.
- 16:41It's true.
- 16:43Have you, have you touched pandas?
- 16:44Then you are.
- 16:45This portion of Talk Python To Me is brought to you by Brilliant.org.
- 16:51Brilliant has digestible courses in topics from the basics of scientific thinking all the way up to high-end science like quantum computing.
- 17:00And while quantum computing may sound complicated, Brilliant makes complex learning uncomplicated and fun.
- 17:05It's super easy to get started, and they've got so many science and math courses to choose from.
- 17:09I recently used Brilliant to get into rocket science for an upcoming episode, and it was a blast.
- 17:14The interactive courses are presented in a clean and accessible way, and you could go from knowing nothing about a topic to having a deep understanding.
- 17:21Put your spare time to good use and hugely improve your critical thinking skills.
- 17:26Go to talkpython.fm/brilliant and sign up for free.
- 17:29The first 200 people that use that link get 20% off the premium subscription.
- 17:34That's talkpython.fm/brilliant, or just click the link in the show notes.
- 17:41Another thing that I want to ask you in this sort of philosophical idea is that I mostly do web stuff with Python.
- 17:49So I run my online stuff, my online training company, and various things with Python.
- 17:54But obviously, I'm interested in all of it.
- 17:57When I look at the web world, I feel like once Python 3 really got fully adopted, or at least became the default thing to do, a whole bunch of older ideas were all of a sudden still relevant, but they became, you know, that's neat.
- 18:12But let's rethink this now that we can.
- 18:14So I'm thinking of things like FastAPI, where they use type annotations to mean stuff, or, you know, things like that, or we're going to build this from the ground up with async and await, and so on.
- 18:24So there were just so many different web frameworks and other tools that just came out of nowhere.
- 18:30And some of them are not really maintained anymore.
- 18:32But all these flowers bloomed.
- 18:34And it was just a really interesting thing to see.
- 18:36I don't have the same visibility in the data science side for that.
- 18:39Did that happen?
- 18:40And what was it like?
- 18:41I think to a certain extent, it did.
- 18:43I think probably larger is the widespread adoption of tools and not necessarily the creation of new tooling and the development of specific tooling as well.
- 18:53But there are several tools.
- 18:54I think the first one that really is so important is the Jupyter ecosystem.
- 18:59I referred to IPython notebooks, and I did that accidentally, but also intentionally, because they were IPython notebooks back then, right?
- 19:06That was super cool.
- 19:07And I feel like people forget about IPython, but it's so important in the Jupyter ecosystem.
- 19:13But yeah, since 3.6, we've seen two years ago, like JupyterLab 1.0, which I think brings the possibility of so many new people to use the entire ecosystem.
- 19:24I always think JupyterLab does for Python, I think, what the RStudio IDE does for the R ecosystem.
- 19:32It reduces the barrier to entry for so many people.
- 19:35But then, as we've noted in other conversations, tools like Streamlit are really cool.
- 19:41And I think this is going to be the next evolution of data tooling is bridging the gap between local computation and iterative science in Python and productionized science, right?
- 19:51And machine learning.
- 19:52So the ability to kind of build a machine learning product quite quickly is wonderful there.
- 19:59Yeah, Streamlit was definitely one of the things that came to mind for me is like, this is really a different take on how this works, but it's kind of a neat, modern way to do it.
- 20:08Exactly.
- 20:09So for me, it wasn't so much the change of Python 3.6.
- 20:12I think the scientific stack, the PyData stack actually adopted Python 3 like two or three years before the web stack.
- 20:19Yeah, they definitely had a head start there.
- 20:22That was great.
- 20:22So I think that wasn't as transformational.
- 20:25We had a much more smooth transition, I think.
- 20:27I think around the same time, though, there was this huge influx of new people and new actors in the system.
- 20:34So there's like, you know, as we shifted from being this sort of fringe scientific computing language to becoming the de facto standard language for ML AI workloads, with the option of like TensorFlow and PyTorch, you've got, you know, Google and Facebook acting, you've got Nvidia in there now.
- 20:49And you have just, you know, a 10x in the user growth.
- 20:53That is really, I think, our like, change moment is the like the TensorFlow engagement of companies for better or for worse.
- 21:00Yeah.
- 21:01What about enterprises and large corporations seeing the PyData stack as legitimately the thing that they could adopt over, I don't know, saying they have to do with Java or something like that?
- 21:11Like, it seems like that's changed as well.
- 21:13Yeah, there's a huge acceptance of Python in both in the data science machine learning space, but also in production, right?
- 21:19As sort of Docker came up and as Kubernetes came up, like Python became a thing you could easily deploy into PenPom.
- 21:24And that's new as of the last decade.
- 21:27And with that comes a bunch of money to be made, which again, brings in this like other slew of actors in this space.
- 21:32Yeah.
- 21:32Both good and bad.
- 21:34Yeah.
- 21:34I think this is something which started for the most part in tech, where we saw massive, massive wins in open source adoption and then bled out slowly.
- 21:42I mean, finances is a great example, like seeing how much places like JPMC and Capital One and these places use Python now.
- 21:49But then we're seeing it in retail.
- 21:51I mean, one of the great use cases of Dask and Rapids and XGBoost is at Walmart.
- 21:56Going back to tech, the fact that Netflix runs like hundreds of thousands of Jupyter notebook batch jobs a day or something like that.
- 22:04And they're hiring.
- 22:04I mean, they've got a bunch of Jupyter core devs, right?
- 22:07Yeah, their whole paper mill thing.
- 22:08Yeah.
- 22:09Yeah, that's really interesting.
- 22:11I guess the early start on Python 3, because a lot of the tooling was improving and there wasn't as much like legacy Python data science.
- 22:21I think that was part of the key to being able to just say, you know what?
- 22:25We're just going to start something new on these new set of tools, new machine learning library.
- 22:29Let's just use Python 3 as opposed to, well, we're still on this web framework.
- 22:33We can't change versions.
- 22:35And that thing depends on this.
- 22:36So we're stuck, you know, seven or eight years in the past.
- 22:39So, yeah, pretty cool.
- 22:40I mean, it was still a huge effort.
- 22:41But I think there's just like there was less production use of the data science stack.
- 22:46It seemed like there was production use of the web stack.
- 22:48And that's what's really hard to change.
- 22:49And I'll also add that data scientists require flexibility and nimbleness and agility in their tooling.
- 22:56And it's such the questions they're answering are changing so quickly.
- 22:59The way these questions integrate into making business decisions.
- 23:03And that interface is changing so quickly that the tooling is kind of moving alongside that.
- 23:07And there's this wonderful co-evolution between the tooling and the techniques and the questions that we're required to answer.
- 23:12Yeah, that's a good point.
- 23:13All right.
- 23:14So let's set the foundation for this project, this company that you all are working on.
- 23:19And that would be Dask.
- 23:22Matthew, you want to kick us off?
- 23:23Tell us, you give us the summary of Dask and all the cool things that it does.
- 23:27I mean, we did talk about it at WAGA, but that was over a year and probably not everyone heard it anyway.
- 23:31Yeah, sure.
- 23:32So Dask is an open source Python library that was designed to parallelize other Python libraries.
- 23:37So we first started Dask at Anaconda.
- 23:40And the goal was to parallelize out NumPy and Pandas and scikit-learn to sort of like the foundation of the sort of scientific Python Python Python stack.
- 23:48What we found pretty quickly is that about half users we were targeting, that's exactly what they wanted.
- 23:53They had a big table or a big array of numbers.
- 23:56And they wanted a bigger version of those things with the same APIs and the same feel.
- 24:01And so Dask gave that to them.
- 24:02But about half of our users wanted to do something totally different.
- 24:06They wanted to use the internals of Dask to parallelize out some other crazy thing that they were building.
- 24:11As we mentioned, in Python, people were building all sorts of new libraries.
- 24:14And they wanted to add a little parallelism, a little bit of scalability into their library.
- 24:18Yeah.
- 24:18And the internals of Dask allowed them to do that.
- 24:21So Dask is, at its core, a general purpose library for parallel computing.
- 24:25You can think of it in the same way you think of the threading module or the concurrent futures module
- 24:30or anything like that in the standard library.
- 24:32But it runs at scale and gives you full scalability.
- 24:35Right.
- 24:36When you say at scale, you mean you could have a cluster of 20 machines.
- 24:39Yeah.
- 24:40Or 200.
- 24:40Yeah.
- 24:41Something that looks like a Pandas data frame.
- 24:43And you ask it to do computation.
- 24:45And that computation happens on all those machines.
- 24:48Exactly.
- 24:48Yeah.
- 24:48And it's really smart about not moving data.
- 24:51Because if you've got a lot of data, the movement of it around might actually be the slowest
- 24:55part, right?
- 24:55Yeah.
- 24:55That and like 20 things.
- 24:57Yeah.
- 24:57So we think very, very deeply about how to run complicated task graphs at scale.
- 25:01And that allows for us to do things like big pandas.
- 25:04But also, you could use it in the same way you use Celery behind a web application.
- 25:08Or you could use it backing a big machine learning application.
- 25:12So Dask is a very flexible tool on which many people have built these sort of more special
- 25:18purpose scalability tools.
- 25:19You can think of it kind of like a tool that you would use to build Spark or the tool that
- 25:23you would use to build a parallel airflow, for example.
- 25:26I'll just build on this briefly by quoting Matt.
- 25:29And I always quote him on this.
- 25:30So he's heard me quote him many times on this.
- 25:32But this is a blog post he wrote called A Brief History of Dask, which you can find on
- 25:36coil.io forward slash blog.
- 25:39But he speaks to three goals that the original idea that him and several other people at Anaconda
- 25:45were thinking about.
- 25:46Two technical goals, which were to harness the power of all the cores on your laptop in
- 25:50parallel.
- 25:50A second one to support larger than memory computation.
- 25:53And these we know about.
- 25:55But he also mentions a social goal, which is to invent nothing.
- 25:57And I quote, we wanted to be as familiar as possible to what users already knew in the
- 26:02Pi data stack.
- 26:03And I think as the Pi data stack grew and garnered a lot of adoption, the fact that there was
- 26:08a social goal to invent nothing allows pandas and NumPy users then to use it immediately.
- 26:13And Matt says, you know, doesn't have an API because it uses the API, the packages that
- 26:18it allows people to do distributed compute with.
- 26:20Yeah, that's a really good goal because it doesn't matter how amazing the thing you came
- 26:25up with.
- 26:25If you say, OK, well, you used to talk to databases, but now use our special API that's
- 26:31like a database, but it's not exactly because it's better.
- 26:34And we have this graphing thing and it's like Altair, but it's not really Altair.
- 26:38It's just motivated by it.
- 26:40So you can just redo all your stuff and it's going to be better.
- 26:42And, you know, a lot of times it's like, you know what?
- 26:44The tools that I have really work well and I don't want to reinvent my world.
- 26:48Exactly.
- 26:49Yeah.
- 26:49I call this the principle of minimal creativity.
- 26:52I love it.
- 26:53It's like productive.
- 26:54That's a beautiful one.
- 26:55It's similar to the productive, like laziness of developers or something like that.
- 27:01Right?
- 27:02Sure.
- 27:02Yeah.
- 27:03This thing that we thought was great, creativity, you know, building a new wonderful thing is
- 27:06actually horrible.
- 27:07Like you really don't want to impose your thoughts on others.
- 27:11Building boring tools.
- 27:12Yeah.
- 27:12Right.
- 27:12Building boring tools.
- 27:13Yeah.
- 27:14Yeah.
- 27:15Otherwise known as getting stuff done, right?
- 27:21This portion of Talk Python To Me is sponsored by Monday.com.
- 27:24Monday.com is an online platform that powers over 100,000 teams daily work.
- 27:30It's an easy to use, flexible and visual teamwork platform beautifully designed to manage any
- 27:35team organization or online process.
- 27:37Now, for most of us, we missed our chance to build the first apps ever in the mobile app
- 27:42stores.
- 27:43It was a once in a lifetime opportunity, but it's one that's coming around again.
- 27:47Monday.com is launching their marketplace and running a contest for the best new apps featured
- 27:53right from the get go.
- 27:54Want to be one of the first in the Monday.com apps marketplace?
- 27:57Start building today.
- 27:59They're even giving away $184,000 in prizes, including three Teslas, 10 MacBooks, and more.
- 28:06Build your idea for an app and get in front of hundreds of thousands of users on day one.
- 28:10Start building today by visiting monday.com slash Python, or just click the link in your
- 28:15podcast player's show notes.
- 28:16My understanding is that Dask is used for all these different projects.
- 28:22And like sometimes you'll find Dask being used and you're not even really aware that
- 28:27Dask is somehow powering maybe it's parallelism or whatever.
- 28:30So maybe give us a couple of examples of places you found Dask being used that surprised you or
- 28:36you're proud of.
- 28:37Yeah, sure.
- 28:38I'll maybe talk about maybe Pangio first.
- 28:41So I think I mentioned Pangio at the end of our last podcast.
- 28:45Yeah.
- 28:45So Pangio is amazing.
- 28:47Pangio is a collaboration of earth scientists, so like climate scientists, meteorologists,
- 28:51oceanographers, and a bunch of open source software developers who teamed up to make a new software
- 28:57stack to solve a lot of climate science problems.
- 28:59We combined things like JupyterHub, Dask, Kubernetes, and other libraries on top of that, like Xarray,
- 29:04intake, all sorts of things.
- 29:06Yeah.
- 29:06And we just like, we revolutionized the way that that sector computes.
- 29:11There were sort of decades old software stacks that we just immediately showed were not nearly
- 29:16as powerful as we were able to do together, both in terms of computation and in terms of
- 29:20accessibility.
- 29:21It's at the point where, you know, if you were an undergraduate student in the Philippines,
- 29:25you can go and you can look at cloud-based data sets that are many terabytes large and
- 29:31see, you know, what climate change will do with sea level rise, for example.
- 29:34And that's something that we were all, that happened in like six or 12 months.
- 29:37It was amazing.
- 29:37And that's such an important problem that we need to solve.
- 29:40And so to know that some of the software you helped create is central to making that happen.
- 29:46That's really cool.
- 29:46Me and like a thousand other people.
- 29:48Yeah, yeah, yeah.
- 29:48Of course.
- 29:49Absolutely.
- 29:50Yeah.
- 29:50But it was a great, it was a great example of a bunch of different kinds of people all
- 29:55working together.
- 29:55It was a bunch of like computer scientists working together.
- 29:57We wouldn't have done it correctly.
- 29:58Once the oceanographers are working together, it wouldn't have done it all together.
- 30:01It needed to be a collaboration.
- 30:02Right.
- 30:03Yeah.
- 30:03How many oceanographers are like, you know what?
- 30:05I'm going to set up a Kubernetes cluster so we can do automatic scale out, but then scale
- 30:09back down.
- 30:10You'd be surprised.
- 30:10You know what?
- 30:10No, no, I know.
- 30:12You'd be surprised.
- 30:13They ended up having to learn those skill sets over time, which is partially why we made Coiled,
- 30:17is to stop that from having to be the case.
- 30:20They're also sharp folks.
- 30:21I mean, people who are in that space are quite sharp.
- 30:22Another example might be so Rapids.
- 30:25So when we last talked, I had just joined NVIDIA.
- 30:28So at the time, NVIDIA was building Rapids data science suite that is GPU accelerated.
- 30:33So they have like NumPy, Pandas, CycleLearn equivalents that all run on the GPU.
- 30:38It's a little bit like what Dask does for parallelism.
- 30:40They're somewhat attempting to do that for the CUDA cores and GPU, right?
- 30:45Yeah, exactly.
- 30:45So, you know, Dask allowed you to do from Pandas to parallel Pandas.
- 30:50Rapids allows you to go from Pandas to GPU accelerated Pandas.
- 30:54And then Rapids and Dask together allow you to go to, you know, GPU accelerated Pandas across
- 30:58the cluster of machines.
- 31:00Yeah, that's a great way to put it together.
- 31:02Yeah.
- 31:02The really great result we had out there, which is super surprising to me, was they did a
- 31:06benchmark, the TPC XPB benchmark, where there's like a bunch of sort of data science and business
- 31:11analytics queries.
- 31:12And they got something like 40% faster and like seven times cheaper than the next solution,
- 31:18which is like Spark or MapReduce on a bunch of Dell machines.
- 31:21Yeah.
- 31:21And so in some sense, that's like 400, right?
- 31:24Because it's, you know, the 40X faster and the cheaper, right?
- 31:28Because normally you think I can get a lot faster, but I spend a lot of more money or I can get
- 31:31cheaper, but it goes a lot slower.
- 31:32But if you get it to expand in both axes, that's awesome.
- 31:35No, to be honest here, it's a more expensive machine, but running for a much shorter amount
- 31:41of time.
- 31:41Yeah.
- 31:41So it's not 400X, it's genuinely 40X faster and only 7X cheaper.
- 31:45But yeah, no, it's amazing.
- 31:46And I think what I love about that is that there are all of these sort of old guard companies
- 31:51building out solutions for this benchmark.
- 31:53You've got Dell, HHP, and they're all using like monolith software projects like Spark.
- 31:59And this benchmark was different.
- 32:00It was NVIDIA and it was people at Coiled and it was people at Blazing SQL, another startup
- 32:06company.
- 32:06There are a bunch of small startups and a bunch of small software projects that all collaborated
- 32:11together to just smash this benchmark, right?
- 32:14All the other companies were fighting over sort of 10%, 20% gains.
- 32:18And we come in with like a 40X speed improvement.
- 32:21And so it just sort of, we just wiped everyone out, which was great.
- 32:26Yeah, that's a super cool project.
- 32:28And Rapids, I mean, it seems like that's a pretty early stage project and it's probably
- 32:31just going to grow.
- 32:32Early stage of moving fast.
- 32:33I mean, that's an example of a company investing in open source with a team of 50 people.
- 32:38It's impressive.
- 32:39And then the last one I might mention is Napari, which is kind of like Pangeo in that
- 32:44they are using Dask to advance another field, in this case, biomedical imaging.
- 32:48But their approach is really different.
- 32:49A lot of lab bench scientists, people who are looking at microscopes, don't know how to program.
- 32:54And so we can't give them a Jupyter notebook that they can play with.
- 32:58Instead, they're used to sort of point and click interfaces.
- 33:00And so Napari is an image viewer for large images.
- 33:04With a point and click interface, you sort of pan and zoom around these, you know, picture
- 33:08of a cell or picture of some sort of cancer thing.
- 33:10And what I love about this is that they use other parts of Python.
- 33:12They use the whole QT side of Python.
- 33:14So that's a QT based application.
- 33:17And they're not targeting data scientists.
- 33:19They're targeting actual scientists.
- 33:21And I think that's like a great space for growth of Python in the future is to build applications.
- 33:26Yeah, yeah, yeah.
- 33:27Because it's one thing to say we build it for data scientists.
- 33:29We're kind of like Python programmers in general, but they have this special visualization data
- 33:35handling skill set as opposed to the person who took your x-rays or whatever, right?
- 33:41Yeah, exactly.
- 33:42And also there's an order of magnitude growth that we can have.
- 33:46Yeah.
- 33:46And I'll also add to that that I've spoken with several users of Napari recently and the way
- 33:51it changes their approach to science and their scientific flow.
- 33:55I mean, they can do a bunch of imaging.
- 33:56And whereas previously they'd have to wait until the next day to check out the images,
- 34:00they can literally go away for 15 to 30 minutes, come back, check out the images, then plan the
- 34:05next experiment.
- 34:05So it changes their absolute flow state of scientific research and the rapid iterative
- 34:11cycle for them.
- 34:11Yeah, that's really awesome.
- 34:12I mean, it's got to feel great to work on that project and just see, you know, it's making a true
- 34:17impact for everyday people.
- 34:19Yeah, that's cool.
- 34:20The one other thing I'll add, which I think we hinted at before, is that Dask is famously used for
- 34:26leveraging clusters and parallelization, but it also does it locally.
- 34:31So before you scale out to your cluster or whatever, you can scale up to do out-of-core
- 34:36computing on larger data sets yourself.
- 34:39So it allows a lot of people to do more locally than they'd otherwise be able to across all
- 34:44the types of questions we've been discussing, which is pretty cool.
- 34:47Yeah, absolutely.
- 34:48Well, you know, the MacBook that I'm sitting here with, the MacBook Pro is a core i9 with
- 34:53six hyper-threaded cores.
- 34:55So 12, basically.
- 34:57And if I go and do Python stuff really hard on it, I get one twelfth the CPU consumption
- 35:02of what's available.
- 35:02And my gaming machine is, you know, 16 cores, right?
- 35:06It's like, if that stuff is just mostly idle in the Python world, unless you find a way to
- 35:11take advantage of it.
- 35:12And so that actually really surprised me about Dask.
- 35:13I thought of Dask as, you know, the way we sort of opened the conversation.
- 35:17It's this way to take huge data that has to fit into a cluster and not just onto my little
- 35:22laptop and run it distributed in terms of distributed machines.
- 35:26But the fact that it also runs and sort of scales up and takes better advantage of your
- 35:30local hardware is pretty awesome.
- 35:31The median cluster size is one, which is just a laptop.
- 35:34And so we optimize for that case.
- 35:36Yeah.
- 35:36Yeah, that's really cool.
- 35:37I was going to add, the other thing to note is the interoperability with a lot of other
- 35:41packages.
- 35:42So if you're using scikit-learn and you want to parallelize your hyperparameter search or
- 35:47whatever it is, you can use the, I think it's the njobs quag or something like that.
- 35:50And you can use Dask in the backend there.
- 35:52Recently, I was so excited to see Matt.
- 35:54We're doing these YouTube live streams weekly of people using Dask and a bunch of other
- 35:59stuff.
- 35:59So subscribe to our YouTube channel if you're interested.
- 36:02But marketing aside, somebody from Grubhub, Alex Egg, used Snorkel for weak supervision, which
- 36:09is a clever way to label your data for supervised learning without actually hand labeling it.
- 36:15And I saw Matt discover a sub-module of Snorkel called Snorkel Dask.
- 36:20So seeing, you know, the whole array, the whole ecosystem start to incorporate Dask is really
- 36:24exciting, right?
- 36:25Yeah.
- 36:25Yeah, that's cool.
- 36:26I had no idea they'd integrated it.
- 36:27I was like, oh, I just learned something today.
- 36:29They're using this stuff.
- 36:31Great.
- 36:32That's really, really neat.
- 36:33And yeah, I'll put a link to your YouTube channel there so people can check it out.
- 36:37I think it's really interesting that people are doing stuff on Twitch and programming,
- 36:40all these live streaming places that I never associated with programming for the longest
- 36:45time.
- 36:46It was always, you know, World of Warcraft or some other sort of gaming thing that was in
- 36:50a different world.
- 36:51It all starts with gaming, man.
- 36:53Gaming's ahead of the curve, right?
- 36:56Switching, putting on my for-profit hat just for a second.
- 36:59Like now in COVID times, like marketing is completely the Wild West again.
- 37:04Like we've got to figure out how to reach our audience.
- 37:06I used to go to conferences and just know everybody.
- 37:08Now, how do we do that?
- 37:10You know, Twitch or live streaming is like a thing to play with.
- 37:12Probably not the right thing, but we're going to find out.
- 37:14And experimenting and finding out the right way to engage people today is actually a really
- 37:19fun and interesting problem for which there are no right answers yet.
- 37:22Yeah, yeah.
- 37:22It definitely is the Wild West and it's a fun time, right?
- 37:25Like you said, it's unknown, but it's really cool to be able to just explore all these
- 37:29different ideas.
- 37:30Hey, Hugo, marketing idea for you.
- 37:32Let's get on all the cool Python podcasts and see if they can cross-market to coiled things.
- 37:37I think that's a great idea.
- 37:38Let me just note that down.
- 37:39Yeah, great.
- 37:40Yeah, well, I don't really know which ones you should talk to, but we talk after.
- 37:44We embrace them after.
- 37:45Who should we talk Python to?
- 37:46I know, I know.
- 37:47All right, so let's take it over to the business side a little bit.
- 37:52We have DASK.
- 37:53We talked about some of the things that it does.
- 37:55One of the interesting challenges people often run into when they have these successful projects
- 38:00is how do I take this really amazing and powerful thing that I built and allow me to keep working
- 38:07on it by somehow getting paid to do so, right?
- 38:10And I think probably the first step is we've seen a really big adoption of open source software on the enterprise.
- 38:17It used to be, oh, what are you going to be doing?
- 38:20Are you doing Java and Oracle?
- 38:22Or are you doing Microsoft?
- 38:25Which type of company are you at, right?
- 38:27Like there's a lot of, there's even like Gardner reports talking about how open source software has not just lowered the cost for enterprises,
- 38:36but actually increased the quality at the same time, which is like one of these double wins as well.
- 38:41How do you guys see it?
- 38:41So I'll add one more piece of the puzzle to the question in the sense that not only are we seeing a lot of people in enterprise adopting open source,
- 38:50we're seeing, I'm actually going to paraphrase Brian Granger, who said this a couple of years ago at Jupiticon.
- 38:55We're seeing a phase transition from a lot of people using open source individually in enterprise to large scale enterprise adoption of open source.
- 39:04So having individuals use it within an organization, I think is, is something where the open source provides nearly all the value they, they need there.
- 39:12But for an institution to actually adopt OSS at scale across an organization,
- 39:18there are other moving parts that need to be in place that I think commercial companies can solve for.
- 39:24So having said that, maybe Matt can talk about why we're starting Coiled.
- 39:27Yeah.
- 39:27I love the Brian phrase, phase transition language.
- 39:30That sounds exactly like Brian, who's a physicist.
- 39:32Physicist.
- 39:32Physicist who then made Jupyter notebooks.
- 39:34Yeah.
- 39:35The way I think of it is that, sorry, so open source software one, right?
- 39:39So like no new company is installing Oracle or SAS today.
- 39:42They're installing open source.
- 39:43But as we tossed out all of these sort of enterprise software companies and their enterprise software stacks,
- 39:49we accidentally tossed out all the things they sold us that weren't software, right?
- 39:54So like they would, Oracle would sell you, you know, their database things.
- 39:57Like service level agreements.
- 39:58Exactly.
- 39:59How do, how do we get help if we're stuck and it does not working?
- 40:02All that kind of stuff, right?
- 40:03The sort of training safety blanket of commercial software.
- 40:06Yeah.
- 40:06Training, the safety blanket of enterprise support, but also, you know, hooking into enterprise office systems
- 40:12or network security or sort of plugging all of those things together, integrating with other technologies.
- 40:18And now that all these companies are adopting this open source stack, all of that stuff is missing.
- 40:22And so it is again, the wild west.
- 40:24And it's sort of a, it's an awkward place as a company to be adopting this technology.
- 40:28I was in a conversation once with folks at NASA and they were saying, hey, look, what hosted notebook solution should we use?
- 40:35At the time there was, there was Domino Data Labs.
- 40:37There was Anaconda Enterprise was selling something.
- 40:39There was AWS SageMaker.
- 40:41And I said, hey, have you considered just using JupyterHub?
- 40:43It's actually a really pleasant experience and it's free and it's easy to use.
- 40:48And they said, no, but like we need to buy something.
- 40:50Like we're not going to manage JupyterHub.
- 40:52We need to buy something because we're NASA.
- 40:55And the open source thought is just, it's free.
- 40:58Why don't you just take it?
- 40:59It's not so hard.
- 41:00But of course for them, they don't want another puppy.
- 41:04Right, exactly.
- 41:04A thing they got to take care of and walk even in the rain.
- 41:07Yeah.
- 41:07And so that, I think filling in those gaps and providing all of that sort of supporting infrastructure,
- 41:12which is both technological and cultural infrastructure, that I think is a great place where for-profit
- 41:17companies can augment the open source software stacks that we have spent so all this time building
- 41:23and have really just out-competed the proprietary software stacks.
- 41:26But of course, doing those two together requires a lot of nuance.
- 41:29I think we haven't yet figured out the right models to be a good actor in the open source
- 41:34community that we love and love, that's highly principled, and also build a successful business.
- 41:38Yeah.
- 41:38And that's fun.
- 41:39And that's what we're excited about experimenting with.
- 41:41Well, and I think it's about time, right?
- 41:43The fact that these companies, for lack of a better word, they've started to feel the pain.
- 41:50They've decided they want to take on open source.
- 41:52They see the value and they're going to move there, but they're like, but there's still these
- 41:57problems or these new problems that we don't know how to solve.
- 41:59And so I think there's opportunities for people to come along, knowledgeable in open source stuff
- 42:04to help give them the support they need so that they can go to the CTO or whatever, say,
- 42:10we can build on this and here's how we're going to get the support that we need.
- 42:15Not, you know, Sarah's pretty good with Dask.
- 42:17She could probably fork it and fix whatever.
- 42:19Well, they've done that for a while and they're into problems.
- 42:23Yes, I know.
- 42:23To be clear, though, I think that isn't on them.
- 42:26You said it's about time as though there's sort of blame.
- 42:28But I think that blame is on us.
- 42:30It's on the open source community.
- 42:32Like we needed to learn how to speak corporation.
- 42:35And like we're learning that.
- 42:36We're learning how to write legal agreements that they can actually sign.
- 42:39We're learning how to give them institutions that they can engage with on a peer-to-peer basis.
- 42:44Right.
- 42:44You know, Ford can't sign a contract with Dask.
- 42:46Dask is not an entity that you can sue if they break your company.
- 42:50Coiled, you can sue.
- 42:52Like, great.
- 42:52They can sign a contract with Coiled.
- 42:54But I think that's really on us.
- 42:55Our community needs to figure out how to build more of those institutions to engage better with
- 43:00companies and eventually pull money out of them to feed back the open source innovation
- 43:05that we've all been building really successfully over the last decade.
- 43:08I think another part of the value commercial entities like Coil can add is, as Matt mentioned,
- 43:12the PyData ecosystem is, for the most part, developed by a huge number of scientists and
- 43:18people who are answering scientific questions themselves.
- 43:20So the PyData ecosystem is very good at helping scientists and data scientists answer scientific
- 43:27research or industry-based questions.
- 43:29It doesn't necessarily solve for all the cultural challenges that occur within organizations
- 43:33and the enterprise.
- 43:35Now, I actually haven't...
- 43:36This isn't as well thought out as I hope it to be in the future.
- 43:40But these types of cultural concerns, I think, are about making sure everyone across an organization
- 43:45is happy, such as IT, checking all the boxes from IT that I mentioned before, like network
- 43:49security, auth, usage controls, making sure management is on board with everything that's happened.
- 43:54So advanced telemetry for management so that they can enable collaboration and make sure
- 43:59they're aware of costs and usage and that type of stuff.
- 44:01So not necessarily solving for the nodes of the network of an organization, but solving for
- 44:06the edge as well, I think, is something key that entities like Coil can help solve for.
- 44:11Yeah, absolutely.
- 44:12I definitely think that the donate button is not the right answer, right?
- 44:17In the corporate world, making a donation, it doesn't even make sense.
- 44:22How are the shareholders gaining value from this donation or whatever?
- 44:26It just doesn't even make sense.
- 44:27You can get pizza money pretty easily.
- 44:30Yeah.
- 44:30But going beyond, that's hard.
- 44:31But yeah, having a career or a business around it is really tricky.
- 44:35So I think you're right that the speaking corporate while keeping the ethos of open source
- 44:41is pretty important.
- 44:41So it sounds to me like you guys decided, let me guess, November to December time, you
- 44:48decided there's this gap and you guys can start a company, which you founded in February, called
- 44:53Coil to start addressing some of these problems in the data science, distributed computing world,
- 44:59people doing task stuff.
- 45:01That's right.
- 45:02All right.
- 45:02Yeah.
- 45:03So tell us, what is Coil?
- 45:05What slice of this enterprise challenge or corporate challenge are you taking on?
- 45:10Yeah.
- 45:11So Coil is a for-profit company based around scaling Python or sort of based around Dask,
- 45:16whose mission is to make computing accessible, right?
- 45:19So we care very deeply about enabling individuals to scale out comfortably and also extending that
- 45:24capabilities into corporations.
- 45:26We interacted with hundreds of companies who are using Dask and all had more or less the
- 45:31same needs.
- 45:32We mentioned them before, all the needs that you have around adopting open source software,
- 45:35training, support, deployment problems, security off IT issues.
- 45:40We were more or less begged by enough companies to make this thing that we decided to make it.
- 45:44Yeah.
- 45:44That's a good place to be.
- 45:46Data scientists, as I mentioned before, require a lot of nimbleness and flexibility in the tools
- 45:52they use.
- 45:52And at the moment, they need to do all types of crazy stuff from, let's say they want to build
- 45:57something at scale.
- 45:58They need to, as we mentioned before, figure out Kubernetes and Docker containers.
- 46:02And then like battle with AWS and all of this stuff.
- 46:06So do a whole bunch of DevOps-y stuff, right?
- 46:08That they shouldn't be doing.
- 46:10Yeah.
- 46:10And it probably makes their managers nervous because, oh yeah, all we had to do to make
- 46:14this work is we created the Kubernetes cluster and then we put the data into this S3 bucket
- 46:18and we were able to just talk to it and it was great.
- 46:20Like, wait, wait, wait, wait, wait.
- 46:22What's the access level or what's the publicity versus lockdown state of that S3 bucket?
- 46:30Are we going to end up on the news next week because of this?
- 46:32There's a story around Pangeo.
- 46:34We mentioned Pangeo before.
- 46:35The sort of Earth Science Collaboration Climate Science Group.
- 46:38That was actually a really eye-opening experience for me because I really started to understand
- 46:42what enterprise software looked like.
- 46:43So what we did, I think we were giving a talk at the American Meteorological Society.
- 46:48And over the weekend, a bunch of us hacked this thing together.
- 46:51It was JupyterHub on the cloud with Dask enabled.
- 46:54And so we computed this big data set.
- 46:57And then we showed that everyone in the room could do the exact same computation on the cloud.
- 47:01So I did this fantastic thing on stage.
- 47:03And then we said, hey, everyone, open up your laptops.
- 47:05You can do the same thing too.
- 47:06And that blew up.
- 47:08I think within about six months, we went from three groups in Columbia University, NCAR,
- 47:14and Anaconda to about 50 groups.
- 47:16So everybody was excited about this.
- 47:18We sort of revolutionized how we do Earth System Science.
- 47:21But then that's when the nightmare started.
- 47:23Because suddenly we have all these groups trying to use this public access thing.
- 47:27We had to figure out like, hey, wait a minute, this is costing us money.
- 47:30So we had to implement user access controls.
- 47:32Okay, who's whitelist on this thing?
- 47:33Who can use it?
- 47:35Suddenly, there were different groups in different continents who wanted to use different regions on the cloud.
- 47:39Now we have to have not one Kubernetes cluster, but a dozen Kubernetes clusters.
- 47:42Everyone wanted their own software to be installed.
- 47:45The oceanographers have a different software stack from the satellite imagery people, it turns out.
- 47:49And so they were all asking me, hey, can you just pip install this one more package, please?
- 47:53And eventually, you can't add all those packages together.
- 47:56So now we had to make software environment switchers.
- 47:59It turns out that no one had...
- 48:01We couldn't figure out how to do AWS credentials.
- 48:04So people couldn't store their data on the cloud.
- 48:06It was read...
- 48:07You could read any data, but you couldn't then transform it and then store it into your own buckets.
- 48:11And so figuring out auth and passing that around.
- 48:14And then security, it was open for an embarrassing amount of time before Bitcoin folks showed up.
- 48:20It was all of those problems.
- 48:21Eventually, I stepped back.
- 48:22And as you sort of predicted, all the oceanographers started taking over Kubernetes.
- 48:27And that was what happened.
- 48:28And that experience really showed me personally all of the challenges around doing this kind of science or data science at scale, both on a technical perspective, but also on a social cultural perspective.
- 48:41There's a ton more than just algorithms work to do.
- 48:44Yeah, it seems so easy just to set it up.
- 48:46And then there's just one more thing and one more thing.
- 48:48And eventually, yeah, you've got oceanographers doing Kubernetes, which is fine.
- 48:52They can do it.
- 48:53But you shouldn't have to understand how your car works just to go get groceries, right?
- 48:56Or to go to work, right?
- 48:57If that's not your intent, it should just get out of the way.
- 49:00I mean, some of them then did become auto mechanics as a result, which is a fine career change.
- 49:05Yeah, absolutely.
- 49:06If you want it.
- 49:07But if you're trying to do something else, you don't want to work on your car.
- 49:09You just want to get there.
- 49:10Awesome.
- 49:10Okay, so tell us exactly what is it that Coiled is doing so we can sort of understand where it fits in trying to solve this enterprise, open source business story.
- 49:19If I want to be your customer, what can I do?
- 49:22Is it a SaaS service?
- 49:23Is it like hosted notebooks?
- 49:26What do I do?
- 49:27Yeah, so Coiled sells many things.
- 49:29Mostly, we focus on the Coiled product, which is a hosted Dask solution.
- 49:33So we solve all of the infrastructure problems around hosting Dask.
- 49:37So if you want to, if you're on our beta, for example, you could actually, I invited you just half an hour ago, Mike.
- 49:42Yeah, and I'm sorry, I didn't get to it quick enough to sign up and play with it, but I wish I had.
- 49:48So if you did, you could pip install Coiled wherever you run Python.
- 49:51It could be in a Python session, could be in Jupyter Notebook, could be on the cloud.
- 49:55And then you would ask for a cluster.
- 49:57You'd say Coiled.cluster.
- 49:59And that would allocate a bunch of machines for you on the cloud somewhere.
- 50:02You would then connect to those machines in a super secure, super credentialized, very nice way.
- 50:07And you'd be off to the races.
- 50:09So if you start my beta, we sort of try to minimize the time of signing up to running computations on the cloud.
- 50:16Currently, the number is around two or three minutes.
- 50:18We can get it down to about one minute, I think.
- 50:20Just enough time to make a cup of coffee.
- 50:22Just enough time to make a cup of coffee.
- 50:24Yeah.
- 50:24Yeah.
- 50:25If you have a Keurig with the pre-made filter thing, if you got to get the coffee out, maybe it won't be nice.
- 50:29Yeah.
- 50:30So from your perspective, it just looks like Dask.
- 50:33We didn't have a set of Kubernetes.
- 50:34But there's a bunch of other stuff around that that we manage.
- 50:37So first, manage Dask clusters.
- 50:38Second, customizable software environments.
- 50:41You want to use your favorite software libraries.
- 50:44And we're going to help you manage that between your local environment and also in Docker images on the cloud.
- 50:49We also help you share that with your colleagues.
- 50:51So often we find a sort of one person who manages software and they share it with other folks.
- 50:55And then third, user management, cost management, and telemetry.
- 50:58So that coil will help you understand what's going on.
- 51:01Or more likely, we'll help your boss understand what you're doing and make sure that you don't break the bank.
- 51:06Yeah.
- 51:07I've definitely got to some very high cloud computing bills before.
- 51:12Although in my defense, I said, this is going to be very expensive.
- 51:15We should use this other service.
- 51:16No, no.
- 51:16We have a contract in agreement with this cloud service.
- 51:19So we're going to use it.
- 51:20Then I got a message.
- 51:22Why did we spend $15,000 on that last month?
- 51:25Yeah.
- 51:25Because you told me to use it.
- 51:26It would have been $500 over there.
- 51:28But these surprises are unwelcome.
- 51:30Yeah.
- 51:30And so just elevating that to you visibly, right?
- 51:33There's a page which shows all the running clusters.
- 51:34It shows how much they're costing per hour and how much they've cost total.
- 51:37You can aggregate those costs across users.
- 51:39You can set policies.
- 51:41Hey, I mean, by default, if you leave a cluster running, this is a super common mistake.
- 51:45We'll just shut it off after 20 minutes for you.
- 51:47So there's lots of things that you can do that save you a ton of money if you're doing them correctly.
- 51:51So Coil is just our way of running Python at scale in the cloud in a way that's a bit opinionated.
- 51:58It is the way that I find to be the best way to run, to run that.
- 52:01And it also allows you to be opinionated as a user.
- 52:03You can do it from the comfort of wherever you do your data science, right?
- 52:07So if you like doing it in JupyterLab or Jupyter Notebooks or IPython, you can do it all from there.
- 52:12So we're trying to meet end users where they are.
- 52:15So we will spin up all the AWS stuff for you.
- 52:18And you don't need to go there.
- 52:19And I think one of the biggest pain points, which Matt hit the nail on the head with, is making sure that you can move seamlessly from local computation to cluster computation, where your environments and your data are all matched up, which is super exciting.
- 52:33Maybe I'm doing some work in Jupyter, working with Dask to try to take advantage of the 16 cores that my machine has or whatever.
- 52:42And at some point, I decide we're going to give it more data.
- 52:46We're going to productionize it.
- 52:47And it's going to actually need to be faster or work with more data.
- 52:50I can basically switch where I'm talking to.
- 52:53I can import coil, say, give me a cluster and go here.
- 52:56And that's pretty much what that switch looks like.
- 52:59Yeah.
- 52:59You can run coil from anywhere.
- 53:00You can run Python.
- 53:01In that story, you're actually probably not starting with Dask.
- 53:03You're probably starting with pandas on a very small sample of data.
- 53:06In that same notebook, in that same process, you say, hey, wait, it's time to scale up.
- 53:09Import Dask.
- 53:10Use Dask locally.
- 53:11You know, use your 16 cores.
- 53:13Say, wait, actually, this is running a little slow.
- 53:15I want to kick it up a notch.
- 53:16I want to go to the cloud or go to your local Kubernetes cluster or whatever.
- 53:20And then, you know, you import coiled, hit a button, and now you're running your computation
- 53:24elsewhere on some remote cluster of honor machines, all in the same user flow.
- 53:28You mentioned before, like, hey, are you hosting notebooks?
- 53:30And actually, intentionally, we are not.
- 53:32We do not want to own the user's environment because your user environment is going to look
- 53:38so much different from everybody else's.
- 53:40Maybe you don't use Jupyter.
- 53:41Maybe you use PyCharm or VS Code.
- 53:43Maybe you're actually just like running this in a cron job.
- 53:45We don't want to own everything.
- 53:47We just want to sprinkle in robust, secure parallelism and scalability into your existing
- 53:53workflows, right?
- 53:54So this is, again, in sort of the Dask ethos of invent nothing and being minimally creative.
- 53:58Minimal invitation.
- 53:58Yeah.
- 53:59Minimal creativity.
- 54:02Yeah.
- 54:03The principle of minimal creativity.
- 54:04Yeah.
- 54:05So you don't have to do very much to switch to using coiled.
- 54:07It's a small change.
- 54:09So you talk about the different places I might, like, I could be using JupyterLab, which would
- 54:13be cool.
- 54:13I could be using VS Code or PyCharm, and that would be cool.
- 54:16Another place that seems like it might be really interesting to use this is I'm in a fast
- 54:21API backend, and I want to answer quick with a lot of data, right?
- 54:26It could be, I guess what I'm getting at is like production.
- 54:29Yeah, absolutely.
- 54:29You can use Coil from anywhere you can use Python.
- 54:32What's the story of data?
- 54:33So, you know, one of the reasons I might switch away from just running Pandas or Dask would
- 54:38be I have a lot of data.
- 54:39At the same time, how do I get the data to you guys, to your clusters?
- 54:44Because that, like I said, could be the slow thing moving around a cluster.
- 54:48If you got to, like, get that out of one data center to another, that could even make it worse.
- 54:52Yeah.
- 54:52Well, we often find is that if you have, you know, gigabytes of data on your machine, it's
- 54:57more likely that you've already downloaded the data from somewhere else.
- 54:59You had your data on the cloud or on your local data center, it would have been better
- 55:03just not to download it.
- 55:04And so Coil really helps you run your computations in that remote space very comfortably.
- 55:09So, you know, if you have data on AWS S3, you know, there's no reason to download it, open
- 55:14up Coil, and you can just run on the data that's there.
- 55:16Right.
- 55:16Get an authenticated URL, like a signed URL over to that S3 bucket or something.
- 55:21I mean, you already have the URL, right?
- 55:23Yeah.
- 55:23I mean, what we do is we scrape your local AWS credentials, generate a secure token, pass that
- 55:28to all the Coil workers.
- 55:29So those Coil workers look like you.
- 55:32You then can operate on that data as though you were sitting, again, you have the ergonomic
- 55:36experience of being on your laptop, but you have the computational experience of being on
- 55:40the cloud.
- 55:40And it feels much more proximate.
- 55:42Yeah.
- 55:42Okay.
- 55:43That's really neat.
- 55:44Where do these Kubernetes clusters that run my Dask stuff, where do they live?
- 55:49Yeah.
- 55:49So there's two answers to that.
- 55:51One is you might have your own set of machines on-prem, you want to run Coil there.
- 55:56This is actually really common today with GPU clusters.
- 55:58There's really people buying all the GPU clusters.
- 56:00They don't really know how to handle them.
- 56:01Coil is a great way for that.
- 56:03But if you're on AWS, so we currently support AWS and Kubernetes going to other clouds whenever
- 56:08that makes sense for us.
- 56:09If you're on AWS, they're running on the cloud.
- 56:12We actually don't use Kubernetes.
- 56:13We chose to use Elastic Container Service, ECS, which is like a older, slightly simpler system.
- 56:19They could be running on our account if you want to use our hosted thing, or we can deploy
- 56:23it inside of your AWS account.
- 56:24Okay.
- 56:25Yeah.
- 56:25And I guess if it deploys on your AWS account, you could say, I'd like this to run in the
- 56:29Bahrain data center or the Sydney one or wherever.
- 56:33Sure.
- 56:33I mean, we could also do that anywhere.
- 56:35You can run like our public version of Coil.
- 56:38So we host a public version, which is designed mostly for individuals to increase data access.
- 56:43And that can run on any region.
- 56:45So because we're using systems like ECS, we don't have to maintain Kubernetes clusters
- 56:49everywhere.
- 56:50We can run your code anywhere AWS is running.
- 56:52Can you also run against an arbitrary Kubernetes cluster?
- 56:55So like if I have set up a Kubernetes cluster at Ludnode, and I give you the connection and
- 57:00credentials to the Kubernetes cluster, could I say run it there?
- 57:03Yeah, you would want to run Coil very close to that system so that we have the right access
- 57:07everywhere.
- 57:08Oh, yes.
- 57:08Yeah.
- 57:09Okay.
- 57:09Yeah.
- 57:10That sounds quite neat.
- 57:11It's fairly close conceptually to an infrastructure as a service sort of model in terms of like
- 57:17what I'm buying, what I'm getting, what I'm paying for, but specifically focused on helping
- 57:22data scientists not actually care about the infrastructure.
- 57:24I'm asking those like, what do I pay for?
- 57:26Right.
- 57:26Do I pay for like the CPU cycle computation, sort of like a Lambda, like the function call?
- 57:31Do I, for the machines that are running?
- 57:33That is a super interesting question for which honestly, I don't have a good answer yet.
- 57:37We are like talking about this every week right now.
- 57:40Right now, you either pay, it's free for individuals currently, we're in beta, or like big companies
- 57:45are signing us some check with some other pricing involved.
- 57:48Yeah.
- 57:48I actually recently wrote a blog post on cloud pricing, which I think is broken in lots of
- 57:51ways.
- 57:52Yeah.
- 57:52The obvious thing to do is to charge you a surcharge on top of whatever your cloud provider
- 57:56charges you.
- 57:57If Amazon charges you a hundred bucks, we'll charge you a hundred bucks too.
- 58:00That's kind of like the Databricks model.
- 58:01Databricks charges about a hundred percent markup.
- 58:03AWS charges about like a 40 or 50 percent markup.
- 58:06I actually hate this model because it totally misaligns incentives.
- 58:11So if we do this, then I'm incentivized to make your task workload as inefficient as possible
- 58:17and use as many resources as possible.
- 58:19You know what?
- 58:20Reserved instances and spot instances, we don't need any of that.
- 58:24Give me the most expensive flavor of a large three or whatever the machine name is, right?
- 58:30Like that would be the incentive, which is actually the exact opposite of what you would hope.
- 58:33It's like if Toyota or Ford were incentivized to make you burn more gas, right?
- 58:38It's as though like the tar company has got a kickback from all the oil companies for burning
- 58:42gas and you'd never get the Prius in that situation or the Tesla.
- 58:45And we want to make the Tesla, right?
- 58:47We want to make the super sexy, super ergonomic experience that's highly efficient and saves
- 58:52you money in the long run.
- 58:52So we're still thinking about that.
- 58:54If your listeners have thoughts on the right pricing model, we'd love to hear from you at
- 58:58hello at coil.io.
- 59:00It is tricky.
- 59:01I don't know.
- 59:01I mean, I was just, I'm doing this new project where the video players for my online courses,
- 59:07I would like, so this is a whole like custom player, just HTML5 and JavaScript, Python.
- 59:11And I want when you hover over the little scrubber to like change the time, it to show
- 59:15you a preview of each thing.
- 59:17And I, okay, well, what I can do is I can re-encode all the videos really small and then
- 59:22like put a little hidden player and like just set the time and move that around.
- 59:25It all works beautifully, but I've got 200 hours of high def video that I need to turn
- 59:31into that.
- 59:32And so I literally sat down and said, okay, well, how much is it going to cost me to feed
- 59:35that through elastic transcoder at AWS and in bandwidth and get it back and get it.
- 59:40So I actually have that as those pictures I could show like, all right, that's going to
- 59:44cost about five or $600.
- 59:45All right.
- 59:46This feature, having the data to back this feature is worth $600 to me.
- 59:50I'll do it.
- 59:50But I just think this, this thinking about how do I pay for a thing and the trade-offs is
- 59:55really interesting.
- 59:57Yeah, no, I'm putting on my sales hat for a second too.
- 1:00:00Like that is a very clear win where like you need video.
- 1:00:03It will give you this much money in sales.
- 1:00:05Great.
- 1:00:06It makes sense.
- 1:00:06When you're talking about accelerating data science in a company, like the value that you're
- 1:00:11providing is so far removed.
- 1:00:13Yeah.
- 1:00:13So like, you know, if I was going to sell you an efficient refrigerator, I would say,
- 1:00:17Hey, look, it's going to save you, you know, $200 in electricity bill over the year,
- 1:00:21over 10 years is $2,000.
- 1:00:23Great.
- 1:00:24Pay me a thousand dollars.
- 1:00:25That's a very clear calculus.
- 1:00:27Yeah.
- 1:00:27But when it's like, Oh yeah, I'm going to help you scale Python.
- 1:00:29That's like not quite as clearly valuable.
- 1:00:31We need to get into a longer conversation of like, well, why do you care about Python?
- 1:00:34Why do you care about data science?
- 1:00:35How much value does that bring to you?
- 1:00:37What actually are you trying to solve for?
- 1:00:39Oh, you're trying to increase, you know, retention in your customers.
- 1:00:43Like it's like, you have to get a lot more in depth with your customers to figure out what
- 1:00:48the value proposition is of like more ergonomic scaled Python.
- 1:00:52You get into things like, well, what if we could get your recommender system, the next
- 1:00:57version into production a month sooner?
- 1:00:59Yeah.
- 1:01:00How much money would that get you?
- 1:01:01And what if we could get you answers 100 milliseconds quicker?
- 1:01:06How many fewer bouncing users would you have leaving your site?
- 1:01:09Like these are, they're meaningful, but they're, they're not as clear cut.
- 1:01:13So they are interesting discussions.
- 1:01:14I think.
- 1:01:15I think you've raised several important concerns there.
- 1:01:17And one in particular is like, there are a whole bunch of companies who have hired lots
- 1:01:21of data scientists.
- 1:01:22Cause that's what you do these days.
- 1:01:23And they actually haven't seen the value delivered.
- 1:01:25They've got data scientists who are getting, you know, really serious, serious salaries.
- 1:01:29And the data scientists will recognize the value of code, but the economic buyer in an organization
- 1:01:34will be like, wait a second, we're paying you all this money.
- 1:01:36Like, why are we paying more for tooling?
- 1:01:38We thought you used all this OSS stuff.
- 1:01:40So there's a slight mismatch there as well, which is something culturally that we're, we're
- 1:01:45working to figure out as well.
- 1:01:46Well, I think just put it on my, like I used to work at big company X or whatever thinking
- 1:01:52hat, you know, from the people who make the decisions, there's also avoids security leaks
- 1:01:58and downtime.
- 1:02:00And, you know, there's, there's not just always the positive selling point or the positive advantages.
- 1:02:05There's the, you know, you were avoiding these three really bad potential outcomes by productizing
- 1:02:11your data science and you can do it quicker.
- 1:02:13Right.
- 1:02:14So these are also valuable.
- 1:02:15Yeah.
- 1:02:16Now the things that we've seen that work really well so far are what you just said.
- 1:02:19I mean, actually the biggest one is Databricks is expensive and they like, they're expensive,
- 1:02:23not in a good way.
- 1:02:24They're expensive because we leave machines on all day.
- 1:02:26If it was a better experience, that won't happen.
- 1:02:28And so we want that.
- 1:02:29We want to reduce our costs.
- 1:02:30It must feel really bad to just waste money, right?
- 1:02:32To literally just leave it running and not actually even because I, it just took a while.
- 1:02:37Right.
- 1:02:37Yeah.
- 1:02:37There's what Hugo was talking about of like a common theme we hear about is like, I've got this
- 1:02:42data science team.
- 1:02:43They use pandas and Python and PyTorch on a single machine.
- 1:02:45I've got like the scalable data engineering team and there's a lot of crosstalk between
- 1:02:50them.
- 1:02:50That's really slow.
- 1:02:51And we want to be able to allow our data science team to go directly to scale without having
- 1:02:56to interface with a different team.
- 1:02:57Because that communication, just that iteration cycle is just killing our performance.
- 1:03:02Another common sort of theme is, oops, we bought a bunch of hardware.
- 1:03:05We bought like, you know, 50 GPU boxes and we have no idea how to use them.
- 1:03:09Well, like there's only so many TensorFlow Keras runs we can do.
- 1:03:12We've seen like the Dask Rapids XGBoost thing.
- 1:03:15We want that.
- 1:03:16But like, we just have like a bunch of hardware sitting in a rack somewhere.
- 1:03:19Can you help us sell a product to manage that rack for us and give us a lot of utilization,
- 1:03:25a lot of value out of our pre-existing purchase?
- 1:03:28And those are the things that really tend to hit home.
- 1:03:30Well, I do hope that you guys have a lot of success because I'm always excited to see some
- 1:03:36interesting company taking a really powerful open source project and just adding value to
- 1:03:43that space and being successful.
- 1:03:45So it seems like you're on a good track.
- 1:03:47Thanks.
- 1:03:48Yeah.
- 1:03:48We've been on the track for a while.
- 1:03:49I mean, Dask is sort of unique among open source projects in the Python space.
- 1:03:52We've always had really good funding.
- 1:03:55Like there are a lot of funded Dask developers.
- 1:03:57And it's because we've always been sort of scrambling a little bit to get money.
- 1:04:00And this is maybe just the next step in that process.
- 1:04:02Yeah.
- 1:04:02Cool.
- 1:04:03We're going a little long in time, but I did want to just ask you really quickly some meta
- 1:04:07questions.
- 1:04:07So are you guys using Coiled to build Coiled?
- 1:04:11Is there like, what's the Python inside story, the Coiled Dask inside
- 1:04:15story?
- 1:04:16Right now we're not.
- 1:04:18This actually did come up recently.
- 1:04:19We actually find ourselves building a lot of conda environments for our users.
- 1:04:23And that is actually something that we've got, you know, web backend.
- 1:04:26We've got the scalability need.
- 1:04:28Dask is like an obvious way to scale that out.
- 1:04:31Currently we're using a single machine for that.
- 1:04:32Our needs are that big.
- 1:04:33But yeah, that would be the next step as a build farm.
- 1:04:36And you guys are using Django.
- 1:04:37Is that right?
- 1:04:38Sort of the API layer?
- 1:04:39Yeah.
- 1:04:40So Coiled actually looks kind of like a normal vanilla Python web application.
- 1:04:45It's, you know, Django and Postgres and, you know, Amazon ECS, as we mentioned.
- 1:04:49And it's been great.
- 1:04:50It's actually, it's my first time using Django.
- 1:04:51I'm like a decade or two late.
- 1:04:53But it's been fantastic to seeing how much is ready for us out of the box.
- 1:04:57So yeah, couldn't be happier.
- 1:04:59Yeah, that's great.
- 1:05:00And it sounds like there's a non-trivial team size.
- 1:05:04I know a lot of people are saying I'm possibly looking for remote work.
- 1:05:07Is that a thing that you guys are doing?
- 1:05:09Are you looking for more people?
- 1:05:10Are you kind of steady state until you get a little farther?
- 1:05:11What's the status there?
- 1:05:13Yeah.
- 1:05:13So Coiled is a fully remote company.
- 1:05:15We're actually born in the era of COVID, which is fun.
- 1:05:18We've always been remote.
- 1:05:19We've always worked remotely.
- 1:05:20Yeah.
- 1:05:20We're maybe like five or six full-time and two or three part-time right now.
- 1:05:25Right now, I think I actually kind of like staying small.
- 1:05:28We raised a bunch of money, but we're sort of not in a hurry to burn it.
- 1:05:31By the time this episode airs, yeah, I wouldn't be surprised if we're looking for more folks.
- 1:05:34If you go to coil.io slash jobs, I think, or just coil.io, we'll have active job listings.
- 1:05:40Yeah.
- 1:05:41And that's both data science folks and web folks and DevOps people.
- 1:05:45It's a nice group of needs.
- 1:05:47Excellent.
- 1:05:47Well, like I said, really interesting project.
- 1:05:49And I hope you guys make a lot of progress with it.
- 1:05:51Now, before you get out of here, let me ask you the final two questions.
- 1:05:54If you're going to write some Python code, what editor do you use?
- 1:05:57Do you want to go first?
- 1:05:58I use JupyterLab these days.
- 1:06:00Right on.
- 1:06:00Matthew?
- 1:06:01So if I write Python code, I'm actually going to give me a cheeky answer.
- 1:06:04I'll say GitHub.
- 1:06:05So most of the Python code that I write today is indirect.
- 1:06:08I mostly try to nerd snipe other people into writing code.
- 1:06:11So maybe this is like the community maintainer's answer.
- 1:06:14Yeah.
- 1:06:14GitHub and I'll say, I'll put in a plug for whereby as well,
- 1:06:18which is my favorite video conferencing tool.
- 1:06:20Oh, super.
- 1:06:21Okay.
- 1:06:21And notable PyPI package.
- 1:06:23We've already got a pip install desk, pip install coiled.
- 1:06:27Right?
- 1:06:28Those are good ones.
- 1:06:28But, you know, something like, oh, this is really cool.
- 1:06:30It's not super well known.
- 1:06:32Maybe people should check out X.
- 1:06:34I'll point to Napari, which I mentioned earlier.
- 1:06:36Yeah.
- 1:06:36The search image viewer.
- 1:06:37It's really cool.
- 1:06:38It's actually fun seeing a rich client application written in Python.
- 1:06:41Didn't know that was cool anymore.
- 1:06:43I'll point to Snorkel, which I mentioned earlier, which is for weak supervision.
- 1:06:47And it helps you build training data.
- 1:06:49I think training data is one of the biggest challenges we have in the ML space.
- 1:06:53Like I think scale AI raised a hundred million dollars last year or something like that.
- 1:06:58And they still hand label data for people.
- 1:07:01Like they're called scale AI, but they hand label data.
- 1:07:05ML Turk.
- 1:07:06Yeah.
- 1:07:06Mechanical Turk is still like a huge thing.
- 1:07:08Right?
- 1:07:09So any ways we can figure out to do this programmatically is really cool.
- 1:07:13And the Snorkel API allows domain experts to come in and write using basic functions and decorators,
- 1:07:19heuristics for labeling data, which is super cool.
- 1:07:22That's what I'll shout out today.
- 1:07:23All right.
- 1:07:24Super cool.
- 1:07:24I guess I'll throw in as well.
- 1:07:26Missing no.
- 1:07:27Missing N-O, which is a quick visualization for missing data and like pandas and stuff like that.
- 1:07:33Ask what's missing.
- 1:07:34You'll get a cool little graph.
- 1:07:36Like usually if the state is missing, also, I don't know, phone is missing.
- 1:07:40Like all sorts of cool stuff.
- 1:07:41So people can check that out as well.
- 1:07:42All right.
- 1:07:43So final call to action.
- 1:07:44People are interested in Dask.
- 1:07:46They're interested in Coiled.
- 1:07:47They want to parallelize some things.
- 1:07:49What do you guys tell them?
- 1:07:50I would love.
- 1:07:51So I've got a call to action for Coiled.
- 1:07:53Matt may have one for Dask.
- 1:07:55All the features we've just described of Coiled in rapid development.
- 1:07:58And we'd love to involve anybody who likes to break things at scale in this development cycle.
- 1:08:03So go to Coiled.io, sign up for our beta.
- 1:08:06And take our product for a test drive, crash it, and let's figure out how to build it together.
- 1:08:10So I'd love to involve you in that conversation.
- 1:08:12Excellent.
- 1:08:12Matthew?
- 1:08:13I'll have you go with that one.
- 1:08:14I'm actually going to...
- 1:08:15Sorry, I'm going to go out of thinking this.
- 1:08:16Mention one thing on that.
- 1:08:17It is super fun to run a beta.
- 1:08:21As an open source software developer, I'm used to never seeing how people use my software.
- 1:08:26And running a beta on a public service, there's a bunch of creepy spyware I can put on our website,
- 1:08:31which tells me exactly what you've done, which we'll take off at some point.
- 1:08:35It is amazing getting this kind of immediate feedback.
- 1:08:38Yeah.
- 1:08:39A different level of visibility, right?
- 1:08:41Into what people use and telemetry and whatnot, right?
- 1:08:44So yeah, I'll just echo Hugo.
- 1:08:45Go plan with a beta.
- 1:08:47It's super fun, mostly for us, but also for you.
- 1:08:50And yeah, you can play with that on the cloud.
- 1:08:52It's cool.
- 1:08:53Is there a free thing I can do?
- 1:08:55Everything is free right now.
- 1:08:56Yeah.
- 1:08:56Yeah.
- 1:08:56We'll limit how much you can spend, because that's the features that we care about.
- 1:08:59But yeah, I think we just limit you to 100 cores at a time.
- 1:09:03So you can't go totally wild, but you can do lots of fun things.
- 1:09:05Just 100 cores, huh?
- 1:09:07That's awesome.
- 1:09:07Just 100 cores.
- 1:09:09Yeah, that's really cool.
- 1:09:10All right.
- 1:09:10Well, you guys, thanks again for being on the show.
- 1:09:12Good luck with Coiled.
- 1:09:14It's a nice, natural extension of Dask, I think.
- 1:09:18So excited to see you doing it.
- 1:09:19Yeah.
- 1:09:20Thanks, Michael.
- 1:09:20Go start for the beta.
- 1:09:21Thanks so much for having us on the show, Michael.
- 1:09:23It's always fun.
- 1:09:24Yeah, you bet.
- 1:09:25Bye, guys.
- 1:09:25This has been another episode of Talk Python To Me.
- 1:09:29Our guests on this episode were Matthew Rockland and Hugo Bowne Anderson.
- 1:09:33And it's been brought to you by Brilliant.org and Monday.com.
- 1:09:38Brilliant.org encourages you to level up your analytical skills and knowledge.
- 1:09:41Visit talkpython.fm/brilliant and get Brilliant Premium to learn something new every day.
- 1:09:48Build your idea for an app and get it in front of hundreds of thousands of users on day one.
- 1:09:52Start building today at the Monday.com marketplace by visiting monday.com slash python.
- 1:09:58Want to level up your Python?
- 1:10:00If you're just getting started, try my Python Jumpstart by Building 10 Apps course.
- 1:10:06Or if you're looking for something more advanced, check out our new async course that digs into all the different types of async programming you can do in Python.
- 1:10:13And of course, if you're interested in more than one of these, be sure to check out our Everything Bundle.
- 1:10:18It's like a subscription that never expires.
- 1:10:20Be sure to subscribe to the show.
- 1:10:22Open your favorite podcatcher and search for Python.
- 1:10:25We should be right at the top.
- 1:10:26You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on talkpython.fm.
- 1:10:35This is your host, Michael Kennedy.
- 1:10:37Thanks so much for listening.
- 1:10:38I really appreciate it.
- 1:10:39Now get out there and write some Python code.
- 1:10:41I really appreciate it.
- 1:11:02Thank you.