Weekly Shaarli
Week 23 (June 5, 2023)
The thought of countless office workers slaving over spreadsheets and performing mindless work makes me sad. These machines that I love were supposed to free us from menial labor. Instead, there are people out there copying something from one spreadsheet and pasting it into another, over and over, ad nauseum. It's because the tools are incomplete, a consequence of trying to tie every conceivable operation to a button on the screen.
For this case, awk and sed can automate all of this :)
A current website shared across the web because it allows to test some colors on real website.
Because it can leads to (better) answers with less time needed.
“This sentence has five words. Here are five more words. Five-word sentences are fine. But several together become monotonous. Listen to what is happening. The writing is getting boring. The sound of it drones. It’s like a stuck record. The ear demands some variety. Now listen. I vary the sentence length, and I create music. Music. The writing sings. It has a pleasant rhythm, a lilt, a harmony. I use short sentences. And I use sentences of medium length. And sometimes, when I am certain the reader is rested, I will engage him with a sentence of considerable length, a sentence that burns with energy and builds with all the impetus of a crescendo, the roll of the drums, the crash of the cymbals–sounds that say listen to this, it is important.”
A guide to primary navigation on the related HTML tags. About HTML, inert
and tabindex
are explained.
For CSS, an optimal focus indicator is explained. There are also :focus-within
and :focus-visible
.
Finally some patterns such as Accordion, Tooltips and skip links are explained.
Ils oublient de préciser que les biens immobiliers ont vu leur prix augmenter de 150% depuis les années 2000.
Autrement dit, l'héritage d'un bien immobilier est devenu quelque chose de précieux.
“Sur les 315,8 M d’€ de préjudices détectés et stoppés l’an dernier, près des trois quarts portent sur des frais de santé, pour l’essentiel facturés à tort par des professionnels de santé (consultations, actes, remboursements de soins et de médicaments, etc.)”
Donc la fraude sociale, ce sont surtout les professionnels de santé qui fraudent. Pas les pauvres ou les étrangers.
The virtual DOM replacement for React. Gain big performance wins for UI and data heavy React apps. Dead simple to use – try it out today with just a block()
A sort algorithm found by an AI is integrated to the LLVM standard C++
A blog post vulgarising the thing https://www.deepmind.com/blog/alphadev-discovers-faster-sorting-algorithms.
We can read here that less instructions are needed at assembly level.
Use one package manager built on top of corepack to support npm, yarn and pnpm.
#idea #project support more package managers such as cargo, deno, ... :)
Oh wait, there is already something https://github.com/egoist/dum
Execute powerful common commands
It looks good.
32 bits integers: at most 4 billion.
Times it is not enough:
- database primary keys: 4 billions record is not that much
- IPv4 addresses: we want more than 4 billions computer on the internet
- registers: limited to 4GB of RAM
- unix timestamps: end at Jan 19, 2038
It started by putting up optional sign up forms with a cleverly hidden opt-out link. Over time, sign up became mandatory. Now I can only share files with other Dropbox users. That's not what i signed up for. I understand that Dropbox needs to make money. Today, they do that by showing investors that they are growing. One key measure of growth is the number of user accounts they have. So, it makes sense to make every effort to get people to sign up. But, in this case, they are not gaining users through the value of their service – they are using the value of my relationships and my data to force people to sign up. Not cool, guys.
And they provide a solution :) There is also a lot of open source software that can be used.
Un thread sur une enquête des sites ne respectant pas le RGPD
In a nutshell:
- I think we are overly focused on learning programming languages instead of programming models,
- We should try to make the coding models learnable in the programming languages people use.
Most of the time, your job with JavaScript to enhance components’ keyboard accessibility will be done with just a handful of tools, including the use of event listeners and certain JavaScript methods of a couple of Web APIs that can help us in this task.
- keydown event: Instead, the utility of the keydown event comes when you need to add functionality to other keys [than enter or space].
- blur event: most of the time, you’ll use it to reverse the possible changes you have made with the keydown event listener.
- focus event (rare), but instead the focus method!
button.inert
works and avoid a setAttribute.
#idea #project #vue: create a directive to handle keydown and blur event into one action that is reversible.
So now we can have a look at component patterns:
- toggletips
- tabs
- modals
Arguments seem legit with links to original articles.
Generating cash has a bigger priority than reinforcing the company
Billions of dollars have shifted toward an entirely new category of technology without any real consideration of whether they'll be good products that users will like — or whether said products might actually harm users — because these companies are not interested in useful innovation or what will actually make their products better at the things they're meant to do. Instead, they are interested in pumping stocks and showing the ability to grow their revenues every single quarter, even if doing so doesn't make the actual purpose of the company stronger.
Big tech companies try so hard to follow trends instead of reinforcing their core product.
Google delayed launching its own AI-based chatbot for years out of ethical concerns, but then rushed out an embarrassing, partially broken version in response to Microsoft's moves.
The goal is not to build the best product for the user anymore. "The user's experience has become subordinate to the company's stock price."
These companies have strayed from their core products — helping you find information, buy things, or connect with people — because their focus is no longer on innovation or providing a service, but finding a "good enough" service that they can then sell advertising around.
Venture capital and other investors have pushed for a growth-first model, prioritizing "line goes up" metrics rather than building a useful product and sustainable business.
instead of trying to meaningfully innovate and improve the useful services they provide, these companies have instead chased short-term fads or attempted to totally overhaul their businesses in a desperate attempt to win the favor of Wall Street investors. As a result, our collective online experience is getting worse — it's harder to buy the things you want to buy, more convoluted to search for information, and more difficult to socialize with people.
Facebook, a website ostensibly for finding and connecting with your friends, constantly floods users' feeds with sponsored (or "recommended") content, and seems to bury the things people want to see under what Facebook decides is relevant.
The webring of xxiivv
another group in Minnesota :)
They published their manifesto in order to understand what they stand for.
It is indeed minimal :) Kind of cool
Dire que la charcuterie traité aux nitrites est cancérigène est bien légal.
Fun fact: "up" is "dn" rotated 180 degrees.
Some cards are mixed to create a new type of user.
A checklist about accessibility. It ensures that the website follows some standards. The demo (https://www.magentaa11y.com/demos/) definitely help in order to follow these.
In short, don’t try to make something beautiful. Try to make something well-organized, and watch the beauty emerge!
Some best practices to design interfaces.
- centering in a box: leave at least half its shortest dimension as a minimum margin.
- vertically centering text
Why is it called ‘x’ height? Because the letter ‘x’ is the only letter in the alphabet that has all its terminals touch both the baseline and the meanline, with no extending points.
- when centering text inside a box, you need to use the height of the lowercase letters to do the centering and make sure there is the same amount of space all around the text.
- when centering a polygon, center the circle passing by each point instead of centering the box around the polygon.
- when putting a rounded box into another one, a mistake I have seen often is to use the same border-radius on the box outside and the box inside. You need to use a proportional radius when doing such rounded box nesting.
- repetition is key to a rhythm: go for the design system.
- not so justified: use manually justify content instead of this ugly automatic one.
- a contrast ratio of 4.5 or higher is recommended.
- the contrast between each heading level should be high enough for the structure to be visible. if possible, a consistent ratio between different header levels usually looks more elegant.
Des projets validés par team for the planet pour le bien de la Terre.
(anciennement Time for the planet)
Eine How-to guide
Pour faire partie du club des 1% les plus riche en France, il faut avoir 7 180€ par mois.
Pour le club des 5%, c'est 4 113 euros par mois.
Ups. La coupe du monde du Quatar n'était pas neutre en carbone?
It can be useful to generate an HTML view of entries :)
Create a command line interface from a REST API.
It seems powerful!
Joat uses a YAML file to define subcommands of two types: requests and scripts. Requests subcommands ease the interaction with a REST API and scripts combine multiple commands into a more convenient one.
A collection of awesome projects. It is great to find good quality projects in it.
33 specific ways to improve your Rust code
2b||!2b