Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matlin
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
matlin
1y ago
More niche use case but this would be awesome for communicating between contexts in web app (e.g. web worker, iframe, etc)
2.
▲
by
matlin
1y ago
With React Native yes but not yet with Swift. There's been quite a few requests to my surprise through--I figured CloudKit, etc would be sufficient on iOS but I don't have experience there.
3.
▲
by
matlin
1y ago
Great catch, fixed!
4.
▲
by
matlin
1y ago
PouchDB and CouchDB were what inspired me to build Triplit[1]. The idea of having an identical (or merely similar in the case of Pouch/Couch) query engine accessible on client and server is insanely powerful. The author links to a much
5.
▲
A more practical definition of Local First
(triplit.dev)
3 points
by
matlin
1y ago
|
0 comments
6.
▲
Triplit 1.0: The database that's in sync with your front end
(triplit.dev)
2 points
by
matlin
1y ago
|
0 comments
7.
▲
by
matlin
1y ago
My ideal version of this is simple: just define the queries you want (no matter how complex) and the you'll get exactly the data you need to fulfill those queries, no more, no less. And the cherry on top would be to have your queries u
8.
▲
PrimJS JavaScript Engine
(github.com)
1 points
by
matlin
2y ago
|
0 comments
9.
▲
Bubble Watch
(oaktreecapital.com)
3 points
by
matlin
2y ago
|
0 comments
10.
▲
by
matlin
2y ago
You should check out Triplit as well, we have React Native support[0] and the best Typescript integration by far 0. https://www.triplit.dev/docs/frameworks/react-native
11.
▲
by
matlin
2y ago
We apply incremental, streamable "joins" (relational queries) for real-time syncing between application client and server. I think much of the initial research in this space was around data pipelines but the killer app (no pun int
12.
▲
by
matlin
2y ago
I've used React Native quite a bit in the past and I gotta say I wish it didn't have to exist at all. It's often times fine on iOS and then incredibly slow on Android. Hermes is very exciting but still requires many polyfills
13.
▲
by
matlin
2y ago
I've made just this! Docs for it: https://www.triplit.dev/docs/frameworks/tanstack-router#exam... It by default uses IndexedDB but can also use SQLite but does real time, relational querying and (optionally)
14.
▲
by
matlin
2y ago
A lot of the newer local first systems, like Triplit (biased because I work on it), support partial replication so only the requested/queried data is sent and subscribed to on the client. The other issue of relying on a just the server
15.
▲
by
matlin
2y ago
You'd probably enjoy Triplit then--especially if you're using Typescript. https://triplit.dev
16.
▲
by
matlin
2y ago
Seph (author) also has a reference implementation in Typescript: https://github.com/josephg/eg-walker-reference I've stated before that I think the main thing holding back collaborative text / sequence CRDTs
17.
▲
Demo of a todos app syncing over a slow network with CRDTs and Triplit
(demo.triplit.dev)
4 points
by
matlin
2y ago
|
0 comments
18.
▲
by
matlin
2y ago
Do you see Ladybird beating the incumbent browsers in any dimension .e.g. performance, usability?, security, etc? Personally, I much prefer developing for the web than native so if there were APIs exclusive to Ladybird it might create a nic
19.
▲
The Spectrum of Local First Libraries
(tolin.ski)
3 points
by
matlin
2y ago
|
0 comments
20.
▲
by
matlin
2y ago
Glad you've enjoyed using Triplit! on self-hosting: We're cleaning up the docs on self-hosting to make the configuration clearer, thanks for point that out. on querying: Yeah we don't have aggregations yet but it's on ou
21.
▲
by
matlin
2y ago
Can you point to which part in the license gives you the impression that using an unmodified version of AGPL code requires using AGPL for your entire application? Either way your interpretation is not our intention so I'll make sure th
22.
▲
by
matlin
2y ago
This is a great question! The short answer is by maintaining backwards compatibility in your schema--it's basically the easiest way to guarantee compatibility. We have warnings in place to let you know when you've made a change th
23.
▲
by
matlin
2y ago
It's not currently possible to use MongoDB with Triplit, you would use Triplit's server instead but it's very easy to setup with React: https://www.triplit.dev/docs/quick-start
24.
▲
by
matlin
2y ago
Got it, that makes sense. Probably could spin up Node process but of course that requires having Node installed or bundled with the app.
25.
▲
by
matlin
2y ago
Yeah it's totally usable as is but we're nearly finished with a new system that has more granular controls like delete, preUpdate, postUpdate, insert, and read. We'll still support the existing rules for backwards compatibili
26.
▲
by
matlin
2y ago
I thought Tauri was just using native web renderers? Seemingly Triplit should work out of the box.
27.
▲
by
matlin
2y ago
No real reason other than we wanted to customize it and move quickly. I'm sure Chet, the maintainer, wouldn't oppose any of the changes we've made.
28.
▲
by
matlin
2y ago
Triplit uses its own standalone server (similar to other database servers) which you can talk to via HTTP https://www.triplit.dev/docs/http-api
29.
▲
by
matlin
2y ago
React Query (and other query caching libraries) are great until you have overlapping data between your queries. E.g. you edit a message in one place but other queries that show that same message (like a preview in your chat list) don't
30.
▲
by
matlin
2y ago
Thanks for the kind words and help identifying issues in Triplit as you've built your app!
More ›