Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Hardest Problem in Computer Science: Centering Things | Better HN
Hardest Problem in Computer Science: Centering Things
(opens in new tab)
(tonsky.me)
13 points
ohadron
1y ago
7 comments
Share
7 comments
default
newest
oldest
chrisjj
1y ago
> We, developers, can only mathematically align perfect rectangles.
I've heard that really clever devs can do circles too...
PaulHoule
1y ago
Except for Adobe (in the case of PDF) where they can only draw Bézier curves.
chrisjj
1y ago
By 'do' I meant only align :)
kevincox
1y 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
1y ago
CSS , tables, and mobile browsers ... shudders
sylware
1y ago
Looking at implementing my own wayland compositor (finally)... the thought of centering windows properly...
h2odragon
1y ago
mouse pointer bugs ugh
now im tempted to copy the trick
j
/
k
navigate · click thread line to collapse