Latest / Talk Python To Me / #256: Click to run your notebook with Binder
Transcript
- 0:00Have you come across a GitHub repo with a Jupyter notebook that has a run in Binder button?
- 0:04It seems magical. How does it know what dependencies and external libraries you might need?
- 0:09And where does it run anyway? Like all technology, it's not magic. It's the result of hard work by
- 0:15people behind the project. In this case, mybinder.org. On this episode, you'll meet Tim Head,
- 0:20who has been working to bring Binder to us all. Take a look inside mybinder.org,
- 0:24how it works, and the history of the project. This is Talk Python To Me, episode 256, recorded
- 0:30February 20th, 2020. Welcome to Talk Python To Me, a weekly podcast on Python, the language,
- 0:50the libraries, the ecosystem, and the personalities. This is your host, Michael Kennedy,
- 0:54follow me on Twitter where I'm @mkennedy, keep up with the show and listen to past episodes at
- 0:59talkpython.fm, and follow the show on Twitter via at Talk Python. This episode is brought to you by
- 1:04Linode and Talk Python Training. Be sure to check out what the offers are for both of these segments.
- 1:10It really helps support the show. Tim, welcome to Talk Python To Me.
- 1:14Hi, Mike.
- 1:15It's great to have you on the show, and I'm really looking forward to learning more about Binder.
- 1:18It's fantastic to be on the show and to talk to you about Binder, what we do, how it came to be,
- 1:25and hopefully how it will continue forever in the future.
- 1:29I hope so. It's definitely going to continue in some sense, no matter what, where GitHub is taking
- 1:37all of the public repositories and encoding them on tape and putting them in some vault in some Nordic country.
- 1:44I can't remember exactly where, but it's probably already been archived there for the world.
- 1:50So it's definitely going to continue, but I hope it continues actively as well.
- 1:54Yeah, that sounds good. We have a contributor who lives in Norway, so maybe we should try and organize
- 2:02a trip to wherever this vault is.
- 2:05Yes, exactly. I can't remember where it is, which country it's in, but yeah, it's up there.
- 2:10It's got to be near Norway. Pretty cool.
- 2:12All right, now, I'm definitely looking forward to talking about Binder and learning more and a lot
- 2:17of the behind-the-scenes stuff. But before we get to all that, let's just start with your story.
- 2:21How did you get into programming and Python?
- 2:23So when I was a teenager, I wanted to do what everybody 20 years ago wanted to do, is build websites.
- 2:31And at the time, my dad told me, oh yeah, maybe you should check out Python.
- 2:38And then they had this fantastic web server called Zope.
- 2:42And then I learned how to use that and make forum software and other little websites like that.
- 2:50And that's how I got into Python.
- 2:52And if you wanted to be mean, never really learn any other programming languages.
- 2:58If you don't have to.
- 3:00I think there's value in other programming languages.
- 3:04But people who know Python are in a bit of a special place because it's so widely used
- 3:09and accepted, you're not forced to go learn something else necessarily.
- 3:12Other than JavaScript, everybody's forced to learn JavaScript if you want to do anything on
- 3:16the web.
- 3:16Yeah, that's right.
- 3:17So I know a little bit of JavaScript.
- 3:19And I was a physics student at university and then worked at CERN as well as a physicist.
- 3:29And there we write a lot of C++.
- 3:31So staring at assembler code is the other thing I do.
- 3:36Yeah.
- 3:36So are you still working at CERN?
- 3:39So no, I'm not an academic anymore.
- 3:42You've hung up your tweed jacket and your pipe?
- 3:45Yeah.
- 3:46Yeah.
- 3:46Actually, I'm not sure if you get those before you become a professor.
- 3:50Maybe only when you get a tenure, maybe full professor, you get the hat at the end.
- 3:55Yeah.
- 3:55Yeah.
- 3:56Yeah.
- 3:57So I think three or four years ago, I left academia and thought there was no better thing
- 4:04to do in your life than be unemployed and moved to Switzerland on the same day.
- 4:09And I started my own business, started my own small consulting company around data science,
- 4:16machine learning, that kind of stuff.
- 4:18And today I work for a small company in Zurich that is called Scribble.
- 4:24So like you scribble on a piece of paper and we do electronic signatures.
- 4:30So if you need to sign documents which require legal signatures, you should come to us.
- 4:37Okay.
- 4:38Yeah.
- 4:38Yeah.
- 4:39Super cool.
- 4:39What was it like working at CERN?
- 4:41Oh, it was one of the best places I've worked in my life.
- 4:44There's a reason the competition to work there is so crazy.
- 4:48Yeah.
- 4:49It's fantastic.
- 4:50It seems like a really amazing place and it's one of the true cutting edge places where science
- 4:56is happening these days.
- 4:57And they also didn't set the atmosphere on fire or create a black hole or anything like
- 5:02that.
- 5:02So it was all good.
- 5:03Yeah.
- 5:04It's a great place to work and I really, really enjoyed it.
- 5:08But at some point decided it wasn't what I wanted to keep doing.
- 5:12Sure.
- 5:13And so I switched to do something else.
- 5:16Yeah.
- 5:16You know, I said I was in academics for a while.
- 5:19I'm working in math and I really loved it.
- 5:22But in the end, I felt like I could just have more impact and just do more interesting,
- 5:26concrete stuff with programming than I could with, you know, just math ideas.
- 5:31Yeah.
- 5:32Yeah.
- 5:32I've been there.
- 5:33I've been there with you.
- 5:33Now, let's start this conversation at the high level before we dive down into Binder,
- 5:40which is a tool we're working with and hosting notebooks in a special way.
- 5:45Hopefully I got that roughly right.
- 5:47Yeah.
- 5:48Yeah.
- 5:49That's about right.
- 5:50Cool.
- 5:50But let's start at a high level.
- 5:52Just like, what's the state of notebooks today?
- 5:54Now, just a little background on me.
- 5:56If you don't know, I do more on the website, database side, random utility side.
- 6:03Not as much data science.
- 6:05Right.
- 6:06Although I do pay attention to whatnot.
- 6:08It's not where I live day to day.
- 6:10So I'm genuinely asking, like, what's the state of notebooks today, do you think?
- 6:14I think it is more exciting than it's ever been.
- 6:18When notebooks started and, you know, you can discuss on who invented them.
- 6:23But for a long time, it was a tool for describing what you were doing to a human and to the computer simultaneously.
- 6:32Because you have the narrative text for humans and the computer text code for the computer.
- 6:40And now people are, like, going crazy, you know?
- 6:45People are trying to automatically turn notebooks into web applications.
- 6:50People are wanting to run, like, only small parts of their notebook and make it look like it's within a normal editor.
- 7:00And it's like a text file kind of thing.
- 7:03How can we make a notebook, which...
- 7:06Right, right.
- 7:06Both, like, PyCharm and VS Code have that kind of flavor, right?
- 7:11There's, like, a special comment that separates the cells.
- 7:13But you're kind of in a text file, in one of their views, at least.
- 7:16Exactly, yeah.
- 7:17And I don't use it very much, so I'm not sure.
- 7:20But I think you can then just highlight lines and say, run these lines in my file.
- 7:26Right.
- 7:27Which, I mean, yeah.
- 7:29You can imagine doing all sorts of completely crazy stuff that way.
- 7:33Yeah, it's pretty exciting.
- 7:34And there's a lot of online hosted places as well, right?
- 7:38Google and Azure both have ways in which you can log into your notebooks.
- 7:43And it may cost some money.
- 7:44They may be free.
- 7:45It depends, right?
- 7:46Yeah.
- 7:46So there's Google CoLab, Azure Notebooks.
- 7:52Various startups offer it as a service.
- 7:56There's a service called CoCalc that offers hosted notebooks.
- 8:01So there's a lot of people out there who do it.
- 8:05And mybinder.org is one of them.
- 8:08Okay.
- 8:08I guess it's probably a good time to talk about Binder and, like, where does it fit in this world?
- 8:14So Binder, what we offer people is that you send a link to somebody else.
- 8:20And they click on it.
- 8:21And they click on it.
- 8:21And if you did everything right, they can just run whatever code you wanted them to run.
- 8:29For example, you wanted them to try out.
- 8:31It should just work.
- 8:32And it runs in their browser.
- 8:34So they can do it from their tablet, from their phone.
- 8:37If they want to use a laptop, they can use a laptop as well.
- 8:40But they don't have to install anything.
- 8:42Do anything like this.
- 8:44And in that sense, it's just another notebook hosting service.
- 8:49The twist is that you cannot create an account.
- 8:54There is no way for you to make an account with us.
- 8:57Okay.
- 8:57And that means you can just send the link to everybody and it will just start, which I think is fantastic.
- 9:05So people use it a lot, for example, for workshops, because everybody knows that a tutorial or workshop they went to where they spent the first half of the workshop trying to get everybody set up.
- 9:17Right.
- 9:17And with a service like mybinder.org, you can send them all the link.
- 9:23And if the class is not ginormous, they follow the link and then they have something that they can use for the workshop.
- 9:31Then you can spend maybe the end of the workshop teaching them how to set it up locally.
- 9:35But you can get going.
- 9:37And binder is something that you could set up locally?
- 9:40Or maybe they would focus more just on here's how you set up this particular project with these notebooks and these requirements.
- 9:46I guess either, huh?
- 9:48But more likely the latter.
- 9:49The answer is it depends what you want to do.
- 9:52Imagine, like, how would I set up something that I can use for my course?
- 9:57I would create a GitHub repository and I would put, for example, a requirements.txt in it.
- 10:03And as human instructions, I would write, please run pip install minus r requirements.txt.
- 10:12And this is such a common pattern that for mybinder.org, we built a tool that goes looking for these files and says, aha, I found a requirements.txt.
- 10:23I bet you the author of this repo wanted us to run pip install minus r requirements.txt.
- 10:30And in an overwhelming number of cases, that is what the author wanted us to do.
- 10:35So that's what we automate.
- 10:37And so the end goal is that we didn't invent any new way of setting up your software.
- 10:44We tried to just spot the patterns of what lots of people are already doing.
- 10:50That makes it easy to automate.
- 10:52But it means also it should be fairly straightforward to then do it locally.
- 10:57Right.
- 10:58Because as long as you follow the same basic patterns as was intended anyway, then you're good.
- 11:03But you get to avoid all of the challenge of, oh, wait, I don't have Python.
- 11:07Or when I type Python, it says that print has these weird semicolon or these parentheses or, you know, some weird thing.
- 11:15It's like print is not a function or I don't know, whatever it's going to say, because they have Python too.
- 11:20And they didn't know that when they type Python, they got the wrong Python, but they don't have permission to install the right Python.
- 11:27And there's just like, yeah, there's just layers of these challenges.
- 11:31And the problem is often like that's the first thing to hit people.
- 11:36Right.
- 11:36Like in a couple of weeks, they're probably fine to be addressing these issues ago.
- 11:40Yeah, I understand what's happening.
- 11:42I'm going to fix this.
- 11:43But that's not what you want to be.
- 11:45Welcome to Python.
- 11:46Here's your four problems to struggle through and set up.
- 11:49Right.
- 11:50Exactly.
- 11:50And it takes an infinite or seemingly infinite amount of time to debug all these problems.
- 11:56If you have a group of 30 people, I guarantee there is going to be people there who have a problem you've never seen before.
- 12:02And now as the person trying to run the course, you're like, oh, my God, we're going to do some life debugging.
- 12:09That's not what I wanted to show.
- 12:11Yeah, exactly.
- 12:12It's the way that a lot of training sessions begin or a lot of workshops begin.
- 12:15It's definitely not a good impression for the students.
- 12:19And it's certainly not productive time.
- 12:21So this is really nice.
- 12:23Right.
- 12:23So you can set this up.
- 12:24Typically, I don't know, all the workshops and trainings I did all had GitHub repos.
- 12:29And it's like, hey, here's your GitHub repo for the stuff we're giving you.
- 12:32Here's the repo.
- 12:33Here's the part of the repo where it has the code that you're given.
- 12:36Here's the code where I'm going to write and I'll put it in there later.
- 12:39Get started.
- 12:40And that's a perfect fit for Binder, right?
- 12:42Exactly.
- 12:42Yeah.
- 12:43And we started a lot of people who work on Binder come from the Project Jupyter ecosystem.
- 12:53So there's a strong focus on notebooks.
- 12:55But now there are examples where you've replaced the UI of notebooks with VS Code because VS Code is also just a web app.
- 13:04Actually, you can start if you wanted to.
- 13:07You could start a repo, which to the users, presenters of it, it's just VS Code in the cloud somewhere.
- 13:15Oh, no kidding.
- 13:16Now, I knew VS Code did that.
- 13:18I knew that that's something they announced under the term Visual Studio Online.
- 13:23And also Coder.com was doing that as well.
- 13:27But how do you guys do that?
- 13:30Like, I guess VS Code will let you set that up for your own environment, not just for theirs.
- 13:36Is that how it works?
- 13:37So we actually take advantage of the very hard work Coder.com, I think.
- 13:44I'll give them a shout out because I think they're the people who did all the work for the VS Code port or modifications.
- 13:53I'm not sure what you call it.
- 13:54It does run as a web app.
- 13:58Right, right.
- 13:58Coder.com is definitely the first experience that I've seen where that was happening.
- 14:04Yeah.
- 14:04Yeah.
- 14:05And they publish their hard work as open source.
- 14:08So we allow people to install that or trigger that being installed in their binder.
- 14:16And then you can use it as an alternative UI.
- 14:21So that was one of the things that I was thinking of here as we were exploring some of the use cases and how this is interesting and useful.
- 14:29Right.
- 14:29So it makes a lot of sense that this is a lot of sense.
- 14:38So it's just a matter of where the server executes its kernel and whatnot.
- 14:41Right.
- 14:42So that's pretty easy to do, relatively speaking.
- 14:45But if it's pure Python code, it's a different kind of challenge, right?
- 14:49Because then how do you edit those files?
- 14:51How do you interact with them?
- 14:52How do you get a terminal into the environment?
- 14:54It's a lot more multi-step, it felt like.
- 14:57Yeah.
- 14:58If you could fire up like a Visual Studio Code in the cloud instance, right?
- 15:03That it's got the little terminal.
- 15:05That terminal runs inside the container that's hosting it and so on.
- 15:09I think that's pretty awesome.
- 15:10That really expands the appeal of Binder, I think.
- 15:13Yeah.
- 15:14Yeah.
- 15:14And you get a lot of the language server extension, the full, like, what is it?
- 15:25Hints.
- 15:26How to complete the function, what the arguments are.
- 15:29All this stuff.
- 15:31If you know how to install the plugins or enable the plugins you need, then you get all that good stuff.
- 15:38This portion of Talk Python To Me is brought to you by Linode.
- 15:43Whether you're working on a personal project or managing your enterprise's infrastructure,
- 15:48Linode has the pricing, support, and scale that you need to take your project to the next level.
- 15:52With 11 data centers worldwide, including their newest data center in Sydney, Australia,
- 15:57enterprise-grade hardware, S3-compatible storage, and the next-generation network,
- 16:03Linode delivers the performance that you expect at a price that you don't.
- 16:08Get started on Linode today with a $20 credit, and you get access to native SSD storage,
- 16:13a 40-gigabit network, industry-leading processors, their revamped cloud manager at cloud.linode.com,
- 16:19root access to your server, along with their newest API, and a Python CLI.
- 16:23Just visit talkpython.fm/Linode when creating a new Linode account,
- 16:28and you'll automatically get $20 credit for your next project.
- 16:31Oh, and one last thing.
- 16:32They're hiring.
- 16:33Go to linode.com slash careers to find out more.
- 16:36Let them know that we sent you.
- 16:38Do you set that up as part of, as a project owner?
- 16:44When you create your binder setup, can you say, this is going to be a Python plus JavaScript thing,
- 16:49so we're going to have to make sure those extensions come along for the ride?
- 16:52Yeah.
- 16:52Yeah.
- 16:53So you, as the owner of the GitHub repo, you specify that you would also like to have,
- 16:59I think it's called code server, the executable.
- 17:03You would like to have that installed as well.
- 17:06And then you format the link you share with people slightly differently so that we know to send you to this other UI.
- 17:13And then, yeah, you need to also, if you know which plugins and so on to install,
- 17:19then during the building phase of your binder, you have to add a few lines that we can execute to do all that stuff.
- 17:28Sure. Okay. Well, that sounds very flexible and so on.
- 17:32I want to talk about getting the launch binder, launch this in binder on your GitHub and all the details of how you do this.
- 17:39But really, just since we're still kind of beginning, let me just ask you real quick,
- 17:42how did you get started with binder in this whole project anyway?
- 17:44That's a good link back to my previous life at CERN, where as a student and as a postdoc also,
- 17:53we write so much software to analyze our data and it does fairly complicated stuff.
- 17:58And so when you see somebody else doing something cool, you're like, oh, I wish I could do that as well.
- 18:05But if you ask anybody in particle physics or at CERN to share their code,
- 18:12and then it only takes you, let's say, a week to get it running, doing what they were doing.
- 18:18You get this thing, you compile that from source, and then you do this,
- 18:22and oh, you got to get this right version of the header.
- 18:25Yeah. And so if it only takes a week, people are super impressed and super happy.
- 18:30But for me and a bunch of my friends, it was just, we were like, no, this has to take like an hour maybe.
- 18:37It's too long. If we just spend a week to figure out how to run it before we start modifying it, it's too long.
- 18:45So at some point, we decided we need to do something about it or shut up complaining.
- 18:52Yeah. Yeah. That's kind of my philosophy as well.
- 18:55It's like, it's fine to complain and criticize, but it should come with a, but you should do this instead.
- 19:00Or here's how we're making it better, right?
- 19:02That's great.
- 19:03So fortunately, there was a, or there's a yearly hackathon hosted at CERN called the WebFest.
- 19:09And we're like, okay, going to take three days to try and build something.
- 19:13And at least we will have tried.
- 19:16So we started and the idea was to build something very similar to what we now call binder.
- 19:23What was exciting is that on the Saturday, so it's a weekend event on the Saturday morning or afternoon.
- 19:30I read an email from a Jeremy Freeman, who is the inventor or creator of my binder.org announcing my binder.org.
- 19:41I was like, oh, that sounds very much like what we're trying to do here.
- 19:45So from day one, that was, yeah, it was exciting to see that other people are trying to do the same thing.
- 19:52Yeah. For me, I then took a detour, just doing some more science and lost my, my connection to this.
- 19:59And I think it was three years ago, two or three years ago, a PyCon, somebody said, we're trying to restart my binder.org.
- 20:11We've seen you did something similar.
- 20:13Do you want to be involved?
- 20:15Okay.
- 20:15And since then, I've not managed to escape.
- 20:17They pulled you back in.
- 20:20Wonderful.
- 20:20Cool.
- 20:21Well, yeah, I mean, that totally makes sense.
- 20:23It sort of fits with that overall theme of reproducible science and that kind of stuff, right?
- 20:28Yeah.
- 20:29If you can't create the environment to rerun or play or experiment with the code, well, that's a pretty bad shot against reproducibility.
- 20:37Yes.
- 20:38I will leave it at that.
- 20:40For sure.
- 20:42All right.
- 20:42All right.
- 20:42So the way that I learned about binder is I would go to various GitHub repos and I would see a little launch binder badge, right?
- 20:53Like GitHub has all these little cool, I guess it's not really GitHub.
- 20:56Like you can just put all these little badges on top of your readme that appear.
- 21:00I guess it's a convention in GitHub.
- 21:03It doesn't come from GitHub.
- 21:05And it might say, this thing requires Python 3.5 or above, or the continuous integration is working, or there's 94% code coverage, or it could say, click here to launch this project in binder.
- 21:18Now, to me, that was always really impressive because, you know, it's not enough to just take the code from the repository or the notebook from the repository and just run it.
- 21:28Right.
- 21:29As you described, there's all these requirements potentially, right?
- 21:32Like if I'm using SciPy, you know, maybe that's not installed or more likely using some edge package that nobody knows about, or you need a certain version or whatever, right?
- 21:43There's a lot of specific requirements that have to happen.
- 21:46So to me, it just looked kind of like magic.
- 21:48Like, oh, you can click on this button, and then this thing runs, but I have no idea how it might run because it seems like the environment where it's going to run should be so specific.
- 21:58So how does this happen, right?
- 22:00And I guess, yeah, give us the rundown of how that happens.
- 22:03There's a pretty good little UI that you can get started with over at mybinder.org that talks you through it.
- 22:12But let's talk about what happens there.
- 22:13We use a little tool we built called repo2docker, and it does exactly what the name suggests.
- 22:20It will take your repository and will look at it and say, if there's an environment.yaml, it will go, okay, we need to install Python.
- 22:32Well, we need to install Conda, and then we need to run whatever the Conda command is to get all the stuff which is listed in the environment.yaml installed.
- 22:44And that really is 80% of what repo2docker does is it will look for these very well-known files.
- 22:53In the Python world, it's requirements.txt, environment.yaml, setup.py.
- 22:58Does it know, like, pipfile and pyproject.toml and those things?
- 23:04We have some support for both of those as well.
- 23:07It doesn't seem to be used as much.
- 23:11So I would say it's something that could do with more love.
- 23:15Sure. Okay.
- 23:16And then we have the same for the R community.
- 23:19They have a whole bunch of magic files that the community has agreed on using as a format for specifying things.
- 23:27The Julia community.
- 23:28Because the notebooks will support a bunch of different kernels these days, a bunch of different languages and runtimes.
- 23:33And so I guess one of the questions is, when I create a Python project, I don't typically tell it, you're a Python project.
- 23:42I mean, I guess the closest I ever get to that is I will have the gitignore be the Python default gitignore.
- 23:50But other than that, when I create a new project, I don't tell it it's Python.
- 23:53I just put Python files in there.
- 23:54But I might also put JavaScript files or less files or other things that could confuse you guys.
- 24:00So how do you, when you look at one of these projects, know, oh, this one's Python, that one's Julia?
- 24:05We don't try and guess that so much as we have a list of files that we recognize.
- 24:11So like, yeah, requirements.txt.
- 24:16And when we see that, we say, okay, now add like the commands to install Conda, add the commands to install these pip packages to a Docker file.
- 24:29And we build a Docker container for you.
- 24:31I see.
- 24:31So for example, if you see like a requirements.txt, you're like, aha, Python.
- 24:36Exactly.
- 24:36We don't try and like look at the files in the repo in general and try and deduce.
- 24:42Okay, there's 80% Python files and 20% JavaScript.
- 24:46Let's install Node and Python 3.7 or something like that.
- 24:51Yeah.
- 24:51It always makes me, I guess, frustrated or something.
- 24:54When I see that, the GitHub estimation of what the project is, you know, you can like click down and the languages and it'll show like, you know, 70% this, 20% that.
- 25:03Because sometimes there's just some huge file, right?
- 25:06Like maybe I have one notebook, but there's like a ton of output in that notebook.
- 25:11But it's otherwise pure Python straight files, .py files.
- 25:15And it'll say, this is like 80% Jupyter.
- 25:17Like, you know, not really.
- 25:19It's more like output from Jupyter that you're counting or I'll decide, you know, I want to bundle up some node packages and put them in the repo so I don't ever have to worry about them vanishing or changing or ever.
- 25:33Just put them there and they're fine.
- 25:35And then it becomes a JavaScript project because, you know, it's got more JavaScript than it does Python, but it's not really.
- 25:41It's just like the libraries, right?
- 25:42So I can see that that would be very fraught with error.
- 25:45Yeah.
- 25:46So instead, the slogan we have is we reward community best practices by automating them.
- 25:52We try and encourage people to just be boring and do the mainstream thing.
- 25:59And in exchange, we can automatically build a Docker container or Docker image for them, which does what they want to do.
- 26:08Right.
- 26:08So one of the main things and the way you solve the challenge I started outlining in the beginning is like, it seems like magic.
- 26:14Why is this thing that seems like it has a bunch of dependencies and is very specific?
- 26:19Just run when I click it.
- 26:20And it's because you've looked at the repository.
- 26:22You've followed these best practices.
- 26:23You've sort of guessed at the best practices and found what you're supposed to do.
- 26:28And then you defined a Docker file that then built an image that then you run as a container when you click the button.
- 26:35That sets up that environment, right?
- 26:38Yeah.
- 26:38And then, and all as a user, all you need to bring is something that is like a web browser.
- 26:44And then at the very end, we connect you to it and off you go.
- 26:48And to that, you have an environment.
- 26:49So that's pretty interesting.
- 26:50Where does that run?
- 26:51Well, we're lucky to have four clusters around the world now, which is fantastic.
- 26:56So we rely on people donating resources to run all these containers for people.
- 27:03And we have one cluster in Google Kubernetes engine.
- 27:08We have one at OVH, which is a European cloud hoster.
- 27:12We have one sponsored by the Turing Institute in London.
- 27:17And we have one bare metal Kubernetes cluster at a social science research institute in Germany, in Cologne, called GISIS.
- 27:29So they are really at the front, you know, none of this cloud hosting business.
- 27:34We run our own Kubernetes cluster.
- 27:36That's right.
- 27:37You go in there, you pull the cover off of the 1U server, and you can just see Binder right in there.
- 27:42Yeah.
- 27:44Yeah.
- 27:44That's really cool.
- 27:45Are you looking for more or is it, is that enough?
- 27:48Is it okay?
- 27:49So our master plan for how to make this sustainable is to encourage more and more research institutes or cloud providers to host a small chunk of mybinder.org.
- 28:06Because that way, each individual contributor doesn't have to pay a cloud bill, which is hundreds of thousands of dollars, but only maybe $20,000.
- 28:17And if you're a big research university like MIT or University of Oxford or someone like that, spending $20,000 on something which benefits you because you can use it at your university for your researchers, but also benefits the whole world, it's still a difficult sell.
- 28:38It's a much easier sell than if we come to you and say, do you have $200,000?
- 28:43And they're like, oh.
- 28:44In any currency, no.
- 28:45Yeah.
- 28:47People will just laugh at you and show you the door.
- 28:50So that's the plan.
- 28:52So the short answer to your question, are we looking for more, is yes.
- 28:56It would be very interesting to add more clusters to this.
- 29:00It should be easy to do technically now that we've gone from one to four.
- 29:07It should be easy.
- 29:09Pretty much after you go from one to two, that's the hardest step.
- 29:12Right?
- 29:14And then onward, it's not necessarily easy, but it's the...
- 29:17Going from a very bespoke, it's all matching this to like, now we have multiple environments.
- 29:22Well, that's a pretty big step, I would say.
- 29:24Yeah, that's true.
- 29:26It comes with its own challenges because now you have four times as many things that can go wrong or idiosyncrasies to deal with.
- 29:37But it's great to see that we can run on four so different Kubernetes flavors.
- 29:46And I think it's great because it keeps us honest when we say we are not building something which is tied to any one cloud provider and their secret source.
- 29:58So you can really take it and run it at home.
- 30:01Right.
- 30:02Yeah, that's super cool.
- 30:03So basically, if you have admin access, like Binder has admin access to a Kubernetes cluster, it can create containers and pods and then spin them up and spin them down.
- 30:14And like, it's basically just managing a Kubernetes cluster wherever that happens to run.
- 30:19Exactly.
- 30:19Yeah.
- 30:20Okay.
- 30:20Yeah.
- 30:20That's what we do.
- 30:22Yeah.
- 30:22That sounds very exciting, actually.
- 30:25That's cool.
- 30:25Now, one of the things that's probably worth mentioning is if I have a GitHub repository and I go through this effort, this minor effort described at mybinder.org to like set this up and register it and whatnot and get my little badge so people can run my code there.
- 30:42That's all well and good.
- 30:43But what happens as I make changes to my GitHub repository?
- 30:47Like, oh, I need a new version, a new library I'm going to add, or we're going to update this code, but it's going to require some underlying fundamental change to the environment.
- 30:55Every time you make a commit to your repository, when you then launch it, we check in our cache, do we already have an image for this commit of this repo?
- 31:08And if the answer is no, we will rebuild it or build it again.
- 31:12Right, right.
- 31:13Like probably you tag it by like git commit hash shah or something like that, right?
- 31:17Yeah, exactly.
- 31:18Okay.
- 31:18And that's nice because anytime you change your repository and add a new dependency, we will just automatically rebuild it next time.
- 31:28It has the disadvantage that it can take quite a long time to build your repository, depending on what crazy stuff you're trying to do, how many dependencies you need to install and compile from scratch.
- 31:43It can take a long time to build the Docker image for your repository.
- 31:49Right.
- 31:49Do you do anything like layer this?
- 31:53So with Docker, you can have like layers of Docker files and dependencies and it will just, it'll cache all of them and only build the changes.
- 32:00Do you do anything like here's the layer that is the dependencies of this project?
- 32:06And here's the layer that actually has the code because the dependencies probably change infrequently, whereas the code is probably, you know, 10, 100 times more likely to change.
- 32:16Right.
- 32:17And the slow part is not getting the code.
- 32:18The slow part is getting the pip install -r from their Ubuntu or whatever.
- 32:23Yeah.
- 32:24So we try and be clever about how we order the layers and the Docker.
- 32:29Right.
- 32:30Right.
- 32:30Because that's the trick to making it do the minimum work when a change happens.
- 32:34Yeah.
- 32:35What makes it tricky is that a lot of package managers allow you to do arbitrary stuff.
- 32:41We have a few, hopefully enough pieces of code that inspect your requirements.txt to try and figure out, are you referring to stuff in the rest of the repo?
- 32:53Yes or no?
- 32:54Because if you are, then we need to update the whole rest of the repo before we run your file.
- 32:59If no, then we can cache it.
- 33:02So, yeah, we try and be clever on that front.
- 33:06Right.
- 33:07Because your biggest expense, at least I think, there's actually a Jupyter notebook that talks about this, which we could get into, which is fun.
- 33:14But your biggest expense is compute, right?
- 33:17Yes.
- 33:17As opposed to storage or bandwidth or something.
- 33:19Yeah.
- 33:19We do have a fairly large Docker container registry.
- 33:23And the funny story about it is that for a very long time, we paid no attention whatsoever to it.
- 33:30And then one day in this notebook that you were referring, which shows you how much money we spend on which line item in our cloud build, we started noticing a new one.
- 33:43And we're like, what is this?
- 33:44Why is it getting bigger constantly?
- 33:45And it turns out that there was, I think, tens of terabytes of images in our container registry.
- 33:54And that is the level at which it starts being noticeable on our chart.
- 34:01Right, right, right.
- 34:02That's like $20,000 or $10,000 or something like that.
- 34:06But it's a non-trivial number.
- 34:08Yeah.
- 34:09So I actually haven't looked at our billing costs in quite a while.
- 34:16Before we had, when we only had two clusters, so that's probably at least half a year ago or so, we would say that it costs between $80,000 and $100,000 in Google Cloud cost to run mybinder.org.
- 34:35Yes, the vast majority of that is paying for the virtual machines.
- 34:39Right, right, right.
- 34:40If you're a regular listener of the podcast, you surely heard about Talk Python's online courses.
- 34:47But have you had a chance to try them out?
- 34:49No matter the level you're looking for, we have a course for you.
- 34:52Our Python for Absolute Beginners is like an introduction to Python plus that first-year computer science course that you never took.
- 34:59Our data-driven web app courses build a full PyPI.org clone along with you right on the screen.
- 35:05And we even have a few courses to dip your toe in with.
- 35:08See what we have to offer at training.talkpython.fm or just click the link in your podcast player.
- 35:16I guess that's worth talking about as well.
- 35:20So there's a notebook, which I'll put the link into the show notes.
- 35:23Basically, it's showing you the real-time, semi-real-time.
- 35:29You can adjust it.
- 35:30It's a notebook.
- 35:31The cost of over the day, over the week.
- 35:34And it's a non-trivial number, right?
- 35:37Like, I'm on the weekly cost, and it's showing, on average, maybe $1,000 a week plus a little bit more.
- 35:43You know, that's...
- 35:44I know open source is doing well these days, but that's a lot of money, $1,000 a week for compute.
- 35:50So where does that money come from?
- 35:52You talked...
- 35:53You sort of hinted at it before, but where does it come from?
- 35:56So the particular notebook there only tracks the cost we incur from Google.
- 36:04Okay.
- 36:05From the Google Cloud.
- 36:06Which is, like, not necessarily a quarter, but one of the four, right?
- 36:08Yeah.
- 36:08It's probably the biggest of the four.
- 36:11So I'll talk about how that bill gets paid.
- 36:16At the very beginning, we were fortunate enough to have a grant from the Moore Foundation,
- 36:22which included a chunk of money to pay for the bill.
- 36:25And that was several years ago.
- 36:28Now, we have friends, our benefactors at Google,
- 36:34who so far have been able to justify why Google should give us credits.
- 36:40I see.
- 36:41Are high enough to pay the bill.
- 36:43So that's fantastic to see.
- 36:45So in some sense, Google's donating that compute to the project.
- 36:48Yes.
- 36:49Yeah.
- 36:49Yeah.
- 36:50Have you considered reaching out to the other big groups like Azure and AWS?
- 36:54See if they want to be part of that party to get their name in some little halo effect?
- 37:00Yeah.
- 37:01So, I mean, that's how we got the cluster OVH, which is a European cloud hoster.
- 37:07They donate the compute resources for that cluster.
- 37:11The Turing Institute's cluster runs on Azure cloud.
- 37:17And I don't know exactly how the invoicing works there.
- 37:22But I would imagine that at least in some way it's sponsored or supported by Azure.
- 37:30The fact that the Turing Institute has enough spare money to finance such or donate resources for such an altruistic project.
- 37:43Yeah.
- 37:43Okay.
- 37:44It's really cool because it really shows you that, you know, this is, it's not free.
- 37:48And it's, I mean, at the core, right?
- 37:51Somebody, those images have to get built somewhere.
- 37:54They have to, the Docker containers and pods, Kubernetes pods have to run somewhere, right?
- 38:00And this is, and also probably, I know it's probably a small percentage of the people that touch the button,
- 38:06but it's still got to be a non-trivial amount of like real computational stuff happening, right?
- 38:11Like it's scientific in large part, I would imagine.
- 38:14Yeah.
- 38:14So luckily for us, most people who start a notebook spend a lot more time thinking and reading than running code.
- 38:24Yeah.
- 38:24So we can cheat and overcommit our CPUs by quite a large factor.
- 38:30Yeah.
- 38:31I would think.
- 38:31Yeah.
- 38:32But yeah, I mean, they're not sitting there idling.
- 38:35No, I'm sure.
- 38:36Also, this doesn't help for the Python file and VS Code angle, but it might help for the notebooks ways.
- 38:44Like a lot of those notebooks come pre-populated with the last data they had run, right?
- 38:49You don't have to run them to read them initially.
- 38:52Yes.
- 38:52Is that true for your setup or is that just true for GitHub?
- 38:55No.
- 38:55So if the notebook in your repository has the output still in it from the last time it was run,
- 39:01then we will show it to you because we use standard JupyterLab or Jupyter Notebook.
- 39:08Right, right.
- 39:09A UI to show it to you.
- 39:10And so that way you get something to read before you ever try and run code.
- 39:17Cool.
- 39:17Yeah.
- 39:18So maybe people actually load it up and never actually run it or they might not run the expensive bits or something.
- 39:23So that's got to help as well.
- 39:24Yeah.
- 39:24So then it's a very expensive way to view your notebooks.
- 39:29It would be good if you just want to read it.
- 39:33Just read it on GitHub or something, right?
- 39:37Yeah.
- 39:37If the GitHub viewer works well, then that's good because that's much cheaper to run than starting up a Docker container.
- 39:46For sure.
- 39:47And, you know, I guess there are definitely benefits that you have on interactivity as well, right?
- 39:53Like GitHub doesn't, it's kind of amazing that you can look at an output of a notebook and it looks like it ran,
- 39:58but it's just the cached version or saved version of whatever was before.
- 40:02But, you know, a lot of those have like the little widgets, those IPy widgets or whatever.
- 40:07Yeah.
- 40:07You have like little sliders that you can play with and like adjust it.
- 40:10And in order to do those types of explorations, even if you're not writing code, but you're kind of exploring parameters,
- 40:16you've got to have a real life system to do that, right?
- 40:19Yeah.
- 40:19Yeah.
- 40:20You need some kind of kernel connected to it to run the computations that are needed when you slide the slider to 11.
- 40:28Right.
- 40:29Yeah.
- 40:30Cool.
- 40:30Now, I think it's awesome that all these people are donating the compute to the environment and making this available to the entire world.
- 40:39But there might be situations where people want this type of system, but they, for some reason, can't put their data publicly out there or they don't want to link to it or they just want to keep it more controlled.
- 40:51Is there a way to take what you guys have built and say, create a mine, mine, all mine binder.org rather than, you know, like an internal version of it that's not just out there on the public cloud?
- 41:04Yeah.
- 41:04Yeah.
- 41:04So the software that is behind my binder.org is called binder hub, like Jupyter hub, but binder hub.
- 41:12And that's open source, like all other Jupyter projects as well.
- 41:17And you can deploy it yourself on your compute with your credit card.
- 41:23And then you can access private repositories.
- 41:26You can limit access to your binder instance.
- 41:29So you have to log in instead of right now where it will, it's completely open to the public.
- 41:35Sure.
- 41:36Yeah.
- 41:36So basically, once you have those links, you can just visit it.
- 41:39Like that's the point.
- 41:40You already emphasize that, right?
- 41:42That you're not even supposed to have an account, which is kind of the opposite of I need to keep this private.
- 41:47Exactly.
- 41:49And also because we take compute, which has been donated to us by people.
- 41:56We say, if you have private repositories, you probably also work for somebody who could pick up the bill themselves.
- 42:04So it's a political decision that we've disabled these features for my binder.org.
- 42:11But you can take the same software and run it yourself.
- 42:14And then you can access private repos.
- 42:17So basically, there's no technical limitation.
- 42:20But right now, in order to run one of your repositories on mybinder.org, it has to be a public repository.
- 42:28That's right.
- 42:29Because that's the zen that you guys are going after.
- 42:31That's the overriding philosophy of what you're doing, right?
- 42:35Yeah.
- 42:35Okay.
- 42:35Yeah, that sounds totally reasonable.
- 42:38Now, I guess this repo to Docker is also pretty interesting, potentially on its own, right?
- 42:48Like, it's cool that you guys are using it for capturing these environments.
- 42:53So you can run them on mybinder.org.
- 42:56But is that something people would find useful outside of that use case?
- 43:00Yes and no.
- 43:01There's nothing stopping you.
- 43:03Or we encourage people.
- 43:05For example, when they...
- 43:06So you can run repo to Docker locally on your laptop.
- 43:10And it will perform its little magic trick just as well as it does online.
- 43:15Right.
- 43:15We encourage people to do that, for example, if they're trying to debug why their binder isn't building or why it isn't doing quite what they want it to do.
- 43:24Oh, interesting.
- 43:25So if things are not working right, you're like, this container won't build or it's not finding the files or whatever it is, right?
- 43:31The volumes aren't mapped right.
- 43:32The ports aren't mapped right.
- 43:33You can play around with repo to Docker locally and get a better shot at figuring that out, huh?
- 43:38Exactly.
- 43:38Because you can see a lot more of the logs.
- 43:40The turnaround is potentially much, much faster because you have a more powerful machine.
- 43:46You're just more direct contact with it than if you have to control it via some web form with the log automatically scrolling paths and so on.
- 43:58Right, right.
- 43:58I'm going to go do another commit to the repo to force a GitHub webhook to go off and make it happen again or whatever.
- 44:04Yeah.
- 44:05Exactly.
- 44:05So you can use it locally.
- 44:08The disadvantage is that you probably don't have as big a library of cache Docker image layers on your laptop that repo to Docker uses.
- 44:19Potentially you have lots of them already because Docker is very good at filling up your hard drive.
- 44:23Right.
- 44:24It won't clean up any of those cached ones unless you run like a Docker cleanup.
- 44:27I forget the exact command.
- 44:29But yeah, it's really easy to fill up your computer with Docker images that are stale cached results, right?
- 44:36Exactly.
- 44:37So you can run it locally.
- 44:39I do run it locally once in a while to just get the environment that the author of the repository had in mind.
- 44:47However, what I'm finding is that if the repository builds on mybinder.org or with repo to Docker,
- 44:55because it's in some way very simple minded what repo to Docker recognizes,
- 45:01the instructions to do it by hand are also fairly straightforward.
- 45:05So if you're comfortable using Conda, then it's quicker to make yet another Conda environment and just do what the author wanted you to do.
- 45:15And because you can try whether it actually works by clicking on the badge in the readme and seeing it run on mybinder.org,
- 45:23you're like, yeah, I'm pretty sure the instructions are complete.
- 45:26And I'm not going to spend two hours and then find out that they forgot something.
- 45:31Sure, sure, sure.
- 45:32That's pretty cool.
- 45:33I guess maybe if it depended on Linux and you were on Mac or something like that,
- 45:39that might be a quick way to jumpstart a Docker container without knowing too much about Docker.
- 45:45But yeah, if it's a kind of standard environment, then there's probably not a huge benefit.
- 45:49Yeah.
- 45:49If you're on a different flavor of Linux or whatever, then yes, automating the build of the Docker container and have it run locally is great.
- 46:02And it is something people do, but it's, I would say, just not as convenient as clicking the link.
- 46:09So that's why not as many people are doing it.
- 46:11Yeah, for sure.
- 46:12It's easy.
- 46:13Can I get a public repository into mybinder.org that didn't decide to be in there?
- 46:21And what I mean is I've got to go through mybinder.org and put in the repo info and stuff in general to set this up.
- 46:28Could I just go, this one doesn't have a link, but I'm just going to give it to mybinder.org anyway and see what happens.
- 46:35Yeah.
- 46:36Yes.
- 46:37You don't have to be an author of the repo or have any special rights on the repo to launch it.
- 46:42Right.
- 46:42So with no account and it's required to be public, right?
- 46:46It's pretty hard to not fill out the form at mybinder.org with the info you want, right?
- 46:51Exactly.
- 46:52And a lot of projects will just work.
- 46:55Yeah.
- 46:55Because of the practices that you follow, right?
- 46:57Exactly.
- 46:58Yeah.
- 46:58So then you can open a pull request and add the badge to the readme.
- 47:02That's exactly what I was thinking.
- 47:03Yeah.
- 47:04So if you find a repo that should have a launch in Binder and yet it doesn't, a real nice way to make a simple contribution would be to go fill out mybinder.org.
- 47:14If it works, go do a PR with the details required.
- 47:17I mean, you could just edit the readme file on a branch, put the little icon there and submit that as the PR like here.
- 47:24I was missing this.
- 47:26I fixed it.
- 47:26Yeah.
- 47:27That's a super contribution for the project.
- 47:30It's a good way to get started and it will help whoever comes next to the project because they'll see the badge.
- 47:38And even if they don't yet know what mybinder.org is, they might click it and then they can run the examples.
- 47:45Yeah.
- 47:46It seems like a really nice, generous thing to do and super easy.
- 47:49Well, cool.
- 47:50So we're getting near the end of our time and I was going to ask you just a really quick sort of high level question.
- 47:57Looking back a bit on our conversation and your experience over time.
- 48:02People recently have been asking me, why do you think Python has become so popular in the data science and the scientific computing space over the last five years or so?
- 48:11You know, someone who worked at CERN and has been probably more involved in that than I have in a lot of ways.
- 48:16What are your thoughts?
- 48:17Why Python?
- 48:19Why did it become so much more popular recently?
- 48:23I think the short answer is I don't know because I've, since I was 15, thought Python is a pretty good language for programming.
- 48:32Finally, everyone agrees with me.
- 48:34Exactly.
- 48:35So I don't know what really what happened.
- 48:38I think part of it or why I think why Python, not some other language is there's a quote somebody else told me is you invite people to a job interview and make them write something on the, do some coding on the whiteboard or something like that.
- 48:57And they will write, even if they are, I don't know, C++ or Julia or whatever programmers, often they will write in something which looks very much like Python on the whiteboard.
- 49:09They will not put all the curly brackets.
- 49:14Or if you read Wikipedia, often there will be about algorithms, there will be a little section in pseudo code and you can almost copy and paste that and it will run.
- 49:25Right.
- 49:25So I think that's a killer feature in some sense.
- 49:29It makes it just so much more accessible to people who don't think of themselves as programmers.
- 49:35They are, they work in an insurance company and they want to do some data science.
- 49:42They don't think of themselves as programmers.
- 49:45They are, I don't know, actuaries or.
- 49:47Right, right, right.
- 49:48I think that agrees a lot with my general working theory is that Python is one of these special languages where it's as simple as possible to get started with like a tiny bit of computation.
- 50:01You don't even have to have a function, you know, forget compiling, linking, headers, static main voids, just like here's the three lines I want.
- 50:08I'm going to use those libraries.
- 50:10I'm going to do this.
- 50:11And so people easily get into it in the beginning.
- 50:15But then unlike a lot of easy languages, you don't really outgrow it.
- 50:20Right.
- 50:20It's not like, well, you can't use Python anymore because now we're doing astronomy or whatever.
- 50:25I was like, no, it's just, you just keep using the libraries and you can keep adding more computer science like concepts, functions, and then classes, then generators, then whatever.
- 50:35So I feel like it sucks people in who don't believe, just like you said, that they're programmers.
- 50:41They believe they're biologists, astronomers, physicists, whatever.
- 50:45But then it's kind of got this, like, well, I already know this.
- 50:49It's totally working.
- 50:50Why would I leave and pick up a harder language?
- 50:53Because there's just kind of this gravity.
- 50:55Like, once you get sucked into it, there's no reason to get kicked out of it because you can just keep growing with the language in the libraries.
- 51:03That's my theory as well.
- 51:04Yeah.
- 51:05Yeah, I think so too.
- 51:07And the fact that we can put a nice user interface in the programming language that you use Sense onto big, trusty Fortran and C++ libraries that have been around to do really heavy lifting, linear algebra and whatnot.
- 51:29I think that is fantastic.
- 51:32If you imagine Python didn't have that feature, then we would be stuck.
- 51:36We'd have to write all this stuff from scratch.
- 51:38Yeah.
- 51:39Like this, we can put a nice UI on Fortran code and get all the benefits of having well-tested Fortran code do crazy linear algebra for us.
- 51:53That's perfect.
- 51:54But not think about it ever again.
- 51:56Nice.
- 52:00All right.
- 52:00Well, yeah, that was definitely a good, insightful answer.
- 52:03I like it.
- 52:04All right.
- 52:05Now, before you get out of here, before we call the show, you've got to answer the final two questions.
- 52:09So, if you're going to write some Python code, what editor do you use?
- 52:13Today, I use Atom.
- 52:14Okay.
- 52:15Well, cool.
- 52:16Yeah, Atom is neat.
- 52:16My favorite editor probably is Emacs in a console.
- 52:21But at some point, I had to admit that I didn't want to spend as much time as I used to trying to understand how to get JavaScript tools to hook into my editor and auto-formatting stuff.
- 52:37So, yes, I use Atom now.
- 52:39Nice.
- 52:40Very cool.
- 52:42And then notable PyPI package.
- 52:44Maybe not something necessarily super popular, but something like, oh, I saw this and it was so cool.
- 52:49You should check it out.
- 52:50Need to think.
- 52:51While you're thinking, let me tell you about one thing that I ran across.
- 52:54It's not exactly that, but it's actually super cool.
- 52:58And I think it's relevant to the audience who would be interested in this topic as well.
- 53:02So, have you heard about Carnets?
- 53:04C-A-R-N-E-T-S?
- 53:06Carnets?
- 53:07No.
- 53:07So, this is a standalone Jupyter Notebook environment that runs on iOS.
- 53:14Not like the browser sees it, but it actually has NumPy and SciPy and all that stuff installed and Python executing disconnected on iOS.
- 53:25So, we could put that one out there for sure.
- 53:28And that's cool and it's open source and people can go check it out.
- 53:32It does uncertainties.
- 53:34So, maybe, yeah, it is actually just called uncertainties.
- 53:36Oh, nice.
- 53:38That's a good name.
- 53:39Yeah.
- 53:39So, it lets you put in numbers with uncertainties on them.
- 53:45Okay.
- 53:45And then you can do complicated computations on it and it will spit out, you know, the answer is three plus or minus 1.7.
- 53:55Right, right.
- 53:56Because if you have plus or minus 1, but then you square it and then you add this other uncertainty to it, right?
- 54:01Like, the propagation of uncertainty is not obvious.
- 54:05It's uncertain even.
- 54:06Yeah.
- 54:08I mean, it's one of these things where it's not difficult, but it's hard to do right.
- 54:14Yeah.
- 54:14Yeah.
- 54:14You very easily make mistakes.
- 54:16So, yeah.
- 54:17That's cool.
- 54:17Uncertainties.
- 54:18That's a cool package.
- 54:19Okay.
- 54:19Uncertainties.
- 54:19Nice.
- 54:20Another one that's kind of in that realm is Pint, which lets you do different units and multiplications and divides and whatnot.
- 54:28It's pretty cool.
- 54:29Okay.
- 54:30Very cool.
- 54:30That's a good recommendation indeed.
- 54:32All right, Sam.
- 54:33Well, we're about out of time.
- 54:34So, maybe a final call to action.
- 54:36People are excited about mybinder.org and this whole concept that we talked about.
- 54:41What do they do?
- 54:42Try it out.
- 54:43Tell a friend about it.
- 54:44That is, I think, an easy thing to do.
- 54:47And you can get it done because it's easy.
- 54:52Yeah.
- 54:52Yeah.
- 54:53It looks like you've automated a lot and it looks really not hard at all to get started with.
- 54:57Yeah.
- 54:57And, of course, we would be super happy if people find mistakes or want to add new features if they stop by and make code contributions, make contributions to the documentation, or help us deal with the fact that there's so many people who use it.
- 55:17If you have questions, you can contribute to mybinder.org, especially if you can't program.
- 55:25That's actually an asset because there's lots of people who know how to program, who help run mybinder.org.
- 55:31But explaining how it works, advertising it, giving talks about it, all that kind of good stuff.
- 55:40Adding launch and binder to various repositories that should have it.
- 55:44Yeah.
- 55:44For example, yeah.
- 55:46Yeah, those are pretty straightforward things to do.
- 55:48Awesome.
- 55:48All right.
- 55:49Well, it was great to learn more about mybinder.org and what you guys are up to.
- 55:53Thanks for being on the show.
- 55:54Thanks for taking the time to talk to me.
- 55:57Yeah, you bet.
- 55:58It was great.
- 55:59Bye.
- 55:59Bye.
- 55:59This has been another episode of Talk Python To Me.
- 56:03Our guest on this episode was Tim Head, and it's been brought to you by Linode and Talk Python's online courses.
- 56:09Start your next Python project on Linode's state-of-the-art cloud service.
- 56:14Just visit talkpython.fm/linode, L-I-N-O-D-E.
- 56:18You'll automatically get a $20 credit when you create a new account.
- 56:21Want to level up your Python?
- 56:24If you're just getting started, try my Python Jumpstart by Building 10 Apps course.
- 56:29Or 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.
- 56:37And of course, if you're interested in more than one of these, be sure to check out our Everything Bundle.
- 56:42It's like a subscription that never expires.
- 56:44Be sure to subscribe to the show.
- 56:46Open your favorite podcatcher and search for Python.
- 56:48We should be right at the top.
- 56:50You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on talkpython.fm.
- 56:59This is your host, Michael Kennedy.
- 57:00Thanks so much for listening.
- 57:02I really appreciate it.
- 57:03Now get out there and write some Python code.
- 57:05I'll see you next time.