记录我现在使用的家庭网络:光猫桥接、主路由负责基础网络、Mesh 提供无线覆盖,再由 Surge 处理流量策略,并借助一台 BandwagonHost 服务器和 Surge Ponte 从外部连接家里的网络。
Writings
Notes on software, design, AI, tools, and the ideas that shape how I build and live.
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.
从网页 DOM 变化导致的锚点失效出发,介绍 RangeSelector、TextPositionSelector 与 TextQuoteSelector,并结合模糊搜索设计更可靠的文本锚定流程。
以 TypeScript 装饰器为核心,探索用 Class Model 组织 View、Model 与 Entity,通过声明式序列化、字段映射和接口调用改善前端开发体验。
从所有权与线程访问模型出发,解释 Rust 中 Send 与 Sync 的含义、推导关系和自动实现,并结合 Rc、Arc、Cell 与 RefCell 分析并发内存安全。
从 RAII 与所有权机制出发,说明 Rust 如何借助 Drop trait 自动释放内存和系统资源,并解释 drop 函数的实现以及 Copy 与 Drop 为什么互斥。
介绍如何在基于 Vue 2 的 UniApp 子组件中使用页面生命周期钩子:通过全局 Mixin、根组件容器和卸载清理,代理收集并调用子组件钩子。
系统拆解 Hybrid 应用中 WebView 与 Native 的双向通信,并以 JavaScript 和 Rust 实现支持调用、异步返回、多次响应与事件监听的基础 JSBridge。
Follow Worth Sharing
Get occasional thoughts on product, engineering, AI, and the things I’m building—delivered straight to your inbox.