Shadowing Practice: All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI - Learn English Speaking with Video

Choose a practice mode

Each mode opens a full-screen practice room.

212 sentences
If sentences are too short or too long, click Edit to adjust them.
1
All right.
2
So again, my name is Potato.
3
I work on GropBot at SpaceX SI.
4
And can I ask you a quick show of hands, how many of you have ever looked at code that somebody else wrote and you thought,
5
that's all slop.
6
Well, I have two.
7
But today I'm going to convince you that you can turn that slop into gold.
8
And so I did something crazy last month and I shipped 3 ,000 Ploycrest to production.
9
Now before agents we never really cared about volume except for the outliers.
10
And at my previous company
11
we called these people coding machines people like brett taylor who
12
famously rewrote all of google maps in a weekend just an insanely productive engineer
13
and well with agents anyone can now be a coding machine
14
and my thesis is
15
that the job of the software engineer the meta of being a software engineer is figuring out how to maintain
16
or even improve the quality of your code
17
while massively increasing your productivity to get there some people like to call this a software factory
18
but i like to keep it simple
19
and i think of it as all about trust not blind trust
20
but investing in your agent's environment so you can trust that your agents are going to do the right thing
21
now it takes quite a lot of effort to get there
22
and it took me six months to get to a point
23
where I could ship thousands of pull requests a lot of them in my sleep
24
but it's certainly possible and it will take you much less time than I did
25
so let's start by talking about how we move from a low trust environment to a high trust one
26
so this inverse pyramid is how I think about where to
27
spend time on your agents environment the first two layers are deterministic
28
so using your code itself so things like good api design architecture refactoring
29
or using lint rules type systems compilers or you know different kinds of testing
30
and you can use both of these layers together to constrain what agents can do
31
and force them to do the right thing by default
32
verification both runtime and formal are great tools to layer on to find bugs
33
and check properties and the invariants in your system that you want to hold true,
34
and also help you check whether or not the agent understood your goals and your intent.
35
And then finally you want to layer with a little bit of pros, so things like rules, skills, agents .md, things that require judgment.
36
But let's start with your codebase.
37
Agents generate their outputs based on their inputs, and so the quality of the input really matters and it just
38
so happens that your code base is one of the largest inputs
39
so whenever you're correcting your agent think about how you can make
40
that a deterministic check instead of adding another line to your rules
41
or your agents .md because it's far more reproducible
42
when it's in code and it lets you trust it more
43
and the analogy that i like to use is
44
that your code base is kind of like a garden
45
you know code used to arrive a few pull requests at a time
46
and i remember going into work in 2024
47
and reviewing the three pull requests that my colleagues wrote colleagues wrote and today that number is more like 300.
48
so you know every engineer is now a team of hundreds
49
or even thousands of agents and code is arriving so rapidly
50
that it almost feels like a continuous stream and it almost feels organic like a living thing
51
and in this analogy your code base the constraints
52
that you impose the guardrails that you put up are the concrete foundations
53
that the new code that your agents write grow around just like the building in this picture
54
and so in many ways the job of being a software engineer is kind of becoming like gardening
55
because code is the biggest input for agents it means that any workarounds,
56
anti -patterns, deprecated code, tech depth,
57
it's now likely to be just copied by the next agent since it looks like the established pattern in your codebase.
58
And it's like you have some weeds or pests growing in your garden and then they spread everywhere before you know it.
59
So you want to make your codebase as pristine as possible so that agents are always copying the good stuff.
60
All right, let's look at some real examples.
61
So Dune is a client framework that we created for GroffBot to implement this idea for organic architecture.
62
It's not really that interesting technically.
63
You can kind of think of Dune as kind of like
64
Next .js for electron apps.
65
But the interesting part of Dune is that it has a lot of constraints
66
and lit rules that we've encoded a lot of the lessons that we've learned building desktop applications.
67
And one such lesson is that anything that requires nuance to use well often leads to slow.
68
Well, your classic example is useEffect in React.
69
It has its use cases, but it's often misused.
70
Some people joke that you need a PhD to use useEffect.
71
And in other words, it really requires a lot of nuance to use well.
72
And agents are not good at using it.
73
So our solution has been to just ban it in product code.
74
And it's really only allowed in some places is inside of Dune APIs.
75
And effectively, this problem has now been categorically eliminated.
76
And we never need to catch that during code review again.
77
Another interesting pattern that we use is context through directory structure.
78
So one anti -pattern that we saw with Cursor, which is an electron app,
79
is that agents would often import main thread code into the render thread, which would cause long tasks and jank.
80
So in Grokbot and in DuneApps, we've made this very, very conventional.
81
We have these two top -level directories, literally called ElectronRenderer and ElectronMain,
82
and imports between them are forbidden or banned by our dependency graph analyzer and some lint rules.
83
And again, these are simple lint rules to set up, but it means one less thing that we need to review and think about during CodeView.
84
And then one more surprising thing that I've seen is agents using markdown.
85
So things like documentation, code comments, rules or skills.
86
And they use this as a place to write down their justifications for not doing the right thing.
87
Or, I don't know if you've ever seen this, but they'll over -rotate on some small correction that you made,
88
and they treat it like a hard rule that can never be broken ever again.
89
And here's another example from Cursor.
90
so agents really loved using imperative timers
91
so things like set timeout request animation frame request idle callback
92
and they were using these as quick fixes
93
because they were really patching over an architecture clash between uh vs code's imperative style and reacts declarative style
94
so our choice of architecture actually made both the client and the agent performance much worse
95
And if you've ever done any performance work in JavaScript, you'll know that when you have tons of timers being rapidly created and destroyed,
96
it causes a lot of major garbage collection, which causes a lot of lag and jang.
97
But the worst part is that agents wrote a lot of code comments, like you can see in red here,
98
explaining why this quick fix was justified.
99
And before you know it, we had timers spreading everywhere, and the performance of the app really suffered.
100
Now in GrokBot, we learned our lesson there and we decided to just ban 99 % of comments
101
because they go stale easily.
102
Humans just really don't bother reading the comment slop anyway.
103
And again, it gives an agent an escape hatch to justify not doing the right thing because it's hard.
104
And the worst part about comments, though, is that they're not enforceable.
105
So what seems well intentioned, you know, like I'm going to tell the next agent not to do something,
106
never ends up actually being anything that you can trust.
107
So in GrokBot and Dune,
108
we now have lint rules that give good and very helpful error messages telling the agent to fix the root cause,
109
the real problem, rather than just patch around it.
110
And so our general principle is that every time we correct our agents, it turns into one of these deterministic checks,
111
Or we think about how to categorically eliminate that problem in the code through better API design, through better architecture.
112
And if you do this enough times, you'll find that you have just less things to look out for in code review.
113
And at some point you realize there's nothing left to review.
114
And you can just let agents merge most of their own pull requests.
115
all right uh moving on verification is also a really big part of how we make our agents more autonomous
116
and also increase our confidence and trust in their work
117
and our code review process has now really shrunk into looking at verification artifacts instead
118
so things like videos screenshots diagrams formal verification
119
And the most basic example of this is runtime verification,
120
which is just a fancy way of saying giving your agent a way to run the code for itself
121
and use debugging tools that human developers use as well, like the Chrome DevTools protocol.
122
In our runtime verification skills, we have this thing that we call a feature map.
123
And that's basically kind of like a sitemap of all of the features
124
that are available in your application from the user's point of view
125
and so with this agents don't need to guess
126
when you say you know the thingy
127
and the left sidebar it gives you some shared vocabulary
128
and we also make use of custom CLIs inside these skills
129
so that agents can reuse the CLI and the driver every time
130
which cuts down on token usage and is also testable
131
and then recently we've also started looking at formal verification
132
so we now use TLA plus to do some model checking
133
of major user flows such as notifications across multiple devices and platforms.
134
We use a lean as well for proving certain algorithms.
135
For example, we have our own, we wrote our own custom virtualization library and we use lean there to check
136
that we don't have you know flickering or jittering problems.
137
And we're still experimenting with this approach overall.
138
It seems very promising.
139
We've already found quite a few bugs with formal verification.
140
But it's certainly not a silver bullet, and we're treating it as another tool, another layer in our agent's environment.
141
And then this is a very fast video, but another thing that we just started looking at is property -based testing as well for UIs.
142
So we use this library called Bombadil, and this has also caught a few UI bugs for us already.
143
okay so zooming out I saw this tweet from Cindy
144
and six months ago she said
145
that she was she was talking about not being able to trust her agents
146
because of subtle bugs that were getting merged
147
and really what was missing for her in being able to trust her agents was the verification process
148
and now six months later she says
149
that 70 % of her daily tokens go into verification
150
and I'd say that that tracks with what i see as well that most of my token usage goes to verification
151
and if you really look closely at our process none of these things here are new
152
or novel techniques that we've never had before these are just good software engineering tools
153
but ones that might have been prohibitively expensive to use before as they were hard to understand
154
or write or maintain but agents drastically cut this cost down
155
and really we're entering a golden age of of software testing and verification,
156
because agents let us test everything to a much greater degree than used to be economical.
157
And then formal verification can also help you better reason about how your product should work
158
and whether your agents really understand your intent and goals.
159
I made this new skill called State Chart in my plugin potato stack,
160
which helps you visualize state machines from the user's point of view.
161
And I find this much easier to review alongside the videos and screenshots that we provide.
162
And so that's been great.
163
Sorry for the flashback.
164
Okay, now let's look at what the promised land looks like.
165
What do you get in return for all of this, you know, investment?
166
So on the Groffbot team, our velocity is taking off and rapidly increasing.
167
And last month, our team shipped
168
a ridiculous 11 000 pull requests to production which is a wild number
169
and our pace of releasing the client has also increased and we cut a new stable version about once a day
170
and then the core team is also shipping much more
171
and we also have a lot more casual
172
or drive -by contributors who don't always have a lot of context but they're also contributing
173
And in October, we had about 227 people who contributed at least one pull request.
174
So despite this velocity accelerating, you might be thinking to yourself, like, isn't this going to be chaos?
175
You know, isn't this going to be a bunch of slop?
176
But actually, the number of PRs
177
that get reverted has actually gotten lower on a relative basis and is steady at about half a percent.
178
But I think the really interesting thing about this this shipping pace and this volume of pull requests
179
is that the performance of GroffBot has stayed not just stable, but has improved on multiple dimensions compared to when we launched.
180
So startup, typing, opening new chats, switching chats, all of this has gotten faster.
181
And keep in mind, GroffBot is still an electron app for now.
182
So there is a ceiling, right?
183
But it's already much faster than many other Asian UIs out there.
184
And for an election app with this high velocity and this many people contributing, I'd say that's pretty good.
185
So before you jump into building out a software factory and automating everything that you can, whenever you correct your agent,
186
try and do it by improving your code base first.
187
Start with a lint rule to prevent new occurrences of anti -patterns, and then clean up those old patterns as well.
188
And then make sure that your verification story is really strong.
189
a lot of this work is a prerequisite to automation anyway
190
and if your inner coding loop produces slop then automating
191
that loop just produces more slop and you need to throw more
192
and more and more tokens at the problem
193
which we all know is very expensive
194
and once you meet these investments into you know code into your code base static analysis runtime informal verification
195
you'll start to find that many things become possible with these foundations
196
and that you can really easily build your own factory on top of these foundations.
197
And when you're ready, GropBot is a great way to build that outer loop.
198
We have tons of connectors, routines that can kick off cursor,
199
cloud agents, and projects which let you orchestrate thousands of hundreds or even thousands of agents.
200
And as a quick example, whenever we cut a new release now, Grockbot will automatically spin up a new cursor project for us
201
that will fuzz the entire application the entire build
202
and it will find bugs by running the app
203
and using it like a real user
204
and then it's gonna open fixed PRS for each of those bugs
205
that it finds and it's gonna auto merge it as crazy as
206
that sounds and that's because our code base is good enough
207
that pull requests tend to just be good by default
208
and most product code that we land no longer really requires deep human review
209
so when you have solid foundations and good organic architecture
210
you can turn slop into gold
211
and you can ship with high quality uh high velocity without
212
compromising on quality my name is potato also known as lauren thanks you again for listening to my talk

Download App

Everything you need to speak fluently

AI PronunciationScore every sentence
IPA PracticeMaster every sound
VocabularyBuild your word bank
Vocab GameLearn while playing

Same Channel

FOR YOU

Recommend Video

Vocabulary and speaking notes for this lesson

This speaking lesson is built on the video “All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI”. The speaker keeps coming back to these words: agent, code, verification. This video has 212 sentences and 2737 words to shadow. The speech runs for 17:01. The speaker talks at a natural 161 words per minute, close to everyday conversation. 83% of the words are among the 3,000 most common in English; the rest is worth studying before you start.

Key vocabulary in this video

15 words from the video worth learning, with pronunciation and meaning:

WordPronunciationMeaning
verification noun/ˌvɛ.ɹə.fɪˈkeɪ.ʃən/The act or process of verifying.
architecture noun/ˈɑː.kɪˌtɛk.t͡ʃə/The art and science of designing and managing the construction of buildings and other structures, particularly if they are well proportioned and decorated.
bug noun/bʌɡ/An insect of the order Hemiptera (the “true bugs”).
formal adjective/ˈfɔɹməl/In accordance with established forms.
layer noun/ˈleɪ̯ɚ/A single thickness of some material covering a surface.
input noun/ˈɪnpʊt/The act or process of putting in; infusion.
velocity noun/vəˈlɑsəti/A vector quantity that denotes the rate of change of position with respect to time, combining speed with a directional component.
token noun/ˈtoʊkən/Something serving as an expression of something else.
lesson noun/ˈlɛs.ən/A section of learning or teaching into which a wider learning content is divided.
organic adjective/ɔːˈɡænɪk/Pertaining to or derived from living organisms.
contribute verb/kənˈtɹɪb.jut/To give something that is or becomes part of a larger whole.
rapidly adverb/ˈɹæpɪdli/With speed; in a rapid manner.
loop noun/luːp/A length of thread, line or rope that is doubled over to make an opening.
potato noun/pəˈteɪ.təʊ/The edible starchy tuber of the plant species Solanum tuberosum.
electron noun/ɪˈlɛk.tɹɑn/The subatomic particle having a negative charge and orbiting the nucleus; the flow of electrons in a conductor constitutes electricity.

Phrasal verbs you will hear

WordPronunciationMeaning
build out verbTo develop or expand (a system, structure, project, etc.).
clean up verbTo make an area or a thing clean; to pick up a mess; to tidy.
end up verbTo bring to a conclusion.
figure out verbTo come to understand; to discover or find a solution; to deduce.
kick off verbTo make the first kick in a game or part of a game.
put up verbTo place in a high location.
set up verb/ˌsɛt ˈʌp/To make ready for use.
take off verbTo remove.

Grammar in this video

The structures the speaker uses most, with the exact words from the video:

StructureIn the video
Conditional sentences if + clause, will/would + verb — a condition and its resultif you do this enough times, you'll find
Present perfect have/has + past participle — a past action that still matters nowhave ever looked · we've encoded · has been
Passive voice be + past participle — the focus is on what happens, not who does itbe just copied · been categorically eliminated · are forbidden
Relative clauses who / which + clause — extra information about a person or thingCursor, which is · production which is · people who contributed

Pronunciation to watch

The speaker uses 33 contractions and reduced forms, such as we've, don't, we're. Say them the short way, as you hear them.

  • The “th” sounds: thread /ˈθɹɛd/, bother /ˈbɑðɚ/, thesis /ˈθisɪs/, algorithm /ˈælɡəɹɪðm̩/
  • The “sh” and “zh” sounds: verification /ˌvɛ.ɹə.fɪˈkeɪ.ʃən/, screenshot /ˈskriːn.ʃɑt/, intention /ɪnˈtɛnʃn̩/, conventional /kənˈvɛnʃənl̩/, casual /ˈkæʒ(u)əl/
  • Long words — get the stress right: verification /ˌvɛ.ɹə.fɪˈkeɪ.ʃən/, architecture /ˈɑː.kɪˌtɛk.t͡ʃə/, velocity /vəˈlɑsəti/, eliminate /ɪˈlɪm.ɪ.neɪt/, directory /dɪˈɹɛktəɹi/

How to practise with this video

  1. Listen to the whole video once without speaking and note the words you do not know.
  2. Start at 0.75× speed, shadow it sentence by sentence, then go back to normal speed once it feels easy.
  3. Record yourself and compare with the original, paying attention to words like verification, architecture, bug.

What is the Shadowing Technique?

Shadowing is a science-backed language learning technique originally developed for professional interpreter training and popularized by polyglot Dr. Alexander Arguelles. The method is simple but powerful: you listen to native English audio and immediately repeat it out loud — like a shadow following the speaker with just a 1–2 second delay. Unlike passive listening or grammar drills, shadowing forces your brain and mouth muscles to simultaneously process and reproduce real speech patterns. Research shows it significantly improves pronunciation accuracy, intonation, rhythm, connected speech, listening comprehension, and speaking fluency — making it one of the most effective methods for IELTS Speaking preparation and real-world English communication.

Shadowing technique: read the full step-by-step guide →