this post was submitted on 19 Apr 2025
177 points (98.9% liked)

Today I Learned (TIL)

7314 readers
3 users here now

You learn something new every day; what did you learn today?

/c/til is a community for any true knowledge that you would like to share, regardless of topic or of source.

Share your knowledge and experience!

Rules

founded 2 years ago
MODERATORS
177
submitted 3 days ago* (last edited 3 days ago) by vatlark@lemmy.world to c/til@lemmy.ca
 

The theorem has been expressed colloquially as "you can't comb a hairy ball flat without creating a cowlick" or "you can't comb the hair on a coconut".

you are viewing a single comment's thread
view the rest of the comments
[–] nogooduser@lemmy.world 5 points 3 days ago (13 children)

It would be better to handle it by detecting what device you’re on rather than having encoded into the url. That way it wouldn’t matter what device the page was shared from.

[–] sga 4 points 3 days ago* (last edited 3 days ago) (7 children)

usually it is just a redirection. One of the reasons wiki does this is that their stack is more older device friendly (for the most part, you can use wikipedia perfectly fine without any js), and having adaptive view usually requires js (there are some other ways too), but wiki is constrained. So when browser recieves a request from a mobile user agent, they just redirect to mobile site.

[–] jagged_circle@feddit.nl 3 points 3 days ago (1 children)

Its not just old devices. I turn js off for security. There's a whole class of high-risk users that this is for. Even on modern hardware and software.

[–] sga 1 points 3 days ago* (last edited 3 days ago)

me too, i was simplifying it. I have a global js disable rule, and whitelist a shorter list

load more comments (5 replies)
load more comments (10 replies)