Settings

Theme

Hardest Problem in Computer Science: Centering Things

tonsky.me

13 points by ohadron 2 years ago · 7 comments

Reader

chrisjj 2 years ago

> We, developers, can only mathematically align perfect rectangles.

I've heard that really clever devs can do circles too...

kevincox 2 years ago

The worst part about this is that it requires knowing the font. I generally like to let users use their preferred don't so I don't change the default. So I have no hope.

paulpauper 2 years ago

CSS , tables, and mobile browsers ... shudders

sylware 2 years ago

Looking at implementing my own wayland compositor (finally)... the thought of centering windows properly...

h2odragon 2 years ago

mouse pointer bugs ugh

now im tempted to copy the trick

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection