episode
stringlengths
45
100
text
stringlengths
1
528
timestamp_link
stringlengths
56
56
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and the founder of Discourse, an open source software
https://karpathy.ai/lexicap/0007-large.html#00:00:24.000
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
project that seeks to improve the quality of our online
https://karpathy.ai/lexicap/0007-large.html#00:00:27.160
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
community discussions.
https://karpathy.ai/lexicap/0007-large.html#00:00:31.160
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
This conversation is part of the MIT course
https://karpathy.ai/lexicap/0007-large.html#00:00:33.440
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
on artificial general intelligence
https://karpathy.ai/lexicap/0007-large.html#00:00:36.640
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and the artificial intelligence podcast.
https://karpathy.ai/lexicap/0007-large.html#00:00:38.480
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
If you enjoy it, subscribe on YouTube, iTunes,
https://karpathy.ai/lexicap/0007-large.html#00:00:40.840
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
or your podcast provider of choice,
https://karpathy.ai/lexicap/0007-large.html#00:00:43.720
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
or simply connect with me on Twitter at Lex Friedman,
https://karpathy.ai/lexicap/0007-large.html#00:00:45.620
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
spelled F R I D.
https://karpathy.ai/lexicap/0007-large.html#00:00:48.720
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
And now, here's my conversation with Jeff Atwood.
https://karpathy.ai/lexicap/0007-large.html#00:00:51.000
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Having co created and managed for a few years
https://karpathy.ai/lexicap/0007-large.html#00:00:56.200
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
the world's largest community of programmers in Stack Overflow
https://karpathy.ai/lexicap/0007-large.html#00:00:59.120
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
10 years ago, what do you think motivates most programmers?
https://karpathy.ai/lexicap/0007-large.html#00:01:02.960
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Is it fame, fortune, glory, process of programming itself,
https://karpathy.ai/lexicap/0007-large.html#00:01:08.600
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
or is it the sense of belonging to a community?
https://karpathy.ai/lexicap/0007-large.html#00:01:13.320
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
It's puzzles, really.
https://karpathy.ai/lexicap/0007-large.html#00:01:16.440
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
I think it's this idea of working on puzzles
https://karpathy.ai/lexicap/0007-large.html#00:01:17.960
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
independently of other people and just solving a problem,
https://karpathy.ai/lexicap/0007-large.html#00:01:22.320
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
sort of like on your own almost.
https://karpathy.ai/lexicap/0007-large.html#00:01:25.800
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Although, nobody really works alone in programming anymore.
https://karpathy.ai/lexicap/0007-large.html#00:01:28.360
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
But I will say there's an aspect of hiding yourself away
https://karpathy.ai/lexicap/0007-large.html#00:01:32.280
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and just beating on a problem until you solve it,
https://karpathy.ai/lexicap/0007-large.html#00:01:36.480
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
like brute force basically to me is
https://karpathy.ai/lexicap/0007-large.html#00:01:39.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
what a lot of programming is.
https://karpathy.ai/lexicap/0007-large.html#00:01:41.120
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
The computer's so fast that you can
https://karpathy.ai/lexicap/0007-large.html#00:01:43.000
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
do things that would take forever for a human,
https://karpathy.ai/lexicap/0007-large.html#00:01:44.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
but you can just do them so many times and so often
https://karpathy.ai/lexicap/0007-large.html#00:01:46.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
that you get the answer.
https://karpathy.ai/lexicap/0007-large.html#00:01:49.200
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
You're saying just the pure act of tinkering with the code
https://karpathy.ai/lexicap/0007-large.html#00:01:52.040
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
is the thing that drives most problems.
https://karpathy.ai/lexicap/0007-large.html#00:01:55.520
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
The struggle balance within the joy of overcoming,
https://karpathy.ai/lexicap/0007-large.html#00:01:58.680
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
the brute force process of pain and suffering
https://karpathy.ai/lexicap/0007-large.html#00:02:03.000
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
that eventually leads to something that actually works.
https://karpathy.ai/lexicap/0007-large.html#00:02:05.960
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Well, data's fun, too.
https://karpathy.ai/lexicap/0007-large.html#00:02:09.240
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
There's this thing called the shuffling problem.
https://karpathy.ai/lexicap/0007-large.html#00:02:10.200
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
The naive shuffle that most programmers write
https://karpathy.ai/lexicap/0007-large.html#00:02:12.360
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
has a huge flaw, and there's a lot of articles
https://karpathy.ai/lexicap/0007-large.html#00:02:14.960
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
online about this because it can be really bad
https://karpathy.ai/lexicap/0007-large.html#00:02:16.920
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
if you're a casino and you have an unsophisticated programmer
https://karpathy.ai/lexicap/0007-large.html#00:02:18.920
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
writing your shuffle algorithm.
https://karpathy.ai/lexicap/0007-large.html#00:02:22.040
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
There's surprising ways to get this wrong,
https://karpathy.ai/lexicap/0007-large.html#00:02:23.480
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
but the neat thing is the way to figure that out
https://karpathy.ai/lexicap/0007-large.html#00:02:25.240
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
is just to run your shuffle a bunch of times
https://karpathy.ai/lexicap/0007-large.html#00:02:27.240
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and see how many orientations of cards you get.
https://karpathy.ai/lexicap/0007-large.html#00:02:29.040
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
You should get an equal distribution of all the cards.
https://karpathy.ai/lexicap/0007-large.html#00:02:32.200
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
And with the naive method of shuffling,
https://karpathy.ai/lexicap/0007-large.html#00:02:34.680
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
if you just look at the data, if you just brute force it
https://karpathy.ai/lexicap/0007-large.html#00:02:36.360
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and say, OK, I don't know what's going to happen,
https://karpathy.ai/lexicap/0007-large.html#00:02:38.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
you just write a program that does it a billion times
https://karpathy.ai/lexicap/0007-large.html#00:02:40.880
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and then see what the buckets look like of the data.
https://karpathy.ai/lexicap/0007-large.html#00:02:43.320
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
And the Monty Hall problem is another example of that,
https://karpathy.ai/lexicap/0007-large.html#00:02:46.040
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
where you have three doors and somebody gives you
https://karpathy.ai/lexicap/0007-large.html#00:02:48.200
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
information about another door.
https://karpathy.ai/lexicap/0007-large.html#00:02:50.600
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
So the correct answer is you should always
https://karpathy.ai/lexicap/0007-large.html#00:02:52.680
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
switch in the Monty Hall problem, which is not intuitive,
https://karpathy.ai/lexicap/0007-large.html#00:02:54.480
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and it freaks people out all the time.
https://karpathy.ai/lexicap/0007-large.html#00:02:56.400
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
But you can solve it with data.
https://karpathy.ai/lexicap/0007-large.html#00:02:58.040
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
If you write a program that does the Monty Hall game
https://karpathy.ai/lexicap/0007-large.html#00:02:59.760
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and then never switches, then always switches, just compare,
https://karpathy.ai/lexicap/0007-large.html#00:03:04.360
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
you would immediately see that you don't have to be smart.
https://karpathy.ai/lexicap/0007-large.html#00:03:06.840
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
You don't have to figure out the answer algorithmically.
https://karpathy.ai/lexicap/0007-large.html#00:03:09.640
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
You can just brute force it out with data and say, well,
https://karpathy.ai/lexicap/0007-large.html#00:03:11.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
I know the answer is this because I ran the program
https://karpathy.ai/lexicap/0007-large.html#00:03:13.360
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
a billion times, and these are the data buckets
https://karpathy.ai/lexicap/0007-large.html#00:03:15.440
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
that I got from it.
https://karpathy.ai/lexicap/0007-large.html#00:03:17.440
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
So empirically find it.
https://karpathy.ai/lexicap/0007-large.html#00:03:18.920
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
But what's the joy of that?
https://karpathy.ai/lexicap/0007-large.html#00:03:20.280
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
So for you, for you personally, outside of family,
https://karpathy.ai/lexicap/0007-large.html#00:03:22.280
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
what motivates you in this process?
https://karpathy.ai/lexicap/0007-large.html#00:03:26.320
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Well, to be honest, I don't really
https://karpathy.ai/lexicap/0007-large.html#00:03:29.400
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
write a lot of code anymore.
https://karpathy.ai/lexicap/0007-large.html#00:03:30.960
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
What I do at Discourse is managery stuff,
https://karpathy.ai/lexicap/0007-large.html#00:03:32.520
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
which I always despised.
https://karpathy.ai/lexicap/0007-large.html#00:03:35.040
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
As a programmer, you think of managers
https://karpathy.ai/lexicap/0007-large.html#00:03:37.800
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
as people who don't really do anything themselves.
https://karpathy.ai/lexicap/0007-large.html#00:03:39.200
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
But the weird thing about code is you
https://karpathy.ai/lexicap/0007-large.html#00:03:42.320
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
realize that language is code.
https://karpathy.ai/lexicap/0007-large.html#00:03:43.960
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
The ability to direct other people
https://karpathy.ai/lexicap/0007-large.html#00:03:45.880
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
lets you get more stuff done than you
https://karpathy.ai/lexicap/0007-large.html#00:03:48.280
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
could by yourself anyway.
https://karpathy.ai/lexicap/0007-large.html#00:03:50.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
You said language is code?
https://karpathy.ai/lexicap/0007-large.html#00:03:52.240
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Language is code.
https://karpathy.ai/lexicap/0007-large.html#00:03:53.600
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Meaning communication with other humans?
https://karpathy.ai/lexicap/0007-large.html#00:03:54.360
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Yes, it is.
https://karpathy.ai/lexicap/0007-large.html#00:03:56.040
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
You can think of it as a systematic.
https://karpathy.ai/lexicap/0007-large.html#00:03:56.840
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
So what is it like to be, what makes,
https://karpathy.ai/lexicap/0007-large.html#00:03:58.480
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
before we get into programming, what makes a good manager?
https://karpathy.ai/lexicap/0007-large.html#00:04:01.760
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
What makes a good leader?
https://karpathy.ai/lexicap/0007-large.html#00:04:04.280
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Well, I think a leader, it's all about leading by example,
https://karpathy.ai/lexicap/0007-large.html#00:04:05.800
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
first of all, sort of doing and being the things
https://karpathy.ai/lexicap/0007-large.html#00:04:08.280
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
that you want to be.
https://karpathy.ai/lexicap/0007-large.html#00:04:11.400
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
Now, this can be kind of exhausting,
https://karpathy.ai/lexicap/0007-large.html#00:04:12.440
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
particularly when you have kids, because you
https://karpathy.ai/lexicap/0007-large.html#00:04:13.600
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
realize that your kids are watching you all the time,
https://karpathy.ai/lexicap/0007-large.html#00:04:14.760
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
even in ways that you've stopped seeing yourself.
https://karpathy.ai/lexicap/0007-large.html#00:04:17.760
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
The hardest person to see on the planet is really yourself.
https://karpathy.ai/lexicap/0007-large.html#00:04:20.720
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
It's a lot easier to see other people
https://karpathy.ai/lexicap/0007-large.html#00:04:23.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
and make judgments about them.
https://karpathy.ai/lexicap/0007-large.html#00:04:24.560
Jeff Atwood: Stack Overflow and Coding Horror | Lex Fridman Podcast #7
But yourself, you're super biased.
https://karpathy.ai/lexicap/0007-large.html#00:04:26.240