TIL (about the Dark Arts of HTML)
-
-
@Zecc That's not any worse than roman numerals, or many other numeric systems, really. Writing systems are a mess. News at 11.
(most of Unicode complexity really comes from the scripts themselves, then some from the backward compatidebility it strives for and only a bit from genuinely stupid decisions in its design)
-
@Bulb said in TIL (about the Dark Arts of HTML):
That's not any worse than roman numerals
That was my immediate thought as well: roman numerals are worse.
I don't expect the ancient Romans ordered their numbers alphabetically though.
-
@Zecc Chinese don't order their numbers alphabetically either. As far as I can tell, numbers are sorted numerically everywhere.
-
@Zecc linked to article in TIL (about the Dark Arts of HTML):
I’ve complained before that modern computing tools often ignore modern languages. Usually it’s not outright racism – just an ignorance of how the world works and how people interact with machines.
You don’t say!
I’m relieved you came to a sensible conclusion but that you even entertained that thought as a possibility makes you bordering on retarded.For some time now (since at least the days of Windows XP), there have been options for numerical file name sorting. But of course, everything that desktop software learned over decades has to be relearned on the web (even today, Google Docs does this wrong).
This guy gets it.
-
@Bulb said in TIL (about the Dark Arts of HTML):
@Zecc Chinese don't order their numbers alphabetically either. As far as I can tell, numbers are sorted numerically everywhere.
Braino. I meant phonetically (and it the context of dictionaries). At least that's what the article seems to suggest, but admittedly I did not go looking further into this.
-
@Zecc said in TIL (about the Dark Arts of HTML):
@Bulb said in TIL (about the Dark Arts of HTML):
@Zecc Chinese don't order their numbers alphabetically either. As far as I can tell, numbers are sorted numerically everywhere.
Braino. I meant phonetically (and it the context of dictionaries). At least that's what the article seems to suggest, but admittedly I did not go looking further into this.
The article says that comes up from some of the half-baked sorting algorithms, not that it's what should be done.
It also says there are multiple ways to sort Chinese characters. As in, there are two kinds of dictionaries, one that sorts the characters by pronunciation and one that sorts the characters by their shape. So the the system still needs to have an option for the user to select the default sort, though that shouldn't affect numbers, because numbers should reasonably be sorted numerically either way.
-
… and then there are other funny cases like numbers in Arabic text. Because numbers are always to the left of Arabic text whether they are logically before or after the text! Because if you start with a number, it will be left-to-right, so printing starts on the left and then switches to right-to-left for the word, but if you start with a word, it will be right-to-left and then switch left-to-right for the number. If the UI uses the initial direction for alignment they'll be aligned differently, but that may not be the case…
-
@Bulb The rule is “put the alphabetic characters in logical order, whatever the language says that is, and let the rendering engine figure out how to draw the glyphs and where” with the defined logical order for “arabic” numerals being large-valued-position to small-valued-position.
-
@dkf Yes, it is. My point is that rendered it looks the same whether the number is first or last in logical order, so from looking at the list you can't tell what the logical order is, but of course sorting will be according to the logical order.
-
@Zecc please justify fedora.
-
@Gribnit said in TIL (about the Dark Arts of HTML):
@Zecc please justify fedora.
Weird ask, but here.
-
@dkf which immediately breaks without zero padding for many mixed length formats.
-
@Gribnit said in TIL (about the Dark Arts of HTML):
@dkf which immediately breaks without zero padding for many mixed length formats.
Sorting strings is its own whole nasty ball of wax. Doing the job properly really requires knowing what language the strings are in; mixed language texts are horrible in this regard, and will sort wrongly for someone. In the absence of knowing the language rules, the best you can do is usually case-semi-sensitive (so
A,a,B,b,C,c,D,d
instead ofA,B,C,D,a,b,c,d
) for the non-digit substrings (using the unicode encoding for the non-alpha characters) and numerically for the interspersed substrings of digits; strings that start with digits are treated as having an empty non-digit prefix. (It turns out that this doesn't handle negative numbers or fractional decimals right, but nobody really cares about those cases much.)It's a complicated-sounding algorithm, but it generates results that users like, especially when they've put timestamps in their filenames.
-
TIL the song Personal Jesus was kind of a spoof of AT&T ad campaign from the 80s.
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL the song Personal Jesus was kind of a spoof of AT&T ad campaign from the 80s.
That makes it totally not gay, so you're off the hook for making out with that dude to it.
-
TIL that the word "mercurial" apparently has meanings unrelated to mercury.
-
@topspin The article even says so:
(That's mercurial as in unpredictable, not Mercurial as in the version control system of the same name.)
... 8 paragraphs into the article.
-
@JBert said in TIL (about the Dark Arts of HTML):
The article even says so
-
@JBert said in TIL (about the Dark Arts of HTML):
@topspin The article even says so:
(That's mercurial as in unpredictable, not Mercurial as in the version control system of the same name.)
... 8 paragraphs into the article.
Mercurial is not an uncommon word. I mean it's even in The Arms And Equipment Guide.
-
Discovered in 2012, TIL about this PsyOps spider:
-
@topspin said in TIL (about the Dark Arts of HTML):
TIL that the word "mercurial" apparently has meanings unrelated to mercury.
It has the same connotations in German, by the way.
-
@topspin said in TIL (about the Dark Arts of HTML):
TIL that the word "mercurial" apparently has meanings unrelated to mercury.
Looks like a case of an overclocker big enough to bitch the chip won't run outside spec, starting to do so.
-
@Rhywden also spanish
-
@Rhywden said in TIL (about the Dark Arts of HTML):
@topspin said in TIL (about the Dark Arts of HTML):
TIL that the word "mercurial" apparently has meanings unrelated to mercury.
It has the same connotations in German, by the way.
“Quecksilber(haltig)“ has connotations??
-
@topspin said in TIL (about the Dark Arts of HTML):
@Rhywden said in TIL (about the Dark Arts of HTML):
@topspin said in TIL (about the Dark Arts of HTML):
TIL that the word "mercurial" apparently has meanings unrelated to mercury.
It has the same connotations in German, by the way.
“Quecksilber(haltig)“ has connotations??
The adjective "mercurial" translates to "quecksilbrig". It's a slightly outdated term but still valid.
-
@Rhywden said in TIL (about the Dark Arts of HTML):
@topspin said in TIL (about the Dark Arts of HTML):
@Rhywden said in TIL (about the Dark Arts of HTML):
@topspin said in TIL (about the Dark Arts of HTML):
TIL that the word "mercurial" apparently has meanings unrelated to mercury.
It has the same connotations in German, by the way.
“Quecksilber(haltig)“ has connotations??
The adjective "mercurial" translates to "quecksilbrig". It's a slightly outdated term but still valid.
Trismagestic did not fare nearly as well.
-
TIL A Fistful of Dollars is a ripoff of Japanese movie Yojimbo. It's such a blatant ripoff that they were sued and settled for 15% of worldwide revenue.
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL A Fistful of Dollars is a ripoff of Japanese movie Yojimbo. It's such a blatant ripoff that they were sued and settled for 15% of worldwide revenue.
Welcome to the world of Kurosawa appreciation. Would you like any other experiences ruined today?
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL A Fistful of Dollars is a ripoff of Japanese movie Yojimbo. It's such a blatant ripoff that they were sued and settled for 15% of worldwide revenue.
Quite a few famous westerns are remakes of Japanese movies, even if not as blatant. Akira Kurosawa was a master of the genre.
-
@Bulb said in TIL (about the Dark Arts of HTML):
@Gribnit This is a general category thread, not a trolleybus garage one. Agreeing is permitted here.
-
TIL neither
curl
norwget
are willing to aim (test) requests at a link-local IPv6 address.
-
@PleegWat said in TIL (about the Dark Arts of HTML):
TIL neither
curl
norwget
are willing to aim (test) requests at a link-local IPv6 address.How does one even write an URL with an IPv6 address?
-
@Bulb Square brackets. Which then need to be percent-encoded because they're not valid in URLs otherwise. So in theory the following would be the correct way to indicate a site living at link-local IPv6 address fe80::aabb:ccff:fedd:eeff on interface eth0:
http://%5bfe80::aabb:ccff:fedd:eeff%25eth0%5d/
If you have a local webserver running on port 8000 the following will work:
http://%5b::1%5d:8000/
-
@PleegWat … try encoding the
:
s too, they also have special meaning in the authority part.
-
@Bulb hey, no fair, he told you that by including an example with a port. At that point, since you know he knows what he needs to know but just doesn't know he knows, you are morally required to mislead and infuriate them.
-
@Gribnit That obligation is only applicable in the . This isn't the .
-
@Bulb said in TIL (about the Dark Arts of HTML):
@Gribnit That obligation is only applicable in the . This isn't the .
This exists at all times. Let no one lead another. Constant malice is the price of freedom.
-
I typod and accidentally googled "wg". The very first result was Wohngemeinschaft. TIL a new word, but why, why is this the first result!?
-
@Gąska said in TIL (about the Dark Arts of HTML):
I typod and accidentally googled "wg". The very first result was Wohngemeinschaft. TIL a new word, but why, why is this the first result!?
Google thinks it's time for you to be German again?
-
@Gąska said in TIL (about the Dark Arts of HTML):
I typod and accidentally googled "wg". The very first result was Wohngemeinschaft. TIL a new word, but why, why is this the first result!?
You have your orders, carry them out. Those Wohngem aren't going to einschaft themselves.
-
This thing wasn't quite as forgotten as the headline implies, but TIL:
-
TIL about Quora Partner Program. They pay people money for asking questions that attract high traffic. Explains why there's so much stupid shit over there.
-
That makes no sense. Yahoo Answers conclusively proved that you don't need to pay people to get stupid questions.
-
@Zerosquare you're assuming people other than Yahoo employees posted there.
-
But how could a company hire so many idiots...
...wait, it's Yahoo we're talking about. Never mind.
-
@Zerosquare said in TIL (about the Dark Arts of HTML):
But how could a company hire so many idiots...
My thoughts at pretty much every company I work for.
-
In a fine enough layer, salt slicks glass.
-
TIL Scottish mythology has literal furries, who change from humans into animals by putting on a suit.
-
@Gąska yeah, bet a buck you find it in Poland too if you go back far enough.
ed. he's making me check the bhagavad gita for furries