Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.html 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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>Madeleine — David Larlet</title>
  13. <meta name="description" content="Ma madeleine du jour m’a été offerte par Aurélien qui pointait vers LightDock, ce qui m’a rappelé mon stage de master et mes premiers pas en Python. Où l’on remarque qu’il y a 18 ans, les list-comprehensions et les __methodes_magiques__ devaient être récentes…">
  14. <!-- That good ol' feed, subscribe :). -->
  15. <link rel="alternate" type="application/atom+xml" title="Feed" href="/david/log/">
  16. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  17. <link rel="apple-touch-icon" sizes="180x180" href="/static/david/icons2/apple-touch-icon.png">
  18. <link rel="icon" type="image/png" sizes="32x32" href="/static/david/icons2/favicon-32x32.png">
  19. <link rel="icon" type="image/png" sizes="16x16" href="/static/david/icons2/favicon-16x16.png">
  20. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  21. <link rel="mask-icon" href="/static/david/icons2/safari-pinned-tab.svg" color="#07486c">
  22. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  23. <meta name="msapplication-TileColor" content="#f7f7f7">
  24. <meta name="msapplication-config" content="/static/david/icons2/browserconfig.xml">
  25. <meta name="theme-color" content="#f7f7f7" media="(prefers-color-scheme: light)">
  26. <meta name="theme-color" content="#272727" media="(prefers-color-scheme: dark)">
  27. <!-- Documented, feel free to shoot an email. -->
  28. <link rel="stylesheet" href="/static/david/css/style_2021-01-20.css">
  29. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  30. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  31. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  32. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  33. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  34. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  35. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  36. <script>
  37. function toggleTheme(themeName) {
  38. document.documentElement.classList.toggle(
  39. 'forced-dark',
  40. themeName === 'dark'
  41. )
  42. document.documentElement.classList.toggle(
  43. 'forced-light',
  44. themeName === 'light'
  45. )
  46. }
  47. const selectedTheme = localStorage.getItem('theme')
  48. if (selectedTheme !== 'undefined') {
  49. toggleTheme(selectedTheme)
  50. }
  51. </script>
  52. <body class="remarkdown h1-underline h2-underline h3-underline em-underscore hr-center ul-star pre-tick" data-instant-intensity="viewport-all">
  53. <article>
  54. <header>
  55. <h1>Madeleine</h1>
  56. </header>
  57. <nav>
  58. <p class="center">
  59. <a rel="prev" href="/david/2023/02/05/" title="Publication précédente : Attente">← Précédent</a> •
  60. <nobr>
  61. <a href="/david/" title="Aller à l’accueil" rel="up"
  62. ><svg class="icon icon-home">
  63. <use
  64. xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-home"
  65. ></use>
  66. </svg>
  67. Accueil</a
  68. >
  69. </nobr>
  70. <nobr>
  71. <a href="/david/recherche/" title="Aller à la page de recherche" rel="search"
  72. ><svg class="icon icon-search">
  73. <use
  74. xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-search"
  75. ></use>
  76. </svg>
  77. Recherche</a
  78. >
  79. </nobr>
  80. • <a rel="next" href="/david/2023/02/08/" title="Publication suivante : TextcAIst">Suivant →</a>
  81. </p>
  82. </nav>
  83. <hr>
  84. <p>Ma madeleine du jour m’a été offerte par <a href="https://latitude77.org">Aurélien</a> qui pointait vers <a href="https://lightdock.org/">LightDock</a>, ce qui m’a rappelé mon stage de master et mes <a href="/david/biologeek/archives/20051017-parser-un-fichier-pdb-en-python-facilement-et-efficacement/">premiers pas en Python</a>. Où l’on remarque qu’il y a 18&nbsp;ans, les <em>list-comprehensions</em> et les <code>__methodes_magiques__</code> devaient être&nbsp;récentes…</p>
  85. <p>Mais au fait, que s’est-il passé ces 20&nbsp;dernières années en bio-informatique&#8239;? Est-ce encore une matière (hybride) à part entière ou le <em>in silico</em> a-t-il fini par bouffer la&nbsp;madeleine&#8239;?</p>
  86. <hr />
  87. <p>🚲 Où j’apprends que la piste cyclable en bas de chez moi est considéré comme «&nbsp;bonne&nbsp;» <a href="https://numerique.banq.qc.ca/patrimoine/details/52327/3393377">depuis pas mal de temps</a>.</p>
  88. <hr />
  89. <blockquote>
  90. <p>🌱 J’ai fait des études d’agriculture biologique et ce milieu m’a dégoûté. On est dans la production. Et dans la production, soit tu t’auto-exploites, soit tu exploites de la main-d’oeuvre. <mark>Dans le bio, l’essentiel de la main-d’oeuvre, ce sont des sans-papiers.</mark> Cette réalité embarrasse énormément ceux qui croient que le bio est le summum de l’alternative. À une époque, avec des copains, on avait organisé des dépôts de paniers de légumes à Bruxelles. On est allé travailler dans le lieu de production situé à une vingtaine de kilomètres de Bruxelles. On s’est retrouvé avec des sans-papiers. Les dessous de la production échappent aux radars. Pourtant, en y réfléchissant, si les gens étaient payés décemment, c’est le quadruple du prix qu’on devrait payer. Eux, aux Fraternités ouvrières, ils ne font pas de la production. Ils n’essaient pas de te vendre une production éthique ou biologique. Ils te disent&nbsp;: «&nbsp;Vas-y, expérimente&nbsp;». C’est une incitation à expérimenter&nbsp;l’autonomie.</p>
  91. <p><cite><em><a href="https://www.rayonvertcinema.org/benjamin-hennot-interview/">Benjamin Hennot&nbsp;: Interview</a></em>&nbsp;(<a href="/david/cache/2023/ee7eb9c245d1b2c4b91b8dda4cd7d318/">cache</a>)</cite></p>
  92. </blockquote>
  93. <blockquote lang="en">
  94. <p>🎯 No, we need to move our attention back to the folks that have been right all along. The people who never gave up on semantic markup, CSS, and progressive enhancement for most sites. The people who, when slinging JS, have treated it as special occasion food. <mark>The tools and communities whose culture puts the user ahead of the developer</mark> and hold evidence of doing better for users in the highest&nbsp;regard.</p>
  95. <p><cite><em><a href="https://infrequently.org/2023/02/the-market-for-lemons/">The Market for Lemons</a></em>&nbsp;(<a href="/david/cache/2023/5b35e3f3639ceb7d9f684aa81979f304/">cache</a>)</cite></p>
  96. </blockquote>
  97. <blockquote lang="en">
  98. <p>✍️ To feed my blogging, I am constantly reading books, magazine articles, academic papers, and a sprawling network of blogs (I follow about 400&nbsp;via my RSS feed on Feedly). Much as writing catalyzes thinking, <mark>reading catalyzes writing;</mark> the vast majority of ideas I get for blog posts come from reading something and having it trigger a “wait, what about …”&nbsp;moment.</p>
  99. <p><cite><em><a href="https://clivethompson.medium.com/how-blogging-changes-the-way-you-think-526734dc86d1">How Blogging Changes The Way You Think</a></em>&nbsp;(<a href="/david/cache/2023/9caf3cf36d339cfffad8582583493204/">cache</a>)</cite></p>
  100. </blockquote>
  101. <hr />
  102. <blockquote lang="en">
  103. <p>🙈 Wikis, unless you have someone whose job it is to maintain the wiki, is where knowledge goes to&nbsp;die</p>
  104. <p><cite><em><a href="https://cloudisland.nz/@aurynn/109808680824741796">@aurynn@cloudisland.nz sur&nbsp;mastodon</a></em></cite></p>
  105. </blockquote>
  106. <blockquote>
  107. <p>🤯 une voiture, c’est jamais qu’un gros fauteuil roulant, hein.</p>
  108. <p><cite><em><a href="https://mamot.fr/@ffoodd/109796035120760099">@ffoodd@mamot.fr sur&nbsp;mastodon</a></em></cite></p>
  109. </blockquote>
  110. <blockquote lang="en">
  111. <p>👀 I have been in tech so long, I only have one question when I hear of a new invention.<br />
  112. Will it be used for war, porn or&nbsp;surveillance?</p>
  113. <p><cite><em><a href="https://eupolicy.social/@why0hy/109749311459562949">@why0hy@eupolicy.social sur&nbsp;mastodon</a></em></cite></p>
  114. </blockquote>
  115. <nav>
  116. <p>
  117. <a href="/david/2023/gratitude/"
  118. title="Liste de tous les articles 2023 associés à cette étiquette"
  119. rel="tag"
  120. >#gratitude</a>
  121. <a href="/david/2023/nostalgie/"
  122. title="Liste de tous les articles 2023 associés à cette étiquette"
  123. rel="tag"
  124. >#nostalgie</a>
  125. <a href="/david/2023/recherche/"
  126. title="Liste de tous les articles 2023 associés à cette étiquette"
  127. rel="tag"
  128. >#recherche</a>
  129. <a href="/david/#tags-2023"
  130. title="Liste de toutes les étiquettes 2023"
  131. ><svg class="icon icon-tags">
  132. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-tags"></use>
  133. </svg>
  134. tous ?</a
  135. >
  136. </p>
  137. </nav>
  138. <nav>
  139. <p class="center">
  140. <a rel="prev" href="/david/2023/02/05/" title="Publication précédente : Attente">← Précédent</a> •
  141. <a href="/david/2023/" title="Liste des publications récentes">↑ En 2023</a>
  142. • <a rel="next" href="/david/2023/02/08/" title="Publication suivante : TextcAIst">Suivant →</a>
  143. </p>
  144. </nav>
  145. </article>
  146. <hr>
  147. <footer>
  148. <p>
  149. <nobr>
  150. <a href="/david/" title="Aller à l’accueil"
  151. ><svg class="icon icon-home">
  152. <use
  153. xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-home"
  154. ></use>
  155. </svg>
  156. Accueil</a
  157. >
  158. </nobr>
  159. <nobr>
  160. <a href="/david/log/" title="Accès au flux RSS"
  161. ><svg class="icon icon-rss2">
  162. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-rss2"></use>
  163. </svg>
  164. Suivre</a
  165. >
  166. </nobr>
  167. <nobr>
  168. <a href="http://larlet.com" title="Go to my English profile" data-instant
  169. ><svg class="icon icon-user-tie">
  170. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-user-tie"></use>
  171. </svg>
  172. Pro</a
  173. >
  174. </nobr>
  175. <nobr>
  176. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel"
  177. ><svg class="icon icon-mail">
  178. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-mail"></use>
  179. </svg>
  180. Email</a
  181. >
  182. </nobr>
  183. <nobr>
  184. <abbr
  185. class="nowrap"
  186. title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340"
  187. ><svg class="icon icon-hammer2">
  188. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-hammer2"></use>
  189. </svg>
  190. Légal</abbr
  191. >
  192. </nobr>
  193. </p>
  194. <template id="theme-selector">
  195. <form>
  196. <fieldset>
  197. <legend><svg class="icon icon-brightness-contrast">
  198. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-brightness-contrast"></use>
  199. </svg> Thème</legend>
  200. <label>
  201. <input type="radio" value="auto" name="chosen-color-scheme" checked> Auto
  202. </label>
  203. <label>
  204. <input type="radio" value="dark" name="chosen-color-scheme"> Foncé
  205. </label>
  206. <label>
  207. <input type="radio" value="light" name="chosen-color-scheme"> Clair
  208. </label>
  209. </fieldset>
  210. </form>
  211. </template>
  212. </footer>
  213. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  214. <script>
  215. function loadThemeForm(templateName) {
  216. const themeSelectorTemplate = document.querySelector(templateName)
  217. const form = themeSelectorTemplate.content.firstElementChild
  218. themeSelectorTemplate.replaceWith(form)
  219. form.addEventListener('change', (e) => {
  220. const chosenColorScheme = e.target.value
  221. localStorage.setItem('theme', chosenColorScheme)
  222. toggleTheme(chosenColorScheme)
  223. })
  224. const selectedTheme = localStorage.getItem('theme')
  225. if (selectedTheme && selectedTheme !== 'undefined') {
  226. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  227. }
  228. }
  229. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  230. window.addEventListener('load', () => {
  231. let hasDarkRules = false
  232. for (const styleSheet of Array.from(document.styleSheets)) {
  233. let mediaRules = []
  234. for (const cssRule of styleSheet.cssRules) {
  235. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  236. continue
  237. }
  238. // WARNING: Safari does not have/supports `conditionText`.
  239. if (cssRule.conditionText) {
  240. if (cssRule.conditionText !== prefersColorSchemeDark) {
  241. continue
  242. }
  243. } else {
  244. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  245. continue
  246. }
  247. }
  248. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  249. }
  250. // WARNING: do not try to insert a Rule to a styleSheet you are
  251. // currently iterating on, otherwise the browser will be stuck
  252. // in a infinite loop…
  253. for (const mediaRule of mediaRules) {
  254. styleSheet.insertRule(mediaRule.cssText)
  255. hasDarkRules = true
  256. }
  257. }
  258. if (hasDarkRules) {
  259. loadThemeForm('#theme-selector')
  260. }
  261. })
  262. </script>
  263. </body>
  264. </html>