Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 41KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. <!DOCTYPE html><!-- This is a valid HTML5 document. -->
  2. <!-- Screen readers, SEO, extensions and so on. -->
  3. <html lang="fr">
  4. <!-- Has to be within the first 1024 bytes, hence before the `title` element
  5. See: https://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset -->
  6. <meta charset="utf-8">
  7. <!-- Why no `X-UA-Compatible` meta: https://stackoverflow.com/a/6771584 -->
  8. <!-- The viewport meta is quite crowded and we are responsible for that.
  9. See: https://codepen.io/tigt/post/meta-viewport-for-2015 -->
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <!-- Required to make a valid HTML5 document. -->
  12. <title>
  13. Étiquette #laboratoire
  14. — David Larlet</title>
  15. <script>
  16. function toggleTheme(themeName) {
  17. document.documentElement.classList.toggle(
  18. 'forced-dark',
  19. themeName === 'dark'
  20. )
  21. document.documentElement.classList.toggle(
  22. 'forced-light',
  23. themeName === 'light'
  24. )
  25. }
  26. const selectedTheme = localStorage.getItem('theme')
  27. if (selectedTheme !== 'undefined') {
  28. toggleTheme(selectedTheme)
  29. }
  30. </script>
  31. <!-- Documented, feel free to shoot an email. -->
  32. <link rel="stylesheet" href="/static/david/css/style_2024-03-09.css">
  33. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  34. <link rel="preload"
  35. href="/static/david/css/fonts/century_supra_ot_a_regular.woff2"
  36. as="font"
  37. type="font/woff2"
  38. media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
  39. crossorigin>
  40. <link rel="preload"
  41. href="/static/david/css/fonts/century_supra_ot_a_bold.woff2"
  42. as="font"
  43. type="font/woff2"
  44. media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
  45. crossorigin>
  46. <link rel="preload"
  47. href="/static/david/css/fonts/century_supra_ot_a_italic.woff2"
  48. as="font"
  49. type="font/woff2"
  50. media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
  51. crossorigin>
  52. <link rel="preload"
  53. href="/static/david/css/fonts/century_supra_ot_b_regular.woff2"
  54. as="font"
  55. type="font/woff2"
  56. media="(prefers-color-scheme: dark)"
  57. crossorigin>
  58. <link rel="preload"
  59. href="/static/david/css/fonts/century_supra_ot_b_bold.woff2"
  60. as="font"
  61. type="font/woff2"
  62. media="(prefers-color-scheme: dark)"
  63. crossorigin>
  64. <link rel="preload"
  65. href="/static/david/css/fonts/century_supra_ot_b_italic.woff2"
  66. as="font"
  67. type="font/woff2"
  68. media="(prefers-color-scheme: dark)"
  69. crossorigin>
  70. <meta name="description" content="Publications relatives au tag #laboratoire">
  71. <!-- That good ol' feed, subscribe :). -->
  72. <link rel="alternate"
  73. type="application/atom+xml"
  74. title="Feed"
  75. href="/david/log/">
  76. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  77. <link rel="apple-touch-icon"
  78. sizes="180x180"
  79. href="/static/david/icons2/apple-touch-icon.png">
  80. <link rel="icon"
  81. type="image/png"
  82. sizes="32x32"
  83. href="/static/david/icons2/favicon-32x32.png">
  84. <link rel="icon"
  85. type="image/png"
  86. sizes="16x16"
  87. href="/static/david/icons2/favicon-16x16.png">
  88. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  89. <link rel="mask-icon"
  90. href="/static/david/icons2/safari-pinned-tab.svg"
  91. color="#07486c">
  92. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  93. <meta name="msapplication-TileColor" content="#f7f7f7">
  94. <meta name="msapplication-config"
  95. content="/static/david/icons2/browserconfig.xml">
  96. <meta name="theme-color"
  97. content="#f7f7f7"
  98. media="(prefers-color-scheme: light)">
  99. <meta name="theme-color"
  100. content="#272727"
  101. media="(prefers-color-scheme: dark)">
  102. <!-- Is that even respected? Retrospectively? What a shAItshow…
  103. https://neil-clarke.com/block-the-bots-that-feed-ai-models-by-scraping-your-website/ -->
  104. <meta name="robots" content="noai, noimageai">
  105. <style type="text/css">
  106. details[open] summary {
  107. display: none;
  108. }
  109. </style>
  110. <body data-instant-intensity="viewport-all">
  111. <article>
  112. <header>
  113. <hgroup>
  114. <h1>#laboratoire</h1>
  115. <p>Publications relatives à cette étiquette</p>
  116. </hgroup>
  117. </header>
  118. <nav>
  119. <p>
  120. <a href="/david/" title="Aller à l’accueil">
  121. Accueil</a>
  122. <a rel="tags"
  123. href="/david/2024/#tags"
  124. title="Liste de toutes les étiquettes">
  125. Étiquettes</a>
  126. <a href="/david/recherche/" title="Aller à la page de recherche" rel="search" data-no-instant>Recherche</a>
  127. <a href="/david/log/" title="Accès au flux RSS">Suivre</a>
  128. </p>
  129. </nav>
  130. <h2>
  131. <a href="/david/2024/03/20/" title="Lien permanent vers cet article">PageCrypt</a> <time datetime="2024-03-20">20 mars 2024</time>
  132. </h2>
  133. <p><a href="/david/2024/03/19/" title="Excitation">J’y ai passé ma soirée</a> mais j’ai un <a data-link-domain="davidbgk.gitlab.io" href="https://davidbgk.gitlab.io/page-crypt-web-component/">truc qui fonctionne pour une démo</a>. Ça ressemble beaucoup à un <em>patchwork</em> de bouts de code récupérés <a data-link-domain="maxlaumeister.com" href="https://www.maxlaumeister.com/pagecrypt/">ici</a> et <a data-link-domain="github.com" href="https://github.com/Greenheart/pagecrypt">là</a> puis <a data-link-domain="github.com" href="https://github.com/MaxLaumeister/PageCrypt/blob/master/python/encrypt.py">aussi là</a> pour la partie&nbsp;Python.</p>
  134. <p>Il y a encore pas mal de travail —&nbsp;notamment pour rendre la page suffisamment accessible&nbsp;— mais au moins la partie crypto / boîte noire semble fonctionner à la fois du côté génération en Python et consommation en JS. C’est la partie qui me faisait un peu peur et sur laquelle j’ai un peu patiné car c’est bien au-delà de mes compétences et que je ne veux pas prendre l’initiative de trop adapter sans comprendre les enjeux niveau&nbsp;sécurité.</p>
  135. <p>Le dépôt est <a data-link-domain="gitlab.com" href="https://gitlab.com/davidbgk/page-crypt-web-component">par ici</a>. Il faut encore que je décide si le formulaire pour le mot de passe devient un <em>web component</em> dédié et/ou un sous-composant, je ne suis pas satisfait du couplage implicite actuel. Itération, itération.</p>
  136. <p>En bonus, il est possible d’accéder directement au contenu de la page en mettant le mot de passe en ancre de l’URL. J’ai appris au passage que ce fragment d’URL n’était pas transmis dans la requête et ne restait que dans l’historique du&nbsp;navigateur.</p>
  137. <p><em>Si tu n’as pas honte de ton premier commit, tout ça… la suite&nbsp;demain.</em></p>
  138. <a href="#hr-125" title="Lien vers cette section de la page"><hr id="hr-125" /></a>
  139. <blockquote>
  140. <p>Les mots ont un impact et, inconsciemment, quand vous ne les utilisez pas dans la bonne manière, vous minimisez mon handicap et donc vous faites moins d'effort que&nbsp;nécessaire.</p>
  141. <p>Autre point, dit-on «&nbsp;personne en situation en handicap&nbsp;» ou «&nbsp;personne&nbsp;handicapée&#8239;?&nbsp;»</p>
  142. <p>Là, encore, il y a une&nbsp;subtilité.</p>
  143. <p>Je vais à un événement tech où les conférences ne sont pas sous-titrées. Je suis en situation de handicap puisque les conférences ne me sont pas du tout&nbsp;accessibles.</p>
  144. <p>Je vais à un événement tech où les conférences sont toutes sous-titrées. Je ne suis pas en situation de handicap puisque les conférences me sont totalement&nbsp;accessibles.</p>
  145. <p>Voici la différence. <mark>Être en situation de handicap, c’est subir la situation faute&nbsp;d’accessibilité.</mark></p>
  146. <p><cite><em><a data-link-domain="emmanuelle-aboaf.netlify.app" href="https://emmanuelle-aboaf.netlify.app/blog/article/n-ayez-pas-peur-des-mots" hreflang="fr"
  147. title="Consultation de l’article">N’ayez pas peur des mots</a>
  148. <a href="/david/cache/2024/5201efaa6fe6a80f69647a354c9afd18/" hreflang="fr"
  149. data-tippy data-description="Les mots ont un impact et pourtant ils ne sont pas utilisés en tant que tels. Le mot handicapé·e n’est pas un gros mot, pas plus que les mots sourd·e et aveugle. Malheureusement, certaines personnes n’osent pas les dire par peur de vexer ou en pensant que ça ne se dit pas. Cependant, en ne les disant pas, vous créez un tabou. Je vous partage mes réflexions sur le sujet à travers cet article."
  150. data-source="https://emmanuelle-aboaf.netlify.app/blog/article/n-ayez-pas-peur-des-mots"
  151. data-date="2024-03-20"
  152. data-favicon="https://emmanuelle-aboaf.netlify.app/blog/article/favicon-32x32.png"
  153. data-domain="emmanuelle-aboaf.netlify.app"
  154. ><svg xmlns="http://www.w3.org/2000/svg"
  155. width="24" height="24" viewBox="0 0 24 24" fill="none"
  156. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  157. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  158. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  159. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  160. </svg>
  161. <span class="sr-only">[archive]</span></a></em></cite></p>
  162. </blockquote>
  163. <p>Cette page ne contient pas le contenu du HTML qui s’affiche et ça me rend triste car j’en apprécie le contenu qui m’apprend des choses / me fait&nbsp;réfléchir.</p>
  164. <p>Un autre angle de&nbsp;l’accessibilité&#8239;?</p>
  165. <a href="#hr-126" title="Lien vers cette section de la page"><hr id="hr-126" /></a>
  166. <blockquote lang="en">
  167. <p>So don’t publish for the&nbsp;world.</p>
  168. <p>When I write something here on my website, I’m not thinking about the world reading it. That would be paralyzing. I do sometimes imagine that one person is reading it; someone just like me who hasn’t yet had this particular thought, or come up with that particular&nbsp;idea.</p>
  169. <p>I’m writing for myself. <mark>I write to figure out what I think.</mark> I also publish mostly for myself—a public archive for future me. But if what I publish just happens to connect with one other person, I’m&nbsp;glad.</p>
  170. <p><cite><em><a data-link-domain="adactio.com" href="https://adactio.com/journal/20996" hreflang="en"
  171. title="Consultation de l’article (anglais)">What the world needs</a>
  172. <a href="/david/cache/2024/318dd7526e11f9476c9cbc88eb3f2b9b/" hreflang="en"
  173. data-tippy data-description="Write for yourself."
  174. data-source="https://adactio.com/journal/20996"
  175. data-date="2024-03-20"
  176. data-favicon="https://adactio.com/icon.png"
  177. data-domain="adactio.com"
  178. ><svg xmlns="http://www.w3.org/2000/svg"
  179. width="24" height="24" viewBox="0 0 24 24" fill="none"
  180. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  181. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  182. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  183. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  184. </svg>
  185. <span class="sr-only">[archive]</span></a></em></cite></p>
  186. </blockquote>
  187. <a href="#hr-127" title="Lien vers cette section de la page"><hr id="hr-127" /></a>
  188. <blockquote lang="en">
  189. <p>My goal, for this digital place I’m creating, is to make you go away. And that’s not because I want to be left alone but because <mark>I hope to help you discover new digital places to explore.</mark> If I see you again, it’s because you decided to come back, and not because you got lost and trapped inside the digital walls I&nbsp;erected.</p>
  190. <p><cite><em><a data-link-domain="manuelmoreale.com" href="https://manuelmoreale.com/digital-walled-gardens" hreflang="en"
  191. title="Consultation de l’article (anglais)">Digital walled gardens</a>
  192. <a href="/david/cache/2024/812f09bae33b395819539fd2c4693fe2/" hreflang="en"
  193. data-tippy data-description="The concept of a walled garden is not a new one in the digital world. It’s just a fancier, less aggressive way to describe a closed ecosystem or a …"
  194. data-source="https://manuelmoreale.com/digital-walled-gardens"
  195. data-date="2024-03-20"
  196. data-favicon="https://manuelmoreale.com/favicon.ico"
  197. data-domain="manuelmoreale.com"
  198. ><svg xmlns="http://www.w3.org/2000/svg"
  199. width="24" height="24" viewBox="0 0 24 24" fill="none"
  200. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  201. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  202. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  203. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  204. </svg>
  205. <span class="sr-only">[archive]</span></a></em></cite></p>
  206. </blockquote>
  207. <p>🌱</p>
  208. <nav>
  209. <p>
  210. <a href="/david/2024/laboratoire/"
  211. title="Liste de tous les articles 2024 associés à cette étiquette"
  212. rel="tag">#laboratoire</a>
  213. <a href="/david/2024/opensource/"
  214. title="Liste de tous les articles 2024 associés à cette étiquette"
  215. rel="tag">#opensource</a>
  216. <a href="/david/2024/technique/"
  217. title="Liste de tous les articles 2024 associés à cette étiquette"
  218. rel="tag">#technique</a>
  219. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  220. </p>
  221. </nav>
  222. <h2>
  223. <a href="/david/2024/03/01/" title="Lien permanent vers cet article">Simple</a> <time datetime="2024-03-01">1 mars 2024</time>
  224. </h2>
  225. <blockquote lang="en">
  226. <p>We can bring that into RSS by treating any interaction as content. If you post something, thats an entry in your feed (as before). If you comment on something, thats also an entry in your feed. If you like something, thats another entry in your feed. If you follow someone (which would mean subscribing to some RSS feed), thats also another entry in your feed. To mark that interactive nature of some feed entry, <mark>we can simple extend RSS a&nbsp;bit</mark></p>
  227. <p><cite><em><a data-link-domain="gist.github.com" href="https://gist.github.com/loreanvictor/bddd8824c744024d338e935bd7e96707" hreflang="en"
  228. title="Consultation de l’article (anglais)">Interaction as Content</a>
  229. <a href="/david/cache/2024/e401917f8e9785285afed817e5344443/" hreflang="en"
  230. data-tippy data-description="Interaction as Content. GitHub Gist: instantly share code, notes, and snippets."
  231. data-source="https://gist.github.com/loreanvictor/bddd8824c744024d338e935bd7e96707"
  232. data-date="2024-03-01"
  233. data-favicon="https://github.githubassets.com/favicons/favicon.png"
  234. data-domain="gist.github.com"
  235. ><svg xmlns="http://www.w3.org/2000/svg"
  236. width="24" height="24" viewBox="0 0 24 24" fill="none"
  237. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  238. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  239. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  240. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  241. </svg>
  242. <span class="sr-only">[archive]</span></a></em></cite></p>
  243. </blockquote>
  244. <p>Tout est dans le <q lang="en">simple</q>&nbsp;🙃.</p>
  245. <p>Rédiger une spécification comme <a data-link-domain="en.wikipedia.org" href="https://en.wikipedia.org/wiki/Media_RSS">Media RSS</a> n’est déjà pas trivial mais alors faire en sorte que cela soit adopté et devienne un standard c’est une autre paire de&nbsp;manches.</p>
  246. <blockquote lang="en">
  247. <p>RSS originated in 1999, and has strived to be a simple, easy to understand format, with relatively modest goals. After it became a popular format, <mark>developers wanted to extend it</mark> using modules defined in namespaces, as specified by the&nbsp;W3C.</p>
  248. <p>RSS 2.0&nbsp;adds that capability, following a simple rule. A RSS feed may contain elements and attributes not described on this page, only if those elements and attributes are defined in a&nbsp;namespace.</p>
  249. <p><cite><em><a data-link-domain="rssboard.org" href="https://www.rssboard.org/rss-specification#extendingRss" hreflang="en"
  250. title="Consultation de l’article (anglais)">RSS 2.0&nbsp;Specification</a>
  251. <a href="/david/cache/2024/85b765a918ef094a5a2dd13a1ff5dd7d/" hreflang="en"
  252. data-tippy data-description="The current version of the RSS 2.0 specification (2.0.11), published on March 30, 2009."
  253. data-source="https://www.rssboard.org/rss-specification#extendingRss"
  254. data-date="2024-03-01"
  255. data-favicon="https://www.rssboard.org/favicon.ico"
  256. data-domain="rssboard.org"
  257. ><svg xmlns="http://www.w3.org/2000/svg"
  258. width="24" height="24" viewBox="0 0 24 24" fill="none"
  259. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  260. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  261. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  262. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  263. </svg>
  264. <span class="sr-only">[archive]</span></a></em></cite></p>
  265. </blockquote>
  266. <p>Beaucoup de personnes ont envie de faire davantage avec RSS, c’est la diffusion à une échelle non anecdotique qui est difficile. Peut-être qu’un acteur comme Mastodon pourrait peser dans la balance d’une telle&nbsp;initiative.</p>
  267. <blockquote lang="en">
  268. <p>Another feature area I would think about is interactivity. I’m fascinated with Google’s work in Gmail around “Inbox Actions” – basically the one-click buttons to perform an email action like RSVP, or reviewing a bug. Here’s an explainer with some&nbsp;examples.</p>
  269. <p>Let’s call it Feed Actions. <mark>Feed Actions could also be an RSS&nbsp;extension.</mark></p>
  270. <p><cite><em><a data-link-domain="interconnected.org" href="https://interconnected.org/home/2021/05/26/chrome_and_rss" hreflang="en"
  271. title="Consultation de l’article (anglais)">Three requests for the Google Chrome team as they experiment with RSS</a>
  272. <a href="/david/cache/2024/4a9c4c407b34c40ec5b3783ac5f274a7/" hreflang="en"
  273. data-tippy data-description="Posted on Wednesday 26 May 2021. 976 words, 11 links. By Matt Webb."
  274. data-source="https://interconnected.org/home/2021/05/26/chrome_and_rss"
  275. data-date="2024-03-01"
  276. data-favicon=""
  277. data-domain="interconnected.org"
  278. ><svg xmlns="http://www.w3.org/2000/svg"
  279. width="24" height="24" viewBox="0 0 24 24" fill="none"
  280. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  281. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  282. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  283. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  284. </svg>
  285. <span class="sr-only">[archive]</span></a></em></cite></p>
  286. </blockquote>
  287. <p>J’ai deux communautés dans lesquelles c’est même devenu un <em>running gag</em> de créer un outil qui explorerait de nouvelles&nbsp;possibilités.</p>
  288. <p><a href="/david/2021/05/26/">Suivez-moi</a> et vous n’aurez plus jamais faim&#8239;! Gniarkgniarkgniark&nbsp;🦁⚡️</p>
  289. <nav>
  290. <p>
  291. <a href="/david/2024/evolution/"
  292. title="Liste de tous les articles 2024 associés à cette étiquette"
  293. rel="tag">#évolution</a>
  294. <a href="/david/2024/laboratoire/"
  295. title="Liste de tous les articles 2024 associés à cette étiquette"
  296. rel="tag">#laboratoire</a>
  297. <a href="/david/2024/web/"
  298. title="Liste de tous les articles 2024 associés à cette étiquette"
  299. rel="tag">#web</a>
  300. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  301. </p>
  302. </nav>
  303. <h2>
  304. <a href="/david/2024/02/20/" title="Lien permanent vers cet article">Véhicule</a> <time datetime="2024-02-20">20 février 2024</time>
  305. </h2>
  306. <blockquote>
  307. <p>John Burroughs est d’avis que l’étude expérimentale des animaux en captivité est totalement futile. Leur caractère, leurs habitudes, leur appétit changent complètement lorsqu’ils sont arrachés à leur habitat naturel. Comment pourrions-nous donc envisager les potentialités de la nature humaine alors qu’elle est confinée dans un espace restreint et contrainte quotidiennement à la&nbsp;soumission&#8239;?</p>
  308. <p>Seuls la liberté, l’épanouissement, la chance et, par-dessous tout, la paix et la sérénité peuvent nous renseigner sur les véritables facteurs dominants de la nature humaine et toutes ses merveilleuses&nbsp;possibilités.</p>
  309. <p>L’anarchisme représente donc essentiellement la libération de l’esprit de la domination religieuse&#8239;; la libération du corps du joug de la propriété&#8239;; la libération de l’individu des entraves et des restrictions du gouvernement. L’anarchisme représente un ordre social fondé sur <mark>le regroupement volontaire des individus en vue de produire une véritable richesse sociale</mark>&#8239;; un ordre qui garantira à tout être humain le libre accès à la terre et la pleine jouissance des nécessités de la vie, selon les désirs, les goûts et les inclinations de&nbsp;chacun.</p>
  310. <p><cite><em>Ce que l’anarchisme représente vraiment</em>, Emma Goldman, 1911</cite></p>
  311. </blockquote>
  312. <p>L’exercice Scopyleft du jour était d’imaginer et de partager le véhicule que représente la coopérative pour chacun·e d’entre nous aujourd’hui. J’ai été agréablement surpris que nous proposions tou·tes quelque chose de différent. Les questions n’ont pas besoin d’être très élaborées pour apporter des éclairages personnels sur une même&nbsp;situation.</p>
  313. <a href="#hr-81" title="Lien vers cette section de la page"><hr id="hr-81" /></a>
  314. <blockquote lang="en">
  315. <p>Your AI-free Content Deserves a&nbsp;Badge</p>
  316. <p>Artificial Intelligence (AI) is trained using human-created content. If humans stop producing new content and rely solely on AI, online content across the world may become repetitive and&nbsp;stagnant.</p>
  317. <p>If your content is not AI-generated, add the badge to your work, with&nbsp;pride.</p>
  318. <p><cite><em><a data-link-domain="notbyai.fyi" href="https://notbyai.fyi/">not by&nbsp;AI</a></em></cite></p>
  319. </blockquote>
  320. <p>De <a href="/david/2024/02/19/#hr-80">même qu’hier</a>, je m’interroge beaucoup sur le notion de plagIAt. Je copie-colle des citations, j’explore des idées déjà connues, je crée un <em>patchwork</em> quotidien, quelle différence avec un algorithme suffisamment bien&nbsp;nourri&#8239;?</p>
  321. <a href="#hr-82" title="Lien vers cette section de la page"><hr id="hr-82" /></a>
  322. <blockquote>
  323. <p>Depuis plus de dix ans, l’Ouvre-Boîtes a mis en place les prêts Coopitalistes. Le principe est simple&nbsp;: des citoyennes et citoyens ou associations investissent de l’argent à l’Ouvre-Boîtes pour sept&nbsp;ans.</p>
  324. <p>En captant cette épargne solidaire, <mark>la coopérative se créée une banque interne</mark> qui finance des projets&nbsp;comme&nbsp;:</p>
  325. <ul>
  326. <li>Des projets collectifs&nbsp;: travaux pour aménager un lieu à disposition des entrepreneur·es (le Grand&nbsp;Bain),</li>
  327. <li>Des investissements pour des entrepreneur·es qui en ont besoin pour lancer leur activité&nbsp;: vélos, voiture, appareil photos, ordinateurs, outils de&nbsp;jardinage…</li>
  328. <li>Des besoins exceptionnels de&nbsp;trésorerie</li>
  329. </ul>
  330. <p><cite><em><a data-link-domain="ouvre-boites.coop" href="https://www.ouvre-boites.coop/les-coopitalistes" hreflang="fr"
  331. title="Consultation de l’article">Les Coopitalistes</a>
  332. <a href="/david/cache/2024/865257313ae3d6aca13284128d6523d5/" hreflang="fr"
  333. data-tippy data-description="Depuis plus de dix ans, l’Ouvre-Boîtes a mis en place les prêts Coopitalistes."
  334. data-source="https://www.ouvre-boites.coop/les-coopitalistes"
  335. data-date="2024-02-20"
  336. data-favicon="https://www.ouvre-boites.coop/themes/custom/front/favicon.ico"
  337. data-domain="ouvre-boites.coop"
  338. ><svg xmlns="http://www.w3.org/2000/svg"
  339. width="24" height="24" viewBox="0 0 24 24" fill="none"
  340. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  341. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  342. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  343. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  344. </svg>
  345. <span class="sr-only">[archive]</span></a></em></cite></p>
  346. </blockquote>
  347. <p>Les alternatives existent, elles sont moins faciles à trouver mais elles existent. Et elles&nbsp;inspirent.</p>
  348. <nav>
  349. <p>
  350. <a href="/david/2024/echanges/"
  351. title="Liste de tous les articles 2024 associés à cette étiquette"
  352. rel="tag">#échanges</a>
  353. <a href="/david/2024/laboratoire/"
  354. title="Liste de tous les articles 2024 associés à cette étiquette"
  355. rel="tag">#laboratoire</a>
  356. <a href="/david/2024/protopie/"
  357. title="Liste de tous les articles 2024 associés à cette étiquette"
  358. rel="tag">#protopie</a>
  359. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  360. </p>
  361. </nav>
  362. <h2>
  363. <a href="/david/2024/02/19/" title="Lien permanent vers cet article">Injection</a> <time datetime="2024-02-19">19 février 2024</time>
  364. </h2>
  365. <blockquote lang="en">
  366. <p>It’s fun to think of <mark>other possible uses…</mark> Perhaps you could pull in HTML modules along with their relevant CSS link. Or embed a tweet or code examples in documentation or a blog post. It could probably even be used to load and apply a regular <code>rel=stylesheet</code> link asynchronously, and at a low priority, which is otherwise surprisingly hard to do (note: I didn’t test this idea much to say for&nbsp;sure).</p>
  367. <p><cite><em><a data-link-domain="filamentgroup.com" href="https://www.filamentgroup.com/lab/html-includes/" hreflang="en"
  368. title="Consultation de l’article (anglais)">HTML Includes That Work Today</a>
  369. <a href="/david/cache/2024/88df28660094efbc5a13bb09d70dfea6/" hreflang="en"
  370. data-tippy data-description="Read this page on the Filament Group website"
  371. data-source="https://www.filamentgroup.com/lab/html-includes/"
  372. data-date="2024-02-19"
  373. data-favicon="https://www.filamentgroup.com/images/icons/favicon-32x32.png"
  374. data-domain="filamentgroup.com"
  375. ><svg xmlns="http://www.w3.org/2000/svg"
  376. width="24" height="24" viewBox="0 0 24 24" fill="none"
  377. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  378. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  379. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  380. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  381. </svg>
  382. <span class="sr-only">[archive]</span></a></em></cite></p>
  383. </blockquote>
  384. <p>J’ai cette page ouverte dans un onglet depuis littéralement des années. C’est <a data-link-domain="blog.notmyidea.org" href="https://blog.notmyidea.org/">Alexis</a> qui me l’a rappelé en partageant <a data-link-domain="leanrada.com" href="https://leanrada.com/htmz/">htmz</a> aujourd’hui qui va un tout petit peu plus&nbsp;loin.</p>
  385. <p>Voilà le code en&nbsp;question&nbsp;:</p>
  386. <pre><code>&lt;iframe
  387. src=&quot;/static/david/2024/test-injection.html&quot;
  388. onload=&quot;
  389. this.before(
  390. (
  391. this.contentDocument.body||this.contentDocument
  392. ).children[0]
  393. );
  394. this.remove()
  395. &quot;
  396. hidden&gt;
  397. &lt;/iframe&gt;
  398. </code></pre>
  399. <p>En résumé, on prend le code l’<code>iframe</code> et on l’injecte au chargement dans le document en cours. Voici un exemple (pas sûr que ça fonctionne depuis un&nbsp;agrégateur…)&nbsp;:</p>
  400. <iframe src="/static/david/2024/test-injection.html" onload="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove()" hidden></iframe>
  401. <p>J’ai ajouté l’attribut <code>hidden</code> à la proposition initiale pour éviter le flash. Si vous inspectez le code, vous constatez que le paragraphe précédent tout à fait classique alors qu’il s’agissait d’une <code>iframe</code> (sauf si vous avez une extension qui bloque les <code>iframe</code> bien sûr). Jusque là c’est <a data-link-domain="css-tricks.com" href="https://css-tricks.com/the-simplest-ways-to-handle-html-includes/" hreflang="en"
  402. title="Consultation de l’article (anglais)">une forme d’inclusion</a>
  403. <a href="/david/cache/2024/6bfc6bd7bc1d9158aa7f6591123e7f4b/" hreflang="en"
  404. data-tippy data-description="It's extremely surprising to me that HTML has never had any way to include other HTML files within it. Nor does there seem to be anything on the horizon that"
  405. data-source="https://css-tricks.com/the-simplest-ways-to-handle-html-includes/"
  406. data-date="2024-02-19"
  407. data-favicon="https://css-tricks.com/favicon.svg"
  408. data-domain="css-tricks.com"
  409. ><svg xmlns="http://www.w3.org/2000/svg"
  410. width="24" height="24" viewBox="0 0 24 24" fill="none"
  411. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  412. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  413. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  414. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  415. </svg>
  416. <span class="sr-only">[archive]</span></a> mais rien de bien&nbsp;utile.</p>
  417. <p>Ce qui devient un peu plus fou serait de pouvoir injecter un <em>Web Component</em> de cette façon&#8239;! Le problème étant que le <code>this.remove()</code> est exécuté avant le chargement du script de l’<code>iframe</code>… et si on le retire on conserve cet élément <code>hidden</code> dans le document. Ce n’est pas critique mais ce n’est pas très élégant non plus, d’autant que cela signifie que le composant est défini et instancié deux&nbsp;fois.</p>
  418. <style>para-graph { background: paleturquoise; color: black; }</style>
  419. <iframe src="/static/david/2024/test-injection-web-component.html" onload= "this.before((this.contentDocument.body||this.contentDocument).children[0]);this.before(this.contentDocument.scripts[0])" hidden></iframe>
  420. <p>Il y a probablement des choses qui m’échappent mais il se fait&nbsp;tard.</p>
  421. <p><em>To be&nbsp;continued…</em></p>
  422. <a href="#hr-79" title="Lien vers cette section de la page"><hr id="hr-79" /></a>
  423. <p>Découvertes du jour&nbsp;: <a data-link-domain="MDN" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base"><code>&lt;base&gt;</code></a> et <a data-link-domain="MDN" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis">globalThis</a>.</p>
  424. <p>Aussi, il n’est <a data-link-domain="github.com" href="https://github.com/django/django/commit/b7f500396e05cd1f0bb8901fce16e2d8393d2779">pas forcément indiqué</a> de générer une <code>SECRET_KEY</code> avec Django, il vaut mieux le faire en Python&nbsp;directement&nbsp;:</p>
  425. <pre><code>[depuis un shell]
  426. $ python3 -c 'import secrets; print(secrets.token_hex(100))'
  427. </code></pre>
  428. <a href="#hr-80" title="Lien vers cette section de la page"><hr id="hr-80" /></a>
  429. <blockquote lang="en">
  430. <p>So, what’s the fun of writing on the internet anymore? Well, if your aim is to be respected as an author, there’s probably not much fun to be had here at all. Don’t write online for fame and glory. Oblivion, obscurity and exploitation are all but guaranteed. Write here because <em>ideas</em> matter, not authorship. Write here because the more robots, pirates, and single-minded trolls swallow up cyberspace, <mark>the more we need independent writing in order to think new thoughts in the future</mark> — even if your words are getting dished up and plated by an&nbsp;algorithm.</p>
  431. <p><cite><em><a data-link-domain="jamesshelley.com" href="https://jamesshelley.com/blog/writing-on-the-internet.html" hreflang="en"
  432. title="Consultation de l’article (anglais)">What’s the fun in writing on the internet anymore?</a>
  433. <a href="/david/cache/2024/a005801f0e596f9ecb99037a992ecc1b/" hreflang="en"
  434. data-tippy data-description="The moment you release your words, you relinquish all control."
  435. data-source="https://jamesshelley.com/blog/writing-on-the-internet.html"
  436. data-date="2024-02-19"
  437. data-favicon="https://jamesshelley.com/images/favicon.png"
  438. data-domain="jamesshelley.com"
  439. ><svg xmlns="http://www.w3.org/2000/svg"
  440. width="24" height="24" viewBox="0 0 24 24" fill="none"
  441. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  442. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  443. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  444. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  445. </svg>
  446. <span class="sr-only">[archive]</span></a></em></cite></p>
  447. </blockquote>
  448. <p>Rester (et alimenter la machine) ou quitter (et laisser l’espace à la&nbsp;machine).</p>
  449. <p>Je n’aime pas beaucoup la <a data-link-domain="maggieappleton.com" href="https://maggieappleton.com/ai-dark-forest" hreflang="en"
  450. title="Consultation de l’article (anglais)">métaphore de la forêt noire</a>
  451. <a href="/david/cache/2024/140458968f9f7da7d14e181d0a80e799/" hreflang="en"
  452. data-tippy data-description="Proving you're a human on a web flooded with generative AI content"
  453. data-source="https://maggieappleton.com/ai-dark-forest"
  454. data-date="2024-02-19"
  455. data-favicon="https://maggieappleton.com//images/favicon/favicon.ico"
  456. data-domain="maggieappleton.com"
  457. ><svg xmlns="http://www.w3.org/2000/svg"
  458. width="24" height="24" viewBox="0 0 24 24" fill="none"
  459. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  460. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  461. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  462. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  463. </svg>
  464. <span class="sr-only">[archive]</span></a> ces temps-ci car j’apprécie un peu trop les forêts pour ça. J’aurais davantage l’impression de faire partie d’une haie alors qu’il y a beaucoup de monoculture aux alentours. Avec les double sens que cette méta·phore&nbsp;implique.</p>
  465. <nav>
  466. <p>
  467. <a href="/david/2024/apprentissage/"
  468. title="Liste de tous les articles 2024 associés à cette étiquette"
  469. rel="tag">#apprentissage</a>
  470. <a href="/david/2024/laboratoire/"
  471. title="Liste de tous les articles 2024 associés à cette étiquette"
  472. rel="tag">#laboratoire</a>
  473. <a href="/david/2024/web/"
  474. title="Liste de tous les articles 2024 associés à cette étiquette"
  475. rel="tag">#web</a>
  476. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  477. </p>
  478. </nav>
  479. <form action="/david/recherche/" method="get">
  480. <fieldset>
  481. <legend>Recherche</legend>
  482. <label for="input-search">Termes de votre recherche :</label>
  483. <input id="input-search" type="search" name="s" aria-describedby="indexation-infos" required>
  484. <input type="submit" value="Chercher">
  485. <p id="indexation-infos">
  486. <small>
  487. Seuls les contenus de ces 8 dernières années sont indexés.
  488. </small>
  489. </p>
  490. </fieldset>
  491. </form>
  492. <aside>
  493. <theme-toggle></theme-toggle>
  494. </aside>
  495. </article>
  496. <hr>
  497. <footer>
  498. <p>
  499. <a href="/david/" title="Aller à l’accueil">Accueil</a>
  500. <a href="/david/log/" title="Accès au flux RSS">Suivre</a>
  501. <a href="http://larlet.com"
  502. title="Go to my English profile"
  503. data-instant>Pro</a>
  504. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">Email</a>
  505. <abbr title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340">Légal</abbr>
  506. </p>
  507. <template id="theme-selector">
  508. <form>
  509. <style type="text/css">
  510. fieldset div {
  511. text-align: center;
  512. }
  513. </style>
  514. <fieldset>
  515. <legend>Thème</legend>
  516. <div>
  517. <label>
  518. <input type="radio" value="auto" name="chosen-color-scheme" checked>
  519. Auto
  520. </label>
  521. <label>
  522. <input type="radio" value="dark" name="chosen-color-scheme">
  523. Foncé
  524. </label>
  525. <label>
  526. <input type="radio" value="light" name="chosen-color-scheme">
  527. Clair
  528. </label>
  529. </div>
  530. </fieldset>
  531. </form>
  532. </template>
  533. </footer>
  534. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  535. <script>
  536. class ThemeToggle extends HTMLElement {
  537. constructor() {
  538. super()
  539. const themeSelectorTemplate = document.querySelector('#theme-selector')
  540. const form = themeSelectorTemplate.content.firstElementChild
  541. this.attachShadow({ mode: 'open' })
  542. this.shadowRoot.appendChild(form.cloneNode(true))
  543. }
  544. connectedCallback() {
  545. const form = this.shadowRoot.querySelector('form')
  546. form.addEventListener('change', (e) => {
  547. const chosenColorScheme = e.target.value
  548. localStorage.setItem('theme', chosenColorScheme)
  549. toggleTheme(chosenColorScheme)
  550. })
  551. const selectedTheme = localStorage.getItem('theme')
  552. if (selectedTheme && selectedTheme !== 'undefined') {
  553. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  554. }
  555. }
  556. }
  557. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  558. window.addEventListener('load', () => {
  559. let colorsLayer = undefined
  560. let hasDarkRules = false
  561. for (const styleSheet of Array.from(document.styleSheets)) {
  562. let mediaRules = []
  563. for (const layerRule of styleSheet.cssRules) {
  564. if (!(layerRule instanceof CSSLayerBlockRule)) {
  565. continue
  566. }
  567. if (layerRule.name === 'colors') {
  568. colorsLayer = layerRule
  569. }
  570. for (const cssRule of layerRule.cssRules) {
  571. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  572. continue
  573. }
  574. // WARNING: Safari does not have/supports `conditionText`.
  575. if (cssRule.conditionText) {
  576. if (cssRule.conditionText !== prefersColorSchemeDark) {
  577. continue
  578. }
  579. } else {
  580. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  581. continue
  582. }
  583. }
  584. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  585. }
  586. }
  587. // WARNING: do not try to insert a Rule to a styleSheet you are
  588. // currently iterating on, otherwise the browser will be stuck
  589. // in a infinite loop…
  590. for (const mediaRule of mediaRules) {
  591. // Safari requires the `0` second parameter (even if default).
  592. colorsLayer.insertRule(mediaRule.cssText, 0)
  593. hasDarkRules = true
  594. }
  595. }
  596. if (hasDarkRules) {
  597. if ('customElements' in window && !customElements.get('theme-toggle')) {
  598. customElements.define('theme-toggle', ThemeToggle)
  599. }
  600. }
  601. })
  602. </script>
  603. </body>
  604. </html>