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.

1 年之前
1 年之前
1 年之前
11 月之前
1 年之前
11 月之前
1 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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. Perspective
  14. — David Larlet</title>
  15. <meta name="description" content="Let’s call the generally pro-Tailwind group Builders, and let’s call the generally anti-Tailwind group Crafters.">
  16. <!-- That good ol' feed, subscribe :). -->
  17. <link rel="alternate"
  18. type="application/atom+xml"
  19. title="Feed"
  20. href="/david/log/">
  21. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  22. <link rel="apple-touch-icon"
  23. sizes="180x180"
  24. href="/static/david/icons2/apple-touch-icon.png">
  25. <link rel="icon"
  26. type="image/png"
  27. sizes="32x32"
  28. href="/static/david/icons2/favicon-32x32.png">
  29. <link rel="icon"
  30. type="image/png"
  31. sizes="16x16"
  32. href="/static/david/icons2/favicon-16x16.png">
  33. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  34. <link rel="mask-icon"
  35. href="/static/david/icons2/safari-pinned-tab.svg"
  36. color="#07486c">
  37. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  38. <meta name="msapplication-TileColor" content="#f7f7f7">
  39. <meta name="msapplication-config"
  40. content="/static/david/icons2/browserconfig.xml">
  41. <meta name="theme-color"
  42. content="#f7f7f7"
  43. media="(prefers-color-scheme: light)">
  44. <meta name="theme-color"
  45. content="#272727"
  46. media="(prefers-color-scheme: dark)">
  47. <!-- Is that even respected? Retrospectively? What a shAItshow…
  48. https://neil-clarke.com/block-the-bots-that-feed-ai-models-by-scraping-your-website/ -->
  49. <meta name="robots" content="noai, noimageai">
  50. <!-- Documented, feel free to shoot an email. -->
  51. <link rel="stylesheet" href="/static/david/css/style_2021-01-20.css">
  52. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  53. <link rel="preload"
  54. href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2"
  55. as="font"
  56. type="font/woff2"
  57. media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
  58. crossorigin>
  59. <link rel="preload"
  60. href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2"
  61. as="font"
  62. type="font/woff2"
  63. media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
  64. crossorigin>
  65. <link rel="preload"
  66. href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2"
  67. as="font"
  68. type="font/woff2"
  69. media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
  70. crossorigin>
  71. <link rel="preload"
  72. href="/static/david/css/fonts/triplicate_t3_regular.woff2"
  73. as="font"
  74. type="font/woff2"
  75. media="(prefers-color-scheme: dark)"
  76. crossorigin>
  77. <link rel="preload"
  78. href="/static/david/css/fonts/triplicate_t3_bold.woff2"
  79. as="font"
  80. type="font/woff2"
  81. media="(prefers-color-scheme: dark)"
  82. crossorigin>
  83. <link rel="preload"
  84. href="/static/david/css/fonts/triplicate_t3_italic.woff2"
  85. as="font"
  86. type="font/woff2"
  87. media="(prefers-color-scheme: dark)"
  88. crossorigin>
  89. <script>
  90. function toggleTheme(themeName) {
  91. document.documentElement.classList.toggle(
  92. 'forced-dark',
  93. themeName === 'dark'
  94. )
  95. document.documentElement.classList.toggle(
  96. 'forced-light',
  97. themeName === 'light'
  98. )
  99. }
  100. const selectedTheme = localStorage.getItem('theme')
  101. if (selectedTheme !== 'undefined') {
  102. toggleTheme(selectedTheme)
  103. }
  104. </script>
  105. <body class="remarkdown h1-underline h2-underline h3-underline em-underscore hr-center ul-star pre-tick"
  106. data-instant-intensity="viewport-all">
  107. <article>
  108. <header>
  109. <h1>Perspective</h1>
  110. </header>
  111. <nav>
  112. <p class="center">
  113. <a rel="prev"
  114. href="/david/2023/09/23/"
  115. title="Publication précédente : Éco-conception">← Précédent</a> •
  116. <nobr>
  117. <a href="/david/" title="Aller à l’accueil" rel="up">
  118. <svg class="icon icon-home">
  119. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-home"></use>
  120. </svg>
  121. Accueil</a>
  122. </nobr>
  123. <nobr>
  124. <a href="/david/recherche/"
  125. title="Aller à la page de recherche"
  126. rel="search">
  127. <svg class="icon icon-search">
  128. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-search"></use>
  129. </svg>
  130. Recherche</a>
  131. </nobr>
  132. • <a rel="next"
  133. href="/david/2023/11/27/"
  134. title="Publication suivante : Dix">Suivant →</a>
  135. </p>
  136. </nav>
  137. <hr>
  138. <blockquote lang="en">
  139. <p>Let’s call the generally pro-Tailwind group <em>Builders</em>, and let’s call the generally anti-Tailwind group <em>Crafters</em>.</p>
  140. <p>This isn’t to say that Crafters don’t build things, or that the Builders aren’t skilled craftspeople. But as a quick and messy shorthand, let’s go with it for a moment, because I think it hints at the values of these two&nbsp;groups.</p>
  141. <p>[…]</p>
  142. <p>Builders clearly value getting the work done as quickly and efficiently as possible. They are making something—likely something with parts beyond the frontend—and are eager to see it through to&nbsp;completion.</p>
  143. <p>[…]</p>
  144. <p>On the other side, the Crafters tend to be seasoned CSS specialists, and almost always enjoy the part of the work that Tailwind is supposed to make easier. It’s fair to say they’ve overcome the challenge presented by CSS—or, at least, <mark>that this is where they <em>like</em> to be&nbsp;challenged.</mark></p>
  145. <p>Crafters may be building holistic products and projects, just like Builders. But Crafters generally are less focused on <em>getting through</em> the frontend as a <em>part</em> of that work, and instead see the frontend as <em>the product itself</em>.</p>
  146. <p><cite><em><a href="https://joshcollinsworth.com/blog/tailwind-is-smart-steering">Classic rock, Mario Kart, and why we can’t agree on Tailwind</a></em>&nbsp;(<a href="/david/cache/2023/2074a4d527220f5ddf2dc0b4e678c83a/">cache</a>)</cite></p>
  147. </blockquote>
  148. <p>Un article nuancé qui pose le doigt sur la différence de point de vue dans l’utilisation des outils. Oui, c’est le second article technique d’affilé, après je vais prendre mes&nbsp;gouttes.</p>
  149. <p>Le parallèle est intéressant avec les joueurs et les audiophiles car on est toujours dans la recherche de l’accomplissement au-delà de la performance pure. Une histoire de plaisir à arpenter le chemin et à le rendre accessible au plus grand nombre… tout en ayant conscience d’être un peu élitiste en se permettant cela car la face nord offre d’autres&nbsp;défis.</p>
  150. <p>Je respecte —&nbsp;et j’admire de plus en plus&nbsp;— les personnes qui n’ont pas besoin d’entrer à fond dans un sujet pour s’amuser. Il y a une innocence dont émane une forme de beauté. Certain·es pourraient y lire une condescendance mal placée mais pas du tout, cette recherche est bien trop souvent un fardeau chronophage qui pourrit la vie et les relations. Un groupe sain nécessite probablement d’avoir les deux façons d’appréhender les choses pour arriver à l’équilibre instable qui consiste à aller de&nbsp;l’avant.</p>
  151. <p>Oh, et pour revenir aux CSS, <strong>pour mon usage</strong> qui est de faire des petits outils résilients en équipe réduite, j’utilise de plus en plus des <em>frameworks</em> <a href="https://github.com/dbohdan/classless-css">sans classes</a> (ahum) comme <a href="https://picocss.com/">Pico.css</a> qui procurent une base saine, configurable et facilement portable. Est-ce que cela fait de moi un <em>Brafter</em>&#8239;? (<a href="https://www.urbandictionary.com/define.php?term=Braft">Non</a>.)</p>
  152. <hr />
  153. <blockquote lang="en">
  154. <p>✍️ Most people default to one or another behavior but rarely use them exclusively. Writers will often benefit from talking things out when they get stuck; and talkers will find that occasionally writing something down helps solidify their thoughts. Both strategies can be learned. Whether you’re a writer or a talker isn’t about your inability to do one or the other so much as it is a preferred or optimized&nbsp;mode.</p>
  155. <p>This is, incidentally, <mark>a much more valuable way of understanding different working styles</mark> than the old maker vs manager canard. Both talkers and writers make things (including decisions), but they means by which they make things—and the needs they have in relation to their colleagues—are not the&nbsp;same.</p>
  156. <p><cite><em><a href="https://everythingchanges.us/blog/writers-and-talkers-and-leaders/">Writers and talkers and leaders, oh my!</a></em>&nbsp;(<a href="/david/cache/2023/b2292d98e9d54537c13b8c1e2cae5583/">cache</a>)</cite></p>
  157. </blockquote>
  158. <blockquote lang="en">
  159. <p>🐉 But in general, I’d still be wary of using local-first outside real-time / multiplayer / offline use cases. <mark>Local-first is definitely still bleeding-edge.</mark> You will hit unexpected problems. A good community has rapidly developed, but there’ll still be some stretches on the road where you’ll have to solve novel&nbsp;problems.</p>
  160. <p>So: if you need local-first, see if it makes sense to isolate the local-first parts and architect the rest of the app (for now) in a more conventional&nbsp;fashion.</p>
  161. <p><cite><em><a href="https://bricolage.io/some-notes-on-local-first-development/">Some notes on Local-First Development</a></em>&nbsp;(<a href="/david/cache/2023/49f2ce04dd0beb94dc2f662163bc6339/">cache</a>)</cite></p>
  162. </blockquote>
  163. <blockquote>
  164. <p>😔 En fait ma plus grande inquiétude dans ses parcours hors-circuits sont les autres humains, ceux qui ne comprendraient pas ma&nbsp;démarche.</p>
  165. <p><cite><em><a href="https://www.la-grange.net/2023/03/03/suburb">banlieue ou suburb</a></em>&nbsp;(<a href="/david/cache/2023/5f93f91a46391e0e120dac49298857d1/">cache</a>)</cite></p>
  166. </blockquote>
  167. <nav>
  168. <p>
  169. <a href="/david/2023/complexite/"
  170. title="Liste de tous les articles 2023 associés à cette étiquette"
  171. rel="tag">#complexité</a>
  172. <a href="/david/2023/recherche/"
  173. title="Liste de tous les articles 2023 associés à cette étiquette"
  174. rel="tag">#recherche</a>
  175. <a href="/david/2023/technique/"
  176. title="Liste de tous les articles 2023 associés à cette étiquette"
  177. rel="tag">#technique</a>
  178. <a href="/david/#tags-2023" title="Liste de toutes les étiquettes 2023">
  179. <svg class="icon icon-tags">
  180. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-tags"></use>
  181. </svg>
  182. tous ?</a>
  183. </p>
  184. </nav>
  185. <nav>
  186. <p class="center">
  187. <a rel="prev"
  188. href="/david/2023/09/23/"
  189. title="Publication précédente : Éco-conception">← Précédent</a> •
  190. <a href="/david/2023/" title="Liste des publications récentes">↑ En 2023</a>
  191. • <a rel="next"
  192. href="/david/2023/11/27/"
  193. title="Publication suivante : Dix">Suivant →</a>
  194. </p>
  195. </nav>
  196. </article>
  197. <hr>
  198. <footer>
  199. <p>
  200. <nobr>
  201. <a href="/david/" title="Aller à l’accueil">
  202. <svg class="icon icon-home">
  203. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-home"></use>
  204. </svg>
  205. Accueil</a>
  206. </nobr>
  207. <nobr>
  208. <a href="/david/log/" title="Accès au flux RSS">
  209. <svg class="icon icon-rss2">
  210. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-rss2"></use>
  211. </svg>
  212. Suivre</a>
  213. </nobr>
  214. <nobr>
  215. <a href="http://larlet.com"
  216. title="Go to my English profile"
  217. data-instant>
  218. <svg class="icon icon-user-tie">
  219. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-user-tie"></use>
  220. </svg>
  221. Pro</a>
  222. </nobr>
  223. <nobr>
  224. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">
  225. <svg class="icon icon-mail">
  226. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-mail"></use>
  227. </svg>
  228. Email</a>
  229. </nobr>
  230. <nobr>
  231. <abbr class="nowrap"
  232. title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340">
  233. <svg class="icon icon-hammer2">
  234. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-hammer2"></use>
  235. </svg>
  236. Légal</abbr>
  237. </nobr>
  238. </p>
  239. <template id="theme-selector">
  240. <form>
  241. <fieldset>
  242. <legend>
  243. <svg class="icon icon-brightness-contrast">
  244. <use xlink:href="/static/david/icons2/symbol-defs-2022-03.svg#icon-brightness-contrast"></use>
  245. </svg>
  246. Thème
  247. </legend>
  248. <label>
  249. <input type="radio" value="auto" name="chosen-color-scheme" checked>
  250. Auto
  251. </label>
  252. <label>
  253. <input type="radio" value="dark" name="chosen-color-scheme">
  254. Foncé
  255. </label>
  256. <label>
  257. <input type="radio" value="light" name="chosen-color-scheme">
  258. Clair
  259. </label>
  260. </fieldset>
  261. </form>
  262. </template>
  263. </footer>
  264. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  265. <script>
  266. function loadThemeForm(templateName) {
  267. const themeSelectorTemplate = document.querySelector(templateName)
  268. const form = themeSelectorTemplate.content.firstElementChild
  269. themeSelectorTemplate.replaceWith(form)
  270. form.addEventListener('change', (e) => {
  271. const chosenColorScheme = e.target.value
  272. localStorage.setItem('theme', chosenColorScheme)
  273. toggleTheme(chosenColorScheme)
  274. })
  275. const selectedTheme = localStorage.getItem('theme')
  276. if (selectedTheme && selectedTheme !== 'undefined') {
  277. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  278. }
  279. }
  280. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  281. window.addEventListener('load', () => {
  282. let hasDarkRules = false
  283. for (const styleSheet of Array.from(document.styleSheets)) {
  284. let mediaRules = []
  285. for (const cssRule of styleSheet.cssRules) {
  286. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  287. continue
  288. }
  289. // WARNING: Safari does not have/supports `conditionText`.
  290. if (cssRule.conditionText) {
  291. if (cssRule.conditionText !== prefersColorSchemeDark) {
  292. continue
  293. }
  294. } else {
  295. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  296. continue
  297. }
  298. }
  299. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  300. }
  301. // WARNING: do not try to insert a Rule to a styleSheet you are
  302. // currently iterating on, otherwise the browser will be stuck
  303. // in a infinite loop…
  304. for (const mediaRule of mediaRules) {
  305. styleSheet.insertRule(mediaRule.cssText)
  306. hasDarkRules = true
  307. }
  308. }
  309. if (hasDarkRules) {
  310. loadThemeForm('#theme-selector')
  311. }
  312. })
  313. </script>
  314. </body>
  315. </html>