<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>codevtool · 文章与笔记</title>
    <link>http://codevtool.com/blog.html</link>
    <description>独立开发者 codevtool 的 Electron、嵌入式与本地优先工具实践笔记。</description>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 24 Oct 2026 19:40:00 +0800</lastBuildDate>
    <atom:link href="http://codevtool.com/feed.xml" rel="self" type="application/rss+xml" />

    <item>
      <title>VFD 荧光管显示闪烁？100Hz 稳定基线的完整调法</title>
      <link>http://codevtool.com/posts/vfd-100hz-no-flicker.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/vfd-100hz-no-flicker.html</guid>
      <pubDate>Sat, 24 Oct 2026 19:40:00 +0800</pubDate>
      <category>8051</category>
      <description>VFD 余晖短，扫描显示帧率不够就露馅。T0 模式 1 定时器 830µs 时隙 × 12 路扫描 = 9.96ms 帧周期 ≈ 100Hz，中断只翻缓冲区、双缓冲防撕裂、切位瞬间消残影，附 Keil 0800H 超限下保显示的取舍与验证手段。</description>
    </item>

    <item>
      <title>Electron 白屏排查指南：render-process-gone 与 preload 报错的完整定位流程</title>
      <link>http://codevtool.com/posts/electron-white-screen.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/electron-white-screen.html</guid>
      <pubDate>Sat, 24 Oct 2026 19:40:00 +0800</pubDate>
      <category>Electron</category>
      <description>开发正常、打包白屏？主进程挂 console-message 和 render-process-gone 两条日志，白屏根因五类逐一定位：preload 抛错、contextIsolation 版本差、file:// 资源路径、GPU 合成、asar 内资源。</description>
    </item>

    <item>
      <title>Electron 性能差？那是你没把重活拆进 utilityProcess</title>
      <link>http://codevtool.com/posts/electron-utility-process.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/electron-utility-process.html</guid>
      <pubDate>Wed, 22 Oct 2026 21:00:00 +0800</pubDate>
      <category>Electron</category>
      <description>主进程是单线程 Node，重活一堵 UI 就卡。用 utilityProcess.fork() 把 CPU 密集、原生模块、长任务隔离到独立子进程，对比 worker_threads 与 child_process，附 3 个真实子进程架构（collector / flowlab / mycomputer）与进程间通信写法。</description>
    </item>

    <item>
      <title>Electron 也能调 Windows API：用 koffi 把 Win32 装进桌面应用</title>
      <link>http://codevtool.com/posts/electron-win32-ffi.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/electron-win32-ffi.html</guid>
      <pubDate>Wed, 22 Oct 2026 21:00:00 +0800</pubDate>
      <category>Electron</category>
      <description>渲染进程是浏览器沙箱，但主进程是完整 Node.js。用 koffi 动态加载 user32/kernel32 就能 P/Invoke，加一层懒加载不拖慢启动，所有 Win32 调用收进 mycomputer-engine 子进程，崩了也不带崩主进程。</description>
    </item>

    <item>
      <title>Keil C51 评估版 2KB 代码限制怎么破：0800H 超限的完整解法</title>
      <link>http://codevtool.com/posts/keil-c51-code-size-limit.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/keil-c51-code-size-limit.html</guid>
      <pubDate>Wed, 21 Oct 2026 16:00:00 +0800</pubDate>
      <category>嵌入式</category>
      <description>编译报 RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT 的真实解法：2048 字节上限到底管什么，按收益排序的 8 条瘦身手段（存储模式、优化等级、浮点库、printf、code 区、.M51 内存映射），以及换 SDCC 的语法对照表。</description>
    </item>

    <item>
      <title>串口收到的数据总是缺一截？粘包、半包与超时切帧</title>
      <link>http://codevtool.com/posts/serial-port-frame-parsing.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/serial-port-frame-parsing.html</guid>
      <pubDate>Wed, 21 Oct 2026 15:50:00 +0800</pubDate>
      <category>设备通信</category>
      <description>串口是字节流不是消息流，一次 DataReceived 不等于一帧。缓冲区 + 状态机的完整解析代码、四种切帧方式取舍、Modbus RTU 式超时切帧，以及单片机发送侧和 485 方向切换造成的碎包。</description>
    </item>

    <item>
      <title>用 Electron 做一个本地优先的桌面应用：插件架构与多进程服务</title>
      <link>http://codevtool.com/posts/electron-dev.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/electron-dev.html</guid>
      <pubDate>Tue, 20 Oct 2026 16:00:00 +0800</pubDate>
      <category>Electron</category>
      <description>从 0 搭一套可扩展的 Electron 桌面应用骨架：feature 插件架构、三进程分工、用 utilityProcess 隔离重活、IPC 契约集中管理，以及打包体积与启动速度的实战取舍。</description>
    </item>

    <item>
      <title>自制 8 位计算机：CH6800 + VFD 荧光管显示的折腾记录</title>
      <link>http://codevtool.com/posts/vfd-8bit-computer.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/vfd-8bit-computer.html</guid>
      <pubDate>Tue, 20 Oct 2026 15:00:00 +0800</pubDate>
      <category>嵌入式</category>
      <description>8051 内核、VFD 荧光管、100Hz 动态扫描基线、Keil 限制版代码超限 —— 一台自制 8 位计算机从点亮到稳定显示的完整记录。</description>
    </item>

    <item>
      <title>为什么我坚持做本地优先（local-first）的个人数据工具</title>
      <link>http://codevtool.com/posts/local-first-tools.html</link>
      <guid isPermaLink="true">http://codevtool.com/posts/local-first-tools.html</guid>
      <pubDate>Tue, 20 Oct 2026 14:00:00 +0800</pubDate>
      <category>产品架构</category>
      <description>云服务很好，但你的照片、笔记、足迹为什么要存在别人服务器上？聊聊 local-first 的取舍、同步冲突处理，以及用它做家庭数据管家的真实架构。</description>
    </item>

  </channel>
</rss>
