Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 6 mēnešiem
pirms 5 mēnešiem
pirms 6 mēnešiem
pirms 5 mēnešiem
pirms 6 mēnešiem
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  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. Stimulations
  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="Je me suis demandé en passant par la page sur le Stimming (Auto-stimulation en français) après avoir couru s’il pouvait y avoir un lien avec les sports d’endurance. Je n’ai trouvé que cet article qui n’a pas été publié :">
  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. .tippy-content {
  107. min-width: 280px;
  108. padding: .5rem;
  109. font-size: calc(var(--fluid-0) * 0.8);
  110. font-family: var(--labor-font);
  111. letter-spacing: initial;
  112. text-align: left;
  113. }
  114. .tippy-content h3 {
  115. margin-top: 0;
  116. }
  117. .tippy-content h3 img {
  118. max-width: 2rem;
  119. max-height: 2rem;
  120. display: inline-block;
  121. }
  122. .tippy-content .tippy-links {
  123. display: flex;
  124. justify-content: space-around;
  125. }
  126. .tippy-content a {
  127. padding: .4rem;
  128. color: #F06048;
  129. }
  130. </style>
  131. <body data-instant-intensity="viewport-all">
  132. <article>
  133. <header>
  134. <hgroup>
  135. <h1>Stimulations</h1>
  136. <p>Le <time datetime="2024-05-20">20 mai 2024</time></p>
  137. </hgroup>
  138. </header>
  139. <nav>
  140. <p>
  141. <a rel="prev"
  142. href="/david/2024/05/13/"
  143. title="Publication précédente : Tensions">← Précédent</a> •
  144. <a href="/david/" title="Aller à l’accueil" rel="up">Accueil</a>
  145. <a href="/david/recherche/"
  146. title="Aller à la page de recherche"
  147. rel="search" data-no-instant>Recherche</a>
  148. • <a rel="next"
  149. href="/david/2024/05/24/"
  150. title="Publication suivante : Tout">Suivant →</a>
  151. </p>
  152. </nav>
  153. <p><a href="/david/2024/05/12/" title="Alien">Je me suis demandé</a> en passant par la page sur le <a data-link-domain="en.wikipedia.org" href="https://en.wikipedia.org/wiki/Stimming">Stimming</a> (<a data-link-domain="fr.wikipedia.org" href="https://fr.wikipedia.org/wiki/Auto-stimulation">Auto-stimulation</a> en français) après avoir couru s’il pouvait y avoir un lien avec les sports d’endurance. Je n’ai trouvé que <a data-link-domain="ncbi.nlm.nih.gov" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8992823/">cet article</a> qui n’a pas été&nbsp;publié&nbsp;:</p>
  154. <blockquote lang="en">
  155. <p>Physical activity is beneficial for physical and mental health in the general population. Among autistic people, a range of physical and mental health conditions, particularly depression and anxiety, occur more frequently than in the general population. <mark>Physical activity interventions could help improve physical and mental health in autistic adults,</mark> but there is a lack of research in the area. The aim of this perspective article is to explore research into physical activity interventions for autistic adults, and identify gaps particularly in need of&nbsp;addressing.</p>
  156. </blockquote>
  157. <p>J’imagine que les mouvements de jambes à l’arrêt facilitent la récupération aussi d’une certaine&nbsp;manière&nbsp;😇.</p>
  158. <p><a href="/david/2024/04/13/#hr-148">Still</a> <a data-link-domain="relationalpsych.group" href="https://www.relationalpsych.group/articles/understanding-audhd-the-co-occurence-of-autism-and-adhd" hreflang="en"
  159. title="Consultation de l’article (anglais)">digging</a>
  160. <a href="/david/cache/2024/7f7afbfc0e4528838aadd7db4ba231cb/" hreflang="en"
  161. data-tippy data-description="Autism Assessment at Relational Psych involves comprehensive evaluations to diagnose Autism Spectrum Disorders (ASD). Our assessments are conducted by experienced professionals and are tailored to identify the unique needs and strengths of each individual."
  162. data-source="https://www.relationalpsych.group/articles/understanding-audhd-the-co-occurence-of-autism-and-adhd"
  163. data-date="2024-05-20"
  164. data-favicon="https://assets-global.website-files.com/638a47e8e6837e0de97565b0/63fc2dfc3efb72e41f561cf0_Exclude.png"
  165. data-domain="relationalpsych.group"
  166. ><svg xmlns="http://www.w3.org/2000/svg"
  167. width="24" height="24" viewBox="0 0 24 24" fill="none"
  168. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  169. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  170. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  171. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  172. </svg>
  173. <span class="sr-only">[archive]</span></a>&nbsp;⛏️.</p>
  174. <a href="#hr-160" title="Lien vers cette section de la page"><hr id="hr-160" /></a>
  175. <blockquote lang="en">
  176. <p>When you’re driving around in Google Maps, you’re piloting a spaceship in an ancient simulation of space&nbsp;warfare.</p>
  177. <p><cite><em><a data-link-domain="interconnected.org" href="https://interconnected.org/home/2024/05/17/arrow" hreflang="en"
  178. title="Consultation de l’article (anglais)">When you’re driving in Google Maps you’re re-enacting an ancient space combat sim</a>
  179. <a href="/david/cache/2024/37e471123bcb625e1ada602b1168a3dd/" hreflang="en"
  180. data-tippy data-description="Posted on Friday 17 May 2024. 1,259 words, 14 links. By Matt Webb."
  181. data-source="https://interconnected.org/home/2024/05/17/arrow"
  182. data-date="2024-05-20"
  183. data-favicon=""
  184. data-domain="interconnected.org"
  185. ><svg xmlns="http://www.w3.org/2000/svg"
  186. width="24" height="24" viewBox="0 0 24 24" fill="none"
  187. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  188. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  189. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  190. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  191. </svg>
  192. <span class="sr-only">[archive]</span></a></em></cite></p>
  193. </blockquote>
  194. <p>Matt Webb, un des meilleurs tisseurs du&nbsp;Web.</p>
  195. <a href="#hr-161" title="Lien vers cette section de la page"><hr id="hr-161" /></a>
  196. <blockquote>
  197. <p>Depuis quelques mois, je réalise des petites BD sur le même principe qu’Étymographie dans Le Combat syndicaliste, le journal de la CNT-F. <mark>Je les mets à l’occasion sur Instagram,</mark> mais je ne veux pas non plus totalement laisser mourir mon cher blog, d’autant qu’il y a peut-être une ou deux personnes qui y vont encore et boudent les réseaux sociaux, sait-on jamais… En voici donc&nbsp;trois</p>
  198. <p><cite><em><a data-link-domain="boutanox.blogspot.com" href="https://boutanox.blogspot.com/2024/04/melanailourologos-le-combat-syndicaliste.html" hreflang=""
  199. title="Consultation de l’article">Mélanaïlourologos - Le Combat syndicaliste</a>
  200. <a href="/david/cache/2024/8a50a4b5f8ead46ca899437425315367/" hreflang=""
  201. data-tippy data-description="Depuis quelques mois, je réalise des petites BD sur le même principe qu'Étymographie dans Le Combat syndicaliste , le journal de la CNT-F ...."
  202. data-source="https://boutanox.blogspot.com/2024/04/melanailourologos-le-combat-syndicaliste.html"
  203. data-date="2024-05-20"
  204. data-favicon="https://boutanox.blogspot.com/favicon.ico"
  205. data-domain="boutanox.blogspot.com"
  206. ><svg xmlns="http://www.w3.org/2000/svg"
  207. width="24" height="24" viewBox="0 0 24 24" fill="none"
  208. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  209. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  210. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  211. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  212. </svg>
  213. <span class="sr-only">[archive]</span></a></em></cite></p>
  214. </blockquote>
  215. <p>Merci aux auteur·ices qui publient aussi sur le web (même si c’est sur Google en&nbsp;l’occurence…).</p>
  216. <a href="#hr-162" title="Lien vers cette section de la page"><hr id="hr-162" /></a>
  217. <blockquote lang="en">
  218. <p>Libraries are essential for democracy. We provide librarians and their communities the necessary skills <mark>to turn our ideals into action,</mark> focused on issues like privacy, intellectual freedom, and information&nbsp;democracy.</p>
  219. <p><cite><em><a data-link-domain="libraryfreedom.org" href="https://libraryfreedom.org/">We are Library Freedom&nbsp;Project </a></em></cite></p>
  220. </blockquote>
  221. <p>📚✊</p>
  222. <a href="#hr-163" title="Lien vers cette section de la page"><hr id="hr-163" /></a>
  223. <blockquote>
  224. <p>Je ne connais pas bien l’analyse transactionnelle, mais je m’en méfie un peu, surement plus par ignorance que par&nbsp;connaissance.</p>
  225. <p>Je trouve cependant que les différents «&nbsp;P&nbsp;» (Protection, Permission, Puissance) qui sont proposés sont intéressants quand il s’agit de parler de confiance, de légitimité et de collaboration. Je suis content de rencontrer ces&nbsp;termes.</p>
  226. <p><cite><em><a data-link-domain="blog.notmyidea.org" href="https://blog.notmyidea.org/oser-la-confiance.html" hreflang="fr"
  227. title="Consultation de l’article">Oser la confiance</a>
  228. <a href="/david/cache/2024/f0f339af451863ac8580a9fb65a58e99/" hreflang="fr"
  229. data-tippy data-description="On m’a conseillé ce livre, voici donc quelques notes."
  230. data-source="https://blog.notmyidea.org/oser-la-confiance.html"
  231. data-date="2024-05-20"
  232. data-favicon="https://blog.notmyidea.org/favicon-32x32.png"
  233. data-domain="blog.notmyidea.org"
  234. ><svg xmlns="http://www.w3.org/2000/svg"
  235. width="24" height="24" viewBox="0 0 24 24" fill="none"
  236. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  237. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  238. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  239. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  240. </svg>
  241. <span class="sr-only">[archive]</span></a></em></cite></p>
  242. </blockquote>
  243. <p>Cet article rai·ésonne <a href="/david/2024/05/13/" title="Tensions">particulièrement en ce moment</a>.</p>
  244. <a href="#hr-164" title="Lien vers cette section de la page"><hr id="hr-164" /></a>
  245. <blockquote>
  246. <p>Si je prends la parole aujourd’hui, c’est que je pense que mon parcours et mon cheminement intellectuel peuvent servir à d’autres confrères qui, je le sais, sont nombreux à être passés par mes différentes&nbsp;situations.</p>
  247. <p>Lorsque je suis entré en études d’ostéopathie, j’étais certain de commencer un cursus scientifique qui m’amènerait à être une profession de santé&nbsp;respectable.</p>
  248. <p><cite><em><a data-link-domain="scribe.rip" href="https://scribe.rip/@laurentlouat/ost%C3%A9opathe-je-nen-garderai-que-le-nom-fd14316bc871" hreflang="fr"
  249. title="Consultation de l’article">Ostéopathe, je n’en garderai que le nom</a>
  250. <a href="/david/cache/2024/b2c5ca7e92e2c0d461bc3c7da36e8d32/" hreflang="fr"
  251. data-tippy data-description="Cette rupture est symbolique. Mais les dérives sont quant à elles réelles. N’oubliez pas, ne pas se positionner, c’est cautionner."
  252. data-source="https://scribe.rip/@laurentlouat/ost%C3%A9opathe-je-nen-garderai-que-le-nom-fd14316bc871"
  253. data-date="2024-05-20"
  254. data-favicon="https://scribe.rip/favicon.ico"
  255. data-domain="scribe.rip"
  256. ><svg xmlns="http://www.w3.org/2000/svg"
  257. width="24" height="24" viewBox="0 0 24 24" fill="none"
  258. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  259. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  260. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  261. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  262. </svg>
  263. <span class="sr-only">[archive]</span></a></em></cite></p>
  264. </blockquote>
  265. <p>Merci aux personnes qui témoignent de&nbsp;l’intérieur.</p>
  266. <a href="#hr-165" title="Lien vers cette section de la page"><hr id="hr-165" /></a>
  267. <blockquote lang="en">
  268. <p>In our increasingly data-driven world, the ability to quickly and accurately access geospatial data can transform industries from public health to urban planning. Imagine being able to locate and analyze data from ‘within 10&nbsp;miles of the North Carolina coastline’ in mere seconds. Natural Language Geocoding makes this possible, <mark>bridging the gap between complex geospatial queries and user-friendly language.</mark> Let’s dive into how this innovative technology is changing the landscape of data analysis, making it more accessible and&nbsp;efficient.</p>
  269. <p><cite><em><a data-link-domain="element84.com" href="https://www.element84.com/machine-learning/natural-language-geocoding/" hreflang="en"
  270. title="Consultation de l’article (anglais)">Natural Language Geocoding</a>
  271. <a href="/david/cache/2024/7084f7b279604bc141fee03e01531eb7/" hreflang="en"
  272. data-tippy data-description="We discuss how natural language geocoding is changing the landscape of data analysis, making it more accessible and efficient."
  273. data-source="https://www.element84.com/machine-learning/natural-language-geocoding/"
  274. data-date="2024-05-20"
  275. data-favicon="https://www.element84.com/favicon-32x32.png?v=24e856d25e63af3f5b952cefe84a531f"
  276. data-domain="element84.com"
  277. ><svg xmlns="http://www.w3.org/2000/svg"
  278. width="24" height="24" viewBox="0 0 24 24" fill="none"
  279. stroke="currentColor" stroke-width="2" stroke-linecap="square"
  280. stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle>
  281. <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
  282. <line x1="12" y1="17" x2="12.01" y2="17"></line>
  283. </svg>
  284. <span class="sr-only">[archive]</span></a></em></cite></p>
  285. </blockquote>
  286. <p>L’AI s’immisce décidément partout. Je pensais naïvement être épargné dans ce domaine là. #enshAIttification (you saw it here&nbsp;first).</p>
  287. <a href="#hr-166" title="Lien vers cette section de la page"><hr id="hr-166" /></a>
  288. <blockquote lang="en">
  289. <p>A privacy-first, no-nonsense, super-fast <mark>blogging&nbsp;platform</mark></p>
  290. <p>No trackers, no javascript, no stylesheets. Just your&nbsp;words.</p>
  291. <p><cite><em><a data-link-domain="bearblog.dev" href="https://bearblog.dev/">ʕ•ᴥ•ʔ Bear&nbsp;Blog</a></em></cite></p>
  292. </blockquote>
  293. <a href="#hr-167" title="Lien vers cette section de la page"><hr id="hr-167" /></a>
  294. <blockquote>
  295. <p>Éducation sur le cannabis <mark>pour et par</mark> les Premières Nations, les Inuits et les&nbsp;Métis</p>
  296. <p><cite><em><a data-link-domain="nwaccannabised.ca" href="https://nwaccannabised.ca/fr">NWAC&nbsp;Cannabis</a></em></cite></p>
  297. </blockquote>
  298. <p>Je découvre au passage <a data-link-domain="deplume.ca" href="https://deplume.ca/">Design de Plume</a>.</p>
  299. <a href="#hr-168" title="Lien vers cette section de la page"><hr id="hr-168" /></a>
  300. <blockquote>
  301. <p>Peut-être que je viens de courir le 5k le plus rapide du reste de ma vie. 🏃💨</p>
  302. <p><cite><em><a data-link-domain="fedi.larlet.fr" href="https://fedi.larlet.fr/@david/111133899699614778">Sur masto</a>, le 26&nbsp;septembre&nbsp;2023</em></cite></p>
  303. </blockquote>
  304. <p>Ce pouet va mal&nbsp;vieillir&nbsp;🫀🦵.</p>
  305. <nav>
  306. <p>
  307. <a href="/david/2024/apprentissage/"
  308. title="Liste de tous les articles 2024 associés à cette étiquette"
  309. rel="tag">#apprentissage</a>
  310. <a href="/david/2024/documentation/"
  311. title="Liste de tous les articles 2024 associés à cette étiquette"
  312. rel="tag">#documentation</a>
  313. <a href="/david/2024/liens/"
  314. title="Liste de tous les articles 2024 associés à cette étiquette"
  315. rel="tag">#liens</a>
  316. <a href="/david/2024/#tags" title="Liste de toutes les étiquettes 2024">tous ?</a>
  317. </p>
  318. </nav>
  319. <nav>
  320. <p>
  321. <a rel="prev"
  322. href="/david/2024/05/13/"
  323. title="Publication précédente : Tensions">← Précédent</a> •
  324. <a href="/david/2024/" title="Liste des publications récentes">↑ En 2024</a>
  325. • <a rel="next"
  326. href="/david/2024/05/24/"
  327. title="Publication suivante : Tout">Suivant →</a>
  328. </p>
  329. </nav>
  330. <form action="/david/recherche/" method="get">
  331. <fieldset>
  332. <legend>Recherche</legend>
  333. <label for="input-search">Termes de votre recherche :</label>
  334. <input id="input-search" type="search" name="s" aria-describedby="indexation-infos" required>
  335. <input type="submit" value="Chercher">
  336. <p id="indexation-infos">
  337. <small>
  338. Seuls les contenus de ces 8 dernières années sont indexés.
  339. </small>
  340. </p>
  341. </fieldset>
  342. </form>
  343. <aside>
  344. <theme-toggle></theme-toggle>
  345. </aside>
  346. </article>
  347. <hr>
  348. <footer>
  349. <p>
  350. <a href="/david/" title="Aller à l’accueil">Accueil</a>
  351. <a href="/david/log/" title="Accès au flux RSS">Suivre</a>
  352. <a href="http://larlet.com"
  353. title="Go to my English profile"
  354. data-instant>Pro</a>
  355. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">Email</a>
  356. <abbr title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340">Légal</abbr>
  357. </p>
  358. <template id="theme-selector">
  359. <form>
  360. <style type="text/css">
  361. fieldset div {
  362. text-align: center;
  363. }
  364. </style>
  365. <fieldset>
  366. <legend>Thème</legend>
  367. <div>
  368. <label>
  369. <input type="radio" value="auto" name="chosen-color-scheme" checked>
  370. Auto
  371. </label>
  372. <label>
  373. <input type="radio" value="dark" name="chosen-color-scheme">
  374. Foncé
  375. </label>
  376. <label>
  377. <input type="radio" value="light" name="chosen-color-scheme">
  378. Clair
  379. </label>
  380. </div>
  381. </fieldset>
  382. </form>
  383. </template>
  384. </footer>
  385. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  386. <script>
  387. class ThemeToggle extends HTMLElement {
  388. constructor() {
  389. super()
  390. const themeSelectorTemplate = document.querySelector('#theme-selector')
  391. const form = themeSelectorTemplate.content.firstElementChild
  392. this.attachShadow({ mode: 'open' })
  393. this.shadowRoot.appendChild(form.cloneNode(true))
  394. }
  395. connectedCallback() {
  396. const form = this.shadowRoot.querySelector('form')
  397. form.addEventListener('change', (e) => {
  398. const chosenColorScheme = e.target.value
  399. localStorage.setItem('theme', chosenColorScheme)
  400. toggleTheme(chosenColorScheme)
  401. })
  402. const selectedTheme = localStorage.getItem('theme')
  403. if (selectedTheme && selectedTheme !== 'undefined') {
  404. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  405. }
  406. }
  407. }
  408. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  409. window.addEventListener('load', () => {
  410. let colorsLayer = undefined
  411. let hasDarkRules = false
  412. for (const styleSheet of Array.from(document.styleSheets)) {
  413. let mediaRules = []
  414. for (const layerRule of styleSheet.cssRules) {
  415. if (!(layerRule instanceof CSSLayerBlockRule)) {
  416. continue
  417. }
  418. if (layerRule.name === 'colors') {
  419. colorsLayer = layerRule
  420. }
  421. for (const cssRule of layerRule.cssRules) {
  422. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  423. continue
  424. }
  425. // WARNING: Safari does not have/supports `conditionText`.
  426. if (cssRule.conditionText) {
  427. if (cssRule.conditionText !== prefersColorSchemeDark) {
  428. continue
  429. }
  430. } else {
  431. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  432. continue
  433. }
  434. }
  435. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  436. }
  437. }
  438. // WARNING: do not try to insert a Rule to a styleSheet you are
  439. // currently iterating on, otherwise the browser will be stuck
  440. // in a infinite loop…
  441. for (const mediaRule of mediaRules) {
  442. // Safari requires the `0` second parameter (even if default).
  443. colorsLayer.insertRule(mediaRule.cssText, 0)
  444. hasDarkRules = true
  445. }
  446. }
  447. if (hasDarkRules) {
  448. if ('customElements' in window && !customElements.get('theme-toggle')) {
  449. customElements.define('theme-toggle', ThemeToggle)
  450. }
  451. }
  452. })
  453. </script>
  454. <script src="/static/david/js/popper-2.11.8.min.js"></script>
  455. <script src="/static/david/js/tippy-bundle-6.3.7.umd.min.js"></script>
  456. <script>
  457. tippy('[data-tippy]', {
  458. content(reference) {
  459. reference.addEventListener('click', (e) => e.preventDefault())
  460. return `
  461. <h3 lang="fr">
  462. <img src="${reference.dataset.favicon}" loading="lazy">
  463. <a href="${reference.dataset.source}"
  464. >Article sur ${reference.dataset.domain}</a></h3>
  465. <p lang="${reference.hreflang}"><em>${reference.dataset.description}</em></p>
  466. <div class="tippy-links" lang="fr">
  467. <a href="${reference.href}">Archive au ${reference.dataset.date}</a>
  468. </div>
  469. `
  470. },
  471. allowHTML: true,
  472. interactive: true,
  473. delay: [150, 700],
  474. hideOnClick: false
  475. })
  476. </script>
  477. <script type="module">
  478. import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'
  479. const markObserver = new IntersectionObserver((entries, observer) => {
  480. const computedStyle = getComputedStyle(document.documentElement)
  481. const markBackground = computedStyle.getPropertyValue('--mark-background')
  482. for (const entry of entries) {
  483. if (entry.intersectionRatio === 0) continue
  484. const markElement = entry.target
  485. markElement.style.backgroundColor = 'inherit'
  486. const annotation = annotate(
  487. markElement, {
  488. type: 'highlight',
  489. multiline: true,
  490. color: markBackground,
  491. // animate: !window.matchMedia('(prefers-reduced-motion: reduce)').matches
  492. animate: false
  493. }
  494. )
  495. annotation.show()
  496. observer.unobserve(markElement)
  497. }
  498. }, {threshold: 1.0})
  499. for (const markElement of document.querySelectorAll('mark')) {
  500. markObserver.observe(markElement)
  501. }
  502. </script>
  503. </body>
  504. </html>