01:55 | <sideshowbarker> | yipes “No server is currently available to service your request.” from GitHub |
01:55 | <sideshowbarker> | never seen that one before |
02:02 | <sideshowbarker> | big AWS failure affecting many sites maybe? |
02:04 | <sideshowbarker> | ah, maybe just Japan |
08:36 | <annevk> | foolip: you around? Does https://github.com/whatwg/sg/pull/160#pullrequestreview-744777669 seem reasonable? |
08:48 | <sideshowbarker> | hsivonen: reviewing and testing and merging the ambiguous-ampersand patch took me a bit longer than I had anticipated, but with it landed now, I’m super glad — no more need for a separate branch of the parser for the HTML checker, and now we have CI working (so we can catch regressions later, etc.) |
08:50 | <hsivonen> | hsivonen: reviewing and testing and merging the ambiguous-ampersand patch took me a bit longer than I had anticipated, but with it landed now, I’m super glad — no more need for a separate branch of the parser for the HTML checker, and now we have CI working (so we can catch regressions later, etc.) |
08:50 | <sideshowbarker> | hsivonen: thank you for making that code a lot nicer :) |
08:51 | <annevk> | jgraham: for Test Utils, the Workstream is now approved. https://github.com/whatwg/meta/blob/main/NEW-STANDARD.md has a checklist. Is there an existing repo that will be moved or do you need a new one? When do you want to work on this? |
08:56 | <sideshowbarker> | hsivonen: the only remaining big thing about making the standalone Java version of parser spec-conforming is the encoding stuff — as discussed in https://github.com/validator/htmlparser/pull/48. As mentioned at https://github.com/validator/htmlparser/pull/48#issuecomment-691654072 I’d thought that could be addressed by merging in the changes from the encodings branch. But since that branch is now gone, I guess the changes there were never intended to end being released anyway? |
08:57 | <hsivonen> | The encoding stuff was intended to be released, but when it became clear it wasn't progressing to a releaseable state, I stashed it away. |
08:57 | <sideshowbarker> | OK |
08:59 | <sideshowbarker> | well since without those encoding changes the Java parser doesn’t pass the html5lib encoding tests, I can’t recall now how I made CI pass without them. I assume I must just somehow have it skipping those tests. |
08:59 | <hsivonen> | The html5lib tests just test the labels and not the encoding tables, right? |
08:59 | <hsivonen> | You did land spec-compliant labels, IIRC. |
09:00 | <sideshowbarker> | OK maybe I just need to quit fretting about it |
09:01 | <sideshowbarker> | I just vaguely recall that we still have some significant failures when running some of the html5lib encoding tests — maybe some that we have to flip on some non-default things to actually enable testing for, I dunno |
09:02 | <sideshowbarker> | I guess should just go back and look at my code and see |
09:04 | <sideshowbarker> | ideally it would just seem nice to be able to assert “this is a fully spec-conforming parser” with confidence — and document it with passing tests |
09:05 | <sideshowbarker> | but the existence of https://github.com/validator/htmlparser/pull/48 makes me think we can’t actually do that yet |
09:06 | <sideshowbarker> | (all the encoding stuff really bewilders me — even after I were to look back at the code, I think it would take me quite a bit of time to get back again to whatever marginal understanding of it I managed to arrive at when I’d hacked on it previously) |
09:08 | <sideshowbarker> | anyway, hsivonen and annevk in other news: I remember previously being subscribed to a Mozilla mailing list where, when there was some W3C spec transition or charter out for AC review, dbaron would post FYI messages asking if anybody wanted to send comments or objections as part of the review |
09:09 | <sideshowbarker> | but I either no longer seem to be on that list — or else no such FYI-about-AC-review messages are going out any longer to whatever list that is |
09:09 | <hsivonen> | The list is dev-platform. Not sure if Tantek has systematically posted such messages or not. |
09:10 | <sideshowbarker> | ah OK thanks — I’m pretty sure I’m still subscribed to dev-platform and getting messages from it |
09:11 | <hsivonen> | (encoding_rs has some nice properties that logically make it nicely compilable to efficient Java byte code. Sadly, related tools are too general instead of being customized to those nice properties.) |
09:12 | <hsivonen> | (The nice properties being: Reading and writing from caller-provided arrays, static read-only arrays and otherwise allocating only on the stack.) |
09:14 | <sideshowbarker> | wow well I would really love to have a good reason to work on Rust sources for a change, rather than doing all in Java |
09:15 | <hsivonen> | I think the the approach that wouldn't involve the yak shave of a custom compiler would be compiling to asm.js and then cleaning that up manually as Java as a one-time operation. |
09:16 | <hsivonen> | Still might be easier to write Java manually from the spec. |
09:16 | <hsivonen> | The main problem with compiling to wasm and then converting wasm to Java byte code is the loss of Java char arrays as Rust u16 arrays. |
09:18 | <hsivonen> | Or, rather, Rust u16 slices. |
09:19 | <jgraham> | annevk: https://github.com/jgraham/browser-test/ is the existing repo |
09:20 | <jgraham> | I strongly advise against getting me to make an icon :) |
09:31 | <annevk> | jgraham: it's the best part :-) |
09:50 | <jgraham> | Many years ago I had a simple Firefox extension and I got some feedback asking for a toolbar button. Afterwards I got feedback complaining I'd let a toddler design the icon. |
11:24 | <Ms2ger 💉💉> | Did you? |
12:25 | <jgraham> | Yes? |
12:27 | <jgraham> | Dunno how one would find it now given it previously probably worked with Firefox 3 or something |
13:02 | <annevk> | Domenic: so when I run make deploy I get a .spec.whatwg.org directory rather than a SHORTNAME.spec.whatwg.org directory and I don't really understand why |
13:03 | <annevk> | Domenic: maybe it's a macOS thing that sed -n 's#./([^.])(.git)?#\1#p' ends up returning the empty string for the given input |
13:03 | annevk | vaguely recalls some issues with macOS and sed |
13:03 | <Andreu Botella (he/they)> | I get the right directory name on Linux, if that's worth for anything |
13:04 | <annevk> | Thanks, I guess that means I ought to look into it being a macOS thing and perhaps copy-and-paste something from the previous solution |
13:11 | <freddy> | maybe there are different sed s and you can install gnu-sed? |
13:13 | <annevk> | I'd rather not require that for these kind of scripts, although in practice I wonder how many people end up running make deploy or equivalent |
13:56 | <stephanluis> | Hi everyone! |
14:03 | <stephanluis> | Was wondering the history behind a html5 tag <input type='duration'> for periods of time which don't require time localisation. For example if I build a countdown clock that allows users to input a start time, HTML5 has no input type that will have the great functionality of the input-time but not be affected by local time formatting. The situation seems odd, why is there not a control to input hours, minutes, seconds and milliseconds especially since these units are used around the world? |
14:05 | <Domenic> | I'd rather not require that for these kind of scripts, although in practice I wonder how many people end up running make deploy or equivalent |
14:08 | <jgraham> | Did you? |
14:17 | <Ms2ger 💉💉> | hs-ivonen taught me reparsing is bad |
14:27 | <jgraham> | If you don't think humans are full of security vunerabilities, I have some horse drugs to sell you :) |
14:52 | <annevk> | Andreu Botella (he/they): Domenic: does git config --local remote.origin.url | sed 's/.*\///' | sed 's/.git//' work for you? |
14:54 | <Domenic> | Yes |
15:03 | <Andreu Botella (he/they)> | Same here |
15:16 | <annevk> | Thanks, I'll send a PR |
15:23 | <annevk> | stephanluis: in theory you can control localization through the lang attribute, but I'm aware of implementations |
15:32 | <stephanluis> | Yes, I've looked into that and it's too unreliable. Additionally my specific implementation is a JS plugin, so don't want to update the language for the user's page. Why isn't a duration type input part of the spec? It seems universally useful. |
15:34 | <annevk> | I'm somewhat surprised by the renewed relevance of the The Unpaired Surrogates and Lone Surrogates band names. Maybe it's time to start playing an instrument. |
15:36 | <annevk> | stephanluis: I don't recall. Perhaps it was discussed, but you'd have to go back pretty far in the archives. Most of the "new" input types were added in 2006 if I remember correctly. |
15:36 | <annevk> | https://lists.w3.org/Archives/Public/public-whatwg-archive/ / https://lists.whatwg.org/pipermail/whatwg-whatwg.org/ |
15:37 | <stephanluis> | Wow! And the process for amending the spec to include a new input type? |
15:37 | <annevk> | Oh, no, they were added in 2004 in Web Forms 2.0 (private draft end of 2003 I think), implemented in 2006 by Opera. |
15:38 | <annevk> | stephanluis: https://whatwg.org/working-mode#changes and https://whatwg.org/faq#adding-new-features |
15:39 | <stephanluis> | If I were to look back through the archive what reasons for not including duration would preclude it from being later accepted? |
15:52 | <stephanluis> | This duration input is such a generic idea it's hard to imagine why it's not an exposable base class to input time? |
15:56 | <stephanluis> | ... in most browser implementations. |
16:08 | <annevk> | I think at this point it would probably be judged based on need, amount of workarounds people deploy for it, etc. You might also want to look at the Open UI effort to see if they are tackling it. |
16:08 | <annevk> | The archives could be useful for understanding why it didn't happen back then, if it was even suggested. |
16:13 | <stephanluis> | are these the people https://open-ui.org/ ? |
16:18 | <annevk> | Yeah, that looks correct |
16:20 | <stephanluis> | To me it's weird, but not many people seem to think they require this control but seem put up with converting from strings or multiple text boxes to separate units. To me it seems like a glaring omission. Writing a polyfill doesn't seem to be the correct approach? What would you recommend? |
16:22 | <stephanluis> | (I'll be away from my console for a couple hours, can resume the conversation later.) Thanks for your guidance ! |
23:27 | <sideshowbarker> | Domenic: about the sed thing, I think the /p flag is GNUism — not in BSD sed |
23:27 | <sideshowbarker> | I’m not sure what the equivalent is in non-GNU sed for the combination of -n and the /p flag |
23:30 | <sideshowbarker> | ah at https://matrixlogs.bakkot.com/WHATWG/2021-09-02#L54 I see that Anne already came up with a fix |