222 private links
Another small compiler to add, substract, multiply and divide numbers
"typed css variables". @property adds some feature, but I don't find excellent use cases for now.
A great thing would be an implementation in #rust as a small #project #idea
See the page 38-45 computer science PDF of Andy Pavlo: https://15721.courses.cs.cmu.edu/spring2024/slides/05-execution2.pdf
Extension Trait pattern
This is a crash course in the Rust programming language. It's written with a specific audience in mind: software engineers who know how to program in a high-level language but aren't familiar with lower-level programming and want to learn to write Rust quickly.
Simple IO components and the ones that contains stateful logic :)
Maybe useful someday
A short and efficient one
Because it's far easier to find code with the Search file feature of your code editor when it's in a descriptive filename (client.rs, email.rs, payments.rs...) than if everything is stashed in 10 different mod.rs or lib.rs files.
A thin HTTP API interface pattern.
This is what we often build in UIs with JS to interface with backends.
Didn't read, but it can be useful someday
A lightweight version of the builder pattern
anyhow
works well.
A lot of confusion around unwrap(), I think, comes from well meaning folks saying things like “don’t use unwrap(),” when what they actually mean is “don’t use panicking as an error handling strategy.”
Of course, when possible, pushing runtime invariants to compile-time invariants is generally preferred. Then one doesn’t have to worry about unwrap() or assert! or anything else. The invariant is maintained by virtue of the program compiling. Rust is exceptionally well suited to pushing a lot of runtime invariants to compile-time invariants. Indeed, its entire mechanism of maintaining memory safety depends crucially on it.
- aspect-ratio
- objectif-fit
- martin-inline and logical properties
- text-underline-offset
- outiline-offset
- scroll-margin
- color-scheme
- accent-color
- width: fit-content
- overscroll-behavior
- texte-wrap
- scrollbar-gutter
A great example of what the popover API can achieve