HNHacker News
TopNewBestAskShowJobs

thezjy

86 karma · joined June 17, 2021

submissionscomments
thezjy··on Building an incredible UX as a one-person startup
This is inspiring. It reminds of DHH's idea for Rails 7 as a one person framework to compress the complexity of modern web apps (https://world.hey.com/dhh/the-one-person-framework-711e6318).

Replicache does the same thing but for a different domain from Rails: local-first web apps.

Tools like these will be appreciated during the forthcoming economic slowdown.

thezjy··on A simple way to build collaborative web apps
Seems like a CORS related bug on Safari. I tested on Safari 15 and couldn't reproduce it.

https://stackoverflow.com/questions/63141448/safari-fetch-ap...

thezjy··on A simple way to build collaborative web apps
Replicache's creator Aaron has a pretty good Twitter thread explaining the difference among Replicache, WebSocket and (classic) CRDTs. I will summarize briefly here:

- WebSocket (and Phoenix Channel) is just a communication method. To maintain consistency and resolve conflict, you need something like Replicache.

- CRDTs are more suitable for p2p scenario while Replicache works better for client-server apps.

- Phoenix's Presence is built with CRDT but it's just a single feature, not a general CRDT toolkit.

The thread: https://twitter.com/aboodman/status/1410441402366922762

thezjy··on A simple way to build collaborative web apps
Author here. Thanks for mentioning Meteor, which also impressed me a lot when it first came out. I think it didn't take off because it tries to do too much (frontend + backend + db). And one smart move by Replicache is that it tries to integrate nicely with the rest of your stack.
thezjy··on A simple way to build collaborative web apps
Thanks! Wait for my next article. Hope it won't be long.
thezjy··on A simple way to build collaborative web apps
It uses the production binary, originally 604.59 KB and after brotli (Vercel uses brotli by default) 213.90 KB.