342 private links
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."
La ville devrait garder la nouvelle génération et attirer d'autres publics, tout en étant renouvelable.
An introduction to WAI-ARIA
- 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
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.
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.
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.
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.
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."
See also the critics of GPUI.
lol
A documentation of the UI rust kit behind Zed and Project Phoenix of Discord. There is a lot to do, even on https://gpui.rs/
The browser client keeps rendering HTML with the application logic layer compiled to WebAssembly. Embedded web surfaces (e.g., YouTube videos and Activities), however, invoke an OS webview, with Electron’s built-in browser no longer available.
Le projet se qualifie par un évitement de l'effet bulle, une valuer éditoriale plutôt que l'engagement, dégradant les réseaux sociaux.
En mai 2026, ils avaient 7 000 milliards de références, soit 2 à 3 milliards de pages par jour. Korben relayait l'information
L'algorithme de classification s'appelle Mimesis, de type Dense-Sparse Hybrid Retrieval
En ce novembre, ils ont publié une API testé par Korben. Cela en fait par exemple un moteur de recherche utilisable par les IA pour trouver du contenu pertinent sur Internet, à la différence de
Le contenu publié depuis moins d'une semaine n'est pas encore intégré cependant.
- Bloom filter
- Count-min sketch
- HyperLogLog
- T-digest
- Top-k sketch
Part 2: https://antonz.org/probabilistic-data-structures/
- Binary fuse filter
- UltraLogLog
- Log-linear histogram
- MinHash