Latest / Talk Python To Me / #111: Pythonic Career Advice and More
Transcript
- 0:00It's time for some Pythonic job and career advice with Matt Harrison.
- 0:03Listen in as we discuss how most developer jobs never make it to full job listings that
- 0:08you actually see out there and available, and how you can get in on them.
- 0:12We also discuss his books and avalanche research with the Pandas Library.
- 0:16This is Talk Python To Me, episode 111, recorded May 4th, 2017.
- 0:22Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the
- 0:51ecosystem, and the personalities.
- 0:53This is your host, Michael Kennedy.
- 0:55Follow me on Twitter, where I'm @mkennedy.
- 0:57Keep up with the show and listen to past episodes at talkpython.fm, and follow the show on Twitter
- 1:02via at Talk Python.
- 1:03Talk Python To Me is partially supported by our training courses.
- 1:07Have you tried to learn Python but got stuck or lost focus?
- 1:10We know how it feels to try and jam fact after fact, loop construct after turn hair expression
- 1:16into your head.
- 1:17At best, it's boring.
- 1:19At worst, it can turn you off programming altogether.
- 1:21That's why we built our course, Python Jumpstart by Building 10 Apps.
- 1:25This course guides you through carefully planned applications.
- 1:29It starts simple, but progresses to quite real apps.
- 1:32Best of all, you won't be learning dry facts.
- 1:35You'll be learning like the pros do, by building real applications and learning in context.
- 1:40If you want to start building with Python, just visit talkpython.fm/course to get started.
- 1:46Matt, welcome to Talk Python.
- 1:48Oh, hi.
- 1:49Thanks, Michael.
- 1:50Thanks for letting me come on the show.
- 1:51Yeah, we've had some conversations on Twitter and sort of brushed shoulders on the internet,
- 1:57if you will, and haven't really had a great chance to sit down and talk.
- 2:01So let's do it over Skype tonight, huh?
- 2:03Sounds good.
- 2:04Happy May 4th.
- 2:06May the 4th of the force be with you.
- 2:09Yes, may the 4th be with you.
- 2:11Awesome.
- 2:13All right, so we're going to talk about kind of a sampling of things.
- 2:18Data science, books, careers.
- 2:22These are questions that we both get a lot, and we've had some, I'm not sure I should speak
- 2:27for you, but definitely I can say that I've had some non-standard career paths that I think
- 2:31is we can definitely exchange some ideas there, maybe help some people, you know, jumpstart their
- 2:37career.
- 2:37And finally, you've got a cool project going on that we'll talk about.
- 2:40But before we get to all of those, let's start at the beginning.
- 2:42What's your story?
- 2:43How did you get into programming in Python?
- 2:44Yeah.
- 2:45So I'm, I guess, a child of the 80s, and back in 1983, my dad came home from work one day
- 2:53with a box that said Commodore 64 on it.
- 2:55And my brother and I proceeded to teach ourselves basic.
- 3:00I think mostly he taught it, and I sort of sat and watched him.
- 3:05So we were doing pair programming back in 1983.
- 3:07We had a byte magazine.
- 3:10And we'd just sit down and copy what was in the magazine and learn code from that.
- 3:16That was my first foray into that.
- 3:19And I can still remember typing peek and poke and changing the background color of that.
- 3:24Do you think that that's kind of a lost skill or a lost way of learning of here's a bunch of text.
- 3:32I have to literally type this in to make it work, right?
- 3:35Like, will that ever come again?
- 3:37Probably not, right?
- 3:38Not really.
- 3:38I doubt it.
- 3:39I mean, I think the Raspberry Pi is probably the closest that we have right now.
- 3:43But if you think about it, you have, you know, an iPhone or a tablet device that comes with a GUI environment and everything is all these apps on it are.
- 3:56A lot of them are hundreds of man years to make.
- 4:00And we were plopped into a basic environment and you sort of had to learn to do everything from scratch.
- 4:06And it's interesting because I teach kids programming and I think about my experience and it's really different from they want to jump in and start doing 3D programming and games and that.
- 4:17And people who are new to computers, they don't appreciate a lot of what's going on underneath, I guess.
- 4:23That's an interesting point that you really have different expectations of what you get out, right?
- 4:29Like, you're saying like, oh my gosh, I made this green blue.
- 4:31It's amazing, right?
- 4:32Like, people today wouldn't be amazed with this.
- 4:35That's silly.
- 4:36But yeah.
- 4:36How do I make the dragon fly?
- 4:38Yeah, exactly.
- 4:40My brother and I messed around on the Commodore for a while and it wasn't until high school that I did much more programming.
- 4:48I took the AP computer science class in high school and did Pascal then.
- 4:52And I also did a summer program where I did a prologue.
- 4:56I felt that programming was important and it changed the way I thought.
- 5:02I was in the university.
- 5:04It wasn't until the university that I sort of went down the programming path or computer science path and sort of locked in on that.
- 5:11And then, you know, the rest is somewhat history.
- 5:15I, in school, did Java, Lisp, C, and taught myself Perl at the end of school because I was told that if I knew Perl, then I would be employable.
- 5:27Which was sort of funny being in the middle of Silicon Valley and not being employable coming out of school, which just seemed sort of silly.
- 5:35So I taught myself Perl and proceeded to get a job doing Perl.
- 5:41And eventually I came to Python because the company I was working for, it was a search company.
- 5:49And I was tasked with working with all these smart PhDs.
- 5:53And one of them was doing Tickle.
- 5:56And I needed to do, make a, what we called a term suggester to pick out the relevant terms of the corpus.
- 6:04And he wanted to do it in Tickle.
- 6:07And I was a Perl person.
- 6:08And neither of us wanted to cross that bridge to the other side.
- 6:12And so he said, well, I hear there's this cool language called Python.
- 6:16I think we should try that.
- 6:18Even though, like, white space is important in it, maybe we can get over that and use Python to solve this problem.
- 6:25And we sort of both agreed on that, that white space wouldn't be a huge deal.
- 6:30And three days later, we had a working prototype.
- 6:33And I don't think either of us really looked back.
- 6:35We sort of...
- 6:36Wow, that's awesome.
- 6:37Yeah, yeah.
- 6:38We sort of promptly forgot our Perl and Tickle and hid that we were using Python from the rest of the company, but moved forward like that.
- 6:46Did Python eventually become something that was widely used within the company?
- 6:50Or was it like you guys kind of had this side project and, yeah, we don't talk about how it's implemented.
- 6:54It was not looked upon.
- 6:56People were sort of disappointed that we were using...
- 6:59This is back in 2000.
- 7:00So Python was not widely used at the company.
- 7:03Everything was Java and .NET.
- 7:05That was the cool, cool thing to use at that time.
- 7:08Yeah, that was definitely the hotness.
- 7:09And, of course, they were doing, like, soap, web service exchange, all sorts of badness.
- 7:14Yeah.
- 7:15Yeah, we implemented our own version of soap that we called Dove.
- 7:19And, yeah, that was the glory days.
- 7:24They gave you a nice, creamy hands afterwards that wouldn't dry them out or anything, huh?
- 7:28Yeah, you were all enterprise-y.
- 7:31Nice.
- 7:32So I'm glad the XML-heavy days are behind us, especially the namespaces.
- 7:37So the...
- 7:38Okay.
- 7:40So the search engine stuff sounds really cool.
- 7:44Are you still working on that?
- 7:45Are you doing something different these days?
- 7:46So these days, I spend most of my time doing...
- 7:50I'm working at a company called Far Better, and we're creating a business travel app.
- 7:55So the idea is to use computers to do something that computers are good at, like searching a lot of different options.
- 8:03And so the elevator pitch for that is to...
- 8:06You enter where you want to go and when you want to be there and hit go.
- 8:10And in a minute, we have a complete itinerary plan that crawls 100 million different options and picks the best flight for you based on your preferences, be it brand or cost or schedule.
- 8:22That's really awesome.
- 8:22We're definitely going to have to dig into that.
- 8:24That sounds really fun.
- 8:25So you're still doing plenty of Python there, I presume?
- 8:27Yeah, doing Python there.
- 8:29And occasionally, you know, every couple of weeks, I'll do a training as well.
- 8:34So my employer is nice enough to give me a little time to actually do training as well.
- 8:40So I'm still involved doing training as well.
- 8:42Okay.
- 8:42Speaking of training, you're giving a couple of tutorials coming up at PyCon.
- 8:46And like you said, it's May 4th.
- 8:48And what is that?
- 8:50That's like 15 days until PyCon.
- 8:53Maybe even sooner for your tutorials, right?
- 8:55Yeah.
- 8:55The days before then.
- 8:56Two weeks away.
- 8:58Yeah, two weeks.
- 8:58Yeah.
- 8:59What tutorials are you doing?
- 9:00So I'm giving beginning hands-on Python and intermediate hands-on Python.
- 9:05So I've been giving some version of these tutorials for probably about 10 years now.
- 9:12So it's definitely a great way to get involved and sort of share, I guess, my love of Python
- 9:19and help others learn Python.
- 9:21I've tweaked them a little bit this year.
- 9:24Traditionally, they've been more of a, here's some labs and go and do these labs.
- 9:28And this year I've tweaked them and we're going to build a Markov chain from scratch and sort
- 9:34of introduce all the basic constructs in the beginning class.
- 9:37And then in the intermediate class, we're going to go over sort of the meaty parts of Python.
- 9:42So talk about generators and decorators and all that fun stuff and introduce those in the
- 9:49context of making a Markov chain generator.
- 9:52So it should be fun.
- 9:53Interesting.
- 9:53Yeah, that sounds awesome.
- 9:54Do you find that people, like there, obviously there's plenty of people who are super experts
- 9:59in Python, but do you find there's a large number of people that maybe like can read the
- 10:03basic syntax and they do the basic things they know how to do from C, but they don't really
- 10:07take advantage of the language?
- 10:08I guess that was my experience.
- 10:10And I, you know, doing training where Python is right now.
- 10:14I mean, a lot of my training is enterprise big companies that are migrating people from,
- 10:20ironically, Java and C# to Python.
- 10:22And so, you know, my experience was very similar to that, where I said we learned Python in three
- 10:29days and that's in three days we had a working prototype in Python.
- 10:32And, you know, once you get past sort of the replace curly braces with colons and indent,
- 10:38you can sort of read Python and you can be pretty proficient with it.
- 10:43And so I've seen that people will sort of say, well, I can understand this.
- 10:49I can read it.
- 10:50Let's sort of do that.
- 10:52And then you sort of throw in like decorators and yields and people's eyes sort of glaze
- 10:58over and they just sort of ignore those sorts of things.
- 11:00Right.
- 11:00And I think I was sort of in that camp for a while as well and didn't really appreciate
- 11:06those or didn't really see the need for them.
- 11:08And part of my tutorials sort of to get across the point of, yeah, you can get around with
- 11:15basic Python and you can be proficient in it and program like it, see your Java and whatnot.
- 11:20But there's a lot of syntax sugar that's pretty nice in Python that you can do cool stuff with.
- 11:28And so you can take advantage of that and wrap your eyes or wrap your brain around closures
- 11:34and decorators and generators.
- 11:37You can do a lot of cool stuff with that.
- 11:39So and you can apply it to a lot of problems that are pretty common in programming.
- 11:43Yeah, for sure.
- 11:44And get more out of the language.
- 11:45Yeah.
- 11:46So it sounds like your intermediate tutorial would kind of cover that stuff.
- 11:49That's cool.
- 11:50And then you're also running the Young Coders Workshop.
- 11:51What's that?
- 11:52Yeah.
- 11:52Kind of know about it, but tell everyone about it.
- 11:54Yeah.
- 11:54So I believe it's for 12 to 16 year olds.
- 11:59You can bring your kids and or your kids can come to it.
- 12:03You don't have to bring them.
- 12:04And we're just going to give them a Raspberry Pi and they can get an introduction to Python
- 12:09for the day.
- 12:10So I'm doing the beginning workshop that will be on Saturday at PyCon.
- 12:15So that should be fun.
- 12:17I've done elementary kids in the past and was hoping to get my kids up there.
- 12:23But it turns out they actually have scheduling conflicts.
- 12:26So they won't be up there, but I'll still be doing that.
- 12:30So it should be good.
- 12:31I like learning and helping other people learn.
- 12:33So that should be fun.
- 12:35Yeah.
- 12:35That's really cool.
- 12:36And are these pretty much sold out?
- 12:37Yeah.
- 12:38I believe I got an email from the tutorial organizer and they said that every tutorial session was
- 12:45sold out, which, yeah, it's awesome.
- 12:48I mean, I think my first PyCon was 2005 and there was 300 something people there.
- 12:54And now, you know, there's a conference has just grown to a really big conference.
- 13:00And it's crazy that it's awesome.
- 13:03But it's really good to see the growth and see, you know, like I said, enterprises coming
- 13:09to Python and wholeheartedly accepting it.
- 13:11So great timing.
- 13:12Yeah.
- 13:12It's no longer tucked under the corner in that broom closet on that one project.
- 13:16Right.
- 13:16Now it's the thing they're seeking out.
- 13:18Yeah.
- 13:18Yeah.
- 13:19So that's awesome.
- 13:20Yeah.
- 13:20Yeah.
- 13:21So I, I, I've tried to hit this message like beginning of this year, you know, PyCon's
- 13:25going to sell out.
- 13:26Everybody get your tickets.
- 13:26And I've, you know, if you don't get them, you're going to be sad.
- 13:29Don't wait.
- 13:30And I've heard from a few people that said, I'm going to go to PyCon.
- 13:34I'm getting my tickets.
- 13:35I'm just thinking, oh no.
- 13:36A little bit later.
- 13:37Nope.
- 13:37No more tickets.
- 13:38Yeah.
- 13:39I've had people asking me like, how is there like a back door?
- 13:42Do you know someone I can, yeah, I can get tickets from?
- 13:45Well, you should have got them when everyone was saying they're going to
- 13:49sell out, but yeah, well it's, you know, there's an, I don't want to go too far
- 13:53down this because we want to stay in the other topics, but they could choose larger places.
- 13:57They could do Moscone center in San Francisco, but they're really trying to strike the balance
- 14:01between not having too huge of a conference, holding it in locations like Portland or Ohio
- 14:07or wherever, where it's not super expensive to come to.
- 14:11And so there's this, this trade-off between sort of growing to fit the size of as many
- 14:16people as want to come, but then also like maybe pricing.
- 14:19people out or making it difficult.
- 14:20So it's, it's tough.
- 14:21Yeah.
- 14:21And kudos to them.
- 14:22I think the organizers do a great job.
- 14:24So it's not something that I would want to do.
- 14:27So yes, absolutely.
- 14:30Absolutely.
- 14:30I've organized like small training events.
- 14:32This seems harder.
- 14:34Yeah.
- 14:34Yeah.
- 14:35So speaking of things that are harder, writing books, you, you've been doing, you know,
- 14:41I knew about your pandas book and then I started to look on Amazon and you have a lot
- 14:45of books.
- 14:46Yeah.
- 14:46I guess it's sort of misleading how many books I have there.
- 14:50I sort of have three books and then one of the books has been sold as sort of sub booklets.
- 14:57And, and so, well, I guess, yeah.
- 15:00So yeah, some of them aren't huge.
- 15:01They're like 60 or 80 pages, right?
- 15:03Yeah.
- 15:03Yeah.
- 15:04Yeah.
- 15:04So I guess I now have four books.
- 15:06I just recently released this tiny Python 3.6 notebook, which people lament the name because
- 15:14it's not a Jupyter notebook.
- 15:16It's just a little teeny book.
- 15:18It's like literally a notebook.
- 15:20It's like the thing that was where you put your notes before all this computer stuff.
- 15:23Yeah.
- 15:24Yeah.
- 15:24I Python, right?
- 15:26namespaces, namespace clash there.
- 15:28Exactly.
- 15:29It sounds great though.
- 15:30So what's in there?
- 15:31Yeah.
- 15:31So that's just a little book that I wanted to give to attendees of my training classes that
- 15:38just had, here's the basic syntax of Python.
- 15:41And if you forget something, you can look up decorators or generators or the basic syntax
- 15:47and have it all in a physical place if you're a physical person.
- 15:51And so that's my latest book.
- 15:55And that came out, I think a month or two ago, I actually experimented and put the source up
- 16:02on GitHub.
- 16:03So that's freely available to anyone who wants to look at it or peruse it.
- 16:09And, you know, if you want a physical version, you can get those on Amazon or whatnot.
- 16:16But yeah, it's there.
- 16:18And people have offered to translate it into other languages and whatnot.
- 16:21And, you know, as they've sort of started that process, but I think they got bored.
- 16:28So we'll see what happens.
- 16:29But it's fun to see what happens when you throw something out over the fence like that.
- 16:35That sounds really cool.
- 16:36And so you basically self-published this?
- 16:38Yeah.
- 16:39Yeah, I don't want to get into like a big self-publishing versus publishing.
- 16:44But for me, I think self-publishing sort of made sense.
- 16:48And so I went down that route.
- 16:50And with my prior books, I had made a tool chain that allows me using restructured text
- 16:57to easily publish e-books and LaTeX from the same source.
- 17:02So it's pretty easy to do that for me.
- 17:06So that's what I've done there.
- 17:09And I think the feedback's been pretty good on it so far.
- 17:13I think people have liked it.
- 17:14And it's sold a little bit.
- 17:17People have liked it.
- 17:18And so I'm happy for that.
- 17:21That's cool.
- 17:21So you say 3.6 notebook, not Python 3 notebook.
- 17:25Yeah.
- 17:26Is there going to be like a 3.7 next December or whenever that ships?
- 17:30I guess there could be if I get patches for it.
- 17:33Why is it 3.6 versus 3?
- 17:35The new 3.6 features came out.
- 17:38f-strings.
- 17:39I wanted to put those in there.
- 17:40The async and await stuff.
- 17:42I put that in there.
- 17:43I guess I can go on a little rant.
- 17:45I think 3.6, I don't know how much I should say here.
- 17:503.6 is a good version of Python 3.
- 17:53Let's leave it at that.
- 17:54I think if you're going to use Python 3, you should use 3.6.
- 17:57Yeah, for sure.
- 17:58There's a ton of internal improvements like speed and memory usage on dictionaries and objects and all sorts of stuff.
- 18:04So yeah, a lot of non-obvious things as well.
- 18:07So then you have a couple of books that seem like they're a little bit like your tutorials,
- 18:12like a foundational one and an intermediate one with the things that we talked about before, right?
- 18:16Yeah.
- 18:17Those actually, the impetus for those books actually came from my tutorials.
- 18:21So I had given my tutorials at PyCon and I got accepted to give one at OSCON, the O'Reilly Open Source Conference.
- 18:32And I thought, well, instead of just rewriting my slides, I'll write a book instead of rewriting my slides,
- 18:38which clearly I underestimated the amount of time and effort it goes to create a book.
- 18:45The conference was like three months away and I thought, oh, I can whip this out.
- 18:48And it was probably almost a year or so, maybe nine months.
- 18:52What is that, a week of work?
- 18:54Yeah, yeah, yeah.
- 18:55Oh my God, this.
- 18:55And so...
- 18:57Do that this evening.
- 18:57There's a ton of work that goes into a book.
- 18:59I feel like I'm a creator.
- 19:02I like to create things.
- 19:03And this is the book that I want, that I would have wanted.
- 19:09And so it was sort of inside of me and I wanted to put it out.
- 19:13And so I guess that was my therapy or something to write a book.
- 19:17That's really great.
- 19:18Yeah.
- 19:19Or your affliction.
- 19:20Yeah.
- 19:21The other one I want to talk about is you have a book called Learning the Pandas Library,
- 19:25Python Tools for Data Munging Analysis and Visualization.
- 19:29So I know Pandas is a really great library.
- 19:33I've seen some of the data loading, transformation, cleaning type of tricks you can do to it.
- 19:39And it seems really cool.
- 19:40But we've not really talked about Pandas very much on the show.
- 19:45We've mentioned it, but not really.
- 19:46What is it?
- 19:48Why do you use it?
- 19:48Maybe give everyone listening who doesn't know the overview of Pandas.
- 19:51Sure, sure.
- 19:52So Pandas, what's a good way to describe Pandas?
- 19:55I think in my book, I describe Pandas as a way to create in-memory database and do database
- 20:02type operations on tabular data in Python.
- 20:06And some people might not like that definition.
- 20:09But basically, if you have tabular data and you need to filter it or tweak it or do operations
- 20:16on it, Pandas is a great tool to do that.
- 20:19And you can even combine the different data frames, right?
- 20:23In sort of a join-like way?
- 20:24Yeah, basically anything you can do with a database, you can do in Pandas.
- 20:28So there are basically two main data structures that most people worry about.
- 20:34One is a series.
- 20:35And you can think of a series as a column of data and a data frame as a bunch of columns,
- 20:43which turns out to be a row.
- 20:45And I say columns versus rows because typically Pandas is used more for doing analytics than
- 20:52more of an OLTP.
- 20:53OLTP type database.
- 20:54And so most analytical databases tend to be columnar versus row oriented.
- 21:00And that gives you some advantages in that most of your columns are homogenous.
- 21:06And so Pandas can do some fancy things there where rather than implementing this in pure Python,
- 21:12it can take advantage of things like NumPy and Cython under the covers.
- 21:18And so you can get some pretty big speed ups when you're doing numerical processing on these columns.
- 21:23That's 10 or another magnitude faster than you would get if it was pure Python.
- 21:30And you're also saving on memory spaces as well because you don't have a Python object under the covers there.
- 21:36Right.
- 21:37A lot of it is like C structures, much like NumPy.
- 21:40Yeah.
- 21:41Yeah.
- 21:41So you can, when you load data, you can say, I want to treat this as a float.
- 21:48I want to treat this as an integer.
- 21:50Or, you know, if you have string type data, you can say, I want to treat this as a categorical value.
- 21:56And so it can do some optimizations under the covers to make those things performant and memory efficient as well.
- 22:04That's a pretty brief introduction to Pandas.
- 22:07But yeah, and then once you go from that, you can, there's a semi-famous tweet from, I think it's Big Data Borat or some Borat avatar where he says 80% of data science is cleaning your data.
- 22:23And the other 20% is complaining about cleaning your data.
- 22:26And so something like that.
- 22:30I just butchered it.
- 22:31But the gist is that Pandas is that tool that allows Big Data Borat to do the 100% there of taking his data and clean it and munch it and whatnot.
- 22:42Big Data Borat.
- 22:44That's awesome.
- 22:44Yeah, I suppose there's probably a bunch of good things on Twitter that I'm missing out there.
- 22:49So you go through in your book and you talk about these data structures and, like you said, series and data frames and some of the database operations.
- 22:56And you do some kind of analysis, right?
- 22:59Like on avalanches, you said?
- 23:01Yeah.
- 23:01I live in Utah and snow is in Utah.
- 23:05And so I like to take advantage of the snow.
- 23:06And so I ski.
- 23:08And so sometimes I do backcountry skiing, which involves hiking up a mountain and then skiing down.
- 23:13And that invariably when you're out in nature and you don't have someone taking care of the avalanches for you, you have to be careful about where you ski.
- 23:26Because a lot of times those good places to ski are also good places for avalanches to occur.
- 23:33And so, you know, there's websites and whatnot that track this sort of thing.
- 23:39And there's a Utah avalanche website.
- 23:42And so the sort of capstone chapter, I guess, in my book, I go through an example analysis where I took, scraped the data off of this website and did some analysis and figured out, you know, how many slides there are per year.
- 23:57How many people typically die, sadly, and avalanches per year and where avalanches occur and elevations and aspects and that sort of thing.
- 24:06So just showing an example of taking something that isn't easily accessible.
- 24:13There's no CSV floating around with this avalanche data and using Python sort of end to end to grab the data, do some munging on it.
- 24:22And I ended up doing a little infographic that the Utah avalanche center used and basically all done in Python.
- 24:32So pretty good testament to the power of Python.
- 24:35That sounds really pretty interesting.
- 24:37I like the fact that it's like it wasn't accessible.
- 24:39You had to go like scrape it off the website.
- 24:41Like, no, this we're getting this and we're going to use this.
- 24:45It's going to be great.
- 24:46I was actually trapped by an avalanche up at Snowbird.
- 24:50One time I was supposed to be doing a training class in Salt Lake City and instead was stuck up there.
- 24:55And if you guys find me at PyCon, we can grab a beer and talk about being stuck in avalanches.
- 24:59So I definitely can see why you would study those there.
- 25:02So one of the things that that you decided to do after writing this book was like, hey, maybe I'll make a video course because that's also quick and easy.
- 25:10Right.
- 25:11Was that a week?
- 25:11Yeah.
- 25:12Yeah.
- 25:12And that's another couple of days.
- 25:14And you're good with that.
- 25:15Yeah.
- 25:15So I made a video course, basically, that O'Reilly's published.
- 25:21So Introduction to Pandas for Developers.
- 25:24And that basically takes the contents of the book and puts them into Jupyter Notebooks and goes over all your basics, taking you from zero to hero in pandas.
- 25:36And it also goes over that avalanche example as well.
- 25:41And if people prefer video form.
- 25:44So that was, you know, another thing where I sort of said, hey, I'm a creator and I'll create this.
- 25:51And it was a good experience for me to get it out there.
- 25:54Therapeutic, I guess.
- 25:55Yeah, that's good.
- 25:56So I'll be sure to link to all those things if people want to check them out, especially learn more about pandas, which sounds really fun.
- 26:03Check out the avalanche analysis.
- 26:05Cool.
- 26:05Yeah.
- 26:05Thanks.
- 26:06Yeah.
- 26:06I'm interested in hearing about your avalanche.
- 26:09So we'll have to catch up at PyCon.
- 26:11Absolutely.
- 26:11That sounds like a good story.
- 26:13Yeah.
- 26:14It was quite the stressful day, but it turned out to be pretty fun.
- 26:16Hey, everyone.
- 26:18Michael here.
- 26:18Let me take just a moment and thank one of our sponsors who makes this show possible.
- 26:21This portion of Talk Python and May has been brought to you by Rollbar.
- 26:25One of the frustrating things about being a developer is dealing with errors.
- 26:28Relying on users to report errors, digging through log files, trying to debug them, or a million alerts just flooding your inbox and ruining your day.
- 26:36With Rollbar's full stack error monitoring, you get the context, insight, and control you need to find and fix bugs faster.
- 26:43Adding the Rollbar Python SDK is just as easy as pip install Rollbar.
- 26:47You can start tracking production errors and deployments in eight minutes or less.
- 26:51Rollbar works with all the major languages and frameworks, including the Python ones like Django, Flask, Pyramid, as well as Ruby, .NET, Node, iOS, and Android.
- 27:01You can integrate Rollbar into your existing workflow.
- 27:03Send error alerts to Slack or HipChat or automatically create new JIRA issues, pivotal tracker issues, and a lot more.
- 27:09They have a special offer for Talk Python To Me listeners.
- 27:12Visit talkpython.fm/rollbar.
- 27:14Sign up and get the bootstrap plan free for 90 days.
- 27:17That's 100,000 errors tracked for free.
- 27:20But, you know, just between you and me, I hope you don't encounter that many errors.
- 27:24Give Rollbar a try today.
- 27:26Just go to talkpython.fm/rollbar.
- 27:29And if you happen to be going to PyCon this year, be sure to stop by Rollbar's booth.
- 27:33Get a live demo and pick up some of their swag.
- 27:36You know, doing all this stuff, all this writing these books, video courses, training, like this is not your standard career, right?
- 27:46And one of the things that we both kind of talked about when we planned out the show was,
- 27:50let's talk a little bit about helping people, you know, supercharge their career as a Python developer, right?
- 27:56Yeah, this is something that I've experienced as a person who's been doing Python for more than, you know, since the turn of the century.
- 28:06And, you know, someone who's now training people to use Python.
- 28:10And also, I run the Utah Python user group for about five years.
- 28:16And so I've seen sort of the change in demand and the basic, I mean, it's...
- 28:22Yeah, you talked about PyCon.
- 28:23It's like 10x from what it was, you know, 10 years ago.
- 28:27Yeah.
- 28:28And there's a huge demand for people who can program.
- 28:31And there's a huge demand for Python right now.
- 28:34I mean, I just, the other day went over, like, Hacker News has the who's hiring post every month.
- 28:40And Python's right up there, number one or number two, behind JavaScript in the most desired languages.
- 28:48So it's a great time to be a Python developer.
- 28:51Yeah, I did a thing that covered basically the active GitHub repositories.
- 28:56And Python is number two for the language of most active GitHub repositories, non-trivial ones.
- 29:03JavaScript being ahead of it.
- 29:05But I think JavaScript's over-counted, right?
- 29:07Like, if you do Django, you're also a JavaScript developer.
- 29:09If you do Flask or Pyramid, you're a JavaScript developer.
- 29:12If you do Ruby on Rails, you're a JavaScript developer, right?
- 29:15Like, you can't avoid JavaScript.
- 29:16Yeah.
- 29:17For better or for worse, JavaScript is the lingua franca of the web, right?
- 29:21I mean, that's, everyone's browser speaks JavaScript.
- 29:24Yeah.
- 29:24And the thing that I think is interesting about that is, like, how much does that skew these statistics?
- 29:29Like, JavaScript being on the top all the time, is that because it's pervasive everywhere, so you just have to have it?
- 29:35Or is it really JavaScript is so much in demand as its own individual thing?
- 29:39I don't know the answer to that.
- 29:41Yeah.
- 29:41I mean, anecdotally, I think I searched for Node as I was looking in those hacker news posts.
- 29:47And I don't think Node appeared as much as Python.
- 29:49So maybe there's some solace in that.
- 29:52Yeah, sure.
- 29:53Server-side JavaScript versus client-side, something like that.
- 29:55So you said you think that the way people pursue jobs these days is somewhat broken.
- 30:02What do you mean by that?
- 30:03As, you know, the leader or the, not the leader, I guess the person who ran the user group and someone whose people come up to me and say, hey, I want to get a job.
- 30:14How do I get a job?
- 30:15It seems that, you know, emailing some jobs at randomcompany.com and dropping your resume there is probably the worst way to get a job.
- 30:26I sort of speak from experience of, like, there's got to be a better way to do it.
- 30:31And it seems like a lot of times people who are interested in development and whatnot are also the more introverted type or don't want to sort of put themselves out there.
- 30:43Yeah.
- 30:44And whatever that means, you know, it's just hard for people to feel vulnerable, I guess.
- 30:50And so you can randomly send off.
- 30:53Yeah.
- 30:53Like, go give a talk at your meetups.
- 30:57Write a, create a blog and consistently write for it.
- 31:00Create open source projects.
- 31:02Speak at conferences.
- 31:04All of these things, you know, carry some inhibitions with them, right?
- 31:09Yeah.
- 31:09And it can be hard, right?
- 31:11I mean, the internet can be a ruthless place where, you know, if you're out there, you're going to get trolled or whatnot.
- 31:18And so that can be pretty daunting for a lot of people.
- 31:22My advice to people has consistently been, though, the best way to get a job is to network.
- 31:29And you can, you know, try and not do that.
- 31:34But your job search is going to be less effective than it could be otherwise if you're not out there networking.
- 31:40Well, I want to hear what you, what you mean by networking, but I'm going to add that I feel like the experience with the companies that I've worked for, when we go to hire somebody, has largely been, let's try to find somebody.
- 31:55And if we have to, we'll post a public job listing and people can submit their resumes.
- 32:00But that's like a last resort.
- 32:01Yeah.
- 32:02And so.
- 32:03Yeah.
- 32:04There's like, like sort of these dark matter jobs, which make up the majority of, of like getting, moving around and getting going in programming jobs where it's like, I know Sarah, she's an awesome programmer.
- 32:16Like she can really do this.
- 32:17Let's just talk to her.
- 32:18Like, oh, great.
- 32:19We don't have to interview anybody.
- 32:20Sarah's in, right?
- 32:22Like that sort of thing happens a lot.
- 32:24And so you've got to get out there and be present with these people, right?
- 32:29So what do you mean by networking though?
- 32:31Yeah.
- 32:31I mean, I agree with you a hundred percent in that a lot of these finding a job or hiring people is expensive for a company as well.
- 32:40And unless you're the Google type who are going to have some process where they churn and they're okay with rejecting good people because they just don't want to hire bad people.
- 32:49Not every, you know, most companies aren't, aren't that way.
- 32:53And so.
- 32:54You just don't have the scale, right?
- 32:55To go through, we can't hire a hundred new people and keep 50 of them.
- 32:58Like that just doesn't work.
- 33:00Yeah.
- 33:00And, and a lot of companies, like you said, have positions and don't want, they'd rather just go through people they know and, and hire it that way.
- 33:08Cause it's a lot cheaper and a lot easier.
- 33:10And it's, they know what they're getting.
- 33:12And so I think networking there, you know, you can call it various things, but it doesn't have to be necessarily work related.
- 33:20I guess I, you know, there's meetups and whatnot.
- 33:23And it's interesting.
- 33:24You go to like a meetup and like the Utah meetup every time they start off with, okay, who's hiring?
- 33:30And there'll be, you know, a handful of people who stand up and say, this is what we're hiring for.
- 33:33And you can go up and talk to them and sort of figure out what they're doing.
- 33:37And also there's a handful, they say, who needs a job?
- 33:40And there are a handful of people who stand up and say, this is what I'm looking for.
- 33:43And there's connections that are made there, which is a lot better than randomly sending an email.
- 33:49But I would sort of even go further.
- 33:52Like networking doesn't even have to be like this.
- 33:54Okay.
- 33:54I need to go talk about code.
- 33:56I, when I lived in the Bay area, I played ultimate Frisbee a lot.
- 34:02And so, you know, I played a game down in Palo Alto with their VCs playing in that game.
- 34:10And I played a game that was a block away from the Apple campus.
- 34:14And I played in a league down there.
- 34:16And you think about, this is back in the early 2000s, but like all the big companies, the Oracles
- 34:23and the IBMs and Microsoft and Google, like I knew people at all those companies just from
- 34:29playing Frisbee and networking doesn't have to be like drudgery.
- 34:34It can be something in sports, you know, here in Utah, there's a bunch of geeks who go
- 34:40skiing, you know, backcountry skiing and will go skiing before work.
- 34:43It can be church.
- 34:45If you're involved in a church group or whatnot, or school or conferences and meetups are sort
- 34:52of what people classically think of as networking, but it doesn't have to be limited to sort of
- 34:58technical pursuits per se.
- 34:59Yeah.
- 35:00If you're really bold, you could put on something, right?
- 35:02Like the data science hiking group or something, right?
- 35:06Yeah.
- 35:06And maybe in Silicon Valley, the odds are that, you know, you're playing Frisbee.
- 35:10Someone in Palo Alto, it's pretty, pretty high odds that someone there or most of the people
- 35:16there are going to be like some, have some tech related job or whatnot.
- 35:20But even here in Utah, I'm involved in Frisbee groups here and there I've seen jobs.
- 35:26People have gotten jobs by playing Frisbee.
- 35:29So put yourself out there.
- 35:30Yeah.
- 35:31You might have a master's degree, but the thing that really did it was that, ultimate Frisbee
- 35:35game that could be a culture fit for some people.
- 35:37Yeah, for sure.
- 35:38I feel like there's sort of two different groups, like getting into the programming space is a
- 35:44huge step change.
- 35:45Like to go from, no, I've, I have no experience to like, I have my first job seems really pretty
- 35:52challenging and like a big step.
- 35:54And then it feels to me like once you're kind of in the door, people are like, oh, you can
- 35:58program.
- 35:59We need programmers to some degree, right?
- 36:01Yeah.
- 36:02So what advice, especially do you have for like the people on there trying to make that
- 36:05first step?
- 36:06I talked to a lot of people who come from maybe a QA or they're doing tech support or something
- 36:11and they want to get into programming.
- 36:12And I think if you want to get into programming, the thing that you need to show is you need
- 36:18to show that you can program.
- 36:20And so that might be taking some project and sort of implementing it from end to end, or
- 36:27that might be going to some coding bootcamp and figuring out that, yeah, I can do all this
- 36:33stuff and have something to show after it.
- 36:35But you need to have something that allows you to get a foot in the door.
- 36:39And after that, you know, if you've got a foot in the door and you're sort of legitimate,
- 36:43then you shouldn't have a problem.
- 36:46But getting that first little project or it can be a challenge for a lot of people.
- 36:52Yeah.
- 36:53You know, one of the things people often ask me, I got a question today from somebody,
- 36:58a listener saying, look, I know I want to get into programming in Python and I have some
- 37:04experience, but I'm like you said, I'm coming from some slightly, slightly different area.
- 37:08What should I learn?
- 37:10Right?
- 37:10Like, should I learn web development?
- 37:13Should I learn databases?
- 37:14Should I learn data science?
- 37:15Like, what should I learn?
- 37:16What would you tell that person?
- 37:18Assuming it's restricted to Python somehow.
- 37:20It's restricted to Python.
- 37:21What should they learn in Python?
- 37:22Yeah.
- 37:23Yeah.
- 37:23Like that a standard Python developer might do.
- 37:26Yeah.
- 37:26Or data scientists using Python might do.
- 37:29Yeah.
- 37:29I talk about that a lot in my courses.
- 37:32It's like one of the big draws of Python is that it's not basically limited to development,
- 37:37right?
- 37:38I mean, you have these data scientists who are determining what ads we click on and whatnot.
- 37:42And a lot of them aren't classical programmers per se, but they're using Python.
- 37:48That's Jupyter notebook and Python tooling and day in and day out.
- 37:53And a lot of the DevOps type stuff as well.
- 37:56You know, with like SaltStack, these people aren't programmers either.
- 38:01They're more DevOps type.
- 38:03And there's a lot of Python in that world as well.
- 38:06I personally trained a lot of people specifically to use Python.
- 38:10And that's what they're using it for.
- 38:13So I think pigeonholing Python into just for strictly programmers maybe does a disservice to that, right?
- 38:22Yeah, I agree.
- 38:23One of the big draws of the language is that it's so flexible.
- 38:27And if you think of Ruby, you think of like Rails and you think of like PHP, you think of the web or you think of R and you think of data science.
- 38:36But Python sort of has communities and groups that are sort of in all those camps.
- 38:42And, you know, it's not just a breadth thing, but it's pretty deep as well.
- 38:47There's deep tools in Python.
- 38:48So I think someone's got to figure out, you know, if they want to be a programmer, yeah, that you can go down that programming route in Python.
- 38:57But there are other avenues for making a living using Python that don't necessarily require that your title be software engineer.
- 39:06Yeah, I think that's a pretty good point.
- 39:08I threw it out there super vague because that's the way I always get it, right?
- 39:11But I feel like people have to decide, like, what general direction you want to go?
- 39:16Do you want to do web development?
- 39:17Okay, then I can tell you what you probably need to work on.
- 39:20You want to do DevOps?
- 39:21I can tell you what you need to work on.
- 39:22You want to do data science?
- 39:23Same.
- 39:24But if you just say, I want to do Python, what do I do?
- 39:27Like, it's not quite differentiated enough to really decide, right?
- 39:31Yeah.
- 39:31I mean, I guess I would say if you want to do Python, then mobile apps is probably what you don't want to do, right?
- 39:38Or 3D games is probably what you don't want to do.
- 39:40Yeah.
- 39:41Although, you know, you say that and I probably would have said the same thing.
- 39:44But, I mean, they've got all the process pipelining stuff done in Python for even the big game shops, right?
- 39:52I mean, obviously, you wouldn't write the game in Python.
- 39:54Yeah.
- 39:54No, no, that's true.
- 39:55Python is in a great place right now.
- 39:58And it's, you'd be, I'm not you, but I mean, it's amazing at all the places they're using Python.
- 40:03Yeah, for sure it is.
- 40:05I also feel like people don't often enough take, like, what is their specialty and think,
- 40:11how can I take my specialty plus Python and make it, like, supercharged, right?
- 40:16Like, do you know biology?
- 40:17Find a way to work with biologists where, like, they're totally missing the game of, like, having automation and computers solve their problems.
- 40:26Yeah.
- 40:27Or if you're in finance or if you're whatever, you know, like, like, how do you put those together?
- 40:31Because that'll give you a huge boost, I think.
- 40:32Yeah.
- 40:33And a lot of, like, when you read data science career type things, it's like some people are of the opinion that it's easier to take someone who has domain knowledge and sort of make them, give them data science skills than the reverse of, like, giving someone who has data science skills domain knowledge in some specific niche.
- 40:50Yeah.
- 40:50I think I agree with that for the most part.
- 40:52You know, two random people, not maybe some expert programmer, right?
- 40:56Yeah.
- 40:57Who knows?
- 40:57This portion of Talk Python To Me is brought to you by Hired.
- 41:01Hired is the platform for top Python developer jobs.
- 41:04Create your profile and instantly get access to thousands of companies who will compete to work with you.
- 41:10Take it from one of Hired's users who recently got a job and said,
- 41:13I had my first offer within four days and I ended up getting eight offers in total.
- 41:17I've worked with recruiters in the past, but they were pretty hit and miss.
- 41:20I tried LinkedIn, but I found Hired to be the best.
- 41:23I really like knowing the salary up front and privacy was also a huge seller for me.
- 41:27Well, that sounds pretty awesome, doesn't it?
- 41:29But wait until you hear about the signing bonus.
- 41:31Everyone who accepts a job from Hired gets a $300 signing bonus.
- 41:34And as Talk Python listeners, it gets even sweeter.
- 41:37Use the link talkpython.fm/Hired and Hired will double the signing bonus to $600.
- 41:43Opportunity is knocking.
- 41:45Visit talkpython.fm/Hired and answer the door.
- 41:49I guess the takeaway is like really the thing that carries the weight in all of this is people who hire programmers hire them because they have proof or they can show experience of actually doing the thing.
- 42:07Unlike so many other jobs, right?
- 42:09Where like I have a business degree.
- 42:11Well, I must be great at running businesses because it came from a good school.
- 42:14So you're hired, right?
- 42:16No, you have to show that I can do these things.
- 42:19And so building up stuff for that proof in advance over time, like not the week before you want to try this, right?
- 42:27But like have a GitHub repository with as much interesting things you can do.
- 42:30Contribute to open source projects.
- 42:32Write a blog.
- 42:33Work on things, right?
- 42:34Like build this up because those are hard to sort of do all at once and make that not seem like you just threw it together.
- 42:40Yeah.
- 42:40You see young, I say young people like teenagers who have contributed to repositories and get jobs.
- 42:46And so it's not like you have to spend years doing this sort of thing, but you know, you do have to show that you can do it.
- 42:53Right.
- 42:53And I think another skill that is pretty essential is that you, especially if you're starting out, is that you have the aptitude and ability to like learn and are sort of willing to be taught.
- 43:06Because a lot of stuff that, you know, even that I'm using today, this stuff didn't exist a few years ago.
- 43:13So it's sort of constant churn of learning new things.
- 43:16Yeah.
- 43:17If you don't want to learn new things, you're going to hate this job.
- 43:19Yeah.
- 43:20Speaking of jobs, let's talk about your job.
- 43:23You're working on a startup based on Python and I'm always excited about businesses running on Python.
- 43:29So let's talk about what you guys are doing there a little bit.
- 43:32Yeah.
- 43:32Startups called Far Better.
- 43:34And what's the URL?
- 43:35Farbetter.com.
- 43:37F-A-R-B-E-T-T-E-R.
- 43:39And there's a little video there that explains the basic gist of it.
- 43:44But hopefully we're just finishing putting the dots in the I's and crossing the T's and get something out to our beta users here pretty soon.
- 43:55But again, the idea here is that, you know, I've done a lot of traveling and traveling is somewhat annoying.
- 44:02You know, if I want to go to the Bay Area, it says where you're what airport you're flying out of, what airport are you flying into.
- 44:10And in the Bay Area, there are three different airports.
- 44:12And I don't really actually care which airport.
- 44:15I care what's the most convenient for me.
- 44:18And so we think we've got a pretty good UE where we just say, where do you want to go and when you need to be there?
- 44:23Don't even worry about the airport.
- 44:25And we go out and figure out what the inventory is, what the nearest airports are to you and to where you're going.
- 44:32And then we sort of figure out all the different combinations.
- 44:36And we take advantage of AWS and figure out based on your preferences, what would be the best trip for you based on, you know, if you're a Delta person or I guess Delta is the good airline these days.
- 44:52Well, I shouldn't be brand sensitive.
- 44:54But, you know, based on your priorities, right?
- 44:58But it does.
- 44:59Yeah, it does matter which one, because a lot of times you have frequent flyer miles.
- 45:02You might get a free upgrade on one and not the other.
- 45:04If you fly a lot, you care that you're not stuck onto like some cheapo thing.
- 45:09We're based on, you know, the idea here is that business travelers are going to fly once or more a month.
- 45:15And business travelers actually are really brand sensitive.
- 45:18So they want to get their trip to Hawaii at the end of the year.
- 45:21And I want to fly Delta or whatever airline every time if I can.
- 45:26But, you know, if I'm going to miss that, if I'm not going to make that deal because another airline, because I have a layover, maybe I'll take the direct flight, even if it's off brand, because I'll get the million dollar deal or whatnot.
- 45:38Right.
- 45:39And so schedule could trump that.
- 45:42And so we've got a system written in Python that in under a minute will figure out a customized itinerary based on your preferences.
- 45:52So it's pretty cool.
- 45:53And it's kind of fun to see something come together like that.
- 45:58And it's gratifying to after working on something for a while, actually see it come out.
- 46:03Yeah, that sounds like a really cool project.
- 46:05And you said originally it was written in Clojure and then you guys have converted it to Python 3, right?
- 46:11Originally it was written in Clojure and we implemented it and did a microservice style of architecture there, which I think was great and was probably super scalable and whatnot.
- 46:28But the problem was the engineers weren't scaling.
- 46:32And so, you know, with two engineers and having half a dozen or more microservices, it's kind of hard to keep track of everything.
- 46:39And having 15 plus years of Python experience and less than that of Clojure experience, we decided that let's simplify this a little bit, keep it simple and start from scratch and take advantage of Python.
- 46:56And we've taken advantage of the async stuff in 3.6 and that's pretty cool.
- 47:01And I think our only regret is that we didn't port to Python a little bit earlier.
- 47:06Yeah, sure.
- 47:07Well, that sounds really interesting.
- 47:08You said that you had a bunch of microservices and you've actually like condensed that down to a Django app plus AWS Lambda.
- 47:18Yeah.
- 47:19And I'm seeing this as a trend.
- 47:20I think it's happening quite a bit.
- 47:23I mean, the idea of microservices was we're going to take some big monolithic app and break it into these little bits of functionality.
- 47:31Like maybe here's the thing that charges the credit card.
- 47:34That's a service.
- 47:35And here's the thing that does login.
- 47:37And here's the thing that, you know, creates a user or whatever.
- 47:40And these are like little services that you piece together in your app.
- 47:45But now we have things like Lambda.
- 47:47Yeah.
- 47:47You want to talk about the trade-offs and how that's working?
- 47:50Yeah.
- 47:50The serverless architecture, I guess.
- 47:52Or I don't know.
- 47:53Maybe I think someone called it milli-services now instead of micro.
- 47:57But yeah.
- 47:58I mean, again, it comes back to the point of like you've always got to be learning.
- 48:02Like this Lambda stuff when we started this project didn't exist.
- 48:06And so it wasn't really an option.
- 48:08But it is now.
- 48:10And it...
- 48:11Maybe tell people what Lambda is really quick.
- 48:13Yeah.
- 48:13So if you're not familiar with Lambda, it's basically a way to expose a function and scale
- 48:19out a function where you can say, I'm going to let you run 100 versions of this function
- 48:25at the same time and pull back the answers.
- 48:28And you don't have to necessarily start up 100 VMs or whatnot.
- 48:32Amazon takes care of that for you.
- 48:34You just tell it what function you want to run and you can call it, depending on what your
- 48:38service level agreement is, X number of times concurrently.
- 48:42So it makes so much sense to me.
- 48:44I mean, with microservices, while it's cool to break your stuff up into these small pieces,
- 48:48you really end up with like 10 little servers to babysit and manage and configure.
- 48:53Yeah.
- 48:54Like many of them are down like charge credit card.
- 48:56Well, like that's a function.
- 48:57Maybe we could just make it a function that runs like magically on AWS, right?
- 49:02Yeah.
- 49:02And, you know, one of the nice things about Lambda is that it supports Python out of the
- 49:07box.
- 49:07And up till last week or two weeks ago, it was Python 2, but they recently now support Python
- 49:153.6.
- 49:16So I think you have Python, Java and .NET.
- 49:20So pretty limited choices there, but we're good with Python there.
- 49:25And it's pretty cool.
- 49:27So, you know, the architecture of this app has changed, but it's radically been simplified,
- 49:34but it still scales out, which is pretty cool.
- 49:38That's cool.
- 49:38And how much like supporting infrastructure can you have on Lambda?
- 49:43Like I haven't really tried to use it in, you know, in anger, right?
- 49:46Like if I've got like say pandas or I've got, you know, SQLAlchemy and I want to talk to
- 49:53RDS or, you know, like how much like foundational dependencies can you ship up there?
- 49:58I think there's a limit of, I want to say like a hundred megabytes of how much you can pack
- 50:06up into a function.
- 50:07Don't quote me on that.
- 50:09But basically, since we're developing on Mac, you've got to basically take a Docker image
- 50:14and then get all of the dependencies in that Docker image and then zip that up and then send
- 50:20that tarball or zip file up to, up to AWS.
- 50:25And so there's some work in, in doing that, unless it's pure Python, right?
- 50:29If you, if you want to take advantage of like pandas or something, you've got to use a Linux
- 50:35version and not any random, you know, Mac or Windows version because AWS isn't running on
- 50:42that.
- 50:42Yeah.
- 50:44I'd be surprised if they had Macs back there somewhere.
- 50:46Not likely.
- 50:48Yeah.
- 50:48Probably not going to happen.
- 50:49No, probably not.
- 50:50Very interesting.
- 50:52So this whole architecture is working out for you though.
- 50:54like sort of consolidating a little bit and just going in like all these little microservices,
- 50:58these are now Lambda functions.
- 50:59We're going to push those out.
- 51:00Yeah.
- 51:01Does the rest of your app also run in like an EC2 or something like that?
- 51:04Mm-hmm.
- 51:04We've got the elastic load balancer in front and then we've got the Django app that's stateless
- 51:10and then we've got DynamoDB on our backend.
- 51:14And so it's been very simplified and you've got JSON sort of talking over the place and, but
- 51:23it does the job and it's pretty cool.
- 51:25That's cool.
- 51:26What do you think of DynamoDB?
- 51:27And that's one of the more extreme cloud hosted NoSQL databases I would say if I describe it.
- 51:35Yeah.
- 51:35I have sort of mixed feelings about AWS and that like there's a huge amount of vendor lock-in,
- 51:41which is good for Amazon, right?
- 51:44because you get sort of gets sucked in there.
- 51:46But, you know, if you have, if you can take advantage of their functionality and it works for you,
- 51:52you should do that.
- 51:53And not everything needs to be in the relational database.
- 51:57So I think it just sort of depends on what your architecture is.
- 52:01Sure.
- 52:02Yeah.
- 52:03I share your concerns with the lock-in and these cloud platforms as well.
- 52:07I mean, they're even more lock-in than OSs in some ways, which is kind of crazy, but yeah,
- 52:14it's going to be an interesting world in 10 or 20 years when there's a few of these giant things that
- 52:19just run everything.
- 52:20Yeah.
- 52:21I imagine that like this serverless, I imagine Google would probably come out with something
- 52:26if they haven't already or, you know, there'll be competition there.
- 52:29But it seems like Amazon, everyone's just sort of following Amazon and can't really compete
- 52:35with this giant behemoth right now.
- 52:37But competition's good.
- 52:39So hopefully, hopefully there'll be some competition and that will keep everyone in check.
- 52:43I hope so.
- 52:44I hope so.
- 52:44All right.
- 52:46Well, we're getting a little bit short on time, so I guess we should probably leave it there.
- 52:50But that sounds fun.
- 52:51I guess one more question, like what kind of machine learning, data science, AI stuff
- 52:55you got going on to make that happen there?
- 52:56Basic idea is that we've spent a lot of time making a mathematical model that represents a
- 53:02trip, which isn't necessarily trivial.
- 53:04And then throwing a bunch of computing power at going through that search space and figuring
- 53:12out based on your preferences what those best trips are.
- 53:15You know, over time, we want to put some machine learning into that and saying, you know,
- 53:19you said that brand was really important to you, but it turned out the cost was really
- 53:24important to you.
- 53:25So we're going to, you know, on the back end, tweak your preferences based on what you're
- 53:30really doing.
- 53:31Right.
- 53:31You say this matters more, but you're not actually behaving that way, right?
- 53:35Yeah.
- 53:36Based on behavior and not what you think your behavior is.
- 53:39But we're not there yet.
- 53:41No, it sounds really cool.
- 53:42Yeah.
- 53:42I don't want to don't want you to spill the secret sauce, but it's cool to hear what you're
- 53:46doing.
- 53:46Yeah.
- 53:46All right, Matt.
- 53:47So final two questions.
- 53:48Okay.
- 53:49If you're going to write some Python code, what editor do you open up?
- 53:52I use Emacs and I'm currently using the Space Max variant of that.
- 53:57So, I mean, I've used that since late nineties and I guess you can pry it from my cold dead
- 54:04fingers or whatever.
- 54:05I duck as people throw their Vim flavored tomatoes at me.
- 54:09Yes, exactly.
- 54:10Well, it's just going to hit their screens.
- 54:11It won't really hurt you.
- 54:12Yeah.
- 54:13But when I'm teaching, I typically use idle.
- 54:15So you can cringe at that as well.
- 54:18Okay.
- 54:18Sure.
- 54:20All right.
- 54:21Awesome.
- 54:22And then sort of notable PyPI package.
- 54:25You have over a hundred thousand to pick from these days.
- 54:27That's pretty incredible.
- 54:28I guess we'll bring it back to the start.
- 54:30One that we've liked at work is a package called Zeep, which is a modern soap package in Python.
- 54:38So it has Python 3 async support.
- 54:43And so you're sort of blending the old enterprise stuff with the latest and greatest of Python.
- 54:50So Zeep.
- 54:52Z-E-E-P.
- 54:52All right.
- 54:53It sounds cool.
- 54:55Okay.
- 54:55So final call to action.
- 54:56People, there's a lot of stuff they can check out.
- 54:58They can check out your travel company.
- 55:00You've got your books.
- 55:02You've got your, probably they can meet you at PyCon, right?
- 55:05Yeah.
- 55:05I'll be at PyCon.
- 55:07Be at the tutorials.
- 55:09I'm going to be at O'Reilly's booth, I think on Friday.
- 55:12So if you want to meet me there, I'll be around as well.
- 55:15Saturday, I'll be in the Young Coders camp.
- 55:18But come up and talk with me if you want to.
- 55:21Otherwise, I guess you can follow me on Twitter if you want to.
- 55:24Dunder M. Harrison is my handle on Twitter.
- 55:28Nice.
- 55:28And I'll put that in the show notes as well.
- 55:30Cool.
- 55:30All right.
- 55:31Well, Matt, thank you for being on the show.
- 55:32It's been great to chat with you about all these projects and see what you're up to.
- 55:36Yeah.
- 55:36Thanks.
- 55:36I appreciate it.
- 55:37Bet.
- 55:37Talk to you later.
- 55:38Okay.
- 55:38We'll see you.
- 55:39This has been another episode of Talk Python To Me.
- 55:43Today's guest was Matt Harrison.
- 55:46And this episode is sponsored by Rollbar and Hired.
- 55:50Rollbar takes the pain out of errors.
- 55:52They give you the context and insight you need to quickly locate errors that might have
- 55:56otherwise gone unnoticed until your users complain to you, of course.
- 55:59As Talk Python To Me listeners, you can track a ridiculous number of errors for free.
- 56:03Just go to rollbar.com slash Talk Python To Me to get started.
- 56:07Hired wants to help you find your next big thing.
- 56:10Visit talkpython.fm/Hired to get five or more offers with salary and equity presented
- 56:16right up front and a special listener signing bonus of $600.
- 56:20Are you or your colleagues trying to learn Python?
- 56:22Well, be sure to visit training.talkpython.fm.
- 56:25We now have year-long course bundles and a couple of new classes released just this week.
- 56:31Have a look around.
- 56:32I'm sure you'll find a class you'll enjoy.
- 56:33Be sure to subscribe to the show.
- 56:36Open your favorite podcatcher and search for Python.
- 56:38We should be right at the top.
- 56:39You can also find the iTunes feed at /itunes, Google Play feed at /play, and
- 56:45direct RSS feed at /rss on talkpython.fm.
- 56:48Our theme music is Developers, Developers, Developers by Corey Smith, who goes by Smix.
- 56:53Corey just recently started selling his tracks on iTunes, so I recommend you check it out at
- 56:58Talk Python.fm slash music.
- 57:00You can browse his tracks he has for sale on iTunes and listen to the full-length version
- 57:05of the theme song.
- 57:06This is your host, Michael Kennedy.
- 57:08Thanks so much for listening.
- 57:09I really appreciate it.
- 57:10Smix, let's get out of here.
- 57:12Stay tuned.