205 karma · joined Feb 22, 2022 (4y ago) · 93 submissions
comment 4y ago · link · parent
I loved Spotlight until I had to check out several project to my computer. Now with thousands of non-own files it’s really hard to find what I want. Even if I look for my own projects, Spotlight shows the same project as it appears in several node_modules as a dependency. Find out the right one means I have to hold alt on each item. Ludicrous.
comment 4y ago · link · parent
I grew up an immigrant to Switzerland, now I’m an expat in South East Asia.
comment 4y ago · link · parent
Ironically XML allowed namespaces so css:color="red" could have totally been a thing. However CSS came out to separate content from style, so doing that wouldn’t have made much sense. I wouldn’t be surprised if the style attribute was added later.
Edit: wow I was right:
> HTML 3.0 supports style sheets via the use of the LINK element [1]
> HTML 4.0 adds new hooks for style sheets, which suggest how a document is presented. The new ID, CLASS, and STYLE attributes [2]
[1]: https://www.w3.org/MarkUp/html3/intro.html
[2]: https://www2.cs.sfu.ca/~ggbaker/reference/wdghtml401/new.htm...
comment 4y ago · link · parent
comment 4y ago · link · parent
I kinda wish they let people add some text instead of allowing editing, like:
Wouldnt it be nice?
Added: * wouldn’t
I know deletions are still allowed, but they don’t lead to different content.comment 4y ago · link · parent
To answer pragmatically:
- don’t use the style attribute
- you could use XLST, which is style (and more) that uses the same ML
- are you suggesting that CSS and HTML should have the same style? <a style=“color=\”red\””>? I don’t know how that’s better.
Maybe you’re still missing some lecturing: HTML is content and CSS is style. What you’re saying about 3D context would be specified in CSS, in a separate file, so your CSS-in-HTML readability argument (I guess that’s your argument? Who knows) falls pretty flat.
It’s almost the same as complaining that JS doesn’t have the same format as HTML while it totally could, but instead we have JS-in-HTML. Oh how unfair life is.
As far as I can see, you’re just trolling, so thanks for the laughs.
Signed,
<a onclick="this.style.background='url(<svg title=\"🖕\"><rect fill=\"blue\"/></svg>)'">comment 4y ago · link · parent
If any CSS property was also an HTML attribute, any addition to either spec would have to make sure it wouldn’t conflict. One example is the `content` HTML attribute and CSS property. They serve different purposes and have a completely different syntax.
<meta name="description" content="Cool stuff”>
and .css::before {
content: url(image.bmp)
}comment 4y ago · link · parent
comment 4y ago · link · parent
I don’t understand this take. I think it's pretty clear a lot of people use Netflix and YouTube and it's incredibly obvious that they wouldn't want to add an extra $100 for a lesser (read: non-integrated) experience to use it on their TV when the TV can do it natively. Of course I'm going to connect my TV to the internet, that's the only thing I use it for.
I think the only solution here would be for appliance vendors to have a "nutrition box" for privacy and advertising, so the user can pick the least obtrusive TV and the vendor cannot just add ads later.
But in the US I don't see that happening this decade.