Adventures in software & design. Founder of @playbit_, designer of Inter, @Figma, @Spotify. Eng & design @Facebook

Berkeley
Rasmus Andersson retweeted
I've transcended sidebar. I've been slowly turning my IDE into a Windows XP-inspired desktop. Agent threads are AIM chats, the background is a shader that reacts to thread activity, and all the fun lil apps are there too.
4
2
31
1,756
ok let's try this
11
56
8,766
Going to try this next on our Rust code
Since Opus 4.8 I've been formally verifying UI/layout in my custom graphics/game engine in Rust It has saved me so much time The agent writes the UI layout in a pure function (it's just math) which is invoked when rendering or writing proofs Then it can write proofs that hold for EVERY screen dimension. For example, "the menu icon never overlaps with the player's weapon loadout icon" The benefit is that it doesn't need to use a separate language like Lean which has the problem of code drift (you have to essentially maintain two codebases, the actual code and the proofs and ensure they match) Because Rust has this crate called kani which lets you directly write proofs in Rust So I can just import the layout function and write proofs on it! It's saved me so much time because it makes sure all UI stuff look good on mobile, desktop, etc Then the next step is what do you do when the proofs don't hold? You need to make taste-bound decisions on how to draw the UI on different dimensions so it looks good So when a proof fails on a certain configuration of screen dimensions (e.g. mobile), the agent has tools to reproduce this failing configuration and take a screenshot and send it to me so I can make a decision on how to change the layout to look good on that screen
3
2
1,721
it found two bugs :•)
5
356
so far so good
2
922
I used Opus 5.5 to formally verify the Claude Agent SDK using Lean. A couple short prompts = 16 PRs fixing various bugs and race conditions. Video attached. TLA+ also works well. I sometimes combine Lean and TLA+ to look for issues around data flow, concurrency, and state mgmt. I don't know either language well, but Claude is excellent at both. This approach is super useful for formally modeling your code and finding bugs that a human probably wouldn't have spotted. Is formal verification the future of coding (or at least, bug finding)?
13
1,527
Rasmus Andersson retweeted
fun fact, we use these (ring laser gyros) to keep airplanes perfectly level. they’re solid state (aesthetically pleasing) and have a drift of 1/100th of a degree per hour. they’re the most reliable and precise component out there for inertial navigation. they work by splitting a beam of light in opposite directions, when they meet again their coherent waves interfere and recombine, and the change in phase reflects the change in angular velocity and really, they just look so cool.
110
335
4,180
132,027
Type fm in the terminal on macOS 27
16
8
176
46,265
Rasmus Andersson retweeted
We’ve been experimenting with responsive generative video interfaces. Real-time video models are reshaping responsive design. A thread 🧵
62
151
1,359
314,852
Recently I've been asking my robot underlings to "Include Mermaid diagrams in plan & design documents and PR descriptions" which turned out to be a great idea. Now most docs and PRs bots write contain diagrams, visually communicating mechanics and processes.
17
2
134
8,652
In our AGENTS.md file, in a "how do work" section, we added this
1
13
1,567
介绍比Jev快50倍,在你设备上跑的laya-mlx! 只在你的设备上占用最高1G内存 Laya是一个开源的类似于Jev的,基于文本输出概率的分类系统 我将其移植到MLX,并且做了一些性能优化! 视频中就是这个模型在我的本地M3Max上玩贪吃蛇 这个模型能够以每秒决策60次的速度玩贪吃蛇! github.com/mizorewww/laya-ml…
1
6
3,750
This could be a big deal. Sure, you can run Qwen3.8 27B locally but if you do, practically nothing else can happen on your computer, so we need smaller models like this one to make local inference practical
Today, we’re announcing Ternary Bonsai 2 27B. Based on Qwen3.8 27B, Bonsai 2 27B is 9x smaller than its full-precision counterpart while retaining 98.2% of its aggregate benchmark performance. Two months after the first Bonsai 27B release, the biggest change is quality. The footprint remains 5.9 GB, but the gap to full precision has narrowed materially, with particularly strong gains in agentic coding, multimodal reasoning, and long-horizon tool use. Ternary Bonsai 2 27B is available today under Apache 2.0.
9
6
76
15,159
Prism’s version seems problematic
98.2% of Qwen3.8 27B my ass. I got hyped and gave it a real agent job right away. Build me an FPS in three.js, 6 hours on a 3090. My most standard and default prompt that I always use. It spent the first 32K tokens on a plan without writing a single file, then shipped a black screen, 2 shaders that dont compile and a player who spawns dead. And wrote "verified" in the final report. Ok, too hard. I gave it the easiest thing I have, a voxel pagoda garden in one html file. Video attached. 3 hours for THIS. On the way it deleted its own file and spent an hour debugging a raycaster nobody asked for. Where the 98.2% is in all this I have no fucking idea. Same Qwen3.8 27B, same pagoda task, ISTA-DASLab GSQ-RCO IQ2_XS on a 12 GB 3080 Ti gave me day and night, real shadows and koi fish in the pond. 8.4 GB on disk, real 2.50 bpw, 131072 ctx with q4_0 KV, 47 tok/s at 128K. 2.5 bits beats 2.13 bits by a lot when the 2.13 is this shit. Post with the video and the exact command in the replies. In the replies, I'll attach what a proper Qwen3.8 27B created in my hands. Bottom line: if you have at least 12GB VRAM, use ISTA-DASLab GSQ-RCO of all THIS.
2,763
Rasmus Andersson retweeted
Introducing the embodied coding agent canvas I've been working on, and how it integrates with per-data-type GUI generation to support more transparent type-directed agent dev processes. Remote demo talk for ARIA SGAI
2
8
55
4,487
Rasmus Andersson retweeted
Virtua Racing on #Playdate improvements :)
24
117
1,007
77,240
Rasmus Andersson retweeted
I made a website with 25 mini rooms, each with Claude keeping people company. Created with Claude Opus 5.
162
253
4,539
1,822,074