Weekly Shaarli

All links of one week in a single page.

Week 08 (February 19, 2024)

Table of Contents - Rust Cookbook

This cookbook is intended for new Rust programmers, so that they may quickly get an overview of the capabilities of the Rust crate ecosystem. It is also intended for experienced Rust programmers, who should find in the recipes an easy reminder of how to accomplish common tasks.

Molly White: "drop your blog below please ⬇️" - Hachyderm.io

450 replies at the moment

aeris (@aeris) | Firefish - imirhil.fr

J’ai moi-même eu recours à la procédure de lanceur d’alerte de la CNIL.
On en est à 3 ans, j’ai toujours eu AUCUN retour…
Je vous fais aussi ce qui se passe quand vous signalez une fuite de données à l’ANSSI :

  • Moi : bonjour l’ANSSI, XXX a un bug qui fuite les données d’une agence régionale de santé
  • ANSSI : OK on regarde
  • ANSSI : Bonjour XXX, on nous a signalé une fuite de données, vous pouvez nous confirmer ?
  • XXX : Oui tout à fait, mais ce n’est pas un bug, c’est une feature. La non sécurité des URL est voulue et les dorks Google qui vont avec on s’en cogne
  • ANSSI : Ah, merci, au revoir
Thomas Bourgenot: "LB "la publicité est le graffi…" - Mastodon

« Ah-HA ! Graffiti! » were advertising is everywhere else.

Complexity Stays At the Office | Leon Mika

I also agree: if you act alone on your free time, then go for simplicity. You have a limited time budget and it should be fun.

Trying new ones when they are needed makes also sense, but only when they make sense.

CSS { In Real Life } | Design Patterns that Encourage Junk Data

It is estimated that up to 88% of the data stored in the cloud is ROT (Redundant, Obsolete or Trivial) #DataROT.

There are also "dark data": data collected by companies in the course of their regular business activities, but which is not used for any other purpose.

The service JS bin is often used for one time sharing, stores currently 130 GB of code. Most of it is ROT.
The current apps are designed to create data that live forever. Maybe it is time we set deletion time to the data, or at least an expiration time.

So there are some ideas of the author.

One possibility is to introduce more friction in to the process of creating data that live forever. An account can be needed for example.

Email clients could be designed in a way that encourages (or even requires) users to configure settings for automatic deletion after a certain time period.

When companies make it so easy for us to create junk data at virtually no cost, while making huge profits themselves, they shouldn’t be permitted to pass the cost of cleaning it up onto the individual. They need to take responsibility for their own sprawling data problem, and its planetary impact.

Blog post about it https://blog.lyokolux.space/posts/2024-02-25-about-data-storage-and-gathering-everything/

SuperTokens, Open Source User Authentication
Postleitdaten | Downloads | Deutsche Post Direkt

Die Änderungen der deutschen Adressen werden pro Quartal berichtet.

Useful Uses of cat

Because of modularity

Ouvrir la Science - Partenariat du ministère de l’Enseignement supérieur et de la Recherche avec OpenAlex pour le développement d’un outil bibliographique entièrement ouvert

OpenAlex est une base de données bibliographiques entièrement ouverte indexant fin 2023 environ 250 millions de travaux scientifiques, 90 millions d’auteurs, 100 000 institutions et 32 000 financeurs.

nate : « In honor of Valentine’s Day, here’s a thread of p… » - mas.to

In honor of Valentine’s Day, here’s a thread of pickup lines for the programmer in your life♥️

  1. Are you a CLI benchmarking tool? Because you’re looking hyperfine today
  2. Do you write Rust? Because you clearly care about my safety🦀
  3. Do you write JavaScript? Because I bet you know what this could mean
  4. Has anyone ever called you pnpm? Because you’re my favorite package manager 📦
  5. Excuse me, is your name @vite
  6. Because you’re the best development I’ve seen in years.👀
  7. Let’s trade—you buy me dinner and I’ll buy you a new domain name.💰
Près de 700 millions supprimés à l'Education nationale - Mis à jour
movepurposefully.threadless.com/accessories/sticker

I like the stickers: "GeeksForHumanity" and "Move purposefully and fix things".

🏳️‍⚧️ Fen (@hadeantaiga) | NIGHT CITY BAR

The dangerous version of masculinity sold by the patriarchy is a social construct that can, in fact, be opted out of. Men and masculine people can construct a masculinity that is not toxic, that does not promote violence, that is centered around healthy relationships and communication and helping others.

Bluesky: An Open Social Web - Bluesky

Data published on bluesky can be hosted by third-parties such as cloud providers or yourself.

Microsoft Azure Hit With The Largest Data Breach In Its History
8 bonnes habitudes pour soulager l'anxiété - Journal des bonnes nouvelles

Bon, la liste est lancée comme cela, sans autre explications. Je trouves cependant plusieurs éléments de la liste pertinents dans mon cas.

  • la sieste
  • le pardon
  • le glaçon
  • la promenade
  • le sourire
  • le câlin
  • le lit
  • éloigner l'ordiphone
Ça vaaaa, c’est pas sensible™ ! - Le Hollandais Volant

Notre base de données contenant des données de clients a récemment fait l’objet d’une attaque informatique par un tiers non autorisé qui a accédé à certaines données personnelles de nos clients (nom, prénom, adresse postale, numéro de téléphone, photos de véhicules, plaque d’immatriculation et numéro de châssis). Aucune donnée financière ou sensible n’a été affectée.

Mais selon la CNIL, c'est pas sensible: https://www.cnil.fr/fr/definition/donnee-sensible

Note: Compendium packs visualizer for Foundry

Search through extensions and visualize them all

Pourquoi j’aime bien les cartels. Ou pas.

TL;DR il n'y a pas d'alternatives correctes européennes aux GAFAMs pour les projets d'envergure.

Launching Bloggr | EventuallyCoding

Another tool to build a blog :)

Opml to blogroll

Make an OPML to newsroll 😄
Fetch the website informations and create some cards out of it.
Uses folders to create categories.

There are a bunch of possibilities

rust-unofficial/awesome-rust: A curated list of Rust code and resources.
World Wide Web Consortium: "Did you know that our oldest Web standard dates b…" - w3c.social

Did you know that our oldest Web standard dates back from October 1994? It was the specification of Portable Network Graphics (PNG) w3.org/TR/REC-png-961001

W3C re-convened a PNG working group in 2021 to work on PNG Third Edition and plan a Fourth Edition aimed to standardize new features such as animation extension, or adding support for HDR imagery. w3.org/groups/wg/png/

You can query our Standards base w3.org/standards/stats/ #aboutW3C

Bread and Circuses: "Strange, isn't it, that the va…" - Climate Justice Social

Strange, isn't it, that the values of real people — the things most of us truly care about — are not reflected at ALL in the values of our hegemonic capitalist consumerist culture...

The real luxuries:

  • a good night's sleep
  • slow mornings
  • freedom to choose
  • time for fun and play
  • listening to birds singing
  • long walks
  • a good book
  • favorite home-cooked meal
  • colorful sunsets
  • ability to freely express yourself
  • day naps
  • a good conversation
The rise and fall of the standard user interface • The Register
The ever-growing problem of ever-growing codebases • The Register

The article is well written and connects multiple topics: line of code and care work to the software, computer architecture and speed, its industry and more.

Debian 12, for comparison, is 1,341,564,204 lines of code. For comparison, Google Chrome is about 40 million lines, which is in the same ballpark as the Linux kernel these days. No one, even a team, can read these entirely.

Computers aren't much faster now than they were a decade ago, and they will probably never again return to the rate of performance improvement they had for 60 years up to the mid-noughties.

The thing is, that doesn't scale very well. On the desktop we have four-core machines and now we're moving to eight-plus cores, but a single person can't use that very helpfully, so instead, we're getting computers with a mixture of high-performance but hot, power-hungry cores, and lower-performance, cooler, but more electrically-efficient cores.

A limit to multiple cores is the Amdahl's law: even if a program can be made 95 per cent parallel, the maximum speedup you can get is about 20 times, no matter how many processor cores you throw at it.

Varied Writing Needed

There are no real guidelines on how to create posts. There are no expectations you need to fulfill, no boxes you need to check. There's nothing you have to do besides doing whatever you want.

La neige fond, les prix flambent : le ski, un sport de riches

Pourquoi est-ce qu'il y a du financement public là-dedans? Cela n'est pas durable, pour peu d'avantages pour la population (mon avis) et est donc à perte. L'argent pourrait être mieux employé.

Deutschland: Fläche, Postleitzahlen, Einwohner, Bundesländer - Statistisches Bundesamt

Eine Reihe an Daten aus der deutschen Adressen

Death, Lonely Death — Crooked Timber

Voyager 1 was launched in early September 1977.

Voyager was the second spacecraft to fly past Jupiter, and the first to take close-up photos of Jupiter’s moons. It flew on past Saturn, and examined Saturn’s moon Titan, the only moon with an atmosphere. And then it flew onwards, on and on, for another forty years. It officially left the Solar System and entered interstellar space in 2012. It just kept going, further and further into the infinite emptiness

Voyager kept going, and kept going, until it was over 15 billion kilometers away. At the speed of light, the Moon is one and a half seconds away. The Sun is about 8 minutes away. Voyager is twenty-two hours away. Send a radio signal to it at lunch on Monday, and you’ll get a response back Wednesday morning.

Crazy

phoenix🐧🏕🏞🚀🍝: "This. Sign saying: "If you wa…" - chaos.social

"If you want to impress me with your car, it better be a food truck."

Akkoma

Every new user being shocked that DMs aren’t actually private is kinda scary because it means that everybody just assumes DMs on other platforms are private

because they aren’t. The only difference between fedi and other social media is that fedi admins don’t have a vested interest in making you think DMs are private

💯

Our Company Is Doing So Well That You’re All Fired - McSweeney’s Internet Tendency

A move of Paramount Global.

LordPhoenix : « @Deuchnord@mamot.fr @sebsauvage@framapiaf.org Je … » - House Targaryen

Je ne sais plus qui disait : "une interface c'est comme une blague, si tu as besoin de l'expliquer c'est qu'elle est mauvaise"

Lectures : utopies, écologie, pirates et meta-bullshit
Lessons learnt from building a distributed system in Rust
JavaScript Bloat in 2024 @ tonsky.me

Crazy how much MB of JS are needed

2023 Annual Rust Survey Results | Rust Blog
GitHub - astral-sh/uv: An extremely fast Python package installer and resolver, written in Rust.

A future cargo for python?

A blog post on it: https://astral.sh/blog/uv

Notes on Buying a House • Robb Knight

Feedback on it

The background values no one knows about

background-repeat: space makes the background kind of responsive.

Belore Stergann: "Aujourd'hui j'ai appris comment Wikipédia fonctio…" - Eldritch Café

À propos du sondage sur le deadnaming des personnes trans sur Wikipédia

HTML Tidy

It corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards.

ajeetdsouza/zoxide: A smarter cd command. Supports all major shells.
DRMacIver's Notebook: Writing good programming abstractions

If you implemented this, and then you deleted all but one of the call sites, would you be tempted to inline the abstraction? If yes, you shouldn’t do it.

Specificity battle!
The Bullshit Web – Pixel Envy
  1. It's bloated with useless stuff for the users

AMP’s biggest advantage is the restrictions it draws on how much stuff you can cram into a single page.

As bullshit jobs exist, so do bullshit webpages

Gabriele Svelto: "I'm very angry today. We got some really bad news…" - Fosstodon

So it seems that the word's out, there will be layoffs at Mozilla. What is maddening about this is that the company is in a very good spot financially speaking. Just check the last public audited financial statement: assets.mozilla.net/annualrepor

Expenses have been significantly lower than income and the company has significant assets that could cover Firefox development expenses for years.

Also Mozilla Corporation has no investors to cater to, it doesn't pay dividends to anybody, nobody gets a bonus for this. It makes absolutely no sense.

Thoughts on a Global Design System – Chris Coyier

Maybe because the design system should be built into HTML?

More HTML elements that matches the need. Every styles or brand-guides can then be applied to it.

Ian Douglas Scott: "All engineering is reverse eng…" - Fosstodon

All engineering is reverse engineering if you document things poorly enough.

More people should write « the jsomers.net blog
A decade of working remotely | Lynn Fisher
My Blog Webmention Counts

How to link webmentions.io messages, likeCount, replyCount and reportCount to a personal blog with a few JS lines.

Why the end of Optane is bad news for the entire IT world • The Register
In·directions — David Larlet

What is the maintainable way to build things?

For CSS, how do you structure tokens?

  1. Naming things: --umap-color-darkBlue?
  2. Give a meaning to names: --color-primary: var(--umap-color-darkBlue);

Lorsqu’on envisage un commun sur ces 10 prochaines années, comment trouver une stratégie maintenable qui s’inscrira dans la durée avec enthousiasme ?

Le contraire de Tailwind :/

There Is No Hack

However, most of the content being produced is not to make you better, it is solely to convince you there is a hack to ‘success’ and to attain it you just need to do this one thing. [...]

The fact that people believe there is a hack to everything is really the issue. Everyone wants a quick, easy fix. [...]

There might be ways that appear shorter, or might shave some time off sometimes in very specific circumstances, but they simply don’t exist. They can’t exist. Otherwise, they would just be ‘the way’.

prefers-reduced-data - CSS: Cascading Style Sheets | MDN

A great media query for example disabling custom fonts!

Follow widely to write widely | Meadow

Meadow realized:

  • the writings are influenced by the reading and their style
  • there are no real guideline in how to create posts and what is needed to fulfill.
  • the way Meadow write solidifies over time and contradict with the two upper points.
CSS Analytics - Project Wallace

Project Wallace is a set of CSS analyzers that check your complexity, specificity, performance, Design Tokens and much more. And all of that in a single web app.

GitHub - openpotato/openplzapi.data: German raw data for the OpenPLZ API project

Adress API for germany. The data need to be gathered first.

CSS Generators: Triangle Shapes

A list of triangle shapes that can be reused

FediFollows : « The government of #France 🇫🇷 now has an official … » - social.growyourown.services

Official french institutions that have an account on Mastodon with the instance https://social.numerique.gouv.fr

➡️ @cnes - France's space agency
➡️ @ambnum - French ambassador for digital affairs (in English)
➡️ @sup_recherche - Ministry of Higher Education & Research
➡️ @astroIAP - Astrophysics Institute of Paris
➡️ @cnrs - CNRS, the French National Centre for Scientific Research
➡️ @umrGeoazur - Geology/geophysics research unit for Côte d'Azur Univ, CNRS, Côte d'Azur Observatory
➡️ @CNRS_INSU - CNRS (space, geology, environment department)
➡️ @CNRSingenierie - CNRS (engineering department)
➡️ @InistCNRS - CNRS department dealing with science publication & methods
➡️ @CNRS_SciOuverte - Open science at CNRS
➡️ @ignfrance - National Institute for Geography & Forestry Data
➡️ @datagouvfr - Open platform for French public data
➡️ @ouvrirlascience - Committee for Open Science
➡️ @hal_fr - HAL Multidisciplinary Archive, open access to science publications
➡️ @dinum - Digital innovation initiative in French government
➡️ @design_gouv - Developing digital public services
➡️ @arcep - Regulatory authority for electronic communications
➡️ @adressedatagouv - National & local databases of geographical addresses
➡️ @programme__tnt - Digital public services at national & local level
➡️ @etalab - Promoting open public data
➡️ @demarches_simpl - Helping gov officials offer online services to the public
➡️ @apigouv - Catalogue of French government APIs
➡️ @bdnb - Open database of French buildings

Ellie Huxtable: "I’m definitely not the nerdiest in my family 🤣J…" - Hachyderm.io

This awesome millenium falcon is great to see.

Niches fiscales et sociales : plus de 200 milliards d'exonérations très opaques

Des mesures sont prises et ne sont pas évaluées. Des mesures afin de réduire les dépenses sont prises, mais aucune prise en compte des niches fiscales est réalisé. Voilà.

uMap 2 — David Larlet

But it’s deeper that that. Open source is good for humanity. It’s only slightly hyperbolic to say that open source is one of the most notable collective successes of humankind as a species! It’s one of the few places where essentially all of humanity works together on something that benefits everyone. A world without open source would be substantially worse than the world we live in.

Alors comment livre-t-on un produit OSS? Voici l'exemple de uMap et OSM fr.

About us | Igalia - Open Source Consultancy and Development
Box Internet pas cher - Offre sociale Coup de Pouce Internet - Orange

Une offre pour un abonnement à 16€ par mois

Scientists found a black hole so large it eats the equivalent of one sun per day : NPR
Home | bitmagnet
Nucléaire : la Chine prête à accélérer la cadence | Les Echos - Le Hollandais Volant

Ça fait longtemps que j'en suis convaincu : la Chine sera le premier grand pays zero-carbone du monde.

L'argument "oué-mé-la-chine" ne tiendra pas bien longtemps. Et ça sera encore plus drôle quand les pays occidentaux vont lui acheter des crédits carbone.

Et encore plus drôle quand la Chine aura sécurisé le stock mondial d'uranium et vendront à prix d'or des éoliennes et panneaux solaires ou leur recyclage.

Par contre, autant j'ai confiance sur le recyclage des déchets nucléaires pour l'Europe ou les USA, autant en Chine, si ça termine en missiles nucléaires, ça sera bien car au moins ça ne sera pas jeté dans la nature. L'opacité de ce pays n'est pas en phase avec ce qu'il faut pour l'énergie nucléaire.

Pour le reste, l'Europe et le France est en train de laisser la Chine les battre alors qu'elle pourrait être leader dans le domaine. Tant pis.

Article original: https://www.lesechos.fr/industrie-services/energie-environnement/nucleaire-la-chine-prete-a-accelerer-la-cadence-1786002