Wordsmiths - Operational Transformation in Python
summary
Open-source Python library implements operational transformation for text with concrete code on GitHub and a pip install wordsmiths package; it implements string and character classes, four concrete cases (insert/insert, insert/delete, delete/insert, delete/delete) using conditional index adjustments to produce transformed operations. A demo server runs on a VPS behind nginx and gunicorn with WebSockets via Flask-SocketIO, a basic collaborative editor exists but still breaks and goes out of sync under concurrent edits.
AI-written summary · about
chapters (14)
- 0:00Start
- 2:33Open Source
- 3:28The Role of the Algorithm
- 3:49Operations
- 5:20The OT Diamond
- 6:05Google's Definition
- 6:57My Implementation
- 7:10Basic Usage
- 7:25Basic Library Summary
- 7:54Wordsmiths Algorithm Demo Operation 1 Insert
- 8:37Design Strategy
- 11:35Python's Impact
- 12:53Shortcomings of Python
- 13:57Future Aspirations
related talks
43mA practical guide to Distributed Systems Architecture
23mBuilding a real-time collaborative editor with Phoenix
38mAnyone can edit
37mDistributed SQL Transactions
01h 00mDataflow Engines for Executing Cloud Applications: a Maslow's Hammer?
24mOne Small Step
35mC++ Workflow: Task-based Parallel Computing and Asynchronous Networking Engine
37mRebuilding Workflow Orchestration in Elixir: The Story of Gust
