Y
Hacker News
new
|
ask
|
show
|
jobs
Hardest Problem in Computer Science: Centering Things
(
tonsky.me
)
13 points
by
ohadron
798 days ago
5 comments
chrisjj
798 days ago
> We, developers, can only mathematically align perfect rectangles.
I've heard that really clever devs can do circles too...
link
PaulHoule
798 days ago
Except for Adobe (in the case of PDF) where they can only draw Bézier curves.
link
chrisjj
798 days ago
By 'do' I meant only align :)
link
kevincox
797 days 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.
link
paulpauper
798 days ago
CSS , tables, and mobile browsers ... shudders
link
sylware
798 days ago
Looking at implementing my own wayland compositor (finally)... the thought of centering windows properly...
link
h2odragon
798 days ago
mouse pointer bugs ugh
now im tempted to copy the trick
link
I've heard that really clever devs can do circles too...