@testeronious to [email protected] • 7 months agoHardest Problem in Computer Science: Centering Thingstonsky.meexternal-linkmessage-square20arrow-up1139arrow-down17cross-posted to: [email protected][email protected]
arrow-up1132arrow-down1external-linkHardest Problem in Computer Science: Centering Thingstonsky.me@testeronious to [email protected] • 7 months agomessage-square20cross-posted to: [email protected][email protected]
minus-square@gruelinkEnglish29•7 months agoCentering things is a graphic design problem, not a computer science problem.
minus-square@[email protected]linkfedilink15•7 months agoAs a computer science problem it ends at position = window center / 2 - object width / 2
minus-square@Trollceptionlink0•7 months agoIs not always this simple though. If the window has yet to be spawned in some languages the width will be unavailable, until after. Sometimes the window can be seen before it moves to the center which is a bit jarring.
minus-square@UckyBonlinkEnglish2•7 months agoThat’s a pretty good summary of the article actually. The design is bad because the people who made the tools are doing a bad job.
minus-squareChaoticNeutralCzechlinkfedilink-3•edit-27 months agoThe hardest graphic design problem is indıcatıng sarcasm in a way only autıstıc people notice. Edit: this was sarcasm, and so is the artıcle’s tıtle.
Centering things is a graphic design problem, not a computer science problem.
As a computer science problem it ends at position = window center / 2 - object width / 2
Is not always this simple though. If the window has yet to be spawned in some languages the width will be unavailable, until after. Sometimes the window can be seen before it moves to the center which is a bit jarring.
That’s a pretty good summary of the article actually.
The design is bad because the people who made the tools are doing a bad job.
The hardest graphic design problem is indıcatıng sarcasm in a way only autıstıc people notice.
Edit: this was sarcasm, and so is the artıcle’s tıtle.