Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
josemaenzo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
josemaenzo
6y ago
nocoiner
2.
▲
by
josemaenzo
6y ago
I'm happy that we are moving away from the redux-like standard. I've tried the API in a dumb example and it looks clean and easy. https://codesandbox.io/s/three-buttons-example-with-recoil-q... Still don
3.
▲
by
josemaenzo
7y ago
Oh, I see. Just wondering, How GUN handle a situation like described above when working with Arrays?
4.
▲
by
josemaenzo
7y ago
Does gun have a built-in "Linked list" in the API? If so, where are the docs? Could not find them. If not, any paper or doc that explain how to implement it with gun?
5.
▲
by
josemaenzo
7y ago
Cool! Make sense. Let's say our state have an array like ['a','b']. What about if Peer-A splice the first element (0) which results in ['b'] and Peer-B wants to mutate 'a' to 'A' which
6.
▲
by
josemaenzo
7y ago
Can you refer me to a document where you explain the "lexical rank" that you are referring to? The cartoon explanation do not tackle those terms.
7.
▲
by
josemaenzo
7y ago
Do you have any document that explain what resolution algorithm uses in what cases? For example, one peer change a property value and the other peer deletes it.
8.
▲
Mutable or immutable global state pattern in React with hooks?
(dev.to)
3 points
by
josemaenzo
7y ago
|
0 comments
9.
▲
by
josemaenzo
8y ago
"definitely isn't a library for shared document editing or more substantial cases that require OT" You are right, is not a library that provides a way to resolve sync conflicts. Consensus algorithms is a difficult topic, and
10.
▲
by
josemaenzo
8y ago
There is no authentication system in dop. You decide if a client can subscribe to a specific object: https://github.com/DistributedObjectProtocol/web/blob/master... The same way you would do it with plain Web
11.
▲
by
josemaenzo
8y ago
The protocol has a versioning system: https://github.com/DistributedObjectProtocol/protocol/blob/m... Is the responsibility of the implementation to apply the patches/mutations in the correct order of th
12.
▲
by
josemaenzo
8y ago
Imagine a Chess game, Trello, a multiuser ToDo list app. If you are familiar with state management libraries such a Redux, Mobx, etc. Dop is more or less the same. With the difference that the initial state of your app can be initialized in
13.
▲
by
josemaenzo
8y ago
As mention by others, the protocol doesn't handle consensus synchronization. The implementation of the protocol (JavaScript in this case) must apply all the mutations in the correct version order: https://github.com/Dis
14.
▲
by
josemaenzo
9y ago
Can we use it outside of Meteor?
15.
▲
Distributed Object Protocol
(distributedobjectprotocol.org)
3 points
by
josemaenzo
10y ago
|
0 comments