Henrique Cardoso

887 posts

Henrique Cardoso banner
Henrique Cardoso

Henrique Cardoso

@hencf

Agentic engineer at @BSPKLuxury. I direct AI agents to ship production software. Ruby, Elixir, AI. Writing at https://t.co/7uEOOII3W3

Viana do Castelo, Portugal Katılım Kasım 2012
942 Takip Edilen419 Takipçiler
DHH
DHH@dhh·
I've been trying to tell people for twenty years that fixtures and avoiding rspec was where it was at. But no argument delivers this insight like letting AI do the conversion for you, and seeing the incredible performance improvements possible. NINE TIMES FASTER!
Igor Alexandrov@igor_alexandrov

I am (with Claude) working on rewriting the SafariPortal test suit from RSpec to Minitest. If you don't want to follow the whole story – I managed to go from 16 minutes 52 seconds to run 7003 examples to 111 seconds for 5698 runs and 19375 assertions. 9x times faster! (locally)

English
37
16
625
128.8K
Henrique Cardoso
Couple weeks ago I wrote about moving BSPK off Heroku as an agentic-engineering story. This week, the technical companion: Kamal, Terraform, 1Password for secrets, Caddy in front of kamal-proxy, the cutover playbook, and the bugs I spent the most time on. The one I'm still thinking about is the encrypted-attributes dance. SHA1-derived ciphertexts in the old database, SHA256 in the new Rails defaults. If you flip the setting, every existing row becomes unreadable. The fix is invisible if you do it right. hencf.org/blog/off-herok…
English
0
0
4
205
Henrique Cardoso
Henrique Cardoso@hencf·
I really like you're take here. Doing something similar for a new project and will try to apply this idea of multiple plugins (connectors in my case) to harness the software
Mitchell Hashimoto@mitchellh

AI slop is good, actually. Slop is what enables fast parallel experimentation. The etiquette and skill is understanding the boundaries of where slop exists and the extent to which it should be cleaned up and how. A few examples: I’m working on the internals of some system right now. The API and GUI of this thing is fully zero shame slop. It’s horrible. But it lets me focus on the core quality while shipping a usable piece of alpha quality software to testers (transparent about the slop frontend). Similarly, this system has plugins. We sent agents in Ralph loops overnight to generate dozens of plugins. The plugins are slop. The quality is bad. The plugin API/SDK is absolutely not done. But we can test a full GUI with a full plugin ecosystem. When we change the API, we can regenerate them all. The cost of change is just tokens, the velocity is incomparable to before. I built Terraform. We tested and shipped TF 0.1 with about 3 very weak providers. Because we ran out of time. Building was slow. And when we changed our SDK the cost was immense. Totally different today, 10 years later. Today, I would’ve slop generated 100 providers (again, with transparency and cleanup later, but just to prove it out). As an anti example, I would not PR this (without prior warning) to another project. I would not throw this onto customers without full review or transparency (as I’m already doing). I would not accept first pass slop. It’s almost never right. Slop is a tool. And like anything else it’s not blanket bad or good. The context is everything.

English
0
0
0
47
Henrique Cardoso retweetledi
Carmine Paolino
Carmine Paolino@paolino·
.@chat_with_work is now open. No waitlist, no manual invites. Sign up with Google and start asking questions about your Google Drive docs in seconds. You can connect Slack too. Other integrations coming soon. Note: Google may still show an “unverified app” warning while the OAuth verification/security review (CASA) is in progress. The app only requests read-only Drive access and never creates, edits, deletes, or shares your files. The hosted preview is free during review: 200 credits/month. chatwithwork.com
English
7
6
27
1.6K
Taelin
Taelin@VictorTaelin·
seriously, working with AI is MISERABLE for one and only one reason: having to re-explain the same thing "oh yeah this new session obviously doesn't know what proper case trees are, so let me explain it for the 5000th time in my life" I'm tired AGENTS.md doesn't solve this because it is impossible to fit the entire domain knowledge without nuking the context - it would be 1m+ tokens worth RAGs don't solve this, the agent won't search unknown unknowns SKILLs don't solve this unless I keep like a collection of 1750 skills with specific cuts of domain knowledge for each possible subset of my domain that I might need in a given chat, but that's a lot of manual work recursive LLMs or whatever don't solve this for the same reason, you can't dump a domain book and expect the AGENT will magically guess that it is supposed to search for a specific bit knowledge. unknown unknowns fine tuning doesn't solve this (OSS models suck and OpenAI / Anthropic gave up on user fine tuning) I honestly think a good product around fine tuning on your domain would be a major hit and an underdog lab should take this opportunity
English
668
180
3.5K
252.4K
Henrique Cardoso
Henrique Cardoso@hencf·
Two and a half months ago I started moving BSPK off Heroku to AWS. Mostly solo, no downtime, cost down 60%+, kept shipping features the whole time. I didn't write much of the code that did this. Wrote up what "agentic engineering" actually looked like for a real production migration, including the Caddy boot loop debug session that took five minutes instead of forty. hencf.org/blog/i-migrate…
English
0
0
0
85
Henrique Cardoso
Henrique Cardoso@hencf·
My kid kept asking me about Andy's dad in Toy Story. So I told him I'd write him a book about it. Built a Karpathy-style LLM wiki first, from a few dozen YouTube videos and articles about the Toy Story 0 fan theory. Then used that wiki to draft the book. Illustrations with Stitch, EPUB in beta, in his hands now. The wiki turned out to be the easy part. Once it was solid, writing was almost trivial. hencf.org/blog/llm-wiki-…
English
0
0
0
97
Henrique Cardoso
Henrique Cardoso@hencf·
Crazy. Who would apply to organize it? I would love to go to!
Greg Molnar@GregMolnar

Linus Torvalds said Ruby people are weird and he is right. But you what's also weird? @euruko. I attended this conference for the first time last year and just learned that it is totally community driven. Every year, it is organized by someone else. At the end of every edition, the some of the attendees present a pitch for the next edition and the community votes. They hand over the gong and the baton is passed over to the next organizer. Crazy, isn't it? 2026.euruko.org

English
1
0
3
306
Henrique Cardoso retweetledi
Greg Molnar
Greg Molnar@GregMolnar·
Linus Torvalds said Ruby people are weird and he is right. But you what's also weird? @euruko. I attended this conference for the first time last year and just learned that it is totally community driven. Every year, it is organized by someone else. At the end of every edition, the some of the attendees present a pitch for the next edition and the community votes. They hand over the gong and the baton is passed over to the next organizer. Crazy, isn't it? 2026.euruko.org
English
6
11
71
3.7K
Henrique Cardoso retweetledi
Amanda Brooke Perino
Amanda Brooke Perino@AmandaBPerino·
The Rails World website, CFP, Rails at Scale application, and Corporate support tickets are live. We can't wait to see what talks and workshops you have in mind. Huge shout out to @wyeworks for getting this made and shipped!
Ruby on Rails@rails

The Rails World 2026 website is live thanks to the hard work and support of our sponsor @wyeworks. And most importantly, the CFP is open! Check out our latest #RailsWorld update here and apply to speak by May 16: rubyonrails.org/2026/4/23/big-…

English
1
5
45
5.6K
Henrique Cardoso retweetledi
DHH
DHH@dhh·
Rails World is coming to Austin, Texas in 2026. With last year selling out in mere minutes, we've made it bigger than ever with room for 1,200 developers! Corporate support tickets are on sale now, general admission will open May 12. CFP is open now too! rubyonrails.org/world/2026
DHH tweet media
English
13
15
218
34.9K
Henrique Cardoso retweetledi
Carmine Paolino
Carmine Paolino@paolino·
I made Solid Queue fiber-based. Threads need one DB connection each: they can all query concurrently. Fibers share one connection because only one runs at a time. 100 concurrent jobs: threads: 102 db connections fibers: 3 db connections Plus 20% faster on real LLM streaming workloads. PR is up on rails/solid_queue. paolino.me/solid-queue-do…
English
16
45
249
17K
Henrique Cardoso retweetledi
Henrique Cardoso
Henrique Cardoso@hencf·
A customer reported a Stripe button that didn't work. I checked Solid Errors. The click itself wasn't logged anywhere. Just duplicate-creation errors from them clicking again. Turbo submits forms via fetch. Fetch can't render a cross-origin response. My redirect to Stripe was silently dropped. No error, no log, no stack trace. Wrote up the full story, the audit that followed, and why three separate things had to line up for the bug to exist at all. hencf.org/blog/turbo-ate…
English
0
0
7
1K
Henrique Cardoso
Henrique Cardoso@hencf·
Pointed Claude Code at 600 books to test Karpathy's LLM Wiki idea against RAG. Six days later, 679 pages with 6,000+ cross-references. The concept page on reincarnation synthesizes 36 different sources. The first attempt was garbage though. Claude skimmed instead of reading and wrote fluent, well-structured pages from training data. Completely generic. The fix: read every single chunk. Expensive, but the output compounds in a way retrieval never will. hencf.org/blog/karpathy-…
English
0
0
2
58
Henrique Cardoso retweetledi
Tesla Europe, Middle East & Africa
De toekomst van mobiliteit is aangebroken FSD Supervised has been approved in the Netherlands 🇳🇱 & will begin rolling out in the country shortly!  Trained on billions of kilometers of real-world driving data, it can drive you almost anywhere under your supervision – from residential roads to city streets & highways No other vehicle can do this.  We're excited to bring FSD Supervised to more European countries soon
English
1.3K
3.2K
16.4K
35.3M