#
msgid ""
msgstr ""
msgid ""
"title: 'On \"local-first\": beyond the CRDT silver bullet'\n"
"date: 2020-10-26\n"
"layout: slides\n"
"lang: en\n"
"ref: on-local-first-beyond-the-crdt-silver-bullet\n"
"published: false"
msgstr ""
msgid "On local-first"
msgstr ""
msgid "Beyond the CRDT silver bullet"
msgstr ""
msgid "Part 1"
msgstr ""
msgid "Exposition"
msgstr ""
msgid "\"cloud apps\" vs \"old-fashined apps\""
msgstr ""
msgid "Target"
msgstr ""
msgid "documents"
msgstr ""
msgid "files"
msgstr ""
msgid "personal data repositories"
msgstr ""
msgid ""
"Not: banking services, e-commerce, social networking, ride-sharing, *etc*."
msgstr ""
msgid "7 Ideals for local-first software"
msgstr ""
msgid "1 - No Spinners: Your Work at Your Fingertips"
msgstr ""
msgid "2 - Your Work Is Not Trapped on One Device"
msgstr ""
msgid "3 - The Network Is Optional"
msgstr ""
msgid "4 - Seamless Collaboration with Your Colleagues"
msgstr ""
msgid "5 - The Long Now"
msgstr ""
msgid "6 - Security and Privacy by Default"
msgstr ""
msgid "7 - You Retain Ultimate Ownership and Control"
msgstr ""
msgid "Towards a Better Future"
msgstr ""
msgid ""
"CRDTs (Conflict-free Replicated Data Types) as a Foundational Technology"
msgstr ""
msgid "Use case"
msgstr ""
msgid ""
"# in node A and node B\n"
"s = \"Hello, World\"\n"
"\n"
"# in node A\n"
"s = \"Hello, Alice\"\n"
"\n"
"# in node B\n"
"s = \"Hello, Bob\"\n"
msgstr ""
msgid "How to reconcile those?"
msgstr ""
msgid "`Hello, ABloibce`"
msgstr ""
msgid "`Hello, AliceBob`"
msgstr ""
msgid "`Hello, BobAlice`"
msgstr ""
msgid "`Hello, Alice`"
msgstr ""
msgid "`Hello, Bob`"
msgstr ""
msgid "Existing CRDTs differ:"
msgstr ""
msgid "performance"
msgstr ""
msgid "storage"
msgstr ""
msgid "compression"
msgstr ""
msgid "metadata overhead"
msgstr ""
msgid "Hint towards the \"automerge\" CRDT"
msgstr ""
msgid "*show comparison table, page 9*"
msgstr ""
msgid "Part 2"
msgstr ""
msgid "Critique"
msgstr ""
msgid "Software license"
msgstr ""
msgid ""
"In our opinion, maintaining control and ownership of data does not mean that"
" the software must necessarily be open source."
msgstr ""
msgid "Example 1 - intentional restriction"
msgstr ""
msgid ""
"#!/bin/sh\n"
"\n"
"TODAY=$(date +%s)\n"
"LICENSE_EXPIRATION=$(date -d 2020-10-27 +%s)\n"
"\n"
"if [ $TODAY -ge $LICENSE_EXPIRATION ]; then\n"
" echo 'License expired!'\n"
" exit 1\n"
"fi\n"
"\n"
"echo $((2 + 2))\n"
msgstr ""
msgid ""
"# today\n"
"$ ./useful-adder.sh\n"
"4\n"
"# tomorrow\n"
"$ ./useful-adder.sh\n"
"License expired!\n"
msgstr ""
msgid "Example 2 - unintentional restriction"
msgstr ""
msgid ""
"# today\n"
"$ useful-program\n"
"# ...useful output...\n"
"\n"
"# tomorrow, with more data\n"
"$ useful-program\n"
"ERROR: Panic! Stack overflow!\n"
msgstr ""
msgid "local-first **requires** free/libre software"
msgstr ""
msgid "Otherwise \"The Long Now\" (ideal nº5) is lost"
msgstr ""
msgid "Denial of existing solutions"
msgstr ""
msgid ""
"In principle it is possible to collaborate without a repository service, "
"e.g. by sending patch files by email, but the majority of Git users rely on "
"GitHub."
msgstr ""
msgid "Solution: either GitHub+CRDTs or `git` **`send-email`**"
msgstr ""
msgid "Plain text formats"
msgstr ""
msgid "Git is highly optimized for code and similar line-based text file"
msgstr ""
msgid "It even pulls software to the plain text direction, e.g.:"
msgstr ""
msgid "delivery-templates"
msgstr ""
msgid "`common-core.protocols.config`"
msgstr ""
msgid "Why not exploit that more?"
msgstr ""
msgid "Ditching of web applications"
msgstr ""
msgid "The architecture of web apps remains fundamentally server-centric"
msgstr ""
msgid ""
"Disagree. Constrast [PouchDB](https://pouchdb.com/) with Android [Instant "
"Apps](https://developer.android.com/topic/google-play-instant)"
msgstr ""
msgid "???"
msgstr ""
msgid "Talk on dynamic content"
msgstr ""
msgid "Costs are underrated"
msgstr ""
msgid "backups"
msgstr ""
msgid "maintanence"
msgstr ""
msgid "Example: blog vs vlog"
msgstr ""
msgid "Real-time collaboration a bit overrated"
msgstr ""
msgid ""
"It is only possible on the presence of reliable, medium-quality network "
"connection"
msgstr ""
msgid "X also works when inside an elevator, subway or plane!"
msgstr ""
msgid "On CRDTs and developer experience"
msgstr ""
msgid ""
"For an app developer, how does the use of a CRDT-based data layer compare to"
" existing storage layers like a SQL database, a filesystem, or CoreData? Is "
"a distributed system harder to write software for?"
msgstr ""
msgid "Yes."
msgstr ""
msgid ""
"See \"[A Note on Distributed "
"Computing](https://web.archive.org/web/20130116163535/http://labs.oracle.com/techrep/1994/smli_tr-94-29.pdf)\""
msgstr ""
msgid "Conclusion"
msgstr ""
msgid "Why this is a \"paper I love\": it took offline-first and ran with it."
msgstr ""
msgid "But a pinch of CRDT won't make the world local-first."
msgstr ""
msgid "The tricky part is the end of the sentence: \"**in spite of the Cloud**\"."
msgstr ""
msgid "Thank you!"
msgstr ""
msgid "References:"
msgstr ""
msgid "these slides: [{{ site.tld }}/slides.html]({% link slides.md %})"
msgstr ""
msgid ""
"[prose version of this presentation]({% link _articles/2020-10-26-on-local-"
"first-beyond-the-crdt-silver-bullet.md %})"
msgstr ""
msgid ""
"\"[Local-First Software: You Own Your Data, in spite of the "
"Cloud](https://martin.kleppmann.com/papers/local-first.pdf)\", by M. "
"Kleppmann, A. Wiggins, P. Van Hardenberg and M. F. McGranaghan"
msgstr ""
msgid ""
"[The Morning Paper](https://blog.acolyer.org/2019/11/20/local-first-"
"software/) article"
msgstr ""