Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matlin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
matlin
3y ago
If you need multiple writers and can handle eventual correctness, you should really be using cr-sqlite[1]. It'll allow you to have any number of workers/clients that can write locally within the same process (so no network overhea
92.
▲
by
matlin
3y ago
I took a a couple classes in college that were taught in NetLogo. While it isn't the most practical language (except for visual simulations), I think it's incredibly valuable to learn to think in terms of isolated agents. It bring
93.
▲
by
matlin
3y ago
This is an awesome resource! Glad Triplit made the list of hosted services (we're also open-source) One common misconception with local-first, is that it's essentially local-only. But I believe the best experience is where the ser
94.
▲
by
matlin
3y ago
That's pretty insane that TikTok will also do fulfillment! That has to be a major differentiating feature from all of the other social media companies right? I would be very surprised if Meta or Google did anything close to that when i
95.
▲
by
matlin
3y ago
The idea of representing a view over a stream with a type of circuit diagram is really neat and seems like the big unlock here. Makes me wonder if you could create a toy implementation in a reactive stream library like RxJS but one that is
96.
▲
by
matlin
3y ago
Any comparisons to Automerge or Y.js/Yrs regarding performance or features?
97.
▲
Hibernatable WebSockets API for Cloudflare Durable Objects
(developers.cloudflare.com)
2 points
by
matlin
3y ago
|
0 comments
98.
▲
by
matlin
3y ago
Refreshing to see how much care is being taking to mantain compatibility with the greater JS ecosystem. No easy task when there's a dozen runtimes these days (Node, Deno, Bun, Hermes, etc). Kinda surprising that fetchJSON (or some equi
99.
▲
by
matlin
3y ago
The lead dev of Cloudflare workers is the creator of Cap'n Proto so that likely made it an easy choice
100.
▲
WebAssembly Polyfill (run WASM in vanilla JavaScript)
(github.com)
4 points
by
matlin
3y ago
|
0 comments
101.
▲
by
matlin
3y ago
Does EdgeNode doing anything differently from Fly.io?
102.
▲
Generalized Search Tree
(en.wikipedia.org)
1 points
by
matlin
3y ago
|
0 comments
103.
▲
by
matlin
3y ago
Kind of funny timing because I've noticed my messages in Slack have been quite a bit more delayed than usual for the last few months, especially when moving between devices. Maybe they need more "channel servers"
104.
▲
by
matlin
3y ago
Seems more of a generic authorization proxy rather than anything frontend related. Useful but "front-end only" doesn't seem to to accurate
105.
▲
by
matlin
3y ago
Cool, I'll check out your repos. Supabase also has Postgres CRDT ( https://github.com/supabase/pg_crdt ). But, in general, I think searching in and across documents and database storage is going to a thorny problem
106.
▲
by
matlin
3y ago
I'm happy to see even further performance improvements towards rich-text CRDTs but at this point, I think the barrier to adoption isn't speed or compactness but instead integration with existing backends and databases. I have a hu
107.
▲
by
matlin
3y ago
It bundles an entire JS engine with it. I think JSC in Bun's case. V8 for Deno and Node.
108.
▲
by
matlin
4y ago
Very cool for projects like Hasura and Supabase which rely on middleman http servers (like PostgREST). But also great for building tools like database inspectors / SQL managers right in the browser!
109.
▲
by
matlin
4y ago
This is pretty much what Flutter is. Except Flutter has system-specific UI's created by Google so each app can have that native look depending on where it's running.
110.
▲
by
matlin
4y ago
Can't wait for this. Pipes are awesome in Elixir and bringing them to JS/TS will be great. To me this is both concise and readable: const weather = `https://api.weather.gov/gridpoints/TOP/31,80/
111.
▲
by
matlin
4y ago
I wonder how long before Apple blocks this. They seem to be pretty hostile to these types of apps and even limited Expo's ability to load projects on iOS if you weren't the direct developer[1]. Curious if Retool got explicit permi
112.
▲
Is it worth encrypting?
(matthewlinkous.com)
47 points
by
matlin
4y ago
|
70 comments
113.
▲
by
matlin
4y ago
Elixir is having a big push into machine learning (checkout Nx and Axon) and generally is also great for doing data streaming processing so you could imagine tools cropping up that might have it's primary interface be a CLI... this wou
114.
▲
by
matlin
4y ago
We had this exact thing happen to us. I think the most offensive part is that Twilio still makes money as their customers get scammed so are financially incentivized to keep letting it happen. And on top of that they disrespect their custom
115.
▲
by
matlin
4y ago
I'm curious how this relates to Skia (the library that handles cross-platform rendering for Chrome and Flutter). Seems like this could be an alternative backend but also could serve as faster replacement?
116.
▲
by
matlin
4y ago
Last Writer Wins is not the most compelling use case for CRDT because if those fruits were denormalized into Postgres rows, you'd already have the behavior described. A more interesting example, might be if both users were inserting a
117.
▲
by
matlin
4y ago
We basically have that as well! We use CRDTs on the client to allow for optimistic updates and fast replication of events directly to other clients but we also do exactly what you describe on the server so that a user loading the data for t
118.
▲
by
matlin
4y ago
We use logical timestamps instead of datetime. So each "event" has three properties that allow us to resolve to a sensible order across clients: session (integer), device_id (uuid), order (integer). The `session` number is set by
119.
▲
by
matlin
4y ago
There's actually an approach that sits in between this and formal CRDTs. I had the same insight that having a total ordered log of changes solves a lot of the issues with concurrent updates. We solved this by creating one sequence CRDT
120.
▲
by
matlin
4y ago
The downside to this future is that it, being the shift from applications to services, means instead of your data living on your computer it is instead fragmented across a bunch of other random places. While most consumers don't really
More ›