返回创作者库
LELeo 🏴‍☠️

Leo 🏴‍☠️

@leostera
科技与产品英文成长创作者 (1千–3万)关注 532收录于 2026-11-26

Cloudflare 工程师与独立开发者,打造面向智能体的开发工具、Rust 构建工具及代码质量工作流。

engineering & agents @cloudflare · typed actor maxxing since 2018 · ex @spotify @klarna · street photographer 📸 https://ig.me/u/gomugomuleo

粉丝规模
5.2千
+217 / 7 日 · +4.4%
日常浏览中位数
730
30天 34条7日 28帖
收藏率
1.3%
赞率 1.4%互动 2.0%
网络权威分
63/ 100
30 天黑马爆款
8
最高 33.6×
曝光效率日常浏览 / 粉丝数成长创作者 (1千–3万)
日常浏览 ≈ 粉丝数 14%·▲ 同量级中位 23%0.6×
0%▲

已发布产品

2
数据来自 EarlyLore

Caramel

创始人免费
caramel.run

Caramel 是一门可在 Erlang 虚拟机上运行的函数式语言,供希望构建类型安全、可扩展且易维护应用的开发者使用。

344 月访客

同层百分位基准

科技与产品 · 成长创作者 (1千–3万) · n=5,503
曝光效率
P29
书签率
Top 3%P97
网络权威
Top 21%P79
7日增速
Top 33%P67

互动质量画像

近 30 天 · 34 条样本
干货收藏比
0.27×
讨论比
0.11×
观点转述比
0.32×
黑马命中率 ≥2×
29%
Top3 集中度
61%

个人爆款拆解

35 条有效帖
体裁
相对基线
中位浏览
平均收藏
命中率 ≥2×
深度长推n=8领先
4.8×
3.5千
1.1%
75%
原创短帖n=19
0.8×
601
1.7%
16%
引用点评n=8
0.8×
572
0.6%
13%
公开互动圈12
提及 6 · 转发 6
提及
6×
转发
3×
转发
2×
转发
2×
转发
2×
提及
2×
被头部创作者关注 / 背书10
关注 8 · 引用 2
最高倍率33.6×
单帖最高浏览2.5万
最高收藏率2.6%
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en产品发布
日常 730
AI 摘要

为了在一台 512GB 的 MacBook Pro 上腾出空间,Leo 开发了两款工具,据他称可分别将 Git 工作树和 Cargo 构建产物的磁盘占用最多减少 99% 和 90%。

  • 据作者称,Twig 通过写时复制让 Git 工作树比普通工作树最多节省 99% 的磁盘空间。
  • 与常规 Cargo 构建相比,第二款工具让作者的 ./target 目录最多缩小 90%。
  • 作者表示,大家在 issue 和评论中提供的反馈帮助两款工具在 Linux 和 Windows 上也能良好运行。
2.5万642(2.6%)5101819
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉长推 · 3en
日常 730
AI 摘要

作者表示某项改动似乎减少了智能体的 Cargo 构建体积,让其 512 GB 硬盘压力减轻。

  • 帖子谈到智能体的 Cargo 构建体积。
  • 作者提到自己使用 512 GB 硬盘。
2.0万298(1.5%)3313521
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉长推 · 2en产品发布
日常 730
AI 摘要

git-twig 0.6 加快了 `git status`,新增了让现有 Git 工作树共享磁盘空间的命令,并扩展了对 Windows 和 Linux 的支持。

  • 可用 `npm i -g git-twig` 全局安装,Windows 用户也可通过 Scoop 安装。
  • 新命令可以整理现有工作树,让它们共享磁盘空间。
  • Windows 新增对 Dev Drive 和 ReFS 的原生支持;Linux 新增多核克隆和 ARM 构建版本。

咦,我好像解决了智能体使用 Git worktree 的问题。

t.co/hqpDNuBzbs

我那块小小的 512 GB 硬盘终于能喘口气了。

10.0千82(0.8%)6754
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉长推 · 2en
日常 730

this is making it possible to continuously build several Rust projects on a 512gb disk, and it really does keep my ./target folder at ~70-90% less than without it

needs better support for windows, but its doing great on linux too!

huh i think this fixes cargo build sizes for agents

t.co/V5QgWSoOfu

my little 512gb disk can finally breathe!

4.6千27(0.6%)4622
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉长推 · 2en
日常 730

sometimes the only way to meaningfully improve on something is to start from first-principles and aim for 1000x

can't wait to share this but if your agents are using a model-checker like tla+/everystate to find bugs in your apps, you're gonna love Spock 🖖

4.2千19(0.4%)4027
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉长推 · 2en
日常 730

the kind of tooling i'm missing is deterministic and so cheap that i can run it continuously almost at every agent turn.

for code quality i want semantic checks, essentially a graph representing the codebase in small (files) and large (modules, systems), that I can run queries over. from "no single name variable" to transitive properties like "only config.ts can provide default values when reading from ENV"

for system behavior i want models and traces, ideally hooked so deeply that running my tests locally produces system traces i can check against the models as part of the tests.

2.9千39(1.4%)55016
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉长推 · 2en
日常 730

okay i want to introduce y'all to Spock but before I do, I want to share a bit about TLA+ and how you use it to design, check, and proof, and eventually verify a running system traces against it.

TLA is Lamport's temporal logic of actions — its a small untyped logic where by specifying an Init and a Next predicate you get to advance time discretely in a system, where each step is defined by Next, and TLA+ chooses from one of many possible combinations.

to actually go over that state space and see if some properties hold, you use a separate tool: TLC — TLC is a java based tool, and we got some amazing drop-in replacements like @mattzcarey's everystate that make it easy to run and insanely fast.

note that TLC can only explore _bounded_ states, so you give it a .cfg file "please run with 3 nodes, 2 keys, 10 messages" , and it runs until it comes back to you with an answer, or you kill it because its been running for hours.

if you want to check your design for _unbounded_ states, you need to use a specific subset of TLA+, include a type-checking predicate, and add another tool: the TLA+ Proof System — this interprets your proofs and translates them to provers like Z3, Zenon, or Isabelle.

but TLAPS performs only partial temporal reasoning, since it doesn't handle all of TLA+, so many of your original specs aren't usable verbatim and need extra "proof-friendly" definitions, like explicit types and inductive invariants.

say you've done this work, and built your system. now you gotta instrument your app to produce traces, and write a small spec that loads an NDJSON file into a Trace sequence, and TLC can then check it!

so this pipeline has a few interfaces, where we go from untyped .tla specs -> TLC + .cfg -> TypeOK + IndInv for TLAPS -> NDJSON logs -> TraceSpec -> TLC in discrete steps, and have to translate specs and schemas and keep them in check.

agents help a ton here, but they don't make the tools play better with each other.

to address this and unlock next-level optimizations, we I've designed Typed TLA to unify this pipeline — this enriches the semantic model of TLA+, replacing ZF set theory with an algebraic type theory that allows us to preserve and enforce soundness in your spec through the entire pipeline, enabling all sorts of optimizations

Typed TLA is the magic sauce behind Spock

sometimes the only way to meaningfully improve on something is to start from first-principles and aim for 1000x

can't wait to share this but if your agents are using a model-checker like tla+/everystate to find bugs in your apps, you're gonna love Spock 🖖

2.1千41(1.9%)5243
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en
日常 730

how to make the fastest semantic guardrail for agents in the world:

1. get the fastest approximate parsers out there (tree-sitter tyvm) 2. build a graph of facts over all the asts 3. run guardrails over a streaming parallel datalog query engine 4. profit

i think i cracked something, more news tomorrow

8869(1.0%)1201
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉长推 · 2en

anyway here's probably the fastest streaming datalog engine out there: t.co/MywaIORV0l

i've been working on this on-and-off for a while now, as i've tried to build my ideal anti-slop tool a few times.

oldest working iteration of it is probably in Riot's CodeDB (t.co/KcCJR7JpcJ), but the last one was t.co/ftk3oCUdsF. at least until yesterday!

t.co/ssKnqaVEKa

6676(0.9%)1512
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en
日常 730

left gpt 6.2 astra max running overnight and i'm kind of disappointed

1.8千0(0.0%)20013
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en

to make t.co/MywaIORV0l 🦊 up to 20x faster than the fastest datalog engines out there, while still allowing fully interpreted (not precompiled!) datalog evaluation, i've developed a new approach: Adaptive-Dense Datalog

imagine you got a database of train routes, which in datalog you'd store as facts:

train("london", "paris"). train("paris", "berlin").

then you build some relations by writing more rules:

% can_reach exists if there's a train between A and B can_reach(A, B) :- train(A, B), % and also if there's some middle-place B % so that you can go from A to B, and then to C can_reach(A, C) :- can_reach(A, B), train(B, C).

to query we write another rule but with _holes_, like ? can_reach("london", "berlin") and a datalog engine runs in *rounds* — round 1 discovers can_reach("london", "paris"), and round 2 discovers you can_reach("paris", "berlin"), so it answers yes!

now the problem is that to run these rounds quickly, you gotta store the facts in memory somehow. there's 2 classic approaches to this:

1. a big hash table: you only write down the pairs you find, like ["london", "berlin"] — this uses very little memory but ofc checking connections one at a time can be unusably slow (imagine you need to check millions of them!)

2. a bit-matrix: if you had 100,000 cities, you'd just make a 100k x 100k matrix of 1's and 0's and read 1 as "reachable" — modern cpu's can compare a lot of checkboxes at once, so this is wiiildly faster but can use TONS of space (1.25gb of RAM per relation!!!)

so we're trading time:space between these approaches. but what could we do differently?

enter Datafox's adaptive-dense approach:

* first it shrinks the grid as much as possible (column-origin analysis)

* then starts on a hash table and upgrades to bit matrices when the rule is actually busy (lazy promotion)

* and finally once we have a bit matrix it checks as much as it can on a single rule in a single operation (passthrough word-or lifting)

worth noting that i'm building something using datafox, so all these improvements come from that directly. more details on the paper!

this is also the first paper i'm authoring with ai and releasing, so thank you @AnthropicAI and @GeminiApp!

paper: t.co/NdlFEsfD2I proof:

anyway here's probably the fastest streaming datalog engine out there: t.co/MywaIORV0l

i've been working on this on-and-off for a while now, as i've tried to build my ideal anti-slop tool a few times.

oldest working iteration of it is probably in Riot's CodeDB (t.co/KcCJR7JpcJ), but the last one was t.co/ftk3oCUdsF. at least until yesterday!

t.co/ssKnqaVEKa

4854(0.8%)1000
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en

cargo-gc v0.2 is out!

* you can now install it with `cargo install cargo-gc`, courtesy of the @rust_foundation (thanks Tobias!)

* cargo gc run / test / bench only ever clean Cargo's own build directories. Before, a malicious program that printed a line looking like Cargo's log could make cargo-gc clean something else 😱

thanks @cantoramann 👏

over the last month I've been constrained to fit all my work in a 512GB MacBook Pro, and this has led to 2 nifty little tools that make it feel like a 4TB machine:

🌱 t.co/CLheWOi0yA — twig's are lightweight copy-on-write worktrees for git, and they can get 99% (!!) smaller than regular worktrees!

📦 t.co/jZuBUKzygE — `cargo gc build` now keeps my ./target folder up to 90% (!!) smaller than plain cargo builds!

thanks to issues and comments from folks, I've managed to get these working great on linux and windows too. thanks y'all! 🙂‍↕️

5764(0.7%)1021
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en
日常 730

at the pace i'm prototyping stuff i'm gonna need some cloudflare billing resets 👀

9910(0.0%)2703
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en

ok, i think i'm onto something here: found 4 bugs in the z3 theorem prover 🤩 (all reported properly ofc)

sometimes the only way to meaningfully improve on something is to start from first-principles and aim for 1000x

can't wait to share this but if your agents are using a model-checker like tla+/everystate to find bugs in your apps, you're gonna love Spock 🖖

5683(0.5%)1100
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en
日常 730

everyone solving math milénium problems and me still figuring out how to avoid my agent from ad-hic parsing env.FLAG and writing another isRecord for the 100th time

1.5千1(0.1%)4107
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en
日常 730

can't use gpt models above high — they legit are afraid of breaking things and introduce all sort of ridiculous guardrails.

I'm building something with @inventingmaya and gpt6.2 sol xhigh keeps doing things like inventing "pilot customer programs" or creating ad-hoc canary deployments, even after repeatedly telling it there's no users, there's no production.

opus-5.5 is just better at this stuff?

1.2千0(0.0%)1307
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en
日常 730

i've been wondering what's making it hard to read code as deeply as i used to (and i used to read a lot of code!), and i think a large part of this is that model-makers seem to have forgotten this:

"Programs must be written for people to read, and only incidentally for machines to execute." — SICP

i want all my ai-generated code to be so beautifully written that reading it is joyful

1.2千4(0.3%)2224
X 原帖
LELeo 🏴‍☠️
Leo 🏴‍☠️@leostera科技与产品5.2千粉en

i have ported over Laravel to @badcop_'s amazing Bash Stack to make your bash applications simply amazing ✨

proud to announce Laravel Bash: t.co/noP4Q7xnju

it supports routing, Blade, Eloquent, validation, sessions, CSRF, queues, mail, broadcasting, and even testing support in a brand new UNIX-compliant `./artisan` script

even runs on Durable Objects thanks to @_pi0_'s unkernel 👏 (for real)

I built Laravel Rust and Laravel Go in tandem.

Laravel Rust and Laravel Go have full feature parity. Routes, database, validation, queues, durable workflows, even Reverb has a local Go server. 😅

But, they both remain true to the language they are written in. Laravel Go doesn't try to be something other than idiomatic Go. Yes, that means it doesn't look as "magical" as Laravel Rust in some places.

It was important to me to be true to the spirit of these languages. Go has blazing speed, compiles quickly for fast iteration, and has a simple, limited amount of keywords.

Human developers can learn to read Go very quickly, and agents are extremely proficient at writing idiomatic Go.

Choose your flavor.

Laravel Rust for absolute top-end speed, macros, and that terse, "magical" feel of Laravel.

Laravel Go for almost just as fast in a simple, readable language with fast compilation times.

Both will be developed and maintained in parallel along with Laravel PHP. I'll share more about how I'm orchestrating this as I go.

3342(0.6%)410
X 原帖