Better HN
topnewbestaskshowjobs
Log inSign up

theanzelm

765 karma · joined Apr 4, 2011 (15y ago) · 118 submissions

Work sucks. Play works. aeplay.org

[ my public key: https://keybase.io/aeickhoff; my proof: https://keybase.io/aeickhoff/sigs/-pH5bKDlV0Q1gP7W2jcREjXVN-X1F0gAkOnAKTbNUf4 ]

Submissions

comment 2y ago · link · parent

Thank you! Disclaimer: as of recently I have funding but the approach will stay the same!

comment 2y ago · link · parent

You’re right, I was just being short. Will give you a longer and more concrete answer tomorrow

comment 2y ago · link · parent

There might be a vendor neutral comparison page between technologies soon that we’ll be part of

comment 2y ago · link · parent

It’s a tough problem! I think 90% of it is solved with GraphQL/ protobuf like rules (“only ever introduce new fields”)

There are some edge cases where you might loose easy access to some data if two clients migrate concurrently, but we’re hoping to provide patterns to mitigate these

Edit: Right now it all depends on you to implement migrations “the right way” but we hope to provide guardrails soon

comment 2y ago · link · parent

I made Jazz, that's why I know a lot about it ;) (I now have people helping me)

Let me know if you'd like to know anything else.

comment 2y ago · link · parent

If you only share data with Europeans, it should only end up on the cache server in London and the main central server in Prague.

I was planning to add a second main server in the US that would also receive everything but will think about how to keep data separate for users/companies that need that.

In any case all the data is end-to-end encrypted, but I guess some of the metadata that is stored could still be considered sensitive for your scenario.

comment 2y ago · link · parent

Yes, from my quick understanding of Orleans!

In the web world, this is starting to be known as "local-first"

comment 2y ago · link · parent

self-hostable! https://news.ycombinator.com/item?id=41777266

comment 2y ago · link · parent

yes a simple version of it is!

npx jazz-run sync

comment 2y ago · link · parent

Well the version of the Mesh that we offer would go away, but the framework is open source as is a simple but fully functional version of the sync server, so you could somewhat easily host your own mesh. Not having lock-in here is super important for us

comment 2y ago · link · parent

Partykit is mostly an abstraction on top of Cloudflare Durable Objects and offers simplified Websockets for room-like multiplayer.

Jazz is a framework for building apps around locally mutable collaborative values which are granularly synced (you don't have to worry about data transport or coordinating sync between collaborators, you just set permissions and edit data)

comment 2y ago · link · parent

Right now, we're not doing complex validation very well, we basically rely on all clients having the same schema or backwards-compatible schemas and prevent errors at the type level.

But because the schemas are runtime constructs as well, we might be able to do more complex stuff in the future. Basically any rule you can express as a function of (previous history, new transaction) -> is new transaction valid? can be a rule in theory, and each client will verify it in an eventually consistent way.

For the time being, the Group abstraction with it's reader, writer and admin roles, plus composition of CoValues in different groups is sufficient for most permission-like rules, which is what most apps need most of the time.

Let me know if that makes sense

comment 2y ago · link · parent

Yes, plus it’s actually local-first (works offline) and you don’t have to trust the syncing & persistence infrastructure because only encrypted edits are synced!

Also you can use it as blog storage as well

comment 2y ago · link · parent

Just making sure that you saw the point where we will do an impartial third party audit!

comment 2y ago · link · parent

Update: it was something else entirely, that we worked around for now and will fix soon

comment 2y ago · link · parent

It's great! The first really good commercial open source SaaS app in my opinion and a big inspiration

comment 2y ago · link · parent

We want to support as many environments as possible and are doing them in order of easiest & most requested - you are the first one to ask about Dart/Flutter

React Native is released (experimental)

After that will be really good support for Next.JS (Jazz for both SSR and client)

A bit later will probably be a Rust port, which then also makes bindings to Swift/Kotlin/Go/... easy

comment 2y ago · link · parent

Update: this should be fixed now

comment 2y ago · link · parent

- Jazz is built with granular syncing in mind. CoValues are meant to be small (think one level of a JSON tree) and then reference each other. You only resolve references and sync as far down as you need / in lists you can do pagination.

- CoValues can reference CoValues that belong to a different group and thus have different permissions. In your example the title would need to live in its own CoValue and group compared to the content, which is a tiny bit more setup, but totally viable

- no resources for data modelling yet, but the guide + example apps should give you a very good idea. If you have any questions, please ask on Discord! https://discord.gg/sesjU2W5

- deletion is typically soft-deletion with tombstones. Total erasure of entire CoValues is coming soon but should only be needed in compliance situations (such as GDPR)

comment 2y ago · link · parent

I think we're good for now but please link your GitHub / most impressive project, or shoot me an email to anselm@gcmp.io

comment 2y ago · link · parent

yes! The hard part that Jazz doesn't solve is peer discovery. If you give Jazz a peer and a transport mechanism it will happily sync to it

comment 2y ago · link · parent

update 3: added rendering of only the newest messages per default, scroll-to-bottom, and message length truncation to deal with the spam a bit better

comment 2y ago · link · parent

update 2: should be working now (give it a second to fully load)

comment 2y ago · link · parent

Thanks, this is very helpful. If it's unfeasible for a small indie app then that's a bug in the pricing.

If you have time, I'd love to hear about your app and work out alternatives (not just for you, but for everyone)

anselm@gcmp.io anselm_io on Twitter

Or book a chat directly: https://cal.com/anselm-io/talk-about-jazz

(everyone else who has opinions on pricing is welcome to do the same)

comment 2y ago · link · parent

Thanks for reporting, created an issue: https://github.com/gardencmp/jazz/issues/498

In this case we should fall back to using in-memory state only

comment 2y ago · link · parent

Meteor works on top of a traditional backend (typically MongoDB afaik?) to give you full-stack reactivity.

Jazz implements essentially a distributed database with permissions based on public-key cryptography, so you can meaningfully create, edit, share and store data on the client (even while offline), which gets synced to other users and devices (and stored in the cloud) whenever you're online

comment 2y ago · link · parent

Thanks, Aaron!

comment 2y ago · link · parent

update: it's not the amount of people in it that broke this room https://news.ycombinator.com/item?id=41775047

comment 2y ago · link · parent

Thanks, Timo! Couldn't ask for better early adopters than you guys

comment 2y ago · link · parent

Thanks, whoever you are!
1234