<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Pairwise 博客</title><description>Joy 写的 AI 应用开发、AI 写界面的审美与约束、前端工程化和终端工具实践。</description><link>https://www.pairwise.site/blog/</link><language>zh-CN</language><item><title>先把物体做出来，再让它变成粒子</title><link>https://www.pairwise.site/blog/particle-modeling-guide/</link><guid isPermaLink="true">https://www.pairwise.site/blog/particle-modeling-guide/</guid><description>从行情盘、报纸、书、便签和简历的制作过程，拆解 Three.js 建模、材质布光和同形粒子取样，并给出可复用的提示词和验收方法。</description><pubDate>Sat, 28 Nov 2026 15:17:00 GMT</pubDate><category>Three.js</category><category>3D</category><category>WebGL</category><category>粒子</category><category>AI</category></item><item><title>反馈与容错：能撤销，就别弹确认框</title><link>https://www.pairwise.site/blog/macos-feedback/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-feedback/</guid><description>Mac 上几乎每一步都能撤销，所以确认框可以少；撤销菜单要说出撤销的是什么，设置窗口跟着分组变高，进度指示器按位置选尺寸。附实测数值和一份规则清单。</description><pubDate>Fri, 27 Nov 2026 03:20:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>撤销</category><category>进度</category><category>设置窗口</category></item><item><title>弹出层：先问挡住谁，再选 sheet、alert、popover 还是面板</title><link>https://www.pairwise.site/blog/macos-presentation/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-presentation/</guid><description>Mac 上的弹出层按「挡住多少」分成几种：alert 挡住整个应用，sheet 只挡一个窗口，popover 和面板谁也不挡。给出怎么选、alert 怎么写，以及 macOS 26 上实测的尺寸和行为。</description><pubDate>Fri, 27 Nov 2026 03:10:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>弹窗</category><category>Alert</category><category>Sheet</category><category>Popover</category></item><item><title>文字与颜色：13 pt 和语义色</title><link>https://www.pairwise.site/blog/macos-type-color/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-type-color/</guid><description>Mac 界面的正文是 13 pt、行高 16，层级靠字重和颜色；颜色要写成语义色名，跟着外观、强调色和对比度设置变。给出实测数值、十秒检查和一份规则清单。</description><pubDate>Fri, 27 Nov 2026 03:00:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>排版</category><category>颜色</category><category>深色模式</category></item><item><title>控件：尺寸成套地换，间距跟着档位走</title><link>https://www.pairwise.site/blog/macos-controls/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-controls/</guid><description>Mac 控件有五档尺寸，每档的高度、字号、圆角、留白和间距是一套；接回车的默认按钮一个窗口只有一个，用强调色填底。附 macOS 26 实测数值、三十秒检查和规则清单。</description><pubDate>Fri, 27 Nov 2026 02:50:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>控件</category><category>按钮</category></item><item><title>指针与焦点：悬停要克制，焦点要清楚</title><link>https://www.pairwise.site/blog/macos-pointer-focus/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-pointer-focus/</guid><description>Mac 的指针准、键盘常在手边，所以控件可以小、悬停反馈可以少，但焦点环和选中色一个都不能错。给出命中区、光标、悬停、Tab 顺序、焦点环和选中色的实测数值，以及一份规则清单。</description><pubDate>Fri, 27 Nov 2026 02:40:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>焦点</category><category>指针</category><category>键盘导航</category></item><item><title>菜单栏与快捷键：每个命令都要找得到</title><link>https://www.pairwise.site/blog/macos-menus/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-menus/</guid><description>Mac 应用的每个命令都该在菜单栏里找得到。标准菜单怎么排、菜单项怎么命名、快捷键怎么配，附实测尺寸、十秒检查和规则清单。</description><pubDate>Fri, 27 Nov 2026 02:30:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>菜单栏</category><category>快捷键</category></item><item><title>侧边栏与工具栏：玻璃只给导航，内容留在下面</title><link>https://www.pairwise.site/blog/macos-sidebar-toolbar/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-sidebar-toolbar/</guid><description>macOS 26 的侧边栏和工具栏是浮在内容上的玻璃。给出实测的侧边栏位置、宽度、三档行高、选中行的几种状态，工具栏怎么分组、窄了先收什么，以及十秒检查和一份规则清单。</description><pubDate>Fri, 27 Nov 2026 02:20:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>侧边栏</category><category>工具栏</category><category>Liquid Glass</category></item><item><title>窗口：外壳和行为都照着系统来</title><link>https://www.pairwise.site/blog/macos-windows/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-windows/</guid><description>标题栏高度、红绿灯位置、窗口圆角是跟着工具栏样式走的一套数；缩放、全屏、标签页、重开恢复各有固定行为。给出实测数值、检查方法和规则清单。</description><pubDate>Fri, 27 Nov 2026 02:10:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category><category>窗口</category><category>标题栏</category></item><item><title>像不像 Mac，拆成四类问题来查</title><link>https://www.pairwise.site/blog/macos-hig/</link><guid isPermaLink="true">https://www.pairwise.site/blog/macos-hig/</guid><description>把 HIG 里和 macOS 有关的部分拆成能在运行中的应用上检查的规则，配原生实测数值。导读给出判断像不像 Mac 的四类问题，和一套从头查到尾的顺序。</description><pubDate>Fri, 27 Nov 2026 02:00:00 GMT</pubDate><category>macOS</category><category>HIG</category><category>设计规范</category></item><item><title>网站上线前的 SEO 检查清单</title><link>https://www.pairwise.site/blog/seo-launch-checklist/</link><guid isPermaLink="true">https://www.pairwise.site/blog/seo-launch-checklist/</guid><description>一份能照着跑的清单，分七组：抓取文件、页面标签、结构化数据、渲染后的结果、页面正文、链接、Search Console。每一项写明怎么查、什么算合格，附一个检查脚本。单页应用特有的坑单独标出。例子来自 Pairdown 的上线过程。</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><category>SEO</category><category>清单</category><category>Search Console</category><category>单页应用</category></item><item><title>给单页应用做 SEO：Pairdown 从搜不到到提交收录的一天</title><link>https://www.pairwise.site/blog/spa-seo/</link><guid isPermaLink="true">https://www.pairwise.site/blog/spa-seo/</guid><description>Pairdown 是一个跑在浏览器里的 Markdown 编辑器，整站是单页应用。上线后我才发现 robots.txt 和 sitemap.xml 返回的都是编辑器的 HTML，首页标题只有一个词，落地页的正文画在 canvas 里。这篇记录怎么一层层补上：构建时生成抓取文件，框架在运行时重复追加标签的坑，给 3D 页面补纯 HTML 正文，主站和它互相链接，以及在 Search Console 里把 sitemap 少打一个字母的插曲。</description><pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate><category>SEO</category><category>单页应用</category><category>Search Console</category><category>Cloudflare</category></item><item><title>关掉 iTerm，tmux 还在不在</title><link>https://www.pairwise.site/blog/tmux-life/</link><guid isPermaLink="true">https://www.pairwise.site/blog/tmux-life/</guid><description>两个终端软件 attach 同一个 tmux，关掉其中一个，另一个会不会跟着断。在我的机器上实测三次：server 只死过一次，死的那次是强制退出了启动它的那个 iTerm；强制退出本身并不必然带走 server。讲怎么看 server 是谁生的、怎么从系统日志里查出每次退出是哪一种，以及让 server 不挂在任何终端名下的 launchd 做法。</description><pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate><category>tmux</category><category>iTerm2</category><category>launchd</category><category>终端</category></item><item><title>把审美写成约束：写进规则的，AI 照做</title><link>https://www.pairwise.site/blog/ai-constraints/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-constraints/</guid><description>哪些事该写进规则、什么时候能删、写成什么样 AI 会自己去查，哪些交给 lint；附合并好的 AGENTS.md 和检查脚本。</description><pubDate>Wed, 18 Nov 2026 02:40:00 GMT</pubDate><category>UI</category><category>AGENTS.md</category><category>lint</category><category>AI</category><category>审美</category></item><item><title>H5：手机一横，返回键就伸出了安全区</title><link>https://www.pairwise.site/blog/ai-h5/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-h5/</guid><description>viewport-fit=cover 接下了哪几条边、AI 的自查为什么看不到、横屏栏高怎么算；附一段在桌面上画出手机安全区的脚本。</description><pubDate>Wed, 18 Nov 2026 02:30:00 GMT</pubDate><category>UI</category><category>H5</category><category>移动端</category><category>安全区</category><category>AI</category><category>审美</category></item><item><title>状态：都写全了，就差「一直不回来」</title><link>https://www.pairwise.site/blog/ai-states/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-states/</guid><description>每个「……中」都要有出口，元素消失前先给焦点找好去处；附一段能让任何页面的接口「坏掉」的脚本。</description><pubDate>Wed, 18 Nov 2026 02:20:00 GMT</pubDate><category>UI</category><category>交互状态</category><category>无障碍</category><category>AI</category><category>审美</category></item><item><title>风格统一：变量表写到哪，它就守到哪</title><link>https://www.pairwise.site/blog/ai-consistency/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-consistency/</guid><description>风格该从哪来、来源要先验什么、变量表要写全哪几项；附一段列出页面实际画出来的颜色、圆角和字号的脚本。</description><pubDate>Wed, 18 Nov 2026 02:10:00 GMT</pubDate><category>UI</category><category>设计变量</category><category>颜色</category><category>AI</category><category>审美</category></item><item><title>排版：标点都照顾到了，层级只靠字号</title><link>https://www.pairwise.site/blog/ai-typography/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-typography/</guid><description>上下两级要在字号以外再分开一处，接口文案的空格交给 CSS，全角引号挨着要处理；附一段贴进 DevTools 的字号表脚本。</description><pubDate>Wed, 18 Nov 2026 02:00:00 GMT</pubDate><category>UI</category><category>排版</category><category>字体</category><category>AI</category><category>审美</category></item><item><title>CI 自动化：让流水线从「能跑」变成「敢信」</title><link>https://www.pairwise.site/blog/contrib/2026-11-18-175d840b/</link><guid isPermaLink="true">https://www.pairwise.site/blog/contrib/2026-11-18-175d840b/</guid><description>站长自测稿。流水线越改越慢、红灯习惯性重跑，说明 CI 自动化只做了一半。本文按统一入口、缓存、分片、去不确定性、定义门禁的顺序，给出可落地的配置和脚本。</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>CI</category><category>自动化</category><category>GitHub Actions</category><category>流水线</category><category>测试</category></item><item><title>模型评估指标全梳理：从分类回归到生成与线上</title><link>https://www.pairwise.site/blog/contrib/2026-11-18-9653d4fe/</link><guid isPermaLink="true">https://www.pairwise.site/blog/contrib/2026-11-18-9653d4fe/</guid><description>站长自测稿。按任务类型梳理模型评估指标：分类看混淆矩阵与 PR-AUC，回归看 MAE 与 RMSE 的组合，排序看 NDCG，生成看人评加自动指标；并给出阈值选择、置信区间与上线验证的实操做法。</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>模型评估</category><category>评价指标</category><category>机器学习</category><category>LLM 评测</category><category>工程实践</category></item><item><title>模型评测指标清单：能力、延迟、成本、稳定性和安全怎么测</title><link>https://www.pairwise.site/blog/contrib/2026-11-18-a724d9e9/</link><guid isPermaLink="true">https://www.pairwise.site/blog/contrib/2026-11-18-a724d9e9/</guid><description>站长自测稿。换模型或上新版本前，得先知道拿什么指标判断它行不行。这篇把评测拆成六层：质量与能力、延迟、成本与资源、可靠性与稳定性、安全与对齐、人工对比，逐层给出关键指标、测量方法和常见坑，最后给一份可以直接照做的评测配置。</description><pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate><category>模型评测</category><category>延迟指标</category><category>Benchmark</category><category>LLM</category><category>评测方法</category></item><item><title>拆解 Saltline：一个全靠代码生成 3D 模型的浏览器 FPS</title><link>https://www.pairwise.site/blog/saltline-3d/</link><guid isPermaLink="true">https://www.pairwise.site/blog/saltline-3d/</guid><description>Saltline 是 Claude Fable 5.2 一次提示、无人工反馈做出来的浏览器射击游戏，模型、贴图、音效全部由代码生成。我把它 1.4 MB 的单文件拆开，整理它生成 3D 模型的思路：真实尺寸表、米制 UV 的几何原语、按材质合并的构建器、GPU 烘焙的 PBR 材质，以及让它能自己检查模型的展示台。</description><pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate><category>3D</category><category>three.js</category><category>程序化生成</category><category>AI</category></item><item><title>间距：写的 2px，看到的 9px</title><link>https://www.pairwise.site/blog/ai-spacing/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-spacing/</guid><description>每段文字都带着一截看不见的空白，CSS 写的间距要加上它，才是眼睛看到的间距。AI 写的设置页里，2px 看上去是 9px，层次被压扁。讲清这截空白从哪来、为什么专坑小间距、中文页面怎么用 text-box 裁掉它，再给一段能贴进 DevTools 的 X 光脚本。</description><pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate><category>UI</category><category>间距</category><category>排版</category><category>AI</category><category>审美</category></item><item><title>动效的六条判断：从一帧走多远说起</title><link>https://www.pairwise.site/blog/ai-motion-taste/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-motion-taste/</guid><description>动画好不好，先看一帧走多远。六条动效判断，每条讲原理、两分钟怎么验、代码怎么写，证据来自 AI 写的 8 个组件的逐帧测量。</description><pubDate>Thu, 29 Oct 2026 00:00:00 GMT</pubDate><category>交互</category><category>动效</category><category>AI</category><category>审美</category></item><item><title>对话页布局：骨架谁都会，四个判断要自己守</title><link>https://www.pairwise.site/blog/ai-chat-layout/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-chat-layout/</guid><description>几块拼成的页面要守住四个判断：边、滚动条、自动滚动、藏起来的抽屉。讲原理、自查和改法。</description><pubDate>Sat, 24 Oct 2026 00:00:00 GMT</pubDate><category>UI</category><category>布局</category><category>AI</category><category>审美</category></item><item><title>AI 写得出界面，写不出分寸</title><link>https://www.pairwise.site/blog/ai-ui-taste/</link><guid isPermaLink="true">https://www.pairwise.site/blog/ai-ui-taste/</guid><description>AI 写的界面，问题大多不在截图里，而在四类地方：要量的、要比的、要动的、要换的。讲清为什么，并给一套四步验收法。</description><pubDate>Fri, 23 Oct 2026 00:00:00 GMT</pubDate><category>UI</category><category>设计细节</category><category>AI</category><category>审美</category></item><item><title>nvim + tmux：我的终端开发环境</title><link>https://www.pairwise.site/blog/nvim-tmux/</link><guid isPermaLink="true">https://www.pairwise.site/blog/nvim-tmux/</guid><description>tmux 管会话和进程，nvim 管文件和代码。讲我的 nvim 配置和日常按键，再讲两者怎么配合：真彩色、Esc 延迟、剪贴板、pane 与窗口的分工，以及一条命令开好整个项目。文中有一个演示按键会被哪一层接住的小工具。</description><pubDate>Thu, 22 Oct 2026 00:00:00 GMT</pubDate><category>nvim</category><category>tmux</category><category>终端</category><category>效率工具</category></item><item><title>tmux 从会用到用好</title><link>https://www.pairwise.site/blog/tmux-guide/</link><guid isPermaLink="true">https://www.pairwise.site/blog/tmux-guide/</guid><description>按初级、熟练、高级三步走：会话 / 窗口 / pane 的基本操作，复制模式与布局整理，再到关机恢复现场和一条命令开好项目。文中有一个能直接在页面上按键的模拟器。</description><pubDate>Wed, 21 Oct 2026 00:00:00 GMT</pubDate><category>tmux</category><category>终端</category><category>效率工具</category></item></channel></rss>