Options:
- # Session Start: Wed Jun 18 00:00:00 2008
- # Session Ident: #whatwg
- # [00:00] * Joins: smedero (n=smedero@mdp-nat10.mdp.com)
- # [00:00] <Lachy> if it's Apache, then .htaccess: AddType image/whatever-it-is .icns
- # [00:04] <Hixie> that it works in safari4 when using the save as app feature is a bug in safari4 according to the spec :-)
- # [00:04] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("reboot")
- # [00:04] <Hixie> (spec doesn't allow sniffing of types for <link> at the moment)
- # [00:08] <othermaciej> Is it common for favicons to be sent with the wrong MIME type?
- # [00:08] <Lachy> hey, with Web Applications like that, adding support for the new <menu> features in HTML5 would be cool, since the app could add its own menus to the system's menu bar.
- # [00:08] <othermaciej> (though I guess we could at least avoid poisoning the new thing)
- # [00:08] <Hixie> othermaciej: i expect so
- # [00:09] * Joins: eseidel (n=eseidel@nat/google/x-db9d87b2d0d76838)
- # [00:09] <Hixie> othermaciej: i expect to change the spec at some point and allow sniffing, frankly
- # [00:10] <othermaciej> yes, a way to add to app menus would be cool , though I don't think HTML5 <menu> is sufficient for that as currently spec'd
- # [00:10] * Joins: jgraham_ (n=james@81-86-219-217.dsl.pipex.com)
- # [00:10] <othermaciej> we're looking at what kinds of things developers want to add
- # [00:10] <othermaciej> back in a few, getting coffee
- # [00:10] * Quits: othermaciej (n=mjs@17.255.105.164)
- # [00:10] <Lachy> othermaciej, I don't think the default apache inlcudes the correct MIME type for .ico files, so probably quite a lot are sent as text/plain.
- # [00:10] <Hixie> you'd need a new type on the menu element
- # [00:11] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [00:12] <Lachy> I thought that's what the type="toolbar" was for
- # [00:12] <Lachy> have I remembered incorrectly?
- # [00:12] <Hixie> that's inline
- # [00:13] <Lachy> oh, ok.
- # [00:13] <Lachy> well, do we want to add a new type for it then?
- # [00:14] * Quits: jgraham_ (n=james@81-86-219-217.dsl.pipex.com) (Client Quit)
- # [00:15] <Hixie> what would it do when the page isn't installed?
- # [00:15] <Lachy> dunno.
- # [00:15] <Lachy> probably nothing. It could be reserved for when it is installed as a web app.
- # [00:16] <Hixie> that would be bad
- # [00:16] <Lachy> or fallback to type=toolbar
- # [00:16] <Hixie> that would make people use it as toolbar and then installing pages would break their rendering
- # [00:16] <gsnedders> Hixie: (and by overnight, I mean anytime by 20080618T154500+01)
- # [00:16] <Lachy> hmm, then I don't know. This is obviously not a well thought out idea.
- # [00:17] <gsnedders> (which is a bit longer than overnight)
- # [00:17] <Hixie> gsnedders: am having mail problems right now but it's next on my list :-)
- # [00:17] <Philip`> Out of 99 favicons, I see 53 image/x-icon, 20 text/html, 15 text/plain, 4 image/vnd.microsoft.icon, 4 image/gif, 3 image/png
- # [00:17] <Hixie> Lachy: it's something i spent a lot of time thinking about when speccing <menu> :-)
- # [00:17] <Hixie> Philip`: send mail asking for me to make sniffing allowed :-)
- # [00:17] * gsnedders sniffles
- # [00:17] <Philip`> (That's counting 404 pages, which is probably exaggerated by there being a few months between getting the list of icons and checking the content-types)
- # [00:18] <Lachy> right, so this probably was discsussed back then, and that's probably why I thought toolbar worked like that!
- # [00:18] * Quits: weinig|coffee (n=weinig@17.203.15.145)
- # [00:18] <Hixie> Lachy: :-)
- # [00:18] <Philip`> (Oh, not that many - 81 were 200, 13 were 404)
- # [00:19] * Joins: othermaciej (n=mjs@17.203.15.234)
- # [00:19] <gsnedders> othermaciej: Speaking of Saf4, does it support @rel='feed'?
- # [00:20] * Joins: weinig (n=weinig@nat/apple/x-b1a7ce8d27eed393)
- # [00:20] <Lachy> Maybe when it's not installed as a webapp, the browser could add some UI to indicate that there's a menu available and allow the user to switch into webapp mode for that site, which would then replace the menu bar.
- # [00:21] <Lachy> though I have no idea what kind of UI would be appropriate for that.
- # [00:21] <smedero> What other site-specific browsers are there? Prism (web-runner). Fluid. Safari 4. (there's also several kiosk-mode like browser plugins, hacks, and modified versions.)
- # [00:22] <othermaciej> gsnedders: for feed autodiscovery? I assume so
- # [00:22] <othermaciej> though probably not w/ the HTML5 algorithm for such
- # [00:22] <gsnedders> othermaciej: @rel='feed' _is_ the HTML 5 way
- # [00:24] <gsnedders> othermaciej: it seems not
- # [00:24] <Lachy> I think Firefox 3 supports rel=feed.
- # [00:25] <gsnedders> Lachy: Yeah, it does
- # [00:33] <smedero> confusing webpge... but I guess Hana (http://alloutsoftware.com/hana/) is another WebKit based site-specific browser tool
- # [00:33] <smedero> There's also an my.opera blog entry on how to do something similar to Prism with Opera: http://my.opera.com/zomg/blog/2007/10/29/mozilla-prism-a-fancy-name-for-a-technology-as-old-as-the-browser
- # [00:33] * Joins: webben (n=benh@91.84.230.233)
- # [00:35] * Quits: webben (n=benh@91.84.230.233) (Client Quit)
- # [00:35] * Quits: heycam (n=cam@203-217-69-250.dyn.iinet.net.au) ("bye")
- # [00:35] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [00:35] * Joins: webben (n=benh@91.84.230.233)
- # [00:36] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [00:36] <roc> that blog entry is a bit confused
- # [00:36] <smedero> agreed.
- # [00:36] * Quits: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
- # [00:37] <Lachy> indeed. Although we can make Opera behave in a similar way, the steps for setting it up is way too complicated.
- # [00:37] <smedero> Just finished reading through it... it only grazes the point of Prism.
- # [00:37] <smedero> but still, was just curious as to what other implementations were out in the wild....
- # [00:38] * smedero goes back to his cave
- # [00:41] * Quits: roc (n=roc@202.0.36.64) (Read error: 104 (Connection reset by peer))
- # [00:41] * Joins: roc (n=roc@202.0.36.64)
- # [00:44] <othermaciej> gsnedders: what's the pre-HTML5 way?
- # [00:44] <gsnedders> othermaciej: link[@alt='alternate'][@rel='application/atom+xml'], link[@alt='alternate'][@rel='application/rss+xml']
- # [00:45] <Hixie> (that's also supported in html5, iirc)
- # [00:45] <gsnedders> (yes, it is)
- # [00:45] <gsnedders> (but link[@alt='feed'] is preferred IIRC)
- # [00:45] <othermaciej> gsnedders: ok, I'll make sure we put rel="feed" on the roadmap
- # [00:46] <gsnedders> othermaciej: thx
- # [00:47] <Hixie> gsnedders: fixed the spec
- # [00:47] <gsnedders> Hixie: I'll fix the implementation when I get back from school, having gone to bed and got back up before hand
- # [00:48] <Hixie> hehe
- # [00:48] <Hixie> it's a very simply fix
- # [00:48] * gsnedders makes the naïve mistake of looking
- # [00:50] <Hixie> probably a one line fix in your code
- # [00:50] <gsnedders> yeah
- # [00:50] <gsnedders> No, the comment that quotes the spec text too :)
- # [00:50] <Hixie> heh
- # [00:51] * Joins: aaronlev__ (n=chatzill@f051105064.adsl.alicedsl.de)
- # [00:51] * aaronlev__ is now known as aaronlev
- # [00:52] <gsnedders> Hixie: That still looks badly wrong
- # [00:52] <Hixie> oh?
- # [00:52] <Hixie> does it fix jgraham__'s example, at least?
- # [00:52] <gsnedders> http://pastebin.com/m7a8c10a9
- # [00:52] <gsnedders> Hixie: yeah, it does
- # [00:53] <gsnedders> That's the TOC of the HTML5 spec according to the outline algorithm
- # [00:53] <gsnedders> Which is obviously rather broken
- # [00:53] <Hixie> yeah
- # [00:54] <Hixie> looks like it's breaking on <body><h1><h2><h3><h3>
- # [00:54] <Hixie> treating it as <body><h1><h2><h3><h1> or something
- # [00:54] <Hixie> i can't see why that would happen, i expect you have a bug :-)
- # [00:54] <gsnedders> Hixie: I've looked over it endlessly :)
- # [00:55] <Hixie> is the source online?
- # [00:55] <gsnedders> It'd be easier to check if there were more impls of the spec (as jgraham__'s moves away from it)
- # [00:55] <gsnedders> http://pastebin.com/m2141a4ca — that's the latest copy
- # [00:58] <Hixie> uh
- # [00:58] <Hixie> line 136
- # [00:58] <Hixie> shouldbn't the > be < ?
- # [00:58] <gsnedders> No, my impl. is just odd :)
- # [00:58] <gsnedders> See line 31
- # [00:59] <gsnedders> I need to make that more logical, though
- # [00:59] * jgraham__ notes that his outline algorithm only diverges from the spec in the exact way specified in the email he sent
- # [01:00] <Hixie> i changed the spec in a way different than what you suggested
- # [01:01] <Hixie> gsnedders: i'd need to step through your code with a debugger to really figure out what's going on
- # [01:01] <jgraham__> I seem to recall thinking for a bit about the changes that were needed to make it work as expected, so if it turns out it works in all cases using a much simpler algorithm, it means that I'm even stupider than I previously thought :)
- # [01:01] <Hixie> gsnedders: i recommend finding the smallest source markup you can and then walking through the code with it
- # [01:01] <Hixie> gsnedders: and seeing why it backs out so far
- # [01:01] <jgraham__> s/as expected/as I expected/
- # [01:02] * gsnedders tries hacking jgraham__'s impl to match the spec
- # [01:02] <gsnedders> Yeah, it must be an impl bug
- # [01:02] <Hixie> jgraham__: i just checked in the change in reply to your e-mail, if you want to compare
- # [01:03] <gsnedders> Heh. Slight understatement of the difference in complexity :)
- # [01:06] <jgraham__> Hmm I should go to sleep at the moment. gsnedders: I'll be interested to see what happens if you implement the new spec in my code
- # [01:06] * Philip` wonders why Yahoo Slurp seemingly follows links in <a src="...">, as well as <a href> and <embed src> and <object data> and none of the other elements/attributes he's tested
- # [01:07] * Philip` also wonders why Googlebot seemingly follows <a href> and <embed src> and nothing else, since he expects it to be far more aggressive than that
- # [01:07] * Joins: othermaciej_ (n=mjs@17.255.105.164)
- # [01:08] * Quits: weinig (n=weinig@nat/apple/x-b1a7ce8d27eed393)
- # [01:08] <Hixie> Philip`: did you test <script src> ? yahoo seems to follow that
- # [01:09] <Philip`> Hixie: Yes
- # [01:09] <Philip`> I might just need to be more patient and give the crawlers more time
- # [01:09] * Joins: jgraham_ (n=james@81-86-219-217.dsl.pipex.com)
- # [01:09] <Philip`> or maybe they get suspicious that my test page is linking to 404s and stop following all the other links
- # [01:09] * Quits: aaronlev_ (n=chatzill@f051105064.adsl.alicedsl.de) (Connection timed out)
- # [01:10] <Hixie> heh
- # [01:10] * Quits: smedero (n=smedero@mdp-nat10.mdp.com)
- # [01:18] * Quits: billmason (n=billmaso@ip232.unival.com) (".")
- # [01:20] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [01:21] * Quits: aaronlev (n=chatzill@f051105064.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [01:22] * Joins: weinig (n=weinig@17.255.100.221)
- # [01:24] * Quits: othermaciej (n=mjs@17.203.15.234) (Read error: 110 (Connection timed out))
- # [01:24] * Quits: othermaciej_ (n=mjs@17.255.105.164)
- # [01:26] * Joins: othermaciej (n=mjs@17.255.105.164)
- # [01:28] * Joins: sverrej (n=sverrej@89.10.27.86)
- # [01:31] * Joins: timely (n=timeless@a88-115-13-211.elisa-laajakaista.fi)
- # [01:39] * Quits: timelyx (n=timeless@a88-115-13-211.elisa-laajakaista.fi) (Read error: 110 (Connection timed out))
- # [01:41] * Quits: jgraham_ (n=james@81-86-219-217.dsl.pipex.com) ("I get eaten by the worms")
- # [01:42] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [01:48] * Quits: eseidel (n=eseidel@nat/google/x-db9d87b2d0d76838)
- # [02:05] * Quits: webben (n=benh@91.84.230.233) (Connection timed out)
- # [02:25] * Quits: MikeSmith (n=MikeSmit@58.157.21.205) ("Less talk, more pimp walk.")
- # [02:31] * Joins: eseidel (n=eseidel@user-64-9-237-95.googlewifi.com)
- # [02:31] * Quits: eseidel (n=eseidel@user-64-9-237-95.googlewifi.com) (Client Quit)
- # [02:43] <Hixie> i wonder how i can determine if my apache is using mpm_prefork_module or mpm_worker_module
- # [02:45] <Philip`> Hixie: Look at http://whatever/server-info if you have mod_info
- # [02:46] <Hixie> it appears i don't
- # [02:46] <Hixie> i have something called "Apache Server Status"
- # [02:47] <Philip`> (I guess it also needs to be configured somehow, and appropriate permissions set, and everything, which is probably not entirely trivial)
- # [02:47] <Hixie> i think i must be using prefork
- # [02:48] <Philip`> You could count the number of processes, since mpm_worker_module only has one
- # [02:48] <Philip`> Oh, no it doesn't
- # [02:48] * Philip` shouldn't trust the first web page he reads
- # [02:48] <Hixie> no, it can have many
- # [03:01] * Quits: KevinMarks (n=KevinMar@137.164.255.6) ("The computer fell asleep")
- # [03:10] * Quits: weinig (n=weinig@17.255.100.221)
- # [03:11] * Quits: tantek (n=tantek@137.164.255.6)
- # [03:13] * Joins: csarven (n=csarven@modemcable130.251-202-24.mc.videotron.ca)
- # [03:13] * Quits: tndH (i=Rob@87.102.5.204) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [03:14] * Quits: csarven (n=csarven@modemcable130.251-202-24.mc.videotron.ca) (Client Quit)
- # [03:15] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [03:34] * Joins: mcarter (n=mcarter@ip-12-22-56-126.hqglobal.net)
- # [03:34] <mcarter> hello
- # [03:34] <mcarter> Hixie, i sent in that feedback
- # [03:35] <Hixie> sweet
- # [03:35] <Hixie> thanks!
- # [03:35] <Hixie> i'll probably do the tcp stuff right after the url stuff i'm doing now
- # [03:35] <Hixie> (which is turning into a giant pile of annoyance)
- # [03:36] <mcarter> which url stuff is that? (link?)
- # [03:36] <Hixie> search for "URLs" in the spec
- # [03:41] <Hixie> does anyone do TLS upgrade on normal HTTP today?
- # [03:41] * Quits: othermaciej (n=mjs@17.255.105.164) (Read error: 104 (Connection reset by peer))
- # [03:42] * Joins: othermaciej (n=mjs@17.255.105.164)
- # [03:43] <Hixie> other than that i generally agree with what you're proposing
- # [03:43] <othermaciej> mcarter: I like your proposal
- # [03:44] <othermaciej> mcarter: my only further comment is that maybe it should be called something other than TCPConnection now
- # [03:44] <othermaciej> since it is so far from a generic TCP connection
- # [03:44] <mcarter> yeah, thats a good point
- # [03:44] <othermaciej> maybe the protocol should get a real name (instead of being called "TCPConnection"), and then if that is Foo, the API can be FooConnection
- # [03:45] <Hixie> yeah the name needs to change
- # [03:45] <othermaciej> (clearly Foo cannot be "TCP" because that is already taken as a protocol name)
- # [03:45] <othermaciej> you could also imagine a name that is about the interestingly different functionality
- # [03:45] <othermaciej> DuplexConnection, TwoWayChannel, something like that
- # [03:46] <Hixie> yup
- # [03:46] <othermaciej> I am kind of excited
- # [03:46] <Hixie> i want the server to return the Host value (or maybe the URL value, even)
- # [03:46] <Hixie> in the initial handshake response
- # [03:47] <Hixie> so that naive implementations on the server side aren't trivially usable cross-site
- # [03:47] <othermaciej> this is the first thing I have seen that seems like a viable two-way messaging solution in the browser
- # [03:47] <Hixie> thought maybe Access-Control is enough?
- # [03:47] <Hixie> Access-Control seems really heavyweight for this
- # [03:47] <othermaciej> yeah, you could use Access-Control for cross-site
- # [03:48] <othermaciej> it only takes one header for an A-C response to allow access, doesn't it?
- # [03:48] <Hixie> yeah but ac has lots of other overhead, potentially
- # [03:49] <Hixie> ac is really for HTTP, not for this protocol
- # [03:49] <othermaciej> what does AC have that would add overhead and not be beneficial for this protocol?
- # [03:50] <Hixie> i dunno, i don't know what AC has, it's in such flux :-)
- # [03:50] <Hixie> but e.g. the method and header whitelisting
- # [03:50] <othermaciej> I don't know what it has either, but I am trying to learn
- # [03:50] <mcarter> well, i figured it was better to point at something in flux rather than invent a new solution to the same problem
- # [03:50] <othermaciej> method whitelisting wouldn't be needed since the method is GET
- # [03:51] <Hixie> the fact that it's a two-step preflight/flight mechanism rather than just an upgrade
- # [03:51] <othermaciej> header whitelisting shouldn't be needed unless it is important for this API to allow custom headers
- # [03:52] <othermaciej> oh, I guess the method is OPTIONS, not GET, in mcarter's protocol
- # [03:52] <mcarter> othermaciej, the method i proposed was OPTIONS
- # [03:52] <mcarter> right
- # [03:53] <mcarter> it doesn't make sense to return any resource so GET didn't really make sense. OPTIONS seems like the right fit. But you're still right -- we don't need method whitelisting
- # [03:53] <othermaciej> perhaps AC should take this into consideration as a potential use case, unless we think this case can be handled with a simpler mechanism that can't be applied to AC's other use cases
- # [03:53] <Hixie> basically it seems to me like using Access-Control here is like using XLink for svg's <style xlink:href=""> mechanism
- # [03:54] <Lachy> http://www.sproutcore.com/2008/05/28/understanding-the-ie-dom/
- # [03:54] <Hixie> a theoretical fit that's not really reusing the actual semantics, just the syntax
- # [03:54] <mcarter> I'm a bit lost. What are the semantics vs. syntax of AC?
- # [03:54] <othermaciej> don't we actually want cross-site access-control semantics?
- # [03:55] <othermaciej> i.e. deny cross-site by default, give server full info, let either server or client deny, limit to certain sites, etc
- # [03:55] <othermaciej> is there a reason that's not good for TCPConnection?
- # [03:56] <othermaciej> and if so, what would be the simpler model that would work?
- # [03:56] <othermaciej> (these are not just rhetorical questions, I don't actually know the answer to the last two there)
- # [03:57] <mcarter> I think we actually want cross-site access-control semantics
- # [03:58] <mcarter> and I think AC is a fine fit for TCPConnection
- # [03:58] <mcarter> but on the other hand, I don't understand the objection
- # [03:58] <Hixie> Lachy: interesting
- # [03:59] <Hixie> mcarter: the semantics are all the algorithms in the AC spec, like the cache, doing the preflight, etc
- # [03:59] <Hixie> othermaciej: we want cross-site access-control semantics just like SVG wanted linking semantics
- # [03:59] <othermaciej> Lachy: I don't understand the distinction he is making between "peer objects" and "wrappers"
- # [03:59] <Hixie> othermaciej: but AC is not just "cross-site access-control semantics", it's also "how to respond to an HTTP redirect", etc
- # [03:59] <othermaciej> WebKit's JavaScript DOM bindings are wrappers around the core DOM that call through
- # [04:00] <Hixie> othermaciej: the simpler model would be just to ask the server to include a "header" in its response consisting of the reconstructed URL, and having the client abort of that header is absent or not exactly the expected value
- # [04:00] <othermaciej> Hixie: what reconstructed URL?
- # [04:01] <othermaciej> the target URL or the referer?
- # [04:01] <othermaciej> it can't necessarily reconstruct the referer since that is often blocked
- # [04:01] <Hixie> target
- # [04:01] <Hixie> but i'm on crack
- # [04:01] <othermaciej> reconstructing the target URL doesn't provide cross-site access control
- # [04:01] <Hixie> and should be talking about the referer
- # [04:02] <othermaciej> or better yet, Access-Control-Origin
- # [04:02] <othermaciej> and it could return an Access-Control header
- # [04:02] <Hixie> yeah
- # [04:02] <Hixie> i don't understand how we would use Access-Control (other than its syntax)
- # [04:02] <Hixie> e.g. the correct response to an HTTP redirect here should be to bail
- # [04:02] <Hixie> not to follow the redirect and apply Access-Control semantics
- # [04:02] <mcarter> we may want to specify a way of dealing with redirects with TCPConnection
- # [04:03] <othermaciej> yeah, I think you may want to specify that this API doesn't follow redirects
- # [04:03] <othermaciej> (then Access-Control rules for how to follow a redirect don't apply)
- # [04:04] <mcarter> if we're using URIs then it seems reasonable for the server to send back a 301 and expect the client to follow it
- # [04:04] <Hixie> yeah but then it's not really access-control
- # [04:04] <Hixie> i mean, look at the spec: http://dev.w3.org/2006/waf/access-control/#processing-model
- # [04:04] <Hixie> we don't need 90% of that
- # [04:04] <othermaciej> I just realized, I don't remember whether the correct spelling is "referer" or "referrer" any more
- # [04:04] <othermaciej> damn you, interweb
- # [04:04] <Hixie> reusing the syntax isn't gaining us anything except confusion imho
- # [04:04] <othermaciej> well we could make a different syntax but you'd basically want it to do what Access-Control-Origin and Access-Control do
- # [04:04] <othermaciej> IMO
- # [04:04] <mcarter> hmm, that spec blacklists the Upgrade header
- # [04:05] <othermaciej> even if spelled differnetly
- # [04:05] <othermaciej> mcarter: the client of access control (for instance the XHR caller) can't set it
- # [04:05] <othermaciej> that doesn't mean an implementation of a protocol using A-C can't send it
- # [04:05] <Hixie> also we have to assume that the server isn't checking, e.g. Host, and thus that the client will have to do all the security, imho
- # [04:05] <Hixie> which means doing this even for same-site requests
- # [04:05] <mcarter> othermaciej, i see
- # [04:06] <othermaciej> Hixie: why would you need it for same-site requests? DNS rebinding (that applies to data available w/o credentials but still somehow restricted but not checking the Host header)?
- # [04:07] <Hixie> shared hosting providers
- # [04:08] <othermaciej> I guess we could try to make the server prove it checked Host (by echoing it back or something)
- # [04:08] <Hixie> that's the idea, right
- # [04:08] <othermaciej> what's the threat model with shared hosting providers?
- # [04:09] <Hixie> so then people will either explicitly opt in by just echoing it, or always echo back the expected value without checking it
- # [04:09] <othermaciej> let's say evil.com and victim.com share a physical server, different virtual servers
- # [04:09] <Hixie> evil.com:80 opens a DuplexConection to evil.com:81, which is actually run by victim.com
- # [04:09] <othermaciej> who has the TCPConnection resource up?
- # [04:09] <othermaciej> that would be subject to Access-Control, would it not?
- # [04:10] <othermaciej> since it is a different port
- # [04:10] <Hixie> yeah i guess so
- # [04:10] <Lachy> othermaciej, I'm not entirely sure either. But AFAICT, it seems to be that the peer objects are real JS objects somehow linked with the internal C++ objects, whereas the wrappers are just exposing JS APIs on C++ objects.
- # [04:10] <Hixie> i suppose we could use Access-Control, i'm just really weary of poisining Access-Control the way XLink was poisoned
- # [04:11] <Hixie> mcarter: thanks again for the feedback, it's great stuff
- # [04:11] <othermaciej> Hixie: I'm not 100% sure it will work, then again, I am also not 100% sure what is even in access-control at this point
- # [04:11] <Hixie> yeah
- # [04:11] <othermaciej> but studying access-control is on my near-term agenda
- # [04:11] <othermaciej> I will keep this in mind as a potential use case
- # [04:11] <mcarter> Hixie, yeah, glad to be a part of this discussion. sorry it took so long.
- # [04:11] <Hixie> mcarter: np
- # [04:12] <Hixie> right i'm gonna go get food
- # [04:12] <Hixie> and work on URLs more later
- # [04:12] <Hixie> this URLs work is really boring me to death
- # [04:12] <Hixie> as you can tell by the lack of significant progress on my chart :-)
- # [04:12] <Hixie> bbl
- # [04:12] <othermaciej> later!
- # [04:13] <othermaciej> mcarter: I agree, your proposal looks very good
- # [04:14] <othermaciej> Lachy: I know a lot about how WebKit's DOM bindings work, and if what we do is *not* wrapping, then I don't know what is
- # [04:14] <mcarter> I'm getting ready to release Orbited 0.5 which has a preliminary implementation of TCPConnection
- # [04:15] <mcarter> maybe I should start calling it DuplexConnection now
- # [04:15] <Lachy> there was a footnote at the end of the article that basically pointed out the peer model was a simplified version of what webkit and firefox really do.
- # [04:15] <mcarter> so there's no confusion
- # [04:16] <othermaciej> I think the difference is more of how hard the wrappers try to look like real JS objects and not leak implementation details, than of fundamental architecture difference
- # [04:17] <Lachy> yeah, maybe.
- # [04:18] <Lachy> I'm interested to see how sproutcore implemented their peer model. I wonder if they actually create a new object for every element in the DOM, as the diagram seems to suggest.
- # [04:18] <Lachy> that would seem quite inefficient though.
- # [04:18] <othermaciej> I'd expect is is more likely that their view abstraction is like the "widget" abstraction in many other JS libraries
- # [04:19] <othermaciej> that it may be a composite of multiple elements
- # [04:21] <Lachy> othermaciej, there are articles suggesting that sproutcore was created by Apple for MobileMe, but I can't see anywhere on sproutcore.com that says they're affiliated with Apple at all. Do you know if it was, or if was created by others and Apple is just using it?
- # [04:22] <othermaciej> Lachy: the main SproutCore guy works for Apple on MobileMe, and MobileMe uses it
- # [04:22] <othermaciej> I don't know offhand if he created it before working for Apple or after
- # [04:22] <othermaciej> or who else uses it
- # [04:22] <Lachy> ah, ok.
- # [04:22] <othermaciej> or any other details
- # [04:23] <Lachy> it seems to be a fiarly recent creation, since it looks like sproutcore.com was only launched in May
- # [04:25] <othermaciej> I gotta head out
- # [04:25] <othermaciej> later
- # [04:25] * Quits: othermaciej (n=mjs@17.255.105.164)
- # [04:27] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [05:26] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [05:37] * Joins: dbaron (n=dbaron@c-71-204-153-3.hsd1.ca.comcast.net)
- # [05:51] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [06:06] * Quits: jruderman (n=jruderma@ip68-5-179-249.oc.oc.cox.net)
- # [06:07] <takkaria> anyone around familiar with the html5lib tests?
- # [06:09] * Joins: MikeSmith (n=MikeSmit@dhcp-246-81.mag.keio.ac.jp)
- # [06:10] <takkaria> just there are some tests which seem to ensure that CRs turn into LFs and I can't see anywhere where that's actually specced
- # [06:44] <Hixie> is there a version of http://muffin.doit.org/docs/rfc/tunneling_ssl.html that is more official?
- # [07:06] * Quits: roc (n=roc@202.0.36.64) (Read error: 104 (Connection reset by peer))
- # [07:07] * Joins: roc (n=roc@202.0.36.64)
- # [07:11] * Joins: kingryan_ (n=ryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [07:11] * Quits: kingryan (n=ryan@c-24-5-77-167.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [07:29] * Quits: roc (n=roc@202.0.36.64)
- # [07:53] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [08:00] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [08:05] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) (Read error: 110 (Connection timed out))
- # [08:08] * Quits: dbaron (n=dbaron@c-71-204-153-3.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [08:15] * Joins: heycam (n=cam@203-217-69-250.dyn.iinet.net.au)
- # [08:23] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [08:38] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [08:40] <hsivonen> takkaria: http://www.whatwg.org/specs/web-apps/current-work/#preprocessing
- # [08:43] * othermaciej is now known as om_afk
- # [08:44] <Hixie> mcarter: yt?
- # [08:44] <Hixie> mcarter: in the proxy case, what does the handshake look like for proxy <-> server?
- # [08:46] <mcarter> hey
- # [08:49] <mcarter> well, the proxy will forward all the bytes through exactly, AFTER the HTTP Connect request
- # [08:49] <mcarter> so the handshake ends up looking identical from the end-server's view
- # [08:52] <mcarter> actually, that explanation wasn't clear, and i think there is an oversight in my proposal
- # [08:52] <Hixie> the proxy doesn't say CONNECT to the server?
- # [08:52] <mcarter> no
- # [08:53] <Hixie> is this documented anywhere? i couldn't find any RFCs about it.
- # [08:53] <mcarter> 1) client says HTTP CONNECt...\r\n\r\n to the proxy
- # [08:53] <mcarter> 2) proxy sends back HTTP/1.x 200 OK...\r\n\r\n to the client
- # [08:53] <mcarter> 3) proxy tunnels all bytes in both directions
- # [08:53] <mcarter> yeah, refer to http://www.web-cache.com/Writings/Internet-Drafts/draft-luotonen-web-proxy-tunneling-01.txt at the bottom of page 4
- # [08:54] <Hixie> that's just a draft
- # [08:54] <Hixie> there's gotta be a real spec for this surely
- # [08:55] <mcarter> hmm, maybe. I'm pretty certain that actual implementations work as specified by that draft, at least the simple example they have on page 4
- # [08:58] <Hixie> no part of that draft seem to mention actually connecting to the final server :-)
- # [09:01] <mcarter> yeah, they never specifically say "and then the proxy connects to the server"
- # [09:01] <mcarter> but they do imply it in a number of places
- # [09:02] <Hixie> yeah
- # [09:02] <Hixie> this seems seriously underspecified
- # [09:02] <Hixie> i'm starting to understand why proxies suck so much
- # [09:03] * Joins: qwert666 (n=qwert666@acbi111.neoplus.adsl.tpnet.pl)
- # [09:04] * mpt_ is now known as mpt
- # [09:04] <mcarter> yeah, no kidding
- # [09:05] <mcarter> another thing to remember is that you can have proxy chains
- # [09:06] <mcarter> so the client might send an HTTP CONNECT addr:port\r\n\r\n to proxy A, and then proxy A will send HTTP CONNECT addr:port\r\n\r\n to proxy B, and proxy B would actually open the connection to the remote server and send any following data
- # [09:06] <mcarter> it doesn't actually affect the client implementation or the server implementation
- # [09:06] <mcarter> i'm just pointing out that proxy servers can also be proxy clients
- # [09:07] <Hixie> yeah
- # [09:07] <Hixie> that i found info for iirc
- # [09:12] <mcarter> Also, i didn't make it clear in the proposal, but we will always need to do an explicit HTTP CONNECT to the proxy (instead of just sending it an OPTIONS http://example.com/some/url... and letting it do the proxy) is that the Connection: upgrade header is only good for a single hop. It will be stripped out before it gets to the final destination
- # [09:12] <mcarter> s/but/but the reason that/
- # [09:12] <Hixie> yeah
- # [09:15] <takkaria> hsivonen: thanks
- # [09:16] <mcarter> Hixie, Does it look like the name of this thing is going to be DuplexConnection?
- # [09:16] <hsivonen> takkaria: fwiw, I've found that CRLF causes a lot of grief. I handle it in the Driver and the Tokenizer has a hiccup back to the Driver on every LF following CR
- # [09:17] <hsivonen> this is necessary to make CRLF do the right thing when CR and LF come from different document.writes
- # [09:18] <hsivonen> (Driver and Tokenizer as described in my email to public-html yesterday)
- # [09:18] * takkaria nods
- # [09:18] <takkaria> I've been looking at the code for validator.nu and html5lib, they've both been quite helpful
- # [09:19] * Joins: aaronlev (n=chatzill@f051105064.adsl.alicedsl.de)
- # [09:19] <hsivonen> I changed this on Monday. my previous design sucked
- # [09:20] <Hixie> mcarter: no idea on the name
- # [09:20] <Hixie> mcarter: i don't know that Duplex is the best work for it
- # [09:21] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [09:22] <mcarter> I think TCPConnection would be the easiest to "sell" to developers and by that measure its probably the best aside from SocketConnection or TCPSocket. But as othermaciej said, this is not really a tcp connection
- # [09:23] <Hixie> SocketConnection might be ok
- # [09:26] <mcarter> think about it at any rate. I vote for SocketConnection over DuplexConnection
- # [09:26] <mcarter> I'm about to start a series of articles introducing Orbited and its approximate implementation of the specification, but i should probably hold off until we nail the name down
- # [09:27] <mcarter> There is a surprising amount of interest in having some kind of socket connection in the browser though
- # [09:28] <Hixie> not surprising to me :-)
- # [09:28] <Hixie> what surprises me actually is how many people claim lack of interest
- # [09:29] <mcarter> yeah, thats a good point
- # [09:29] <mcarter> if this sort of thing catches on it could completely change the way web applications are written. I mean, no more ruby on rails / php / java servelets
- # [09:29] <Hixie> yup
- # [09:30] <Hixie> i'm already faking it on my own apps
- # [09:30] <Hixie> i have a tcp socket server, and then two cgi scripts
- # [09:30] <mcarter> are you doing polling or long polling or something?
- # [09:30] <Hixie> one just listens to the tcp server, and passes everything through as <script> blocks
- # [09:30] <Hixie> the other accepts POSTs and connects to the tcp server, pushes that message, and disconnects
- # [09:31] <mcarter> heh, thats what orbited does
- # [09:31] <Hixie> but once we can connect directly those tw ocgis can go away and be replaced with a single connection
- # [09:31] <Hixie> how about OrbitedConnection? ;-)
- # [09:31] <mcarter> haha
- # [09:31] <mcarter> That would scare a number of people away i think
- # [09:31] <Hixie> hah
- # [09:32] <mcarter> I'm trying to get all these Comet people to come around to the idea of using something mroe like a socket
- # [09:32] <mcarter> they've all gone and built these crazy scheme's around the notion that comet is some special thing
- # [09:32] <mcarter> but really, they just want a SocketConnection
- # [09:32] <Hixie> yeah i don't understand the comet people
- # [09:32] <Hixie> they're worse than the ajax people!
- # [09:32] <Hixie> and those are already worse than the dhtml and rest people
- # [09:33] <hsivonen> Hixie: how strict are you about the couple of lines of Perl req?
- # [09:33] <mcarter> I actually have an 8-9 part back and forth with the Bayeux/cometd guys on cometdaily.com explaining from the ground up how we really just want a socket
- # [09:33] <Hixie> hsivonen: i don't believe i said "a couple"
- # [09:33] <hsivonen> ok
- # [09:33] <Hixie> hsivonen: i just don't want to write an HTTP server with thousands of lines
- # [09:33] <mcarter> Hixie, the exact quote was "a few" ;-)
- # [09:34] <Hixie> btw this new protocol does rather do away with the broadcast connection and local peer to peer ideas
- # [09:34] <Hixie> but i guess that's ok
- # [09:34] <hsivonen> I wonder if we could get someone champion an Apache module or something that deals with complexity from Day 1
- # [09:34] <mcarter> i was thinking about that
- # [09:34] <mcarter> peer connections would be brilliant
- # [09:34] <mcarter> and flash 10 has them, doesn't it?
- # [09:34] <mcarter> I'm not convinced you should rip them out of the specification just yet
- # [09:36] <Hixie> hsivonen: "day 1" would be about 3 years ago, if we want stuff actually deployed and usable :-)
- # [09:36] <Hixie> hsivonen: servers take even longer to upgrade than clients
- # [09:37] <Hixie> mcarter: well, what's the use case?
- # [09:37] <mcarter> distributed file sharing for one
- # [09:37] <Hixie> in a web app?
- # [09:37] <mcarter> sure
- # [09:38] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [09:38] <mcarter> if you can broadcast on your lan to detect other clients, and then establish peer connections, you can do ANYTHING
- # [09:38] <mcarter> make games that don't need servers
- # [09:38] <mcarter> your whole app could just be a .html file
- # [09:38] <Hixie> does anyone really hang out on the same lan these days?
- # [09:39] <mcarter> good point. they do in college/university, and not so much later
- # [09:39] <mcarter> on the other hand, LAN parties are still prevelant for gaming
- # [09:40] * Quits: qwert666 (n=qwert666@acbi111.neoplus.adsl.tpnet.pl) ("Leaving")
- # [09:41] <Hixie> krijnh: i apologise for #webapps
- # [09:41] <krijnh> Hixie: np ;)
- # [09:42] <Hixie> krijnh: there's something about the w3c that makes people act weird
- # [09:42] <krijnh> I did expect your apology though
- # [09:42] <Hixie> heh
- # [09:42] <mcarter> How about distributed caching? If you could implement a way for the server to just send you a HASH of a resource and then have the browser check the LAN for someone else with that resource, you could save TONS of bandwidth
- # [09:43] <mcarter> I'm not sure if javascript is the right place for that sort of feature, probably it should be built into the browser directly, if at all. On the other hand, it would be great to open experimentation up to EVERYONE and not just browser developers
- # [09:48] <Hixie> yeah
- # [09:48] <Hixie> but that's not really enough of a use case to justify browsers implementing that feature
- # [09:49] <Hixie> since they could just implement the caching
- # [09:51] * Joins: qwert666 (n=qwert666@acbi111.neoplus.adsl.tpnet.pl)
- # [09:54] * Quits: qwert666 (n=qwert666@acbi111.neoplus.adsl.tpnet.pl) (Client Quit)
- # [09:58] <Hixie> mcarter: so this doesn't address the framing problem, btw
- # [09:59] * Joins: jruderman (n=jruderma@ip68-5-179-249.oc.oc.cox.net)
- # [10:00] <krijnh> Yay, Dmitry Turin is back :)
- # [10:00] <Hixie> i guess we can just strip U+0000 characters and use that as a frame terminator
- # [10:00] <mcarter> Hixie, well, I'm still against having framing in the protocol, or at least I'm against it being non-optional. But I'd much rather have the connection with framing than no connection
- # [10:00] <Hixie> and have the first byte of each frame be an indicator of the kind of data
- # [10:00] <Hixie> we need framing for two reasons
- # [10:01] <Hixie> one is future compatibility, when we add raw binary data to the web platform, so you can transmit raw binary data as well as UTF-8 data
- # [10:01] <Hixie> the other is specifically server->client, so that the client knows when to fire the events
- # [10:01] <Hixie> we don't want to have everyone reimplement packet fragment reassembly manually in js
- # [10:02] <mcarter> i was thinking about this
- # [10:02] <mcarter> i think it would be better off to make a seperate api/protocol for text and binary
- # [10:02] <Hixie> really?
- # [10:02] <mcarter> or at the very least, have it specified in the initial handshake
- # [10:02] <Hixie> seems like you'd want both in the same connection
- # [10:03] <Hixie> e.g. to transmit text and pictures in a chat
- # [10:03] <mcarter> really i think it should always be binary and you should just have access to a utf-8 decoder
- # [10:04] <Hixie> you have more faith in web authors than i do
- # [10:04] <mcarter> we have a BinaryTCPConection in orbited and we implemented a utf-8 decoder and it all works out pretty well
- # [10:04] <mcarter> you may have a point
- # [10:04] <Hixie> you're not exactly representative
- # [10:05] <Hixie> and i mean that as a compliment, btw :-)
- # [10:05] <mcarter> heh, thanks =D
- # [10:05] <mcarter> We could also change the api slightly to allow the option to read the data either way
- # [10:05] <mcarter> like, onread doesn't return an event with data, but specifies that you should call read() to actually get the data
- # [10:06] <Hixie> we need to know if the packet is binary or text when sending, so we know it anyway, so we might as well pass that along
- # [10:06] <Hixie> also, we need to know it so that we know how to find the end of the frame
- # [10:06] <Hixie> e.g. UTF-8 will never include a raw 0x00 or 0xFF byte, so we can use those for framing
- # [10:07] <Hixie> but binary will include both, so we either want to use a size indicator, or a way to escape the frame terminator
- # [10:07] <mcarter> i am partial to the size indicator
- # [10:08] <Hixie> yeah escaping frame terminators is bad from a perf point of view
- # [10:08] <mcarter> the reason to use the delimiters i guess is to make it easier to implement the server, right?
- # [10:08] <Hixie> yes
- # [10:08] <Hixie> amongst other reasons
- # [10:09] <Hixie> size indicators, on the other hand, put an upper limit on the amount of data you can send per frame
- # [10:09] <Hixie> and are inefficient for smallmessages
- # [10:09] <mcarter> True
- # [10:10] <mcarter> I really don't like the idea of having to escape those characters for binary transfer though
- # [10:10] <Hixie> on the plus side, size indicators tend to make it less likely to have buffer overruns
- # [10:10] <mcarter> you know, the STOMP protocol uses both methods
- # [10:10] <Hixie> since you're less likely to guess a size
- # [10:10] <Hixie> using both gets you the worst of both world and not the best of either :-)
- # [10:11] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [10:11] <mcarter> they say that if there is no frame size specified (header based) then look for 0x00, and otherwise use the specified frame size
- # [10:11] <Hixie> aah
- # [10:11] <Hixie> that makes sense
- # [10:11] <Hixie> what i was thinking earlier is that each frame would start with a type byte
- # [10:11] <Hixie> 0x00 = UTF-8, terminated by 0x00
- # [10:11] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [10:11] <Hixie> 0x01 = binary, followed by 32 bit integer N, followed by N bytes of data
- # [10:12] <mcarter> yeah, that could work pretty well
- # [10:13] <mcarter> are we allowing alternating frame types then?
- # [10:13] <mcarter> right, you just said that
- # [10:13] <mcarter> sending pictures and text on the same connection
- # [10:14] <Hixie> or we could represent the integer N using 7 bits per byte, with the 8th bit being set if there is another byte
- # [10:14] <Hixie> that lets us have arbitarily sized frames
- # [10:14] * Joins: tndH_ (i=Rob@87.102.5.204)
- # [10:14] * tndH_ is now known as tndH
- # [10:14] <Hixie> without high overhead for small frames
- # [10:14] <mcarter> sort of utf-8-esque
- # [10:14] <Hixie> yeah
- # [10:15] <mcarter> yeah, that would work
- # [10:15] <Hixie> so 127 byte frames are 0x01 0x7F data
- # [10:15] <Hixie> and a 128 byte frame would start 0x01 0x80 0x01 data
- # [10:15] <mcarter> and 256 byte frames are 0x01 0xFF 0x01 data
- # [10:15] <Hixie> right
- # [10:16] <Hixie> actually that would be 255
- # [10:16] <Hixie> 256 would be 0x01 0xFF 0x02 data
- # [10:16] <mcarter> yeah, right.
- # [10:16] <mcarter> we start at 0
- # [10:16] <mcarter> though, 0 should mean 1 byte, right?
- # [10:16] <Hixie> er no, 0x01 0x80 0x02
- # [10:16] <Hixie> or something
- # [10:16] <Hixie> hm
- # [10:16] <Hixie> i suppose we could just add one to the length, yes
- # [10:17] <Hixie> although
- # [10:17] <Hixie> i could see uses for sending zero byte packets
- # [10:17] <Hixie> so maybe not
- # [10:17] <Hixie> (e.g. sending a file that's zero bytes wouldn't need special casing this way: 0x00 FILENAME.DAT 0x00 0x01 0x00
- # [10:19] <mcarter> that makes sense
- # [10:20] <mcarter> even if there weren't cases for it, the confusion of being off by one is probably not worth extending our range by 1
- # [10:21] <mcarter> whats the api like for send then? sendText and sendBytes ? or send(data) and then the browser detects the type of data
- # [10:21] <Hixie> sendText(s) for now
- # [10:22] <Hixie> sendBlob(blob) later when we have blob objects
- # [10:22] <Hixie> those are still being specified
- # [10:22] <Hixie> but they'll affect everything, xhr, file upload, SocketConnection, the works
- # [10:22] <Hixie> Database
- # [10:23] <mcarter> yeah. For now we'll limp along in Orbited with OrbitedBinarySocketConnection with a sendBytes function
- # [10:23] <Hixie> :-)
- # [10:24] <mcarter> are there any plans for exposing to javascript some of the built-in decoders for images or text?
- # [10:24] <mcarter> or encryption
- # [10:24] <mcarter> I was saying the other day that we're having a hell of a time implementing TLS in the browser for xmpp over our faux Binary connection
- # [10:24] <Hixie> no idea, the blob stuff is still very very new
- # [10:25] <Hixie> and i'm not really involved
- # [10:25] <Hixie> though i might end up having to spec it myself! :-)
- # [10:25] <mcarter> oh hey, i still want to setup some kind of social meeting for whatwg/html5 at some point
- # [10:25] <mcarter> I just moved to mountain view this week
- # [10:26] <mcarter> I'll send an email out and put a wiki up I guess
- # [10:26] <mcarter> is there already a wiki somewhere that whatwg uses?
- # [10:27] <Hixie> nice!
- # [10:27] <Hixie> wiki.whatwg.org
- # [10:28] <mcarter> cool, I'll put it up there
- # [10:28] <Hixie> i should sleep
- # [10:28] <Hixie> thanks for the help
- # [10:28] <Hixie> i'll definitely work on this after the url stuff
- # [10:29] <Hixie> though that is proving quite tedious
- # [10:29] <Hixie> so might take a while
- # [10:29] <Hixie> nn
- # [10:29] <zcorpan> should HTMLVideoElement.EMPTY be defined?
- # [10:30] <mcarter> ok, well good luck with that URL stuff. goodnight
- # [10:30] <doublec> zcorpan, isn't it defined in HTMLMediaElement?
- # [10:30] <zcorpan> doublec: yes but i haven't wrapped my head around how inheritance works
- # [10:31] * Joins: jgraham_ (n=james@81-86-219-217.dsl.pipex.com)
- # [10:31] <zcorpan> should there just be HTMLMediaElement.EMPTY, HTMLMediaElement.prototype.EMPTY and HTMLVideoElement.prototype.EMPTY and not HTMLVideoElement.EMPTY?
- # [10:34] <doublec> yes
- # [10:34] <doublec> afaik
- # [10:36] <zcorpan> k
- # [10:36] <zcorpan> seems to agree with Node.ELEMENT_NODE
- # [10:37] * Joins: qwert666 (n=qwert666@acbi111.neoplus.adsl.tpnet.pl)
- # [10:37] <Dashiiiva> Constants should be on the interface object and the interface prototype object, but not on objects implementing the interface
- # [10:37] * Quits: sverrej (n=sverrej@89.10.27.86) (Read error: 110 (Connection timed out))
- # [10:38] * Hixie briefly pops back online to record that "WebSocket" would probably be a good new name for the TCPConnection object
- # [10:38] <zcorpan> Dashiiiva: why not on objects implementing the interface?
- # [10:39] <Dashiiiva> Because they have the interface prototype object as their prototype, so they inherit it there
- # [10:40] <takkaria> hsivonen: ping; when I've written new tests for the tokeniser, where's the best place to put them so others can make use of them?
- # [10:40] <zcorpan> Dashiiiva: but the end result is that the constant is present on the object?
- # [10:40] <takkaria> hsivonen: (I ask because you seem to know about such things)
- # [10:40] <Dashiiiva> somevideo.EMPTY works, yes
- # [10:40] <hsivonen> takkaria: the html5lib svn repo
- # [10:41] <hsivonen> under testdata/tokenizer/
- # [10:41] <hsivonen> preferably in the same format
- # [10:41] <zcorpan> Dashiiiva: ok
- # [10:41] <Dashiiiva> zcorpan: I suppose we don't use the same definition of present :)
- # [10:41] <takkaria> hsivonen: who can I poke to get commit access?
- # [10:42] <zcorpan> Dashiva: black-box testing says it's present :)
- # [10:42] <hsivonen> takkaria: annevk or jgraham_
- # [10:42] <takkaria> hsivonen: thanks!
- # [10:42] <Dashiiiva> zcorpan: I would consider present to mean it has an own property, but you seem to mean own or inherited. So yeah.
- # [10:43] <zcorpan> Dashiiiva: ah
- # [10:43] * zcorpan doesn't know about an own property
- # [10:44] <Dashiiiva> heycam: Those italic capital I (for example interfaces) look really like slashes in b4d :)
- # [10:44] <zcorpan> Dashiva: is the own property exposed to authors somehow?
- # [10:46] <Dashiiiva> zcorpan: You can use hasOwnProperty to detect whether a property is inherited or not
- # [10:50] <zcorpan> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cscript%3E%0Aw(Node.ELEMENT_NODE.hasOwnProperty())%0Atry%20{%20w(Node.prototype.ELEMENT_NODE.hasOwnProperty())%20}%20catch(e)%20{%20w(e)%20}%0Aw(Element.prototype.ELEMENT_NODE.hasOwnProperty())%0Aw(document.documentElement.ELEMENT_NODE.hasOwnProperty())%0A%3C%2Fscript%3E
- # [10:50] <zcorpan> firefox: false, exception, false, false
- # [10:50] <zcorpan> opera, safari: false, false, false, false
- # [10:50] <zcorpan> are they all wrong? :)
- # [10:51] <Dashiiiva> element.hasOwnProperty(propname)
- # [10:51] <zcorpan> ah
- # [10:52] <zcorpan> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cscript%3E%0Aw(Node.hasOwnProperty(%27ELEMENT_NODE%27))%0Aw(Node.prototype.hasOwnProperty(%27ELEMENT_NODE%27))%0Aw(Element.prototype.hasOwnProperty(%27ELEMENT_NODE%27))%0Aw(document.documentElement.hasOwnProperty(%27ELEMENT_NODE%27))%0A%3C%2Fscript%3E
- # [10:53] <zcorpan> firefox: true false true false
- # [10:53] <zcorpan> opera, safari: true true false false
- # [10:53] <Dashiiiva> Huh... what's firefox doing...
- # [10:54] <zcorpan> is true true true false expected?
- # [10:54] <Dashiiiva> Ye
- # [10:54] <Dashiiiva> Node is an interface object, Node.prototype is the corresponding interface prototype object.
- # [10:57] <zcorpan> is this defined somewhere?
- # [10:57] <zcorpan> hasOwnProperty i mean
- # [10:57] <zcorpan> es4?
- # [10:58] <Dashiiiva> es3
- # [10:59] * Joins: philipj (n=philipj@118.71.116.142)
- # [10:59] <Dashiiiva> Element.ELEMENT_NODE should be undefined (neither own nor inherited) going by the current B4D.
- # [11:00] <Dashiiiva> I suppose that makes sense
- # [11:00] <philipj> how about Element.prototype.ELEMENT_NODE?
- # [11:00] <Dashiiiva> That's inherited from Node.prototype.ELEMENT_NODE
- # [11:00] <philipj> then all is well, it would seem
- # [11:01] <Dashiiiva> Yeah, I just assumed (for no reason) the interface objects would inherit each other like the prototype objects do
- # [11:02] <annevk> sigh
- # [11:02] <annevk> part of my bike broke so I couldn't use it :/
- # [11:03] <annevk> well, howcome's bike
- # [11:03] <philipj> what puzzles me a little is what part of what spec says that Node.ELEMENT_NODE is defined, is it the constness?
- # [11:04] <jgraham__> takkaria: What's your email (pref. gmail) address? I can add you as a html5lib project member#
- # [11:05] <annevk> philipj, DOM Core does, though not that Node is exposed on the global object...
- # [11:05] <Dashiiiva> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cscript%3E%0Afunction%20wel(el)%20{%0Avar%20elname%20%3D%20el.toString()%3B%0Aw(%20elname%20%2B%20%27%3A%20%27%20%2B%20el.hasOwnProperty(%27ELEMENT_NODE%27)%20%2B%20%27%20-%20%27%20%2B%20el[%27ELEMENT_NODE%27])%3B%0Ael%20%3D%20el.prototype%3B%0Aw(%20elname%20%2B%20%27%20prototype%3A%20%27%20%2B%20el.hasOwnProperty(%27ELEMENT_NODE%27)%20%2B%20%27%20-%20%27%20%2B%20el[
- # [11:05] <Dashiiiva> %27ELEMENT_NODE%27])%3B%0A}%0Avar%20els%20%3D%20[%20Node%2C%20Element%2C%20document.documentElement%20]%0Afor%20(%20var%20i%20%3D%200%2C%20el%3B%20el%20%3D%20els[i]%3B%20%2B%2Bi%20)%20{%20wel(el)%3B%20}%0A%3C%2Fscript%3E
- # [11:05] <Dashiiiva> ow
- # [11:06] <philipj> () should really be escaped
- # [11:06] <takkaria> jgraham__: takkaria@gmail.com
- # [11:06] <Dashiiiva> Needs an automatic tinyurl permalink as well :)
- # [11:07] <annevk> Dmitry is back!
- # [11:07] <annevk> so much more awesome than RB
- # [11:07] <jgraham__> takkaria: OK, done
- # [11:07] <takkaria> jgraham__: thanks!
- # [11:07] <takkaria> though the current tests seem pretty exhaustive, I'm not sure I've much to add
- # [11:10] <krijnh> annevk: indeed :)
- # [11:11] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [11:12] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:12] <hsivonen> http://lists.w3.org/Archives/Public/wai-xtech/2008Jun/0062.html
- # [11:13] <takkaria> look like good reasons to drop accesskeys and tabindexes :)
- # [11:13] <annevk> seems UA issues
- # [11:13] <annevk> most solved on mobile phones, too
- # [11:20] * Joins: aaronlev_ (n=chatzill@e176239101.adsl.alicedsl.de)
- # [11:23] <Dashiiiva> zcorpan: I suppose you could file a bug on firefox that they define the Node constants on Element instead.
- # [11:23] <zcorpan> Dashiiiva: i could, but i rather write more tests :)
- # [11:24] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:25] * Quits: aaronlev_ (n=chatzill@e176239101.adsl.alicedsl.de) (Client Quit)
- # [11:25] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [11:25] * Quits: Lachy (n=Lachlan@85.196.122.246) (Client Quit)
- # [11:25] <Dashiiiva> zcorpan: Because I was bored: http://tinyurl.com/58ujom
- # [11:27] * Joins: billyjack (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp)
- # [11:27] * Quits: billyjack (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp) (Client Quit)
- # [11:29] * Joins: billyjack (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp)
- # [11:30] * om_afk is now known as om_sleep
- # [11:31] * Joins: webben (n=benh@nat/yahoo/x-f8bb6da7fa720710)
- # [11:33] <annevk> regarding #webapps IRC logging: http://www.w3.org/mid/op.ucxtwtuf64w2qv@annevk-t60.oslo.opera.com
- # [11:34] <krijnh> 404
- # [11:34] <annevk> bah, /mid/ zuigt
- # [11:34] <annevk> http://lists.w3.org/Archives/Public/public-webapps/2008AprJun/0222.html
- # [11:35] * Quits: MikeSmith (n=MikeSmit@dhcp-246-81.mag.keio.ac.jp) (Read error: 110 (Connection timed out))
- # [11:35] <krijnh> Yay, the first time my name is mentioned inside an e-mail on lists.w3.org
- # [11:36] <krijnh> I should rename 'HTML5 IRC logs'
- # [11:37] <annevk> Web Platform IRC logs
- # [11:37] <annevk> though searching for html5 irc is convenient sometimes :)
- # [11:38] * billyjack is now known as MikeSmith
- # [11:38] <krijnh> 'irc logs' is shorter :)
- # [11:38] <krijnh> Third position in Google, thanks for all the linklove everybody!
- # [11:39] <annevk> we rely on you not selling that part of your domain for a million dollars :D
- # [11:39] <krijnh> Heh
- # [11:39] <krijnh> I should put up some ads there
- # [11:39] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:39] * Quits: aaronlev (n=chatzill@f051105064.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [11:39] <annevk> :evil:
- # [11:40] <krijnh> Didn't you have ads on your site as well?
- # [11:40] <krijnh> <!doctype html> <-- why two spaces?
- # [11:40] <annevk> I did, yeah
- # [11:41] <annevk> but I'm not running a community service
- # [11:41] <krijnh> Ow, I am?
- # [11:41] <krijnh> It's a Web 2.0 application, damnit
- # [11:46] * Joins: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [11:54] <krijnh> There, a new title, and some shiny subtitles
- # [11:55] <annevk> hehe, I like the switching subtitle
- # [11:58] <hsivonen> hmm. I see that #xhtml is no longer logged
- # [11:58] <hsivonen> not kick ass enough?
- # [11:58] <krijnh> annevk: There are 11 :)
- # [11:59] <krijnh> hsivonen: MikeSmith asked me to not show them anymore
- # [11:59] <krijnh> The logs are still up, but I'm not in that channel anymore
- # [12:00] <hsivonen> krijnh: interesting
- # [12:01] <krijnh> MikeSmith probably knows the interesting parts :)
- # [12:02] <MikeSmith> no interesting parts
- # [12:03] <MikeSmith> just a complaint to me about why "we" were logging the #xhtml2 channel
- # [12:04] <MikeSmith> noticing that XHTML2 WG doesn't actually seem to be using that channel for much of anything anymore
- # [12:04] <annevk> because "we" are spying, duh
- # [12:04] <MikeSmith> heh
- # [12:04] <Lachy> it was so that we could keep an eye on them to see what they were up to.
- # [12:04] <Lachy> I'm still in the channel, but I haven't paid much attention to it for ages.
- # [12:05] <MikeSmith> well, figured a good way to get that out of my complaint queue was to ping krijnh and ask if we could take it off the the "interesting" channels page
- # [12:06] <krijnh> You should also tell it did cost you some money
- # [12:06] <krijnh> Before people think I'm too easy
- # [12:08] * Joins: aaronlev (n=chatzill@e176239101.adsl.alicedsl.de)
- # [12:11] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [12:11] <MikeSmith> krijnh: btw, I know I probably asked you this before, but how do you pronounce your name?
- # [12:11] <Lachy> MikeSmith, who complianed?
- # [12:11] <MikeSmith> Lachy: does it matter?
- # [12:11] <krijnh> MikeSmith: a combination of 'crane' and 'whine'
- # [12:12] <Lachy> no, just curious
- # [12:12] <hsivonen> aargh. I have an IO bug in code that I haven't changed recently
- # [12:12] <MikeSmith> krijnh: thanks
- # [12:12] <hsivonen> very weird
- # [12:12] <krijnh> (MikeSmith: my first name at least)
- # [12:12] <MikeSmith> krijnh: I won't ask about your last name for now. First name enough of a challenge for me :)
- # [12:12] <krijnh> Heh
- # [12:13] <MikeSmith> one great thing about Japanese names is pronunciation is always unambiguous
- # [12:13] <krijnh> There goes my international fame, thank you mom and dad
- # [12:13] <MikeSmith> heh
- # [12:13] <hsivonen> oops. the IO bug was in code I wrote this week
- # [12:13] <hsivonen> whew
- # [12:14] <krijnh> Why is height="" and width="" not allowed on <input> btw?
- # [12:14] <MikeSmith> hsivonen: now you still got a bug to fix
- # [12:14] <krijnh> Makes sense for <input type="image">
- # [12:14] <hsivonen> MikeSmith: already fixed
- # [12:15] <krijnh> <input type="image" src="transparent.png" height="10" width="10" style="background:transparent url(sprites.png) no-repeat 10px 10px"> would be a use case
- # [12:15] <krijnh> (For html4all people reading this, yes, I would include alt="Foo")
- # [12:16] <MikeSmith> krijnh: I tink the idea is that you should use CSS for that
- # [12:16] <MikeSmith> hmm
- # [12:16] <MikeSmith> or maybe not
- # [12:17] <krijnh> I don't know :)
- # [12:17] <MikeSmith> hey man
- # [12:17] <krijnh> Perhaps I should post it to the list, so Hixie can dismiss my proposal, without even bothering to look at it!
- # [12:17] <krijnh> That would be fun
- # [12:17] <MikeSmith> read the spec
- # [12:17] <MikeSmith> http://www.w3.org/TR/html5/embedded0.html#the-img
- # [12:18] * Quits: aaronlev (n=chatzill@e176239101.adsl.alicedsl.de) ("ChatZilla 0.9.82.1 [Firefox 3.0/2008052906]")
- # [12:18] <krijnh> What about it?
- # [12:18] <MikeSmith> Element-specific attributes:
- # [12:18] <MikeSmith> alt
- # [12:18] <MikeSmith> src
- # [12:18] <MikeSmith> usemap
- # [12:18] <MikeSmith> ismap
- # [12:18] <MikeSmith> width
- # [12:18] <krijnh> Yeah, for <img>
- # [12:18] <MikeSmith> height
- # [12:18] <MikeSmith> oh shit
- # [12:18] <MikeSmith> sorry
- # [12:18] <krijnh> :)
- # [12:18] <MikeSmith> confused
- # [12:18] <MikeSmith> tired
- # [12:18] <MikeSmith> hungry
- # [12:19] <MikeSmith> pissed
- # [12:19] <MikeSmith> clearly time for me to take a beer break
- # [12:20] <Dashiiiva> only in Japan
- # [12:22] <MikeSmith> one may also enjoy to occasional breakfast beer
- # [12:22] <MikeSmith> "one" meaning "me"
- # [12:23] <MikeSmith> anybody know where stands Adam Barth's "HTML 5 should expose a native JSON parser for web content." proposal?
- # [12:23] <MikeSmith> did it get some bites?
- # [12:24] * MikeSmith re-reads the thread
- # [12:25] <MikeSmith> "A motivated browser maker need not wait for ECMA's formal approval."
- # [12:25] <MikeSmith> indeed
- # [12:26] <MikeSmith> do json2.js or ES3.1 have any traction?
- # [12:27] <MikeSmith> or are they just things that Doug Crockford is personally promoting?
- # [12:27] <MikeSmith> ah
- # [12:27] <MikeSmith> remembering now
- # [12:27] <MikeSmith> or re-reading now
- # [12:28] <Dashiiiva> I don't know about json2.js, but json in general has traction
- # [12:29] <MikeSmith> Dashiiiva: yeah, realize that
- # [12:29] <annevk> krijnh, does height/width work on image in browsers? I guess it probably does. Anyways, that's a WF2 feature which hasn't been looked at for quite a while
- # [12:30] <krijnh> On <input type="image"> you mean?
- # [12:30] <krijnh> Yeah, it does
- # [12:30] <krijnh> And it's silly they are reported as errors
- # [12:30] * Quits: qwert666 (n=qwert666@acbi111.neoplus.adsl.tpnet.pl) ("Leaving")
- # [12:31] <krijnh> But I'm sure hsivonen already mentioned this, or will
- # [12:31] * Joins: kig (n=kig@dsl-lprbrasgw1-fe87dc00-73.dhcp.inet.fi)
- # [12:36] <hsivonen> krijnh: I think width/height on input type=image has escape my radar
- # [12:36] <hsivonen> +d
- # [12:37] <krijnh> I added some messages to your logs yesterday, I think
- # [12:37] <krijnh> Do you agree they should be conforming?
- # [12:38] * hsivonen doesn't read the logs that actively
- # [12:38] <hsivonen> krijnh: yeah, I think they should be conforming
- # [12:40] * Joins: svl (n=me@60.234.28.182)
- # [12:41] <hsivonen> hmm. It seems that System.in in Java can violate some basic assumptions about InputStreams
- # [12:41] <hsivonen> that's *not* good
- # [12:43] <hsivonen> or I still have a serious IO bug lurking somewhere
- # [12:43] <hsivonen> a bug that shows up with System.in but not with files or network
- # [12:49] * Quits: jruderman (n=jruderma@ip68-5-179-249.oc.oc.cox.net)
- # [12:49] * Quits: jmb (n=jmb@login.ecs.soton.ac.uk) (Read error: 110 (Connection timed out))
- # [12:56] <heycam> Dashiiiva, i'll change it
- # [12:56] <heycam> (Dashiiiva gains an 'i' every day, it seems!)
- # [13:03] <hsivonen> whee! System.in misbehaves
- # [13:04] * Quits: philipj (n=philipj@118.71.116.142) (Read error: 110 (Connection timed out))
- # [13:05] <hsivonen> looks like System.in loses data if the data doesn't contain any line breaks
- # [13:05] <hsivonen> writing a final \n before pressing ^D fixes
- # [13:05] * Quits: roc (n=roc@121-72-162-128.dsl.telstraclear.net) (Remote closed the connection)
- # [13:07] <Dashiiiva> heycam: Only when my connection dies and I get a nick collision ;)
- # [13:17] * Quits: webben (n=benh@nat/yahoo/x-f8bb6da7fa720710)
- # [13:21] * Joins: deane (n=dean@121-72-166-171.dsl.telstraclear.net)
- # [13:25] * Quits: MikeSmith (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp) (Excess Flood)
- # [13:26] * Joins: MikeSmith (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp)
- # [13:36] * Quits: MikeSmith (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp) (Excess Flood)
- # [13:36] * Joins: MikeSmith (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp)
- # [13:42] * Joins: aaronlev (n=chatzill@e176239101.adsl.alicedsl.de)
- # [14:02] * Quits: svl (n=me@60.234.28.182) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [14:19] <heycam> hsivonen, typing input to System.in from the command line?
- # [14:19] * heycam just wonders if it's a line-buffering issue
- # [14:21] <hsivonen> heycam: typing to System.in in Eclipse's console
- # [14:21] <hsivonen> If I type
- # [14:21] <heycam> not sure about eclipse's console, but at the command line the terminal is line-buffered by default
- # [14:22] <hsivonen> <!DOCTYPE html>foo^D
- # [14:22] <hsivonen> I get an empty stream
- # [14:22] <hsivonen> but if I put a line break between foo and ^D, it works
- # [14:23] <hsivonen> it seems silly if ^D doesn't flush the last line
- # [14:23] * Parts: kig (n=kig@dsl-lprbrasgw1-fe87dc00-73.dhcp.inet.fi) ("Konversation terminated!")
- # [14:23] <heycam> yes but that seems as if the console isn't passing the data to System.in
- # [14:23] <heycam> i'd be pretty surprised if it was a bug in InputStream
- # [14:23] <hsivonen> yeah
- # [14:24] <heycam> if i run something from the command line (e.g. just "cat") and i press ^D before a newline, then it does nothing
- # [14:24] <heycam> but if i press ^D^D, then it ends the stream (and sends that line, without the \n on the end)
- # [14:25] <heycam> but that behaviour is really just up to the terminal
- # [14:30] <heycam> http://rafb.net/p/1ScMvU24.html
- # [14:31] <heycam> i guess it's just eclipse console idiosyncrasies
- # [14:33] <annevk> hsivonen, is vtab handled specially somewhere?
- # [14:33] <annevk> hsivonen, like, in the input stream?
- # [14:33] * annevk thought all that changed was that it was no longer a space character
- # [14:34] <hsivonen> annevk: just making sure when deleting non-obvious code
- # [14:34] <hsivonen> annevk: vtab is now the only non-space character that doesn't get the REPLACEMENT CHARACTER treatment below 0x20
- # [14:37] <annevk> hmm, I wonder if that's in line with browsers
- # [14:38] <hsivonen> I've now got the tokenizer synced with the spec
- # [14:38] <hsivonen> onto the tree builder
- # [14:38] * Quits: deane (n=dean@121-72-166-171.dsl.telstraclear.net) (Read error: 104 (Connection reset by peer))
- # [14:38] <zcorpan> hsivonen: btw, does the vtab checkin only affect the parser? or also non-schema checkers/html5 datatype library?
- # [14:39] <hsivonen> zcorpan: the parser has replaced vtab and ff with a space, so the higher layers operate on the XML 1.0 notion of white space
- # [14:39] <hsivonen> zcorpan: so, no
- # [14:39] <zcorpan> hsivonen: ok
- # [14:40] <annevk> interesting
- # [14:40] <annevk> that also doesn't sound like browsers
- # [14:40] <hsivonen> annevk: it's configurable in the V.nu browser
- # [14:40] <hsivonen> annevk: I mean, I'm not going to hack every off-the-shelf XML library to grok HTML5 space characters
- # [14:41] <hsivonen> so the RELAX NG engine sees XML 1.0 whitespace
- # [14:41] <hsivonen> doh. s/V.nu browser/V.nu parser/
- # [14:41] <annevk> it can't cope with characters not allowed in XML?
- # [14:41] * Philip` thinks the "just stick an HTML5 parser on the front of your XML toolchain" model seems to be showing a few cracks
- # [14:41] <hsivonen> annevk: I'm not sure
- # [14:42] <hsivonen> annevk: but whitespace is sensitive to XPath and RELAX NG intra-element white space
- # [14:42] <hsivonen> Philip`: how so? the parser papers over the differences
- # [14:44] <Philip`> hsivonen: If the parser is replacing vtab and ff with a space, that sounds like undesirable information loss
- # [14:45] <hsivonen> Philip`: I see three ways to deal with this, and my parser supports all three
- # [14:46] <hsivonen> Philip`: now that vtab is no longer a space char, it turns into a REPLACEMENT CHARACTER in te ALTER_INFOSET mode
- # [14:48] <hsivonen> (I'm not gonna support mapping to XML 1.1 or XML 1.0 5th ed.)
- # [14:49] * Joins: webben (n=benh@nat/yahoo/x-6a23a254a8aba79e)
- # [15:02] * Joins: ROBOd (n=robod@89.122.216.38)
- # [15:04] * Joins: aaronlev_ (n=chatzill@e176239101.adsl.alicedsl.de)
- # [15:05] * Joins: jmb^ (n=jmb@login.ecs.soton.ac.uk)
- # [15:10] * Quits: aaronlev (n=chatzill@e176239101.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [15:13] * Quits: jmb^ (n=jmb@login.ecs.soton.ac.uk) (Read error: 104 (Connection reset by peer))
- # [15:13] * Joins: jmb^ (n=jmb@login.ecs.soton.ac.uk)
- # [15:23] * Joins: jmb^_ (n=jmb@login.ecs.soton.ac.uk)
- # [15:24] * Quits: jmb^ (n=jmb@login.ecs.soton.ac.uk) (Read error: 104 (Connection reset by peer))
- # [15:26] * Quits: jgraham_ (n=james@81-86-219-217.dsl.pipex.com) ("I get eaten by the worms")
- # [15:44] <annevk> hsivonen, bugzilla sucks?
- # [15:48] * Joins: gorm (n=b@pat-tdc.opera.com)
- # [15:51] <zcorpan> annevk: bugzilla disrupts Hixie from working on URL stuff
- # [15:53] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [15:55] <annevk> it does?
- # [15:55] <annevk> maybe someone should file a bug on URL stuff then
- # [15:56] <zcorpan> http://krijnhoetmer.nl/irc-logs/html-wg/20080618#l-109
- # [15:56] <hsivonen> annevk: bugzilla password renewal email sucks
- # [15:57] <annevk> ah, missed that
- # [15:57] <annevk> i was thinking about filing a bug on <keygen> the other day
- # [15:57] <annevk> so that I don't forget
- # [15:57] <hsivonen> oops. my mail filters suck
- # [15:59] * hsivonen is a bit nervous that that the new block elements are defined to have interaction with implicit </p>
- # [15:59] <hsivonen> without a parse error
- # [16:00] <hsivonen> so authors can now shoot themselves in the foot with omitted </p> during the transition to HTML5
- # [16:01] <zcorpan> hsivonen: issue warnings?
- # [16:02] <Lachy> hsivonen, why is it a problem?
- # [16:02] <annevk> it breakz teh Webz
- # [16:03] <hsivonen> zcorpan: Yeah.
- # [16:03] <hsivonen> zcorpan: in fact, I have a request on file to provide warnigns on implied tags
- # [16:05] <annevk> Result: Valid HTML5
- # [16:05] <annevk> Note: implied tags found (learn more, show me)
- # [16:05] <Lachy> I fail to see how generating an implied end tag for p when encounting a new element like section will cause back compat problems.
- # [16:06] <Lachy> although it will create slightly different DOMs in new browsers compared with current browsers
- # [16:06] <hsivonen> Lachy: different DOMs are scary
- # [16:06] <annevk> might be a mess with styling
- # [16:08] <Lachy> so JS libraries could be used to fix up the DOMs. Just find all section, aside, article, etc., check if any have a P element has a parent and move it.
- # [16:08] <Lachy> or just ensure you always use </p> before such an element.
- # [16:09] <annevk> <p> ... <section> ... <h1> ends up with <h1> as sibling of <p>
- # [16:09] <annevk> the real solution is probably adding support for these elements quickly
- # [16:09] <hsivonen> Lachy: well that's my point. if you want to ensure it, a validator doesn't tell you
- # [16:09] <Lachy> oh well.
- # [16:09] * Quits: aaronlev_ (n=chatzill@e176239101.adsl.alicedsl.de) ("ChatZilla 0.9.82.1 [Firefox 3.0/2008052906]")
- # [16:10] <annevk> because you do want the implied <p>
- # [16:10] <annevk> euh, implied </p>
- # [16:10] <annevk> having it for <div> and not for <section> would be weird
- # [16:10] <hsivonen> oh, I agree that not having it would be weird in the long run
- # [16:12] * jmb^_ is now known as jmb
- # [16:15] <hsivonen> fun! the algorithms for li, dd and dt have changed
- # [16:21] * Joins: aaronlev (n=chatzill@e176239101.adsl.alicedsl.de)
- # [16:26] <hsivonen> aargh. AAA step #8 has changed. is it merely editorial?
- # [16:27] <Philip`> Changed since when?
- # [16:27] <Philip`> I believe there was one non-editorial change since I last looked at it
- # [16:27] <hsivonen> Philip`: since March 13th
- # [16:29] <hsivonen> since May 13th, too
- # [16:32] <Philip`> http://www.w3.org/TR/2008/WD-html5-20080610/diff/tree-construction.html#adoptionAgency
- # [16:34] <Lachy> hey, does anyone have any suggestions for example use cases of data-* attributes, that could be used in an article?
- # [16:35] <Lachy> The use cases in this article are already covered by the WF2 attributes with the same name http://www.alistapart.com/articles/scripttriggers/ - so that didn't help me much.
- # [16:35] <hsivonen> Philip`: it seems to me that the first para of step 8 has changed since the W3C diff
- # [16:36] <hsivonen> oops.
- # [16:37] * Joins: billmason (n=billmaso@ip232.unival.com)
- # [16:38] <hsivonen> I'm looking at the diff the wrong way round
- # [16:39] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Ex-Chat")
- # [16:41] * Joins: jcranmer (n=jcranmer@ltsp1.csl.tjhsst.edu)
- # [16:49] * Joins: KevinMarks (n=KevinMar@253.sub-75-210-1.myvzw.com)
- # [16:59] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [16:59] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) ("Verlassend")
- # [16:59] <annevk> I'm not sure if the not filing bugs in Bugzilla practice works btw. Seems that Hixie files bugs himself to keep himself from doing URL work! Madness
- # [16:59] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [17:03] <hsivonen> heh
- # [17:05] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:10] <gsnedders> jgraham__: Yeah, your impl. is correct per the latest version of the spec
- # [17:16] <hsivonen> https://bugzilla.mozilla.org/show_bug.cgi?id=439646
- # [17:17] * Quits: KevinMarks (n=KevinMar@253.sub-75-210-1.myvzw.com) (Read error: 104 (Connection reset by peer))
- # [17:21] * Joins: smedero (n=smedero@mdp-nat251.mdp.com)
- # [17:28] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [17:29] * Joins: KevinMarks (n=KevinMar@253.sub-75-210-1.myvzw.com)
- # [17:31] * Quits: KevinMarks (n=KevinMar@253.sub-75-210-1.myvzw.com) (Client Quit)
- # [17:40] <Philip`> jgraham__: http://blog.whatwg.org/atmedia-2008 misspells my name
- # [17:40] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [17:46] * Quits: MikeSmith (n=MikeSmit@EM60-254-241-215.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [17:48] * Joins: jgraham_ (n=james@81-86-219-217.dsl.pipex.com)
- # [17:57] * Joins: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com)
- # [17:57] * Joins: qwert666 (n=qwert666@acaz184.neoplus.adsl.tpnet.pl)
- # [18:01] * Joins: sverrej (n=sverrej@89.10.27.86)
- # [18:06] * Quits: annevk (n=annevk@pat-tdc.opera.com) (Remote closed the connection)
- # [18:06] * Joins: annevk (n=annevk@pat-tdc.opera.com)
- # [18:13] <Lachy> Philip`, where does it get it wrong?
- # [18:13] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [18:14] <gsnedders> Lachy: http://lachy.id.au/dev/presentation/hands-on-html5/ — that doesn't credit the photo of me
- # [18:14] <Philip`> Lachy: As of twenty seconds ago when I reloaded the page, it doesn't get it wrong anywhere, so that's okay now :-)
- # [18:15] <gsnedders> annevk: well, in the case of one of the commits yesterday, I bullied Hixie into it :P
- # [18:15] <Lachy> oh, yeah, there are still a few pics I need to add credits for.
- # [18:15] <Lachy> I just did the ones I stole from wikipedia and flickr, since they were in my list
- # [18:15] <gsnedders> Lachy: The one of me is from Flickr too :P
- # [18:15] <gsnedders> http://flickr.com/photos/jgraham/2479527700/
- # [18:16] <Lachy> yeah, but I didn't steal it. I asked for it.
- # [18:16] <gsnedders> Ah.
- # [18:16] <gsnedders> And taken by your co-presenter
- # [18:16] <Lachy> I will have to do it later, after I put my keyboard back together and turn on my PC where the file is located.
- # [18:17] <gsnedders> Hixie: The bug is I was taking "Let new candidate section be the section that contains candidate section in the outline of current outlinee." to mean that it was a section that was directly within the outline, and not looking deeper
- # [18:20] * Joins: KevinMarks (n=KevinMar@137.164.255.6)
- # [18:22] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 60 (Operation timed out))
- # [18:28] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [18:36] * Joins: weinig (n=weinig@17.255.100.221)
- # [18:47] * Quits: weinig (n=weinig@17.255.100.221)
- # [18:52] * Joins: qwert666_ (n=qwert666@day114.neoplus.adsl.tpnet.pl)
- # [18:55] * Joins: sverrej_ (n=sverrej@89.10.27.86)
- # [18:56] * Quits: sverrej (n=sverrej@89.10.27.86) (Read error: 104 (Connection reset by peer))
- # [18:57] * Quits: webben (n=benh@nat/yahoo/x-6a23a254a8aba79e)
- # [19:00] * Joins: jruderman (n=jruderma@ip68-5-179-249.oc.oc.cox.net)
- # [19:01] * Quits: qwert666 (n=qwert666@acaz184.neoplus.adsl.tpnet.pl) (Read error: 104 (Connection reset by peer))
- # [19:02] * Joins: heycam` (n=cam@124-168-70-30.dyn.iinet.net.au)
- # [19:04] * Quits: jgraham_ (n=james@81-86-219-217.dsl.pipex.com) ("I get eaten by the worms")
- # [19:08] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 110 (Connection timed out))
- # [19:10] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [19:12] * Quits: heycam (n=cam@203-217-69-250.dyn.iinet.net.au) (Read error: 101 (Network is unreachable))
- # [19:12] * Quits: KevinMarks (n=KevinMar@137.164.255.6) ("The computer fell asleep")
- # [19:14] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [19:18] * Joins: KevinMarks (n=KevinMar@137.164.255.6)
- # [19:29] <hsivonen> w00t. I have the SVG/MathML stuff running locally
- # [19:29] <hsivonen> now I need test cases
- # [19:40] * gavin_ is now known as gavin
- # [19:46] * zcorpan_ reads http://www.w3.org/2008/06/18-xhtml-minutes.html
- # [19:54] <zcorpan_> "SM: if FF claims to accept XML and XHTML, why serve text/html"
- # [19:58] * Joins: MikeSmith (n=MikeSmit@58.157.21.205)
- # [19:59] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [19:59] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [20:01] <zcorpan_> "TH: without a DOCTYPE many tools beome impossible to write, such as accessibility checkers"
- # [20:01] <hober> the mind boggles.
- # [20:01] <zcorpan_> oh sorry, that was clarified: "<Tina> Without a DOCTYPE many tools becomes impossible to write such that they can deliver trustworthy results. Accessibility checkers is one such example."
- # [20:03] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [20:06] <zcorpan_> "SM: issue with HTML-compatible and HTML4 - HTML4-compatible would explicitly exclude HTML5 for better or worse" -- i guess it'd be easier for them to be html5-compatible
- # [20:07] <zcorpan_> xmlns and <br/> being two examples (where the latter has incompatible parsing requirements in html4)
- # [20:10] * Joins: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [20:10] * Quits: KevinMarks (n=KevinMar@137.164.255.6) ("The computer fell asleep")
- # [20:10] <zcorpan_> seems their biggest issues are doctypes and content negotiation
- # [20:10] <zcorpan_> or at least that's what they're discussing
- # [20:11] <zcorpan_> i don't see what there's to discuss. use <!doctype html> and text/html. done.
- # [20:14] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [20:14] <mpt> A few days ago I came across a Web site of a Gnome developer that worked in the KDE browser (Konqueror) but not in the Gnome browser (Epiphany)
- # [20:15] <mpt> They had UA sniffing to serve XHTML-as-XML to Gecko, and their XML wasn't well-formed...
- # [20:15] <zcorpan_> not uncommon
- # [20:16] <hsivonen> interenting time warp there with DTDs
- # [20:16] <hsivonen> the XML community at large has generally moved on
- # [20:19] <zcorpan_> yeah reading this reminds me of discusions i was having in 2004 when i was learning this
- # [20:19] <zcorpan_> discussions
- # [20:22] <zcorpan_> seems they'll update appendix c
- # [20:24] * mpt wonders if one drinks dehydrated water at a Virtual FtF
- # [20:24] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [20:26] * Quits: om_sleep (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [20:27] <zcorpan_> "SP: if need compatability GLs to serve as HTML need lang, but in XHTML lang means nothing and is just there for convenience"
- # [20:27] <zcorpan_> hmm i thought lang had the same meaning in xhtml as in html
- # [20:28] * Joins: ROBOd (n=robod@89.122.216.38)
- # [20:29] <zcorpan_> "SP: CSS has knowledge of language text is in due to selector - language comes from parent element of current element; if current element is in latin, do this - only way to do in CSS anyway
- # [20:29] <zcorpan_> ... no selector that says if parent of current element has @blah ..."
- # [20:29] <zcorpan_> #foo[blah], [blah] #foo
- # [20:35] * Joins: dbaron_ (n=dbaron@corp-241.mountainview.mozilla.com)
- # [20:37] <zcorpan_> "SM: added thing about style HTML element
- # [20:37] <zcorpan_> ... in HTML style on body becomes style for entire viewport; in XML does not"
- # [20:37] <zcorpan_> not anymore :)
- # [20:38] <roc> huh?
- # [20:38] <roc> overflow and background on body get propagated to the viewport but nothing else does
- # [20:38] <zcorpan_> i meant the "in XML does not" part
- # [20:39] <zcorpan_> at least in firefox 3 and opera 9.5
- # [20:39] <zcorpan_> doesn't seem to be fixed in webkit yet
- # [20:39] <zcorpan_> http://bugs.webkit.org/show_bug.cgi?id=13568
- # [20:40] <roc> oh, for XHTML documents
- # [20:40] <zcorpan_> yeah
- # [20:41] <zcorpan_> any webkit guys here?
- # [20:43] <roc> we actually have a small regression in Firefox 3 that if you have multiple <body> elements, we propagate from the wrong one. Will be fixed in 3.1.
- # [20:43] <zcorpan_> ok. we have some glitches in opera too, but at least we should do the same for both html and xhtml
- # [20:48] * Joins: jgraham_ (n=james@81-86-219-217.dsl.pipex.com)
- # [20:49] <Hixie> multiple body elements?
- # [20:49] <Hixie> like through DOM manipulation?
- # [20:49] <Hixie> or XML?
- # [20:50] <zcorpan_> Hixie: either of those, i think
- # [20:50] <roc> either
- # [20:50] <Hixie> k
- # [20:50] <Hixie> not a high priority bug then :-)
- # [20:50] <roc> right
- # [20:51] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) (Read error: 110 (Connection timed out))
- # [20:54] <Dashiva> That's a lot of X's removed in 1782
- # [20:56] * Joins: KevinMarks (n=KevinMar@137.164.255.6)
- # [20:59] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [20:59] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [21:01] <Hixie> moved not removed
- # [21:02] <Dashiva> What about the big one, like 40 in a row?
- # [21:02] <Hixie> it was moved lower
- # [21:03] <Hixie> that big line is my bookmark
- # [21:03] <Hixie> indicates how far i've gotten in annotating the url changes
- # [21:03] <Dashiva> ah
- # [21:03] * Joins: webben (n=benh@nat/yahoo/x-74ac003a4a23b203)
- # [21:03] <zcorpan_> "<ShaneM> I think stepping directly to XForms for xhtml 1.2 would be too far."
- # [21:04] <zcorpan_> "SM: anything put into XHTML 1.2 should work in browsers today"
- # [21:04] <zcorpan_> cool, perhaps they could add <canvas> or something
- # [21:05] <takkaria> that line isn't equivalent to "things that work in browsers today should be put into XHTML 1.2" :)
- # [21:06] <zcorpan_> indeed
- # [21:06] <Hixie> which browsers? do they include IE?
- # [21:06] <Hixie> because they'd have to remove the xml part of they did
- # [21:06] * Hixie ducks
- # [21:06] * takkaria grins
- # [21:07] <Hixie> i wonder which will be done first, xhtml 1.2, or xhtml 5
- # [21:07] <Hixie> though i guess that depends on whether you consider the vague implications that xhtml1.1 consists of to be "done"
- # [21:08] <Dashiva> So, does 1.2 replace 2? Or is it like es3.1 and es4?
- # [21:08] <Hixie> es4 is supposed to be a superset of es3.1
- # [21:08] <Hixie> so it's clearly not like that
- # [21:08] <Hixie> it's more like es3.1 and vbscript
- # [21:08] <zcorpan_> Hixie: they'll allow it to be served as text/html if it's "HTML4-compatible", if i understand the notes correctly (or perhaps that wasn't about 1.2)
- # [21:09] <Hixie> zcorpan_: i sure hope they define parsing then!
- # [21:09] <Hixie> anyway i really must go before i insult someone
- # [21:09] <Hixie> bbiab
- # [21:09] <Lachy> damn! I was waiting for the insults :-)
- # [21:09] <zcorpan_> Dashiiiva: "SP: wrap all those up into a language called XHTML 1.2 so people can refer to markup language that uses these things
- # [21:09] <zcorpan_> ... another reason, makes step to XHTML2 that much smaller
- # [21:09] <zcorpan_> ... community needs to be led step-by-step to XHTML2 rather than just being presented with it - get used to concepts"
- # [21:10] <Dashiva> Maybe I should get a different nick for my work IRC client after all...
- # [21:10] <zcorpan_> Hixie: parsing of html4 is defined in sgml
- # [21:11] <zcorpan_> s/ii//
- # [21:11] <hsivonen> I don't see the point in aiming for what already exists if the spec doesn't specify the existing features in such detail that a new browser could be implemented to spec
- # [21:12] <zcorpan_> hsivonen: the point, aiui, is to lead the community step-by-step to xhtml2
- # [21:13] <zcorpan_> but obviously minutes are generally bad and i wasn't there so i could be misunderstanding the motivation
- # [21:13] * Quits: billmason (n=billmaso@ip232.unival.com) (".")
- # [21:14] <Lachy> interestingly, there doesn't appear to be any email about it on their mailing list.
- # [21:18] <Dashiva> And this happens just after they ask for #xhtml2 not to be logged? ;)
- # [21:19] <zcorpan_> too bad they have their own logs public then!
- # [21:20] * virtuelv is following discussion on wheel events
- # [21:21] <Dashiva> discussion... on wheels!
- # [21:21] * Dashiva apologizes for the wiki injoke
- # [21:21] <zcorpan_> "Gregory: That is part of the problem
- # [21:21] <zcorpan_> ... there is a difference in how HTML5 and XHTML treat role" -- http://www.w3.org/2008/06/17-xhtml-minutes.html
- # [21:21] <virtuelv> Dashiva: related to cobol on cogs?
- # [21:21] <zcorpan_> hmm... what's the difference?
- # [21:21] * Quits: KevinMarks (n=KevinMar@137.164.255.6) ("The computer fell asleep")
- # [21:21] <Dashiva> No, related to Willy on Wheels
- # [21:22] <virtuelv> I just wish they'd get it over and specify it as an angle and a delta value
- # [21:22] <virtuelv> because I'm dead sure that someone is going to put a trackball in there some day instead of the wheel
- # [21:22] <zcorpan_> fwiw, for log readers, the equivalent html5+aria would be <span class="checkbox" id="chbox1" role="checkbox" aria-checked="true" tabindex="0">
- # [21:23] <zcorpan_> i.e. no difference from xhtml+aria
- # [21:25] <zcorpan_> "Roland: We have a mess as it is
- # [21:25] <zcorpan_> ... we can't create a clean version for the future if we don't use the mechanisms that exist"
- # [21:27] <zcorpan_> reminds me of how hsivonen said it; the w3c will look stupid for having designed a mechanism that can't be used (paraphrasing from memory)
- # [21:29] <Dashiva> "We have to stand up for the rights of the author"
- # [21:29] <Dashiva> So forcing inconsistencies and all kinds of trouble is standing up for the authors
- # [21:29] <hsivonen> zcorpan_: that wasn't me. that was Hixie
- # [21:30] <zcorpan_> hsivonen: oh, ok, sorry
- # [21:37] * Quits: webben (n=benh@nat/yahoo/x-74ac003a4a23b203)
- # [21:39] * Joins: webben (n=benh@nat/yahoo/x-4e1fd7987750a77b)
- # [21:45] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [21:50] <zcorpan_> this dmitry thing gets me wondering
- # [21:50] <zcorpan_> if an alternative place is set up for proposals
- # [21:50] <zcorpan_> how are people to know if they should post there or to the list?
- # [21:51] * zcorpan_ is reading www-archive
- # [21:52] * Quits: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [21:54] <Hixie> zcorpan_: if they rely on sgml, then they'll never exit cr unless they cheat
- # [21:54] <Hixie> zcorpan_: and sgml doesn't define error handling
- # [21:55] <Hixie> zcorpan_: rb and d post to that thing, and everyone else to the list? :-)
- # [21:55] <hsivonen> does XHTML Basic 1.1 inputmode have a second interoperable implementation yet? or any public implementation at all?
- # [21:55] * Quits: webben (n=benh@nat/yahoo/x-4e1fd7987750a77b) (Success)
- # [21:56] <Philip`> SGML defines what is an error, so a document with SGML errors is not HTML4 and so it's not HTML4-compatible XHTML and so it's not XHTML and it's out of scope to define what all non-XHTML bytestreams in the world mean
- # [21:56] <zcorpan_> Hixie: i guess they won't require UAs to support sgml or html4
- # [21:58] * hsivonen wonders if *independent* interoperable implementations on anything SGML-based are feasible
- # [21:58] <Hixie> Philip`: quite
- # [21:58] <hsivonen> at least one of the impls would have to be without James Clark's code to be independent
- # [21:58] <Hixie> anyway
- # [21:58] <Hixie> back in the world of actual real spec development...
- # [22:07] <zcorpan_> hsivonen: i wonder if it's good or not to briefly explain what the concequences are of parse errors when it's not what one might expect
- # [22:08] <hsivonen> zcorpan_: do you mean in the tree builder?
- # [22:08] <zcorpan_> hsivonen: e.g. <div/> or <form><form>
- # [22:08] <hsivonen> Yeah, it would be good
- # [22:10] <zcorpan_> like, say, "Ignoring the slash." and "Ignoring the form start tag."
- # [22:11] <hsivonen> yeah. fixing now
- # [22:11] <zcorpan_> cool
- # [22:14] <hsivonen> zcorpan_: checked in but deployment will have to wait, because I regressed xmlns talisman and NCName checking when implementing SVG and MathML
- # [22:16] <zcorpan_> hsivonen: what's the easiest way to see all the messages that v.nu can emit? check out the code?
- # [22:17] <hsivonen> zcorpan_: yeah, checking out the code is the only way
- # [22:17] <zcorpan_> hsivonen: ok
- # [22:17] * Joins: tantek (n=tantek@137.164.255.6)
- # [22:18] <hsivonen> the plan is to migrate the parser to proper string bundles for messages once the messages stabilize or are really needed in a non-English language
- # [22:19] * Joins: KevinMarks (n=KevinMar@137.164.255.6)
- # [22:21] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:21] <mcarter> it seems that a number of people don't know how to reply back to the list when they respond to a point I've made
- # [22:23] <hsivonen> annevk, jgraham_: we should extend the tree builder test format to express namespaced names
- # [22:24] <hsivonen> the format extension should be able to distinguis xlink:href as the local name an href in the xlink namespace
- # [22:24] * zcorpan_ goes to grab some food while build.py is working
- # [22:24] <hsivonen> so hard-wired prefixes with the colon may not be the greatest thing
- # [22:25] <Hixie> someone let me know if they see jwalden around
- # [22:26] * Joins: smedero_ (n=smedero@mdp-nat251.mdp.com)
- # [22:26] <zcorpan_> hsivonen: sdf can do that, but might not be optimal for the purpose. though i can change sdf if you have suggestions :)
- # [22:28] <hsivonen> my first instinct says we should just kludge an extension to the current format with prefixes that are sufficiently different from qnames
- # [22:29] <hsivonen> like {xlink}href instead xlink:href
- # [22:29] <hsivonen> or something
- # [22:30] * Quits: smedero (n=smedero@mdp-nat251.mdp.com) (Read error: 60 (Operation timed out))
- # [22:31] <hsivonen> or xlink=href to use a character that doesn't normally occur in attribute names
- # [22:31] <Hixie> mcarter: ok, unless someone raises a clear objection, i'm going to assume we'll use the term Web Socket
- # [22:31] <Hixie> with the interface WebSocket
- # [22:32] <mcarter> interface and implementation have the same name?
- # [22:32] <Hixie> and the protocol Upgrade value WebSocket/1 or some such
- # [22:32] <Hixie> right, you'd call new WebSocket(ur);
- # [22:32] <Hixie> er
- # [22:32] <Hixie> var socket = new WebSocket(url);
- # [22:33] <mcarter> sounds great
- # [22:33] <Hixie> not sure if the url should be an http: URL or a wsp: URL (wsdp:? wstp:?)
- # [22:33] <Hixie> (or just ws: maybe)
- # [22:33] <Hixie> since it's not really an HTTP connection you're opening
- # [22:33] <mcarter> I went with http in the proposal just because I didn't want to rock too many boats
- # [22:33] <Hixie> sure
- # [22:34] <hsivonen> hmm. I guess '>' would be the safest delimiter but it is unpleasing aesthetically
- # [22:34] <Hixie> luckily, i have my own boat, and am absolutely fine with rocking others! :-D
- # [22:35] <Hixie> also so far i'm going to have invented a language, a set of dom interfaces, and a namespace (for xbl)
- # [22:35] <Hixie> i might as well add tcp port, uri scheme, and mime types to the list
- # [22:35] * hsivonen sees that SHAVIAN LETTER IAN has made into the spec
- # [22:35] <Hixie> it has?
- # [22:35] <mcarter> sound logic as I've ever heard
- # [22:35] <Hixie> hah
- # [22:35] <hsivonen> Hixie: the SDF spec
- # [22:36] <hsivonen> (I thought I was looking at HTML5 for a moment due to the style sheet)
- # [22:36] <Hixie> dare i ask what SDF is?
- # [22:36] <hsivonen> http://simon.html5.org/specs/sdf
- # [22:36] <mcarter> Hixie, I think the framing discussion the other night was on the right track, btw
- # [22:36] <Hixie> hsivonen: oh, cool
- # [22:36] <Hixie> mcarter: yeah, me too
- # [22:36] <zcorpan_> hsivonen: space could work
- # [22:36] <Hixie> mcarter: i think this whole thing has legs now, and can fly, to mix metaphors a little.
- # [22:36] <mcarter> yeah, it may sail too
- # [22:37] <Hixie> :-)
- # [22:37] <Hixie> makes sense if we're rocking boats that it would sail, i guess
- # [22:37] <Hixie> hey, shavian letter ian really is in this spec, that's funny
- # [22:38] <hsivonen> zcorpan_: yeah, space would work
- # [22:38] <mcarter> Hixie, for this article I'm writing, at some point do you mind if I ask you for a quote about the new WebSocket standard?
- # [22:38] <zcorpan_> i wanted an astral character, and that was the first i found :)
- # [22:39] <zcorpan_> i found it in Hixie's signature ;)
- # [22:39] <Hixie> mcarter: sure, though it'll be a pretty lame quote in all likelihood, and must be unrelated to google in any way :-)
- # [22:39] <mcarter> Hixie, sounds perfect
- # [22:39] <mcarter> I just want to provide the feeling that I didn't make this WebSocket up all by myself
- # [22:40] * Quits: smedero_ (n=smedero@mdp-nat251.mdp.com) (Remote closed the connection)
- # [22:40] <Hixie> hehe
- # [22:41] <Hixie> usually people have the opposite problem :-P
- # [22:41] * Joins: smedero (n=smedero@mdp-nat251.mdp.com)
- # [22:43] <zcorpan_> hsivonen: i'll figure out if validator.nu is compatible with windows or not, i guess :)
- # [22:43] <zcorpan_> wonder if i have JDK 5
- # [22:45] <hsivonen> zcorpan_: cool
- # [22:45] <hsivonen> zcorpan_: build.py expects to be able to create symlinks
- # [22:45] <hsivonen> zcorpan_: the potentially Windows-incompatible spots in build.py should have comments to that effect
- # [22:46] <jcranmer> zcorpan_: that's an ancient version!
- # [22:46] <jcranmer> you should be using JDK 6, if not milestone builds of Java 7!
- # [22:46] <hsivonen> jcranmer: Validator.nu doesn't require later than that
- # [22:46] <hsivonen> later than 5 that is
- # [22:46] * jcranmer takes that to mean that it actually uses Java 5's features
- # [22:46] <hsivonen> yes
- # [22:47] <hsivonen> generics and StringBuilder mainly
- # [22:47] * Joins: eseidel (n=eseidel@nat/google/x-d2f76cc3e87f6c73)
- # [22:47] <jcranmer> no enums? not that it's really important
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/list.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/meta.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/nameident.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/object.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/param.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/pres.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/script.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/ssismap.rng
- # [22:48] <hsivonen> jcranmer: yeah, enums too for perf-insensitive enums
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/struct.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/style.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/table.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/target.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/modules/text.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/xhtml-basic.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/xhtml-strict.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/xhtml.rng
- # [22:48] <zcorpan_> http://www.thaiopensource.com/relaxng/xhtml/xhtml11.rng
- # [22:48] <zcorpan_> http://www.w3.org/2001/XMLSchema.dtd
- # [22:48] <zcorpan_> http://www.w3.org/2001/datatypes.dtd
- # [22:48] <zcorpan_> http://www.w3.org/Graphics/SVG/1.1/rng/svg-basic-structure.rng
- # [22:48] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Excess Flood)
- # [22:49] <Hixie> heh
- # [22:49] <Hixie> mispaste i assume :-)
- # [22:49] <jcranmer> most likely
- # [22:49] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [22:49] <zcorpan_> oops
- # [22:49] <zcorpan_> sorry
- # [22:49] <Hixie> no worries
- # [22:49] <zcorpan_> IOError: [Errno 2] No such file or directory: './onvdl/saxon/dist/saxon-whattf.jar'
- # [22:49] <zcorpan_> right after fsrc = open(src, 'rb')
- # [22:50] <hsivonen> zcorpan_: chances are that Saxon failed to build earlier
- # [22:50] <Hixie> though if someone was gonna try to spam the channel, schema URIs do seem like a good choice!
- # [22:50] <zcorpan_> Hixie: :)
- # [22:52] <zcorpan_> hsivonen: because i didn't have JDK?
- # [22:54] <hsivonen> zcorpan_: did it print messages looking like javac output?
- # [22:54] <hsivonen> if you have javac and jar in PATH, it should print all kinds of cruft when javac runs
- # [22:54] <zcorpan_> 'javac' -nowarn -classpath './dependencies/commons-codec-1.3/commons-codec-1.3.j....
- # [22:55] <zcorpan_> saxon/classes' @temp-javac-list
- # [22:55] <hsivonen> that's the echo of the javac invocation
- # [22:55] <zcorpan_> sh: javac: command not found
- # [22:55] <hsivonen> well that's the problem then
- # [22:56] <hsivonen> build.py has command line options for specifying path to javac if it isn't autodiscovered
- # [22:56] <hsivonen> see --help
- # [22:57] * Quits: eseidel (n=eseidel@nat/google/x-d2f76cc3e87f6c73)
- # [22:58] <zcorpan_> ok
- # [22:59] * Quits: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com) ("Ex-Chat")
- # [22:59] * Quits: tantek (n=tantek@137.164.255.6)
- # [23:00] <hsivonen> bed time on my timezone
- # [23:00] <hsivonen> nn
- # [23:00] <zcorpan_> nn
- # [23:06] * zcorpan_ builds again, this time *with* JDK...
- # [23:07] * Joins: roc (n=roc@202.0.36.64)
- # [23:07] * Joins: othermaciej (n=mjs@17.255.100.106)
- # [23:13] <zcorpan_> well it still didn't work but for other reasons
- # [23:16] <jgraham__> gsnedders: You have modified my outline.py to match the current spec?
- # [23:17] <gsnedders> jgraham__: Yeah, it was mainly just ripping out your algorithm. It's really not much. I deleted my own local copy anyway.
- # [23:17] <jgraham__> So I have to be bothered to do it myself?
- # [23:18] <jgraham__> i.e. you can't just put the file somewhere?
- # [23:19] * Quits: KevinMarks (n=KevinMar@137.164.255.6) ("The computer fell asleep")
- # [23:20] <gsnedders> jgraham__: I deleted it, as I said
- # [23:24] <Hixie> gsnedders: so the outline algorithm is all set now right?
- # [23:24] <gsnedders> Hixie: Yeah. I think it could be clearer in how it is written, but it works
- # [23:25] <Hixie> yeah well, hopefully diagrams and examples and intro text will help with that in due course
- # [23:25] <Hixie> getting the algorithm right is the first step :-)
- # [23:25] <Hixie> and it's much better than it was, right?
- # [23:25] <gsnedders> Yeah, sure.
- # [23:25] <gsnedders> Helping you avoiding to doing URLs has its uses :)
- # [23:27] <Hixie> :-)
- # [23:28] <Hixie> i really want to do done with this url crap and go on to WebSocket!
- # [23:28] <Hixie> bbiab
- # [23:36] <Lachy> woah, I haven't had a chance to look at the URL at all till just now. Hixie, assuming I'm looking at the right section (3.2.9) it doesn't look like you've done much at all with it.
- # [23:40] <jcranmer> Hixie: if it makes you feel better I get to break through encrusted layers of hacks...
- # [23:40] * Joins: tantek (n=tantek@137.164.255.6)
- # [23:41] <zcorpan_> Lachy: it's mostly annotating the source with XXXURL comments, i think, so Hixie knows what needs doing
- # [23:44] * Quits: White_Leviathan (n=asdf@ip2-195.thearbours.orl.ygnition.net) (Read error: 110 (Connection timed out))
- # [23:45] <Lachy> ah, ok.
- # [23:45] * Joins: eseidel (n=eseidel@nat/google/x-5c2c701080c40a44)
- # [23:46] <Lachy> oh, geez. Now I see why it's such a boring job.
- # [23:49] <Philip`> Many people spend their whole lives in boring jobs, so it's unreasonable to complain after only a few days of it :-p
- # [23:49] <krijnh> shepazu: Pong
- # [23:50] <shepazu> hey, krijnh, did you see this thread? http://lists.w3.org/Archives/Public/public-webapps/2008AprJun/0226.html
- # [23:51] <krijnh> I have now
- # [23:51] <shepazu> :)
- # [23:51] <krijnh> There is no [off] thing (yet)
- # [23:52] <shepazu> is it possible you could add an "[off]"?
- # [23:52] <krijnh> And yes, my connections sometimes drops :)
- # [23:52] <krijnh> Yeah, I think it is
- # [23:52] <shepazu> hey, I'm not complaining... but it would be nice if everything were perfect :)
- # [23:52] <krijnh> Everything will never be perfect, just accept that ;)
- # [23:52] <shepazu> [off] never!
- # [23:53] <krijnh> Which makes it perfect immediately
- # [23:53] <krijnh> Anyway, I have no idea how I can not log [off] messages
- # [23:53] <shepazu> just close my eyes and believe, eh?
- # [23:53] * Joins: joaoeso1 (n=jta@193.126.199.180)
- # [23:54] <krijnh> But I could hide them in the views
- # [23:54] <Philip`> Make the script read from `grep -v '> \[off\]' log.txt` instead of from log.txt?
- # [23:54] <shepazu> you mean more than CSS, right? :)
- # [23:54] <krijnh> They would still be in the logs
- # [23:54] <krijnh> PHP parses the logfiles, and wraps them in some HTML
- # [23:54] <krijnh> I could ignore the [off] lines
- # [23:54] <Philip`> Does anyone other than you have access to those raw logs?
- # [23:55] <zcorpan_> shepazu: the easy way to solve the connection drop problem is to have multiple independent loggers
- # [23:55] <krijnh> Not that I know of
- # [23:55] <shepazu> zcorpan_: yup
- # [23:55] <zcorpan_> shepazu: what's the point in making [off] lines not go in the logs?
- # [23:55] <Philip`> zcorpan_: That doesn't help if there's a netsplit and all the loggers are stuck on the opposite side to the discussion
- # [23:55] <hober> zcorpan_: feedback from #webapps
- # [23:56] <shepazu> zcorpan_: some people don't like being logged...
- # [23:56] <hober> zcorpan_: doug wants the feature, though I don't know who would use it
- # [23:56] <krijnh> Is it okay if [off] lines are presented as "[off]" ?
- # [23:56] <krijnh> It could be weird if in the middle of a discussion some lines are missing
- # [23:56] <hober> Personally, I think there should be some indication on the site if lines were redacted
- # [23:56] <krijnh> I agree
- # [23:56] * Quits: roc (n=roc@202.0.36.64) (Remote closed the connection)
- # [23:56] <shepazu> yeah, I agree
- # [23:57] <krijnh> Oki
- # [23:57] <shepazu> cool, thanks!
- # [23:57] <hober> In fact, I'd like it to have the nick of the relevant party.
- # [23:57] <hober> So you can tell *that* so-and-so said something, but not *what*
- # [23:57] <krijnh> Indeed
- # [23:57] <shepazu> hober: you're getting into the bounds of crossing the privacy line
- # [23:57] <krijnh> Do you guys need some sort of consensus on that? :)
- # [23:57] <hober> I dunno. It's a public WG
- # [23:57] * Joins: roc (n=roc@202.0.36.64)
- # [23:58] <hober> I think wanting your IRC to not be logged is somewhat antisocial
- # [23:58] <krijnh> So not web 2.0
- # [23:58] <hober> and I'd like such antisocial behavior exposed if we're going to cater to it with some kind of feature
- # [23:58] <Philip`> You could always have an additional secret channel, like we have with #whatwg-cabal
- # [23:58] <zcorpan_> if someone doesn't want something to be logged, don't say it in a logged channel
- # [23:58] <shepazu> hober: while other think that people logging their every comment is antisocial :)
- # [23:58] <zcorpan_> i honestly don't see the problem
- # [23:58] <hober> zcorpan_: right
- # [23:58] <krijnh> Philip`: I'm logging that as well, under a different nick ;)
- # [23:59] <shepazu> zcorpan_: if you don't see the problem, then you aren't the person who wants this feature :)
- # Session Close: Thu Jun 19 00:00:00 2008
The end :)