
Always in love with Frontend development. Plenty of side projects @plannerie #litesubs. Building nice things at @revvitysignals. Previously @adyen @glovoapp
Boston
Joined April 2009
- Tweets9.6K
- Following2K
- Followers2.1K
- Likes335
"7 days" is not 7 × 24 hours
I wanted to add an "expires in 7 days" to some shared docs. The obvious implementation is to add seven times 24 hours to now, quick and easy. But customer reading "7 days" expects the link to work until the same local time next week.
1
101
New stuff: `addDays(now, days)` from `date-fns`, changing the unit of arithmetic, from elapsed milliseconds to calendar days.
`setDate` moves the day-of-month in local time and leaves hours, minutes and seconds untouched.
1
31
When implementing the image generation for @plannerie, I wanted that if an AI job crashes after generating an image, hitting resume should not charge you to make that same image again -> i built a ledger of completed calls.
3
1
136
I was using for key `toolCallId`. It looks like an identity, but the model supplies it, and the SDK can generate one. But of course, when you resume the same request, the id will be different and my ledger sees a new call and charges again.
1
42
And in parallel, I am also rebuilding or adding new stuff to litesubs.com
First thing: add an MCP on top of it so everything is simpler
83
I'm rebuilding @plannerie from scratch. It's an AI-augmented teaching aide for language tutors.
In this rebuild, agents will write most of the code and of course, I'll review it and take the key decisions.
I'll post the technical bits now and then!
1
110
I've built a little cookie-clicker like experiment. I always wonder how the incremental games handle big numbers such as 999,999,999,999,999,999. So, go ahead and play my little game Token Eater!
adrianlatorre.com/token-eate…
1
101
I've been working on adding an approval gate to our #ai tools to support automatic CRUD operations. ⚠️ Warning, this is a technical post!
adrianlatorre.com/blog/notes…
It's supper fun to understand how #langchain interrupts work and how to get the most of them!
1
2
130
Adrian Latorre retweeted
Introducing Skullet 💀
Loading states without hand-drawn placeholders or layout shift. Skullet measures your components and draws their skeletons for you.
Wrap your component with <Skeleton> and you're done.
Happy Halloween! 🎃
→ skullet.lochie.me
I've been working on some fintech stuff also as we had to build an ai credits ledger to properly track and bill everything! Here are some notes on that topic
adrianlatorre.com/blog/notes…
58
Adrian Latorre retweeted
I'm calling for a complete and total pacing of the frontier until we figure out what the hell is going on at tldraw
I am sorry but this is about 100 PRs per day, 10 per hour or basically 1 PR every 5 min.
For sure no one is checking those, they are auto-verified and approved (are they really PRs?) and I sincerely want to see 3 or 4 examples of those PRs randomly selected (not cherry picking)
here's how i shipped 2,500 PRs last month to production
this was originally supposed to be for Cursor Compile in London. i couldn't make it since i was livestreaming for Grok @Bot Galaxy so i'm making it available for free here on X! watch it on 2x speed, i talk slowly
Adrian Latorre retweeted
okay i made a quick skill to get the model to delete useless UI copy. surprisingly works quite well with opus. have fun!
paste.rachel.systems/ukogoki…












