Daily Shaarli

All links of one day in a single page.

October 13, 2024

Vélo et machine à écrire, petite eulogie de la satiété

« Et si nous en avions assez ? » Est-ce que matériellement, nous serions pas en situation de satiété ?

Rachel_CxY : « Une de mes takes préférées, ... » - Piaille
  • Les gens n'ont plus le goût du travail, il faut réinstaurer la valeur travail !

  • Absolument, je suis bien d'accord !

  • Le travail c'est la vie !

  • Tout à fait d'accord, quelle lucidité

  • Heu, les gens doivent travailler, non à l'assistanat

  • Mais tout à fait, et je suis contente que vous me rejoigniez sur le sujet. Taxer à 100% les revenus du capital pour que les gens n'aient que les revenus de leur travail est essentiel pour réinstaurer la valeur travail.

  • Heu non pas comme ça attendez

  • Les steaks végétaux, l'appellation est trompeuse !

  • Je suis bien d'accord

  • C'est absolument scandaleux, nous voulons être sûrs de manger des animaux

  • Vous avez tout à fait raison

  • Les gens peuvent par accident manger des plantes au lieu d'un animal

  • Tout à fait, il est essentiel de collectivement profiter de la stupidité des consommateurs carnistes afin qu'ils ingurgitent autre chose que des cadavres. Ils survivront et évolueront. Une alimentation végétalisée est nécessaire pour lutter contre le réchauffement climatique

  • Mais je ...

  • Ah et il faut absolument renommer l'eau de javel avant qu'il n'y ait un accident, ils sont tellement cons

The Static Site Paradox | Loris Cro's Blog

Two types of blogs:

  1. Complex CMS
  2. Collection of static HTML files with one or two CSS files

The first one is used by everyone and only the second is used by software engineers. It should be the other way around.

I invite you all to help make the web more accessible, partially as a matter of taking pride in our craft, and partially because the web used to be more interesting when more of it was made by people different from us.

Exit this page – GOV.UK Design System

Give users a way to quickly and safely exit a service, website or application.

An example of safety content page that describes how the user can be safe online: Ways to stay safe online.

An example on domestic abuse report but notice they use the Escape key.

Let's call it the EtP pattern.
(via the blog post https://beeps.website/blog/2024-10-09-why-govuk-exit-this-page-doesnt-use-escape/)

Julie Moynat: "Sérieusement, choisissez mieux vos prestataires e…" - Eldritch Café

Le site de l'assemblée nationale inaccessible selon le RGAA.

Accessibility statement for www.gov.uk - GOV.UK

One good example of accessibility statement I have found so far

FFI type mismatches in Rust for Linux [LWN.net]

How to map integer types to rust integer types and more.

How to tackle C macros and inline functions in Rust?

Guo put together a ""hack"". His idea was to use Clang to compile helpers.c into LLVM bytecode. Then, for each Rust crate, ask the compiler to emit bytecode as well. Once everything is in the form of LLVM bytecode, it can be fed back into Clang with LTO turned on to produce a combined object file with the helpers inlined.

and more challenging topics.

WAVE Chrome, Firefox, and Edge Extensions
axe: Accessibility Testing Tools and Software
On the (im)possibility of sustainable artificial intelligence | Internet Policy Review

"[…] But while #AI is quite useful for sorting trash, mega city traffic optimisation or global fair resource distribution are, in fact, no technical problems to be calculated, but social problems of collectively agreeing on the very meaning of optimality in the given case. […] The main claim of AI, that it could technically produce a result, which is in fact the social precondition necessary to meaningfully apply AI, is clearly just circular reasoning. This misjudgement explains why AI can not be the “game changer” being able to break the glass ceiling of transformation […]"

(via https://mastodon.bits-und-baeume.org/@Rainer_Rehak/113277181545192712)

Petite révolution au Royaume-Uni : le train va redevenir public

Parce que pour une ligne de train, il ne peut y avoir X concurrents. Le train est limité par le nombre de ligne ferroviaire.

What Color is Your Function? – journal.stuffwithstuff.com

Red/Blue functions allegory of async and sync functions.

The author that if one function is red, all functions using it should be red too.

This is where the “red functions can only be called by red functions” rule comes from. You have to closurify the entire callstack all the way back to main() or the event handler.

One solution could be more generators.
Another is the use of green threads.

[...] Go has eliminated the distinction between synchronous and asynchronous code.

the art of programming and why i won't use llm
Guide de survie à l'agilité.pdf

En 50 pages, ce qui est plus succinct que les longs livres.

Erklärung zur Barrierefreiheit | Bundesregierung

Another example of accessibility statement I have found so far

Building a robust frontend using progressive enhancement - Service Manual - GOV.UK

Build HTML first, then CSS, then JS.

Building your service using progressive enhancement will:

  • ensure your service is robust and of a high quality
  • make it more likely your service will work regardless of which browser or device is being used
  • mean your service’s most basic functionality will work and meet the core needs of the user
  • improve accessibility by encouraging best practices like writing semantic markup help users with device or connectivity limitations to use your service

and arguments against SPA.

ARC Toolkit - Page-Level Testing - TPGi
HTML for People

HTML isn’t only for people working in the tech field. It’s for anybody, the way documents are for anybody. HTML is just another type of document. A very special one—the one the web is built on.

Resources and more about HTML for People: https://htmlforpeople.com/achievement-unlocked-hypertexter/#resources-from-this-book

Why GOV.UK’s Exit this Page component doesn’t use the Escape key / Blog / beeps

Using Escape has some limitations:

Why other alternative keys (^ Ctrl, ⎇ Alt, ⌥ Option, ) are not better, because they have tradeoffs.

⇧ Shift is also better. It has also limitations though.

About the EtP pattern what is the EtP pattern?

We would’ve also liked to have had the button overwrite or erase the user’s recent browser history, but we can’t do that either. (And for good reason!)

Why redirect the user to BBC weather?

As civil servants, we didn’t want to link to a news service as that could lead to claims of political bias.
BBC Weather’s homepage is a content-rich page. Users have a reason to be looking at it and to be looking for an extended period of time.