Live data from Hacker News

Google is killing the open web, part 2

wok.oblomov.eu

301–310 of 362 posts

Re: Google is killing the open web, part 2

#301

Earlier quoted context omitted.

> (Though I've written repeatedly about my preferred alternative to XSLT) Link to example?

I've previously suggested the XML stylesheet tag should allow which would then allow the script to use the service-worker APIs to intercept and transform the request.

Oh yes sorry I thought you meant you had a blog post or something on it.

Re: Google is killing the open web, part 2

#302

Earlier quoted context omitted.

RSS hasn't gone anywhere. Every podcast my podcast player downloads is announced to it either via RSS or Atom feeds. It has just fallen by the wayside as the way people become aware of updates to websites with serial publication of content (in general: because most people get that information from peer-to-peer link sharing, like Facebook, Twitter, Mastodon, Fark, Reddit, Slashdot, or even this website). They're not e…

Yes while their chosen formats directly aligned with their business get first class citizenship and suffer many larger and well known security issues. Xml will be next just wait.

What would that mean? XML is just text on the wire. If a browser stops supporting it... It's text on the wire. I slurp it in with JavaScript and parse it how I want.

... Actually, that seems like a fine idea...

Re: Google is killing the open web, part 2

#303
post #81

I have yet to read an article complaining about XSLT deprecation from someone who can explain why they actually used it and why it’s important to them. > I will keep using XSLT, and in fact will look for new opportunities to rely on it. This is the closest I’ve seen, but it’s not an explanation of why it was important before the deprecation. It’s a declaration that they’re using it as an act of rebellion.

My guess is that a lot of the controversy is simply because this is one of the first times that a major web feature has been removed from the web standards. For the past 20+ years, people have grown to expect that any page they make will remain viewable indefinitely. It doesn't matter that most people don't like XSLT, or that barely any sites use it. Removing XSLT does break some websites and that violates their expe…

Sounds like EVERYBODY agrees that there isn't sufficient market value then. Even the original maintainer. And the that is indeed why the feature is being dropped: insufficient market value. Happy happy happy!

Re: Google is killing the open web, part 2

#304
post #147

Earlier quoted context omitted.

I would just do this on the server side. You can even do it statically when generating the XML. In fact until all the stuff about XSLT in browsers appeared recently, I didn't even know that browsers could do it.

Converting the contents of an Atom feed into (X)HTML means it's no longer a valid Atom feed. The same is true for many other document formats, such as flattened ODF.

Is an XLST page a valid atom feed? Is it really so terrible to have to two different pages -- one for the human readable version, and one for the XML version?

Re: Google is killing the open web, part 2

#305
post #52

I don't disagree that Google is killing the open web. But XSLT is a pretty weak argument for showing that. It is an extremely complicated feature that is very seldom used. I am very doubtful dropping support is some evil political decision. It is much more likely they just don't want to sink resources into maintaining something that is almost never used. For the specific use case of showing RSS and Atom feeds in the…

I’m on mobile so it’s not easy for me to find the source, but Googles own tracking stats showed more sites use XSLT than use WebUSB.

Re: Google is killing the open web, part 2

#306
post #257

Earlier quoted context omitted.

> Furthermore, you can’t polyfill USB support. You can't polyfill many things. Should we just dump everything into the browser? Well, Google certainly thinks so. But that makes the question about "but this feature is unused, why support it" moot. And Google has no intention to support a polyfill, or ship it with the browser. The same person who didn't even know that XSLT is used on podcast sites scribbled together so…

The distinction in my mind is that if a browser doesn’t ship with XSLT, then devs have to go through the hassle of adding support for it themselves, but if a browser doesn’t support a device driver, it’s completely impossible for devs to do that themselves. Without built-in support, XSLT is inconvenient. Without built-in support, things like WebUSB cannot possibly exist. That’s why I think they can’t be compared dire…

What? If the browser doesn’t support directly accessing USB hardware, it’s impossible to write a driver for it?

Someone should tell the 25+ year old USB devices I use that their drivers are actually impossible.

Re: Google is killing the open web, part 2

#307

Earlier quoted context omitted.

> but deprecating XSLT is a rare opportunity to shrink the surface area of the web’s “API” without upsetting too many people There's a lot of back and forth on every discussion about XSLT removal. I don't know if I would categorize that as 'without upsetting too many people'

We are largely the nerds that other nerds picked on for being too nerdy. I’d bet that a hugely disproportionate share of all the people in the world who care about this subject at all are here in these conversations.

Actual normies don’t think of the Internet at all. They open Facebook The App on their iPads and smartphones and that’s the internet for them.

Passionate nerds giving a shit can build a far more rosy world than whatever that represents, so I don’t see why anyone should give a damn if this happens to be somewhat niche.

Re: Google is killing the open web, part 2

#308
post #306

Earlier quoted context omitted.

The distinction in my mind is that if a browser doesn’t ship with XSLT, then devs have to go through the hassle of adding support for it themselves, but if a browser doesn’t support a device driver, it’s completely impossible for devs to do that themselves. Without built-in support, XSLT is inconvenient. Without built-in support, things like WebUSB cannot possibly exist. That’s why I think they can’t be compared dire…

What? If the browser doesn’t support directly accessing USB hardware, it’s impossible to write a driver for it? Someone should tell the 25+ year old USB devices I use that their drivers are actually impossible.

The context of this thread was “in the browser”. For example, I use a web page to configure my Meshtastic radios which are connected to my laptop via USB. If the browser did not provide an API for web pages to talk to USB devices, no amount of clever JS programming would make it possible for that radio config page to work.

Re: Google is killing the open web, part 2

#309
post #265
post #262

Earlier quoted context omitted.

It's literal W3C policy: https://www.w3.org/TR/html-design-principles/#priority-of-co... --- start quote --- In case of conflict, consider users over authors over implementors over specifiers over theoretical purity. In other words costs or difficulties to the user should be given more weight than costs to authors; which in turn should be given more weight than costs to implementors; which should be given more weight…

I put this in a parallel thread, but maybe this is a linguistic gap between "servant", a person who does what they are told and has very limited agency within the bounds of their instructions, and "service", where you do things for the benefit of another entity. None of the above reads like a "servant-oriented mindset". It reads like "this is the framework by which we decide what's valuable". And by that framework, t…

Nowhere does it say "majority of users".

Moreover, Google docs says that even even 0.0001% shouldn't be taken lightly.

As I keep saying, the person who's pushing for XSLT removal didn't even know about XSLT uses until after he posted "intent to remove", and the PR to remove to Chrome. And the usage stats he used have been questioned: https://news.ycombinator.com/item?id=45958966

Re: Google is killing the open web, part 2

#310

Earlier quoted context omitted.

> not at all approachable for someone who just wants to make a web page If someone wants to make a web page they need to learn HTML and CSS. Why would adding a fragile and little-used technology like XSLT help?

> Why would adding a fragile and little-used technology like XSLT help? A few years ago I bought a bunch of Skylanders for practically nothing when the toys to life fad faded away. To keep track of everything I made a quick and dirty XSLT script that sorted and organized the list of figures and formatted each one based on their 'element'. That would have been murderous to do in plain HTML and CSS: https://wyrm.org/in…

It would have been murderous with just CSS, but it would have been trivial to do with JS, much easier than the hundreds of lines of XSL you wrote. https://wyrm.org/inventory/skylanders.xsl
Post reply on HN