Monthly Shaarli
September, 2022
Privatiser les profits, nationaliser les pertes: exemple
A way to avoid to pull with a request at regular intervals:
- the user subscribe to events similar to JS Events
- the server send them at its pace
Great tips indeed
Stats are there for the year 2022, and updated yearly. A mine of resources.
And I am migrating from Pelican to Astro x)
Nano ID is nano-sized unique string ID generator for JavaScript. It’s truly small (130 bytes minified), URL-friendly, and it has no dependencies. Plus, it’s safe, secure, and fast.
Project link: https://github.com/ai/nanoid
A small library to generate unique ids. It is implemented in a lot of other languages too.
Je pose cela ici
La question devrait être “Pour quelles raisons, malgré les preuves de corruption, les morts, l’horreur sociale et écologique, pensez-vous que cette Coupe du monde de football doit avoir lieu ?“.
En moyenne, les ouvriers ont travaillé plus de 10h/jour, 6/7 jours, et ont été payés 1€ de l’heure, quand ils ont eu la chance d’être payés.
Depuis que ce chiffre de 6 500 ouvriers morts a été publié par The Guardian début 2021, la FIFA et les organisateurs n’ont cessé de vouloir le minimiser, expliquant que ce n’était pas le vrai nombre de morts pour la Coupe du monde, que la façon de compter n’était pas la bonne, etc. Sauf qu’en croisant les sources, vous retombez bien sur cet ordre de grandeur, et retrouvez les mêmes méthodes que d’autres évènements tragiques pour en minimiser les impacts.
Si cela ne suffisait pas, lorsqu’il a été interrogé sur les 6 500 morts, le président de la FIFA Gianni Infantino a déclaré “les travailleurs ont gagné de la dignité et de la fierté“, puisque grâce à eux, les conditions de travail se sont améliorées depuis 2010 au Qatar.
Parmi les réactions les plus indignes, Karl Olive (député LREM) avait tenté de relativiser le nombre de morts, en prétextant que la construction de la Tour Eiffel “avait causé plus de 300 morts“. C’est faux, réfute l’AFP. Agnès Pannier-Runacher avait aussi menti le 11 septembre dernier au micro du Grand Jury RTL-Le Figaro-LCI
Et le post démontre pourquoi.
I find it hard too :/
Rule of thumbs:
- Show errors immediately if issues are severe
- Late validation is almost always better
- Validate empty fields only on submit
- Reward early, punish late: if a user edits an erroneous field, we should be validating immediately, removing the error message and confirming that the mistake has been fixed as soon as possible (reward early). However, if the input was valid already and it is being edited, it’s probably better to wait until the user moves to the next input field and flag the errors then (punish late).
- Validate after a copy-paste
- Allow users to override inline validation
- Just in time validation
- For short forms, consider validation on submit only. For complex forms, use the task list pattern
Similar to useFetch in vue
In general, the larger the primes you use, the better the illusion of randomness. With smaller primes, you will get more variation, but less appearance of randomness.
The first way is to set each trait on :nth-child(pn + b)
where p is a prime which increases with each value and b is constant for each trait.
The second way (which is more on par with the original Cicada principle) is to set each trait on :nth-child(pn + b) where p is constant per trait, and b increases with each value. This creates a better overall impression of randomness (especially if you order the values in a pseudo-random way too) without “holes”, but is more tedious, as you need as many values as the prime you’re using.
Physical properties (margin, paddings) seems wrong: we need to specify intent in the design. That's why flow-relative or directions were introduced: inline-size
, flexbox
, block-size
, ...
These statements of architectural principle explain the thinking behind the specifications. These are personal notes by Tim Berners-Lee: they are not endorsed by W3C on anyone else. They are aimed at the technical community, to explain reasons, provide a framework to provide consistency for future developments, and avoid repetition of discussions once resolved.
A list of UI patterns
Examples of original icon hover effects 👍
A demo of 3 types of navigation menu with sublebels:
- Overlapping levels
- Covering levels
- Overlapping levels with backlinks
You're encountering a flexbox default setting.
A flex item cannot be smaller than the size of its content along the main axis.
The defaults are...
- min-width: auto
- min-height: auto
...for flex items in row-direction and column-direction, respectively.
Use classes on svg inner elements and animate them
Pick a pack and scroll to search an icon
display: contents
is underrated: it removes the box layout of the element!
grid-row or grid-column only works on explicit layout: workaround at 18:55
Je pose cela ici pour de prochaines réutilisations
because it is faster than a static website... because everything is in the RAM.
You can put the capture attribute on inputs with the type of file, and you can give it a value of “user” or “environment“. The interesting thing about the capture attribute is for users coming to your website on a mobile device. If they interact with that input, instead of opening up the default file picker, it will actually open up one of their cameras.
Read the reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture
You have already a lot of features, so don't loose your time.
That's what I think.
And I also totally agree with this blog post
Improved list designs. It's refreshing.
Feedbacks about the open-source build tool Bazel, backend by Google.
Cet service web génère des horaires d'horloges :)
18.94 kilometers (about 11.77 miles)
Known issues
- Gecko-based browsers like Firefox show an interesting behavior when trying to make the site any higher than 18.939583 kilometers, “shrinking” or “collapsing” the main container.
- Internet Explorer has problems following internal links, and it’s unclear whether the container actually is said 18.94 kilometers high (or long, or tall).
a première difficulté du lead est de savoir arbitrer son temps, et c’est bien la compétence fondamentale pour réussir à changer de rôle. Il doit avoir envie d'agir et prendre la responsabilité qu’il faut pour ça. Les anglophones ont un mot pour ça : ownership.
"Part of your leadership is helping the other stakeholders, such as your boss and the product manager, respect the team’s focus and set up meeting calendars that are not overwhelming for individual contributors."
A font meant for readability by the Braille Institute
A simple, extensible CSS framework
Vanilla Framework aims for Level AA conformance with the Web Content Accessibility Guidelines (WCAG) 2.1.
I was also struggling with it:
const multilineStrings = 'This is a\n' + 'multiline\n' + 'strings';
or
const multilineStrings = ['This is a', 'multiline', 'strings'].join('\n');
or
``const multilineStrings =
This is a
multiline
strings`;
Je reprends le parallèle du Hollandais Volant:
11 % d’augmentation du nombre de cyclistes : « C’est l’anarchie, c’est la guerre ! »
11 % d’augmentation du prix des choses courantes : « Bof, c’est rien, faut faire des efforts un peu ».
Deux poids, deux mesures.
For a mobile app:
We examine everything page by page and log all errors into a central database.
We then convert that content to Jira tickets, complete with descriptions, screenshots, and story points.
If we work with a third party, and one of its tools is not accessible, we work with them to make it accessible.
it looks similar to the service Sentry.
WebAIM says the most common types of WCAG 2 failures comprise 96.8% of all accessibility errors.
- Low contrast text
- Missing alternative text for images
- Empty links
- Missing form input labels
- Empty buttons
- Missing document language
The % of these errors is diminishing over time though
une augmentation de son budget de 15 milliards d’euros sur cinq ans, dont la moitié consacrée au numérique.
Mais l'hôpital doit économiser 900 millions par an.
Question de priorité.
Open-source hood house
Here the files: https://www.wikihouse.cc/blocks
Les petits plaisirs que l'on prend avec nos outils.
Pour d'autres, ce sont les lettres et autres papiers que l'on recoit (plus).
Ici, il est question des procédures administrative sur papier, dont un sceau nommé « hanko ».
Si des progrès ont été faits dans le privé, l’administration a connu de véritables mouvements de résistance, portés par des fonctionnaires attachés aux supports physiques. Les élus du département de Yamanashi, connu pour sa production d’hankos finement gravés, ont accusé le ministre de s’attaquer à un « symbole du Japon ».
Le sceau est en usage au Japon depuis près de deux mille ans. Un débat eut lieu pendant l’ère Meiji (1868-1912), marquée par l’introduction de pratiques occidentales, pour savoir s’il fallait y renoncer au profit de la signature. Le sceau a été conservé. Un système national d’enregistrement et de certification a été établi. Depuis, chaque entreprise et chaque citoyen en possède au moins un.
La résistance peut s'expliquer par le ressenti des japonnais:
la persistance d’une perception négative des processus numériques, jugés impersonnels. Les gens apprécient les processus analogiques, considérés comme faisant partie de la culture, témoignant concrètement de l’attention portée à la tâche et permettant des ajustements mineurs
Un retour d'expérience littéraire ❤️
Contra Chrome est un comic de vulgarisation sur le navigateur chrome, connu en 2012 pour ses explications.
Voici la version de 2022, traduite pour les pays francophones
Derrière ses intentions en apparence louables, le minimalisme participerait donc à une forme de domination culturelle et de renforcement d’inégalités entre les classes sociales. « Les personnes en situation de pauvreté ont toujours été des déconsommateurs mais ce statut n’est pas socialement désirable. Il a donc fallu que les classes sociales supérieures réinterprètent les signaux de l’air du temps et les transforment afin de les intégrer à leurs codes, développe Fanny Parise. À n’importe quelle époque, les classes sociales supérieures doivent imposer une culture légitime afin d’assurer le maintien de leurs privilèges. »
Il en résulte un minimalisme à deux vitesses, avec d’un côté ceux qui perçoivent la sobriété comme une forme de prestige et d’ostentation responsable et, de l’autre, ceux qui n’ont pas d’autre choix que de la pratiquer, par manque réel de moyens financiers.
« Redisons-le, le minimalisme en Occident est avant tout consumériste. Malgré les apparences, il n’a rien de contre-culturel. Il est même le cœur du capitalisme responsable. Les prix exorbitants sont le prix de la bonne conscience qui cache un enjeu, toujours le même, de distinction sociale : si c’est cher, c’est que c’est rare et que ce n’est pas accessible à tout le monde. L’image de prestige est celle de la violence sociale »
« Si on veut des résultats efficaces, vraiment écologiques et justes socialement, il faut que cela vienne des politiques publiques » ‒ Anne de Rugy, sociologue
Tiens tiens tiens
An example of style guide for content
Your productivity is now less important than the productivity of the whole team.
If one universal talent separates successful leaders from the pack, it’s communication skills. It doesn’t matter whether you choose to dive deep into technology, or become a manager — if you can’t communicate and listen to what other people are saying, your career growth from this point on will suffer.
On s’adresse à tous ceux qui veulent progresser au delà du stade de développeur senior à 5 – 10 ans d’expérience.
Scroll horizontally to observe wealth based on pixels
Feature available or not in your current browser
Une des premières leçons du manager sur une équipe : Lâcher prise. Laisser l’équipe faire ses choix et défendre moins fortement les siens, quitte à laisser l’équipe se planter.
L’idée c’est de ne pas être le directeur, juste le manager. C’est à l’équipe de décider, pour favoriser son implication, son initiative, sa responsabilisation, sauf à vouloir une équipe d’exécutant.
User-facing state is what someone experiences when they interact with (or try to interact with) an element in some capacity. It is reactive, helping to communicate the ways in which something can be manipulated.
It is also worth noting that on the web, the majority of user-facing state can be communicated programatically. This means that there is an HTML attribute or ARIA declaration that can ensure people who can’t see the content can understand the state something has been set to.
It is different from the application state.
The states:
- resting: the status of something before someone has interacted with it, or other content affects it. Oftentimes referred to as “Base” or “Default.”
- hovered
- active
- focused
- visited
- loading / loaded
- disabled
- hidden
- readonly
- enabled
- checked: marked for sending as data to another internal or external resource. Can be focused, but keeps it's selected state after focus is moved
- unchecked
- undeterminate
- selected / deselected
- dragged / dropped
- collapsed / expanded
- resizing
- dirty: an editable element that has been manipulated on one or more occurences
- pristine: editable element has yet to be manipulated by someone
- saving
- overflowing
- scrolling
- playing / paused / stopped
- sticky
- unstuck: sticky element removed from a side of the viewport back it its original position
Oui mais, cela dépend énormément de ton environnement. Voici pourquoi.
C'est aussi vrai, que sans rien, sans travail, sans efforts, on ne peut pas arriver non plus à un bon poste.
Find unused dependencies: npx depcheck
Or install the package and run the command.
There is also npm-check
that checks for outdated, incorrect, and unused dependencies.
L’important n’est pas de pointer l’expertise, de savoir que vous découpez mieux le code ou que vous faites moins d’erreur d’architecture. L’important est de savoir quel est l’impact que vous avez dans l’équipe.
Vous pouvez avoir un fort impact par votre seule expertise technique. C’est possible mais difficile, parce qu’il faudra une sacré expertise technique pour justifier qu’elle vous fasse passer au niveau suivant. Il est probable que, même avec une expertise de pointe, les compétences humaines comme la communication avec les autres, votre volonté à prendre des responsabilités ou la façon dont vous les gérez, ou encore votre propension à faire grandir les personnes autour de vous, vous retienne d’avoir l’impact auquel vous prétendez. Ce sont ces compétences là qui vont jouer le plus.
Tell your mentee what you expect from him. If you want him to come prepared for your meetings with questions he has sent you in advance, ask for that.
Expectations need to be explicitly defined.
Préparer ses 1–1 avec son manager, lui poser les questions en avance, ce sont deux attentes explicites que je pose sur les grilles de compétence. Ça vaut effectivement certainement avec les mentors aussi.
Dire quand ça ne fonctionne pas c’est traiter [le manager] avec respect et faire confiance dans son humilité.
Les deux seules attitudes à éviter c’est dire oui alors que vous pensez non, ou dire non comme un point d’arrêt qui ne peut pas être renversé.
Dire non c’est aussi savoir le faire sur la discussion, en motivant et expliquant, puis en sachant potentiellement passer outre ensuite.
Ce sont des remarques pertinentes pour toute personne travaillant dans une entreprise 👍
Alors on a un exemple crousitillant:
compenser la crise énergétique et surtout, de distiller des conseils aux Français, avec un mot d'ordre: chaque geste compte. Sans exception.
- Soit le Figaro s'est trompé, et chaque geste ne compte pas comme le rappel Agnès Panier-Runacher, les jets privés ne font pas la différence
- Soit le gouvernement nous ment
out le monde peut (et doit) «agir à son échelle» pour éviter d'éventuels rationnements ou des coupures de gaz ou d'électricité cet hiver
Donc nous commencons avec ceux qui consomment le plus? Hein :) Puisqu'on agit a son échelle.
Dark patterns 🍿
Une alternative RGPD friendly à Stripe.
Le service ne s'arrête pas au paiement en ligne, mais aussi au paiement par carte bancaire.
0.7% par transaction + 0.15€ de commission pour les cartes émises dans l'EEE
En réalité je ne décide pas vraiment. Même quand je le fais, ça ne suit pas toujours. Le travail c’est justement faire avancer tout le monde dans le même sens, pas décréter des choses dans son coin.
C’est à moi de faire en sorte que l’équipe aille dans le bon sens, d’expliquer comment et pourquoi, de convaincre, de guider et de former. Je peux éventuellement reprocher les décisions à ceux qui les ont prises, mais pas m’en retirer la responsabilité.
On parle agilité et ça sort peut être du cadre mais il y a quatre rituels que je ne sauterai pas, dans cet ordre d’importance :
- La rétrospective
- Le 1–1 avec le manager
- Le daily meeting avec l’équipe
- Les kick-off pour donner du sens et lancer les projets
Project link: https://github.com/Rezmason/matrix
This project is a web implementation of the raining green code seen in the Matrix franchise. It's built right on top of the functional WebGL wrapper, REGL, with beta support for the upcoming graphics API WebGPU; its previous Three.js version is maintained in a separate branch.
Un exercice effectué au cas où il deviendrait nécéssaire.
- When you need to release a breaking change—any breaking change—you do it in a major version. Period. No excuses.
- You need to find a different way to communicate more significant project-wide changes and improvements. Major version numbers can’t do double duty as both breaking-change indicator and marketing hook.
About the second point, I would argue that giving an name is greater :D
Ubuntu uses it... Hahaha I read it as I write it.
Laravel suit l'évolution et peut être utilisé avec Vite. Ici un exemple en intégrant Boostrap.
Petit rappel: Déclaration des droits de l'homme, article 35 :
« Quand le gouvernement viole les droits du peuple, l'insurrection est, pour le peuple et pour chaque portion du peuple, le plus sacré des droits et le plus indispensable des devoirs. »
Dès qu’on s’occupe d’humanitaire, de social, d’un objectif un minimum éthique, ou même qu’on prétend simplement tenter d’être respectueux de la collectivité, les grandes rémunérations sont immédiatement jugées scandaleuses, honteuses. Ça parait sain : C’est autant d’argent qui ne va pas à la cause, quelle qu’elle soit.
De ce raisonnement, on favorise un modèle où ceux qui contribuent positivement sont forcément moins bien payés que ceux qui détruisent les gens et le monde autour d’eux.
On insinue que ceux qui aident les autres doivent accepter des rémunérations plus faibles ou plafonnées, qu’on ne doit pas gagner de l’argent en faisant quelque chose de bien. [...] On dessine que gagner de l’argent au détriment des autres c’est quelque part plus légitime, moins honteux
By graphing the acquisition of knowledge in SuperMemo, he has realized that in a single lifetime one can acquire only a few million new items.
Philosopher William James once wrote that mental life is controlled by noticing. Climbing out of the sea and onto the windy beach, my skin purple and my mind in a reverie provoked by shock, I find myself thinking of a checklist Wozniak wrote a few years ago describing how to become a genius. His advice was straightforward yet strangely terrible: You must clarify your goals, gain knowledge through spaced repetition, preserve health, work steadily, minimize stress, refuse interruption, and never resist sleep when tired. This should lead to radically improved intelligence and creativity. The only cost: turning your back on every convention of social life. I
Examples of original link effects 👍
Two circular navigation demos
CSS specificity as image 👍
SVG is an excellent way to create interactive, resolution-independent vector graphics that will look great on any size screen. And the Snap.svg JavaScript library makes working with your SVG assets as easy as jQuery makes working with the DOM.
Draw vectorial images
and the project: https://github.com/methodofaction/Method-Draw
Je poses cela ici.
and the code example: https://codesandbox.io/s/css-grid-blog-bonus-v2-nn7t2
VS Code is a mostly open-source code editor, with proprietary sprinkles on top, and a proprietary extension marketplace.
VS Codium is a fully open-source alternative based on the same codebase.
VSCode is a high-quality product given for free.
Why is VS Code free?
- good for the reputation of Microsoft as open-source player
- developers are more influential in purchasing their digital products and services than before
- the community is building the majority of the the functionality for other languages and non-core features through extensions.
- it is a cornerstone of their recent online IDE (https://vscode.dev
- a close integration of VS Code with other Microsoft products, it can be touted as a feature to hook people in. See Azure extension for VSCode as example. You can see this integration with GitHub too now, if you press
.
on any page of a repository - the author guess that "the philosophy is to make tools for devs, and create an “ecosystem” to sell something extra".
- the telemetry from VS Code gives Microsoft insights on trends and helps with product development. It is a marketing tool for them to gather field research.
- private marketplace: VS Code is configured to use the Microsoft VS Code Marketplace. Its Terms of Use restricts access to Microsoft and GitHub products only. There is nothing stopping Microsoft from changing the marketplace's terms and conditions in the future. That's why is so important. Some VS Code extensions needs VSCode: C# language, C++ language, Live Share, Remote Development extension. These extension sends telemetry (no opt-out).
There is then a comparison of both projects.
Some points about open-vsx and codium projects:
- To publish to the Open VSX marketplace has less requirements and steps than Microsoft’s set-up.
- they both have a cli
Switch to VS Codium? Yes if you
- want to use 100% open-source software
- want to run a private extension registry
- want to support a product that minimises telemetry reporting
- are paranoid about some kind of mischief being afoot with Microsof
- can dismiss the private extension of Microsoft listed above. There is some alternative that needs to be tested though.
What you can’t do is create good experiences without knowing your content structure. What is your content made from, not what your content is.
It means:
We’d really like to understand the type and structure of the content for this project. Don’t worry, you don’t have to write anything yet, just help us understand.
The writer relates after that its process.
const { length, 0: first, [length - 1]: last } = arr;
It's hard to debate about the best technologies. So here are a summary of the arguments of the author.
Main Argument: React isn't great at anything except being popular.
- React is good.
- React laid down the groundwork for other web frameworks. Vue 3 and React hooks, Svelte's conventions from React, Nuxt from Next, ... The component based-model owes much to React-
- React’s greatness is more in what it meant at the time than what it currently is today, absent that context
- React has aged. And I don't think most people—particularly those using it regularly—realize how much or how poorly. → when you live in the React world, you only see improvements. It shields you from React's velocity compared to other frameworks.
- React doesn’t do anything better than other frameworks.
On a greenfield project, how do you make the call on the front-end framework you'll use for the next several years? Things to consider:
- Performance → Vue, Svelte, Solid, Inferno and a host of others generally provide markedly better performance than React.
- Learning curve → JSX allows HTML into a JS function. The only thing worse than using JSX with React is not using JSX with React. Many things other front-end frameworks handle for you or make trivially easy require manual intervention or significant boilerplate. React is built for Facebook, others frameworks for the world.
- Bundle size: not the smallest
- Scalability: React doesn’t have anything special here; it just has the most examples.
- Community and support: does not mean a better choice. A big community can be a downside, too, especially in the case of a so-called “unopinionated” framework such as React. It can mean too many packages to choose from, and too many different, competing opinions that you’ll have to decide between and take a stance on.
- Financial backing: Vue is one of the most successful and well-funded open-source projects in history. [Through examples] backing is not an issue among major front-end frameworks
- Developer experience: React placed behind both Solid and Svelte in terms of satisfaction in this year’s State of JS Survey results. React also placed behind Svelte, Solid and Vue in terms of interest React's satisfaction and interest have been declining steadily for years, while its usage has flatlined.
- Hireability: This is the one area where React definitively comes out ahead. If you need to hire a dev who knows your thing already, React is clearly the choice.
- vs Competitors: But bear in mind that choice also gives you absolutely no tech advantage over your competitors. They’re all (mostly) using React, too.
Why react stays on top?
Because we don’t always value the strongest choice as much as we value consensus.
One other thought here: it’s possible we’re already moving past React, but we just can’t see it at a high level yet.
Qu’est-ce qui justifie une promotion alors ?
"Many companies expect you to be acting at the next level before you get promoted to it."Je suis pas mal ce principe, parce que mon métier et mon contexte, avec des équipes ayant beaucoup de libertés, permet à chacun d’agir au niveau qu’il souhaite assez facilement.
Avoir d’excellentes voire d’exceptionnelles performance à son poste ne justifie aucune promotion. Ça veut juste dire qu’on est excellent à ce poste.
Autrement dit, il faut d'abord être le rôle avant d'avoir la reconnaissance qui va avec.
Despite the benefits discussed above, infinite scrolling does have several drawbacks, which can impair the user experience:
- Difficulty refinding content
- Illusion of completeness
- Inability to access the end of the page
- Accessibility problems
- Increased page load
- Poor SEO performance
Topographic Map of Africa
- Versatile: we use the web for many things
- Decentralized: there is no one single arbiter
- Resilient: the development is hostile as there is a lot to consider such as multiple browsers, network condition, input modes, and third-party scripts,...
- Responsive: there is a responsive design on the web
- Adaptable: range of form factors, device capabilities, and specialized browsing modes.
- Accessible or at least can be accessible: It represents a rare space where a disabled individual may operate free from the immense amount of bias, misunderstanding, and outright hate that is pervasive throughout much of society.
- Inexpensive: the fact remains that you can achieve an incredible amount of functionality with a small amount of code. There is ~$40 for internet-ready smartphones.
- Diverse: the list of browsers is huge. This diversity encourages innovation.
- Standardized: with the w3c. It is well documented with the Mozilla Developer Network, StackOverflow, and blogs, ... Plus 20 years old web pages are still usable today.
- Open: the standardization and consensus are transparent. it helps to disincentive more abstract threats like adversarial interoperability. OSS FTW.
Avoiding media queries is possible but unreadable.
Some SCSS mixins make it more readable though: https://github.com/ryevych/adaptiveValueFunction/blob/main/scss/adaptiveValueFunction.scss
From Tim Berners-Lee
Date: 1998, last change: 2013-03-04 22:56:21
When you design a system or a language, if the features can be broken into relatively loosely bound groups of relatively closely bound features, then that division is a good thing to be part of the design. This is just good engineering. It means that when you want to change the system, you can with luck in the future change only one part, which will only require you to understand (and test) that part. This will allow other people to independently change other parts at the same time. This is just classic good software design and books have been written about it. The corollary, the TOII is less frequently met.
Une carte de la Terre du Milieu adapté à la France
About schema; tables; collections; keys and columns; unique, primary and foreign keys
A lot of wallpapers are available under this category. Thanks smashing magazine and Cosima Mielke :)
Les katas "sont pensés pour permettre d’introduire une idée ou une pratique bien précise, mais je ne pense pas qu’ils permettent de progresser très loin"
Et les problèmes spécifiques aux entretiens d'embauches: "sont un autre cas : certains couvrent des sujets fondamentaux d’algorithmique (écrire un arbre binaire…), d’autres sont plutôt des puzzles où la connaissance nécessaire pour les résoudre n’est utile qu’à la résolution de ce type de problème."
La répétition est aussi peu utile.
Une manière de s’entraîner, mais j’ai l’impression souvent peu structurée, est de faire des mini-projets, par exemple en réimplémentant des versions simplifiées outils qu’on a l’habitude d’utiliser.
Cependant, l'apprentissage n'est pas le même pendant ce mini-projet.
Ma suggestion, pour les personnes qui développent des mini-projets et qui veulent en parler, serait donc de documenter ces éléments (durée du projet, domaines couverts, moments où on apprend le plus de choses) pour que d’autres puissent en profiter.
KeeOtp2 is a plugin for KeePass. It provides a form to display one time passwords. The TOTP secret keys are stored in a normalized format, so this plugin is fully compatible with the built-in OTP function. It also can be used as a GUI for the built-in OTP function.
- Être flexible
- Être cloisonné: seul,
- Être confortablement installé
- Garder le contact avec les messageries instantanées. Rencontrer ses voisins, commerçants de quartier ou rejoindre un club.
- Être pratique: faciliter les amplitudes horaires, être indisponible pour chercher un colis, etc...
- Communiquer plus: expliciter ses dispos et ses horaires; et avoir plus d'informations par mail!
Tiens, une auteure alterne le genre masculin et féminin pour parler d'une personne générale. Exemple:
He has all the answers. She worked on
The use of SQL within streaming systems opens up a new chapter in the story of SQL within the data domain.
Machine learning needs data and a lot of processing. Thus the data needs to be efficiently stored and retrieved
“Every decade, another hyped-up database technology comes along that claims SQL is terrible, slow, or impractical,” Pavlo says. “Over time, the conventional wisdom comes back to realizing that [SQL] is a good idea, and everyone returns to it.”
Reference to NoSQL, document-based database, graphs with nodes and edges.
Et vous avez accepté ce gros mix de vos données personelles? Non?
Eh bien c'est illégal.
La société Valiuz regroupant les enseignes du groupe Muliez, se permet de mélanger les données récoltées par chaque enseigne sur un profil.
Suite: https://n.survol.fr/n/rgpd-a-norauto-via-valiuz: Norauto croise les données avec ceux de Valiuz, sans consentement. Valiuz partage ces données avec les autres enseignes du groupe.
Code itself won't tell you about the decisions and rationale behind it, nor about about higher-level structures and abstractions. All this needs elaboration in documentation.
Use: <video autoplay loop muted playsinline src="cats.mp4"></video>
as Twitter does
About #mp4, #webm, #x264, #x265, #VP9, #VP8, #AV1 containers and codecs
Evilmartian uses the new codec and here is the comparison: "In AV1 it is just 68 KB, similar to the image file. HEVC is 195 KB, and H264 is 512 КB."
Use an image for dark mode only 😯
<picture>
<source srcset="dark-animation.avifs" media="(prefers-color-scheme: dark)">
<img src="light-animation.avif" alt="">
</picture>
webkitdirectory multiple
to allow a directory and every files in it to be uploaded :)
Minimal CSS to look great: 58 bytes, 100 bytes, and 100 more bytes.
11 millions de livres et 84 millions d'articles!
Edit 2022-11-13:
Only available on tor now
http://zlibrary24tuxziyiyfr7zd46ytefdqbqd2axkmxm4o5374ptpc52fad.onion
http://bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion
Limitations and workarounds about the number input.
From the UK government:
Et ce sera bien pratique!
Une liste des méfaits de MacKinsey, juste pour info sous le coude
The infer
keyword only works within conditional types. It defines the type depending of another one.
Some use cases:
- extract type from promise
- extract function return type
- extract multiple candidates
A collection of algorithms. They are available in many languages.
Here a list about datastructures: https://the-algorithms.com/fr/category/datastructures
and the method is impressive and smart: garbage is added to the image and all of it remains black. It is however quite impressive to get an hashquine picture!
After this person does not exist, here is a list of something or someone does not exist
The problem is that there’s a tension between our needs and our capabilities. We cannot focus and coordinate at the same time. Focus demands attention toward problems, while coordination demands attention toward people. Focus and coordination are opposing forces, pulling on the single thread of awareness. This tension creates the focus-coordination tradeoff.
People strive for focus (concentrators), other for communication (coordinators)).
The best way to navigate the focus-coordination spectrum is to constantly harmonize these dimensions as they dance. We can impact it through:
- group size
- people (managers, ICs, rotating coordination responsibilities, stand-up leaders, meeting scribes=.
- how we communicate: synchronous vs asynchronous communication; medium
- time: Healthy teams know which moments require more focus, and which ones require more coordination.
Examples of original button effects 👍
Just a great collection of resources with useful demos and tutorials
On a 4-core machine, running all our tests sequentially would take 3 days, 15 hours, 10 minutes, and 3 seconds. It’s extremely difficult to run a subset of tests since we’ve built a pure monolith with deeply interwoven concerns, so we run every test on every push of every PR … in only 18 minutes!
The WPT Dashboard, wpt.fyi, displays results for the web-platform-tests, or WPT, which are a group of test suites for many web platform specifications.
If the web platform as a whole were an engineering project, it'd be crazy not to have a test suite that's run regularly. The goal of the WPT Dashboard is to promote viewing the web platform as one entity and to make identifying and fixing interoperability issues as easy as possible.
the L.A. streets that have been rendered lighter in color with CoolSeal are 10 to 15 degrees [Fahrenheit] cooler on average than the L.A. streets that have not.
Je pose cela là pour de futurs partages
Headings are not focusable because they are not interactive, as long as the headings are not links… ;)
Here an example of how to make focused element transition on focus:
section:focus {
outline: 0;
animation: yellowFade 3s forwards;
}
@keyframes yellowFade {
from { background: lightYellow; }
to { background: white; }
}
Search through code source of Github, crates.io, JVM, ChakraUI, ...
👍
Séparer les dépendances au maximum
Ein deutschsprachiges Medium, das über die digitale Freiheitsrechte berichtet.
- DALL-E 2:
- craiyon is a mini DALL-E opensource
- text2image: generate an image from text prompt. " Predictions run on Nvidia T4 GPU hardware. Predictions typically complete within 6 minutes. The predict time for this model varies significantly based on the inputs.
- Wombo: generate an image from a maximum of 200 characters and an art style. An image can be provided as "inspiration" too. It supports NFTs o_o
Set expectations appropriately before reviews are delivered. If someone is underperforming across the board, the review should not be his first time getting that feedback.
De nombreuses autres publicités ne seront pas concernées par les interdictions du futur décret. Actuellement, les publicités lumineuses situées dans des locaux privés comme les magasins ou centre commerciaux, installées à l’intérieur et visibles depuis la voie publique, sont autorisées à être allumées la nuit (sauf sur décision sur contraire de la collectivité)
Donc en fait, pour l'approvisionnement électrique, c'est toujours bon :)
Provide stats about the CSS on a page 👍
In many disciplines, a greenfield project is one that lacks constraints imposed by prior work.
data-asso.fr permet de prendre connaissance des associations situées à proximité de ses lieux de vie.
Elle s'appuie sur les base de données de l'État
Et la map
Dans le langage courant, ce terme a parfois pu être utilisé dans un sens plus large : « rationner » les crédits de l’hôpital public, par exemple. Mais ce n’est pas la même chose qu’une politique organisée qui vise à protéger les consommateurs pendant une pénurie. Le rationnement, c’est la répartition des efforts, dans un objectif de justice et de solidarité.
À propos de la sobriété:
Ce discours a mis l’accent sur la sobriété, mais en détournant son sens original, pour aller vers des petits gestes. Ce terme fort, qui pendant longtemps a été un étendard de radicalité, est ici une simple réduction des gaspillages, prétendument compatible avec la croissance. En science politique, on appelle cela un conflit de cadrage : lorsque dans l’espace public, des acteurs s’emparent d’un terme et cherchent à le redéfinir à leur manière. Aujourd’hui, si on laisse s’installer cette redéfinition au rabais de ce que sont la sobriété ou le rationnement, on va perdre de vue leur sens politique et le fait qu’ils pourraient être de puissants outils de justice sociale.
Et donc, si on avait un rationnement qui autorisait X litres d’essence par personne et par semaine et que cela incluait les billets d’avion, ce sont les plus riches qui seraient clairement les plus pénalisés.
Les mesures contraignantes sont d’autant mieux acceptées quand elles sont perçues comme justes et justifiées, et quand il y a une confiance dans le gouvernement pour bien faire les choses. Lorsqu’au contraire on perçoit un double langage, quand on demande des efforts d’un côté, mais qu’on maintient des privilèges de l’autre, cela décrédibilise le message.
Mais pour l’instant, face au choc énergétique, les pistes pour répondre sont cosmétiques. Et le manque d’anticipation est incroyable. Déjà en mars, l’Agence internationale de l’énergie proposait dix mesures pour réduire la dépendance énergétique de l’Europe face à la Russie : la réduction de la vitesse sur autoroute, les dimanches sans voitures dans les grandes villes, davantage de télétravail, etc.
Aussi parler de rationnement seulement pendant l'hiver est faux, puisque
Avancer en équipe c’est prendre la même direction, même si individuellement on aurait pu prendre des directions différentes.
Avancer en équipe c’est non seulement savoir avancer mais ne pas ralentir les autres, voire savoir les épauler.
Faire avancer l’équipe au mieux c’est parfois rediriger une personne qui avance mais pas à la bonne vitesse pour le reste du groupe.
"Lead" [do other than] writing code, they hold responsibility for identifying bottlenecks in the process and roadblocks to success for their team and clearing these roadblocks.
Son vrai rôle est de s’assurer que l’équipe avance, et débloquer les autres ou travailler en amont à paver le chemin est plus important que pousser le projet lui-même.
The illustrations in Cocomaterian are under CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license.
At the date of 2022-09-06, 2,373 images are published 👍
lets you supply two color values in either hex, short hex, RGB percentages, or RGB decimals, and then get as many as ten color shades between the two you supplied.
#idea #project: reimplement it with an attractive UI and more options :)
Current limitations of other color blenders:
- from ColorHexa → only hex unit is supported
- from colordesigner.io → does not provide a palette of colors
- of hexcolorblender → only hex unit is supported
- of colorkit.org → only hex unit is supported
- of Adobe color Contrast Analyzer → does not generate palette colors
Improvements on the one of meyerweb:
- smoother UI
- support more color unit
- prefer the defined HTML color listed on the w3schools HTML Color names web page
- provide a custom amount of color mixes with a default of 7 or 10.
- works offline once the page is loaded
- WCAG 2 compliant?
Other requirements compared to other online
- the tool loads instantly
- it is SEO friendly → it is a static page that can be save for offline usage :)
- contrast checker agains WCAG, BITV, RGAA, ...
Create Beautiful Fullscreen Scrolling Websites
fullPage.js is designed to be easy to use and customize. It includes tens of examples, great documentation, and both community and personal support.
The project is useful websites similar to slides or demos.
Extending the atomic design with applications and principles:
Applications provide a place to document overall product and business information to give context about how and why the pages within an application are organized. Principles were added below the Atoms as a repository for our generalized interaction patterns; patterns such as how and why to use animations or the proper way to truncate text.
a curated list of high-quality design resources including icons, illustrations, UI/UX kits, graphics, templates and more
One-stop resource for everything related to user experience
The yellow use at the end the three light, main and dark versions: https://miro.medium.com/max/732/1*Z3-7A-fzDVuqEt-tF8fFIQ.png
The dark one looks brown but the important part is to mix them.
Web Content Accessibility Guidelines Success Criterion 2.4.4: Link Purpose (In Context) instructs us to ensure that a link’s accessible name makes sense when separated from its surrounding context. It’s why “learn more about elephants” is a far more effective link name than “click here.”
Cool to know.
This is all about maintaining an equivalent experience by not over-describing something for only a certain subset of people. Here, the goal is to preserve the author’s intentional act of creating a sense of curiosity, regardless of the way someone interacts with technology.
Best toggles:
- Inactive button coincides with the background / Active button has a highlighting background. "we suggest you use a combination of saturated lively color (ideally corresponding with your CTA color scheme) and a light grayscale neutral color. "
- Active button has a check sign
- Active button has bold text (a bigger font size helps too)
About the 5-second and 20-second tests:
The results confirmed our expectations since the average error rate was lower in the 20-second tests and the Success-Confidence score was higher. However, these differences were not significant.
There is a difference of 0.5% in the error rate and 2.5% in the confidence score.
The ticks could be perceived as outdated (akin to a physical form more than a website). As for radio button icons, you might as well use a radio button instead.
Si les feedbacks sont là, la revue annuelle n’en est que la synthèse, et un moment privilégié pour discuter de l’avenir.
Dire le positif semble beaucoup plus courant dans d’autres cultures mais est vu comme pénible, difficile, inutile et très artificiel dans la culture française. Et pourtant… je suis convaincu comme l’auteure que c’est essentiel au bon fonctionnement de la relation.
Also available as font, svg or react component.
Sizes are 16, 24 and 32 px with a stroke of 1, 1.5 or 2.
This role requires you to have a good sense of the overall architecture of your systems and a solid understanding of how to design complex software. It probably also requires you to be able to understand business requirements and translate them into software. »
Un facteur souvent oublié est le prise en compte des besoins de l*entreprise.
Les facteurs sens commercial, stratégie de développement, partenariat, vélocité, coûts représentent des finalités par rapport au simple outils que sont la dette technique ou nos qualités techniques.
Le senior s’arrêtera à « il faut faire comme ça » alors que j’attends des rôles de lead et de staff la reflexion de « oui mais ce dont nous avons besoin aujourd’hui c’est … ».
Comme enseigné et illustré en cours d'agilité:
Communiquer au plus tôt de la façon la plus transparente possible. Non seulement ça permettra de répondre au problème plus tôt, mais ça diminuera le stress de tout le monde.
La règle : On ne blâmera jamais quelqu’un pour lever de façon constructive une alerte, y compris très tôt. On pourra par contre reprocher de ne pas l’avoir fait.