Readit News logoReadit News
bazoom42 commented on Should the web platform adopt XSLT 3.0?   github.com/whatwg/html/is... · Posted by u/protomolecool
thro1 · a day ago
Yes. That's the right solution for the even playground regarding the situation:

Gecko currently has much deeper integration of the XSLT engine with the browser internals: The XSLT engine operates on the browser DOM implementation. WebKit and Chromium integrate with libxslt in a way that's inherently bad for performance ( https://github.com/whatwg/html/issues/11578#issuecomment-321... )

Just Firefox XSLT is faster, better, cheaper than Google's (and JS), same, old Firefox extensions were to powerful Google could compete with Firefox (or block adblocks).

JS is very needed for ads, tracking and other strings attaching - and XSLT is not for that - but would make JS mostly obsolete in many cases.. (only "cross-browser functionality for XSLT is incomplete with certain features like <xsl:text disable-output-escaping="yes"> having open issues" ).

Google pay Mozilla to criple Firefox. It's money from ads, to not let the web be free. Right now, how much $ and CPU power a JS engine could cost, for that, is irrelevant - except for the final user !

bazoom42 · 21 hours ago
Chrome clearly outcompeted Firefox despite Firefox’ faster XSLT implematation, so perhaps the performance of a feature which is almost never used is not that significant either way?
bazoom42 commented on Should the web platform adopt XSLT 3.0?   github.com/whatwg/html/is... · Posted by u/protomolecool
alexmuro · a day ago
I read the Wikipedia on xslt, and as a long time web developer i do not understand at all how this would be useful. Plenty of people here are saying if this tech had taken hold we'd have a better world. Is there a clear example somewhere of why and how?
bazoom42 · a day ago
It is just a special nostalgia for technologies which never became sucessful. They are percieved as more pure and perfect than the messy real world.

Client side XSLT transforms are very rarely useful. It was intended for a vision of the web as a multiude of different XML formats served to end users. Since this didnt happen (for good reasons), XSLT becase less useful. In reality it is only ever used to tranform into XHTML.

It was also touted as a more powerful style sheet since it could rearrange elements and transform semantic elements into tables for presentation. But CSS supports that now in a much better way, and most significantly CSS can react to dynamic updates.

Serving XML to end users only makes sense if someone actully understands the XML format. But only very few XML formats beside XHTML and SVG have any broad support. RSS is one of the few examples, and seem to be the main use case for XSLT.

bazoom42 commented on XSLT removal will break multiple government and regulatory sites   github.com/whatwg/html/is... · Posted by u/colejohnson66
cookiengineer · 2 days ago
I don't understand how WHATWG decides to remove XSLT, contradicting the 30+ years of never break the web doctrine... And simultaneously doesn't want to fix the typeof null specification bug because of, wait for it, Microsoft Exchange 2003 relying on that.

This makes absolutely no sense.

We could've had such a nice language. The efforts for a cleaner language and web platform API were there, but doctrine always said no because of legacy and people have moved on to alternatives now.

bazoom42 · a day ago
WHATWG have removed features before, e.g. frameset, font, and applet elements from HTML. All of them were rarely used and had better alternatives available.
bazoom42 commented on Left to Right Programming   graic.net/p/left-to-right... · Posted by u/graic
sgarland · 5 days ago
It's written that way because it stems from relational algebra, in which the projection is typically (always?) written first.

>The order should be FROM -> SELECT -> WHERE, since SELECT commonly gives names to columns, which WHERE will reference.

Per the SQL standard, you can't use column aliases in WHERE clauses, because the selection (again, relational algebra) occurs before the projection.

> You could even avoid crap like `SELECT * FROM table`, and just write `FROM table` and have the select clause implied.

Tbf, in MySQL 8 you can use `TABLE <table>`, which is an alias for `SELECT * FROM <table>`.

bazoom42 · 5 days ago
> It's written that way because it stems from relational algebra

More likely because this order is closer to typical English sentence structure. SQL was designed to look like English, not relational algebra.

bazoom42 commented on Pfeilstorch   en.wikipedia.org/wiki/Pfe... · Posted by u/gyomu
ForceBru · 8 days ago
Crazy stuff: "white storks that are injured by an arrow or spear while wintering in Africa and return to Europe with the projectile stuck in their bodies", they apparently helped people in 1822 learn that birds migrate?! Was it not widely known before that? Cool!
bazoom42 · 7 days ago
Migration was a theory but really been proven.
bazoom42 commented on 150 years of Hans Christian Andersen   newstatesman.com/culture/... · Posted by u/wholeness
Exoristos · 23 days ago
78% of the world population are religious today, per e.g. Statista.
bazoom42 · 23 days ago
Yeah but not every religious writer considers suffering and death a happy end.
bazoom42 commented on 150 years of Hans Christian Andersen   newstatesman.com/culture/... · Posted by u/wholeness
BizarroLand · 24 days ago
Or the little mermaid, where she failed to get the prince to fall in love with her and fell into the sea, dying and turning into sea foam.
bazoom42 · 23 days ago
She doesn’t turn into sea foam though, she turns into an air spirit, getting the chance of an immortal soul, which is what she was after.
bazoom42 commented on 150 years of Hans Christian Andersen   newstatesman.com/culture/... · Posted by u/wholeness
miningape · 24 days ago
Literally, I can't think of a single happy ending in even one of his stories.

It always ends with death, disappointment, or apathy.

bazoom42 · 24 days ago
Andsersen has some happy endings, eg the Snow Queen or the Ugly Duckling. I guess the Matchstick Girl has the closest to a “happily ever after” ending, since she dies and goes to heaven.
bazoom42 commented on 150 years of Hans Christian Andersen   newstatesman.com/culture/... · Posted by u/wholeness
danneezhao · 24 days ago
When I grow up, I realize that fairy tales are almost lies.It is difficult for princes and princesses to live happily ever after~
bazoom42 · 24 days ago
Does Andersen ever use the “happily ever after” ending?
bazoom42 commented on 150 years of Hans Christian Andersen   newstatesman.com/culture/... · Posted by u/wholeness
nurettin · 24 days ago
I love the story of him tying his horse to a pole in the snow at night only to wake up and look up to see all the snow has melted and his horse is hanging from the roof cross of a church.
bazoom42 · 24 days ago
Are you thinking of Baron Munchausen? That is not an Andersen story.

u/bazoom42

KarmaCake day1513February 5, 2022View Original