00:56
<Vadim Dalecky>

Implemented Node.js fs API on top of File System Access API (an the other way around), PR: https://github.com/streamich/memfs/pull/916

Live demo: https://streamich.github.io/memfs/ - in the demo if you open dev console, there will be exposed fs global, which allows you to perform all Node.js file system calls, including streams (createWriteStream) and synchronous calls. It runs on top of OPFS. One can use OPFS Explorer to verify: https://chrome.google.com/webstore/detail/opfs-explorer/acndjpgkpaclldomagafnognkcgjignd

02:36
<sideshowbarker>
TabAtkins: Is bikeshed echidna intended to be usable under CI? If so, how do groups use the W3C username and W3C password? I mean in particular, how/where can they store the W3C password value in a GitHub repo? I guess they encrypt it and store it encrypted?
03:16
<sideshowbarker>

Help. Using bikeshed v3.12.1, when I add an Issue Tracking value, that causes bikeshed to fail with this:

Traceback (most recent call last):
  File "/opt/homebrew/bin/bikeshed", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/mike/workspace/bikeshed/bikeshed/cli.py", line 439, in main
    handleSpec(options, extras)
  File "/Users/mike/workspace/bikeshed/bikeshed/cli.py", line 496, in handleSpec
    doc.preprocess()
  File "/Users/mike/workspace/bikeshed/bikeshed/Spec.py", line 144, in preprocess
    self.assembleDocument()
  File "/Users/mike/workspace/bikeshed/bikeshed/Spec.py", line 156, in assembleDocument
    self.lines, self.mdDocument = metadata.parse(lines=self.lines)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mike/workspace/bikeshed/bikeshed/metadata.py", line 1007, in parse
    md.addData(match.group(1), match.group(2), lineNum=line.i)
  File "/Users/mike/workspace/bikeshed/bikeshed/metadata.py", line 169, in addData
    val = md.parse(key, val, lineNum=lineNum)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mike/workspace/bikeshed/bikeshed/metadata.py", line 719, in parseLinkedText
    entries.append((pieces[0], pieces[1]))
                               ~~~~~~^^^
IndexError: list index out of range

Look familiar to anybody?

03:27
<sideshowbarker>

Stepping through it and debugging, I can see there is in fact no pieces[1] there, because bikeshed is doing this:

    for v in vals:
        pieces = v.rsplit(" ", 1)
        entries.append((pieces[0], pieces[1]))

…where

So, the source seems to be assuming v contains at least one space character. But it doesn’t.

06:01
<sideshowbarker>

Now struggling with trying to figure out where bikeshed picks up boilerplate from.

I’m changing the bikeshed/spec-data/readonly/boilerplate/wasm/status-WD.include in my local bikeshed clone, then running pip3 install -e . and bikeshed update — but bikeshed doesn’t seem to be using that boilerplate file. Instead, it seems to be picking up the boilerplate from somewhere else.

06:39
<Andreu Botella>

Now struggling with trying to figure out where bikeshed picks up boilerplate from.

I’m changing the bikeshed/spec-data/readonly/boilerplate/wasm/status-WD.include in my local bikeshed clone, then running pip3 install -e . and bikeshed update — but bikeshed doesn’t seem to be using that boilerplate file. Instead, it seems to be picking up the boilerplate from somewhere else.

https://github.com/speced/bikeshed-boilerplate/
06:42
<youennff>
Adam RiceMattias Buelens, can we finalise https://github.com/whatwg/streams/pull/1271 ?
06:55
<sideshowbarker>
https://github.com/speced/bikeshed-boilerplate/

Thanks. But if I’m just running bikeshed locally, and if I don’t have any bikeshed-boilerplate clone, then I can’t see what it’s doing.

Well, apparently, I can see that it seems to be completely ignoring any changes I make to the bikeshed/spec-data/readonly/boilerplate files in my clone of the bikeshed. So I don’t understand what the purpose of having those bikeshed/spec-data/readonly/boilerplate would be to begin with…

Anyway, I now see that bikeshed is creating a bikeshed/spec-data/boilerplate/ directory (that is, without the readonly), and I guess it does that by downloading the https://github.com/speced/bikeshed-boilerplate/ sources. And I don’t see any way to prevent it from doing that.

So I guess the only way to make local changes is to edit the bikeshed/spec-data/boilerplate/ files after it downloads them, and change those, and then hope I don’t accidentally run something that causes them to be re-downloaded so that my local changes get clobbered.

06:57
<Andreu Botella>
my understanding was that it only updated the boilerplate when you run bikeshed update
08:29
<sideshowbarker>
Andreu Botella: I had been trying with bikeshed echidna (rather than bikeshed spec), and was getting errors back from Echidna that seemed to indicate it was seeing the wrong boilerplate. But I now think those problems are just Echidna quirks rather then Bikeshed issues.
08:31
<sideshowbarker>
Ms2ger: https://www.w3.org/groups/wg/wasm/charters shows that the WebAssembly WG has been out of charter since 2022-07-31 — and because it’s not currently chartered, then apparently there’s no way Echidna will let any updates be published in TR space.
08:31
<Ms2ger>
lol
08:34
<sideshowbarker>
I don’t know of plh doesn’t realize the group is out of charter, or doesn’t realize we can’t auto-publish when it’s out of charter, or what. Regardless, he needs to get the group rechartered or re-extended.
13:19
<Ms2ger>
sideshowbarker: I don't have the time or energy to deal with that, but feel free to mention this to plh :)
15:23
<annevk>
zcorpan: the thing I worry about most with something like <textarea pattern> is that the existing UI is not great: data:text/html,<form><input pattern=[a-z] name=x><input type=submit></form>
15:24
<annevk>
zcorpan: I've heard at least from some developers the desire to constrain what can be used rather than what is valid, which probably requires a more declarative solution
15:24
<annevk>
(and would also allow for matching input modes and such)
15:24
<zcorpan>
annevk: you can use title="Letters only"
15:26
<zcorpan>
seems like it doesn't show up in the message in Safari but works in Firefox and Chrome
15:26
<annevk>
zcorpan: seems that's not universally supported, but also not sure if that ends up being super clear to all users
15:26
<annevk>
ü is a letter in these parts
15:29
<zcorpan>
"Letters in the range a-z, only lowercase", but sure.
15:30
<zcorpan>
annevk: so more like how maxlength works?
15:33
<annevk>
zcorpan: yeah maybe, that one has its own issue with regards to the meaning of length :-)
16:09
<annevk>
zcorpan: filed https://bugs.webkit.org/show_bug.cgi?id=258301 btw
17:55
<TabAtkins>
sideshowbarker: the spec-data/readonly folder is for the version of Bikeshed's data files that ships with the initial install; on first run I immediately move everything up one folder to just be in spec-data (and bikeshed update only changes spec-data folder). I then don't look at readonly ever again.
17:58
<TabAtkins>
If you want to use local versions of boilerplates because whatever's getting downloaded by bikeshed update is bad, ideally gimme a PR at https://github.com/speced/bikeshed-boilerplate, but failing that just put the appropriate boilerplate file next to your spec source. Bikeshed'll use local files over stuff in its database.
17:59
<TabAtkins>
You'll need to set Local Boilerplate as well.