00:24
<TabAtkins>
SimonSapin: Hmm, so you're still single dispatch (on the first arg)? I got the impression that, say, From::from could be written to convert to many types, and the right one would get chosen based on what it gets stored into. (I know you can write multiple versions of the function for different *source* types, by just defining the method in each source
00:24
<TabAtkins>
type.)
03:17
<Domenic>
annevk: well window and self and frames are getters which is a bit weird
04:41
<annevk>
Domenic: that is a good enough reason to duplicate? Hmm... Was changing self considered?
05:42
<cvrebert>
MikeSmith: I assume you'd be onboard with bumping SVG to SVG2 on http://platform.html5.org ?
06:51
<MikeSmith>
botie, tell cvrebert no, the SVG reference is one thing that should not be updated.
06:51
<botie>
will do
06:52
<SimonSapin>
TabAtkins: hum, right. Trait implementations are multi-dispatch
06:56
<MikeSmith>
oh lordy the SVG2 spec lists 10+ editors
06:57
<MikeSmith>
I think we could probably right a script that uses a very simple set of heuristics to decide whether a particular spec is likely a bad spec
07:06
<SimonSapin>
TabAtkins: So yeah, it’s a form of overloading, just not the same as C++. (This might off-topic here, feel free to join #rust on Mozilla IRC… or one of these http://edunham.net/2015/07/31/how_many_rust_channels_are_there.html)
11:23
<SimonSapin>
When parsing HTML from bytes, is there a way around keeping unbounded amount of input in memory in case the parser decides to "change the encoding"?
13:03
<MikeSmith>
SimonSapin: I thought the spec defined some limit on that
13:03
<MikeSmith>
like, the first 512 bytes
13:03
<SimonSapin>
MikeSmith: that’s " prescan a byte stream to determine its encoding"
13:04
<MikeSmith>
ah
13:04
<SimonSapin>
there is also "change the encoding" invoked by the tree builder
13:05
<SimonSapin>
https://html.spec.whatwg.org/multipage/#parsing-main-inhead:change-the-encoding
20:13
<ato>
What specifically is the concept called when elements like <p> don't require an end tag/is closed by the subsequent element?
20:38
<JoWie>
implied end tag?
21:02
<ato>
JoWie: Yes, thank you (-: