
Facundo J Gonzalez retweeted
Introducing gdp-ts: Ghosts of Departed Proofs for TypeScript.
gdp-ts is a library, linter and AI skill for safer API design. Under this contract, sensitive functions require 'proofs' that the caller performed an authorization check.
The typechecker verifies these proofs at compile time, preventing your team and agents from shipping catastrophic security (and other kinds of) bugs.
While these patterns have existed for quite some time, especially in ecosystems like Haskell, ① human code review and ② cognitive and syntactic overhead made these solutions niche.
The situation is now inverted. Agents are writing more code than we can review, and they *thrive* in tight loops with hard constraints that would frustrate us. We see this with the rise of Rust, borrow checker, code aesthetics debate and all.
The README and examples model a real-world Vercel API product constraint: changing the password on a Project requires a proof of a certain role + a certain entitlement. Thanks to Matt Noonan and Ollie Charles for their research in this space.
github.com/rauchg/gdp-ts
Facundo J Gonzalez retweeted
We're open-sourcing Rebalancer, the assignment-problem solver Meta has used for resource allocation across our infrastructure for over nine years.
Given a set of objects and a set of bins, Rebalancer assigns one to the other to optimize your objectives under your constraints, including hardware placement, service and task placement, traffic routing, and more. It separates how a problem is specified from how it's stored, solved, and debugged, with both an optimal MIP solver and a parallelized local search solver.
At Meta it solves ~40 million assignment problems a day across 30+ problem formulations. P99 solve time is 12 seconds on a problem with 265k objects and 3.2k bins.
🔗 Read more on our engineering blog: engineering.fb.com/2026/09/2…
everything i know about managing agents i learned from the amazing programmers and computer scientists that came before
constraints in your codebase are freeing for both humans and agents! this has always been true, but if you were a small dev team you likely never had to think that deeply because you could trust your fellow programmers to write code and review well
but large companies have had to solve this problem since even before agents. because before you had agent slop, you had human slop. lots of engineers wrote bad code out of necessity (eg backend engineer forced to write frontend or reverse). the solution to this was constraints: lint rules, smarter compilers and diagnostics, high quality tests, investments into observability, and so on
the arrival of agents just means that big company problems are now everyone's problems. the good news is that none of this is really that novel: it's just good engineering
youtube.com/watch?v=GqmsQeSz…
Facundo J Gonzalez retweeted
OpenClaw deleted around 400k LOC of its own tests without much change in code coverage. Modern models just love writing tests for every tiny change, even if they aren't useful. This skill helped. github.com/openclaw/openclaw…
don't be lazy: write your claude.md by hand. yes, no AI!
highest leverage doc in your repo, so spend time on it!
more on what a good claude.md file looks like: humanlayer.dev/blog/writing-… by @0xblacklight & @dexhorthy
Facundo J Gonzalez retweeted
Absolutely essential reading blog.julik.nl/2026/01/go-fas…
Facundo J Gonzalez retweeted
So Python 3.14 finally came out for real yesterday. Finally removing the GIL (global interpreter lock), which allows for way faster multithreaded code without dealing with all the brain damage and overhead of multiprocessing or other hacky workarounds. And uv already fully supports it, which is wildly impressive.
But anyway, I was a bit bummed out, because the main project I’m working on has a massive number of library dependencies, and it always takes a very long time to get mainline support for new python versions, particularly when they’re as revolutionary and different as version 3.14 is.
So I was resigned to endure GIL-hell for the indefinite future.
But then I figured, why not? Let me just see if codex and GPT-5 can power through it all. So I backed up my settings and asked codex to try, giving it the recent blog post from the uv team to get it started.
There were some major roadblocks. I use PyTorch, which is notoriously slow to update. And also pyarrow, which also didn’t support 3.14. Same with cvxpy, the wrapper to the convex optimization library.
Still, I wanted to see what we could do even if we had to deal with the brain damage of “vendoring” some libraries and building some stuff from scratch in C++, Rust, etc. using the latest nightly GitHub repositories instead of the usual PyPi libraries.
I told codex to search the web, to read GitHub issue pages, etc, so that we didn’t reinvent the wheel (or WHL I should say, 🤣) unnecessarily.
Why not? I could always test things, and if I couldn’t get it to work, then I could just retreat back to Python 3.13, right? No harm, no foul.
Well, it took many hours of work, almost all of it done by codex while I occasionally checked in with it, but it managed to get everything working!
Sure, it took a bunch of iterations, and I had to go tweak some stuff to avoid annoying deprecation warnings (some of which come from other libraries, so I ultimately had to filter them).
But those libraries will update over time to better support 3.14 and eventually I won’t need to use any of these annoying workarounds.
Codex even suggested uploading the compiled whl artifacts to Cloudflare’s R2 (like s3) so we could reuse them easily across machines, and took care of all the details for me. I would never think to do that on my own.
Every time there was another complication or problem (for instance, what is shown in the screenshot below), codex just figured it out and plowed through it all like nothing.
If you’ve never tried to do something like this in the “bad old days” prior to LLMs, it was a thankless grind that could eat up days and then hit a roadblock, resulting in a total wipeout.
So it was simply too risky to even try it most of the time; you were better off just waiting 6 or 9 months for things to become simple again.
Anyway, I still can’t really believe it’s all working! We are living in the future.
Facundo J Gonzalez retweeted
you should set an aggressively low Postgres statement_timeout from the outset of building your application and get used to improving performance to stop queries getting killed. killing poorly performing queries is an easy way to bake in resilience and ward off downstream issues.
Facundo J Gonzalez retweeted
trying a TDD + git workflow @TaskmasterAI
→ test-driven development
→ github branch for each task
→ commit + test each subtask once done
→ push PR when task is feature complete
→ full code coverage
→ nearly autopilot
will polish and ship as rules first then as a feature
Facundo J Gonzalez retweeted
We at @tursodatabase rewrote our API in Go, using AI. And the results are great.
Recently, I gave the team a mandate: the Turso Cloud had to scale to a billion databases. I also sent a memo: everything we do now, must be done by AI.
To scale to that level, we replaced our API that was written in Go in a way that sucks, by Go code that doesn't suck.
And to abide by the A.I. mandate, I asked Avinash (@iavins) to do it, using Avinash's Intelligence.
The results? Even though there's more work to do, our API is now ready for the challenge.
All the hot deets here: turso.tech/blog/we-rewrote-l…
Facundo J Gonzalez retweeted
⚡ Introducing PlanetScale Metal ⚡
- Blazing fast NVMe drives
- Unlimited IOPS
- Drastic reductions in latency
- And best price:performance ratio of any database available in AWS or GCP
Facundo J Gonzalez retweeted
Thrilled to announce... devblogs.microsoft.com/types…
Facundo J Gonzalez retweeted
In 2015, Notion was on the brink of bankruptcy.
So the founders escaped to Japan for 2 years…
Today, Notion is a $10B empire that Google, Microsoft & Apple envy and can't survive without...
Here are the 3 philosophies they found in Japan: 🧵
Facundo J Gonzalez retweeted
El viernes me robaron el celular desbloqueado en Palermo. Gracias a que estaba preparado para este escenario, no pudieron hacer absolutamente nada con el mismo (ni formatearlo). Van un par de recomendaciones simples que les evitarán un dolor de cabeza si algún día les sucede. 👇
🚀 "Learn you a concurrency for great interleaving!"
Breaking down concurrent programming with real-world analogies (like making breakfast! 🍳) and practical examples. A beginner-friendly guide to why concurrency matters.
blog.gonzalezfj.com/posts/co…
#Programming #Concurrency
69
Facundo J Gonzalez retweeted
yes i have created my own virtual machine with its own assembly language to implement my own linked lists for the next video
Facundo J Gonzalez retweeted
Confused by Docker image options for Node.js? Dealing with huge containers and noisy vulnerability scans?
Been there, too! 🙈
Check out my tutorial on choosing the optimal Node.js base image for your app:
labs.iximiuz.com/tutorials/h…
Facundo J Gonzalez retweeted
Seriously, I never thought software could be that cute!🥰😉
github.com/tigerbeetle/tiger…




























