Nick Sweeting (@thesquashSH) header
Nick Sweeting (@thesquashSH) profile picture

learning about brains ⑊ 🚴‍♂️🏍🎵🗻 ⑊ 沪老外 ⑊ prev: @ArchiveBoxApp ⑊ @MonadicalHQ ⑊ @RecurseCenter '14

Oakland, California
Joined March 2011
Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)Photo by Nick Sweeting (@thesquashSH)
Nick Sweeting retweeted
AI is changing the game, but it's for the better. Every week we see hundreds of integrations being added to the marketplace. More things are getting integrated than ever before. Your home is more yours than ever before. Read more in the announcement: contributors.home-assistant.…
10
9
386
42,618
Nick Sweeting retweeted
I built Undroid on top of Unkernel by @_pi0_ The flow I always wanted: open a tab, drop an arm64 APK, see the app. Android 13, LineageOS 20, on a Linux kernel compiled to WebAssembly. Check it out at undroid.dev
18
47
7
443
14,515
Nick Sweeting retweeted
saw a guy in front of me last night using an app that tracks drug effect onset/offset curves called piru. easily the best one i’ve tried so far.
98
151
87
6,684
399,006
I got the OG iTunes Classic Visualizer running in-browser using @_uwu_cocoa's kido-wasm (aka unkernel for macOS). It's one of the best music visualizers of all time, with a full keyboard shortcuts system and multiple layers of customizable presets. github.com/pirate/itunes-vis…
1
1
216
I'm still so giddy about unkernel and kido, it's hard to sleep. exciting times we live in
3
134
Nick Sweeting retweeted
Fork a live Chrome in 16 ms. Reset it in 18 ms. 64 live browsers from one call in half a second. Each one hardware-isolated. No containers, no guest OS, no root. cclinux: a Linux kernel written in Rust that runs as an ordinary process. Real capture, one desktop CPU.
18
14
1
195
9,461
Nick Sweeting retweeted
unlab.run now compiles it's own kernel with additional flags to support nftables, NAT, cgroups, eBPF, netfilter, etc that are required to run k8s. Here's a screenshot running a 3 node k8s cluster entirely from my browser tab!
16
41
13
468
23,048
After 2 years writing toolchains for pretty much 99% of compilers and configurations possible, I dare to say that this very well defines the golden path of software development going forward.
If I never read the code my agents write, why are they writing Rust? "Because of the borrow checker" is the usual answer. Programming languages are for humans. A borrow checker does not require Rust, so I built one for raw #llvm IR. Writeup: fzakaria.com/2026/11/27/prog… Play with it: fzakaria.github.io/borrir/
8
7
2
88
19,037
Suppose you want to become a compassionate person. You compliment people on their outfits and walk little old ladies across the street but at the end of the day you're still a little bit of an asshole, judging other people in your head and being subtly snippy and preachy in your interactions. You know how to emulate the surface level features of being compassionate, but not the deep underlying thing which generates compassion, a sort of reflexive openness, warmth, and assumption of good will from all people. You're LARPing. Instead you find a very good writer who is compassionate. All of their attitudes, feelings, experiences, and the ways in which they relate to the world shape how they write (in proportion to how good of a writer they are). By deeply engaging with their work you get a massive amount of data on how their mind is shaped, and you learn to resonate with it, slowly teaching you how to embody the deep orientations which make them compassionate. Note that this doesn't bypass the need to go through your own developmental stages, build skills, and actually become the thing. But it gives you a massive step up on one of the most difficult parts.
Replying to @Pear_with_legs
> It allows you to reorganize towards ends that you don’t have an intuitive or fully wholesome conception of, drawing upon stores of wisdom and insight greater than yours. I think there is a lot to this. Would you like to expand this point?
4
3
6
124
11,653
Nick Sweeting retweeted
I got eye-rolls when I wrote about running containers in tabs. Obviously the answer to that skepticism was to run a full #k8s cluster purely from browser tabs. Open tabernet.es on your phone and k3s schedules a pod onto a Linux kernel booted in your tab, powered by @pi0's unkernel. Writeup: fzakaria.com/2026/11/27/your…
14
29
7
238
33,473
Nick Sweeting retweeted
Still running that linux kernel in your browser? that's so lame and so yesterday Lets boot an arm64 darwin kernel in your browser, snapshot the whole live XNU VM mid-session, and instant-fork it into two independent Darwin instances side-by-side in ~120ms!! It also registers your browser's WebGPU as a virtual PCIe device inside XNU, compiles real Apple .metallib shaders to WGSL on the fly, and runs real Metal compute right in Safari and Chrome. Try snapshot and then restore (even after rm -rf /), btw we also have instant fork! play.kido.sh 👀
11
36
7
335
14,829
Nick Sweeting retweeted
we are in a stupid phase where companies are trying too hard to keep you safe when using agents for example the official gmail mcp does not expose a tool to send email, only create drafts it is not their job to figure this out for me
Readers added context they thought people might want to know
Gmail MCP does support sending messages: developers.google.com/workspace/gmai…
235
76
54
2,756
231,816
Nick Sweeting retweeted
This thing works so well it’s upsetting you can’t buy them for like $1.50 at CVS They send women doing IVF home with a box of syringes to rawdog, could be a total game changer
have to a do a bunch of injections so vibe-CAD'd and 3D printed a rubber band powered autoinjector has built in poke points on the contact plate to trick your brain to not feel the needle worked perfectly during self test, exceeded all expectations
9
5
2
211
33,613
Nick Sweeting retweeted
I built a 74 KB bare-metal hypervisor that puts a 2B LLM BELOW Linux in Ring -1, catches a fatal Kernel panic mid-crash, patches the broken machine code live in RAM, and keeps Linux running without a reboot. Left window is standard Linux dying instantly from a Ring 0 NULL-pointer write (*(u32 *)0 = 0xDEADBEEF). Right window runs the exact same crash command under my custom Type-1 AMD SVM hypervisor (x86-64 NASM assembly + zero-libc C, 0 host OS). Instead of crashing, Ring -1 freezes Linux before it can panic, runs a GRPO-trained MiniCPM5-2B (Q4_K_M) across 24 AVX2 cores in 11.1 seconds, overwrites those 11 faulting bytes in guest .text physical RAM with 11x NOP (0x90) via NPT, and calls `VMRUN`. Linux prints SURVIVED NULL-DEREF! and uptime never resets. We used a tiny /proc/surgeon_crash test module to trigger clean Ring 0 crashes side by side. On 122 unseen fault scenarios (including unsafe spinlock crashes it must refuse to patch), this GRPO checkpoint hits 97.54% pass@1 with 0 dangerous patches (vs 16.39% on base). Full NASM + C source code (75,424 bytes binary) is live in my llm.asm repo (MIT, link below).
I deleted Linux completely, baked Qwen3-0.6B into a 24 KB pure x86-64 assembly OS, and it runs up to 54% faster than native Linux llama.cpp. The entire Multiboot OS binary (asm-llm-os.elf) is 24,252 bytes, written from scratch without Linux, Windows, C, Rust, or libc. It boots in 74 to 94 ms straight into 64-bit Long Mode, wakes every CPU core over APIC, maps the 614 MiB Q8_0 weights directly from physical RAM, and drops you into a live multi-turn KV-cache chat over VGA, PS/2 keyboard, and serial. I ran head-to-head CPU benchmarks against llama.cpp (Q8_0, -ngl 0) on the same AMD EPYC 7642: - 1 thread hits 23.67 tok/s vs 16.63 (+42%) - 4 threads hit 78.89 tok/s vs 51.08 (+54%) - 8 threads hit 118.08 tok/s vs 80.79 (+46%) - 16 threads hit 134.94 tok/s vs 103.03 (+31%, 136.6 peak) On a diskless 0 GB Proxmox VM (2014 12-core Intel Xeon E5-2670 v3, 2 GiB RAM), it boots straight to the prompt in under 5 seconds (95 ms kernel boot) and runs live out of RAM at 78 tok/s decode and up to 111.5 tok/s prefill, with a hybrid BIOS+UEFI ISO builder included too. Output stays bit-exact across thread counts and matches all 64 greedy tokens against PyTorch FP32 (0.99965 cosine). The 14.7 KB Linux ELF build (FAST_Q8=1 INT8xINT8 AVX2+F16C) also beats llama.cpp by 18% to 36% from 1 to 40 threads, and booting bare metal with 2 MiB huge pages squeezes out another 10% on top. Repo, ISO builder, and Proxmox setup guide are in the reply below.
385
797
333
8,331
804,879
Nick Sweeting retweeted
1000%, unkernel is the best, most comprehensive and usable attempt at OS emulation in the browser, to-date, and its far faster and more 'real' than you'd expect. There are many other projects that try to do something similar, going allll the way back Fabrice Bellard's JS Linux (bellard.org/jslinux/), but none that make the experience much more than a cool demo, let alone usable for real things. The "secret-sauce" here (i mean, it's all OSS but takes some sleuthing to figure out) is the adaptation of QEMU to `kwemu` in zig for the JIT'd native binary emulation, with speed-ups for hot paths for userspace programs, and further the inherent speed of keeping the kernel isolated fully in Wasm guest space, rather than the host, where most people would reflexively keep kernel-like code in a project like this. No one has tried this exact approach with such success for browser emulation, until now. In fact, this technique is how we do some corner-case binary translation under the hood in boxer.dev, but for a totally different reason, for a selection of different archs. And, as an aside, I am personally very happy to see more client-side Wasm projects of such ambitious scope come out like this, given how especially unapproachable Wasm tooling/concepts/support can be to newcomers (unfortunately, still). In the before times, pre-ai, this would have taken weeks, or months, to get something half as good out the door. @_pi0_ cooked so hard here, it's not even funny 🔥🔥🔥 Looking forward to seeing what people build on top of this!
unkernel.dev is absolutely unreal. It runs a full Linux kernal and distro in a browser tab. No tricks. The full thing. It can run coding agents, it can even run Chrome inside Chrome 🤯 and it's… fast!?
16
21
2
321
24,918
Nick Sweeting retweeted
unkernel.dev is absolutely unreal. It runs a full Linux kernal and distro in a browser tab. No tricks. The full thing. It can run coding agents, it can even run Chrome inside Chrome 🤯 and it's… fast!?
364
684
210
7,894
595,813
Nick Sweeting retweeted
I think SF should drink more. This tube contains an enzyme that helps prevent hangovers. I modified ZBiotics, making an open source version of a probiotic that breaks down acetaldehyde, the toxic compound produced when consuming alcohol.
141
72
53
2,105
209,740