Álvaro Agámez Licha retweeted
I've got an agent in a loop optimizing a renderer with the goal to minimize frame times (and tests to measure). It got times down from 88ms to 2ms and allocations down from ~150K to 500. Sounds good, right? Wrong. This is exactly why agent psychosis is a big fucking problem.
As an experiment, I rewrote the Ghostty core render state in Go, with access to identically laid out data structures as Ghostty and the exact same validation tests. I made a purposely naive renderer (simple, correct, but slow). 88ms per frame with 150,000 allocations (horrendous, lol)!
I then kickstarted a Ralph loop to bring the frame times down. I told it it can't modify input data structures or the public API or tests (they're correct), but it can do anything else it wants. It got to work.
It has worked for about 4 hours. I've spent around $350 on this experiment so far. The results?
88ms => 1.5ms
150K allocs => ~500 allocs
Incredible right? Nope.
My hand-written renderer I ported has frame times (same benchmark) of ~20us (0.020ms) and 0 allocations in the update path.
This is the problem with psychosis and lacking systems understanding. If you don't understand the system, you're going to accept that this is an incredible result. If you understand the system, you'll see better solutions immediately and can do roughly 75x better on throughput.
The people who blindly trust agent output are in the former camp. They're sheeple, overdrinking from a fountain of mediocrity.
Standard disclaimer: I use AI all the time. I like AI. The point I'm making is to not blindly accept results. Think. Analyze. Learn.
Echos Of The Nakba youtu.be/FtqQrUJ4Ch8?si=IFas… via @YouTube
This is my very first song, please take a look and if you like it, please share it and leave your feedback and comments.
Álvaro Agámez Licha retweeted
In the next version of Bun
Bun's frontend dev server gets "automatic workspaces" support in Chrome DevTools, so you can edit files in the browser.
Álvaro Agámez Licha retweeted
yeah unfortunately, URLPattern is slow by design. We’ve been reluctant to support it in Bun because APIs that look nice & make your application slower are footguns
Node.js is adding the URLPattern spec, but you should not be using it to route HTTP requests on the server!
adventures.nodeland.dev/arch…
Álvaro Agámez Licha retweeted
Downloading 7,000 24 KiB files in parallel from S3 in us-east-1
left: Bun v1.1.44 with Bun's S3 client
right: Node v23.6.0 with AWS SDK v3
Álvaro Agámez Licha retweeted
In the next version of Bun
Bun gets first-class support for S3. Upload, download, stream, and presign with 0 dependencies

ALT import { s3, file, write } from "bun"; const svg = s3("logo.svg", { accessKeyId: process.env.S3_ACCESS_KEY, secretAccessKey: process.env.S3_SECRET_KEY, endpoint: process.env.S3_ENDPOINT, bucket: process.env.S3_BUCKET, }); // Upload a local file to S3 await write(svg, file("./logo.svg")); // Upload a Response to S3 await write( svg, await fetch("https://bun.sh/logo.svg") ); // Download from S3 as text const text = await svg.text(); // or .json(), .bytes(), etc // Presign a URL const url = svg.presign(); console.log(url);
Álvaro Agámez Licha retweeted
Chat is essential. Code generation is powerful. Iteration is key.
Copilot Edits experience gives you a completely new way to work with AI. Iterate on working sets in chat and get code generation across multiple files. It will even create files you need that don't yet exist.
code.visualstudio.com/blogs/…
Álvaro Agámez Licha retweeted
Some engineering principles I live by:
✓ Make it work, make it right, make it fast
✓ Progressive disclosure of complexity
✓ Minimize the number of concepts & modes
✓ Most 'flukes' aren't… your tech just sucks
✓ Feedback must be given to users instantly
✓ Maximize user exposure hours
✓ Demo your software frequently to fresh eyes
✓ Sweat every word of product copy you render
✓ You're never done working on performance
✓ You're never done. Software ages like milk, not wine
✓ Visualizing traces of time is the best way to optimize it
✓ Ship frequently and strive to build in public
✓ Errors must have globally unique codes & hyperlinks
✓ Red is not enough to signal "error" (8% of men have red-green color blindness)
Álvaro Agámez Licha retweeted
WebAssembly (Wasm) is emerging as a secure and portable alternative to containers. Learn how to retrieve and deploy WebAssembly components easily with Open Container Initiative (OCI) registries: msft.it/6013m5L1c
Álvaro Agámez Licha retweeted
[Corrected version]
We set out to explore the state of SSR performance across today's most popular libraries.
Let’s unpack the results and the corrections from our last version.
Álvaro Agámez Licha retweeted
react andies on there way to rewrite their apps every 6 months to match the new "best practice"
Álvaro Agámez Licha retweeted
🤔 Understanding the difference between 401 Unauthorized and 403 Forbidden errors is crucial for devs and security experts
cerbos.dev/blog/401-vs-403-e…
☑Causes behind each error
☑How to troubleshoot & resolve these issues
☑Best practices to avoid these errors
#Cerbos #401vs403
Álvaro Agámez Licha retweeted
it is with great sorrow that I am compelled to report that the situation is far more dire than we previously suspected
Álvaro Agámez Licha retweeted
Linux when? Linux now. 🎉🐧
For the last 6 months, our team and our open source community have been working hard to bring Zed to Linux.
As of today, we've released our first, official, stable build of Zed on Linux!
zed.dev/linux






















