WEBVTT

1
00:00:00.040 --> 00:00:02.480
<v Speaker 1>Welcome to another deep dive. You know how this works.

2
00:00:02.480 --> 00:00:05.960
<v Speaker 1>By now we take some fascinating source material and we

3
00:00:06.000 --> 00:00:11.359
<v Speaker 1>really get into the details today. What's all about Python?

4
00:00:11.679 --> 00:00:15.039
<v Speaker 1>Using real world Python? A Hacker's Guide to Solving Problems

5
00:00:15.039 --> 00:00:16.960
<v Speaker 1>with code. I actually think this is a great book

6
00:00:17.000 --> 00:00:20.640
<v Speaker 1>for anyone, even if they're not super techy.

7
00:00:20.519 --> 00:00:22.920
<v Speaker 2>Oh, I totally agree. It's written in a way that's

8
00:00:22.960 --> 00:00:25.640
<v Speaker 2>really engaging, even if you've never coded before in your life.

9
00:00:25.679 --> 00:00:27.839
<v Speaker 1>So yeah, definitely a great resource.

10
00:00:27.960 --> 00:00:32.600
<v Speaker 2>Okay, so Python, Why Python? Everyone's talking about Python? What's

11
00:00:32.640 --> 00:00:33.159
<v Speaker 2>the big deal?

12
00:00:33.320 --> 00:00:36.039
<v Speaker 1>Well, you know, it's interesting because Python is used in

13
00:00:36.039 --> 00:00:38.960
<v Speaker 1>so many different fields, like you see it everywhere, machine learning,

14
00:00:39.359 --> 00:00:42.039
<v Speaker 1>data science, web development. It's really one of the most

15
00:00:42.119 --> 00:00:43.439
<v Speaker 1>versatile languages out there.

16
00:00:43.640 --> 00:00:45.799
<v Speaker 2>So if someone's just starting out, is this the language

17
00:00:45.799 --> 00:00:46.200
<v Speaker 2>to learn?

18
00:00:46.640 --> 00:00:48.200
<v Speaker 1>I'd say so. Yeah. One of the things that makes

19
00:00:48.240 --> 00:00:51.799
<v Speaker 1>Python so popular is that it's incredibly beginner friendly, Like

20
00:00:51.799 --> 00:00:54.359
<v Speaker 1>the syntax is designed to be readable. You know, it's

21
00:00:54.359 --> 00:00:57.039
<v Speaker 1>almost like reading plain English, so it's a lot easier

22
00:00:57.039 --> 00:00:59.520
<v Speaker 1>to pick up than some of the more complex languages

23
00:00:59.520 --> 00:01:02.479
<v Speaker 1>out there. Okay, so it's easy to learn, but is

24
00:01:02.560 --> 00:01:07.879
<v Speaker 1>it powerful enough to actually do serious stuff?

25
00:01:08.040 --> 00:01:10.640
<v Speaker 2>Oh? Absolutely? I mean, it's used by major companies like

26
00:01:10.640 --> 00:01:14.879
<v Speaker 2>Google and Facebook for some really complex tasks. So yeah,

27
00:01:14.920 --> 00:01:16.640
<v Speaker 2>you can definitely do serious stuff with it.

28
00:01:16.840 --> 00:01:21.480
<v Speaker 1>Okay, So this book, Real World Python, it takes this

29
00:01:21.560 --> 00:01:25.000
<v Speaker 1>approach of teaching you to think like a hacker. So

30
00:01:25.719 --> 00:01:27.200
<v Speaker 1>what exactly do they mean by that?

31
00:01:27.359 --> 00:01:30.319
<v Speaker 2>So when they say hacker, they don't mean like the stereotypical,

32
00:01:30.920 --> 00:01:33.359
<v Speaker 2>you know, guy in a hoodie breaking into computer systems.

33
00:01:33.359 --> 00:01:36.400
<v Speaker 2>It's more about using your creativity and your problem solving

34
00:01:36.439 --> 00:01:39.640
<v Speaker 2>skills to find clever and resourceful ways to use code

35
00:01:40.159 --> 00:01:41.480
<v Speaker 2>to solve real world problems.

36
00:01:41.480 --> 00:01:43.120
<v Speaker 1>Okay, so give me an example. What kind of hacker

37
00:01:43.159 --> 00:01:44.200
<v Speaker 1>projects are we talking about.

38
00:01:44.400 --> 00:01:47.799
<v Speaker 2>So one of the projects in the book is recreating

39
00:01:47.799 --> 00:01:51.519
<v Speaker 2>the blink comparitor that was used to discover Pluto. Whoa, yeah,

40
00:01:51.519 --> 00:01:52.200
<v Speaker 2>it's pretty cool.

41
00:01:52.280 --> 00:01:54.239
<v Speaker 1>That's really cool. So it's like stepping back in time

42
00:01:54.319 --> 00:01:55.840
<v Speaker 1>and reliving that historical.

43
00:01:55.560 --> 00:01:57.560
<v Speaker 2>Discuss exactly, and you're doing it through code.

44
00:01:57.640 --> 00:02:00.519
<v Speaker 1>Okay, I have to admit astronomy is not really my thing.

45
00:02:00.879 --> 00:02:03.079
<v Speaker 1>Are there other projects in the book that might appeal

46
00:02:03.120 --> 00:02:05.159
<v Speaker 1>to I don't know, maybe someone who's more into history.

47
00:02:05.439 --> 00:02:10.159
<v Speaker 2>Yeah, definitely. There's a project that focuses on cryptography. Specifically

48
00:02:10.439 --> 00:02:13.039
<v Speaker 2>the Rebecca cipher that was used in World War Two.

49
00:02:13.120 --> 00:02:13.960
<v Speaker 1>Okay, I'm listening.

50
00:02:14.120 --> 00:02:18.080
<v Speaker 2>So the Rebecca cipher relied on a shared book between

51
00:02:18.159 --> 00:02:20.840
<v Speaker 2>the sender and the receiver. You had to have the

52
00:02:20.879 --> 00:02:23.759
<v Speaker 2>same book to decode the message. And in this project,

53
00:02:24.000 --> 00:02:27.080
<v Speaker 2>you're actually using the book The Lost World as a

54
00:02:27.120 --> 00:02:28.599
<v Speaker 2>digital one time pad.

55
00:02:28.800 --> 00:02:31.840
<v Speaker 1>So it's like taking this historical technique, yeah, and bringing

56
00:02:31.840 --> 00:02:32.960
<v Speaker 1>it into the digital age.

57
00:02:33.080 --> 00:02:35.960
<v Speaker 2>Yeah, exactly. It's a great way to see how Python

58
00:02:36.000 --> 00:02:39.360
<v Speaker 2>can bridge the gap between, you know, the past and

59
00:02:39.400 --> 00:02:39.800
<v Speaker 2>the present.

60
00:02:40.000 --> 00:02:42.879
<v Speaker 1>Okay, so the book mentions all these different Python libraries.

61
00:02:42.879 --> 00:02:45.159
<v Speaker 1>Can you break that down for me? What are libraries

62
00:02:45.199 --> 00:02:46.680
<v Speaker 1>in the context of programming?

63
00:02:46.840 --> 00:02:51.039
<v Speaker 2>Yeah, so Python libraries are essentially collections of pre written code.

64
00:02:51.039 --> 00:02:54.400
<v Speaker 2>They're like toolkits that give you specific functions and capabilities,

65
00:02:54.400 --> 00:02:56.199
<v Speaker 2>so you don't have to write everything from scratch.

66
00:02:56.280 --> 00:02:58.719
<v Speaker 1>So it's like having a toolbox full of different tools. Yeah,

67
00:02:58.759 --> 00:03:00.360
<v Speaker 1>and you can just pick and choose the ones you

68
00:03:00.400 --> 00:03:01.039
<v Speaker 1>need for the job.

69
00:03:01.439 --> 00:03:03.360
<v Speaker 2>Yeah, that's a great way to think about it. You

70
00:03:03.400 --> 00:03:07.240
<v Speaker 2>have libraries like open cv for computer vision, numb PI

71
00:03:07.400 --> 00:03:10.479
<v Speaker 2>for working with a raise and matrices, map plot lib

72
00:03:10.560 --> 00:03:14.479
<v Speaker 2>for creating plots and charts, and pandas for data analysis.

73
00:03:14.560 --> 00:03:18.039
<v Speaker 1>So it's like having a whole workshop at your disposal.

74
00:03:17.680 --> 00:03:20.159
<v Speaker 2>Exactly, and real world Python shows you how to use

75
00:03:20.199 --> 00:03:22.240
<v Speaker 2>these tools to build some really cool projects.

76
00:03:22.319 --> 00:03:24.400
<v Speaker 1>Okay, so give me an example a project that really

77
00:03:24.479 --> 00:03:27.400
<v Speaker 1>showcases how these libraries can be used to solve a problem.

78
00:03:27.439 --> 00:03:30.120
<v Speaker 2>Sure, there's a project where you play the role of

79
00:03:30.159 --> 00:03:33.520
<v Speaker 2>a coastguard search and rescue director. You're tasked with finding

80
00:03:33.560 --> 00:03:34.479
<v Speaker 2>a missing fisherman.

81
00:03:34.759 --> 00:03:36.199
<v Speaker 1>Okay, that sounds intense.

82
00:03:36.360 --> 00:03:39.919
<v Speaker 2>Yeah it is. You use something called bays Rule, which

83
00:03:39.960 --> 00:03:42.479
<v Speaker 2>is a way of updating probabilities as you get new

84
00:03:42.520 --> 00:03:46.120
<v Speaker 2>information to guide your search efforts, and you use the

85
00:03:46.159 --> 00:03:50.080
<v Speaker 2>OpenCV library to create a visual interface with a map

86
00:03:50.120 --> 00:03:52.240
<v Speaker 2>of the search area, so you can actually see how

87
00:03:52.280 --> 00:03:54.879
<v Speaker 2>the probabilities change as you make decisions.

88
00:03:54.919 --> 00:03:57.520
<v Speaker 1>So it's not just abstract math. You're actually using data

89
00:03:57.919 --> 00:04:00.400
<v Speaker 1>to make real time decisions in a high stakes situation.

90
00:04:00.520 --> 00:04:03.520
<v Speaker 2>Exactly. It's a really powerful example of how Python and

91
00:04:03.639 --> 00:04:06.680
<v Speaker 2>these libraries can be used for practical problem solving.

92
00:04:07.039 --> 00:04:09.240
<v Speaker 1>Okay, that's really cool. Now I'm seeing how this all

93
00:04:09.280 --> 00:04:09.840
<v Speaker 1>comes together.

94
00:04:09.919 --> 00:04:12.719
<v Speaker 2>And that's just one example. There's another project that uses

95
00:04:12.759 --> 00:04:16.920
<v Speaker 2>OpenCV for face recognition. You build a system that can

96
00:04:16.959 --> 00:04:19.519
<v Speaker 2>identify individuals based on their facial features.

97
00:04:19.639 --> 00:04:21.519
<v Speaker 1>So like how your phone unlocks with your face.

98
00:04:21.720 --> 00:04:24.279
<v Speaker 2>Yeah, kind of like that. But in this project, you

99
00:04:24.319 --> 00:04:27.800
<v Speaker 2>actually train the system yourself using a set of images,

100
00:04:28.279 --> 00:04:30.720
<v Speaker 2>and then you can use it to control access to

101
00:04:30.759 --> 00:04:33.560
<v Speaker 2>a secure area like a lab or something.

102
00:04:33.639 --> 00:04:36.360
<v Speaker 1>Okay, that's straight out of a spy movie, I know. Right,

103
00:04:36.759 --> 00:04:40.079
<v Speaker 1>So we're talking about real world applications here, yeah, not

104
00:04:40.199 --> 00:04:41.399
<v Speaker 1>just theoretical stuff.

105
00:04:41.480 --> 00:04:44.800
<v Speaker 2>Absolutely, And it gets even more interesting. There's a project

106
00:04:44.879 --> 00:04:48.560
<v Speaker 2>that explores data visualization using core pluff maps.

107
00:04:48.839 --> 00:04:51.439
<v Speaker 1>Core a pluff maps sounds little intimidating.

108
00:04:51.560 --> 00:04:54.639
<v Speaker 2>They might sound complex, but they're actually pretty easy to understand.

109
00:04:54.800 --> 00:04:57.920
<v Speaker 2>It's basically a map where different regions are shaded different

110
00:04:57.959 --> 00:05:02.319
<v Speaker 2>colors based on some data points like population density or

111
00:05:02.360 --> 00:05:05.079
<v Speaker 2>election results. You've probably seen them before, Okay, yeah, I

112
00:05:05.079 --> 00:05:07.360
<v Speaker 2>think I have. Well, in this project, you use a

113
00:05:07.399 --> 00:05:12.439
<v Speaker 2>korapleth map to visualize population density across the US. Okay,

114
00:05:12.439 --> 00:05:13.600
<v Speaker 2>and why would I want to do that?

115
00:05:13.680 --> 00:05:16.279
<v Speaker 1>Well, here's the twist. You're using it to plan an

116
00:05:16.480 --> 00:05:19.120
<v Speaker 1>escape route during a zombie apocalypse.

117
00:05:19.399 --> 00:05:22.160
<v Speaker 2>Okay, now you're speaking my language, so you're telling me

118
00:05:22.240 --> 00:05:25.439
<v Speaker 2>I can use Python to survive a zombie apocalypse.

119
00:05:25.600 --> 00:05:28.120
<v Speaker 1>Well, it's a fun way to learn about data visualization

120
00:05:29.040 --> 00:05:31.319
<v Speaker 1>and how it can be used for planning and decision

121
00:05:31.360 --> 00:05:33.839
<v Speaker 1>making even in extreme situations.

122
00:05:34.480 --> 00:05:39.240
<v Speaker 2>I'm sold. So we've gone from discovering planets to outsmarting zombies,

123
00:05:39.879 --> 00:05:41.160
<v Speaker 2>all with Python.

124
00:05:40.879 --> 00:05:43.279
<v Speaker 1>And we're just getting started. There's even a project that

125
00:05:43.399 --> 00:05:47.040
<v Speaker 1>explores the simulation hypothesis, the idea that our reality is

126
00:05:47.079 --> 00:05:48.560
<v Speaker 1>actually a computer simulation.

127
00:05:48.800 --> 00:05:52.480
<v Speaker 2>Whoa, Okay, we're getting into some deep philosophical territory now.

128
00:05:52.600 --> 00:05:54.399
<v Speaker 1>Yeah, but that's one of the things I love about

129
00:05:54.399 --> 00:05:56.839
<v Speaker 1>this book. It doesn't shy away from the big questions,

130
00:05:57.240 --> 00:06:00.759
<v Speaker 1>and it shows you how computational thinking can help us

131
00:06:00.800 --> 00:06:03.120
<v Speaker 1>approach these questions in new and interesting ways.

132
00:06:03.279 --> 00:06:05.639
<v Speaker 2>Okay, my mind is officially blown. I know, right, I've

133
00:06:05.639 --> 00:06:07.879
<v Speaker 2>covered a lot of ground already. We have, but I

134
00:06:07.920 --> 00:06:09.920
<v Speaker 2>feel like we've only just scratched the surface.

135
00:06:10.040 --> 00:06:13.199
<v Speaker 1>Yeah, we've only just begun to explore the possibilities of Python.

136
00:06:13.720 --> 00:06:16.680
<v Speaker 1>So you want to dive back into that simulation idea? Yeah,

137
00:06:16.839 --> 00:06:20.000
<v Speaker 1>I mean it's kind of freaky but also really fascinating

138
00:06:20.199 --> 00:06:24.000
<v Speaker 1>to think that maybe our whole reality is just code.

139
00:06:24.279 --> 00:06:25.959
<v Speaker 2>It is pretty mind bending. But you know what I

140
00:06:26.040 --> 00:06:28.360
<v Speaker 2>like about real world Python is that it doesn't just

141
00:06:28.480 --> 00:06:31.959
<v Speaker 2>dwell on these super abstract concepts. It brings it back

142
00:06:32.000 --> 00:06:34.920
<v Speaker 2>down to earth with practical stuff you can actually use.

143
00:06:35.120 --> 00:06:37.720
<v Speaker 1>Okay, good because as much as I love a good

144
00:06:37.759 --> 00:06:40.680
<v Speaker 1>existential crisis, I also want to know how this can

145
00:06:40.720 --> 00:06:43.199
<v Speaker 1>help me, you know, in my actual life.

146
00:06:43.319 --> 00:06:45.759
<v Speaker 2>Right, So, like, have you ever heard of stylometries?

147
00:06:45.920 --> 00:06:48.839
<v Speaker 1>Stylometry? Is that like some kind of fancy haircut?

148
00:06:48.959 --> 00:06:52.399
<v Speaker 2>Haha? No, it's actually the study of linguistic style, like

149
00:06:52.439 --> 00:06:56.480
<v Speaker 2>how you can analyze someone's writing to identify them or

150
00:06:56.519 --> 00:06:58.959
<v Speaker 2>to figure out, you know, if they wrote something like

151
00:06:59.000 --> 00:07:01.319
<v Speaker 2>a literary fingerprint exactly. And one of the projects in

152
00:07:01.360 --> 00:07:04.439
<v Speaker 2>the book has using Python to compare the writing styles

153
00:07:04.639 --> 00:07:07.759
<v Speaker 2>of different authors like Arthur Conan Doyle and HG. Well's.

154
00:07:07.800 --> 00:07:09.639
<v Speaker 1>That's so cool. I could totally see that being used

155
00:07:10.279 --> 00:07:11.879
<v Speaker 1>in like, yeah, historical research.

156
00:07:11.639 --> 00:07:14.639
<v Speaker 2>Oh yeah, definitely, or even in like forensic science to

157
00:07:14.839 --> 00:07:16.560
<v Speaker 2>analyze handwriting samples.

158
00:07:16.600 --> 00:07:18.959
<v Speaker 1>Okay, So we talked about this earlier, but can we

159
00:07:19.000 --> 00:07:22.120
<v Speaker 1>get back to text summarization because I feel like that's

160
00:07:22.160 --> 00:07:23.800
<v Speaker 1>something that could be really useful.

161
00:07:23.839 --> 00:07:26.480
<v Speaker 2>Well for sure, I mean we're drowning in information these days,

162
00:07:26.519 --> 00:07:30.399
<v Speaker 2>so being able to condense large chunks of text into

163
00:07:30.439 --> 00:07:33.519
<v Speaker 2>shorter summaries is super valuable.

164
00:07:33.160 --> 00:07:35.000
<v Speaker 1>Right, Like, think about all the time you could save

165
00:07:35.240 --> 00:07:38.040
<v Speaker 1>if you didn't have to wade through yeah, pages and

166
00:07:38.079 --> 00:07:40.399
<v Speaker 1>pages of reports or articles exactly.

167
00:07:40.720 --> 00:07:44.040
<v Speaker 2>And one of the projects in the book focuses on

168
00:07:44.079 --> 00:07:47.519
<v Speaker 2>summarizing Martin Luther King Junior's I have a Dream speech.

169
00:07:47.680 --> 00:07:48.639
<v Speaker 1>Okay, that's a classic.

170
00:07:48.759 --> 00:07:51.480
<v Speaker 2>Yeah, and it breaks it down into its core message

171
00:07:51.680 --> 00:07:52.519
<v Speaker 2>using Python.

172
00:07:52.759 --> 00:07:53.040
<v Speaker 1>Wow.

173
00:07:53.040 --> 00:07:57.000
<v Speaker 2>And there's another project that introduces a library called gensim,

174
00:07:57.279 --> 00:07:59.920
<v Speaker 2>which is specifically designed for text analysis.

175
00:08:00.079 --> 00:08:02.120
<v Speaker 1>Another library. I'm starting to see a pattern here.

176
00:08:02.199 --> 00:08:04.399
<v Speaker 2>Yeah, Python has a library for pretty much everything.

177
00:08:04.439 --> 00:08:05.600
<v Speaker 1>That's amazing, right.

178
00:08:05.720 --> 00:08:10.759
<v Speaker 2>So anyway, this project uses Jensen to summarize Admiral William H.

179
00:08:10.839 --> 00:08:12.800
<v Speaker 2>Mcraven's make your Bed speech.

180
00:08:12.879 --> 00:08:15.000
<v Speaker 1>Oh, I've heard of that one. It's all about, you know,

181
00:08:15.800 --> 00:08:18.839
<v Speaker 1>the importance of starting your day off. Okay, this is

182
00:08:18.879 --> 00:08:22.639
<v Speaker 1>all super cool, But I'm a visual learner. Is there

183
00:08:22.680 --> 00:08:26.279
<v Speaker 1>a way to make text summarization a little more visual?

184
00:08:26.360 --> 00:08:28.759
<v Speaker 2>I'm so glad you asked that, because the book also

185
00:08:28.800 --> 00:08:29.879
<v Speaker 2>covers word clouds.

186
00:08:29.959 --> 00:08:32.279
<v Speaker 1>Word clouds, Yeah.

187
00:08:31.600 --> 00:08:34.960
<v Speaker 2>They're visual representations of text where the size of each

188
00:08:35.000 --> 00:08:38.000
<v Speaker 2>word corresponds to how frequently it appeared.

189
00:08:37.720 --> 00:08:39.799
<v Speaker 1>So it's like a visual summary of the tex exactly.

190
00:08:40.120 --> 00:08:43.960
<v Speaker 2>And one of the projects, yeah, has you creating a

191
00:08:44.039 --> 00:08:46.279
<v Speaker 2>word cloud from the Sherlock Holmes story The Hound of

192
00:08:46.279 --> 00:08:48.519
<v Speaker 2>the Basker Pills. And to make it even more fun,

193
00:08:48.600 --> 00:08:51.159
<v Speaker 2>the word cloud is shaped like Sherlock Holmes himself.

194
00:08:51.200 --> 00:08:53.519
<v Speaker 1>Okay, that is awesome. I know. Word clouds could be

195
00:08:53.559 --> 00:08:58.360
<v Speaker 1>so useful analyzing social media trends or getting a quick

196
00:08:58.440 --> 00:08:59.960
<v Speaker 1>overview of customer feedback total.

197
00:09:00.360 --> 00:09:03.519
<v Speaker 2>And the book introduces you to the word cloud library,

198
00:09:03.919 --> 00:09:06.840
<v Speaker 2>which makes creating these visualizations super easy.

199
00:09:06.879 --> 00:09:11.080
<v Speaker 1>Okay, so we've gone from ancient ciphers to modern data

200
00:09:11.159 --> 00:09:14.159
<v Speaker 1>visualization techniques. It seems like Python can do just about

201
00:09:14.159 --> 00:09:15.279
<v Speaker 1>anything pretty much.

202
00:09:15.399 --> 00:09:17.960
<v Speaker 2>And speaking of pushing boundaries, let's talk about astronomy.

203
00:09:18.159 --> 00:09:18.720
<v Speaker 1>Kevin tried.

204
00:09:18.840 --> 00:09:21.399
<v Speaker 2>So there's a project in the book that focuses on

205
00:09:21.600 --> 00:09:26.120
<v Speaker 2>identifying exoplanets, you know, planets that orbit stars outside our

206
00:09:26.159 --> 00:09:26.759
<v Speaker 2>solar system.

207
00:09:26.879 --> 00:09:29.440
<v Speaker 1>WHOA how does Python help us find those?

208
00:09:29.879 --> 00:09:33.879
<v Speaker 2>So it uses a technique called transit photometry. Imagine a

209
00:09:33.919 --> 00:09:36.759
<v Speaker 2>firefly passing in front of a spotlight. You'd see a

210
00:09:36.759 --> 00:09:38.600
<v Speaker 2>slight dip in the brightness of the spotlight.

211
00:09:38.919 --> 00:09:40.039
<v Speaker 1>Right, Yeah, I think so.

212
00:09:40.159 --> 00:09:42.279
<v Speaker 2>Well, transit photometry is kind of like that, but on

213
00:09:42.320 --> 00:09:45.200
<v Speaker 2>a cosmic scale. When a planet passes in front of

214
00:09:45.240 --> 00:09:48.120
<v Speaker 2>its star, it blocks a tiny bit of the star's light.

215
00:09:48.639 --> 00:09:51.679
<v Speaker 2>And Python is used to analyze the light curves, which

216
00:09:51.720 --> 00:09:54.600
<v Speaker 2>are graphs that show the stars brightness over time, and

217
00:09:54.720 --> 00:09:55.799
<v Speaker 2>look for those dips.

218
00:09:55.919 --> 00:09:58.919
<v Speaker 1>So it's like looking for a needle in a haystack, but.

219
00:09:58.919 --> 00:10:01.960
<v Speaker 2>With code exactly. And it's amazing because Python can actually

220
00:10:02.000 --> 00:10:05.039
<v Speaker 2>detect these incredibly tiny changes in brightness.

221
00:10:05.120 --> 00:10:07.279
<v Speaker 1>That's insane, you know, right. So does the book actually

222
00:10:07.360 --> 00:10:09.320
<v Speaker 1>like get into the nitty gritty of how this works?

223
00:10:09.360 --> 00:10:11.720
<v Speaker 2>Oh yeah, it goes pretty deep. It covers concepts like

224
00:10:11.799 --> 00:10:15.000
<v Speaker 2>limb darkening, which is where stars appear dimmer at their

225
00:10:15.120 --> 00:10:18.320
<v Speaker 2>edges than at their centers. There's even a project on

226
00:10:18.399 --> 00:10:21.320
<v Speaker 2>detecting an exerplanet with a moon, which would create a

227
00:10:21.440 --> 00:10:23.000
<v Speaker 2>unique signature in the light curve.

228
00:10:23.240 --> 00:10:24.639
<v Speaker 1>Okay, that's your next level stuff.

229
00:10:24.679 --> 00:10:27.679
<v Speaker 2>It is, but the book breaks it down step by step.

230
00:10:27.840 --> 00:10:29.399
<v Speaker 1>I'm seriously impressed with this book.

231
00:10:29.440 --> 00:10:29.759
<v Speaker 2>Me too.

232
00:10:29.960 --> 00:10:33.320
<v Speaker 1>Okay, so before we completely lose ourselves in space, I

233
00:10:33.360 --> 00:10:35.840
<v Speaker 1>remember seeing something about a MLA map.

234
00:10:36.000 --> 00:10:39.840
<v Speaker 2>Oh yeah, the Mars Orbiter Laser Altimeter map. It's basically

235
00:10:40.000 --> 00:10:44.240
<v Speaker 2>a detailed topographic map of Mars. Okay, and the project

236
00:10:44.320 --> 00:10:47.240
<v Speaker 2>in the book uses this map to help you select

237
00:10:47.679 --> 00:10:50.159
<v Speaker 2>potential landing sites for a Martian lander.

238
00:10:50.600 --> 00:10:54.000
<v Speaker 1>So we're not just finding exoplanets, we're also planning missions

239
00:10:54.039 --> 00:10:54.440
<v Speaker 1>to Mars.

240
00:10:54.519 --> 00:10:54.679
<v Speaker 2>Yep.

241
00:10:55.240 --> 00:10:56.080
<v Speaker 1>This is too cool.

242
00:10:56.360 --> 00:10:59.279
<v Speaker 2>It's a great example of how Python can be used

243
00:10:59.320 --> 00:11:02.480
<v Speaker 2>for real world old mission planning. You're essentially acting as

244
00:11:02.519 --> 00:11:04.240
<v Speaker 2>a Martian real estate agent.

245
00:11:04.039 --> 00:11:08.480
<v Speaker 1>Ah for robots. This book is really making me rethink

246
00:11:08.879 --> 00:11:10.200
<v Speaker 1>what's possible with coding.

247
00:11:10.320 --> 00:11:11.320
<v Speaker 2>That's what it's all about.

248
00:11:11.480 --> 00:11:13.639
<v Speaker 1>It's not just about writing lines of code. It's about

249
00:11:13.679 --> 00:11:17.200
<v Speaker 1>exploring and problem solving and discovering new ways to understand

250
00:11:17.200 --> 00:11:17.559
<v Speaker 1>the world.

251
00:11:17.600 --> 00:11:19.000
<v Speaker 2>Couldn't just set it better myself?

252
00:11:19.080 --> 00:11:21.759
<v Speaker 1>Okay, so remember that zombie apocalypse scenario.

253
00:11:21.840 --> 00:11:24.120
<v Speaker 2>Oh yeah, with the core Pleth maps. Well, the book

254
00:11:24.120 --> 00:11:26.440
<v Speaker 2>goes into a lot more detail on how you can

255
00:11:26.480 --> 00:11:30.720
<v Speaker 2>actually use Python to plan a safe escape route. It

256
00:11:30.840 --> 00:11:35.600
<v Speaker 2>uses US census data to map population density and guide

257
00:11:35.679 --> 00:11:40.159
<v Speaker 2>you away from those densely populated zombie infested areas.

258
00:11:40.200 --> 00:11:43.080
<v Speaker 1>So it's not just about surviving, it's about surviving.

259
00:11:42.600 --> 00:11:46.799
<v Speaker 2>Strategically exactly, using data to make informed decisions. That's brilliant

260
00:11:46.879 --> 00:11:49.960
<v Speaker 2>and The project introduces you to some cool libraries like

261
00:11:50.120 --> 00:11:54.320
<v Speaker 2>pandas for data manipulation, Boka for plotting, and hall of

262
00:11:54.480 --> 00:11:56.919
<v Speaker 2>Use for creating interactive visualizations.

263
00:11:56.960 --> 00:12:00.080
<v Speaker 1>Wow, this deep dive is just the beginning. There's so

264
00:12:00.200 --> 00:12:01.000
<v Speaker 1>much more to explore.

265
00:12:01.080 --> 00:12:04.200
<v Speaker 2>Oh yeah, real world Python makes that very clear. And

266
00:12:04.320 --> 00:12:06.360
<v Speaker 2>speaking of exploring further, I feel like we could talk

267
00:12:06.360 --> 00:12:07.679
<v Speaker 2>about Python forever.

268
00:12:07.519 --> 00:12:10.840
<v Speaker 1>Right, I mean, we've gone from discovering planets to surviving

269
00:12:10.960 --> 00:12:12.080
<v Speaker 1>zombie apocalypses.

270
00:12:12.200 --> 00:12:14.600
<v Speaker 2>It's crazy the range of stuff that you can do

271
00:12:14.639 --> 00:12:14.960
<v Speaker 2>with it.

272
00:12:14.960 --> 00:12:17.159
<v Speaker 1>It is, but you know what, I'm curious about all

273
00:12:17.159 --> 00:12:19.679
<v Speaker 1>those everyday tasks. Can Python help with those? Two?

274
00:12:19.879 --> 00:12:21.799
<v Speaker 2>Definitely? Like think about all the things you do on

275
00:12:21.840 --> 00:12:25.279
<v Speaker 2>your computer that are kind of repetitive, like renaming files

276
00:12:25.919 --> 00:12:26.759
<v Speaker 2>or converting them.

277
00:12:26.840 --> 00:12:28.960
<v Speaker 1>Oh yeah, that stuff can be such a pain.

278
00:12:29.159 --> 00:12:31.960
<v Speaker 2>Exactly, and Python can automate all of that.

279
00:12:32.559 --> 00:12:34.679
<v Speaker 1>So it's like having a personal assistant.

280
00:12:34.639 --> 00:12:37.919
<v Speaker 2>Kind of, but you're the one programming the assistant. I

281
00:12:38.039 --> 00:12:40.480
<v Speaker 2>like that, and you can customize it to do exactly

282
00:12:40.559 --> 00:12:41.000
<v Speaker 2>what you need.

283
00:12:41.080 --> 00:12:46.720
<v Speaker 1>Okay, but be honest, learning a whole new programming language,

284
00:12:46.799 --> 00:12:48.480
<v Speaker 1>yeah it sounds kind of intimidating.

285
00:12:48.600 --> 00:12:50.879
<v Speaker 2>I get it, But that's what's so great about real

286
00:12:50.919 --> 00:12:53.960
<v Speaker 2>world Python. It starts with the basics, like the syntax

287
00:12:54.000 --> 00:12:56.600
<v Speaker 2>and the core concepts, and then it gradually builds up

288
00:12:56.600 --> 00:12:59.200
<v Speaker 2>your skills through those projects we've been talking about.

289
00:12:59.279 --> 00:13:02.120
<v Speaker 1>So it's like learning any other language exactly.

290
00:13:02.440 --> 00:13:05.600
<v Speaker 2>You start with the alphabet, then you learn some words,

291
00:13:05.919 --> 00:13:08.240
<v Speaker 2>and eventually you can have a conversation.

292
00:13:08.039 --> 00:13:08.639
<v Speaker 1>That makes sense.

293
00:13:08.720 --> 00:13:11.440
<v Speaker 2>And the key is to practice. Don't be afraid to

294
00:13:11.480 --> 00:13:13.200
<v Speaker 2>make mistakes. That's how you learn.

295
00:13:13.320 --> 00:13:14.960
<v Speaker 1>Yeah, the book really emphasizes that.

296
00:13:15.039 --> 00:13:17.559
<v Speaker 2>It does. It gives you the foundation, and then it

297
00:13:17.639 --> 00:13:19.080
<v Speaker 2>encourages you to experiment.

298
00:13:19.399 --> 00:13:20.919
<v Speaker 1>It's like the book gives you a map.

299
00:13:20.720 --> 00:13:22.759
<v Speaker 2>And then you get to choose your own adventure exactly.

300
00:13:22.799 --> 00:13:25.759
<v Speaker 2>And even after you finish the book, it gives you

301
00:13:25.799 --> 00:13:27.480
<v Speaker 2>a ton of resources.

302
00:13:27.279 --> 00:13:29.759
<v Speaker 1>For further learning. So it's really just the beginning it is.

303
00:13:30.120 --> 00:13:33.360
<v Speaker 2>Python is a journey, not a destination. I love that,

304
00:13:33.480 --> 00:13:35.759
<v Speaker 2>and it's a journey that's accessible to anyone.

305
00:13:36.120 --> 00:13:38.440
<v Speaker 1>That's what I hope people take away from this. Python

306
00:13:38.480 --> 00:13:43.039
<v Speaker 1>isn't just for you know, computer science geniuses. It's a

307
00:13:43.120 --> 00:13:47.919
<v Speaker 1>tool that anyone can use to solve problems, to analyze data,

308
00:13:48.039 --> 00:13:50.919
<v Speaker 1>to be more creative. Absolutely so, if you've ever been

309
00:13:51.000 --> 00:13:55.360
<v Speaker 1>curious about coding, but maybe felt a little intimidated. Give

310
00:13:55.440 --> 00:13:56.840
<v Speaker 1>real world Python a try.

311
00:13:56.919 --> 00:13:58.039
<v Speaker 2>I highly recommend it.

312
00:13:58.039 --> 00:14:01.360
<v Speaker 1>It's a fun and engaging way to learn a really valuable.

313
00:14:00.919 --> 00:14:03.240
<v Speaker 2>Skill, and who knows, you might just discover a passion

314
00:14:03.279 --> 00:14:04.200
<v Speaker 2>you never knew you had.

315
00:14:04.799 --> 00:14:07.200
<v Speaker 1>Will said, Okay, I think it's time to wrap up

316
00:14:07.600 --> 00:14:11.039
<v Speaker 1>this deep dive into real world Python. It's been a blast,

317
00:14:11.120 --> 00:14:13.480
<v Speaker 1>it really has. We've learned so much. You have and

318
00:14:13.559 --> 00:14:17.639
<v Speaker 1>I hope you have to, So until next time, happy coding, everyone,
