08:22 | <Domenic> | Hello, We just released the first version of Ada, a spec compliant url parser, which is also the successor of Node.js's URL parser. https://github.com/ada-url/ada/releases/tag/v1.0.0 |
09:37 | <Andreu Botella> | huh, I show up twice as a co-author in https://github.com/web-platform-tests/wpt/commit/14151646ae4684a32638d73187381fc0ed86e2c8 |
09:45 | <annevk> | Andreu Botella: you were listed twice with separate email addresses and I didn't want to presume so I kept both |
09:46 | <annevk> | Also, congrats to you and Luca Casonato for getting that feature done. I'm personally quite happy Headers now has full HTTP parity |
09:47 | <Andreu Botella> | thanks! 🎉 |
09:47 | <Andreu Botella> | I still have the task of convincing the TAG and the Chromium API owners that it's a good idea though 😅 |
09:50 | <Andreu Botella> | about that, I kept my personal email as the github default, since not everything open-source I do is related to Igalia, but that causes trouble when committing suggestions |
09:52 | <Luca Casonato> | thanks annevk! happy that this is landed now :) |
11:08 | <jgraham> | A C++ implementation of the URL standard called Ada? Maybe next we can have a Java implementation called Rust? ;p |
13:02 | <annevk> | I guess we may or may not have all the Twitter bots breaking on us: https://twitter.com/TwitterDev/status/1621026986784337922 vs https://twitter.com/elonmusk/status/1622082025166442505 |
13:31 | <jub0bs> | I've just published a post about what a good CORS middleware library should look like. Feedback welcome! https://jub0bs.com/posts/2023-02-08-fearless-cors |
13:34 | <jub0bs> | It's quite long, but I've broken it down into 12 principles, so you can dip in and out 😇 Thanks to sideshowbarker, who kindly agreed to review an early draft of the post 🙏 |
13:55 | <Yagiz Nizipli> | A C++ implementation of the URL standard called Ada? Maybe next we can have a Java implementation called Rust? ;p |
13:56 | <Yagiz Nizipli> | Ada also means "island" in Turkish |
14:00 | <annevk> | I'm just gonna assume the vCard way to specify Mastodon is X-SOCIALPROFILE;type=mastodon:[URL] which is near identical to what I have for Twitter, but if that can be improved let me know |
14:03 | <jgraham> | Yagiz Nizipli: Congratulations in advance on the child :) |
14:13 | <annevk> | johannhof: could you please fix the URL Standard build error as I believe you said you would? If you're otherwise occupied I can take care of it though |
14:19 | <johannhof> | annevk: ah, thanks for reminding me. I can take care of it, but need a few mins to get back to a computer :) |
14:19 | annevk | is reminded of Chris Pine |
14:27 | <jgraham> | I C what you did there |
14:29 | <Yagiz Nizipli> | We're looking to implement domain to ascii algorithm of URL spec to drop the ICU requirement of Ada. It's an ongoing process at https://github.com/ada-url/idna. Is there an example implementation other than ICU for it? |
15:02 | <annevk> | hsivonen: I vaguely recall you looking into the above? |
15:03 | <annevk> | Yagiz Nizipli: there's also https://github.com/mathiasbynens/punycode.js though be mindful of https://github.com/jsdom/whatwg-url/issues/239 |
15:22 | <annevk> | Yagiz Nizipli: it might make sense to list Ada in https://github.com/whatwg/spec-factory/blob/main/factory.json and https://github.com/whatwg/meta/blob/main/MAINTAINERS.md; at some point we probably need a better system for that, but I don't think we hit the breaking point yet |
15:36 | <Yagiz Nizipli> | annevk: Yes, Ada is merged into Node.js. I think we should add Ada. We have a Github workflow for keeping our tests in sync with WPT - https://github.com/ada-url/ada/blob/main/.github/workflows/wpt-updater.yml. Might be a good idea to recommend such approach to all implementers, in order to reduce the non-automated part of compliance. |
15:42 | <annevk> | Yagiz Nizipli: I see, I guess in that case for URL we may no longer need to ping Node.js directly? It would be good to keep it to one of the projects in any case |
15:47 | <Yagiz Nizipli> | annevk: I'd still recommend keeping Node.js in the loop. There are some folks who might be interested & informed about the changes. If other runtimes will adopt Ada, we might drop them and just keep Ada for creating issues. |
15:48 | <Yagiz Nizipli> | annevk: Due to the missing tests on WPT, Ada can't test every change directly, simply because we don't have a JS layer to test it on. If this wasn't the case, it would be a lot easier to maintain and the need to inform Node.js would significantly decrease. |
15:52 | <annevk> | Yagiz Nizipli: to be clear, you cannot modify the template on whatwg/url directly, you'll have to modify the files I linked above |
20:54 | <hsivonen> | annevk Yagiz Nizipli : https://github.com/unicode-org/icu4x/issues/2850 is on my mental todo list, but haven't gotten further than writing down what I've written down in that issue. |