HackerTubewatch
Surprise me
Frame from dotJS 2019 - James Long - CRDTs for Mortals Plays via YouTube's privacy-enhanced embed

dotJS 2019 - James Long - CRDTs for Mortals

6 videos recommended on HN
YouTube
3 HN users recommended this talk4 months2020–2023 score 4.5
Years with an HN recommendation, 2007–2026

Recommended as an approachable introduction to CRDTs and the local-first idea behind apps like Actual.

James Long's dotJS 2019 talk on how CRDTs enable local-first apps and how simple they can be to implement. He shows how to use them to build robust offline-capable frontends.

“the same one who made a great talk on using CRDTs called CRDTs for Mortals” (HN, 2023)

1 strong recommendations · 3 recommendations · 1 citations · Talks · intermediate

5 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@satvikpendem Oct 2023 Strongly recommends
on HN thread Actual is going open-source
Worth noting that the author, James Long, is the same one who made a great talk on using CRDTs called CRDTs for Mortals [0], and he uses them in Actual as well. He was a great source of inspiration when I was looking into using them for my offline-first, local-first apps [1]. [0] [this video] [1] [link]
Great talk that inspired local-first apps.
@raihansaputra Jun 2020 Recommends
on HN thread One word in PostgreSQL unlocked a 9x performance improvement
The author has a conference talk talking about CRDT and the timestamp technique he uses. Really useful if anyone else wonders what's the problem with wall clock timestamps. dotJS 2019 - James Long - CRDTs for Mortals (20:44): [this video] EDIT: btw, out of all the comments on the timestamp here, seems like only yours is not complaining about the format, and even points out that the article did not go in depth yet to specify the actual timestamp that he uses.
Explains problem with wall clock timestamps and CRDTs.
@raihansaputra Dec 2020 Recommends
on HN thread Ask HN: What are some concrete examples of good SPA's?
Read more
Yeah. The trick to managing the offline states is to have it as cache. So updating and solely relying on the server, and only serve when offline. On the interactivity side, I feel that a lot of tools that I use daily justifies the use of SPA/PWA. Definitely can be passable with HTML SSR, but there's not much examples of it yet. Todoist: No hassle offline handling. It will sync on it's own. Twitter: They do intercept everything and handle/queue requests when the client is offline. It's not perfect though. Roam: Again. Offline syncing, mainly offline search/document creation. This is a bit unique though as I think the server basically is just a sync logic. I feel that the SPA stage is definitely a growing phase instead of a destination to be. There's a lot of problems that are not solved elegantly yet, and it's and the boundaries. But I feel that SPA and all of it's learnings will be an example of how the next step will be like. And with .wasm coming, there's a lot of possibility of different architectures/how to build apps. Some talks that refers to why/how SPA makes sense for some problems/usecases: Offline first PWA/Web App, with CRDT for syncing: [this video] (James Long's CRDT For Mortals talk) State management framework oriented for offline/PWA use: [link]
Offline-first web apps with CRDT syncing.
@azteceagle Oct 2021 Recommends
on HN thread Downsides of Offline First
We are in the same need right now. Something that we have researched and think it has a lot of potential, at least for us is James Long sync implementation. You can check out his talks and demos at: * [link] * [this video] And his demo implementation (and annotated fork): * [link] * htps://github.com/clintharris/crdt-example-app_annotated/blob/master/NOTES.md I wonder why there isn't some open source engine based on this at least for CRUD apps since it has a lot of potential and it is really "simple" to implement and even understand.
Promising simple sync implementation by James Long.

Citations, criticism and jokes

@satvikpendem Oct 2023 Cites it
on HN thread Actual is going open-source
Based on the author's talk [0], looks like it's grow-only sets. I haven't looked at the code though so it might have changed since he gave that talk in 2019. [0] [this video]
Talk describes grow-only sets approach.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close