altschuler
Joined 14 years ago
Joined 14 years ago
With a streaming subscription this is all taken care of, you simply do something like this: 1) Load the last 50 messages (or whatever number of existing messages suits you) 2) Run your streaming subscription using the most recent of the messages from above as you cursor 3) When you send a message, do nothing and let the subscription handle getting the message you just sent
That said, if I were to do it again today I'd probably go with Hasura or something more suited as an actual backend.
1: https://help.duckduckgo.com/company/advertising-and-affiliat...
It was also the first time I encountered the flow diagram type of syntax explanation which I found to be a fantastic way to grasp the details of each command. Eg https://sqlite.org/lang_createtable.html.
Let's you navigate and control the browser using the keyboard in a very clever vim style.
It's the best $20/month I'm spending on any dev tools, the Amp coding agent in itself is worth that much (I actually came for that and stayed for the orbs). I can only encourage anyone to give it a try and maybe you'll be pleasantly surprised :)