pull down to refresh
130 sats \ 4 replies \ @ek 2 Jan \ parent \ on: 🚀 Can Stacker News hit 1.4M items in 2025? oracle
disk full, so it couldn't save that it already posted 🙈
I need to prevent that this happens again by querying the SN API if it already replied instead of writing it into a local sqlite3 database and querying it.
reply
Not really, @nitter would have happily posted every minute.
But fortunately we added very recently a constraint in the database which prevents that someone can reply the exact same text to the same post within 10m.
We added that because @bief57 was cursed with duplicate items and now it saved me from losing a few thousand sats lol
Using someone else as your persistence layer. One of my favorite tricks lol
reply