Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Hardest Problem in Computer Science: Centering Things (tonsky.me)
13 points by ohadron on April 16, 2024 | hide | past | favorite | 7 comments


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

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


Except for Adobe (in the case of PDF) where they can only draw Bézier curves.


By 'do' I meant only align :)


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.


CSS , tables, and mobile browsers ... shudders


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


mouse pointer bugs ugh

now im tempted to copy the trick




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: