256 private links
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
An awesome guide about the newtypes pattern. Great writing btw!
I would call it an esoteric programming language. The syntax is funny thought.
Josh Comeau writes excellent blog posts about programming topic. This one is also great!
About the level 3 and level 4 of CSS grid
Awesome slides
Implementations of UUIDv7 in Python, Javascript, SQL (+PostgreSQL), Shell, Java, C#, C++, C, PHP, Go, Rust, Kotlin, Ruby, Lua, Dart, Swift, R, Elixir and Zig.
It is funny to get these rights.
- Add display in the keyframes to set display none at the end of the keyframe
transition-behavior: allow-discrete
(but it does only work on chromium at the moment https://caniuse.com/?search=allow-discrete)
- There are many cases.
- It is dynamic.
- There is this handling of extra seconds... leap seconds: google hacks it by adding an extra ms to each second or minute to avoid it.
but limited to the amalgamation
How to build a basic modern webring. An example of Web components.
How to implement fluid typography and layout with a simple example. That's great :)
Media queries can be nested in css classes and that's awesome!