Latest / Talk Python To Me / #286: Python and ML at NASA Jet Propulsion Laboratory (JPL)
Transcript
- 0:00NASA's Jet Propulsion Laboratory, JPL's primary function, is the construction and operation of planetary robotic spacecraft,
- 0:07though it also conducts Earth orbits and astronomy missions, and it's responsible for operating NASA's Deep Space Network.
- 0:14On this episode, you'll meet Chris Matman.
- 0:17He's the Division Manager for Artificial Intelligence, Analytics, and Innovation at NASA's JPL,
- 0:22and he's JPL's first principal scientist in the area of data science.
- 0:27We cover a wide range of topics and dive into how Python and open source are growing in the space exploration field,
- 0:34and he answers the question of whether he thinks we'll have Python running on robots and rovers in space.
- 0:40This is Talk Python To Me, episode 286, recorded August 14th, 2020.
- 0:46Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.
- 1:06This is your host, Michael Kennedy.
- 1:07Follow me on Twitter, where I'm @mkennedy.
- 1:10Keep up with the show and listen to past episodes at talkpython.fm, and follow the show on Twitter via at Talk Python.
- 1:16This episode is brought to you by Linode and monday.com.
- 1:20Please check out what they're offering during their segments.
- 1:22It really helps support the show.
- 1:23Chris, welcome to Talk Python To Me.
- 1:25Hey, Michael.
- 1:26Thanks for having me.
- 1:27It's great to be here, and hi to your listeners.
- 1:30Well, I almost don't know where to start.
- 1:32There's so many things that you have done in Python in the open source space that I think is going to be really fun to talk about.
- 1:40But I think let's focus mostly on space and JPL and that, and then we'll get to what I think will be a surprisingly large and impressive list of interesting things that you've done.
- 1:52And so we'll start our conversation there.
- 1:54But before we get actually into that, let's just start with how you got into programming in Python.
- 1:57Yeah.
- 1:58Well, it's a long story.
- 2:00So I came from the Java world, rewind the clock maybe, I don't know, 15 or 20 years ago.
- 2:04And I grew up in a trailer in Santa Clarita.
- 2:07It's about an hour north of LA.
- 2:09And let's see, my childhood wasn't super interesting.
- 2:13But anyways, I became a teenager.
- 2:14I like to tell people, I think I had my first longer than five-minute conversation with my father when I was a teenager.
- 2:20When my brother, who was out hanging out with the ladies and being an extrovert, I was an introvert,
- 2:25he asked me to read the paper with him, the local paper.
- 2:28And so that was nice.
- 2:28I think I had longer than a five-minute conversation with him at that point.
- 2:31And so yeah, so I went from there.
- 2:34I played sports in high school.
- 2:36I went to Saugus High.
- 2:37I was 5'9 up until my sophomore year.
- 2:40And staying that height throughout, everyone else got taller.
- 2:43So they got to play football.
- 2:44I didn't.
- 2:45So I had to do something else.
- 2:47I had a 4.6 GPA.
- 2:50The only reason I didn't have a 5.0 on a four scale was they didn't have honors football.
- 2:54So I decided to go into computers at the time.
- 2:57And so I went to USC.
- 2:58I couldn't afford it.
- 2:59I'm still paying it off right now.
- 3:01And when I was there at USC, I was sitting in the computer lab one night.
- 3:04And it was my sophomore year.
- 3:06And I needed money and a job.
- 3:08It was like midnight.
- 3:09And an email came through from a place called JPL.
- 3:12Not JBL.
- 3:13The headphone place.
- 3:14JPL.
- 3:15Jet Propulsion Laboratory.
- 3:17And a real nice gentleman, Dr. Rob Raskin, was looking for us computer people to help Earth scientists understand earthquake data and other things.
- 3:26And so I went for an interview.
- 3:27I'd never been for one before.
- 3:29I'd interned at a company called iWin.com.
- 3:32That was my only other experience basically building video games and Java.
- 3:36Java applets for the 35 to 55-year-old demographic of people.
- 3:41It was like online poker games during that era.
- 3:44So, I mean, that was nice.
- 3:45That was on the West Side.
- 3:47You know, of LA.
- 3:48I got to be near the Miracle Mile.
- 3:49I learned where UCLA was.
- 3:51As a USC person, you really need to learn that.
- 3:53So you can really feel the rivalry.
- 3:55But it was a beautiful area over there by Mid-Wilshire.
- 3:57But anyways, JPL was a nice change.
- 3:59It was closer to USC and where I lived at the time.
- 4:02JPL is about maybe a 15-20 minute drive into northeast LA from downtown in USC.
- 4:07And so, yeah, I got a gig at JPL.
- 4:09And I was like a computer programmer.
- 4:11I was doing Pearl, PHP, you know, other stuff.
- 4:16Building websites and databases and MySQL for Earth scientists.
- 4:19And so I did that for maybe, I want to say, as an academic part-time and eventually as an employee for three or four years.
- 4:27And then I got sucked into the real hardcore Java community.
- 4:31I was working with folks on technology projects for databases.
- 4:34I even worked for a project.
- 4:37JPL was doing work with the National Cancer Institute.
- 4:40We were basically putting together data for cancer detection because a lot of the stuff we did for remote sensing could be applied to that.
- 4:46And so, yeah, I mean, Java was big at the time.
- 4:49And my trick was trying to figure out how instead of using C and C++ to build science missions, then I eventually started working on those.
- 4:57I worked on a nurse science mission called Orbiting Carbon Observatory.
- 5:01And I had to figure out how to use Java.
- 5:02I wanted to use Java.
- 5:03I refused to use C++.
- 5:04Not that I didn't know it.
- 5:06Right.
- 5:06But I was like, God, you know, go ahead.
- 5:09I was going to say, I've gone through these same stages.
- 5:12Not with Java, but with .NET.
- 5:14Just like, you know what?
- 5:15I know I could do this as a C++, but I'm really over just all the pain and the hoops and the page faults and all the stuff that I just don't care about anymore, you know?
- 5:23Oh, my God.
- 5:24Same thing.
- 5:24I had done nachos for operating systems.
- 5:26That was the Berkeley, sorry, Stanford little tutorial project on how to do it.
- 5:30I learned multiprogramming and memory management.
- 5:32But who the hell wants to do that regularly?
- 5:34And so I was like, Java does this for me.
- 5:37It's being shoved down my throat.
- 5:38Let me accept and assimilate.
- 5:39So, yeah.
- 5:40So my gig was my big thing I cut my teeth on and became kind of known at JPL was that I forced us to basically use Java to implement a ground data system for OCO, the Orbiting Carbon Observatory in 2005.
- 5:52And so my trick there was, okay, all the prior Earth Science missions, say, took in 10 years, 10 gigabytes of data.
- 6:01And they ran on order in terms of their processing, their daily processing for jobs to produce data, maybe tens of jobs per day to produce that 10 gigabyte record over 10 years.
- 6:14And so OCO was basically, okay, we're going to take you into the realm of 10,000 jobs per day, daily workload.
- 6:21And then it was going to generate 150 terabytes of data in the first three months.
- 6:26And so I actually looked at the C++ system that we built before to do this.
- 6:31And I was like, you know, it was tied to a database.
- 6:33It was tied to, like, I don't want to say Oracle, but I think it was like, it was tied to Postgres.
- 6:38It couldn't run without a database running.
- 6:40All the configuration was in a database.
- 6:41It was like single processor, everything else.
- 6:45And I was like, this needs to be completely rewritten.
- 6:47And at the time, I had hung around at USC to get a master's degree.
- 6:51And I had a really inspirational professor there during my master's, Dr. Nino Medvedevich, who ended up becoming my PhD advisor, who got me into research.
- 6:58And I hung around for the PhD as well.
- 7:00And so in my PhD that I was doing at USC, I took a search engines class.
- 7:05And I got really into this thing called NUTCH.
- 7:07N-U-T-C-H, right?
- 7:09N-U-T-C-H.
- 7:11And it was a creation of a guy named Doug Cutting, who was the guy who created Lucene and eventually things like Hadoop and all that whole ecosystem.
- 7:18And my professor at the time wanted us to do our final projects in NUTCH.
- 7:23And so mine was a really simple syndication or RSS parser.
- 7:26And by the way, for your listeners, I'm going to get to the Python part.
- 7:29I just have to tell you this so you can make fun of me because I started out in big, big, hardcore Java.
- 7:34So I got into NUTCH.
- 7:35I built the RSS parser for feeds, for Nudes feeds.
- 7:38That was my final project in my search engines class.
- 7:41During my PhD.
- 7:42And I contributed to NUTCH.
- 7:43And I got involved in Apache, the Apache Software Foundation, where NUTCH had just moved to.
- 7:48And I started talking to Doug and all the other developers.
- 7:51And I became friends with them.
- 7:52And I became a NUTCH committer.
- 7:53The funny part was my academic cousin at UC Irvine, because it's all in the academia.
- 7:58There's like, who's your advisor?
- 7:59He's like your dad.
- 8:00Who's your advisor?
- 8:01Your grandpa.
- 8:02You know, you got cousins and uncles on the academic side.
- 8:04One of my cousins was Justin Ehrenkranz, who was the president of Apache.
- 8:08And my academic uncle was Roy Fielding, who was the founder of Apache.
- 8:13And so I had this sort of Apache connection without even...
- 8:16As well as REST.
- 8:17The whole REST idea, yeah.
- 8:18The REST architecture.
- 8:19Yep.
- 8:19Roy's famous for that.
- 8:21So UC Irvine during the mid-90s, which was like the decade before I was doing it, was
- 8:25like the place to do software, you know, big software GUI and multi-architecture development
- 8:31and architecture and stuff like that.
- 8:33Dick Taylor ran the group.
- 8:34And yeah, anyways, he had a bunch of all-stars.
- 8:36He had the guy who invented Argo UML, the guy who invented WebDAV, the guy who invented REST,
- 8:41the guy who did the component connector architecture status.
- 8:43So those are my ancestors academically.
- 8:46So yeah, so I'm doing search engines and whatever.
- 8:48I've got this connection anyways to Justin and Roy who are telling me, get involved in
- 8:52open source.
- 8:53And I'm like, cool, okay, I could do that.
- 8:55And so I started contributing to Nudge.
- 8:57And Nudge eventually became Hadoop.
- 8:59And so then Hadoop became Spark.
- 9:01And so I'm in the ecosystem.
- 9:02I'm playing, you know, I'm contributing.
- 9:04I got into search engines.
- 9:06That really became a passion because I was building these big data systems at JPL for mission science.
- 9:11I was like, we need to use all this Java stuff and all this ecosystem and we need to scale
- 9:15and do all that.
- 9:16So the funny part was, here's the Python long-winded answer.
- 9:20You asked me, how did I get into Python?
- 9:22In about 2009, after I had led teams, done this myself, built three mission ground systems on Java.
- 9:28And we proved all the naysayers wrong that said, you can't do it.
- 9:31You know, it's got to be C++.
- 9:33We did a ground system on Java.
- 9:35I got tired of Java.
- 9:38And Python was getting shoved down my throat then.
- 9:40And that was like, everybody has, at some level in their career, one or two or three eras of their career.
- 9:46And my second era beyond early programming was really Java.
- 9:50And so then my third era was Python.
- 9:52I mean, I started to get involved.
- 9:54I went away from missions.
- 9:55I got involved in technology development.
- 9:57And I started going to government technology development.
- 10:00And in the early 2010s, 2012, during the Obama administration, there was the Big Data Initiative.
- 10:05And they funded a bunch of programs, $100 million investments and things in big data.
- 10:09And I was toe-to-toe in some of these programs, standing alongside of them with people like Peter Wang, Travis Oliphant.
- 10:15And I started to learn.
- 10:16In fact, I even funded them during a program called DARPA Memex to grow what became what was Continuum Analytics at the time, a smaller company out of EnThought, to what became now Anaconda.
- 10:26And so I started talking.
- 10:28And then Peter's sitting there telling me, oh, Chris, screw Java.
- 10:31You know, I was the Java guy, you know, sitting amongst all the Python fields.
- 10:34I can just hear Peter saying that as well.
- 10:37Yeah.
- 10:37What are you doing?
- 10:39You're messing around here, man.
- 10:40Yeah.
- 10:40You know, Peter's telling me about Bokeh.
- 10:43And he's like, oh, you know, Numba and all this.
- 10:45And I was like, you guys got all.
- 10:47And you got your own foundation, NumFocus.
- 10:49Andy Terrell and I became friends.
- 10:51I got Andy to come talk at ApacheCon, which was great.
- 10:53They never invited me to PyData or anything.
- 10:55I don't know, you know, whatever to them.
- 10:57But yeah, so I got involved in that.
- 10:59And so I said, I can do this one more time.
- 11:00I can go deep and learn.
- 11:02And so really, probably circa 2013, the big thing for me was I created Tika.
- 11:07We'll talk about that later.
- 11:08But that was my big thing in Java besides Hadoop and all this.
- 11:12And so in 2013, 2014, we ported that to Python.
- 11:15And I did that with a guy named Brian Wilson at JPL.
- 11:18And that was my, I can go deep and do Python and deliver something of big value to the Python
- 11:23community.
- 11:24And so, yeah, around then, that's how I got involved in Python.
- 11:27That's how I'm there.
- 11:28Now, today, I'm doing machine learning and other stuff.
- 11:29And anyways, I don't want to dominate.
- 11:31But yes, that's kind of the answer.
- 11:33Well, two things.
- 11:35First, to get a call from JPL out of the blue in your undergrad or master's degree program
- 11:41and say, hey, why don't you just drop in and just do some work on like cutting edge space
- 11:45just down the street?
- 11:46Like that is incredible, right?
- 11:48To get such an opportunity.
- 11:49And I think that's really, that's really neat.
- 11:51It's a big time opportunity, Michael.
- 11:53And for me, the thing I like to tell people, I've learned a lot of JPL in my 20 years there.
- 11:57And a lot of people look at me and go, God, you've been here for 20 years.
- 12:00I said, yeah, I'm just sort of entering mid-career.
- 12:0320 years at JPL is mid-career.
- 12:05Well, I mean, it's like you want to run a mission.
- 12:06You got to like, that's a 20-year commitment, a 15-year commitment sometimes.
- 12:10Oh, dude, you're exactly right.
- 12:11And so you can see at JPL, I tell people this, you can see the people that are going to be
- 12:16there for five years.
- 12:17And you can see some of the people that are going to be there.
- 12:19And by the way, we like those five-year people too.
- 12:21We'll get whatever we can.
- 12:22We can talk about that later out of whoever.
- 12:24Our mission is space.
- 12:26And it hit me in 2003, 2004.
- 12:28The big thing was the Spirit and Opportunity twin rovers.
- 12:31You know what I mean?
- 12:31The first three or four years of JPL, it's awesome.
- 12:34And you're just like, but you're young and you don't know and appreciate space and everything
- 12:38else.
- 12:38And so I was like, oh, yeah, maybe I'll go work at a startup after this.
- 12:41And it hit me in the MER rovers, Mars Exploration rovers, Spirit and Opportunity.
- 12:46And they send them and they land.
- 12:49And I saw the landing.
- 12:50I stayed up at night.
- 12:51I watched NASA TV.
- 12:52It was just my wife and I at the time in our new house.
- 12:54We bought our first house.
- 12:55And I had bought my first 55-inch TV that if you compare to the TVs, the thin ones now, it
- 13:00was like as big as my living room.
- 13:02And I'm like, yeah.
- 13:03It has its own cooling unit.
- 13:05It's own cooling unit.
- 13:06Oh, yeah.
- 13:07And so we're sitting there.
- 13:08We're watching it.
- 13:09And then Arnold Schwarzenegger comes out.
- 13:10He's the governor of California.
- 13:12And he's shaking hands with my friends, some of my friends who I worked with on some of
- 13:15this.
- 13:16And I'm like, I know.
- 13:17This is amazing.
- 13:18And everybody.
- 13:19And then it's like the JPL.
- 13:21Yeah.
- 13:21You know, when we landed.
- 13:23Stuff like that.
- 13:24And so, yeah, that's when I was like, oh, God, I worked there.
- 13:27That's awesome.
- 13:28Yeah.
- 13:28And I knew I was going to stay there, you know.
- 13:30Yeah.
- 13:31Yeah.
- 13:31Yeah.
- 13:31Really cool.
- 13:32This portion of Talk Python To Me is brought to you by Linode.
- 13:37Whether you're working on a personal project or managing your enterprise's infrastructure,
- 13:41Linode has the pricing, support, and scale that you need to take your project to the next
- 13:45level.
- 13:46With 11 data centers worldwide, including their newest data center in Sydney, Australia, enterprise
- 13:51grade hardware, S3 compatible storage, and the next generation network, Linode delivers the
- 13:57performance that you expect at a price that you don't.
- 14:00Get started on Linode today with a $20 credit and you get access to native SSD storage, a 40
- 14:06gigabit network, industry leading processors, their revamped cloud manager at cloud.linode.com,
- 14:12root access to your server, along with their newest API and a Python CLI.
- 14:17Just visit talkpython.fm/Linode when creating a new Linode account and you'll automatically
- 14:22get $20 credit for your next project.
- 14:24Oh, and one last thing.
- 14:26They're hiring.
- 14:26Go to linode.com slash careers to find out more.
- 14:29Let them know that we sent you.
- 14:31And then number two, you talked about going deep in Python after being in Java.
- 14:38And I think it's really interesting to learn a language that has all these nuances and patterns
- 14:43and it takes a while to master.
- 14:45I think Java does.
- 14:45And then you come to Python and it's a language that, you know, one of the jokes is, hey, I
- 14:50learned Python.
- 14:51It was a great weekend or something like that.
- 14:52And yet I've been doing Python for a long time, eight, 10 hours a day.
- 14:57I'm still learning Python.
- 14:58Right.
- 14:58So I think there's this really interesting distinction between I learned something and I learned it.
- 15:04You know what I mean?
- 15:04Like I really built something meaningful in it rather than, yeah, I know how to do loops
- 15:09really well now.
- 15:10Oh my God.
- 15:11And that's how it starts.
- 15:12I mean, the loops are okay.
- 15:13We're going to start with those.
- 15:14We're going to start with the basic constructs in our mind.
- 15:16But yes, absolutely.
- 15:17Like, like I tell people this, you know, only recently do I tell people, you know, you got
- 15:22the three levels, beginner, medium and expert.
- 15:25And I tell people, I say, I only recently became an expert in Python.
- 15:29It took me a while because to me to become an expert, you need to go deep.
- 15:32And so for me, and people still tell me today, Chris, your Python code looks like Java.
- 15:37Damn it.
- 15:38It's not PEP, you know, certified or PEPs or whatever the hell the PEP is.
- 15:42And we're sitting on black on a pre-commit hook for you.
- 15:45Well, you know, I use a lot of camel case still, you know, in naming stuff.
- 15:50You know, I don't use the underscore, you know, whatever.
- 15:52I say, shut up.
- 15:53It works.
- 15:54And, you know, and to be honest, so here's my trick though.
- 15:57And maybe you'll agree with me on this, Michael.
- 15:59This is true in any software development language.
- 16:01Even though I don't do this anymore, my PhD is in software engineering and software architecture.
- 16:04I studied software development.
- 16:06And so for me, I tell people, you've succeeded when you cannot just publish something to open source and say, oh, I did it.
- 16:16And it, but I built it.
- 16:17I'm still the only guy maintaining it or gal.
- 16:20And you've succeeded when not only you've put it out into open source, but you've convinced somebody else that it's worth their time to build on your library.
- 16:28Yeah.
- 16:29And to do something with it.
- 16:30And to me, you've only achieved that level of mastery when you've become master of the programming language as well.
- 16:35But also when some of that mastery is also knowing where to bend and break, how to configure, what sensible defaults are, and how to componentize something in a way that not everyone will love.
- 16:46But, you know, you can get at least a few people to love.
- 16:48And that's how you succeed.
- 16:49Yeah, I totally agree.
- 16:51And so much of, I built this thing the right way.
- 16:54Right way often is somebody's perception of, like, their context and their use case.
- 17:01Like, we built it the right way because we're Google and we have a million requests a second versus we built it the right way because we're a startup and we have 100 users, but we're growing.
- 17:10Those two things should not look the same, probably.
- 17:13You know what I mean?
- 17:14Absolutely.
- 17:15Best captured in the multidimensionality problem when you talk today about big data and they talk about the five Vs.
- 17:20And so for a long time, people thought big data just meant volume or velocity.
- 17:25Yeah.
- 17:25But the reality is, like what you just said, it's a perfect context.
- 17:28Like, hey, variety matters.
- 17:30Veracity matters.
- 17:31Value.
- 17:32Your value stream matters.
- 17:33And so that's the only thing.
- 17:35And at Apache, we used to have these huge debates.
- 17:38I became on the board of Apache.
- 17:39I was hung around for a while.
- 17:40They suckered me into doing it.
- 17:42And I did it for five years.
- 17:43And, you know, it was a great experience.
- 17:45But I used to sit there in these, like, discussions with, like, the big data companies who...
- 17:50Apache is a great place for them independently to kind of have a DMZ, build software together without wearing their company hat,
- 17:56and to achieve some general framework consensus that doesn't disrupt the value stream for people downstream who want to do stuff commercially.
- 18:03And I'm very supportive of Apache's mission and what they do.
- 18:06And a lot of open source foundations.
- 18:07I became friends with a lot of the founders of that during that time.
- 18:10And so the thing I used to sit, though, is, like, you'd get the LinkedIn people who made Kafka initially and donated it to Apache.
- 18:17And they'd have their way, like you said, it's like the Google way.
- 18:20It's like, well, this could only be good if you test it on a million computers.
- 18:24Or we're not going to accept this dude or gal's patch from, you know, this other country.
- 18:28Because, you know, they tested it on their laptop.
- 18:30And it doesn't pass our massive scalable test.
- 18:34But I'm like, yeah, but it adds a feature.
- 18:35Just do it in a branch.
- 18:37Isn't that what source card control is for?
- 18:39Get the person the value for contributing.
- 18:41Don't let it sit in a ticket system forever.
- 18:43Because then people go away.
- 18:44And your real goal is to capture everybody's interest and contribution in the moment that they're interested in.
- 18:51Either they've got the time and their free time, their company's paying them to do it.
- 18:55And time is the thing that you learn is really the last precious resource.
- 19:00And that's it.
- 19:02Time, we're never going to get that back.
- 19:04You can get a lot of other things back, but you're not going to get time back.
- 19:06And that's the key to open source.
- 19:08Yeah.
- 19:09Jason Fried from the Basecamp 37 Signals crew has a great saying that inspiration is perishable.
- 19:17Right?
- 19:17Like, if you're currently super excited to add this feature to that thing, but then maybe you work on it, then the PR just sits there and gets ignored.
- 19:25Like, you're done with that product.
- 19:26Like, you're now done.
- 19:27Right?
- 19:28But you could have really done a lot of interesting stuff if they captured that two-week period or whatever where you were on fire about it.
- 19:34Yeah.
- 19:34I've got a good story real quick that I'll share with you and your listeners.
- 19:37It's the Nutch Project.
- 19:38So Nutch was dead post-Hadoop.
- 19:41A lot of projects were dead post-Hadoop.
- 19:42And the reason for that was that basically, when Hadoop came, everyone...
- 19:47It was a new hotness and everyone wanted to go work on distributed systems.
- 19:50They were like, oh, this is what Google did, MapReduce, and now it's open source.
- 19:53Oh, boom.
- 19:54And they all went to that.
- 19:54And they all left us in Nutch.
- 19:56And I was one of the people holding the bag after that.
- 19:58And we had in our Jira and our whatever system...
- 20:03I can't even remember.
- 20:03I think we were still using ReviewBoard at the time.
- 20:06But we were using ReviewBoard and Jira.
- 20:08And we probably had 100 patches.
- 20:10And we had from people that were just sitting there.
- 20:12Some had been sitting for two or three years.
- 20:14And basically, because the interest and the community of committers left that could actually
- 20:18merge the patches, they just sat there.
- 20:20And so we had one gentleman, I won't say his name, but he had been contributing probably
- 20:2450 patches and still trying to get something in.
- 20:27And he was running a web crawler company in the UK.
- 20:30And finally, I was just like, you know what?
- 20:33Because we had these standards in Nutch that had been imposed on us by the Dougs and the
- 20:38whatever.
- 20:38Doug's an amazing guy.
- 20:39And I get it.
- 20:40I get why we're doing it.
- 20:41But what I did is...
- 20:43The guy reached out to me, the guy in the UK, and he's like, are you ever going to merge
- 20:46my patches?
- 20:46Because this is BS.
- 20:47And you're really making me hate open source.
- 20:50And so what I did is I said, you know what, guys?
- 20:52I know we have all these rules and blah, blah, blah.
- 20:54But none of you around, none of you are doing anything anymore.
- 20:56Here's what I'm going to do.
- 20:57And I just merge all of his patches and figure out how to do it and get it in there.
- 21:03Nutch is still alive today because of that.
- 21:05Because we got that guy interested.
- 21:08He pulled a couple of other people that he was working with in and is like, oh, God, the
- 21:12floodgates are open.
- 21:12We can develop again.
- 21:14And then I just let them take their...
- 21:16I haven't done anything in Nutch in years.
- 21:17But the project's alive today because of that.
- 21:19And so you've got to capture absolutely as a scarce resource, like you said, motivate.
- 21:24What was that RSA animate video about purpose, motivation?
- 21:29And that's such a great way to capture it, too.
- 21:31It's the same thing.
- 21:32Absolutely.
- 21:33So these days, you're over at JPL, and you have some really interesting things going on
- 21:39there.
- 21:39You're the first principal scientist in the area of data science.
- 21:43What's the story there?
- 21:44So JPL has this thing called the principal designation, which basically is somebody that's normally
- 21:49been there like 50 years.
- 21:50And so, you know, I'm just joking.
- 21:52No one kill me for that, please.
- 21:54But it's been there for a long time.
- 21:55And usually our principles are in...
- 21:57We've got the founder of hyperspectral there.
- 22:00Guy Rob Green.
- 22:01You could argue he's the founder of the field of hyperspectral science.
- 22:04We've got people who explore.
- 22:07You know, we had the guy who used to be the project scientist for the Square Kilometer Array.
- 22:10Huge billion dollar international project of ground-based sensing, looking at the cosmos and
- 22:15answering the tough question.
- 22:16That one has so much interesting stuff in terms of how much data it has.
- 22:20I had some of the folks on from Australia on there to talk about that.
- 22:23It's kind of my...
- 22:24Like, you can't put it in hard drives.
- 22:26It's so much data type of problem.
- 22:27So, yeah.
- 22:28Oh my God.
- 22:29700 terabits per second.
- 22:30I used to...
- 22:31In the 2010 to 2015 timeframe, or 2016 even, that's all anyone ever wanted to hear from me
- 22:36is that I had some peripheral involvement in that.
- 22:38And they're like, talk about that, you know?
- 22:40Yeah, yeah.
- 22:40But we've got the guy that was the project scientist founder of that at JPL.
- 22:44So, I mean, those are our principles usually.
- 22:46And so, yeah.
- 22:47So, in 2014, they gave me that title because they realized that in data science, a lot of
- 22:52the stuff, data science was becoming something that basically we were developing a maturity,
- 22:57a skill set, and a capability.
- 22:59And JPL actually needed to go triple down and quadruple down on that.
- 23:04And so, what it means, yeah, is that all the experiences they have, I talked to people
- 23:08like your great podcast, Michael, and others.
- 23:10I'd sit there and talk.
- 23:11I needed to talk and evangelize to that at JPL.
- 23:14And so, that was the recognition.
- 23:15I was an individual contributor still then.
- 23:18And I basically just would tell people, here's all the stuff with data science.
- 23:21It's science.
- 23:22It's math.
- 23:23It's...
- 23:24Around that time, I wrote a paper in Nature called A Vision for Data Science, too.
- 23:28And people like me don't normally get papers in Nature.
- 23:31Yeah.
- 23:32That was a big deal.
- 23:33And basically, I was thinking a lot about data science and how...
- 23:37You'll like this.
- 23:38I had this sort of dichotomy in education at the time.
- 23:41I'm a PhD computer science software engineering person who, after about a decade at JPL, learned
- 23:46hyperspectral remote sensing, why Western US water matters, cared about the cosmos and the
- 23:51SKA.
- 23:52And I even thought at times about getting master's degrees, but kids, mortgages and other things,
- 23:57other interests got in the way, which is important.
- 23:59But I was sitting there thinking, how many of me at JPL make it to me, time, being there
- 24:05for 10 years?
- 24:06And any software engineer that we hire five years at JPL before they learn the lingo, and
- 24:11it's really hard unless they only live in IT.
- 24:13Or what we were seeing at the time was an emergence of PhD atmospheric scientists or PhD
- 24:18computational biologists or whatever who learned Python, believe it or not, could write code,
- 24:23understood what logistic regression was, and whatever.
- 24:26And we had this emerging class of them as data scientists.
- 24:29They wanted to share their code.
- 24:30They wanted to work with the software engineers.
- 24:34As opposed to really, and this is going to sound ageist in a way, but it really isn't.
- 24:38But as opposed to sort of the generation before who didn't want to share their data, they wanted
- 24:42nine-month publication moratoriums.
- 24:44To them, they wanted to file a patent instead of making open source code and things like that.
- 24:49And there's still the evolution of those folks into the new generation today.
- 24:54But I was looking at that sort of, I'll call supply chain in the education community for
- 24:58data science.
- 24:59And I was asking myself, what's better?
- 25:01Is it the Python person, highly skilled in deep discipline domain, that their software
- 25:07engineering code isn't that great?
- 25:08But if we pair them with a master's or PhD level software engineer, they could clean that
- 25:12up.
- 25:13And then over time, they'll learn it.
- 25:14Because like you said, everyone starts out with Python, but it doesn't mean anyone's going
- 25:18to contribute to their code.
- 25:19You know?
- 25:19And so I was actually seeing more on the PhD atmospheric science side of people in Python
- 25:24being more useful in data science.
- 25:26And so that's really one of the questions I was asking in that nature paper.
- 25:29And one of the things that I still don't have an answer to today, but we've seen different,
- 25:34I'd say, momentums.
- 25:35And it's not just at JPL, in how we source the talent.
- 25:38And the same is true today with AI, AI engineers and things like that.
- 25:42Yeah.
- 25:42Well, I think one of the really interesting questions is, do we need more software developers
- 25:46or do we need more experts with software development capabilities, right?
- 25:51You hear the politicians and policymakers go on and on, like, we need to teach coding because
- 25:57we have all these coding skill gaps and whatnot.
- 25:59And I think often at that level, it kind of gets portrayed as, so what we need is more computer
- 26:04science graduates, right?
- 26:06But my theory is what we need is amazing biologists, physicists, doctors, lawyers who can take whatever
- 26:15they do and really amplify it with a little bit of code.
- 26:18And I think that's why Python is so powerful is Python is one of these special languages where
- 26:23you can be effective with a very partial understanding of even what it is or what it does.
- 26:27You don't even have to know how to create a function and you could be useful in Python.
- 26:32A hundred percent.
- 26:32A hundred percent agree.
- 26:33That was the conclusion of my nature paper at the time.
- 26:35And I'm trying to be diplomatic, but let me say something controversial maybe to generate
- 26:39clicks.
- 26:39Yeah.
- 26:41I completely agree with you.
- 26:42And it's heresy in my community where I originally come from, but I don't read transactions on
- 26:47software engineering anymore.
- 26:48I'm sorry.
- 26:48I don't only stay in the software engineering community and computer science.
- 26:52And so for me, I've noticed the same.
- 26:53My direct experience in both building big software projects for big, big national and international
- 26:59things and sourcing over hundreds of people at JPL and in consulting roles and other things,
- 27:04I've come to the same conclusion.
- 27:05I completely agree with you.
- 27:06Yeah.
- 27:07Yeah.
- 27:07And that's not to discount computer science degrees.
- 27:09I think it's, there's a real important role for good software developers with all the
- 27:15practices in place there.
- 27:17But I don't think we need 10 times of those.
- 27:20I think the value would be better if we brought everyone sort of into that camp rather than growing
- 27:25that in that isolated camp.
- 27:27So, yeah.
- 27:27Totally.
- 27:28And you can relate it back to the Twitter hashtag campaign, the learn to code and why it generated
- 27:32so many, I think, hate on both sides of the political aisle with that.
- 27:36One of the challenges with that, let's talk about this.
- 27:39We're going to have a big, there's going to be a big AI skill gap.
- 27:42And people ask me about this all the time related to AI ethics and other things.
- 27:47So anyways, for your listeners, after all the software development and Java and big data and
- 27:51whatever stuff.
- 27:51Now, I'm just a guy that keeps reinventing myself.
- 27:53I got into AI and ML.
- 27:55Last five years, I've been doing that pretty much a lot.
- 27:59And so, yeah.
- 28:00So I'm going to make a bold statement that's been said before.
- 28:03So I've got air cover.
- 28:04In the next year or two, a million truckers are going to be displaced because really smart
- 28:08cars are here and smart trucks are here and they will drive.
- 28:11And especially the pandemic is accelerating some of these things.
- 28:14And so as that happens, the learn to code like, oh, we're going to take all the truckers
- 28:18and make them software engineers.
- 28:19I think I've developed a happy medium between that and what you and I just said.
- 28:23We're not going to make them software engineers.
- 28:25Let's glean SME knowledge from them.
- 28:27They understand the business.
- 28:28They understand the value stream.
- 28:30Pair them with, say, domain discipline, non-computer scientists, but say people that want to model
- 28:36the weather aspects of that, the computer vision aspects of that, the supply chain aspects of
- 28:41that, that have that plus some Python code.
- 28:43And I think those truckers still have jobs.
- 28:45Yeah.
- 28:45If you tell the truckers that the Chasm is becoming a Java or hardcore Python developer,
- 28:51the Chasm is too big.
- 28:52But if you tell them your job is to sit here, click on this tool, we'll capture your domain
- 28:58knowledge and labels, and you're going to interact with really high power.
- 29:01We could do that.
- 29:02You know?
- 29:02For sure.
- 29:03Well, I think also the difference is, do you tell them your past 15 years of experience has
- 29:09no value, go back to zero and learn programming and then go work for a marketing company versus
- 29:15we're going to take what you're already really good at, what you actually have a ton of experience
- 29:19and are uniquely qualified for.
- 29:21And we're going to teach you a little code to change.
- 29:23You're going to build the robots instead of, you know, be replaced by a robot.
- 29:27That's exactly right.
- 29:28So that's the win on all sides.
- 29:30And that's the way it's going to move forward.
- 29:31And I see some progress on that besides the initial, you know, everyone thinks Twitter is
- 29:36real life or, you know, everything you read on the news is real life, you know, until you
- 29:40live real life and you talk with people.
- 29:41And so anyways, I've seen the people that are making progress in that area doing what you
- 29:45just said.
- 29:46I think that's really great.
- 29:47And just for people who maybe are not aware, like you pulled out this trucker thing, like
- 29:52that's a, maybe an odd example.
- 29:53Truck driver is the biggest single job category for men in the United States, probably many
- 30:00places in the world, but I only know the data for the United States, right?
- 30:03That's, that's significant.
- 30:04Absolutely.
- 30:05And it's a big industry.
- 30:06Actually truck drivers, you know, some people look at this, they learn about, say, you know,
- 30:10law enforcement or, you know, and this, I mean, especially in the latest news and all
- 30:14this, you know, this is a big deal and everything is like, Oh God, I didn't know.
- 30:17You know, law enforcement made X, Y, Z money, or, you know, they think of it as sort of unskilled
- 30:21labor or things like that.
- 30:22A lot of folks, but they actually are well compensated for what they do.
- 30:26And actually truck drivers, besides being that statistic, like, like you said, I learned something
- 30:30new every day.
- 30:31One thing I do know related to that is that they are also well remunerated for their services
- 30:36and things like that.
- 30:36And so the challenge, the other economical challenge is to say, Hey, truck driver, like you said, your
- 30:4115 years of skills are gone.
- 30:42And Oh, by the way, the maturity that you developed in those skills to achieve that salary,
- 30:47you know, and things like that is also gone.
- 30:48That's a bad lose on all sides.
- 30:51Yeah, it absolutely is.
- 30:52But I do think there's more positive fast forward.
- 30:54So hopefully we can go that path.
- 30:59This portion of Talk Python To Me is sponsored by Monday.com.
- 31:02Monday.com is an online platform that powers over 100,000 teams daily work.
- 31:07It's an easy to use, flexible and visual teamwork platform beautifully designed to manage any team,
- 31:13organization or online process.
- 31:15Now, for most of us, we missed our chance to build the first apps ever in the mobile app
- 31:20stores.
- 31:20It was a once in a lifetime opportunity.
- 31:22It was a once in a lifetime opportunity, but it's one that's coming around again.
- 31:25Monday.com is launching their marketplace and running a contest for the best new apps featured
- 31:30right from the get go.
- 31:31Want to be one of the first in the Monday.com apps marketplace?
- 31:35Start building today.
- 31:36They're even giving away $184,000 in prizes, including three Teslas, 10 MacBooks and more.
- 31:43Build your idea for an app and get in front of hundreds of thousands of users on day one.
- 31:47Start building today by visiting Monday.com slash Python, or just click the link in your podcast
- 31:53player's show notes.
- 31:54So let's talk about Python at JPL.
- 31:59I think there's some interesting angles, especially around some of the remote stuff.
- 32:04A lot of things you guys do work with like rovers.
- 32:07You talked about spirit.
- 32:09Just to have a conversation with those things is like it.
- 32:13We complain about latency, you know, like that website was slow or I was playing this game
- 32:17and it was hard because there was 200 milliseconds of latency.
- 32:19There's different kinds of latency out in space, right?
- 32:22When the speed of light is not enough.
- 32:23So taking some of the smarts and putting it on like rovers and other stuff, some of this
- 32:28AI work that you're doing, it sounds like it might have some legs.
- 32:32Hey, I hope so.
- 32:33And we think it does too.
- 32:34So Michael, basically the work that we're doing for your listeners, we have a project
- 32:38that we've been investigating now.
- 32:39So let's fast forward the clock.
- 32:40So rovers nowadays, the last one that landed on the planet, I won't say that we shipped
- 32:44because we just shipped one, which we'll talk about called...
- 32:47Right.
- 32:47Just a couple of weeks ago or something, right?
- 32:48We did.
- 32:49Pandemic shipping and launching of rockets and rovers.
- 32:52It's the new fad.
- 32:53But yes, for pre that, pre-pandemic in 2012, we shipped the Mars Science Laboratory or the
- 33:00Curiosity rover.
- 33:00And that one is about...
- 33:03So Spirit and Opportunity, just the size them for your listeners.
- 33:06It's about the size, like if you have kids of one of those cars that you push, maybe, or
- 33:11something like that, or maybe like a power wheel, big wheel type of thing.
- 33:13That's the size of Spirit and Opportunity.
- 33:15The MSL rover is about the size of a small car, like a Volkswagen bug.
- 33:21And if you came to JPL and it was open and love to have you someday and things like that,
- 33:25you could walk into our building 180 and see a full scale model of it to really get the feel
- 33:29of it.
- 33:29But that's the size rover that we're talking about now.
- 33:32That's sort of the modern class of them.
- 33:34And so 2020 is the Perseverance, the one we just launched.
- 33:37It's the same size.
- 33:38So we've got MSL still operating.
- 33:40Spirit and Opportunity aren't anymore because they were solar powered.
- 33:44MSL is powered basically by nuclear fission, uses an RTG power source and things like that.
- 33:51So it doesn't have to worry about solar panels.
- 33:53So it can go for quite a while and has been.
- 33:55So it's a great test.
- 33:56Basically, as long as it mechanically is still functioning, right?
- 34:00Absolutely.
- 34:00And so challenges with mechanical functioning are like, hey, we learned a lot about the
- 34:04wheels from like a car size thing as we drove over walks and it tore the wheels up, you know,
- 34:10and things.
- 34:10And so we did.
- 34:11We learned a lot about them.
- 34:12If you look at one quick update in 2020 is that the wheels have little Homer Simpson speed
- 34:17holes or not speed holes, but holes to prevent having just track and tread that dies by catching
- 34:23on everything.
- 34:23And that's just one thing we learned amongst other things.
- 34:26We got smart engineers at JPL.
- 34:27But MSL is a great platform to test stuff out on.
- 34:30However, let's talk about AI and ML.
- 34:32I'm going to dispel some myths and rumors.
- 34:35So MSL and space assets and others, they all need, right?
- 34:39We got to do computing.
- 34:41We need a processor and a board and things like that.
- 34:43They are running off of an old.
- 34:46What is it?
- 34:46The latest GPU?
- 34:47Probably like a NVIDIA, like 2080.
- 34:51Something like that.
- 34:52Yeah.
- 34:52Everybody thinks that.
- 34:53And I know you're being facetious.
- 34:55And that's why I like the snark.
- 34:57It's awesome.
- 34:57But yes, no.
- 34:58And that's the challenge.
- 34:59Everybody thinks that.
- 35:00And it's not.
- 35:01It's running off of a RAD 750, which is a BAA chip that's about as powerful as a PowerPC
- 35:06chip and iPhone 1 processor.
- 35:08And so, and why?
- 35:09Real quick, why?
- 35:10Right.
- 35:11When we crash something in the government, we've got a congressional inquiry that we
- 35:15have to respond to.
- 35:16And when this commercial companies do it, and we love the commercial companies, we're partnering
- 35:20with them now, they don't, right?
- 35:21They can, I mean, not to say that it doesn't ruin their value stream or their reputation or
- 35:25things like that, but they've got a little bit more flexibility to do testing and stuff
- 35:29like that than we do.
- 35:30And so we are risk averse by profile and definition.
- 35:33And so because of that, we will only use things that are what we call radiation hardened.
- 35:37Yeah.
- 35:38Which means that when it gets up there into space, a space does in cosmic radiation, do
- 35:42weird things to your hardware.
- 35:43They flip the bits amongst, that's like the easy stuff they do.
- 35:46They do a lot of other nasty stuff.
- 35:47And so you got to make sure that the hardware works in space.
- 35:50And so because of that, the technology, the Gartner lifecycle for what we could use, you
- 35:54know, for that is real behind.
- 35:56And so this big smart, I mean, this big potentially smart, you know, and it is smart.
- 36:01They did great things on MSL and they're going to do even greater in 2020 is running off
- 36:05of an old processor.
- 36:06So all of the AI and ML is human in the loop, even more so.
- 36:10Coupled with the fact that you alluded to.
- 36:12Hey, you know, bandwidth, latency, you think that's an issue?
- 36:15The light time from Earth to Mars is eight minutes round trip.
- 36:18So anything you send to Mars, you got to wait eight minutes to figure out what the heck happened
- 36:23or even what happened for your report back.
- 36:25And you know, that's not, it doesn't all have to be synchronous.
- 36:28There are asynchronous ways.
- 36:29There are ways to kind of achieve some advantages and cue things up, but it's still, it's eight
- 36:33minutes basically.
- 36:34And so because of that, there's a great video on YouTube, by the way, for your listeners,
- 36:38if you haven't seen it, it's called the seven minutes of terror.
- 36:41It's really kind of closer to eight.
- 36:42Yeah.
- 36:42Yeah.
- 36:43That's a great one.
- 36:44Yeah.
- 36:44Yeah.
- 36:44That's for the entry, descent and landing.
- 36:46When they landed MSL Curiosity, they had to use a big sky crane instead of the typical
- 36:51big balloon, wrap the rover in a balloon and let it bounce, which was the way they did it
- 36:54before.
- 36:54It was so big.
- 36:55They had to have this elaborate sky crane thing.
- 36:57And in that seven minutes, when you go into entry, descent and landing, there are seven minutes
- 37:02before you knew, Hey, what the heck happened?
- 37:04And all this stuff had to happen, you know, autonomously and things like that, which is great.
- 37:08But yeah, normally eight minutes.
- 37:10And so if I told you today that the Mars surface operations people use about 200 images a day
- 37:17that are taken from the rover from its nav cams, which are cams by the wheels and its mass
- 37:21cam, which is the big head that takes selfies, you know, and other things that you see with
- 37:24its arm.
- 37:25If I told you that today they only use 200 images to plan what to do for rover operations the
- 37:31next day, you'd understand why we're bandwidth limited.
- 37:34We're limited on what we can process on the rover versus sucking them down to the ground and
- 37:38making decisions.
- 37:39What if I told you tomorrow, we'll get close to that Nvidia chip?
- 37:43Maybe not exactly.
- 37:44But there's efforts called high performance spaceflight computing to build a multi core
- 37:48GPU like chip that is radiation hardened.
- 37:50It's a big government project that has an emulator already and that they're making.
- 37:54And that we also today have Mars helicopter on perseverance, which is a little drone that
- 37:59went along with it that if successful, is running a Qualcomm Snapdragon, which is a GPU like
- 38:05chip.
- 38:05And why are we it's not fully radiation hardened and all this it does.
- 38:09We've tested in whatever, but it's not like has the years and years of testing.
- 38:12Why are we doing that?
- 38:14Because it's a technology demonstration and we have a bigger like the mission is still successful,
- 38:18even if Mars heli, you know, is not successful with that, which we call ingenuity.
- 38:24Right.
- 38:24And I suspect that the risk to a little drone helicopter thing, the highest risk is not
- 38:30the hardware getting messed up from radiation.
- 38:32It's like it got caught in the wind and it just crashed.
- 38:34And well, that was nice, but it's upside down.
- 38:36So there it goes.
- 38:37Or there's just so many risks.
- 38:38It's probably just considered mostly expendable.
- 38:40Let's try this.
- 38:41It's small and it'll be cool.
- 38:42Exactly, dude.
- 38:43And all the dads in the world just knew what we were talking about from their drones.
- 38:46They were given a couple of Christmases ago.
- 38:48But yes, like your drone is going to flip upside down.
- 38:50It's going to do, you know, all the nasty stuff that you don't think about because driving
- 38:54a drone is hard.
- 38:54But apparently, you know, JPL is pretty good at all this stuff.
- 38:57So we have a really good feeling this will be successful.
- 38:59But yes, so those will have GPUs ish and we can do some stuff.
- 39:03So a couple of things that your listeners and you might care about that we're doing.
- 39:06So we have a task to do killer apps given the new GPU environment for future rovers.
- 39:11One of them we call Drive-by Science.
- 39:13We take Google's show and tell TensorFlow image captioning model, which I don't mean to just
- 39:18jump into tech speak, but basically uses a labeler for object labeling, which is a head
- 39:23that we call, you know, it could be ResNet 50.
- 39:26It could be VGG 16, which is given an image, what objects are in it.
- 39:30And then it uses...
- 39:31That's a rock, that's sand, that's a ledge, that kind of stuff, right?
- 39:35Bingo.
- 39:36Don't go over the ledge, by the way.
- 39:37That's the second part, which is the language model, which we use an RNN or an LSTM, a recurrent
- 39:45neural network or a long short-term memory network to basically learn the language surrounding
- 39:51those labels.
- 39:51Ah, this rock is close.
- 39:53Bedrock is far away.
- 39:54This planar surface is, you know, there are three objects in this planar surface and things
- 40:00like that.
- 40:01And those are all language properties that an LSTM and an RNN, when you hook it to basically
- 40:05an object detection network or a CNN, a convolutional neural network.
- 40:09Basically, given an image, I can emit a human language sentence about it.
- 40:14Now, what...
- 40:14Or a caption about it.
- 40:16Now, what's the value of that?
- 40:17The value of that is that text is cheap.
- 40:20It's a lot smaller than images.
- 40:22And so instead of 200 images today on that very, very, very thin pipe, I can send you
- 40:26a million captions if I can run the image captioning model on the rover.
- 40:30If I can run it on a GPU or if I can run it on a heli and things like that drone asset.
- 40:36So that's drive-by science.
- 40:38That's make the rover not miss science when it's driving and we got to wait, you know,
- 40:42those eight minutes.
- 40:42Yeah.
- 40:43And so that's very helpful tomorrow for people.
- 40:46The other is also another image recognition problem.
- 40:48It's called energy-aware optimal auto navigation.
- 40:51You know, say that five times fast.
- 40:53But the idea is that when the rover's motor, hey, even though it's RTG and things like that,
- 40:58we still want to be...
- 40:59It's got to sleep for a while and recharge, you know, and stuff.
- 41:02And so we want to be efficient with its time.
- 41:04And so when we do that, we want to know if in the distance, we're going to drive over sand
- 41:08or we're going to drive over rocks.
- 41:10Because if it's sand, just like your car, it's going to have to expend more energy from
- 41:13the motor than it is if it's going to be rocks and the wheels are going to catch better.
- 41:17And so we do image recognition with that using a similar network.
- 41:21And then we develop a motor power profile from that based on what we're seeing.
- 41:25Yeah.
- 41:26So that...
- 41:26Yeah.
- 41:26Because if you say, I want to go inspect that canyon, go there.
- 41:30It would be great if you could get there twice as fast.
- 41:33That's exactly right.
- 41:34And so today we've got car-sized rovers because that's what we got 50 million instruments.
- 41:38I don't have 50, but we have 20 instruments or so.
- 41:40It's a big laboratory that we want to do experiments on, you know, and stuff.
- 41:44In the future, with Mars sample return and other profiles and missions, which I'll talk about,
- 41:49MSR, that has something called the Fetch Rover.
- 41:52What 2020, the current Perseverance Rover, is going to do as it's drilling cores and analyzing
- 41:58stuff, it's going to drop tubes on Mars that a future mission, MSR, Mars sample return that
- 42:04has the Fetch Rover, which is a much smaller rover that's going to have to drive way, way
- 42:08farther if successful.
- 42:10And now this is a collaboration.
- 42:11So it'll go around and pick up these tubes and then return them to us.
- 42:14Bingo.
- 42:15And it's going to take the tubes.
- 42:16It's going to take them to a spot, drop the tubes off, launch the tubes up into space to
- 42:21an asset, and then take that asset back, you know, on the journey back to Earth and get
- 42:25us samples from Mars.
- 42:26It's an amazing mission.
- 42:27Yeah.
- 42:28We have a lot of the technology we didn't have 10 years ago when they envisioned this.
- 42:31It will be successful.
- 42:33And I'm going to go out there on a limb.
- 42:34And so, but yes, those rovers, those rovers like the Fetch Rover, they need energy aware
- 42:40optimal auto navigation.
- 42:41They're going to need it.
- 42:42It's going to be a much smaller rover, possibly RC car, not maybe that small, but maybe like
- 42:46a bigger RC car type of thing.
- 42:48It's going to be, or maybe two of them, it's that size rover.
- 42:50It can drive much farther.
- 42:52And so energy where optimal auto navigation is real big.
- 42:55And so is drive by science, even though it's not going to have all the instruments on it,
- 42:58visual, optical, things like that.
- 43:01All the deep learning models that are built terrestrially today, we can leverage those.
- 43:05So that's really cool.
- 43:06The nuclear power versus solar power seems like something that's almost required.
- 43:11If you're going to burn that much energy running high end GPUs ish, as you put them, right?
- 43:18You don't want to burn up all your solar energy for the day, trying to figure out where you
- 43:22should drive.
- 43:22Yep, absolutely.
- 43:23And so they estimate that.
- 43:25So the trade on that is going to be how they pack that energy profile in there.
- 43:29But there's a lot of smart, again, with all the advancements that are happening in
- 43:32the smart car and other industry and things like this for how to do power in an efficient
- 43:38way and different cell technologies and stuff like that.
- 43:41We're not.
- 43:41That tech is here today, which is good because we're in phase B of that, which is there's
- 43:48an A, B, C, D, E, E's, you're operating the mission, A's pre-phase A and planning.
- 43:52We're already in B.
- 43:53We're partnering with the Europeans.
- 43:55They're now building the rover on MSR.
- 43:57We're working together.
- 43:59And so, yeah, we're going to need all that.
- 44:01Yeah.
- 44:01Well, that sounds like a really cool project.
- 44:03Do you see Python running on Mars potentially?
- 44:05Or would this be like something lower level?
- 44:07I think Python could run on Mars.
- 44:09They told me 10 years ago, Java could never run on Earth to power a ground data system.
- 44:13And we figured it out.
- 44:15It did.
- 44:16Yeah, it did.
- 44:16Python will run on Mars.
- 44:18So I guarantee you, so Python today, if we take the emulator stuff that we're doing and
- 44:23also the stuff we're doing on the Qualcomm Snapdragon, Python is running in those environments
- 44:27because we're using TensorFlow Lite.
- 44:29The hardest part is the magic too is like, oh, we got all this deep learning, you know,
- 44:33bring it into this embedded processor and then everything breaks, right?
- 44:36Your model, you got to quantize the weights, you know, like you don't have the same floating
- 44:40point units.
- 44:41Wow.
- 44:42What a pain.
- 44:42And you know, Google knows this and they're making a lot of investments to make this easier
- 44:46with the ecosystem.
- 44:46So is Facebook and PyTorch.
- 44:48All the places are NVIDIA.
- 44:50They're figuring out they need to make that ecosystem process a lot easier for deployment
- 44:56because everyone's just assumed capacious everything and infinite everything.
- 44:59And that's fine.
- 45:00That's where the value stream for these products came from.
- 45:03Especially when they come from the cloud where it's just scales up and you know, we'll just
- 45:07throw machines at it.
- 45:08That's right.
- 45:09And so yeah, that's the biggest challenge right now is, but yes, today Python is running
- 45:13on HPSC emulator with TensorFlow Lite.
- 45:15We've got it working.
- 45:16We're running these models.
- 45:17Basically, instead of using ResNet head and stuff like that, we're using like mini versions,
- 45:22like mini models of that, like tiny ResNet and other things that have quantized, you know,
- 45:27weights.
- 45:27You trade accuracy.
- 45:28But the real thing that this is driving, and this is a big research area I'm in right
- 45:32now is what's the least amount of labeled data, how quantized weights and things like that
- 45:37to still achieve?
- 45:38And what are the limits of learning?
- 45:39What accuracy do you need that you can trade that you can give some up on for that and still
- 45:44achieve the results you're looking at?
- 45:45You'd be surprised at some of the results.
- 45:46Like you don't need these insane accuracies like you're better than human results.
- 45:51You just need really good results and things like that.
- 45:54Yeah, especially with what you're trying to accomplish.
- 45:56It doesn't have to be completely accurate.
- 45:59If it can just do better, it's a win.
- 46:01That's right.
- 46:02Talk Python To Me is partially supported by our training courses.
- 46:07How does your team keep their Python skills sharp?
- 46:10How do you make sure new hires get started fast and learn the Pythonic way?
- 46:14If the answer is a series of boring videos that don't inspire or a subscription service you
- 46:20pay way too much for and use way too little, listen up.
- 46:24At Talk Python Training, we have enterprise tiers for all of our courses.
- 46:27Get just the one course you need for your team with full reporting and monitoring.
- 46:32Or ditch that unused subscription for our course bundles, which include all the courses and
- 46:36you pay about the same price as a subscription once.
- 46:39For details, visit training. talkpython.fm/business or just email sales at talkpython.fm.
- 46:49Let me ask you just really quickly about what else you see Python doing in JPL that you think
- 46:54is interesting you want to share.
- 46:55And then I'd like to talk just like a couple of the other things that you were involved
- 46:58in that I think were interesting.
- 47:00So I think Python has real deep depth in data science at JPL.
- 47:05Jupyter is now, you know, Jupyter notebooks is the lingua franca of the way that we share
- 47:10data science with people.
- 47:11I've got in my division.
- 47:12So I lead the department now.
- 47:13So I'm even, they took away all my keys to tech and I'm not supposed to do anything.
- 47:17That's why I do these interviews with you and still do open source so I can do some tech,
- 47:20you know, and be involved.
- 47:22But my people that are doing the tech now, again, like when they show me something, they
- 47:26show our stakeholders, something, business people, things, they jump into Jupyter.
- 47:30And that used to be...
- 47:31It's not like a PowerPoint picture of what they drew and then they could talk about the
- 47:35code, but like here is the live thing, right?
- 47:37They did.
- 47:38Here's the live thing and they show it.
- 47:40You know, we have demonstrations to partners and various industries and things.
- 47:44We've got the space demonstrations and they're jumping straight into that.
- 47:47They're showing these amazing visualizations, tabular statistics, and they've got the data
- 47:51story.
- 47:52And so one thing I tell all the people is you got to become visual storytellers nowadays.
- 47:56You got to be able to communicate.
- 47:57And Jupyter is perfect for that.
- 47:59Pandas, the whole ecosystem, MapPlotlib even, but also Plotly and how you can embed like Bokeh
- 48:05and some of these things.
- 48:06Anyways, all that ecosystem for communicating data science is big.
- 48:10And then there's such connection between Python to the cloud community and whatever too.
- 48:14The funny joke back in the Peter Wang and Travis and I days and Andy Terrell was,
- 48:18you still need us Java people because all your Python does are their thing clients to
- 48:22our Java server.
- 48:23Yeah.
- 48:23That's not totally true today.
- 48:26It hasn't been sort of fully supplanted.
- 48:28I would say there are still some cases where that's still true, but Python has come a long
- 48:32way in its ability to support big processing natively in Python.
- 48:35And especially if you're doing deep learning, but even for more practical workloads and non-GPU
- 48:41workloads and stuff, Python's come a long way.
- 48:43And so there's still very, very deep, I would say, infection of Python into JPL, not just in
- 48:48the specialized domains and disciplines, engineering and science, but we see it in IT.
- 48:52That's where I live now in IT.
- 48:54I used to be the deputy CTO, but now I'm division manager for AI and I report to the CIO and manage
- 49:00these people.
- 49:00But it's now infected Python into business.
- 49:03It's infected into even some of our programmatic directorates.
- 49:07Like you said, you got the managers, the solar system exploration managers that will jump into
- 49:12a Jupyter notebook to show you something.
- 49:14Right.
- 49:15And so that's really told me that it's become really material.
- 49:19You know, and again, we're not having the Python as good battles anymore.
- 49:22And that's why I also believe Python will make it onto the rovers and into space, because at
- 49:27that level, if it's sort of infected into that domain, all areas of your business, it really
- 49:31is there.
- 49:32And so I'm sorry, Java community.
- 49:33I love you.
- 49:34I still do stuff with Tika every now and then, but it's been a while, but I do Python now.
- 49:39You know, I had this really weird experience long ago when I learned Python and I'd come
- 49:46from C#, which is C++ and then C# and then Python with JavaScript sprinkled in.
- 49:51And I think C# is a pretty good equivalent to Java in terms of like how the language looks
- 49:56and works.
- 49:57Thought starting a battle between those two things, right?
- 49:59But I think like just compared to Python, like those are sort of coming from the same space.
- 50:03When I went to Python, it was really weird to me that white space mattered, that there wasn't
- 50:08like a curly brace type thing.
- 50:09Like I didn't miss the semicolon.
- 50:10That was fine.
- 50:11Like an if statement didn't have parentheses around the condition.
- 50:14Like, gosh, that is weird.
- 50:16That is like almost every language I've worked with from scheme to C++ to C to they all, they
- 50:24just, to me, that's what language meant, you know?
- 50:28And like, it was my paradigm was this must be part of the programming languages, all these
- 50:32sort of structural symbols, because everyone I worked with that was a real language was like
- 50:37that.
- 50:37And so I came to Python and it took a week or so to get comfortable.
- 50:41And then I was like, I'm kind of okay with this now.
- 50:44It's fine.
- 50:44Like the editors are super smart.
- 50:45So they kind of like build the structure for me anyway.
- 50:48I hit colon and enter.
- 50:49It'll auto indent.
- 50:49This is great.
- 50:50And then I went back and I thought it would be fine to work on some project that I'm still
- 50:54working on.
- 50:54And I'm like, why are these symbols here?
- 50:57I used to think they had to be here.
- 50:58Now I'm typing all this junk.
- 51:00And literally, it's not necessary.
- 51:01Like, it's literally not necessary.
- 51:03Why am I doing this?
- 51:04Right?
- 51:04Like you could have the if statements without the parentheses just as well.
- 51:07There's just so many things.
- 51:09And I really like you talk about like, I don't do that much Java anymore.
- 51:13And there's just like this comfortableness to work in this space.
- 51:16It was unexpected to me, I guess.
- 51:18100% same thing.
- 51:19And the real evangelist for me, I want to give credit to him, was a guy named Sean Kelly,
- 51:23who was a member of the Plone Foundation board.
- 51:25And Sean actually has been a contractor engineer for us at JPL for a long time.
- 51:29For your listeners, JPL had Larry Wall, the inventor of Pearl.
- 51:33Actually, he was in my old section.
- 51:34And when I was there at the time, but I was young and I didn't know him.
- 51:37So for those of you.
- 51:38But we had Sean Kelly, who was one of the founders of Plone, which largely, I'd say,
- 51:43Plone is still developed, but other CMSs have come.
- 51:46But Plone was like the thing.
- 51:47It became a foundation for a while.
- 51:48And Sean was heavily involved in Python and PSF and stuff like that.
- 51:52And so his thing for me was, Chris, you got to get on this.
- 51:55He had been telling me for years, you got to get on the Python drug and the same thing.
- 51:58So I get on it.
- 51:59And he's like, you won't miss all the stuff you just said, Michael.
- 52:02You don't miss somebody calling you out.
- 52:04So then I'm still co-developing a lot in Java and Python at the beginning.
- 52:07And I'm going back and forth.
- 52:09And I'm just like, oh my god, it is so bloated.
- 52:12I can't stand this anymore.
- 52:14Like, oh, you know, this is a waste for stupid curly braces.
- 52:17And this is just a waste.
- 52:19And then also, one thing that Python does is it almost makes you think more executive-like
- 52:24in a way I think about that.
- 52:25It's bullets.
- 52:26The reason that tabs are there is it's like bullets.
- 52:28It's indent this.
- 52:29It organizes your thoughts in just a more natural way.
- 52:32Whereas the structure in Java and other more verbose languages is imposed through you having
- 52:38to sort of renumerate it.
- 52:39But this is life.
- 52:40I mean, over the years, what we have in an IDE now didn't exist before.
- 52:44And actually, the way I learned to program, and maybe you, and I still think this is a
- 52:47valuable skill, is I still go into VI, instrument the code.
- 52:50I don't even use debuggers because they really sucked back in the day when I learned.
- 52:54I mean, GDB was there and other things, but the debuggers weren't that great.
- 52:58And so I still, guess what, people?
- 53:00Instrumentation in any language and printing stuff out and values of your variables works
- 53:04independent of any debugger.
- 53:05And so people look at me nowadays, too, and they're just like, oh, God, you still do that?
- 53:10I'm like, yeah.
- 53:10And it works.
- 53:11And I still managed to be hyper-efficient.
- 53:12So some of these basic constructs, but again, the tooling, the IDEs, and all of that, they
- 53:17eventually supplanted.
- 53:18I think Python is a natural evolution of language.
- 53:21Everyone tells me Julia is the next thing.
- 53:23Actually, my PL people at JPL, my programming language wonks, who are just amazing.
- 53:27Some of the best people in the world are like, oh, Julia, Julia, Julia.
- 53:29And I'm like, it's great.
- 53:30It came out of the DARPA X data program.
- 53:32I was a part of that.
- 53:33I know all the people at MIT that made it.
- 53:35It's fantastic.
- 53:36It's growing.
- 53:37It is not Python.
- 53:38Python has now become, it's not just scientific cool, it's enterprise.
- 53:41And Python is that, I really think it's supplanted Java in many ways.
- 53:45And Julia may be the next thing, but by then, I don't plan to be programming.
- 53:49Sorry.
- 53:50You know, I-
- 53:52Maybe sitting on a beach somewhere, huh?
- 53:53Sitting on a beach.
- 53:54That's the goal.
- 53:55Perfect.
- 53:56All right.
- 53:57Two other things I want to talk about.
- 53:58We're getting short on time here, but just really quickly tell us about a couple of years
- 54:02ago, I read this book called The Panama Papers, and it was rocking the world.
- 54:07There are so many people who had been doing shady things through offshore companies and
- 54:12whatnot.
- 54:13And there was, I guess, someone on the inside that dumped gigs and gigs of data that exposed
- 54:19a bunch of folks.
- 54:20I don't remember the details well enough to go into them, but it was a big deal.
- 54:23And some of your projects were involved in sort of the discovery of that, right?
- 54:29Tell us about that.
- 54:30Yes.
- 54:30So the key was Tika.
- 54:32And that was a really interesting time.
- 54:34We were right in the middle of the DARPA Memex program, which was to build the next generation
- 54:39of search.
- 54:39And by then, I was mostly exclusively in technology development.
- 54:42It was pre-IT.
- 54:43I hadn't moved into IT yet.
- 54:44And I was finishing out my career, really, in engineering and science and leading a team
- 54:48of real rock stars, the best in the world.
- 54:50Some of them who are building and have built Siri out at Apple in their future things right
- 54:55now.
- 54:55Some of them who have been bought by Apple for huge company values, talent buys, people
- 55:00really that just went in and changed the world in search.
- 55:02Every time I worked with these DARPA programs, which is why I love DARPA so much, and NASA
- 55:05and DARPA work well together.
- 55:06I look around the room and I'm like, oh God, I just fanboy geek out on all the people that
- 55:11are there.
- 55:11Yeah, I've worked on some DARPA project as well and have the same feeling.
- 55:14Yeah, that's so awesome.
- 55:15And so we should talk about that offline.
- 55:17But so yeah, so I'm sitting there on Memex and Memex, my big goal was to build out Tika,
- 55:22to evolve Tika for the next generation.
- 55:23Not like full AI today, although we're in the process of really AI-ing Tika and its constructs.
- 55:30But it was like the first step into AI beyond just statistical information retrieval, which
- 55:36Tika does.
- 55:37So what is Tika?
- 55:38It's the digital babble fish.
- 55:39The way I describe it is Tika is just like the babble fish from the Hitchhiker's Guide
- 55:43to the Galaxy.
- 55:44You put it to your ear and you can understand any language.
- 55:46Tika, you give it any type of file format, any type of file that exists on the internet
- 55:50that we know, 1400 plus file types and more.
- 55:52Tika will extract out the text, extract out metadata from the file, and it'll tell you
- 55:57information about the language of the file, which is basically everything you need to do
- 56:00something with the data in the file.
- 56:02And it incorporates all of the major third-party parsing libraries that are free and open source
- 56:07to get that information out.
- 56:08And it uses all the standard metadata models and this and that.
- 56:11And so what we were doing during Memex is we were evolving Tika to support the non-standard
- 56:16types of content, the easy text and the other things.
- 56:19But when you get an image, instead of just getting metadata out, get out who's in there.
- 56:23Do object recognition and tell me the people, places, things, dates, times, and other things
- 56:28that are in those images, videos, and multimedia formats.
- 56:31That was the goal of Memex.
- 56:31And so we were significantly building out Tika at the time.
- 56:34There was so much action going on Tika in the open source community.
- 56:36Well, we had this guy, Matthew Karuna-Gaziglia, show up.
- 56:40And I'm like, oh, you know, who's this guy?
- 56:42And he had built NodeTika.
- 56:43We had a bunch of people building Tika interfaces into other programming languages.
- 56:47And so he did that.
- 56:48He contributed it.
- 56:49And we start talking to him.
- 56:50And he starts asking us these questions and telling us he's part of the ICI4J, or International
- 56:54Consortium of Journalists.
- 56:56And we're like, cool.
- 56:57We start looking it up.
- 56:58And then, boom, Panama Papers drops.
- 56:59And we're like, holy SH.
- 57:02They used Tika?
- 57:04That's why that guy was asking us all these questions, you know?
- 57:08And all this.
- 57:09And so what they did is, yeah, they got this data dump leaked from a company called Monseca,
- 57:14which basically said, yeah, like the heads of state in various countries and famous actors,
- 57:20your favorite ones, like mine, Hermione and Emma Watson, they all had money, you know,
- 57:24in shady ways in these offshore accounts, and they hid their wealth there, you know?
- 57:27And of course, that has all sorts of ethical and other implications.
- 57:30So that was in these data files, which were leaked off of a content management site, 11
- 57:34terabytes of data.
- 57:36And the way that you did that is you do a big ETL, extract, transfer, and load process,
- 57:40and do data forensics using tools like Tika.
- 57:42And literally...
- 57:43Right, right.
- 57:44Tell me the important stuff about these gigs of files, and then we'll go through that.
- 57:47Bingo.
- 57:48What are the people, places, things, connections, and other things?
- 57:50And if you look at the Wikipedia page, which was like one of the fastest Wikipedia pages
- 57:54I've ever seen made, when that story came out, it's like it had all...
- 57:58It was like the hugest Wikipedia page.
- 58:00About midway down through, and I got a link to my page on Wikipedia from this, they say one
- 58:05of the...
- 58:05Probably the key technology, you know, in doing this was Tika.
- 58:08And so, by the way, those journalists and others won the Pulitzer Prize in 2017.
- 58:12And so I tell people, hey, I contributed to the Pulitzer Prize.
- 58:15And so, yeah, that was a big, big deal.
- 58:17And that...
- 58:18Yeah, that's awesome.
- 58:19Some people only know me for that.
- 58:20And I had a very small hand in it.
- 58:22But then again, I helped invent Hadoop.
- 58:24And we found out many years later that that's what the NSA used to build Accumulo.
- 58:28You know what I mean?
- 58:29So I don't really care about all this stuff.
- 58:31People ask me, are you ethically concerned?
- 58:33My goal is to change the world and build the software that everyone uses.
- 58:36You can't control for that.
- 58:38What you can control for is that the world got better somehow in some way.
- 58:42You can't control all the maybe actors and how they use it.
- 58:45But I think the sum total of everything at the end, I'm proud of.
- 58:48Yeah.
- 58:49Well, this is definitely a check, you know, plus one for the good guys on the Panama Papers.
- 58:53That's really cool.
- 58:54And then last, maybe tell people about your book, your TensorFlow book.
- 58:57Yeah.
- 58:58So right now in this sort of era where I'm deep into AI about a year and a half ago,
- 59:02I tell myself every year and a half to two, not that I get bored, but my wife lets me, you know,
- 59:07do some fun project.
- 59:08And she helps, does amazing with our three children, 11, five, and three, boy, boy, girl,
- 59:13right in the thick of things.
- 59:14And energetic ages there.
- 59:16Yes.
- 59:16Energetic and suffering from this pandemic like everyone else, but we're getting through it.
- 59:21But yeah, it's about a year and a half ago.
- 59:23So I was reading and I'm a Manning author.
- 59:25So I wrote Tika in action 10 years ago.
- 59:27And I saw I get access to the books and they tell me about the books.
- 59:30And so there was a book on machine learning.
- 59:31And I was like, you know, it was TensorFlow.
- 59:33And it was machine learning with TensorFlow.
- 59:34And I said, you know what?
- 59:35I want to learn what my people are talking about.
- 59:37There was heavy debates between TensorFlow or PyTorch or whatever.
- 59:40And there hadn't been a Manning PyTorch book.
- 59:43There was a TensorFlow one.
- 59:43So I said, cool, let me read it.
- 59:45So I'm reading it.
- 59:46And when I'm reading it, I'm like, hey, I got to go deep.
- 59:48Each one of these chapters that's in there, there's like a suggestion at the end on the CNN chapter.
- 59:53There's like a bullet.
- 59:54It's like, oh, and you could build a facial recognition system, but we're not going to do it.
- 59:58You know, they author the first edition, amazing guy named Nishant Shukla, UCLA PhD, computer vision.
- 1:00:03He's at a startup now.
- 1:00:04He's doing great things.
- 1:00:05I've communicated and corresponded with him during the reading of the book and also the development of this book.
- 1:00:09You know, he kind of throws out there, oh, yeah, you can build a facial recognition system.
- 1:00:13And so you go explore that, like, go look at VGG Face.
- 1:00:16So I go explore it and I'm like, the data doesn't exist anymore.
- 1:00:19You can't find this model anywhere.
- 1:00:21And I have to rebuild all this stuff for scratch and get all the celebrity images.
- 1:00:26So VGG Face is basically a celebrity image recognition model.
- 1:00:29Actually, Google just came out with the product that's basically the commercial version of it.
- 1:00:33But it's this sort of seminal model from 2015 that's like facial recognition using CNNs.
- 1:00:37And so I start to go build it.
- 1:00:39And like seven weeks later, staying up at night, you know, multiple hours at night, I'm like, God, this is like a graduate level program, you know, assignment.
- 1:00:45It's a lot of work.
- 1:00:47It's hard.
- 1:00:47It's a lot of work.
- 1:00:48So my wife sees me doing this over like a nine month time span.
- 1:00:52And I'm like, oh, my God, AI is real.
- 1:00:55I know what Elon's talking about, you know, or this and that.
- 1:00:58And I'm like, and so I had at the end of nine months, basically a ton of Jupyter notebooks, a ton of data sets.
- 1:01:04I had built a ton of end to end examples everywhere that he threw a bullet suggestion at the end of a chapter where he introduced something.
- 1:01:10I implemented basically a new chapter and a half for that.
- 1:01:13And so that's 10 machine learning with TensorFlow 2 or second edition.
- 1:01:17That's my book.
- 1:01:18It uses TensorFlow, but I will say it's TensorFlow and friends.
- 1:01:21Yeah.
- 1:01:22So, you know, some people have told me it's not fully updated to the latest TensorFlow 2X or whatever.
- 1:01:26So what I did is I did my typical Chris thing with that.
- 1:01:28I got the head of AI at Google, Scott Penberthy, a buddy of mine, basically write the foreword.
- 1:01:33And in the foreword, he talks about, look, in the time it took Chris to wrote this book, we released 20 versions of TensorFlow 1X.
- 1:01:40And we also started two.
- 1:01:41You can't chase the versions.
- 1:01:43All of the material knowledge of doing data cleaning preparation, building these models, evaluating them.
- 1:01:49None of that changes.
- 1:01:50If the train step changes or if you use declarative programming versus imperative, or if you don't use placeholders anymore,
- 1:01:55those are implementation details that could be swapped out in a few lines of code.
- 1:01:59But what I really do, it's now 450, almost 500 pages.
- 1:02:02It's going to be released in a month.
- 1:02:04I just finished all of the chapters, Michael, and I just finished.
- 1:02:07I just went to three-thirds review.
- 1:02:09It's about to go to production.
- 1:02:10Awesome.
- 1:02:11And just, by the way, people listening, due to time travel of podcasting, this will be just about the time.
- 1:02:17It should be just about out or just released a week or two ago.
- 1:02:20It's going to be great.
- 1:02:22Please check it out.
- 1:02:23It really adds and supplants the first edition of the book.
- 1:02:27Thank Nishant for doing it and so forth.
- 1:02:29But it really is a book on machine learning and deep learning and things like that and how to do it.
- 1:02:34It could be a textbook.
- 1:02:35But it's written in my dad type of style and jokey, funny.
- 1:02:40It's got a lot of my personality in there.
- 1:02:42I hope you guys like it.
- 1:02:43But that's the book.
- 1:02:43Yep.
- 1:02:44Awesome.
- 1:02:44Yeah, well, people should definitely check it out, especially if they're interested in TensorFlow.
- 1:02:48It sounds like a great one.
- 1:02:49All right.
- 1:02:50Well, I think we're just out of time, even though I know we've only scratched the surface.
- 1:02:54So let me ask you the final two questions before I let you out of here.
- 1:02:57You're going to write some Python code?
- 1:02:58What editor do you use?
- 1:03:00I'm old school, so I will jump into Emacs or I'll jump into Jupyter.
- 1:03:04And I write a lot of Jupyter to start because I'm doing a lot of exploration.
- 1:03:08And then if I go like a script, I'm jumping into Emacs.
- 1:03:11Okay, cool, cool.
- 1:03:12And then a notable PyPI package.
- 1:03:15You're not necessarily the most popular thing that people...
- 1:03:18But something you found, like, oh, this is really cool.
- 1:03:20People should know about X.
- 1:03:21Oh, that's a good one.
- 1:03:23Near and dear to my heart right now are, let me complain about something first, and then I'll
- 1:03:27do negative and then positive.
- 1:03:28So, God, why does the Yahoo stock quote thing have to change every few years?
- 1:03:33I was using Y stock quote after the old one broke.
- 1:03:38Now it's like...
- 1:03:39And then just all of a sudden that broke.
- 1:03:40And now I got to use, you know, Y Finance and like it changes just ever so slow.
- 1:03:44So that bugs me.
- 1:03:45But thanks to the guy who wrote Y Finance and updated that to whatever, because I think Yahoo's
- 1:03:49upstream stuff breaks.
- 1:03:50But I do a lot of...
- 1:03:51I mess around in finance and quant and stuff like that just for fun.
- 1:03:54And so, you know, anyways, that's one that kind of bugs.
- 1:03:56One that I really like is TQDM.
- 1:04:00That's...
- 1:04:01Yeah, I just love TQDM.
- 1:04:02And so it's basically progress bars and it's instrumentation over iterators.
- 1:04:06Nice progress bars.
- 1:04:07Yeah.
- 1:04:08Amazing progress bars.
- 1:04:09Beautiful Jupyter progress bars.
- 1:04:11Beautiful command line progress bars.
- 1:04:12All the stuff that you make lame progress bars.
- 1:04:15If you just try and do it with print statements yourself.
- 1:04:16Use TQDM.
- 1:04:17So...
- 1:04:18Yeah.
- 1:04:18All right.
- 1:04:19Very, very cool.
- 1:04:19All right.
- 1:04:20Good recommendation.
- 1:04:21And final call to action.
- 1:04:22People...
- 1:04:23I guess I'll give you two angles here.
- 1:04:25One, people want to get started and do more with TensorFlow.
- 1:04:27What do they do?
- 1:04:28Or maybe they're interested in space and JPL and they want to get closer to you guys in some
- 1:04:33way.
- 1:04:33How about that as well?
- 1:04:34You want to get started with TensorFlow?
- 1:04:35TensorFlow?
- 1:04:36So...
- 1:04:36Spend 90% of your time not using TensorFlow or any ML toolkit and create a clean data set.
- 1:04:42In Pandas, make sure you have clean labels.
- 1:04:45Make sure it's a tabular structure.
- 1:04:47That's the biggest mistake.
- 1:04:48Or not even a mistake, but challenge that I see people doing.
- 1:04:51They're using imbalanced classes.
- 1:04:53It's ugly data that hasn't been cleaned.
- 1:04:54Machine learning today still requires clean data.
- 1:04:57And so you do that, you can bring it into TensorFlow, PyTorch, anything.
- 1:05:01Just clean your freaking data and spend the time doing it and get a good data set.
- 1:05:05Second, how do you get started at JPL and NASA?
- 1:05:08Look at our open source and other code.
- 1:05:10We have a big open source library on GitHub.
- 1:05:12Look at some of our projects, read our press releases, and then connect with me.
- 1:05:16Connect with...
- 1:05:17A lot of our people are on LinkedIn.
- 1:05:18Connect with us.
- 1:05:19The best way to do it is to come not just saying you have XYZ skills, but you've actually
- 1:05:24read about a project like you've done or the research, Michael, and you know about some
- 1:05:27of this stuff and you have specific areas you want to contribute.
- 1:05:29JPL has an amazing internship program, 800 people a year.
- 1:05:32We took 450 even during the pandemic virtually, and it's still going.
- 1:05:36It's a great way to come in school and join like I did.
- 1:05:40And then also we hire for full time and jpl.jobs is the best place to take a look at for that.
- 1:05:45Oh, that's awesome.
- 1:05:46Well, thank you so much for being on the show, Chris.
- 1:05:48It's been great to chat with you.
- 1:05:49Thanks for having me, Michael.
- 1:05:50I really appreciate it.
- 1:05:51Yeah, you bet.
- 1:05:52Bye-bye.
- 1:05:55This has been another episode of Talk Python To Me.
- 1:05:58Our guest on this episode was Chris Mattman and is brought to you by Linode and Monday.com.
- 1:06:03Start your next Python project on Linode's state-of-the-art cloud service.
- 1:06:09Just visit talkpython.fm/Linode, L-I-N-O-D-E.
- 1:06:13You'll automatically get a $20 credit when you create a new account.
- 1:06:16Build your idea for an app and get it in front of hundreds of thousands of users on day one.
- 1:06:21Start building today at the Monday.com marketplace by visiting monday.com slash Python.
- 1:06:27Want to level up your Python?
- 1:06:29If you're just getting started, try my Python Jumpstart by Building 10 Apps course.
- 1:06:34Or if you're looking for something more advanced, check out our new async course that digs into
- 1:06:39all the different types of async programming you can do in Python.
- 1:06:42And of course, if you're interested in more than one of these, be sure to check out our
- 1:06:46Everything Bundle.
- 1:06:47It's like a subscription that never expires.
- 1:06:49Be sure to subscribe to the show.
- 1:06:51Open your favorite podcatcher and search for Python.
- 1:06:53We should be right at the top.
- 1:06:54You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 1:06:59and the direct RSS feed at /rss on talkpython.fm.
- 1:07:03This is your host, Michael Kennedy.
- 1:07:05Thanks so much for listening.
- 1:07:07I really appreciate it.
- 1:07:08Now get out there and write some Python code.
- 1:07:10I'll see you next time.