跟讀練習: 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
同頻道
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/
如何用這段影片練習
- 先完整聽一遍影片,不要開口,記下不認識的單詞。
- 先用 0.75 倍速逐句跟讀,熟練之後再回到正常速度。
- 錄下自己的聲音並與原聲對比,特別注意 architecture, bug, formal 這類單詞。
什麼是跟讀法?
跟讀法 (Shadowing) 是一種有科學依據的語言學習技巧,最初開發用於專業口譯員的培訓,並由多語言者Alexander Arguelles博士普及。這個方法簡單而強大:您在聽英語母語原聲的同時立即大聲重複——就像是一個延遲1-2秒緊跟說話者的影子。與被動聽力或語法練習不同,跟讀法強迫您的大腦和口腔肌肉同時處理並模模擬實的講話模式。研究表明它能顯著提高發音準確性,語調,節奏,連讀,聽力理解和口語流利度——使其成為雅思口語備考和真實英語交流最有效的方法之一。






















