Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aboodman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
aboodman
1y ago
FYI, Zero uses incremental view maintenance internally as the core of its sync engine: https://zero.rocicorp.dev/docs/introduction IVM is what allows the core feature of our DX: that users can just do a fairly large qu
32.
▲
by
aboodman
1y ago
I think this is a fascinating and deep question, that I ponder often. I don't feel like I know all the answers, but as the creator of Replicache and Zero here is why I feel a pull to the web and not mobile: - All the normal reasons the
33.
▲
by
aboodman
1y ago
> Using Zero is another option, it has many similarities to Electric, while also directly supporting mutations. The core differentiator of Zero is actually query-driven sync. We apparently need to make this more clear. You build your app
34.
▲
by
aboodman
1y ago
At the end of the day people have to care about their job, for a reason bigger than getting a paycheck. Society can coast for awhile when people don't care but things eventually break down. You can add process but the people running th
35.
▲
by
aboodman
1y ago
I am confused by this question. Both noms and dolt, and presumably most other prolly tree implementations do what you propose. if they didn't, inserts would be terribly slow.
36.
▲
by
aboodman
1y ago
https://github.com/dat-ecosystem-archive/whitepaper/blob/mas...
37.
▲
by
aboodman
1y ago
I was aware of this kind of structure when I coined 'prolly tree'. It's the same thing bup was doing, which I referenced in our design docs: https://github.com/attic-labs/noms/blob/master/d
38.
▲
by
aboodman
1y ago
The code is also publicly available here: https://github.com/rocicorp/syncban
39.
▲
by
aboodman
1y ago
Hey HN, I just presented this at React Miami and thought you might be interested. I built an app with three upcoming sync engines, and they run side-by-side and interoperate. Happy to answer any questions.
40.
▲
Making React Fun Again, with Sync [video]
(youtube.com)
1 points
by
aboodman
1y ago
|
2 comments
41.
▲
by
aboodman
2y ago
When you say “rebase” what do you mean exactly? Is it the application replaying the transaction including the interactive code, or is it the database writing the same rows/pages that were written last time?
42.
▲
by
aboodman
2y ago
Yes, this is a central issue in sync. For most applications, sync engines just aren't useful without some solution. Of course you need to validate inputs, support fine-grained permissions, etc., as developers have done with web apps fo
43.
▲
by
aboodman
2y ago
No. When we started the project we used prolly trees initially, but we don't need the content addressing feature for Zero and all the hashing was quite expensive. So now we just use a plain immutable b-tree: https://github.c
44.
▲
by
aboodman
2y ago
No, Convex is a client/server system like zero, electric, instant, powersync. If you want a fully decentralized system, check out jazz. It is the best of these currently IMO.
45.
▲
by
aboodman
2y ago
There are so many: - https://github.com/electric-sql/electric - https://github.com/powersync-ja - https://github.com/get-convex - https://github.com/tinyplex/tinyb
46.
▲
by
aboodman
2y ago
> Without offline support AND you're doing real time updating of data, then conflict resolution is not a real world practical concern. I disagree with this. There are many real-world cases where keywise lww does the wrong thing. The
47.
▲
by
aboodman
2y ago
lol wut? I represented that we ask the dev what to do: > Zero asks your code what to do You agree that's what we do: > You are asking the dev what to do. You are _not_ asking the user what to do. I get that your actual issue is y
48.
▲
by
aboodman
2y ago
Zero (zerosync.dev) uses transactional conflict resolution, which is what our prior product Replicache and Reflect both used. It is very similar to what multiplayer games have done for decades. It is described here: https://rocic
49.
▲
by
aboodman
2y ago
Yep - Notion doc answers your question.
50.
▲
by
aboodman
2y ago
Sure happy to give my point of view. Top-level response: I think Instant is very cool and I have a lot of respect for that team and their work. I've tried to be accurate below, but I know the instant folks frequent HN so maybe they can
51.
▲
by
aboodman
2y ago
I hesitate to use the word 'deprecated' because it means different things to different people. We'll continue supporting Replicache but won't add new features to it. Even if you don't think you'll need partial
52.
▲
by
aboodman
2y ago
I think there are a lot of free hosts that could work? - Fly.io has a free tier that has postgres (if you want to debug from your workstation against live pg, which is useful, it's $2/mo for a public IP) - Supabase has a fre
53.
▲
by
aboodman
2y ago
Hello, HN – I'm aaron - CEO and founder of Rocicorp. We build Zero and Replicache. Very happy to answer any questions!
54.
▲
Day Zero – Build Good Web Apps with the Zero Sync Engine
(bugs.rocicorp.dev)
99 points
by
aboodman
2y ago
|
18 comments
55.
▲
by
aboodman
2y ago
It's even (often) in company's selfish interest to have regulation so that they aren't forced into a race to the bottom.
56.
▲
by
aboodman
2y ago
You should get in the habit of quoting identifiers in pg anyway as there are so many reserved words.
57.
▲
by
aboodman
2y ago
I find it hard to take anyone seriously who makes life harder for themselves for no good reason . Different strokes.
58.
▲
by
aboodman
2y ago
Hello JS was my first language and I use classes because sometimes it seems like the obvious way to model things. Looking through the source of Replicache, here are some classes we use: - KVStore - DAGStore - Transaction I mean ... I can of
59.
▲
by
aboodman
2y ago
You don't have to imagine: https://www.google.com/search?q=local-first+linear
60.
▲
by
aboodman
2y ago
Makes sense. This is a smart tradeoff.
More ›