说话人 0when you use ai for writing, it's actually really important to not take your first instinct and go deep on it. naturally, what are you going to do? you're going to copy and paste this content, put it into ChatGPT, put it into codex, and tell it to do some shit with it. if all you've given the ai is one idea, it will do what you say and follow that one idea. when you tell the ai, i'm not sure about exactly which idea i want to explore, it truly knows that. context window is seeded with the entire breadth of options, and it's much easier to tell ai to pick certain elements of it. it's much easier for it to propose different ideas that you might not be thinking about as you go down one specific vertical, because it has the context of everything you're exploring. all right, everyone. today's episode was one that we have been waiting to do for a while, which was exactly how do you use ai for writing? is there such thing as too much? is there such thing as too little? We talk about a couple things over with Aaron, the cofounder over at Boundary, which is one, what models should you use for AI for writing. Two, how do you use AI to actually plan out presentation slide decks that you're going to give to an audience that has never met you and how do you not have a reputation of being a slop factory by accident? We thought we go through the general outlining process, how we use AI during the outlining process, uh, all the way from like starting with breadth for search to grabbing tweets and blog posts that are relevant to it. All the way down to actually producing slides that are generated by AI and actually show really interesting animations. And again, don't feel like slop even though they're still using AI behind the scenes. And the last thing that we talk about is how do you build true engineering docs internally in your team that record some of the decisions and what level of AI do you build into it? What level of automation do you give to people? So that again, your team isn't exhausted by AI slop being regurgitated around between everyone. We don't want teams of Claude talking to Claude. We want humans talking to humans, but by leveraging the tools that are out there today. so with that, let's get started. how's it going, everyone? so today's episode on ai that works is going to be one that i'm particularly excited about. sadly, dexter can't make it, so we'll have to go ahead with myself. and i believe aaron's going to be joining in just a second. but just to give you a brief intro, this is ai that works. this is a show where we talk about real systems that leverage ai and help us build real pipelines that actually go to production. One of the things that we like to do is skip all the hype and go to things that are practical and ways that we operate our companies today. Today's episode is one in particular that we are super excited about, which is how do you use AI for writing? I think there's a lot of controversy out there. There's people out there that say I will never use AI for writing. There's people where, I mean, we've all seen the LinkedIn slop where everything is full slop. So finding that striking that balance and figuring out where that is, um, and how good the models are at it and how to make the models better at it is the whole topic for today's conversation. And I think a particular place that we're going to dive into is in the angle of what models do we use, exactly how do we make certain decisions in terms of how much AI writing is allowed. Um, and also second dimension, which is, is that okay? Like, is it okay to have a lot of slop writing on the wall? Uh, and how much slop is acceptable? With me, I've got my co-host today, Aaron. Do you want to give a brief intro?
用 AI 写作时,千万别只凭第一直觉就深入展开,这一点其实非常重要。 人自然会怎么做呢? 你会复制粘贴这些内容,把它放进 ChatGPT,放进 Codex,然后让它拿这些内容做点什么。 如果你只给 AI 一个想法,它就会照你说的做,沿着那一个想法继续。 当你告诉 AI:“我还不确定想具体探索哪个想法”,它确实能理解这一点。 上下文窗口里包含了各种选项的全貌,这样一来,让 AI 从中挑选某些元素就容易得多。 当你沿着某个具体方向深入时,它也更容易提出你可能没想到的其他想法,因为它掌握了你正在探索的所有内容。 好了,大家好。 今天这期节目是我们期待已久的一期,主题正是:如何用 AI 写作? AI 用得太多,有这种可能吗? AI 用得太少,有这种可能吗? 我们和 Boundary 的联合创始人 Aaron 聊了几个话题。第一,写作时应该使用哪些 AI 模型? 第二,如何用 AI 规划演示文稿的幻灯片,向一群从未见过你的人进行展示?又该如何避免不小心落下“粗制滥造工厂”的名声? 我们打算从整体的列提纲流程讲起,聊聊我们如何在列提纲时使用 AI——从一开始广泛搜索,到收集相关的推文和博客文章。 再到最后,实际制作由 AI 生成、并展现出有趣动画效果的幻灯片。 而且,尽管幕后仍在使用 AI,也别觉得这些内容像是粗制滥造的垃圾。 最后,我们还会聊聊如何在团队内部编写真正的工程文档,记录一些决策,以及该在其中融入多少 AI。 要给人们多大程度的自动化权限? 这样,团队成员就不会因为大家互相转发、反复生成的 AI 垃圾内容而筋疲力尽。 我们不想让一群 Claude 彼此对话。 我们希望人与人交谈,同时借助当今现有的工具。 那么,事不宜迟,我们开始吧。 大家好,最近怎么样? 今天这期《AI That Works》,我特别期待。 很遗憾,Dexter 来不了,所以今天就由我一个人先开始。 我想 Aaron 马上就会加入。 先简单介绍一下,这是《AI That Works》。 这是一档探讨真实 AI 系统的节目,聊聊如何利用它们构建真正能够投入生产的实际流水线。 我们喜欢做的一件事,就是跳过那些炒作,聊聊实用的内容,以及如今我们经营公司时的做法。 今天这期节目尤其让我们兴奋,主题是:如何用 AI 写作? 我觉得这件事争议很大。 有人说自己绝不会用 AI 写作。 还有人——我是说,我们都见过 LinkedIn 上那些粗制滥造的内容,满屏都是这种东西。 所以,如何找到恰到好处的平衡、弄清楚这个度在哪里,嗯,以及模型在这方面表现如何、怎样让模型做得更好,就是今天讨论的全部主题。 我觉得我们会重点探讨一个方面:该用哪些模型,以及在决定允许使用多少 AI 写作时,具体该如何做出判断。 嗯,还有第二个问题:这样做可以吗? 比如,满墙都是粗制滥造的文字,这样可以吗? 呃,多少这种粗制滥造的内容才算可以接受? 今天和我一起主持节目的还有 Aaron。 你愿意简单介绍一下自己吗?
说话人 1 Uh, yeah, I'm the co-founder of Boundary. Uh, before this, I worked at Amazon for like seven years working on EC2 and Prime Video. And yeah, happy to be here.
嗯,是的,我是 Boundary 的联合创始人。 嗯,在此之前,我在亚马逊工作了大约七年,负责 EC2 和 Prime Video。 是的,很高兴来到这里。
说话人 0 All right, Aaron, let's get into it. So we're going to talk about using AI for writing. I know you are a writer that has been writing for quite some time. Uh, you, you choose your words very, very wisely. How much writing is acceptable for AI in your mind? And how do you get our team to kind of meet that bar?
好,Aaron,我们开始吧。 我们要聊聊如何用 AI 写作。 我知道你是一位写作者,已经写了相当长时间。 嗯,你选词非常、非常谨慎。 在你看来,写作中使用 AI 到什么程度才算合适? 你又是怎么让团队达到这个标准的?
说话人 1 I think the process of writing should always start with a human. Um, like the humans should outline what the outline is. They should outline like the main talking points. And then yes, you could use AI to like fill out part of the document. But I do prefer like starting out writing as much as as much of it as you can yourself. It really depends what you're writing. Is this like a technical doc? Is this like a blog post? If it's a blog post, I would only write it myself. If it's like an internal doc that like it's a technical doc and we're reviewing together, um, I do prefer. sort of like having the main ideas, the main outline, and then just having AI filling the blanks because, you know, it's not like I'm presenting to the whole internet.
我认为写作过程应该始终从人开始。 嗯,比如说,人应该先列出文章大纲。 他们应该先列出主要要点。 然后,没错,你可以用 AI 来补充文档的部分内容。 但我确实更倾向于一开始尽可能多地亲自写。 这真的取决于你在写什么。 这是技术文档吗? 这是博客文章吗? 如果是博客文章,我会只自己写。 如果是内部文档,比如技术文档,而且我们会一起审阅,那么我更倾向于…… 先确定主要想法和大纲,然后让 AI 来补全空缺,因为你知道,我又不是要把它发给全互联网的人看。
说话人 0 Okay. So it sounds like there's some dimension of like who's the audience. If the audience is a well-established audience and you want levels of detail, AI is good, but if it's a broad audience that doesn't know you, you prefer no AI at all.
好。 所以听起来,受众是谁似乎也是一个考量因素。 如果受众群体已经很稳定,而且你想要不同层次的细节,AI 就很好用;但如果受众很广泛、又不了解你,那你就宁愿完全不用 AI。
说话人 1 Yeah, exactly. I mean, what about you?
对,没错。 我是说,那你呢?
说话人 0 So I kind of flop back and forth. Um, I actually find that AI is an amazing way. to convey the idea I have to all sorts of people. Sometimes when I'm rushed for time or it can like contextualize a conversation much, much better. So like. Um, let's say it's a domain that I'm not as experienced in. The act of leveraging AI in writing, I think if you do it thoughtfully, raises questions in your mind that you haven't thought of asking because you're like, oh, why did, why did the model mention that component in it? Like, I think a great example for, uh, is like when you're chatting with customers. Sometimes a really rookie mistake that a lot of bad founders make, mostly myself, Is you're talking about the thing that you are building and it's really easy to forget in the message. The most important thing is to talk about the outcome that you are using. So I'm not saying that you should use AI to talk to customers, but what I am saying is leveraging it to draft a small sentence here and there can just briefly reiterate and remind you. Yeah, oh yeah, focus on the outcome. So I think covering for your weaknesses is a part that I find AI incredibly powerful in. Like you said, when it comes to a broad audience, I don't trust AI for shit. Like, I don't want a blog post that I wrote written by AI out there because it is, it basically affects my reputation in a way and like I don't want to be known as a slop factory.
我倒是在两种做法之间来回摇摆。 嗯,我其实觉得 AI 是个很棒的方式, 能把我的想法传达给各种各样的人。 有时候我时间很紧,或者 AI 能让对话的背景脉络清晰得多。 比如说, 嗯,假设这是一个我没那么熟悉的领域。 我觉得,如果你能审慎地运用 AI 来写作,这个过程会让你想到一些自己原本没想过要问的问题,比如你会想:哦,模型为什么会提到那个部分? 我觉得一个很好的例子是,呃,和客户聊天的时候。 很多糟糕的创始人都会犯一个很新手的错误,我自己尤其如此:你一直在谈论自己正在打造的东西,很容易就在消息里忘了, 最重要的是要谈你想实现的结果。 我不是说你应该用 AI 和客户交流,但我的意思是,偶尔让它帮你起草一小句话,可以简短地重申并提醒你这一点。 对,哦,对,聚焦于结果。 所以我觉得,弥补自身的弱项,是 AI 非常强大的一项用途。 就像你说的,面对广泛的受众,我完全不信任 AI。 我不想把一篇自己写的博客文章交给 AI 改写后发布,因为这基本上会影响我的声誉,而且我不想被人当成一个批量生产垃圾内容的机器。
说话人 1 So it's not like you're against. The AI writing itself or you're against the perception of AI writing? Like you'd totally be fine if people were fine with it on like making a blog post fully AI written, provided you read it.
所以你并不是反对…… 你是反对 AI 写作本身,还是反对人们对 AI 写作的看法? 比如说,如果大家都能接受一篇完全由 AI 撰写的博客文章,只要你读过了,你就完全没问题,是吗?
说话人 0 Assuming it's good writing, yeah, I personally have no morality clause against it. But I know there's a lot of folks that like, and rightfully so, there's so many... I mean, we've all seen the startup websites that look, you can read the cloddisms in a startup website now. It's like you can just see it. And it's so clear. There's like this small text or like there's these phrases that are like three words, comma, three words.
只要写得好,我个人在道德层面并不反对。 但我知道很多人……他们有这样的想法也情有可原。真的有太多……我是说,我们都见过那些初创公司的网站。现在你一看初创公司的网站,就能读出那些“AI 味儿”。 就像一眼就能看出来。 而且特别明显。 就是那些小字,或者那些三字短语,逗号,再来三个字的表达。
说话人 1 Yeah, it immediately like lowers the reputation of the author or the website or the company. Um, I think it just signals that. You just didn't bother to think of these words yourself and some AI is doing it for you.
没错,这会立刻拉低作者、网站或公司的声誉。 嗯,我觉得这传递出的信号就是…… 你连自己琢磨这些措辞都懒得做,而是让某个 AI 替你写。
说话人 0 Now that we've gone over the high level, I have three specific things that I want to show as an example that I think are going to be amazing. One, I think we'll just cover really quickly what models we like to use. Uh, and I think both of us probably have different preferences, um, and I think it's going to be interesting to know that. Two, I want to go over a real uh I want to go over two practical examples immediately after this. So the second example, the second thing I want to talk about is how we prepared for the presentation that we gave at the most recent conference. Mm, yeah. I think that was a very interesting collaboration of both AI, did leverage AI for some of the writing but almost none of uh but not much of the ideation. Well actually some of the ideation too. And then also I want to talk about the third thing, which is our BEPS platform, which is how we do AI for internal teams in our system. Where we do heavily use AI, but we still somehow manage to hold it to some level of a standard, though sometimes it is pure slop.
既然我们已经聊过了大方向,我想举三个具体例子给大家看看,我觉得会很棒。 第一,我们快速聊聊喜欢用哪些模型。 嗯,我觉得我们俩可能各有偏好,知道这一点应该会挺有意思。 第二,我想马上讲两个实际案例。 第二个例子,也就是我想聊的第二件事,是我们如何为最近一次会议上的演讲做准备。 嗯,是啊。 我觉得那次合作很有意思:我们确实用 AI 帮忙写了一些内容,但在构思方面几乎没用……不过也不是完全没用。 哦,其实构思方面也用了一些。 然后我还想聊第三件事,也就是我们的 BEPS 平台——我们如何在自己的系统中为内部团队应用 AI。 我们确实大量使用 AI,但不知怎么还是能让它达到一定的标准,虽然有时产出的纯粹是一堆垃圾。
说话人 1 Yeah, I mean, and on that note, I also want to touch on a point where it's like, at the end of the day, you're trying to transmit ideas, whether it's through writing or maybe some other media like a like slides or a video. Uh, and now it is much easier to make like insane slides with like animations to actually like show what you're thinking. So, uh.
是啊,我的意思是,顺着这个话题,我还想提一点:说到底,你是想传达想法,无论是通过写作,还是借助其他媒介,比如幻灯片或视频。 呃,现在要做出带有动画效果、能真正展示你想法的炫酷幻灯片,容易多了。 所以,呃……
说话人 0 yeah, it's just... That's a little teaser about what we're gonna talk about in the second part. But let's start with the most easy part.
是啊,就是……这只是稍微预告一下我们第二部分要聊的内容。 不过我们先从最简单的部分开始。
What models do you like to use? When you're using AI for writing, uh, what model are you using?
你喜欢用哪些模型? 你用 AI 写作时,会用什么模型?
说话人 1 I just use uh Claude models like Opus 5.5. Okay.
我只用 Claude 系列模型,比如 Opus 5.5。 好。
说话人 0 And the reason is medium high.
原因是中高档。
说话人 1 I usually do like high, but I'm doing more like medium thinking. And I don't know, they seem to be changing how many thinking tokens it emits on each level, so. But yeah, usually high to medium and I have tried uh as- like Astra and Sol. The problem with Astra and Sol for me is that it's just so much. I feel like it just emits like a scientific paper. I'm sure it can be prompted to not do that, but I'm too lazy sometimes to tell it like what writing style I want.
我通常会选高档,不过最近更多用中档思考。 而且我也不确定,他们似乎一直在调整各个档位输出的思考 token 数量,所以…… 不过,是啊,我通常用高档到中档,也试过 Astra 和 Sol 之类的。 对我来说,Astra 和 Sol 的问题是,它们输出的内容实在太多了。 我觉得它们写出来简直像篇科学论文。 我相信可以通过提示让它别这么写,但有时候我懒得告诉它我想要什么写作风格。
说话人 0Um, okay, that's really, that's really interesting because I have the exact opposite preference for writing. Yeah. I actually strongly prefer the soul models and I think it's just a matter of like the ways we like to read are different. Yeah. Um, I like to read the more like practical, like literally just like here's the facts, bullet points, nothing else. Yeah, yeah, yeah.
嗯,好吧,这真的很有意思,因为我写作时的偏好恰恰相反。 是啊。 我其实非常喜欢 Soul 系列模型,我觉得这只是因为我们喜欢的阅读方式不一样。 嗯。 嗯,我喜欢读那种更实用的内容,就是字面意义上的只列事实、用项目符号罗列,别的什么都没有。 对,对,对。
说话人 1 Yeah, I think I like to read uh maybe Opus has more of a little uh story or like maybe. Like slightly better structure. It was definitely super sloppy like uh before five point five. It was actually terrible. Like I had rated like a zero out of ten. It was literally non-comprehensible. It's like its own language at some points. It's like using metaphors all over the place. Uh, I find that I find that telling these models to use like Google Dev Docs style writing helps.
对,我想我喜欢读呃,也许 Opus 的内容会更有点故事性,或者说更像…… 结构稍微好一点。 在 5.5 之前,它确实特别乱。 简直糟透了。 我给它打过零分,满分十分。 简直完全无法理解。 有些时候就像它在说自己的语言。 到处都在用比喻。 呃,我发现,告诉这些模型采用类似 Google 开发者文档的写作风格会有帮助。
说话人 0I've seen you do that actually a few times.
我确实见过你这么做过几次。
说话人 1 Yeah, just because Google has literally like writing guidelines that like they wrote about them and it's probably in the training data. And they just have so much engineering content that they've written. Um.
对,因为 Google 确实有专门写好的写作指南,而且这些内容很可能就在训练数据里。 而且他们写了海量的工程技术内容。 嗯。
说话人 0 so let me pull that up really fast just so people get an idea of what that is. It's like every page in the dev- I think this is because Google has like, it's one of the few companies that has a very holistic single developer documentation site. And because that's a single one, it can press enforce a very strong policy across everything. Yeah. And it literally talks about everything. It's like. It actually talks about like, here's your organization's documentation structure. It tells you how to view the n-grams viewer because like we want to minimize the number of words that are being produced in any documentation style. Yeah. Uh, it has like actual, it has actual like how to actually write uh preferences as well. It gets a little bit deeper and and. Uh in more detail as well. Oh yeah.
我马上把它调出来,这样大家就能了解那是什么了。 开发者文档里的每一页都……我想这是因为 Google 是少数拥有一个全面统一的开发者文档网站的公司之一。 而且因为它是统一的,所以可以在所有内容中强制推行一套非常严格的规范。 对。 而且它真的无所不谈。 就像…… 它确实会讲,比如,这是你们组织的文档结构。 它会告诉你如何查看 n-gram 查看器,因为我们想尽量减少任何文档风格中使用的词数。 是啊。 呃,它还有实际的内容,确实会讲如何撰写偏好设置之类的。 它还会讲得更深入一些,而且…… 呃,也会讲得更详细。 哦,是啊。
说话人 1 there's like a ton of stuff.
里面有一大堆内容。
说话人 0 It's really, really detailed. Yeah. When we were writing our developer docs, I actually downloaded all this and started having AI leverage this because like to be candid, most systems are uh some stuff should be written by humans like the concepts pages. Yeah. But actual documentation how-to guides like. I see more and more people use AI to write code anyway. So having a how-to guide that's more practical, doesn't have the whole story around it, just tells you the meat and details, and it's more dense, is much more acceptable now than it used to be. But concepts are still useful for humans as well, along with models. And having that follow this kind of prose is highly, highly useful. Yeah. Okay, so use Opus 5.5. Do you ever use Fable?
真的非常、非常详尽。 是啊。 我们在编写开发者文档时,我其实把这些都下载下来,并开始让 AI 借鉴这些内容,因为坦白说,大多数系统里有些东西应该由人来写,比如概念页面。 是啊。 但实际的文档操作指南,比如…… 反正我看到越来越多的人用 AI 写代码。 所以,现在大家比过去更能接受这样一种操作指南:更实用,不讲一整套背景故事,只告诉你核心内容和细节,而且内容更加紧凑。 不过概念内容对人来说仍然有用,模型也是如此。 而且让它遵循这种文风非常、非常有用。 是啊。 好,那就用 Opus 5.5。 你会用 Fable 吗?
说话人 1 Um, I mean after Opus 5.5 came out, I stopped using all the other models, uh, including Fable 5.1. Now Fable 5.2 came out, so maybe I'll use that.
嗯,我是说,Opus 5.5 发布之后,我就不用其他所有模型了,包括 Fable 5.1。 现在 Fable 5.2 发布了,所以我也许会用它。
说话人 0I'm about to cancel your Codex sub.
我正准备取消你的 Codex 订阅。
说话人 1 I'm starting to use that. I mean, yeah, maybe. Maybe I need to get Ultra Code or whatever it is, the 12x speed thing.
我开始用那个了。 我是说,嗯,也许吧。 也许我得弄个 Ultra Code 之类的,就是那个 12 倍速的版本。
说话人 0 I will say the main reason that I use uh GPT models is I feel like they're slightly faster. Um, and I specifically don't use Astra, I use Soul. And I think for that is because when it comes to writing, like you said, it's about idea creation. I use as much as possible of like speed as the main thing that helps my brain think. 'Cause I can't. Writing, unlike engineering tasks, is not something that I can like put on a long-form task for, context switch away, paralyze something else, and then come back. I have to kind of serially do writing, at least for myself. And therefore speed ends up being the biggest bottleneck.
我得说,我用 GPT 模型的主要原因是,我觉得它们稍微快一点。 嗯,而且我特意不用 Astra,我用 Soul。 我觉得原因在于写作方面,就像你说的,关键是创造想法。 我会尽可能把速度当作帮助我思考的首要因素。 因为我做不到。 写作不像工程任务那样,我不能把它当成一项长期任务,先切换去做别的事,让它停在那里,然后再回来接着做。 至少对我自己来说,写作得一步一步连续地完成。 因此,速度最终成了最大的瓶颈。
说话人 1 Yeah, I mean, I like to do like a breadth-first search across many ideas and AI does help with that, but. It basically gets converted into a soup of concepts in my brain. And at some point you need to tie them together into a neat structure. Uh, and that, that just takes time. I don't think there's like a shortcut to that. You literally have to like soak in the ideas. Same like with code, you know how code used to be and now, um, you were mentioning this week like, man, I feel like I miss just like sitting down and coding for a while. I think the same process can be happening with writing. If you're not writing stuff yourself or you're not sitting with your ideas yourself, like the act of typing out each word and letter. just helps slow you down and allows you to like form these thoughts in a more structured way.
是啊,我喜欢对很多想法进行广度优先搜索,而 AI 确实能帮上忙,不过…… 这些想法基本上会在我脑子里变成一锅概念杂烩。 而到了某个阶段,你就得把它们串联起来,整理成清晰的结构。 嗯,而这,这就是需要时间的地方。 我觉得这事没有什么捷径。 你真的得沉浸在这些想法里。 代码也是一样,你知道代码过去是什么样,现在又是什么样。嗯,你这周提到过:天哪,我觉得我怀念那种坐下来写一会儿代码的感觉。 我觉得写作也会经历同样的过程。 如果你不自己写东西,或者不亲自琢磨自己的想法,比如一个字母一个字地敲出来, 就能帮你放慢节奏,让你以更有条理的方式梳理这些想法。
说话人 0 With that, let's go on to the next thing, which is breadth-first search and leveraging AI for that.
说到这里,我们来谈下一件事:广度优先搜索,以及如何借助 AI 来做这件事。
So this second piece I think is a really fascinating one. We recently went to a conference, Code. talks. Shout out to Benedict and the rest of the team, AlphaList, uh, putting together a great conference in Hamburg, Germany. Um, but as we were prepping our slide talk together, uh, I actually learned a lot from Aaron on exactly how he does his thinking process and how he uses AI for writing. So I'm gonna screen share. I'm gonna show this, um, I'm gonna show my whole screen, so please, again, AI at work, we pride safety and security. So if you run into any issues where you're seeing something you shouldn't, please don't, uh, uh, please don't go shout on Twitter about it. We'll edit in the video later. All right, so let's start off with how we did this presentation talk. Can you zoom in a little more? Maybe I should give people, should I give people a sneak peek of what the talk ended up being? Yeah, yeah. Okay, so these are some of the slides that we ended up producing in the end. And I'm just going to briefly go through it just so you guys get an idea of what the slides end up looking like. And you can kind of get an idea for like. What the story ended up being, I'm not going to tell the whole story over time, but it'll give you an idea of roughly what we're talking about. And like I think the main purpose that we want to go is how do we go from ideas to actually going through and like coming up with concepts over here that are like actually uh tied to the final raw idea we started with how we used AI for this process as well.
我觉得第二部分真的很有意思。 我们最近参加了一个会议,叫 Code. talks。 特别感谢 Benedict 和 AlphaList 的其他团队成员,他们在德国汉堡举办了一场很棒的会议。 嗯,不过在我们一起准备演讲幻灯片时,我确实从 Aaron 那里学到了很多,尤其是他具体如何思考,以及如何用 AI 写作。 我来共享屏幕。 我来展示一下,嗯,我要共享整个屏幕,所以再提醒一次,我们是 AI at work,安全保障是我们的骄傲。 如果你遇到任何问题,比如看到了不该看到的内容,请不要,呃,呃,请不要跑到 Twitter 上大声嚷嚷。 我们之后会在视频里剪掉。 好,那我们先从这次演讲是怎么做出来的说起。 能再放大一点吗? 也许我该给大家剧透一下最后演讲讲的是什么? 好啊,好啊。 好,这些就是我们最终做出来的一些幻灯片。 我会简单过一遍,让大家了解一下这些幻灯片最后是什么样子。 你们也能大致了解一下,比如…… 最后讲的是什么故事。我不会从头到尾把整个故事都讲一遍,但大致能让你们知道我们在说什么。 我觉得我们最想讨论的主要问题是:如何从想法出发,一步步提出这里这些概念,并让它们真正与最初的原始想法相关联;以及我们在这个过程中如何使用 AI。
说话人 1 Yeah you're just here mentioning how everything is like super disjointed there's many tools.
对,你刚才提到,一切都非常零散,工具也很多。
说话人 1Loop programming languages have absorbed more things, more tooling.
Loop 编程语言吸收了更多东西,也整合了更多工具。
说话人 0And I'm like, they haven't absorbed anything past production. And then like, what would that look like? We talk about vertical integration, we talk about concept of hyper observability. And like, about how tracing code is really ugly and like you're kind of to see the story, uh, the talk will be live. We might do a proper episode on the talk later. Yeah. But like, I think the gist that you're seeing is like there's a story in place over here that is that hopefully doesn't feel like AI slop. And I think that's the purpose of using AI for writing. If you use it well, you get to do incredible transfer of ideas without anything feeling like slop. And that's like the balance that we're trying to do. Um, and then it just talks about a few more things. I mean, you get the idea at this point. Like it's not um... Yeah. It's not that fascinating. But I think the more interesting thing is how we did the process. So Aaron, why don't you talk through this a little bit? And then we'll go into the script and I can kind of walk us through it.
而我想说的是,它们还没有吸收任何超出生产环节的东西。 那会是什么样子呢? 我们会谈到垂直整合,也会谈到超强可观测性的概念。 还会谈到代码追踪有多难看,以及你怎么才能看懂其中的故事……这场演讲会现场进行。 之后我们或许会专门做一期节目来聊这场演讲。 对。 但我觉得你们现在看到的大致是:这里有一个完整的故事,希望它不会让人觉得像是 AI 垃圾内容。 我觉得这就是用 AI 写作的目的。 如果用得好,你就能极其出色地传递想法,而且不会让人觉得内容很糟。 这就是我们想把握的平衡。 嗯,之后还会讲一些其他的内容。 我想你们现在已经明白了。 就像这不是……嗯……是的。 这没那么有意思。 但我觉得更有意思的是我们是如何完成这个过程的。 所以,Aaron,你不妨稍微讲讲这个? 然后我们会讲到脚本,我可以带着大家过一遍。
说话人 1 Yeah, so essentially this is literally a scratch pad. Like if you were to translate this to a notebook, you'd see like a ton of scribbles all over the place. Yeah. Um, so there's no real like outline to this document or anything. It's just like a dump of ideas.
是的,基本上这就是一张草稿纸。 如果把它写到笔记本上,你会看到上面到处都是涂涂写写的东西。 是的。 嗯,这份文档没有什么真正的提纲之类的。 它就是一堆想法的汇总。
说话人 0Um, and this actually was a later addition that we added after the fact while ideas were actually the.
嗯,这其实是后来才补充进去的,是我们事后加上的;当时真正的……
说话人 1 first thing we started with. Yeah, so the way if you like keep scrolling down, you know, I can just. Yeah, so we have a title.
起点是想法。 是的,所以你要是继续往下翻的话,你知道,我可以…… 是的,我们有个标题。
说话人 0 right? So that's a the.
对吧? 所以这是个……
说话人 1 title is the most important thing. And it's about like software factories and what the missing pieces for software factories. So, um, like I, if you, if you go all the way down. Because I started, I think down, I actually started adding things at the top, which is funny. Uh, I just started writing ideas. Yeah, Aaron likes to.
标题是最重要的。 内容是关于软件工厂,以及软件工厂还缺少哪些东西。 所以,嗯,我是说,你要是一直往下翻…… 因为我一开始,我想是从下面开始的,后来其实又开始在顶部添加内容,这还挺有意思的。 呃,我刚开始写一些想法。 嗯,Aaron挺喜欢这么做的。
说话人 0 Aaron has actually watched Silicon Valley, so he likes to do the middle out. Fill out the top, fill out the bottom, and just middle out, you know? Or I guess middle in. Exactly.
Aaron其实看过《硅谷》,所以他喜欢搞“从中间往外扩”。 填满顶部,填满底部,然后就从中间往外扩,你懂吧? 或者我想应该是从中间往里收。 没错。
说话人 1 So like I uh... I wish I could, oh yeah. Yeah, it's just here, like, you know, I've started writing like a structure, like, okay, a software factory. Uh, little, look, some of these are just like screenshots that I saw that were interesting. And I don't have an at this point I don't have an opinion yet on these things. I just know that someone you know produced this uh this video like I shipped 2000 PRs last month like Lauren from uh SpaceX. And I'm just kind of like thinking about that and it's almost like I'm loading my context window. And just being like, okay, I am just like loading information, loading context, and each of these will eventually emit some structured English, you know. Um, so it's like software factory, you know, maybe there's a section here like how to build one. Vercel has an example on how to build one, like what can I learn from that? And then, you know, there's a bottleneck here. There's like humans, decision making, spread out tooling. Uh, you know, you can keep scrolling down. And then it's just like random ideas like, oh, what if everyone using Python already had the software factory pieces in place from day one? Like what if this is secretly a programming language thing. or like, for example, we say like, oh, you can just run tests, right? like today we say run the test and we're like, oh yeah, i'll just go run like go test or like v test or whatever. but i just started working with this concept of like before you had to figure out what even was a test. like what assertions did you add or how did you add assertions?
所以,呃……我真希望我能,哦,对了。 对,就在这儿,你知道,我已经开始写一个大纲了,比如,好,一个软件工厂。 呃,瞧,这里面有些只是我看到的、觉得挺有意思的截图。 而且说实话,目前我对这些东西还没有任何看法。 我只知道有人,呃,做了这个视频,说自己上个月合并了2000个PR,比如SpaceX的Lauren。 我就在琢磨这件事,感觉就像是在给我的上下文窗口加载内容。 就是,嗯,我只是在加载信息、加载上下文,而这些最终都会输出一些结构化的文字,你懂吧。 嗯,所以这就像是软件工厂。也许这里可以有一节讲怎么建一个。 Vercel有一个关于如何搭建的示例,我能从中学到什么? 然后,你知道,这里有个瓶颈。 有人的因素、决策,还有分散的工具链。 呃,你知道,还可以继续往下滚。 然后就是一些零散的想法,比如,假如所有用Python的人从第一天起就已经配齐了软件工厂的各个部分呢? 比如,这会不会其实是个编程语言的问题? 或者比如说,我们会说,哦,你只要运行测试就行了,对吧? 就像今天我们会说运行测试,然后我们就会想,哦,对,我直接去运行 go test 或者 v test 之类的就行了。 但我刚开始接触这个概念时,在那之前你还得先弄清楚什么才算测试。 比如你添加了哪些断言,或者你是怎么添加断言的?
说话人 0Like if any of you have ever written C code or C++ code, running tests is not as is not as easy as just run the test. Yeah, it's like It's a beast of a task. Yeah.
如果你们有人写过 C 代码或 C++ 代码,就会知道,运行测试并不像直接运行测试那么简单。 是啊,这简直是个大工程。 是啊。
说话人 1 it's like go figure out uh yeah everything. Uh and and so like for example here I have imagine the C devs, they had to invent their own testing framework, sometimes it sucked. And then I'm like, oh my god, are there any like startups that have like pitch testing as a as a software product? I don't know if I I wrote it here, but... Oh yeah.
就是得去弄明白,呃,所有事情。 呃,比如说,想想那些 C 开发者,他们不得不发明自己的测试框架,有时候那玩意儿还很糟糕。 然后我就在想,天哪,有没有哪家初创公司把测试当作软件产品来推销? 我不确定我有没有把它写在这里,不过……哦,对。
说话人 0 there we go. They're actually, I mean, I mean it's, I think we had... Yeah. So I mean, I'll give a... 这些。 I mean, there's not one slide of this one. There's many slides.
就是这个。 他们确实,我是说,我想我们之前提到过……是啊。 所以,我给你们举个……这些。 我是说,这个只有一页幻灯片。 有很多页幻灯片。
说话人 1 Yeah, so there's many different stories here like uh.
对,所以这里有很多不同的故事,比如……
说话人 0 I think we had the startup like this one, Agitar. This literally came from Aaron having that idea of like I want to tell a story of like automated testing and you literally used to buy this company had raised millions of dollars. Literally to automate unit testing.
我想我们提过这家初创公司,就是这家 Agitar。 这确实是 Aaron 有了那个想法之后的产物:我想讲一个自动化测试的故事。你以前真的会买这家公司,他们已经融资了数百万美元。 真的就是为了实现单元测试自动化。
说话人 1 And that seems ridiculous today, right? It's just like, I don't know, it's a cool story, right? Like the point of these talks and blog posts and everything, like humans want a good story. Um, and also the story needs to make sense and you have to like learn something. Um, so I'm just like, you know, putting stuff in here, like I talk about how CI is super lucrative. Like we have these software factories, so like what are the components? One of them is CI. And it's like, okay, CI is super lucrative, like we're writing way more code, shipping way more code. Like there's some startup spending like twenty million on entropic and then scroll all the way down. And then yeah, they have this concept that they call like hyper observability in their blog post. And then yeah, so it's just like closing the loop. Like what are the ideas from here? Like SpaceX did vertical integration and there's a couple of interesting stories there as well. So like, like I said, this all seems super disjoint. I'm literally pulling like a random screenshot from somewhere. I'm pulling like random CI things from somewhere else. And I'm just putting them in this like context soup for me. And I literally just kind of go on a walk maybe or like start thinking about these things and start forming various like threads in a way. Um. And so like obviously we're building a programming language as well. So like how does that translate to our efforts? Like what is the stuff that you can do with BAML when you're like fully vertically integrated like SpaceX? You know like if we're the first language to tackle like production essentially, what does that look like? What's the stuff that you can do? And so I just, you know, put like interesting things here like. You know, how do you capture exceptions? Like what's the stuff that Sentry does to capture traces when an exception happens? And you know, here's a a set of things going on.
而这在今天看来似乎很荒谬,对吧? 就像,我不知道,这只是个很酷的故事,对吧? 比如这些演讲、博客文章之类的,归根结底,人们想听一个好故事。 嗯,而且故事还得讲得通,你也得能从中学到点东西。 嗯,所以我就像是在这里放一些内容,比如我会谈到 CI 特别赚钱。 我们有这些软件工厂,那么它们都由哪些部分组成呢? 其中一个部分就是 CI。 然后就是,嗯,CI 特别赚钱,我们写的代码多得多,交付的代码也多得多。 比如有家初创公司在 Entropic 上花了两千万,然后一直往下翻。 然后,他们在博客文章里提出了一个叫作“超可观测性”的概念。 所以,嗯,这就是在闭环。 这里面有哪些想法呢? 比如 SpaceX 做了垂直整合,这里也有几个有意思的故事。 所以就像我说的,这一切看起来都特别零散。 我就是从某个地方随手拿了一张截图。 又从别的地方随手找来一些关于 CI 的内容。 然后把它们放进这个语境的大杂烩里。 我真的会去散散步,或者开始琢磨这些事,然后慢慢把各种线索串起来。 嗯。 所以,显然我们也在构建一种编程语言。 那么,这对我们的努力来说意味着什么? 比如说,如果像 SpaceX 那样实现完全垂直整合,BAML 能让你做些什么? 你知道,如果说我们是第一个真正解决生产环境问题的语言,那会是什么样子? 你能做些什么? 所以我就……你知道,在这里列了一些有意思的东西。 你知道,如何捕获异常? 异常发生时,Sentry 会用什么方法来捕获追踪记录? 你知道,这里列了一组正在发生的事情。
说话人 0 And you guys can and you guys can see like this, like obviously we are not going to go read all the blog posts of what Sentry does, but in this thread of this idea, really quickly we can heart out, go to ChatGPT, have it go read a bunch of their blog posts and just see at a high level what are they doing. to see if this is the thread that's worth interesting to kind of explore. i think this exploration phase is super underutilized by many people during writing. and one of the key takeaways i had from aaron, actually, because i had this urge. i love this idea that aaron proposed in the very beginning of like, oh, this idea of vertical integration. like spacex literally reduced a part of a cost from 120,000 to 3,900. that's a beautiful story. and my hunch, immediately after that, i kind of took that idea and i built a whole deck around it. and i was like going down that road. and the key learning i had from aaron here actually was when you use ai for writing or actually probably just in general for good quality writing, and ai just amplifies this more, it's actually really important to not do that right away, not take your first instinct and go deep on it. go allow yourself to go deep. And there and I reflected on this after the conference. To to go wide you mean allow yourself to go wide. Sorry, to go wide, not deep. Yeah. Um and I reflected on why going wider even earlier is better because naturally what are you going to do? The process of doing this is literally what is the next step here of some kind. You're going to copy and paste this content, put it into ChatGPT or put it into Codex and tell it to do some shit with it. Maybe you'll prompt it better and it'll do something more interesting. But effectively, we're going to paste this as a context window. If all you've given the AI is one idea, it will do what you say and follow that one idea. The value of going broad is when you tell the AI, I'm not sure about exactly which idea I want to explore, it truly knows that. Context window is seeded with the entire breadth of options. And it's much easier to tell AI to pick certain elements of it. And it's much easier for it to propose different ideas that you might not be thinking about as you go down one specific vertical. Because it has the context of everything you're exploring.
你们可以看到,显然我们不会把 Sentry 的所有博客文章都读一遍,但围绕这个想法,我们可以很快地梳理一下:去 ChatGPT,让它读一堆他们的博客文章,再大致看看他们在做什么。 看看这是不是一个值得深入探索的方向。 我觉得很多人在写作时都没有充分利用这个探索阶段。 其实,我从 Aaron 那里得到的一个关键启发,正好和我当时的冲动有关。 我很喜欢 Aaron 一开始提出的这个想法:垂直整合。 比如,SpaceX 硬是把一个零件的成本从 120,000 降到了 3,900。 这是个很精彩的故事。 听完之后,我马上就顺着这个想法,围绕它做了一整套演示文稿。 我当时就沿着这个方向一路写下去了。 其实,我从 Aaron 那里得到的关键启发是:用 AI 写作时——其实可能对高质量写作来说,一般情况下也是如此——最重要的是别一上来就这么做,不要抓住第一个念头就深入展开;而 AI 只会进一步放大这一点。 要允许自己深入探索。 会议结束后,我也反思了这件事。 你说的“拓宽”,是指允许自己把范围拓宽。 抱歉,是拓宽,不是深入。 对。 嗯,我也想了想,为什么越早拓宽范围越好,因为你自然会怎么做呢? 做这件事的过程,说白了就是问:接下来该做什么? 你会复制粘贴这些内容,把它放进 ChatGPT 或 Codex,然后让它拿这些内容做点什么。 也许你会把提示写得更好,它就能做出更有意思的东西。 但实际上,我们会把这些内容作为上下文窗口粘贴进去。 如果你只给 AI 一个想法,它就会照你说的做,只围绕那个想法行动。 广泛探索的价值在于,当你告诉 AI“我还不确定具体想探索哪个想法”时,它确实能知道这一点。 上下文窗口里涵盖了所有选项。 而且,让 AI 从中挑选某些元素要容易得多。 它也更容易提出不同的想法,而这些想法可能是你沿着某个特定方向深入时不会想到的。 因为它掌握了你正在探索的所有内容。
说话人 1 I mean AI is really good at um joining ideas together. I mean you could literally say like, you know, write a story about a pelican talking to a Muppet doing some blah blah blah and like it'll just tie it together into some coherent thing. So a similar thing can happen here, but you do have to be careful of. You do have to make sure that it does make sense and there's like some data backing the stories that you're telling.
我的意思是,AI 很擅长把不同的想法联系起来。 我的意思是,你完全可以说,比如“写个故事,讲一只鹈鹕和一个布偶在聊天,做些诸如此类的事”,它就会把这些内容串起来,写成一个连贯的故事。 所以这里也可能发生类似的事,但你确实得注意…… 你确实得确保内容讲得通,而且你讲述的故事有数据支撑。
说话人 0Like one really interesting idea, like off of all the things we've had, we were talking about PGO, we've been talking about like optimizing the GC, and these are all ideas we had on the team and like reducing sampling rates. But one idea that should be obvious in hindsight, but wasn't, was we can actually use profiling as a way of basically sampling rare paths. Where like if you have a match statement with three arms and only some of them are rare, well, guess what? We only will actually will densely trace the more rare ones and everything else kind of gets dropped. because it's like not really a problem. it's a thing that happens all the time. it's very obvious in hindsight. but again, as a part of this talk and this idea of coming up with stories, it's very useful to use ai to come up with these concepts and join those ideas together, like aaron was saying here. yeah. And so there was another one I came out with which was like, hey, you can only capture all the IO code, so everything else is deterministic. And like we were just like, holy crap, that's just a good idea. We should do that regardless, but also a talk can form really interesting concepts there.
比如,在我们讨论过的所有事情中,有个特别有意思的想法:我们聊过 PGO,也聊过如何优化 GC,还聊过降低采样率;这些都是我们团队提出的想法。 但有一个事后看来本该显而易见、当时却没想到的想法:我们实际上可以利用性能分析来采样那些罕见路径。 比如说,如果你有一个包含三个分支的 match 语句,而其中只有一部分分支很少出现,那你猜怎么着? 我们实际上只会对那些更少出现的分支进行密集追踪,其他的基本都会被丢掉。 因为这其实不算什么问题。 这种情况一直都在发生。 事后看来,这显而易见。 但再说一次,作为这场演讲的一部分,也为了构思故事,用 AI 帮忙想出这些概念并把它们串联起来非常有用,就像 Aaron 在这里说的那样。 是啊。 于是我还想到了另一个点子:嘿,你可以只捕获所有的 IO 代码,这样其他一切都是确定性的。 我们当时就想:天哪,这真是个好主意。 无论如何我们都应该这么做,而且演讲也能由此形成一些非常有趣的概念。
说话人 1 Yeah, yeah, it's like interesting concepts in here of like, uh, but even before I go even further, I like step back out and I say, okay, programming languages were hard to adopt. But now things have changed. You can rewrite it all in Rust or you know you can use another programming language like Babel. You can just swap things instantly to test things out. Uh. If you're like just experimenting with your factory, I guess your software factory. Um.
是啊,是啊,这里有些有趣的概念,比如,呃,不过在我继续深入之前,我先退一步说:好吧,编程语言过去很难推广。 但现在情况变了。 你可以把所有东西都改写成 Rust,或者用另一种编程语言,比如 Babel。 你可以立刻换掉它们,测试不同的方案。 呃。 如果你只是在尝试经营你的工厂,我想说的是你的软件工厂。 嗯。
说话人 0 this is that startup right there that got killed. Uh, Just Stone has a really interesting question. As this outlining is being made, are you using your own manual research or using Claude to help you narrow in, uh, narrow in and populate this outline at this phase?
那就是那家倒闭的初创公司。 呃,Just Stone 提了个很有意思的问题。 在构思这个大纲的过程中,你是在用自己的手动调研,还是用 Claude 帮你缩小范围——呃,帮你进一步聚焦并充实这份大纲?
说话人 1 So a lot of the research comes from me browsing maybe like X or like browsing Hacker News. So a lot of this is actually just comes from my brain and like my own context, literally like just the data that i am ingesting, you know, from a day-to-day basis. But even the century blog post, for example, i had seen that somewhere like how do they capture trace source maps? And I had seen that a while back, maybe like even years ago. And so, um, yeah, it just comes from there, but I do ask, I do ask AI like, hey, uh, I have this idea. Yeah, right here, right. Like the startup thing or like the SpaceX thing. Maybe you heard something similar, but you don't have all the details. So definitely I do ask Claude to like give me more details and I can just read about it and like I just post the whole screenshot in here and and maybe something will happen with it.
所以很多研究都来自我浏览 X 或 Hacker News。 所以其中很多其实就是来自我的大脑和我自己的背景知识,真的就是我每天吸收的信息,你懂的。 不过,比如那篇 Century 博客文章,我之前在某个地方看到过:他们是怎么捕获 trace source map 的? 我很久以前就看到过了,可能甚至是几年前。 所以,嗯,是的,灵感就来自这些地方。不过我确实会问 AI,比如说:“嘿,呃,我有这么个想法。” 对,就在这儿,对吧? 比如创业公司那件事,或者 SpaceX 那件事。 你可能听说过类似的事,但并不了解所有细节。 所以我肯定会让 Claude 给我补充更多细节,然后我可以读一读,也会把整张截图发到这里,说不定能从中发现些什么。
说话人 0And like, for example, we would have not found a startup that raised 35 million in 2002. It's just not gonna happen. Let's be real. And AI was, it's phenomenal for like taking this idea and taking it to that next level.
比如说,我们根本不可能发现一家在 2002 年融资 3500 万的创业公司。 这种事根本不会发生。 说实话吧。 而 AI 在把这个想法推进到下一个层次方面,简直太厉害了。
说话人 1 Yeah, 35 million today is like insane. 20 and 20 22. 2002. 2002, yeah, today is insane.
对,3500 万放在今天简直惊人。 2022 年…… 2002 年。 2002 年,对,放在今天就很惊人了。
说话人 0 There's also these awesome tweets by Theo that he made where he's like, oh yeah, I just ported this, like I just wrote the TypeScript compiler in Rust and like... That concept came from Aaron being like, you can just rewrite things, but that was inspired by seeing this on Twitter. Yeah. So there's this amalgamation that we're trying to do, which is like, we're letting our brain dump as we happen. And the practice, at least what Aaron taught me was dump from your. Fill in details using AI when some ideas are more interesting and then search for context uh that you've probably not heard of that are just wild ideas from AI like again using AI as well. Yeah.
Theo 还发过一些很棒的推文,比如他说:“哦,对,我刚把这个移植了——我刚用 Rust 写了 TypeScript 编译器”,然后……这个想法源自 Aaron 说“你完全可以重写这些东西”,不过那是受了他在 Twitter 上看到这件事的启发。 是啊。 所以我们试着把这些东西融合起来,就是让大脑里的想法在出现时随手倾倒出来。 而这个做法,至少亚伦教我的,是从你的……里倾倒出来。 用 AI 补充细节,让某些想法更有趣,然后再搜寻你可能从未听说过的背景信息——那些 AI 提出的疯狂想法,比如再用 AI 来协助。 是啊。
说话人 0And then there's a second part to this whole thing, which is once all that was done. Then we started writing the slide. And obviously every, I mean every YouTube video, every thumbnail, everything starts from the thumbnail. So we just started with like, uh, what is a hook slide? Um, and in our case, I don't know if it was a good hook slide, but like this was the one that we picked. Yeah. And then we just started like outlining the key slides. And there's a lot of things that are crossed out actually. And there's a lot of things that didn't make it into the final deck. But it start the I think the key let me see if I can scroll some.
然后,整件事还有第二部分,也就是这一切都完成之后。 接着我们开始写幻灯片。 显然,每个——我是说,每支 YouTube 视频、每张缩略图,一切都从缩略图开始。 所以我们就从这个问题开始:嗯,什么是钩子页? 嗯,就我们这个例子来说,我不知道这算不算一个好的钩子页,不过我们选的是这一张。 是啊。 然后我们就开始列出关键幻灯片的大纲。 其实有很多内容都被划掉了。 还有很多内容没能放进最终的演示文稿里。 不过一开始,我觉得关键是……我看看能不能往下翻一些。
说话人 1 The main thing um the problem with just vibing the whole thing and not having an outline is that you might end up somewhere you're like am I even answering the question in the title of the slides? It's literally just our own um you literally just forget because it's it's not outlined. If you're able to read the outline and each part of the outline. answers a question or poses a question that's related to the title. And you could just read all the titles in your slides and uh it tells a very cohesive and very simple and concise story. Uh you're golden.
嗯,只凭感觉做完整个东西、却没有大纲,主要的问题是,你最后可能会发现自己在想:我到底有没有回答幻灯片标题里的问题? 这真的只是我们自己的……你真的会忘掉,因为它没有大纲。 如果你能读一遍大纲,而且大纲的每一部分 都回答一个与标题相关的问题,或者提出一个相关的问题, 而且你只要读完所有幻灯片的标题,就能讲出一个连贯、简单又简洁的故事, 那就稳了。
说话人 0 And you can see over here at this point we're still really liking the Raptor 3 idea. This was sadly me really liking it, pushing this a little bit more than I should have probably. Um, like this was the best idea we had at the time. And the final slide deck did not have the Raptor three in it. But this idea of like writing it down was like coming up with the Raptor 3 of software development. And like the funny thing that we realized while we did this is like I think there's a there should be a question in here. We were asking ourselves the question like when you're trying to build a rocket that goes to Mars, that's a very aspirational goal. And when it comes to building the Raptor 3 of software development, you're basically asking like. What is the equivalent of going to Mars for software development? Aaron and I both concluded we could not come up with something. So we really had to abandon ship on that idea and just like it's just not a good story. And yes, AI will vibes off something. If we tell it to come up with the equivalent of Mars for software development, it will give us something. But this is that human element that you have to apply of like. Is that in good faith? Is that in good taste? And like, is that the right thing you want to really hit on? Yeah. I want to show the second part of this now, which is what we did after this.
你可以看到,在这个阶段,我们仍然很喜欢“猛禽3号”这个想法。 可惜当时是我太喜欢它了,可能把这个想法推进得有点过头。 嗯,当时这是我们想到的最佳方案。 而最终的幻灯片里没有提到“猛禽3号”。 不过,把它写下来的这个想法,就像是在构思软件开发领域的“猛禽3号”。 有意思的是,我们做这件事时意识到,我觉得这里应该有个问题。 我们问自己:当你想造一枚能飞往火星的火箭时,那是一个非常远大的目标。 而谈到打造软件开发领域的“猛禽3号”时,你其实是在问…… 对软件开发来说,什么相当于飞往火星? 我和 Aaron 最后都觉得,我们想不出答案。 所以我们只好放弃这个想法,因为它根本不是个好故事。 没错,AI 会凭感觉编出点东西。 如果我们让它想出软件开发领域相当于火星的东西,它肯定能给出一个答案。 但这就是你必须运用人类判断的地方,比如…… 这符合诚信原则吗? 这合乎品味吗? 而且,这真的是你想重点强调的正确内容吗? 是啊。 我现在想讲讲这件事的第二部分,也就是我们之后做了什么。
So funnily enough, I was using Claude. Um, but as I was doing this, um, what I told this thing to do was I literally took the transcript and all the notes and gave it access to Notion. And once it did this, I just told it to start using our brand guide and everything else to start putting slides together. And it came up with a lot of slop. You can literally start seeing the slop that it made. And these are screenshots along the way. And like this stuff is not very good. But I think the most interesting thing that you can do with AI that you could never do before is you could generate. So many versions of everything that you're never able to do again and that you would never be able to do before. So like. Eventually, I concluded that the style I like the most, you've seen me and Dexter talk, we love Excalidraw. It's a phenomenal product. I think it has like a really nice way of storytelling when you do this. well, we basically built a bunch of slides that talked about this with different concepts, different titles, and different ways. and instead of actually like anchoring on something, we literally just like went through and like found like the most interesting things. so like what i love about this one, i'll show you. i love this ui. so you can, first of all, claude made this. this is incredible. this would be impossible to build. in the past. and the fact that you can just do this and prompt this to make this kind of slide deck is incredible. but the most interesting idea was like, it was talking about software as a belt. and it literally put like humans in the loop and it's talking about different steps of it. and like you're going to replace some of this stuff with ai. and then it started like talking about all these other tools. and it was like, oh, you're actually slowing them down. But the funniest thing I saw.
说来也巧,我当时在用 Claude。 嗯,不过我在做这件事的时候,我告诉它要做的就是,直接把文字稿和所有笔记都交给它,并让它访问 Notion。 它完成之后,我就告诉它开始使用我们的品牌指南和其他资料来制作幻灯片。 结果它生成了一大堆垃圾内容。 你们可以直接看到它做出来的那些垃圾内容。 这些是整个过程中的截图。 这些东西确实不怎么样。 但我觉得,AI 最有意思的一点,也是以前根本做不到的,就是你可以生成—— 大量不同版本的内容;这些东西你以前做不了,也再也不用亲自做了。 所以,就像…… 最后我得出的结论是,我最喜欢的风格——你们看过我和 Dexter 聊天,我们都很喜欢 Excalidraw。 它是一款非常出色的产品。 我觉得用它来讲故事的方式真的很棒。 嗯,我们基本上围绕这个做了一大堆幻灯片,尝试了不同的概念、标题和呈现方式。 我们没有真正围绕某个方向来展开,而是直接翻看了一遍,找出最有意思的内容。 我特别喜欢这个,我给你们看看。 我喜欢这个用户界面。 首先,这个是 Claude 做的。 这太不可思议了。 以前根本不可能做出这个。 过去是这样。 而且你只要这样操作、输入提示词,就能制作出这种幻灯片,实在太不可思议了。 但最有意思的想法是,它把软件比作一条传送带。 它真的把人放在流程中,并讲到了其中的不同步骤。 然后你会用 AI 替换掉其中一些环节。 接着它开始讲起了其他各种工具。 它还说,哦,你实际上是在拖慢他们。 不过我看到的最有趣的事情是……
说话人 1 Yeah, I mean there was an interesting concept of like, you know, people are saying I'm shipping 2000 PRs, uh, or whatever. Yeah. But what you really want to do is like create experiments. Like, uh, all you want to do is like just create an experiment, look at the metrics, and then do something else. I think the concept and the word PR. like anchors people to like, you know, pushing to github. and then there's an agent comment on things. and then there's a bunch, there's like a whole process involved with just the word pull request. and it's like, can we stop with the 2000 pr thing and then just like talk about what you're trying to do, which is. a like fix the bugs and run experiments. do you need cicd to run experiments? what if you just like do a feature flag or like swap a function or in real time? i don't know, some wild ideas, right? obviously, Yeah, it's just like just trying to rethink what people are doing with software factories. でも、このアニメーションは、言語がそれぞれを食べているような感じです。 Part of the tool chain like bond for example bond added testing and a bunch of other stuff and. S3, you know.
是啊,我是说,有个挺有意思的观点:你知道,人们会说“我提交了 2000 个 PR”,或者类似的话。 是啊。 但你真正该做的是创建实验。 你要做的就是创建一个实验,看看指标,然后再做点别的。 我觉得,“PR”这个概念和说法…… 会让人想到往 GitHub 上推代码。 然后会有一个智能体对这些东西发表评论。 而且光是“拉取请求”这个词,就牵扯出一整套流程。 所以能不能别再说什么 2000 个 PR 了,直接谈谈你想做什么?也就是…… 比如修复漏洞、开展实验。 做实验需要 CI/CD 吗? 如果你只是加个功能开关,或者实时替换一个函数呢? 不知道,就是些大胆的想法,对吧? 显然,没错,这就像是在重新思考人们如何使用软件工厂。 但是,这段动画给人的感觉是,各种语言都在互相吞噬。 它是工具链的一部分,比如 Bond。Bond 加入了测试和许多其他功能,还有…… S3,你懂的。
说话人 0 And like, I don't really know if this idea would make it or not. Maybe we'll use it in a future talk, but like, I would have never had the patience to build this kind of storytelling here. And like, just being able to experiment with like these kind of wild ideas, I think this is the benefit of AI and being able to come up with these concepts. But the last tip that I'll give you when it comes to you building slide decks with AI. Um, is first have a good outline. You need to work with someone, you need to do research, you really need to explore ideas. But the thing that I have found the most powerful way to make your make slides not feel like. Uh, disgusting. And I think this is again just a good tip when you do slides in general. The way that you make content engaging is just don't put words on the slides. And it turns out it's very hard to have AI, AI-isms in your slides if you just have less words. Yeah. Because the likelihood of an AI-ism is based on the frequency of words on the slide. Um, so the trick that I use is I just tell the AI like delete every possible word. And like maybe you can sense it like one shared core, but I mean a human could write that as well. And that's not like too far off. Uh, these slides could very well have been written by exactly by a human. And all the words here are picked by me. Just to be very particular, like I, it did not automatically start saying efficiently build incredible products. That was like a thing that I had to kind of gear towards because the phrases it was originally using were, um, not the ones I liked. But it was able to creatively take my juices and have it happen in that way. I think that's it for AI slides and how you build presentations with AI and the breadth and how where the AI feeds in.
而且,我也不太确定这个想法行不行得通。 也许我们以后会在演讲中用到它,但要是没有这些工具,我绝对没有耐心在这里打造这种叙事。 而且,能够尝试这些天马行空的想法,我觉得这正是 AI 的好处:它能帮你构思出这些创意。 不过,关于用 AI 制作幻灯片,我最后再给你一个建议。 嗯,首先要有一份好的大纲。 你需要和别人合作,需要做调研,还得深入探索各种想法。 但我发现,让幻灯片看起来不那么……最有效的方法是…… 呃,令人作呕。 我觉得这也是一个普遍适用于制作幻灯片的好建议。 让内容引人入胜的方法,就是别在幻灯片上放文字。 结果发现,只要幻灯片上的文字少一些,就很难出现 AI 式表达。 对。 因为幻灯片上文字出现得越频繁,出现 AI 式表达的可能性就越高。 嗯,我用的诀窍就是告诉 AI:尽可能删掉所有文字。 也许你能感觉到它有一个共同的核心意思,不过人类也能写出这种内容。 而且也没差得太远。 呃,这些幻灯片完全可能就是由人类写出来的。 而这里的所有措辞都是我挑选的。 具体来说,比如我,它并不会自动开始说“高效打造令人惊叹的产品”。 那算是我必须有意识地引导它去做的,因为它一开始用的那些说法,嗯,不是我喜欢的。 但它能够创造性地运用我的灵感,让事情以那种方式实现。 我想,关于 AI 幻灯片、如何用 AI 制作演示文稿,以及 AI 的广度和它如何融入其中,就讲到这里。
So it seems like, um, if you were to summarize all of this, Aaron, how would you say that? And if there's questions in the chat meanwhile.
那么,看来如果要总结这一切,Aaron,你会怎么说? 与此同时,如果聊天区里有问题,
说话人 1 feel free to drop them. Um, first figure out who your target audience is, figure out if you need to write a blog post or what the medium is. Uh, AI has unlocked. Creating little explainable videos to people or like. you know, doing a bunch of diagrams that before were very, very, very expensive to create. humans are very visual creatures. so this might be a better thing than, you know, some random blog post. even if it's a technical thing, you could just do slightly more like animations and things to make people understand what's going on. Um, and uh start breath first breath first search with ideas and then coalesce them into one single unified structure using an outline. And then start writing. And you might have to create many outlines and you might have to write many scripts, but um you'll have a better product in the end.
尽管发出来。 嗯,首先要弄清楚你的目标受众是谁,想想你需要写博客文章,还是采用其他媒介。 呃,AI 解锁了…… 为人们制作简短、易于理解的视频,或者…… 你知道,制作大量图表,而以前制作这些图表的成本非常非常高。 人类是非常视觉化的生物。 所以这可能比某篇随便写的博客文章更合适。 即使是技术性内容,你也可以多做一些动画之类的东西,让人们理解发生了什么。 嗯,然后,先广泛地用想法进行探索搜索,再用提纲把它们整合成一个统一的结构。 然后开始写作。 你可能得列很多份提纲,也可能得写很多个脚本,但嗯,最后你会得到更好的成品。
说话人 0Cool. Um, someone asked like, what do I use for slide creation? Honestly, if I'm completely transparent, Um, so the first draft of slides did not work. Uh, so I actually didn't do that. I actually abandoned that work tree. I made a new work tree after that. And this one I was much, much more particular on and I steered it in the right direction.
不错。 嗯,有人问我做幻灯片用什么工具? 说实话,如果我完全坦诚地说,嗯,幻灯片的初稿效果不理想。 呃,所以我其实没那么做。 我实际上放弃了那棵工作树。 之后我又新建了一棵工作树。 这次我要求严格得多,也把它引导到了正确的方向。
说话人 1 It's just React, so like uh RIP Canva and all these other platforms. Yeah.
它就是 React,所以,呃,Canva 以及其他这些平台就安息吧。 对。
说话人 0 It's literally just React. Google Slides. I just. If I can, if I can move up. Uh, I literally just use HTML. This is a plain HTML system. I do not use any, um, I do not use any framework. I literally just had it build its own. And I basically said, and I, but I did have it go and refactor the framework like twice to make the animations very smooth along the way. So it's HTML, uh, it's JavaScript. I don't even know if it's React to be completely honest. I actually have no idea what powers this. Um, you can literally say like.
它真的就只是 React。 Google Slides。 我只是…… 如果可以的话,如果我能往上移一点。 呃,我真的就只用 HTML。 这是一个纯 HTML 系统。 我不使用任何,嗯,我不使用任何框架。 我真的就让它自己搭建了一套。 基本上我说了……不过我确实让它把框架重构了两次,好让动画过程非常流畅。 所以它用的是 HTML,呃,还有 JavaScript。 老实说,我甚至不知道它是不是 React。 我其实完全不知道是什么在驱动它。 嗯,你完全可以这么说。
说话人 1 yeah, like make some slides. Um.
对,比如说做几张幻灯片。 嗯。
说话人 0 I think I am about to publish these slides. If you want to access them, you guys can scan the QR code. I will post them. Uh, you'll get access to it really fast. This was the thing. But yeah, definitely, definitely do not use any existing slide platform. Your iteration speed is so low. Like look at this, look at this cool freaking animation that I built. Like, look at this. It was freaking magical. First, you can swap everything out to Bammel, so it's magical. And it's like, boom, you just get rid of all these tools that you're used to using. And like, they just all go away. And like, could you imagine building that animation, like, self-get-up actions? Like, could you imagine building this animation?
我想我马上就要发布这些幻灯片了。 如果你们想查看,可以扫描二维码。 我会把它们发出来。 呃,你们很快就能访问了。 就是这么回事。 不过,没错,绝对不要用任何现成的幻灯片平台。 你的迭代速度太慢了。 看看这个,看看我做的这个超酷的动画。 看这个。 简直太神奇了。 首先,你可以把所有东西都换成 Bammel,这样就很神奇了。 然后,砰的一下,你就能把这些你习惯使用的工具全都去掉。 它们就全都消失了。 你能想象自己做出那个动画吗?就像是自动生成动作那样? 你能想象自己做出这个动画吗?
说话人 1Yeah, it would take like five thousand.
对,那得花大概五千。
说话人 0 five thousand dollars. I would need a whole team of people just building slide decks for me all day long. Yeah. And like this is kind of what this works with.
五千美元。 我得有一整队人,整天专门替我制作幻灯片。 是啊。 这差不多就是它的用武之地。
说话人 1 Don't go overboard, you know, it's like um... Yeah. You know, uh, something happens in music production. I make music on the side too and like with music production people start adding reverb to everything, uh, 'cause it sounds cool. Uh, and then it just makes everything super muddy. So I think, uh, use things in moderation.
别做过头了,你知道吧,就……嗯……是啊。 你知道,呃,音乐制作里也会发生类似的事。 我平时也会做音乐,而在音乐制作时,人们会开始给所有东西都加上混响,呃,因为听起来很酷。 呃,结果所有声音都变得特别浑浊。 所以我觉得,呃,凡事都要适度。
说话人 0Okay, let's go to the second part of this though. People might have, I'll check out the slide deck thing. It might be interesting. If people have more questions about this, definitely drop them in. I think there's a second thing I want to talk about though.
好,不过我们来聊聊这件事的第二部分。 大家可能会想看看那个幻灯片的东西,我会去看看。 可能会挺有意思的。 如果大家对这个还有更多问题,尽管提出来。 不过我觉得还有第二件事想聊聊。
The second thing I want to talk about is engineering docs. Engineering docs with AI is a whole different beast. We have our own opinions on this. I suspect me and you are somewhere aligned but somewhere misaligned on certain things and that's, I think that's part of the. Process of this. Um, I'm gonna pick apart some of these, but do you want to describe your general philosophy of building an engineering doc and how you think about this?
我想聊的第二件事是工程文档。 用 AI 写工程文档是完全不同的一回事。 对此我们有自己的看法。 我猜我和你在某些方面看法一致,在另一些方面则不一致,我觉得这也是…… 这个过程的一部分。 嗯,我会逐一剖析其中一些内容,不过你愿意先讲讲你编写工程文档的总体理念,以及你是怎么思考这件事的吗?
说话人 1 Um, I mean, we try to practice a culture of writing. Um, I think writing your thoughts down makes sure that you've thought about many, many of the corner cases. Um, and in, in these kind of docs, I still think an outline is super useful. Um. An outline is super useful and also if you're going to use AI to write this, you should always say, look, I'm going to present this to someone that has no idea. They have not seen the code. They have not read the code. Please explain. Uh, as if they were like a, like an entry-level engineer. Every time, every single technical doc, no matter how complex it was, here or at Amazon, I always wrote it with the expectation that an entry-level engineer would be able to understand it by the end.
嗯,我的意思是,我们努力营造一种重视写作的文化。 嗯,我觉得把你的想法写下来,能确保你考虑到了许许多多的边缘情况。 嗯,而且写这类文档时,我仍然觉得先列个大纲特别有用。 嗯。 列大纲特别有用。另外,如果你打算用 AI 来写,就应该总是告诉它:听着,我要把这份文档讲给一个完全不了解情况的人听。 他们没看过代码。 他们也没读过代码。 请解释清楚。 呃,就像对一个初级工程师解释那样。 每次写技术文档都是如此,无论文档多复杂,不管是在这里还是在亚马逊,我写的时候总会假设一名初级工程师读完后就能理解。
说话人 0And there's another thing that we found at least internally that's useful which is the doc is not an engineering implementation doc. It is a how am I going to use this kind of doc. And what is the how what concepts does the end user need to know? Not what end con- what concepts does the implementer need to know? 'Cause those are often very different.
我们至少在内部还发现了另一件有用的事:这份文档不是工程实现文档。 它是一份说明如何使用某种东西的文档。 那么,最终用户需要了解哪些概念呢? 而不是实现者需要了解哪些概念? 因为这两者往往大不相同。
说话人 1 Oh yeah. Yeah, sometimes I I I tell the AI like write it as if almost as if this was. Almost the end user doc essentially, the actual documentation. .
哦,是啊。 是啊,有时候我会告诉 AI,就把它写得像……几乎像是…… 基本上就是面向最终用户的文档,也就是实际的说明文档。 。
说话人 0Like one really easy example is like string interpolation. When Antonio was writing string interpolation, um you can see like this had multiple versions of this thing out here. Um I had this written out here. but like when he wrote this, there's a small summary. now, we do a couple of things on here. so this is actually fully written by ai. however, we actually don't let humans read this from ai. so the trick is we want humans to read it and humans to comment on it.
举个特别简单的例子,比如字符串插值。 Antonio 在编写字符串插值时,嗯,你可以看到这里有这个东西的多个版本。 嗯,我把这个写在这里了。 不过他写这个的时候,有一段简短的摘要。 现在,我们在这里做几件事。 所以这实际上完全是由 AI 写的。 不过,我们确实不让人类阅读 AI 写的内容。 所以诀窍是,我们希望人类来读,并且由人类来评论。
there's no api to comment. there's only a human api to comment. i guess you can use computers now, but it's not with the ethos of the system. So a human has to read it, but you can, uh, the author can use AI. And what that does is it creates a really interesting paradigm where if an author produces too much slop, we're literally pinging you on Slack being like, let me actually.
没有用于评论的 API。 只有供人类评论的 API。 我想现在你可以用电脑来做,但这不符合这个系统的理念。 所以必须由人来读,不过作者可以,呃,用 AI。 这样就形成了一种非常有意思的模式:如果作者产出太多垃圾内容,我们就会直接在 Slack 上戳你,说,咱们还是……
说话人 1 I have a funny one right now. Oh yeah, there is one that I, I don't know if you made or someone made.
我现在就有个好笑的例子。 哦,对,有一个我不知道是你做的,还是别人做的。
说话人 0 That was me, that was me. I made, I made one that was like absolute freaking slop.
是我做的,是我做的。 我做了一个,做了一个简直烂透了的东西。
说话人 1 Oh yeah, you guys can read it to, um... we can show you literally it was like unreadable.
哦,对,你们也可以读读……嗯,我们可以给你们看,真的简直看不懂。
说话人 0 yeah. well, like here's this in slack, for example, right over here. you can actually see what's going on, which is like avery created a bep last night and he was like, slightly slop, do not read yet. just letting us know that it's not ready for human consumption. i was like, oops, you said not to read. and like clearly there was a thing. But you can see the level of communication that we have established in the team culture on this, which is it is not meant to be sloppy. and the quality must be high. and when you think about string interpolation, there's so many thoughts that you have to do. and because we're designing a language, we have to make no mistakes effectively, like, you know, slightly less than quality. and we actually have to go through and do a lot of prior art research. and oftentimes, our design doc have prior art research. where we talk about the different things, like for example, js allows sql directly inside of js. actually, many languages do. and what does that look like? do we want to enable that capability? and then we start outlining goals, non-goals, and the design decisions in place that start describing it. so like one of the things we wanted was we wanted auto-dedentation. so you can just like... You can just indent your strings and it'll just auto dedent it for you just so it reads nicer along the way. So we have all these goals in there and we just describe exactly how this works. And the goal is at the end of this, let's see if I can show some of the comments. Um, you can actually see some of the comments that people leave. You can read comments and I have earlier ones. Earlier one comments are actually better to read because then you can actually see the kind of feedback that you get. You need faster scrolling. I'm probably give the feedback soon. I do need I I actually can't work at high mouse sensitivity.
对。 嗯,比如这里就是 Slack 上的内容,就在这儿。 你实际上能看到发生了什么:Avery 昨晚创建了一份 BEP,然后他说,有点像垃圾内容,暂时别读。 只是告诉我们,这还没准备好给人看。 我当时就想,哎呀,你说过不要读的。 而且显然确实有这么回事。 不过,你可以看出我们在团队文化中围绕这件事建立起了怎样的沟通方式:我们不是要草草了事。 质量必须过硬。 想到字符串插值,你就会有很多方面需要考虑。 而且既然我们是在设计一门语言,实际上就不能犯错;质量也不能有丝毫降低,你懂吧。 我们实际上还得做大量的先前工作研究。 我们的设计文档里往往会包含先前工作研究。 我们会讨论不同的做法,比如 JavaScript 允许直接在 JavaScript 里写 SQL。 实际上,很多语言都这么做。 那会是什么样子? 我们要不要支持这种能力? 然后我们开始列出目标、非目标,以及用于阐述设计的各项决策。 比如,我们想实现的功能之一就是自动去缩进。 这样你就可以……直接给字符串加缩进,它会自动帮你去掉缩进,让内容读起来更舒服。 所以我们把所有这些目标都写进去,并准确描述它的工作方式。 目标是,到最后——看看我能不能展示一些评论。 嗯,你实际上可以看到大家留下的一些评论。 你可以读评论,我这里还有更早的评论。 其实更早的评论更值得看,因为这样你就能看到大家给出的反馈是什么样的。 你需要更快地滚动。 我大概很快就会给出反馈。 我确实需要……我其实没法用很高的鼠标灵敏度工作。
说话人 1 We just need a better ergonomics here. Obviously this is a Vibe coded tool. We we don't know what this code looks like underneath.
我们只需要让这里的人体工学设计更好一些。 显然,这是个 Vibe 编码的工具。 我们不知道这段代码底层是什么样的。
说话人 0 Um And we never will.
嗯,而且我们永远也不会知道。
说话人 1But it's been pretty useful.
但它一直挺有用的。
说话人 0Oh yeah, there's some comments here. Let me find the actual ones. These are older baps. Let me find the more recent one, like the CLI redesign that Avery did. You're going to see like how we're having these conversations. We're literally just talking about different things along the way. We're just highlighting different concepts. And again, like we Avery knows that I'm going to read every word of it. So he's going to design it in a way that makes sense. And the level and similarly, that means that my comments are taken very seriously because. He knows that I'm putting the effort into it. Uh, we can have an actual faithful discussion around this in a good way. Whereas the one that's like the level of detail, I think metrics, like our reflection system had a shit ton of comments because like it was just not reflection as it turns out is a complicated concept. Yeah. And you can see like some of these, some of these docs get to be multiple pages because of how complicated they are. And like, yes, it doesn't mean that we write short docs. And doesn't even mean that we don't use AI. Like this is written by AI, but the important part is someone needs to understand. Exactly how C sharp is going to go do. And sometimes, yes, we have AI isms. But the idea is AI isms are well understood. It's like, yes, in prior art, it's okay to have more AI isms than in the main readme because... Yeah, I mean... Prior art is just like catching everyone up to speed. Like not everyone on a team is going to go understand reflection in every single language at all times. But the person writing the Bep better...
哦,对,这里有一些评论。 我来找找具体的评论。 这些是比较早的 BAP。 我来找找更新一些的,比如 Avery 做的 CLI 重新设计。 你会看到我们是怎么进行这些对话的。 我们真的就是一路上聊着各种不同的事情。 我们只是在强调不同的概念。 而且再说一次,Avery 知道我会逐字阅读。 所以他会以一种合乎情理的方式来设计。 同样,这也意味着我的评论会被非常认真地对待,因为…… 他知道我为此投入了精力。 呃,我们可以围绕这个进行一次真正坦诚、而且很好的讨论。 而像这种细节程度的,我觉得指标就像我们的反思系统,里面有一大堆注释,因为事实证明,反思本身是个很复杂的概念。 是啊。 你们可以看到,其中一些文档因为内容复杂,篇幅会有好几页。 而且,没错,这并不意味着我们写的文档都很短。 也不意味着我们不用 AI。 比如这份就是 AI 写的,但关键是得有人能理解。 C# 到底会如何实现。 有时候,没错,我们确实会有一些 AI 式表达。 但我们认为这些 AI 式表达是容易理解的。 比如,在先前的资料里,AI 式表达比主 README 里多一些也没关系,因为……嗯,我是说……先前的资料只是为了让大家都了解情况。 毕竟,团队里不可能每个人时时刻刻都了解每种语言中的反思机制。 但写 Bep 的人最好……
说话人 1 Usually you want to put your proposal at the top in a technical doc, like here's what's happening, here's the standard library changes, and then you dive into everything. So someone can just get like uh see like in here you say what you can do right? We we specify the problem we tell you literally how you use this stuff and then you dive into the design. Um, that way you can get a mental framework on what to look for. Um, you might have a lot of questions when you first see the API.
通常你会想在技术文档的开头放上提案,比如说明接下来会发生什么、标准库会有哪些变更,然后再深入展开。 这样别人只要看一眼,就能明白,比如这里写了你能做什么,对吧? 我们会明确说明问题,具体告诉你怎么用这些东西,然后再深入讲设计。 嗯,这样你就能建立一个思路框架,知道该关注什么。 嗯,你第一次看到这个 API 时,可能会有很多问题。
说话人 0 I'll leave you guys with one last thing, which is like actually the AI workflow that we use on here.
最后我还想跟大家说一件事,就是我们在这里实际使用的 AI 工作流程。
So we don't prescribe anyone use any model. It's actually really simple. You can just download all these BEPs. And once you download all these BEPs, I actually don't even know how to write a BEP manually anymore. I'll open this in cursor, I guess.
所以我们不会规定任何人必须使用哪种模型。 其实很简单。 你可以直接下载所有这些 BEP。 下载完所有这些 BEP 后,说实话,我甚至都不知道怎么手动写 BEP 了。 我想我会用 Cursor 打开这个。
说话人 1 Yeah, we just have a prompt. I think every tool that we make is self-describing. so this is another one of those tools. and each tool just has like, hey, here's how you would use this tool in the future for another agent to use.
对,我们只有一个提示词。 我觉得我们做的每个工具都是自我描述的。 所以这也是这类工具之一。 而且每个工具都有类似这样的说明:嘿,这是你以后可以如何使用这个工具,让另一个代理来用。
说话人 0That zip file basically just downloads into here. It downloads every Bep into here and every Bep has a skill attached to it that literally just has a CLI baked in that says exactly how to use it. You can just like Bep pull, Bep push and it just does the whole thing like Git but it's not Git because Git is not very good for docs. Because of merge conflicts and a bunch of other reasons that we're not going to get into right now.
那个 ZIP 文件基本上就是下载到这里。 它会把每个 BEP 都下载到这里,而且每个 BEP 都附带一个技能,其中直接内置了一个 CLI,明确说明该如何使用。 你可以直接用 Bep pull、Bep push,它就会把整套流程都处理好,像 Git 一样,不过它不是 Git,因为 Git 不太适合管理文档。 因为有合并冲突,还有很多其他原因,我们现在就不展开了。
说话人 1 I'm back with a Babel enhancement proposal by the way.
顺便说一句,我又带着一份 Babel 增强提案回来了。
说话人 0Yes. Uh, and what we do here is like, it's, uh, we have comments. So again, you can fetch all the comments, but you cannot, uh, and oh, we did make it so you can reply to a comment. You just cannot create a comment. So again, the code, the author of the Bep is given more convenience than the readers of the Bep. And that has a nice balancing function. Because the author will literally be told in the team being like, why are you producing these BEPs? Why are you that are slop? And we will remove their BEP privileges and their BEPs will be deprioritized in terms of how the other team devotes reading their BEPs. Mhm. So it's like a self-balancing system on the quality side of it. Um, and yeah, we just use Claude to write all this stuff out and like, um, address all the concerns on there. Um, or any agent really. Any questions? from anyone uh on there. Or Aaron, any other thoughts you want to leave around the Beps thing?
是的。 呃,我们在这里做的是,呃,我们有评论。 所以同样,你可以获取所有评论,不过你不能……哦,我们确实做到了可以回复评论。 你只是不能创建评论。 所以同样,BEP 的作者比读者享有更多便利。 这样就起到了很好的平衡作用。 因为团队会直接质问作者:你为什么要产出这些 BEP? 为什么你产出的东西都是一堆垃圾? 我们会取消他们的 BEP 权限,并降低他们的 BEP 的优先级,也就是其他团队阅读他们的 BEP 时会排在较后的位置。 嗯哼。 所以在质量方面,这就像一个自我平衡的系统。 嗯,对,我们就是用 Claude 把这些内容都写出来,然后处理其中的所有顾虑。 嗯,或者用任何智能体都行。 有人有问题吗? 在这方面有什么问题吗? 或者 Aaron,你还有什么关于 BEP 的想法想补充吗?
说话人 1 Uh, no, I mean, yeah, just build these, you can build these kind of tools yourself and deploy them and and then just use a whole system for writing docs. That being said, we are like kind of using a bunch of Claude artifacts to also share some docs, so. I think it's just a Claude artifact is inherently less friction. which leads to people using them and uh we just need to create a system that makes this BAP site even less friction than writing a Claude artifact. Um, and also Claude artifacts, you know, you have like HTML, you can add a little animation, do that kind of thing, and we haven't updated our website yet to do this kind of thing. Um, so yeah, we have to add that in. We have to keep updating it and making it more flexible.
呃,没有,我的意思是,对,大家可以自己搭建这类工具并部署,然后直接用一整套系统来写文档。 话虽如此,我们也在用不少 Claude Artifacts 来分享一些文档,所以…… 我觉得 Claude Artifact 本身的使用门槛就比较低。 因此大家会用它,而我们需要建立一套系统,让这个 BAP 网站比编写 Claude Artifact 还要省事。 嗯,而且 Claude Artifacts,你知道,可以用 HTML,还能加些小动画之类的;我们的网站还没更新到能支持这些功能。 嗯,所以我们得把这些功能加进去。 我们得持续更新,让它变得更加灵活。
说话人 0and i mean, the main benefit of having this is like, we don't use this for every design doc in the company, just for a little bit more transparency. we use this specifically for new language features or new capabilities. a lot of the other stuff can be notion docs, it can be slack docs, it doesn't really matter. but if it's a thing that affects the language, it needs to be in here, kind of approach. Um, and I found that to be a very useful structure behind the scenes. Um, I have a couple of questions to ask you, uh, on top of this.
而且,我的意思是,设立这个的主要好处是增加一点透明度;我们不会把它用于公司里的每一份设计文档。 我们专门用它来记录新的语言特性或新能力。 很多其他内容可以放在 Notion 文档里,也可以放在 Slack 文档里,都无所谓。 但如果是会影响语言的内容,就应该放在这里,大致就是这个思路。 嗯,我发现这在幕后是一种非常有用的组织方式。 嗯,除此之外我还有几个问题想问你。
Now, we've talked about three different ideas. We talked about what models we use. We talked about how to use AI to build slide decks. We talked about how, what structure we've put in place to actually have engineering docs and the quality of writing that we expect on them. And obviously people want to see this. There's, there can be a link to the website. You guys can go poke around and like... Go see if it's interesting or like how we write it. Like our sandbox is bad is kind of interesting probably. Reading it, but. And as a final closing thought, when we introduced these first few processes, what do you think, what do you remember your first reaction to be? I actually don't remember. Um, like when we first said we're going to write Beps on here.
我们已经讨论了三种不同的想法。 我们聊了聊要用什么模型。 我们聊了聊如何用 AI 制作幻灯片。 我们聊了聊我们制定了什么结构,来编写工程文档,以及我们对文档写作质量的要求。 显然,大家都想看看这些内容。 可以放一个网站链接。 你们可以去逛逛,看看……看看有没有意思,或者看看我们是怎么写的。 比如,我们的沙盒很糟糕,这大概还挺有意思的。 读读看,不过…… 最后作为结束语,当我们引入最初这几套流程时,你觉得……你还记得自己当时的第一反应是什么吗? 我其实不记得了。 嗯,比如我们刚说要在这里写 BEP 的时候。
说话人 1 I don't know, it could have felt overkill potentially. I'm not sure. It's like oh man another tool to maintain but I think agents have made it easier to do this. But that being said, I love uh I love having the culture of uh a culture of writing and. I think every just having people write makes them better thinkers. For sure. So, yeah, I like it. I like the comment section. I think initially we did a version of this where some features didn't really work or the layout didn't really work and then it didn't really get much use and then we iterated on it and then it became better.
我不知道,当时可能会觉得有点小题大做。 我不太确定。 当时可能会想:天啊,又多了一个要维护的工具。不过我觉得智能体让这件事变得更容易了。 不过话说回来,我很喜欢……我很喜欢这种写作文化。 我觉得,光是让大家写东西,就能让他们成为更好的思考者。 确实。 所以,是啊,我喜欢这样。 我喜欢评论区。 我觉得一开始我们做过一个版本,有些功能不太好用,或者布局不太合理,所以没什么人用。后来我们不断迭代,它就变得更好了。
说话人 0Yeah, it did take a while to actually find a workflow that worked. And the reason we even sought this out for context is like, before we were literally sharing markdown files. And and after that we were sharing like Slack DMs and they would just get lost. There was no like written record. Like Aaron says, like there's no culture writing, there's no written record of where certain docs live.
是啊,确实花了一段时间才找到行之有效的工作流程。 说到我们为什么会去寻找这种方案,背景是这样的:以前我们真的就是在共享 Markdown 文件。 之后我们开始分享 Slack 私信,但那些内容很容易就被淹没了。 没有什么书面记录。 就像 Aaron 说的,我们没有记录的文化,也没有书面记录说明某些文档放在哪里。
说话人 1 Or how decisions are taken, yeah.
或者决策是怎么做出的。对。
说话人 0Yeah. And I think in the world of AI where you're moving extremely fast, having a written record of what decisions were made and why, specifically the why, because if you need to go back and walk through and go back and like open a different door. Like you need a written record really quickly or building that context is like too expensive now. Like codebases are...
是啊。 我觉得在 AI 这个发展极快的领域,记录做出了哪些决策以及为什么这么做,尤其是背后的原因,非常重要。因为如果你需要回头梳理,或者换条路尝试…… 你就需要尽快有一份书面记录,否则现在重新建立这些背景信息的成本太高了。 就像代码库……
说话人 1 Yeah. There's just things are moving so fast. Like think of uh how much software will be created in the next three years. Like you're gonna create all of these PEPs in one go with like a single prompt. Uh a lot of these decisions will be done for you. Um, but there will be just more decisions just for humans to understand and humans to take. So you want a written record of what those decisions were.
是啊。 一切都在飞速发展。 想想未来三年会开发出多少软件。 你可以用一个提示词,一次性生成所有这些 PEP。 很多决策都会替你做出。 嗯,但会有更多决策需要人类去理解和做出。 所以你会想要一份书面记录,记下那些决策是什么。
说话人 0Um, I mean, was it Bezos who was talking about like, hey, I don't work that many hours a day, but like when I do work, I have to make every decision perfectly correct and it's more important that I get all those decisions correct than like any amount of work that I do. Yeah, exactly. Like that's effectively going down to every human in the chain.
嗯,我是说,谈到这个的是贝索斯吗?他说过,‘嘿,我每天工作不了多少小时,但我工作的时候,每个决策都必须做得完全正确。把所有这些决策都做对,比我做多少工作都重要。’ 对,没错。 这实际上就等于要追溯到整个链条中的每一个人。
说话人 1 I could imagine and right. Oh yeah yeah, it's like going down every human in the chain and figuring out if all the decisions were correct. But...
我能想象得到,没错。 哦,对对对,就像是追溯到链条中的每一个人,看看所有决策是否都正确。 但是……
说话人 0 And writing is like the way of transferring that idea.
而写作就是传递这个想法的方式。
说话人 1 I could imagine this website having like working proof of concepts for each of the things. Yeah. Like actually working things. And it's like, oh yeah, try out the demo here. And then you can just like say a comment and it'll just rewrite the thing and be like different. So it'll be interesting.
我能想象这个网站上有每个项目都能实际运行的概念验证。 对。 就是真正能运行的东西。 然后就可以说,哦,对,在这里试试演示版。 然后你只要留下一条评论,它就会改写那个东西,让它变得不一样。 所以这会很有意思。
说话人 0All right, I think that's it. If everyone's got any more questions, we'll stick around for a little bit, but otherwise, it's been a blast.
好了,我想就这些。 如果大家还有问题,我们会再留一会儿;否则,今天真的很愉快。