Latest / Talk Python To Me / #216: Digging into Visual Studio Code
Transcript
- 0:00One of the questions I often ask at the end of the show is,
- 0:02when you write some Python code, what editor do you use?
- 0:06Increasingly, the most common answer is Visual Studio Code.
- 0:09Despite its Windows-only namesake, Visual Studio Code is cross-platform
- 0:14and has been gaining a lot of traction in the Python space.
- 0:17I was at the Microsoft Build conference immediately after PyCon this May.
- 0:21There I got a chance to sit down with Dan Taylor from the VS Code team
- 0:25to discuss what they've been up to with VS Code and Python.
- 0:27This is Talk Python To Me, episode 216, recorded May 8th, 2019.
- 0:32Welcome to Talk Python To Me, a weekly podcast on Python,
- 0:49the language, the libraries, the ecosystem, and the personalities.
- 0:52This is your host, Michael Kennedy.
- 0:54Follow me on Twitter where I'm @mkennedy.
- 0:56Keep up with the show and listen to past episodes at talkpython.fm
- 1:00and follow the show on Twitter via at Talk Python.
- 1:02This episode is sponsored by Linode and Backlog.
- 1:06Please check out what they're offering during their segments.
- 1:08It really helps support the show.
- 1:09Dan, welcome to Talk Python.
- 1:12Hi, it's great to be here.
- 1:12It's great to have you on the show.
- 1:14And we get one of these special opportunities to do an in-person recording with each other, right?
- 1:19Before we get into the normal flow, I just want to say,
- 1:22hey, we're here at Microsoft Build recording live, not in a live audience, but in person and sort of on the floor here.
- 1:29So it's really, really cool.
- 1:30It's great to be here.
- 1:31And we're going to talk a bit about that.
- 1:32Also about PyCon.
- 1:34But, you know, let's start at the beginning.
- 1:35Start with your story.
- 1:36How did you get into programming and Python?
- 1:37Programming, I've kind of had like a computer, a 386 computer since I was like five years old at my house, right?
- 1:43And so I was always doing a lot of like batch file stuff and DOS and things like that.
- 1:47But I remember batch files.
- 1:48That used to feel like pretty awesome programming stuff, right?
- 1:50You would be able to make the computer do its magic at startup, right?
- 1:54You could mess with auto-exec bat and all that stuff.
- 1:56Yeah, yeah.
- 1:57And then like if you were like get really into it, I mean, doing an if statement and batch file programming is like really, really hard.
- 2:02But, you know, I made like a little text adventure game, something like that.
- 2:05Oh, my gosh, that's awesome.
- 2:06Yeah, but I think oddly enough, when I really got into programming was with Visual Basic 6.
- 2:11I was sitting in grade school just like during reading time just reading a VB6 book that I printed out.
- 2:16And everyone's looking at me going like, what is this guy doing?
- 2:18That's awesome.
- 2:19I remember printing out the source code for Notepad, I think, in C++ and reading and trying to understand it way back in the day.
- 2:26That's pretty cool.
- 2:27You know, VB6, that was a special time, actually.
- 2:30You could really build some cool UIs super quick with VB6, that drag and drop stuff.
- 2:36And I feel like we kind of don't really have that anymore.
- 2:39Yeah, I mean, that's really what got me hooked into programming that you could kind of like I could see something.
- 2:44I could just double click.
- 2:45And then it really gave me this, you know, it's that game of where you get that five minutes to success.
- 2:49And you just want to like keep playing the game until you build up stuff.
- 2:52I built all sorts of different programs up.
- 2:53I mean, some of the like visual programming stuff is starting to come back with like EduBlocks and MakeCode and some of those things.
- 2:59And I think that kind of stuff can really like maybe get more young people into programming.
- 3:04Just like that was kind of the aha moment for me.
- 3:06You know, that sort of stuff.
- 3:07Yeah, I definitely think that's...
- 3:09I think it's a little bit missing.
- 3:11I think a lot of the cool frameworks that were really good at that kind of outgrew it a little bit and become like a little more pro, which is fine.
- 3:17But it also means like those simple, easy steps into like super quick UIs is gone.
- 3:22I mean, VB6 is good.
- 3:23Windows Forms was actually not bad.
- 3:25But it kind of became WPF, which is super hard.
- 3:27Not super hard, but relatively for like just jumping into it.
- 3:30There's Anvil, which is kind of a cool web front end thing and Python.
- 3:34But yeah, there's not too many of them.
- 3:36Anyway, so that was sort of the getting started point.
- 3:38But that's not Python, right?
- 3:39That's VB6.
- 3:40I think the first time I used Python, I was working at Autodesk and I was working on some of the graphic stuff.
- 3:44And there it was all just building UIs in Python and using Swig to interact with C++ and stuff like that.
- 3:51And then I just kind of like took that back to school with me to school projects where professors were kind of saying, you know, hey, you should use a real programming language so that you can like learn real programming.
- 4:00And I'm like, what are you talking about?
- 4:01You know, this is real programming.
- 4:02I just built all this stuff with it.
- 4:04And now you've got like all these big companies doing, you know, you've got sites like Instagram and Pinterest all built with Python.
- 4:09Yeah, yeah.
- 4:10Like, I mean, YouTube gets a million requests per second.
- 4:12Is that not real enough?
- 4:13Yeah, yeah, exactly.
- 4:14So it's interesting how our perspective changes on that stuff over time.
- 4:17You know, it makes me crazy when people call Python a scripting language.
- 4:21Yeah.
- 4:21You know, you're like, oh, is that your favorite scripting language?
- 4:24I'm like, whoa.
- 4:24Well, it's great at scripting.
- 4:26Exactly.
- 4:26It's also great at a lot of other stuff too.
- 4:28You can build real things with it.
- 4:30So your time at Autodesk, was that building stuff that was like embedded into some of those apps?
- 4:35Or was it like workflow between the apps?
- 4:36What kind of stuff was there?
- 4:37Well, I was working on a product that I don't remember exactly what it was called, but it was doing like visualization of cars and things like that.
- 4:44Cool.
- 4:45The UI, that team had decided to use Python for the UI with WX widgets.
- 4:50And then it would call down in the C++ layer to do a lot of the 3D graphics.
- 4:53But it did a lot of the scene manipulation and things like that with Python.
- 4:56So there was some vector math and sort of all sorts of stuff that was in Python.
- 4:59So it was this weird, you know, you could do a lot of things in Python and then all of a sudden you're in this big C++ world and stuff like that.
- 5:06Yeah, it sounds really cool though.
- 5:07The 3D stuff is always so interesting, but it's also pretty challenging to work in.
- 5:12Like I built a couple from scratch 3D simulators and OpenGL and stuff.
- 5:16And I always thought the first half, I'm like, this is going to be so fun.
- 5:18The second half, I'm like, why can't I see the thing?
- 5:20You know, because I have the clockwise versus anti-clockwise rotation.
- 5:24Yeah, you're doing that thing with your fingers where you get the three axes.
- 5:26And I had this book, you know, real-time rendering where I'm just like, you know, staring up in the room trying to like, you know, figure out what direction things are pointed at.
- 5:34Yeah.
- 5:34It's kind of crazy.
- 5:35It's totally crazy.
- 5:36Let's talk a little bit about what you do day to day.
- 5:39You work at Microsoft.
- 5:40What do you do there?
- 5:40So I'm a principal PM manager for a Python developer tools team.
- 5:44I have a small team of PMs.
- 5:45We work on Python and Visual Studio Code, Python Visual Studio, and then also Python and Azure.
- 5:51Yeah, that's pretty awesome.
- 5:52It's a pretty big set of different things, but yeah, we do quite a bit.
- 5:55Yeah, and it's growing, right?
- 5:56Yep, it's growing.
- 5:57When I started the team, it was just me and one other PM.
- 6:00And I was working with Brett Cannon.
- 6:02And now Brett Cannon's managing a team, and I'm managing, you know, it's sort of just, we're doing a lot with Python and Microsoft.
- 6:09Yeah, it's super exciting.
- 6:10And yeah, so you work with a lot of people, a lot of the folks at Microsoft that are also, have been on the show, yeah?
- 6:16Been on the show and out there in the community, you know, working on the core Python developers.
- 6:21We got a couple of, you know, Brett and Steve on our team, yeah.
- 6:23Cool.
- 6:23Yeah, I think it's going to be a pretty interesting perspective that you have coming from, like, Microsoft customers and developers intersecting here with Python, right?
- 6:33Like, it's, I feel like you might get a little more visibility into what Python and enterprise or large corporate places kind of looks like.
- 6:42What are your thoughts there?
- 6:44Yeah, I mean, it's an interesting spectrum.
- 6:46I mean, we definitely see a lot more, I work with a lot more individual developers working in Python land than I do in other places.
- 6:53But then we also hear with .NET and the other programming languages, we talk to a lot more big enterprises, right?
- 6:58But we also hear from, you know, the big enterprises doing Python.
- 7:02They have all these challenges and concerns around performance and scale and compliance and security and, like, all these different things that, you know, when you're just sitting down there trying to, like, you know,
- 7:12hey, how do I learn programming and make Hello World that, you know, these two worlds are very at odds with each other.
- 7:17And it's interesting watching sort of the core development team on Python trying to navigate and negotiate the different pressures and stuff like that that are kind of coming from two directions.
- 7:25How do we enable it to meet all these enterprise needs while still keeping it, you know, fun, easy to use, really productive, and not adding a whole bunch of, you know, stuff that's getting in my way, right?
- 7:37Yeah, yeah.
- 7:37Don't over-professionalize the Python.
- 7:40Because, you know, one of the things I go on a lot about is, like, how Python is a full-spectrum language.
- 7:45Like, you don't have to take the complexity at the beginning.
- 7:48Like, you can be productive with Python with, like, a partial understanding of what it is, what it can do.
- 7:53But it can't, you don't outgrow it so much, like, say, vb6, for example, like you said earlier.
- 7:57Yeah, yeah, yeah.
- 7:58And, I mean, Python is kind of my go-to for, you know, anytime I want to do something, my first answer is, like, can I do this with Python, right?
- 8:05But in terms of, like, kind of managing the complexity, I think, I forget the name of that, that backslash operator that gives you the sort of positional arguments and stuff like that.
- 8:12You know, that's an interesting one.
- 8:14It's, like, where you can add that and you can use it and that allows you to interface with C-APIs and things like that.
- 8:18But hopefully most people never have to see that, right?
- 8:20Yeah, exactly.
- 8:21Right.
- 8:22You could go your whole life as a developer not knowing that there's a syntax for keyword-only arguments.
- 8:27And now there's a syntax for positional-only arguments, right?
- 8:31You don't need to know.
- 8:32It's cool.
- 8:32Yeah.
- 8:33Cool.
- 8:33So, we were both just at PyCon and we quickly got on a plane and flew to Seattle to go to build.
- 8:40What were your thoughts on, I guess, PyCon first?
- 8:43PyCon is just such an amazing event.
- 8:45And it's, I don't think I've been to another event that's quite like it.
- 8:48I mean, it really is, you know, Ernest was on the stage talking about how this PyCon means community to a lot of people, right?
- 8:55And just seeing that in the community and it's such a diverse and inclusive place.
- 8:59And so, you know, last year was my first PyCon and after I left, I was sort of like, I think I'd keep coming back here even if I wasn't working on Python or working at Microsoft and stuff like that.
- 9:10Yeah, that's super cool.
- 9:11I feel like it's like my geek holiday, my geek getaway.
- 9:13Yeah, and then there's all the people that you see through all the different events throughout the year and all the things.
- 9:20So, it's great that, you know, Microsoft is there and we're able to help sponsor it where the Keystone sponsored the event.
- 9:27So, it was great to have kind of the big presence there and just really just see a lot of people coming up and talking to us at the event.
- 9:32Yeah, that's super.
- 9:34And you guys had a cool, like, hands-on thing where people could get a little robot or something.
- 9:38What was that about?
- 9:38Yeah, so we had hands-on labs using, like, VS Code and some of our, like, Azure functions and some of our cognitive services.
- 9:46And then you get a little Adafruit lunchbox kit, which has some circuits and some things like that.
- 9:51And then Nina actually did a workshop with the Adafruit team where they came over with your lunchboxes and walked people through a sample lab.
- 9:58Yeah, that's really cool.
- 10:00Yeah, Nina's got a bunch of cool embedded wearable stuff going on and it's, like, right up her alley.
- 10:04Yeah, she loves that stuff.
- 10:05And she did a keynote on Python hardware and, I mean, it was just awesome.
- 10:09And I really loved how she said that hardware really makes people more interested in programming.
- 10:15And women in particular, it makes them more likely to stick with programming and tech and stuff like that.
- 10:21Yeah, there were some super interesting results coming from the BBC Microbit study done in the UK a couple years ago.
- 10:26And just how much more likely people were to go into STEM or care about it.
- 10:31It just makes it real, right?
- 10:32It's sort of like what we were talking about earlier.
- 10:34It's sort of you see that, hey, I can do something.
- 10:36I can make these lights flash.
- 10:37I can make noises.
- 10:38You know what I mean?
- 10:38And it just wants to make you keep playing the game, right?
- 10:41Yeah, absolutely.
- 10:41You get those quick wins and things like CircuitPython and stuff make it way easier than, you know, embedded C.
- 10:47Yeah, yeah.
- 10:47No backslashes.
- 10:48Yeah, right on.
- 10:49Let's start talking a little bit about VS Code.
- 10:52So when did VS Code come out?
- 10:54It came out in 2015.
- 10:56I don't remember the exact month, but 2015.
- 10:58So not too long ago.
- 10:59Yeah, not too long ago.
- 11:00And originally, it wasn't necessarily supporting Python right out of the box, right?
- 11:04So when it originally came out, it was...
- 11:06And what was the original goal or like idea behind it?
- 11:09So the original like, you know, pitch, it was a free open source cross-platform editor with support for Node.js and JavaScript with built-in debugging and source control, right?
- 11:24Right.
- 11:24So it's kind of like an editor plus, right?
- 11:26Just a little bit of extra functionality.
- 11:27Yeah, it seems to me like its original zen was just like, we're going to try to be as minimal as possible while providing you like real tooling, right?
- 11:37Like editors and autocomplete, but try to be the least amount of that that we can still get away with.
- 11:42That was my perception from the outside.
- 11:44Certainly, like you see a lot of people using things like Vim or Notepad++ and stuff like that.
- 11:52And you can see a lot of people just want, you know, let me just open the code and start working with it.
- 11:57And then, you know, start from there and then add on the debugging and functionality, you know, sort of on top of that.
- 12:01And then shortly after that, they didn't have extensions when they first released it.
- 12:05And then everyone was like, you know, it got quite a good reception when they first put it out there.
- 12:10And then everyone's asking for extensions.
- 12:11And so once they put the extensions out there, that's when other languages started really coming on board like Python.
- 12:16Yeah, I feel like that kind of made it blow up.
- 12:19Yeah, yeah.
- 12:19It really opened the doors.
- 12:20And the extensions is really what a lot of people say they love about VS Code today.
- 12:25You know, that it's just got so many extensions out there and so many people building them and creating them.
- 12:30And that's even how Python got its roots.
- 12:33Don Giamatti from Australia just built a Python extension and put it out there.
- 12:38And it sort of took off on the marketplace.
- 12:40Yeah, that's super cool.
- 12:41And I had him on the show quite a while ago.
- 12:43And we were remarking about how insanely popular that extension was.
- 12:49This was before he worked with you and at Microsoft.
- 12:51It was just his thing.
- 12:52And I think we were like, wow, there's a million downloads or 500,000 downloads or something like that, right?
- 12:58Yeah, yeah.
- 12:58And that number just keeps increasing all the time, right?
- 13:02So even a year ago, there was 6 million downloads and now there's 44 million.
- 13:06Yeah, I looked at it, it's like 44 million.
- 13:08And what's pretty impressive to me is this project that comes from Microsoft that's traditionally been pretty heavy in the C#, C++ side of things.
- 13:20If you pull up the most popular plugins or extensions, you don't see C# and then like ASP.NET extensions and then somewhere down the list, Python, right?
- 13:30Like Python is the number one most popular extension.
- 13:33Yeah.
- 13:34And that's something that really got me excited to move over to the Python team at Microsoft about two years ago.
- 13:40They said, hey, I've been walking around saying, why aren't we doing more with Python?
- 13:44Come on, we should be doing, we have a Python team, but, you know, we should be doing more.
- 13:46And then, you know, someone said, hey, we hired Don and we're going to, you know, put a team on it.
- 13:51You want to do this?
- 13:52And I was like, ah, I got to, I got to jump over there.
- 13:53Yeah, how do I get involved with that?
- 13:54That's awesome.
- 13:55It's just so much fun working on this team.
- 13:57That's super cool.
- 13:58Yeah, I did some other looking around and the second and third most popular extensions are ESLint is number two and C++ is number three.
- 14:06And they're only half as many, which is still 20 million, but they're still significantly less.
- 14:10One thing I will say about the download count is every time we push an update to the extension, those count as new downloads.
- 14:14So they've added the install counts.
- 14:16On the marketplace.
- 14:17I see.
- 14:18Just full disclosure.
- 14:19Yeah, yeah, yeah.
- 14:20We push out a lot of little updates now and then.
- 14:22So some of those can.
- 14:22So the more active teams can like get a little better, get a little ahead.
- 14:26Yeah, exactly.
- 14:27That's still pretty good though.
- 14:28But yeah, we're still the number one by installs as well.
- 14:30VS Code is an Electron JS app, right?
- 14:32Mm-hmm.
- 14:33Maybe tell people quickly who don't know, like there's all sorts of folks who listen.
- 14:36Like, what is that?
- 14:37Like, that's kind of a fairly new and unusual way to build an app, but it's definitely taken off.
- 14:42Like Slack and some other folks are that way as well.
- 14:45I'll do the best just as I can being a program manager.
- 14:48But the Electron is a framework for building JavaScript apps on the desktop.
- 14:52And I think that's what we really enabled us to create something that was cross-platform right out of the gate without too much dealing with weird low-level C platform code, right?
- 15:02Right.
- 15:02You've got Chrome that's already cross-platform, Node that's cross-platform, and then JavaScript and HTML, right?
- 15:07Yeah.
- 15:08It made so much sense for us.
- 15:09We had this online editor called Monaco, which was created by Eric Gamma, one of the Gang of Four.
- 15:16The original design patterns from, you know, like early 90s?
- 15:19Yeah.
- 15:19Yeah.
- 15:19And he had built this online editor that we've been using in Microsoft for some of our, like, online source control, some online editing experiences in Azure.
- 15:28And so they were just able to say, like, hey, we got this online editor, we got Electron, let's build VS Code.
- 15:35And they really actually put it together relatively quickly and just put it out there.
- 15:38This portion of Talk Python To Me is brought to you by Linode.
- 15:44Are you looking for hosting that's fast, simple, and incredibly affordable?
- 15:47Well, look past that bookstore and check out Linode at talkpython.fm/Linode.
- 15:52That's L-I-N-O-D-E.
- 15:55Plans start at just $5 a month for a dedicated server with a gig of RAM.
- 15:59They have 10 data centers across the globe.
- 16:01So no matter where you are or where your users are, there's a data center for you.
- 16:05Whether you want to run a Python web app, host a private Git server, or just a file server, you'll get native SSDs on all the machines, a newly upgraded 200 gigabit network, 24-7 friendly support, even on holidays, and a seven-day money-back guarantee.
- 16:19Need a little help with your infrastructure?
- 16:21They even offer professional services to help you with architecture, migrations, and more.
- 16:26Do you want a dedicated server for free for the next four months?
- 16:29Just visit talkpython.fm/Linode.
- 16:32One thing that's a little interesting is you guys also now have, I mean, not you individually, you as the Microsoft, you have Atom after you've acquired GitHub, right?
- 16:43Which is also ElectronJS, I believe.
- 16:47It's kind of interesting, like, what's the story with those two?
- 16:49Are they both going forward?
- 16:50Yeah, so Nat Friedman, when he became the CEO of GitHub, he did an AMA on Reddit, and this question came up.
- 16:57And I loved his answer.
- 16:58He said, as long as people want to keep using Atom, we'll still work on Atom and put it out there.
- 17:03Yeah, I know some people are using Atom, and they're doing cool stuff with it.
- 17:06So it's pretty awesome.
- 17:07But yeah, it's kind of interesting how things have shifted.
- 17:12How's the whole GitHub acquisition changed or changed people's perspective for you all working on the team, or has it?
- 17:19They're still kind of managed as this different company, have their own CEO and stuff like that.
- 17:24And I can only speak from my own experience, but my own experience is that we're just more likely to recommend using GitHub in places, rather than having to, you know, maybe come up with our own solution or have two implementations sometimes.
- 17:36It makes it a lot easier to say, well, just use GitHub.
- 17:38Yeah.
- 17:39Well, I think people are starting to say that anyway.
- 17:41Yes.
- 17:42Yeah.
- 17:42Right?
- 17:42We're already kind of going in that direction.
- 17:44So before there was any word of you all buying GitHub, it was still like, clearly the momentum, the black hole of open source in a positive way was GitHub just sucking everything in.
- 17:57Right?
- 17:57Yeah.
- 17:57And, you know, I was so excited when I opened my phone up and pulled up my stock ticker app.
- 18:03I'm like, what?
- 18:03This is amazing.
- 18:05What is this news event?
- 18:07What is this?
- 18:07Yeah.
- 18:07I think it's positive.
- 18:08I know there was a little bit of surprise, some trepidation in the open source space when that first hit.
- 18:15There are people talking about moving to Bitbucket or other places, but I don't really see that manifesting.
- 18:21What I thought was super interesting was actually looking at some of the reasons behind, and it looked like it was really, in the end, a pretty positive outcome for both GitHub and you guys.
- 18:31The thing that, and I can just react to what I read, there's always a negative reaction somewhere to anything you do as a large company, right?
- 18:38Yeah.
- 18:38There's always somebody not happy.
- 18:39But what I was really encouraged by was that, you know, people out there saying, oh, this is terrible.
- 18:45This is evil.
- 18:46And then other people that weren't from Microsoft were like, you know, arguing with those people saying like, hey, no, this is actually good.
- 18:53Where Microsoft is, they love open source.
- 18:55And there's other companies that could have bought them that would have been much worse.
- 18:59Right.
- 18:59And I can really have the resources to make sure that GitHub thrives and continues to be the big platform for doing open source.
- 19:07Yeah.
- 19:07Actually, one of the, VS Code actually, I think is the biggest open source project on GitHub when we made that acquisition.
- 19:13So it's already a platform that we, you know, are really well invested in just as individual developers.
- 19:19So you kind of bought your source control provider.
- 19:22Yeah.
- 19:23Just took everyone else with it.
- 19:25How interesting.
- 19:25Okay, cool.
- 19:27Let's focus a little bit on the growth of VS Code, I guess.
- 19:30You know, I was really surprised.
- 19:32Like, we talked about the origins a little bit.
- 19:342015 or so it came out and then the extensions and whatnot.
- 19:38Did it surprise you?
- 19:39Did you guys do like a backflip of joy when you saw the Stack Overflow survey showing, you know, VS Code like the number one editor out there in terms of usage?
- 19:49I was very happy to see that.
- 19:51I mean, it just sort of, I still don't really understand what that means.
- 19:54You know what I mean in terms of, like, wow, it's actually the majority of developers use Visual Studio Code, you know, if you look at that survey.
- 20:02And that's just, I can't comprehend that.
- 20:04You know, it's just, I don't know, I feel a little honored to work on it.
- 20:07Yeah, that's actually, that's pretty awesome, right?
- 20:09You know, one thing I would like to ask you, and I have my own opinions and I don't think it's crazy or anything, but, like, why would Microsoft work on this?
- 20:17Like, you're not selling it, right?
- 20:19It's just, you just go get it.
- 20:21It's free.
- 20:22What value do you guys have in this other than, like, Goodwill and we just want it to exist or whatever?
- 20:27Yeah, so this question comes up all the time, right?
- 20:30People always ask this.
- 20:30And I don't know if you know about Microsoft, but we've always had a really giant developer tools division.
- 20:37And we've always given developer tools away for free.
- 20:40Like, Visual Studio, I think it's a paid product, but actually the majority of people use the free community edition for something like that.
- 20:46But before Visual Studio Code, you know, there's a lot that, you know, if you're an open source developer, you're using Python or Node or something like that.
- 20:52We didn't really have much that was relevant to you from Microsoft because a lot of our stuff was Windows only.
- 20:58Right.
- 20:58You had Visual Studio, you had Python tools for Visual Studio, but like you said, that's Windows only.
- 21:03And that's, you know, that already creates a lot of friction already.
- 21:06For us, you know, the benefit to Microsoft is that, you know, if you use Visual Studio Code and you like your experience there, maybe you'll consider some of our other stuff.
- 21:15And it really comes down to that, you know.
- 21:19Otherwise, you know, you're not really thinking about us.
- 21:22You were not in the conversation.
- 21:23Yeah.
- 21:24That would have been my guess of what you were trying to get out of it.
- 21:27But, you know, I wanted to see it from your perspective, right?
- 21:30Like, if you have interesting Azure plugins, like push a button here and it's on our Kubernetes service, right?
- 21:35Like, if it's right there next to them, like then all of a sudden there's your sort of implicit upsell or whatever.
- 21:41Yeah.
- 21:41And so just leave that option on the table, right?
- 21:43You can choose to use that if you want, right?
- 21:46Yeah.
- 21:46It does also allow us to create a really good developer experience for Azure with our Azure plugins, right?
- 21:52Because we can sort of, it's sort of like the vertical stack integrated, but also like, you know, choose your own pieces, you know, whatever.
- 21:59Yeah, that's interesting.
- 22:00I suppose like in addition to being like, it's near you, so here's the upsell button.
- 22:05Like the people who already choose Azure or other tooling from you guys, like you can provide them the best possible experience cross-platform for your own stuff.
- 22:13Yes.
- 22:14Especially if we believe that we have the best developer tools that you can use, right?
- 22:19Yeah.
- 22:19You've definitely made some great ones over the years.
- 22:21So that's pretty cool.
- 22:22And I guess, you know, let's touch on some of the features.
- 22:25Like, I feel like you all have been on a bit of a tear with like doing some cool stuff.
- 22:29So almost all of the announcements and whatnot have been sort of put off or held until here at Build.
- 22:36Like, that's your big developer conference.
- 22:37That's like Apple's WWDC or Google I.O., right?
- 22:40It's our Super Bowl.
- 22:41Yeah, exactly.
- 22:41Yeah, it's a big deal.
- 22:42But the VS Code team announced some pretty cool stuff at PyCon in honor of Python being like the biggest ecosystem there, right?
- 22:51Yeah.
- 22:51Just last week at PyCon at the expo open, we pushed the buttons and unveiled our Visual Studio Code remote development features.
- 22:59And we brought that to PyCon because it was Python developers who were the most passionate about it.
- 23:04And actually, that's at PyCon last year.
- 23:07That was what everyone was asking us for.
- 23:08So we really said, hey, we got to pull this one early because, you know, we want to go talk to the people who are really asking for it.
- 23:15And if you don't know, with Python, a lot of people develop inside of Docker containers or on remote, you know, VMs that have access to giant data sets.
- 23:25And then also a lot of people on Windows using Windows Subsystem for Linux.
- 23:28And their tools were just not really able to work in those environments.
- 23:33Yeah.
- 23:33And Windows Subsystem for Linux, even though it's in the same OS, it's kind of isolated in certain ways, right?
- 23:38There's no UI, right?
- 23:40So you can't really, like, type code dot on the command line and have a UI pop up until now.
- 23:45Until now.
- 23:47Yeah.
- 23:47So this is a pretty big deal.
- 23:48And, you know, I feel like it addresses one of the things that was, I hear a lot, you know, a lot of people say to me, and it's totally fine, but it's not the way that I see the world.
- 23:58But it's the way they say, look, I, a lot of times, am going to be remoted, you know, SSHed into a server, or I'll be dropped into some environment like Docker or whatever.
- 24:10Where I don't have, you know, my fancy tools, you know, be that PyCharm or VS Code or whatever, right?
- 24:17So my thinking is, I'm going to just work in VI or Emacs because I have it everywhere.
- 24:22Yeah, I think SSH development is probably the number one driver of VI usage.
- 24:28Yeah, yeah, exactly.
- 24:29And, you know, it's a totally valid perspective.
- 24:32I find it's not the tradeoff I make, but it's fine.
- 24:35But I feel like this feature kind of said, like, look, you can have proper tooling all the time over SSH and other things.
- 24:43So maybe tell us a little bit.
- 24:44It's, like, really broken into three parts, right?
- 24:46You talked about WSL, Windows Subsystem for Linux, Docker and containers, and then remote SSH type of development.
- 24:53Let me just take a step back and talk about the concept because a lot of people we showed this to, it takes a little bit for it to click because it's a little bit of a different way of using VS Code.
- 25:01So the user interface of VS Code runs on your local machine.
- 25:04But then there's a remote server that actually hosts kind of like the back end of VS Code, right?
- 25:11Right, like a language server and all that kind of business?
- 25:14Not just the language server, but, you know, the Python extension, for example, runs on that remote environment, the C++ extension, like, you know, the file system, source control.
- 25:21VS Code was always a client server model between the UI and the back end.
- 25:26And so what we did, we just took that server and then moved it off the local machine to the remote environment.
- 25:30You made it farther away.
- 25:31Farther away, exactly.
- 25:32So you get an experience that's just like local development.
- 25:35You're typing in, the UI is nice and responsive.
- 25:38But as you're typing in, it's literally like editing directly the files in the remote system.
- 25:42So you can do debugging.
- 25:44You can get your IntelliSense and autocompletions, you know.
- 25:48Anything that you have.
- 25:49With the Python extension, we didn't even have to really make many changes.
- 25:53It just kind of worked.
- 25:53All the features that we had in there just lit up in this remote environment.
- 25:57That's cool because where it's running is actually where it's interacting, right?
- 26:01Like it's on your remote SSH machine.
- 26:03And so you didn't have to teach it how to find that thing.
- 26:06It's already there, right?
- 26:07You just open it and we automatically copy over like the server and start it.
- 26:11And then you actually don't need any files locally to use it, right?
- 26:14It just sort of, it's like the VI experience.
- 26:16But, you know, you get all of the rich.
- 26:19With debugging and code navigation and all that.
- 26:21Yeah.
- 26:22And people ask like, okay, how do I set up remote debugging?
- 26:24And we say, well, it's not really remote debugging.
- 26:26You know, you're remote editing, but it's local debugging kind of, you know.
- 26:30So it takes a little bit for it to click, but it's really powerful and it's really, really cool.
- 26:34Yeah.
- 26:34I'm definitely looking forward to checking it out.
- 26:37Certainly the SSH side of the things is where it's interesting for me.
- 26:40You know, the Windows subsystem for Linux, you know, I carry around my fruity laptop, so it doesn't matter that much to me, right?
- 26:47But if I worked on Windows, that would be cool.
- 26:49Containers.
- 26:51I think containers are pretty interesting as well.
- 26:53So the thing I'd like to say about containers is that if you think about your developer onboarding guide at your company, right?
- 26:59And it's got like this wiki with all these steps.
- 27:01And then usually the new developer's first job is to go through the onboarding guide and find all the broken stuff and fix it, right?
- 27:07Right.
- 27:08Install this database server.
- 27:09Oh, you got to set this setting so it works.
- 27:11Yeah, install Python in your path, but if you had one, remove that or like, you know, this version of Node or that version of Node.
- 27:17And the cool part is that with the container development environment, you can just kind of clone the repo, open it with VS Code, and it's sort of all your developer dependencies are just defined there for you.
- 27:28And it just starts them up and you can have that environment that you can just start working with and everyone gets sort of the same, whether they're on Windows or Mac or Linux.
- 27:37Yeah, that's pretty cool.
- 27:38You definitely get the closer to what you're actually running debugging and development experience.
- 27:43Well, there's the closer to production, but also just reproducible so that everyone's got the same thing, right?
- 27:48Yeah, it's on big teams, it's always a pain to like figure out why, you know, I did some checking.
- 27:53It doesn't work for that person, but it does for this other person.
- 27:55And yeah, that's no fun.
- 27:57Cool.
- 27:58So this is in the insider build, right?
- 28:01Like I have VS Code and I heard that announcement and I checked for updates and I didn't get any updates.
- 28:05I'm like, oh, oh, well.
- 28:06What's the story with the insider build and like, how do I get it?
- 28:09When will a normal installs just start to see it?
- 28:12VS Code Insiders is our daily developer build of VS Code.
- 28:15It updates every day.
- 28:16And then once a month, the insider's build gets promoted to the thing that gets released, right?
- 28:21The VS Code team uses it themselves for building VS Code.
- 28:24So it is relatively stable.
- 28:25You know what I mean?
- 28:25If it breaks, they fix it quite quickly, sometimes overnight because we have a team in Zurich working on it.
- 28:30So yeah, it's a side-by-side install.
- 28:32You can go to the code.visualstudio.com slash insiders to get the insider's build.
- 28:36So it'll be available in the stable within, you know, the next couple weeks.
- 28:40Yeah, and it'll probably come out about the time we actually release this episode.
- 28:43Yeah.
- 28:44So the magic of time shifting.
- 28:45Yeah, so the remote extensions are in the marketplace.
- 28:47Today they only install on insiders.
- 28:48But very soon you can just go to your extensions tab and install the remote development extensions.
- 28:53And you'll get all the features that we're talking about.
- 28:55Cool.
- 28:55So I want to have this ability on my server.
- 28:58It's Ubuntu running in the cloud.
- 29:00I SSH to it.
- 29:01Like, what do I do?
- 29:03If you already have a public-private key set up with that SSH server, VS Code just uses your SSH configuration on the machine.
- 29:10So you install the remote SSH extension, go to the SSH panel, and you'll see that server listed.
- 29:16And then you just click Open New Window in VS Code.
- 29:19And then it'll just start up a new version of VS Code running in that remote context.
- 29:23So it'll install some stuff, and then all of a sudden it'll just connect.
- 29:25And you can start using VS Code as if you're on that machine.
- 29:29Oh, that's pretty cool.
- 29:30So I don't need to at least manually go and change my server to make that happen.
- 29:34Like, the first run, it goes SSH is in there and goes, well, it looks like you're missing the server sites.
- 29:40We'll drop that in and then get it started.
- 29:42Yep.
- 29:42And then you can just start coding.
- 29:44You can open folders on that remote machine, create new files, and just start plugging away.
- 29:48And then you can install, usually the one-time step is you actually need to install the extensions you want to use on that remote server.
- 29:55So you'd go in and install the Python extension, for example, so that you get Python support.
- 29:59I see.
- 29:59Okay.
- 29:59That's pretty interesting.
- 30:01What's the security story?
- 30:02Like, SSH often means production or servers that are, like, sensitive.
- 30:07You don't want people just to do anything there.
- 30:09And I guess, you know, it's already protected with your certificates in SSH, but anything to be aware of?
- 30:14Yeah.
- 30:15So, I mean, the one thing that has come up is sometimes people have a 2FA prompt or challenge that they need to enter in order to really authenticate with that environment.
- 30:22So if you're in that situation, there's a setting you can turn on that will bring up the terminal so you can type in an additional password or key if you need to.
- 30:29Then how do I interact with files over there?
- 30:32Like, is there a way to, like, explore the file system and find the files I'm looking for?
- 30:36Do you have projects?
- 30:37Like, what is it?
- 30:38Yeah.
- 30:38So there's two, like, when you open VS Code, you kind of get the, like, open a new file sort of window, you know, the default experience.
- 30:45But then you can open the terminal, and the terminal will be running in there, and you can LS and CD around.
- 30:48But you can also open a folder, and then you'll actually get a little browse window to browse the file system over there.
- 30:53And then if you pick, like, you know, seed for home slash my project, you'll open that, you'll be able to see in the file explorer in the left-hand side.
- 31:02You just have, like, the directory trees.
- 31:03Yeah, you'll see the directory tree, all the files in there, and stuff like that.
- 31:06So that's kind of a couple ways to explore.
- 31:08Yeah, that's pretty cool.
- 31:08So you mentioned Windows subsystem for Linux, WSL.
- 31:12Maybe people don't know about that, but there's also was a pretty big announcement here, I think, around that as well, right?
- 31:18That that's, like, proper Linux, not some kind of emulator or something?
- 31:22Yeah, so the way WSL started, it was a Linux kernel or Ubuntu image that you could run, and it was, they sort of shimmed out all the syscall APIs to call into Windows kernel stuff, right?
- 31:34I mean, that was pretty neat, but, you know, the file system performance was a little bit poor with that.
- 31:39Just, you know, it wasn't, these two things weren't really meant to necessarily talk like that, right?
- 31:44So they had built, we've announced a new version of WSL that's more like a very lightweight VM, where it runs a full Linux kernel, and it's, they're saying it's, like, 20 times faster in a lot of cases.
- 31:57Oh, that's pretty cool.
- 31:58You don't have that, you know, interopting between the two operating systems.
- 32:01Yeah, what are some of the use cases people have for using that?
- 32:03Like, why would they use it?
- 32:04Interestingly, most Python developers, the majority, well, not the majority, roughly 50% of them are on Windows, but a lot of them also deploy to Linux environments, right?
- 32:13Right, right.
- 32:14Dev on Windows, push to Linux.
- 32:16Yeah, like Linux servers, right?
- 32:18So a lot of their tool chain is in Linux, right?
- 32:20And you want to, you know, LS and Grap and SED and OCK and all that stuff.
- 32:24You want to be able to just kind of use that, right?
- 32:25So it's really given me a good Bash shell experience where I can apt-get install all the things I need.
- 32:31I can, you know, install Python and all that stuff, but still be able to use the UI, the user interface of Windows.
- 32:37Okay, yeah, that's pretty cool.
- 32:39Steve Dower, one of your co-workers, gave a really cool presentation at PyCon that was entitled something like, Python on Windows is okay, actually.
- 32:48Yep.
- 32:49And it was a really interesting talk.
- 32:51People should definitely go check it out.
- 32:53But some of the cool things he talked about was, I guess, you know, 60-ish percent of Python developers are using Windows.
- 33:02Like, it's quite a high number of how many people are actually using Windows.
- 33:06But he made the point that if you look around the room, like, there's the conference reality and there's real reality of, like, sort of tooling and technology distribution.
- 33:14And conference reality says most people have Macs.
- 33:17A few of them have Linux.
- 33:18And there's a couple people with, like, a Surface or whatever running Windows.
- 33:23But generally, it's, you know, the POSIX side of the world.
- 33:27But if you actually look at the stats, it's not.
- 33:29And he talked about why is that, right?
- 33:32Why aren't more of the Windows developers at PyCon and feeling like they're part of the community, not just, you know, using the tooling, but actually, like, part of the Python community.
- 33:42And I don't know.
- 33:43He had some pretty interesting ideas and solutions he threw out there.
- 33:46But what do you think about that?
- 33:47I definitely agree with the stats.
- 33:50And I was at his talk as well.
- 33:52And, you know, there's a lot of maybe hidden people out there who are just, you know, trying to learn Python or trying to get their job done or, you know, and they're all just, you know, struggling to use the tools.
- 34:04And, you know, we're doing as much as we can from Microsoft to make Python easy to use on Windows.
- 34:08But then, you know, it's up to kind of the package authors to think, hey, it's not just, you know, here's my Mac Linux instructions.
- 34:16I need to actually test this on Windows and make sure it works on Windows.
- 34:19Because there's a lot of people who maybe can't afford to fly to conferences or who aren't, you know, kind of up in all the high tech kind of stuff that we all live and breathe in every day.
- 34:30Right. Well, maybe they didn't choose Python.
- 34:32Maybe their job chose Python for them.
- 34:34Yeah.
- 34:35Right. Like they got a job to work as a Java developer.
- 34:38But then somebody said, well, we need you to maintain this Python project because, you know, Sarah, who was working on it, has moved on.
- 34:46And now someone's got to take it over.
- 34:47So you took it over.
- 34:48And they're now in, you know, working with these packages.
- 34:51And they didn't necessarily decide, you know, to like start in that place.
- 34:54Right. That's a different perspective, I think.
- 34:56That's possible.
- 34:57And there's also a lot of just think about a lot of people use Python.
- 35:00Python for information work.
- 35:01Right.
- 35:02Like it's sort of, you know, I'm trying to crunch some numbers at my insurance company.
- 35:06Right.
- 35:06Like, you know, and I'm using Windows desktop to do a lot of that stuff.
- 35:10Python might be something that I'm, especially these days, a lot of people are using Python just to get their jobs done.
- 35:17Maybe they're not primarily programmers even.
- 35:19Right.
- 35:19I think that's a really big source of the growth of Python.
- 35:22It's not like more websites are being built in Python necessarily.
- 35:26It's that Python is becoming the tool that people who are not developers are using.
- 35:33I think it's growing in both, right?
- 35:34Yeah, yeah.
- 35:35I agree.
- 35:35It's both becoming a, like, really advanced, capable language for, you know, things like data science and machine learning, as well as still easy to approach for that person who's just trying to get their job done and trying to compute some numbers and, you know, maybe script a few things to make their lives easier.
- 35:52Right.
- 35:52Absolutely.
- 35:53I was talking at a dinner last night with some folks who were not super familiar with Python.
- 35:57They've been doing more JavaScript.
- 35:58I mean, they knew of Python, but not deeply, right?
- 36:01They were asking me, you know, why do you think Python has become the de facto language for data science?
- 36:07And maybe I'll throw that question out to you.
- 36:09Like, what do you think?
- 36:10My simple reaction when I heard it was a popular language for data science was like, well, of course, I mean, you got, like, the maps and the array splices and, like, all that stuff.
- 36:20And I just remember with Python, you can, I could always do something with just a few lines of code, maybe, like, 80 lines of code.
- 36:26That would take me a thousand lines of code in another language.
- 36:28And I'm just like, wow, I can't believe I did all that.
- 36:30You know what I mean?
- 36:31And when you put that together with something like data science plus the really good notation for manipulating arrays and stuff like that, I think it just makes sense.
- 36:38And then you have libraries like Pandas and NumPy that came along and actually made it so you could work with larger data sets relatively efficiently and express a lot of stuff that other languages don't really have.
- 36:50And TensorFlow and what?
- 36:51And, well, NumPy even that, you know, has the performance of C, basically, right?
- 36:56Or GPUs.
- 36:57But you don't have to write C directly programming?
- 36:59Data scientists aren't necessarily, like, super top programmers either.
- 37:04They don't know necessarily all the engineering best practices.
- 37:07So having a language that's kind of really approachable, you know, for them, I think, really helps.
- 37:11I was thinking, look, it's a language that's simple to get started.
- 37:13You can kind of get your stuff going, but you don't run out of speed.
- 37:16You've got all these libraries.
- 37:17I think it's pretty interesting that it's kind of taken over that space.
- 37:21But to think about why that is, I think there's a few things that happen, like the creation of Python notebooks, for example,
- 37:28and some of the tooling, but also just the language.
- 37:30Before I joined the Python team at Microsoft, there's an instance where we're trying to crunch some data.
- 37:35And this guy who just came out of school, like, brought in Jupyter notebooks and pandas and all this stuff.
- 37:39And I was like, whoa, Python's changed a lot since I last used it, right?
- 37:42Exactly.
- 37:43And so that got me really excited about the language again.
- 37:44Yeah.
- 37:45That's super cool.
- 37:45Yeah.
- 37:46It's got so many interesting use cases.
- 37:48And different people use it so differently, right?
- 37:51Like, my first reaction to I need to write some code is not fire up Jupyter and create a notebook.
- 37:55And poke around is like, I'm going to create a project with tests and coverage and these files and architecture and layers.
- 38:03And it's totally valid.
- 38:04It's just different use cases.
- 38:06Yeah, I like that acceptance of kind of even if you're not doing Python correctly, it's still fine.
- 38:10Yeah.
- 38:10Right?
- 38:10Like, there's really, to me, there's no correct way of using Python.
- 38:13The way to use it is the one that gets your job done as quickly as possible.
- 38:16Yeah, yeah, for sure.
- 38:18So, there's a couple of other things I want to talk to you about VS Code while you hear that I think is pretty awesome.
- 38:23We talked about machine learning and AI.
- 38:25So, I guess I'll start with that one.
- 38:27So, let's talk about IntelliCode.
- 38:29So, we have autocomplete in general.
- 38:33We have IntelliSense.
- 38:34It's kind of like Microsoft's terminology for this autocomplete idea, right?
- 38:39Mm-hmm.
- 38:40And then IntelliCode is something different, right?
- 38:43Back at the EuroPython conference last year, we launched the IntelliCode extension in VS Code, and it only supported Python.
- 38:50So, what IntelliCode is machine learning AI-assisted autocompletions, right?
- 38:56So, we scour a bunch of open-source databases.
- 38:58We find what are the common code patterns, and then we build this model.
- 39:03And then if you install the IntelliCode extension, you get that model.
- 39:05And then as you're typing, it will predict based on your current code's context what the most likely autocompletion is.
- 39:11That's super cool.
- 39:12Like, traditional autocomplete is alphabetical, probably, right?
- 39:16Or top five.
- 39:17Yeah, yeah.
- 39:18I mean, but it doesn't really know, right?
- 39:20It just says, well, these are the attributes of this object or this module or whatever.
- 39:26Here they are.
- 39:27Go, we're going to try to help you, right?
- 39:29And maybe substring search, right?
- 39:30Like, if you type AE, it'll have, like, argument exception will show up because it puts those together or something.
- 39:36But it doesn't say, well, it looks like you're in the context of a with statement.
- 39:40And you've opened a file, and this is the file pointer thing.
- 39:44So if I say dot now, you probably want to read from it or write from it versus, you know, I don't know, whatever else, right?
- 39:49Yeah, exactly.
- 39:50That's pretty awesome.
- 39:51If you actually look at the IntelliCode extension page, there's an animated GIF, one of the TensorFlow 1.0 getting started examples.
- 39:57And then it just predicts every single dot, the right thing to press, and you press enter, and it just works.
- 40:02It's kind of magical.
- 40:03It's pretty insane.
- 40:03So it's kind of like that game you can play.
- 40:06Like, if you start to text something on, like, an iPhone or whatever, where they suggest a few words, and if you just keep hitting…
- 40:11You just keep pressing it and it writes a sentence out for you.
- 40:13Yeah, it's like that.
- 40:14Right.
- 40:15Honey, I'm going to be late from work, but I'm stopping by the store to get milk.
- 40:18It's like, how did that happen, right?
- 40:19But whoops, I wrote a TensorFlow program instead.
- 40:23Yeah, exactly.
- 40:23Okay, so I can just go get that now.
- 40:25That's been out for a while?
- 40:26Yeah, it's been out.
- 40:26And it just…
- 40:27So we first launched that preview of that at EuroPython, and we just GA'd IntelliCode today.
- 40:32And initially for VS Code, it was just Python.
- 40:34And now we've added, like, TypeScript, JavaScript, and a few other languages there.
- 40:39Yeah, so how does it know?
- 40:40You said you went through GitHub and stuff.
- 40:43Like, what's the story?
- 40:44It analyzes, like, the usage of packages, or what's it do?
- 40:47I don't know the specifics of the model.
- 40:49That's kind of our data science team figured it out.
- 40:51But it looks at the usages around where your current code is.
- 40:55So it looks around the surrounding area to see what code is being used around that.
- 40:59And then based on patterns it's seen on GitHub, the model's able to infer what comes next.
- 41:06It's one of those things where it's just sort of like all these layers and things like that.
- 41:09You don't know exactly how it works, right?
- 41:10It's AI, right?
- 41:11Yeah.
- 41:11Tell me what you want, not what you want me to do.
- 41:13Exactly.
- 41:13Don't ask how I did it.
- 41:15I'll just tell you what you need.
- 41:16So I think it's interesting, you know, like, even 20 years ago, people were saying,
- 41:20oh, no, there's not going to be programmers anymore.
- 41:22It's just going to be, like, sort of business people dragging, like, boxes around.
- 41:26And maybe the AI stuff is going to come along.
- 41:28And I feel like that's absolutely not the case these days, right?
- 41:32Like, there's plenty more code to be written.
- 41:34But stories like this, or tools like this, where it's, like, assisting.
- 41:39It's an accelerator, right?
- 41:40It's an accelerator, right?
- 41:41I feel like software development has both gotten easier and harder, you know, over the last
- 41:4610 or 20 years.
- 41:47Like, 20 years ago, the tools were way less good.
- 41:50There was no stack overflow.
- 41:52The internet was not much help.
- 41:54Or, you know, even at some point, it didn't exist, right?
- 41:57You had to go for a round or whatever.
- 41:59So the types of things we tried to solve with software, right?
- 42:02We didn't have the cloud, for example.
- 42:04They were smaller.
- 42:06It was harder to solve them.
- 42:07But we, like, knew they were hard.
- 42:09So we attempted smaller problems.
- 42:10Now we attempt to solve bigger problems.
- 42:13But we have better tools.
- 42:14I feel like there's this kind of, like, tension.
- 42:16Like, it's sort of about as hard as it used to be.
- 42:18But we can do way more.
- 42:19What do you think?
- 42:20Yeah, I mean, certainly, I think you used to be able to print out a book on programming
- 42:24or whatever.
- 42:25Like, you know, have that reference guide beside your desk.
- 42:27And that's just not possible today, right?
- 42:29Right.
- 42:29And I actually think about, when I think about the, like, technology becoming harder, I think
- 42:33about things like containers, right?
- 42:35Like, hey, it allows me to get all these benefits.
- 42:37But then, oh my gosh, it's so much harder to work with, right?
- 42:40Now I got to know about Docker files.
- 42:42And I also got to know about Linux and Windows or Linux and Mac, maybe.
- 42:45And things like React, for example, where it's like, wow, it's a super great programming
- 42:49model, but like, you got an npm and Babel and TransPile and JSX.
- 42:53And like, what is happening?
- 42:54Where's my just, you know, JavaScript source equals or whatever?
- 42:57Yeah.
- 42:58So, I mean, I think the key is if you can sort of get past the tooling complexity and get
- 43:02to that, once you sort of get in that flow of, okay, I've got everything set up and it's
- 43:06working, like, we can really do some awesome stuff.
- 43:09But then I think it's really hard for beginners to get into that because there's like this learning
- 43:13curve.
- 43:13I've got to learn the last 20 years of advancement in technology.
- 43:18This portion of Talk Python To Me is sponsored by Backlog from NewLab.
- 43:21Developers know the importance of organization and efficiency when it comes to collaborating
- 43:26on a team.
- 43:26And Backlog is the perfect collaborative task management software for your team.
- 43:31With Backlog, you can create tasks, track bugs, make changes, give feedback, and have team
- 43:36conversations right next to your code.
- 43:37You track progress with features like Gantt and burndown charts.
- 43:41You document your processes right alongside your wikis.
- 43:44You can integrate with the tools used every day like Slack, JIRA, and Google Sheets.
- 43:48You can automatically register issues from email or web form submissions.
- 43:51Take your work on the go using their top rated mobile apps available on Android and iOS.
- 43:56Try Backlog for your team for free for 30 days using our special URL at talkpython.fm slash
- 44:02backlog.
- 44:03That's talkpython.fm/backlog.
- 44:07The last other one that I said I was going to ask you about too, the other one that I
- 44:10thought is pretty cool that I've wanted for a long time in editing is something called
- 44:15LiveShare, I think.
- 44:16I've done a lot of like, hey, let's work on this together.
- 44:19So I'm going to set up a Zoom meeting and I'll share my screen or Skype and we'll share
- 44:23the screen or who knows how this is going to happen.
- 44:25But it probably involves sharing a screen and who's typing right now.
- 44:28Oh, I need to type that.
- 44:29Let me switch back to your computer and you'd share your screen.
- 44:32Or go up two lines there.
- 44:34No, one character over.
- 44:35One character over.
- 44:35No, that one, this one.
- 44:37And that's the point where you're like, why are they not showing line numbers in their
- 44:40editor?
- 44:40Come on.
- 44:41Yeah, yeah.
- 44:41I could just say line 132 and we'd be done.
- 44:43But no, up, up, up.
- 44:45Yeah, exactly.
- 44:45So this LiveShare stuff is pretty cool and it's kind of like that, right?
- 44:49Yes.
- 44:49The way it works is somebody can start a LiveShare session.
- 44:52So first of all, you install the VS LiveShare extension.
- 44:55It works on both Visual Studio and Visual Studio Code.
- 44:57You start a collaboration session.
- 44:59You invite someone to join.
- 45:00And then when they join, they're sort of connected into your development environment.
- 45:05They can see all the files you have open.
- 45:07They can, you know, if they start typing, they'll get IntelliSense.
- 45:10They can collaboratively debug with you.
- 45:13You can choose to follow each other or go explore the code base kind of on your own and come back.
- 45:17You can sort of like click a follow button and things like that.
- 45:19Is that a VS Code only thing or does it work with other stuff?
- 45:22It works with Visual Studio as well.
- 45:24The full Visual Studio.
- 45:25So I get this question all the time.
- 45:26You know, can I collaborate?
- 45:27Can I have a Windows machine and have a Mac join that?
- 45:29Yes, you can collaborate across platforms and machines and stuff like that.
- 45:33So, I mean, the cool thing, it really helps you if you can have someone come in and look at the code and then they can just type in the code that they want to write.
- 45:40You know what I mean?
- 45:40And you can have multiple people joining in on that.
- 45:43So it's really cool.
- 45:44I just used it the other day with a coworker when we're building our demos for PyCon and Build.
- 45:48And I was just like, wow, this.
- 45:50Yeah, that sounds pretty cool.
- 45:51Can you do it?
- 45:52Is it like pretty useful for a code review?
- 45:54Something like that?
- 45:54Yeah.
- 45:55Yeah.
- 45:56Do you want to kind of explore around?
- 45:57Okay.
- 45:57Yeah.
- 45:58That sounds like a pretty cool feature.
- 46:00Definitely.
- 46:01So we're getting pretty short on time.
- 46:03So I guess let me just ask you a few sort of closing out questions.
- 46:06One of the things that was cool at PyCon, and I think would be cool to see if it's showing up over here at this conference, is the sprints.
- 46:16Right?
- 46:16At the end of the last couple days of PyCon, there's a few other days where folks who are maybe working on Flask or SQLAlchemy, they stick around and collaboratively.
- 46:26Jam on it.
- 46:27Jam on it, right?
- 46:28Jam on it.
- 46:28Maybe learn even how to become a contributor to that project or whatever.
- 46:32It'd be cool if you guys did something like that here.
- 46:34That's the first time someone's brought it up.
- 46:35I actually think you're right.
- 46:36It's a cool idea.
- 46:37I'll recommend it.
- 46:38Yeah.
- 46:39But one thing, to give you guys props, one thing that was really cool here is out on the expo floor, there's like maybe, I don't know, 20, 30, 40.
- 46:46It's like maybe computers.
- 46:47And it said, this section is reserved for students.
- 46:49And any student that walked by could sit down and start working on some projects using the computers there for, I think there was some IoT or robotic stuff going on.
- 46:58But I feel like that's super cool and other conferences should adopt that.
- 47:01Like at PyCon, there's some stuff like that.
- 47:03But it's usually in a back room, closed off, and you had to know about it in advance and sign up for it.
- 47:08It's not like it was happening in public and all the other students would happen upon it, right?
- 47:13Yeah.
- 47:13I mean, they started doing the mentored sprints this year at PyCon to start bringing more people in.
- 47:17The students thing was new this year.
- 47:19And I just love it.
- 47:20I think it's a great idea.
- 47:20And anything we could do to get people learning programming at a younger age helps us all move forward quicker.
- 47:29But also, I think it does a lot to increase the diversity.
- 47:32Yeah.
- 47:32Yeah.
- 47:33People can kind of stumble upon it when they're young and go, oh, this is cool.
- 47:35I like this.
- 47:36You know?
- 47:36Yeah.
- 47:36It's super cool.
- 47:37And programming is usually pretty easy with like a few little sharp edges.
- 47:42And you're like, why does this not work?
- 47:43Why can't I get over this?
- 47:44And if someone's there, just go like the mentored sprints.
- 47:46Just click this button there.
- 47:47Yeah.
- 47:47Like, oh, you've got to run this command first.
- 47:49Oh, you didn't activate your virtual environment or whatever, right?
- 47:51Like then it'll be smooth, right?
- 47:53Just a little bit of initial help, I think, would be great.
- 47:56Yeah.
- 47:56Yeah.
- 47:56Pretty cool.
- 47:57So what's your favorite thing here, Bill?
- 47:59Your favorite announcement or thing that came out around the conference?
- 48:03I think the WSL 2 was definitely a highlight.
- 48:05Good file system performance, things like that.
- 48:07The new Windows terminal, right?
- 48:09Yeah.
- 48:10And we haven't talked about that.
- 48:11And I haven't had a chance to look at it.
- 48:12But tell us about it.
- 48:13It sounds like Command Prompt got better.
- 48:15And it's actually, they put the code up on GitHub.
- 48:17It's open source.
- 48:18But it's like tabbed.
- 48:19It looks a lot nicer.
- 48:21It's got full Unicode support.
- 48:23And you can kind of switch between a WSL or a Windows command prompt.
- 48:27Right.
- 48:28So this is not PowerShell, not a separate PowerShell, like blue window.
- 48:32But like the traditional CMD one is now better.
- 48:35Is that what it is?
- 48:36Yes.
- 48:36It might support PowerShell too.
- 48:38I haven't caught up on all I built just yet to be honest.
- 48:40But the one thing, we also announced a cloud hosted developer environments where it's a
- 48:44preview right now.
- 48:45You have to sign up for it.
- 48:46But I'm really excited to see where that goes.
- 48:48What does that mean?
- 48:48You get like a remote terminal or is it this VS Code?
- 48:53Well, think about it, the VS Code remote.
- 48:54But then somebody also spins up a server for you as well that you can just click a button
- 48:59and get your environment pre-created, pre-provisioned for you in the cloud and just start working
- 49:03away on it.
- 49:03So I'm really excited to see where that goes.
- 49:04So if that sounds interesting to anyone, definitely sign up for the preview and check it out.
- 49:08That's cool.
- 49:09Does it work in a web browser or does it require something like VS Code?
- 49:11Both.
- 49:12Yeah.
- 49:12Okay, cool.
- 49:13So VS Code, I mean, there's so many things that we've announced here.
- 49:15The browser-based offering as well.
- 49:17Okay.
- 49:17Yeah, that's pretty cool.
- 49:18So the reason I ask is a lot of times people are trying to teach classes or run stuff,
- 49:23especially around schools and students, and they just have a Chromebook.
- 49:26And it's like, can you do Python on a Chromebook?
- 49:29How do you do that, right?
- 49:30Yeah.
- 49:30These sorts of remote environments that work in the browser are really awesome because
- 49:35then it makes it possible for all these kids to do programming.
- 49:37Yeah.
- 49:37I love that from the getting started angle as well as, say, I've got a super big, powerful
- 49:42development environment and I've got to spin up a bunch of them all the time and I just
- 49:47want to move from this one to that one to this one to that one.
- 49:49So at a really large scale at some of the larger companies, that's another area where that's
- 49:53really interesting.
- 49:53Okay.
- 49:54Yeah.
- 49:54Super cool.
- 49:54Super cool.
- 49:55All right.
- 49:55Well, I think that might use it up all our time, but not all the questions I had for
- 49:59you.
- 49:59So I'll ask you the final two questions before we wrap it up.
- 50:03Kind of know the answer to the first one, I'm guessing, but I'll ask it just for, I think
- 50:08it's always true.
- 50:08If you're going to write some Python code, what editor do you use?
- 50:11Obviously Visual Studio Code.
- 50:12Yeah.
- 50:12Right on.
- 50:13Okay.
- 50:13And notable PyPI package.
- 50:16So I just started playing with this today.
- 50:18I have a build talk later today, but I just started using TextBlob for doing sentiment analysis.
- 50:22Oh yeah.
- 50:22TextBlob is cool.
- 50:23Yeah.
- 50:24I just came across it as well.
- 50:25Yeah.
- 50:25And cause I was like, how do, it's the easiest way to do sentiment analysis.
- 50:27And I came across TextBlob and I'm like, wow, this code fits in one tweet.
- 50:31I can build a Flask API that returns, you know, positive or negative within, you know, a few
- 50:36lines of code.
- 50:37This is pretty awesome.
- 50:37Yeah.
- 50:38That's cool.
- 50:38Like, so people who don't know, TextBlob is like a simplified layer on top of NLTK and
- 50:44you can do all sorts of cool stuff.
- 50:46Like here's document and ask it for the sentences, ask it for the nouns, ask it for the sentiment of
- 50:51phrases, the number, like the unique words, a lot of cool, like,
- 50:55things that are real simple though, right?
- 50:56Yeah, exactly.
- 50:57I just started playing with it and it's pretty fun.
- 50:59Right on.
- 51:00All right.
- 51:00Well, final call to action.
- 51:02People maybe want to check out some of the things you talked about, like the insider remote
- 51:06Visual Studio Code stuff, something like that.
- 51:08How do they get started?
- 51:09So check out our Python blog, aka.ms slash Python blog.
- 51:12So we post, you know, all of our updates there, our monthly releases about the VS Code remote
- 51:17stuff.
- 51:18So if you just want to keep up to date with what we're doing, check that out.
- 51:20All right.
- 51:21Right on.
- 51:21Well, Dan, thanks for being on the show.
- 51:23It's great to chat with you.
- 51:23My pleasure.
- 51:23Great chat.
- 51:24You've got in person even.
- 51:25Yeah.
- 51:26This is awesome.
- 51:26Thanks.
- 51:27Yep.
- 51:27See you.
- 51:28This has been another episode of Talk Python To Me.
- 51:31Our guest on this episode was Dan Taylor, and it's been brought to you by Linode and Backlog.
- 51:36Linode is your go-to hosting for whatever you're building with Python.
- 51:40Get four months free at talkpython.fm/Linode.
- 51:44That's L-I-N-O-D-E.
- 51:46With Backlog, you can create tasks, track bugs, make changes, give feedback, and have team conversations
- 51:52right next to your code.
- 51:54Try Backlog for your team for free for 30 days using the special URL talkpython.fm slash
- 52:00Backlog.
- 52:00Want to level up your Python?
- 52:03If you're just getting started, try my Python Jumpstart by Building 10 Apps course.
- 52:08Or if you're looking for something more advanced, check out our new async course that digs into
- 52:13all the different types of async programming you can do in Python.
- 52:16And of course, if you're interested in more than one of these, be sure to check out our
- 52:20Everything Bundle.
- 52:21It's like a subscription that never expires.
- 52:23Be sure to subscribe to the show.
- 52:25Open your favorite podcatcher and search for Python.
- 52:27We should be right at the top.
- 52:28You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 52:33and the direct RSS feed at /rss on talkpython.fm.
- 52:37This is your host, Michael Kennedy.
- 52:39Thanks so much for listening.
- 52:41I really appreciate it.
- 52:42Now get out there and write some Python code.
- 52:44I'll see you next time.