Options:
- # Session Start: Tue Jul 15 00:00:00 2008
- # Session Ident: #whatwg
- # [00:00] <Dashiva> Someone suggested it was because they didn't want <SVG XMLNS in their lap
- # [00:00] <othermaciej> their proposal for XML parse errors seems to be, when you hit one you close all open XML element and resume parsing as HTML at the same character position
- # [00:00] <othermaciej> which seems like a weird compromise between draconian and tolerant
- # [00:00] <roc> Dashiva: they wouldn't get it that, because that wouldn't render anything
- # [00:01] <roc> The XML parser would create an <SVG> element with no namespace, and the author tries again
- # [00:01] * Quits: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com) ("Leaving")
- # [00:01] <Hixie> they require <a> in svg to be written <svg:a>
- # [00:01] <Hixie> as i understand it
- # [00:02] <Hixie> this proposal seems to somewhat fail to achieve the goal maciej put forward
- # [00:02] <Hixie> of providing for svg the same level of author-friendliness as html has
- # [00:03] <roc> that goal is 100% incompatible with the SVG WG's goal of strict XML parsing
- # [00:03] <Hixie> yes
- # [00:03] <gsnedders> yay! simple consensus!
- # [00:04] <Hixie> wait, this proposal requires html in svg to be marked up as xhtml, too
- # [00:06] <gsnedders> oh yuk.
- # [00:07] <annevk> last thing I read about that was to embed text/html HTML through CDATA or something, similar to Atom
- # [00:07] <annevk> I didn't like it too much
- # [00:08] <roc> I don't think that's really a big deal
- # [00:08] <jgraham> CDATA? For real?
- # [00:08] <Hixie> this proposal would also totally break this page http://www.laroseweb.com/calcs/fans.php
- # [00:08] <gsnedders> It works, sure, and it would be compat. with SVG/XML, but it seems illogical within HTML
- # [00:09] <Hixie> it would knock out the stylesheet and the script
- # [00:09] <roc> many things make HTML in <foreignObject> less than ideal
- # [00:10] <annevk> Hixie, it would fail on &mathml;
- # [00:10] <Hixie> oh, true
- # [00:10] * Joins: eseidel_ (n=eseidel@c-67-180-49-110.hsd1.ca.comcast.net)
- # [00:11] * Joins: eseidel__ (n=eseidel@72.14.224.1)
- # [00:11] <jgraham> roc: I guess HTML in <foreignObject> will be one of the most useful features if the syntax doesn't suck so much that no one can get it right
- # [00:11] * Quits: eseidel (n=eseidel@72.14.224.1) (Nick collision from services.)
- # [00:11] <roc> it really only works for fixed-size objects
- # [00:11] <annevk> aren't most of the HTML in <foreignObject> cases addressed by SVG effects through CSS?
- # [00:11] * Quits: weinig_ (n=weinig@17.203.15.176) (Read error: 104 (Connection reset by peer))
- # [00:12] * eseidel__ is now known as eseidel
- # [00:12] <roc> yes
- # [00:12] * Joins: weinig (n=weinig@17.203.15.176)
- # [00:12] <roc> one of the main goals of SVG effects through CSS is to get around the fact that <foreignObject> prevents reasonable layout
- # [00:12] <annevk> I would expect SVG in HTML to be mostly used for iconic images and logos
- # [00:12] <roc> diagrams
- # [00:12] * Quits: eseidel_ (n=eseidel@c-67-180-49-110.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
- # [00:12] <roc> if you want to send a diagram in email it's going to be the only way
- # [00:14] <Hixie> bbiab
- # [00:14] * Joins: Copyman` (n=ano@82-204-22-72.dsl.bbeyond.nl)
- # [00:14] * Quits: Copyman` (n=ano@82-204-22-72.dsl.bbeyond.nl) (Remote closed the connection)
- # [00:17] <takkaria> I don't really have an opinion either way on how to do svg-in-html; even implenting an xml fragment parser in the html parsing algorithm wouldn't be that much of a code burden
- # [00:18] <takkaria> it wouldn't be great, but it's doable
- # [00:18] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [00:18] <annevk> would it be more work than what you have so far?
- # [00:18] <takkaria> I very much doubt it, really
- # [00:18] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [00:19] <takkaria> it just multiplies the number of testcases needlessly, I guess
- # [00:22] <howardr> does anyone know any good irc channels on js?
- # [00:22] * Quits: heycam (n=cam@124-168-84-21.dyn.iinet.net.au) ("bye")
- # [00:22] <takkaria> I would much prefer just making sure implementations can export the SVG tree as well-formed XML, really, because that seems like by far the least effort on anyone's part
- # [00:22] <roc> irc.mozilla.org has #js, not sure if it's good :-)
- # [00:23] <takkaria> (though I'm just repeating what I said in my reply now, so I'll go back to fixing my parser...)
- # [00:23] <Dashiva> howardr: #javascript on efnet
- # [00:25] <howardr> thanks
- # [00:32] * Quits: Maurice (n=ano@82-204-22-72.dsl.bbeyond.nl) (Connection timed out)
- # [00:36] * Joins: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com)
- # [00:38] <gsnedders> Any feelings on handling of <!--begin-toc--><em>foo<!--end-toc-->bar?
- # [00:38] <jcranmer> a comment in the middle of a word? :-P
- # [00:38] <gsnedders> (with regards to the spec-gen, that is)
- # [00:39] <gsnedders> I feel like throwing a fatal error if the start and end comments don't have the same parent
- # [00:40] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [00:40] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [00:41] * Quits: smedero (n=smedero@mdp-nat75.mdp.com)
- # [00:42] <annevk> gsnedders, just do whatever is easiest for weird stuff
- # [00:42] <annevk> (until we complain :) )
- # [00:56] <gsnedders> Well, either I just let the behaviour be weird (everything after until the em tag closes vanishes), or I just throw a fatal error
- # [00:57] <gsnedders> I think the latter behaviour is more desirable
- # [00:57] <gsnedders> anyhow, g'nite
- # [00:57] * Quits: gsnedders (n=gsnedder@p57A22260.dip0.t-ipconnect.de) ("Killin' teh intarwebs")
- # [01:02] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [01:05] * Quits: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com) ("Leaving")
- # [01:07] * Quits: aaronlev (n=chatzill@e181179137.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [01:07] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [01:12] * Quits: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net) (Read error: 104 (Connection reset by peer))
- # [01:12] * Joins: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [01:19] * Quits: weinig (n=weinig@17.203.15.176)
- # [01:20] <Lachy> if scoped stylesheets were changed to be evaluated only in the context of the scoped tree, rather than the whole document, the :scope would still be useful because it allows you to select the scope element and it's children with the child combinator
- # [01:21] <Lachy> it would only remove the need for :scope when used in conjunction with the descendant combinator, in most cases.
- # [01:22] <annevk> if selectors would work that way re-using :root makes even more sense
- # [01:22] <annevk> and the sole advantage of :root as I demonstrated in my e-mail goes away
- # [01:22] <annevk> advantage of :scope, I should say
- # [01:22] <Lachy> maybe we could allow for both options
- # [01:23] <annevk> over engineering?
- # [01:23] <Lachy> no
- # [01:23] <annevk> yes
- # [01:23] <Lachy> no
- # [01:23] <Hixie> :root should match the root element and that's all
- # [01:23] <Hixie> don't overload it with random other functionality
- # [01:24] <othermaciej> I don't see why changing the meaning of :root in some cases is better than adding :scope for those use cases
- # [01:24] <Lachy> there were a few cases where the ancestor elements outside the scope are useful, as I gave some examples of already
- # [01:24] <othermaciej> it would still need a change to the Selectors spec
- # [01:25] <othermaciej> and unless there are cases where you want to refer to either the document root or the scope node interchangeably depending on context, it doesn't seem helpful to use a single pseudo-class for both
- # [01:25] <annevk> I was just saying that if we change selectors to not match outside the subtree it would be over engineering to also keep the current solution
- # [01:25] <Lachy> new version of the spec http://lists.w3.org/Archives/Public/www-archive/2008Jul/att-0025/Overview.html
- # [01:25] <Lachy> using :scope now
- # [01:25] <jcranmer> whee, discussion of the scoped-stylesheet debate
- # [01:25] <annevk> but since the current solution is better it seems good to not introduce the one where you need to change selectors
- # [01:27] <Hixie> selectors should match outside the scoped subtree imho
- # [01:27] <annevk> doing anything else changes selectors
- # [01:28] <annevk> afaict
- # [01:28] <jcranmer> I still don't see why
- # [01:28] <annevk> because selectors are run in the context of a document
- # [01:28] <jcranmer> well, the idea of scoping is that you're explicitly limiting scope
- # [01:29] <Hixie> the element doesn't suddenly lose its parent just because you are scoped to it
- # [01:29] <jcranmer> which to me implicitly limits context as well
- # [01:29] <Hixie> if you style elements that are inside <Aside> elements, they should still have those styles even if the <Aside> is outside your scope
- # [01:29] <jcranmer> it doesn't limit it, it just makes it portable
- # [01:29] <jcranmer> s/limit it/loses its parent/
- # [01:30] <Lachy> I think they should apply to the whole document too. It should be possible to take a stylesheet that normally applies to a whole document, but then just restrict the set of elements it applies to, without altering which elements match.
- # [01:30] <Lachy> that's only possible with matching outside of the subtree is true.
- # [01:31] <jcranmer> AFAICT, the primary use case is for when the author of a subsection does not have access to the style of the whole page
- # [01:31] <jcranmer> which makes matching outside the scope pointless
- # [01:31] <annevk> my use case was including some local styles for a blog entry
- # [01:31] <jcranmer> right
- # [01:31] <Lachy> but, there does seem to be some demand for the other situation too, and so maybe if those use cases are justified, an attribute on the style selement could specify whether the context was the whole document or the subtree
- # [01:32] <annevk> i do have access to the whole page :)
- # [01:32] <jcranmer> I'd end up having to <root of scope> <rest of selector> the entire thing
- # [01:32] <annevk> jcranmer, why?
- # [01:32] <jcranmer> annevk: to limit the styles properly of course
- # [01:33] <Lachy> only when you're using the descendant selector
- # [01:33] * Quits: pd (n=kyleh@c-98-212-152-80.hsd1.il.comcast.net) (Read error: 110 (Connection timed out))
- # [01:33] <annevk> jcranmer, if you needed to do that the scoped attribute would have no effect, but it does
- # [01:33] <jcranmer> of course, I think we can sidestep the entire argument by having the author point out which model he would like to use
- # [01:34] * jcranmer heads to supper
- # [01:34] <Lachy> <style scoped context="document"> or <... context="scope">
- # [01:34] <annevk> not changing selectors seems the most straightforward path and is already how, e.g. getElementsByClassName works
- # [01:35] <annevk> well, the definition, hah, it doesn't actually matter of course there :/
- # [01:38] <Hixie> with :scope you don't need any of this
- # [01:38] <Hixie> you can just stick :Scope on the front of every selector and be done with it
- # [01:39] <annevk> yup
- # [01:42] * Joins: weinig (n=weinig@17.203.15.176)
- # [01:46] * Quits: weinig (n=weinig@17.203.15.176) (Client Quit)
- # [01:46] <Lachy> Hixie, yeah, I agree, but people are complaining about having to do that.
- # [01:46] * Quits: eseidel (n=eseidel@72.14.224.1)
- # [01:47] <annevk> there's always people who disagree with something
- # [01:47] <Lachy> I know, but I don't like that. Why can't everyone just agree with everything I say?
- # [01:48] * annevk shrugs
- # [01:50] <Hixie> Lachy: "waah"
- # [01:50] <Hixie> Lachy: "I have considered your feedback but decided to not do this for v1."
- # [01:51] <Lachy> what?
- # [01:51] <Lachy> where did I say that?
- # [01:52] <Hixie> you didn't
- # [01:52] <Hixie> i'm saying that's how you should respond
- # [01:52] <Lachy> oh
- # [01:52] <Hixie> in response to the "waah" from people
- # [01:53] <Lachy> ok.
- # [01:54] <Lachy> for some issues, it's just not worth it though. It's sometimes easier to give in than to continue putting up with whinging.
- # [01:54] <Hixie> no
- # [01:54] <Hixie> never let whinging make you make suboptimal decisions
- # [01:54] <Lachy> ok
- # [01:55] <Hixie> as spec writers people for the next 100 years or more are going to rely on our decisions
- # [01:55] <takkaria> Hixie: btw, on your comments about hsivonen's parser earlier, if the tokeniser was only switched into case-preserving mode "in foreign content", I don't think there'd be much if any performance hit
- # [01:55] <Hixie> that is a huge responsibility
- # [01:55] <Lachy> Hixie, that's right. So I have to be sure that I'm making the right decisions.
- # [01:56] <Lachy> sometimes that's difficult.
- # [01:56] <Hixie> often :-)
- # [01:56] <Hixie> takkaria: maybe, i don't know what his parser looks like
- # [01:56] * Joins: weinig (n=weinig@17.203.15.176)
- # [01:57] <takkaria> I've looked at it, and that seems to be the case
- # [01:57] <takkaria> not that would make the SVG people happy anyway
- # [02:02] * Quits: weinig (n=weinig@17.203.15.176) (Read error: 104 (Connection reset by peer))
- # [02:02] * Quits: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net) (Read error: 110 (Connection timed out))
- # [02:02] * Quits: bzed (n=bzed@devel.recluse.de) ("brb - reboot")
- # [02:02] * Joins: weinig (n=weinig@17.203.15.176)
- # [02:02] * Joins: jacobolus (n=jacobolu@pool-71-104-45-99.lsanca.dsl-w.verizon.net)
- # [02:04] <Hixie> why does no software handle multigigabyte files well
- # [02:04] <Hixie> sigh
- # [02:04] * Quits: billmason (n=billmaso@ip195.unival.com) (".")
- # [02:05] <Lachy> what kind of file do you have that is multigigabyte, unless it's video or something?
- # [02:05] <Hixie> .csv file
- # [02:06] * Joins: bzed (n=bzed@devel.recluse.de)
- # [02:06] * Quits: tusho (n=tusho@91.105.77.118)
- # [02:13] * jcranmer points out the simple solution again
- # [02:13] <Hixie> there's a simple solution to dealing with multigigabyte csv files? :-)
- # [02:14] <takkaria> is fgets() not enough?
- # [02:15] <jcranmer> Hixie: no, to the scoped style discussion
- # [02:15] <jcranmer> make an attribute on the element and let authors decide
- # [02:15] <Hixie> adding an attribute seems like bad design
- # [02:15] <Hixie> why is :Scope not enough?
- # [02:16] <jcranmer> because I'd prepend it to every selector then
- # [02:16] <Hixie> takkaria: writing little scripts to process the data is what i've done, but it sucks that i can't use real spreadsheet tools
- # [02:16] <Hixie> jcranmer: so?
- # [02:16] <jcranmer> the key word there is "every"
- # [02:16] <jcranmer> if there's boilerplate for everything, then maybe the decision should be looked at again
- # [02:16] * Joins: webben (n=benh@91.85.158.221)
- # [02:16] <Hixie> jcranmer: to be honest i don't believe you :-) i mean, i believe that you think you would, but i think in practice you wouldn't at all end up doing that.
- # [02:17] <Hixie> jcranmer: for example if you have styles for elements that are in links, i don't see why it matters if the link is inside the scope or not
- # [02:17] <takkaria> Hixie: I'd have thought excel would manage it, but if not, then I don't know what hope any other spreadsheet tools have
- # [02:17] <Hixie> i don't have office
- # [02:18] <jcranmer> OOo?
- # [02:18] <Hixie> but i doubt either numbers or the openoffice spreadsheet tool can handle a few dozen megabytes, let alone more than 2 gigabytes
- # [02:19] <jcranmer> I'm going out on a limb here and guessing you're not using FAT
- # [02:19] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [02:19] <Hixie> um no
- # [02:19] <Hixie> NFS
- # [02:19] <jcranmer> hmm, how could I guess ;-)
- # [02:19] <Hixie> does anyone still use FAT?
- # [02:19] <roc> yes
- # [02:19] <Hixie> wow
- # [02:19] <roc> All CF cards
- # [02:19] <jcranmer> my old, *old* computer
- # [02:20] <jcranmer> anyone who uses floppies
- # [02:20] <roc> so *you* still use FAT
- # [02:20] <Hixie> i don't have any CF cards
- # [02:20] <jcranmer> roc: I don't use that computer
- # [02:20] <jcranmer> it's my parents
- # [02:20] <jcranmer> '
- # [02:20] * takkaria uses CF cards :(
- # [02:21] <roc> I bet most USB keys use FAT too
- # [02:21] <Hixie> don't have any of those either :-)
- # [02:21] <roc> and probably Sony's memory sticks
- # [02:21] <roc> and SD
- # [02:21] <Hixie> SD?
- # [02:21] <roc> if you don't have a digital camera, then I'll be impressed
- # [02:21] <jcranmer> Hixie: what about your brain?
- # [02:21] <Hixie> i don't have a digital camera
- # [02:21] <takkaria> you have an iPod, but if you're a Mac user, you probably don't use FAT there either...
- # [02:22] <roc> now yu
- # [02:22] <Hixie> yeah my ipod is HFS+, i believe
- # [02:22] <roc> now you're just showing off
- # [02:22] <Hixie> i have an iSight and an external iSight
- # [02:22] <Hixie> but those don't have storage
- # [02:22] * jcranmer would not be suprised if an appliance in Hixie's house used FAT
- # [02:23] <jcranmer> if not, I'm sure the computers at the airport checkin line use them
- # [02:23] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [02:23] <jcranmer> maybe the ATM as well
- # [02:23] <Hixie> i expect my girlfriend's camera uses flash, but i don't know what storage it uses (she uses USB to get the data off)
- # [02:23] <Hixie> i used an ATM once in the last 12 months. :-)
- # [02:24] * Hixie recently discovered this when he audited his bank records to make his budget for the coming months
- # [02:24] <Hixie> er, s/uses flash/uses FAT/
- # [02:24] <jcranmer> hmm, Hixie said nothing about flying...
- # [02:24] <Hixie> i flew three times in the last year, i think
- # [02:24] <Hixie> well, three times two
- # [02:25] <Hixie> and the experiecne is worse each time
- # [02:26] <Hixie> anyway
- # [02:26] * Hixie goes back to defining Pipes
- # [02:26] <Hixie> if anyone can find a better name for the PipeEnd object, let me know
- # [02:27] <othermaciej> MessagePort
- # [02:27] <roc> yeah Port
- # [02:27] <Hixie> ooo
- # [02:28] <othermaciej> (I like that better as general terminology than Pipe too)
- # [02:29] <roc> it's useful to be able to talk about the connection itself
- # [02:29] <roc> although usually the connection isn't exposed as a first-class object
- # [02:30] <annevk> only the bridge between the "ports" is exposed
- # [02:30] <Hixie> right now only hte ports are exposed
- # [02:30] <Hixie> but you create them as ap air
- # [02:30] <Hixie> as a pair
- # [02:31] <Hixie> so there is an object that represents a pair of ports when they are first created
- # [02:31] <Hixie> called a Pipe right now
- # [02:32] <roc> Unix pipes block on write if the reader isn't reading
- # [02:32] <roc> if you're doing something asynchronous then you might want a more general term for clarity
- # [02:32] <Hixie> no blocking here
- # [02:32] <Hixie> yeah
- # [02:32] <Hixie> i've renamed PipeEnd to MessagePort
- # [02:33] <Hixie> what terminology goes with Ports for the object that holds two ports?
- # [02:33] <roc> MessageChannel for the connection object?
- # [02:33] <Hixie> that works
- # [02:34] <Hixie> or just Channel
- # [02:34] <Hixie> since this is the constructor you'll call
- # [02:34] <Hixie> var x = new Channel();
- # [02:34] <Hixie> x.port1; x.port2;
- # [02:35] * Quits: webben (n=benh@91.85.158.221) (Connection timed out)
- # [02:35] <Hixie> maybe Channel and ChannelPort? Rather than Channel and MessagePort?
- # [02:36] <othermaciej> ChannelPort seems less clear
- # [02:36] <Hixie> yeah
- # [02:36] <Hixie> though frankly, few people will deal with the name MessagePort
- # [02:37] <roc> I'd use MessageChannel to be honest
- # [02:38] <othermaciej> Channel does seem a bit more vague
- # [02:38] <Hixie> MessageChannel it is
- # [02:38] <annevk> MessageChannel is also more consistent with postMessage
- # [02:39] <Hixie> ok well this terminology is much better now
- # [02:39] <Hixie> thanks
- # [02:53] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [02:56] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [03:01] * Joins: svl (n=me@global185.lnk.telstra.net)
- # [03:09] * Quits: weinig (n=weinig@17.203.15.176)
- # [03:12] * Quits: svl (n=me@global185.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [03:14] * Quits: tndH (i=Rob@adsl-87-102-115-209.karoo.KCOM.COM) ("ChatZilla 0.9.83-rdmsoft [XULRunner 1.9/2008061013]")
- # [03:15] * Quits: othermaciej (n=mjs@17.203.15.189) (Read error: 60 (Operation timed out))
- # [03:18] * Joins: othermaciej (n=mjs@17.255.99.29)
- # [03:30] * Joins: pd (n=kyleh@c-98-212-177-227.hsd1.il.comcast.net)
- # [03:33] * Quits: othermaciej (n=mjs@17.255.99.29)
- # [03:37] * Joins: othermaciej_ (n=mjs@17.203.15.189)
- # [03:44] * Joins: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca)
- # [03:50] * Joins: weinig (n=weinig@17.203.15.176)
- # [04:11] * Quits: pd (n=kyleh@c-98-212-177-227.hsd1.il.comcast.net) (Read error: 110 (Connection timed out))
- # [04:27] * Quits: othermaciej_ (n=mjs@17.203.15.189)
- # [04:50] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Nick collision from services.)
- # [05:00] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [05:01] * Quits: weinig (n=weinig@17.203.15.176)
- # [05:03] * Joins: weinig (n=weinig@17.203.15.176)
- # [05:05] * Joins: hdh (n=hdh@118.71.121.200)
- # [05:11] * Quits: hdh (n=hdh@118.71.121.200) (Remote closed the connection)
- # [05:19] * Joins: dbaron (n=dbaron@c-71-198-188-254.hsd1.ca.comcast.net)
- # [05:36] * Joins: pd (n=kyleh@c-98-212-177-227.hsd1.il.comcast.net)
- # [05:37] * Quits: jacobolus (n=jacobolu@pool-71-104-45-99.lsanca.dsl-w.verizon.net)
- # [05:50] * Quits: weinig (n=weinig@17.203.15.176)
- # [06:03] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [06:06] * Joins: hdh (n=hdh@118.71.123.137)
- # [06:07] * Quits: pd (n=kyleh@c-98-212-177-227.hsd1.il.comcast.net) (Read error: 110 (Connection timed out))
- # [06:24] * Joins: pd (n=kyleh@c-98-212-177-227.hsd1.il.comcast.net)
- # [06:31] * Quits: pd (n=kyleh@c-98-212-177-227.hsd1.il.comcast.net) (Read error: 60 (Operation timed out))
- # [06:33] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [06:33] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [07:06] * Joins: KevinMarks (n=KevinMar@138.sub-75-220-225.myvzw.com)
- # [07:19] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) ("http://www.csarven.ca/")
- # [07:49] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [07:53] * Joins: jacobolus (n=jacobolu@pom-nat-84-76.pomona.edu)
- # [08:00] * Quits: roc (n=roc@202.0.36.64)
- # [08:07] * Joins: svl (n=me@global185.lnk.telstra.net)
- # [08:19] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [08:20] * Quits: jacobolus (n=jacobolu@pom-nat-84-76.pomona.edu) (Read error: 110 (Connection timed out))
- # [08:22] * Joins: heycam (n=cam@124-168-84-21.dyn.iinet.net.au)
- # [08:27] * Quits: dbaron (n=dbaron@c-71-198-188-254.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [08:33] * Joins: roc (n=roc@121-72-181-14.dsl.telstraclear.net)
- # [08:54] * Joins: jacobolus (n=jacobolu@pom-nat-84-91.pomona.edu)
- # [08:55] * Quits: MikeSmith (n=MikeSmit@58.157.21.205) ("Less talk, more pimp walk.")
- # [09:04] * Joins: aaronlev (n=chatzill@e181179137.adsl.alicedsl.de)
- # [09:13] * Joins: aaronlev_ (n=chatzill@e181179137.adsl.alicedsl.de)
- # [09:18] * Joins: MikeSmith (n=MikeSmit@58.157.21.205)
- # [09:19] * Quits: jacobolus (n=jacobolu@pom-nat-84-91.pomona.edu) (Read error: 110 (Connection timed out))
- # [09:23] * Joins: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [09:25] * Quits: aaronlev (n=chatzill@e181179137.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [09:29] * Joins: jruderman_ (n=jruderma@guest-226.mountainview.mozilla.com)
- # [09:29] * Quits: jruderman (n=jruderma@guest-226.mountainview.mozilla.com) (Read error: 54 (Connection reset by peer))
- # [09:33] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [09:51] * Joins: Copyman (n=ano@82.204.22.72)
- # [09:51] * Copyman is now known as Maurice
- # [09:58] * Quits: svl (n=me@global185.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [10:00] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) ("Verlassend")
- # [10:04] <Hixie> if you have a channel with ports 1 and 2
- # [10:04] <Hixie> and you try to send port2 down port1
- # [10:04] <Hixie> it should obviously fail
- # [10:04] <Hixie> because the semantics of that are just crazy weird
- # [10:04] <Hixie> but if you send port1 down port1
- # [10:04] <Hixie> should it also throw?
- # [10:05] <Hixie> it would be equivalent to having a rope and throwing one end to the other end
- # [10:05] <Hixie> "here's a channel!"
- # [10:05] <Hixie> pretty useless, since why wouldn't you just create a new MessageChannel() for yourself
- # [10:05] <Hixie> i would guess most cases of port1 going down port1 will be mistakes
- # [10:05] <Hixie> so it makes sense to fail big
- # [10:05] <Hixie> at the point of error
- # [10:06] <Hixie> instead of having hard-to-debug problems later
- # [10:08] * Joins: tndH_ (i=Rob@adsl-87-102-115-209.karoo.KCOM.COM)
- # [10:08] * tndH_ is now known as tndH
- # [10:12] * Joins: roc_ (n=roc@121-72-175-162.dsl.telstraclear.net)
- # [10:21] * Quits: roc (n=roc@121-72-181-14.dsl.telstraclear.net) (Read error: 110 (Connection timed out))
- # [10:24] * gDashiva is getting postMessage endpoint-passing flashbacks
- # [10:24] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [10:25] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [10:26] <Hixie> gDashiva: hm?
- # [10:26] <gDashiva> It just sounds so similar
- # [10:27] <Hixie> it is more than similar
- # [10:27] <Hixie> it's the same thing
- # [10:27] * Joins: webben (n=benh@nat/yahoo/x-fd6ff7f7518271f8)
- # [10:27] <gDashiva> That would explain it then
- # [10:33] <Hixie> roc and mjs came up with the better names
- # [10:33] <Hixie> pipe become message channel
- # [10:33] <Hixie> and end point and pipe end become message port
- # [10:34] <Hixie> s/become/became/
- # [10:34] <Hixie> i'm doing dvorak-layout typos while typing on a qwerty keyboard
- # [10:34] <Hixie> that's freaky
- # [10:35] <Hixie> that suggests that when i do typos, i'm hitting the keys my brain intended to hit
- # [10:35] <Hixie> but that my brain doesn't have a good idea of what keys to hit, and that it makes mistakes based on locality of the keyboard layout
- # [10:35] <Hixie> but that the mistakes it makes aren't necessarily related to the keyboard layout it is actually typing on
- # [10:37] * Quits: sverrej (n=sverrej@89.10.27.86) (Read error: 110 (Connection timed out))
- # [10:40] * Quits: jruderman_ (n=jruderma@guest-226.mountainview.mozilla.com)
- # [10:44] * Joins: gsnedders (n=gsnedder@p57A23C46.dip0.t-ipconnect.de)
- # [10:48] * Quits: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net) (Read error: 110 (Connection timed out))
- # [10:49] <Lachy> http://blogs.msdn.com/ie/archive/2008/07/14/ie8-ajax-navigation.aspx
- # [10:53] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:05] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:08] * Joins: svl (n=me@global185.lnk.telstra.net)
- # [11:10] <Hixie> wish they'd say what they actually implemented :-)
- # [11:11] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [11:12] <Hixie> just the hashchanged event apparently
- # [11:13] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:16] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [11:23] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Leaving")
- # [11:25] * Quits: aaronlev_ (n=chatzill@e181179137.adsl.alicedsl.de) ("ChatZilla 0.9.83 [Firefox 3.0/2008052906]")
- # [11:25] * Joins: aaronlev (n=chatzill@e181179137.adsl.alicedsl.de)
- # [11:26] <gDashiva> The third comment makes me sad.
- # [11:34] <Hixie> is that the one about how their markup "sucls"?
- # [11:34] <Hixie> sucks
- # [11:34] <Hixie> rather
- # [11:34] <Hixie> it made me sad too
- # [11:36] <MikeSmith> I'm pretty sure this is picture of the guy who wrote that comment:
- # [11:36] <MikeSmith> http://upload.wikimedia.org/wikipedia/en/7/79/The_Simpsons-Jeff_Albertson.png
- # [11:37] <annevk> you wouldn't say
- # [11:40] <Lachy> when did Comic Book Guy get named Jeff Albertson?
- # [11:41] <Lachy> oh, apparently way back in 2005.
- # [11:43] <Lachy> that comment did have a point about the DOCTYPE though. The PDF contains "<!DOCTYPE>"
- # [11:46] <annevk> Hixie, in MessagePort various definitions and references have mismatching titles, at least onmessage and ownerWindow
- # [11:47] <Hixie> fixed onmessage a while back
- # [11:47] <Hixie> fixed ownerWindow just now, thanks
- # [11:56] <annevk> Hmm, isn't another reason that the tokenizer is made case-insensitive so that xmlns and xmlns:* attributes can be used outside the context of the subtree?
- # [12:02] <takkaria> heh, "Having <svg:a> be interpreted by a legacy user agent as <html:a> is perhaps not that critical, you can even add a 'src' attribute to have the link work in both contexts, so it can be used as a sort of fallback.
- # [12:05] <annevk> Hixie, just hit refresh to verify, seems the second ownerWindow ref is still wrong
- # [12:05] <gDashiva> takkaria: svg in html, appendix C
- # [12:06] * Quits: gsnedders (n=gsnedder@p57A23C46.dip0.t-ipconnect.de)
- # [12:08] <Hixie> anne: should be ok now
- # [12:08] <annevk> lol, few days before the E3 Sony says it can't be bothered by Nintendo and now they announce all kinds of competitive features
- # [12:09] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [12:22] * Joins: aaronlev_ (n=chatzill@e181179137.adsl.alicedsl.de)
- # [12:28] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [12:29] * Quits: aaronlev (n=chatzill@e181179137.adsl.alicedsl.de) (Read error: 60 (Operation timed out))
- # [12:40] <annevk> what is DOMFrameContentLoaded?
- # [12:40] <annevk> hmm, seems to be some Firefox event
- # [12:40] <Hixie> ok, i defined postMessage(m, p, o)
- # [12:41] <Hixie> let me know if it's separate enoug
- # [12:41] <Hixie> h
- # [12:44] <Hixie> ok what else do i need for workers
- # [12:44] <Hixie> i guess i need to split Window
- # [12:45] <Hixie> i love how everyone was saying "use a separate spec!"
- # [12:45] <Hixie> but i've basically ended up having to do tons of work in html5 proper anyway
- # [12:46] <annevk> Hixie, message is not dispatched on an element and is not dispatched on document either (re: introduction)
- # [12:47] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [12:47] <annevk> Hixie, I think the latest is that it's dispatched on window
- # [12:47] <Hixie> hm i just moved that example up
- # [12:47] <Hixie> i didn't edit it :-)
- # [12:48] <annevk> that might explain things :p
- # [12:49] <Hixie> fixed
- # [12:54] <annevk> yeah, for Workers you need to split Window into main thread only and multithreaded functionality
- # [12:55] <annevk> but that would've been the case if you kept it in the spec or not
- # [12:55] <Hixie> sure
- # [12:56] <Hixie> i'm just amused that the workers spec is going to be about one page long of non-boilerplate material
- # [12:56] <Hixie> but that the total number of changes will have been dozens of pages
- # [13:01] * Joins: aaronlev__ (n=chatzill@g228009238.adsl.alicedsl.de)
- # [13:01] * aaronlev__ is now known as aaronlev
- # [13:05] * Quits: webben (n=benh@nat/yahoo/x-fd6ff7f7518271f8)
- # [13:20] * Quits: aaronlev_ (n=chatzill@e181179137.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [13:21] <annevk> lol, http://www.p01.org/releases/DHTML_contests/files/DEFENDER_of_the_favicon/
- # [13:25] <Hixie> wow he is so completely disqualified from ever suggesting anything to html5 again :-P
- # [13:29] <Hixie> ok Window is split
- # [13:29] <Hixie> that was easy
- # [13:29] <Lachy> that's clever, but really difficult to play
- # [13:30] <Lachy> even if I zoom my screen right in to see it, it's just not enough pixels
- # [13:31] <Philip`> I can't play the game without the page scrolling annoyingly
- # [13:31] <annevk> Hixie, why is frames not under self-reference?
- # [13:31] <Hixie> because workers can't have frames
- # [13:32] <Lachy> Philip`, make your window bigger so it doesn't have scroll bars
- # [13:32] <annevk> Hixie, but frames is just a useless alias for self and window
- # [13:32] <annevk> Hixie, it's nothing special
- # [13:32] <Hixie> indeed
- # [13:32] <Hixie> so why have it on workers?
- # [13:32] <annevk> why have self on workers?
- # [13:32] <Philip`> Lachy: I'd have to make the window bigger than my screen, which is kind of awkward
- # [13:33] <Hixie> annevk: because it makes more sense than window
- # [13:33] <Lachy> Philip`, get a bigger screen with a higher resolution.
- # [13:33] <Philip`> Lachy: That's expensive :-p
- # [13:34] <Lachy> it's essential that you have a screen resolution of 1920x1200 so you can play a game of 16x16px
- # [13:34] <gDashiva> If I reduced my resolution to 640x480, maybe I'd be able to see what was happening
- # [13:34] <annevk> Hixie, still most people use window and don't use self
- # [13:34] <virtuelv> Philip`: you can use WASD to move instead -- won't scroll then
- # [13:34] <Philip`> If you're on OS X, just use the ctrl(?) + mouse-wheel thing to zoom in on the play area
- # [13:35] <gDashiva> annevk: If anything, self is often shadowed to work around "this" voodoo
- # [13:35] <Lachy> Philip`, yes
- # [13:35] <Philip`> virtuelv: It does scroll, since those keys make Opera select links on the page
- # [13:35] <virtuelv> Philip`: disable one-key shortcuts
- # [13:35] <Hixie> annevk: right, that's why i'm keeping window too
- # [13:35] <Lachy> Philip`, write a user style sheet that hides everything else on the page
- # [13:36] <Philip`> virtuelv: But then shift-G stops working, which is why I turned on one-key shortcuts in the first place
- # [13:36] <Lachy> what does Shift+G do?
- # [13:36] <virtuelv> Lachy: toggle images
- # [13:36] <Philip`> Lachy: Toggle stylesheets
- # [13:36] <virtuelv> ah, stylesheets it was
- # [13:37] <virtuelv> Philip`: you could always reassign keys to your own liking :)
- # [13:37] <Philip`> virtuelv: I'm far too lazy for that
- # [13:37] <Philip`> and far too indecisive
- # [13:38] <Lachy> Philip`, just temporarily disable it. I had to disable "Search for text when I start typing" so I could play it too.
- # [13:38] <Philip`> I can cope with preference checkboxes, but if I get offered a million actions to map onto any permutation of a million keystrokes, I get too confused to do anything at all :-(
- # [13:39] <Lachy> Philip`, yeah, it's a well known problem that Opera's keyboard shortcut configuration is too complex
- # [13:46] * Joins: aaronlev__ (n=chatzill@g228009238.adsl.alicedsl.de)
- # [13:57] * Quits: aaronlev (n=chatzill@g228009238.adsl.alicedsl.de) (Connection timed out)
- # [13:58] * Joins: webben (n=benh@nat/yahoo/x-359f4dc38d1687b0)
- # [14:03] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [14:03] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [14:16] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [14:18] * Quits: KevinMarks (n=KevinMar@138.sub-75-220-225.myvzw.com) ("The computer fell asleep")
- # [14:49] * Joins: myakura (n=myakura@p1216-ipbf601marunouchi.tokyo.ocn.ne.jp)
- # [14:51] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [14:51] * Joins: KevinMarks (n=KevinMar@140.247.241.108)
- # [14:57] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [14:57] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [15:00] * Joins: tommorris_ (n=tommorri@i-83-67-98-32.freedom2surf.net)
- # [15:01] * Quits: svl (n=me@global185.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [15:02] * Joins: svl (n=me@global185.lnk.telstra.net)
- # [15:06] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [15:10] * Joins: gsnedders (n=gsnedder@87.162.36.87)
- # [15:15] * Quits: svl (n=me@global185.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [15:20] * Quits: tommorris (n=tommorri@i-83-67-98-32.freedom2surf.net) (Read error: 110 (Connection timed out))
- # [15:30] * Quits: tommorris_ (n=tommorri@i-83-67-98-32.freedom2surf.net)
- # [16:01] * Joins: csarven (n=csarven@81.5.133.37)
- # [16:10] * Joins: webben_ (n=benh@nat/yahoo/x-dbeceda32ccc6058)
- # [16:22] * Joins: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [16:22] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [16:23] * Quits: webben (n=benh@nat/yahoo/x-359f4dc38d1687b0) (Read error: 110 (Connection timed out))
- # [16:24] * Joins: billmason (n=billmaso@ip195.unival.com)
- # [16:37] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Remote closed the connection)
- # [16:39] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [16:42] * Joins: csarven- (n=csarven@on-irc.csarven.ca)
- # [16:42] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) (Remote closed the connection)
- # [16:44] * Quits: csarven (n=csarven@81.5.133.37) (Nick collision from services.)
- # [16:44] * csarven- is now known as csarven
- # [16:45] * csarven is now known as csarven-
- # [16:45] * csarven- is now known as csarven
- # [16:45] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [16:47] * Quits: aaronlev__ (n=chatzill@g228009238.adsl.alicedsl.de) (Success)
- # [16:49] * Joins: webben (n=benh@nat/yahoo/x-79a5103259962a12)
- # [16:54] * Joins: billyjack (n=MikeSmit@58.157.21.205)
- # [16:56] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [16:56] * Quits: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [16:58] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [16:58] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [16:59] * Joins: pd (n=kyleh@unaffiliated/pd)
- # [17:00] * Joins: aaronlev__ (n=chatzill@g228009238.adsl.alicedsl.de)
- # [17:00] * aaronlev__ is now known as aaronlev
- # [17:01] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [17:01] * Quits: webben_ (n=benh@nat/yahoo/x-dbeceda32ccc6058) (No route to host)
- # [17:01] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [17:03] * Joins: malware (n=MikeSmit@58.157.21.205)
- # [17:03] * Quits: MikeSmith (n=MikeSmit@58.157.21.205) (Read error: 110 (Connection timed out))
- # [17:11] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Remote closed the connection)
- # [17:13] <billyjack> interesting to see that Kaazing guys will be doing a session on the WebSocket interface at AjaxWorld
- # [17:13] <billyjack> http://www.sys-con.com/read/609412_p.htm
- # [17:14] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [17:15] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [17:16] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [17:18] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [17:18] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [17:19] * Quits: billyjack (n=MikeSmit@58.157.21.205) ("Less talk, more pimp walk.")
- # [17:36] * Quits: myakura (n=myakura@p1216-ipbf601marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [17:37] * Joins: tusho (n=tusho@91.105.77.118)
- # [17:42] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Remote closed the connection)
- # [17:48] * Joins: csarven (n=csarven@on-irc.csarven.ca)
- # [17:50] * Joins: tommorris (n=tommorri@i-83-67-98-32.freedom2surf.net)
- # [18:12] * Quits: KevinMarks (n=KevinMar@140.247.241.108) ("The computer fell asleep")
- # [18:13] * Joins: csarven- (n=csarven@on-irc.csarven.ca)
- # [18:16] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Read error: 110 (Connection timed out))
- # [18:46] * Joins: tusho_ (n=tusho@91.105.112.94)
- # [18:51] * Joins: maikmerten (n=maikmert@Lad90.l.pppool.de)
- # [19:01] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [19:02] * Quits: tusho (n=tusho@91.105.77.118) (Read error: 110 (Connection timed out))
- # [19:18] * Joins: john_fallows (n=j_r_fall@ip-12-22-56-126.hqglobal.net)
- # [19:34] * Joins: eseidel (n=eseidel@c-67-180-49-110.hsd1.ca.comcast.net)
- # [19:46] * Quits: eseidel (n=eseidel@c-67-180-49-110.hsd1.ca.comcast.net)
- # [19:49] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [20:08] * Quits: franksalim (n=frank@ip-12-22-56-126.hqglobal.net) ("Leaving")
- # [20:09] * Joins: KevinMarks (n=KevinMar@140.247.249.138)
- # [20:09] <csarven-> http://1997.webhistory.org/www.lists/www-talk.1993q1/0182.html
- # [20:12] * Quits: KevinMarks (n=KevinMar@140.247.249.138) (Client Quit)
- # [20:13] * Joins: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [20:15] * Joins: KevinMarks (n=KevinMar@dhcp-0000316740-20-ba.client.student.harvard.edu)
- # [20:21] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [20:33] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) ("Ex-Chat")
- # [20:38] * Joins: hasather (n=hasather@ti0034a380-2730.bb.online.no)
- # [20:39] * Parts: hdh (n=hdh@118.71.123.137) ("Konversation terminated!")
- # [20:42] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [20:43] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [20:47] * Quits: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [20:56] * csarven- is now known as csarven
- # [20:57] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 54 (Connection reset by peer))
- # [20:58] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [21:00] * Quits: KevinMarks (n=KevinMar@dhcp-0000316740-20-ba.client.student.harvard.edu) ("The computer fell asleep")
- # [21:17] * Joins: KevinMarks (n=KevinMar@dhcp-0016812761-1c-df.client.law.harvard.edu)
- # [21:23] * Joins: sverrej (n=sverrej@89.10.27.86)
- # [21:26] * Quits: gsnedders (n=gsnedder@87.162.36.87) ("Killin' teh intarwebs")
- # [21:31] * Joins: gsnedders (n=gsnedder@p57A22457.dip0.t-ipconnect.de)
- # [21:44] * Quits: aaronlev (n=chatzill@g228009238.adsl.alicedsl.de) ("ChatZilla 0.9.83 [Firefox 3.0/2008052906]")
- # [21:44] * Joins: aaronlev (n=chatzill@g228009238.adsl.alicedsl.de)
- # [21:49] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [21:50] * Quits: maikmerten (n=maikmert@Lad90.l.pppool.de) (Remote closed the connection)
- # [21:53] <tusho_> Huh. Why is the sanitizer allowing <p> in <h1>?!
- # [22:09] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [22:16] <gsnedders> People are crazy.
- # [22:17] <gsnedders> This is what defining how people have made the real world has taught me.
- # [22:17] <Hixie> no kiding
- # [22:17] <Hixie> kidding
- # [22:18] <gsnedders> Content-Type: text/html;image/gif;image/jpeg; Charset=iso-8859-1;text/javascript
- # [22:19] <jmb> gsnedders: nice! which one is it really? :)
- # [22:19] <gsnedders> jmb: Dunno, haven't looked :)
- # [22:20] <gsnedders> text/html, it's http://www.ecsrefining.com/
- # [22:21] <gsnedders> you just ignore most of the stuff as invalid parameters, I expect
- # [22:21] <Hixie> do browsers get the right charset?
- # [22:21] <Hixie> does html5?
- # [22:22] <gsnedders> It looks to be pure US-ACSII the actual page
- # [22:22] <gsnedders> It should be treated as windows-1252
- # [22:23] <gsnedders> So, yeah, HTML 5 and everything copes fine
- # [22:24] <gsnedders> text/html; charSet=gb2312;charset=ISO-8859-1 makes me more interested
- # [22:25] <gsnedders> That is gb2312 really
- # [22:25] <gsnedders> http://www.mediachina.net/ FWIW
- # [22:27] * Joins: weinig (n=weinig@17.203.15.176)
- # [22:35] * Quits: roc_ (n=roc@121-72-175-162.dsl.telstraclear.net)
- # [22:36] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:53] * Quits: KevinMarks (n=KevinMar@dhcp-0016812761-1c-df.client.law.harvard.edu) ("The computer fell asleep")
- # [23:03] * Joins: franksalim (n=frank@ip-12-22-56-126.hqglobal.net)
- # [23:10] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [23:10] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [23:10] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Read error: 110 (Connection timed out))
- # [23:14] * Quits: john_fallows (n=j_r_fall@ip-12-22-56-126.hqglobal.net) (Remote closed the connection)
- # [23:22] * Joins: roc (n=roc@202.0.36.64)
- # [23:26] * Joins: othermaciej (n=mjs@17.203.15.189)
- # [23:33] <Hixie> what's better. window.closing becoming true when the thread is being shut down, or window.active becoming false when the thread is being shut down.
- # [23:33] <Hixie> the latter allows for while(active) { ... }
- # [23:34] <Hixie> the former allws for if (closing) return;
- # [23:36] <othermaciej> will the cancellation design make it meaningful to even ask?
- # [23:37] <Hixie> i figure when the thread gets canceled we should set this flag, fire an unload event at the next available opportunity, and wait a couple of seconds to see if the thread shuts down cleanly, and if it doesn't, kill it forcibly.
- # [23:37] <Hixie> seems better to at least give the thread a chance to clean up after itself rather than just always killing it forcibly
- # [23:39] <othermaciej> POSIX has the notion of registering cancellation cleanup handlers
- # [23:39] <othermaciej> I'm not sure if "run for a few more seconds" is a useful design point
- # [23:39] <Hixie> that's what the unload event is for
- # [23:39] <othermaciej> particularly if those few seconds might be in blocking I/O (assuming blocking IO operations are cancellation points)
- # [23:40] <Hixie> POSIX doesn't have to worry about the cancelation cleanup handlers trying to do blocking I/O or trying to solve checkers on a 64x64 board.
- # [23:40] <Hixie> we do.
- # [23:40] * Quits: webben (n=benh@nat/yahoo/x-79a5103259962a12) (Read error: 60 (Operation timed out))
- # [23:40] <Hixie> i don't see how we can _not_ have a timeout
- # [23:40] <Hixie> since we have to basically assume the workers are hostile
- # [23:41] <othermaciej> I guess what I'm saying is, I think it would be better to terminate normal flow execution of the thread (if any) immediately, fire the cancellation-related event, and then have a timeout
- # [23:41] <othermaciej> having the thread keep running means you need two timeouts
- # [23:41] <Hixie> that's a bit extreme, you might be in the middle of a 10ms transaction when you get terminated
- # [23:42] <othermaciej> and sprinkling your code with "am I cancelled" checks would be ugly and in some cases not really possible anyway
- # [23:42] <Hixie> i guess i don't mind having two timeouts if you think we need it, but i certainly think we need at least to give the main code the opportunity to run to completion before we kill it
- # [23:42] <othermaciej> that misses the point of cancellation
- # [23:43] <othermaciej> if the main code could be trusted to run to completion in reasonable time, you could just send the thread a message to kill itself
- # [23:43] <Hixie> i think you're assuming that workers are going to always be running non-stop code
- # [23:43] <othermaciej> no, I'm assuming they might be
- # [23:43] <othermaciej> cancellation is most important for the case where they are
- # [23:44] <othermaciej> if they aren't you can use messages to establish a protocol to stop the thread's activity
- # [23:44] * Quits: Maurice (n=ano@82.204.22.72)
- # [23:44] <Hixie> i'm imagining many workers will be mostly idle and will be mostly doing very short event handler type code -- receive an event, store the data in the database. And for those cases, you absolutely never want to abort in the middle of the handler, since that might corrupt your database or lose data.
- # [23:44] <othermaciej> aborting would not corrupt your database because they have transactional semantics
- # [23:45] <othermaciej> the database operation must either complete or roll back
- # [23:45] <Hixie> assumign they do it right, sure
- # [23:45] <Hixie> you'll still lose data
- # [23:45] <Hixie> i don't see any reason not to give those handlers time to complete, they won't be taking long anyway.
- # [23:46] <othermaciej> if you can afford to wait for them, then you can just postMessage to the thread and ask it to stop further activity
- # [23:46] <othermaciej> if you absolutely want to guarantee that any pending I/O finishes, you have to do that anyway
- # [23:46] <othermaciej> a timeout gives you the worst of both worlds
- # [23:47] <othermaciej> no guarantee the I/O will complete, and no guarantee the thread stops promptly
- # [23:47] <Hixie> that's what the unload event is for
- # [23:47] <othermaciej> if you need to register an event handler to ensure that cancellation is clean, then there's no benefit to your main code continuing to run
- # [23:47] <Hixie> i don't understand what you are proposing or why
- # [23:50] <othermaciej> I'm proposing that cancellation stops whatever is executing right away, and invokes any registered cancellation handlers with a timeout limit
- # [23:51] <Hixie> how does that not cause dataloss in the case of a thread having just received a message asking it to store data?
- # [23:51] <othermaciej> and I explained why - letting the main code continue to run defeats the most important use case for cancellation, which is a thread that's busy doing a long computation
- # [23:51] <othermaciej> the other way causes data loss too, if the message has not been dispatched yet
- # [23:52] <othermaciej> (unless the thread registers a cancellation handler, but I guess there is no way to explicitly drain the message queue)
- # [23:52] <Hixie> unload would be added to the queue of events, it would be the last fired event.
- # [23:52] <othermaciej> you shouldn't cancel a thread if you sent it a message that you actually need to be processed
- # [23:52] <Hixie> the author isn't the one canceling the thread
- # [23:52] <Hixie> the user is
- # [23:52] <othermaciej> you should ask it to finish itself instead
- # [23:53] <othermaciej> so this is for leaving the page, not for an explicit cancellation API?
- # [23:53] <Hixie> we're talking about the user closing the window or something like that, yes
- # [23:55] <othermaciej> well for code on the main thread, there's no specific timeout for currently running code defined, and unload gets to run with no specific timeout defined
- # [23:55] <othermaciej> (as well as beforeunload which has the opportunity to cancel the close / leave operation)
- # [23:55] <Hixie> the spec doesn't define a timeout, but there is a timeout
- # [23:56] <Hixie> and arguably the spec should define that (though the precise number would be up to the UA)
- # [23:56] <othermaciej> in the case of Safari the timeout would be the general slow script timeout
- # [23:56] <Hixie> right
- # [23:57] <othermaciej> anyway I see that this is a trickier design problem than what I thought you were talking about (API for thread cancellation)
- # [23:58] <Hixie> ah ok
- # [23:58] <Hixie> the API for thread cancellation is simple
- # [23:58] <Hixie> just send an event and be done with it
- # [23:58] <Hixie> i don't know that i'll even add anything explicit for that
- # [23:58] <othermaciej> you need to be able to cancel a thread that is blocked or in the middle of computation
- # [23:59] <Hixie> maybe just the "close()" method of the message port objects
- # [23:59] <othermaciej> postMessage conventions can't do that
- # [23:59] <Hixie> why?
- # [23:59] <Hixie> i mean, why is that necessary
- # Session Close: Wed Jul 16 00:00:00 2008
The end :)