!AGetWbsMpFPdSgUrbs:matrix.org

WHATWG

1253 Members
https://whatwg.org/chat — logs: https://matrixlogs.bakkot.com/WHATWG/ — Please leave your sense of logic at the door44 Servers

Load older messages


SenderMessageTime
9 Jun 2021
@annevk:mozilla.org@annevk:mozilla.org Luca Casonato: there's variants of base64 (see also Infra) so that's something that needs solving too 12:46:31
@annevk:mozilla.org@annevk:mozilla.org Luca Casonato: apart from what Andreu Botella (he/they) said it also ends up being a mismatch with the terms; text encode is string -> bytes, but base64 encode is bytes -> string 12:48:09
@lucacasonato:matrix.orgLuca CasonatoMakes sense. I’ll write up a little doc on the problem13:01:53
@lucacasonato:matrix.orgLuca CasonatoStarted on a little proposal: https://github.com/lucacasonato/proposal-binary-encoding. Probably not great though - don't really know what the standard practice for new proposals is though. Are there some recent pre-standardization WHATWG proposals out there to look at?19:12:45
10 Jun 2021
@annevk:mozilla.org@annevk:mozilla.org Luca Casonato: that looks pretty great; one thing that can help with things like this is a comparison with other programming languages; also curious if we need streaming (guess not, but might be worth calling out in a FAQ or some such) 07:19:35
@lindsey.carlile111817:matrix.orgLindsey Carlile joined the room.07:34:51
@lucacasonato:matrix.orgLuca Casonato annevk Thanks for the feedback! I'll add an FAQ, and a section on other languages' implementations. There is a comment about streaming in the doc - I think the best way to implement streaming would be a seperate BinaryEncoderStream / BinaryDecoderStream akin to the text encoders. 07:40:52
@lucacasonato:matrix.orgLuca Casonato But maybe a synchronous capable streaming API would make sense too? That could be added via a stream: true in an options bag to encode / decode / decodeInto. 07:42:06
@lucacasonato:matrix.orgLuca CasonatoAnyway - will put tjhese comments into an issue and link to it from the FAQ.07:42:27
@lucacasonato:matrix.orgLuca Casonato annevk FAQ and language/environment comparison added. 09:30:06
@annevk:mozilla.org@annevk:mozilla.org Luca Casonato: I'd also ask MattiasBuelens and ricea for review 12:08:07
@tabatkins:matrix.orgtabatkinsfwiw, isn't base64-encode still bytes -> bytes? The output bytes are chosen to be displayable as ASCII, but it's not "text"; there's no codepoints involved.16:26:34
@tabatkins:matrix.orgtabatkins(You wouldn't then encode base64 "text" as utf-16, for example.)16:26:50
@jgraham_:matrix.orgjgrahamThat seems technically true, but the usual use case for base64 is where you need a Text type (e.g. for JSON). So thinking of it as a bytes -> Text transformation fits the use cases better16:38:26
@jgraham_:matrix.orgjgraham(and if the whole payload including the base64 part was then going to be encoded as UTF-16 that's what you'd do, not embed the base64 bytes directly in a UTF-16 message)16:40:36
11 Jun 2021
@zcorpan_:matrix.orgzcorpan Anyone feel like reviewing https://github.com/html5lib/html5lib-tests/pull/135 ? Sam Sneddon [:gsnedders] ? 08:22:31
@ms2ger:igalia.comMs2ger What do you need? An "OK, zcorpan wrote it, it's probably fine", or an "I checked the spec and it says this is correct"? 08:34:45
@zcorpan_:matrix.orgzcorpanI sometimes make mistakes 🤷08:36:44
@zcorpan_:matrix.orgzcorpancase in point: https://github.com/whatwg/html/pull/645508:39:59
@jgraham_:matrix.orgjgraham "No, look, I am sometimes wrong, and I've got a bug report to prove it" 09:19:59
@zcorpan_:matrix.orgzcorpanLOL09:20:23
@jakea:matrix.orgJake Archibald People discovering target="_blank" made me feel so old https://css-tricks.com/targetblank/ 10:14:51
@wanderview:matrix.orgwanderviewRedacted or Malformed Event18:17:48
@muffinkiller:matrix.orgmuffinkiller joined the room.20:14:18
12 Jun 2021
@csarven:matrix.orgcsarven joined the room.06:31:13
13 Jun 2021
@everyos:matrix.orgEveryOS
In reply to @jgraham_:matrix.org
"No, look, I am sometimes wrong, and I've got a bug report to prove it"
I swear, I'm only a human! Nothing more special!
20:44:27
@everyos:matrix.orgEveryOS
In reply to @jgraham_:matrix.org
"No, look, I am sometimes wrong, and I've got a bug report to prove it"
* "I swear, I'm only a human! Nothing more special!"
20:44:38
14 Jun 2021
@domenicdenicola:matrix.orgDomenic joined the room.01:06:57
@domenicdenicola:matrix.orgDomenic set a profile picture.01:07:56
@chuang16899:matrix.orgChung Cheng Chuang joined the room.02:25:34

There are no newer messages yet.


Back to Room ListRoom Version: 6