跟读练习: All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI - 通过视频学习英语口语

选择练习模式

每种模式都会打开全屏练习室。

212 句
如果句子过短或过长,请点击 Edit 进行调整。
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

下载应用

流利口语所需的一切

AI 发音评分逐句打分
音标练习掌握每个音
词汇学习建立你的词库
词汇游戏边玩边学

同频道

FOR YOU

推荐视频

本课的词汇与口语要点

这节口语课以视频“All Code Is Slop (Except Mine) — Lauren Tan, SpaceXSI”为素材。 视频中反复出现的词有:agent, code, verification。 这段视频共有 212 个句子、2737 个单词可供跟读。 讲话部分时长为 17:01。 说话人语速自然,每分钟约 161 个词,接近日常对话。 83% 的单词属于英语最常用的 3,000 词,其余的词建议在练习前先学一下。

视频中的重点词汇

视频中 15 个值得学习的单词,附发音和释义:

单词发音释义
architecture 名词/ˈɑː.kɪˌtɛk.t͡ʃə/建築 /建筑, 建築學 /建筑学
bug 名词/bʌɡ/臭蟲 /臭虫
formal 形容词/ˈfɔɹməl/正式
layer 名词/ˈleɪ̯ɚ/層 /层
input 名词/ˈɪnpʊt/輸入 /输入
velocity 名词/vəˈlɑsəti/速度
token 名词/ˈtoʊkən/代幣 /代币, 籌碼 /筹码
lesson 名词/ˈlɛs.ən/課業 /课业, -課 /-课
organic 形容词/ɔːˈɡænɪk/生物的
contribute 动词/kənˈtɹɪb.jut/貢獻 /贡献
rapidly 副词/ˈɹæpɪdli/迅速地, 快速地
loop 名词/luːp/圈, 環 /环
potato 名词/pəˈteɪ.təʊ/土豆, 馬鈴薯 /马铃薯
electron 名词/ɪˈlɛk.tɹɑn/電子 /电子
merge 动词/mɝd͡ʒ/合并

视频中出现的短语动词

单词发音释义
end up 动词到达
figure out 动词弄清楚
take off 动词脫 /脱
write down 动词寫下來 /写下来, 寫下 /写下
zoom out 动词/ˌzuːm ˈaʊt/縮小 /缩小

视频中的语法

说话人最常用的结构,并附上视频中的原话:

结构视频中的用法
条件句 if + 从句,will/would + 动词 — 条件及其结果if you do this enough times, you'll find
现在完成时 have/has + 过去分词 — 过去发生但与现在仍有关联的事have ever looked · we've encoded · has been
被动语态 be + 过去分词 — 强调发生了什么,而不是谁做的be just copied · been categorically eliminated · are forbidden
定语从句 who / which + 从句 — 补充说明人或事物Cursor, which is · production which is · people who contributed

需要注意的发音

说话人用了 33 次缩略和弱读形式,例如 we've, don't, we're。请按听到的简短形式来说。

  • “th” 音: thread /ˈθɹɛd/, bother /ˈbɑðɚ/, thesis /ˈθisɪs/, algorithm /ˈælɡəɹɪðm̩/
  • “sh” 和 “zh” 音: verification /ˌvɛ.ɹə.fɪˈkeɪ.ʃən/, screenshot /ˈskriːn.ʃɑt/, intention /ɪnˈtɛnʃn̩/, conventional /kənˈvɛnʃənl̩/, casual /ˈkæʒ(u)əl/
  • 长单词——注意重音位置: verification /ˌvɛ.ɹə.fɪˈkeɪ.ʃən/, architecture /ˈɑː.kɪˌtɛk.t͡ʃə/, velocity /vəˈlɑsəti/, eliminate /ɪˈlɪm.ɪ.neɪt/, directory /dɪˈɹɛktəɹi/

中文母语者容易读错的音:

  • /v/ — 不要读成 /w/,上齿轻触下唇: verification /ˌvɛ.ɹə.fɪˈkeɪ.ʃən/, velocity /vəˈlɑsəti/, arrive /əˈɹaɪv/, imperative /ɪmˈpɛɹ.ə.tɪv/, relative /ˈɹɛl.ə.tɪv/
  • 词尾辅音 — 要读清楚,后面不要加元音: bug /bʌɡ/, input /ˈɪnpʊt/, organic /ɔːˈɡænɪk/, contribute /kənˈtɹɪb.jut/, loop /luːp/
  • /r/ 和 /l/ 的区别: formal /ˈfɔɹməl/, rapidly /ˈɹæpɪdli/, electron /ɪˈlɛk.tɹɑn/, relative /ˈɹɛl.ə.tɪv/, ridiculous /ɹɪˈdɪk.jə.ləs/

如何用这段视频练习

  1. 先完整听一遍视频,不要开口,记下不认识的单词。
  2. 先用 0.75 倍速逐句跟读,熟练之后再回到正常速度。
  3. 录下自己的声音并与原声对比,特别注意 architecture, bug, formal 这类单词。

什么是跟读法?

跟读法 (Shadowing) 是一种有科学依据的语言学习技巧,最初开发用于专业口译员的培训,并由多语言者Alexander Arguelles博士普及。这个方法简单而强大:您在听英语母语原声的同时立即大声重复——就像是一个延迟1-2秒紧跟说话者的影子。与被动听力或语法练习不同,跟读法强迫您的大脑和口腔肌肉同时处理并模仿真实的讲话模式。研究表明它能显着提高发音准确性,语调,节奏,连读,听力理解和口语流利度——使其成为雅思口语备考和真实英语交流最有效的方法之一。

影子跟读法: 阅读完整分步指南 →