Hacker News new | past | comments | ask | show | jobs | submit | rosslh's comments login

Your comment is some interesting food for thought, but I wanted to respond to a couple statements you made:

> not being able to center text no matter how much frontend experience we have

Not being able to center things is a bit of a meme, but flexbox was introduced back in 2009 and has been supported by major browsers for quite a long time. Centering text and elements is now extremely easy.

> css could benefit from knowing about the dimensions of container elements

You're in luck! Container queries were added to CSS fairly recently:

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_contain...


As someone who has struggled with getting CSS to do normal layout stuff that had clear precise semantics but required weird CSS trickery, it's actually more scary than lucky that stuff like container queries have arrived 30 years after CSS was introduced.

I agree with GP that CSS should be scrapped.


container queries have a very obvious chicken and egg problem if used a certain way: If this container is less than 30px wide, make its content 60px wide. Otherwise make it 20px wide. Now that container exists in a quantum state of being both 30 and 60px wide. I actually haven't looked into container queries to see how they ended up dealing with this yet.

Obviously this is a very contrived example but it can also express itself in subtler ways.


Comeau has a piece on that. Another property to constrain it is the solution.

https://www.joshwcomeau.com/css/container-queries-introducti...


How does using these TLDs exploit "3rd world people"?


I don't think it does directly, but I suppose in a macro sense, by paying for a .io domain you're contributing to the system responsible for the exploitation of these people.

An analogy: a bunch of indigenous people are kicked off their island, and coffee is grown there by the people who evicted them. You buy the coffee, and the people who have the rightful claim to the land don't receive any of the profits.

To add insult to injury, the coffee is named after the island it's grown on, and that's mostly why it's popular - because it's a really good name for coffee (maybe it's called Java Island).

That's basically what the .io domain is.


The .io/.sh/.ac TLDs were effectively invented and run by a British guy; he states some of the resulting profits were shared back with the UK government, which controls those territories, to benefit the inhabitants of such territories; the UK government denies this ever happened. The reality is likely that those people were effectively stripped of their rightful "internet property", in a way not dissimilar from old colonial exploitation.

To be honest, if .io is not handed back to the Chagossian, it would be better to shut it down and turn the page on a pretty shameful page of internet history.


That's funny, doesn't seem to work on firefox though sadly


Ah thanks for letting me know! Will fix for firefox


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

Search: