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
8 kuukautta sitten
7 kuukautta sitten
7 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
8 kuukautta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  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. <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>#poésie</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/04/10/" title="Lien permanent vers cet article">Weird</a> <time datetime="2024-04-10">10 avril 2024</time>
  132. </h2>
  133. <blockquote lang="en">
  134. <p><em>Say the weird&nbsp;thing.</em></p>
  135. <p>Okay, I’ll&nbsp;play.</p>
  136. <p>The self is an&nbsp;illusion.</p>
  137. <p>I’m a meat sack with electricity flying through&nbsp;space.</p>
  138. <p>I am the natural consequence of every action from the Big Bang to&nbsp;today.</p>
  139. <p>I don’t have free&nbsp;will.</p>
  140. <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>
  141. <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>
  142. <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>
  143. <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>
  144. <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>
  145. <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>
  146. <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>
  147. <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>
  148. <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>
  149. <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>
  150. <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>
  151. <p>Invite me to your next party! ✌️</p>
  152. <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>
  153. </blockquote>
  154. <p>Bienvenue dans mon cerveau&nbsp;😅.</p>
  155. <a href="#hr-146" title="Lien vers cette section de la page"><hr id="hr-146" /></a>
  156. <blockquote>
  157. <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>
  158. <p><cite><a data-link-domain="en.wikipedia.org" href="https://en.wikipedia.org/wiki/Swolf">Swolf</a></cite></p>
  159. </blockquote>
  160. <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>
  161. <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>
  162. <a href="#hr-147" title="Lien vers cette section de la page"><hr id="hr-147" /></a>
  163. <blockquote>
  164. <p>The other maintainer suddenly&nbsp;disappeared.</p>
  165. <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>
  166. </blockquote>
  167. <p>Le <em>commit</em> du&nbsp;jour.</p>
  168. <nav>
  169. <p>
  170. <a href="/david/2024/communaute/"
  171. title="Liste de tous les articles 2024 associés à cette étiquette"
  172. rel="tag">#communauté</a>
  173. <a href="/david/2024/poesie/"
  174. title="Liste de tous les articles 2024 associés à cette étiquette"
  175. rel="tag">#poésie</a>
  176. <a href="/david/2024/psychologie/"
  177. title="Liste de tous les articles 2024 associés à cette étiquette"
  178. rel="tag">#psychologie</a>
  179. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  180. </p>
  181. </nav>
  182. <h2>
  183. <a href="/david/2024/03/24/" title="Lien permanent vers cet article">Cage</a> <time datetime="2024-03-24">24 mars 2024</time>
  184. </h2>
  185. <blockquote>
  186. <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>
  187. <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>
  188. <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>
  189. <p>«&nbsp;Que craignez-vous donc, madame&#8239;?&nbsp;»&nbsp;demanda-t-il.</p>
  190. <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>
  191. <p><cite><em>Le Seigneur des Anneaux</em>, J.R.R. Tolkien, traduction de Daniel&nbsp;Lauzon</cite></p>
  192. </blockquote>
  193. <p>Il s’agit de mon extrait favori de la trilogie. <em>Éowyn forever&nbsp;&lt;3.</em></p>
  194. <a href="#hr-132" title="Lien vers cette section de la page"><hr id="hr-132" /></a>
  195. <blockquote>
  196. <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>
  197. <p><cite><em><a data-link-domain="lobrassard.net" href="https://www.lobrassard.net/carnet/2024-03-22-ecrire-coder-editorial.html" hreflang="fr"
  198. title="Consultation de l’article">Écrire ou coder l’éditorial</a>
  199. <a href="/david/cache/2024/bb9ae7eeac8484bf3e675d196b8dc8b9/" hreflang="fr"
  200. data-tippy data-description="Carnet de recherche de Louis-Olivier Brassard."
  201. data-source="https://www.lobrassard.net/carnet/2024-03-22-ecrire-coder-editorial.html"
  202. data-date="2024-03-25"
  203. data-favicon="data:;base64,iVBORw0KGgo="
  204. data-domain="lobrassard.net"
  205. ><svg xmlns="http://www.w3.org/2000/svg"
  206. width="24" height="24" viewBox="0 0 24 24" fill="none"
  207. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  208. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  209. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  210. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  211. </svg>
  212. <span class="sr-only">[archive]</span></a></em></cite></p>
  213. </blockquote>
  214. <p>CSS ⨯ Grec ancien ⨯&nbsp;poésie.</p>
  215. <a href="#hr-133" title="Lien vers cette section de la page"><hr id="hr-133" /></a>
  216. <blockquote lang="en">
  217. <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>
  218. <p><cite><em><a data-link-domain="danluu.com" href="https://danluu.com/slow-device/" hreflang="en"
  219. title="Consultation de l’article (anglais)">How web bloat impacts users with slow devices</a>
  220. <a href="/david/cache/2024/a988555163e09729b925dbf715ce256c/" hreflang="en"
  221. data-tippy data-description="More of the web is becoming inaccessible to people with low-end devices even if they have high-end connections."
  222. data-source="https://danluu.com/slow-device/"
  223. data-date="2024-03-25"
  224. data-favicon="data:;base64,="
  225. data-domain="danluu.com"
  226. ><svg xmlns="http://www.w3.org/2000/svg"
  227. width="24" height="24" viewBox="0 0 24 24" fill="none"
  228. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  229. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  230. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  231. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  232. </svg>
  233. <span class="sr-only">[archive]</span></a></em></cite></p>
  234. </blockquote>
  235. <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>
  236. <p><em>Je l’ai&nbsp;lu.</em></p>
  237. <nav>
  238. <p>
  239. <a href="/david/2024/courage/"
  240. title="Liste de tous les articles 2024 associés à cette étiquette"
  241. rel="tag">#courage</a>
  242. <a href="/david/2024/lecture/"
  243. title="Liste de tous les articles 2024 associés à cette étiquette"
  244. rel="tag">#lecture</a>
  245. <a href="/david/2024/poesie/"
  246. title="Liste de tous les articles 2024 associés à cette étiquette"
  247. rel="tag">#poésie</a>
  248. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  249. </p>
  250. </nav>
  251. <h2>
  252. <a href="/david/2024/03/09/" title="Lien permanent vers cet article">Marque</a> <time datetime="2024-03-09">9 mars 2024</time>
  253. </h2>
  254. <blockquote lang="en">
  255. <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>
  256. <ul>
  257. <li>Quit mentioning well-known bloggers on a first-name basis. […]</li>
  258. <li>Keep writing about different things. […]</li>
  259. <li>Don’t quote so-called thought leaders&nbsp;[…]</li>
  260. <li>Stop sugar-coating concepts&nbsp;[…]</li>
  261. </ul>
  262. <p><cite><em><a data-link-domain="minutestomidnight.co.uk" href="https://minutestomidnight.co.uk/blog/kafkaesque-digital-relationship-with-ourselves/" hreflang="en"
  263. title="Consultation de l’article (anglais)">A Kafkaesque digital relationship with ourselves</a>
  264. <a href="/david/cache/2024/34590090e8c8ea82be14fcc3dd7b734c/" hreflang="en"
  265. 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."
  266. data-source="https://minutestomidnight.co.uk/blog/kafkaesque-digital-relationship-with-ourselves/"
  267. data-date="2024-03-09"
  268. data-favicon="https://minutestomidnight.co.uk/assets/images/favicons/favicon.svg"
  269. data-domain="minutestomidnight.co.uk"
  270. ><svg xmlns="http://www.w3.org/2000/svg"
  271. width="24" height="24" viewBox="0 0 24 24" fill="none"
  272. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  273. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  274. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  275. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  276. </svg>
  277. <span class="sr-only">[archive]</span></a></em></cite></p>
  278. </blockquote>
  279. <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>
  280. <p>Le même auteur, en&nbsp;2002(!)&nbsp;:</p>
  281. <blockquote lang="en">
  282. <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>
  283. <p><cite><em><a data-link-domain="minutestomidnight.co.uk" href="https://minutestomidnight.co.uk/blog/years-just-pass-by/" hreflang="en"
  284. title="Consultation de l’article (anglais)">Years just pass by</a>
  285. <a href="/david/cache/2024/4f003de8f8531a4aaf121ecf6c21ae66/" hreflang="en"
  286. 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."
  287. data-source="https://minutestomidnight.co.uk/blog/years-just-pass-by/"
  288. data-date="2024-03-09"
  289. data-favicon="https://minutestomidnight.co.uk/assets/images/favicons/favicon.svg"
  290. data-domain="minutestomidnight.co.uk"
  291. ><svg xmlns="http://www.w3.org/2000/svg"
  292. width="24" height="24" viewBox="0 0 24 24" fill="none"
  293. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  294. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  295. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  296. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  297. </svg>
  298. <span class="sr-only">[archive]</span></a></em></cite></p>
  299. </blockquote>
  300. <a href="#hr-106" title="Lien vers cette section de la page"><hr id="hr-106" /></a>
  301. <pre><code>body:has(time[datetime]) li {
  302. list-style-type: &quot;❧ &quot;;
  303. }
  304. body:has(
  305. time[datetime^=&quot;2024-01&quot;],
  306. time[datetime^=&quot;2024-02&quot;],
  307. time[datetime^=&quot;2024-03&quot;]
  308. ) li {
  309. list-style-type: &quot;❆ &quot;;
  310. }
  311. body:has(
  312. time[datetime^=&quot;2024-04&quot;],
  313. time[datetime^=&quot;2024-05&quot;],
  314. time[datetime^=&quot;2024-06&quot;]
  315. ) li {
  316. list-style-type: &quot;❁ &quot;;
  317. }
  318. body:has(
  319. time[datetime^=&quot;2024-07&quot;],
  320. time[datetime^=&quot;2024-08&quot;],
  321. time[datetime^=&quot;2024-09&quot;]
  322. ) li {
  323. list-style-type: &quot;❂ &quot;;
  324. }
  325. </code></pre>
  326. <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>
  327. <a href="#hr-107" title="Lien vers cette section de la page"><hr id="hr-107" /></a>
  328. <p>Chant du cardinal<br />
  329. Le matin s’éveille sans toi<br />
  330. Lovée dans mes&nbsp;bras</p>
  331. <nav>
  332. <p>
  333. <a href="/david/2024/evolution/"
  334. title="Liste de tous les articles 2024 associés à cette étiquette"
  335. rel="tag">#évolution</a>
  336. <a href="/david/2024/identite/"
  337. title="Liste de tous les articles 2024 associés à cette étiquette"
  338. rel="tag">#identité</a>
  339. <a href="/david/2024/poesie/"
  340. title="Liste de tous les articles 2024 associés à cette étiquette"
  341. rel="tag">#poésie</a>
  342. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  343. </p>
  344. </nav>
  345. <h2>
  346. <a href="/david/2024/02/26/" title="Lien permanent vers cet article">Galaxie</a> <time datetime="2024-02-26">26 février 2024</time>
  347. </h2>
  348. <p>Anecdote du jour qui met le sourire de bon&nbsp;matin.</p>
  349. <figure>
  350. <a href="/static/david/2024/2024-02-26-neige-galaxie.jpg"
  351. title="Cliquer pour une version haute résolution">
  352. <img
  353. src="/static/david/2024/2024-02-26-neige-galaxie.jpg"
  354. width="4032" height="3024"
  355. 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"
  356. sizes="min(100vw, calc(100vh * 4032 / 3024))"
  357. loading="lazy"
  358. decoding="async"
  359. alt="De la neige qui tombe à gros flocon.">
  360. </a>
  361. <figcaption>L’espace d’un instant, par la&nbsp;fenêtre.</figcaption>
  362. </figure>
  363. <blockquote>
  364. <p>— Oh la belle neige&#8239;!<br />
  365. —&nbsp;Il pleut des étoiles, la galaxie est en train de tomber.<br />
  366. —&nbsp;❤️</p>
  367. </blockquote>
  368. <a href="#hr-89" title="Lien vers cette section de la page"><hr id="hr-89" /></a>
  369. <blockquote lang="en">
  370. <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>
  371. <p><cite><em><a data-link-domain="lea.verou.me" href="https://lea.verou.me/docs/var-groups/" hreflang="en"
  372. title="Consultation de l’article (anglais)">Proposal: CSS Variable Groups</a>
  373. <a href="/david/cache/2024/0cc2e9c6b29f8326b2ff628f64e22888/" hreflang="en"
  374. data-tippy data-description="CSS Variable Groups is a way to define multiple properties under the same namespace"
  375. data-source="https://lea.verou.me/docs/var-groups/"
  376. data-date="2024-02-27"
  377. data-favicon="https://lea.verou.me/mark.svg"
  378. data-domain="lea.verou.me"
  379. ><svg xmlns="http://www.w3.org/2000/svg"
  380. width="24" height="24" viewBox="0 0 24 24" fill="none"
  381. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  382. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  383. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  384. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  385. </svg>
  386. <span class="sr-only">[archive]</span></a></em></cite></p>
  387. </blockquote>
  388. <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>
  389. <a href="#hr-90" title="Lien vers cette section de la page"><hr id="hr-90" /></a>
  390. <blockquote lang="en">
  391. <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>
  392. <p><cite><em><a data-link-domain="css-tricks.com" href="https://css-tricks.com/designing-a-javascript-plugin-system/" hreflang="en"
  393. title="Consultation de l’article (anglais)">Designing a JavaScript Plugin System</a>
  394. <a href="/david/cache/2024/d9c30865dde8c88394ba054836a18ae3/" hreflang="en"
  395. data-tippy data-description="WordPress has plugins. jQuery has plugins. Gatsby, Eleventy, and Vue do, too."
  396. data-source="https://css-tricks.com/designing-a-javascript-plugin-system/"
  397. data-date="2024-02-27"
  398. data-favicon="https://css-tricks.com/favicon.svg"
  399. data-domain="css-tricks.com"
  400. ><svg xmlns="http://www.w3.org/2000/svg"
  401. width="24" height="24" viewBox="0 0 24 24" fill="none"
  402. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  403. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  404. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  405. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  406. </svg>
  407. <span class="sr-only">[archive]</span></a></em></cite></p>
  408. </blockquote>
  409. <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>
  410. <nav>
  411. <p>
  412. <a href="/david/2024/parentalite/"
  413. title="Liste de tous les articles 2024 associés à cette étiquette"
  414. rel="tag">#parentalité</a>
  415. <a href="/david/2024/poesie/"
  416. title="Liste de tous les articles 2024 associés à cette étiquette"
  417. rel="tag">#poésie</a>
  418. <a href="/david/2024/solastalgia/"
  419. title="Liste de tous les articles 2024 associés à cette étiquette"
  420. rel="tag">#solastalgia</a>
  421. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  422. </p>
  423. </nav>
  424. <form action="/david/recherche/" method="get">
  425. <fieldset>
  426. <legend>Recherche</legend>
  427. <label for="input-search">Termes de votre recherche :</label>
  428. <input id="input-search" type="search" name="s" aria-describedby="indexation-infos" required>
  429. <input type="submit" value="Chercher">
  430. <p id="indexation-infos">
  431. <small>
  432. Seuls les contenus de ces 8 dernières années sont indexés.
  433. </small>
  434. </p>
  435. </fieldset>
  436. </form>
  437. <aside>
  438. <theme-toggle></theme-toggle>
  439. </aside>
  440. </article>
  441. <hr>
  442. <footer>
  443. <p>
  444. <a href="/david/" title="Aller à l’accueil">Accueil</a>
  445. <a href="/david/log/" title="Accès au flux RSS">Suivre</a>
  446. <a href="http://larlet.com"
  447. title="Go to my English profile"
  448. data-instant>Pro</a>
  449. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">Email</a>
  450. <abbr title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340">Légal</abbr>
  451. </p>
  452. <template id="theme-selector">
  453. <form>
  454. <style type="text/css">
  455. fieldset div {
  456. text-align: center;
  457. }
  458. </style>
  459. <fieldset>
  460. <legend>Thème</legend>
  461. <div>
  462. <label>
  463. <input type="radio" value="auto" name="chosen-color-scheme" checked>
  464. Auto
  465. </label>
  466. <label>
  467. <input type="radio" value="dark" name="chosen-color-scheme">
  468. Foncé
  469. </label>
  470. <label>
  471. <input type="radio" value="light" name="chosen-color-scheme">
  472. Clair
  473. </label>
  474. </div>
  475. </fieldset>
  476. </form>
  477. </template>
  478. </footer>
  479. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  480. <script>
  481. class ThemeToggle extends HTMLElement {
  482. constructor() {
  483. super()
  484. const themeSelectorTemplate = document.querySelector('#theme-selector')
  485. const form = themeSelectorTemplate.content.firstElementChild
  486. this.attachShadow({ mode: 'open' })
  487. this.shadowRoot.appendChild(form.cloneNode(true))
  488. }
  489. connectedCallback() {
  490. const form = this.shadowRoot.querySelector('form')
  491. form.addEventListener('change', (e) => {
  492. const chosenColorScheme = e.target.value
  493. localStorage.setItem('theme', chosenColorScheme)
  494. toggleTheme(chosenColorScheme)
  495. })
  496. const selectedTheme = localStorage.getItem('theme')
  497. if (selectedTheme && selectedTheme !== 'undefined') {
  498. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  499. }
  500. }
  501. }
  502. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  503. window.addEventListener('load', () => {
  504. let colorsLayer = undefined
  505. let hasDarkRules = false
  506. for (const styleSheet of Array.from(document.styleSheets)) {
  507. let mediaRules = []
  508. for (const layerRule of styleSheet.cssRules) {
  509. if (!(layerRule instanceof CSSLayerBlockRule)) {
  510. continue
  511. }
  512. if (layerRule.name === 'colors') {
  513. colorsLayer = layerRule
  514. }
  515. for (const cssRule of layerRule.cssRules) {
  516. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  517. continue
  518. }
  519. // WARNING: Safari does not have/supports `conditionText`.
  520. if (cssRule.conditionText) {
  521. if (cssRule.conditionText !== prefersColorSchemeDark) {
  522. continue
  523. }
  524. } else {
  525. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  526. continue
  527. }
  528. }
  529. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  530. }
  531. }
  532. // WARNING: do not try to insert a Rule to a styleSheet you are
  533. // currently iterating on, otherwise the browser will be stuck
  534. // in a infinite loop…
  535. for (const mediaRule of mediaRules) {
  536. // Safari requires the `0` second parameter (even if default).
  537. colorsLayer.insertRule(mediaRule.cssText, 0)
  538. hasDarkRules = true
  539. }
  540. }
  541. if (hasDarkRules) {
  542. if ('customElements' in window && !customElements.get('theme-toggle')) {
  543. customElements.define('theme-toggle', ThemeToggle)
  544. }
  545. }
  546. })
  547. </script>
  548. </body>
  549. </html>