My dear front-end developers (and anyone who’s interested in the future of interfaces):
I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept):
Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow
Ralph may be the most important thing to learn in AI right now.
Someone used this technique to deliver an entire contract that would have cost $50,000 to outsource. Total API costs: $297. At a Y Combinator hackathon, teams shipped 6 working repositories overnight using the same approach. Geoffrey Huntley, who invented this, built an entire programming language over 3 months while barely touching his keyboard.
Ralph is a bash loop that runs an AI coding agent repeatedly until a task is done. That’s it. While you sleep, while you eat dinner, while you do anything else, the loop keeps going. It picks up a task, builds it, checks if it works, saves the progress, picks the next task. When you wake up, features are finished.
Why this works when normal AI coding fails: most people open Cursor or Claude with a vague idea and no structure. 45 minutes later they’re fixing the same bug for the third time. The AI forgot what they were building. The context got polluted. They’re frustrated and nothing shipped.
The problem is task size. One feature has 20 pieces. The AI tries to hold all of them at once. It can’t. It hallucinates. It contradicts itself. You end up babysitting.
Ralph fixes this by breaking work into pieces small enough that the AI finishes each one before it forgets what it’s doing. Each loop iteration starts fresh. Clean context. No accumulated confusion. Memory persists through git commits, a progress file, and a task list. The AI reads what happened last time, learns from mistakes, picks the next task.
The workflow:
Step 1: Describe what you want in plain language. Talk for 2-3 minutes. “I want users to filter tasks by priority. High, medium, low. A dropdown with all three options plus ‘all’. Selecting one filters the list immediately.” Then tell the AI to convert your rambling into a formal requirements list.
Step 2: Break requirements into atomic tasks with binary success criteria. Good: “Add a priority column that defaults to medium.” Bad: “Make it work well.” The AI needs to know when it’s done without asking you. Pass or fail. Yes or no.
Step 3: Run the loop. Ralph grabs a task, builds it, runs tests, commits if it passes, moves to the next one. You set a limit (10 rounds, 14 rounds, 20 rounds). It runs until everything passes or hits your limit.
The math is brutal. A typical Ralph run: 10 iterations, roughly $30 in API costs. A senior developer costs $400-600 per day fully loaded. If Ralph gets you 90% there and you spend an hour on cleanup, you just converted an 8-hour workday into 1 hour plus $30.
That’s $500+ of labor arbitrage per feature. Compound that across a month of building.
Ralph can replace the majority of outsourcing for greenfield projects. The technique is “deterministically bad in an undeterministic world,” meaning when it fails, it fails predictably. You tune it like a guitar. When Ralph screws up a specific way, you add a guardrail to the prompt. The failures become instructions.
The real shift is in role. You stop being the person who writes code. You become the person who writes requirements, defines acceptance criteria, and reviews output. Product designer, not engineer.
“Software development as a profession is effectively dead. Software engineering is more alive than ever.” The people who understand systems, architecture, requirements, and quality will thrive. The people whose value was typing code faster are already obsolete.
The gap forming right now: builders who know Ralph are shipping 5-10x more than everyone around them. Nobody understands how. The technique is free and open source. The barrier is just knowing it exists and spending 30 minutes to understand the pattern.
Three months from now this will be in every YouTube tutorial and paid course. The window is right now, while most developers are still prompting Claude one function at a time and wondering why AI “doesn’t work for them.”
https://t.co/Z3WtUel1uH
📣Announcing the first preview releases of Swift for Android, enabling you to build Android business logic with the same Swift that you use for Apple platforms. https://t.co/UAR6LO3prQ #Android
🇧🇷 It turns out @markmanson was mostly right about Brazil
Over the last 2 years my Brazil ETF lost 16%, so I sold it
I also visited Brazil many more times (most recent just a few weeks ago) and while I still love it a lot, I think the problems are just a lot deeper than I thought on my first trip
Most Brazilians I meet are actively trying to leave the country, either moving to Europe or the US
The other Brazilians I meet who want to stay are often quite delusional about their country: thinking it's a great place to invest (they gladly overlook that the Brazilian Real currency is almost ALWAYS decreasing in value compared to USD, "but why would you need USD if you live in Brazil?"). Many literally do not realize they are getting poorer and poorer every year, not so much domestically but definitely internationally, due to their currency.
The legacy of Spanish/Portuguese conquest in Latin America has left such strong echoes of corruption that are hard to escape even today
Maybe the bigger problem is that one side of the country that don't have money will keep voting people in to power that promise free money, and you see that all over South America repeatedly
Which is why Javier Milei was such a great thing to happen to Argentina
But then there ARE people trying to improve it, like David Vélez, the founder of NuBank, the Brazilian Revolut, who somehow managed to create a modern fintech in a country full of corruption (how? I have no clue)
Brazil does feel much more modern than Europe (but then what doesn't these days?), there's actually startups, the AC works, there's the payment system Pix, service and food quality is top-tier here etc.
Yet the endless issue with Brazil is that it's just not safe, and it probably will never be. Again here you think "there must be an easy fix?". But then you realize that the Brazilian cartels are already infiltrated in each layer of society up to the Senate and president (aka a "narco state"). How much influence they have, who knows, but many think they have some
And you can escape the safety issue, a bit. You can move south. South Brazil is much safer. Curitiba is one of those cities where you see many people from Rio and Sao Paulo move out once they have kids and don't wanna be robbed at gunpoint anymore. And yes Curitiba is safe. Still dangerous though.
Brazil is always "slightly" different than the other countries in South America, because it's Portuguese, and their culture really is a lot different. And in many ways it's more like the United States than South America. But it's also not so different from the other countries in South America. It's the same corruption, the same security issues, the same never ending bullshit.
And for many Brazilians it's easier to just GTFO and go elsewhere than muddle through the quicksand that is building a life in Brazil
One interesting thing I see is that some of the "rich" Brazilian Instagram influencers are now trying to speak in American English (with a super obvious thick accent) and one woman I saw even acts like she's American but she's not? Which I assume must be some shame of being associated with Brazil?
Which brings me to the extreme rich poor divide you see in Brazil. As a foreigner at my gf's grandma party, I practice my Portuguese and proudly tell I have been a big fan of Baile Funk listening it when @diplo started doing mix tapes of it around 2003. I'm quickly told it's better not to talk about the favelas with grandma. Which is funny of course. But also then I think that's interesting right? There's such a divide here between North and South and rich and poor. I don't think people in Brazil are racist at all though, they're so mixed, it's practically impossible to be. But they're highly classicist. A lot here is about wealth classes
Many of these structural issues are just sad because apart from that it's such a beautiful country with honestly some of the nicest people I've ever met. Easily up there with Thai and Filipino, and again so similar!
I hope Brazil can make it but just like many of the Brazilians who leave, I simply don't have the patience to wait my whole life for that, that is if it ever even happens at all?
🇧🇷 Ordem e Progresso 🇧🇷
I'll keep hoping for progress...
(The motto "Ordem e Progresso" (Order and Progress) on the flag of Brazil is inspired by Auguste Comte’s motto of positivism, "Love as the beginning, and order as the base; progress as the end.")
After a year of scientific scrutiny, a rock sample collected by the Perseverance rover has been confirmed to contain a potential biosignature. The sample is the best candidate so far to provide evidence of ancient microbial life on Mars. https://t.co/0BAO1dhMG8
🧵 Dossiê Emília Corrêa – A prefeita do PL que transformou Aracaju num feudo familiar
Existe uma gestão investigada em nepotismo, rachadinha, contratos suspeitos e farra com dinheiro público.
Ela não combateu a velha política. Ela se tornou a velha política. 🧵👇
Still can’t get over how self-centered Apple is. With their resources, they could be driving real innovation in AI to benefit humanity. But instead, they act like a UI facelift is what the world needs. Absolutely insane. A year of resources on transparent UI, truly shameful.
@derflecha@Pirulla25 Eu acho que ele foi um dos primeiros YouTubers que me inscrevi. Acompanho desde 2009~2010 e ele foi um marco no YouTube com divulgação científica. Que ele se recupere logo 🙏
Tinha ausência do CompatTelRunner.exe; falha de execução do appraiser.dll; falta de várias chaves do registro, como o TargetVersionUpgradeExperienceIndicators; e reativação do recurso ProgramDataUpdater via DISM 😅
Desativei tantos serviços do Windows para ter desempenho máximo que, para conseguir um ota update para o 24H2, eu tive que reabilitar até chaves no regedit. Estava demorando tanto para receber e aí percebi que o problema foi ocasionado por mim mesmo :)