Daily Shaarli

All links of one day in a single page.

December 12, 2025

How do rust devs read large codebases? : r/rust
  1. They split the code into crates that are independent of the rust of the system.
  2. Start with src/main.rs or src/lib.rs to get a high level overview then go down into the things you need to understand in more detail.
  3. The trick to be productive in a large codebase is thus simple: focus, one step at a time.

Tips for the documentation:

Here's advice I figured out a while ago: if you'd doing something user-facing, write the documentation. When someone asks a question, point to the place in the documentation that answers it and ask if that clarifies. If they are still confused, instead of answering them, improve the documentation, and ask them if that helped. Very quickly you get to the point where the documentation is accurate even for people who don't know the answers already.

LinkedIngue - Le reseau social professionnel qui fait rire
LogTape

Unobtrusive logging for modern javascript

Zero dependencies. Universal runtime. Optimized performance.

The library avoid overhead and boilerplate compared to other logger library such as Winston or Pino.

IA et publicité - Liens en vrac de sebsauvage

AI companies are losing money fast and are going to go under. One of the most obvious ways to compensate for this is through advertising.

Except that you won't be able to detect this advertising, since it will be mixed in with the content.

What is the best VPN?
How do you treat a skin problem?
You won't be able to tell if the answer has been biased. You won't be able to tell if the AI is really giving the best “advice” or if it's advertising a brand of skin cream or a molecule from a large laboratory.
Extend this to economics and politics, and—as with online ad auctions—it's the highest bidder that will be able to influence you.

And all these AI companies are desperately in need of money.

Discord admits its Windows 11 app is a resource hog, tests auto-restart when RAM usage exceeds 4GB

When Discord needs more than 4GB of RAM, the app simply restarts.

docs/STYLEGUIDE.md at master · auth0/docs
« On a des tarifs qui ont pris 400 % »… Pourquoi la voracité de l’IA fait flamber les prix de la high-tech

Après la chute de la bulle IA, la RAM devrait donc chuter drastiquement.

Mais en attendant, " aussi tous les fabricants de matériels électroniques embarquant des modules de DRAM, comme les cartes graphiques, les téléphones, les téléviseurs, les voitures…" sont impactés et ne savent pas quels seront les prix de la RAM dans 3 mois.

il n’y a aucune perspective de baisse à court terme, « du moins pas avant 2028 »

Stoat

It claims complying with the GDPR

Meta accused of banning LGBTQ+ accounts in one of its "biggest waves of censorship" ever - LGBTQ Nation
La Linux Foundation accouche d’une nouvelle fondation, cette fois pour les agents IA - Next

L'agentic AI Foundation est crée https://aaif.io/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation-aaif-anchored-by-new-project-contributions-including-model-context-protocol-mcp-goose-and-agents-md/

Il y a actuellement 900 projets, et un nombre croissant de fondations filles afin de les gérer.

Encryption protects AGAINST criminals

All is in the title. There are many misuse of weak encryption showed as examples.

[Dossier] Dans l’enfer des chargeurs USB pas chers chez AliExpress, Amazon et Cdiscount - Next

Sur 24 chargeurs, 14 ne tiennent pas la puissance annoncée. 127°C est atteint pour l'un, un autre prend feu et un troisième a dysfonctionné.

En moyenne, la tension baisse de 3 % sur l’ensemble de nos mesures : pour 5 volts demandés, elle descendrait à 4,85 volts, contre 19,4 volts pour 20 volts. Les chargeurs consomment en moyenne 8,5 % de puissance supplémentaire que ce qu’ils restituent en USB. Pour 20 watts consommés sur un port USB, cela donne un peu moins de 22 watts à la prise. Cette surconsommation est facturée par votre fournisseur d’électricité et peut entrainer une chauffe importante du chargeur.

RTE alerte : les Français ne consomment pas assez d'électricité, et c'est un problème - Numerama

Bah baissez les prix?

Dans son bilan prévisionnel pour 2025-2035, publié le 9 décembre 2025, le gestionnaire du réseau français (RTE) dresse un constat inverse. Le risque de pénurie s’est éloigné, mais le pays est entré dans une période de surcapacité. Or, cela n’est pas forcément une si bonne nouvelle pour les ménages.

Ne pourrait-on dès lors pas exporter ce surplus aux pays voisins ? Hélas, non : les autres nations européennes sont aussi confrontées à un trop-plein, surtout en énergie renouvelable (solaire ou éolien), au moment où l’on voudrait trouver des débouchés à l’extérieur. On a donc un double souci, à la fois sur la demande intérieure et la demande extérieure.

Une autre idée serait d'accélérer l'électrification: pompe à chaleur, voiture électrique, accueillir plus de data centers, plus d'industrie (lol).

De fait, le rapport propose un renversement complet de perspective. Il faut plutôt remplir rapidement ce « restaurant », c’est-à-dire brancher de plus en plus d’éléments au réseau, afin que le système reste bien dimensionné et sans risquer une hausse de la facture. En clair, il lui faut impérativement plus de clients dans ce plan de décarbonation rapide.

Eh bien baissez le prix? Ainsi ce sera attractif et tout le monde devrait se ruer dessus.

Font Wars: Times New Roman vs. Calibri in U.S. Diplomacy | Politics

They have banned the Calibri font (which was chosen for its legibility) and reverted to the old Times New Roman.
The reason? Calibri is “too inclusive.”

Disney investing $1 billion in OpenAI, will allow characters on Sora

Disney characters will be allowed on the Sora app.

Berlin: Police can secretly enter homes for state trojan installation | heise online