This question interestingly predicts how well someone's adapted to new tooling and workflows: "what's the craziest thing you've _tried_ with a frontier model?"
AI has really raised the bar on UI. why even show tabular data in apps anymore? might as well create custom components per item, even if there are a thousand different types. whatever best communicates data intent.
My AI agents found an unmapped Maya site in Mexico, using LiDAR data from a NASA dataset.
72 hours from a random thought on vacation to a reply from Mexico's national archaeology institute.
What a time to be alive…
the simplest forms of tech debt can be some of the most harmful now while the most complex forms of tech debt the most harmless
thought it's interesting that really complex massive functions like Q_rsqrt or vsnprintf aren't so bad anymore. you can use ai to enumerate every possible test case for the function, run those tests, ensure they work, then tell ai to grind away at a refactor until those same tests pass. you can even make performance benchmarking a test it must pass. in fact, you could tell it to rewrite in C or assembly for all it matters. if your tests have 100% coverage, 100% output match, and strictly better performance, then the outcome speaks for itself right?
on the other hand, I find feature flags to be some of the worst causes of bugs now. because it sits at the architectural and design layer, it confuses ai quite easily. so yea, i guess i'll be saying this forever: please clean up your feature flags
someone asked me what convinced me to loosen up on code readability as an important metric. i used to be a huge stickler for variable names and trying to make function happy paths read as linearly as possible.
one of the biggest things was seeing someone at Persona rewrite a complex system of ours from ruby to golang. in our case, it was an automation engine that customers can customize to run any logic across all our products, and rewriting it reduced compute cost by 90% and reduced user latencies by 70%.
the convenient thing about a rewrite is that you can validate that the output is equivalent across all possible inputs for most apps. or at least programmatically enumerate enough where you have confidence that the two apps are functionally the same.
you can even make functional equivalence the starting condition of the rewrite, and have ai continuous loop until output is equivalent to the original application for all listed inputs. it'll take a while, it may be expensive, but i had some interesting realizations from the output...
1. if the output is all exactly the same, does code readability matter that much?
2. if for new features, I can ensure all new outputs are correct, then isn't that a similar situation?
3. if i tell it to write everything in web assembly, outputs are equivalent, and it's another 10x more efficient...is it even feasible for me to consider code readability?
i should add that i still strongly believe design and architecture to be critically important. it's much more important, trading off against code readability which is now much less so.
i found this to be a fun and easy way to understand "product factories" (it's very important to note the security measures, be safe out there):
1. find a couple friends
2. implement a chat app (i.e. slack with channels) as a cloudflare worker
3. create the cloudflare worker and connect it to the app's github repo, gated behind cloudflare access
4. give the cloudflare worker a fine-grained PAT from github so that it can edit the repo
5. update your app with "add a channel called #feature-request where people can post to add features to this app. use claude code running in a sandbox". you'll need to give claude code an account too.
6. see what people come up with: ours ended up with mini-maplestory in one channel, and a word stock market in another.
you've got your own product factory! there are so many more options from here:
- first of all, this is obviously only safe with highly trusted friends. making it generally safe is an interesting design challenge. would making each channel be an iframe of executed javascript with highly controlled methods for fetching chats? what if we want features that are cross-channel?
- could we make it so that whatever people make follow a consistent design language? anchoring it on something consistent is probably most effective otherwise it'd drift. there are new forms of media to consider too, like motion graphics. doesn't matter for friends, but very important for real work.
- what about harnessing game design concepts? can we bake the concept of multiplayer into the agent so that whenever people ask for features, they're more likely to encourage interaction?
better understanding it helped me think from the other direction too for existing product areas: what are ways that we can better incorporate or automate external input. or what needs to be architecturally redesigned to enable that?
@taranveer26 we find that customers are more likely to make updates if it's easy to preview and test them. but also customer-specific means it's a lot easier to work on, and our non-engineering account teams often help larger customers too
many people worry that ai-written apps get buggier over time, but I don't find that to be the case. instead, I find they get more expensive over time. the best way to think of this is as the addition of "particulars" or explicit micro-requirements to a codebase.
this is all based on test suites being _fully_ comprehensive, as in not just covering important test cases but ALL test cases. before ai, i used to only write tests that i thought were likely to regress, in other words, that other people were most likely to mess up (because tricky case, tendency for people to want to do X, etc). sadly, i now believe this art to be dead.
listing out ALL test cases feels counterintuitive, but it _forces_ ai to do the right thing. if every test case passes, then by definition there are no bugs right? 3 important notes on this:
1) ai is very good at being comprehensive. usually i'll have ai enumerate all cases but hawk over the expected outcomes.
2) i'll test as end-to-end as possible, which can also be counter intuitive. it's because that best maps to exactly what must be true in a product for a user. it's also easier to be comprehensive that way.
3) some people say that ai will turn tests off or make them wrong to pass them. this doesn't happen to me anymore with opus 5.5, but sometimes i'll design tests up front, then loop and be extremely suspicious if any test files were changed in the loop
bonus: tests don't have to be for functionality, they can be for performance too.
this of course means you have a massive amount of tests. and mostly that's worth it but in our mono-repo of 200 engineers, this obviously hit scaling limits. at that point the strategies are mainly:
1) design 2 tiers into the system, where some set of particulars can be isolated to and applied per customer (i.e. the goal of forward deployed engineering). for example, we have a flow builder but customers can implement custom HTML components into it.
2) modularize / extract a set of particulars to restart the cycle. we've been doing this non-stop and have found great success. note that our coding harness works cross-repo so there's little difference from a prompting point of view. repo boundaries are instead for validation and ai context management. for example, our customer dashboard now iframes 50 subapps. https://t.co/vZDCyd0wON
i recognize it's hard to truly define the entire possible behavior space of software. but ai makes it possible to define a lot more than before, and then we'll take some measured risks on what abstraction level of behavior may change slightly. fwiw, that last risk existed before ai too with open source libraries
i find that the biggest obstacle to getting "AI pilled" as it's called... is realizing that you need to relearn how to build confidence in systems. it's a double jump because not only are the code / systems unusual, so too are the methods of building confidence you have to use to understand them in the first place.
in the span of 6 months, we took a codebase that ~200 engineers contribute into, scaled the number of non-engineer contributors, ~4x'ed commits, and simultaneously reduced deploy issues + incidents by 70%
we accomplished this almost entirely through the implementation of a change safety agent. and yet companies still tell me they find AI to be bad at change safety and code review.
to be fair I was initially a skeptic too. credit for this agent goes to a super IC at Persona: what he did was take every incident and deploy issue, trace down the root cause PR, and log it into an eval set. then he built an evaluator that would roll the codebase back to before each problematic PR, copy in the new setup, and determine whether or not it would've alerted on the PR.
from there he iterated on the harness and skills until it caught all logged issues then started running it on every PR. any time it missed a new issue, he'd bring that issue into the eval and iterate. eventually we found that the agent had become very accurate, especially for cross-product and cross-team issues.
sometimes, i test ai's limits this way too. I'll create some sort of eval / metrics, throw ai at it expecting it to fail, and yet sometimes it succeeds. hard to argue against hard numbers, even against myself.
i've been reflecting on what convinced me on AI since i started using claude code just under a year ago (the full launch was May and I started using it in Nov). i was actually a late adopter to AI.
since then, it feels like Persona and I blitzed the full switchover to AI native in the span of ~6 months. several people returning from leave said that Persona operationally feels like a completely different company
gonna try to post a reflection a day about what convinced me at each step, see how long i can keep that up..
part of the problem: much of the evidence about fraud works sits inside a few companies, while fraudsters trade tactics openly. so we’re funding university researchers working on privacy, fraud, and accessible identity, with grants of up to $100K. Check it out here: https://t.co/fQI0qXNcl1
we’ve worked on deep technical problems in identity and computer vision since day one. this year, our research landed at CVPR; and our work with @UBuffalo produced an open taxonomy of selfie fraud. as AI blurs who's real online, here's why shared research matters more than ever:
https://t.co/1gIBt6giEE
AI is getting remarkably good at looking human. we need to get just as good at knowing when a real person is behind the screen, while protecting privacy and making access easy for everyone. the human side of the internet has to keep pace. right now, it isn't clear if it will