2,669 karma · joined May 11, 2010 (16y ago) · 1,046 submissions
[ my public key: https://keybase.io/mnutt; my proof: https://keybase.io/mnutt/sigs/-Fx2q4k7gdzBMPqMmt1yC-a3m-lVGCP3kcxrNhj4LUM ]
comment 1mo ago · link · parent
Software is at an inflection point with agents where we have the opportunity to take back control of our apps and data from the large corporations and replace it with software we’ve written ourselves and run ourselves. I’m excited for how Sandstorm can enable this.
comment 3mo ago · link · parent
comment 5mo ago · link · parent
comment 11mo ago · link · parent
comment 11mo ago · link · parent
Tangent: when you have a lambda returning binary data, it’s pretty painful to have to encode it as base64 just so it can be serialized to json for the runtime. To add insult to injury, the base64 encoding is much more likely put you over the response size limits (6MB normally, 1MB via ALB). The c++ lambda runtime (and maybe rust?) lets you return non-JSON and do whatever you want, as it’s just POSTing to an endpoint within the lambda. So you can return a binary payload and just have your client handle the blob.
comment 1y ago · link · parent
We still take some steps to mitigate control plane issues in what I consider a reasonable AWS setup (attempt to lock ASGs to prevent scale-down) but I place the control plane disappearing on the same level as the entire region going dark, and just run multi-region.
comment 1y ago · link · parent
I think it was just luck of the draw that the failure happened in this way and not some other way. Even if APIs falling over but EC2 instances remaining up is a slightly more likely failure mode, it means you can't run autoscaling, can't depend on spot instances which in an outage you can lose and can't replace.
comment 1y ago · link · parent
This aligns with their “you should be in multiple AZs” sales strategy, because self-hosted and third-party services can’t replicate data between AZs without expensive bandwidth costs, while their own managed services (ElastiCache, RDS, etc) can offer replication between zones for free.
comment 1y ago · link · parent
Once you have asterisk set up and running, it becomes easy to also set up all sorts of other extensions like "check the weather" / "tell a joke" / "check the train statuses". I put up some code for it here: https://github.com/mnutt/rotary
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
KVRocks doesn’t expose it directly right now so it requires code changes, but so far I have had good success with FIFO compaction. When an sstable gets old enough, it just gets dropped.
comment 1y ago · link · parent
comment 2y ago · link · parent
Fortunately, these days if you wanted to make it more obvious you could hook up a regular Share button to navigator.share() API and pass it your image blob.
comment 2y ago · link · parent
[0]: https://blogs.igalia.com/carlosgc/2024/02/19/webkit-switchin...
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent