forked from mikeckennedy/talk-python-transcripts
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path330-apache-airflow.vtt
6085 lines (3043 loc) · 114 KB
/
330-apache-airflow.vtt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
WEBVTT
00:00:00.000 --> 00:00:05.560
Hey everyone out there in the live stream, thank you so much for being here.
00:00:05.560 --> 00:00:10.280
If you have comments, thoughts, please put them into the live chat and I'll try to make
00:00:10.280 --> 00:00:11.280
it part of the show.
00:00:11.280 --> 00:00:14.560
If you're watching later, thanks for being here.
00:00:14.560 --> 00:00:16.600
Oh, hold on.
00:00:16.600 --> 00:00:18.520
Hold on.
00:00:18.520 --> 00:00:20.520
There's a super echo.
00:00:20.520 --> 00:00:24.480
There we go.
00:00:24.480 --> 00:00:26.000
Yeah.
00:00:26.000 --> 00:00:36.000
Does anyone in the meeting have the YouTube stream open, or is there something wrong with
00:00:36.000 --> 00:00:37.000
the stream?
00:00:37.000 --> 00:00:38.000
>> One moment.
00:00:38.000 --> 00:00:39.000
Maybe it's me.
00:00:39.000 --> 00:00:42.640
>> Actually, that brings up a good question.
00:00:42.640 --> 00:00:45.480
Do you want us to be muted when we're not talking?
00:00:45.480 --> 00:00:47.480
>> No, it's okay.
00:00:47.480 --> 00:00:49.880
This has never happened before with this thing.
00:00:49.880 --> 00:00:54.000
It's like I hear my own -- >> Is it better now?
00:00:54.000 --> 00:00:58.120
It's weird because I don't hear.
00:00:58.120 --> 00:01:00.640
I don't hear it either.
00:01:00.640 --> 00:01:01.640
Wow.
00:01:01.640 --> 00:01:02.640
Okay.
00:01:02.640 --> 00:01:07.240
I did see in Zencaster, you could turn on or off an option to hear your own voice.
00:01:07.240 --> 00:01:10.680
I don't know if that's a thing that could do that.
00:01:10.680 --> 00:01:11.680
All right, hold on.
00:01:11.680 --> 00:01:14.880
Let me just hang tight.
00:01:14.880 --> 00:01:18.280
The highly scientific turn it off and turn it on again.
00:01:18.280 --> 00:01:19.280
Yes.
00:01:19.280 --> 00:01:20.280
Yes.
00:01:20.280 --> 00:01:23.280
Hopefully, it's going to work.
00:01:23.280 --> 00:01:28.280
- Yeah, I think, can you say something?
00:01:28.280 --> 00:01:35.400
- Me?
00:01:35.400 --> 00:01:36.240
Hi.
00:01:36.240 --> 00:01:37.060
- Yeah.
00:01:37.060 --> 00:01:38.640
Okay, good.
00:01:38.640 --> 00:01:41.840
I was afraid it's from my setup, but I think it's okay.
00:01:41.840 --> 00:01:44.060
- I think we're good.
00:01:44.060 --> 00:01:48.120
- So now we're alone and we can, I don't know, are we live?
00:01:48.120 --> 00:01:50.560
- I don't know.
00:01:52.640 --> 00:01:53.640
Here's what's happened, everyone.
00:01:53.640 --> 00:01:54.480
Sorry about that.
00:01:54.480 --> 00:01:55.600
We're about to get there.
00:01:55.600 --> 00:01:56.960
So on my other account,
00:01:56.960 --> 00:01:58.760
a different account on my computer I'm logged into,
00:01:58.760 --> 00:02:00.200
I had the YouTube video open
00:02:00.200 --> 00:02:01.480
'cause I was copying the URL
00:02:01.480 --> 00:02:02.480
and it started playing,
00:02:02.480 --> 00:02:03.600
but not on my account.
00:02:03.600 --> 00:02:05.520
I mean, there was no windows I had.
00:02:05.520 --> 00:02:06.360
Anyway, all right.
00:02:06.360 --> 00:02:07.920
(all laughing)
00:02:07.920 --> 00:02:10.400
- In conclusion, it's a ghost.
00:02:10.400 --> 00:02:11.240
- It was.
00:02:11.240 --> 00:02:12.720
- The mystery is high. - It's really bizarre.
00:02:12.720 --> 00:02:13.560
Okay. - Yeah.
00:02:13.560 --> 00:02:16.140
(all laughing)
00:02:16.140 --> 00:02:18.040
- Yeah.
00:02:18.040 --> 00:02:19.520
Hello, everyone out there.
00:02:19.520 --> 00:02:20.960
Thanks for being here in the live stream.
00:02:20.960 --> 00:02:22.040
So, all right.
00:02:22.040 --> 00:02:26.160
Let's now that I've dispelled the ghost,
00:02:26.160 --> 00:02:28.560
thank you, we'll get started.
00:02:28.560 --> 00:02:32.920
Leah, Jarek, Axel, welcome to Talk Python To Me.
00:02:32.920 --> 00:02:34.840
It's good to have you all here.
00:02:34.840 --> 00:02:36.520
- Thanks for having us.
00:02:36.520 --> 00:02:38.120
- Yeah, absolutely.
00:02:38.120 --> 00:02:41.360
It's really fun to be talking about Airflow.
00:02:41.360 --> 00:02:43.600
These are the types of tools that I think
00:02:43.600 --> 00:02:46.000
they don't get that much awareness,
00:02:46.000 --> 00:02:48.460
but they're the kind of thing that can be the real backbone
00:02:48.460 --> 00:02:53.460
of a lot of teams, a lot of organizations and so on.
00:02:53.460 --> 00:02:56.680
So I think that'll be super fun to dive into
00:02:56.680 --> 00:02:57.840
and we'll all learn a lot.
00:02:57.840 --> 00:02:59.880
And I suspect a lot of people listening will realize,
00:02:59.880 --> 00:03:02.760
oh, here's a whole class of tools I didn't even realize
00:03:02.760 --> 00:03:05.280
I should have considered to solve my problems.
00:03:05.280 --> 00:03:06.640
But before we get down to that,
00:03:06.640 --> 00:03:08.640
let's start with your stories.
00:03:08.640 --> 00:03:09.860
Leah, you go first.
00:03:09.860 --> 00:03:12.780
How'd you get into programming Python?
00:03:12.780 --> 00:03:14.760
- Oh man, okay.
00:03:14.760 --> 00:03:19.760
So let's see, Python was the first language that I learned.
00:03:19.760 --> 00:03:22.720
I do have a bachelor's in computer science
00:03:22.720 --> 00:03:25.360
and at the school I went to,
00:03:25.360 --> 00:03:29.000
that is the language that Intro to CS is taught in.
00:03:29.000 --> 00:03:30.680
- I am so jealous.
00:03:30.680 --> 00:03:35.160
My Intro to CS class was in a scheme,
00:03:35.160 --> 00:03:36.560
which is derivative of Lisp,
00:03:36.560 --> 00:03:37.900
which didn't seem that practical.
00:03:37.900 --> 00:03:39.680
And then I was told I had to learn Fortran.
00:03:39.680 --> 00:03:42.360
It would be the most useful language I'd ever learn.
00:03:42.360 --> 00:03:44.180
Neither of which turned out to be true.
00:03:44.180 --> 00:03:46.220
I wish I learned Python.
00:03:46.220 --> 00:03:47.940
- I mean, I got lucky.
00:03:47.940 --> 00:03:52.020
Thanks Carleton College, Northfield, Minnesota
00:03:52.020 --> 00:03:53.980
for giving me Python early.
00:03:53.980 --> 00:03:57.980
And yeah, so I loved Python from the beginning.
00:03:57.980 --> 00:03:59.900
You asked how I got into programming.
00:03:59.900 --> 00:04:02.300
So I actually do have a parent in tech.
00:04:02.300 --> 00:04:04.540
It is my dad and he tried to get me
00:04:04.540 --> 00:04:06.420
into programming a lot earlier.
00:04:06.420 --> 00:04:10.260
And like a true teen, I said, absolutely not
00:04:10.260 --> 00:04:12.500
because it was suggested by my dad.
00:04:12.500 --> 00:04:14.740
It really wasn't until I got to school
00:04:14.740 --> 00:04:19.740
and I heard people say that Intro to CS was a fun elective.
00:04:19.740 --> 00:04:22.620
I was only listening, that's totally in quotes
00:04:22.620 --> 00:04:25.420
as I'm saying it, that I decided to take it.
00:04:25.420 --> 00:04:27.220
And it turned out I really liked it.
00:04:27.220 --> 00:04:29.900
And I decided to pivot from being a math major,
00:04:29.900 --> 00:04:31.980
which wasn't going very well,
00:04:31.980 --> 00:04:34.020
to being a computer science major.
00:04:34.020 --> 00:04:35.060
- Wow, that's fantastic.
00:04:35.060 --> 00:04:40.060
I was also a math major and I find the programming side,
00:04:40.060 --> 00:04:42.400
a lot of the same skillset you have to use,
00:04:42.400 --> 00:04:44.280
like the thinking through problem solving,
00:04:44.280 --> 00:04:47.520
you have these constraints or axioms in math
00:04:47.520 --> 00:04:49.480
and you like work from them.
00:04:49.480 --> 00:04:51.720
But in math, you just come up with sort of like
00:04:51.720 --> 00:04:53.880
the next idea that is the next problem
00:04:53.880 --> 00:04:54.800
that is the next idea.
00:04:54.800 --> 00:04:57.800
And in computers, you build stuff that people use.
00:04:57.800 --> 00:05:00.360
And it's such a difference I find.
00:05:00.360 --> 00:05:02.640
- It's puzzles is the programming.
00:05:02.640 --> 00:05:04.720
And that was always the part of math that I liked.
00:05:04.720 --> 00:05:06.820
I never liked the writing proofs
00:05:06.820 --> 00:05:08.880
or the theoretical side of things.
00:05:08.880 --> 00:05:12.800
I just wanted to solve puzzles with logic and rules.
00:05:12.800 --> 00:05:13.640
- Yeah, fantastic.
00:05:13.640 --> 00:05:15.440
Well, it sounds like you landed in the right spot.
00:05:15.440 --> 00:05:16.280
That's awesome.
00:05:16.280 --> 00:05:17.120
- I'm doing okay.
00:05:17.120 --> 00:05:18.360
(both laughing)
00:05:18.360 --> 00:05:19.520
- Jarek, how about you?
00:05:19.520 --> 00:05:23.960
- So, yes, you talked about your first language.
00:05:23.960 --> 00:05:27.200
So my first language in computer science
00:05:27.200 --> 00:05:32.000
during the studies was, I think, Delphi or Pascal.
00:05:32.000 --> 00:05:33.920
I can't even remember that.
00:05:33.920 --> 00:05:36.880
But actually the first language I started programming
00:05:36.880 --> 00:05:41.080
in the real work was, listen to that, COBOL.
00:05:41.080 --> 00:05:45.000
So if you've, if, so I tend to joke
00:05:45.000 --> 00:05:48.840
that when I'm retiring, I will be very well paid
00:05:48.840 --> 00:05:52.760
for five hours a week programmer of COBOL
00:05:52.760 --> 00:05:54.720
because nobody else will know it.
00:05:54.720 --> 00:05:56.480
- You're gonna keep the trucks delivering
00:05:56.480 --> 00:05:58.960
and the warehouse is open and just.
00:05:58.960 --> 00:05:59.800
- Exactly.
00:05:59.800 --> 00:06:00.880
- Yeah, beautiful.
00:06:00.880 --> 00:06:01.720
You'll be on routine.
00:06:01.720 --> 00:06:03.400
- Just five hours a week.
00:06:03.400 --> 00:06:04.880
Yeah, that's super cool.
00:06:04.880 --> 00:06:12.360
I think. But then Python is actually quite new in my portfolio, let's say, of languages.
00:06:12.360 --> 00:06:21.600
I've learned it maybe six years ago. And with my experience and years of working in CS,
00:06:21.600 --> 00:06:30.560
it's relatively late. But I loved it from the first glance. I used to work in like C,
00:06:30.560 --> 00:06:39.040
C++, hundreds of other, a lot of other languages, but Python was just super easy from the start
00:06:39.040 --> 00:06:42.320
and super nice too, and super, super friendly.
00:06:42.320 --> 00:06:48.400
Like I was, after years of programming in Java, I was like so much, Oh, in one line
00:06:48.400 --> 00:06:51.480
you can do what I would do in five pages.
00:06:51.480 --> 00:06:52.480
Yeah.
00:06:52.480 --> 00:06:53.480
Yeah.
00:06:53.480 --> 00:06:55.040
And you can understand it.
00:06:55.040 --> 00:06:56.040
Yes.
00:06:56.040 --> 00:06:57.040
Yes.
00:06:57.040 --> 00:06:57.880
(laughs)
00:06:57.880 --> 00:06:59.640
- Oh yeah, I fell in love immediately.
00:06:59.640 --> 00:07:00.480
- Oh, fantastic.
00:07:00.480 --> 00:07:04.960
- And it's my absolutely favorite language right now.
00:07:04.960 --> 00:07:06.360
- Yeah, same here.
00:07:06.360 --> 00:07:08.540
Kaxil.
00:07:08.540 --> 00:07:10.920
- Yeah, for me, I did my bachelor's
00:07:10.920 --> 00:07:14.880
in electrical engineering, so didn't do anything over there.
00:07:14.880 --> 00:07:18.200
But when I came in the UK to do my master's,
00:07:18.200 --> 00:07:21.820
we were taught our language and Java.
00:07:21.820 --> 00:07:25.400
One fine day, we were ending the college
00:07:25.400 --> 00:07:26.640
in just a month or two.
00:07:26.640 --> 00:07:30.000
And there was a presentation from someone
00:07:30.000 --> 00:07:32.240
in the university who was telling us
00:07:32.240 --> 00:07:34.840
how to use data science in the industry and everything.
00:07:34.840 --> 00:07:36.320
They said, you should know Python.
00:07:36.320 --> 00:07:39.440
And we were like, oh, but we were not taught Python.
00:07:39.440 --> 00:07:41.600
And we are just one or two months away
00:07:41.600 --> 00:07:43.360
from doing our internships and everything,
00:07:43.360 --> 00:07:44.440
and we don't know Python.
00:07:44.440 --> 00:07:47.600
So that's when I started looking into Python.
00:07:47.600 --> 00:07:50.720
I got an internship, and then I actually
00:07:50.720 --> 00:07:52.400
started learning more of Python.
00:07:52.400 --> 00:07:55.880
So this was 2016 I'm talking about.
00:07:55.880 --> 00:08:00.360
And yeah, since then it has been a wild, wild ride.
00:08:00.360 --> 00:08:04.680
I have written a lot of Java, a lot of R,
00:08:04.680 --> 00:08:07.360
but Python seems to be very easy to write,
00:08:07.360 --> 00:08:10.640
easy to understand, plus the community behind it
00:08:10.640 --> 00:08:13.400
and the packages behind it are so vast
00:08:13.400 --> 00:08:15.240
that you can use it for anything.
00:08:15.240 --> 00:08:18.080
- Yeah, I saw a funny T-shirt once that said,
00:08:18.080 --> 00:08:20.920
"I learned Python, it was a great weekend."
00:08:20.920 --> 00:08:22.920
which I think is really funny, right?
00:08:22.920 --> 00:08:24.100
(laughing)
00:08:24.100 --> 00:08:27.080
Because on one hand, yeah, sure, you can go through,
00:08:27.080 --> 00:08:28.360
and actually the language is simple,
00:08:28.360 --> 00:08:29.620
especially if you know something else
00:08:29.620 --> 00:08:31.440
that's like Java or C++,
00:08:31.440 --> 00:08:33.920
this is a breath of fresh air, right?
00:08:33.920 --> 00:08:35.160
But on the other hand,
00:08:35.160 --> 00:08:36.600
I've been doing this for a long time,
00:08:36.600 --> 00:08:37.440
all day, every day,
00:08:37.440 --> 00:08:39.520
and I'm still learning Python every day, right?
00:08:39.520 --> 00:08:42.240
So it's this really interesting juxtaposition
00:08:42.240 --> 00:08:44.360
of you can learn the language really easily,
00:08:44.360 --> 00:08:46.120
but then there's the standard library,
00:08:46.120 --> 00:08:48.420
and then there's 300,000 PyPI packages,
00:08:48.420 --> 00:08:50.080
like Airflow is just one of them,
00:08:50.080 --> 00:08:51.540
and that's our whole topic today, right?
00:08:51.540 --> 00:08:54.480
So it's kind of both, right?
00:08:54.480 --> 00:08:56.640
- Yeah, and the language keeps growing.
00:08:56.640 --> 00:08:59.880
So you gotta keep track of the cool new things
00:08:59.880 --> 00:09:02.720
that are released and things that are true in Python 2.7
00:09:02.720 --> 00:09:07.240
are definitely not true today with Python 3.10.
00:09:07.240 --> 00:09:08.440
It's grown a lot.
00:09:08.440 --> 00:09:09.620
- It definitely has.
00:09:09.620 --> 00:09:12.800
And I saw that Airflow is not supporting
00:09:12.800 --> 00:09:14.360
the older versions of Python,
00:09:14.360 --> 00:09:15.760
basically as they get deprecated.
00:09:15.760 --> 00:09:17.920
So yay for that, right?
00:09:17.920 --> 00:09:21.320
- Yeah, we have actually very, very strong rules
00:09:21.320 --> 00:09:23.280
following the Python release rules.
00:09:23.280 --> 00:09:26.280
So we've learned from what Python learned
00:09:26.280 --> 00:09:28.960
on the release schedule and we just follow it
00:09:28.960 --> 00:09:30.320
very, very closely.
00:09:30.320 --> 00:09:32.680
We like how much we have when we support,
00:09:32.680 --> 00:09:33.920
when we stop with support.
00:09:33.920 --> 00:09:34.760
- Yeah, that makes sense.
00:09:34.760 --> 00:09:36.080
- Difficult to maintain compatibility
00:09:36.080 --> 00:09:37.600
between Python two and three.
00:09:37.600 --> 00:09:39.140
That's a lot of overhead.
00:09:39.140 --> 00:09:42.680
- Actually, yes.
00:09:42.680 --> 00:09:44.600
- I have nightmares about it,
00:09:44.600 --> 00:09:46.760
cherry picking all the stuff from the main branch
00:09:46.760 --> 00:09:50.720
to the old release branch and adding Python to support.
00:09:50.720 --> 00:09:52.560
- But Kaxil, you cannot complain.
00:09:52.560 --> 00:09:55.200
I mean, we both, but Kaxil did that a lot.
00:09:55.200 --> 00:09:58.880
And thanks to that, we've been several times
00:09:58.880 --> 00:10:02.400
top committers on Apache organization.
00:10:02.400 --> 00:10:06.560
Like there is a like this week, most commits made.
00:10:06.560 --> 00:10:08.600
And that was us doing cherry picks
00:10:08.600 --> 00:10:11.560
between the three version and two seven version.
00:10:11.560 --> 00:10:14.320
And once we made it both at the same time
00:10:14.320 --> 00:10:17.080
top commuters on Apache.
00:10:17.080 --> 00:10:18.960
- I'm mad at GitHub though.
00:10:18.960 --> 00:10:22.480
GitHub does not count commits on any other branch
00:10:22.480 --> 00:10:24.040
except main or master.
00:10:24.040 --> 00:10:26.820
- Oh, not fair, not fair.