Software fundamentals: Idempotency
@asidorenko_35K followers
22,869 views
11 Comments
Comments from the original post on X (Twitter)

@morethancoder
Yo i love this way of explaining mind sharing how did you make it?
7 likes

@asidorenko_
Remotion + Pi (luna/astra) in vscode + 4 days of my time I made vids in Remotion prior to the agentic dev shift and my process hasn't changed fundamentally tbh, it just that I can experiment with more stuff
4 likes

@morethancoder
I have heard about Pi, but honestly never used it. maybe because I'm too comfortable with Claude code. However I keep seeing people using it so I am a bit interested now, if you can give like your thoughts about Pi why did you choose it over codex ? (since you are using astra). as of remotion I used it before with Claude code to create some simple motion graphics like the launch video below. but didn't know that this type of quality is possible. also it costs a lot of tokens to generate simple graphics, maybe my setup needs some skills. If you can share skill files I'd appreciate it :D ** also don't turn on the sound of this video because it is terrible Claude used synthetic waves or some sort of that thing to create the sound track which turned out awful.
2 likes

@asidorenko_
I use Pi because it's minimal and explicit I don't use any skills, not even the Remotion one (it was helpful in older models but newer ones understand the rules of Remotion out of the box). I use plenty of examples from my previous videos, though I also don't believe in magic setups that help you one shot videos. You have to actually learn motion design by iterating a lot and building a tacit knowledge of what works and what doesn't I mean, if you just need a quick promo video - the one you showed can work just fine (maybe check remocn for additional components) - but if you’re actually interested in improving motion design skills, ai can’t magically automate this. Agents can help to put in the reps, though
2 likes

@tsu_ld
keep doing this man, its great!
1 like

@yonnnski
love this visual
1 like

@ruchernchong
Clean video!
1 like

@TheThing89
the only unfortunate part is how many times idempotency can lead to weird bugs and states. They are cool in theory and can work in certain scenarios, but reality is often way more complicated than just: "this should only ever be processed once." Especially payments.

@Madeactual
The practical rule is simple: every retried write needs a stable key and a durable record of the result. If the caller cannot safely repeat the request, the retry policy is just a way to duplicate work.

@iniyanai
The place this bites hardest is payment retries. Most people learn about idempotency keys the day a customer gets charged twice and not before.

@AGI_Tiramisu
Such a cool video. What did you use to create it?