text
stringlengths
1
81
start
float64
0
10.1k
duration
float64
0
24.9
or doesn't copy paste the HTTP colon SL
6,559.96
6.679
slash or an htps colon slash right
6,563.159
5.281
honestly you and I are not in the habit
6,566.639
3.881
generally of even typing the protocol
6,568.44
3.88
anymore nowadays you just let the
6,570.52
3.56
browser figure it out for you and
6,572.32
4.799
automatically add it instead so this
6,574.08
4.2
one's going to look like more of a
6,577.119
3.681
mouthful but if I want this whole thing
6,578.28
5.439
here in blue to be optional it's
6,580.8
4.76
actually the same solution as Maria
6,583.719
3.681
offered a moment ago I'm going to go
6,585.56
4.039
ahead and put a parenthesis over here
6,587.4
4.64
and a parenthesis after the two slashes
6,589.599
3.681
and then
6,592.04
3.48
a question mark so it's to make that
6,593.28
4.439
whole thing optional as well and this is
6,595.52
4.719
okay it's totally fine to make this
6,597.719
5.681
whole thing optional or inside of it
6,600.239
5.761
this little thing just the S optional as
6,603.4
4.56
well so long as I'm applying the same
6,606
3.76
principles again and again either on a
6,607.96
3.759
small scale or a bigger scale it's
6,609.76
5.08
totally fine to Nest one of these inside
6,611.719
4.161
of the
6,614.84
4.879
other questions now on any of these
6,615.88
6.12
refinements to this parsing this
6,619.719
5.44
analyzing of Twitter what if we put a
6,622
7.84
vertical bar besides this www do what if
6,625.159
7.08
we use a a vertical bar there so we
6,629.84
4.319
could do something like that too we
6,632.239
4.841
could do something like this uh instead
6,634.159
6.56
of the question mark I could do www. or
6,637.08
5.76
nothing and just leave that in the
6,640.719
4.641
parenthesis that too would be fine I
6,642.84
3.92
personally tend not to like that because
6,645.36
3.279
it's a little less obvious to me wait a
6,646.76
3.359
minute is that deliberate or did I
6,648.639
3.241
forget to finish my thought by putting
6,650.119
3.681
something after the vertical bar but
6,651.88
4.48
that too would be allowed there as well
6,653.8
4.68
if that's what you mean other questions
6,656.36
3.719
on where we left things here where we
6,658.48
5.4
made the protocol optional too what
6,660.079
7.481
coulden if we have parenthesis and
6,663.88
5.279
inside we have another parenthesis and
6,667.56
3.559
another parenthesis interfere with each
6,669.159
3.761
other if you have parentheses inside of
6,671.119
4.641
parenthesis that too is totally fine and
6,672.92
5.08
indeed that should be one of the
6,675.76
5.08
reassuring lessons today as complicated
6,678
4.4
as each of these regular Expressions as
6,680.84
3.759
it admittedly gotten I'm just applying
6,682.4
4.16
the exact same principles and the exact
6,684.599
4.921
same syntax again and again so it's
6,686.56
4.72
totally fine to have parenthesis inside
6,689.52
3.28
of parentheses if they're each solving
6,691.28
3.28
different problems and in fact the
6,692.8
3.96
lesson I would really emphasize the most
6,694.56
5.44
today is that you will not be happy if
6,696.76
6.08
you try to write out a whole complicated
6,700
5
regular expression all at once like if
6,702.84
4.399
you're anything like me you will fail
6,705
4
and you will have trouble finding the
6,707.239
3.281
mistake because my God look at these
6,709
3.639
things they are even to me all these
6,710.52
4.48
years later cryptic the better way I
6,712.639
4
would argue whether you're new to
6,715
4.079
programming or as old to it as I am is
6,716.639
5
to just take these baby steps these
6,719.079
4.08
incremental steps where you do something
6,721.639
3.401
simple you make sure it works you add
6,723.159
4.121
one more feature make sure it works add
6,725.04
4.28
one more feature make sure it works and
6,727.28
3.52
hopefully by the end because you've done
6,729.32
4
each of those steps one at a time the
6,730.8
4.799
whole thing will make sense to you but
6,733.32
3.96
you'll also have gotten each of those
6,735.599
5.761
steps correct um at each turn so please
6,737.28
6.959
do avoid the inclination to try to come
6,741.36
4.64
up with long sophisticated regular
6,744.239
3.4
Expressions all at once because it's
6,746
3.8
just not a good use of a time if you
6,747.639
3.52
then stare at it trying to find a
6,749.8
3
mistake that you could have caught if
6,751.159
3.361
you did things more incrementally
6,752.8
3.64
instead all right there Still Remains
6,754.52
4
arguably at least one problem with this
6,756.44
3.84
solution in that even though I'm calling
6,758.52
5.04
re.sub to substitute the URL with
6,760.28
6
nothing quote unquote I then on my final
6,763.56
4.599
line of code line six I'm just blindly
6,766.28
3.68
assuming that it all worked and I'm
6,768.159
3.321
going to go ahead and print out the
6,769.96
3.96
username but what if the user if I clear
6,771.48
3.88
my screen here and run python of
6,773.92
4.159
twitter. doesn't even type a Twitter URL
6,775.36
4.4
what if they do something like
6,778.079
3.761
https
6,779.76
4.04
www.google.com like completely
6,781.84
5.44