
SVP Eng at Sprive, London. Ex-Blinkit, BharatPe. After hours I build https://xitter.gq/t.co/j1Px7AG3xn, https://xitter.gq/t.co/lr92rYwRr9, https://xitter.gq/t.co/KnrdW0nmyG, https://xitter.gq/t.co/91FNwgXpYj, https://xitter.gq/t.co/NjdubQJvkN, https://xitter.gq/t.co/RTQ77c81ID and more.
London · India
Joined April 2012
- Tweets2.8K
- Following249
- Followers367
- Likes6.8K
Krish retweeted
Nov. 18, 2026, 5:16am EST
The Voyager 1 spacecraft has reached a distance of one light-day from Earth.
Krish retweeted
System Design Interview Problem: Long-Running AI Agent
Problem Statement:
Design an AI agent that can execute complex workflows lasting several hours or days without losing progress, even when workers crash, services fail, or the system restarts.
Functional Requirements:
- Break complex tasks into smaller subtasks and execute them asynchronously.
- Persist workflow state and resume interrupted workflows from the last checkpoint.
- Retry failed tasks and prevent duplicate execution.
- Support pause, resume, cancellation, and human approval.
- Track execution history, task status, and results.
Non-Functional Requirements:
- High availability and fault tolerance.
- Durable state storage with no loss of committed progress.
- Horizontal scalability for millions of workflows.
- Reliable execution with controlled duplicate prevention.
- End-to-end observability and secure tool execution.
Scale & Constraints:
- 1M active workflows.
- 100k concurrent task executions.
- Workflow duration: minutes to several days.
- External APIs may fail or respond slowly.
- Workers may crash or restart unexpectedly.
How do you recover an agent from a crash without losing progress or repeating expensive actions?
Krish retweeted
One of the most counterintuitive thing I've found out recently is that sqlite can actually more performant than redis at key value lookup especially when you don't have that many concurrent processes opening the sqlite table
Krish retweeted
A database transaction doesn't guarantee consistency across your entire application.
It only protects operations within its transaction boundary.
Bring Redis, message brokers, or external APIs into the picture, and things get interesting.
Krish retweeted
- Claude for coding.
- Supabase for backend.
- Vercel for hosting.
- Namecheap for domains.
- Stripe for payments.
- GitHub for code.
- Resend for emails.
- Clerk for authentication.
- Sourcify for analytics.
- Cloudflare for DNS.
- ChatGPT for everything else.
One person can literally build and launch a startup from their bedroom now.
What's your excuse bro?
Krish retweeted
I run about 20 AI agents at once on one Mac to build my game.
This week they crashed it twice. One waited 65 min for the GPU, then messaged the lead agent asking for a turn lol
Claude Code @claudeai + @GodotEngine
Code is the easy part now. Every fix below (1/8)
Krish retweeted
Sine wind sways every blade in step. A wind field remembers where air was pushed: a blast spreads out, a rolling rock leaves a wake, a vortex swirls and then fades.
Watch the right half 👇
▸ The problem
Most grass wind is one sine wave plus noise. It looks fine until something happens in the scene. An explosion, a character running through, a spell: the grass ignores it, or each effect gets its own one-off bend code that knows nothing about the others.
▸ How it works
The source (a Unity project) keeps a small 3D grid of wind velocity around the camera, 32 x 16 x 32 cells of 1 m, and updates it every frame:
1. Shift: when the camera moves a whole cell, the grid's contents slide so the wind stays put in the world.
2. Diffuse: each cell moves a little toward the average of its 6 neighbours (factor 0.00335, 3 passes).
3. Motors: effects add velocity. Omni pushes outward, directional pushes one way, vortex spins around an axis, moving pushes along its path.
4. Advect: the velocity carries itself along, forward and then backward.
5. Grass samples the grid at its root and bends: the bend angle grows with wind strength, up to 72°.
There is no damping term. Wind fades by spreading thin, and values below the fixed-point step (1/4096) are cut to zero.
▸ What I hit
The source writes advection with compute shaders and atomic adds: each cell scatters into the cells it moves to. WebGL2 has no compute shaders and no atomics, so every pass is a fragment shader rendering into a float texture, ping-ponged between two. I rewrote both advection passes as gathers: each cell reads the neighbours within 2 cells that could have sent it velocity. That matches the scatter as long as nothing moves more than 2 cells in one step, and at these settings nothing gets close.
▸ My build
three.js 0.170, WebGL2. The 3D grid is a 256 x 64 float texture holding the 32 slices as tiles. Seven passes per step at 60 steps per second. 110,000 instanced blades read the field in the vertex shader with the source's bend formula.
Both halves of the video see the same three events. In my run, with no motors left, the average wind speed fell from 0.33 to 0.05 within 7 s and to zero within 17 s.
▸ Trade-offs
+ Any number of effects share one cheap grid instead of each bending grass itself
+ Wind lingers and spreads, so effects leave traces after they end
- 1 m cells: detail smaller than a cell is lost
- Only covers 32 m around the camera; outside it the grass gets ambient wind only
- Several full-grid passes per frame, every frame
- I rendered on a software GPU, so no timings
▸ When to use it
Open scenes with lots of grass, cloth or particles where gameplay events should visibly disturb the air. For a static backdrop, a sine wave is enough.
Noxe Pixel Engine
Noxe Pixel Engine renders interactive 3D dioramas as pixel art in the browser using three.js.
It includes 8 scenes with adjustable time of day, rain, snow, fog and storms. Models and sounds are generated procedurally, with no image, model or audio files to load.
Frames are rendered at low resolution, then processed with depth outlines, glow, colour quantization and ordered dithering before pixel scaling.
It exports scenes as 60 fps MP4 clips with synchronized audio using WebCodecs.
github.com/danieljan-design/…
Krish retweeted
Intel put so much pressure on us at Microsoft to use MMX instructions. First at the compiler level then "please just add some __asm to Office and Windows." It was dumb.
They used to explain how pasting an image into PowerPoint would be faster with MMX.
Linux is about to drop the last piece of code it carries for 1990s Pentium MMX chips.
MMX was Intel's 1997 instruction set for multimedia work, and SSE and later sets replaced it long ago. Eric Biggers of Google posted a three-patch series that removes the MMX versions of the software RAID XOR and RAID6 code. It deletes 837 lines.
In his words: "This was the only remaining MMX optimized code in the kernel." He also notes there are "zero MMX optimizations for anything else, like crypto or CRC, which left the RAID code as an outlier."
Pentium MMX and Pentium II machines keep working. They just fall back to the "well-tested scalar code."
The series is in Andrew Morton's mm tree and is expected in Linux 7.5 in 2027.
Fixes are available for CVE-2026-109518, a High severity vulnerability in APT, the package manager used in Debian, Ubuntu, and derivative Linux distributions. The CVE has a CVSS 4.0 score of 7.7.
Remediation details are available on our blog.
ubuntu.com/blog/apt-vulnerab…
Krish retweeted
Discord is ditching Electron and its new app uses less RAM 🙏 Discord is moving its apps fully over to the Rust programming language. Details 👇 theverge.com/news/1027379/di…
Krish retweeted
Generative UI for conversational agents.
Combining @aisdk with Chat SDK and 𝚓𝚜𝚘𝚗-𝚛𝚎𝚗𝚍𝚎𝚛, you can go straight from LLM to UI on platforms like Slack and Teams.
I believe this will become the dominant Human-Agent Interaction (HAI) paradigm:
vercel.com/changelog/json-re…
Krish retweeted
Since 1985, your computer has asked the network what time it is and simply believed the answer.
Meta's public time service now speaks NTS (Network Time Security, RFC 8915) at nts.meta.com. Every packet is authenticated, so a device can verify the time came from us and wasn't modified in transit. It’s free, public, and open source.
Read the full technical write-up on our Engineering Blog: engineering.fb.com/2026/10/0…
Krish retweeted
What’s going to happen to open source?
A prediction:
Dependencies are over.
The same Brotli vulnerability impacted .NET, Node, Bun, Envoy and more. Dependencies are too big of a target.
When rewriting a dependency is one prompt away, why take the risk?
Krish retweeted
Asimov 1 is an open-source humanoid robot you can build, train, and customize.
- 1.2 m tall, 35 kg
- 25 powered joints
- Open hardware with off-the-shelf parts
- Open-source SDK and simulation models
Available as a DIY kit.
Order yours at menlo.ai/order
Krish retweeted
I'm begging you to try systems programming.
I built tiny AWS - a cloud using no Docker, no VMs, just 10,000 lines of Golang and Rust code with this same mindset. Tiny AWS is legit just cli, and not even React or NextJS codes.
Stop spending all your time learning another framework, another library, another abstraction. Go figure out what actually happens underneath.
- Write your own memory allocator.
- Build an operating system kernel.
- Implement a TCP stack.
- Write a compiler.
- Build a database engine.
- Understand how Linux schedules processes, manages memory, handles interrupts, and talks to hardware.
Learn C. Get your hands dirty with Rust. Read source code. Read the Linux kernel. Break things. Spend time debugging a segmentation fault because you forgot how pointers work.
And then experience the satisfaction of finally understanding WHY something works, instead of just knowing WHICH API to call.
We're entering an era where AI can generate thousands of lines of code in seconds. Frameworks are getting easier. Abstractions are getting higher. The barrier to shipping software is collapsing.
But here's the interesting part:
The easier it becomes to generate code, the more valuable it becomes to understand what's happening underneath it.
Anyone can ask an AI to build an application.
But can you explain WHt happens when a process gets created? How memory is allocated? What happens when a packet travels through a network? Why a database quEry becomes slow?
Can you debug something when the abstraction leaks and the documentation stops helping?
That's the difference between knowing how to use technology and understanding how to engineer it.
You don't need to become a kernel developer. You don't need to abandon web development. And you certainly don't need to reinvent everything.
Just spend some time building things that force you to think.
Because there's something incredibly beautiful about programming when you stop treating computers as magical boxes that execute your JavaScript.
Don't just learn to build software. Learn how the machine works.
I'm telling you, try systems programming at least once.
The only repeated redirecting prompt I typically type or dictate from here is "could this be simpler?". Yields improvements every time. Seems like it should be part of the model system prompt by now.
Krish retweeted
‼️WARNING - OpenSSH issues emergency fix for a critical SSH authentication bypass on Alpine Linux.
A password longer than 256 bytes can unlock key-only accounts on affected servers, without knowing the actual credentials.
Here's how it works ↓ thehackernews.com/2026/11/op…
Krish retweeted
12 years ago I founded Boom, as a software engineer doing hardware for the first time. I’m probably the least handy founder in hard tech. My 12 y/o son does my soldering and 3D printing for home projects, and I’ve struggled with imposter syndrome the whole way through. What business does a software guy have building supersonic jets and turbines?
More than a decade in, the most insane realization is that software is the key to reaccelerating hardware engineering. But in a way that I don’t think is widely understood or implemented, even in the burgeoning hard tech community.
Most hardware engineering is actually software engineering in disguise. It’s spreadsheet “code,” engineering calculations done as one-offs. Eg wing structural loads in, spar sizing design out. Thermal loads in, air conditioning system sizing out.
Everything is a calculation, and calculation is software. But these calculations are done essentially by hand, as if we are doing arithmetic but have not yet discovered algebra.
Hardware engineers have baby software, built in spreadsheets, the kind of crappy software I wrote as a kid before I understood architecture, unit tests, APIs, version control, and everything else that makes modern software good.
Our airplanes and engines are built with the software sophistication of a script kiddie.
So what we tell our engineers: don’t design the hardware, design the *algorithm* for designing the hardware. And take the algorithm seriously—as an algorithm and as a first-class engineered software system.
Never design a piece of hardware, such that you couldn’t redesign it tomorrow with a different set of assumptions.
This all sounds obvious, yet our experience at Boom is that it changes everything.
Ten years ago we couldn’t afford to build much software. We had a small team—and there were few software engineers with the curiosity, brilliance, and vision required to learn hardware engineering.
But now AI changes the equation. Now everyone can code. The software engineers define the architecture. The hardware people bring the physics and engineering know-how.
We have a turbomachinery design tool that lets one engineer do in realtime what previously took 100 engineers six months. Another tool auto-generates 65% of entire aircraft structure. I’m sure we’ll figure out the other 35% too. Eventually these should not be multiple tools, but one integrated physics model of a complete vehicle, airframe and powertrain.
The results speak for themselves. A boomless supersonic airplane built by 50. A full scale supersonic turbine made by 150. And with this approach, I don’t think we’ll need that many more people to build and certify a supersonic airliner.
You don’t need a big team to build big things—not when everyone on the team is a software engineer.
Krish retweeted
Earlier this week Tristan published his top YouTube channels:
thume.ca/2026/11/01/youtube-…
Which looked excellent so clearly I had to turn it into TristanTube:
karpathy.ai/tristan-tube/
47K super nerdy videos +TV mode for laid back watching. (One-shotted with Claude Code in 3 minutes)
Weekend hack: HackerTube. I was annoyed with YouTube's recommendations so I had Claude filter down 43M comments over 20 years of HN to 6,454 videos that keep being recommended. *Significantly* better viewing experience, ~2 hours with Opus 5.5:
hackertube.org/
- Excellent recs without any logins (state is kept in local browser session)
- Thumbnail is a representative frame from middle of the video instead of the super duper A/B test hyper-optimized user uploads
- Underlying data from the comment analysis as one zip file, point your Claude at it and ask for your own version
- HackerTube Longs ✊
A bit more on the process:
I use Claude Code (desktop app for Mac), Opus 5.5 on Medium effort as my default. I only talk to Claude and have it do everything, the only "manual work" I helped with in tandem was in the browser (reminiscent of MenuGen): 1) I had to create some kind of API key from Google Cloud UI to query YouTube for video metadata, 2) I booted up a VPS box for serving and 3) I bought the domain name. Once the box was up I gave Claude the IP and told it update, secure, harden, deploy and optimize the code, and it did the whole thing.
Many awesome projects that would have normally taken weeks/months even can now be few-shotted for breakfast. What else are we not thinking of.

































