Superb article on building a real time rich text editor: https://ckeditor.com/blog/Lessons-learned-from-creating-a-rich-text-editor-with-real-time-collaboration/
Discusses operational transforms with hierarchical text (e.g. you edit text whilst the other user makes part of it a link) and markers (persistent regions that automatically move when you edit).
miniblog.
Related Posts
Superb discussion of Go semantics for `for` loop variables, the challenges of breaking changes, and the tradeoffs of static analysis:
Superb deep dive on rust compile optimisation with CI caching, examining usage of monomorphisation, and graphing the build tree: https://matklad.github.io/2021/09/04/fast-rust-builds.html
Another Aphyr coding interview post, blending amazing programming with superb prose.
(And this time, she is recommended to hire!)