06:33
<annevk>
It’ll pretty soon be a compat issue to not support response streams
08:06
<annevk>
If anyone can make sense of https://twitter.com/jasonmulligan/status/1053014565028618241 let me know. I've given up
08:21
<Domenic>
Hooooraaaaay more non-interop from the 90s: https://github.com/whatwg/html/issues/4109
08:22
<Domenic>
Anyone want to test Safari
08:24
<annevk>
Domenic: B and C are newlines, TAB is a space
08:24
<Domenic>
annevk: a single space??
08:25
<annevk>
https://irccloud.mozilla.com/file/LGbT6NZZ/Screen%20Shot%202018-10-19%20at%2010.24.47.png
08:25
<annevk>
Sure looks like a single space
08:25
<Domenic>
Amaaaaazing
08:26
<annevk>
Note that it's not normalized
08:26
<annevk>
If I copy the text, it comes out as TAB, VT, and FF
08:26
<annevk>
Which doesn't seem great
08:27
<Domenic>
Oh I don't think it's selectable on most Windows browsers... Let me check
08:43
<TabAtkins>
annevk: Responded; afaict, person is just confused about the API. They think getAll() will return the value itself when the key has only one value (rather than returning a length-1 array).
08:44
<annevk>
TabAtkins: I got that impression too, but their assertion they were not confused made me doubt things
08:44
<TabAtkins>
Also, that nested-filter thing for counting values that show up more than once is nutzo.
08:44
<TabAtkins>
Ah, never trust people to tell you they aren't confused.
08:48
<annevk>
TabAtkins: heh, ta
08:53
<annevk>
TabAtkins: btw, split on comma except inside X
08:53
<annevk>
TabAtkins: I was thinking about this, but I wonder how many specifications need an equivalent algorithm for that
08:54
<annevk>
TabAtkins: e.g., I could use something like it for HTTP header parsing to avoid commas inside double quotes, but it'd have to deal with \" and \\ as well
08:54
<annevk>
TabAtkins: unless there's multiple cases that need it without such escapes (or the same escapes), it prolly doesn't belong in Infra
08:54
<TabAtkins>
Ah, sure. CSS needs to handle \, too, for example.
08:55
<annevk>
But is it exactly identical?
08:56
<TabAtkins>
But eh. Anyway. If you can CSS-parse the value, this is easy - you can just split on "top-level" comma-tokens, because commas in strings or functions or whatever are moved into the values of the other tokens.
08:56
<TabAtkins>
I guess outside of CSS's constraints they're probably too varied right now.
08:57
<annevk>
I'll keep an eye out, but that's my suspicion too
08:57
annevk
is always happy to abstract
09:25
<annevk>
Domenic: did you test newline copy-and-pasting too?
09:25
<annevk>
Domenic: perhaps it's all in the CSS layer / C++^WRust render text layer
09:44
<Domenic>
annevk: oh, no :(. That does impact whether we normalize then display, or say "display all these things the same way"
09:45
<Domenic>
Chrome... doesn't allow selecting the text if it's multiline?!
10:37
<hsivonen>
so frustrating that whether emails should be sent in UTF-8 is still a debate in 2018
10:37
<hsivonen>
I understand that UTF-8 avoidance code had value 20 years ago
10:37
<hsivonen>
it doesn't anymore
10:38
<hsivonen>
hard to get features removed from 20-year-old code bases
10:43
<hsivonen>
TabAtkins: did you have a linkable writeup somewhere that explains that using non-UTF-8 encodings for newly-serialized data has no value?
10:46
<TabAtkins>
Ooh, not that I recall.
10:46
<TabAtkins>
But I might have written it into an email at some point...
10:52
<hsivonen>
TabAtkins: I think I've read an email from you along those lines
10:53
<hsivonen>
TabAtkins: anyway, please don't spend time searching for it, if it's not already in a blogged form
10:59
<TabAtkins>
annevk: lololol that twitter person is now saying that using getAll() all the time is terrible for performance because it's generating unnecessary temp arrays; their own code generates N temp arrays already in the double-filter operation they're performing.
11:00
<TabAtkins>
so yeah, feel free to flip the bozo bit on them, jeez
11:02
<annevk>
I’m sorry, but at least it’s a lil amusing
11:03
<annevk>
hsivonen: https://annevankesteren.nl/2009/09/utf-8-reasons
11:03
<annevk>
hsivonen: kinda web biased though
11:07
<hsivonen>
annevk: thanks. indeed too Web-based for today's windmill
11:27
<nox>
annevk: The useless question of Friday,
11:27
<nox>
annevk: out of sheer curiosity, why is your favicon a tilde?
11:29
<annevk>
nox: this might be retcon, but I think I saw another site use a Unicode code point as logo of sorts (maybe Daring Fireball?), and decided that'd do for me as well, and then picked something that'd look reasonable
11:30
<TabAtkins>
hsivonen: I think I've found a thread you may be thinking of, but it's too CSS-specific for what you need, likely.
11:30
<nox>
Nice.
11:30
<nox>
annevk: I guess I'll choose U+1F956 BAGUETTE BREAD if I ever write a blog.
11:31
<annevk>
hehe
11:32
<annevk>
TabAtkins: that Twitter thread also reminds me of "premature optimization is the root of all evil"
11:33
<annevk>
If it's performance-sensitive code, maybe don't use a JavaScript wrapper object backed by a C++^WRust class to do stuff, just parse yourself in JavaScript
11:46
<hsivonen>
TabAtkins: ok
12:58
<annevk>
Domenic: handing folks a link to https://whatwg.org/faq#spell-and-pronounce is my new favorite thing
13:21
<zcorpan>
Properties that disable -webkit-appearance for form controls differs between macOS and windows ;_;
18:53
<smaug____>
jgraham: what does assert_greater_than_equal assert?
18:53
<smaug____>
why it is not just assert_greater_than ?
18:53
<smaug____>
or does it do >=
18:54
<jgraham>
smaug____: Yes
18:54
<smaug____>
Shouldn't it then be called assert_greater_than_or_equal
18:55
<jgraham>
smaug____: Probably
18:55
<jgraham>
smaug____: Apropos nothing at all, did you see https://web-platform-tests.org/writing-tests/testdriver.html ? The heading at the bottom is broken, but we now have the ability to generate complex series of user gestures in wpt tests
18:56
<smaug____>
great
18:56
<smaug____>
need to convert some mochitests to wpt
23:14
<equalsjeffh>
query: has anyone here used irccloud.com with irc.w3.org ? I'm having trouble getting it to work....
23:16
<equalsjeffh>
@TabAtkins et al -- I ferget where the bikeshed autolinking database github repo is -- anyone have a link handy? thanks
23:55
<domfarolino>
equalsjeffh: Seems like some info would be in here? https://github.com/tabatkins/bikeshed-data