text stringlengths 1 81 | start float64 0 10.1k | duration float64 0 24.9 |
|---|---|---|
the API is, how you can configure
it, what properties you have to set. | 5,790 | 3.42 |
And so for switch we had the value
which was either true or false. | 5,793.42 | 4.37 |
And we had on value change which was, I
believe, the name of the prop that gets | 5,797.79 | 4.9 |
called every single time
you change that value. | 5,802.69 | 3.31 |
And so it just fit that API
to whatever you're using. | 5,806 | 6.83 |
And then, of course, if you
have trouble even then, then | 5,812.83 | 3.06 |
you can turn to the community. | 5,815.89 | 1.83 |
A great thing about React,
React Native is the community. | 5,817.72 | 3.584 |
Lots and lots of people use
React, lots and lots of people | 5,821.304 | 2.416 |
use React Native and a
lot of them are experts | 5,823.72 | 3.942 |
who were once beginners themselves. | 5,827.662 | 1.458 |
And everybody remembers when they
were first learning React and React | 5,829.12 | 3.23 |
Native there's just a
lot around and there's | 5,832.35 | 2.38 |
a lot of stuff in the ecosystem. | 5,834.73 | 2.04 |
And the community's really great in
helping each other learn what's around | 5,836.77 | 5.13 |
and how to best solve their problems. | 5,841.9 | 1.612 |
And so just ask the question. | 5,843.512 | 1.208 |
You can ask it in Slack
if you're part of a class. | 5,844.72 | 2.76 |
You can ask it on something like
Stack Overflow or just Google around. | 5,847.48 | 4.299 |
And so if you run into a
problem odds are somebody else | 5,851.779 | 2.291 |
has already run into the problem and
odds are somebody better than you, | 5,854.07 | 4.93 |
better than I have solved that problem. | 5,859 | 2.47 |
And you can go ahead
and use their solution. | 5,861.47 | 3.89 |
And so any time you get stuck
feel free to either browse | 5,865.36 | 4.44 |
the documentation yourself or reach
out to the staff with any questions. | 5,869.8 | 5.82 |
And so, yeah, that's all
I have for you today. | 5,875.62 | 3.49 |
Good luck starting your project. | 5,879.11 | 1.61 |
It will be released before next Monday. | 5,880.72 | 3.32 |
foreign | 1.26 | 11.999 |
[Music] | 3.41 | 9.849 |
[Music] | 15.28 | 6.869 |
this is cs50's Introduction to | 25.34 | 4.48 |
programming with python my name is David | 27.96 | 4.439 |
Malin and this is our week on file IO | 29.82 | 4.919 |
input and output of files so up until | 32.399 | 4.201 |
now most every program we've written | 34.739 | 3.84 |
just stores all the information that it | 36.6 | 4.56 |
collects in memory that is in variables | 38.579 | 4.681 |
or inside of the program itself a | 41.16 | 3.54 |
downside of which is that as soon as the | 43.26 | 3.24 |
program exits anything you typed in | 44.7 | 3.359 |
anything that you did with that program | 46.5 | 4.559 |
is lost now with files of course on your | 48.059 | 4.921 |
Mac or PC you can hang on to information | 51.059 | 4.381 |
long term and file i o within the | 52.98 | 3.78 |
context of programming is all about | 55.44 | 3.959 |
writing code that can read from that is | 56.76 | 5.04 |
load information from or write to that | 59.399 | 5.101 |
is save information to files themselves | 61.8 | 4.62 |
so let's see if we can't transition then | 64.5 | 4.38 |
from only using memory and variables and | 66.42 | 4.379 |
the like to actually writing code that | 68.88 | 3.599 |
saves some files for us and therefore | 70.799 | 4.801 |
data persistently well to do this let me | 72.479 | 4.68 |
propose that we first consider a | 75.6 | 3.72 |
familiar data structure a familiar type | 77.159 | 3.96 |
of variable that we've seen before that | 79.32 | 3.839 |
of a list and using lists we've been | 81.119 | 4.021 |
able to store more than in one piece of | 83.159 | 3.661 |
information in the past using one | 85.14 | 3.299 |
variable we typically store one value | 86.82 | 3.96 |
but if that variable is a list we can | 88.439 | 4.081 |
store multiple values unfortunately | 90.78 | 3.6 |
lists are stored in the computer's | 92.52 | 4.02 |
memory and so once your program exits | 94.38 | 4.26 |
even the contents of those disappear but | 96.54 | 3.719 |
let's at least give ourselves a starting | 98.64 | 3.96 |
point so I'm over here in vs code and | 100.259 | 3.841 |
I'm going to go ahead and create a | 102.6 | 4.379 |
simple program using Code of names dot | 104.1 | 5.339 |
Pi a program that just collects people's | 106.979 | 4.621 |
names students names if you will and I'm | 109.439 | 4.14 |
going to do it super simply initially in | 111.6 | 3.36 |
a manner consistent with what we've done | 113.579 | 3.241 |
in the past to get user input and print | 114.96 | 3.42 |
it back out I'm going to say something | 116.82 | 4.74 |
like this name equals input quote | 118.38 | 6.059 |
unquote what's your name thereby storing | 121.56 | 5.339 |
in a variable called name the return | 124.439 | 5.221 |
value of input as always and as always | 126.899 | 4.2 |
I'm going to go ahead and very simply | 129.66 | 3.36 |
print out a nice F string that says | 131.099 | 4.321 |
hello comma and then in curly brace's | 133.02 | 4.32 |
name to print out hello David hello | 135.42 | 4.26 |
world however happens to be using the | 137.34 | 3.899 |
program let me go ahead and run this | 139.68 | 3 |
just to remind myself what I should | 141.239 | 3.841 |
expect and if I run python names.pi and | 142.68 | 4.38 |
hit enter type in my name like David of | 145.08 | 4.739 |
course I now see hello comma David so | 147.06 | 4.38 |
suppose though that we wanted to add | 149.819 | 3.301 |
support not just for one name but | 151.44 | 3.72 |
multiple names maybe three names for the | 153.12 | 3.479 |
sake of discussion so that we can begin | 155.16 | 4.26 |
to accumulate some amount of information | 156.599 | 5.161 |
in the program such that it's really | 159.42 | 4.2 |
going to be a downside if we keep | 161.76 | 4.44 |
throwing it away once the program exits | 163.62 | 5.1 |
well let me go back into names.pi up | 166.2 | 4.8 |
here atub let me proactively give myself | 168.72 | 4.68 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.