Daily Shaarli

All links of one day in a single page.

November 22, 2026

Radiant & Conductive Heating Systems | LOW←TECH MAGAZINE
Making Sense Of WAI-ARIA: A Comprehensive Guide — Smashing Magazine

An introduction to WAI-ARIA

How to Write a Technical Book | cnr.sh
  • Know Why You're Writing
  • Assess the Market
  • Build an Audience
  • Find a Publisher
  • Don't Fixate on Writing Tools
  • Establish a Cadence
  • Get Feedback
  • Learn to Write
Where do you put spacing on design system components? – Eric Bailey

Vertical spacing can be a component property.

Since component props are off the table, the only real sensible thing to do is create a documentation “meta” component that captures these spacing values.

How we deploy to production over 100 times a day

Successful startups move quickly. It’s how they can compete with companies who have 1000x the resources. But as companies grow they get slow.

  • The cost of failure increases, so arduous change management processes are introduced.
  • More engineers are working on the same system and get in the way of each other.
  • Lots of new engineers are onboarded, so the effort expended in understanding the system increases.

Fundamentally our aim is to deploy small changes. A small change is quicker to implement, and quicker to validate. Fewer things changing at once implies a smaller blast radius if things go wrong, and smaller changes are typically easier to revert.

What we do instead is invest heavily in out-of-the-box guardrails, monitoring, and auditing to make mistakes less likely, and quicker to recover from when they inevitably do happen.

Advice for the next 100 Rust GUIs - Linebender

See also the critics of GPUI.

iamjonas.me/2021/01/literate-atomic-commits.html

Write the documentation of what you do, then write the code snippets to make it work. The comments are the main attraction and the code is secondary.

In an interview in coders at work it's inventor Donald Knuth explains his enthusiasm for it: "First rule: understand your audience and write for that audience. Second rule: say everything twice in complementary ways so the reader has a chance to put the ideas into their brain in ways that reinforce each other".

To document the progression, write atomic commits (the minimal and accurate solution to one agreed problem. It's the occasion to describe the change in the commit message. "Even if you don't know the language the code is written in I bet it makes a lot more sense by reading what it's supposed to do in plain text first."

Create and use variants – Figma Learn - Help Center
De Git à Bitcoin en passant par IPFS : derrière la forêt de la décentralisation, les arbres de Merkle - Next

Les structures de données utilisent les arbres de hachage. Les hashs sont le résultat d'un calcul sur des données avec une taille fixe, déterministre, unique et non-réversible. D'où le terme d'empreinte en français.

L'arbre de hachage permet d'appliquer ces règles à l'échelle de petits blocs de données avec une hiérarchie simple à parcourir. Le calcul sur les données est découpé en plusieurs blocs, passé puis mis dans un arbre.

Si l'on doit stocker ces deux textes au sein d'un système, on peut donc effectuer une déduplication, en ne stockant pas en double trois des quatre blocs de données. Pour de la gestion de version, on peut également stocker uniquement le bloc qui a été modifié et sa référence.

L'intérêt de cette méthode, est qu'elle permet une analyse et comparaison sur la base de simples empreintes, pouvant correspondre à de gros blocs de fichiers. [...] Dans le cadre des crypto-monnaies, les arbres de Merkle sont utilisés pour représenter et valider l'intégrité des blocs de transactions, mais aussi les relier entre eux.

RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax
Le Bhoutan Construit Son Anti-Dubaï Grâce au Bitcoin - YouTube

La ville devrait garder la nouvelle génération et attirer d'autres publics, tout en étant renouvelable.

Designing a write API for Datasette

Thoughts to write a REST API for a database. The first endpoints are easy to manage.

It's always about the details:

  • Should you be allowed to update the primary key of an existing record?
  • What happens if you try to insert a record that violates a foreign key constraint?
  • What happens if you try to insert a record that violates a unique constraint?
  • How should inserting binary data work, given that JSON doesn’t have a binary type?
    What permissions should the different API endpoints require (I’m looking to add a bunch of new ones)
  • How should compound primary keys be treated?
  • Should the API return a copy of the records that were just inserted? Initially I thought yes, but it turns out to be a big impact on insert speeds, at least in SQLite versions before the RETURNING clause was added in SQLite 3.35.0 (in March 2021, so not necessarily widely available yet).
  • How should the interactive API explorer work? I’ve been building that in this issue.
How I Got Postgres into a Single Binary · progrium

miniPG is a single, self-contained executable. You can just point it at a directory and run a query. There's no server to start, nothing to configure, and the result comes back immediately.

Givento the Postgres DB directory, minipg can handle the rest, similar to sqlite3. "miniPG is for local, single-user programs: the places SQLite would fit, but you need Postgres."