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 33KB

8 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
2 viikkoa sitten
8 kuukautta sitten
7 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  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 #poésie
  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 #poésie">
  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. <!-- To get attribution when linking on mastodon. -->
  106. <meta name="fediverse:creator" content="@david@larlet.fr">
  107. <style type="text/css">
  108. details[open] summary {
  109. display: none;
  110. }
  111. </style>
  112. <body data-instant-intensity="viewport-all">
  113. <article>
  114. <header>
  115. <hgroup>
  116. <h1>#poésie</h1>
  117. <p>Publications relatives à cette étiquette</p>
  118. </hgroup>
  119. </header>
  120. <nav>
  121. <p>
  122. <a href="/david/" title="Aller à l’accueil">
  123. Accueil</a>
  124. <a rel="tags"
  125. href="/david/2024/#tags"
  126. title="Liste de toutes les étiquettes">
  127. Étiquettes</a>
  128. <a href="/david/recherche/" title="Aller à la page de recherche" rel="search" data-no-instant>Recherche</a>
  129. <a href="/david/log/" title="Accès au flux RSS">Suivre</a>
  130. </p>
  131. </nav>
  132. <h2>
  133. <a href="/david/2024/04/10/" title="Lien permanent vers cet article">Weird</a> <time datetime="2024-04-10">10 avril 2024</time>
  134. </h2>
  135. <blockquote lang="en">
  136. <p><em>Say the weird&nbsp;thing.</em></p>
  137. <p>Okay, I’ll&nbsp;play.</p>
  138. <p>The self is an&nbsp;illusion.</p>
  139. <p>I’m a meat sack with electricity flying through&nbsp;space.</p>
  140. <p>I am the natural consequence of every action from the Big Bang to&nbsp;today.</p>
  141. <p>I don’t have free&nbsp;will.</p>
  142. <p>Most of what my brain does is done in the dark of my attention and even when I am making conscious choices I did not choose to become the type of person who would choose that choice over&nbsp;another.</p>
  143. <p>We created god because we got smart enough to realize that we were gonna die. Evolution rewarded religion because dogmatic bonded communities with a shared myth had ways of tending to one another in ways that other tribes&nbsp;didn’t.</p>
  144. <p>We are the product of superstitious ancestors who survived better because they believed in supernatural elements and that they made them more likely to&nbsp;survive.</p>
  145. <p>All we know is that there is consciousness and we are no closer to solving the hard problem of consciousness than when we first phrased it. And objects and consciousness which we cannot know if they are real because our brain is limited by its own perception of reality. And when we try to observe what is real, what is real&nbsp;changes.</p>
  146. <p>Our brain is doing so much that it created shortcuts so that you are not aware of most of it. And our brains are so wired into towards culting that even when we leave religion, we create a religion out of whatever our thing is: astrology, politics, whatever.</p>
  147. <p>These evolutionary shortcuts worked when we were small tribes but now that our trews are bumping into each other, it will be the machine that destroys&nbsp;ourselves.</p>
  148. <p>We have a 180&nbsp;catalog brain biases that tends towards simplicity over complexity, loyalty to our tribes, the illusion of the self and all of that is not compatible to what we know about the modern&nbsp;world.</p>
  149. <p>Anyone who accepts all this will inevitably be alone. There is a lot of lip service to leaving the matrix but in reality it’s very&nbsp;lonely.</p>
  150. <p>The machine of evolution that says to survive at all costs and all of the shortcuts that created that survival will eventually be a machine that eats itself. Individuals can remove themselves to some degree but <mark>if you try to change the world, you will inevitably become a cult and you will become the monster that you were trying to&nbsp;destroy.</mark></p>
  151. <p>And even with all of that, there’s a way to structure with meaning and purpose and experiencing being, and being able to pop your head up in this universe, and check out what is going on where you still are glad you got to be alive, and it probably takes a little bit of privilege because you have to die so many times to get there and it’s very&nbsp;hard.</p>
  152. <p>And in the end the only benefit that you get is that you know that you’re playing in reality which is little more than a shared hallucination rather than being in a delusion and not knowing that you&nbsp;are.</p>
  153. <p>Invite me to your next party! ✌️</p>
  154. <p><cite>@nononsensespirituality, <a data-link-domain="mamot.fr" href="https://mamot.fr/@jcfrog/112245851038854526">via masto</a>, que l’on retrouve <a data-link-domain="instagram.com" href="https://www.instagram.com/nononsensespirituality/reel/C5SRDzTLqAh/">aussi sur&nbsp;Instagram</a></cite></p>
  155. </blockquote>
  156. <p>Bienvenue dans mon cerveau&nbsp;😅.</p>
  157. <a href="#hr-146" title="Lien vers cette section de la page"><hr id="hr-146" /></a>
  158. <blockquote>
  159. <p>The Swolf is a composite measurement in sports swimming that reflects how fast and <mark>how efficiently somebody is swimming.</mark> In contrast, time per distance (speed) neglects swimming technique, and the number of swimming strokes per lap neglects the purpose of competitive swimming: Covering a given distance in the shortest&nbsp;time.</p>
  160. <p><cite><a data-link-domain="en.wikipedia.org" href="https://en.wikipedia.org/wiki/Swolf">Swolf</a></cite></p>
  161. </blockquote>
  162. <p>Découverte du jour grâce à la montre&nbsp;: la mesure du Swolf en natation. Voilà un calcul qui m’intéresse davantage que la&nbsp;vitesse.</p>
  163. <p>J’ai fait mon premier kilomètre (avec pauses) de l’année. Mon Swolf actuel a l’air de tourner autour de 40-45&nbsp;lorsque je ne suis pas trop dérangé par les autres nageur·euses, on va voir si ça évolue ces prochains&nbsp;mois.</p>
  164. <a href="#hr-147" title="Lien vers cette section de la page"><hr id="hr-147" /></a>
  165. <blockquote>
  166. <p>The other maintainer suddenly&nbsp;disappeared.</p>
  167. <p><cite><a data-link-domain="github.com" href="https://github.com/tukaani-project/xz/commit/77a294d98a9d2d48f7e4ac273711518bf689f5c4">Update maintainer and author&nbsp;info.</a></cite></p>
  168. </blockquote>
  169. <p>Le <em>commit</em> du&nbsp;jour.</p>
  170. <nav>
  171. <p>
  172. <a href="/david/2024/communaute/"
  173. title="Liste de tous les articles 2024 associés à cette étiquette"
  174. rel="tag">#communauté</a>
  175. <a href="/david/2024/poesie/"
  176. title="Liste de tous les articles 2024 associés à cette étiquette"
  177. rel="tag">#poésie</a>
  178. <a href="/david/2024/psychologie/"
  179. title="Liste de tous les articles 2024 associés à cette étiquette"
  180. rel="tag">#psychologie</a>
  181. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  182. </p>
  183. </nav>
  184. <h2>
  185. <a href="/david/2024/03/24/" title="Lien permanent vers cet article">Cage</a> <time datetime="2024-03-24">24 mars 2024</time>
  186. </h2>
  187. <blockquote>
  188. <p>«&nbsp;Serai-je toujours choisie&#8239;? dit-elle avec amertume. Serai-je toujours laissée derrière quand les cavaliers partiront, pour garder la maison pendant qu’ils se couvrent de gloire, et veiller à ce que le repas et le lit soient prêts à leur&nbsp;retour&#8239;?&nbsp;»</p>
  189. <p>«&nbsp;Un jour viendra bientôt, peut-être, où nul ne rentrera, dit-il. Alors, il y aura besoin de courage sans gloire, car nul ne se souviendra des exploits accomplis dans l’ultime défense de vos foyers. Mais ces exploits n’auront pas été moins vaillants pour être restés sans&nbsp;éloges.&nbsp;»</p>
  190. <p>Et elle répondit: «&nbsp;Tout cela revient à dire&nbsp;: vous êtes une femme, et votre place est à la maison. Mais quand les hommes seront morts au combat, dans l’honneur, vous pourrez brûler avec elle, car les hommes n’auront plus besoin d’un toit. Mais je suis de la Maison d’Eorl, et non une femme servante. Je puis monter à cheval, je sais manier l’épée&#8239;; et je ne crains ni la souffrance, ni la&nbsp;mort.&nbsp;»</p>
  191. <p>«&nbsp;Que craignez-vous donc, madame&#8239;?&nbsp;»&nbsp;demanda-t-il.</p>
  192. <p>«&nbsp;<mark>Une cage</mark>, dit-elle. Vivre derrière des barreaux, jusqu’à ce que l’habitude et la vieillesse s’en accommodent, et que l’espoir d’accomplir de hauts faits soit au-delà de tout souvenir et de toute&nbsp;envie.&nbsp;»</p>
  193. <p><cite><em>Le Seigneur des Anneaux</em>, J.R.R. Tolkien, traduction de Daniel&nbsp;Lauzon</cite></p>
  194. </blockquote>
  195. <p>Il s’agit de mon extrait favori de la trilogie. <em>Éowyn forever&nbsp;&lt;3.</em></p>
  196. <a href="#hr-132" title="Lien vers cette section de la page"><hr id="hr-132" /></a>
  197. <blockquote>
  198. <p>Bref, il s’agit de modéliser le mieux possible les <strong>besoins éditoriaux</strong> pour ensuite – <em>et seulement ensuite&#8239;!</em> – réunir les ingrédients techniques. (On voit souvent le contraire arriver en pratique&nbsp;: on plaque des solutions existantes sans nécessairement tenir compte des spécificités propres à un problème, un contexte, une communauté.) Il existe souvent plusieurs solutions possibles, plusieurs morceaux de code différents qui produisent, à première vue, un effet similaire&#8239;; <mark>sauf que les démarches ne se valent pas toutes,</mark> et c’est justement en tenant compte du contexte particulier qu’on peut trouver chaussure à son pied (ou à celui des&nbsp;autres).</p>
  199. <p><cite><em><a data-link-domain="lobrassard.net" href="https://www.lobrassard.net/carnet/2024-03-22-ecrire-coder-editorial.html" hreflang="fr"
  200. title="Consultation de l’article">Écrire ou coder l’éditorial</a>
  201. <a href="/david/cache/2024/bb9ae7eeac8484bf3e675d196b8dc8b9/" hreflang="fr"
  202. data-tippy data-description="Carnet de recherche de Louis-Olivier Brassard."
  203. data-source="https://www.lobrassard.net/carnet/2024-03-22-ecrire-coder-editorial.html"
  204. data-date="2024-03-25"
  205. data-favicon="data:;base64,iVBORw0KGgo="
  206. data-domain="lobrassard.net"
  207. ><svg xmlns="http://www.w3.org/2000/svg"
  208. width="24" height="24" viewBox="0 0 24 24" fill="none"
  209. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  210. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  211. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  212. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  213. </svg>
  214. <span class="sr-only">[archive]</span></a></em></cite></p>
  215. </blockquote>
  216. <p>CSS ⨯ Grec ancien ⨯&nbsp;poésie.</p>
  217. <a href="#hr-133" title="Lien vers cette section de la page"><hr id="hr-133" /></a>
  218. <blockquote lang="en">
  219. <p>In principle, these modern pages that burn a ton of CPU when loading could be doing pre-work that means that later interactions on the page are faster and cheaper than on the pages that do less up-front work (this is a common argument in favor of these kinds of pages), <mark>but that’s not the case for pages tested, which are slower</mark> to load initially, slower on subsequent loads, and slower after they’ve&nbsp;loaded.</p>
  220. <p><cite><em><a data-link-domain="danluu.com" href="https://danluu.com/slow-device/" hreflang="en"
  221. title="Consultation de l’article (anglais)">How web bloat impacts users with slow devices</a>
  222. <a href="/david/cache/2024/a988555163e09729b925dbf715ce256c/" hreflang="en"
  223. data-tippy data-description="More of the web is becoming inaccessible to people with low-end devices even if they have high-end connections."
  224. data-source="https://danluu.com/slow-device/"
  225. data-date="2024-03-25"
  226. data-favicon="data:;base64,="
  227. data-domain="danluu.com"
  228. ><svg xmlns="http://www.w3.org/2000/svg"
  229. width="24" height="24" viewBox="0 0 24 24" fill="none"
  230. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  231. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  232. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  233. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  234. </svg>
  235. <span class="sr-only">[archive]</span></a></em></cite></p>
  236. </blockquote>
  237. <p>L’article déprimant du jour que devraient lire tou·tes les dévelopeur·euses avec leurs processeurs MX et leurs&nbsp;iPhones.</p>
  238. <p><em>Je l’ai&nbsp;lu.</em></p>
  239. <nav>
  240. <p>
  241. <a href="/david/2024/courage/"
  242. title="Liste de tous les articles 2024 associés à cette étiquette"
  243. rel="tag">#courage</a>
  244. <a href="/david/2024/lecture/"
  245. title="Liste de tous les articles 2024 associés à cette étiquette"
  246. rel="tag">#lecture</a>
  247. <a href="/david/2024/poesie/"
  248. title="Liste de tous les articles 2024 associés à cette étiquette"
  249. rel="tag">#poésie</a>
  250. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  251. </p>
  252. </nav>
  253. <h2>
  254. <a href="/david/2024/03/09/" title="Lien permanent vers cet article">Marque</a> <time datetime="2024-03-09">9 mars 2024</time>
  255. </h2>
  256. <blockquote lang="en">
  257. <p><mark>Removing the brand from the person</mark> is all but straightforward. I now start my about page with a quick way to introduce myself by putting forward some of my values. […] Beside saying <em>people</em> instead of <em>users</em>, stop considering who’s reading my stuff as <em>audience</em>, and quit referring to what I do as <em>content</em>, I want to modify a few more&nbsp;behaviours:</p>
  258. <ul>
  259. <li>Quit mentioning well-known bloggers on a first-name basis. […]</li>
  260. <li>Keep writing about different things. […]</li>
  261. <li>Don’t quote so-called thought leaders&nbsp;[…]</li>
  262. <li>Stop sugar-coating concepts&nbsp;[…]</li>
  263. </ul>
  264. <p><cite><em><a data-link-domain="minutestomidnight.co.uk" href="https://minutestomidnight.co.uk/blog/kafkaesque-digital-relationship-with-ourselves/" hreflang="en"
  265. title="Consultation de l’article (anglais)">A Kafkaesque digital relationship with ourselves</a>
  266. <a href="/david/cache/2024/34590090e8c8ea82be14fcc3dd7b734c/" hreflang="en"
  267. data-tippy data-description="Words are crucial to build a sense of online community, however many of us have been using them straight out of a soulless corporate lingo in order to sell ourselves as a product."
  268. data-source="https://minutestomidnight.co.uk/blog/kafkaesque-digital-relationship-with-ourselves/"
  269. data-date="2024-03-09"
  270. data-favicon="https://minutestomidnight.co.uk/assets/images/favicons/favicon.svg"
  271. data-domain="minutestomidnight.co.uk"
  272. ><svg xmlns="http://www.w3.org/2000/svg"
  273. width="24" height="24" viewBox="0 0 24 24" fill="none"
  274. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  275. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  276. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  277. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  278. </svg>
  279. <span class="sr-only">[archive]</span></a></em></cite></p>
  280. </blockquote>
  281. <p>Réflexion du jour sur le vocabulaire qui évolue pour se présenter sur le Web. Je suis souvent intrigué par les biographies et textes de présentation sur mastodon qui sont à la fois singuliers tout en respectant des codes (micro-)culturels. Peut-être que l’on a besoin de se sentir dans un cadre de représentation connu pour se sentir exister dans une&nbsp;communauté.</p>
  282. <p>Le même auteur, en&nbsp;2002(!)&nbsp;:</p>
  283. <blockquote lang="en">
  284. <p>Five years ago there was all this buzz about <em>virtual communities</em>. How did that go? I have no idea, all I know is that everything revolves around who’s the hottest blogger right now. They talk about themselves, reference each other, all anxious about who has the most comments or the longest and most prestigious blogroll. Compared to that, <mark>my online journal is pure mental masturbation, but at least I have the occasional good photo and such nice&nbsp;typography.</mark></p>
  285. <p><cite><em><a data-link-domain="minutestomidnight.co.uk" href="https://minutestomidnight.co.uk/blog/years-just-pass-by/" hreflang="en"
  286. title="Consultation de l’article (anglais)">Years just pass by</a>
  287. <a href="/david/cache/2024/4f003de8f8531a4aaf121ecf6c21ae66/" hreflang="en"
  288. data-tippy data-description="The desire to be part of a community of bloggers hits the harsh reality of how humans want thought leaders who appear to be successful."
  289. data-source="https://minutestomidnight.co.uk/blog/years-just-pass-by/"
  290. data-date="2024-03-09"
  291. data-favicon="https://minutestomidnight.co.uk/assets/images/favicons/favicon.svg"
  292. data-domain="minutestomidnight.co.uk"
  293. ><svg xmlns="http://www.w3.org/2000/svg"
  294. width="24" height="24" viewBox="0 0 24 24" fill="none"
  295. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  296. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  297. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  298. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  299. </svg>
  300. <span class="sr-only">[archive]</span></a></em></cite></p>
  301. </blockquote>
  302. <a href="#hr-106" title="Lien vers cette section de la page"><hr id="hr-106" /></a>
  303. <pre><code>body:has(time[datetime]) li {
  304. list-style-type: &quot;❧ &quot;;
  305. }
  306. body:has(
  307. time[datetime^=&quot;2024-01&quot;],
  308. time[datetime^=&quot;2024-02&quot;],
  309. time[datetime^=&quot;2024-03&quot;]
  310. ) li {
  311. list-style-type: &quot;❆ &quot;;
  312. }
  313. body:has(
  314. time[datetime^=&quot;2024-04&quot;],
  315. time[datetime^=&quot;2024-05&quot;],
  316. time[datetime^=&quot;2024-06&quot;]
  317. ) li {
  318. list-style-type: &quot;❁ &quot;;
  319. }
  320. body:has(
  321. time[datetime^=&quot;2024-07&quot;],
  322. time[datetime^=&quot;2024-08&quot;],
  323. time[datetime^=&quot;2024-09&quot;]
  324. ) li {
  325. list-style-type: &quot;❂ &quot;;
  326. }
  327. </code></pre>
  328. <p>J’avais envie d’introduire une légère saisonnalité dans mes listes à puces. Surtout une <a href="/david/2024/03/07/#hr-102">autre excuse</a> pour jouer avec <code>:has()</code>. Je lis un peu trop de blogs qui manquent de fantaisie. Et puis il&nbsp;pleut…</p>
  329. <a href="#hr-107" title="Lien vers cette section de la page"><hr id="hr-107" /></a>
  330. <p>Chant du cardinal<br />
  331. Le matin s’éveille sans toi<br />
  332. Lovée dans mes&nbsp;bras</p>
  333. <nav>
  334. <p>
  335. <a href="/david/2024/evolution/"
  336. title="Liste de tous les articles 2024 associés à cette étiquette"
  337. rel="tag">#évolution</a>
  338. <a href="/david/2024/identite/"
  339. title="Liste de tous les articles 2024 associés à cette étiquette"
  340. rel="tag">#identité</a>
  341. <a href="/david/2024/poesie/"
  342. title="Liste de tous les articles 2024 associés à cette étiquette"
  343. rel="tag">#poésie</a>
  344. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  345. </p>
  346. </nav>
  347. <h2>
  348. <a href="/david/2024/02/26/" title="Lien permanent vers cet article">Galaxie</a> <time datetime="2024-02-26">26 février 2024</time>
  349. </h2>
  350. <p>Anecdote du jour qui met le sourire de bon&nbsp;matin.</p>
  351. <figure>
  352. <a href="/static/david/2024/2024-02-26-neige-galaxie.jpg"
  353. title="Cliquer pour une version haute résolution">
  354. <img
  355. src="/static/david/2024/2024-02-26-neige-galaxie.jpg"
  356. width="4032" height="3024"
  357. srcset="/static/david/2024/2024-02-26-neige-galaxie.jpg 4032w, /static/david/2024/2024-02-26-neige-galaxie_660x440.jpg 660w, /static/david/2024/2024-02-26-neige-galaxie_990x660.jpg 990w, /static/david/2024/2024-02-26-neige-galaxie_1320x880.jpg 1320w"
  358. sizes="min(100vw, calc(100vh * 4032 / 3024))"
  359. loading="lazy"
  360. decoding="async"
  361. alt="De la neige qui tombe à gros flocon.">
  362. </a>
  363. <figcaption>L’espace d’un instant, par la&nbsp;fenêtre.</figcaption>
  364. </figure>
  365. <blockquote>
  366. <p>— Oh la belle neige&#8239;!<br />
  367. —&nbsp;Il pleut des étoiles, la galaxie est en train de tomber.<br />
  368. —&nbsp;❤️</p>
  369. </blockquote>
  370. <a href="#hr-89" title="Lien vers cette section de la page"><hr id="hr-89" /></a>
  371. <blockquote lang="en">
  372. <p>CSS Variable Groups is a way to define multiple properties under the same namespace and pass the entire group around, addressing several pain points around design tokens, design systems, and integrating third-party&nbsp;components.</p>
  373. <p><cite><em><a data-link-domain="lea.verou.me" href="https://lea.verou.me/docs/var-groups/" hreflang="en"
  374. title="Consultation de l’article (anglais)">Proposal: CSS Variable Groups</a>
  375. <a href="/david/cache/2024/0cc2e9c6b29f8326b2ff628f64e22888/" hreflang="en"
  376. data-tippy data-description="CSS Variable Groups is a way to define multiple properties under the same namespace"
  377. data-source="https://lea.verou.me/docs/var-groups/"
  378. data-date="2024-02-27"
  379. data-favicon="https://lea.verou.me/mark.svg"
  380. data-domain="lea.verou.me"
  381. ><svg xmlns="http://www.w3.org/2000/svg"
  382. width="24" height="24" viewBox="0 0 24 24" fill="none"
  383. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  384. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  385. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  386. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  387. </svg>
  388. <span class="sr-only">[archive]</span></a></em></cite></p>
  389. </blockquote>
  390. <p>Heureusement que Lea Verou <a href="/david/2024/02/18/" title="In·directions">me lit</a> et traduit ça en proposition de <a data-link-domain="github.com" href="https://github.com/w3c/csswg-drafts/issues/9992">standardisation</a> en quelques jours au lieu de chialer&nbsp;😅🙇. Trop&nbsp;hâte&#8239;!</p>
  391. <a href="#hr-90" title="Lien vers cette section de la page"><hr id="hr-90" /></a>
  392. <blockquote lang="en">
  393. <p><mark>Maybe that’s ok.</mark> The amount of power you give plugin authors is a delicate balance. Giving them too much power could impact the stability of your project. But giving them too little power makes it hard for them to solve their problems — in that case you might as well not have&nbsp;plugins.</p>
  394. <p><cite><em><a data-link-domain="css-tricks.com" href="https://css-tricks.com/designing-a-javascript-plugin-system/" hreflang="en"
  395. title="Consultation de l’article (anglais)">Designing a JavaScript Plugin System</a>
  396. <a href="/david/cache/2024/d9c30865dde8c88394ba054836a18ae3/" hreflang="en"
  397. data-tippy data-description="WordPress has plugins. jQuery has plugins. Gatsby, Eleventy, and Vue do, too."
  398. data-source="https://css-tricks.com/designing-a-javascript-plugin-system/"
  399. data-date="2024-02-27"
  400. data-favicon="https://css-tricks.com/favicon.svg"
  401. data-domain="css-tricks.com"
  402. ><svg xmlns="http://www.w3.org/2000/svg"
  403. width="24" height="24" viewBox="0 0 24 24" fill="none"
  404. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  405. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  406. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  407. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  408. </svg>
  409. <span class="sr-only">[archive]</span></a></em></cite></p>
  410. </blockquote>
  411. <p>Problématique du jour&nbsp;: comment concevoir un système de <em>plugins</em> qui soit le bon compromis entre flexibilité et stabilité&#8239;? Ce n’est pas si évident, encore plus dans un écosystème aussi évolutif que&nbsp;JavaScript.</p>
  412. <nav>
  413. <p>
  414. <a href="/david/2024/parentalite/"
  415. title="Liste de tous les articles 2024 associés à cette étiquette"
  416. rel="tag">#parentalité</a>
  417. <a href="/david/2024/poesie/"
  418. title="Liste de tous les articles 2024 associés à cette étiquette"
  419. rel="tag">#poésie</a>
  420. <a href="/david/2024/solastalgia/"
  421. title="Liste de tous les articles 2024 associés à cette étiquette"
  422. rel="tag">#solastalgia</a>
  423. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  424. </p>
  425. </nav>
  426. <form action="/david/recherche/" method="get">
  427. <fieldset>
  428. <legend>Recherche</legend>
  429. <label for="input-search">Termes de votre recherche :</label>
  430. <input id="input-search" type="search" name="s" aria-describedby="indexation-infos" required>
  431. <input type="submit" value="Chercher">
  432. <p id="indexation-infos">
  433. <small>
  434. Seuls les contenus de ces 8 dernières années sont indexés.
  435. </small>
  436. </p>
  437. </fieldset>
  438. </form>
  439. <aside>
  440. <theme-toggle></theme-toggle>
  441. </aside>
  442. </article>
  443. <hr>
  444. <footer>
  445. <p>
  446. <a href="/david/" title="Aller à l’accueil">Accueil</a>
  447. <a href="/david/log/" title="Accès au flux RSS">Suivre</a>
  448. <a href="http://larlet.com"
  449. title="Go to my English profile"
  450. data-instant>Pro</a>
  451. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">Email</a>
  452. <abbr title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340">Légal</abbr>
  453. </p>
  454. <template id="theme-selector">
  455. <form>
  456. <style type="text/css">
  457. fieldset div {
  458. text-align: center;
  459. }
  460. </style>
  461. <fieldset>
  462. <legend>Thème</legend>
  463. <div>
  464. <label>
  465. <input type="radio" value="auto" name="chosen-color-scheme" checked>
  466. Auto
  467. </label>
  468. <label>
  469. <input type="radio" value="dark" name="chosen-color-scheme">
  470. Foncé
  471. </label>
  472. <label>
  473. <input type="radio" value="light" name="chosen-color-scheme">
  474. Clair
  475. </label>
  476. </div>
  477. </fieldset>
  478. </form>
  479. </template>
  480. </footer>
  481. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  482. <script>
  483. class ThemeToggle extends HTMLElement {
  484. constructor() {
  485. super()
  486. const themeSelectorTemplate = document.querySelector('#theme-selector')
  487. const form = themeSelectorTemplate.content.firstElementChild
  488. this.attachShadow({ mode: 'open' })
  489. this.shadowRoot.appendChild(form.cloneNode(true))
  490. }
  491. connectedCallback() {
  492. const form = this.shadowRoot.querySelector('form')
  493. form.addEventListener('change', (e) => {
  494. const chosenColorScheme = e.target.value
  495. localStorage.setItem('theme', chosenColorScheme)
  496. toggleTheme(chosenColorScheme)
  497. })
  498. const selectedTheme = localStorage.getItem('theme')
  499. if (selectedTheme && selectedTheme !== 'undefined') {
  500. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  501. }
  502. }
  503. }
  504. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  505. window.addEventListener('load', () => {
  506. let colorsLayer = undefined
  507. let hasDarkRules = false
  508. for (const styleSheet of Array.from(document.styleSheets)) {
  509. let mediaRules = []
  510. for (const layerRule of styleSheet.cssRules) {
  511. if (!(layerRule instanceof CSSLayerBlockRule)) {
  512. continue
  513. }
  514. if (layerRule.name === 'colors') {
  515. colorsLayer = layerRule
  516. }
  517. for (const cssRule of layerRule.cssRules) {
  518. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  519. continue
  520. }
  521. // WARNING: Safari does not have/supports `conditionText`.
  522. if (cssRule.conditionText) {
  523. if (cssRule.conditionText !== prefersColorSchemeDark) {
  524. continue
  525. }
  526. } else {
  527. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  528. continue
  529. }
  530. }
  531. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  532. }
  533. }
  534. // WARNING: do not try to insert a Rule to a styleSheet you are
  535. // currently iterating on, otherwise the browser will be stuck
  536. // in a infinite loop…
  537. for (const mediaRule of mediaRules) {
  538. // Safari requires the `0` second parameter (even if default).
  539. colorsLayer.insertRule(mediaRule.cssText, 0)
  540. hasDarkRules = true
  541. }
  542. }
  543. if (hasDarkRules) {
  544. if ('customElements' in window && !customElements.get('theme-toggle')) {
  545. customElements.define('theme-toggle', ThemeToggle)
  546. }
  547. }
  548. })
  549. </script>
  550. </body>
  551. </html>