<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>缉熙</title><description>缉熙（Dawning）的博客：读书笔记、自己项目的设计和复盘，偶尔写随笔。</description><link>https://weiguang-2099.github.io/</link><language>zh-CN</language><atom:link href="https://weiguang-2099.github.io/rss.xml" rel="self" type="application/rss+xml"/><item><title>DFilterForge 复盘 06：每个数字都有出处，手机上还是少了一位</title><link>https://weiguang-2099.github.io/posts/dfilterforge-retro-06/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/dfilterforge-retro-06/</guid><description>DFilterForge 的网站不许手写数字：页面上的每个值都带着出处，指回仓库里某个已提交文件的某个位置，再由测试独立重算一遍。这一篇讲这条链是怎么来的，它有过哪几处漏洞：只认 ASCII 数字的检查、只在服务端 HTML 里出现的数字、两个值互换、和页面共用的格式化函数，以及文本全对、像素却错了的那一次：320 px 宽的手机上，一张真实的账单读起来成了 USD 0.2。最后是不可复现的 README 动图，和部署时的几处陷阱。</description><pubDate>Fri, 11 Dec 2026 00:00:00 GMT</pubDate><category>dfilterforge</category><category>web</category><category>testing</category><category>nextjs</category><category>retrospective</category></item><item><title>DFilterForge 复盘 05：固定的 tshark、无 key 的 CI、按需起停的 GPU</title><link>https://weiguang-2099.github.io/posts/dfilterforge-retro-05/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/dfilterforge-retro-05/</guid><description>这一篇是 DFilterForge 的工程清单：tshark 固定版本、从源码构建，上游却把源码包挪走了；runner 怎样安全地运行模型写的过滤器；字段目录怎样做到两次导出逐字节相同；CI 怎样不用 key、不联网，把每个已提交的运行重新打一遍分，以及 pytest 撑满 /tmp、连着合并把 CI 取消掉；在 Modal 上按需起停 GPU 时，开放的端点、启动崩溃、缩到零和抢占、熔断器和限流、只拦数据面的网络、等不到 GPU；最后是 Windows 主机和依赖升级。</description><pubDate>Thu, 10 Dec 2026 00:00:00 GMT</pubDate><category>dfilterforge</category><category>docker</category><category>ci</category><category>modal</category><category>reproducibility</category><category>retrospective</category></item><item><title>DFilterForge 复盘 04：错得更安静的小模型</title><link>https://weiguang-2099.github.io/posts/dfilterforge-retro-04/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/dfilterforge-retro-04/</guid><description>给 Qwen3-1.7B 做 QLoRA 微调以后，它在测试集 C4 上的 strong exact 从 0.063 升到 0.396（三个种子的均值）。可原来编译不过、格式不对的 49 个答案里，有 32 到 35 个变得能执行了，其中一半左右是能跑却选错包的 silent-wrong。这一篇讲训练这一路上的事：训练数据怎样造、怎样和测试集隔开；TRL 的默认值差点掏空数据；训练目标本身在教模型违反 prompt 里的规则；checkpoint 和读法是什么时候定的；不训练能做到多少；一次让 80 个回答一模一样的键排序事故；以及成本怎么算。</description><pubDate>Wed, 09 Dec 2026 00:00:00 GMT</pubDate><category>dfilterforge</category><category>fine-tuning</category><category>qlora</category><category>evaluation</category><category>retrospective</category></item><item><title>DFilterForge 复盘 03：唯一显著的结果，是限流造出来的</title><link>https://weiguang-2099.github.io/posts/dfilterforge-retro-03/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/dfilterforge-retro-03/</guid><description>评测的数字能不能信，不只看打分对不对。这一篇讲 DFilterForge 怎样保护测试集上的数字，以及几次差点让数字失真的事。测试集冻结、每种读法在请求之前登记；温度 0 下重跑一遍，每个条件 112 个答案里有三四十个会变；登记过的 12 个条件比较里，唯一一个区间排除 0 的，几乎全是 HTTP 429 限流造成的；合并统计的单位用错过一次；一段登记过的预测，在结果出来以后被改过。最后是让 LLM 当裁判的对照：tshark 一帧就能证伪的 165 个答案，它判了 58 个“正确”。</description><pubDate>Tue, 08 Dec 2026 00:00:00 GMT</pubDate><category>dfilterforge</category><category>evaluation</category><category>statistics</category><category>llm-as-judge</category><category>retrospective</category></item><item><title>DFilterForge 复盘 02：给模型看那个证伪它的包</title><link>https://weiguang-2099.github.io/posts/dfilterforge-retro-02/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/dfilterforge-retro-02/</guid><description>答错的过滤器，DFilterForge 会再交给模型改一次，并附上反例：跑错了的给证伪它的那几帧，编译不过的给报错。在冻结的测试集上，75 个错答案里，附反例修好了 35 个，只说“错了”修好 21 个，原样重发修好 4 个。这一篇讲四件事：模型看到的输入怎么设计，反例卡片上该放什么，三种给法的结果怎么读，以及几个没成立或读不出来的结论。没成立的是：意图结构没有赢过直接写过滤器。读不出来的是：多数单个模型的比较看不出差别。还有，微调过的 1.7B 小模型一个都没靠反例修好。</description><pubDate>Mon, 07 Dec 2026 00:00:00 GMT</pubDate><category>dfilterforge</category><category>evaluation</category><category>prompt-engineering</category><category>self-repair</category><category>retrospective</category></item><item><title>DFilterForge 复盘 01：三个错答案拿了满分</title><link>https://weiguang-2099.github.io/posts/dfilterforge-retro-01/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/dfilterforge-retro-01/</guid><description>DFilterForge 让 LLM 根据一句英文请求写 Wireshark 显示过滤器，再用固定版本的 tshark 在合成抓包上判对错。第一次用真实模型跑开发集，就有三个错答案拿了满分。这一篇讲判对错的验证器：标签从哪里来，怎样用变异体检验测试数据本身，为什么每个探针末尾都挂着 33 个 witness 包，以及 shortcut 怎么防。</description><pubDate>Sun, 06 Dec 2026 00:00:00 GMT</pubDate><category>dfilterforge</category><category>evaluation</category><category>wireshark</category><category>mutation-testing</category><category>retrospective</category></item><item><title>DFilterForge 复盘 00：总览</title><link>https://weiguang-2099.github.io/posts/dfilterforge-retro-00/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/dfilterforge-retro-00/</guid><description>DFilterForge 让 LLM 根据一句英文请求写 Wireshark 显示过滤器，再用固定版本的 tshark 在合成抓包上判对错。这一篇是复盘系列的总览：用一个例子走一遍流程，给出三组主要的数字和两个多月的时间线，说说坑集中在哪里、最值得一读的十个坑分别在哪一篇，以及还没做完的事。</description><pubDate>Sat, 05 Dec 2026 00:00:00 GMT</pubDate><category>dfilterforge</category><category>evaluation</category><category>llm</category><category>retrospective</category></item><item><title>APOSD 读书笔记 03：能跑的代码还不够</title><link>https://weiguang-2099.github.io/posts/aposd-03/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/aposd-03/</guid><description>《A Philosophy of Software Design》第二版第 3 章的笔记：战术编程与战略编程，10–20% 的设计投资和 6–18 个月的回本期，以及初创公司为什么也不该指望以后再清理。</description><pubDate>Thu, 03 Dec 2026 00:00:00 GMT</pubDate><category>aposd</category><category>software-design</category><category>reading-notes</category></item><item><title>APOSD 读书笔记 02：复杂性的本质</title><link>https://weiguang-2099.github.io/posts/aposd-02/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/aposd-02/</guid><description>《A Philosophy of Software Design》第二版第 2 章的笔记：复杂性的实用定义，变更放大、认知负荷、未知的未知三种症状，依赖与晦涩两个成因，以及复杂性为什么是一点点累积出来的。</description><pubDate>Wed, 02 Dec 2026 00:00:00 GMT</pubDate><category>aposd</category><category>software-design</category><category>reading-notes</category></item><item><title>APOSD 读书笔记 01：一切都关乎复杂性</title><link>https://weiguang-2099.github.io/posts/aposd-01/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/aposd-01/</guid><description>《A Philosophy of Software Design》第二版第 1 章的笔记：为什么写软件最大的限制是理解力，对付复杂性的两条路，设计为什么永远做不完，以及作者建议怎样读这本书。</description><pubDate>Tue, 01 Dec 2026 00:00:00 GMT</pubDate><category>aposd</category><category>software-design</category><category>reading-notes</category></item><item><title>反思笔记：这本书的经验在 2026 年还剩多少——写给 FDE 与开发工程师</title><link>https://weiguang-2099.github.io/posts/llm-year-04/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/llm-year-04/</guid><description>两年多以后回看《What We Learned from a Year of Building with LLMs》：书里和我笔记里的 20 条主张在 2026 年还剩多少，对 FDE 和开发工程师分别意味着什么，以及作者是怎么思考的。</description><pubDate>Sat, 28 Nov 2026 00:00:00 GMT</pubDate><category>llm-year</category><category>llm-apps</category><category>reading-notes</category></item><item><title>第 3 章读书笔记：Strategy — 用 LLM 构建而不被反超</title><link>https://weiguang-2099.github.io/posts/llm-year-03/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/llm-year-03/</guid><description>《What We Learned from a Year of Building with LLMs》第 3 章的笔记：为什么不该一上来就训模型，护城河在模型之外的哪里，人和 AI 怎样分工，怎样起步，以及低成本认知的趋势意味着什么。</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><category>llm-year</category><category>llm-apps</category><category>reading-notes</category></item><item><title>纯静态小游戏的工程清单：《来时路》的存档、输入、排版和发布</title><link>https://weiguang-2099.github.io/posts/laishilu-engineering/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/laishilu-engineering/</guid><description>《来时路》没有后端，玩家写的字也不离开浏览器。这一篇把它在工程上照顾到的细节整理成一份清单：存档和刷新，怎样让测试走完一整趟旅程，中文输入法和手机键盘，竖排的经卷和字体，浏览器里合成的风声，双语的链接预览，每次都一样的 zip，不收集文字的访问统计，以及 Dependabot 和 CI 的设置。</description><pubDate>Wed, 25 Nov 2026 22:00:00 GMT</pubDate><category>laishilu</category><category>game-dev</category><category>frontend</category><category>typescript</category><category>testing</category><category>ci</category></item><item><title>让一句话在路上走样：《来时路》的转述规则和山顶评分</title><link>https://weiguang-2099.github.io/posts/laishilu-drift/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/laishilu-drift/</guid><description>《来时路》是一个五分钟左右的浏览器小游戏：出发前写下一句理由，路上的人一遍遍转述它，到了山顶再凭记忆写回来。这一篇讲转述怎么用几张词表和一个带种子的随机数做出来，山顶怎么用最长公共子序列打分（这个分数就是 ROUGE-L）、判断你记住的是自己的话还是路上的说法，以及用上千个种子跑过一遍之后看到的问题。</description><pubDate>Wed, 25 Nov 2026 21:00:00 GMT</pubDate><category>laishilu</category><category>game-dev</category><category>text-similarity</category><category>evaluation</category><category>typescript</category></item><item><title>《来时路》：走到山顶，你还记得为什么出发吗</title><link>https://weiguang-2099.github.io/posts/laishilu-design/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/laishilu-design/</guid><description>《来时路》是一个五分钟左右的浏览器小游戏，问你走到终点时还记不记得自己为什么出发。这一篇讲它的设计：出发时写下的那句话怎么交出去，路上的人怎么转述它，渡口的船夫要的那个字，山顶那卷空白的经，以及再走一次时，路上的人怎么认出你。</description><pubDate>Wed, 25 Nov 2026 20:00:00 GMT</pubDate><category>laishilu</category><category>game-design</category><category>narrative</category><category>game-dev</category></item><item><title>第 2 章读书笔记：Operations — 开发与管理 LLM 应用及构建它的团队</title><link>https://weiguang-2099.github.io/posts/llm-year-02/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/llm-year-02/</guid><description>《What We Learned from a Year of Building with LLMs》第 2 章的笔记：数据、模型、产品、团队四个方面怎样把 LLM 应用运营下去，以及两年多以后哪些需要修正。</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>llm-year</category><category>llm-apps</category><category>reading-notes</category></item><item><title>第 1 章读书笔记：Tactics — The Emerging LLM Stack（战术，正在成型的 LLM 技术栈）</title><link>https://weiguang-2099.github.io/posts/llm-year-01/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/llm-year-01/</guid><description>《What We Learned from a Year of Building with LLMs》第 1 章的笔记：Prompt、检索（RAG）、工作流调优、评估与监控四块积木各讲了什么，以及两年多以后哪些需要修正。</description><pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate><category>llm-year</category><category>llm-apps</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 12：数据系统的未来</title><link>https://weiguang-2099.github.io/posts/ddia-12/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-12/</guid><description>《数据密集型应用系统设计》第一版第十二章的笔记：组合不同的数据系统为什么要靠派生数据而不是分布式事务，“拆解数据库”是什么意思，怎样在异步的数据流里保证正确性，以及构建数据系统的人对用户负有什么责任。</description><pubDate>Mon, 19 Oct 2026 00:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 11：流处理</title><link>https://weiguang-2099.github.io/posts/ddia-11/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-11/</guid><description>《数据密集型应用系统设计》第一版第十一章的笔记：传统的消息代理和基于日志的消息代理有什么不同，怎样用变更数据捕获和事件溯源把数据库也变成一条流，流处理怎样对付时间、窗口和连接，以及出了故障怎样做到恰好一次。</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 10：批处理</title><link>https://weiguang-2099.github.io/posts/ddia-10/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-10/</guid><description>《数据密集型应用系统设计》第一版第十章的笔记：Unix 管道的设计怎样搬到几千台机器上，MapReduce 怎样把相关的数据带到同一个地方来做连接和分组，批处理为什么要输出不可变的数据集，以及 Spark、Flink 这样的数据流引擎改进了什么。</description><pubDate>Sun, 11 Oct 2026 00:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 09：一致性与共识</title><link>https://weiguang-2099.github.io/posts/ddia-09/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-09/</guid><description>《数据密集型应用系统设计》第一版第九章的笔记：线性一致性保证了什么、代价在哪里，因果顺序和全序有什么不同，全序广播为什么等价于共识，两阶段提交为什么会卡住，以及共识算法和 ZooKeeper 这样的协调服务能做什么。</description><pubDate>Thu, 08 Oct 2026 22:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 08：分布式系统的麻烦</title><link>https://weiguang-2099.github.io/posts/ddia-08/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-08/</guid><description>《数据密集型应用系统设计》第一版第八章的笔记：网络会丢包、会无限期地延迟，时钟会漂移、会跳变，进程会在任何地方暂停；在这样的环境里，一个节点能知道什么、该相信谁，以及怎样用系统模型推理算法的正确性。</description><pubDate>Thu, 08 Oct 2026 21:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 07：事务</title><link>https://weiguang-2099.github.io/posts/ddia-07/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-07/</guid><description>《数据密集型应用系统设计》第一版第七章的笔记：ACID 的四个字母各自承诺了什么，读已提交和快照隔离挡住了哪些竞态、漏掉了哪些，写偏斜和幻读为什么难防，以及实现可串行化的三种办法。</description><pubDate>Thu, 08 Oct 2026 20:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 06：分区</title><link>https://weiguang-2099.github.io/posts/ddia-06/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-06/</guid><description>《数据密集型应用系统设计》第一版第六章的笔记：按键范围和按键的哈希分区各有什么长处和热点问题，二级索引怎样分区，增减节点时怎样再平衡，以及请求怎样找到它要去的分区。</description><pubDate>Tue, 06 Oct 2026 21:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 05：复制</title><link>https://weiguang-2099.github.io/posts/ddia-05/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-05/</guid><description>《数据密集型应用系统设计》第一版第五章的笔记：单领导者、多领导者和无领导者三种复制方式怎样工作，复制延迟会带来哪些反常现象，法定人数能保证什么、不能保证什么，以及怎样判断两次写入是先后发生还是并发的。</description><pubDate>Tue, 06 Oct 2026 20:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 04：编码与演化</title><link>https://weiguang-2099.github.io/posts/ddia-04/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-04/</guid><description>《数据密集型应用系统设计》第一版第四章的笔记：JSON、Thrift、Protocol Buffers 和 Avro 怎样把数据编码成字节，模式怎样演化才能让新旧代码互相读懂，以及数据经过数据库、服务调用和消息传递时各自需要怎样的兼容性。</description><pubDate>Mon, 05 Oct 2026 21:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 03：存储与检索</title><link>https://weiguang-2099.github.io/posts/ddia-03/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-03/</guid><description>《数据密集型应用系统设计》第一版第三章的笔记：哈希索引、SSTable 和 LSM 树、B 树怎样把数据存到磁盘上又找回来，两类存储引擎各自的代价，以及数据仓库为什么改用列式存储。</description><pubDate>Mon, 05 Oct 2026 20:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 02：数据模型与查询语言</title><link>https://weiguang-2099.github.io/posts/ddia-02/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-02/</guid><description>《数据密集型应用系统设计》第一版第二章的笔记：关系模型和文档模型各自适合什么样的数据，声明式查询为什么胜出，以及属性图、三元组和 Datalog 这几种图模型。</description><pubDate>Sun, 04 Oct 2026 00:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>DDIA 读书笔记 01：可靠、可扩展与可维护的应用</title><link>https://weiguang-2099.github.io/posts/ddia-01/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/ddia-01/</guid><description>《数据密集型应用系统设计》第一版第一章的笔记：故障与失效的区别，怎样用负载参数和响应时间百分位数讨论可扩展性，以及可维护性的三个方面。</description><pubDate>Sat, 03 Oct 2026 20:00:00 GMT</pubDate><category>ddia</category><category>distributed-systems</category><category>reading-notes</category></item><item><title>Hello, World：缉熙与 Dawning</title><link>https://weiguang-2099.github.io/posts/hello-world/</link><guid isPermaLink="true">https://weiguang-2099.github.io/posts/hello-world/</guid><description>博客的第一篇文章：讲讲“缉熙”和“Dawning”这两个名字的由来，顺便当作一份排版样张。</description><pubDate>Sat, 03 Oct 2026 00:00:00 GMT</pubDate><category>meta</category><category>typography</category></item></channel></rss>