Martin Kleppmann

Results 184 comments of Martin Kleppmann

I got a code walk-through from @alexjg and I am excited about this change. I'm too much of a Rust beginner to comment on the actual code, but there are...

Hi @bokolob, one approach is to store individual changes (as binary blobs) as they are generated, and from time to time replace the individual changes with the result of calling...

Sorry, I don't follow what you're asking for. Can you give some more detail? Generally, like with most database-backed apps, you can store your persistent state in the DB, and...

Both possibilities you mention seem like reasonable designs. If multiple clients write to the same DB, I think some form of locking (or atomic compare-and-set) will be necessary to avoid...

Thank you @adorsk, this looks interesting. Pinging @pvh @geoffreylitt @orionz who recently used JSON Patch and Automerge in [Cambria](https://www.inkandswitch.com/cambria.html), in case it is relevant.

Hi @leehambley, thanks for this. It's a known issue, and also affects e.g. React Native, as far as I know. Unfortunately the current Automerge API relies heavily on proxies to...

Let's keep it open, as reference for anyone running into the same issue.

@zhang123cnn Great that you want to try this! I recommend starting by familiarising yourself with the frontend-backend communication protocol. Use the version on the `performance` branch in this repository, as...

Hi @skokenes, thanks for this good bug report. I can reproduce the issue, and unfortunately it is a bit tricky to fix. What's happening here is that when you do...

Yes, if you have a set of strings (or values that can be converted into strings), using a map with null values should work. If you have an unordered collection...