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.

index.html 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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"
  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"
  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. >#gratitude</a>
  120. <a href="/david/2023/nostalgie/"
  121. title="Liste de tous les articles 2023 associés à cette étiquette"
  122. >#nostalgie</a>
  123. <a href="/david/2023/recherche/"
  124. title="Liste de tous les articles 2023 associés à cette étiquette"
  125. >#recherche</a>
  126. <a href="/david/#tags-2023"
  127. title="Liste de toutes les étiquettes 2023"
  128. ><svg class="icon icon-tags">
  129. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-tags"></use>
  130. </svg>
  131. tous ?</a
  132. >
  133. </p>
  134. </nav>
  135. <nav>
  136. <p class="center">
  137. <a rel="prev" href="/david/2023/02/05/" title="Publication précédente : Attente">← Précédent</a> •
  138. <a href="/david/2023/" title="Liste des publications récentes">↑ En 2023</a>
  139. • <a rel="next" href="/david/2023/02/08/" title="Publication suivante : TextcAIst">Suivant →</a>
  140. </p>
  141. </nav>
  142. </article>
  143. <hr>
  144. <footer>
  145. <p>
  146. <nobr>
  147. <a href="/david/" title="Aller à l’accueil"
  148. ><svg class="icon icon-home">
  149. <use
  150. xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-home"
  151. ></use>
  152. </svg>
  153. Accueil</a
  154. >
  155. </nobr>
  156. <nobr>
  157. <a href="/david/log/" title="Accès au flux RSS"
  158. ><svg class="icon icon-rss2">
  159. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-rss2"></use>
  160. </svg>
  161. Suivre</a
  162. >
  163. </nobr>
  164. <nobr>
  165. <a href="http://larlet.com" title="Go to my English profile" data-instant
  166. ><svg class="icon icon-user-tie">
  167. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-user-tie"></use>
  168. </svg>
  169. Pro</a
  170. >
  171. </nobr>
  172. <nobr>
  173. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel"
  174. ><svg class="icon icon-mail">
  175. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-mail"></use>
  176. </svg>
  177. Email</a
  178. >
  179. </nobr>
  180. <nobr>
  181. <abbr
  182. class="nowrap"
  183. title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340"
  184. ><svg class="icon icon-hammer2">
  185. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-hammer2"></use>
  186. </svg>
  187. Légal</abbr
  188. >
  189. </nobr>
  190. </p>
  191. <template id="theme-selector">
  192. <form>
  193. <fieldset>
  194. <legend><svg class="icon icon-brightness-contrast">
  195. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-brightness-contrast"></use>
  196. </svg> Thème</legend>
  197. <label>
  198. <input type="radio" value="auto" name="chosen-color-scheme" checked> Auto
  199. </label>
  200. <label>
  201. <input type="radio" value="dark" name="chosen-color-scheme"> Foncé
  202. </label>
  203. <label>
  204. <input type="radio" value="light" name="chosen-color-scheme"> Clair
  205. </label>
  206. </fieldset>
  207. </form>
  208. </template>
  209. </footer>
  210. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  211. <script>
  212. function loadThemeForm(templateName) {
  213. const themeSelectorTemplate = document.querySelector(templateName)
  214. const form = themeSelectorTemplate.content.firstElementChild
  215. themeSelectorTemplate.replaceWith(form)
  216. form.addEventListener('change', (e) => {
  217. const chosenColorScheme = e.target.value
  218. localStorage.setItem('theme', chosenColorScheme)
  219. toggleTheme(chosenColorScheme)
  220. })
  221. const selectedTheme = localStorage.getItem('theme')
  222. if (selectedTheme && selectedTheme !== 'undefined') {
  223. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  224. }
  225. }
  226. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  227. window.addEventListener('load', () => {
  228. let hasDarkRules = false
  229. for (const styleSheet of Array.from(document.styleSheets)) {
  230. let mediaRules = []
  231. for (const cssRule of styleSheet.cssRules) {
  232. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  233. continue
  234. }
  235. // WARNING: Safari does not have/supports `conditionText`.
  236. if (cssRule.conditionText) {
  237. if (cssRule.conditionText !== prefersColorSchemeDark) {
  238. continue
  239. }
  240. } else {
  241. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  242. continue
  243. }
  244. }
  245. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  246. }
  247. // WARNING: do not try to insert a Rule to a styleSheet you are
  248. // currently iterating on, otherwise the browser will be stuck
  249. // in a infinite loop…
  250. for (const mediaRule of mediaRules) {
  251. styleSheet.insertRule(mediaRule.cssText)
  252. hasDarkRules = true
  253. }
  254. }
  255. if (hasDarkRules) {
  256. loadThemeForm('#theme-selector')
  257. }
  258. })
  259. </script>
  260. </body>
  261. </html>