Matt Pocock|全程实录:用 AI 技能库交付一个两
字幕摘录
| 时间 | 英文 | 中文 |
|---|---|---|
| 0:00 | you've been asking again and again and again | 你一直问一遍又一遍 |
| 0:02 | for me to show you what my development process looks like. | 让我告诉你我的发展进程是什么样子 |
| 0:06 | I've done a tiny little bit of it on this channel, | 我在这个频道上做了一点 |
| 0:08 | but not nearly enough. | 但还不够 |
| 0:10 | And since I did it, I've come into possession | 自从我这么做后,我便拥有了 |
| 0:12 | of one of the most starred repos in the world, | 是世界上最有名的重星之一, |
| 0:15 | which is my skills repo | 这也是我的能力 |
| 0:16 | and certainly the most starred skills repo in the world. | 并且是世界上最有才华的 |
| 0:19 | And so I do think I owe it to you to show off | 所以我认为我欠你一个炫耀 |
| 0:21 | how I use these skills in something more than a tutorial, | 我如何用这些技能 做一些比教书更多的事情, |
展开字幕全文(1868 条)
| 序号 | 英文 | 中文 |
|---|---|---|
| 1 | you've been asking again and again and again | 你一直问一遍又一遍 |
| 2 | for me to show you what my development process looks like. | 让我告诉你我的发展进程是什么样子 |
| 3 | I've done a tiny little bit of it on this channel, | 我在这个频道上做了一点 |
| 4 | but not nearly enough. | 但还不够 |
| 5 | And since I did it, I've come into possession | 自从我这么做后,我便拥有了 |
| 6 | of one of the most starred repos in the world, | 是世界上最有名的重星之一, |
| 7 | which is my skills repo | 这也是我的能力 |
| 8 | and certainly the most starred skills repo in the world. | 并且是世界上最有才华的 |
| 9 | And so I do think I owe it to you to show off | 所以我认为我欠你一个炫耀 |
| 10 | how I use these skills in something more than a tutorial, | 我如何用这些技能 做一些比教书更多的事情, |
| 11 | in a real walkthrough. | 在真正的走过。 |
| 12 | And in this walkthrough, | 在这过程中, |
| 13 | we're gonna focus especially hard on two skills. | 我们要特别专心于两个技能 |
| 14 | The first one is gonna be the Grill with Docs skill. | 第一个是有医生技能的Grill |
| 15 | And I think grilling is really much more of an art form | 我觉得烤肉更像是艺术形式 |
| 16 | than most people assume. | 比大多数人认为。 |
| 17 | In this walkthrough, | 在这过程中 |
| 18 | I really focus a lot more on the domain modeling aspects | 我真的更注重域建模方面 |
| 19 | of it. | 对 |
| 20 | In other words, the kind of classic DDD skills | 换句话说 典型的DDD技能 |
| 21 | that allow you to basically say, | 让你基本上说, |
| 22 | okay, I've figured out the language of my application. | 好吧,我明白了 我应用的语言。 |
| 23 | And so once I've figured out the language, | 所以,一旦我明白了 语言, |
| 24 | then I've actually figured out the app | 然后,我实际上想出了应用程序 |
| 25 | and figured out what I wanna build. | 并想出了我想建造的东西。 |
| 26 | In this video, you see me go through that process | 在这段视频中,你看到我经历了这个过程 |
| 27 | on a real feature that I will use from now on, | 我以后会用到的 |
| 28 | even to build the thumbnail for this video. | 甚至为这段视频打造缩略图. |
| 29 | And the next skill I go deep on is the Retro skill, | 下一个我深入的技巧是复古的技巧, |
| 30 | which is we look back on the huge chunk of sessions. | 这就是我们回顾 大量的会议。 |
| 31 | I think we do like 30 sessions in this video | 我觉得这段视频里我们确实喜欢30场 |
| 32 | and we suggest a bunch of improvements. | 我们建议改进一下 |
| 33 | I'm gonna walk through a real huge, I think 25,000 line PR. | 我要穿过一个巨大的, 我认为25,000线公关。 |
| 34 | I'm gonna do some real human review on it | 我会做一些真正的人类评论 |
| 35 | and show you how that human review can then go back | 并告诉你如何 人类审查 然后回去 |
| 36 | and influence and impact the system going forward. | 影响和影响系统前进。 |
| 37 | Now, if you're interested in this stuff, | 如果你对这东西感兴趣的话 |
| 38 | then the AI coding crash course that I have | 然后,AI编码崩溃路线,我有 |
| 39 | is absolutely the place that you need to be | 绝对是你需要的地方 |
| 40 | if you want a more structured approach. | 如果你想要一个更有条理的方法。 |
| 41 | But with that, let's get cracking, let's dive in. | 但这样的话,我们开始跳下去 |
| 42 | So this is where all of my courses get created, | 所以这就是我所有课程的创造之处 |
| 43 | all of my videos get created. | 我所有的视频都会被创造出来 |
| 44 | It's a video editor, a thumbnail editor, a AI writer. | 是视频编辑,缩略图编辑,AI编剧. |
| 45 | It helps me schedule things, it creates shorts, | 它帮助我安排事情, 它创造短裤, |
| 46 | it does all sorts of stuff. | 它做各种各样的事情。 |
| 47 | And the bit that I'm particularly interested in right now | 我现在特别感兴趣的那一点 |
| 48 | is this little thumbnail creator down here. | 这个小拇指创造者在这里。 |
| 49 | This is where I can post the video | 我可以在这里张贴视频 |
| 50 | that I'm creating and editing right now, | 我现在正在创作和编辑 |
| 51 | and I can create a new thumbnail | 我可以创建一个新的缩略图 |
| 52 | and this is essentially a process where I capture my face | 这基本上是一个过程 我抓住我的脸 |
| 53 | and then my face goes into the thumbnail | 然后,我的脸进入拇指 |
| 54 | and I can create a diagram with it. | 我可以用它来制作一个图表。 |
| 55 | For instance, I just stopped recording | 例如,我刚刚停止了录音 |
| 56 | so that I could take this still. | 这样我才能安然无恙 |
| 57 | This allows me to move this left and right. | 这让我可以左右移动 |
| 58 | And then in here, in my diagram creator, | 然后在这里,在我的图表创造者, |
| 59 | I can essentially screenshot this part of the window here. | 我基本上可以截图 这部分窗口在这里。 |
| 60 | And what that will do is I can then copy and paste it | 那样我就可以复制并粘贴它 |
| 61 | into the thumbnail. | 进入缩略图。 |
| 62 | So if I press Control V here, you can see it gets pasted in | 所以,如果我按这里的控制V, 你可以看到它被贴在 |
| 63 | and then the cutout automatically gets cut out | 然后自动剪断 |
| 64 | by this nice API. | 由这个漂亮的API。 |
| 65 | I can position these and I have my thumbnail. | 我可以定位这些,我有我的拇指。 |
| 66 | Now this is pretty nice, | 现在这是相当不错的, |
| 67 | but what I would really like to do | 但我真正想做的是 做点什么 |
| 68 | is remove a bit of friction here. | 正在消除一些摩擦。 |
| 69 | It's annoying having to swap over to the diagram view | 换到图景很烦人 |
| 70 | and like have my, you know, | 就像拥有我的,你知道的, |
| 71 | it's like an annoyingly manual process, | 这就像一个烦人的手工过程, |
| 72 | especially if I get things wrong, | 特别是如果我搞错了 |
| 73 | I can't quite position them correctly. | 我无法正确定位他们 |
| 74 | I have to go back, I have to screenshot it again | 我要回去,我还要再拍一次 |
| 75 | and try it again. | 再试一次 |
| 76 | Essentially, I don't have enough flexibility here. | 基本上,我在这里没有足够的灵活性。 |
| 77 | What I really want is to be able to draw on this surface here. | 我真正想要的就是能够从这里的表面画出来。 |
| 78 | In other words, have the diagram kind of integrated | 换句话说,把图表整合起来 |
| 79 | with the picture of me there. | 还有我的照片 |
| 80 | I really don't have a clue on how I'm going to build this. | 我真的不知道我要怎么建这个 |
| 81 | I just know that it's something I want. | 我只知道这是我想要的 |
| 82 | And so I thought it would make a good candidate | 所以我觉得这是个好人选 |
| 83 | for like a new feature or an improvement | 像是新的特征或改进 |
| 84 | and to sort of show you the whole process end to end. | 并显示整个过程的结束。 |
| 85 | And so when I enter into a new piece of work, | 所以当我进入一个新的作品, |
| 86 | I start thinking through this decision tree, | 我开始想 通过这个决定树, |
| 87 | which is essentially what skill from my skills | 这基本上是我的能力 |
| 88 | am I going to use? | 我会用吗? |
| 89 | In other words, you have essentially a new session here. | 换句话说,你在这里基本上有一个新的会话。 |
| 90 | You want to create a new piece of work. | 你想创造新的作品。 |
| 91 | You don't know what to choose. | 你不知道该选什么 |
| 92 | You first think through, okay, | 先想清楚,好吗? |
| 93 | what is the thing I'm trying to create? | 我想创造什么? |
| 94 | And the thing I'm trying to create is essentially a diff, | 我试图创造的东西 本质上是一个diff, |
| 95 | the diff between the old code base and the new code base. | diff在旧代码基础和新代码基础之间。 |
| 96 | And if that diff is really small, | 如果那个Diff真的很小 |
| 97 | then you can probably just one shot the thing. | 然后你也许可以只拍一个东西。 |
| 98 | So you don't need to worry about grilling | 所以你不必担心烤肉 |
| 99 | before you continue. | 在你继续之前 |
| 100 | But in this case, I know that the thing we're creating | 但在这种情况下,我知道 我们创造的东西 |
| 101 | is pretty big. | 相当大。 |
| 102 | And so I'm going to go with grill with docs. | 所以我要和医生一起吃烤肉 |
| 103 | From there, if it ends up being a lot larger than I thought, | 从那里,如果它最终 比我想的要大很多, |
| 104 | 永远可以逃到Wayfinder, | |
| 105 | which is what I use for turning initial grilling sessions, | 我用来做初烤 |
| 106 | running them over multiple sessions, | 在多个会话中运行, |
| 107 | developing this huge great big concept | 发展这个巨大的大概念 |
| 108 | of what we're trying to build | 我们试图构建 |
| 109 | and then going until we get there. | 直到我们到达那里。 |
| 110 | But I prefer starting with grill with docs | 但我更喜欢从烤肉和医生开始 |
| 111 | because if it ends up being smaller than I thought, | 因为如果它最终比我想的要小 |
| 112 | then it means I don't have all the overhead | 意思是,我没有所有的管理费 |
| 113 | 运行 Wayfinder 会话。 | |
| 114 | The place I'm going to run this is inside my personal wiki, | 我要运行的地方 在我的个人维基, |
| 115 | which is a home repo. | 这是家的回扣。 |
| 116 | If you don't know what a home repo is, | 如果你不知道什么是家庭财产 |
| 117 | then check out my accompanying video on that. | 然后看看我的视频 |
| 118 | The agent I'm going to use is Claude Code, | 我要使用的特工是克劳德·科德 |
| 119 | because that's the one I have a subscription to. | 因为这是我订的 |
| 120 | That's what I'm set up for and that's kind of what I like. | 这就是我的设定, 和我喜欢的。 |
| 121 | I am on the Claude Ultra plan. | 我是在克劳德·乌特拉计划。 |
| 122 | I have Opus 5.5 and I'm running it on medium effort. | 我有Opus 5.5,我运行它 在中等努力。 |
| 123 | And of course, I have all of my skills installed | 当然,我有我所有的技巧 |
| 124 | and I also have a bunch of custom skills | 我也有一套定制技能 |
| 125 | that are inside my home repo. | 在我家的里头 |
| 126 | My home repo is not open source, | 我的家购宝不是开源的 |
| 127 | but most of the skills you're going to see are open source | 但大部分的技巧你将会看到 开源 |
| 128 | 他们正在Aihero. Dev前锋的刀技。 | |
| 129 | So we're going to start with grill with docs here | 所以我们要从烤肉开始 这里的医生 |
| 130 | and then I'm going to explain my problem through dictation | 然后我要通过口述来解释我的问题 |
| 131 | and I'm using whisper flow for that. | 我用悄悄的流言 |
| 132 | In the course video manager, we have a thumbnail viewer | 在课程的视频管理器,我们有一个缩略图查看器 |
| 133 | and the thumbnail creator is okay. | 缩略图的创造者没事 |
| 134 | I like that it asks me and it sort of forces me | 我喜欢它问我, 它有点强迫我 |
| 135 | to put my face onto the screen. | 把我的脸放到屏幕上 |
| 136 | But what I don't like is the sort of rigmarole | 但我不喜欢的是那种硬币 |
| 137 | I have to go through for attaching a diagram. | 我不得不通过附图。 |
| 138 | Most of my diagrams are built in TL draw | 我的图大多是用TL图画的 |
| 139 | and using the custom diagram playground that we have. | 并使用我们拥有的自定义图游乐场。 |
| 140 | But I don't have, what I would really like | 但我没有 我真正想要的 |
| 141 | is for the diagram to be able to be editable | 用于图表可以编辑 |
| 142 | in the scene that I'm viewing. | 我在看的场景 |
| 143 | So in the context of the thumbnail. | 因此在缩略图的背景中. |
| 144 | In other words, I want my face visible | 换句话说,我要我的脸亮着 |
| 145 | and then to have the thing just editable next to me. | 然后让我身边的东西可以编辑 |
| 146 | I really don't know UI wise how we're going to handle that | 我真的不知道UI会怎样处理 |
| 147 | and what that's going to look like. | 以及那会是什么样子。 |
| 148 | So I think there are a lot of questions to answer that. | 所以,我认为有很多问题可以回答。 |
| 149 | I want you to notice a couple of things | 我要你们注意一些事情 |
| 150 | about how I'm prompting there. | 关于我如何激励那里。 |
| 151 | The first thing is I'm thinking a lot about the why. | 第一件事是我想了很多为什么。 |
| 152 | I'm thinking a lot about the problem | 我想了很多问题 |
| 153 | that I'm trying to get the agent to solve. | 我试图让代理解决。 |
| 154 | I'm not necessarily giving it a, you know, | 我不一定给它,你知道, |
| 155 | decent sort of like idea of what exactly to do. | 有点像什么是真正应该做的。 |
| 156 | If I give it the why, then the agent feels | 如果我说出原因 那经纪人就觉得 |
| 157 | a lot more empowered to go away | 更有能力离开 |
| 158 | and actually produce a solution itself | 并产生一个解决方案本身 |
| 159 | or maybe have a discussion about the solution. | 或者讨论一下解决方案 |
| 160 | Whereas if you come to it with a what saying, | 如果你带着一句话来见它, |
| 161 | I want to do X, Y, Z, then it will often | 我想做X,Y,Z,然后它会经常 |
| 162 | not necessarily come up with that creative an answer. | 不一定有创意地提出答案。 |
| 163 | And so we can see here it's come back | 我们可以看到它又回来了 |
| 164 | with a bunch of grilling questions here. | 这里有一堆烧烤问题 |
| 165 | It's asking first, what is the rigmarole? | 它首先问,什么是硬币? |
| 166 | What is the part of attaching a diagram that hurts most? | 附上一个最痛的图表是什么? |
| 167 | I would say that A, leaving the thumbnail creator | 我会说A,留下缩略语创作者 |
| 168 | is annoying and B is also annoying | 烦死了 B也烦死了 |
| 169 | and C is also annoying. | C也很烦人 |
| 170 | So I think you've put your finger on all three there | 所以,我想你已经把手指 在所有三个那里 |
| 171 | to be honest. | 老实说 |
| 172 | Is the thumbnails diagram the same as the videos diagram? | 缩略图和视频图一样吗? |
| 173 | When you edit the diagram inside the thumbnail, | 当你在缩略图中编辑图表时, |
| 174 | should the changes go back to the diagram the video uses? | 更改是否应该回到视频使用的图表? |
| 175 | This is kind of a question about | 这是一个问题 关于 |
| 176 | where do we want this diagram stored? | 我们要将这个图表存放在哪里? |
| 177 | Should it be inspired from existing diagrams? | 是否应该从现有的图表中启发它? |
| 178 | Because in the application, you can see, | 因为申请中你可以看到 |
| 179 | if I do a search here, then I can actually search | 如果我在这里搜索,那么我可以真的搜索 |
| 180 | for existing diagrams. | 用于现有的图表。 |
| 181 | So I've found this wayfinder diagram | 所以我找到了这个探路器图 |
| 182 | by just sort of like, oh, I've got to search, haven't I? | 有点像, 哦,我得搜索,不是吗? |
| 183 | So go to diagram, wayfinder, | 所以去图,探险家, |
| 184 | and then search all the diagrams that I've used. | 然后搜索我用过的所有图表 |
| 185 | So this one, for instance, is good. | 比如说,这个很好。 |
| 186 | This one's another one. | 这个是另一个 |
| 187 | So it's kind of asking, how do we associate | 所以,它是一种问, 我们如何联系 |
| 188 | these thumbnail diagrams with this list? | 这些带有此列表的缩略图 ? |
| 189 | And I'm not quite sure there. | 我不太确定这里 |
| 190 | With Q2, I'm not sure. | 与Q2,我不确定. |
| 191 | I'm kind of not sure of the trade-offs there really. | 我有点不确定 真正的权衡。 |
| 192 | I suppose the question is, | 我想问题是, |
| 193 | do I want the diagram to be sort of searchable | 我是否希望图表可以搜索 |
| 194 | inside the main list? | 在主列表内? |
| 195 | Do I want it associated? | 我要和它联系起来吗? |
| 196 | I'm not quite sure what the use case is there. | 我不太确定那里有什么用途 |
| 197 | Q3, starting from scratch, | Q3,从零开始 |
| 198 | should you be able to draw a new diagram | 如果您能绘制新的图表 |
| 199 | straight in the thumbnail without any existing diagram? | 直接在缩略图中, 没有可用的图表 ? |
| 200 | Q3, yes, I agree. | 问题3,是的,我同意。 |
| 201 | That sounds good. | 这听起来不错。 |
| 202 | With Q3 too, I kind of maybe want to be able | 加上Q3,我也许想能够 |
| 203 | to search existing diagrams. | 以搜索已有的图表。 |
| 204 | I like the ability to add components that we've already got, | 我喜欢添加我们已经拥有的组件的能力, |
| 205 | maybe searching for stuff that we've already got, | 也许在寻找我们已经得到的东西, |
| 206 | or maybe I could just copy stuff in | 或者我可以把东西抄进去 |
| 207 | from one TL Draw board to another. | 从一个 TL 绘图板到另一个。 |
| 208 | I want you to notice at this point | 我要你注意这一点 |
| 209 | how loose the language is | 语言有多松散 |
| 210 | that we're using to describe the feature. | 我们用来描述这个特征 |
| 211 | It doesn't feel like we are particularly sort of, | 感觉我们不是特别的 |
| 212 | we haven't figured out the right names for things yet, | 我们还没找到合适的名字 |
| 213 | and so I'm having to use a lot of weird verbosity | 所以我不得不用很多奇怪的动词 |
| 214 | and shortcuts. | 和捷径。 |
| 215 | It's not quite clear in my head still. | 我脑子里还不清楚 |
| 216 | As we go through this grilling process, | 当我们经历这个烧烤过程时, |
| 217 | the idea of what we're building | 关于我们正在建设的理念 |
| 218 | is gonna become clearer and clearer in my head | 我脑子里会越来越清楚 |
| 219 | until we end up with a nice set of words | 直到我们最后用一个很好的词组 |
| 220 | for the things we're building. | 为了我们建造的东西。 |
| 221 | And once we're there, we've kind of built the feature. | 一旦我们到了那里,我们建立了这个功能。 |
| 222 | So Q4 says, should there be one editing mode or two? | 所以Q4说,应该有一个编辑模式还是两个? |
| 223 | In the thumbnail, should there be a single | 在拇指中,应该有一个 |
| 224 | edit the diagram mode and a separate arrange mode? | 编辑图表模式和单独的排列模式? |
| 225 | For Q4, I think the process should probably be | 对于问题4,我认为这一过程可能是 |
| 226 | that we take a photo of my face first, | 我们先拍我的脸的照片 |
| 227 | then that face gets arranged onto the canvas, | 然后那张脸被安排在画布上, |
| 228 | and then once my face is there, | 然后一旦我的脸在那里, |
| 229 | then we can sort of build the diagram around my face, | 然后我们可以把图画在我脸上 |
| 230 | and I should have the option of retaking it. | 我应该有选择 收回它。 |
| 231 | For Q5, is the face fixed? | 对于第5题,面部是否固定? |
| 232 | For Q5, I think I should have the option | 对于Q5,我想我应该有选择 |
| 233 | of moving the face horizontally, | 使面部水平移动, |
| 234 | and from there, that would just give me | 从那里,那只会给我 |
| 235 | a bit more flexibility. | 有点灵活 |
| 236 | Q6, is this only about diagrams? | 问题6,这仅仅是图? |
| 237 | Yeah, Q6, let's make it diagram only for now. | 是的,Q6,让我们只用图图。 |
| 238 | I can't think of a use case where I want to attach | 我无法想象一个我想附着 |
| 239 | other stuff inside the thumbnail. | 拇指里的其他东西 |
| 240 | We don't wanna build a second Figma. | 我们不想再造第二个法格玛了 |
| 241 | We just want to make this particular flow easier. | 我们只是想让这个特别的流量更容易。 |
| 242 | Okay, so while we were answering those questions, | 好吧,所以当我们回答这些问题时, |
| 243 | the agent was going off, spinning up a background agent, | 特工要离开 转动一个背景探员 |
| 244 | and going to find the supporting information | 并寻找佐证信息 |
| 245 | that we needed here. | 我们在这里需要的。 |
| 246 | So it's actually going ahead and changing | 所以,它实际上正在前进和改变 |
| 247 | two of the questions here. | 这里有两个问题 |
| 248 | And then Q7 says, should edit the diagram in place | 然后,Q7说,应该编辑 的图表到位 |
| 249 | mean a live TL Draw editor clipped to the thumbnail frame | 表示一个活的 TL Draw 编辑器剪贴到缩略图框架 |
| 250 | with the camera locked so the area you see is the thumbnail? | 摄影机被锁了 所以你看到的是拇指? |
| 251 | For Q7, I'm concerned that cramping us | 对于Q7,我担心我们抽筋 |
| 252 | into that smaller space will mean that editing the thing, | 进入这个小空间意味着编辑这个东西, |
| 253 | or the thumbnail actually becomes kind of painful. | 或者缩略图会变得很痛苦 |
| 254 | And so I think we might need to prototype | 所以我认为我们可能需要原型 |
| 255 | a few different approaches there. | 有一些不同的方法在那里。 |
| 256 | So that's a very detailed first response. | 这是非常详细的第一反应。 |
| 257 | Let's fire it off. | 开火吧 |
| 258 | Now you might be looking at this approach | 现在你也许在看这个方法 |
| 259 | and you might be thinking, okay, | 你可能会在想,好吧, |
| 260 | what benefits this have over approaches that I'm taking | 这对我采取的办法有什么好处? |
| 261 | over like plan mode, let's say. | 就像计划模式一样 |
| 262 | What this skill does and what this approach does | 这种技巧能做什么,这个方法能做什么 |
| 263 | is we align on the thing that we're building | 我们是否同意 我们建造的东西 |
| 264 | before we go ahead and build it. | 之前,我们前进和建造它。 |
| 265 | This means that we're gonna get | 这意味着我们会得到 |
| 266 | a much more predictable output. | 更可预测的产出。 |
| 267 | I'm gonna have much stronger understanding | 我会更了解的 |
| 268 | over the thing that we're building. | 因为我们正在建造的东西。 |
| 269 | And while it's building, | 当它建起来的时候, |
| 270 | I'm gonna let it just sort of run by itself. | 我要让它自己来操控 |
| 271 | But this is the moment early on when I get to | 但是,这是我早到的时刻 |
| 272 | maybe with my teammates align on what we're building, | 也许跟我的队友们说好我们要建什么 |
| 273 | figure out what it actually is, | 找出它实际上是什么, |
| 274 | what the words we're gonna use about it. | 我们要用什么词来形容它 |
| 275 | And then everything from that point | 然后从那开始一切 |
| 276 | all the way down to human review at the end | 一直到最后的人类评论 |
| 277 | is kind of gonna be fairly on rails. | 那种会是公平 在铁轨上。 |
| 278 | So Q2, it's reframing it. | 所以Q2,它正在重塑它。 |
| 279 | It's saying, is the thumbnail's diagram a real diagram? | 意思是 缩略图是真正的图吗? |
| 280 | And at this point, we should probably talk about | 此时此刻,我们也许应该谈谈 |
| 281 | what it actually means by a real diagram. | 真实的图表意味着什么 |
| 282 | This is inside the course video manager repo. | 这是课程视频管理器内部的Repo。 |
| 283 | And this is a glossary.md that is my pride and joy. | 这个词汇表是我的骄傲和喜悦。 |
| 284 | When I talk about language inside a project, | 当我在项目里谈论语言 |
| 285 | what I'm really talking about is the words | 我真的在说这些话 |
| 286 | that you're using to describe certain things. | 你用来描述某些事情。 |
| 287 | And in this pretty massive file here, | 在这个相当庞大的文件里 |
| 288 | which is about 560 lines, | 约560行, |
| 289 | we define all of the main concepts | 我们定义了所有的主要概念 |
| 290 | that sit inside this course, | 坐在这条路里, |
| 291 | or sorry, that sit inside this repository | 对不起,坐在这个仓库里 |
| 292 | that are responsible for this project. | 负责这个项目的人。 |
| 293 | And the stuff that we're really talking about here | 而我们真正谈论的东西 |
| 294 | is a diagram. | 是一个图表。 |
| 295 | And so there's a whole section on diagrams. | 因此,有一个关于图表的整个部分。 |
| 296 | So a diagram is really a group of diagram snapshots, | 所以,一个图其实是一组图的快照, |
| 297 | which is a copy of the diagram's drawing | 这是图画的复制件 |
| 298 | at the moment that a clip is filmed. | 在片段被拍摄的时候 |
| 299 | In other words, in my video editor, | 换句话说,在我的视频编辑中, |
| 300 | it's linked up to the diagram. | 和图表相连 |
| 301 | And so I can see what diagram I was using | 我可以看到我用的是什么图 |
| 302 | at each point in the video. | 在视频的每一点。 |
| 303 | There is the active diagram, | 这是活性图表, |
| 304 | so the diagram that the author is drawing on now. | 所以作者现在利用的图 |
| 305 | We have an action called restore to head | 我们有一个叫做恢复的动作 |
| 306 | when we load an older diagram snapshot | 当我们装入更古老的图表快照 |
| 307 | back as the active diagram. | 返回为活动图表。 |
| 308 | There are preserved snapshots as well, | 还有保存下来的快照 |
| 309 | which are diagram snapshots kept in its diagrams timeline, | 这是图中的图示, |
| 310 | even when no clip uses it. | 即使没有剪辑使用它。 |
| 311 | You can start to see that these definitions | 你可以看到这些定义 |
| 312 | form a really nice picture of the feature. | 组成一个非常不错的图片 特征。 |
| 313 | And what we're kind of doing here | 我们在这里做什么 |
| 314 | is we are trying to add to this, | 我们正试图增加这一点, |
| 315 | trying to figure out where our new feature lives | 试着找出我们的新特色 |
| 316 | in this existing landscape. | 在现有的地貌中。 |
| 317 | So by asking, is a thumbnails diagram a real diagram? | 所以通过问,一个缩略图是真实的图吗? |
| 318 | We're kind of asking, okay, it's a diagram, | 我们有点问, 好吧, 这是一个图表, |
| 319 | but maybe it's private to the thumbnail. | 但也许对拇指来说是私人的 |
| 320 | For Q2, I think it makes sense | 对于Q2,我觉得这很合理 |
| 321 | to have our existing setup here. | 将我们的现有设置在这里。 |
| 322 | But what I'm concerned about is that | 但我担心的是 |
| 323 | the thing we're putting into the thumbnail | 我们用在拇指上的东西 |
| 324 | is not really a diagram, it's just a single snapshot. | 不是一个真正的图表,它只是一个快照。 |
| 325 | In our model, a diagram is really a grouping | 在我们的模型中,图真的是一个组合 |
| 326 | of different snapshots of that diagram | 该图的不同快照 |
| 327 | as they change through a clip. | 他们通过剪辑改变。 |
| 328 | Whereas this is more like a diagram snapshot. | 而这更像是图示 |
| 329 | So now that probably sounds like garbage or jargon to you | 所以现在你可能听上去像垃圾或术语 |
| 330 | if you don't understand the language of the project, | 如果你不懂项目的语言, |
| 331 | but I've been able to communicate something pretty rich | 但我能传达一些非常丰富的东西 |
| 332 | that the model understands | 模型能理解 |
| 333 | because the glossary.md is in its context. | 因为术语表.md是在其上下文。 |
| 334 | Q8 sounds good, all three of those sound really valuable. | Q8听起来不错 这三个声音都非常有价值 |
| 335 | Q9, yes, when we move the face, | 问题9,是的,当我们移动的脸, |
| 336 | the diagram should just stay put. | 图表应该留在原地 |
| 337 | Q10, yes, when we retake, | 问题10,是的,当我们重拍时, |
| 338 | then we do the background removal and we replace the photo. | 然后我们去除背景 并替换照片。 |
| 339 | Okay, it's now asking whether it should prototype | 好吧,它现在问 它是否应该原型 |
| 340 | a few different editing surfaces, and I love this. | 几个不同的编辑表面, 我喜欢这个。 |
| 341 | That's exactly what I wanted to do. | 这正是我想做的。 |
| 342 | The tricky thing about Q11 here | 问题11的棘手之处 |
| 343 | is that it's really about a question about feel. | 是关于感觉的问题 |
| 344 | How does it look? | 怎么样? |
| 345 | How does it feel to use? | 用起来感觉如何? |
| 346 | And I won't really know the trade-offs | 而我不会真正知道权衡 |
| 347 | until I see the differences all laid out in front of me. | 直到我看到差异 都摆在我面前。 |
| 348 | In other words, until I have a go at it. | 换句话说,直到我尝试它。 |
| 349 | And so I have a prototype skill | 所以我有原型技术 |
| 350 | that gives you multiple options | 给您多个选项 |
| 351 | that you can use to make these kinds of decisions. | 你可以用来做出这些决定。 |
| 352 | And that's what the agent is trying to do here. | 这就是特工想做的事 |
| 353 | Which ones should it prototype? | 哪个是原型? |
| 354 | Q11, yes, that sounds great to me. | 问题11,是的,听起来很棒。 |
| 355 | The benefit of having multiple prototypes to look at | 拥有多种原型的优点 |
| 356 | is especially if it builds something that you don't like, | 特别是如果它造出了你不喜欢的东西 |
| 357 | that often tells you more than what you might get | 经常告诉你的比你可能得到的更多 |
| 358 | from something you do like. | 从你喜欢的东西。 |
| 359 | So actually exploring lots of different options | 所以实际上探索了很多不同的选择 |
| 360 | can give the agent a really rich view | 可以给特工一个非常丰富的视图 |
| 361 | {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}为了你真正想要创造的东西 | |
| 362 | And there we go. | 就这样 |
| 363 | We now have the glossary. | 我们现在有了词汇表。 |
| 364 | The CVM glossary has no entry for the thumbnail | CVM 词汇表没有缩略图条目 |
| 365 | and it's proposing two. | 它提出两个。 |
| 366 | So it's proposing a thumbnail, | 因此,它提出一个缩略图, |
| 367 | the image shown for a video on YouTube, | 在YouTube上显示的视频画面 |
| 368 | or a cutout, or rather, and a cutout. | 或剪断,或更确切地说,剪断。 |
| 369 | The author's face with the background removed, | 提交人的面部背景被移除, |
| 370 | placed over the diagram. | 放在图上。 |
| 371 | And then it's also saying | 然后它也说 |
| 372 | there should be a third term thumbnail diagram. | 应该有第三个术语缩略图。 |
| 373 | For Q12, yes, that sounds great. | 对于Q12,是的,这听起来很棒。 |
| 374 | All right, let's send this off. | 好吧,让我们把这个关闭。 |
| 375 | And now again, we should be getting closer | 现在,我们又应该走近了 |
| 376 | and closer as we go. | 离我们更近 |
| 377 | Lots of folks ask me like, you know, | 很多人问我喜欢,你知道, |
| 378 | why, what happens if you have a grilling session | 为什么,如果你有烧烤会怎么样? |
| 379 | that runs for like 500 questions or something? | 跑500个问题还是什么的? |
| 380 | How do you know when to stop grilling? | 你怎么知道什么时候停止烧烤? |
| 381 | And you should, like, I should be driving this conversation. | 你应该,像,我应该 驱动这个对话。 |
| 382 | You know what I mean? | 你知道我的意思吗? |
| 383 | Like, you should be the one in charge of it. | 喜欢,你应该是一个负责它。 |
| 384 | The agent is not grilling you. | 探员没在折磨你 |
| 385 | You are in a conversation with it. | 你正在和它交谈 |
| 386 | And so you should feel free to just go, | 所以,你应该觉得自由 只是去, |
| 387 | no, we've talked enough. | 不,我们已经谈够了。 |
| 388 | Let's go and actually create some code now. | 让我们去创造一些代码。 |
| 389 | Okay, we can see it's updated. | 好吧,我们可以看到它更新。 |
| 390 | The section on thumbnails inside the glossary. | 词汇表中关于缩略语的部分。 |
| 391 | That's really good. | 这是非常好的。 |
| 392 | And now it's doing something cool, | 现在它正在做一些很酷的事情, |
| 393 | which is it's pinging off a subagent | 就是它从潜质中抽出来 |
| 394 | to go and prototype thumbnail diagrams. | 和缩略图的原型。 |
| 395 | So that's great. | 所以这是伟大的。 |
| 396 | We're able to continue grilling while it goes off | 我们可以继续烤 趁它爆炸 |
| 397 | and does some work in the background. | 并在背景中做一些工作。 |
| 398 | Okay, and now we're doing some hardcore language stuff. | 好吧,现在我们正在做一些硬核语言的东西。 |
| 399 | Thumbnails drawing is neither a diagram | 缩略图绘图不是一个图 |
| 400 | nor a diagram snapshot. | 也没有图示 |
| 401 | You'll write that it isn't a diagram | 你会写它不是图 |
| 402 | and a diagram snapshot doesn't fit either. | 和图表快照也不合适。 |
| 403 | The glossary defines a snapshot as a copy | 术语表将快照定义为副本 |
| 404 | at the moment a clip was filmed. | 在拍摄片段的时候 |
| 405 | So it's now proposing a new term, a thumbnail drawing. | 因此,它现在提出一个新的术语,缩略图画. |
| 406 | The drawing that belongs to one thumbnail, | 属于一个拇指的画 |
| 407 | you edit in place and we can start from a diagram, | 你编辑就位 我们可以从图表开始 |
| 408 | diagram snapshot or another thumbnail's drawing. | 图表快照或者另一个缩略图的图画. |
| 409 | It's actually saying to avoid thumbnail diagram here. | 这其实是为了避免缩略图 |
| 410 | Now I know this glossary pretty well, right? | 现在我对这个词汇很了解,对吧? |
| 411 | And the better I know the glossary, | 我越了解词汇表 |
| 412 | the more able I'm able to make smart contributions | 我越能做出聪明的贡献 |
| 413 | to the application, | 申请, |
| 414 | the better I understand the application. | 我越了解申请 |
| 415 | And so I know there's this thing called a preserve snapshot, | 所以我知道有个东西叫保存的快照 |
| 416 | which is the diagram snapshot kept in its diagrams timeline, | 这是图中的图示, |
| 417 | even when no clip uses it. | 即使没有剪辑使用它。 |
| 418 | So I can say to the agent, | 所以我可以跟探员说 |
| 419 | doesn't it make sense to have a thumbnail | 有个小指甲没道理 |
| 420 | represent a preserved snapshot? | 代表保存的快照吗? |
| 421 | We don't always define snapshots | 我们并不总是定义快照 |
| 422 | as the moment that a clip was filmed. | 作为片段拍摄的那一刻。 |
| 423 | I'm gonna show you a technique that I sometimes use | 我给你看我有时使用的一种技巧 |
| 424 | when I feel like I'm at the crux of something | 当我觉得自己在某事的十字架上 |
| 425 | or when I just wanna talk about one thing for a minute, | 或者当我只想谈一件事的时候, |
| 426 | which is I'm just gonna say, | 我要说, |
| 427 | for now let's just focus on this question, | 现在让我们只关注这个问题, |
| 428 | ask me one question at a time until I say otherwise. | 一次问我一个问题,直到我再说 |
| 429 | This is another way that you can direct the grilling | 这是另一种方法 你可以引导烤肉 |
| 430 | if you're kind of getting a bit scatterbrained, | 如果你有点被打散了 |
| 431 | if you just want to focus in on the thing | 如果你只想专心于这件事 |
| 432 | that you actually care about | 你真正关心的 |
| 433 | and don't care about all the small stuff, | 也不在乎这些小东西 |
| 434 | then you can just say, | 那你可以直接说, |
| 435 | no, just go one question at a time for now. | 不,先问一个问题 |
| 436 | One other thing it's doing here is it's reading | 还有一件事它在这里做的是读 |
| 437 | an architectural decision record | 建筑决定记录 |
| 438 | that we made on snapshots and preservation. | 我们用快照和保存。 |
| 439 | This is another thing we do during grilling. | 这是我们在烤肉时做的另外一件事。 |
| 440 | We can take a look at ADR 003, | 我们可以看看ADR 003, |
| 441 | just up in here, | 就在这里, |
| 442 | diagrams as first-class entities with per-clip snapshots. | 图表作为头等实体,每张剪贴快照。 |
| 443 | So this is where we actually made the decision | 这就是我们真正做出决定的地方 |
| 444 | about the glossary. | 关于词汇表。 |
| 445 | So the glossary kind of describes the application | 因此,术语表类型 描述应用程序 |
| 446 | as it is now, as does the code, | 就像现在一样 密码也是一样 |
| 447 | but the ADRs are here to explain | 但ADRs在这里解释 |
| 448 | why we made those decisions. | 为什么我们做出这些决定。 |
| 449 | In other words, we are interacting | 换句话说,我们正在互动 |
| 450 | with a part of the application that's relatively old, | 有一部分应用 相对旧, |
| 451 | relatively mature, | 相对成熟, |
| 452 | and if we didn't write this stuff down, | 如果我们不写下来, |
| 453 | then we would be guessing. | 然后我们猜。 |
| 454 | This is a classic Chesterton's fence issue, right? | 这是典型的切斯特顿的篱笆问题,对吧? |
| 455 | There exists in such a case, | 在这种情况下, |
| 456 | a certain institutional law, | 某些体制性法律, |
| 457 | let us say for the sake of simplicity, | 让我们说,为了简单起见, |
| 458 | a fence or gate erected across a road. | 跨越公路竖立的栅栏或大门。 |
| 459 | The more modern type of reformer goes gaily up to it | 改革者越现代 就会轻描淡写 |
| 460 | and says, I don't see the use of this, | 并说,我不认为 用这个, |
| 461 | let us clear it away, | 让我们去清理它, |
| 462 | to which the more intelligent type of reformer | 最聪明的改革者 |
| 463 | will do well to answer, | 将善解答, |
| 464 | if you don't see the use of it, | 如果你没有看到它的用途, |
| 465 | I certainly won't let you clear it away. | 我当然不会让你把事情处理掉的 |
| 466 | Go away and think. | 走开,想一想 |
| 467 | Then when you come back and tell me | 那你回来告诉我 |
| 468 | that you do see the use of it, | 以便你们看见它的作用。 |
| 469 | I may allow you to destroy it. | 我可以让你摧毁它 |
| 470 | In other words, do not remove a fence | 换句话说,不要拆除围栏 |
| 471 | until you know why it was put up in the first place. | 直到你知道为什么它被放在首位。 |
| 472 | So the ADRs, the architectural decision records, | 因此,ADRs, 建筑决定记录, |
| 473 | help us keep track of why these fences have been put up. | 帮助我们追踪为什么这些围栏被竖起。 |
| 474 | So it's come back and of course it's saying, | 所以它回来了,当然它说, |
| 475 | yes, you're absolutely right, | 是的,你绝对是对的, |
| 476 | I was wrong to rule it out. | 我错了,排除它。 |
| 477 | And so it's saying, | 所以说, |
| 478 | which diagram does a thumbnail's snapshot belong to? | 一个缩略图属于哪个图? |
| 479 | Yeah, the thumbnail pins a snapshot of some diagram's head. | 是啊 缩略图上刻着一些图头的快照 |
| 480 | The question is, | 问题是, |
| 481 | which head you're editing in the thumbnail creator. | 在缩略图创建者中您正在编辑哪个标题 。 |
| 482 | This is a really tricky one | 这是一个非常棘手的 |
| 483 | because we're basically deciding | 因为我们基本上决定 |
| 484 | how the thing is gonna work now. | 事情会怎样运作呢? |
| 485 | We basically, in this mode, | 我们基本上,在这个模式下, |
| 486 | we might have to choose a diagram | 我们可能必须选择一个图表 |
| 487 | so that we can create a snapshot inside it, | 以便我们在那里创造一个快照, |
| 488 | or we choose an existing snapshot that we then edit. | 或选择我们先编辑的现有快照。 |
| 489 | It all feels a little bit clunky and weird. | 感觉有点古怪 |
| 490 | And what it's kind of suggesting | 和它是什么 那种暗示 |
| 491 | is that we might need a diagram of its own | 我们可能需要一张自己的图 |
| 492 | for each thumbnail. | 每个缩略图。 |
| 493 | It keeps the teaching diagrams head safe | 它能保证教学图的安全 |
| 494 | while you simplify for the thumbnail | 同时简化缩略图 |
| 495 | and you still get to start from the teaching version. | 你仍然可以从教学版本开始 |
| 496 | I really don't know here, I really don't know. | 我真的不知道这里,我真的不知道。 |
| 497 | I'm just gonna sort of spill out | 我只是要有点溢出来 |
| 498 | what I'm thinking about, I think. | 我在想什么,我认为。 |
| 499 | So what I'm thinking about in my head | 我脑子里在想什么 |
| 500 | is the decision between whether we kind of tie | 是决定我们之间 是否有某种关系 |
| 501 | into the existing diagram, diagram snapshot stuff, | 到现有的图,图的快照, |
| 502 | which is mature, there's a lot of code in there, | 已经成熟了 里面有很多密码 |
| 503 | or whether we sort of extend that work | 或者我们是否要延长这项工作 |
| 504 | and instead apply it to a different data model, | 并将其应用于不同的数据模型, |
| 505 | call it a different thing. | 称之为异物. |
| 506 | And it's essentially whether to mix the streams | 根本上是要不要把溪流混在一起 |
| 507 | or not mix the streams. | 或不混合的溪流。 |
| 508 | I think probably what I'm most inclined to do here | 我想可能是我最喜欢做的事 |
| 509 | is not mixing the streams. | 不混合溪流。 |
| 510 | But what I'm scared about is later down the line, | 但我害怕的是后来的事 |
| 511 | we might wish that we had | 我们也许希望我们有 |
| 512 | so that these models could be linked somehow. | 这样这些模型就可以以某种方式联系起来。 |
| 513 | But I can't see the concrete use case | 但我看不出具体用法 |
| 514 | for why we would want to still hang onto the existing model. | 为什么我们还想继续坚持现有的模式 |
| 515 | You can see that, I'm struggling here, right? | 你可以看到,我在这里挣扎,对不对? |
| 516 | This is a hard thing to think about. | 这是很难想到的。 |
| 517 | And if I had colleagues, this would be the moment | 如果我有同事, 这将是的时刻 |
| 518 | when I would reach out to them and go, | 当我伸出手去和他们, |
| 519 | help me, I'm not quite sure what we do here. | 帮帮我,我不知道我们在这里做什么。 |
| 520 | This feels like quite a large consequential decision | 这感觉就像一个巨大的决定 |
| 521 | for this feature. | 用于此功能。 |
| 522 | So it's saying, I would go with your instinct | 意思是 我会用你的直觉 |
| 523 | and keep them separate. | 让他们分开 |
| 524 | The fear of wanting them linked later | 害怕以后想要它们 |
| 525 | is mostly covered by two facts. | 大部分事实涉及两个方面。 |
| 526 | So both sides store the same scene format. | 因此,双方储存了相同的场景格式. |
| 527 | In other words, the way they store it in the database | 换句话说,他们在数据库中存储它的方式 |
| 528 | is the same. | 一样 |
| 529 | Copying between them is trivial in either direction. | 在两个方向之间复制是微不足道的。 |
| 530 | So start from a diagram or snapshot works | 所以从图表或快照开始 |
| 531 | without the models being joined. | 而不加入模型。 |
| 532 | The link you're likely to want | 你可能想要的链接 |
| 533 | is where a drawing came from, not one model. | 是画作的源头 不是一个模型 |
| 534 | Which thumbnails were made from which diagram | 哪个缩略图来自哪个图 |
| 535 | is answered by one nullable started | 由一个无效的开始回答 |
| 536 | from snapshot reference recorded when you copy. | 从复制时记录的快照参考。 |
| 537 | So the reason we're so obsessed with language | 所以我们对语言如此着迷的原因 |
| 538 | at this point is because the language | 这时候是因为语言 |
| 539 | is going to form the data model | 将形成数据模型 |
| 540 | that everything else fits on top of. | 其它的都一样 |
| 541 | Once we understand the language, | 一旦我们理解语言, |
| 542 | once we understand the names for these things, | 一旦我们了解这些东西的名字 |
| 543 | we then have names for database tables. | 然后我们有数据库表格的名字。 |
| 544 | We understand how they reference other parts of the system. | 我们理解他们是如何提到系统其他部分的。 |
| 545 | And so we can create tables from that, | 这样我们就可以从这里创造桌子, |
| 546 | create modules and set it up. | 创建模块并设置它。 |
| 547 | Okay, so I think I've decided. | 好吧,我想我已经决定了。 |
| 548 | Okay, that suggestion sounds good. | 好吧,这个建议听起来不错。 |
| 549 | I like that we have a lot of flexibility | 我喜欢,我们有很多灵活性 |
| 550 | not to quite decide the data model now. | 现在不能完全决定数据模型。 |
| 551 | And I like your suggestion of tracking the snapshot | 我喜欢你的建议 跟踪快照 |
| 552 | that it came from in case that becomes relevant | 它来自 万一它变得相关 |
| 553 | later down the line and we properly want to link it. | 我们想把它连接起来 |
| 554 | I suppose I don't necessarily matter how we model this | 我想我不一定在乎我们怎么做这个 |
| 555 | as long as the way we're modeling it is not lossy | 只要我们做模特的方式不败 |
| 556 | and we preserve all of the links. | 我们保留了所有的联系 |
| 557 | Let's just see what it says to that. | 让我们看看上面写了什么 |
| 558 | I'm not necessarily giving it a great answer, | 我不一定给它一个伟大的答案, |
| 559 | but maybe that's enough for it to go on. | 但也许这样就足够继续了 |
| 560 | At its best, grilling really does feel | 最好的时候,烤肉真的感觉 |
| 561 | like rubber ducking with someone | 像橡皮鸭与某人 |
| 562 | with a really respected colleague, | 和一个很受尊敬的同事 |
| 563 | someone that understands the code base really well. | 一个非常了解密码基础的人 |
| 564 | And you're kind of just able to talk out your thoughts | 你只能说出你的想法 |
| 565 | or type out your thoughts. | 或打出你的想法。 |
| 566 | And by talking them through, | 而通过说服他们通过, |
| 567 | you get to a more concrete solution | 找到更具体的解决办法 |
| 568 | even before you've written any code. | 甚至在你写出密码之前 |
| 569 | Okay, it's gone a bit nuts here, | 好吧,它走了 有点疯狂在这里, |
| 570 | which is it's actually gone ahead | 这是它实际上走了前进 |
| 571 | and written an entry for thumbnail drawing, | 并写了一条用于缩略图画的条目, |
| 572 | which I don't like. | 我不喜欢这样 |
| 573 | I don't like having the concept of drawing here. | 我不喜欢在这里画画 |
| 574 | Let's take a step back. | 让我们退一步。 |
| 575 | I really don't like the wording of thumbnail drawing. | 我真的不喜欢缩略图的写法 |
| 576 | I hate the fact that we've got a drawing and a diagram. | 我讨厌我们有图和图 |
| 577 | Those feel like they conflict really hard. | 他们觉得他们冲突很激烈 |
| 578 | I think thumbnail diagram is just fine. | 我觉得缩略图很好 |
| 579 | Can you also run me through the decision | 你能帮我做个决定吗? |
| 580 | to create an ADR here? | 在这里创建 ADR ? |
| 581 | Why did you decide to go for a new ADR? | 你为什么决定去参加新的ADR? |
| 582 | So it's sort of eagerly create an ADR without asking me, | 所以,它有点急切地创建 ADR 不问我, |
| 583 | which is not how I usually like to do it. | 我通常不喜欢这样 |
| 584 | I like to have that decision be something I do | 我喜欢做这样的决定 |
| 585 | during the grilling session. | 在烧烤期间。 |
| 586 | Okay, he says, he says, the agent says, | 好吧 他说 他说 探员说 |
| 587 | I've renamed it to thumbnail diagram everywhere, | 我把它改名为图示 |
| 588 | the glossary, the ADR, and the ADR's file name. | 术语表、 ADR 和 ADR 的文件名。 |
| 589 | Yeah, it's kind of coming back at me a little bit on here, | 是啊,它有点回到我这里一点点, |
| 590 | saying once more catch to be aware of, | 再说一遍,要知道 |
| 591 | an active diagram is a diagram, | 活动图是图, |
| 592 | but a thumbnail diagram is not. | 但缩略图不是。 |
| 593 | So maybe the word diagram isn't right here. | 所以也许图表这个词不在这里。 |
| 594 | So now it's saying, why did it suggest an ADR? | 所以现在它说,它为什么建议一个ADR? |
| 595 | Why did it feel the need to write down | 为什么它觉得需要写下来 |
| 596 | this non-obvious decision? | 这个非明显的决定? |
| 597 | So it's saying it is non-obvious, right? | 所以它说它不是明显的,对不对? |
| 598 | It's surprising without context. | 没有上下文是令人惊讶的。 |
| 599 | There is a real trade-off here. | 这里有一个真正的权衡。 |
| 600 | And so that's another criteria and it is strong | 所以,这是另一个标准 它很强 |
| 601 | and it's hard to reverse, | 这很难逆转, |
| 602 | or rather it's saying it's not hard to reverse. | 或者说它不是很难扭转的 |
| 603 | We could potentially walk this back. | 我们可以走这回。 |
| 604 | So now it's spelled it out. | 故今明说. |
| 605 | I do agree with its reasoning | 我同意它的说法 |
| 606 | as to why it suggested an ADR. | 至于为什么它建议进行发展成果评估。 |
| 607 | And by the way, I'm investing time into this | 顺便说一句,我正投入时间 |
| 608 | so that future runs understand the context | 让未来了解背景 |
| 609 | for every decision, | 对于每一个决定, |
| 610 | so that I continue getting better grilling sessions | 这样我就能继续得到更好的烤肉会议 |
| 611 | as I continue working on this project. | 我继续研究这个项目 |
| 612 | Without this or being lazy here, | 没有这个或懒惰, |
| 613 | would mean that my next run ends up being a lot worse | 意味着我的下一场比赛会更糟 |
| 614 | because I don't have as good context as I need. | 因为我没有我所需要的那么好的背景。 |
| 615 | Okay, I agree with your decision on the ADR, | 好吧,我同意你的决定 关于ADR, |
| 616 | and I also agree that thumbnail diagram | 我也同意这个缩略图 |
| 617 | is a little bit awkward. | 有点尴尬 |
| 618 | Can you give me some options here | 你能给我一些选择吗? |
| 619 | and let's do some scenario testing | 让我们做一些情景测试 |
| 620 | to see how they match up against diagram | 看他们如何与图表匹配 |
| 621 | versus diagram snapshot. | 与图示对比. |
| 622 | I'm sort of leaning towards thumbnail diagram snapshot, | 我有点倾向于缩略图快照, |
| 623 | even though that's a little bit long, but might work. | 虽然有点长,但也许有用 |
| 624 | Scenario testing is a really great way | 场景测试真是好方法 |
| 625 | of kind of testing your domain language, | 一种测试你的域语言, |
| 626 | testing the language that you're trying to use. | 测试您想要使用的语言。 |
| 627 | What it does is it gives you a table of different options, | 它所做的是 给你一张不同的选择表 |
| 628 | different sentences you could use to describe the system. | 不同的句子可以用来描述系统。 |
| 629 | And then it checks out how easy it would be | 然后它检查 是多么容易 |
| 630 | to describe in different forms of language. | 以不同语言形式描述。 |
| 631 | So here we can see we have a candidate, | 因此我们可以看到我们有一个候选人, |
| 632 | a thumbnail diagram snapshot | 缩略图快照 |
| 633 | versus a thumbnail diagram versus a thumbnail scene. | 相对于缩略图相对于缩略图场景. |
| 634 | So in the first scenario it says, | 所以,在第一种情景中,它说, |
| 635 | I started the thumbnail from the agent loop snapshot | 我从经纪人的循环快照开始用缩略图 |
| 636 | used in clip 14, then I simplified it. | 用在14号片段,然后我简化了它。 |
| 637 | All three there are probably fine. | 三个都很好 |
| 638 | You open the agent loop in the playground, | 你打开操场的经纪人圈 |
| 639 | is the thumbnail in its timeline? | 时间轴上有缩略图吗? |
| 640 | Yeah, that's an interesting one | 是啊,这是一个有趣的一个 |
| 641 | because if it's saying it's a snapshot, | 因为如果它说的是一个快照, |
| 642 | then you would kind of expect it to be in there | 那你会期望它在里面 |
| 643 | or expect it to be in there somewhere. | 或期望它在那里某处。 |
| 644 | If it's a thumbnail diagram, | 如果是一个缩略图, |
| 645 | then you might try to look at it on the top level. | 然后,你可能会尝试看 在顶层。 |
| 646 | And so yeah, by calling it a diagram or a diagram snapshot, | 所以是的,通过把它称为一个图表或一个图表的快照, |
| 647 | it sort of makes it feel like it's linked in | 它会让人觉得它连接在 |
| 648 | with the other stuff. | 其他东西。 |
| 649 | It says here, I dragged an arrow in the diagram snapshot, | 上面写着 我用箭射中了地图 |
| 650 | but that's not good because snapshots can't change. | 但是这不好 因为快照无法改变 |
| 651 | You tell an agent to tweak | 你告诉一个特工去修剪 |
| 652 | the thumbnail's diagram snapshot, doesn't really work. | 缩略图的图示 并不有效 |
| 653 | But I'm starting to see why it thinks about thumbnail scene | 但我开始明白 为什么它会想到 缩略图的场景 |
| 654 | and why it thinks it's good. | 以及为什么它认为它很好。 |
| 655 | We can see in all of the tables here | 这里的桌子都能看到 |
| 656 | that thumbnail scene is basically fine. | 那个缩略图的场景基本上很好 |
| 657 | Apart from Matt says it allowed while working. | 除了马特说它允许工作 |
| 658 | In other words, does it match my actual mental model? | 换句话说,它跟我真正的心理模型相符吗? |
| 659 | For thumbnail diagram snapshot, it's a bit too long, | 对于缩略图快照, 它有点长, |
| 660 | a bit too wordy. | 有点太词性了。 |
| 661 | Thumbnail diagram seems fine | 缩略图看起来不错 |
| 662 | because it is at what I naturally say. | 因为这是自然而然的。 |
| 663 | And thumbnail scene is not a word that I would use. | 缩略图的场景不是我想说的 |
| 664 | It's more sort of coding vocabulary. | 这更像是编码词汇 |
| 665 | In other words, scene is not something | 换句话说,场景不是什么 |
| 666 | that we sort of have throughout the application. | 在整个申请过程中我们都有 |
| 667 | Maybe it is actually, | 也许它实际上是, |
| 668 | maybe we have like a scene layer more possibly. | 也许我们有像一个场景层 更可能。 |
| 669 | I'm just gonna search in the glossary for scene here. | 我只是在词汇表里搜索一下这里的场景 |
| 670 | And yeah, we do have a concept of a scene. | 是的,我们有一个概念 一个场景。 |
| 671 | And diagram we've also got, okay, that's not good either | 还有图,我们也有,好吧,那也不好 |
| 672 | because we've got a scene in there too. | 因为我们也有场戏 |
| 673 | So let's read its kind of final part here. | 让我们在这里读读它的最后部分。 |
| 674 | Yeah, even though C has all the ticks, | 是的,尽管C有所有的滴答, |
| 675 | it actually does wait number seven really high. | 事实上,它确实等待 7号真正高。 |
| 676 | And it says C is the clearest technically, | 上面说C在技术上是最清楚的 |
| 677 | but it's not how you talk. | 但这不是你说话的方式 |
| 678 | And it puts a code word in the domain language. | 它在域语中设置了一个代码词. |
| 679 | B has one weakness, it reads as a kind of diagram. | B有一个弱点, 它读作一种图。 |
| 680 | And so yeah, I do think it's right | 所以,是的,我觉得这是正确的 |
| 681 | that thumbnail diagram makes sense | 那个缩略图有道理 |
| 682 | as long as we have an ADR to say it's a diagram, | 只要我们有一个ADR 说这是一个图表, |
| 683 | but not a diagram. | 但不是图 |
| 684 | And I can see why it went for thumbnail drawing as well, | 我能理解为什么它也用来画拇指 |
| 685 | but I just don't like that word. | 但我只是不喜欢这个词。 |
| 686 | It doesn't feel like it rolls off the tongue. | 不觉其卷下舌. |
| 687 | Okay, thumbnail diagram is the right thing. | 好吧,缩略图是正确的事情。 |
| 688 | I agree that thumbnail scene is poor, | 我同意缩略图的场景很差 |
| 689 | especially because we do actually have a concept | 特别是因为我们确实有一个概念 |
| 690 | of a scene elsewhere in the glossary. | 在词汇表的其他地方。 |
| 691 | I also agree that having the ADR there means | 我也同意,有发展成果评估就意味着 |
| 692 | that yet we have a concept of a diagram, | 我们有一个图的概念, |
| 693 | but we've also got a thumbnail diagram. | 但我们也有缩略图 |
| 694 | And I think that's okay to have that distinction. | 我认为有这种区别也没关系。 |
| 695 | Can you now widen things out? | 你现在能把事情扩大了吗? |
| 696 | I feel like we've understood the crux | 我觉得我们理解了十字架 |
| 697 | of what we're building. | 我们建造的东西。 |
| 698 | Let's now have multiple questions at once. | 今当同时多问. |
| 699 | I think this kind of ceremony feels really off | 我觉得这种仪式很不愉快 |
| 700 | to a lot of people. | 对很多人 |
| 701 | A lot of people go, | 很多人会去, |
| 702 | why are you spending so much time thinking about language | 你为什么花这么多时间想着语言 |
| 703 | and sort of like about the words that you're using? | 就像你用的那句话一样? |
| 704 | Why is that so important to you? | 你为什么这么重要? |
| 705 | And I think the reason it's so important | 我觉得这很重要的原因 |
| 706 | is what you've just seen here, what we've just done. | 这就是你刚刚看到的, 我们刚刚做的。 |
| 707 | We have from almost nothing, | 我们几乎一无所获 |
| 708 | now we have a fully realized concept | 现在我们有一个完全实现的概念 |
| 709 | of the thing that we're building | 我们所建造的东西 |
| 710 | and the data model that's gonna go into it. | 和将进入它的数据模型。 |
| 711 | We now know that we have a thumbnail | 我们现在知道我们有一个缩略图 |
| 712 | and a thumbnail diagram. | 和一个缩略图。 |
| 713 | That thumbnail diagram is not technically a diagram. | 这个缩略图在技术上不是图。 |
| 714 | It's more like a scene, | 更像是场戏 |
| 715 | but we can't use the word scene | 但我们不能用这个词 |
| 716 | because we've got that elsewhere. | 因为我们在别的地方有 |
| 717 | And then this is going to then go into the rest | 然后这个再进入其余的 |
| 718 | of this grilling session. | 这场烤肉会 |
| 719 | Q2C says, starting from a diagram's head, | Q2C说 从图头开始 |
| 720 | when you start from a diagram's head, | 当你从一个图头开始, |
| 721 | should the CVM save that head | 如果 CVM 保存头 |
| 722 | as an unpreserved diagram snapshot? | 作为未保存的图表快照? |
| 723 | Q2C, that is absolutely correct. | Q2C,这是绝对正确的。 |
| 724 | What the start from searches and in what order? | 搜查的起点是什么? |
| 725 | I think it's got this idea that I want a UI | 我想它有这个想法 我想要一个UI |
| 726 | where we like start from an existing diagram, | 我们喜欢从现有图表开始 |
| 727 | but I think I always want an empty diagram to start | 但我想我总是希望一个空的图开始 |
| 728 | and then be able to search my existing diagrams from there. | 然后可以从那里搜索我现有的图表。 |
| 729 | I think what I want from the Q14 | 我想我要从Q14里得到什么 |
| 730 | is I don't necessarily want to go | 我不一定想离开 |
| 731 | from a start from list of potential different diagrams. | 从可能的不同图表列表开始。 |
| 732 | I want to start with an empty canvas | 我想从空画布开始 |
| 733 | and then maybe search for existing diagrams | 然后可能搜索已有的图表 |
| 734 | and plonk them on. | 并摆平他们。 |
| 735 | Q15 says, should we have one thumbnail diagram per thumbnail? | 问题15说,我们应该有一个缩略图 每个缩略图? |
| 736 | Absolutely, Q15 is correct. | 当然,问题15是正确的。 |
| 737 | Q16, no user images in the thumbnail diagram. | Q16, 缩略图中没有用户图像 。 |
| 738 | Absolutely agree with Q16. | 绝对同意Q16. |
| 739 | Q17, it's asking about a separate concept called a pitch | 问题17 它在问一个叫做投球的单独概念 |
| 740 | with a pitch has a YouTube thumbnail description | 有投球的YouTube缩略图描述 |
| 741 | with arrow text field. | 带有箭头文字字段。 |
| 742 | Q17, let's not worry about pitches. | 问题17,别担心投球 |
| 743 | They're kind of soft deprecated. | 其类柔弱. |
| 744 | I don't use them very much | 我不怎么用他们 |
| 745 | and so let's not worry about integrating with them. | 所以,我们不要担心 与他们融合。 |
| 746 | Q18, yes, let's keep existing thumbnails as they are. | 问题18,是的,让我们保留现有的缩略图。 |
| 747 | Q19, let's give the thumbnail editor | 问题19,让我们给缩略图编辑器 |
| 748 | a parity with the diagram editor | 与图表编辑器对等 |
| 749 | in terms of saving components, inserting components. | 在保存组件方面,插入组件。 |
| 750 | We may even want to consider a shared component there. | 我们甚至可以考虑其中的一个共同部分。 |
| 751 | We're seeing something a little bit awkward actually | 我们发现有些事有点尴尬 |
| 752 | in our domain language for component. | 用于组件的域语言。 |
| 753 | We can see that inside the diagram sections of the glossary, | 我们可以看到,在术语表的图表部分, |
| 754 | we have this concept of a component. | 我们有一个组成部分的概念。 |
| 755 | This is something I'm actually pretty proud of | 这是我非常骄傲的事 |
| 756 | in my user interface. | 在我的用户界面中。 |
| 757 | We have diagram components here, | 我们这里有图表组件 |
| 758 | which are reusable diagrams | 可重复使用的图表 |
| 759 | that I can plug into any diagram that I want to. | 我可以插进任何我想要的图表 |
| 760 | But calling them just raw components in the glossary | 但称它们只是词汇表中的原始组成部分 |
| 761 | means that they actually sort of bump up | 意思是他们真的有点颠倒 |
| 762 | against the concept of components in React. | 与React中组件的概念相对应. |
| 763 | And that's what I was just talking about. | 这就是我刚刚说的。 |
| 764 | We need to have a shared component | 我们需要一个共同的部分 |
| 765 | that shows a list of components. | 显示组件列表。 |
| 766 | It doesn't make sense. | 岂不通乎. |
| 767 | A quick note on the component part of the glossary, | 关于术语表组成部分的简要说明, |
| 768 | which is I'm finding it a little bit awkward | 我觉得有点尴尬 |
| 769 | with the word component in there | 里面有单词组件 |
| 770 | because that bumps up against React components. | 因为这与React组件相撞 |
| 771 | So I think we probably need to prefix it | 所以,我想我们可能需要 它的前缀 |
| 772 | with the word diagram, so a diagram component. | 带有图表的单词,所以是一个图表组件。 |
| 773 | Okay, we are cooking with gas now. | 好吧,我们现在用煤气做饭了。 |
| 774 | So I'm starting to get a real sense | 所以我开始有了真正的感觉 |
| 775 | for what we're building much, much more than when we started. | 对于我们正在建设的东西 比开始的时候要多得多 |
| 776 | I'm not feeling the need to end the grilling session just yet. | 我还没觉得需要结束烤肉会呢 |
| 777 | I'm feeling pretty happy with where we are. | 我对我们现在的处境很满意 |
| 778 | These are still high quality questions. | 这些仍然是高质量的问题。 |
| 779 | Okay, it's now asking whether I want to change | 好吧,它现在问我要不要换衣服 |
| 780 | the way the search works. | 搜索的方式。 |
| 781 | Q20, no, I disagree. | 问题20,我不同意 |
| 782 | I still want the way, | 我还想走 |
| 783 | I want it to work in the diagram playground | 我想在图游乐场工作 |
| 784 | the exact same as it works in the thumbnail editor. | 和缩略图编辑器一样 |
| 785 | I like that components have one search | 我喜欢那些组件有一个搜索 |
| 786 | and then diagrams and diagram snapshots | 然后是图表和图表快照 |
| 787 | have their own. | 有他们自己的。 |
| 788 | If we make two subtly different diagram editors, | 如果我们做了两个不同图编辑器 |
| 789 | that will be very, very annoying | 那会很烦人 |
| 790 | and users, i.e. | 和用户,即: |
| 791 | me, will paper cut themselves | 我,会剪纸自己 |
| 792 | all the time on it. | 总是这样 |
| 793 | Q21, what's an insert brings in? | 问题21 插入会带什么进来? |
| 794 | Should it inserting a diagram or snapshot | 如果插入图表或快照 |
| 795 | bring in the whole drawing? | 带整幅画来? |
| 796 | Q21, yes. | 问题21,是的。 |
| 797 | Paste counts as a source too. | 粘贴也算作源 。 |
| 798 | So what it's saying is if we copy one diagram | 它的意思是 如果我们复制一个图表 |
| 799 | and then paste it in, | 然后贴在, |
| 800 | should we track the snapshot that it came from? | 我们是否应该追踪它来自的快照? |
| 801 | Q22, that sounds like a lot of complexity | 问题22 听起来很复杂 |
| 802 | for a feature that I'm maybe not gonna use that often. | 我可能不会经常使用这个功能 |
| 803 | So no, I don't think I care about it. | 所以,不,我不认为我关心它。 |
| 804 | One diagram component library, one UI. | 一个图组件库,一个UI. |
| 805 | Should a diagram component saved from the thumbnail | 是否从缩略图中保存图表组件 |
| 806 | show up in the playground and the reverse? | 在游乐场出现,反之呢? |
| 807 | Q23, yes, absolutely. | 问题23,是的,绝对。 |
| 808 | Next, deleting things that are a source. | 接下来删除属于源的东西 。 |
| 809 | Today, deleting a video cascades | 今天,删除一个视频级联 |
| 810 | and hard deletes its thumbnails. | 并硬删除其缩略图。 |
| 811 | If next week's thumbnail diagram copies shapes | 如果下周的缩略图复制形状 |
| 812 | from this week's, deleting this week's | 从本周开始,删除本周 |
| 813 | would break that link, which breaks the not lossy rule. | 将打破这种联系,打破了不败的规则。 |
| 814 | Q24, yes, thumbnails should be archived instead of deleted. | Q24, 是, 缩略图应该存档而不是删除 。 |
| 815 | We kind of want soft delete on everything, | 我们想要软删除一切 |
| 816 | should be the rule. | 应该是规则。 |
| 817 | For those who don't know, soft delete, | 对于不知道,软删除, |
| 818 | instead of deleting something from a database, | 而不是从数据库中删除一些东西, |
| 819 | which would be a hard delete, | 那确是一件难事, |
| 820 | you instead mark it with a little marker | 而不是用小标记标记它 |
| 821 | like archive true or something, | 譬如真实的档案, |
| 822 | and then it doesn't show up in the UI | 之后它不会出现在UI中 |
| 823 | or you build your application so that it doesn't show up. | 或者你建立你的应用程序 这样它就不会出现。 |
| 824 | Soft deletion is incredibly useful | 软删除非常有用 |
| 825 | because it means that you can go back | 因为这意味着你可以回去 |
| 826 | and retrieve that data if you want to. | 并获取数据 如果你想。 |
| 827 | Whereas if you hard delete, then you're kind of screwed | 如果你很难删除, 那么,你有点性交 |
| 828 | because it's literally been gone, gone from the system. | 因为它已经从系统里消失了 |
| 829 | Because this data is really valuable to me, | 因为这些数据对我很重要 |
| 830 | I pretty much always go with soft delete | 我几乎总是去 软删除 |
| 831 | and I don't think I have any cleanup mechanism | 我想我没有任何清理机制 |
| 832 | for like cleaning up old data, I just keep it around. | 就像清理旧数据一样,我只是保持它周围。 |
| 833 | But in an application with lots of users, | 但是在一个有很多用户的应用程序里 |
| 834 | then I would want to make sure I'd eventually, | 然后,我想确保 我最终, |
| 835 | let's say on a 30 day cycle or something, | 比如说在30天的周期里 |
| 836 | deleted the stuff that people had soft deleted. | 删除了人们软删除的内容。 |
| 837 | Okay, it's asking about, should parity come | 好吧,这是问 关于,如果对等出现 |
| 838 | from extracting the playground's editor | 取出操场编辑器 |
| 839 | into one shared diagram editor component? | 输入一个共享图编辑器组件吗 ? |
| 840 | Q25, yes, absolutely. | 问题25,是的,绝对的。 |
| 841 | Let's have a single source of truth for this. | 让我们有一个单一的真相来源。 |
| 842 | Q26, it's saying your step of searching | 问题26,这是说你的搜索步骤 |
| 843 | for a diagram or snapshot or dropping it in | 用于图或快照或投影 |
| 844 | doesn't exist yet. | 现在还不存在 |
| 845 | This feels to me like it's actually untrue. | 我觉得这不是真的 |
| 846 | It's actually not noticed something about the code, | 其实它没有注意到 代码的东西, |
| 847 | which is a little annoying. | 这有点烦人。 |
| 848 | Q26, I don't think that's true. | 问题26,我不认为这是真的。 |
| 849 | We already have a like find diagram thing, right? | 我们已经有一个类似 找到图表的东西,对不对? |
| 850 | So we would just reuse that, wouldn't we? | 所以,我们只是重新使用,不是吗? |
| 851 | Q27, navigation results in the thumbnail editor. | Q27,导航结果为缩略图编辑器. |
| 852 | Q27, yes, I agree, looks great. | 问题27,是的,我同意,看起来很棒。 |
| 853 | Q28, soft delete everywhere is a separate piece of work. | Q28,软删除处处都是单独的作品. |
| 854 | It's now taking my opinion and kind of running with it. | 它现在取走我的意见 并有点运行它。 |
| 855 | But I'm pretty sure we already have soft delete everywhere. | 但我敢肯定,我们已经有 软删除到处。 |
| 856 | Q28, yeah, let's not over scope this. | 问题28,是的,让我们不要超出这个范围。 |
| 857 | I'm pretty sure we already have soft delete | 我敢肯定,我们已经有 软删除 |
| 858 | most places that I want it. | 大部分地方我想要它。 |
| 859 | This is an important part of grilling too, | 这也是烤肉的重要组成部分 |
| 860 | is like when you're talking about your system, | 就像你在谈论你的系统时 |
| 861 | you will often find little ways to improve it | 你经常找不到什么方法改进它 |
| 862 | that might lead to issues that you create on your backlog | 可能导致你积压的问题 |
| 863 | that you eventually maybe grill about | 最终你或许会纠缠 |
| 864 | or maybe just like slam through. | 也许只是像撞穿。 |
| 865 | And so grilling is not only about the feature you're on, | 所以烧烤不仅仅是关于 你正在上的特点, |
| 866 | but it's also about staying in touch with the code base. | 但这也是关于保持 与密码基础的联系。 |
| 867 | It's a ritual, a ceremony for thinking about the code. | 这是一个仪式,一个思考密码的仪式. |
| 868 | This is why I spend so long on it. | 这就是为什么我花了这么长时间。 |
| 869 | Q26, yes, let's add a new action to the existing search. | Q26,是的,让我们在现有搜索中添加一个新的动作. |
| 870 | That sounds great. | 听起来不错 |
| 871 | Okay, it's now saying, this is a good one. | 好吧,它现在说, 这是一个很好的。 |
| 872 | So should pass thumbnail diagram show up in the same search? | 因此,通过缩略图显示在同一搜索中? |
| 873 | So that's actually pretty neat idea | 所以,这其实是相当好的主意 |
| 874 | because we probably do want the ability | 因为我们可能确实想要这个能力 |
| 875 | to search through old thumbnails that we've created | 通过我们创建的旧缩略图搜索 |
| 876 | since they might be useful in diagrams | 因为它们可能对图表有用 |
| 877 | and just in the same way | 以同样的方式 |
| 878 | that diagrams are useful for thumbnails. | 用于缩略图。 |
| 879 | This is again, exactly the kind of thing | 再说一次,就是那种事情 |
| 880 | that grilling is really, really good at pulling together. | 烤肉真的很会拉在一起 |
| 881 | Q29, yes, that is a really smart idea. | 问题29,是的,这是一个非常聪明的主意。 |
| 882 | You should be able to search for thumbnails | 您应该可以搜索缩略图 |
| 883 | from or thumbnail diagrams from the diagram playground | 从图表游乐场或缩略图 |
| 884 | and you should be able to search for diagrams | 您应该能够搜索图表 |
| 885 | and diagram snapshots from the thumbnail editor. | 和缩略图编辑器的图示。 |
| 886 | So that is an important thing | 所以这很重要 |
| 887 | that we need to think about in the data model | 我们需要在数据模型中思考 |
| 888 | that we weren't really valuing before, | 我们以前并不重视 |
| 889 | but I think our current model gets us there | 但我认为我们目前的型号能让我们到达那里 |
| 890 | because thumbnail diagrams are probably gonna be stored | 因为缩略图可能要存储 |
| 891 | in a separate database table | 在单独的数据库表格中 |
| 892 | or they might just be an entry on the existing thumbnail. | 也可能只是现存缩略图上的条目 |
| 893 | So yeah, interesting one. | 所以,是的,有趣的一个。 |
| 894 | Okay, while we've been talking, the prototype has been built. | 好吧,虽然我们一直在交谈, 原型已经建造。 |
| 895 | So let's check it out. | 让我们来看看。 |
| 896 | Okay, here we go. | 好了,开始了。 |
| 897 | It's pretty surreal. | 这是相当超现实的。 |
| 898 | It's quite surreal editing a thumbnail for my own face. | 这是相当超现实的编辑缩略图 为我自己的脸。 |
| 899 | This is very cool. | 这很酷 |
| 900 | This is pretty similar to what I was imagining here. | 这和我想象的很相似 |
| 901 | We can move my face like left and right here. | 我们可以把脸移到左边和右边 |
| 902 | It's a little bit fast there, | 这里有点快 |
| 903 | but I mean, it is a good one. | 但是,这是一个很好的。 |
| 904 | And then in the top left, | 然后在左上方, |
| 905 | you can actually see a preview | 您可以看到一个预览 |
| 906 | of the composited photo there, that's nice. | 里面的合成照片 不错 |
| 907 | And this is only variant A, right? | 这只是变体A,对不对? |
| 908 | We've got a couple more variants. | 又有数种变种. |
| 909 | So we now have a face inside the canvas, whoa. | 所以现在画布里有张脸 |
| 910 | This is again, pretty trippy. | 这又来了,真让人迷惑 |
| 911 | This is actually worse than I thought it was going to be. | 这比我想象的还要糟 |
| 912 | It's a bit too large. | 有点太大了 |
| 913 | I really hate this like bar over the left here with the view. | 我真的很讨厌这里左边的酒吧 |
| 914 | This face thing again, is just way too, whoa. | 这张脸也是一样 |
| 915 | Okay, B is really not as good | 好吧,B真的没有那么好 |
| 916 | as I thought it was going to be. | 就像我想的那样 |
| 917 | And then what's this, a split view. | 然后是什么,一个分裂的视野。 |
| 918 | Okay, the split view is garbage | 好吧,分割视图是垃圾 |
| 919 | because I have to like look over on the left here | 因為我喜歡看左邊 |
| 920 | and then see it update on the right. | 然后看它更新的右边。 |
| 921 | You can see I'm moving the blue box around | 你看,我在移动蓝盒子 |
| 922 | and then I have to like manually line it up with my finger | 然后,我不得不喜欢手动 线用我的手指 |
| 923 | and I can't see my finger. | 我看不见我的手指。 |
| 924 | This is bad. | 这是坏的。 |
| 925 | And so I guess A is the one that we're kind of going for here. | 我想A就是我们要去的地方 |
| 926 | Oh, look at this feature. | 哦,看看这个特色。 |
| 927 | Look, it has a ghost face while pointer is in the frame. | 你看,它有一个鬼脸 而指针在框。 |
| 928 | Ghost used as a verb there. | 鬼在那里用作动词. |
| 929 | So look, I can like, when the pointer is in the frame, | 你看,我可以喜欢, 当指针在框中, |
| 930 | my hand disappears. | 我的手不见了。 |
| 931 | That's so freaky. | 这太奇怪了。 |
| 932 | It's annoying that it's showing get license | 这太烦人了,它显示有执照 |
| 933 | for production there because I do actually have a license. | 在那里生产 因为我确实有执照 |
| 934 | So something's going wrong there. | 所以那里出问题了 |
| 935 | So I'm going to dictate out all the things | 所以我要决定一切 |
| 936 | that I love and hate about this | 我爱和讨厌这个 |
| 937 | and we're going to iterate with the agent. | 我们要跟探员一起走 |
| 938 | I really love A. | 我真的爱A。 |
| 939 | I think you've really nailed something there. | 我觉得你真的 钉在那里的东西。 |
| 940 | I especially like the ghost face thing. | 我特别喜欢鬼脸 |
| 941 | That's a nice feature. | 这是一个不错的特点。 |
| 942 | The moving me left and right. | 左右动我. |
| 943 | So moving the face left and right is a little too sensitive. | 所以左右移动脸部有点过于敏感. |
| 944 | So just bump that down a little bit. | 所以,只是碰下来一点点。 |
| 945 | There appears to be in the composited diagram | 复刻图中似乎有 |
| 946 | a little white line just to the left of, sorry, | 左边有点白线,对不起 |
| 947 | to the, on the outside of the main block there, | 在主街区的外面, |
| 948 | which is not good. | 这是不好的。 |
| 949 | I also want the composites to display | 我也希望这些复合材料能展示出来 |
| 950 | below the thumbnail editor. | 在缩略图编辑器下面。 |
| 951 | We're also missing a lot of the stuff | 我们还漏了很多东西 |
| 952 | that we've grilled about, | 我们一直在纠缠, |
| 953 | such as being able to insert components | 例如能够插入组件 |
| 954 | and being able to drop in stuff. | 并且能够掉下来的东西。 |
| 955 | And I'm pretty sure we don't currently have parity | 我敢肯定,我们目前没有平等 |
| 956 | with the other, with the diagram playground, right? | 与另一个, 与图游乐场,对不对? |
| 957 | So we probably need a version of it like that. | 因此,我们可能需要这样的版本。 |
| 958 | So let's abandon the three variants now. | 故今弃三种变体. |
| 959 | Let's just go with A and let's continue to iterate on it. | 让我们和A一起继续推敲 |
| 960 | It's also got a couple of questions for me | 还有几个问题要问 |
| 961 | after I've tried it. | 我试过之后 |
| 962 | So it's saying which surface, I think we've added that. | 上面说是哪个表面,我想我们添加了这个。 |
| 963 | With Q31, yeah, I want it to live inside the thumbnail page | 用Q31,是的,我要它活在缩略图页里 |
| 964 | and I think we probably need to see that | 我觉得我们可能需要看看 |
| 965 | in the next prototype so that we can arrange it | 在下一个原型,以便我们可以安排它 |
| 966 | on the page properly. | 在页面上正确。 |
| 967 | {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}应该把脸移开再拍 | |
| 968 | be on the same undo history as drawing? | 和绘画相同吗? |
| 969 | Oh yeah. | 对 |
| 970 | Q32, that is genius. | Q32,这是天才。 |
| 971 | Really, really smart. | 真的,真的很聪明。 |
| 972 | Definitely, that's really cool. | 当然,这真的很酷。 |
| 973 | Cause I don't have an undo history | 因为我没有历史 |
| 974 | in my current thumbnail editor. | 在当前缩略图编辑器中。 |
| 975 | So I'm kind of screwed there, | 所以我有点搞砸了, |
| 976 | but we kind of get that for free because TLDraw, | 但我们是免费的 因为TLDraw |
| 977 | which is the tool that I'm using, | 这是我用的工具, |
| 978 | bakes it into its data model. | 把它制成数据模型 |
| 979 | Very, very, very smart. | 非常非常非常聪明。 |
| 980 | Okay, so it's now gone and sent the prototype agent back | 好,现在它不见了,把原型特工送回去 |
| 981 | to it saying, okay, drop B and C, | 对它说,好吧,B和C, |
| 982 | put A inside the real thumbnail page, blah, blah, blah. | 把真正的缩略图页,等等,等等。 |
| 983 | In other words, it's confirming with me all the things | 换句话说,它证实了我的一切 |
| 984 | that I gave it as feedback | 我给它反馈 |
| 985 | and it's now implementing all of those. | 现在它正在执行所有这些。 |
| 986 | This prototyping phase is so, so important | 这个原型阶段如此重要 |
| 987 | because we really get to stamp how we think the product | 因为我们真的可以盖印 如何看待产品 |
| 988 | is going to look before we then like actually schedule | 我们之前会先看一看 然后就喜欢实际的日程安排 |
| 989 | an agent to build it. | 一个特工来建造它。 |
| 990 | In other words, this time human in the loop | 换句话说,这次是人环 |
| 991 | with the agent is so essential | 与代理人是如此重要 |
| 992 | because we're really gonna like reduce the decision space | 因为我们真的会喜欢 缩小决定空间 |
| 993 | for the agent. | 给经纪人的 |
| 994 | We're gonna say, no, it has to look exactly like this. | 我们要说,不,它必须 完全像这样。 |
| 995 | We know exactly the data model. | 我们完全了解数据模型。 |
| 996 | All the agent then has to do once we run it AFK | 一旦我们运行AFK,所有特工都要做 |
| 997 | is plug those two things together. | 将这两件事连接在一起。 |
| 998 | I find it pretty hard to like not get excited | 我觉得很难不兴奋 |
| 999 | when I see a prototype, | 当我看到一个原型, |
| 1000 | when I see things starting to come to life. | 当我看到事情开始 生命。 |
| 1001 | We've done this grilling, | 我们做了这个烤肉, |
| 1002 | which feels kind of a little bit onerous sometimes, | 有时候感觉有点麻烦 |
| 1003 | a little bit annoying, | 有点烦人, |
| 1004 | but when you actually see the thing coming together, | 但当你真正看到的东西 在一起, |
| 1005 | you see how it's going to feel to use. | 你明白用起来的感觉了吧 |
| 1006 | And I'm really doing this. | 我真的很这样做。 |
| 1007 | This is personal software for me. | 这是我的个人软件。 |
| 1008 | You know, it's just something to make my life more delightful | 你知道,这只是一些 使我的生活更快乐 |
| 1009 | and seeing that actually coming together is so exciting. | 而看到它真的走到一起 是如此令人兴奋。 |
| 1010 | Okay, we are back and we have a new version here | 好,我们回来了,这里有新版本 |
| 1011 | inside the thumbnail editor. | 在缩略图编辑器里面。 |
| 1012 | So we've got the YouTube previews down the bottom. | 因此,我们得到了YouTube的预览 从下面。 |
| 1013 | That's nice. | 不错 |
| 1014 | The face is in frame here. | 脸在框里 |
| 1015 | I love that I can resize this actually. | 我喜欢我可以改变这个尺寸 |
| 1016 | That's something I've never had before. | 那是我从未有过的 |
| 1017 | Let's switch me around a little bit. | 我们换个地方吧 |
| 1018 | That is really nice and smooth. | 这是非常好的和顺的。 |
| 1019 | Yeah, this really, really rocks. | 是啊,这是真的,真的石头。 |
| 1020 | Now have access to a command palette as well. | 现在也可以使用命令调色板。 |
| 1021 | So I can insert components. | 所以我可以插入组件。 |
| 1022 | Let's take a look at the list item here. | 让我们来看看列表项目在这里。 |
| 1023 | Yes, that's looking excellent. | 是的,这看起来很棒。 |
| 1024 | I should be able to search for other diagrams | 我应该能找到其他的图表 |
| 1025 | so I can insert a diagram. | 所以我可以插入一个图表。 |
| 1026 | So let's just go for a wave finder here. | 我们来找个浪探 |
| 1027 | And then would you look at that? | 然后你会看看吗? |
| 1028 | We've got all of that working too. | 我们也有办法 |
| 1029 | So let's take a look at the composites. | 让我们来看看复合材料。 |
| 1030 | We can see, still looks like there's that little white bit | 我们可以看到,仍然看起来像 有一点点白色 |
| 1031 | just there. | 就在这里。 |
| 1032 | Let's move me slightly this way, | 让我们稍微移动我这样, |
| 1033 | move this so it covers the whole screen. | 移动这个,它覆盖整个屏幕。 |
| 1034 | Yeah, that's really cool. | 是啊,这真的很酷。 |
| 1035 | Oh, I love it. | 哦,我喜欢它。 |
| 1036 | I can still see the little white bar | 我还能看到小白酒吧 |
| 1037 | on the right of the export, | 出口权, |
| 1038 | but overall this is looking a lot better. | 但总的来说,这看起来好多了。 |
| 1039 | It's also asked me some questions here. | 这里还问我一些问题 |
| 1040 | Q34, I agree. | 问题34,我同意。 |
| 1041 | Q35, I agree. | 问题35,我同意。 |
| 1042 | Who owns the face? | 脸是谁的? |
| 1043 | It's an excellent AI sentence. | 绝妙的AI句子. |
| 1044 | Very good. | 很不错。 |
| 1045 | Q36, I agree. | 问题36,我同意。 |
| 1046 | Q37, I agree. | 问题37,我同意。 |
| 1047 | Q38, I agree. | 问题38,我同意。 |
| 1048 | So at this point, the agent is pretty much aligned with us. | 因此,现在,代理 几乎与我们一致。 |
| 1049 | We now have just sort of one problem to solve | 我们现在只有一个问题要解决 |
| 1050 | in the prototype. | 在原型。 |
| 1051 | And I can feel we're nearly at the end | 我感觉到我们快到了 |
| 1052 | of the grilling session. | 烧烤会议。 |
| 1053 | Like once I just start going, yes, yes, yes, yes, yes, | 就像我刚开始去,是的,是的,是的,是的, |
| 1054 | we are aligned, right? | 我们结盟了,对吧? |
| 1055 | The agent is making decisions as if it were me | 代理在做决定 就像是我 |
| 1056 | and it's making decisions understanding what I care about. | 它正在做决定 理解我关心的。 |
| 1057 | So this little white bar thing | 所以这个白色小酒吧的事情 |
| 1058 | is actually showing something pretty nice here. | 其实是展示一些不错的东西在这里。 |
| 1059 | This is essentially a bug in the prototype. | 这基本上是原型中的虫子. |
| 1060 | And this is a bug that could have gone into production | 这个虫子本来可以生产 |
| 1061 | if we hadn't spotted it, but we have spotted it. | 如果我们没有发现它, 但我们已经发现了它。 |
| 1062 | So what it's trying to do here | 所以它想在这里做什么 |
| 1063 | is it's trying to verify its own findings. | 是它试图验证自己的发现。 |
| 1064 | It's trying to construct a harness around the problem, | 它试图在问题周围搭建绳索 |
| 1065 | in other words, a reproduction, | 换句话说,复制, |
| 1066 | and then it's going to try to fix it, | 然后它会试图修复它, |
| 1067 | whatever the issue is. | 不管问题是什么 |
| 1068 | In other words, it's going to reproduce the bar | 换句话说,它将复制酒吧 |
| 1069 | in its own browser first, | 首先在自己的浏览器中 |
| 1070 | then read pixel colors along the right edge of the export | 然后沿着导出的右边缘读取像素颜色 |
| 1071 | and of each preview. | 和每个预览。 |
| 1072 | That should tell us where the white comes from. | 这应该能告诉我们白色是从哪里来的 |
| 1073 | This generation of agents appear to be really, | 这代人似乎真的 |
| 1074 | really good at this. | 真的很擅长这个。 |
| 1075 | In other words, verifying their own work really solidly. | 换句话说,验证他们自己的工作非常可靠。 |
| 1076 | There might be stuff in my home repo, | 我家里可能有些东西 |
| 1077 | like steering files that tell it to do this, | 就像引导文件 告诉它这样做, |
| 1078 | but I'm not quite sure. | 但我还不太确定 |
| 1079 | I think it is just doing this off its own back. | 我认为它只是做这个 从自己的背。 |
| 1080 | We can see too that it's opened up the existing subagent. | 我们也可以看到它打开了现有的副剂. |
| 1081 | So this one that's currently on 260K tokens here. | 这个现在有260K的纪念品 |
| 1082 | So this is already punching pretty deep into its dumb zone. | 这已经深入到了它的哑巴区域。 |
| 1083 | I would probably have preferred it to kick off | 我可能更喜欢开球 |
| 1084 | a new subagent with just specifically this problem. | 一个新的副代理 问题就是这个 |
| 1085 | I think that probably would have been better, | 我觉得这样可能更好 |
| 1086 | but I mean, let's just see how it does | 但是,让我们看看它是如何做的 |
| 1087 | and see if it manages to find the solution. | 看看它能不能找到解决办法 |
| 1088 | If it doesn't manage to find the solution, | 如果它找不到解决方案 |
| 1089 | then I will punch it again | 那我再来一拳 |
| 1090 | with a new subagent with a clean context. | 与新副剂 与干净的背景。 |
| 1091 | Everyone's always asking me, by the way, | 每个人都问我,顺便说一句, |
| 1092 | oh, do you still stand by the smart zone, dumb zone thing? | 哦,你仍然站在 智能区,哑巴区的事情? |
| 1093 | This is my contention, | 这就是我的论点, |
| 1094 | and other people have had this contention as before. | 其他人和以前一样有这种争论。 |
| 1095 | It's not original to me. | 这对我来说不是原创的 |
| 1096 | 来自HumanLayer的Dex Horthy 现在工厂想出了它, | |
| 1097 | which is that when your agent gets to around 150K tokens, | 也就是当你的经纪人 拿到大约15万个信使时 |
| 1098 | it starts acting a little bit stupider | 开始有点蠢了 |
| 1099 | and it starts getting slowly dumber and dumber. | 它开始慢慢地变笨 |
| 1100 | And if you think of what smart zone | 如果你想到什么是聪明的地方 |
| 1101 | versus dumb zone actually means, | 对哑区实际上意味着, |
| 1102 | like what we're talking about there | 就像我们在谈论那里 |
| 1103 | is that the risk of hallucination slowly raises | 幻觉的风险慢慢增加 |
| 1104 | the more tokens you add to the context window. | 在上下文窗口中添加的符号越多。 |
| 1105 | That's because if you imagine each one of these boxes | 那是因为如果你想象每个盒子 |
| 1106 | is an individual token, | 是个人的象征, |
| 1107 | then the model needs to keep track | 那么模型需要保持跟踪 |
| 1108 | of all of the relationships between every single token. | 所有关系 每一个符号。 |
| 1109 | And it's not the fact that the number of tokens increases, | 并不是说信物的数量会增加 |
| 1110 | it's the number of relationships | 这是关系的数量 |
| 1111 | that the model needs to keep track of | 该模型需要跟踪 |
| 1112 | just expand quadratically, | 只要四倍扩张, |
| 1113 | and you end up with this enormous amount of memory needed | 你最终会拥有如此巨大的记忆 |
| 1114 | and amount of work needed to hear the signal in the noise. | 听到噪音中的信号需要大量的工作 |
| 1115 | However, making the models better at this | 然而,让模型更好的 在这个 |
| 1116 | is essentially an engineering problem, right? | 本质上是个工程问题,对吧? |
| 1117 | It's some kind of model design problem | 有点模型设计问题 |
| 1118 | that I'm sure people are trying to figure out. | 我敢肯定,人们正在试图弄清楚。 |
| 1119 | And the question everyone always asks me is like, | 大家都问我的问题就是 |
| 1120 | what number does the dumb zone begin at? | 哑巴区从哪开始? |
| 1121 | When should I clear the context? | 我什么时候才能澄清背景? |
| 1122 | And my answer is becoming, | 我的回答是, |
| 1123 | okay, in previous generations of models, sure. | 好吧,在前几代的模型,当然。 |
| 1124 | Okay, you pretty much had to clear the context | 好吧,你几乎必须清除 上下文 |
| 1125 | at 120K sometimes, even like 80K tokens | 有时在120K,甚至像80K令牌 |
| 1126 | 给Sonnet 3.5之类的 | |
| 1127 | You know, the number of token relationships | 你知道,象征关系的数量 |
| 1128 | would just go nuts and you would end up with loads | 你会发疯,你最后会负载 |
| 1129 | and loads of factuality errors. | 和大量事实错误。 |
| 1130 | But now it's more like it's a kind of cost | 但现在更像是一种代价 |
| 1131 | and optimization thing really. | 和优化的东西真的。 |
| 1132 | You know that your agent will be smarter | 你知道你的经纪人会更聪明 |
| 1133 | when there are fewer tokens here. | 当这里有更少的标志。 |
| 1134 | So it's not necessarily about the risk of hallucinations. | 因此不一定是关于幻觉的风险. |
| 1135 | It's more like optimizing your agent | 更像是优化你的经纪人 |
| 1136 | to produce the best work. | 制作最好的作品。 |
| 1137 | So for me, it's not so much | 对我来说,这不算什么 |
| 1138 | that the agent produces hallucinations in the dumb zone. | 毒剂在哑区产生幻觉 |
| 1139 | It's more that it just produces worse work. | 更多的是,它只是产生更糟糕的工作。 |
| 1140 | And I end up with better results | 我最后会得到更好的结果 |
| 1141 | when I do my work in the smart zone. | 当我在智能区工作时 |
| 1142 | Plus operating at like 750K tokens in your context window | 加上在上下文窗口中运行的 750K 令牌 |
| 1143 | is very, very expensive | 非常,非常昂贵 |
| 1144 | because even like when your cash runs out, | 因为即使你的钱用光了 |
| 1145 | all of those previous tokens | 所有之前的标志 |
| 1146 | are going to be run through again | 将再次运行 |
| 1147 | and that's gonna be billed again. | 这会再次被收帐。 |
| 1148 | Okay, the next version of the prototype is ready. | 好吧,下一个版本的原型已经准备好了。 |
| 1149 | And while it still has this little white thing in it, | 虽然里面还有这个白色的小东西 |
| 1150 | it actually says that it's not an issue. | 它实际上说 这不是一个问题。 |
| 1151 | The little bar actually comes from the browser | 小条其实来自浏览器 |
| 1152 | 在Windows 125%的缩放中, | |
| 1153 | Chrome shrinking 120 wide image into the previews, | Chrome缩小120幅宽的图像进入预览, |
| 1154 | left the last pixel column only partly painted. | 仅保留了最后的像素列部分画。 |
| 1155 | There's some other stuff here like some hazards. | 这里还有一些东西 像一些危险。 |
| 1156 | I agree with Q39, Q40. | 我同意Q39,Q40的说法. |
| 1157 | Yes, drawing edit should auto save the thumbnail. | 是的, 绘图编辑器应该自动保存缩略图 。 |
| 1158 | And it's now asking whether I want to write it up. | 现在它问我是否想写出来。 |
| 1159 | So I'm gonna be careful here. | 所以我会在这里小心。 |
| 1160 | I'm going to go back to the start of this little text input | 我要回到这个小文字输入的开始 |
| 1161 | and I'm gonna say to spec, let's write it up. | 我要告诉Spec,让我们把它写出来。 |
| 1162 | I have to go back to the start | 我必须回去开始 |
| 1163 | because to spec is a user invoked skill. | 因为Spec是用户引用的技能。 |
| 1164 | So I can invoke it essentially | 所以,我基本上可以引用它 |
| 1165 | and I have to have it at the start | 我一定要在开始的时候得到它 |
| 1166 | when I'm using Claude code. | 当我用克劳德的代码。 |
| 1167 | I can't just sort of scatter it throughout the text input | 我不能把它分散在文字输入中 |
| 1168 | which is a bit annoying | 这有点烦人 |
| 1169 | and something I've been wanting them to change | 我一直希望他们改变 |
| 1170 | for a long time. | 长久以来 |
| 1171 | To spec, what it's gonna do | 来看,它会做什么 |
| 1172 | is it's going to create a specification. | 它会创造一个规格。 |
| 1173 | It's gonna ask me a couple of questions | 它会问我几个问题 |
| 1174 | about where we're gonna test. | 关于我们要去测试的地方。 |
| 1175 | And then from there, we'll be able to implement it. | 然后从那里,我们就可以执行它。 |
| 1176 | I already have a few quite robust reducers | 我已经有一些相当强大的减员器了 |
| 1177 | and reducers are essentially places in the front end | 和减压器基本上位于前端 |
| 1178 | where you can contain lots of states together. | 在那里,你可以包含 很多州在一起。 |
| 1179 | And I find them really, really good with agents | 我发现他们真的, 真的很好与特工 |
| 1180 | because they can just kind of extend existing ones. | 因为他们只是可以扩展 现有的。 |
| 1181 | All of those three seams look good. | 这三个接缝看起来都不错 |
| 1182 | I'm then going to go for the to tickets skill as well. | 我也会去买票技巧 |
| 1183 | I'd like you to add some tickets too. | 我也希望你再加点票子 |
| 1184 | Let's just do these in one batch. | 我们一批就来 |
| 1185 | Now what spec and to tickets do | 门票和门票怎么办? |
| 1186 | is they essentially give the agent everything it needs | 他们基本上给了特工一切需要的东西 |
| 1187 | to run a long running session. | 运行长会话。 |
| 1188 | The spec acts like a destination document. | 光谱就像目的地文件 |
| 1189 | So we're essentially running work over multiple sessions | 所以,我们基本上 运行工作 通过多个会议 |
| 1190 | 而Spec会说, | |
| 1191 | okay, once we get to the end of these sessions, | 好吧,一旦我们到达 结束这些会议, |
| 1192 | this is where we want to end up. | 这是我们想要结束的地方。 |
| 1193 | And then the tickets are essentially | 然后票是基本上 |
| 1194 | about scoping each individual session. | 关于界定每次届会的范围。 |
| 1195 | ┮и┮Τ | |
| 1196 | {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}会拿到一张单张票 | |
| 1197 | and that's gonna be the scope of its piece of work. | 这将是它的工作范围。 |
| 1198 | So here it's given us the proposed breakdown | 因此,这里它给了我们 拟议的细分 |
| 1199 | of all of the sessions. | 所有会议。 |
| 1200 | So the first one is like a pre-factor, | 所以第一个像一个前因子, |
| 1201 | like extracting the shared diagram editor | 比如提取共享图编辑器 |
| 1202 | into a shared component, really useful. | 变成一个共享的组件,真的有用。 |
| 1203 | That's gonna be very handy later. | 那以后会很方便的 |
| 1204 | Each ticket says what it's blocked by | 每张票都写着它被什么挡住了 |
| 1205 | and I'm not gonna like review this too much. | 我不会再喜欢这样了 |
| 1206 | Nine seems fine to me. | 九似无碍. |
| 1207 | I'm just gonna say, yep, looks good to me. | 我只是要说,是啊,看起来不错。 |
| 1208 | Now the plan is that once this is done, | 现在的计划是,一旦做到这一点, |
| 1209 | I'm then going to compact. | 然后,我要去紧凑。 |
| 1210 | So I'm gonna take that entire session, | 所以我要接整场课 |
| 1211 | the grilling session we've just done, compact it down | 我们刚刚做的烤肉会 压缩一下 |
| 1212 | and then we're gonna run a skill called implement spec, | 然后我们要运行一个技能 叫做执行规格, |
| 1213 | which is going to essentially AFK | 基本上将是AFK |
| 1214 | just create all of this stuff and merge it into a single PR. | 只要创造所有这些东西 并合并到一个单一的公关。 |
| 1215 | And you think of how easy that job is going to be | 你想想那份工作会有多容易 |
| 1216 | for the agent, right? | 给经纪人的 对吧? |
| 1217 | We are gonna have an updated glossary by that point. | 届时我们将会有最新的词汇表 |
| 1218 | We are going to have an entire spec | 我们要有一个完整的谱系 |
| 1219 | of the thing it needs to build, | 它需要建造的东西, |
| 1220 | all of the tickets on the how it's gonna get there. | 所有的票 如何到达那里。 |
| 1221 | And we've also got a prototype, | 我们也有一个原型, |
| 1222 | which essentially just needs to copy in terms of the UI. | 基本上只需要复制UI |
| 1223 | So we've already got a bunch of code written too. | 我们已经写了一堆密码 |
| 1224 | By the time I get to the spec and the tickets, | 当我得到的规格和票, |
| 1225 | by the time I get to implementation, | 等到我执行完毕 |
| 1226 | like I'm really trying to give the agent | 碞钩и痷稱倒竒瞶 |
| 1227 | no decision space in which to operate, | 没有可操作的决定空间, |
| 1228 | no nuance that it can go, oh yeah, | 没有细微的,它可以去, 哦,是的, |
| 1229 | I'll just sort of fiddle around with this. | 我只是有点闲逛 与这个。 |
| 1230 | Because the more nuance you give to an agent, | 因为你对特工的细微了解 |
| 1231 | the worse it's going to perform | 更糟糕的是,它会演出 |
| 1232 | because as soon as you ask an agent to make a decision, | 因为一旦你要求经纪人做决定 |
| 1233 | it might make a bad decision. | 它可能会做出一个糟糕的决定。 |
| 1234 | So the more decisions you give it, | 所以越多的决定, |
| 1235 | the more decision space it has, | 决策空间越大 |
| 1236 | the more likely it is to choose a bad one. | 越有可能选择一个坏的。 |
| 1237 | So I tend to like giving the agent very, very few options | 所以我喜欢给经纪人很多很少的选择 |
| 1238 | when it comes to implementation, | 在执行方面, |
| 1239 | when it comes to the decisions of the features that I want. | 说到我想要的特征 |
| 1240 | Okay, we now have our spec | 好吧,我们现在有我们的谱 |
| 1241 | and we can see that this is in GitHub. | 我们可以看到这是在GitHub。 |
| 1242 | So this is a GitHub issue. | 因此,这是一个GitHub问题。 |
| 1243 | I have a bunch of user stories here, around 47 of them, | 我这里有一堆用户故事 大约47个 |
| 1244 | a bunch of implementation decisions, | 一系列执行决定, |
| 1245 | a very, very rich document, | 一个非常,非常丰富的文件, |
| 1246 | including stuff that's out of scope. | 包括超出范围的东西 |
| 1247 | We can see it's also referencing the prototype | 我们可以看到它也参考了原型 |
| 1248 | on the local branch, fantastic. | 在当地的分支,太棒了。 |
| 1249 | And it then has a bunch of sub issues, | 然后它有一堆子问题, |
| 1250 | each of which are the individual tickets. | 每张票都是个人票。 |
| 1251 | So all of these are individual tasks | 所以所有这些都是个别的任务 |
| 1252 | and crucially, these can be parallelized. | 关键是,它们可以平行进行。 |
| 1253 | And so what I'm going to do | 所以,我要怎么办 |
| 1254 | is I'm going to compact the current conversation | 我要把现在的对话压缩一下 |
| 1255 | and the words just sort of take all of the context | 和文字只是排序 所有上下文 |
| 1256 | that we've had so far and squash it down. | 目前为止,我们已经 并摧毁它。 |
| 1257 | And then I'm going to say implement spec | 然后我要说 执行谱 |
| 1258 | just on the, essentially just on the spec | 只是,基本上只是 光谱 |
| 1259 | that it's just created. | 它只是创造了。 |
| 1260 | I've started using compact a lot more, | 我开始用紧凑器了 |
| 1261 | actually compact has become a lot more reliable, | 实际上,紧凑 已经变得更加可靠, |
| 1262 | a lot nicer to use. | 更不错的用。 |
| 1263 | I still don't think it's a perfect thing, | 我还是不认为这是件完美的事情, |
| 1264 | like auto-compact is still a little bit dodgy | 就像自动装配 仍然是有点多 |
| 1265 | because the timing sometimes just absolutely wants you, | 因为时机有时只是绝对想要你 |
| 1266 | something important will be taken out of context. | 重要的东西将脱离背景。 |
| 1267 | But compact, especially in this situation, | 但紧凑 尤其是在这种情况下 |
| 1268 | when we've taken the conversation | 当我们开始谈话时 |
| 1269 | and just turned it into a document, | 然后把它变成文件 |
| 1270 | is so, so safe, it's almost free. | 所以,如此安全, 它几乎免费。 |
| 1271 | It's just a kind of like a minute it spends | 这就像花在一分钟 |
| 1272 | just compacting this conversation and bam, | 只是把谈话和bam压缩一下 |
| 1273 | we're back down to essentially our starting context. | 我们基本上回到开始的背景。 |
| 1274 | Now, implement spec is a skill that I've had | 现在,执行Spec是我的技能 |
| 1275 | for a little while now, I think it came out in V1.3. | 一会儿,我想它出来了 在V1.3。 |
| 1276 | And this is really, it just takes the spec and the tickets | 这是真的,它只是拿 光谱和票 |
| 1277 | and it implements them inside our local setup. | 并在我们本地的机构内执行 |
| 1278 | And when it finishes, which for a piece of work like this | 当它完成, 对于这样的作品 |
| 1279 | might be like an hour or 45 minutes maybe, | 也许像一个小时或45分钟, |
| 1280 | then we're going to end up with a nice PR | 然后我们会有一个很好的公关 |
| 1281 | that essentially implements the entire thing | 基本上执行整个事情 |
| 1282 | that is ready to merge. | 准备合并。 |
| 1283 | So this is the point here where I would step away, | 所以这就是我要离开的地方 |
| 1284 | where I would trust it to run AFK. | 我会相信它能运行AFK。 |
| 1285 | It's going to run as much in parallel as it possibly can. | 它将尽可能平行运行。 |
| 1286 | You can see it's starting the three tickets | 你可以看到它开始 三张票 |
| 1287 | that can begin now and it's able to pass them | 现在可以开始了,它可以通过他们 |
| 1288 | very rich context about what needs to happen | 非常丰富的背景 需要发生什么 |
| 1289 | because it's just a compacted version | 因为它只是一个压缩版 |
| 1290 | of our original conversation. | 我们最初的对话。 |
| 1291 | So it knows exactly the parts of the code base that matter, | 所以它确切地知道 密码基础的部分 这很重要, |
| 1292 | knows the spec, knows the prototype too. | 知谱,知原型也. |
| 1293 | So I'm going to walk away and when I come back, | 所以我要离开 当我回来时 |
| 1294 | I should have working code. | 我应该有工作代码。 |
| 1295 | Okay, it's been a little while, we now have a massive PR | 好久不见,我们有了大公关 |
| 1296 | and we have a code review that has run | 我们有一个代码审查 运行 |
| 1297 | and found some violations. | 并发现一些违规行为。 |
| 1298 | We can see the pull request inside the PRs here | 我们可以看到公关内部的拉动请求 |
| 1299 | for edit a thumbnail diagram in place beside the face. | 用于编辑面部旁边的缩略图。 |
| 1300 | We can see we've added 21,000 lines of code. | 我们可以看到我们增加了21,000行代码。 |
| 1301 | I'm looking forward to reviewing that. | 我期待着审查这一点。 |
| 1302 | And the way that implement spec works | 执行Spec的方法 |
| 1303 | is it goes away and reviews everything with an agent | 是它走了,并审查 一切与代理 |
| 1304 | and then it checks against some existing coding standards. | 然后对照一些现有的编码标准进行核对。 |
| 1305 | You should take a look at the code review skill | 你应该看看代码审查技巧 |
| 1306 | if you want to see more of that, | 如果你想看到更多这样的, |
| 1307 | but basically it found one hard violation | 但基本上,它发现 一个严重的违反 |
| 1308 | and a couple of cases of scope creep | 和几例范围爬行案例 |
| 1309 | and then it's fixing them up right now. | 然后它正在修复他们现在。 |
| 1310 | I'm going to try something I don't usually try here, | 我要尝试一些 我通常不尝试在这里, |
| 1311 | which is I think I do want to review this | 我认为我确实想回顾一下 |
| 1312 | with you guys watching. | 你们在看 |
| 1313 | And so I think I want to try a different way | 所以我想尝试另一种方式 |
| 1314 | of breaking down this massive PR into smaller chunks. | 将这个庞大的公关拆分成小块 |
| 1315 | I don't have a skill for this yet. | 我还没有这个技能。 |
| 1316 | This isn't something that I do regularly, | 这不是我经常做的事 |
| 1317 | but for large chunks of work like this | 但对于大块的工作像这样 |
| 1318 | that I do want to review, this makes sense. | 我想回顾一下,这是有道理的。 |
| 1319 | Once the review is finished, | 一旦审查结束 |
| 1320 | I think I want you to break it into smaller chunks | 我想请你把它分成小块 |
| 1321 | 使用叠叠的 diffs 。 | |
| 1322 | These smaller chunks ideally should be reviewable | 这些小块最好可以审查 |
| 1323 | on their own. | 他们自己。 |
| 1324 | And what that means is that I want them to be | 那意味着我希望他们成为 |
| 1325 | each a bunch of two-way doors | 每扇双向门 |
| 1326 | and finish in a final one-way door. | 然后在最后的单向门里完成。 |
| 1327 | You can look for the definitions of two-way door | 您可以查找双向门的定义 |
| 1328 | and one-way door inside the PR skill. | 和单向门 在公关技能。 |
| 1329 | One-way doors and two-way doors, | 单向门和双向门, |
| 1330 | it's a really nice analogy. | 这是一个非常好的类比。 |
| 1331 | It basically means that when you have a PR | 这基本上意味着当你有公关 |
| 1332 | that is a two-way door, | 这是双向的门, |
| 1333 | it means you can merge it and then revert it anytime. | 它意味着你可以合并它 然后随时还原它。 |
| 1334 | So you can walk through the door | 这样你就可以走进门了 |
| 1335 | and then walk back through the door. | 然后从门口走回来 |
| 1336 | Whereas a one-way door is a PR that is merged | 单向门是合并的公关 |
| 1337 | and then is very difficult to unmerge. | 然后很难解脱 |
| 1338 | In other words, it might mess with some data. | 换句话说,它可能会弄乱一些数据。 |
| 1339 | It might speak to an external service. | 它可能与外部服务。 |
| 1340 | It might expose like a security window | 它可能会像安全窗口一样暴露 |
| 1341 | that's hard to walk back. | 那很难走路回去。 |
| 1342 | And agents are pretty good at breaking up massive PRs | 特工们很擅长破解大规模公关 |
| 1343 | into small PRs. | 变成小公关 |
| 1344 | So it's given me this chunk of different PRs here. | 这里有一大堆不同的公关 |
| 1345 | I can tell though that some of them are smaller than others. | 我看得出来,有些比其他小。 |
| 1346 | It feels like this last one is kind of the big one. | 感觉上一个有点大 |
| 1347 | Can you give me an estimate of the lines of code | 你能给我一个代码线的估计数吗? |
| 1348 | that would be in each PR, | 在每个公关, |
| 1349 | since that's really what I want to do here? | 既然这就是我想在这里做的事? |
| 1350 | I'm also wondering whether we could utilize feature flags | 我还在想我们能不能使用地标 |
| 1351 | to make the thumbnail diagram available | 以提供缩略图 |
| 1352 | and then pull it back later. | 然后把它拉回来 |
| 1353 | In this situation, I'm kind of cosplaying | 在这种情况下,我是那种 cosplay |
| 1354 | as if this is a production system. | 这就像一个生产系统。 |
| 1355 | I'm kind of pretending as if, | 我装作... |
| 1356 | okay, I want to break this huge PR down | 好吧,我想打破这个巨大的公关 |
| 1357 | into reviewable chunks that we can ship to production | 进入可审查的块 我们可以运送生产 |
| 1358 | and not have like this big risk when we merge a single PR. | 当我们合并一个公关时 就不会有这么大的风险 |
| 1359 | Usually when I merge to this repo, | 通常当我合并到这个repo, |
| 1360 | because it's only personal software, | 因为它只是个人软件, |
| 1361 | I don't have to care that much. | 我不用这么在乎 |
| 1362 | And I can just go, all right, bam, let's stick it in. | 我可以去,好吧,巴姆,让我们坚持下去。 |
| 1363 | But because if I'm imagining I've got, you know, | 但是,因为如果我想象 我得到了,你知道, |
| 1364 | thousands, hundreds of thousands of users, | 成千上万的用户, |
| 1365 | like we really want to make sure production | 就像我们真的想确保生产 |
| 1366 | is as close to the change as possible. | 尽可能接近变化。 |
| 1367 | And then once we finally flick it on, | 然后,一旦我们终于闪开它, |
| 1368 | it should be relatively seamless. | 应相对无缝。 |
| 1369 | In other words, we're taking this huge chunk of, | 换句话说,我们拿了一大块, |
| 1370 | or taking this a single door | 或把这个单扇门 |
| 1371 | and turning it into lots of doors, | 并把它变成许多门, |
| 1372 | which we can revert as we need to. | 我们可以随心所欲地恢复它 |
| 1373 | And then finally, we're going to flick it on at the end. | 最后,我们将在结尾点亮它。 |
| 1374 | Okay, so now it's taken that last PR, the massive one, | 好吧,现在它采取了 最后一个公关,一个巨大的, |
| 1375 | and turned it into four smaller ones. | 化为四小. |
| 1376 | The upshot of this is it would basically run | 这的高潮是 它基本上会运行 |
| 1377 | both implementations side by side for a bit. | 两者并肩执行。 |
| 1378 | And then when we were ready, we would merge the final PR | 然后,当我们准备好了, 我们将合并 最终PR |
| 1379 | and then that would turn the flag on. | 然后会打开国旗。 |
| 1380 | Okay, let's go with this version. | 好吧,让我们走这个版本。 |
| 1381 | Sounds good to me, | 听起来不错 |
| 1382 | but only do this once the review has finally fixed its things. | 但只有在审查最终定下来后 才会这么做 |
| 1383 | Make sure you delegate this work to subagents | 一定要把这项工作交给副代理 |
| 1384 | since you're a little bit constrained | 既然你有点被束缚 |
| 1385 | in terms of context window. | 在上下文窗口方面。 |
| 1386 | So this is exciting. | 所以这是令人兴奋的。 |
| 1387 | This is kind of an experiment. | 这是一种实验。 |
| 1388 | Hopefully these are going to be easy to merge individually. | 希望这些都很容易单独合并。 |
| 1389 | Okay, so we have our first PR of seven here. | 好吧,我们有我们的第一个 公关7。 |
| 1390 | The first one is literally just the glossary terms, | 第一个是字面上的术语表 |
| 1391 | diagram component, and ADR 060. | 图表组件,和 ADR 060。 |
| 1392 | If we take a little more detailed look at this, | 如果我们仔细看看这个 |
| 1393 | this all looks fine. | 这看起来很好。 |
| 1394 | And so as this is, this can just go in. | 这样的话,这个就可以进去了。 |
| 1395 | I'm happy to enable an auto-merge here. | 我很高兴能在这里自动出现 |
| 1396 | I can press confirm auto-merge and that will now go in | 我可以按确认自动出现,现在会进入 |
| 1397 | as soon as the CI checks pass. | 只要CI检查通过 |
| 1398 | And there we go, it has gone in and merged, beautiful. | 到了,它已经合并,美丽。 |
| 1399 | Next, we have a new PR coming in saying, | 接下来,我们有一个新的公关 来说, |
| 1400 | extract the shared diagram editor | 提取共享图编辑器 |
| 1401 | from the editor or diagram playground. | 从编辑器或图表游乐场。 |
| 1402 | So just a few files changed here. | 所以这里只有几个文件改变了。 |
| 1403 | Now, while we're here, | 现在,当我们在这里的时候, |
| 1404 | we might as well talk a little bit about human review | 我们不如谈谈人类审查 |
| 1405 | and like what the purpose of this exercise is. | 喜欢这个练习的目的是什么。 |
| 1406 | For me in this situation, | 对我来说,在这种情况下, |
| 1407 | I'm going to do this human review | 我要做这个人类评论 |
| 1408 | because I know that you're watching | 因为我知道你在看 |
| 1409 | and you're interested in how I do human review. | 你对我的人类评论感兴趣 |
| 1410 | And so I'm going to review every single line, | 所以我要审查每一行 |
| 1411 | but do, am I saying that you need to | 但做,我是说 你需要 |
| 1412 | do every single line yourself or review every single line? | 是每一行自己还是每行审查? |
| 1413 | No, I don't think you do. | 不,我不认为你这样做。 |
| 1414 | When I'm reviewing code like this, | 当我这样审查代码时 |
| 1415 | obviously I want to make sure that it works. | 显然,我想确保它的工作。 |
| 1416 | And so if this was going out to a production system, | 所以,如果这是 一个生产系统, |
| 1417 | then I would clone it locally | 然后我会在当地复制它 |
| 1418 | or I would get some kind of playground | 否则我会得到某种游乐场 |
| 1419 | where I could walk through it and check that it works. | 在那里我可以走过它 并检查它的工作。 |
| 1420 | What I'm actually going to do is I'm going to merge everything | 我实际上要做的是把一切都合并 |
| 1421 | and then because I'm the only user, | 然后因为我是唯一的用户, |
| 1422 | I'm just then going to review it at the end. | 我到最后再审一遍 |
| 1423 | But the point of checking the code here | 但这里检查密码的意义 |
| 1424 | is that I'm not just interested in like what the code does. | 我不只是对代码感兴趣 |
| 1425 | I'm also interested in the system that produced this code. | 我也对生成这个代码的系统感兴趣. |
| 1426 | In other words, if I notice that something | 换句话说,如果我注意到 |
| 1427 | is going wrong inside this code | 正在此代码中发生错误 |
| 1428 | or there's a pattern that I don't like, | 或有一个模式 我不喜欢, |
| 1429 | then what I'd like to do is create like a lint rule | 那么我想做的是创造出一个规则 |
| 1430 | or something to make sure it doesn't happen again. | 或者确保不再发生这种事 |
| 1431 | And by don't like, I mean that I want to have a hypothesis | 不喜欢,我的意思是 我想有一个假设 |
| 1432 | around that thing that I want to change | 环绕着我想改变的东西 |
| 1433 | that it is affecting my environment | 影响我的环境 |
| 1434 | my agent operates in in a negative way. | 我的经纪人以负面方式行事 |
| 1435 | In other words, I can see in this file here | 换句话说,我可以看到这个文件 |
| 1436 | like the command palette, | 像命令调色板, |
| 1437 | I can see there's a huge comment right next to it | 我看到旁边有个大评论 |
| 1438 | saying the command K command palette | 表示命令 K 命令调色板 |
| 1439 | mounted inside the active diagrams | 挂载在活动图表中 |
| 1440 | or rather the shared diagram editor over its canvas. | 或者在画布上共享图编辑器。 |
| 1441 | I'm kind of not happy about these large comments | 我有点不高兴 这些大的评论 |
| 1442 | and they are kind of everywhere in my code base | 他们都在我的密码库里 |
| 1443 | because it's more surface that the agent needs to update. | 因为毒剂需要更新的表面更多。 |
| 1444 | And so I'm going to add a comment here. | 因此,我要在这里补充一个评论。 |
| 1445 | I'm gonna say, I'm not really a big fan of these comments | 我要说,我并不很喜欢这些评论 |
| 1446 | because they leave a huge surface for the agent to update | 因为他们留下了巨大的表面 供毒剂更新 |
| 1447 | and they don't really add a lot | 也没什么增加 |
| 1448 | that isn't already explained by the code. | 密码还没解释清楚 |
| 1449 | I think I'd like you to add something to coding standards | 我想请你加入一些编码标准 |
| 1450 | to make these comments much less prevalent. | 使这些评论更为少见。 |
| 1451 | And I think we should have a conversation | 我觉得我们应该谈谈 |
| 1452 | about maybe banning comments | 可能禁止评论 |
| 1453 | in certain parts of the code base. | 在代码基础的某些部分。 |
| 1454 | So I'm gonna comment here | 所以我要在这里评论 |
| 1455 | and then I'm going to show you | 然后我要告诉你 |
| 1456 | what I'll do with those comments later on. | 我以后会怎么处理这些评论。 |
| 1457 | For instance, here, I really don't like the as keyword | 比如说,这里,我真的不喜欢关键词 |
| 1458 | in TypeScript. | 在类型脚本中。 |
| 1459 | It can be used to cheat the TypeScript in which I hate. | 它可以用来欺骗我讨厌的TypeScript. |
| 1460 | So I want to say a helper function is needed here | 所以我想说这里需要帮助 |
| 1461 | on what to ban all uses of as not inside shared utilities. | 何以禁止共享公用事业的所有用途。 |
| 1462 | This is just something I know | 这是我所知道的 |
| 1463 | 因为我是前TypeScript专家 | |
| 1464 | I made a course on TypeScript basically. | 我做了一个课程 关于TypeScript基本上。 |
| 1465 | Again, these docs here just sort of feel pretty gnarly. | 再说一遍,这些医生只是感觉很不舒服 |
| 1466 | I don't like this. | 我不喜欢这样 |
| 1467 | You can see how much the diff as we're going through | 你可以看到我们经历了多少 |
| 1468 | is literally just code comments. | 仅仅是代码注释。 |
| 1469 | It really is brutal. | 真的很残酷 |
| 1470 | But overall, this review didn't take too long | 但总而言之,这次检讨没有花太长时间 |
| 1471 | and I've noticed a couple of things | 我注意到一些东西 |
| 1472 | that we might need to improve. | 我们可能需要改进。 |
| 1473 | So next we go to the next PR in the list | 所以接下来我们去名单上的下一个公关 |
| 1474 | which is just a relatively small change again. | 这只是一个相对较小的变化了。 |
| 1475 | We've got some reducer testers, which I really, really like. | 我们有一些减量测试器, 我真的很喜欢。 |
| 1476 | If you've never used a reducer before, | 如果你从未用过减员器 |
| 1477 | it's just so nice, so easy to work with. | 它只是这么好, 很容易合作。 |
| 1478 | Again, more comments that I just want to kill, man. | 再说一遍,我只想杀更多的人 |
| 1479 | This repo is full of comments. | 此回函充满了评论. |
| 1480 | There's also another TypeScript thing | 还有另一个类型脚本 |
| 1481 | that I really don't like, | 我真的不喜欢, |
| 1482 | which is using this pick and this and here. | 用的是这个,这个和这里 |
| 1483 | Prefer using interface extends to using intersections. | 优先使用接口扩展至使用交叉点. |
| 1484 | See if you can find a lint rule for this | 看能不能找到一条规则 |
| 1485 | that we can ratchet. | 说我们可以调试。 |
| 1486 | That phrasing, by the way, like lint rule, | 顺便说一句,那句措辞就像规则一样 |
| 1487 | it's asking it to find a deterministic rule | 它要求它找到一个决定性的规则 |
| 1488 | that we're not necessarily going to impose on day one, | 我们不一定要强迫第一天, |
| 1489 | but we're going to ratchet up over time. | 但我们要逐渐调整 |
| 1490 | Again, so many comments here to review. | 同样,这里有许多评论要回顾。 |
| 1491 | It's just, it's getting pretty disgusting, I have to say. | 它只是,它越来越 相当恶心,我不得不说。 |
| 1492 | Another one here is that even in code | 这里的另一个是,即使代码 |
| 1493 | that is not actually touched by the PR, | 公关实际上没有触及, |
| 1494 | I'm noticing it's calling fetch | 我注意到它叫"收" |
| 1495 | and then ignoring the results. | 然后无视结果。 |
| 1496 | And I say it feels like a reusable function is needed here. | 我认为这里需要一种可重复使用的功能。 |
| 1497 | I'm being pretty harsh in these reviews, right? | 我对这些评论很严厉,对吧? |
| 1498 | Like I'm trying to force it to design APIs | 就像我试图强迫它设计API |
| 1499 | that remove all of the nuance, | 以去除一切微细的事物, |
| 1500 | all of the decisions from the agent. | 代理商的所有决定 |
| 1501 | Another one here is I can see | 这里还有一个,我可以看到 |
| 1502 | we have a use search params hook | 我们有一个搜索参数钩 |
| 1503 | and we're grabbing things using magic strings here. | 我们用魔力来抓东西 |
| 1504 | It would be very, very easy | 会非常非常容易 |
| 1505 | to just change the name of this highlight | 只更改此亮点的名称 |
| 1506 | or this snapshot even. | 甚至这个快照。 |
| 1507 | And we would get no type errors from it. | 我们不会从中找到任何类型的错误。 |
| 1508 | Find a more type-safe design | 找到更安全的设计 |
| 1509 | for the way that we access search parameters, | 对于我们访问搜索参数的方式, |
| 1510 | since this feels like a magic strings style hole | 因为这感觉就像一个神奇的弦式洞 |
| 1511 | that we could potentially fall through. | 我们可能会跌倒。 |
| 1512 | Create a new lint rule, | 创建一条新规则, |
| 1513 | banning the use of use search params. | 禁止使用用户搜索参数。 |
| 1514 | And then let's create a strategy to ratchet it up. | 然后我们来创造出一种策略 来调整它。 |
| 1515 | Again, I'm being super ambitious here. | 再说一遍,我在这里非常有野心 |
| 1516 | I'm saying, okay, everything that we find in here, | 我是说,我们在这里找到的一切, |
| 1517 | I never, ever want to see this again. | 我再也不想看到这个了 |
| 1518 | Never, ever want to loot. | 从来没有,从来没有想抢劫。 |
| 1519 | Like I want it to lint it out of existence. | 就像我想把它从存在中抹掉 |
| 1520 | That's my plan. | 这是我的计划。 |
| 1521 | Next PR again, we're up to 500 lines here. | 接下来的公关,我们有500行。 |
| 1522 | Gotta say that apart from the comments here, | 除了这里的评论之外,还要说 |
| 1523 | this is a clean, clean PR. | 这是干净干净的公关 |
| 1524 | We can see it's taken a bunch of like magic conditionals here | 我们可以看到它被 一堆像魔法条件在这里 |
| 1525 | and it's replaced them with a single source of truth | 并用单一的真理取而代之 |
| 1526 | for is diagram search phenomenal. | 因为图搜索是惊人的。 |
| 1527 | Again, just way too many comments here. | 再说一遍,这里的评论太多。 |
| 1528 | Too many comments. | 评论太多。 |
| 1529 | Okay, so I'm now into the, I think penultimate one | 好吧,所以我现在进入, 我想倒数第二 |
| 1530 | or maybe last but couple, let's see. | 或也许最后但夫妇, 让我们看看。 |
| 1531 | Yeah, this is still a two-way door thing, I think here. | 是啊,这仍然是双向的门的事情,我想在这里。 |
| 1532 | And this is now we're getting up to about 2,500 lines. | 现在我们有大约2500条线路。 |
| 1533 | Now I think you've got the idea | 现在你有主意了 |
| 1534 | of what I'm reviewing for here, | 我在这里评论, |
| 1535 | which is I am trying to give my opinion, | 我试图表达我的意见, |
| 1536 | give my feel just by looking at the code. | 只要看看密码 就能让我感觉到 |
| 1537 | And I think reviews are a good surface for this, | 我认为评论是很好的表面 这一点, |
| 1538 | but I'm not gonna consider any of these blocking. | 但我不会考虑这些障碍 |
| 1539 | In fact, out of all of these PRs, | 事实上,在所有这些公关中, |
| 1540 | the only one where I would consider | 我唯一会考虑的 |
| 1541 | reviewing mandatory is this one. | 强制审查是这个。 |
| 1542 | This is an additive migration | 这是一种添加剂的迁移 |
| 1543 | for the thumbnail diagrams concept. | 用于缩略图概念。 |
| 1544 | And what I wanna see is inside schema.ts here. | 我想看的是里面的图案 |
| 1545 | This adds the thumbnail diagram into the thumbnails here. | 在此将缩略图添加到缩略图中 。 |
| 1546 | Ugh, so many fricking comments here, guys. | 呃,这么多他妈的 评论在这里,伙计们。 |
| 1547 | Comments are also an opportunity for the agent | 评论也是代理人的机会 |
| 1548 | to do like two specific texts | 喜欢两个具体文本 |
| 1549 | or text that's specific to its session. | 或专用于会议的案文。 |
| 1550 | In other words, this session is, | 换句话说,本届会议是, |
| 1551 | or this text is basically just like a note for itself | 或者这个文本 基本上就像一个说明本身 |
| 1552 | in a future session, which is really frustrating | 在未来的一届会议上,这确实令人沮丧 |
| 1553 | because then that is just gonna live forever, | 因为那样的话,那会永远活着, |
| 1554 | that comment, and it's just totally useless. | 那个评论 完全没用 |
| 1555 | Overall, this looks really solid. | 总的来说,这看起来真的很扎实。 |
| 1556 | So actually, I'm happy with the one-way stuff | 所以,实际上,我很高兴 单向的东西 |
| 1557 | as part of this big PR. | 作为这个大公关的一部分。 |
| 1558 | So what I'm gonna do is go back to my agent session. | 所以,我要做的是 回到我的经纪人会议。 |
| 1559 | I'm going to compact, and then I'm gonna say, | 我要去紧凑,然后我要说, |
| 1560 | could you merge all of those PRs in order, please? | 你能把这些公关合并一下吗? |
| 1561 | Ignore all of the review comments for now. | 暂时忽略所有评论 。 |
| 1562 | We are gonna tackle those in a minute, | 我们马上就会解决的 |
| 1563 | actually, once everything is merged. | 实际上,一旦一切都合并。 |
| 1564 | Could you run the merge in a background subagent | 您可以在背景子代理中运行合并 |
| 1565 | so that we can continue chatting? | 这样我们才能继续聊天? |
| 1566 | Okay, let's fire this off. | 好吧,让我们开火吧。 |
| 1567 | So now that we've decided that the merge is happening, | 既然我们决定合并了 |
| 1568 | like, I'm gonna assume that in your version of this, | 喜欢,我会假设 在你的版本这个, |
| 1569 | you would have actually cloned it locally | 你本可以在当地复制的 |
| 1570 | or actually checked that it was all working | 或实际检查 它都是有效的 |
| 1571 | on the final branch. | 在最后的分支。 |
| 1572 | I'm fine with checking it in a minute. | 我检查一下就好 |
| 1573 | But what I'm gonna do now is I'm gonna use this session | 但我现在要做的是 我要用这个会话 |
| 1574 | to fix or make a plan to fix | 修补或计划修补 |
| 1575 | all of the things I've found during review. | 我审查时发现的所有东西 |
| 1576 | And for that, I'm gonna use the retro skill. | 为此,我要使用复古技巧。 |
| 1577 | I'm gonna say, could you take a look at | 我要说,你能看看 |
| 1578 | all of the agent sessions that ran as part of this? | 所有代理会话都是作为这个的一部分吗? |
| 1579 | And could you also pull in my review comments? | 你也可以引用我的评论吗? |
| 1580 | And the retro skill essentially runs a retrospective | 复古的技巧 基本上是一个回顾 |
| 1581 | on the process that we just saw. | 我们刚刚看到的这个过程 |
| 1582 | Even though we've run compact, | 虽然我们已经运行紧凑, |
| 1583 | it still has access to all of the sessions that ran before | 它仍然可以参加之前的所有会议 |
| 1584 | because they're just saved locally on disk. | 因为他们只是被保存在磁盘上。 |
| 1585 | 它会使用GitHub CLI | |
| 1586 | to pull in all of my comments. | 来听取我的所有评论 |
| 1587 | So it's gonna have access to that too. | 所以它也会接触到这个 |
| 1588 | Now, I will usually run retro | 现在,我通常会回顾 |
| 1589 | after a big chunk of work like this, | 做这么多事之后 |
| 1590 | or I'll also just run it regularly, | 或者我也会经常运行它, |
| 1591 | just checking up on my agent sessions. | 只是检查一下我的经纪人会议 |
| 1592 | If you have some kind of software factory setup | 如果你有某种软件厂的设置 |
| 1593 | where you can automate this, | 在那里你可以自动化这个, |
| 1594 | then I would save your agent sessions | 那我就省下你的经纪人会议费 |
| 1595 | somewhere in the cloud. | 某处云何. |
| 1596 | And then retro can take a look at those | 然后回顾一下这些 |
| 1597 | and see what the agent struggled with. | 看看特工在挣扎什么 |
| 1598 | So it's going off and sending agents | 所以它要爆炸了,派特工过来 |
| 1599 | through the 30 odd session transcripts | 通过30个奇数会话记录 |
| 1600 | and your 12 review comments. | 以及你的12个评论。 |
| 1601 | And it's gonna come back with a ranked list. | 它会带回一个排行榜。 |
| 1602 | So we're essentially throwing a bunch of tokens at this | 所以,我们基本上扔 一堆代币在这里 |
| 1603 | and looking for improvements or potential improvements | 并寻求改进或可能的改进 |
| 1604 | to the environment our agents are operating in. | 我们的特工们正在进入环境 |
| 1605 | Now, we didn't pay attention at all | 现在,我们根本没注意 |
| 1606 | to the implementers while they were running. | 给运行中的执行者。 |
| 1607 | I didn't look at the sub agent traces, | 我没有看到副探员的痕迹 |
| 1608 | haven't looked at that at all. | 还没看过呢 |
| 1609 | This is our opportunity to apply some tokens to it | 这是我们给它用一些符号的机会 |
| 1610 | and actually look at those | 而实际上看看那些 |
| 1611 | and get some improvements from it. | 并获得一些改进 从它。 |
| 1612 | Okay, and here we go. | 好吧,我们开始吧。 |
| 1613 | We have the retro back. | 我们有回溯。 |
| 1614 | So all 12 of my review comments have one root cause. | 因此,我的12个评论都有一个根本原因。 |
| 1615 | Nothing in the CVM's written standards cover your points. | 证监会的书面标准中没有任何内容能涵盖你的点数. |
| 1616 | The existing code in the docs model do the opposite. | 文档模型中的现有代码则相反。 |
| 1617 | So existing code in the docs model do the opposite. | 因此Docs模型中已有的代码是相反的. |
| 1618 | 在Docs前端状态下的 Staffencodingstandards.md, | |
| 1619 | show the patterns you rejected, | 显示你拒绝的图案, |
| 1620 | and main already has thousands of instances. | 而主要案例已经有数千起。 |
| 1621 | Thousands of instances, blimey. | 成千上万个案例,天啊。 |
| 1622 | Okay, so I am trying to turn an oil tanker around, | 好吧,所以我试图调转 油轮, |
| 1623 | apparently, and also the prototype branch was copied. | 显然,还有原型分支被复制。 |
| 1624 | Okay, so its first recommendation is to turn your comments | 好吧,所以它的第一个建议是 把你的评论 |
| 1625 | into ratcheted checks. | 被扣进支票 |
| 1626 | The first one is as outside shared utilities. | 第一个是外部共享公用事业。 |
| 1627 | Yes, lovely, sounds good. | 是的,可爱,听起来不错。 |
| 1628 | There, that is 2,000 instances it will find, okay, brutal. | 在那里,这是2000例 它会发现,好的,野蛮。 |
| 1629 | Intersections into interface extends. | 交叉到接口扩展. |
| 1630 | Oh, excellent, has no rule for this, but a small parser, | 哦,太好了,没有规则 但一个小解析器, |
| 1631 | so it's basically saying create a custom lint rule | 所以它基本上是说 创建一个定制规则 |
| 1632 | for this rule, excellent. | 这个规则,非常好。 |
| 1633 | Next, I said we should kill use effect, lovely job. | 接下来,我说我们应该杀死 使用效果,可爱的工作。 |
| 1634 | We turn it off for a specific directory, so hooks, | 我们关闭它 对于一个特定的目录, 所以钩子, |
| 1635 | and there are currently around 230 use effects in 140 files. | 目前140个文件中大约有230个使用效果。 |
| 1636 | Next, we have use search params and magic strings, | 接下来,我们使用搜索参数和魔法弦, |
| 1637 | so this would point at a new typed search params helper, | 因此,这将指向一个新的输入搜索参数帮助器, |
| 1638 | lovely. | 可爱 |
| 1639 | We ban raw fetch, and instead, | 我们禁止偷生,相反, |
| 1640 | we have a typed API client module, | 我们有输入的API客户端模块, |
| 1641 | and then it's saying too many comments, | 然后它说太多的评论, |
| 1642 | so here, no lint rule fits. | 所以在这里,没有规则适合。 |
| 1643 | Yeah, I don't know what to do about comments. | 是啊,我不知道该怎么办 关于评论。 |
| 1644 | I mean, like, Lauren Tan, potato, | 我的意思是,像,劳伦谭,土豆, |
| 1645 | says they just ban comments, no comments allowed, | 说他们只是禁止评论,不允许评论, |
| 1646 | and I kind of want to go that direction, | 我想走那个方向 |
| 1647 | but I wonder whether we do that in a phased approach | 但我想知道我们是否分阶段这样做 |
| 1648 | where we ban comments in certain folders. | 我们禁止在某些文件夹中发表评论。 |
| 1649 | This is interesting, so 18% of lines of comments | 这很有趣,所以18%的评论行 |
| 1650 | in the new features diagrams against a 12% repo average. | 与12%的回波平均值相对应。 |
| 1651 | 12% of code in my repo is comments, | 12%的密码在我的Repo是评论, |
| 1652 | and 20% of the new feature is comments. | 20%的新功能是评论。 |
| 1653 | It's crazy. | 太疯狂了 |
| 1654 | Okay, I really like number one. | 好吧,我真的很喜欢第一。 |
| 1655 | All of those, I think, | 所有这些,我认为, |
| 1656 | should be raised as issues on the repo. | 应作为收回问题提出。 |
| 1657 | Can we also start trialing the no comments rule | 我们能否开始试验无评论规则 |
| 1658 | in certain folders? | 在某些文件夹中? |
| 1659 | And actually, I want you to give me your opinion | 其实,我希望你给我你的意见 |
| 1660 | on what we would lose inside features diagrams | 里面的特征图 |
| 1661 | if we just deleted all the comments immediately. | 如果我们马上删除所有评论。 |
| 1662 | Is there any information contained within the comments | 评论意见中是否载有任何信息。 |
| 1663 | that cannot be divined from the code itself? | 这不能从密码本身得到启示? |
| 1664 | Okay, number two, it says fix the docs | 好,第二,它说修复文件 |
| 1665 | that teach the rejected patterns. | 教那些被排斥的图案 |
| 1666 | Obviously, yes. | 显然,是的。 |
| 1667 | Number three, prototype code was copied | 第三,原型代码被复制了 |
| 1668 | and not re-implemented. | 而不复执行. |
| 1669 | Yeah, this is interesting. | 是啊,这是有趣的。 |
| 1670 | So it's actually recommending a change to my skills | 所以实际上它建议改变我的能力 |
| 1671 | about the prototype skill | 关于原型技能 |
| 1672 | and the implement spec implementer brief. | 以及执行 spec 执行者简介。 |
| 1673 | For number three, could you raise an issue | 第三个,你能提出一个问题吗? |
| 1674 | on the Matt Pocock skills repo? | 在马特·波考克的技能回波? |
| 1675 | By the way, this is often how my skills get improved, | 顺便说一下,这经常是 如何提高我的技能, |
| 1676 | is I raise issues about my own skills | 我对自己的能力提出问题 |
| 1677 | based on what I find in these retros, | 根据我在这回想中发现的 |
| 1678 | and they get subtly improved. | 并得到了很好的改进。 |
| 1679 | The reviewer can't cover a big diff with one agent. | 审查员不能用一个代理来覆盖一个大diff. |
| 1680 | Yep, so this is the code review skill, | 是的,所以这是代码审查技巧, |
| 1681 | kind of not being able to perform at its limits. | 那种不能发挥的极限。 |
| 1682 | Can you raise an issue for number four, please? | 你能提出一个问题 四号,好吗? |
| 1683 | And I think there might be an existing issue, | 我认为可能有一个问题, |
| 1684 | so maybe you can just add this | 所以,也许你可以 只是添加这个 |
| 1685 | as a kind of extra reason for me to look at it. | 作为某种额外的理由 让我看看它。 |
| 1686 | There's an argument to say that you should do, | 有个论点说,你应该这样做, |
| 1687 | instead of doing automated review on the spec, | 而不是进行自动审查 |
| 1688 | you should do it on every single ticket, | 你应该在每张票上做, |
| 1689 | but I found that that's just extraordinarily slow. | 但我发现这太慢了 |
| 1690 | It's an absolutely hugely slow approach, | 这是一个非常缓慢的方法, |
| 1691 | but it looks like the code review skill | 但它看起来像代码审查技巧 |
| 1692 | is kind of like taken under a 400 word limit, | 就像是在400字限制下 |
| 1693 | which doesn't make sense to me. | 这对我来说不合理。 |
| 1694 | So I think maybe the code review skill might need to change, | 所以我想也许代码审查技巧 可能需要改变, |
| 1695 | might need to divide more chunks of it into subagents | 可能需要将更多的块块分成子剂 |
| 1696 | so that it can more easily do it. | 以便它更容易地做到这一点。 |
| 1697 | Okay, it's asking some stuff | 好吧,它问一些东西 |
| 1698 | about the implement spec skill, meh. | 关于执行技术,meh。 |
| 1699 | With number six, I really like that idea. | 第六,我真的很喜欢这个主意。 |
| 1700 | It's basically saying that in implement spec, | 它基本上说,在 执行 spec, |
| 1701 | it creates a merger agent too early, | 它创建合并代理太早, |
| 1702 | it should just try to like merge it in directly. | 它应该只是尝试 把它直接合并起来。 |
| 1703 | For number seven, could you raise an issue about this | 七号,你能提出一个问题吗? |
| 1704 | and see if we can hill climb towards like a faster suite. | 看看我们能不能爬到一个更快的套房里 |
| 1705 | 8号,我叫CVM | |
| 1706 | which basically kicks in every time I want to verify | 基本上每一次我都要核实 |
| 1707 | some code or an implementation on the CVM. | 一些代码或CVM上的执行. |
| 1708 | It runs it inside a browser, does all sorts of stuff. | 它在浏览器里运行, 做各种事情。 |
| 1709 | Okay, could you add eight as an issue? | 好吧,你能加八作为一个问题吗? |
| 1710 | And all of number nine, all the smaller items | 和所有9号, 所有较小的物品 |
| 1711 | should be added as separate issues, that all looks great. | 应该作为单独问题添加,这看起来都很好。 |
| 1712 | So honestly, this retro was extremely, extremely good. | 老实说,这次回顾非常非常精彩 |
| 1713 | I think we might get like 20 issues out of this. | 我想我们可能会有20个问题 |
| 1714 | Things that can go like, | 事情可以去喜欢, |
| 1715 | that we probably don't have to grill on, | 可能我们不用纠缠, |
| 1716 | things that we can just pass off to agents | 我们能传递给特工的东西 |
| 1717 | and get PRs back from, | 把公关拿回来, |
| 1718 | that will over time slowly improve the repo. | 随着时间的推移,这将缓慢地改善回购。 |
| 1719 | While this has been running, our agent has been merging. | 我们的经纪人一直在合并 |
| 1720 | It looks like it's just sort of waiting | 看起来只是等待而已 |
| 1721 | for all of the CI checks to complete | 完成所有CI检查 |
| 1722 | and then it just merges each one in turn. | 然后,它只是合并 每一个依次。 |
| 1723 | All right, while that's going on, | 好吧,虽然这样, |
| 1724 | we have our comment audit has come back. | 我们的评论审计回来了 |
| 1725 | So it's saying of about 2000 lines of comments, | 也就是说大约2000行的评论 |
| 1726 | about 940 can go now and about 1000 explain a reason | 大约940可以去 现在和大约1000 解释一个原因 |
| 1727 | you can't see in the code. | 你看不到密码 |
| 1728 | It says seven comments are already stale, there you go. | 上面说7条评论已经僵化了,就这样 |
| 1729 | 而且没有 ESLint 禁用 | |
| 1730 | or TS expect error directives to worry about. | 或TS期望错误指示会担心. |
| 1731 | Okay, let me lay into the agent for a second. | 好吧,让我躺下 代理一秒钟。 |
| 1732 | The thing that concerns me about comments | 关于评论的事 |
| 1733 | is that they allow workarounds to proliferate | 也就是他们允许工作周而复始 |
| 1734 | and the comments kind of act as a fig leaf | 和评论 那种作为无花果叶 |
| 1735 | that the agent is able to put there | 经纪人可以放在那里 |
| 1736 | and say, look, this is fine | 说,你看,这很好 |
| 1737 | because we've got an explanatory comment. | 因为我们有一个解释性的评论。 |
| 1738 | The idea behind lots of folks like Lauren Tan | 像Lauren Tan这样的人背后的想法 |
| 1739 | is that the comments are actually a safety valve | 评论其实是安全阀 |
| 1740 | that you are using too often, | 你经常使用, |
| 1741 | that you're basically saying, | 你基本上说, |
| 1742 | okay, because I've got this comment, | 好吧,因为我有这个评论, |
| 1743 | I'm allowed to do the workaround. | 我被允许四处工作 |
| 1744 | Whereas if you were banned from doing the comment, | 如果你被禁止做评论, |
| 1745 | you might actually not take the workaround. | 其实你可能不会去上班 |
| 1746 | All this to say, what I would like you to do | 所有这一切来表达,我想你做什么 |
| 1747 | is to tell me which of these could be moved into ADRs, | 告诉我哪一个可以搬进ADRs |
| 1748 | which of these could actually just become non-workarounds. | 这其中哪些可能只是 成为非工作。 |
| 1749 | In other words, use something you don't need a comment for | 换句话说 用你不需要评论的东西 |
| 1750 | and which of them could just disappear | 他们中谁可以消失 |
| 1751 | because they're not actually needed | 因为实际上不需要它们 |
| 1752 | or you can actually infer it from the code. | 或者你可以从代码中推断出来 |
| 1753 | I want you to be more aggressive here. | 我要你在这里更冲动 |
| 1754 | Let's see what it says here. | 看看上面写了什么 |
| 1755 | I don't know, let's see. | 我不知道,让我们看看。 |
| 1756 | Guess what? | 你猜怎么着? |
| 1757 | It agrees with me. | 它同意我的观点。 |
| 1758 | The comment next to a workaround often marks a place | 工作旁的评语 经常是一个地方 |
| 1759 | where the code should have been designed differently, | 代码的设计应该不同, |
| 1760 | not explained. | 未解释。 |
| 1761 | It's guessing that the TL draw and command K quirks | 猜想TL画和指挥K怪兽 |
| 1762 | mostly become adapter wrappers. | 大多成为适配器包装器. |
| 1763 | The race constraints mostly become test names. | 种族限制大多成为测试名称. |
| 1764 | Yeah, that's a legitimate place to have some kind of like | 是啊,这是一个合法的地方 有某种喜欢 |
| 1765 | free text is just like the name of a test. | 免费文本就像测试的名称。 |
| 1766 | And while that has happened, | 虽然发生了这种事, |
| 1767 | our PR, the mega PR stack has now been merged to production. | 我们的公关,巨型公关 已经合并到生产。 |
| 1768 | So I've got this loaded up. | 所以,我得到了这个装填。 |
| 1769 | We should be able to capture my face here. | 我们应该能抓住我的脸 |
| 1770 | And there we go. | 就这样 |
| 1771 | We have my face and we can see that I can add text | 我们有我的脸,我们可以看到 我可以添加文本 |
| 1772 | to the thumbnail like this. | 像这样的拇指。 |
| 1773 | So I can add a big box here | 所以我可以在这里加一个大盒子 |
| 1774 | that my hand is kind of pointing to. | 我的手有点指向。 |
| 1775 | I can go all the way down | 我可以一路下来 |
| 1776 | and I can see that is how it's going to look. | 我看得出来 事情会是这样的 |
| 1777 | There's like a button here saying a dark panel | 这里好像有个按钮 说暗面板 |
| 1778 | behind the drawing. | 画的后面。 |
| 1779 | So I can take that out or put that in if I want to. | 如果我想的话 我可以把它拿出来或者放进去 |
| 1780 | And I mean, it's pretty good guys. | 我的意思是,这是相当好的人。 |
| 1781 | Like that is not bad. | 感觉不错 |
| 1782 | If I exit out to here, | 如果我离开这里, |
| 1783 | then we can see my thumbnail is ready to go. | 然后,我们可以看到我的拇指 准备好了。 |
| 1784 | I can select it when I then upload it to YouTube. | 当我上传到YouTube时 我可以选择 |
| 1785 | I can click back through and edit it | 我可以点击回来编辑它 |
| 1786 | and back we are should be back to this screen here. | 我们回到了这里的屏幕。 |
| 1787 | Nice. | 不错 |
| 1788 | So you can see exactly how much fidelity it has | 这样你就能看清它有多忠诚 |
| 1789 | to the prototype that we created. | 到我们的原型。 |
| 1790 | It seems to be working okay. | 似乎还行 |
| 1791 | I probably do have some light follow-up feedback here | 我可能有些小的反馈 |
| 1792 | but overall, yeah, I can insert icons. | 但总的来说 我可以插入图标 |
| 1793 | Let's just add this one for instance, bam, like that. | 举个例子吧,巴姆,像这样 |
| 1794 | Put that on my finger, lovely. | 放在我的手指上,可爱。 |
| 1795 | And there we go. | 就这样 |
| 1796 | Just like that, I've built a feature, | 就这样,我做了个特写 |
| 1797 | something that I will enjoy using | 我会喜欢使用的东西 |
| 1798 | for the rest of the time that I use this application. | 剩下的时间,我使用这个应用程序。 |
| 1799 | And inside our agents view here, we can see that, yes, okay. | 在我们的特工眼里,我们可以看到,是的,好的。 |
| 1800 | When I tell it to be more aggressive, | 当我叫它更具攻击性时 |
| 1801 | it says 22 can simply be deleted. | 它说22 可以简单地删除。 |
| 1802 | There are 18 workarounds that need changing. | 有18个工作需要改变。 |
| 1803 | Look at that. | 看看这个。 |
| 1804 | I mean, that is wild. | 我的意思是,这是野性的。 |
| 1805 | I feel like there might be a skill here, you know, | 我觉得这里可能有些技巧 |
| 1806 | like just looking at all of your comments | 就像看着你的所有评论 |
| 1807 | that are in the repo and just using those as smells | 在回放中,只是用这些闻起来 |
| 1808 | and just say, okay, sniff, sniff, sniff, | 并只是说,好,嗅,嗅,嗅, |
| 1809 | take a look at that comment, | 看看这个评论, |
| 1810 | see what workaround it's describing. | 看看它在描述什么 |
| 1811 | Can we just get rid of the workaround, | 我们能不能把工作弄走? |
| 1812 | get rid of the comment? | 消除评论? |
| 1813 | And it does say that there are three ADRs. | 它确实说有三个ADR。 |
| 1814 | Yeah, there you go. | 是啊,给你。 |
| 1815 | So CVM custom shapes are a persistence contract, | 因此,CVM定制形状是一种持久性合同, |
| 1816 | face cam centering is tuned by eye, | 脸部摄像头中心是用眼睛调制的, |
| 1817 | diagram PNGs render in the running app. | 图表 PNG 在运行的应用程序中渲染 。 |
| 1818 | All three of which I agree make good ADRs. | 我同意这三件事都做得很好 |
| 1819 | And it's giving me a suggested PR order here. | 它给了我一个建议 公关令在这里。 |
| 1820 | So let's prompt it one more time just to tie this up. | 所以,让我们再次敦促它 只是把它绑起来。 |
| 1821 | I want you to take all of these findings | 我要你把这些发现都带走 |
| 1822 | and put them in one more issue | 把它们放在另一个问题里 |
| 1823 | that will be the kind of umbrella issue for this idea. | 这将是这种想法的总括问题。 |
| 1824 | And that, as they say, is that. | 正如他们说的,这就是。 |
| 1825 | Now, what I would do next is I would go into the thing | 现在,我接下来要做的是 我会去的东西 |
| 1826 | that I just created. | 我刚刚创造了。 |
| 1827 | I would try to find anything that I could improve | 我会试着找到任何我能改进的东西 |
| 1828 | and QA it, and then those would go into issues | 和质量保证,然后这些会进入问题 |
| 1829 | which I would then just slam through with an agent, | 之后我就会和一个探员打通电话 |
| 1830 | probably not even grill them. | 可能连烤肉都没有 |
| 1831 | I would then go back through the issues, | 然后,我会回到问题, |
| 1832 | get my agent to take a look at all of them | 让我的经纪人看看他们 |
| 1833 | and turn those into code-based improvements. | 把它们变成基于代码的改进。 |
| 1834 | And all of those, I would expect the diff | 所有这些,我期望diff |
| 1835 | to be really, really small | 变得非常,非常小 |
| 1836 | and so I could just one-shot them. | 所以我可以一枪就打 |
| 1837 | But that is it, folks. | 但就是这样,伙计们。 |
| 1838 | Hopefully you enjoyed this kind of deeper dive | 希望你喜欢这种深度潜水 |
| 1839 | of me actually walking through how I do things. | 其实我走 通过如何做事情。 |
| 1840 | And hopefully you get a good sense | 希望你们有好感 |
| 1841 | for where I am most valuable in this process. | 我在这个过程中最有价值的地方 |
| 1842 | I'm most valuable early on in the alignment phase | 我最有价值 早期在调整阶段 |
| 1843 | where we talk through everything. | 在那里,我们谈论的一切。 |
| 1844 | We get alignment. | 我们得到对齐。 |
| 1845 | I understand exactly what's being built. | 我完全理解正在建造的东西。 |
| 1846 | I create a prototype. | 我创造了一个原型。 |
| 1847 | We figure that all out together. | 我们一起解决 |
| 1848 | And then I am really useful at the end | 然后,我真的很有用 在结尾 |
| 1849 | where my technical expertise can come in | 我的技术专长可以进来 |
| 1850 | and I can impose my coding standards. | 我可以强加我的编码标准。 |
| 1851 | And I can say, no, that looks bad. | 我可以说,不,这看起来很糟糕。 |
| 1852 | Let's do this instead. | 让我们做这个代替。 |
| 1853 | In other words, grilling and retro | 换句话说,烧烤和复古 |
| 1854 | are really the two main points | 其实是两个要点 |
| 1855 | at which I interact with the system. | 我在其中与系统互动。 |
| 1856 | And then, of course, QA and putting in my taste, | 然后,当然,QA和让我的口味, |
| 1857 | making sure that everything feels right | 确保一切都好 |
| 1858 | and is working how I want it to. | 并且正按照我的意愿运作 |
| 1859 | But thank you so much for watching. | 不过谢谢你的观看 |
| 1860 | Hopefully you enjoyed this, wow, | 希望你喜欢这个,哇, |
| 1861 | nearly hour and 10 minute video so far | 近一小时零十分钟的录像 |
| 1862 | and that you learned something from it. | 你从中学到了什么 |
| 1863 | I love doing these deep dives. | 我喜欢做这些深潜。 |
| 1864 | I don't get enough time to do them. | 我没有足够的时间做他们。 |
| 1865 | So if you like this, then do share it with your friends | 所以,如果你喜欢这样, 那就和你的朋友分享吧 |
| 1866 | and that will incentivize me to make more of them. | 这会激励我多做一些 |
| 1867 | Thanks so much for watching. | 谢谢你的观看 |
| 1868 | See you very soon. | 再见 |
该视频共有字幕 1868 条。解锁更多字幕为会员功能,请移动到 价格
