Davide retweeted
it's the only way I'll ever flicker a light in a game - if it ain't broke, don't fix it
Davide retweeted
my vocal synth models the vocal tract as a network of branching acoustic tubes, unlike vocaloid which stitches together and pitch-shifts phoneme recordings. still working on improving naturalness by tuning it against recordings of real singers, but I'm already impressed at how cool it sounds!
Davide retweeted
We need to reconsider our priors on code readability.
Humans, compared to agents, are pretty slow at understanding large quantities of text. So in the old days, readability was important so the human could efficiently grok what was going on.
So readability now comes down to:
1. Can a human, if needed, jump in and understand the code
2. Does the code use the same domain language as the human describing the code?
1 helps with observability and the occasional spot checks you need to do on important PR's. 2 helps the agent translate the words you use into code changes.
In other words, readability is now a nicety, not a necessity.
The way agents 'read' code is different - good agents are all about gathering data about how the code works. They'll prod around with it, execute parts of it.
So 'readability' to agents really means 'verifiability'. How easy it is to mess about with that code to see it working.
Let's take this scenario:
- You have a huge module in your codebase that uses all sorts of complex performance tricks
- It has 100% test coverage
A talented human would need an hour or two to get comfortable working in that module.
An agent needs zero time. They verify it with the tests, poke about a bit, and they're good to go.
The takeaways:
- When judging a module (or a codebase), don't think about how easy the code is to read
- Instead, think about how easy it is to verify
- Design your codebase so modules can be tested and verified independently
- Feel free to sacrifice a bit of readability for performance
- Cyclomatic complexity and function size don't matter to agents
Davide retweeted
I was flying back home. Over the city there was a great storm. The pilot informed us that we'll be circling around the airport waiting for the storm cell to pass.
It was a small ATR 60 and at some point fuel started to become a concern. "We'll have to go through it. It will be very bumpy" is what the pilot announced.
Thirty seconds later the plane started to shake. It felt like the plane was simply thrown around by the winds with nobody controlling it. Some overhead compartments opened and bagages fell down. Fortunately, nobody was injured by the falling trollers.
It took around 1 minute when we broke through the clouds. People were screaming the entire time. Some were praying. A gentlemen literally peed on himself.
That's how people react to heavy turbulance and the growing probability that we've all approaching our finish lines.
Now imagine a plane falling down the sky, nose down, at roughly the speed of sound. And a 20 year old first officer giving exact readings of the situation to ATC. Descend rate, bank angle, aircraft state.
In this situation most humans will simply pass out due to the enormous G force and a first row view of the ground approaching,
Yet the 20 years old first officel was still giving precise technical readings to ATC. There were short screams at times, but she continued to do her job while most of us would have been passed out.
I'm not sure what combination of circumstances caused the Learjet to crash in Palm Beach. Maybe there were some less optimal decisions by the captain. Maybe not.
But what I know is that I wish I had the same lucidity in critical situations that the 20 years old first officer had.
Davide retweeted
Software Engineers are not paid for writing code.
They’re paid for solving problems.
The faster you accept this, the better your life and career will be.
Davide retweeted
I honestly can't remember another week quite like October 14–21 in software security.
Just between October 14 and October 21:
- Next.js patched two critical RCE vulnerabilities (9.5/10).
- NGINX patched five security vulnerabilities.
- PHP disclosed critical RCE vulnerabilities. AWS observed exploitation attempts four days before disclosure.
- Node.js patched multiple vulnerabilities, including potential RCE and TLS validation bypasses.
- GitLab disclosed another 10/10 vulnerability allowing potential unauthenticated RCE.
- LiteLLM's compromised releases distributed credential-stealing malware.
- Railway disclosed a potential exposure of customer secrets and API keys.
- OpenCode reported a breach affecting 1.4% of its Console users.
- eMudhra had eight trivially recoverable certificate authority private keys. One of them was literally the number 4!
Also, Microsoft reported AI-orchestrated attacks targeting over 2,250 Microsoft 365 tenants, with attackers obtaining privileged access in under three hours in multiple cases.
CrowdStrike documented AI agents conducting real-world intrusions, including one that obtained domain-controller credentials in approximately 20 minutes without further human guidance.
Meanwhile, Cloudflare observed PHP exploitation attempts growing to millions within hours of disclosure. Some of the attacks even started before any public disclosure, which shows that malicious actors have ways to get to the important information way before any organization does.
All of this obviously made me think about what this means for engineering organizations.
For years, we've treated vulnerability management as something that happens periodically. We review advisories, create tickets, plan upgrades, and eventually deploy patches. Sometimes days later, sometimes weeks, and quite often months or even years.
That's not going to work anymore and technical decision-makers will need to fundamentally rethink how their organizations approach security.
Continuous monitoring, immediate exposure assessment, automated mitigation, credential rotation, and rapid patching need to become standard engineering capabilities.
We need to start measuring our security response times in minutes, not days, weeks, months, or years.
Davide retweeted
Prompt of the day:
Create a pre-commit hook that prevents files over 5,000 tokens. Tokens = bytes/4.
Run only on staged files. Ignore files which are not authored by agents, like lockfiles or codegen.
Provide explicit instructions on how to split files in the error message.
The simplest investment I ever made in my codebase. So good.
It just won't give up
After days of abysmal performance, I've added strict AGENTS.md instructions to not look up any information in old sessions, outside the current workspace, in git history, or any other source except the current codebase
It worked, agents no longer produce slop. Very silly that new sessions don't start with a blank context, it's been a nightmare to debug.
1
34
After days of abysmal performance, I've added strict AGENTS.md instructions to not look up any information in old sessions, outside the current workspace, in git history, or any other source except the current codebase
It worked, agents no longer produce slop. Very silly that new sessions don't start with a blank context, it's been a nightmare to debug.
Any agent in Cursor learns from its mistakes
Specifically, it looks up previous sessions and codebases outside the workspace, and ensures consistency by making the same mistakes again
1
1
36
Every time you create a PR, the @github MCP now stops the agent in its tracks, breaks the entire flow, and pops up a message asking for user confirmation
I guess that's one way of doing rate limiting
2
2
87
Grok 4.6 was so good I got used to cutting corners in reviews, and 4.7 made me pay for it dearly after I switched:
- Unit tests that wipe the database
- GET endpoints that perform writes
- Updating data models without updating schemas
- Complete disregard for provided guidelines
39
Pro tip — just because you’ve got a mental picture of what the AI might build doesn’t mean it’ll build it like that, even when it’s simple.
Found out today a bunch of “quick fixes” I waved through without a proper review quietly ignored basic engineering guidelines.
3
85
On a two hour train journey and using Grok @bot to familiarise myself with parts of my codebase that are obscure
It's a lovely two way conversation, all on my phone, didn't need to open any IDE or anything
Brilliant experience
2
69
One of Archimap's core features is showing the same diagram at from different viewpoints. This done with lenses.
Today I made the lens interface more intuitive, I'm all for shipping fast, but if users can't figure out your tool then it cannot serve its purpose
7
309
















