Monthly Shaarli
April, 2024
Describe a JSON structure
Convert from a file format to another
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.
Problème majeur : ces milliards d’aides aux entreprises se font sans contrepartie aucune.
À propos du Greenwashing d'Ecosia
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.
Nice resources about accessibility on the web
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.
I am not sure how private it is
An astro setup for new projects.
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 :)
In favor of Rust in embedded systems. We find the classic arguments 😃
The writing and designing guidelines for the Australian Government.
- Utiliser le camelcase
- Positionner ces hashtags à la fin de la publication pour éviter d’alourdir leur restitution par les lecteurs d’écran.
- Utiliser les accents afin que ces mots soient correctement lues
Les exemples données sont aussi en fichiers audio.
"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.
Why big cloud providers are not so safe. A list of data leakage.
The records show that nothing is safe.
A collection of malware
The project also has a website https://vx-underground.org/
A simple procedural game about driving a car, bus or bike on a road :)
It has many options though. All in the browser.
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.
It generates tokens for the css boilerplate, then it uses tailwind to generate utility classes.
La dinum à un compte sur peertube
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.
Les engagements de la SNCF au sujet de l'écologie (dans la portée des TGV)
Idea : rewrite it as a rust command :)
An alternative to Kahoot
dbg!
is a macro dedicated to display value at runtime execution.
It is the console.log of Rust in some ways.
These are great programming and code patterns
About ULIDs, UUIDv4 & UUIDv7. The dynamic examples are great!
Most of the books on productivity come from places of privilege.
The biggest motivation killer remains a constant growing list of things.
A funny humans.txt
A great starter for new rust projects.
From the video https://www.youtube.com/watch?v=oxx7MmN4Ib0
Some insights on the rewrite
xpcom, xml crates, protocols and more.
A SQLite fork that should run everywhere (in the browser and locally)
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
All memory structs are grouped into one image.
Pourquoi les fouilles préventives sont-elles pertinentes ?
A basic reimplementation of Redis. I like to use SQLite for it.
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
About the 3 frameworks in 2023. Their paradigms shift and try different approaches to build UI.
Cool 😃
Bring value to the users
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
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.
« 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 »
An example of a minimalistic RSS feed reader: Headline.
Why these predictions are false, as Mastodon is still up and running.
Or will they apply in some years?
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
Great step by step explanations to theming
- La méthode Cornell
- Mind Mapping
- Les Grandes Lignes
- Les bulles
- Tableaux
- Sketchnote
- Cases
- Symboles
- Phrases
- Zettelkasten et les étiquettes
- Le Labyrinthe inversé
- Kwik Notes
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:
- It is something they normally wouldn't do.
- It is totally genuine: no irony to it.
- It is up to their usual standards of quality.
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.
Une communication directe, où la société avoue polluer et essaie de limiter l'impact de sa pollution.
Comment retrouver des informations, un exemple bien expliqué.
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.
A collection of resources such as guides, blog posts, advocacy, how to's
A collection of CSS shapes
While using Vite, the vite paths configuration can support the typescript aliases with the plugin vite-tsconfig-paths
Check what changed on a web content or API
The constant scroll is associated with a worry state.
Social network site can be at the end only a distraction.
How the curl project prevents flaws such as the one of xz recently?
Rights management in JS
Is it relevant to maintain a part nobody seems to use?
Accessibility issues is not only permanent but also temporary and situational.
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.
The content is more important them the tool. As such, the content should be usable in different tools.
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.
A choice between Miniglux and Yarr to consume informations.
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.
A new alternative to tar.
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.
It simply handles it. The service is a simple binary in Rust 😃
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++.