A Pixel Is Not a Little Square! https://alvyray.com/Memos/CG/Microsoft/6_pixel.pdf (more relevant in this age of high DPI screens)
miniblog.
Related Posts
A fun idea for a Ruby test runner: run all the tests, most relevant first, but never run for more than 1.8 seconds!
TIL that Rust has a (i) icon that shows relevant traits that a type implements. This is useful to understand that e.g. .iter() on a Vec<T> iterates with &T.
https://doc.rust-lang.org/std/vec/struct.Vec.html#method.iter
It looks like one of my bug reports was mentioned, so I'm delighted but wish I'd noticed earlier!
The TypeScript docs have IDE-like hover types on all the examples, which is really impressive.
I also like how the second example always shows the type of the relevant part, regardless of mouse position. It's clear and mobile friendly.
Screenshot from https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types


