Forking Paths
🗂
  • When Claude Forgot: A Network Glitch, a CAP Theorem Detour, and the Data Structure That Avoids Conflict

    This started as a Wi-Fi hiccup and ended with me redesigning a chatbot’s backend in my head.


    The Glitch

    I was mid-focus session, reporting progress to Claude, when my internet dropped for maybe ten seconds. Two or three of my messages vanished into the void. When the connection resumed, Claude picked up from an earlier point in the conversation and responded to my newest message as if the intermediate ones had never existed. It was like talking to someone who had sudden amnesia — confident, helpful, and working from incomplete information.

    Most people would have been annoyed and moved on. I got curious.

    What had just happened, architecturally? Claude didn’t crash. It didn’t say “I’m missing somethi ...

  • 无摩擦捕获:为一颗停不下来的脑子搭一套系统

    我从来没有被正式诊断过ADHD。但我不需要一个标签,才能观察自己的脑子在做什么——然后想点办法。


    百万念头问题

    我脑子里是这样的:一个念头刚到,还没来得及想完,又冒出来三个。每一个都显得紧迫、有趣、值得追。一个关于海边的树为什么横着长的随想。一个关于分布式系统的半成型想法。一条忘了回复别人消息的提醒。一股突然想查某个词词源的冲动。

    每一个念头都带着引力。脑子低声说:看看我吧。我很有意思。我可能很重要。你现在不管我,就会忘掉我。

    陷阱就在这里。我去看了。我打开一个浏览器标签页。我开始写一条消息。我掉进维基百科的兔子洞。三十分钟后,抬头一看,该做的事一件没做。精神已经被来回切换耗尽了,真正坐下来要做的那件事,纹丝未动。

    这不是自律问题。也不是懒。这是一颗把每个念头都当作同等紧急的脑子。让人疲惫的不是念头本身,而是不停地跟每一个念头谈判——要不要理它。

    核心领悟:捕获,而非投入

    转折点在于我意识到一件事:大多数时候,我并不需要现在就对一个念头采取行动。我只需要知道它不会消失。把我拉离正事的,是丢失念头的焦虑——而不是念头本身。

    所以,理论上解决方案很简单:瞬间捕获念头,然后回去工作。但"理论上简单"是大多数效率建议死掉的地方,因为捕获机制本身就引入了摩擦。如果我需要打开一个应用,找到正确的笔记本,想想怎么归类——光是这些,就足以打断专注,让我滑下去。

    捕获必须快到几乎不算一次打断。

    我造了什么

    我用 Discord 斜杠命令搭了一条管道,根据一个判断把 ...

  • Frictionless Capture: Building a System for a Brain That Won't Shut Up

    I’ve never been officially diagnosed with ADHD. But I don’t need a label to observe what my brain does — and to do something about it.


    The Million-Thought Problem

    Here’s what it’s like inside my head: a thought arrives, and before I can finish processing it, three more show up. Each one feels urgent, interesting, worth chasing. A random observation about how trees grow sideways near the coast. A half-formed idea about distributed systems. A reminder that I forgot to reply to someone. A sudden impulse to look up the etymology of a word I just used.

    Every single one of these thoughts comes with a gravitational pull. My brain whispers: attend to me. I’m interesting. I might be important. ...

  • 因果关系真的存在吗?(一次分布式系统的岔路)

    这原本是一堂关于向量时钟的课,最后走到了休谟和薛定谔之间的某个地方。


    那个把课带偏的问题

    我在学向量时钟——分布式系统如何在多台机器之间追踪事件的顺序。核心想法很优雅:不用一个共享计数器,而是每个节点维护一组计数器,每个节点一个。两组计数器如果无法逐项比较大小,就说明对应的事件是真正并发的。问题解决了。

    但接着我问了一个问题,把自己带跑了:为什么逻辑时钟里的排序关系叫"因果"?

    一件事发生在另一件事之前,不代表它们之间有因果关系。同一台机器上两个顺序事件可能毫无关联。我递增一个计数器,然后写一条日志。一个"发生在"另一个之前,但谁也没导致谁。

    答案是一个细致的区分:在分布式系统中,“因果"不是说A让B发生了。它是说A的信息有可能在B发生之前传到了B。说的是影响的可能性,不是实际的影响。一个谦逊得多——也可操作得多——的说法。

    这让我满意了大约三十秒。

    更深的洞

    因为接下来我不得不问:因果关系在宇宙中真的存在吗?

    大卫·休谟在十八世纪做了一个毁灭性的简单观察。当我们说A导致了B,我们实际观察到的,只是A发生了,然后B发生了,反复如此。我们从未直接观察到因果联系本身。我们是推断出来的。因果关系也许只是我们的大脑对相关性模式编的一个故事。

    物理学帮不上什么忙。基本方程大多是时间对称的——正着走和倒着走一样成立。量子力学让事情更奇怪:纠缠粒子展现出的相关性, ...

  • Does Causation Even Exist? (A Distributed Systems Detour)

    This started as a lecture on vector clocks and ended somewhere between Hume and Schrödinger.


    The Question That Broke the Lecture

    I was studying vector clocks — how distributed systems track the order of events across machines. The core idea is elegant: instead of one shared counter, every node maintains a vector of counters, one per node. Two vectors that can’t be ranked element-wise represent truly concurrent events. Problem solved.

    But then I asked a question that pulled me off the rails: why do we call the ordering relationship in logical clocks “causation”?

    Something happening before something else doesn’t mean there’s a causal relationship. Two sequent ...