319 private links
Les developpeurs de GitHub étaient contre l'intégration de l'IA de cette manière.
Optimizing some endpoints in Rust inside a go app.
The results shows nearly 2x performance.
Raw match() is fine
À propos des cartouches d'encres vides à 29% d'encre. En fait, la mémoire eprom de ces cartouches peuvent être écrasé afin de réinitialiser le compteur du nombre de page imprimable...
Cat Mansion Eau, but in french please :)
interpolate-size
is a way to animate height: auto
or width
. It is only supported in Chrome for now.
A quick example:
@supports (interpolate-size: allow-keywords) {
:root {
interpolate-size: allow-keywords;
}
details {
transition: height 0.5s ease;
height: 2.5rem;
&[open] {
height: auto;
overflow: clip;
}
}
}
A more generic one:
:root {
interpolate-size: allow-keywords;
}
details {
--calculated-details-padding: var(--details-padding, 1em);
transition: height var(--details-transition-speed, 150ms) linear;
height: calc(1lh + (var(--calculated-details-padding) * 2));
padding: var(--calculated-details-padding);
background: var(--details-bg, white);
color: var(--details-color, currentColor);
}
details[open] {
height: auto;
overflow: clip;
}
Faire un tour 6.7k toute les heures.
Cette course contre soi-même porte un nom: https://fr.wikipedia.org/wiki/Backyard_ultra
Une innovation afin de se protéger
Take a moment and think; what does everybody needs here?
What are the things this team struggle with?
How can I write up a doc, show what is wrong and propose a solution?
- Dinguerie
- Pister: comprendre
- Gâter: marque d'affection envers
- Tarpin: beaucoup, très, trop
- Astruquer: avaler de travers
- Hypertrucage: Deepfake
- Bordélisation: semer le chaos
- Capé: professionnel expérimenté ou un post qualifié
- prompt: texte saisi à l'IA
- chill: tranquille
Sad.
This is how the NSA will get access to confidential documents.
The documents will get saved saved by default on the cloud; and can be changed in the settings.
Native libraries are hard in Rust; the compiler offers no guarantees about the memory representation of structs; or these structs needs to be FFI-Friendly with unsafe extern "C"
. There is no sandboxing, so a malicious code could promise the machine; or corrupt the memory silently.
Finally, dynamic library plugins are distributed as compiled code.It's easier to hide backdoors in compiled code. It's also harder to share the code than simple scripts.
There are two main ways to embed JavaScript in a Rust program. The first one is with bindings for the lightweight QuickJS engine, such as rquickjs. Take a look at AWS' LLRT (Low Latency Runtime) for an advanced integration of QuickJS in Rust.
Ho, and did I mention that QuickJS is lightweight? Around 210 KiB of code vs around 40 MiB of code for V8, all while being fast enough for most situations.
My vision of programming is to limit ourselves to two programming languages. A very powerful, secure and fast compiled language for the lower levels of the computing stack, Rust, and a less powerful and slower scripting language for high-level scripting and user interfaces, JavaScript.
Another alternative is WASM. The provided code is already compiled; and the author judges the ecosystem too immature.
The last method is the less powerful: expression engine. It allows to specify a language with some rules, even if it is not turing complete and the result always evaluate to an expression.
So to rank them:
- scripting language
- expression engine
- WASM
- at the end native libraries
The language can catch subtle errors for large codebases