
Indie hacker building AI tools for brands at https://www.nitter.cf/t.co/R1OX2tRfGx — now building the internet’s skyline with https://www.nitter.cf/t.co/HY614onX2F.
Joined June 2009
- Tweets931
- Following663
- Followers3.6K
- Likes6K
My servers cost the same every month. The only bill that can jump overnight is the AI API. I don't want to depend on a provider alert arriving on time, so I'm thinking of a daily token counter per account in Postgres that blocks requests over a limit. How do you cap yours?
1
1
139
The web app and the Rust workers connect to Postgres with different roles, so each gets its own statement_timeout. A slow query from a page gets cancelled fast, and a long job in a worker can keep going. It only applies to new connections, so restart both after changing it.
110
Working on VERI*FACTU in Norpie. Each invoice record carries a hash of the previous one, so you can't edit an old invoice without breaking the chain. A mistake becomes a rectifying invoice. I'm still figuring out the UI for people who only want to fix a typo in a client name.
1
134










