Paulo Chaves (@opchaves) profile picture

Senior Software Engineer

Brazil
Joined February 2016
Photo by Paulo Chaves (@opchaves)Photo by Paulo Chaves (@opchaves)Photo by Paulo Chaves (@opchaves)Photo by Paulo Chaves (@opchaves)Photo by Paulo Chaves (@opchaves)Photo by Paulo Chaves (@opchaves)Photo by Paulo Chaves (@opchaves)
Testing UI used to be one of the most tedious parts of any feature. Login, different user roles, multiple browser sessions, clicking through every path… it always took longer than it should. End-to-end tests help, but they take time to write and usually run against specially crafted test accounts, not your real ones. Sometimes you don’t want a permanent test suite. You just want the manual exploration automated so you can try things quickly. What I do now Instead of opening the browser myself, I hand the work to a coding agent: • Run the app on localhost (safe environment, no risk of losing real data) • Tell the agent to connect to the local database • Paste a cookie from my browser so it can use my real account • Write a prompt describing the flows I want tested • Ask it to take screenshots along the way The agent uses Playwright, tests the paths, and captures the UI. I can review the screenshots myself, drop them in the PR description, or share them with the team. It turns the “I tested this” claim into something visible. Why this works better An agent is simply faster and more consistent at clicking through flows than I am. It can also test multiple users in parallel (using sub-agents) without me managing separate browser sessions and accounts. The result has been higher output and fewer bugs in what I ship. The screenshots also make code review clearer, both for humans and for other agents. You still write the prompt and review the output, but the repetitive browser work is gone.
4
82
Paulo Chaves retweeted
i love how people are saying "if we write a sufficiently detailed specification, the agent can write all our code" do you know what writing a sufficiently detailed specification that deterministically maps to what a computer's actions is? it's coding
343
1,573
157
20,426
583,173
Paulo Chaves retweeted
New Anthropic research: Natural Language Autoencoders. Models like Claude talk in words but think in numbers. The numbers—called activations—encode Claude’s thoughts, but not in a language we can read. Here, we train Claude to translate its activations into human-readable text.
581
1,655
616
16,423
2,606,748
SpaceXAI + Anthropic deal in a nutshell.
58
292
29
5,957
114,698
Paulo Chaves retweeted
Replying to @ClaudeDevs
thank team, great work!!
5
23
744
75,924
Paulo Chaves retweeted
Drizzle v1.0.0-rc.1 is out 🚀 ▪︎ Effect v4 native support ▪︎ JIT row mappers to reduce ORM overhead to ~0 ▪︎ Reworked casing API (breaking change) ▪︎ Drizzle for LLM agents (preview) Drizzle is now as fast as using raw driver and mapping(or not mapping) results by hand 🙃
98
170
54
2,024
382,659
Paulo Chaves retweeted
😂😂😂
280
3,438
215
36,647
924,841
Paulo Chaves retweeted
🚨Google acaba de matar las apps de escaneo de documentos de terceros. El nuevo escáner nativo de Drive hace capturas multipágina en tiempo real, detecta duplicados automáticamente y tiene modo continuo.
110
1,158
122
9,590
733,684
I could have an action with a macos runner to build the binary but since I wanted to keep things really simple I dropped sqlite in favor of BadgerDB. But if you're building locally you should have no issue with sqlite-vec and will be even better.
7
using text-embedding-3-small means you need an OpenAI API key. that is a requirement to make the MCP work
10
Paulo Chaves retweeted
Google vient de sortir Gemini Embedding 2 et c'est un game changer pour le RAG. Pour comprendre pourquoi, faut d'abord expliquer ce qu'est un embedding. Un embedding c'est une façon de transformer n'importe quel contenu (texte, image, son, vidéo) en une liste de nombres. Un vecteur. Et la magie c'est que deux contenus qui veulent dire la même chose se retrouvent proches dans cet espace mathématique. "Chat" et "félin" finissent collés. "Chat" et "grille-pain" sont à l'opposé. C'est ce qui permet à un moteur de recherche de comprendre ton intention au lieu de juste matcher des mots clés. C'est la brique de base de tout système RAG moderne, de toute recherche sémantique, de toute base vectorielle. Jusqu'ici le problème c'était que chaque modalité avait son propre modèle. CLIP pour les images, Whisper + un embedder texte pour l'audio, un autre truc pour la vidéo. Des vecteurs incompatibles, des pipelines à 3 ou 4 modèles qu'il fallait stitcher à la main, et un cauchemar d'alignement. Gemini Embedding 2 écrase tout ça. Un seul modèle, un seul espace vectoriel de 3072 dimensions, cinq modalités dedans : texte, image, vidéo jusqu'à 2 min, audio natif (sans passer par une transcription), et PDF. Concrètement ça veut dire que tu peux : Envoyer une requête texte "le moment où le client pleure" et retrouver la séquence exacte dans 4000 heures de réunions Zoom. Chercher "chaussures de running bleues minimalistes" dans un catalogue e-commerce et que le modèle matche sur le texte ET l'image produit en même temps, sans avoir à aligner deux vector stores. Indexer des podcasts sans les transcrire. L'audio va direct dans le même espace que tes docs texte. Les chiffres sont brutaux. 68.32 sur MTEB English, 5 points d'avance sur le suivant. 68.8 sur la retrieval vidéo contre 60 pour Amazon Nova 2. Sparkonomy rapporte 70% de latence en moins après avoir remplacé leur pipeline à 3 modèles par celui-ci. Cerise sur le gâteau, c'est entrainé en Matryoshka Representation Learning. Tu peux tronquer le vecteur de 3072 à 768 dimensions sans perdre en qualité. Stockage divisé par 4, recherche plus rapide, factures réduites. Prix : 0.20$ par million de tokens, 0.10$ en batch. Pour 1 million de docs de 500 tokens, ça te coûte 50 balles. La leçon stratégique : Google continue de faire ce qu'il fait de mieux. Pas de hype, pas de tweet sassy, juste une brique d'infrastructure qui rend obsolète trois produits concurrents d'un coup. Et qui s'intègre directement dans leur stack Vertex AI. Le control layer se fait grignoter par le bas pendant qu'OpenAI fait des démos. Again.
Gemini Embedding 2 is now generally available in the Gemini API and Vertex AI! Start building with our first natively multimodal embedding model, now equipped with the stability and optimizations required for production apps.
15
205
12
1,844
376,114
Assemblers were faster at writing binary than humans were. Compilers were faster at writing assembly than humans were. AIs are faster at writing compiled languages then humans are. Deal with it. There's still plenty left for you to do.
146
326
43
3,102
122,683
Paulo Chaves retweeted
Replying to @RolandForTexas
You are a taker, not a maker. All you’ve done your whole life is take from the makers of the world. The zero-sum mindset you have is at the root of so much evil. Once you realize that civilization is not zero-sum and that it is about making far more than one consumes, then it becomes obvious that the path to prosperity for all is just let the makers make. Regarding Tesla, the reality is that I have been given nothing. However, if I lead Tesla to become the most valuable company in the world by far and it stays that way for 5 years, shareholders voted to award me 12% of what is built. Anyone who wants to come along for the ride can buy Tesla stock. If Tesla “merely” becomes a $1.999 trillion dollar company, I get nothing. This is a great deal for shareholders, which is why they voted so overwhelmingly to approve this, for which I am immensely grateful. And they did so by a margin far more than you won your political seat.
8,992
15,708
2,283
129,413
12,459,052
191
1,491
70
13,815
311,849
Existe algo no machine learning chamado de Reinforcement Learning (RL) que consiste num agente, em um ambiente, repetir muitas vezes uma tarefa e o sistema aprende por meio disso a executar aquela tarefa por si só. Muito interessante.
4
Esse comentário disse tudo
518
2,208
213
19,242
489,084
Honestly the best feature of iOS
291
600
86
23,760
2,540,595