Monthly Shaarli
May, 2024
OTP fields (one character per field) from a single input? Yes it seems great because it has all features builtin: copy/paste, typing in the previous or next fields...
A good showcase :)
L'Unédic prévoit 20.6 milliards d'excédents pour 2024-2027, en dépis des 10 milliards d'euros qui ne seront pas versés par l'État.
Nordicons are used to provide additional meaning or in places where text label doesn’t fit. They communicate messages at a glance and draw attention to important information.
An exemple of emojis with few bits
[Following https://shaarli.lyokolux.space/shaare/pkpvPQ]
Ok ok another use case for container queries:
Notice that the horizontal style became too condensed, this is because we used a media query. When using a media query, the browser doesn’t care about what will happen to the components if the available space isn’t enough. [...] As you’ve seen using a media query to change the card style isn’t logical in this case. The number of cards can increase or decrease and that will affect the card’s content.
Render an RSS feed as a blog
Shirts that have logos on them should be much cheaper normal shirts. Because by wearing the shirt, you ware advertising the brand for free.
Quelques commandes devraient pouvoir être plus accessible. Alsace Réseau Neutre en a réalisé une liste
In his 1960 book The Waste Makers, cultural theorist Vance Packard spoke of "the widespread faith of Americans that their technology can solve all their problems."
Kagi has issues
A collection of /pages used by indie web makers.
Shellsharks@shellsharks.social added
- /architecture (matklad.github.io/2021/02/06/A)
- /carry (forget where I saw this, but it's basically an EDC listing)
- /defaults (might be encompassed by /uses?)
- /favorites (maybe similar to interests?)
- /til (mharty3.github.io/blog/til/)
I add /humans.txt :)
A great serie of post! Short, simple and clear.
Well I use lot of them. A great post for people who wants to know more.
Alors what could go wrong?
Sometimes in life, when you’re faced with a task you don’t know to solve, the best way to make forward progress is to close your eyes and just start with something, anything, even if it’s not the best or even a good idea.
About OOP.
Notice a faisable comparison with the current AI
Une liste de sites de téléchargement "bloqués en France".
How to finish the last 10% of a project?
- Set aside a block of time.
- Decide upfront what you're going to work on.
- Fight with everything to focus on that one thing.
"Just work."
Avoid the feat of finishing. It's useless. Release it.
I way to style external links in comparison to internal ones.
I would go for the simple css selector a[href^=<domain>]
The mansory layouts is broken for tabbing and keyboard accessibility
It generates an image gallery from a local folder
Hurl is a command line tool that runs HTTP requests defined in a simple plain text format.
It can asserts results too.
The project is used by the Orange ISP at https://github.com/Orange-OpenSource/hurl
Insert a code snippet in one line as a bookmark:
javascript: (() => {
// Code here
})();
For example:
- Find a "Jobs", "Careers" or "Hiring" link in the page, and click it.
- Find all email addresses on the current page, and display them in an alert.
These are not limited with permissions, so we should only execute code we checked.
Images, videos and icons are great. Signal comes with stickers with its proper format.
A great tool could convert such images into stickers, and bundle it into sticker packs.
A greater tool could export these stickers.
Oh wait there is already a website referencing them: https://signalstickers.org/.
A quick documentation about them is available on the dedicated signal webpage
A list of the best crates for each subject. A sort of extended std lib.
A grateful post.
Buy coffee through SSH. The checkout is definitely too soon though.
- IdType trait: a trait that marks a type used for database identifiers
- the read-only/read-write transaction pattern (and create two SQLite connections: a read-only and a write-only)
yes, the web as it is today is bad, but it can also be a beautiful and useful tool if used properly.
The website is great too!
Pleins de bons conseils
Ils disent aussi leur exaspération et leur peur face à l’incapacité des gouvernements à agir malgré les preuves scientifiques évidentes fournies.
« Nous pourrions encore financer une entrée dans la transition. 1 000 milliards de dollars par an sont nécessaires. Cela représente les économies des 56 millions de millionnaires dans le monde. Ou bien la moitié des dépenses militaires. Ce n’est pas inaccessible, juge-t-il. Mais ça le deviendra dès lors que les catastrophes vont se succéder. Les États n’auront plus de capital, il faudra parer à toutes les crises. C’est vraiment absurde de ne pas agir maintenant. Ou de ne pas l’avoir fait dès le début des années 2000 où ça aurait été beaucoup plus facile. »
There are simply too much information and the day is too short.
Send greeting cards to people contributing to the OSS.
It is rebooted thanks to https://lynnandtonic.com/thoughts/entries/when-your-work-disappears/
Les personnes qui prennent le temps pour être interviewé peuvent être rémunéré. Ce n'est pas déconnant.
Juste, éviter de vous offusquer qu’un professionnel demande à être rémunéré quand on sollicite deux heures de son temps pour restituer son expertise.
I understand this feeling. I get it sometimes.
La majorité des salariés passent par le chômage indemnisé au cours de leur carrière.
Dans un article récent, le sociologue Mathieu Grégoire soulignait que la "fuite" des données de France travail concernait 48 millions de personnes passées par l'institution au cours des dernières décennies.
Il en conclut donc que la plupart des personnes passent par le chômage durant leur carrière.
Excellent 😃
From a mediocre point of view, how can you get better and improve the rust code.
Even if you are mediocre and not lazy, then Rust shines by this example
"Enshitification" and examples of deteriorating services
I’ve recently decided to stop reading The Conversation, after two consecutive posts were openly accusing Europe’s investors of not doing enough to be more like Silicon Valley. I’m seriously confused: how can anyone really believe, in 2024, that their business model is anything close to being sustainable? The mental slavery that parts of Europe still seems to be having towards the rot economy fuelled by a type of capitalism not integral to the continent is truly bewildering.
Autonomiser tous les monde, que les avantages soient pour tous le monde
All latest major changes since 5.4
the games can be programmed with a rust project:
https://github.com/boozook/playdate/releases/tag/2024.05.04
It is easy to share content online, but harder to create valuable content. It is easy to curate information instead of creating it. (That's what I'm doing by the way)
Remember: the world doesn't need more “content.” It needs more creativity.
A website builder under linktopus.co/<name>
Our goal was to confuse EDR by implanting malware signatures into legit files and make them think its malicious
Selon une étude de Statista, la France est le 7ème pays au monde avec le plus de milliardaire, en valeur absolue!
C'est le 3è pays au monde avec le plus de millionnaires (2.8 millions de millionaires).
Or le patrimoine net median en France c'est moins de 125 000 euros. Être millionnaire c’est avoir 8 fois le patrimoine net médian.
Pour être milliardaire par son travail, il faut gagner 3.5 millions d'euros net par mois, soit 1750 fois le revenu médian.
import a json file that can be manipulated with the unix filesystem tools and rexport it to json.
C'étaient l'IA avec 30% de taux d'erreur
I’m designing for the web. The infinitely flexible web. The web that doesn’t have one screen size, one browser, one operating system, or one device. The web that can be used by anyone, anywhere, on any internet connection, on any device, on any operating system, on any browser, with any screen size. I’m designing with the web. Using the web platform. I have a deep understanding of HTML and its semantics. I love CSS, I know how and when to utilise its many features, and I keep up-to-date as more are added. I have a strong understanding of modern JavaScript and most importantly I know when not to use it.
Also an accessibility specialist. My expertise goes beyond what web designers need to know. I’m also a design system specialist. I’m a systems thinker. I love standardizing things to simplify the web development process. [...] I love human-centred design and co-design—nothing about us without us.
There is a Postgres compatibility plugin under development.
Today, at Postgres Conference 2024, we introduced a PostgreSQL extension we are developing, which enables MySQL applications to run on PostgreSQL without any code changes by supporting the MySQL wire protocol, SQL syntax, and procedural language.
Babord = Gauche
Tribord = Droite
Rabord = Apéro
Débord = Après l'apéro
Comme d'autres, la FDN a décidé de ne plus utiliser twitter.
in profit of AI. So will be Tesla rebranded.
Il semblerait qu'il n'y ai pas assez de concurrence chez les GAFAMs d'après un directeur de la cybersécurité de la maison blanche.
Il indique que Microsoft n'a pas plus d'incentives à améliorer la sécurité de ses produits, puisqu'il n'y a aucun concurrent direct.
Un service soutenu par Ameli.fr pour trouver des professionnels de santé
A language that compiles to bash
The most valuable asset of companies is trust
If you die, Steam won't let you leave your account to your loved ones (officially, of course).
Do you own it then?
ISO 7010 is an International Organization for Standardization technical standard for graphical hazard symbols on hazard and safety signs, including those indicating emergency exits.
Expectations should be clear. This blog post clarify them: about communication, business websites, digital or electronic products, Clothing/Furniture/Hardware, Digital Producte.
Start a process and populate it with a .env file
Devs are expected to do everything.
À propos des conditions de France Travail et des personnes
Selon Bertrand Martinot, économiste à l’Institut Montaigne et ancien conseiller social de Nicolas Sarkozy (pas vraiment un crypto marxiste, donc), en cumulant toutes ces catégories, « on arriverait à sept, huit millions de personnes qui sont en souffrance » par rapport à l’emploi – ou au manque d’emploi, plutôt.
De 6,2 à 8 millions : soit entre 20 et 25 % de la population active (30 millions de personnes environ). On est loin des 7,5 %...
On est plus loin encore du plein emploi vers lequel on s’avance pourtant en chantant, d’après le gouvernement.
La voilà, leur victoire « historique ».
Country flag code to unicode emoji flag
function getFlagEmoji(countryCode) {
const codePoints = countryCode
.toUpperCase()
.split('')
.map(char => 127397 + char.charCodeAt());
return String.fromCodePoint(...codePoints);
}
An RSS feed validator
The tools are more complex and it cycles every 5 years.
HTML and CSS are not enough these days to build websites in companies.
Key takeaways:
- if someone wants high-contrast on some websites, does it mean for every websites?
- go for the accessible version first: high-contrast except for
@media (prefers-contrast: less)
- why not fixing color contrast by default?
Some browsers implements customization such as Arc https://resources.arc.net/hc/en-us/articles/19212718608151-Boosts-Customize-Any-Website
A feedback about a daily journaling since 3 months
- recall in the last 48 hours. Afterwards the memories get lost.
- journaling slowed time down
- experiment is working! Constantly experimenting
But maybe there's a kernel of wisdom in "pay yourself first" that we can apply - not to money, but something far more precious - to our time.
It opens new ways to build one-page website too.
Some commits are misattributed. This is annoying as the proof of work is one of the most important reward in open source.
Maybe 1% are?
We shouldn't celebrate or strive to emulate reality distortion fields, because that's exactly what they do—distort reality.
Progress doesn't come from distorting reality to match your vision. It comes from clearly seeing reality and then working to improve it. You need a bold, ambitious vision.
Great guidelines!
Netizen instead of users: someone actively contributing to the development of the web
Simple projects that are handy to learn HTML, CSS and Javascript
A compliment generator.
The list is hosted as JSON: https://anderegg.ca/compliments/comp.json
but it is still relevant
A cli tool to handle Jira
Qu'est-ce qu'il y a à assumer sans conséquence? Que risquent-t-ils?
Les « responsables » ne sont donc responsables de rien, mais les subordonnés, eux, ne font généralement pas assez d’effort et seront sanctionnés en cas d’échec.
Plain HTML and CSS works well
A good rule of thumb is to begin with the absolute basics - to start only with what you need to be safe and to participate.
[...] most of the time, anyone framing them as a barrier to entry is bullshitting you. Ignore them in everything but matters of safety or common sense (I mean, don’t go running without trainers or rock climbing without a harness).
Seulement afficher le contenu cible via :target
du hash de l'URL. Ce sélecteur peut se révéler utile, notamment pour afficher du contenu et masquer le reste sur la page avec :has
et :not()
.
OU BIEN
afficher la partie sélectionnée sur la page.
As rust will last, an decades long IT-project needs to plan for long-term. This blog post provides an overview.
I'll keep banana republic, pulling punches and the dunning-kruger effect.
Composition let you implement, hand pick and choose what you need when you need it.
It allows to build to thing that fits, in opposition to inheritance. Inheritance forces to predict the future.
- LaTeX papers generally look better
- LaTeX is available for all platforms
- LaTeX offers many packages
- You don’t need to worry about how your document will look like
- LaTeX can generate and update your bibliography automatically
- LaTeX works very well for large documents
Problems: steep learning curve, some errors are hard to debug, overkill for simple documents.
LaTeX is best used for large documents or documents with complex layouts or for special needs such as displaying mathematical equations and algorithms
Independant emails are not delivered to the major mail hosting providers such as gmail...
Right now institutions don't talk about regulating email simply because they take it for granted, but it's not.
It can be useful someday
First, it was for attention, a desire for something big and a fear of missing out. Now it's the cleansing effect, uncover the covered, gain insight.
The hourly compensation graphic shows that: the hourly compensation does not go up (9.2%), in contrary to the productivity (74.4%) since 1973.
We need a different approach. We need to hold corporations accountable, fight for fair wages, and advocate for policies that address the root causes of economic inequality.
The path to financial freedom shouldn't be paved with endless side hustles. It should be built on a foundation of fair compensation, work-life balance, and a social safety net that allows everyone to pursue their passions without sacrificing their well-being
- software should comply to needs, not the other way around.
- well designed API are great
- use standards whenever possible
- we have different tastes
- respect the user's home directory.
ProtonMail can share recovery informations and IP address if authorities ask for.
Cool! Le RPI peut servir de desktop, pour peu qu'on puisse s'y connecter.
Reading just feels more personal, internalizable and absorbable.
[...] reading is an active process while watching is a passive process.
Everything should be as simple as it can be, but not simpler
Enforce the type of the column. Well I didn't know it was possible to insert every types into one column :D
Friction is defined as the difference between military theory and reality in the book On War.
There are plenty of such frictions in software development, for example:
- API's that does work quite as you though it did, or it changed
- Bugs. Security alerts. A breaking dependency upgrade.
- Someone gets sick and information is lost.
- Requirements are unclear, or a client changes what they want, during of after development.
- Laptop breaks or gets stolen.
- Tooling breaks.
How to avoid that?
- smaller scopes and shorter iterations
- more autonomy
- redundancy
- better planning
- automation
- experience
- gaming
- checklists and runbooks
those in positions of authority are seen as not practicing what they preach or enjoying benefits and exemptions not available to others.
The certainty and simplicity offered by populist leaders and conspiracy theories are far more appealing than experts' nuanced and tentative conclusions.
there have been far too many instances where experts and authorities have failed or misled the public.
Fix:
Experts and leaders have to shift their values toward transparency, honesty, and humility in their communications and actions, being upfront about the limitations and uncertainties of their knowledge, acknowledging mistakes and failures when they occur, and being open to feedback and critiques. [...] We need dialogue and engagement between experts and the communities they serve.
Instantly Turn Online Markdown Files into Web Pages
It is well included with Github, Codeberg or other platforms to edit the markdown file.
"In the realm of digital education, we can now confidently state and uphold that digital commons are the default horizon for projects supported and operated by the French Ministry of Education.
This means that the codes, data, and content we develop are primarily intended to be free, open, and interoperable.
For reasons of sovereignty, security, transparency, sustainability, cost control, and internalisation of skills."
Audran Le Baron, March 2024
Le podcast qui vous fait découvrir les coulisses de la contribution aux projets Wikimédia, dont l’incontournable Wikipédia !
Mais pas seulement : Wiktionnaire, Wikisource, Wikimedia Commons et bien d’autres… bientôt les projets Wikimedia n’auront plus aucun secret pour vous !
Organisé par Anja et Poslovitch
Le bureau des impôts allemand a refusé de renouveler le statut non lucratif de l'organisation, puisque les dons sur Patreon ne sont pas reconnu comme des dons.
L'organisation américaine a donc été fondé dans ce but, et celle allemande devient lucrative.
Or
L'importance du statut d'organisation à but non lucratif réside dans la communication de notre engagement à créer des médias sociaux qui servent les intérêts de leurs utilisateurs plutôt que ceux de leurs actionnaires
Schedule viewer for conferences and other events
My permanent online identity. It’s a permalink that I’ll never let expire. I will own this thing for the rest of my life. It’s the domain that I’ve written into my will.
Oh surprise! "Mon espace santé" confidentiel va maintenant être utilisé.
Simple icon generator
new CSS features limitations are our brain:
- feature fatigue
- browser support (well is 90% for the container queries enough?)
- invisible improvements: a big chunk of the new features today are “invisible” though - they focus more on code composition and architecture.
- I don't know where I would even use the feature
- break the habit
- keep one step at a time
- find inspiration
The part on re-thinking established patterns is awesome to understand how to use the cascade, @layer and @container ! https://mxb.dev/blog/old-dogs-new-css-tricks/#h-re-thinking-established-patterns
Cool! 😃
Checklist to publish a webpage
Google without AI: this is a wrapper around google. The query contains exactly &udm=14 to avoid AI.
Le concept est intéréssant: de simples alias pour rendre les commandes plus accessibles en échange de petit lots. Je suis curieux de ces alias et les simplifications des sorties de commandes.
Nostr is a protocol to publish content without central server.
Everybody runs a client. It can be a native client, a web client, etc. To publish something, you write a post, sign it with your key and send it to multiple relays
A project to build a onepager blog on Nostr: https://github.com/dtonon/oracolo
Why we should avoid it? Because it can go wrong in so many way. The post describes different cases.
Add the icon valid RSS to the blog
A HTML validator aiming to be better than the current W3C HTML validator.
There is a descriptive page: https://validator.w3.org/nu/about.html
Les challenges du "luxe" :)
C'est néanmoins un superbe exemple d'utilisation des animaux... contre les animaux.
Je suis mitigé et ne sait pas trop quoi en penser.
LaPoste semble utiliser les cookies de manière pernicieuse. Ici même en refusant toutes les options de la bannière de cookie, des cookies de pistage sont installés.
Sous le coude au besoin
A criticism of the current state of Internet and the web, against corporations on the web.
Mais justement, est-ce que ce serait pas mieux qu'actuellement?
A color picker on any image
Simple explanations of this data structure
The key point they make is that anything you do is of no value until it is in the hands of the people it is intended for.
Always ship.
The Discord GDPR/Data Export thing reveals that it's running models to figure out what gender you are.
Yes.
C'est curieux de voir comment l'extrême-droite (et Telegram) tapent sur Signal.
Sachant que :
1) Telegram a fait le choix de ne pas activer le chiffrement par défaut, contrairement à Signal.
2) Conséquence : 99% des échanges sur Telegram sont écoutables.
3) Telegram est d'origine Russe (même si visiblement hostiles au pouvoir en place).
La critique a dit: "leurs messages Signal "privés" avaient été exploités contre eux dans les tribunaux ou les médias américains". On ne sais pas qui, ni quand, ni pourquoi...
Elon Musk répond: « Signal présente des vulnérabilités connues qui ne sont pas corrigées. Cela semble étrange... »
Lesquelles?
La suite des arguments est longue... à propos de Telegram:
vous avez pris la décision délibérée de ne pas ajouter de sécurité pour la plupart des utilisateurs, cela sort du domaine de la concurrence et commence à ressembler à de la malveillance.
“The simplicity of HTML and CSS now feels like a radical act. To build a website with just these tools is a small protest against platform capitalism: a way to assert sustainability, independence, longevity.” — Jarrett Fuller
An open web interface to use LLMs
Ok ok. How? AI can predict the next IP packet, so it's faster than the speed of light.
The recent advances in artificial intelligence (AI) such as large language models enable the design of the Faster than LIght speed Protocol (FLIP) for Internet. FLIP provides a way to avoid congestion, enhance security, and deliver faster packets on the Internet by using AI to predict future packets at the receiving peer before they arrive.
While I do want to give users the reasonable functionality they want, my first priorities are to make the code usable and the platform financially sustainable. If that does not happen, any cool capabilities of the code are irrelevant, as the owners of Voat learned the hard way.
Users on Blue Dwarf become calmer the longer they remain because of the rules of the site.
Blue Dwarf is not valuable enough to be hacked because the attack surface is small and there are no value (i.e. no personal data).
Great insights :)
Reason to write:
- share information
- learn about something
- side-effects such as help to establish your credibility
How to write for developers?
Consider the clarity, personality and the uniformity of content. Each medium has it scale on these three.
The physical act of writing? Start with notes and expand. Just start writing. A similar approach is reported by Finding comfort in the chaos: How Cory Doctorow learned to write from literally anywhere.
The point is to have something, then iterate.
Not bad as a measure. I don't know how effective it can be.
Libyear can be a unit: X libyears. libmonth is maybe to strict.
A way to work with indexedDB in the browser.
Let's buy it sometime
The long-term popularity of any given tool for software development is proportional to how much labour arbitrage it enables.
What do I mean with labour arbitrage?
Throwing AI-generated content without review or reflection to others is "slop"
Jon Gjengset always does great stuff
The use case of extracting a certain JSON path into a separate column and optionally index it seems to be the best use case I know
Des nouvelles de la gestation pour autrui (GPA): d'après un sondage, la population est fortement majoritaire et en progression.
Another search engine. Its lauch is more recent than marginalia.
It looks great.
It focises on writing by independent creators. No ads support the service. Search ranking is neutral. It incorporates other variables such as invasive ads or tracking on a site and how much bandwidth pages require to download.
A collection of innovations by women in the fields of computer science and technology.
It would be my goto for a window tile manager on Linux
Public and private investors, along with the markets themselves, have become entirely decoupled from the concept of what “good” business truly is, focusing on one metric — one truly noxious metric — over all else: growth.
How the valuation of Meta is decorrelated to some facts such as opt-in of user data in Europe.
Uber accused a loss of 1.21 billion, but the stocks is up 5% (as time of writing). Uber loses money since 15 years... "This is why we see such vast oscillations of hiring and firing - because these companies are never, ever punished for failing to operate their businesses in a sustainable way, or even with a view for the futur"
and more examples.
"Everything ventured, nothing gained"
and the argumentation goes on
Il s'agit d'une extension optionelle, compatible avec la gestion du temps en Java et généraliste.
La redéfinition du décalage à la fin des estampilles:
- Z indique qu'on utilise UTC comme référence, sans connaître l'heure locale (nouveau)
- -00:00 comme Z
- +00:00 indique qu'on utilise UTC comme référence
L'autre nouveauté de ce RFC 9557 est plus marquante, c'est le format étendu IXDTF (section 3). Il consiste à ajouter à la fin de l'estampille une série (facultative) de couples {clé, valeur}, entre crochets.
2022-07-08T12:14:37+02:00[Europe/Paris][u-ca=hebrew]
Les clés sont définies sur le nouveau registre https://www.iana.org/assignments/internet-date-time-format/internet-date-time-format.xml#timestamp-suffix-tag-keys.
A heatpum comparator
How to update the overall programs installed on the computer.
How to update all astro projects with a github action.
In a nutshell, the purpose of REVENGE.CSS is to apply visual regressions to any markup anti-patterns. It makes bad HTML look bad.
Interesting.
Passing CSS variable errors can be useful too.
There are also useful patterns.
link-peek is designed to be used in conjunction with JSON APIs that can return metadata about the URL added to the anchor element between the Web Component tags.
Le raisonnement semble bien pertinent
Nous savons maintenant d'où vient ce son
Une liste de jeux en ligne
- use
[class]
and:not([class]]
- selecting ranges of content
- selecting all the elements except the one I am interacting with
- using nesting to style an element depending on context
Crazy stuff here, that can be used to emphasize letters or chunk of text.
They are different. HTML attributes are set on the HTML tags, whereas DOM properties are set in JS on the HTMLElement.
This post highlights the differences.
Uchronie à imaginer : un monde où tout outil informatique est conçu, fabriqué et maintenu de manière aussi durable que l'ordinateur de bord de Voyager 1. Le monde serait incomparable à celui qu'on connaît aujourd'hui
« C'était un bon ordinateur. Comme le voulait la coutume, on le lui avait offert pour ses seize ans. Il avait une coque beige, un écran bien net, et depuis le temps qu'iel le trimballait iel n'avait eu besoin de le réparer que cinq fois. Une machine fiable, faite pour servir toute sa vie, comme tous les ordinateurs. »
Des idées de permacomputing
Répondez aux trois questions suivantes. Les qualités rédactionnelles et de synthèse seront prises en compte pour la notation. Un plan matérialisé n'est pas exigé.
Question 1 : La Haute Autorité pour la transparence de la vie publique. (5 points)
Question 2 : Le wokisme. (7 points)
Question 3 : L’amende forfaitaire délictuelle. (8 points)
Oui l'URL est bien https://www.police-nationale.interieur.gouv.fr
When a link is shared on Mastodon, the instances fetch immediately the information related to this link.
It causes a DDoS...
The WeblogPoMo is a challenge: posting one blog post per month.