Skip to Content
A blue fountain pen nib representing writing and ideas

Writings

Notes on software, design, AI, tools, and the ideas that shape how I build and live.

围绕 Surge 构建家庭网络的 3D 编辑插画

围绕 Surge 构建家庭网络

记录我现在使用的家庭网络:光猫桥接、主路由负责基础网络、Mesh 提供无线覆盖,再由 Surge 处理流量策略,并借助一台 BandwagonHost 服务器和 Surge Ponte 从外部连接家里的网络。

A conceptual ReAct loop connecting thought, action, and observation

How does ReAct Work Exactly?

A practical walkthrough of ReAct’s Thought–Action–Observation loop, from prompt design and tool calling to a minimal Rust implementation that completes a movie-ticket task.

文档变动后仍能定位原文片段的模糊锚定插画

模糊锚定(Fuzzy Anchoring)(一)

从网页 DOM 变化导致的锚点失效出发,介绍 RangeSelector、TextPositionSelector 与 TextQuoteSelector,并结合模糊搜索设计更可靠的文本锚定流程。

TypeScript 装饰器为类模型添加能力的架构插画

利用装饰器进行 OOP 开发的实践

以 TypeScript 装饰器为核心,探索用 Class Model 组织 View、Model 与 Entity,通过声明式序列化、字段映射和接口调用改善前端开发体验。

Rust Send 与 Sync 安全跨线程传递和共享访问的工业场景

如何理解 Rust 的 Sync 和 Send

从所有权与线程访问模型出发,解释 Rust 中 Send 与 Sync 的含义、推导关系和自动实现,并结合 Rc、Arc、Cell 与 RefCell 分析并发内存安全。

Rust Drop trait 与确定性资源释放的机械静物

Rust 中的资源释放以及 Drop trait

从 RAII 与所有权机制出发,说明 Rust 如何借助 Drop trait 自动释放内存和系统资源,并解释 drop 函数的实现以及 Copy 与 Drop 为什么互斥。

UniApp 子组件生命周期钩子收集与调用的纸艺插画

UniApp:在组件中使用小程序生命周期钩子

介绍如何在基于 Vue 2 的 UniApp 子组件中使用页面生命周期钩子:通过全局 Mixin、根组件容器和卸载清理,代理收集并调用子组件钩子。

WebView 与 Native 双向通信的桥接概念场景

JSBridge 原理及具体实现

系统拆解 Hybrid 应用中 WebView 与 Native 的双向通信,并以 JavaScript 和 Rust 实现支持调用、异步返回、多次响应与事件监听的基础 JSBridge。

Load More You've reached the end of the list

Follow Worth Sharing

Get occasional thoughts on product, engineering, AI, and the things I’m building—delivered straight to your inbox.