frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

An Interactive Intro to CRDTs (2023)

https://jakelazaroff.com/words/an-interactive-intro-to-crdts/
48•evakhoury•2h ago

Comments

anematode•58m ago
Enjoyed the article! As someone who's worked on bits of collaborative software (and is currently helping build one at work), I'd caution people from using CRDTs in general. A central server is the right tool for the job in most cases; there are certain things that are difficult to handle with CRDTs, like permissions and acquiring locks on objects.

Edit: I had an excerpt here which I completely misread. Sorry.

gritzko•54m ago
Heh. Find how to grant permissions/ acquire lock in git. You can not. That is fundamental to distributed systems.

Downside: harder to think about it all.

Upside: a rocket may hit the datacenter.

From what I remember about Figma, it can be proclaimed CRDT. Google Docs got their sync algorithm before CRDT was even known (yep, I remember those days!).

anematode•44m ago
Of course. But typical, live collaborative software doesn't need to be (and shouldn't be) decentralized. In such software it's annoying to not be able to (even speculatively) acquire unique access to an object. I'd be very surprised if Google Docs used CRDTs now.
epistasis•48m ago
Here's a 2019 Figma article on this, not sure if its representative of their current system

> OTs power most collaborative text-based apps such as Google Docs. They’re the most well-known technique but in researching them, we quickly realized they were overkill for what we wanted to achieve ...

> Figma's tech is instead inspired by something called CRDTs, which stands for conflict-free replicated data types. ... Figma isn't using true CRDTs though. CRDTs are designed for decentralized systems where there is no single central authority to decide what the final state should be

https://www.figma.com/blog/how-figmas-multiplayer-technology...

tomhow•26m ago
Previously...

An interactive intro to CRDTs - https://news.ycombinator.com/item?id=37764581 - Oct 2023 (130 comments)

jasonjmcghee•22m ago
My absolute favorite kind of blog post and the same structure/style I use.

Also a really well written piece.

linkdd•15m ago
Last-Write-Win CRDTs are nice, but where CRDT really shine is when the state truly converge in a non-destructive way, for example:

1) Counters

While not really useful, they demonstrate this well: mutations are +1 and -1, their order do not matter, converging the state is a matter of applying the operations of remote peers locally.

2) Append-only data structures

Useful for accounting, or replication of time-series/logs with no master/slave relationship between nodes (where writes would be accepted only on a "master" node).

The only mutation is "append", and converging the state is applying the peers operations then sorting by timestamp.

tl2do•3m ago
I haven't dug into this deeply, but to me CRDTs look like a P2P data structure abstracted to the programming language variable level. The article says they shine when you don't want a central server. But most communication libraries already handle authentication and multiple peers well — and if you designate one peer as canonical (via leader election), conflict resolution is solved. I'm curious what use cases make avoiding a central server worth the paradigm shift. That said, it's a choice of approach — some may prefer the CRDT paradig

Turning 4,668 PR review comments into rules to automate Pydantic AI code review

https://pydantic.dev/articles/scaling-open-source-with-ai
1•yoredana•30s ago•0 comments

I Use Neovim by the Way

https://stupid-ideas.com/blog/2026_03_02__nvim_setup.html
1•KuSpa•1m ago•0 comments

Scripting on the JVM with Java, Scala, and Kotlin

https://mill-build.org/blog/19-scripting-on-the-jvm.html
2•PaulHoule•2m ago•0 comments

Show HN: Validatedata 0.3.0 – lightweight inline data validation for Python

https://pypi.org/project/validatedata/
1•EdwardK1•2m ago•0 comments

OpenWRT 25.12.0 Released

https://openwrt.org/releases/25.12/notes-25.12.0
2•voxadam•3m ago•0 comments

Incident postmortem in the age of AI agents

https://blog.firetiger.com/postmortem-on-the-march-1-2026-ingest-incident/
1•achille-roussel•3m ago•0 comments

CIA Station Hit in Drone Attack

https://www.washingtonpost.com/national-security/2026/03/03/cia-saudi-arabia-drone-attack-iran/
1•jbegley•3m ago•0 comments

Chat at your own risk Data brokers are selling deeply personal bot transcripts

https://www.theregister.com/2026/03/03/chatbot_data_harvesting_personal_info/
1•jjgreen•4m ago•0 comments

Trae Stephens: I want to buy Wired

https://twitter.com/i/status/2028824764656283997
1•mudil•7m ago•0 comments

Show HN: I build a free topical authority map generator for blog

https://kitful.ai/write-tools/topical-map-generator
1•eashish93•8m ago•0 comments

Show HN: Headless Obsidian Sync Client

https://github.com/alexjbarnes/vault-sync
1•recouptreadmill•9m ago•0 comments

Show HN: VibeDiff – Blocks Claude Code from shipping breaking changes

https://github.com/SallahBoussettah/vibe-diff
1•Boussettah•9m ago•0 comments

Buckle Up for Bumpier Skies

https://www.newyorker.com/projects/interactive/2026/20260226-bilger-turbulence-header-prod/202602...
1•rbanffy•11m ago•0 comments

How To Put 30 Languages Into 1.1MB – hypher, a fast hyphenation library for Rust

https://laurmaedje.github.io/posts/hypher/
1•zdw•11m ago•0 comments

Prediction markets on Deutsche Bahn departure delays

https://bahn.bet
2•dancric•11m ago•0 comments

AI causing programmers to work longer hours fixing bugs

https://www.scientificamerican.com/article/why-developers-using-ai-are-working-longer-hours/
3•timoth3y•13m ago•1 comments

Show HN: A Free, interactive API course for product managers

https://api101.org/en
1•matb31240•14m ago•0 comments

Qwen 3.5: best open-weight vision models, now on live video at 200ms

https://blog.overshoot.ai/blog/qwen3.5-on-overshoot
1•YounElh•14m ago•0 comments

Voice Can Make Coding Agents Better (In Some Cases)

https://nimasadri11.github.io/random/voice-input-agents.html
2•nimasadri11•16m ago•0 comments

A Vindication of Bjorn Lomborg

https://humanprogress.org/a-vindication-of-bjorn-lomborg/
1•mpweiher•17m ago•0 comments

Study: LLMs Able to De-Anonymize User Accounts on Reddit, Hacker News

https://wjamesau.substack.com/p/warning-llms-able-to-de-anonymize
1•SLHamlet•17m ago•0 comments

A Soft-Landing Manual for the Second Gilded Age

https://www.joanwestenberg.com/a-soft-landing-manual-for-the-second-gilded-age/
1•spking•19m ago•0 comments

Claude Code skills for modern xOS (iOS, iPadOS, watchOS, tvOS) development

https://github.com/CharlesWiltgen/Axiom
1•rob•23m ago•0 comments

How Teens Use and View AI

https://www.pewresearch.org/internet/2026/02/24/how-teens-use-and-view-ai/
2•bookofjoe•24m ago•0 comments

Three scientists who said no to Epstein

https://www.science.org/content/article/meet-three-scientists-who-said-no-epstein
5•klipt•25m ago•0 comments

TrustLoop – Real-time policy enforcement and audit logging for AI agents

https://www.trustloop.live/
1•soji_mathew•27m ago•0 comments

Cybersecurity Forecast 2026 [pdf]

https://services.google.com/fh/files/misc/cybersecurity-forecast-2026-en.pdf
1•bookofjoe•31m ago•0 comments

Show HN: Interactive WordNet Visualizer-Explore Semantic Relations as a Graph

https://wordnet-vis.onrender.com/
1•ricky_risky•33m ago•0 comments

How to Manage Team Offsites Across Multiple Departments Without Micromanaging

https://daydreamsinruby.com/blog/2026-02-23-aligned-offsite-outcomes/
1•mooreds•33m ago•0 comments

Clud – super light-weight tool to turn natural language to terminal commands

https://github.com/oskob/clud
1•oskob•34m ago•2 comments