02:07
<sideshowbarker>
sideshowbarker: https://github.com/hsivonen/chardetng_j
makes me want to write more HTML checker source in Rust 😄
04:38
<hsivonen>
makes me want to write more HTML checker source in Rust 😄
Sadly, the ergonomics of the language boundary are poor if arguments and return values of types other than int, long, float, and double. Sequences of bytes work the next best, and even those are rather bad, because the Java ByteBuffer API is stateful. I suppose it gets better with Java > 8 that can efficiently copy one ByteBuffer into another without changing the internal state of either.
04:40
<hsivonen>
https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html#put-java.nio.ByteBuffer- vs. https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/nio/ByteBuffer.html#put(int,java.nio.ByteBuffer,int,int)
04:40
<hsivonen>
Where > 8 means 16
04:40
<sideshowbarker>
OK
04:41
<sideshowbarker>
well, maybe time anyway to not try to preserve Java 8 compatibility
04:41
<sideshowbarker>
I think maybe the htmlparser code already has some Java > 8 code in it?
04:42
<sideshowbarker>
at least I think our CI is no longer testing Java 8
04:42
<sideshowbarker>
…and I don’t think I would have changed that unless it was no-longer Java8-compatible
04:42
<hsivonen>
I'd expect it not to have Java > 8. In fact, the source still looks quite Java 5ish.
04:43
<sideshowbarker>
well yeah, overall it’s relatively classic
04:43
<sideshowbarker>
I wonder now why I turned off Java 8 testing in CI…
04:44
<hsivonen>
I'm still very disappointed at Java breaking it's compatibility story after 8. For example, in order to run asmble, I had to roll the JDK back to 8, because I got an exception with a newer one.
04:44
<hsivonen>
Fortunately, asmble generates code that doesn't depend on asmble itself at runtime.
04:46
<sideshowbarker>
I’m just glad it doesn’t break more
04:47
<sideshowbarker>
HTML checker build has for years emitted a lot of deprecation warnings
04:47
<sideshowbarker>
some day I guess with some new Java version those are gonna turn into failures
04:48
<sideshowbarker>
I think the main deprecation warnings are related to code that’s using old reflection stuff
04:49
<sideshowbarker>
Jake Archibald: https://bugs.chromium.org/p/chromium/issues/detail?id=1260776 — and proof-of-concept patch at https://chromium-review.googlesource.com/c/chromium/src/+/3226189 (much or most of which came from Dominic Farolino helping me out)
04:49
<hsivonen>
I admit that I still don't intuitively understand modules. Or maven.
04:50
<sideshowbarker>
I hate maven — I have never used it for anything, but because of others requesting packages of the HTML checker, have burned up a huge amount of time creating the maven package
04:51
<sideshowbarker>
and releasing anything to Maven is still just a massive PITA — even though I have it all automated
04:51
<sideshowbarker>
It’s possible now to release Maven packages directly through GitHub, and I actually have that set up
04:52
<sideshowbarker>
the release process for that is much easier
04:53
<sideshowbarker>
for the Central Repo, the whole UI of there Web thing really looks like some circa 1990s Oracle application or something
04:53
<sideshowbarker>
horrible
04:55
<sideshowbarker>
Sonatype thing
04:55
<sideshowbarker>
GitHub thing is at https://github.com/validator/validator/packages/892686
04:56
<sideshowbarker>
also now releasing Docker images of the HTML checker through GitHub: https://github.com/validator/validator/pkgs/container/validator
04:56
<sideshowbarker>
…and NPMs too: https://github.com/validator/validator/packages/892707
05:35
<Jake Archibald>
Jake Archibald: https://bugs.chromium.org/p/chromium/issues/detail?id=1260776 — and proof-of-concept patch at https://chromium-review.googlesource.com/c/chromium/src/+/3226189 (much or most of which came from Dominic Farolino helping me out)
This is great, cheers!
07:43
<annevk>
Anyone want to review https://github.com/whatwg/dom/pull/1028? Should be quite straightforward. Fixes a 12yo bug with code point values.
09:03
<Noam Rosenthal>
Can anyone help me understand what I am doing wrong in the following? I am missing something that should be obvious... https://github.com/whatwg/fetch/pull/1311#discussion_r729970913
09:09
<Noam Rosenthal>
(A infra-usage nit I got stuck with)
09:19
<annevk>
Noam Rosenthal: I wonder if your choice of font shows different characters from mine, but a problem is that ≫ != »; at various stages there were other problems as well
09:24
<Noam Rosenthal>
Noam Rosenthal: I wonder if your choice of font shows different characters from mine, but a problem is that ≫ != »; at various stages there were other problems as well
Ahhh OK I had unicode blindness. Gotcha
09:25
<Noam Rosenthal>
Yes I originally misunderstood that operator.
14:01
<sideshowbarker>
foolip: what’s the link for the State of CSS video conference?
14:53
<annevk>
timothygu and Domenic: let me know if https://github.com/whatwg/url/pull/655 looks good; quite nice that applying it to whatwg-url worked directly
20:55
<foolip>
foolip: what’s the link for the State of CSS video conference?
Good question! I guess Dom did the recording and can access it?