Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Hardest Problem in Computer Science: Centering Things
(
tonsky.me
)
13 points
by
ohadron
on April 16, 2024
|
hide
|
past
|
favorite
|
7 comments
chrisjj
on April 16, 2024
|
next
[–]
> We, developers, can only mathematically align perfect rectangles.
I've heard that really clever devs can do circles too...
PaulHoule
on April 16, 2024
|
parent
|
next
[–]
Except for Adobe (in the case of PDF) where they can only draw Bézier curves.
chrisjj
on April 16, 2024
|
root
|
parent
|
next
[–]
By 'do' I meant only align :)
kevincox
on April 17, 2024
|
prev
|
next
[–]
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
on April 16, 2024
|
prev
|
next
[–]
CSS , tables, and mobile browsers ... shudders
sylware
on April 16, 2024
|
prev
|
next
[–]
Looking at implementing my own wayland compositor (finally)... the thought of centering windows properly...
h2odragon
on April 16, 2024
|
prev
[–]
mouse pointer bugs ugh
now im tempted to copy the trick
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I've heard that really clever devs can do circles too...