Slide 1

Slide 1 text

Save the Web: Decentralize!

Slide 2

Slide 2 text

dunglas.fr - @dunglas Agenda ❏ The web is dying ❏ What is to be done? ❏ Code is law

Slide 3

Slide 3 text

dunglas.fr - @dunglas The Web is Dying

Slide 4

Slide 4 text

dunglas.fr - @dunglas What’s the Web?

Slide 5

Slide 5 text

dunglas.fr - @dunglas The Web of 2020

Slide 6

Slide 6 text

dunglas.fr - @dunglas The Web, as Designed « The Web is intended to be an Internet-scale distributed hypermedia system […]. The Internet is about interconnecting information networks across multiple organizational boundaries. »
 - Roy T. Fielding,
 Architectural Styles and the Design of Network-based Software Architectures, 2000

Slide 7

Slide 7 text

dunglas.fr - @dunglas The Web, as Designed decentralized

Slide 8

Slide 8 text

dunglas.fr - @dunglas The Web of Today centralized

Slide 9

Slide 9 text

dunglas.fr - @dunglas The Web of Today ❏ GAFAM represent 36% of French Internet time (Mediametrie) ❏ Amazon is the leader in cloud computing (50% market share), in e-commerce (AWS, 50% ms) and live-streaming (Twitch, 75% ms) ❏ Facebook is the leading social network (70% ms) and also owns Instagram, WhatsApp and Giphy ❏ GitHub (Microsoft) is the leading development platform and most free projects depend of it ❏ Google (70% ms) and Apple (30% ms) are the leaders for mobile OS

Slide 10

Slide 10 text

dunglas.fr - @dunglas Technology is Political

Slide 11

Slide 11 text

dunglas.fr - @dunglas Giving Marginalized Groups a Voice « [While creating the web], I realized that the web technology had to be universal to work for any type of computer, but also any language, genre, or culture. » - Tim Berners-Lee, creator of the web

Slide 12

Slide 12 text

dunglas.fr - @dunglas The Web is Political! « Exchange [on the Internet] occurs without the networks knowing the content of the data, or without any true idea of who in real life the sender of a given bit of data is. This code is neutral about the data, and ignorant about the user. These features of TCP/IP have consequences for the "regulability" of behavior on the Internet. They make regulating behavior difficult. » - Lawrence Lessig, Code Is Law, 2000

Slide 13

Slide 13 text

dunglas.fr - @dunglas The Web is Political! « [It] is especially important enabling women, the poor, and other marginalized groups to access the web and the opportunities for social and economic empowerment Internet access provides » - Tim Berners-Lee, creator of the web

Slide 14

Slide 14 text

dunglas.fr - @dunglas Centralization is Harmful for Our Communities!

Slide 15

Slide 15 text

dunglas.fr - @dunglas

Slide 16

Slide 16 text

dunglas.fr - @dunglas The Threats coming With Centralization Two main kind of threats: ❏ Mass Surveillance ❏ Censorship 
 Two main kind of actors: ❏ Governments ❏ Tech Giants

Slide 17

Slide 17 text

dunglas.fr - @dunglas Centralization and Mass Surveillance

Slide 18

Slide 18 text

dunglas.fr - @dunglas The Web of Today centralized

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

dunglas.fr - @dunglas Centralization and Censorship

Slide 22

Slide 22 text

dunglas.fr - @dunglas The « Hate » Law (« loi Avia ») ❏ Social networks must remove « clearly illegal » content in less than 24H ❏ Terrorist propaganda and child pornography must be removed in less than 1H ❏ Fine of 200K€ for any content not deleted ❏ No judge involved, no call ❏ Current status: found unconstitutional (on hold)

Slide 23

Slide 23 text

dunglas.fr - @dunglas Example: Video of a Police Brutality Shot by a Journalist in my City

Slide 24

Slide 24 text

dunglas.fr - @dunglas Official Reply from the Police:

Slide 25

Slide 25 text

dunglas.fr - @dunglas Do You See the Problem Now? ❏ The original tweet containing the video isn’t available anymore ❏ With the « hate » law, police could be judge and party, and force the removal of police brutality recordings ❏ A new bill is being discussed (« loi Ciotti »), it could make illegal the publication of police brutality videos

Slide 26

Slide 26 text

dunglas.fr - @dunglas Do You See the Problem Now? This guy is a cop speaking out racism in the police.

Slide 27

Slide 27 text

dunglas.fr - @dunglas This tweet is still available through Tor Browser btw… Tor is a useful highly political piece of software.

Slide 28

Slide 28 text

dunglas.fr - @dunglas And It’s Not Only About Twitter ❏ Facebook blocks the pages of the Kurdish organizations fighting ISIS (because asked to by Turkey) ❏ GitHub (MS) blocks all Iranian users, including famous OSS contributors (NuxtJS Core Team…) ❏ GitHub (MS) banned Tsunami Democràtic's source code (pro Catalan-independence)

Slide 29

Slide 29 text

dunglas.fr - @dunglas The Web of Today centralized

Slide 30

Slide 30 text

dunglas.fr - @dunglas Code is Law These laws can be easily enforced
 only because
 the web isn’t decentralized anymore!

Slide 31

Slide 31 text

dunglas.fr - @dunglas What Is To Be Done?

Slide 32

Slide 32 text

dunglas.fr - @dunglas So What to Do? ❏ Organize! ❏ Refuse! ❏ Code!

Slide 33

Slide 33 text

dunglas.fr - @dunglas Organize

Slide 34

Slide 34 text

dunglas.fr - @dunglas Organize

Slide 35

Slide 35 text

dunglas.fr - @dunglas Refuse

Slide 36

Slide 36 text

dunglas.fr - @dunglas Refuse ❏ Centralization, mass surveillance, censorship, racist IA, … exist only because people code them. Refuse to do it! ❏ Work in companies where you decide, not your boss, not the stockholders: worker-owned cooperatives

Slide 37

Slide 37 text

dunglas.fr - @dunglas Code Is Law!

Slide 38

Slide 38 text

dunglas.fr - @dunglas Code Is Law « The code regulates. It implements values, or not. It enables freedoms, or disables them. It protects privacy, or promotes monitoring. People choose how the code does these things. People write the code. » - Lawrence Lessig, Code Is Law, 2000

Slide 39

Slide 39 text

dunglas.fr - @dunglas Let’s Code! decentralized centralized

Slide 40

Slide 40 text

dunglas.fr - @dunglas The Web / Linked Data Random GAFAM tech Origin Scientific community, to serve humanity Serve their business Data access « Internet as a global database » Centralized information silos Interoperability Global and built-in Usually none, sometimes partial Best suited for Decentralized and Distributed systems Public APIs (« Open Data ») The World Wide Web Centralized systems Internal APIs

Slide 41

Slide 41 text

dunglas.fr - @dunglas High level protocols (ActivityPub, Solid, Mercure…) HTTP(S) Vocabularies and ontologies (schema.org, ActivityStreams, DublinCore…) RDF (JSON-LD, Turtle) IRI / URI (aka URL) (in the web, everything is identified by an IRI) Use The Web Stack: It IS Decentralized!

Slide 42

Slide 42 text

dunglas.fr - @dunglas A RDF Graph using URIs and Open Vocabularies short for http://schema.org

Slide 43

Slide 43 text

dunglas.fr - @dunglas Example: ActivityPub

Slide 44

Slide 44 text

dunglas.fr - @dunglas ActivityPub ❏ A decentralized social network protocol ❏ A web standard published by the W3C ❏ Built on top of the web stack:
 URI, HTTP, JSON-LD (RDF) ❏ Uses the ActivityStreams open vocabulary (another W3C standard)

Slide 45

Slide 45 text

dunglas.fr - @dunglas

Slide 46

Slide 46 text

dunglas.fr - @dunglas // POST https://social.example/alyssa/outbox { "@context": "https://www.w3.org/ns/activitystreams", "type": "Create", // Not possible with a centralized tech "to": ["https://chatty.example/ben/"], // reference to an external organization "actor": "https://social.example/alyssa/", "object": { "type": "Note", "id": "https://social.example/alyssa/posts/49e2d03d-b53a-4c4c-a95c-94a6abf45a19", "attributedTo": "https://social.example/alyssa/", "to": ["https://chatty.example/ben/"], "content": "Say, did you finish reading that book I lent you?" } }

Slide 47

Slide 47 text

dunglas.fr - @dunglas ActivityPub Apps ❏ : federated social network (Twitter-like) ❏ Mobilizon: federated events system (Meetup-like), by Framasoft ❏ PeerTube: federated video-streaming service (YouTube-like) ❏ NextCloud: federated file sharing service (Dropbox-like) The current state of the decentralized web: the-federation.info

Slide 48

Slide 48 text

dunglas.fr - @dunglas We Need More Apps: Give Us Tools!

Slide 49

Slide 49 text

dunglas.fr - @dunglas API Platform ❏ REST and GraphQL framework written in PHP ❏ Built-in support for JSON-LD and vocabularies ❏ Battery included:
 persistence, filters, authorization, admin UI, React and VueJS app generation, real-time push (Mercure), HTTP/2 Server Push (Vulcain)….

Slide 50

Slide 50 text

dunglas.fr - @dunglas API Platform Schema Generator 3 ❏ Brand new version (alpha) ❏ Import any vocabulary (RDF or OWL):
 schema.org, ActivityStreams, DublinCore… ❏ Generate a full PHP data model, and even a web API ❏ classes, properties (with types), getters and setters, PHPDoc ❏ Doctrine annotations ❏ validation constraints ❏ API Platform annotations! github.com/api-platform/schema-generator #204

Slide 51

Slide 51 text

dunglas.fr - @dunglas API Platform ActivityPub ❏ Published today (alpha) ❏ Build apps supporting ActivityPub in minutes! ❏ Add ActivityPub support to any existing
 API Platform or Symfony app ❏ 100% customizable ❏ Compatible with all API Platform features ❏ State of the art PHP / API Platform github.com/api-platform/activity-pub

Slide 52

Slide 52 text

dunglas.fr - @dunglas Going Further ❏ Solid: decentralized web, true data ownership, privacy ❏ IPFS: distributed web protocol (p2p) ❏ Scuttlebot: p2p log store (distributed) ❏ Introducing the Dweb (Mozilla) ❏ Distributed HTTP (Mark Nottingham) ❏ The web began dying in 2014, here’s how (André Stalz) ❏ The world needs more search engines (cliqz) ❏ The open web is dying (Tony Perez)

Slide 53

Slide 53 text

Don’t Mourn,
 Organize! dunglas.fr