Monthly Shaarli

All links of one month in a single page.

April, 2024

GitHub - hgrsd/drivel: Infer a JSON schema from example data, produce nonsense synthetic data (drivel) according to the schema

Describe a JSON structure

GitHub - oriontvv/convfmt: cli tool which can convert different formats

Convert from a file format to another

gu://au.me :verified:: "Savoir être violent, comment l'être et quand l'êt…" - La Quadrature du Net - Mastodon - Media Fédéré

Savoir être violent, comment l'être et quand l'être. Pas du tout la même chose que d'aimer la violence, la normaliser et la valoriser.

200 milliards : le coût exorbitant des aides publiques aux entreprises - L'insoumission

Problème majeur : ces milliards d’aides aux entreprises se font sans contrepartie aucune.

Louis Derrac - Ecosia Browser, ou quand le greenwashing numérique fume la moquette tout en plantant des arbres

À propos du Greenwashing d'Ecosia

Porting a cross-platform GUI application to Rust - Mozilla Hacks - the Web developer blog

The UI is not directly tested but each element has a unique ID.
We can then check the state of each element to ensure they are correct.

Design | Introduction to Accessibility

Nice resources about accessibility on the web

Anna E. Cook: "I find it difficult to answer the question “is [b…" - Mastodon 🐘

I find it difficult to answer the question “is [blank] accessible?” Because usually there’s like 10 levels of explanation required to actually answer the question.

Things like accessibility compliance, inclusive usability, accessibility for different people and needs, all affect the answer.

Monitor web for changes and get instant alerts

I am not sure how private it is

Elian Codes | Elians Astro Startkit

An astro setup for new projects.

Le Congrès américain renouvelle le programme d'espionnage FISA, autorisant l'interception de centaines de millions d'appels, de messages texte et de courriels par les espions du gouvernement
my deployment platform is a shell script - j3s.sh

That's great to have such simple deployment. Maybe one for rust with such a script or command could be great too.

Or a bash script :)

Why is Rust used as an embedded system programming language?

In favor of Rust in embedded systems. We find the classic arguments 😃

https://www.stylemanual.gov.au/

The writing and designing guidelines for the Australian Government.

Lectures : de la distraction à la destruction (de la planète)
Hashtags accessibles – Réseaux sociaux et accessibilité
  1. Utiliser le camelcase
  2. Positionner ces hashtags à la fin de la publication pour éviter d’alourdir leur restitution par les lecteurs d’écran.
  3. Utiliser les accents afin que ces mots soient correctement lues

Les exemples données sont aussi en fichiers audio.

cohost! - "Paper: You Want My Password or a Dead Patient?"

"workarounds to cyber security are the norm, rather than the exception. They not only go unpunished, they go unnoticed in most settings—and often are taught as correct practice."

About IT in healthcare systems. The article provide many examples.

mxmlnkn/ratarmount: Access large archives as a filesystem efficiently, e.g., TAR, RAR, ZIP, GZ, BZ2, XZ, ZSTD archives
You Can't Control Your Data in the Cloud

Why big cloud providers are not so safe. A list of data leakage.

The records show that nothing is safe.

github.com/vxunderground/MalwareSourceCode

A collection of malware

The project also has a website https://vx-underground.org/

s l o w  r o a d s

A simple procedural game about driving a car, bus or bike on a road :)

It has many options though. All in the browser.

Décision — David Larlet

La prise de décision par consentement se différencie de la prise de décision par consensus : en consensus tout le monde dit « oui », en consentement, personne ne dit « non ».

Le consentement implique qu’une décision ne peut être prise que lorsqu’il n’y a plus d’objection raisonnable à celle-ci. Tant qu’il y a des objections, l’ensemble du groupe est mobilisé pour bonifier la proposition.

A CSS project boilerplate - Piccalilli

It generates tokens for the css boilerplate, then it uses tailwind to generate utility classes.

Smartly Managing Different Git Profiles - Alexandre Touret's Blog
Contenus d'une chaîne de vidéos - Dinum

La dinum à un compte sur peertube

Expose Platform APIs Over Wrapping Them - Jim Nielsen’s Blog

Stay close to the standard. Expose APIs instead of wrapping them.

The author asks for less HTML-in-JS and demonstrates it with the Next meta tags example.

Whenever a problem can be solved by native HTML elements, the longevity of the code improves tremendously as a result. This is a much less alienating way to learn web development, because the bulk of your knowledge will remain relevant as long as HTML does.

Adobe Developers Use WebAssembly to Improve Users’ Lives - The New Stack
"Planète voyages" : pour une mobilité plus écologique | SNCF Voyageurs

Les engagements de la SNCF au sujet de l'écologie (dans la portée des TGV)

GitHub - heaths/gh-cargo-gist: GitHub CLI extension to clone a gist into a Rust crate project.

Idea : rewrite it as a rust command :)

Fuiz

An alternative to Kahoot

dcz: "A part of #Rustlang that doesn't get mentioned bu…" - Fosstodon

dbg! is a macro dedicated to display value at runtime execution.
It is the console.log of Rust in some ways.

Principles of Permacomputing
Lectures : Soyez un héros, passez en manuel !
tigerbeetle/docs/TIGER_STYLE.md at main · tigerbeetle/tigerbeetle

These are great programming and code patterns

ULIDs and Primary Keys | Dave Allie

About ULIDs, UUIDv4 & UUIDv7. The dynamic examples are great!

Greg Morris - The Never-Ending Task List

Most of the books on productivity come from places of privilege.

The biggest motivation killer remains a constant growing list of things.

datagubbe.se/humans.txt

A funny humans.txt

Matérialités du numérique - Centre Internet et Société
jeremychone-channel/rust-base: Rust minimalistic base starter template.

A great starter for new rust projects.

From the video https://www.youtube.com/watch?v=oxx7MmN4Ib0

Adventures In Rust: Bringing Exchange Support To Thunderbird

Some insights on the rewrite

xpcom, xml crates, protocols and more.

LibSQL: SQLite for Modern Applications

A SQLite fork that should run everywhere (in the browser and locally)

Cha-cu.it

Cha-cuit! est un petit site de partage de recettes en tout genre. Les recettes sont en grande partie réalisées avec l'aide de Kælinn.

Made with love

GitHub - usagi/rust-memory-container-cs: Rust Memory Container Cheat-sheet

All memory structs are grouped into one image.

Mathieu Baiget : « Je ne suis plus archéologue de métier. Je le rest… » - Piaille

Pourquoi les fouilles préventives sont-elles pertinentes ?

nalgeon/redka: Redis re-implemented with SQLite

A basic reimplementation of Redis. I like to use SQLite for it.

Tips on Adding JSON Output to Your CLI App - Brazil's Blog

DO's:
Do Make a Schema
Do Flatten the Structure
Do Output JSON Lines for Streaming Output
Do Use Predictable Key Names
Do Pretty Print with Two Spaces or Don’t Format at All

Avoid special characters in key names
Avoid duplicate keys
Avoid very large numbers

React, Solid, htmx | bobae kang

About the 3 frameworks in 2023. Their paradigms shift and try different approaches to build UI.

Rust for Lunch

Cool 😃

Raven Design System (RDS) | Raven Design System | RDS
We've stopped making things anyone wants

Bring value to the users

GitHub - mandymichael/htmlresources: Helpful HTML Resources
RFC 9110 - HTTP Semantics

A request method is considered idempotent if the intended effect on the server of multiple identical requests with that method is the same as the effect for a single such request

3 disquettes font tourner le métro de cette ville depuis 26 ans, l'inquiétude monte

Plus le temps passe, plus elles risquent d'être dégradé, et donc qu'une panne arrive.

Ce sont ici des disquettes de 5,25 pouces qui sont employées pour faire tourner le système de contrôle automatique des rames.

Done is better than Perfection - by Hemant Pandey
Millennials and Gen Z Like to Splurge on Groceries Over Anything Else
La Nasa va devoir créer un « fuseau horaire » pour la Lune pour aider les astronautes

« une horloge atomique sur la Lune aura un tic-tac différent de celui d’une horloge sur Terre. Il est logique que lorsque vous vous rendez sur un autre corps, comme la Lune ou Mars, chacun ait son propre rythme cardiaque »

RSS is dead

An example of a minimalistic RSS feed reader: Headline.

Six reasons Mastodon won't survive | Mashable

Why these predictions are false, as Mastodon is still up and running.
Or will they apply in some years?

Inventing the Service trait | Tokio - An asynchronous Rust runtime
nkanaev/yarr: yet another rss reader

It uses Go and sqlite under the hood.

The author stated that it is feature complete, so yup :)
They published a rationale for the project, that is interesting https://github.com/nkanaev/yarr/blob/master/doc/rationale.txt

Rénovation énergétique -Ventes immobilières : les nouvelles règles de l’audit énergétique | Service-Public.fr
ray-lothian/UserAgent-Switcher: A User-Agent spoofer browser extension that is highly configurable
How we’re approaching theming with modern CSS - Piccalilli

Great step by step explanations to theming

Prise de notes efficace : 12 méthodes (+ apps) - Kevin Detem
  1. La méthode Cornell
  2. Mind Mapping
  3. Les Grandes Lignes
  4. Les bulles
  5. Tableaux
  6. Sketchnote
  7. Cases
  8. Symboles
  9. Phrases
  10. Zettelkasten et les étiquettes
  11. Le Labyrinthe inversé
  12. Kwik Notes
April Cools' Club

The idea is pretty simple: on April Fools' Day (also known as “April 1st”), a participant produces genuine content that's very different from their normal produced content. It could be a different format, a different topic, a different style, anything. The constraints are:

  1. It is something they normally wouldn't do.
  2. It is totally genuine: no irony to it.
  3. It is up to their usual standards of quality.
Cat Hicks: Contest cultures (constantly prove you belong! P…" - Mastodon
DerDieDas: Learn German Genders, Like a true boss!
Jessica: "I think programming is like running a dishwasher.…" - Chaosfem

I think programming is like running a dishwasher. It always takes longer than you think and some stuff is never as clean as you expected it to be.

List of the things I wanted to be when I was 10 years old | 🐈‍dostoynikov🐈‍
Gaia BH3, the black hole that shouldn't exist | CNRS News
Écologie - Découvrez pourquoi nous polluons | Infomaniak

Une communication directe, où la société avoue polluer et essaie de limiter l'impact de sa pollution.

Toutes blessent, la dernière tue - Le blog de ZythomLe blog de Zythom

Comment retrouver des informations, un exemple bien expliqué.

End-to-End Encryption in the Browser | Excalidraw Blog

The key is transmitted via the hash of the URL. Smart ! The rest is encrypted on the client side.

An example is provided with the crypto API, especially subtle.

Local-First Web Development

A collection of resources such as guides, blog posts, advocacy, how to's

Made With Freedom From Porn
The Ultimate CSS Shapes Collection

A collection of CSS shapes

GitHub - wfxr/rlt: A universal load testing framework for Rust, with real-time tui support.
TypeScript import path aliases

While using Vite, the vite paths configuration can support the typescript aliases with the plugin vite-tsconfig-paths

Changedetection.io

Check what changed on a web content or API

Greg Morris - Snacking On The Internet

The constant scroll is associated with a worry state.

Social network site can be at the end only a distraction.

Y2Z/monolith: ⬛️ CLI tool for saving complete web pages as a single HTML file
Verified curl | daniel.haxx.se

How the curl project prevents flaws such as the one of xz recently?

Introduction - CASL

Rights management in JS

Curl: Hyper, is it worth it?

Is it relevant to maintain a part nobody seems to use?

« Nous n'avons jamais conclu un accord contractuel qui nous engage à n'acheter que de l'encre de la marque HP », affirment les propriétaires d'imprimantes dans une plainte contre l'entreprise
Write Cleaner, More Maintainable Rust Code with PhantomData
FIGHT COVID, ACT UP – Association A.R.R.A.
annso : « @yaf Le framework Inclusive Design de Microsoft e… » - Framapiaf

Accessibility issues is not only permanent but also temporary and situational.

Comment le plus haut gratte-ciel de Taïwan est protégé des séismes par une énorme boule d'acier | korii.

Entre le 87e et le 91e étage, les concepteurs du gratte-ciel taïwanais ont donc disposé une boule d'acier de 5,5 mètres de diamètre et 660 tonnes, appelée dans le jargon un «amortisseur harmonique» ou «Tuned Mass Damper» en anglais. Son rôle est d'osciller et de compenser entre 30% et 40% des mouvements de la structure. D'après ses créateurs, cette grosse boule peut protéger le bâtiment des séismes au cours des 2.500 prochaines années. Carrément.

Une bulle d’intelligence artificielle et de stupidité naturelle
File over app — Steph Ango

The content is more important them the tool. As such, the content should be usable in different tools.

Introducing UnJS Relations · Blog · UnJS

The UnJS project is getting bigger and has now multiple .

The major advantage of UnJS is they are independent of a platform such as NodeJS, Deno, Bun, etc...
They simply rely on ECMAScript.

mgramin/awesome-db-tools: Everything that makes working with databases easier
Zoomer Tries RSS: In Praise of Yarr - tudor’s website

A choice between Miniglux and Yarr to consume informations.

Regexide

How to remove XML comments in Javascript?

How regex can solve the issue but why they can be slow. There is a category for this weakness: CWE-1333 "Inefficient Regular Expression Complexity".

Other workarounds are also proposed, such as using efficient engines with backtracking.

Pack

A new alternative to tar.

German state switches to LibreOffice, promises Windows move • The Register
Not A Knowledge Problem

About working: 30% of the UK population is inactive, and 63.8% of the population are either overweight or clinically obese.

Another fact are people suffering from procrastination. They have enough knowledge but they have an action problem.

Faut-il s'intéresser à Rust ? - Laurent COCAULT
10 > 64, in QR codes | Huon on the internet
Reply Cards
We are under DDoS attack and we do nothing | TablePlus

It simply handles it. The service is a simple binary in Rust 😃

proposal-signals/proposal-signals: A proposal to add signals to JavaScript.
Rust chez Google – Une productivité doublée et du code plus fiable

At the recent Rust Nation UK conference, Lars Bergstrom, Director of Engineering at Google, dropped a bombshell: dev teams that have switched to Rust have seen their productivity double compared to those still using C++!

It takes developers 2 months to become comfortable with the language and 4 months to reach the productivity levels of C++.