Latest / Talk Python To Me / #40: Top 10 Data Science Stories from 2015
Transcript
- 0:00It's the end of the year, and many of you are probably kicking back and taking it easy without a TPS report to be seen.
- 0:05So we'll keep this fun and lighthearted this week.
- 0:08We're running down the top 10 data science stories of 2015 on episode 40 of Talk Python To Me with guest Jonathan Morgan, recorded December 13th, 2015.
- 0:18Welcome to Talk Python To Me, a weekly podcast on Python, the language, the library, the language, the library, the language.
- 0:48The ecosystem and the personalities.
- 0:50This is your host, Michael Kennedy.
- 0:52Follow me on Twitter where I'm @mkennedy.
- 0:54Keep up with the show and listen to past episodes at talkpython.fm and follow the show on Twitter via at Talk Python.
- 1:00This episode is brought to you by Hired and DigitalOcean.
- 1:04Thank them for supporting the show via Twitter where they're at Hired underscore HQ and at DigitalOcean.
- 1:10Hey, everyone.
- 1:12This episode's a little unique.
- 1:14I've partnered with a great data science podcast called Partially Derivative, and we're doing a joint show multicast of both podcasts.
- 1:21If you like this sort of thing, be sure to check out partiallyderivative.com and subscribe to their show.
- 1:26Also, I wanted to let you know I'm not releasing a show next week.
- 1:29I'm on vacation.
- 1:31So I'm going to take next week off, do a little resting and relaxation, hang out with the family, and be ready to get back and do a ton of awesome shows for you in 2016.
- 1:40Now, let's get on to this co-hosted episode I did with Jonathan Morgan.
- 1:44Hey, Jonathan.
- 1:46Welcome to the show.
- 1:47Hey, Mike.
- 1:48Thanks so much for having me.
- 1:50Yeah, I'm really excited to do this joint Talk Python partially derivative podcast about the end of the year and data science and all that awesome stuff.
- 1:58Yeah, I'm super excited, too.
- 2:00I think when our powers combine, it is the ultimate resource for Python data, Python stuff in the universe.
- 2:07Absolutely.
- 2:08Yeah, it's going to be great.
- 2:09It's going to be great.
- 2:10So for those of you who don't know me, my name is Michael Kennedy.
- 2:13I'm the host of Talk Python2Me, a sort of developer-focused Python podcast.
- 2:17And this week, I'm teaming up with the partially derivative guys.
- 2:21And for those of you who don't know me, I'm Jonathan Morgan, one of the co-hosts of the partially derivative podcast, a podcast about data science, kind of, but also sort of about screwing around and drinking beer.
- 2:34Yeah, that's really the most common combination of any two things, I would say.
- 2:38It's probably drinking beer and data science, right?
- 2:41All of the best data science is done in a two-beer buzz.
- 2:45It's the secret nobody tells you.
- 2:46That's right.
- 2:47You only learn it in grad school.
- 2:49Yeah, exactly.
- 2:51I kind of like to hear about your company.
- 2:54The last I heard is you guys were starting a data science company, and that's about all I heard.
- 2:59It's called Popply, right?
- 3:00Yeah, that's right.
- 3:02So it's called Popply, and my two co-hosts of partially derivative, Chris Albon and Vidya Spandana, started this data science company.
- 3:10And so basically, we were realizing that there's a whole bunch of data science that's super hard.
- 3:17And everybody, I think, is familiar with this kind of artificial intelligence and complicated machine learning.
- 3:25But then there's a lot of data science that's actually pretty straightforward.
- 3:28It kind of boils down to inference and making charts out of data that you just have sitting around.
- 3:35So you have a better everyday idea about what's happening.
- 3:38And it turns out that that's super hard.
- 3:39Like, actually, even for pretty technical people, it's super hard.
- 3:42You know, like, I meet a lot of developers who are like, they'll ask me a question like, so I've got like, like, thousands of rows of data in my database.
- 3:51And they're all like, at a time.
- 3:53But then how do I like, look at it, you know, like, over time?
- 3:59And it's like, oh, that's right.
- 4:00Like, I mean, super technically competent people who are still like, I just don't really understand how the data thing works.
- 4:06And that first kind of turning that first corner was really important to us.
- 4:10We're like, okay, cool.
- 4:11We could actually empower a lot of people to do data stuff if we could make that first step automatic.
- 4:17Like, if we could just go from some raw data to charts to give you an idea about what's happening inside your data, we should definitely do that for people.
- 4:24And so that seems easy.
- 4:25It took us a little bit longer than we thought.
- 4:29All those details, they keep sneaking in there.
- 4:31Exactly.
- 4:33Exactly.
- 4:33But yeah, so, but we've released a product.
- 4:37It's in private beta.
- 4:38So talk Python to me, listeners.
- 4:41You should definitely be part of the private beta.
- 4:43I'm sure there'll be some contact information.
- 4:46It's poppily.com.
- 4:47You can go request an invite or just email me or at me on Twitter or something, and we'll get you in the private beta.
- 4:52Yeah, and we're releasing publicly early next year.
- 4:55So it's super fun.
- 4:56We're having a really good time.
- 4:57That's great.
- 4:58You guys are actually using Python quite a bit there, right?
- 5:00Oh, yeah.
- 5:02Up and down the stack.
- 5:03It's all Python.
- 5:04So some of the data people out there might know that there's another couple languages that do some data science or that people use to do data science.
- 5:12One is called R.
- 5:13People use a language called Scala.
- 5:15None of them live up to the awesome power and flexibility of Python, which is why we use it in almost everything we do.
- 5:23From the web app that people interact with.
- 5:25The web app that people interact with when they're actually using the system.
- 5:27All of that's in Python.
- 5:28It's actually a Django app.
- 5:30I hadn't coded in Django for a while.
- 5:31It was super fun.
- 5:32And then the back end uses SciPy and the whole SciPy stack for some of the machine learning and data processing stuff that we're doing on the back end.
- 5:42So we are a Python shop all the way.
- 5:45That sounds really fun to be putting all that together.
- 5:47I'm sure you guys are liking it.
- 5:48Yeah.
- 5:50It's actually the coolest thing about Python from my perspective is that you can do kind of complicated scientific computing and stats and then plug it right into the web app that you'd already built because the language is so flexible.
- 6:00So it's been fun.
- 6:04Yeah.
- 6:04Very cool.
- 6:05So I'll put a link in the show notes, but definitely if you guys, if that sounds interesting, check out poppily.com.
- 6:11Is that right?
- 6:11Yeah.
- 6:12Yeah.
- 6:12That's it.
- 6:12Poppily.com.
- 6:13We thought about poppily.io, but poppily.io, it was just weird.
- 6:17It was too much.
- 6:18Get one of those Libyan domains.
- 6:20Those are always good for the startups.
- 6:22The LOIs.
- 6:23Yeah.
- 6:24Yeah.
- 6:25Poppily.
- 6:26Poppily.
- 6:27Would have been the best.
- 6:27Yeah.
- 6:28Missed opportunity.
- 6:29Missed opportunity.
- 6:29Well, you can always change the name if you really have to.
- 6:33All right.
- 6:34So you want to talk about this year?
- 6:36I mean, this show's going to come out on Talk Python on the 29th, and I suspect around the same time on Partially Derivative.
- 6:43It's perfect, like right at the end of the year, to talk about sort of what has happened in Python world intersected with data science, I guess.
- 6:52Yeah, absolutely.
- 6:54I mean, it's been a big year.
- 6:55A big year for Python and a big year for data science.
- 6:58The first pick, maybe not the most important, is probably most relevant to people while they're listening to this show.
- 7:05Like, if it comes out on the 29th, you know, you got some vacation.
- 7:07Maybe you'll pick it up around the 31st or the 1st.
- 7:11That's typically when we make our New Year's resolutions, right?
- 7:15It is.
- 7:15It is.
- 7:16And the first story is all about how you're pretty much going to fail at this.
- 7:20Don't get your hopes up, right?
- 7:24I know.
- 7:25The numbers are.
- 7:26The probability is that you're not going to stick with that New Year's resolution, which is funny because I think it's something that we all know.
- 7:32But this is actually from last year.
- 7:33Mona Chalabi, who's not at 538 anymore.
- 7:36She's doing data journalism for The Guardian.
- 7:39But she was at 538 at the time.
- 7:43And this was actually kind of like a larger story of the last year that I think kind of data journalism also really came into the, you know, kind of came into the public mindset.
- 7:53And she did a really interesting piece where she broke down the stats of how often people fail at their New Year's resolutions and like how long they keep them.
- 8:01And I guess it's something like 70 odd percent fail within the first two weeks.
- 8:07I'm going to change my life.
- 8:10I promise this year will be different.
- 8:12Oh, maybe.
- 8:13But it's a Tuesday.
- 8:15And, you know, my friends are going out or whatever, right?
- 8:18Yeah, yeah, totally.
- 8:20There's a lot of, I like, I really like the aspiration of New Year's resolutions.
- 8:23And I'm just not going to think about the cold, hard reality of their eventual failure until later this month.
- 8:29Yeah, exactly.
- 8:30You're going to wait at least two weeks.
- 8:31Exactly.
- 8:32Yeah.
- 8:32So some of the most common ones, well, the most common by quite a measure was lose weight.
- 8:38And closely related to that was exercise more.
- 8:40And then the third one really, in terms of popularity, really puts a sort of a challenge on being able to determine whether or not you've achieved it, which is to be a better person.
- 8:52How do you analytically answer that, right?
- 8:54That's true.
- 8:56It's tough.
- 8:57It's tough.
- 8:57I mean, I guess you probably could say there's a little bit of wiggle room.
- 9:01If 70% of people failed at that resolution, that's actually really worrying.
- 9:06I need to be just an incrementally better person.
- 9:10They're like, no, I tried, but I'm still a jerk.
- 9:12No, I yelled at the neighbor again and kicked over.
- 9:15Yeah, exactly.
- 9:18Nice.
- 9:18Oh, well.
- 9:22Oh, well.
- 9:23So you and I are both big fans of podcasts.
- 9:26We listen to a bunch and obviously we produce some that we're very passionate about.
- 9:30And the next one, the next item is actually about the most popular podcast of all time, something called Serial.
- 9:39Yeah, in fact, I think it was the only thing in 2015 that was more popular than Talk Python To Me and data science.
- 9:47The only thing.
- 9:48Everything else, you know, sort of pales in comparison to these two giants of media dominance.
- 9:53But of course, there is Serial.
- 9:55Yeah, Serial is, if you guys haven't heard of it, it's a podcast that goes back and looks at a person accused, maybe convicted of murder.
- 10:06I can't remember.
- 10:07No, he was convicted.
- 10:09Convicted.
- 10:09Yeah, that's what I thought.
- 10:10And goes through this high school guy and sort of rehashes, reevaluates the evidence, redoes the interviews.
- 10:18And it's like an investigative journalism look, but through the eyes of a podcast rather than maybe through like Time magazine or whatever.
- 10:26And it was downloaded something like five million times a week.
- 10:30It completely broke all the records of all time.
- 10:33Yeah, it was pretty amazing.
- 10:35I mean, and by the way, spoiler alert, the dude is totally...
- 10:39Totally guilty.
- 10:39I'm just...
- 10:40I mean, this is not really a spoiler because that's not how the show ends.
- 10:43But this is going to be cool.
- 10:45This is going to be really divisive for your listeners because half, I think, are going to write angry emails and the other half are going to be like, totally.
- 10:52So that's where I stand.
- 10:53I feel like I just...
- 10:54I feel the responsibility to get that off my chest.
- 10:57No, I can't.
- 10:59I hash it.
- 10:59Well, this second item, also at FiveThirtyEight.com, sort of a journey of some data sciences folks to actually go through and try to apply data science to this journalism to answer statistically or, you know, sort of through data science.
- 11:14Is he guilty or not?
- 11:16Yeah.
- 11:16Yeah.
- 11:17And this was actually interesting because it's not really something that can be quantified.
- 11:21In fact, that was really a big theme in the show was that all of the information that we had at the time and that we have now to assess whether or not this man was guilty of the crime that they, you know, they think that he committed this murder is really suspect.
- 11:37It's really not – it's hard to say conclusively what did and didn't happen because it relied so much on, you know, personal accounts of the events of the day.
- 11:45That said, there was some information that they could point to that definitely happened.
- 11:50And the big argument that everybody who believes that he's guilty was making was that none of these – none of the events in particular, like, made it certain that he was guilty.
- 12:03But when looked at in the aggregate, then that was really unlikely.
- 12:07That was sort of the intuition that everybody had.
- 12:09But the interesting part was that the – so, 538 interviewed a couple people who are data scientists and they went through kind of a Bayesian process for, you know, assessing the likelihood that each of the events could happen in concert.
- 12:23Like, whether or not he basically just had, like, super bad luck.
- 12:26And it actually, you know, when you look at this as something called a multiple testing problem, that's a way that you can test the hypothesis in lots of different ways.
- 12:34And looking at it through that lens makes it seem a little bit more probable than you might first assume that all of these different things could happen to him.
- 12:43So, basically, like, he asked the victim of the crime for a ride.
- 12:46He lent his car and his cell phone to somebody else who was also accused of the murder.
- 12:52And then his phone was in a location that was in, like, you know, within, like, a small distance from where the body was found.
- 12:59And then his cell phone records seemed to corroborate with a bunch of other, like, of the prosecution's testimony about how he totally – so, basically, like, there was, like, four or five things that made it, like, dude, that's impossible.
- 13:09Like, if all those things are true, you were definitely guilty, even though none of them as an individual piece of information is super damning.
- 13:15But it turns out, according to these data scientists, that, well, you know, maybe we should give this a second look.
- 13:20It's actually not that unlikely that he could have had that much bad luck.
- 13:23So, we'll see.
- 13:24Yeah, that's – I think it's really interesting to take, you know, a hard science like data science that's working with numbers and apply it to something soft like interviews and likelihood that someone's telling the truth and these kinds of things.
- 13:38So, I think even in that regard alone, it's really interesting.
- 13:42Yeah, totally.
- 13:42I mean, ultimately, it was pretty subjective.
- 13:44But it was – I mean, and it's hard because this was – these are, like, real people's lives that we're talking about.
- 13:49It was a true story.
- 13:50You know, it's not like a murder mystery.
- 13:52But it was really hard not to get into it and take sides and think about it like, you know, like a whodunit.
- 13:56So, you know, apologies to all involved that we're talking about this in such an insensitive way.
- 14:03Yeah, absolutely.
- 14:03It's definitely a harsh reality that something bad happened to somebody.
- 14:08They're having a second season.
- 14:09I haven't listened to it yet.
- 14:10What's the story of the second season?
- 14:11Do you know?
- 14:11Just came out.
- 14:13No.
- 14:13Yeah.
- 14:14No, I don't know.
- 14:15I think they're probably, you know, trying to keep up with the times because, you know, if you don't – as we know, you got to keep putting out content or people get bored.
- 14:25So, Serial 2 – but I guess all I know is that it's probably – I think it's not about the same guy.
- 14:31So, if you're sick of hearing about this guy's story, then you're in luck because it's about – I'm assuming another unsolved murder.
- 14:37Yeah, it's got to be.
- 14:38It's got to be.
- 14:39All right.
- 14:40Moving on to the next item is something very near and dear to the Talk Python listeners' hearts, I'm sure.
- 14:47And that's Jupyter and iPython and iPython Notebooks.
- 14:51Yeah.
- 14:52Yeah, absolutely.
- 14:53And they've had a huge year.
- 14:56Yeah.
- 14:56So, I think – yeah.
- 14:58And so, I don't – I'm assuming a lot of your audience will be pretty familiar with iPython and Jupyter.
- 15:02Although, that said, I guess there's like two camps of Python developers, I feel like.
- 15:08Like sort of web developers and software engineers and then kind of data and stats folks.
- 15:14Did you come at Python from a computer science perspective or did you have to find some language to do your specialty and kind of grow into programming?
- 15:21I suspect that that second category is very well familiar with the iPython stuff.
- 15:27So, maybe I should just tell everyone.
- 15:29iPython Notebooks are these sort of interactive documents.
- 15:34You can load them up as web pages and you can write a little bit of Python code and then you can actually execute them real time right there.
- 15:42Like so, you could pull some data from a database and then do some sort of science on it and a graph pops up.
- 15:48And then you write a little bit more code and another bit of data pops up.
- 15:52And these things are sort of live research documents.
- 15:55Very powerful.
- 15:56And this has been sort of generalized out of the Python world through this Jupyter project to apply to many different programming languages.
- 16:05So, this Jupyter project is an open source project run by Fernando Perez and some other guys.
- 16:10I'm actually working on having them on the show shortly.
- 16:13So, a couple of people have asked if they can be on the show.
- 16:15And yes, we'll have somebody from iPython and Jupyter soon.
- 16:19But these guys are an open source project that has just received $6 million in funding.
- 16:25Yeah, which is kind of amazing.
- 16:28I mean, it's a massive amount of funding for a project like this that's effectively a developer tool.
- 16:33But it's so useful.
- 16:35I think anybody – I was a little bit skeptical of it at first because I came at Python first from more of a computer science and software engineering background.
- 16:43And it was later that I got into data stuff.
- 16:46But to have something that you can basically record all of your actions – because when you're doing data projects, so often you're like, you need to explain – you get to a number or you get to a chart or you get to a discovery or whatever.
- 16:57And then you need to communicate why that matters to somebody else.
- 17:01And it only really matters if you can give the context.
- 17:04So, well, like first I took this slice of the data and then I manipulated it in this way.
- 17:09And then I extracted these features.
- 17:11And then once I had those features, I decided to clean some of them up by doing X, Y, and Z.
- 17:15And then once I'd done all of those things, obviously, if you look at this chart, it's really meaningful.
- 17:19But without those steps up to that, it's like, that's awesome.
- 17:22All I can see is like three bars.
- 17:25To be able to play that back for somebody and capture it is really awesome.
- 17:30And it's nice too when you're not a great coder, which I'm not, and you have to step through and go, wait, why didn't that work?
- 17:37Let me run it again.
- 17:37Why didn't that work?
- 17:38Let me run it again.
- 17:39Yeah, yeah.
- 17:40They're very cool.
- 17:42If I think of writing sort of science-based academic papers, it seems crazy to not do them as something like this, where rather than just saying, oh, I did something on my own.
- 17:54Here's a chart.
- 17:55Believe it, right?
- 17:55Here is the actual code.
- 17:57And here is the data.
- 17:58And you can just have the whole thing and run it if you like.
- 18:00Right?
- 18:01That's amazing.
- 18:02Yeah, totally.
- 18:02To be able to reproduce research by literally running the code that led to the discoveries that informed the paper is huge.
- 18:11I mean, Chris, my co-founder and the co-host on Partially Derivative, went and got a PhD.
- 18:19And he talked about that all the time.
- 18:22Often in postgraduate work, you get assigned a task to reproduce the research in somebody else's paper.
- 18:30And he was always stunned at how difficult that was.
- 18:34Because even when you had access to the raw data, trying to work with it in such a way that produced the same results was just, you know, it's just really rough.
- 18:42And so being able to capture that process where like every little decision that you made to manipulate the data in a particular way.
- 18:49And when I say manipulate in this context, I mean like a legitimate transformation of the data, not like a shady manipulation of the data.
- 18:57Not like witness tampering type manipulate, but like we're going to make some assumptions about the underlying physics or statistics and then get a better answer.
- 19:06Yeah.
- 19:07Yeah, totally.
- 19:09Well, and because so much of this kind of work is like it's a little bit about it.
- 19:12There's some it takes some creativity.
- 19:14It takes a little bit of intuition, especially if you're working with like natural language and you're trying to extract some you're trying to like make sense of unstructured data.
- 19:22You know, you make a lot of little choices on the way and those do impact the results that you see.
- 19:27And that's why being able to reproduce it is so important and for everybody to understand the assumptions that you made.
- 19:32And so I think I mean, I can only assume that was part of why they received this like massive bucket of funding.
- 19:37It's a super popular product.
- 19:39So, yeah, it's going to definitely be a really important foundation of science, period.
- 19:44But if you just think of any open source project, like what other open source project do you know that's not got a company behind it that somebody gave six million dollars like this?
- 19:53This is a big deal.
- 20:04This episode is brought to you by Hired.
- 20:07Hired is a two sided, curated marketplace that connects the world's knowledge workers to the best opportunities.
- 20:14Each offer you receive has salary and equity presented right up front and you can view the offers to accept or reject them before you even talk to the company.
- 20:23Typically, candidates receive five or more offers in just the first week and there are no obligations ever.
- 20:29Sounds pretty awesome, doesn't it?
- 20:31Well, did I mention there's a signing bonus?
- 20:33Everyone who accepts a job from Hired gets a $2,000 signing bonus.
- 20:37And as Talk Python listeners, it gets way sweeter.
- 20:42Use the link Hired.com slash Talk Python To Me and Hired will double the signing bonus to $4,000.
- 20:49Opportunity's knocking.
- 20:51Visit Hired.com slash Talk Python To Me and answer the call.
- 20:55Okay, so number four on our list is artificial intelligence.
- 21:08There have been some cool shows about artificial intelligence like X Machina and that actually happened to feature a little Python code in the show as well, which is cool.
- 21:18But people are freaking out about it.
- 21:19Yeah, this is this is kind of a new thing this year.
- 21:23I don't know.
- 21:24Maybe it's because machine learning and AI are becoming more a part of like mainstream conversations.
- 21:29Or like you said, there was an entire movie made about it where they referenced the Turing test specifically, like in a major Hollywood movie that blew my mind.
- 21:39Because that's pretty nerdy stuff in normal circumstances, right?
- 21:43It's super cool.
- 21:44But yeah, and now all of a sudden you have these super prominent leaders of the technology community coming out like for and against, like speculatively against the idea of AI because, you know, the matrix or whatever.
- 21:58So I don't know.
- 21:59It was really interesting to see that debate happening in public.
- 22:02I don't know if you I don't know if you track that very much.
- 22:04I mean, like Bill Gates was warning us and Stephen Hawking warning us about artificial intelligence.
- 22:09And then, of course, other people on the other side giving really nuanced defenses of the way that artificial intelligence helps humans by making better decisions.
- 22:19Or it was it's super fascinating conversation.
- 22:21Yeah, it's very fascinating.
- 22:23The person that came out that sort of in my mind carried the most weight, honestly, was Elon Musk.
- 22:30Yeah.
- 22:30Yeah.
- 22:31Well, I mean, everything that Elon Musk is always when Elon Musk speaks, we listen.
- 22:36That's right.
- 22:37Because, I mean, Bill Gates, I'm actually a fan of his.
- 22:40I think he did some really cool stuff.
- 22:41But I kind of feel like he's, you know, has a certain worldview that's sort of already here.
- 22:49And Stephen Hawking has some amazing views of the universe.
- 22:54But at the same time, I'm not entirely sure how practical his actual interaction with AI and programming is.
- 23:00But Elon Musk says, I'm going to build an electric car that's like amazing.
- 23:05He built it.
- 23:05I'm going to build things that go to space.
- 23:07And somehow he does that.
- 23:08I mean, he could actually build AIs if he wanted, if anybody can, I would say.
- 23:14I think that that's the only way that he's really going to be a Bond villain, because at the moment he's got he's got like super cool, you know, international technology companies that are doing amazing things.
- 23:29Like you said, going to space.
- 23:31But it's it's not quite supervillain status yet.
- 23:34And I think if he builds a robot that like seamlessly works its way into society and obviously initially for good.
- 23:41But, you know, it gets out of control.
- 23:43That's where that's where the plot of the movie really starts to get thick.
- 23:47I'm excited about this.
- 23:48Yes, absolutely.
- 23:49The AIs had to be created to man the supercharging stations up and down the West Coast.
- 23:53And then it just went all wrong.
- 23:55They got in the cars and spread.
- 23:56Exactly.
- 23:59They decided that they deserved more than the menial tasks that they've been assigned.
- 24:02Yeah.
- 24:03So we'll link to a really cool article from this project that was sort of getting respected leaders in the AI space to sign sort of a pledge to proceed with caution.
- 24:17But one of the follow up articles that we'll also list that I really liked was this thing about Mario as in like Super Mario Brothers.
- 24:25That was really cool.
- 24:26Yeah.
- 24:27Yeah, it's pretty funny.
- 24:28There were some researchers that like basically made Mario sentient.
- 24:33I mean, maybe not quite.
- 24:35That's a stretch.
- 24:36But they empowered Mario, the character, with his own intelligence and then like would let him loose in the original game to see how well he could defeat the Goombas and all of the other dangers of Mario characters.
- 24:49It was super fun.
- 24:49It's like on the flip side.
- 24:50There's these like really super accessible, fun artificial intelligence projects that aren't necessarily a threat to, you know, humanity.
- 24:59Yeah.
- 24:59Maybe it's a threat to our high scores on Mario Brothers, but not maybe humanity in large.
- 25:05So, you know, those guys are, they're German.
- 25:07They're in Tubingen at the university there, which is actually like 35 minutes away from me right now.
- 25:11That's cool.
- 25:13They made a video.
- 25:14Yeah.
- 25:14They made a video and we'll link to it.
- 25:16It's on Mashable.com.
- 25:17And they do all sorts of cool stuff.
- 25:20There's a bunch of different intersections.
- 25:22It's not just like one part of AI, but there's a lot of sort of understanding the world, understanding language, learning.
- 25:29And so they would do things like they would ask Mario, like they can speak to him in English and he would answer in English.
- 25:36It sounded a whole lot like war games.
- 25:40It's like, you know, that really sort of choppy text to speech, that war games computer.
- 25:44So it's kind of funny to hear Super Mario Brothers speak that way.
- 25:49But they would say things like, jump, if you jump on Goomba, he will die.
- 25:54And then they say, now jump on Goomba.
- 25:56And of course the character dies.
- 25:58And they say, what do you know about Goomba?
- 25:59He says, if I jump on him, he will certainly die.
- 26:01And then later they reset his mind and they tell him to go over and jump on Goomba.
- 26:08They don't tell anything.
- 26:09And then they later, first they ask him, what do you know about him?
- 26:12He says, I don't know anything about him.
- 26:13Jump on him.
- 26:14The guy dies.
- 26:15He says, now what do you know about him?
- 26:17He goes, I know that he may die if I jump on him.
- 26:20And it was really interesting.
- 26:21He has all like different emotions and knowledge.
- 26:24It's cool.
- 26:24Check it out.
- 26:25Yeah, it is super cool.
- 26:26Actually, that's probably the best part about the project is like Mario's sort of existential,
- 26:31like his existential ennui.
- 26:34Yeah, absolutely.
- 26:36So another thing that happened this year had to do with the New England Patriots.
- 26:43And for those of you who maybe don't follow American football super close, this was sort of a big deal.
- 26:52The New England Patriots, I don't really care one way or the other, but they'd kind of been seen as a team that, let's put it nicely, takes as much advantage of the situation as they can by, you know, maybe doing things they shouldn't.
- 27:06That was so diplomatic.
- 27:09And it had come to a head where around the Super Bowl time, they had actually been accused of deflating the footballs for their team.
- 27:18And for a while, I didn't know what that meant.
- 27:20Like, okay, well, maybe it hurts a little less to catch it.
- 27:23I don't know.
- 27:23But one of the things that deflated footballs let you do is hold on to them much tighter.
- 27:28They're not slippery.
- 27:29And so you won't fumble the ball and make some of these game losing mistakes or, you know, mistakes.
- 27:34If you can, like, change the physics so it's not a problem.
- 27:38Well, that's easier to solve than being better at football.
- 27:40So the story is actually some data science folks came and looked at that.
- 27:46And I don't know.
- 27:47What's your opinion after looking at all the charts and graphs they built?
- 27:50Well, I think it boils down to, in a simple way, that the New England Patriots were, like, a massive outlier.
- 27:58And so you're right on that if you deflate the football a little bit, apparently, it makes it easier to hold on to.
- 28:06And so for those of you who don't watch American football, it's a lot like rugby, if you're familiar with rugby.
- 28:13Or more or less, it's like you have a ball that you're holding on to and you're running through a large group of very strong men who are all trying to take that ball from you.
- 28:21And so you often lose it because it's a large group of really strong big men trying to take it.
- 28:28And pretty much anything that you have in that scenario is not going to be yours for very long.
- 28:33But the – and the trend overall in the league, the NFL, the league in which the Patriots play, was that the teams were having – were more successful, like, holding on to the football.
- 28:46They had more plays that they could run.
- 28:49So the ratio between the number of attempts that they made and the number of times they lost the ball was going up.
- 28:54So you could run more plays and fumble less in general.
- 28:57That said, the Patriots improved their ratio sort of exponentially more than all of the other teams in the league.
- 29:07And so when you see this one outlier way at the top right of a graph, it tends to go like, well, that's not right.
- 29:13Something doesn't make sense.
- 29:16Something's different about that one data point.
- 29:19And so, of course, that sparked some – it sparked a lot of speculation.
- 29:22Like, why is it that the Patriots fumble so infrequently?
- 29:25And, you know, where there's smoke, there's fire.
- 29:28And in this case, at least.
- 29:31And they found that the Patriots were deflating footballs just a little bit all of the time.
- 29:37And by doing that, they were able to maintain better control of it because it was easier to grip the ball because there was less air inside.
- 29:43So it was less buoyant.
- 29:44Which – buoyant is probably not the right word to use in this context.
- 29:49But whatever.
- 29:49Whatever.
- 29:50They could hold on to the ball.
- 29:51And so that was the whole thing.
- 29:52But basically, it was like the way that that was determined was through, you know, just doing some relatively simple data science.
- 30:01Relatively simple analysis.
- 30:02I mean, it's not that simple in the aggregate that the data – gathering the data was complex, connecting the dots, understanding the consequences of the things that we were learning.
- 30:09But by and large, it was – you know, if you actually look at the analysis that detected that outlier that I just described, it's pretty straightforward.
- 30:17So anyway, it's kind of cool.
- 30:19And it was a super fun story to follow that ultimately was followed at such depth because, oh my gosh, sports in America, that it got a little tedious.
- 30:27But at the beginning, it was cool.
- 30:28It was like a wonderful little scandal.
- 30:31Yeah, it was an interesting scandal.
- 30:33And I think it really shows the power of data science because these sports guys, they can go back and forth.
- 30:38They're talk radio and da-da-da-da-da.
- 30:40No.
- 30:41Look at that graph.
- 30:43There's something going on here.
- 30:45That's it.
- 30:45The question is what is going on.
- 30:47It's more likely something sort of sneaky is going on rather than they're just dramatically better than even second place, right?
- 30:56So very interesting use of data science there.
- 30:59I like that one.
- 31:00So speaking of –
- 31:01Yeah, it was super fun.
- 31:02Yeah.
- 31:02So speaking of U.S. things, the United States now has a person called the chief data scientist.
- 31:08That's pretty awesome.
- 31:09Yeah.
- 31:10It's kind of amazing, right?
- 31:12Like we kind of went from like data science like, whoa, okay, that's something like a bunch of geeks do.
- 31:19And now there's like somebody who has a title like over the whole domain of the entire United States doing data science.
- 31:25They're chief.
- 31:26They're the chief data scientist.
- 31:29Yeah.
- 31:29I mean that's like almost like a politician has got data science.
- 31:32This is crazy.
- 31:34No, I think it's a really positive move.
- 31:36I mean you think of places that have lots of data.
- 31:40Sports.
- 31:41We were just talking about that.
- 31:42They've got a lot of data.
- 31:42CERN.
- 31:44At the large Hadron Collider, those guys generate a lot of data.
- 31:46But the United States, we have so many different things that we track about people.
- 31:51And the answers to those questions really matter, right?
- 31:54We make policy based on those numbers.
- 31:56So having somebody in charge of doing that right makes a lot of sense.
- 31:59Yeah.
- 32:00And actually, you know what's super cool about the stuff that DJ Patil, he's the guy who is the chief data scientist, the first one.
- 32:08The stuff that he's focused on is really awesome.
- 32:12Like a big initiative of his is that he wants to open up a lot of the data that the U.S. government collects.
- 32:18So to keep the government agencies more transparent than they've been before and just to advocate for the open data movement in general and get the general public interacting with the data that these agencies produce in a way, almost like as a means of civic engagement.
- 32:36It's really awesome.
- 32:37And so this whole idea that like you're the sort of the general public's relationship with government can be more modern, can be more technology driven, can be more part of the 21st century.
- 32:49It's really cool.
- 32:50So the open data projects in particular have been really fascinating.
- 32:53And then I know healthcare has been a big focus of DJ's office.
- 32:57They've been really looking at, again, how to encourage the public to improve the way that the healthcare system works by investigating the data that's being made available.
- 33:05And by making the data that we do produce easier to transport, easier to access, easier to sort of combine and investigate.
- 33:14It's really I think it's it's making data accessible and kind of top of mind for an entire generation of kind of, you know, early career Americans.
- 33:25It's it's it's really fascinating.
- 33:27Yeah, that's cool.
- 33:28And, you know, maybe the United States government themselves has access to things that you wouldn't otherwise share.
- 33:34Right.
- 33:34Like you mentioned health data.
- 33:36I think one of the problems with analyzing health data in the large is people don't want to just give away every single thing about themselves for good reason.
- 33:44And so it's hard to to talk broadly about that.
- 33:47Right.
- 33:47But maybe there's extra data in there somewhere that they can, you know, help make people healthy or something.
- 33:52That's cool.
- 33:52Yeah, totally.
- 33:54And it's in general, I think part of this whole idea of like quantified social science, I think for the longest time, science, social science that's done about, you know, the behavior of populations has been kind of anecdotal.
- 34:05A lot of, you know, a lot of people doing qualitative research where they're, you know, using their intuition and using their, you know, their knowledge to connect the dots and tell a good story.
- 34:19And I'm sorry, that probably sounds super like diminutive of a lot of social science research.
- 34:24And I only kind of mean it to be.
- 34:26But there's a move towards saying, hey, you know, if you can't back up your statements with data, even if you have to, you know, be creative about how that data is collected or be creative about how that data is interpreted.
- 34:38I mean, that's fine.
- 34:39But if you're not backing it up with any data, then it doesn't really mean anything.
- 34:42And I think that that's, it's very encouraging for people of my persuasion.
- 34:46Yeah, I totally agree.
- 34:48The other thing that's cool, you talked about the open data project.
- 34:52I mean, when you live in a democracy, you would expect that the data, your government, you're supposed to be sort of the boss of the government.
- 35:00You should be able to have access to those things.
- 35:03And so that's a really positive trend.
- 35:04And also on that note, I want to recommend a video by Catherine Devlin.
- 35:11She did the keynote at Pi Ohio this year, and she works for some government agency, sort of a, let's see if I remember it right.
- 35:20She works for a group of programmers within the U.S. government that are basically an open source wing of this programming group.
- 35:30And so they'll go into other places and say, we will help you with this project, but only if we get open source the results.
- 35:35And they're trying to spread open source within the U.S. government as well.
- 35:39So let's tie together nicely.
- 35:41Yeah, absolutely.
- 35:43There's everybody kind of involved with the CTO's office.
- 35:47Megan Smith is the current CTO of the U.S.
- 35:50And almost all the initiatives they're doing are, it's like a totally different way of interacting with government than I think ever existed before.
- 36:00So if you get a chance, definitely check out what the CTO's office is doing.
- 36:05There's a lot of cool ways to get involved.
- 36:07There's a lot of cool projects that they do.
- 36:09And there's a lot of interesting open source projects like you just mentioned.
- 36:13So, and a lot of cool data sets.
- 36:15And which, and by the way, some of those data sets are really great for learning if you're just kind of, you know, cutting your teeth on data science.
- 36:21There's a lot of really interesting things about your community and your state and the country in general that might be more fun than working with, I don't know, a data set about advertising clicks.
- 36:34Or whatever.
- 36:36This episode is brought to you by DigitalOcean.
- 36:53DigitalOcean offers simple cloud infrastructure built for developers.
- 36:57Over half a million developers deployed to DigitalOcean because it's easy to get started, flexible for scale, and just plain awesome.
- 37:05In fact, DigitalOcean provides key infrastructure for delivering Talk Python episodes every day.
- 37:11When you, or your podcast client, download an episode, it comes straight out of a custom Flask app built on DigitalOcean, and it's been bulletproof.
- 37:18On release days, the measured bandwidth on my single $10 a month server jumps to over 900 megabit per second for sustained periods.
- 37:26And there's no trouble.
- 37:28That's because they provide great servers on great hardware at a great price.
- 37:32Head on over to DigitalOcean.com today and use the promo code TALKPYTHON, all caps, no spaces, to get started with a $10 credit.
- 37:40Let's move on to number seven.
- 37:50It's going to be late December.
- 37:52Winter's coming, probably.
- 37:54Yeah, maybe.
- 37:55It's hard to know.
- 37:56What's the story of this one?
- 37:58So there's a handful of things on here that really I was attracted to because I just love this idea that data science and just kind of data analysis in general is becoming so much more mainstream.
- 38:14And so this post was about the Game of Thrones.
- 38:21And you may know, this is actually a shame that my co-host Chris isn't on the show right now because Chris produced a data set from A Song of Ice and Fire, the books, not necessarily the HBO TV show, Game of Thrones.
- 38:34Obviously, the two are related, although I hear the TV shows kind of going off the rails and moving away from the books.
- 38:39Anyway, so there's a lot of dying in this TV show, Game of Thrones, and the books, A Song of Ice and Fire.
- 38:46And my co-host made a data set of all of the battles where he tallied the number of deaths.
- 38:52And obviously, there's some estimation in here because the books don't go into detail all of the time.
- 38:57But so actually, hold on.
- 38:59Let me take a step back.
- 39:00So what I should probably tell everybody is if you're not familiar with Game of Thrones and the books, the series of books are called A Song of Ice and Fire.
- 39:06If you're not familiar with them, it's basically kind of like medieval fantasy type stuff.
- 39:10So there's, you know, dragons and there's houses and, you know, the houses fight with each other over land and there's different families that are at war with one another.
- 39:18Kind of the whole thing, right?
- 39:20And so, of course, because they fight all the time, there's a lot of dying.
- 39:24And if you were of a more data statsy persuasion, you might want to know, like, quantitatively, which house is the best.
- 39:33Like, who wins the most battles?
- 39:35Who kills the most soldiers?
- 39:36Who has the biggest army?
- 39:37And these are the sorts of questions that Chris's data set answers.
- 39:40So you should definitely go find that.
- 39:43I think it's just Game of Thrones battles on GitHub.
- 39:45If you Google for it, I bet you'll find it.
- 39:47But there's other work, other very interesting work that's being done about the likelihood that you'll die if you're a character in the books or the TV shows.
- 39:56And so I just loved it, right?
- 39:59Because, I mean, it's a fictional world.
- 40:01It's made up.
- 40:02The likelihood that you'll die is whether or not the author decides that you should die.
- 40:06Like, that's really what's going on here.
- 40:09But based on the sort of constructs of the world that the author created, this data scientist went through and he used – there's a whole Wikipedia clone called a wiki of ice and fire.
- 40:21Haha, snort.
- 40:21That catalogs and documents the deaths of every major character, like every major death in the book.
- 40:28And so he went through and basically calculated the likelihood that any given character will survive based on their characteristics.
- 40:36So are they from a particular family?
- 40:38Are they highborn?
- 40:39Are they lowborn?
- 40:40Are they a man?
- 40:41Are they a woman?
- 40:41How old are they, right?
- 40:42All of the things that you might say are like a feature of a character.
- 40:45And then once you understand the features of a character, you can calculate the likelihood that they'll die.
- 40:50Anyway, it's fascinating.
- 40:52I'm sure, you know, we'll link to the blog post so you can go check it out.
- 40:55But it pans out kind of like you'd expect.
- 41:00You have a much higher chance of dying if you're not of the noble class.
- 41:04I think men die more often than women.
- 41:06And so on and so on.
- 41:08You should go check it out.
- 41:08But really, the reason to bring it up is just to say doing data analysis about characters in a fictional universe, I think is we're at some kind of peak.
- 41:18We're at like peak data science awesomeness when that's a possibility.
- 41:23Yeah, that's really cool.
- 41:24And you could also run this algorithm on your favorite character and know whether or not you should get attached to them, right?
- 41:30Yeah.
- 41:31I mean, I think to be fair with these stories, the answer is probably always no.
- 41:34That's right.
- 41:38Yeah.
- 41:39I mean, readers of the books will know.
- 41:40I'm not, I'm not, this is not a spoiler or anything.
- 41:42I'm not giving anything away.
- 41:43If you like a character and you hope for them, if you have any hope that the character will survive, that's it.
- 41:50I think that's probably the best indicator that they're going to die.
- 41:52It's the kiss of death.
- 41:53Yeah.
- 41:54So speaking of dying, we're all getting older.
- 41:58And Microsoft has decided that machines can know really well how old we are.
- 42:04So if you go to how-old.net, Microsoft is using machine learning to guess how old you are.
- 42:11I know.
- 42:12Isn't that, how old did it get?
- 42:15Do you want to say?
- 42:15You don't have to reveal if you don't want to.
- 42:17I don't mind.
- 42:18So I've always kind of looked a little younger than I actually am.
- 42:24People are always like, what?
- 42:25You have kids?
- 42:26What?
- 42:26So my whole life has been kind of like this.
- 42:29Like it was a problem in high school because it's not cool to look younger than everybody else when there's only a four-year stretch.
- 42:35But when I get older, it looks better.
- 42:38So I uploaded a picture of myself, the one I have on my main website.
- 42:44It's the one you probably see on Skype right now.
- 42:46And it actually said I was 47.
- 42:47I'm like, what?
- 42:48I'm only 42.
- 42:49This is crazy.
- 42:50But I have my glasses on, right?
- 42:52And so I'm like, I'll try one without my glasses.
- 42:54Uploaded it.
- 42:54It said I'm 42.
- 42:55They hit it straight, right on exact.
- 42:59Whoa.
- 43:00Whoa.
- 43:00What does that say about the algorithm, though?
- 43:03That you got aged by five years just because of your glasses?
- 43:05Yeah.
- 43:07I think the glasses, well, they may trend upwards.
- 43:10I would wreck, if you don't want to be old, take your glasses off.
- 43:14That's all I got to say.
- 43:17How accurate was it for you?
- 43:20Yeah.
- 43:20Was it in the ballpark?
- 43:22I was similarly offended, actually.
- 43:25I uploaded a photo of myself and it guessed that I was in my early 40s, which I'm not.
- 43:34Which is fine.
- 43:35Early 40s are great.
- 43:37I'm happy for you.
- 43:38But you shouldn't be in them when you're not.
- 43:41I don't.
- 43:43Well, when you're in your, like, I'm in my early 30s and I was like, wait a second.
- 43:47Wait a second.
- 43:48Okay.
- 43:48So I thought the same thing.
- 43:49I was like, maybe there's something about my appearance in the photo that is, you know, cause for concern.
- 43:55Right?
- 43:56I was like, okay.
- 43:57Did it like search for ties or like a collar?
- 43:59Maybe throw on like a hoodie?
- 44:01Exactly.
- 44:03Like put on a hoodie.
- 44:04I found a photo of myself without a beard.
- 44:06I don't, this is like super vain.
- 44:07I was like, wait, I can't live with this.
- 44:09So I found a photo, an old photo of myself without a beard.
- 44:11I put it into the system and it guessed that I was like 37, which is also older than I am.
- 44:17It's better though.
- 44:17And so I've had to accept.
- 44:18It's moving in the right direction, but I've had to accept that either, either.
- 44:23It's just like everybody got offended because like the, if, like if you were Microsoft and you were training this algorithm, like wouldn't you want it to skew young?
- 44:30Like, let's be honest.
- 44:31Yeah.
- 44:32Okay.
- 44:33But let's say, okay, so it skews old.
- 44:36Or, or I'm just old looking.
- 44:38Like maybe I'm aged beyond my years.
- 44:40I have a kid that, you know, this, the kids do this to you.
- 44:42I bet, I bet it would have guessed that I was like 25 until the day she was born.
- 44:46And then it was like 40.
- 44:47One week later, you aged like 10 years like that.
- 44:51Yeah, exactly.
- 44:53Exactly.
- 44:53So number nine on our list here is actually a little bit of a sad story.
- 44:59There was this really cool study about how, how much a reasonable argument with some, not argument as fight, but like a logical argument or a discussion around a political position may or may not change someone's opinion.
- 45:15And so this, this study was done trying to change people's opinion, open, open them up being more favorable towards same sex marriage.
- 45:25And they found in this study that if they went around and they had people canvas the location, go and knock on the door and talk to people after talking to them, they could actually make them more open to this idea.
- 45:39Which this flew in the face of a lot of political science, which is if you argue with somebody from an opposite perspective on something political, they typically dig in and like, ha, I'm way against you, man.
- 45:50Right.
- 45:50It like hardens them against your argument rather than brings them over.
- 45:53So this was a big deal until it was a fraud.
- 45:56Yeah.
- 45:58Yeah, exactly.
- 45:59And, and, and I think everybody was, I mean, it was one of those things where it was like, okay, because I think part of the, one of the big parts of the study was that, or, you know, purportedly.
- 46:09Turned out not to be true.
- 46:10Was that if the person who was having a discussion with you about your views on same sex marriage was themselves gay, then that would increase the likelihood that you would, your opinion would change.
- 46:23So in a good way, like, or toward, you would be more favorable of same sex marriage if you were talking to a gay person.
- 46:30Basically saying that, like, if you, this idea that the reason that most of us might hold a prejudice are simply because we're not exposed to people of a certain group.
- 46:40And as soon as we are, our prejudices start to melt away, which is kind of a nice idea.
- 46:46Right.
- 46:46And so everybody was really excited about this survey.
- 46:48But it, well, I mean, like we're talking about, it turns out that it was just made up.
- 46:53And what's also interesting is the way in which some additional researchers discovered the flaw.
- 47:01They were just, as often happens, they were going to do an extension of the survey.
- 47:05They were going to build on the research that had already been published, which is pretty common.
- 47:11But then when they looked into it, they discovered that the responses in the survey were pretty normal, like pretty consistent, which is actually like they were too consistent.
- 47:20Right.
- 47:21The pattern was too clean.
- 47:22And what they actually found was that there were like irregularities in the data and the irregularities that they found in the data looked like the sort of thing that a human would do if they were trying to be random.
- 47:35Like, isn't that amazing?
- 47:36Like, so like actual randomness is hard to produce and like human beings just aren't good at producing things randomly because that's just not what we do.
- 47:42Like we go like, oh, I picked a three last time.
- 47:44So I have to pick an eight this time.
- 47:45And I've already picked an eight.
- 47:47So randomness says that I wouldn't pick an eight two times in a row.
- 47:49I should pick a 12.
- 47:50And that's actually not how randomness works.
- 47:52So it's like that's super intentional.
- 47:55Like you're layering your own bias on top of it.
- 47:57And so what they saw was like very uniform noise in the data set.
- 48:00And they were like, wait a second.
- 48:02This actually looks like you just made it up.
- 48:04And it's true.
- 48:05Like I guess he took the results from a previous study and then tried to apply them to this one.
- 48:08Like and it basically applied the previous study's results in a new context and then sprinkled some noise on top in a way that he felt would look random.
- 48:15And these other researchers basically had to say this like huge study, this like seminal study that had been published in, you know, I forget which, you know, nature maybe or whatever.
- 48:25Like one of them.
- 48:26And it was covered in a ton of like high profile news outlets too, right?
- 48:33New York Times and places like that.
- 48:36So it got a lot of traction until it crashed.
- 48:39Yeah.
- 48:40Yeah, absolutely.
- 48:41And so, I mean, on so many levels, it's like it's really – I mean, on the one hand, you look at this and you go, oh, what a horrible fraud this person perpetuated on, you know, the public.
- 48:50And on the other, you go, well, I guess, you know, the process kind of works.
- 48:53I mean, it shouldn't have been published in the first place.
- 48:55Peer review should have caught that.
- 48:56But ultimately, the academic community discovered the fraud and out of it, which I think was good.
- 49:02But it was – so it's interesting in two ways.
- 49:04It's just interesting how research, the kind of the mechanics of the research industry work.
- 49:08And then on the other hand, it was interesting because it was this really – the thing that – this kind of novel idea about randomness that's not normally part of mainstream discussion that everybody had to start talking about in order to explain why the story worked out the way that it did.
- 49:22Yeah.
- 49:23How did they catch him making fake random?
- 49:24I don't understand.
- 49:25What does that mean?
- 49:26Yeah.
- 49:27That's really cool.
- 49:28Yeah, yeah, exactly.
- 49:28What does that mean?
- 49:29Like, yeah, it was cool.
- 49:31That's great.
- 49:32And on this note, you know, I was seeing this story in a really positive light.
- 49:38Like, hey, maybe we could sit down and talk to each other and we could, like, help evolve each other's opinions one way or another.
- 49:43And we could kind of come to an understanding.
- 49:45But it turns out that, like, no, probably we can't.
- 49:49There's a really interesting book that I think is related to, like, data science.
- 49:54It just has an insane amount of data analysis in it called The Big Sort, how the clustering of like-minded America is tearing us apart.
- 50:02And it really just goes to, like, 20, 40 years of data of, like, people's opinions and working together.
- 50:10And it sort of would not support the study that we can just talk about things and agree more.
- 50:16But check it out.
- 50:18That's interesting.
- 50:19I'll have to go check out the book.
- 50:20Yeah, it's an amazing book.
- 50:21One of my favorites.
- 50:22So, number 10, which I'm going to nominate to be my favorite of this year, is that Python is at an all-time high as a programming language.
- 50:35So, the TOB index is one of the more respected sort of how popular is my technology and the technology fight indexes.
- 50:43And Python is now number four of all programming languages.
- 50:48And it jumped from eighth to fourth in one year.
- 50:52So, it's one of the very few with, like, a double up arrow.
- 50:55This thing is super growing fast.
- 50:57So, for a language that was created in the late 80s, came out early 90s, and it's been around for a long time, this massive jump, you know, I think it's interesting to ask, like, where is it coming from?
- 51:09It's coming from academics somewhat.
- 51:11Like, this Python is now the most popular language for first-year college students studying computer science.
- 51:17But I think it has a lot to do with data science as well.
- 51:22Yeah, I mean, it's hard to see how it couldn't be, actually.
- 51:25Because I think Python's always been great as kind of along the same lines as PHP, which I can only assume for all the software engineers who listen to this podcast because they like Python so much, I've pretty much just been sacrilegious.
- 51:37So, don't get me wrong, you guys.
- 51:38I hate PHP.
- 51:39Those guys suck.
- 51:40But also, Python is a pretty good general-purpose programming language, as is PHP, for building web applications and all of the, you know, all of the sorts of products that we've seen being released on the internet in the past, whatever, 10 years.
- 51:54This huge boom in web-based products.
- 51:57And Python is great for that.
- 51:58It's great for writing software that gets released on the internet.
- 52:02But at the same time, it's also overtaken another statistical programming language called R and become, I would say, the de facto language for doing data science and analysis.
- 52:13And which is really cool because now it's a powerhouse.
- 52:16Now you can do two things in the same language that used to be totally separate from one another.
- 52:20So, we talked about before, there's statistical computing, which is basically like, I already know how to do the stats, but I need to script it.
- 52:28And what language will help me do that, you know, almost like an Excel power user.
- 52:32And then that goes all the way down through kind of, you know, complicated machine learning and artificial intelligence and neural networks and all that stuff.
- 52:40And so, the fact that you can couple that with how do I respond to an HTTP request and hit a database and return some content, like, those two worlds used to be different.
- 52:49But now we can build smarter and smarter applications that are seamlessly integrated with one another thanks to Python.
- 52:55So, I mean, it's no surprise to me.
- 52:57It's awesome.
- 52:58Yeah, I think there must be a huge boost coming from that direction.
- 53:00And generally, people are really jumping into it.
- 53:03But, you know, thanks to data science for making our language look even more popular and awesome like it should be, right?
- 53:10I know.
- 53:12The only languages I think above it on the list are, like, really lame ones that nobody wants to write in.
- 53:16They're probably, like, forced to by their boss.
- 53:18Like, Java.
- 53:19I mean, come on.
- 53:20Yeah.
- 53:20Let's be real.
- 53:21Oddly, yeah.
- 53:22A little tear just formed in my eye.
- 53:26No, but seriously, like, Java literally is number one.
- 53:29And C is up there as well, I believe.
- 53:30It's pretty interesting.
- 53:32But it's, you know, C and Java are fighting for first place.
- 53:36Then it's C++.
- 53:38And then it's Python.
- 53:39Right?
- 53:39So, that's beautiful.
- 53:41Yeah.
- 53:42I mean, honestly, kind of any dynamic language being as popular as that.
- 53:46I think there are a lot of old school software engineers who are crying in their coffee at the release of this report.
- 53:52You know, like all of that.
- 53:53That's a toy language that will never be useful for anything in production.
- 53:56And, yeah, now here we are.
- 54:00Python's running some pretty massive, massive products.
- 54:04So, it's very cool.
- 54:06As I'm sure all your listeners know, they listen to your podcast every week.
- 54:09Yeah, I'm sure a lot of them are building some pretty amazing stuff out there.
- 54:12But, yeah.
- 54:14I think this is great news for everybody who wants to get into Python.
- 54:18It seems like the job possibilities, job prospects in regular programming as well as data science are just going up.
- 54:25So, if I were betting on my career, I would consider Python one of the top choices.
- 54:31Yeah, absolutely.
- 54:32And it makes it so much easier to start to explore new concepts.
- 54:36So, when you want to start, when you're ready to start bringing in kind of machine learning or any kind of statistical, you know, data processing into your applications, it's complicated.
- 54:49But it's a lot less complicated when you're already familiar with the language that you're writing in.
- 54:54So, I think it really gives you a leg up when you're trying to make that transition from one to the other.
- 54:58Or vice versa.
- 54:59If you've been, you know, for the partially derivative listeners, if you've been sort of scripting a lot in Python to try out, to do some research or to work on some analysis, and you want to start building applications to make the things that you're, make the products that you're building accessible to the world, there's a whole ecosystem waiting for you.
- 55:18And the water is warm, my friends.
- 55:19The water is warm and shallow.
- 55:21Wade right in.
- 55:22Yeah, exactly.
- 55:24So, yeah, it's fun.
- 55:26And it's just, it's a fun language to program in.
- 55:28Let's be honest.
- 55:29Yeah, absolutely.
- 55:30Love it.
- 55:30So, Jonathan, that's our top 10 list for the big news in data science this year.
- 55:35So, I got to ask you, what is your resolution you're going to break this year?
- 55:40You're going to give up on in two weeks.
- 55:42Have you already decided what you're going to not hold up?
- 55:44I already decided what I'm not going to do.
- 55:47That's right.
- 55:48Let's see.
- 55:49The other people on my engineering team would probably appreciate it if my New Year's resolution was to write more unit tests.
- 55:56Or better comment my code.
- 56:04And I'm almost certain that neither of those things will happen.
- 56:06So, let's call, I'll make, I'll do a dual resolution this year.
- 56:10Unit tests and documentation.
- 56:12That's a pretty safe one to throw out there, I suspect.
- 56:16I think I'm going to make mine to actually put proper comments on my get check-ins.
- 56:21Yeah.
- 56:22Those could be some improvements.
- 56:24Yeah.
- 56:24Kind of get in a hurry and they're not so good sometimes.
- 56:28Yeah.
- 56:29Totally.
- 56:30Like fixing stupid bug.
- 56:31Yeah.
- 56:32Like that's, I think, that's probably not as helpful as it could be to my fellow programmers.
- 56:36It does express your emotional feel about the code in the check-in, but it doesn't really help them figure out what it meant.
- 56:42Yeah.
- 56:45That's fair.
- 56:46That's fair.
- 56:46That's a good resolution.
- 56:47But you don't think you'll stick to it?
- 56:49I mean, it's a hard habit to break.
- 56:51I'm going to stick to it until I get to a super big hurry and there's some production bug to fix.
- 56:54And I'm going to like probably skip it.
- 56:57Not that I think that's a good idea.
- 56:58I'm not recommending it.
- 57:00I'm just telling you, these are the resolutions you make and you break.
- 57:02Yeah.
- 57:04I love it.
- 57:04Like this is the recommendation.
- 57:06So all of you out there who are learning Python and software programming, engineering for the first time, here's what to do.
- 57:12Talk a big game and then ultimately just write a bunch of spaghetti code that nobody can read.
- 57:18That's how the pros do it, you guys.
- 57:20That's how the pros do it.
- 57:21On that lovely note, I think we should probably call it a show.
- 57:26Jonathan, this has been really fun.
- 57:28Thanks for teaming up to put together an end of the year show for us.
- 57:31Absolutely.
- 57:32This has been a blast.
- 57:33Thank you so much.
- 57:34Thank you so much for suggesting it and having me on the show.
- 57:37This has been a blast.
- 57:38You bet.
- 57:39Thanks.
- 57:39Bye.
- 57:40Bye.
- 57:40This has been another episode of Talk Python To Me.
- 57:44It's a joint episode with Partially Derivative and Jonathan Morgan.
- 57:48And it has been sponsored by Hired and DigitalOcean.
- 57:51Thank you guys for supporting the show.
- 57:53Hired wants to help you find your next big thing.
- 57:55Visit Hired.com slash Talk Python To Me to get five or more offers with salary and equity
- 58:00presented right up front and a special listener signing bonus of $4,000.
- 58:04DigitalOcean is amazing hosting blended with simplicity and crazy affordability.
- 58:10Create an account and within 60 seconds, you can have a Linux server with a 30 gig SSD at
- 58:16your command.
- 58:17Seriously, I do this all the time.
- 58:18Remember the discount code.
- 58:20It's Talk Python, all caps, no spaces.
- 58:22You can find the links from today's show at talkpython.fm/episode slash show slash
- 58:2840.
- 58:28And be sure to subscribe to the show.
- 58:30Open your favorite podcatcher and search for Python.
- 58:33We should be right at the top.
- 58:34You can also find the iTunes and direct RSS feeds in the footer of the website.
- 58:39Our theme music is Developers, Developers, Developers by Corey Smith, who goes by Smix.
- 58:43You can hear the entire song on talkpython.fm.
- 58:46Just look for music in the nav bar.
- 58:48This is your host, Michael Kennedy.
- 58:50I really appreciate you taking the time to listen and share this with your friends.
- 58:53Smix, take us out of here.
- 58:56I'm out of here.
- 58:56I'm out of here.
- 59:17Bye.
- 59:17you
- 59:17you