Daily Shaarli
October 13, 2024
« Et si nous en avions assez ? » Est-ce que matériellement, nous serions pas en situation de satiété ?
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
Two types of blogs:
- Complex CMS
- 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.
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/)
Le site de l'assemblée nationale inaccessible selon le RGAA.
One good example of accessibility statement I have found so far
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.
"[…] 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)
Parce que pour une ligne de train, il ne peut y avoir X concurrents. Le train est limité par le nombre de ligne ferroviaire.
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.
En 50 pages, ce qui est plus succinct que les longs livres.
Another example of accessibility statement I have found so far
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.
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
Using Escape has some limitations:
- it stops the browser from loading pages
- Escaping performs other functions in the operating system
- Pressing Escape isn’t considered a user interaction:
And Esc is the only keyboard key that doesn’t count as user interaction for the purposes of transient activation.
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.