292 private links
In contrast to the frozen NPM package pages, npmx delivers some improvments:
- Transitive install size (similar to bundlephobia or packagephobia)
- Install script disclosure: any preinstall, install or postinstall script is rendered on the package page along with the
npx - outdated and vulnerable dependency trees
- version range resolution
- module replacement suggestions for features that become built-in ECMAScript. The dataset comes from https://github.com/es-tooling/module-replacements
- module format and types badges: ESM, CJS, both. Typescript types, node engine range
- Multi-forge repository stats instead of GitHub only
- cross-registry availability: npm, JSR
- side-by-side package comparison
- version diffing between two versions of the same package
- release timeline with size annotations: Every version of a package is plotted on a timeline with markers where install size jumped by a meaningful percentage
- download distribution by version (avoid download breaks with major versions)
- command palette
- i18n
- accessibility as default
- agent skill detection
- social features on AT Protocol
- Local-CLI admin connecter
- dark mode and custom palettes
Décrire le fonctionnement du jardin et son entretien peut être utile.
I’m currently building an app that pulls a ton of data from an external API. If you use Rust, you know the drill: you get a UserDTO from the API, but you want a User in your domain. This usually leads to writing the same From trait implementation over and over again.
What’s in the sandbox so far? I built a macro called FromDTO. Instead of manually mapping dozens of fields, I can just do this:
Note the serde create do that for JSON and other formats
We can compute the amount of red, green and blue with the rgb() function. The same applies to color functions.
hsl() has limitations because the percieved color is not consistent accross hue, saturation and lightness values. That's why oklch comes in: it's a 2020 patch of the 1976 version of lch, that itself improves over hsl.
Also color-mix can be used in different color spaces. Transparency is available when two colors have a sum less than 100%, or mix one color with transparent.
In order to avoid repetition, custom functions is coming to CSS.
While some of what we looked at does require some setup — once it’s in place, we can create very robust systems, and, along with the static world of design software, it does beg the question if more design should be done directly in the browser.
#idea #project create the colors of a design system directly from the browser.
Website idea: enter the year you left school and the website will generate a list of outdated facts and concepts that you were taught at school and which have since been disproven.
while I’m thinking on this, this is generally the framework I use to come up with blog topics:
- What have I worked on lately/learned/tried that might be beneficial for people to learn about?
- What opinions do I have currently that I haven’t expressed thoroughly?
- What’s something cool I’m caring about recently?
- What’s my strategy around a certain topic? (that’s this post!)
Selon le besoin ou une question, le service propose un tag HTML dédié: button, a, output,. ...
Website idea: enter the year you left school and the website will generate a list of outdated facts and concepts that you were taught at school and which have since been disproven.
source: https://mastodon.social/@cmconseils/115765594088135334
A website built with Astro
Is it perfect for quick prototyping?
If I want to develop fluid type calculations that adapt to local context, I’ll use em and cqi (container inline size) values. If I want my calculations to remain consistent across the entire page, I’ll use rem and vi (viewport inline size) calculations. In either case, I’ll define those values on body or other elements – so that 1rem always refers to the result of our initial negotiation, and doesn’t take on more complex meaning.
For spacing on the y-axis, the line-height (lh) unit is great or the rlh (root line-height). The x-axis can be handled with the vi or cqi units.
The right units for any situation are the ones that express most clearly what we mean – and sometimes what we mean requires a combination of units.
There’s no best unit, no best layout mode, and no best selector. When we use the entire language, we have more tools for clearly expressing our goals.
How to measure web server capacity resource management: here a quick introduction with Rust snippets.
#idea: rewrite it in JS for backend in JS.
Je n'ai pas plus de 5 mails dans mon Inbox.
les mails à converver parce que devis de travaux, etc...reste.
Tout