Options:
- # Session Start: Fri Nov 18 00:00:00 2011
- # Session Ident: #whatwg
- # [00:00] * Joins: plutoniix (~plutoniix@ppp-58-11-132-136.revip2.asianet.co.th)
- # [00:05] * Joins: dbaron (~dbaron@60.234.54.74)
- # [00:07] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Read error: Connection reset by peer)
- # [00:07] * Joins: Phrogz (d8e47015@pdpc/supporter/professional/phrogz)
- # [00:08] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
- # [00:09] <jamesr_> Hixie, a time interval expressed as a # of seconds is really difficult to to convert to a human readable form. it's not actually possible to say what "January 14 2015 11:00:04" + 31556926 seconds will be
- # [00:09] <jamesr_> since leap second tables don't exist yet for 2015
- # [00:09] <Hixie> in practice, people ignore leap seconds
- # [00:10] <jamesr_> saying "plus one year" would actually be more machine readable, in that sense, although it wouldn't express a fixed number of seconds
- # [00:11] <Hixie> (in fact, in practice, outside of our datacenters, physics labs, and similar situations, most people are in fact unaware that leap seconds exist at all.)
- # [00:11] * jernoble is now known as jernoble|afk
- # [00:11] * Joins: tantek (~tantek@198.134.88.242)
- # [00:11] <jamesr_> well i figured if we were gonna go semantic web we might as well go full retard^Wpedantic
- # [00:12] <Hixie> we're not going semantic web :-)
- # [00:13] * Philip` wonders if the relevant use cases were listed somewhere (since presumably the desired behaviour is totally different if it's for e.g. calendar scheduling)
- # [00:14] <Hixie> yeah, in the wiki
- # [00:14] <Hixie> basically, the length of calendar appointments and music tracks
- # [00:14] <Hixie> and expressing those to a search engine
- # [00:14] <Hixie> or local page script
- # [00:15] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
- # [00:15] * Quits: Morphous (jan@unaffiliated/amorphous) (Ping timeout: 252 seconds)
- # [00:17] <Philip`> http://wiki.whatwg.org/wiki/Special:RecentChanges looks like an awful lot of spam :-/
- # [00:18] <rillian_> wiki spam has gotten terrible in the last few months
- # [00:18] <Hixie> AryehGregor: is there a way to disable user pages on media wiki, do you know?
- # [00:18] <rillian_> we have a bot posting all traffic to wiki.xiph.org to irc
- # [00:18] <rillian_> so we can nuke it as it comes in
- # [00:20] <tantek> regarding the wiki spam - based on the patterns I suspect it's coming from the same IP
- # [00:20] <tantek> (have seen similar problems and blocked per IP on the microformats wiki)
- # [00:21] <tantek> if someone more admin-like than me has access to the logs, we could probably do some IP specific blocking
- # [00:21] * Quits: gwicke (~gabriel@212.255.35.101) (Quit: Bye!)
- # [00:21] <tantek> rillian_ we have a similar bot for microformats.org/wiki posting wiki edits to #microformats
- # [00:22] <tantek> it's quite handy for both quickly purging spam, and seeing what areas have interest/activity
- # [00:23] <rillian_> yep. as long as the traffic isn't too hard
- # [00:23] <rillian_> er, heavy
- # [00:24] <tantek> hence my question about IP address - typically after blocking 1-2 IPs this stuff gets stopped.
- # [00:24] <tantek> I think the same spammer is attacking wiki.openwebfoundation.org
- # [00:24] <Hixie> i nuked a bunch of them
- # [00:24] <Hixie> anyone want admin privs?
- # [00:25] <Hixie> anyone not have admin privs? :-)
- # [00:25] <rillian_> sorry, have enough spam filters to clean already :(
- # [00:25] <Hixie> hehe
- # [00:25] <tantek> Hixie - I think I already have admin privs, but I'm not sure how to get the IP addresses of the folks creating spam accounts.
- # [00:26] <Hixie> i just block the accounts and check the "prevent this ip" checkbox
- # [00:26] <Hixie> it seems to do the right thing
- # [00:26] <tantek> hmm...
- # [00:26] <tantek> I thought that was the default - will double-check
- # [00:26] <Hixie> it is i think
- # [00:26] <rillian_> there's a special priv to be able to access the IP address table, iirc
- # [00:27] <tantek> Hixie - go ahead and max-out my admin privs if they're not already.
- # [00:27] <Hixie> looks like they are maxed out
- # [00:28] * Quits: tantek (~tantek@198.134.88.242) (Quit: tantek)
- # [00:29] <AryehGregor> Hixie, no specific feature allows that, but you could probably configure it that way.
- # [00:30] <Hixie> how about preventing creation of new pages for non-admin users?
- # [00:30] <Hixie> i don't mind us giving admin rights away to anyone who wants them, basically
- # [00:30] * Joins: Morphous (jan@unaffiliated/amorphous)
- # [00:30] <AryehGregor> Hixie, you should be able to do $wgNamespaceProtection[NS_USER] = 'protect' or something to stop non-admins from editing user pages.
- # [00:30] <Hixie> but just moving the bar to "you have to ask someone who is already an admin" would likely go a long way
- # [00:31] <Hixie> that would be a start i guess
- # [00:31] * Hixie pokes around
- # [00:31] <AryehGregor> I think you'd be best served installing better automatic spam account filters rather than trying to lock down the wiki more.
- # [00:31] <AryehGregor> Wikis become a lot less useful as they get locked down more.
- # [00:32] <Hixie> yeah, that would be good too
- # [00:32] <Hixie> anyone around want to do that?
- # [00:32] <Hixie> if anyone wants to volunteer to play with the wiki, mail me
- # [00:32] * Joins: tantek (~tantek@66-87-0-187.pools.spcsdns.net)
- # [00:32] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Ping timeout: 245 seconds)
- # [00:33] <Hixie> should a duration of "P" be considered 0 seconds, or a failure?
- # [00:33] <Hixie> (same for "" and " ")
- # [00:33] <TabAtkins> I vote failure.
- # [00:33] <TabAtkins> Though, hm.
- # [00:33] <mkanat> For media?
- # [00:33] <TabAtkins> Maybe not.
- # [00:33] <TabAtkins> mkanat: No, for <time> durations.
- # [00:34] <mkanat> Ah. No opinion, then. :-)
- # [00:34] <TabAtkins> Hixie: Actually, I vote 0 seconds.
- # [00:34] <Hixie> on what grounds?
- # [00:34] <TabAtkins> To allow authoring cases like serializing an object containing duration pieces, and not having to worry about no duration pieces being passed.
- # [00:34] <Hixie> presumably you agree that "3s X" should return failure
- # [00:34] <Hixie> hm, good reason
- # [00:34] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
- # [00:35] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
- # [00:35] * Joins: Dashiva (Dashiva@wikia/Dashiva)
- # [00:35] <TabAtkins> Yes, I agree with that.
- # [00:35] <Hixie> that argues for it being conforming, too
- # [00:35] <TabAtkins> Yeah, sure.
- # [00:35] <Hixie> not sure i would necessarily want to encourage authors to write <time></time> though
- # [00:35] <Hixie> and mean zero seconds
- # [00:35] <Hixie> as opposed to "not yet filled in"
- # [00:35] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Quit: shepazu)
- # [00:35] <zewt> do no browsers implement File with DataTransferItem yet, or is my test code just broken?
- # [00:35] <zewt> ("no" = chrome + firefox)
- # [00:36] <TabAtkins> Hixie: Make the lacuna value be something other than the empty string?
- # [00:36] <tantek> Btw I specifically included fixed point numbers for durations
- # [00:37] <tantek> P or "" should be invalid
- # [00:37] <tantek> It's more likely to be a typo than intended
- # [00:38] <tantek> 1.5h is slightly more human readable than 1h30m
- # [00:39] <TabAtkins> tantek: You think so? I'm split, but I think it's a corner case. Most decimal hours are less readable than h+m
- # [00:39] <tantek> Tabatkins yes I do think so. Based on publishing example seen
- # [00:40] <tantek> Examples*
- # [00:40] <smaug____> 1h30min is more readable, IMO
- # [00:41] <smaug____> that could be locale dependent
- # [00:42] <Hixie> 1h30 is the norm in locales like france, fwiw
- # [00:42] <Hixie> zewt: i'm not aware of any implementations, but i'm often the last to know
- # [00:42] <zewt> k
- # [00:42] <Phrogz> TabAtkins: Thanks for the mailing list clarification on SVG-in-IMG-in-Canvas. (Before I got spec-spanked by Boris.)
- # [00:42] <zewt> just wanted to make sure it wasn't implemented everywhere and I was doing something silly
- # [00:42] <Hixie> i think i'm gonna go with no time units being an error, and no fractions in non-second units, for now at least
- # [00:42] * Joins: tantek-ipod (~tantek@66-87-0-199.pools.spcsdns.net)
- # [00:44] * Quits: tantek (~tantek@66-87-0-187.pools.spcsdns.net) (Ping timeout: 252 seconds)
- # [00:46] * paul_irish is now known as paul_irish_
- # [00:46] * Joins: tantek (~tantek@66-87-7-92.pools.spcsdns.net)
- # [00:47] * Quits: smaug____ (~chatzilla@GGYGKMMDLIV.gprs.sl-laajakaista.fi) (Ping timeout: 258 seconds)
- # [00:48] * Quits: tantek-ipod (~tantek@66-87-0-199.pools.spcsdns.net) (Ping timeout: 240 seconds)
- # [00:48] <Hixie> i guess since we recently made ".1" a valid float value, "1m.1s" should be valid?
- # [00:48] <TabAtkins> Yes.
- # [00:48] <Hixie> hm, it looks kinda bad
- # [00:49] <TabAtkins> No, it's fine!
- # [00:49] <Hixie> as in, it looks like "1m. 1s"
- # [00:49] <zewt> (sigh, do I really have to convince someone that synchronous APIs in workers exist)
- # [00:49] <zewt> "mailing list busywork"
- # [00:50] <TabAtkins> zewt: That person doesn't disbelieve that sync APIs exist.
- # [00:50] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
- # [00:50] <zewt> sure seems to
- # [00:50] <TabAtkins> zewt: They think that they *shouldn't*, or maybe just that *this* sync API shouldn't.
- # [00:50] <TabAtkins> And I think that all the sync apis should be promise-based instead.
- # [00:50] <zewt> "Considering the current messaging API and the allowed host APIs, I strongly disagree." <- that guy
- # [00:51] <TabAtkins> I'm not sure what sentence is supposed to mean in the first place.
- # [00:51] <TabAtkins> Rather than writing a ranty explanatory email, perhaps ask him?
- # [00:52] <zewt> gmail sure makes it a challenge to trim quotes
- # [00:52] * Quits: tantek (~tantek@66-87-7-92.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [00:52] <zewt> delete a blank line, and an inner quote suddenly loses its block marker entirely
- # [00:52] <TabAtkins> zewt: Use solely plain text.
- # [00:52] <TabAtkins> Much easier.
- # [00:53] * TabAtkins apparently doesn't believe in guis.
- # [00:53] <zewt> then i have to toggle back and forth all the time, otherwise it'll send my mails as ugly non-flowed 80-column text as if it's the 90s
- # [00:53] <TabAtkins> I don't see a problem with this. ^_^
- # [00:56] * Joins: andyg (~andyg@eth59-167-156-1.static.internode.on.net)
- # [00:58] <Hixie> "P1DT1H" is valid and should be parsed as 25 hours.
- # [00:58] <zewt> TabAtkins: i claim a slight irony in HTML folks preferring fixed-format messages that can't be reflowed for the user's system :)
- # [00:58] <Hixie> "P1D1H" is invalid, but i intend to also parse it as 25 hours
- # [00:58] <TabAtkins> zewt: Even more, us CSS people *hate* css-styled emails for the most part.
- # [00:58] <Hixie> "P1H1D" is again invalid (order matters for the iso variant), but again i intend to also parse it as 25 hours
- # [00:58] <TabAtkins> Hixie: Yes, seems fine.
- # [00:58] <Hixie> now the question:
- # [00:59] <Hixie> "P1HT1D". parse it the same way? (i.e. ignore the T in this case?)
- # [00:59] <TabAtkins> zewt: We all use ascii formats like Markdown or similar.
- # [00:59] <TabAtkins> Hixie: Yes, parse the same way, I think.
- # [00:59] <Hixie> and how about "P1H1DT" and "PT1HT1S"?
- # [00:59] <Hixie> i.e. T not in between components, or multiple Ts
- # [01:00] <TabAtkins> Hixie: P1MT1M is still not allowed, right, as you're not doing month durations?
- # [01:00] <Hixie> also, how about two TTs in a row
- # [01:00] <Hixie> TabAtkins: correct, the T is completely pointless here, only allowed for ISO compat
- # [01:00] <zewt> TabAtkins: not advocating CSS in emails--people *don't* need advanced formatting in email
- # [01:00] <TabAtkins> Hixie: Ignore a single T, sure. Don't see any reason to accept multiple Ts.
- # [01:01] <TabAtkins> Hixie: Though, just "remove all P and T from the string before processing" is simple and easy.
- # [01:01] <Hixie> well not accepting multiple Ts requires keeping track of whether we got one or not
- # [01:01] <Hixie> which is fine by me
- # [01:01] <TabAtkins> Yeah, so shrug, either way is fine with me.
- # [01:01] <Hixie> well presumably you don't want P1TH" to be one hour
- # [01:01] <TabAtkins> Ah, true that.
- # [01:01] <TabAtkins> But still, skipping all Ts between duration tokens seems fine I guess.
- # [01:01] <TabAtkins> And Ps.
- # [01:01] <TabAtkins> Or maybe just skip Ps at the beginning?
- # [01:01] <mkanat> zewt: This is going to be very hard without CSS: https://bug607829.bugzilla.mozilla.org/attachment.cgi?id=515285
- # [01:01] <Hixie> P is just at the start
- # [01:02] <Hixie> (parser will skip whitespace before it)
- # [01:02] <Hixie> ok i'll skip any Ts between any two components, but fail if T is used in any other way (between number and unit, at the end, two in a row)
- # [01:02] <TabAtkins> Hixie: I don't see why we should fail with Ts at the end or two-in-a-row.
- # [01:03] <TabAtkins> "P1hT1mT" and "P1hTT1m" both seem invalid but easy to parse.
- # [01:03] <Hixie> well mostly because it's easier to spec that way
- # [01:03] <Hixie> ok
- # [01:03] <Hixie> will support those then
- # [01:04] <TabAtkins> mkanat: Yeah, computer-generated and "active" emails can use HTML well. Human-written emails rarely do.
- # [01:04] <mkanat> TabAtkins: Yeah, true.
- # [01:04] <mkanat> Unfortunately, my understanding is that gmail strips CSS, making it very hard to standardize such things.
- # [01:04] <mkanat> From a client perspective.
- # [01:04] <TabAtkins> (The primary effect of using HTML+CSS in human-written emails is to use bizarre font sizes or dark colors that don't work well with my theme.)
- # [01:06] * Joins: tantek-ipod (~tantek@66-87-4-125.pools.spcsdns.net)
- # [01:06] <TabAtkins> Or, ugh, to use colors to indicate what's quoted and what's your own writing.
- # [01:06] <Hixie> ok i think i have the parser figured out, now to convert it to english
- # [01:07] <TabAtkins> Why *anyone* thinks that's a good idea when it trivially doesn't scale past the first reply is beyond me.
- # [01:07] <zewt> TabAtkins: i don't think emails should be able to set fonts or font sizes, either
- # [01:07] <zewt> setting fixed-width (for code) is okay, but you don't need direct font control for that
- # [01:07] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [01:07] <TabAtkins> zewt: So you think that headings and <small> should have no effect in HTML email?
- # [01:08] <zewt> i don't know in general, but i agree that having random people posting in GIGANTO HUGE TEXT (they're important people, folks!) is really annoying
- # [01:08] <AryehGregor> heycam, why does WebIDL seem to use TypeError for so many different things? AFAIK we have zero interop on what exception types to throw, so wouldn't it make the most sense to use different exception types for different types of errors? Like for passing too few arguments, at least -- that seems like it could benefit from a unique error type.
- # [01:08] <zewt> i think flowing email instead of forcing everything to 80-column (especially on mobile) is a major win, though, and basic formatting (italic, bold)
- # [01:09] <TabAtkins> zewt: Flowing is incompatible with using text-based quoting indicators.
- # [01:09] <AryehGregor> . . . maybe it's not so many places, actually.
- # [01:09] <zewt> (links, images)
- # [01:09] <AryehGregor> ES also uses TypeError a lot.
- # [01:09] <zewt> TabAtkins: no it's not; the renderer just needs to be a bit smarter--gmail does it fine
- # [01:09] <AryehGregor> But it doesn't seem to be the right type for too few arguments.
- # [01:10] <TabAtkins> zewt: Really? I occasionally see Gmail do dumb things with flowed text and >> quoting.
- # [01:10] <zewt> i'm not entirely sure what kind of magic gmail does
- # [01:11] <TabAtkins> I mean, it knows how to convert blockquotes into a proper plaintext.
- # [01:11] <TabAtkins> If everyone would just write in Markdown this would be easier.
- # [01:12] <zewt> i guess more specifically, flowed isn't enough for quotes; you need HTML's blockquote to supplement it
- # [01:12] <TabAtkins> Yeah.
- # [01:12] <gavinc> On decimals in durations... perhaps something along the lines of decimals can only be used in the final terminal? eg 1.5h makes sense 1.5h10m does not. Really any new field after a decimal doesn't make a whole lot of sense
- # [01:12] <TabAtkins> Or some other explicit indicator of start/stop quoting.
- # [01:13] <zewt> blockquote seems saner than > quoting in general, in particular because no matter how advanced human society gets, people will still feel the need to get "inventive" with quote markers
- # [01:13] <zewt> ("i don't like >, let's use # instead" STOP THAT)
- # [01:13] <TabAtkins> Or the person's initials as quote markers, urgh.
- # [01:13] * Joins: ojan (ojan@nat/google/x-dilrwkypumisjplw)
- # [01:14] <zewt> don't forget "You said:"
- # [01:14] <zewt> (... who?)
- # [01:14] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
- # [01:15] <Dashiva> Don't forget forced line wrapping
- # [01:15] <zewt> talking about spec text is a whole lot easier with basic formatting, though
- # [01:15] <TabAtkins> Sure.
- # [01:15] <zewt> not being able to mimic spec rendering in email hurts
- # [01:15] <TabAtkins> All the formatting allowed in Markdown is useful without being obnoxious.
- # [01:16] <zewt> i wonder if there's a mystery firefox setting to disable pasting html
- # [01:22] * nunnun is now known as nunnun_away
- # [01:22] * nunnun_away is now known as nunnun
- # [01:22] <AryehGregor> Don't forget forced line wrapping that's then forced a second time so every line wraps to a second line that only has one word on it.
- # [01:23] <AryehGregor> Kind of like when the MTU decreases by a few bytes somewhere in the middle of transit.
- # [01:23] <zewt> (bleh, maybe i can disable it on gmail with some greasemonkey hackery; it's only gmail that it's a day-to-day headache with)
- # [01:24] * Quits: tantek-ipod (~tantek@66-87-4-125.pools.spcsdns.net) (Ping timeout: 258 seconds)
- # [01:26] * nunnun is now known as nunnun_away
- # [01:26] * nunnun_away is now known as nunnun
- # [01:28] * nunnun is now known as nunnun_away
- # [01:28] * nunnun_away is now known as nunnun
- # [01:28] <AryehGregor> "Due to a filter you created, this message was not sent to Spam." That needs a button saying "The filters were right, this isn't spam, try being smarter next time."
- # [01:29] <Philip`> Does Gmail actually learn from things you mark as spam/not-spam?
- # [01:29] <AryehGregor> I hope so.
- # [01:29] * Philip` has never noticed an effect like that
- # [01:30] <AryehGregor> I'm guessing the effect isn't per-user.
- # [01:30] <AryehGregor> Or maybe it is.
- # [01:30] <AryehGregor> I don't know, I don't look at my spam folder much.
- # [01:31] <AryehGregor> But I'm sure it at least feeds back into whatever their global spam filter is. Like I bet if they add a new heuristic, they'll adjust the weight they give it based on what percentage of users change its results, or something.
- # [01:31] <AryehGregor> Isn't the classic way to do spam filtering a Bayesian filter that updates based on manual user corrections?
- # [01:31] <TabAtkins> Yup.
- # [01:31] <AryehGregor> If they did that or some variant but the weights were global instead of per-user, you wouldn't notice an individual effect from clicking Spam/Not Spam, but it would have an effect if enough users did it.
- # [01:32] <AryehGregor> Maybe an elaboration would have an extra per-user layer so your personal spam filter is more responsive to your changes.
- # [01:32] <TabAtkins> I wish/hope they do.
- # [01:32] <AryehGregor> I honestly have no idea, spam filtering is all voodoo magic. But surely you'd have no way of checking your filter's accuracy if not for the Spam/Not Spam buttons.
- # [01:33] <TabAtkins> I'm quite certain we use a Bayesian filter of some variety.
- # [01:33] <zewt> it's pretty annoying that gmail filters have no "mark as spam" option
- # [01:33] <TabAtkins> I'm hoping/wishing for a personalized filter layered atop the global one.
- # [01:33] <AryehGregor> zewt, . . . they don't?
- # [01:34] <AryehGregor> Oh, the filters.
- # [01:34] <zewt> nope; the closest is delete
- # [01:34] <AryehGregor> As in the things Gmail calls filters, not spam filters.
- # [01:34] <AryehGregor> Right.
- # [01:34] <AryehGregor> That would be nice.
- # [01:34] * Quits: chriseppstein (~chrisepps@209.119.65.162) (Quit: chriseppstein)
- # [01:34] * AryehGregor uses the "Don't mark as spam" feature for several filters
- # [01:34] <zewt> i havn't had too much trouble with false positives on gmail
- # [01:35] <TabAtkins> Other than the "mark everything from @google.com as spam" issue, me neither.
- # [01:35] <AryehGregor> I've had a few simple ones.
- # [01:35] <TabAtkins> And I have a fitler to prevent that now.
- # [01:35] <AryehGregor> Like yeah, @google.com gets marked as spam a lot.
- # [01:35] <zewt> i recently had "69% Discount! BUY VIGARA & CILAIS NOW!!! Next Day Delivery!" pass gmail's spam filter
- # [01:35] <AryehGregor> I wonder if it's due to bad SPF rules or something. I think I investigated that once.
- # [01:35] <zewt> how could they possibly identify *that* as spam?
- # [01:36] <AryehGregor> I've also had routine daily mailings from my servers (like logwatch) marked as spam sometimes.
- # [01:36] <TabAtkins> zewt: Too much spoofing, I suppose, and we *for some reason* don't use the existing verification systems.
- # [01:36] <AryehGregor> IIRC, once most of the logwatch mails I got were marked as spam, but I marked them all not spam a couple of times and they stopped being marked as spam, so maybe that's anecdotal evidence that it learns from mistakes like that.
- # [01:36] <zewt> gmail has more incentive to listen to you screaming "not spam" than "spam"
- # [01:37] <zewt> since false positives are much more dangerous than false negatives
- # [01:37] <AryehGregor> TabAtkins, what existing verification systems? SPF, which breaks forwarding? Or DKIM, which requires everyone sending mail from a domain to have that domain's private key?
- # [01:37] <zewt> i imagine that has to be pretty localized, though, or it'd be abusable (create accounts, send your spam to them, mark them not spam)
- # [01:38] * Joins: rniwa (~rniwa@216.239.45.130)
- # [01:38] <AryehGregor> Verification of the sender in SMTP is just completely broken, because of legacy constraints like mailing lists.
- # [01:38] <TabAtkins> I know nothing of email verification systems and their shortcomings.
- # [01:38] <AryehGregor> SPF and DKIM are great, if all your mail is being sent from servers you control.
- # [01:39] <AryehGregor> And not being forwarded or mangled.
- # [01:39] <AryehGregor> Otherwise, not so much.
- # [01:39] <TabAtkins> zewt: Makes sense. I suppose that using a personalize ham filter and a global spam filter works fine.
- # [01:39] <TabAtkins> Since you *always* want spam information to be globally contributed, I guess.
- # [01:39] <zewt> global spam filtering is also abusable, in the opposite way, so at least it probably has to be heavily diluted
- # [01:39] <zewt> ("hey guys, let's make gmail mark ebay as a spammer")
- # [01:39] <TabAtkins> Only with more difficulty, and hamminess is typically consulted before spamminess.
- # [01:40] <zewt> of course, there's subjectivity in there, too
- # [01:40] <AryehGregor> . . . why is Chrome so persistently bad at restoring tabs when you close multiple windows in succession?
- # [01:40] * Joins: AlexNRoss (~AleossIRC@unaffiliated/aleoss)
- # [01:40] <zewt> for example, i consider mail from companies i've done business with that i didn't give them permission to use my email address for ("newsletters", "special offers") to be spam; some people don't
- # [01:40] <AryehGregor> Not only does it not restore any window other than the last you closed, it commonly forgets about the other window entirely.
- # [01:41] * AryehGregor hopes he didn't have any important tabs that got eaten
- # [01:43] <AryehGregor> Would it be so hard for it to notice when I close two windows within three seconds of each other and restore both when I restart?
- # [01:43] <AryehGregor> Reliably?
- # [01:43] * AryehGregor grumbles
- # [01:43] <zewt> firefox yells at you if you close a window with multiple tabs open
- # [01:43] <AryehGregor> The first time, until you uncheck the box.
- # [01:43] <zewt> there's sort of a disconnect in the way sessions work vs. the way chrome tries to look
- # [01:44] <zewt> eg. how chrome tries to look like a background system that's always present, and how people usually don't file->exit from chrome
- # [01:44] * Quits: plutoniix (~plutoniix@ppp-58-11-132-136.revip2.asianet.co.th) (Quit: Leaving)
- # [01:44] * nunnun is now known as nunnun_away
- # [01:44] <zewt> where session restores tend to be tied to file->exit closing everything at once
- # [01:44] <zewt> it should probably at least have a "recently closed windows", which is restored with the session
- # [01:53] * AryehGregor didn't realize you can use File->Exit to close everything at once
- # [01:53] <AryehGregor> That's a usable workaround, if it restores all windows automatically.
- # [01:53] <paul_irish_> AryehGregor: i use the Session Buddy extension which i set to autosave my windows
- # [01:53] <heycam> AryehGregor, JS itself tends to favour TypeError for those kinds of things (insufficient arguments, bad types, etc.)
- # [01:53] <paul_irish_> but also File ->Exit ya.
- # [01:54] <heycam> AryehGregor, which is why I went with it nearly everywhere
- # [01:59] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
- # [02:00] <jamesr_> has anyone verified that Charles Pritchard isn't just a sophisticated n-gram email generation bot?
- # [02:01] * Quits: MikeSmith (~MikeSmith@218.236.5.3) (Ping timeout: 245 seconds)
- # [02:04] * Joins: agektmr (~Adium@220.109.219.244)
- # [02:06] <Hixie> ok for people following on at home i did a regen with some of the new text in the microsyntaxes section
- # [02:07] <Hixie> yearless dates (e.g. birthdays, 05-06): http://www.whatwg.org/specs/web-apps/current-work/#yearless-dates
- # [02:07] <Hixie> timezones as a separate concept: http://www.whatwg.org/specs/web-apps/current-work/#time-zones
- # [02:08] <Hixie> and durations: http://www.whatwg.org/specs/web-apps/current-work/#durations
- # [02:12] <Hixie> bbiab.
- # [02:13] * Quits: othermaciej (~mjs@17.245.89.94) (Quit: othermaciej)
- # [02:13] <mkanat> Hixie: Hmm. I'm assuming Olsen timezones have already been discussed?
- # [02:15] <kennyluck> Hixie, "One or more digits followed by a U+004D LATIN CAPITAL LETTER M character, representing a number of hours." should read "number of minutes."
- # [02:15] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
- # [02:16] * Joins: othermaciej (~mjs@17.245.89.94)
- # [02:16] * nunnun_away is now known as nunnun
- # [02:17] * Joins: rillian_ (~rillian@mist.thaumas.net)
- # [02:24] * nunnun is now known as nunnun_away
- # [02:24] * nunnun_away is now known as nunnun
- # [02:26] * Quits: astearns (~anonymous@192.150.22.5) (Ping timeout: 248 seconds)
- # [02:31] <zewt> chrome doesn't implement the Worker interface inside workers? weird
- # [02:33] * Quits: AlexNRoss (~AleossIRC@unaffiliated/aleoss) (Quit: YEAH BABY YEAH! VERY SHAGADELIC! Cya everyone. Back in ~2 1/2 weeks!)
- # [02:42] * Quits: jamesr (jamesr@nat/google/x-pdiiqbirbcligvgq) (Ping timeout: 240 seconds)
- # [02:46] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [02:47] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
- # [02:48] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
- # [02:48] * nunnun is now known as nunnun_away
- # [02:49] * Joins: jacobolus (~jacobolus@ppp-71-139-21-245.dsl.snfc21.pacbell.net)
- # [02:52] * Quits: KillerX (~anant@nat/mozilla/x-rjndbavqlsxhnljp) (Quit: KillerX)
- # [02:53] * Joins: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
- # [02:56] * Quits: ap (~ap@2620:149:4:1b01:7173:b38:c64e:8477) (Quit: ap)
- # [03:00] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
- # [03:13] * Joins: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net)
- # [03:16] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc) (Read error: Connection reset by peer)
- # [03:17] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc)
- # [03:20] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
- # [03:20] * Joins: MikeSmith (~MikeSmith@220.118.163.112)
- # [03:21] * Joins: KevinMarks (~KevinMark@204.14.239.221)
- # [03:21] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 240 seconds)
- # [03:21] * KillerX_ is now known as KillerX
- # [03:22] * Joins: drublic_ (~drublic@frbg-4d029aee.pool.mediaWays.net)
- # [03:22] * nunnun_away is now known as nunnun
- # [03:23] * Quits: drublic_ (~drublic@frbg-4d029aee.pool.mediaWays.net) (Remote host closed the connection)
- # [03:24] * Quits: LBP (~Mirc@pD9EB1B2A.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
- # [03:24] * Joins: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de)
- # [03:25] * Quits: drublic (~drublic@frbg-4d029437.pool.mediaWays.net) (Ping timeout: 248 seconds)
- # [03:25] * Quits: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Remote host closed the connection)
- # [03:27] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
- # [03:30] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
- # [03:32] * Quits: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [03:39] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
- # [03:42] * Joins: erlehmann (~erlehmann@82.113.99.2)
- # [03:43] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
- # [03:44] <tantek> mkanat Olsen style named timelines were previously rejected long ago from microformats' timezone microsyntaxes.
- # [03:45] <mkanat> tantek: Fair enough. I think they do make life easier for implementors who want perfect accuracy, but they're not going to be typed by most actual users.
- # [03:45] <tantek> The short version for why no Olsen named TZs is that people notoriously get them wrong especially with respect to DST
- # [03:45] <mkanat> As in, notoriously implement interpreting them improperly?
- # [03:46] <tantek> They dot actually make life easier for higher data quality - which is the right way to evaluate anything an author/coder might emit into HTML
- # [03:46] <tantek> s/dot/don't
- # [03:47] <tantek> Smart folks all the time write/say PDT when they mean PST and vice versa.
- # [03:48] <mkanat> Yes, but I was thinking the full Olsen zones, America/Los_Angeles and so on.
- # [03:48] <mkanat> I agree that the three-letter TZs are an abomination.
- # [03:48] <tantek> Better to address it with numerical precision upfront (with offset from Z) than provide the illusion of precision with named TZs
- # [03:49] <tantek> And it's yet another named registry dependency
- # [03:49] <tantek> Worse, one that's political and unpredictable
- # [03:50] <tantek> Never mind the DMCA takedown of the NIH FTP URL
- # [03:50] <TabAtkins_> Yeah, the city-based registry changes over time.
- # [03:50] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
- # [03:51] <mkanat> I suppose numerical offsets do give you accuracy.
- # [03:51] <tantek> All those RFCs with references to Olsen now have broken links
- # [03:51] <mkanat> Even if the DST changeover goes to some other date in the future, your time is still accurate--it's just not in the TZ that that location would have, when you actually get to that date.
- # [03:52] <mkanat> I see the problems of trying to bake the Olsen DB into clients.
- # [03:52] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Ping timeout: 244 seconds)
- # [03:52] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 260 seconds)
- # [03:52] * KillerX_ is now known as KillerX
- # [03:53] <zewt> well, the biggest problem with named timezones is it's a moving target
- # [03:53] <mkanat> Right, that's the problem with baking it into clients.
- # [03:54] <mkanat> And people who want to use them on the server-side already have libraries for it that can emit times with numeric offsets if they want to send those to the client, so that does seem fine.
- # [03:58] <tantek> Mkanat, worse than baking into clients, with HTML/microformats it's a matter of baking into *documents* which must be much more reliable than clients.
- # [03:59] <mkanat> tantek: Yeah, that's a good point.
- # [03:59] * Quits: othermaciej (~mjs@17.245.89.94) (Quit: othermaciej)
- # [04:03] * Joins: miketaylr (~miketaylr@24.42.93.245)
- # [04:07] <tantek> Also tried to send this earlier but I think I was already too far off the ground:
- # [04:07] <tantek> Hixie, fine with omitting fixed point numbers or now til examples documented on wiki, however we should be similarly conservative with out of order unit values etc until someone finds backward compat reasons/examples.
- # [04:08] <TabAtkins_> tantek: Don't quite agree. Allowing out-of-order unit values makes both parsing and generation somewhat easier.
- # [04:09] <tantek> Disagree because it makes simple transposition errors more difficult to detect
- # [04:10] <TabAtkins_> Hmm, transposition seems like a minor issue here.
- # [04:10] <TabAtkins_> Because the units are separate from each other by at least one digit.
- # [04:11] <tantek> Not that way
- # [04:11] <tantek> But like this
- # [04:11] <tantek> Writing 1m5h when 1h5m is intended
- # [04:11] <tantek> Also easy to miss that error web reviewing.
- # [04:12] <TabAtkins_> Hm, maybe.
- # [04:12] <tantek> Because people see the order of digits and assign relevance more to the order than to he unit suffixes
- # [04:14] <tantek> This is all about optimizing ease of authoring high quality data.
- # [04:15] <tantek> so i'd rather start with a more conservative syntax
- # [04:15] * Joins: Obvious_MkII (tachikoma@188.226.74.2)
- # [04:15] * Quits: MikeSmith (~MikeSmith@220.118.163.112) (Quit: MikeSmith)
- # [04:16] * Quits: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
- # [04:16] * Quits: beowulf (u116@pdpc/supporter/professional/beowulf) (Excess Flood)
- # [04:16] <tantek> Where errors are earlier / more easily detected and corrected
- # [04:16] * Quits: Obvious (tachikoma@188.226.74.2) (Ping timeout: 240 seconds)
- # [04:16] * Joins: beowulf (u116@pdpc/supporter/professional/beowulf)
- # [04:17] <tantek> Speaking if errors - typing on an iPod sucks. I'm going to dinner and will resume later tonight in a laptop
- # [04:18] * Joins: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de)
- # [04:19] * tantek didn't mean to have hat message be self-supporting. :/
- # [04:19] <TabAtkins_> ^_^
- # [04:19] * Quits: dave_levin (dave_levin@nat/google/x-gpmddaswedijqmtl) (Quit: dave_levin)
- # [04:20] * Joins: Evanescence (~Evanescen@122.237.23.204)
- # [04:21] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
- # [04:22] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 248 seconds)
- # [04:22] * KillerX_ is now known as KillerX
- # [04:23] * Joins: nessy (~Adium@124-169-131-96.dyn.iinet.net.au)
- # [04:23] * Quits: mkanat (mkanat@nat/google/x-jyfzhmfmrriywavq) (Quit: Ex-Chat)
- # [04:31] * Quits: sicking (~chatzilla@nat/mozilla/x-gvjpbwgviftftles) (Ping timeout: 258 seconds)
- # [04:33] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [04:33] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [04:33] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: ->airport)
- # [04:34] * Joins: Evanescence (~Evanescen@122.237.23.204)
- # [04:36] * Quits: KevinMarks (~KevinMark@204.14.239.221) (Ping timeout: 240 seconds)
- # [04:43] * Joins: nonge (~nonge@p5B326524.dip.t-dialin.net)
- # [04:43] * Quits: jacobolus (~jacobolus@ppp-71-139-21-245.dsl.snfc21.pacbell.net) (Remote host closed the connection)
- # [04:52] * Quits: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
- # [04:54] * Quits: ojan (ojan@nat/google/x-dilrwkypumisjplw) (Quit: ojan)
- # [04:55] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
- # [04:56] * Quits: gavinc (~gavin@50-0-76-242.dsl.dynamic.sonic.net) (Remote host closed the connection)
- # [04:56] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [04:57] <erlehmann> tantek, with “1h5m”, transposition errors can happen. so is the answer not something like “12:34”, where only order matters?
- # [05:03] * Quits: neb3000 (~neb3000@115.146.71.1) (Quit: neb3000)
- # [05:05] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [05:07] * Joins: smedero (~smedero@c-24-18-227-21.hsd1.wa.comcast.net)
- # [05:09] * Quits: smedero (~smedero@c-24-18-227-21.hsd1.wa.comcast.net) (Client Quit)
- # [05:09] * nunnun is now known as nunnun_away
- # [05:16] * Joins: cgcardona (~cgcardona@c-24-5-113-12.hsd1.ca.comcast.net)
- # [05:16] * Quits: cgcardona (~cgcardona@c-24-5-113-12.hsd1.ca.comcast.net) (Changing host)
- # [05:16] * Joins: cgcardona (~cgcardona@unaffiliated/cgcardona)
- # [05:19] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
- # [05:19] <tantek> erlehmann: I'm considering exactly that for a potential separate duration attribute.
- # [05:20] <erlehmann> i see what you did there.
- # [05:24] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 244 seconds)
- # [05:26] * Quits: nonge (~nonge@p5B326524.dip.t-dialin.net) (Ping timeout: 240 seconds)
- # [05:30] * Joins: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
- # [05:34] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [05:36] * Parts: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
- # [05:37] * Joins: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
- # [05:39] * Joins: nonge (~nonge@p5B326C36.dip.t-dialin.net)
- # [05:39] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [05:40] * Quits: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com) (Quit: danielcotter)
- # [05:41] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 252 seconds)
- # [05:43] * Joins: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net)
- # [05:49] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Quit: KillerX)
- # [05:58] * heycam is now known as heycam|away
- # [06:00] * nunnun_away is now known as nunnun
- # [06:00] * Joins: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
- # [06:01] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
- # [06:11] * Quits: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com) (Quit: danielcotter)
- # [06:12] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [06:13] * Joins: agektmr (~Adium@220.109.219.244)
- # [06:21] * Quits: bezoar (~Adium@c-24-143-67-135.customer.broadstripe.net) (Quit: Leaving.)
- # [06:25] * Joins: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net)
- # [06:26] * Joins: Areks (~Areks@rs.gridnine.com)
- # [06:30] * Quits: niftylettuce (u2733@gateway/web/irccloud.com/x-fcywbboxphwjdwyb) (Read error: Operation timed out)
- # [06:31] * Joins: niftylettuce (u2733@gateway/web/irccloud.com/x-bfazgqgkhnjdetgy)
- # [06:32] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
- # [06:37] * Joins: tantek-ipod (~tantek@70-36-139-219.dsl.dynamic.sonic.net)
- # [06:40] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Ping timeout: 258 seconds)
- # [06:40] * tantek-ipod is now known as tantek
- # [06:45] * Joins: tantek_ (~tantek@70-36-139-219.dsl.dynamic.sonic.net)
- # [06:46] * Joins: rsteiner1 (~webchat@220.109.219.244)
- # [06:47] * Joins: tantek__ (~tantek@70-36-139-219.dsl.dynamic.sonic.net)
- # [06:47] * Quits: rsteiner1 (~webchat@220.109.219.244) (Client Quit)
- # [06:51] * Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
- # [06:55] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [07:04] <Hixie> ok. adding an element.
- # [07:04] <Hixie> step 1: adding a section for the element itself.
- # [07:06] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Quit: shepazu)
- # [07:07] <Hixie> step 2: updating the category lists to include the new element.
- # [07:07] <Hixie> pick an element with the same basic design (in this case <data>), and search the spec for mentions of that element in the category descriptions and copy what i did there.
- # [07:09] <Hixie> step 3: update images/content-venn.svg
- # [07:10] <Hixie> step 4: update the syntax section. not needed in this case as it's a "normal" element.
- # [07:10] * nunnun is now known as nunnun_away
- # [07:10] <Hixie> step 5: update the phrasing element usage summary examples
- # [07:12] <Hixie> step 6: update the parser. unnecessary in this case as it's a "normal" element.
- # [07:12] <Hixie> step 7: add new examples and update existing ones that are affected by the new element.
- # [07:14] <tantek__> hey Hixie, I've been updating / tweaking the Time element wiki page regarding durations
- # [07:15] <tantek__> capturing a bunch of the things discussed in IRC
- # [07:18] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
- # [07:20] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
- # [07:21] <Hixie> step 8: update the rendering section. unnecessary in this case as there's no non-default rendering to speak of.
- # [07:22] <Hixie> step 9: update the obsolete section as appropriate. unnecessary in this case as I forgot to add <time> to that section when I dropped it. :-)
- # [07:22] <Hixie> step 10: update the indexes
- # [07:23] <tantek__> sounds like fun
- # [07:23] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [07:25] * Quits: tantek (~tantek@70-36-139-219.dsl.dynamic.sonic.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
- # [07:25] * tantek_ is now known as tantek
- # [07:25] * tantek is now known as 77CAA0BB7
- # [07:25] * tantek__ is now known as tantek
- # [07:25] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
- # [07:27] * nunnun_away is now known as nunnun
- # [07:28] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [07:29] <Hixie> step 11: update the aria mappings. i believe there's nothing to map in this case.
- # [07:33] <Hixie> ok
- # [07:33] <Hixie> regen
- # [07:33] <Hixie> could do with more <data> examples now
- # [07:33] <Hixie> since i converted a lot of them back to <time> again
- # [07:41] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Quit: abarth)
- # [07:47] * Joins: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba)
- # [07:55] * Joins: bezoar (~Adium@c-24-143-67-135.customer.broadstripe.net)
- # [07:57] * Quits: FireFly (firefly@unaffiliated/firefly) (Excess Flood)
- # [07:58] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
- # [07:58] * Quits: 77CAA0BB7 (~tantek@70-36-139-219.dsl.dynamic.sonic.net) (Quit: 77CAA0BB7)
- # [07:59] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 240 seconds)
- # [07:59] * KillerX_ is now known as KillerX
- # [08:00] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
- # [08:00] * Joins: FireFly (firefly@firefly.xen.prgmr.com)
- # [08:02] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [08:02] * Joins: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp)
- # [08:06] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
- # [08:08] * Quits: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr) (Quit: espadrine)
- # [08:08] <rniwa> Hixie: are you still there?
- # [08:08] <Hixie> yup
- # [08:09] <rniwa> Hixie: I have a question for you regarding accessKey content attribute
- # [08:09] <rniwa> Hixie: should accessKey content attribute simulate click upon key press?
- # [08:09] <rniwa> i.e. simulate mousedown, mouseup, & click
- # [08:09] <rniwa> or just click?
- # [08:09] <Hixie> it should do what the spec says :-)
- # [08:10] <Hixie> "When the user presses the key combination corresponding to the assigned access key for an element, if the element defines a command, the command's Hidden State facet is false (visible), the command's Disabled State facet is also false (enabled), and the element is in a Document, then the user agent must trigger the Action of the command."
- # [08:11] <Hixie> then see the subsections under http://www.whatwg.org/specs/web-apps/current-work/#commands for the specific definition of what the Action of an element is in any particular case
- # [08:11] * Quits: jernoble|afk (~jernoble@17.212.152.13) (Ping timeout: 244 seconds)
- # [08:11] <Hixie> (all elements with an assigned access key by definition have an Action)
- # [08:11] * paul_irish_ is now known as paul_irish
- # [08:12] <rniwa> Hixie: ok, the spec appears to suggest we don't simulate mouedown/moseup
- # [08:13] <rniwa> just double-checking with you
- # [08:14] <Hixie> yeah nothing ever simulates mousedown/mouseup. The exact behaviour depends on what the element is. e.g. for <option> elements the event that eventually fires is 'change', for <div> elements the event that eventually fires is 'click', for <label> no event fires on the label but something might happen to the associated control, etc.
- # [08:15] <erlehmann> i want a novel by charles stross, where lawmakers of the future have the (?) embroidered on their clothing
- # [08:15] <Hixie> actually on <div> you'd see a 'focus' event also
- # [08:17] <rniwa> Hixie: right.
- # [08:17] <rniwa> Hixie: we might not be doing the right thing for focus at the moment
- # [08:17] * Joins: FlorianX (~Dimitri@p4FCF795C.dip.t-dialin.net)
- # [08:17] <rniwa> but someone is working on accessKey content attribute
- # [08:17] <rniwa> so we might match the spec in near future :)
- # [08:17] <rniwa> Hixie: thanks for the help
- # [08:18] <Hixie> btw looking at the Action section it looks like the way it refers to the activation behaviour is a bit out of date
- # [08:19] <Hixie> so the exact text might change
- # [08:19] <Hixie> i think it won't affect the normative meaning
- # [08:20] <Hixie> hm. step 12: update the microdata algorithms to use <time> again. oops.
- # [08:20] <Hixie> tantek: if you're still around, check out the spec and let me know if the new text looks good to you
- # [08:22] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/#the-time-element
- # [08:23] <rniwa> hm...
- # [08:24] <Hixie> hm?
- # [08:35] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [08:37] * Quits: andyg (~andyg@eth59-167-156-1.static.internode.on.net) (Read error: Connection reset by peer)
- # [08:37] * Joins: andyg (~andyg@eth59-167-156-1.static.internode.on.net)
- # [08:37] * nunnun is now known as nunnun_away
- # [08:39] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
- # [08:42] * Quits: andyg (~andyg@eth59-167-156-1.static.internode.on.net) (Ping timeout: 252 seconds)
- # [08:44] * Joins: jochen___ (jochen@nat/google/x-nyoknpazbboaktrs)
- # [08:48] * Quits: jochen__ (jochen@nat/google/x-bzulmyfrgdyjktru) (Ping timeout: 244 seconds)
- # [08:48] * jochen___ is now known as jochen__
- # [08:52] <hsivonen> I find it surprising that IE9 on Windows Phone doesn't have a JS JIT (according to http://www.sitepoint.com/mobile-ie9-differences/ )
- # [08:53] <hsivonen> ooh. no Compatibility View, either
- # [08:53] <annevk> Hixie: no check-in yet?
- # [08:53] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
- # [08:56] <Hixie> about to do it, unless you see a problem :-)
- # [08:57] <annevk> it doesn't say how to extract the datetime value
- # [08:57] <Hixie> "The datetime value of a time element is the value of the element's datetime content attribute, if it has one, or the element's textContent, if it does not."
- # [08:58] <Hixie> that not enough?
- # [08:59] <annevk> from a parser perspective there does not seem to be one algorithm for getting the value out
- # [08:59] <Hixie> "The time element represents its contents, with the added semantic that the the value given for the matching syntax in the list below, if any, is the meaning that corresponds to the element's contents."
- # [08:59] <Hixie> so you find which syntax it matches, if any, and that's what it represents
- # [09:01] <Hixie> admittedly, that makes the error handling parser for durations somewhat pointless
- # [09:02] <annevk> so you parse them as each of them and if one does not return an error you are okay?
- # [09:03] <Hixie> what the spec says now is that you check to see which syntax they conform to
- # [09:03] <Hixie> but i guess i can add a detector algorithm
- # [09:03] <Hixie> i'll do that tomorrow
- # [09:04] <annevk> ok, sounds good
- # [09:06] * Joins: woef (~woef@91.183.84.141)
- # [09:07] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [09:10] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Quit: KillerX)
- # [09:12] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [09:12] * Joins: LazyTown (Lazzzy@24.49.174.57)
- # [09:12] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
- # [09:13] <Hixie> i wonder how to do this short of just having an algorithm that is all the algorithms together
- # [09:13] * Parts: LazyTown (Lazzzy@24.49.174.57)
- # [09:15] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc) (Ping timeout: 244 seconds)
- # [09:15] <Hixie> distinguishing a global date and time string from a local date and time string, for instance, without using some crude heuristic like "ends in a Z or has a + or - somewhere in it"
- # [09:16] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 240 seconds)
- # [09:17] * Quits: FireFly (firefly@firefly.xen.prgmr.com) (Ping timeout: 240 seconds)
- # [09:19] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [09:19] * Joins: FireFly (firefly@firefly.xen.prgmr.com)
- # [09:20] <annevk> depends on the extensibility you want I suppose
- # [09:22] <annevk> http://xkcd.com/979/ I hate it when that happens :)
- # [09:25] * heycam|away is now known as heycam
- # [09:27] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: No route to host)
- # [09:28] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [09:36] * heycam is now known as heycam|away
- # [09:37] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [09:37] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [09:40] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [09:40] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:71b6:30e8:42be:a972)
- # [09:41] <annevk> sweet http://blog.chromium.org/2011/11/lossless-and-transparency-encoding-in.html
- # [09:41] <annevk> hopefully Gecko will add it now
- # [09:42] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [09:45] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:71b6:30e8:42be:a972) (Ping timeout: 240 seconds)
- # [09:45] * Quits: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp) (Quit: MikeSmith)
- # [09:46] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
- # [09:46] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
- # [09:47] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
- # [09:47] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
- # [09:48] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [09:49] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Client Quit)
- # [09:52] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Client Quit)
- # [09:54] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [09:56] * Joins: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp)
- # [09:58] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
- # [09:58] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
- # [09:58] <hsivonen> has Google explained why they aren't working with JPEG XR?
- # [09:59] <hsivonen> there might be good legal reasons
- # [09:59] <hsivonen> but without an explanation, it looks like it's Google doing its own thing instead of ISO standards
- # [10:04] * zcorpan uncomments <time> in html-elements
- # [10:04] * Joins: PalleZingmark (~Adium@217.13.228.226)
- # [10:04] * Joins: gwicke (~gabriel@212.255.44.58)
- # [10:07] * Quits: Druide_ (~Druid@p5B05D880.dip.t-dialin.net) (Ping timeout: 252 seconds)
- # [10:08] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
- # [10:09] * Joins: Evanescence (~Evanescen@122.237.37.212)
- # [10:11] * Joins: Druide_ (~Druid@p5B1366FE.dip.t-dialin.net)
- # [10:21] * Joins: mpt (~mpt@nat/canonical/x-zzmabjlwvlywasjw)
- # [10:21] * Quits: mpt (~mpt@nat/canonical/x-zzmabjlwvlywasjw) (Changing host)
- # [10:21] * Joins: mpt (~mpt@canonical/mpt)
- # [10:25] <annevk> hsivonen: prolly too hard, witness APNG
- # [10:25] * Joins: Timz (~Adium@86.89.174.199)
- # [10:39] * Quits: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp) (Ping timeout: 244 seconds)
- # [10:51] * Joins: smaug____ (~chatzilla@GYYYMCLXV.gprs.sl-laajakaista.fi)
- # [10:57] * Joins: MikeSmith (~MikeSmith@EM1-113-25-204.pool.e-mobile.ne.jp)
- # [11:07] <erlehmann> annevk, ENOCONTEXT what is too hard?
- # [11:07] * Joins: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp)
- # [11:12] * Quits: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com) (Ping timeout: 240 seconds)
- # [11:14] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
- # [11:14] * Quits: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp) (Quit: And Now for Something Completely Different.)
- # [11:16] * Quits: mpt (~mpt@canonical/mpt) (Read error: Connection reset by peer)
- # [11:17] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
- # [11:18] * Joins: mishunov (~spliter@77.88.72.162)
- # [11:18] * Parts: mishunov (~spliter@77.88.72.162)
- # [11:18] * Quits: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com) (Read error: Connection reset by peer)
- # [11:19] * Joins: mpt (~mpt@canonical/mpt)
- # [11:20] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
- # [11:21] * Quits: rniwa (~rniwa@216.239.45.130) (Quit: rniwa)
- # [11:36] * Quits: nessy (~Adium@124-169-131-96.dyn.iinet.net.au) (Quit: Leaving.)
- # [11:47] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
- # [11:52] * Quits: erlehmann (~erlehmann@82.113.99.2) (Quit: Ex-Chat)
- # [11:58] * Joins: danielfilho_ (~daniel@187.31.77.7)
- # [12:00] * Quits: danielfilho (~daniel@187.31.77.7) (Ping timeout: 248 seconds)
- # [12:00] * danielfilho_ is now known as danielfilho
- # [12:01] <hsivonen> stuff I learned about URL parsing today: Three slashes after http: works in Firefox 8 but not in IE8.
- # [12:01] * Joins: drublic (~drublic@frbg-4d029aee.pool.mediaWays.net)
- # [12:02] <hsivonen> works in Chrome, too
- # [12:07] <smaug____> annevk: we should kill also timeout for sync XHR
- # [12:09] <annevk> but timeout doesn't throw
- # [12:09] <annevk> at all
- # [12:09] <annevk> oh well, not really a great argument
- # [12:10] <annevk> smaug____: are you implementing the other exceptions? and changes to allow responseType to be set before open() etc.
- # [12:12] <smaug____> just reviewing a patch which throws when xhr is sync
- # [12:12] * annevk hopes it's per spec
- # [12:12] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 245 seconds)
- # [12:12] <hsivonen> smaug____: should I prepare a patch to make HTML parsing unavailable in sync XHR?
- # [12:13] <smaug____> hsivonen: that would be good yes
- # [12:13] <annevk> hsivonen: it should still work in Workers though
- # [12:13] <smaug____> we really should try to kill sync XHR in Window context
- # [12:13] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
- # [12:13] <smaug____> HTML Document in Workers?
- # [12:14] <annevk> oh right
- # [12:14] <annevk> though maybe, at some point
- # [12:15] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [12:16] <hsivonen> smaug____: OK. now that I've gotten some food, I'll try to track down the source of the error again...
- # [12:16] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
- # [12:23] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Remote host closed the connection)
- # [12:24] <MikeSmith> annevk: can you remind me please how I get http://html5.org/tools/web-apps-tracker to show all changes?
- # [12:24] <MikeSmith> nm
- # [12:24] <MikeSmith> http://html5.org/tools/web-apps-tracker?limit=-1
- # [12:26] * Joins: benjoffe_ (~benjoffe_@58.171.184.12)
- # [12:27] * Joins: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [12:28] <annevk> sweet
- # [12:29] <annevk> now that's going to get hit often
- # [12:31] <annevk> someone tell me when html5.org goes down and I'll change the above URL to return "Damn it Mike™, you're awesome but did you have to expose this URL‽"
- # [12:31] <zcorpan> make it a rickroll redirect
- # [12:32] <MikeSmith> shit
- # [12:32] <MikeSmith> sorry man
- # [12:32] <annevk> heh
- # [12:32] <MikeSmith> change it to something else
- # [12:32] <annevk> I think we'll be fine
- # [12:32] <annevk> time will tell
- # [12:32] <MikeSmith> I'm managing to fuck up all kinds of things during the last two weeks
- # [12:32] <MikeSmith> I'm on a roll
- # [12:32] <MikeSmith> surprising even myself
- # [12:33] <annevk> more bad management if you ask me
- # [12:33] <MikeSmith> hard to know what lies ahead
- # [12:34] <annevk> maybe it's the cheese
- # [12:37] * Parts: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
- # [12:40] <annevk> zcorpan: http://lists.w3.org/Archives/Public/www-archive/2011Nov/0052.html
- # [12:42] <annevk> http://www.urbandictionary.com/define.php?term=blink182 "Was that blink 182 or blink 181? I lost count...fuck me gently with a chainsaw."
- # [12:43] <annevk> lol
- # [12:43] * Quits: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl) (Quit: annevk)
- # [12:44] * Quits: pererik (~pe@unaffiliated/pererik) (Ping timeout: 258 seconds)
- # [12:44] <zcorpan> annevk: great success
- # [12:48] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [12:48] * Joins: pererik (~pe@unaffiliated/pererik)
- # [12:51] * Quits: benjoffe_ (~benjoffe_@58.171.184.12) (Remote host closed the connection)
- # [12:52] * Joins: benjoffe_ (~benjoffe_@58.171.184.12)
- # [13:01] * Joins: shepazu_ (~shepazu@70-58-87-253.tukw.qwest.net)
- # [13:01] * Joins: mishunov (~spliter@77.88.72.162)
- # [13:03] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Ping timeout: 252 seconds)
- # [13:03] * shepazu_ is now known as shepazu
- # [13:09] <zcorpan> wonder if i should point out that a text/html; charset=windows-1252 resource can instantiate a worker with the url "#" which will interpret the same resource as a utf-8 script
- # [13:10] <zcorpan> (we even have a test case for this)
- # [13:11] * Joins: erlehmann (~erlehmann@82.113.99.2)
- # [13:11] * heycam|away is now known as heycam
- # [13:11] * Quits: erlehmann (~erlehmann@82.113.99.2) (Remote host closed the connection)
- # [13:18] * Necrathex is now known as Neocortex
- # [13:27] * Quits: benjoffe_ (~benjoffe_@58.171.184.12) (Remote host closed the connection)
- # [13:33] * Joins: annevk (~annevk@ip115-168-212-87.adsl2.static.versatel.nl)
- # [13:33] * Joins: ashaw (ashaw@129.94.198.88)
- # [13:34] <ashaw> I am wondering which IRC room works on developing the JS-API
- # [13:34] <jgraham> What js-api?
- # [13:35] <annevk> zcorpan: the point was more that it's not implemented apparently
- # [13:35] <ashaw> the Javascipt standard library
- # [13:37] <zcorpan> annevk: well it's implemented in opera
- # [13:38] * Quits: shepazu (~shepazu@70-58-87-253.tukw.qwest.net) (Quit: shepazu)
- # [13:38] <annevk> ashaw: are you talking about http://es5.github.com/ ?
- # [13:38] <jgraham> ashaw: Do you mean DOM? Or the "standard library" in ECMAScript?
- # [13:39] <ashaw> I do not know, in general I want to talk about window.crypto
- # [13:39] <ashaw> and other things arround it for the same sort of stuff
- # [13:40] <annevk> this would be okay for window.crypto I think
- # [13:40] * Quits: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com) (Quit: adactio)
- # [13:40] <jgraham> ashaw: Here is as good a place as any I know, but I don't know how many of the relevant people hang out here
- # [13:40] <annevk> might not be anyone around to talk about it though
- # [13:41] <ashaw> I have implemented ECC crypto in javascript in order to try to make a start at an acceptable online voting system.
- # [13:41] <ashaw> however I have discovered a number of shortfalls that make this task, though possible, unpractical due to speed constraints.
- # [13:42] <annevk> you might be best of emailing to whatwg@whatwg.org
- # [13:42] <annevk> details here: http://www.whatwg.org/mailing-list
- # [13:42] <annevk> abarth can then reply whenever he's awake
- # [13:42] <ashaw> Ok, I'll email the mailing list.
- # [13:43] * heycam is now known as heycam|away
- # [13:43] * Quits: FlorianX (~Dimitri@p4FCF795C.dip.t-dialin.net) (Quit: Leaving.)
- # [13:45] <ashaw> Basically, I need SHA, and a Bignum library over arrayBuffers and possibly support for loading a script into a web worker off a secure server so that data can be transfered only by a communication API
- # [13:45] <ashaw> Has any of this been brought up before?
- # [13:46] <annevk> Workers support a importScripts methods
- # [13:47] <annevk> method even
- # [13:48] <ashaw> is there any way that the main site can modify the web-workers context directly, and if so, can this be stopped.
- # [13:49] <ashaw> Also is there a way that window.crypto.random can be accessed from a web-worker
- # [13:49] <zcorpan> importScripts is same-origin-only though
- # [13:49] <ashaw> same-orogin-only is good
- # [13:49] <zcorpan> good :)
- # [13:50] <zcorpan> i thought "off a secure server" implied different-origin
- # [13:50] <ashaw> no-I ment an even stricter sense of same-origin
- # [13:51] <ashaw> i want a web worker that is locked up tight, and can-not be modified once started
- # [13:54] * annevk isn't quite sure "One use case could be to replace everything in a document with new nodes:" is a use case zcorpan, but I'll allow it anyway
- # [13:55] <annevk> ashaw: I think only a Worker can modify a worker
- # [13:55] <ashaw> that same worker? or can one worker modify annother?
- # [13:56] <annevk> I'm going with "I don't think so"
- # [13:56] <annevk> you can only interact with a worker via postMessage() so I don't really see how
- # [13:57] <ashaw> Goooood.
- # [13:58] <ashaw> Now comes the question, as the cryptographically secure RNG has been put in window.crypto, there is no-way to access it from a web worker directly is there?
- # [13:58] <ashaw> Which is sad :(
- # [14:03] <annevk> well
- # [14:03] <annevk> it's on its own interface
- # [14:03] <annevk> I expect it to be exposed to workers as well
- # [14:03] <annevk> would make sense to me anyway
- # [14:03] <annevk> anyway, put that in your email
- # [14:04] <annevk> better to have it logged on list than here
- # [14:04] * Joins: Ms2ger (~Ms2ger@91.181.0.73)
- # [14:05] * Joins: plutoniix (~plutoniix@ppp-115-87-71-8.revip4.asianet.co.th)
- # [14:05] <ashaw> yeah
- # [14:06] <ashaw> I have been trying to figure our how to solve the problems mentioned here: http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/
- # [14:09] <annevk> ok emailed improving the DOM rev 2 to www-dom
- # [14:09] <annevk> hopefully this one is a little better
- # [14:12] <jgraham> annevk: Why does remove take a ContentNode?
- # [14:14] <annevk> i'm a copy and paste man jgraham
- # [14:14] <annevk> better get used to it
- # [14:33] * Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
- # [14:35] * Joins: jonatasnona (~jonatas@lba.inpa.gov.br)
- # [14:40] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
- # [14:44] * Joins: benjoffe_ (~benjoffe_@58.171.184.12)
- # [14:44] * Joins: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
- # [14:48] * Quits: benjoffe_ (~benjoffe_@58.171.184.12) (Read error: Connection reset by peer)
- # [14:50] * Quits: plutoniix (~plutoniix@ppp-115-87-71-8.revip4.asianet.co.th) (Read error: No route to host)
- # [14:50] <annevk> smaug____: so timeout should throw on setting if the synchronous flag is set
- # [14:50] <annevk> smaug____: and open() should throw if timeout is set to something other than zero?
- # [14:50] <annevk> smaug____: see http://dev.w3.org/2006/webapi/XMLHttpRequest-2 for when withCredentials currently is supposed to throw
- # [14:50] * Joins: plutoniix (~plutoniix@ppp-115-87-71-8.revip4.asianet.co.th)
- # [14:50] * Joins: RichardJ (~richard@node.liefcoden.nl)
- # [14:50] <annevk> I will make that change now so I don't forget
- # [14:51] * Joins: miketaylr (~miketaylr@24.42.93.245)
- # [14:53] <smaug____> looking
- # [14:53] <smaug____> and yes, that timout handling sounds good
- # [14:53] * Joins: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
- # [14:55] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [14:55] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
- # [14:55] * Quits: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) (Remote host closed the connection)
- # [14:56] <Ms2ger> http://lists.w3.org/Archives/Public/www-style/2011Nov/0389.html
- # [14:57] <Ms2ger> Björn seems even more snarky than usual, lately
- # [14:57] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
- # [14:58] * Joins: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
- # [14:58] * Joins: PalleZingmark1 (~Adium@217.13.228.226)
- # [14:58] * Parts: PalleZingmark1 (~Adium@217.13.228.226)
- # [14:59] <annevk> I always wonder how he gets enough satisfaction about just being right and not having much of an effect on changing things around.
- # [15:00] <annevk> Assuming he's right most of the time, for now.
- # [15:00] * Quits: PalleZingmark (~Adium@217.13.228.226) (Ping timeout: 240 seconds)
- # [15:01] * Joins: davidb_ (~davidb@66.207.208.98)
- # [15:02] * Joins: Rik`_ (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
- # [15:02] <Ms2ger> Hmm, I wonder if Mozilla hackers are going to be confused by ContentNode
- # [15:03] <smaug____> Ms2ger: I'm sure we'll add ChromeNode :)
- # [15:03] <Ms2ger> nsIChrome? :)
- # [15:03] <smaug____> nsIDOMChromeNode
- # [15:03] <smaug____> nah, that would be visible to content
- # [15:03] <smaug____> nsIDOMContentNode
- # [15:04] <smaug____> oh, you meant nsIContent vs nsINode
- # [15:04] <Ms2ger> Yeah
- # [15:04] <annevk> Ms2ger: it's not an actual interface type though
- # [15:04] <annevk> Ms2ger: it's just IDL syntax
- # [15:04] <Ms2ger> Mm
- # [15:04] <smaug____> I wonder how many different meanings "content" has :)
- # [15:04] <annevk> at least, that's how I see it
- # [15:05] <annevk> so can name it FairyNode if that works better for everyone
- # [15:05] * Quits: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) (Ping timeout: 240 seconds)
- # [15:05] <annevk> because it won't make an iota of a difference
- # [15:05] <annevk> not sure I used "iota" right
- # [15:05] <smaug____> why *Node?
- # [15:05] <smaug____> DOMString isn't any kind of "Node"
- # [15:06] <annevk> in this context it becomes a Text node
- # [15:06] <annevk> but sure
- # [15:06] <annevk> we can call the thing FairyDust
- # [15:06] * Rik`_ is now known as Rik`
- # [15:06] <annevk> as I said, does not matter
- # [15:06] <smaug____> DOMConstructionUnit or some such might describe it better
- # [15:07] * Joins: PalleZingmark (~Adium@217.13.228.226)
- # [15:07] <smaug____> well, not quite like that, something shorter and simpler
- # [15:07] <annevk> have fun bikeshedding
- # [15:07] * annevk continues working on XHR
- # [15:07] <smaug____> thanks
- # [15:16] <hsivonen> annevk: I'm changing sync mode not to support HTML parsing
- # [15:16] <hsivonen> annevk: in order to avoid proliferating the sync evilness
- # [15:16] * Joins: andyg (~andyg@CPE-124-189-148-81.sqcy1.win.bigpond.net.au)
- # [15:17] <asmodai> omg
- # [15:17] <asmodai> Opera 12 has decent MathML rendering :|
- # [15:17] <annevk> I'd sort of prefer to keep HTML/XML in feature parity
- # [15:17] <annevk> but okay
- # [15:17] <annevk> I mean technically it's a new feature, but making the bar to use HTML higher is very anti-platform
- # [15:18] <annevk> sync is also very anti-platform, but still
- # [15:18] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
- # [15:18] <jgraham> asmodai: Hmm? Same as previous Operas afaik
- # [15:19] * Quits: smaug____ (~chatzilla@GYYYMCLXV.gprs.sl-laajakaista.fi) (Ping timeout: 244 seconds)
- # [15:19] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
- # [15:21] <asmodai> jgraham: Really? because last time around when I check on 11 it was not looking so decent?
- # [15:21] <asmodai> Unless my memory is deteriorating faster than I think it does.
- # [15:23] <hsivonen> hmm. turning off HTML parsing in sync mode make charset handling differ between sync and async...
- # [15:23] * Quits: esc_ (~esc-ape@72.inst-3.ufg.ac.at) (Ping timeout: 252 seconds)
- # [15:24] * Joins: esc_ (~esc-ape@72.inst-3.ufg.ac.at)
- # [15:26] <hsivonen> discussions about spec organization so that normative references always point to more mature specs makes me sad
- # [15:26] <hsivonen> s/makes/make/
- # [15:30] <annevk> hmm
- # [15:30] <annevk> smaug left
- # [15:30] <annevk> http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#the-timeout-attribute
- # [15:30] <annevk> http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#the-open-method
- # [15:31] * Joins: scor (~scor@132.183.13.49)
- # [15:31] * Quits: scor (~scor@132.183.13.49) (Changing host)
- # [15:31] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [15:33] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
- # [15:47] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
- # [15:48] <annevk> heh http://infrequently.org/2011/11/vendor-prefixes-are-a-rousing-success/
- # [15:49] <annevk> now if Google/Apple sort out deprecating features in WebKit
- # [15:49] <annevk> I could buy into that
- # [15:49] <annevk> (and deprecating in a way that leads to actual removal)
- # [15:49] <annevk> if not, well...
- # [15:50] * nunnun_away is now known as nunnun
- # [15:53] * Quits: annevk (~annevk@ip115-168-212-87.adsl2.static.versatel.nl) (Quit: annevk)
- # [15:54] * Joins: agektmr (~Adium@p2067-ipbf1606marunouchi.tokyo.ocn.ne.jp)
- # [16:01] <AryehGregor> heycam|away, JS doesn't throw at all for insufficient arguments, does it? It just sets them to undefined? You're right that it seems to use TypeError for everything under the sun, though.
- # [16:04] <AryehGregor> It seems like it would be more desirable to throw distinct exceptions for too few arguments and wrong type, which is what Gecko currently seems to do.
- # [16:05] <AryehGregor> But I guess if browsers are willing to go with it, shrug.
- # [16:05] * Quits: PalleZingmark (~Adium@217.13.228.226) (Ping timeout: 276 seconds)
- # [16:06] * Joins: PalleZingmark (~Adium@217.13.228.226)
- # [16:06] * Joins: MacTed (~Thud@63.119.36.36)
- # [16:11] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Quit: cgcardona)
- # [16:13] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
- # [16:14] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
- # [16:14] * Joins: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com)
- # [16:15] * Quits: woef (~woef@91.183.84.141) (Ping timeout: 260 seconds)
- # [16:16] * Joins: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru)
- # [16:19] * Joins: smaug____ (~chatzilla@193-64-22-178-nat.elisa-mobile.fi)
- # [16:20] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 258 seconds)
- # [16:21] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [16:24] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Client Quit)
- # [16:25] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [16:25] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [16:26] * Quits: PalleZingmark (~Adium@217.13.228.226) (Quit: Leaving.)
- # [16:30] * Margle is now known as margle
- # [16:34] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
- # [16:35] <annevk> AryehGregor: Opera throws WRONG_ARGUMENT_ERR or some such
- # [16:35] <AryehGregor> Yes.
- # [16:35] <AryehGregor> For both.
- # [16:35] <AryehGregor> It's a clearer error name than TypeError.
- # [16:35] <annevk> AryehGregor: oh okay :)
- # [16:36] * Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
- # [16:36] <annevk> I think nobody has taken a critical look yet at that part of Web IDL
- # [16:36] <annevk> apart from maybe Microsoft but they don't give feedback until it is shipped typically
- # [16:39] * Parts: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) ("Leaving...")
- # [16:39] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [16:40] <jgraham> I like TypeError
- # [16:40] <jgraham> I think aligining with javascript native APIs is a win
- # [16:41] <jgraham> Also, I notice that Alex doesn't really talk about the user or vendor point of view of prefixes, only the author point of view. It is pretty easy to say that prefixes are awesome when you work on webkit and are sure that everyone will include a -webkit- prefix always
- # [16:44] * Quits: davidb_ (~davidb@66.207.208.98) (Quit: davidb_)
- # [16:47] * Joins: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
- # [16:47] <tantek> Hixie: re: time element text update, minor tweak:
- # [16:48] <tantek> s/The datetime attribute must be present. Its value must be/The datetime attribute, if present, must be
- # [16:48] <tantek> since we explicitly allow <time>2011</time> etc. (even prefer)
- # [16:48] <tantek> to reduce DRY violations
- # [16:49] <tantek> also, example still to be fixed:
- # [16:49] <tantek> s/"2007-10-20">19/"2007-10-07">7
- # [16:51] <tantek> regarding time zone offsets, experience has shown that *dropping* the ":" between the hours/minutes on timezone offsets helps better distinguish them from appearing like times
- # [16:52] <tantek> e.g. 07:00-0800 is more obviously 7am in PST than
- # [16:52] <tantek> 07:00-08:00 which looks like an interval of 7am to 8am.
- # [16:52] <zewt> whoever started with sub-hour timezone offsets needs to be shot into the sun
- # [16:52] <tantek> this is a human authorability/readability/verfiability concern
- # [16:53] <tantek> zewt I believe there is even a country that has a half-hour DST change.
- # [16:53] <zewt> tantek: -0800 is also just a common notation that people are familiar with
- # [16:53] <tantek> dbaron would know
- # [16:53] <tantek> yeah
- # [16:53] <zewt> i've heard of at least one place with a 15-minute offset :|
- # [16:54] * Joins: davidb (~davidb@66.207.208.98)
- # [16:54] * Joins: MikeSmith_ (~MikeSmith@EM114-48-71-19.pool.e-mobile.ne.jp)
- # [16:54] <tantek> I'm fine with parsing with the colon as error recovery, however we should make timezone offsets valid only *without* the ":" between HH MM.
- # [16:54] <annevk> yeah, around India there's some fun stuff
- # [16:55] <annevk> India in fact has the half an hour
- # [16:56] <annevk> Bangladesh might be the one with three quarters?
- # [16:56] <tantek> Hixie, regarding year-less date parsing:
- # [16:56] <tantek> http://www.whatwg.org/specs/web-apps/current-work/#parse-a-yearless-date-string
- # [16:56] <annevk> oh, Nepal is
- # [16:56] <annevk> in Kathmandu it's 21:35 now
- # [16:56] <tantek> please explicitly allow the leading double-hyphen
- # [16:56] <tantek> making it optional is fine
- # [16:56] <tantek> e.g.
- # [16:56] <tantek> --11-18
- # [16:57] <tantek> as that's the ISO8601 syntax for yearless dates
- # [16:57] * Quits: MikeSmith (~MikeSmith@EM1-113-25-204.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [16:57] * MikeSmith_ is now known as MikeSmith
- # [16:57] <annevk> Chatham Islands in New Zealand have a similar weird offset
- # [16:57] * Quits: Ms2ger (~Ms2ger@91.181.0.73) (Quit: bbl)
- # [16:57] <annevk> there it's 05:35
- # [16:58] <zewt> into the sun.
- # [16:58] <annevk> if we have offsets at all it doesn't really matter how arbitrary they are
- # [17:05] <smaug____> "What front-ender in 2011 doesn’t test on at least two browsers?" I'm pretty sure in case of pages for mobile devices, it happens very often.
- # [17:09] <jgraham> Indeed. And even when they do it is probably stock iOS + stock android
- # [17:10] <annevk> apple.com/html5/ anyone?
- # [17:17] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Computer has gone to sleep.)
- # [17:19] * Joins: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
- # [17:19] <TabAtkins_> Hixie: Somewhat confusingly, the <time> section says that @datetime is required, and then all of the examples don't use @datetime.
- # [17:20] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [17:20] <annevk> http://www.msnbc.msn.com/id/45306416/ns/health-diet_and_nutrition/ o_O
- # [17:20] <annevk> pizza a vegetable
- # [17:20] <annevk> wtf is wrong with that country
- # [17:20] <zewt> TabAtkins: fyi earlier <tantek> s/The datetime attribute must be present. Its value must be/The datetime attribute, if present, must be
- # [17:20] <annevk> I thought the EU had issues
- # [17:20] * Quits: gwicke (~gabriel@212.255.44.58) (Ping timeout: 240 seconds)
- # [17:25] * Quits: agektmr (~Adium@p2067-ipbf1606marunouchi.tokyo.ocn.ne.jp) (Quit: Leaving.)
- # [17:25] * Quits: smaug____ (~chatzilla@193-64-22-178-nat.elisa-mobile.fi) (Ping timeout: 245 seconds)
- # [17:28] <TabAtkins_> zewt: Yeah.
- # [17:28] <TabAtkins_> annevk: It's called lobbying! Our government is basically run by corporations.
- # [17:28] <divya> TabAtkins: its just a better name for corruption
- # [17:29] <divya> and bribery
- # [17:29] <TabAtkins_> divya: Pretty much, yes.
- # [17:29] <divya> ?slap US politicians
- # [17:30] <annevk> lobbying makes some amount of sense (e.g. as wycats does on behalf of some set of developers), but this goes way beyond that
- # [17:30] <divya> this scares me SO MUCH http://jilliancyork.com/wp-content/uploads/2011/11/mubarak-and-us-presidents1.gif
- # [17:30] <miketaylr> the new national anthem: http://www.youtube.com/watch?v=wusGIl3v044
- # [17:31] <divya> especially how Hosni looks unchanged over 40 yearss
- # [17:31] <divya> hahaha miketaylr
- # [17:31] <timeless> annevk: we tried to make ketchup a vegetable :)
- # [17:31] <timeless> divya: at least you can see it publicly :)
- # [17:32] <divya> timeless: whats the advantage? just despair?
- # [17:32] <timeless> you can openly see who is being corrupted
- # [17:32] <timeless> since it's in the public
- # [17:32] <timeless> whereas corruption in Finland occurs behind closed doors
- # [17:32] <timeless> you know it happened, but not how/to whom
- # [17:33] <divya> timeless: but both sucks anyway, we all end up getting screwed
- # [17:33] <divya> not like this public display of corruption makes any difference to the lives of ordinary people
- # [17:33] <divya> also i do not think corporations have altered the culture of a nation anywhere else as much as they have in the US
- # [17:34] <timeless> that's a function of time
- # [17:34] <timeless> and the fact that most other places already have preexisting corruption fighting to retain dominance :)
- # [17:34] <timeless> (hello Italy, Greece, Spain)
- # [17:35] <divya> i dunno timeless in india at least there are so many companies vying for favors that it ends up favouring nobody.
- # [17:35] <divya> which is great. except here in the US that is not the case.
- # [17:36] <divya> anywayysss sorry for ot convo :P
- # [17:36] <tantek> TabAtkins - see log for a bunch of <time> feedback/iteration
- # [17:37] <timeless> divya: what i've seen of india is that it has dangerous corruption at local levels
- # [17:37] <timeless> (see some illegal mining or something)
- # [17:37] <timeless> in the US, typically you can't get away w/ just corrupting local officials for that purpose
- # [17:37] <divya> timeless: totally, but it does not impact the whole nation like it does here.
- # [17:38] <timeless> it's all about Checks and Balances
- # [17:38] <timeless> our system requires bigger Checks :)
- # [17:38] <divya> hahahaha
- # [17:40] * Joins: othermaciej (~mjs@65.50.217.57)
- # [17:44] * Quits: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com) (Quit: tomasf)
- # [17:44] * Joins: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com)
- # [17:45] <jgraham> (in the particular case of school food, the US is hardly the only place with significant issues. There was an expose a few years back in Britain that showed schools spending 37p per pupil on food and not including anything that could remotely be descibed as healthy. I'm not sure the situation is much better in Sweden)
- # [17:45] * Quits: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com) (Read error: Connection reset by peer)
- # [17:46] <Philip`> (Fortunately we had Jamie Oliver to solve the nation's woes)
- # [17:49] <jgraham> (unfortunately he didn't. He did raise awareness of it as a problem though)
- # [17:50] * Quits: nonge (~nonge@p5B326C36.dip.t-dialin.net) (Quit: Verlassend)
- # [17:52] <tantek> TabAtkins - also you may be interested in reviewing (and contributing to) the rationale for the data element: http://www.w3.org/wiki/User:Tantekelik/data_element
- # [17:52] * Joins: jarek (~jarek@awf43.neoplus.adsl.tpnet.pl)
- # [17:52] * Quits: jarek (~jarek@awf43.neoplus.adsl.tpnet.pl) (Changing host)
- # [17:52] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [17:52] <tantek> (per the emails you've been sending to public-html)
- # [17:53] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [17:53] * Joins: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp)
- # [17:56] * Joins: cgcardona (~cgcardona@69.38.221.130)
- # [17:56] * Quits: cgcardona (~cgcardona@69.38.221.130) (Changing host)
- # [17:56] * Joins: cgcardona (~cgcardona@unaffiliated/cgcardona)
- # [17:57] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
- # [17:58] * Quits: davidb (~davidb@66.207.208.98) (Quit: davidb)
- # [18:02] * Joins: davidb_ (~davidb@66.207.208.98)
- # [18:03] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [18:07] * Quits: Timz (~Adium@86.89.174.199) (Quit: Leaving.)
- # [18:11] * manu` is now known as manu
- # [18:11] * manu is now known as Guest7523
- # [18:13] * Quits: Phrogz (d8e47015@pdpc/supporter/professional/phrogz) (Ping timeout: 265 seconds)
- # [18:13] * Guest7523 is now known as manu1
- # [18:15] * Joins: shepazu (~shepazu@70-58-87-253.tukw.qwest.net)
- # [18:16] * Quits: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp) (Ping timeout: 244 seconds)
- # [18:16] * Joins: smaug____ (~chatzilla@193-64-22-161-nat.elisa-mobile.fi)
- # [18:20] * MrOpposite is now known as MrOpposite|LAN
- # [18:20] * MrOpposite|LAN is now known as Oppo|LAN
- # [18:32] * Quits: Neocortex (~nectop@82-170-160-25.ip.telfort.nl) (Quit: Neocortex)
- # [18:34] * Quits: othermaciej (~mjs@65.50.217.57) (Quit: othermaciej)
- # [18:34] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Computer has gone to sleep.)
- # [18:37] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [18:38] * Joins: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [18:39] * Joins: JonathanNeal (~Jonathan@cpe-72-130-7-141.socal.res.rr.com)
- # [18:39] <JonathanNeal> All right, lay it on me, if you must. Why are people hating on client-side LESS?
- # [18:42] <jarek> JonathanNeal: because it's over-complicated and there are no tools to debug it?
- # [18:42] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
- # [18:42] <JonathanNeal> well, i appreciate hearing an answer, and i can understand the absense of debugging tools for the less itself.
- # [18:49] * Joins: othermaciej (~mjs@17.245.89.94)
- # [18:49] * Joins: JonathanNeal1 (~Jonathan@cpe-72-130-7-141.socal.res.rr.com)
- # [18:52] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
- # [18:53] * Quits: JonathanNeal (~Jonathan@cpe-72-130-7-141.socal.res.rr.com) (Ping timeout: 240 seconds)
- # [18:54] * Quits: jarek (~jarek@unaffiliated/jarek) (Read error: Operation timed out)
- # [18:58] <TabAtkins_> tantek: Okay, I'll review when I get to the office and have the log to look at.
- # [19:00] <tantek> Thanks TabAtkins. Also feel free to join the data_element change proposal as a co-contributor assuming that's the approach you want to take.
- # [19:01] * Joins: ap (~ap@2620:149:4:1b01:f81e:3074:3d2a:323d)
- # [19:02] <TabAtkins_> Yeah, I'm about to edit the wiki page a bit.
- # [19:07] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [19:08] * Joins: KillerX (~anant@nat/mozilla/x-empooqlfgmokzazj)
- # [19:08] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [19:09] * Quits: JonathanNeal1 (~Jonathan@cpe-72-130-7-141.socal.res.rr.com) (Quit: Leaving.)
- # [19:12] <AryehGregor> ES5 seems to leave typeof foo undefined if foo is a host object that doesn't implement [[Call]]. Are there real-world examples of such things that don't have a typeof "object"?
- # [19:13] * Joins: jarek__ (~jarek@bdb175.neoplus.adsl.tpnet.pl)
- # [19:13] * jarek is now known as Guest12243
- # [19:13] <AryehGregor> Also: why is legacycaller legacy?
- # [19:13] <AryehGregor> Do we not want things implementing interfaces to be callable?
- # [19:15] * Quits: Guest12243 (~jarek@unaffiliated/jarek) (Ping timeout: 240 seconds)
- # [19:17] * Joins: gavinc (~gavin@50-0-76-242.dsl.dynamic.sonic.net)
- # [19:17] <annevk> AryehGregor: correct
- # [19:17] <AryehGregor> Why not, out of curiosity?
- # [19:18] <annevk> getter is sufficient
- # [19:19] <annevk> caller is a legacy document.all thing
- # [19:19] <annevk> should rename constant to legacyconstant as well imo
- # [19:20] <Hixie> really?
- # [19:21] <annevk> whenever you want to use numeric constants, you want to use string enumeration instead
- # [19:22] <AryehGregor> Yeah, that would actually be a really good change.
- # [19:22] <AryehGregor> Hopefully it will scare spec writers away from using numeric constants in new interfaces.
- # [19:23] <TabAtkins_> Oh man, one can hope.
- # [19:24] <annevk> that doesn't mean btw that I think that whereever we have constants now we should introduce the equivalent with strings
- # [19:24] <annevk> just that we shouldn't propagate it further
- # [19:24] <TabAtkins_> Yes, many existing uses aren't worth bothering over.
- # [19:29] * Joins: sicking (~chatzilla@nat/mozilla/x-owiemiienxbrmbsw)
- # [19:31] <tantek> Hixie, btw once that example fix is done, you can strike this paragraph: (The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)
- # [19:31] <tantek> since that's been fixed for a while in hCalendar :) http://microformats.org/wiki/dtend-issue
- # [19:34] * Quits: eric_carlson (~eric@17.212.152.104) (Quit: eric_carlson)
- # [19:35] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [19:35] * Joins: jer|afk (~jernoble@c-67-188-109-7.hsd1.ca.comcast.net)
- # [19:36] * Quits: jer|afk (~jernoble@c-67-188-109-7.hsd1.ca.comcast.net) (Client Quit)
- # [19:37] <AryehGregor> WebIDL does not appear to define the [[Class]] of interface prototype objects.
- # [19:37] <AryehGregor> Is there something that implies it's implicitly "Object"?
- # [19:37] * Joins: astearns (~anonymous@192.150.22.5)
- # [19:38] <AryehGregor> Oh: "If a value for the internal property [[Class]] is not given for a particular object, its value is implementation specific."
- # [19:38] <AryehGregor> Phooey.
- # [19:41] <bga_> hm
- # [19:42] * Joins: jacobolu_ (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [19:44] * Joins: jamesr (jamesr@nat/google/x-kcicrmaalfthjnwc)
- # [19:45] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Read error: Operation timed out)
- # [19:46] * Quits: Obvious_MkII (tachikoma@188.226.74.2) (Ping timeout: 276 seconds)
- # [19:48] * Quits: jarek__ (~jarek@bdb175.neoplus.adsl.tpnet.pl) (Ping timeout: 240 seconds)
- # [19:51] * Joins: ojan (ojan@nat/google/x-jpuwhceenrhozrjt)
- # [19:51] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 252 seconds)
- # [19:54] * Joins: Obvious (tachikoma@188.226.74.2)
- # [19:57] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [20:03] <Hixie> tantek: you filed a bug about that right? at tpac?
- # [20:06] <tantek> yeah - the hCalendar example is a separate issue on the wiki page
- # [20:06] <tantek> I think you filed a bug about it at TPAC :)
- # [20:08] <Hixie> ok. so long as the issue is covered by a bug, i'll deal with it in a separate patch
- # [20:09] <Hixie> this patch is long enoug as it is
- # [20:10] <Hixie> annevk: i think the algorithm is just gonna be "try each of these algorithms in turn", because the alternative is either to make a really complicated hybrid algorithm for the whole thing (what UAs that care about performance will want to do), or a bunch of heuristics that will be a maintenance nightmare and that nobody will ever actually implement as written anyway
- # [20:14] <AryehGregor> Hixie, you use numeric constants in lots of new interfaces. You should really use strings instead. They're much nicer for authors.
- # [20:14] <Hixie> all those interfaces predate the change in prevailing opinion on the matter
- # [20:14] <AryehGregor> Are all of them implemented yet?
- # [20:14] <Hixie> file bugs if there are any not
- # [20:14] <Hixie> i'm happy to change htem
- # [20:17] <AryehGregor> http://www.w3.org/Bugs/Public/show_bug.cgi?id=14879
- # [20:18] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
- # [20:21] <Hixie> commented
- # [20:23] * Quits: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
- # [20:26] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 258 seconds)
- # [20:27] <Hixie> tantek: do you have a reference for the double hyphen thing for yearless dates?
- # [20:27] <Hixie> the wikipedia page says -- is used as an interval delimiter
- # [20:29] <Hixie> vcard seems to use wacked syntax without delimiters
- # [20:29] <tantek> really? that's odd. vCard4 certainly has it as an example for it http://tools.ietf.org/html/rfc6350#section-4.3
- # [20:29] <tantek> yeah they leave out the delimiters between Y M D
- # [20:30] <tantek> (oddly)
- # [20:30] <Hixie> removing delimiters is a non-starter for <time> since it would lead to all kinds of ambiguities
- # [20:30] <tantek> well of course
- # [20:30] <tantek> it's worse than that
- # [20:30] <Hixie> so for now i'll punt on the -- thing
- # [20:30] <tantek> it hurts authorability
- # [20:30] <Hixie> for sure
- # [20:30] <tantek> hence the version I proposed with delimiters
- # [20:31] <tantek> --11-18
- # [20:31] <tantek> instead of
- # [20:31] <tantek> --1118
- # [20:31] <tantek> both are valid ISO8601
- # [20:31] <Hixie> annevk: if you're still around, take a look and let me know if the rather naiive algorithm i put in is acceptable to you
- # [20:32] <tantek> which is why included --MM-DD in particular
- # [20:32] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [20:32] <tantek> in order to provide a microsyntax for month-day that was ISO8601 compatible
- # [20:33] <Hixie> ok screw it. i'm gonna find out if google actually has a copy of this damn standard and just read it.
- # [20:34] <Hixie> tired of reading second-hand accounts of it on the web :-)
- # [20:34] <tantek> Hixie, out of curiosity, why did you include the year-week microsyntax? (not that I oppose it, I just didn't find enough use-cases to really justify it_
- # [20:34] <tantek> )
- # [20:34] <tantek> I mean if you're going to include year-week, you might as well include year-ordinaldays
- # [20:34] <tantek> e.g.
- # [20:34] <tantek> 2011-322
- # [20:34] <Hixie> you listed parity with <input type=foo> as a design policy, so i went with it
- # [20:35] * Joins: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net)
- # [20:35] <Hixie> (week dates are quite common in european business)
- # [20:35] <tantek> ah ok - wasn't sure if you considered that a strong enough reason - ok
- # [20:35] <tantek> interesting
- # [20:35] <Hixie> well i figured why not, it costs us virtually nothing at this point
- # [20:35] <Hixie> i mean, what's one more when there's half a dozen formats already
- # [20:35] <tantek> in that case, I'd say add ordinal dates also
- # [20:35] <tantek> as that would complete the wikipedia infobox examples
- # [20:36] <tantek> on the right here: http://en.wikipedia.org/wiki/ISO_8601
- # [20:36] <Hixie> ordinal dates are too close to year-month imho. also, no <input type> equivalent, and not used as much as weeks as far as i'm aware.
- # [20:36] <tantek> http://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates
- # [20:36] <tantek> and besides, everyone knows ordinal dates are the future, right TabAtkins?
- # [20:37] <tantek> there's no input type equivalent because ordinal dates are just another form of dates
- # [20:38] <Hixie> true. so there's not really a use case.
- # [20:38] <Hixie> and realistically, your bims ain't gonna take over any time soon :-P
- # [20:39] <tantek> my experience has been that bims have been useful for storage but not in publishing
- # [20:39] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: This computer has gone to sleep)
- # [20:40] <tantek> the use cases for ordinals over normal dates are mostly just date-math related - easier to add / subtract # of days
- # [20:40] <tantek> or even weeks
- # [20:40] <Hixie> http://www.exit109.com/~ghealton/y2k/yrexamples.html#_International.ISO8601 is the first page i've found that supports your --month-day theory, but according to that page, -nn-nn is confusingly a _month_, not a yearless day...
- # [20:41] <Hixie> anyway, i'll add support for --
- # [20:42] <tantek> it might make yearless dates less confusing for europeans
- # [20:42] <tantek> if a European sees 11-10 they erroneously interpret it as 11th of October
- # [20:42] <Hixie> as a european, i'd interpret it as november tenth
- # [20:43] <tantek> whereas if they saw --11-10 they may have a chance at noticing something is different than their locale-specific date-format and then see it correctly.
- # [20:43] <Hixie> yeah
- # [20:43] <Hixie> anyway, optional leading -- is now conforming and parsed
- # [20:43] <Philip`> If I saw --11-10 I wouldn't have a clue what it was and would have no idea where to look to find out
- # [20:43] <Hixie> ok unless anyone has anything else that needs changing, i'm gonna push it
- # [20:43] <tantek> again, this is about tweaking the syntax to increase data quality
- # [20:43] <tantek> Hixie - there were some complaints about using schema.org examples
- # [20:43] <Hixie> Philip`: what about if you saw "Birthday: <time>--11-10</time>" ?
- # [20:43] <tantek> I think it was on the bug on data
- # [20:44] <Hixie> tantek: if there's an open bug on something, i'll deal with that separately
- # [20:44] <tantek> Philip - as far as data quality is concerned, "wouldn't have a clue what it was" is better than silently misinterpreting it as a different value.
- # [20:44] <Hixie> none of the new examples are schema.org-related
- # [20:44] * Joins: _bga (~bga@ppp91-122-180-182.pppoe.avangarddsl.ru)
- # [20:45] <tantek> Hixie, this one: itemtype="http://schema.org/BlogPosting"
- # [20:45] <tantek> does anyone even use BlogPosting?
- # [20:45] <tantek> it's an unnecessary divergence from the Atom / hAtom vocabulary
- # [20:45] <Philip`> Hixie: I'm pretty sure I'd still have no idea
- # [20:45] <tantek> which btw, is in every copy of wordpress now
- # [20:45] <tantek> (hAtom that is)
- # [20:46] <Philip`> (I'd expect everyone to write birthdays as "10 Nov" or "10 November" anyway, not "11-10")
- # [20:47] * Quits: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru) (Ping timeout: 260 seconds)
- # [20:47] <tantek> let me see if I get this right in microdata:
- # [20:47] <tantek> <article itemscope itemtype="http://microformats.org/profile/hatom">
- # [20:47] <tantek> <h1 itemprop="entry-title">Small tasks</h1>
- # [20:47] <tantek> <footer>Published <time itemprop="published" datetime="2009-08-30">yesterday</time>.</footer>
- # [20:47] <tantek> <p itemprop="entry-content">I put a bike bell on his bike.</p>
- # [20:47] <tantek> </article>
- # [20:48] <Hixie> tantek: happy to add hAtom examples too, spec is trying to remain neutral on the question of vocabs. file bugs or send mails with suggested examples.
- # [20:48] <tantek> ah ok
- # [20:48] <Hixie> tantek: assuming there's a spec somewhere that defines the microdata vocabulary "http://microformats.org/profile/hatom" and all its conformance rules, that looks right
- # [20:49] <Hixie> ok. i'm pushing the first draft of this new <time> element.
- # [20:49] <tantek> Hixie - the goal is to have the URL *be* the definition (or summary reference for) the spec
- # [20:50] <tantek> is there a distinction between name of vocabulary and root object in microdata?
- # [20:50] <tantek> or are they presume to be the same?
- # [20:50] <Hixie> tantek: that seems like a fine goal, though currently not an achieved one.
- # [20:50] <Hixie> "root object"?
- # [20:50] <Hixie> (not achieved for that to be a microdata vocabulary, i mean. looks like it defines a microformats one.)
- # [20:51] <tantek> right, the profiles need to be updated to be syntax independent
- # [20:51] * Joins: dave_levin (dave_levin@nat/google/x-kpmgwjyyzfwervek)
- # [20:51] <tantek> part of the goal of microformats-2, to separate vocabulary development so that they can be used independently of the microformats-2 syntax (and vice versa)
- # [20:52] <tantek> e.g. in microformats-2 it would look like this (URL not exist yet)
- # [20:52] <tantek> <article itemscope itemtype="http://microformats.org/profile/h-entry">
- # [20:52] <tantek> <h1 itemprop="entry-title">Small tasks</h1>
- # [20:52] <tantek> <footer>Published <time itemprop="published" datetime="2009-08-30">yesterday</time>.</footer>
- # [20:52] <tantek> <p itemprop="entry-content">I put a bike bell on his bike.</p>
- # [20:52] <tantek> </article>
- # [20:53] <Hixie> tantek: for a vocabulary to be used for microdata, it needs to define conformance to the same level of detail as the vcard microdata vocabulary in the html spec
- # [20:53] <Hixie> tantek: which includes some microdata-specific concepts
- # [20:53] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/#vcard
- # [20:54] * Quits: drublic (~drublic@frbg-4d029aee.pool.mediaWays.net) (Remote host closed the connection)
- # [20:54] <tantek> like "This vocabulary does not support global identifiers for items." ?
- # [20:55] <Hixie> pretty much every sentence in that section uses microdata-specific terminology
- # [20:55] <Hixie> ("item" is a special concept in microdata)
- # [20:55] <tantek> item/object same difference
- # [20:55] <Hixie> so long as somewhere you say that
- # [20:56] <Hixie> e.g. "when this vocabulary is used with microdata, conformance requirements corresponding to objects apply to items" or something
- # [20:56] <tantek> that's reasonable
- # [20:56] <tantek> btw if you're flattening vcard microdata in general (as you did with sex / gender-identity), you can drop all the "(inside n)"
- # [20:56] <tantek> ok
- # [20:57] <tantek> "n" is dropped in microformats-2 version of h-card and all its subproperties are flattened to just be properties of the "item" as you would say in microdata
- # [20:58] <Hixie> yeah
- # [20:58] <Hixie> i thought about changing that
- # [20:58] <Hixie> but i figured it'd be better to leave it so people could see how to spec that kind of structure
- # [20:58] <Hixie> since nobody uses this vocabulary anyway... :-)
- # [20:59] <Hixie> (if you want to define the "http://microformats.org/profile/hcard" vocabulary such that people use it, i don't mind changing the URL in the HTML spec and adding a note saying that it's just an example vocab)
- # [20:59] <tantek> you could leave "org" as is if you want to leave the documentation of how to do that
- # [20:59] <Hixie> org has a different structure
- # [20:59] <Hixie> so they're both useful in their own way
- # [21:00] * Quits: shepazu (~shepazu@70-58-87-253.tukw.qwest.net) (Quit: shepazu)
- # [21:00] <tantek> aren't they just both list of subproperties?
- # [21:00] * Joins: mkanat (mkanat@nat/google/x-qnqgzmxhcqmbgzsk)
- # [21:00] <Hixie> one is a fixed set, the other is more open-ended, iirc
- # [21:00] <tantek> they should both just be fixed sets
- # [21:01] <Hixie> org takes zero-or-more organization-unit properties
- # [21:01] <Hixie> ORG:name;unit;unit;unit
- # [21:01] <Hixie> or something
- # [21:01] <tantek> hmm, I thought commas delimited multivalues and ; delimited the subproperties
- # [21:02] <tantek> but I'd have to double-check vcard
- # [21:02] <Hixie> i dunno
- # [21:02] <Hixie> i'm just doing it from memory
- # [21:02] <tantek> would it be helpful for http://microformats.org/profile/hcard to provide the microdata-specific concepts you mention?
- # [21:03] <Hixie> hcard or hatom?
- # [21:03] <tantek> potentially both/all
- # [21:03] * Quits: KillerX (~anant@nat/mozilla/x-empooqlfgmokzazj) (Read error: Connection reset by peer)
- # [21:03] <Hixie> for hatom, sure, if it's to be used with microdata
- # [21:03] <Hixie> for hcard, also sure, if you want to take over speccing that vocab
- # [21:04] <Hixie> then i can change the html spec's vcard vocab to more obviously an example
- # [21:04] * Joins: KillerX (~anant@nat/mozilla/x-ctaoxkijfbiadiqk)
- # [21:04] <Hixie> if you want to do that, send mail
- # [21:04] <tantek> why would you need to change the html spec's vocab?
- # [21:04] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 245 seconds)
- # [21:04] <Hixie> well we don't want two specs defining the same thing, especially if differently from each other :-)
- # [21:04] <Hixie> the vocabs in html are really only there to show how to define a vocab
- # [21:04] <tantek> I guess I'm not understanding - I was wondering if updating http://microformats.org/profile/hcard would help the example provided in the HTML spec.
- # [21:04] * Joins: rillian_ (~rillian@184.71.166.126)
- # [21:05] <Hixie> the urls are opaque per the spec
- # [21:05] <Hixie> you're not supposed to resolve them or anything
- # [21:06] <tantek> ah ok, so the example in the spec shows how to re-use a microformats profile/definition vocabulary to define a microdata vocabulary
- # [21:06] <Hixie> the url is the microformats url only because you asked it to be
- # [21:06] <Hixie> originally it was http://n.whatwg.org/something iirc
- # [21:07] <tantek> made sense to show basing on existing work
- # [21:07] * Joins: kennyluck_ (~kennyluck@114-43-114-197.dynamic.hinet.net)
- # [21:07] <Hixie> yup
- # [21:07] <tantek> ok, I'll leave the current microformats profiles as-is then
- # [21:07] <tantek> because that better illustrates that process (of defining a new vocabulary based on an existing one)
- # [21:08] <tantek> the microformats-2 profile URLs will be different and contain microdata-specific language as needed
- # [21:08] * Quits: mkanat (mkanat@nat/google/x-qnqgzmxhcqmbgzsk) (Quit: Ex-Chat)
- # [21:08] <tantek> likely something like this (directly using their root class name / item)
- # [21:08] * Quits: kennyluck (~kennyluck@114-43-116-150.dynamic.hinet.net) (Ping timeout: 260 seconds)
- # [21:08] * kennyluck_ is now known as kennyluck
- # [21:08] <tantek> http://microformats.org/profile/h-card
- # [21:08] * Quits: jennb (~jennb@74.125.59.65) (Quit: jennb)
- # [21:08] <Hixie> 404
- # [21:09] <Hixie> oh, you mean in the future
- # [21:09] <Hixie> got it
- # [21:09] <Hixie> sounds good
- # [21:11] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [21:13] * Quits: jonatasnona (~jonatas@lba.inpa.gov.br) (Ping timeout: 260 seconds)
- # [21:13] * Joins: margle (~Margle@41-133-196-64.dsl.mweb.co.za)
- # [21:20] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.87 [Firefox 8.0/20111104165243])
- # [21:20] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
- # [21:20] * nimbupani is now known as divya
- # [21:23] <annevk> Hixie: you now have
- # [21:23] <annevk> + <li><p>If <span title="parse a month string">parsing a month
- # [21:23] <annevk> + string</span> from the element's <span>datetime value</span>, if
- # [21:23] <annevk> + The machine-readable equivalent is the <span
- # [21:24] <annevk> which seems wrong
- # [21:25] <annevk> otherwise it seems fine to me
- # [21:26] <Hixie> oops
- # [21:27] * Joins: jernoble (~jernoble@17.212.152.13)
- # [21:28] <Hixie> (i generated that section with some dubious regexps)
- # [21:28] <Hixie> (apparently got one wrong!)
- # [21:34] <Hixie> tantek: ok, i posted on the public-html thread proposing the <time> diff as the patch for your CP
- # [21:34] <tantek> Hixie, sounds good, I'll rereview.
- # [21:34] <tantek> so we're punting on a separate duration attribute then?
- # [21:35] <Hixie> *shrug*. imdb is already using datetime= for it.
- # [21:35] <Hixie> i don't have a strong view on the matter
- # [21:36] * Quits: smaug____ (~chatzilla@193-64-22-161-nat.elisa-mobile.fi) (Ping timeout: 260 seconds)
- # [21:36] <Hixie> having mutually exclusive attributes has been kind of a pain in other contexts, fwiw (e.g. <meta)
- # [21:36] <Hixie> gotta go, lunch
- # [21:37] <annevk> hopefully the schema.org guys let not leak more ISO badness in there
- # [21:37] <Hixie> we can but hope
- # [21:37] * Joins: smaug____ (~chatzilla@193-64-22-163-nat.elisa-mobile.fi)
- # [21:41] * Joins: gwicke (~gabriel@212.255.44.58)
- # [21:42] <tantek> shall we pretend the "opening hours" problem isn't there?
- # [21:43] <Hixie> are they using <time> for that too?
- # [21:43] <tantek> yeah :(
- # [21:43] <Hixie> -_-
- # [21:43] <tantek> with a completely made-up syntax
- # [21:43] * Hixie looks
- # [21:43] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 260 seconds)
- # [21:43] <tantek> basically, it looks like approach was, is it related to time? great, make something up and use the time element.
- # [21:44] <Hixie> well on the plus side it's distinguishable
- # [21:44] <Hixie> i say we ignore it for now, see how much uptake it gets
- # [21:44] <Hixie> and if it gets some, why not!
- # [21:44] <tantek> that's my preference for now too
- # [21:44] <tantek> and at least document alternatives to it
- # [21:44] <tantek> seems like opening hours should use multiple time elements
- # [21:45] <tantek> just as events do
- # [21:45] <tantek> etc.
- # [21:45] <Hixie> well we don't have any weekday things, and many elements is pretty verbose
- # [21:45] <Hixie> i don't see anything wrong with <data itemprop="openingHours" value="Tu,Th 16:00-20:00">...</data> though
- # [21:45] <Hixie> maybe i should add that example to the spec
- # [21:45] <tantek> lol - yeah
- # [21:46] <tantek> data is a good place to experiment with machine data extensions
- # [21:46] <Hixie> indeed
- # [21:46] <tantek> and then as you say we can better see if anything gets any uptake
- # [21:46] <tantek> without polluting existing elements
- # [21:47] <TabAtkins> tantek: Can you go respond to Sam that the current patch is fine?
- # [21:47] * tantek will handle emails as they are queued.
- # [21:47] <TabAtkins> d'oh
- # [21:47] <tantek> I'll skip breakfast for IRC but not email :P
- # [21:48] <TabAtkins> What timezone are you in now?
- # [21:48] <tantek> -0800 ;)
- # [21:48] <Hixie> speaking of skipping breakfast, i need to go in to get mine.
- # [21:48] <Hixie> bbiab.
- # [21:48] <TabAtkins> tantek: Then it's not breakfast time, weirdo.
- # [21:48] <TabAtkins> You have already skipped it.
- # [21:48] <tantek> what Hixie said. bbiab.
- # [21:49] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [21:49] * Quits: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Quit: Leaving...)
- # [21:51] * Joins: Areks (~Areks@95-27-83-235.broadband.corbina.ru)
- # [21:51] * Joins: Areks|2 (~Areks@95-27-83-235.broadband.corbina.ru)
- # [21:51] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [21:51] * Joins: Areks|3 (~Areks@95-27-83-235.broadband.corbina.ru)
- # [21:55] * Quits: Areks|3 (~Areks@95-27-83-235.broadband.corbina.ru) (Client Quit)
- # [21:55] * Quits: Areks|2 (~Areks@95-27-83-235.broadband.corbina.ru) (Client Quit)
- # [22:02] <tantek> Hixie, when you get back, finally reloaded the time element definition, just noticed the timezone examples still use the ':' syntax
- # [22:02] <tantek> <time>+00:00</time>
- # [22:02] <tantek> <time>-08:00</time>
- # [22:02] <tantek> without : is preferabl
- # [22:02] <tantek> <time>+0000</time>
- # [22:02] <tantek> <time>-0800</time>
- # [22:02] <Hixie> i'm running out the door as we speak but will look when i got back on
- # [22:02] <Hixie> afk
- # [22:03] <tantek> requires updating http://www.whatwg.org/specs/web-apps/current-work/#parse-a-time-zone-offset-component obv to allow 4 digits without the colon after the +/- is seen.
- # [22:03] <tantek> ok
- # [22:10] * Quits: KillerX (~anant@nat/mozilla/x-ctaoxkijfbiadiqk) (Ping timeout: 245 seconds)
- # [22:11] * Quits: tantek (~tantek@70-36-139-219.dsl.dynamic.sonic.net) (Quit: tantek)
- # [22:20] * Joins: mkanat (mkanat@nat/google/x-ybmbfzuyiuzfulnw)
- # [22:20] <jgraham> AryehGregor: +1 of FooPrototype if it is web compatible (which I assumed it was not but if IE and Opera both do it...)
- # [22:22] * Joins: rniwa (rniwa@nat/google/x-lzosakqjepqzcdxf)
- # [22:24] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 252 seconds)
- # [22:30] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [22:30] * Quits: ap (~ap@2620:149:4:1b01:f81e:3074:3d2a:323d) (Quit: ap)
- # [22:34] * Quits: davidb_ (~davidb@66.207.208.98) (Quit: davidb_)
- # [22:40] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 245 seconds)
- # [22:42] <smaug____> annevk: FYI, I'm adding telemetry probes to Gecko to check how often sync XHR is used.
- # [22:46] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [22:50] * Joins: ap (~ap@2620:149:4:1b01:b891:6ff5:1e87:b27)
- # [22:51] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
- # [22:51] * Quits: othermaciej (~mjs@17.245.89.94) (Quit: othermaciej)
- # [22:54] * Joins: MikeSmith_ (~MikeSmith@EM111-191-234-9.pool.e-mobile.ne.jp)
- # [22:56] * heycam|away is now known as heycam
- # [22:57] <smaug____> ojan: I was wondering about you performance concerns about DOM improvements since they don't apply to Gecko, but good that you corrected yourself :)
- # [22:57] <ojan> smaug____: yeah...it had been a while since i had last looked at the relevant webkit code
- # [22:57] <smaug____> the possible performance problem comes from Node vs DOMString as a parameter
- # [22:57] <ojan> smaug____: yea, but that's worth it IMO :)
- # [22:57] * Quits: MikeSmith (~MikeSmith@EM114-48-71-19.pool.e-mobile.ne.jp) (Ping timeout: 244 seconds)
- # [22:57] * MikeSmith_ is now known as MikeSmith
- # [22:58] <ojan> smaug____: out of curiosity...what does gecko do to avoid appending a parent to it's child? do you walk up the ancestor chain?
- # [22:58] <smaug____> yeah, in general, I like the API
- # [22:59] <ojan> smaug____: webkit does...but having O(n) operations in append/etc sucks
- # [22:59] <smaug____> gecko does the same
- # [22:59] <ojan> smaug____: i'm wondering if there are clever ways we can optimize it out
- # [22:59] <smaug____> and yes, it suck
- # [22:59] <ojan> smaug____: rniwa had an idea that we could check if the new child had any children as a fast way out of a common case
- # [23:00] <ojan> i'm on the fence as to whether that's a good optimization or not though
- # [23:00] <smaug____> well, if one has extra memory to consume, you could store the "level" of DOM node in the nodes
- # [23:00] <ojan> smaug____: yeah...thought of that...memory aside, it means that when you move nodes you have to update the whole subtree
- # [23:00] <smaug____> but in gecko we don't want to increase the size of nodes
- # [23:01] <smaug____> though, I would need to check (or ask bz) how close we're size of cache lines
- # [23:01] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
- # [23:01] <TabAtkins> Bloom filters solve everything.
- # [23:01] <ojan> i doubt we'd want to add to the size of node either
- # [23:01] <smaug____> ojan: well, for certain things you do need to update the whole subtree
- # [23:01] <ojan> TabAtkins: how would you use bloom filters here?
- # [23:01] <smaug____> like, whether the subtree is "in-document"
- # [23:02] <ojan> smaug____: that's true
- # [23:03] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
- # [23:03] <rniwa> smaug____, ojan: we can "color" each tree with a unique value
- # [23:03] <TabAtkins> ojan: Fast-path for if the parent is in the subtree of its child.
- # [23:03] <rniwa> it won't solve the case where you're moving the node within the tree though...
- # [23:03] <TabAtkins> Or, rather, if the parent is in the ancestor chain of its child.
- # [23:04] <rniwa> smaug____, ojan: you could imagine that we can omit those O(n) checks if two nodes belong to a different fragment or document
- # [23:04] <TabAtkins> Or, arg, when doing B.appendChild(A), telling quickly if A is in the ancestor chain of B.
- # [23:04] * Quits: gwicke (~gabriel@212.255.44.58) (Quit: Bye!)
- # [23:04] <TabAtkins> And following up with an ancestor walk on positives.
- # [23:04] <smaug____> rniwa: well, you need to add some flags for colors, and that uses memory
- # [23:05] <rniwa> smaug____: I suppose.
- # [23:05] <rniwa> smaug____: but we already have a pointer for document fragment / document, right?
- # [23:05] <TabAtkins> Adding the filter would be additional memory, though.
- # [23:05] <rniwa> TabAtkins: how would you efficiently implement that filter?
- # [23:06] <smaug____> there is a pointer to parent, and to ownerdocument (not directly)
- # [23:06] <TabAtkins> rniwa: it's essentially identical to the descendant-combinator fast path we use now.
- # [23:06] <TabAtkins> And, hm, if we already have that, perhaps we can reuse it.
- # [23:06] <rniwa> TabAtkins: what's "descendant-combinator fast path"?
- # [23:07] <TabAtkins> rniwa: It's what I just described. ^_^ Every element has a bloom filter of its ancestors, so you can more quickly tell if a given element is in the ancestor chain.
- # [23:07] <rniwa> TabAtkins: WebKit implements this?
- # [23:08] <TabAtkins> rniwa: Yeah.
- # [23:08] <rniwa> TabAtkins: that's a big news to me
- # [23:08] <rniwa> TabAtkins: where is this implemented?
- # [23:08] <Philip`> TabAtkins: Doesn't that mean you still have an O(n) cost to update all the filters when reparenting a subtree?
- # [23:09] * Quits: MacTed (~Thud@63.119.36.36)
- # [23:09] * Joins: jennb (jennb@nat/google/x-temfestkqalbrwny)
- # [23:09] <TabAtkins> rniwa: http://peter.sh/2011/02/unspoofable-infobars-fast-descendant-selectors-and-the-web-inspector-api/
- # [23:09] <ojan> TabAtkins: that fast path only applies during parsing i believe
- # [23:09] <TabAtkins> Philip`: Probably, yeah.
- # [23:09] <ojan> TabAtkins: we don't keep it around
- # [23:10] <TabAtkins> ojan: Ah, kk.
- # [23:10] * Joins: othermaciej (~mjs@2620:149:f01:202:699e:a64c:e03f:5f4b)
- # [23:10] <ojan> TabAtkins: we have a single bloom filter that we update as we add/remove elements during parsing, afaik
- # [23:10] <ojan> TabAtkins: ignoring memory, having a bloom filter per node has the problem of needing to update the entire subtree when you move nodes around
- # [23:11] <rniwa> TabAtkins: I don't think this is applicable for DOM operations
- # [23:11] <ojan> rniwa: yeah...we could check that the documents are the same...but i'm not sure how much that buys us for the common cases...
- # [23:11] <rniwa> TabAtkins: it's about selectors
- # [23:11] <TabAtkins> True that.
- # [23:12] <rniwa> ojan: right, for that reason (slow update), I don't think we can bloom filter for each node
- # [23:12] <ojan> rniwa: welll, it could serve the same purpose for DOM operations i think
- # [23:12] <smaug____> ah, antti implemented boom filters
- # [23:12] <rniwa> also, it'll consume SO MUCH memory
- # [23:12] <jgraham> I would have thought that the memory cost of storing the filters was reason enough not to use them
- # [23:12] <ojan> it is
- # [23:12] <ojan> bloom filters are not happening
- # [23:12] <rniwa> jgraham: yes
- # [23:13] <ojan> webkit's use of them is very limited
- # [23:13] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [23:13] * TabAtkins wants to use bloom filters for everything.
- # [23:13] <rniwa> we're already getting complaints about how big Node object is
- # [23:13] <rniwa> so there's no way we can store bloom filter for each node
- # [23:13] <rniwa> on the other hand, in common case
- # [23:13] <rniwa> you end up adding a bunch of nodes to the same parent
- # [23:13] <smaug____> yeah, same with Gecko. It is hard to add new stuff to Node
- # [23:14] <rniwa> so maybe we can optimize that case
- # [23:14] <jgraham> Same hre, I think
- # [23:14] <jgraham> *here
- # [23:14] <ojan> rniwa: that's *a* common case
- # [23:14] <smaug____> although, traditionally Gecko's Node has been more light weight than webkit's
- # [23:14] <ojan> rniwa: i'm not sure it's the only one though
- # [23:14] <smaug____> but we've been adding new stuff to Node
- # [23:14] <rniwa> ojan: yeah, I think we need to cherry-pick those common cases and optimize for them
- # [23:14] <rniwa> ojan: I don't think we can solve this problem in general
- # [23:15] <ojan> rniwa: yeah...but if you get your common cases wrong, then you end up making things slower :)
- # [23:16] <ojan> rniwa: the hard part there if finding a representative subset of what real world dom usage is like == very hard
- # [23:16] <rniwa> ojan: don't think so. adding 4-5, or even 10, constant checks is much better than running O(n) algorithm
- # [23:17] <ojan> rniwa: not if you have to do the O(n) algorithm as well
- # [23:17] <rniwa> ojan: right, so we should add checks to determine cases where O(n) algorithm is not nded
- # [23:17] <rniwa> needed*
- # [23:17] <rniwa> of course, it'll be pointless if the algorithm to determine that itself is O(n)
- # [23:18] <rniwa> but I'm all for adding constant checks to avoid running O(n) algorithm
- # [23:19] <jgraham> The point is that unless the cases are common enough you have to do the checks and run the algorithm anyway. But it seems like there should be some common cases here
- # [23:19] <rniwa> jgraham: right.
- # [23:19] <rniwa> jgraham: I think in practice, we can measure the performance on gmail, facebook, etc...
- # [23:19] <rniwa> because they tend to do a lot of DOM operations
- # [23:19] * heycam is now known as heycam|away
- # [23:20] * Quits: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de) (Quit: Bye, bye!)
- # [23:20] <ojan> don't get me wrong...i support doing this...it will just need to be backed up buy good data on the effects on a number of top sites
- # [23:20] <jgraham> Right, one can certianly imagine seeing how often some easy cases are hit
- # [23:20] <rniwa> jgraham: yeah
- # [23:20] <rniwa> jgraham: we could add some logging mechanism and run it for one week while using gmail, facebook, etc...
- # [23:21] <rniwa> and see how common each case is
- # [23:21] <Philip`> Won't the common cases be that the DOM trees are very shallow, so the O(n) cost is negligible?
- # [23:21] * Quits: Areks (~Areks@95-27-83-235.broadband.corbina.ru) (Read error: Connection reset by peer)
- # [23:21] <rniwa> Philip`: the problem is that we normally go up
- # [23:21] * twisted is now known as twisted`
- # [23:21] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
- # [23:21] <rniwa> Philip`: i.e. parent -> parent's document
- # [23:21] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
- # [23:22] <rniwa> Philip`: as supposed to looking through the inserted subtree
- # [23:22] <Philip`> Usually the documents would be very shallow too, I'd guess
- # [23:22] <rniwa> Philip`: and in practice, the inserted subtree tends to be shallow
- # [23:22] <rniwa> Philip`: don't think so
- # [23:22] <jgraham> Well it depends what you mean
- # [23:22] <rniwa> Philip`: I think we allow it to be at most 512 nodes deep
- # [23:23] <jgraham> Right, hundreds of nodes is atypical
- # [23:23] <rniwa> that's A LOT of nodes to check
- # [23:23] <jgraham> But a few tens of nodes might be common
- # [23:23] <Philip`> "at most" doesn't sound like the common case
- # [23:23] <rniwa> also the problem is cache locallity
- # [23:23] <rniwa> if we go up in the tree, then we'll be pulling those objects into registry in order to walk through the tree
- # [23:24] <rniwa> and that might reduce the cache locality
- # [23:24] <smaug____> TabAtkins: just curious, how does the webkit patch handle the false positive cases?
- # [23:24] <smaug____> or does it not need to
- # [23:24] <rniwa> in modern processors, this has a significant performance impact
- # [23:24] <smaug____> or does it just not care
- # [23:24] <rniwa> in fact... if one of elements up in the hierarchy, e.g. document ends up having a really big vtable
- # [23:24] <rniwa> you may end up invalidating a lot of cache
- # [23:25] <rniwa> though don't think webkit currently calls any virtual functions in appendChild, insertBefore, etc...
- # [23:25] <rniwa> virtual functions are evil LOL
- # [23:25] <WeirdAl> not as evil as eval
- # [23:26] <rniwa> WeirdAl: yeah, they're only 1 edit-distance away from each other
- # [23:26] <smaug____> virtual methods are indeed bad, really bad
- # [23:26] * Philip` wonders if the parent/child pointers could be stored separately from the actual node data, so you can fit more of them into a cache line
- # [23:26] <Philip`> (if that's the problem)
- # [23:26] <rniwa> Philip`: I had that idea as well
- # [23:26] <rniwa> Philip`: but then looking through this table will be an issue
- # [23:26] <ojan> smaug____: the bloom filter is just used as a fast rejection
- # [23:26] <smaug____> ah
- # [23:26] <rniwa> Philip`: and in practice, you tend to access lots of data in one node object
- # [23:27] <rniwa> so not sure if that really improves the performance much
- # [23:27] <rniwa> it'll be really good to collect stats as ojan suggested
- # [23:28] <rniwa> some time in near future
- # [23:28] * smaug____ is about to collect data about innerHTML usage
- # [23:28] <ojan> rniwa: you could just create a locally intrumented webkit and load a few top sites
- # [23:28] <rniwa> I might just do that myself :P
- # [23:28] <rniwa> ojan: yeah
- # [23:28] <ojan> smaug____: to what end?
- # [23:28] <rniwa> ojan: that's what I'm thinking
- # [23:28] * Quits: jennb (jennb@nat/google/x-temfestkqalbrwny) (Quit: jennb)
- # [23:28] <smaug____> ojan: basically to check what kind of data is set to innerHTML
- # [23:28] <rniwa> smaug____: yeah, that's also good thing to gather stats for
- # [23:29] <smaug____> whether it is short strings or markup or what
- # [23:29] <rniwa> smaug____: I think developers know that innerHTML is faster than inserting indivisual node
- # [23:29] <smaug____> (using telemetry)
- # [23:29] <rniwa> smaug____: so a lot of them use innerHTML instead of DOM methods
- # [23:29] <rniwa> smaug____: length?
- # [23:29] <rniwa> smaug____: or actual markup?
- # [23:29] <smaug____> well, in the old days DOM used to be a lot slower in all the browsers
- # [23:30] <rniwa> I'd be interested in knowing how many nodes are added per innerHTML
- # [23:30] <rniwa> and if people are calling innerHTML in consecutive manner without triggering layout
- # [23:30] <rniwa> e.g.
- # [23:30] <rniwa> for (...) innerHTML += ...
- # [23:30] <smaug____> rniwa: probably length, and whether short strings contain markup
- # [23:30] <rniwa> if consecutive concat to innerHTML is common
- # [23:30] <rniwa> we can probably lazily evaluate innerHTML
- # [23:31] <rniwa> though authors may cache things themselves if they are using innerHTML for speed
- # [23:31] <smaug____> that is quite hard
- # [23:31] <rniwa> may already*
- # [23:31] <smaug____> especially if you have mutation event listeners
- # [23:31] <rniwa> smaug____: yeah, on my second thought, lazily evaluating them might be tricky
- # [23:31] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [23:31] <rniwa> yeah :(
- # [23:31] * rniwa hates mutation events
- # [23:32] * smaug____ is still on progress to get MutationObserver done for Gecko
- # [23:32] <rniwa> smaug____: or if the inserted node pulled resources
- # [23:32] <rniwa> smaug____: or worse yet, script elements...
- # [23:32] <smaug____> (if I could focus only doing that...)
- # [23:32] * Joins: KillerX (~anant@nat/mozilla/x-gjltsepveyytzqfs)
- # [23:33] <annevk> ojan: btw, you can implement it as a different method on Document and Element/DocumentFragment
- # [23:33] <rniwa> anyways, I'm planning to spend my Q1 improving webkit's dom code
- # [23:33] <annevk> ojan: we could even define some methods specially as such
- # [23:33] * rniwa wants fast/slim DOM
- # [23:34] <rniwa> not slow/fat DOM
- # [23:34] * smaug____ wants DOM implemented in JS :)
- # [23:35] <rniwa> smaug____: doesn't IE do that?
- # [23:35] <Philip`> Implementing DOM in JS and worrying about cache locality seem kind of completely opposing viewpoints :-)
- # [23:35] <ojan> annevk: yup
- # [23:36] <ojan> annevk: interestingly...webkit doesn't let you append a DocumentType if it's already in the DOM
- # [23:36] <smaug____> rniwa: really? I thought you need Proxies et al to implement DOM in JS, and IE doesn't, IIRC, have Proxy objects
- # [23:36] <annevk> ojan: oh, just saw your other email
- # [23:36] <ojan> annevk: i don't think the spec requires that though
- # [23:36] <ojan> annevk: so, i'm gonna see if i can remove that check
- # [23:36] <annevk> ojan: I think it does
- # [23:36] <smaug____> Philip`: JS JITs could optimize many things
- # [23:36] <ojan> annevk: oh...maybe i misread
- # [23:36] <smaug____> Philip`: also, JS is a lot safer language than C++
- # [23:36] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
- # [23:37] <annevk> ojan: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-pre-insert see 4.4
- # [23:37] <ojan> anoh isee...it's actually step 5, no?
- # [23:37] <smaug____> writing security bugs in C++ is way too easy
- # [23:38] <ojan> annevk: i see...it's actually step 5, no?
- # [23:38] <annevk> ojan: step 5 is for when you append to non-Document nodes
- # [23:38] <ojan> annevk: right...that's the case i'm talking about
- # [23:38] <rniwa> smaug____: yeah, dynamic optimization can do a whole lot
- # [23:39] <annevk> oh yeah that should fail in general
- # [23:39] <annevk> because you put in the wrong place
- # [23:39] <ojan> annevk: i believe webkit will let you append a DocumentType to an Element if it's not already in the DOM
- # [23:39] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 244 seconds)
- # [23:39] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
- # [23:39] <annevk> ooh
- # [23:39] * ojan goes to test
- # [23:39] <rniwa> smaug____: but we can't write layout code in javascript
- # [23:39] <ojan> sigh...now i have to remember how to make documenttype nodes
- # [23:40] <annevk> document.createDocumentType
- # [23:40] <rniwa> !
- # [23:40] <annevk> euh sorry
- # [23:40] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Read error: Connection reset by peer)
- # [23:40] <rniwa> we have a method on document just to create doctype?
- # [23:40] <annevk> document.implementation.createDocumentType()
- # [23:40] <annevk> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domimplementation-createdocumenttype
- # [23:40] <annevk> rniwa: worse
- # [23:40] <rniwa> :(
- # [23:40] <annevk> rniwa: it's on document.implementation
- # [23:41] <ojan> annevk: nm...webkit seems to throw an error
- # [23:41] <rniwa> wtf
- # [23:41] <ojan> annevk: that was the check i was hoping we could get rid of
- # [23:41] <ojan> annevk: i don't really care if developers put/move documenttype nodes in their DOM
- # [23:41] <ojan> annevk: as long as we spec it that only the top-level node affects the actual compatMode
- # [23:42] <annevk> you could get rid of that check at that level, but you'd still need the check somewhere
- # [23:42] <ojan> annevk: it's something developers will basically never do...so it's worth getting rid of the check
- # [23:42] <ojan> annevk: why do you need the check at all?
- # [23:42] * Joins: ap_ (~ap@17.245.90.47)
- # [23:42] <annevk> oh
- # [23:43] * Quits: ap_ (~ap@17.245.90.47) (Remote host closed the connection)
- # [23:43] <annevk> but you also need to check for Document and
- # [23:43] * Joins: ap_ (~ap@17.212.155.203)
- # [23:43] <ojan> annevk: in teh case of appending to a Document, there's a whole different set of rules and complications
- # [23:43] * Quits: ap_ (~ap@17.212.155.203) (Client Quit)
- # [23:43] <ojan> annevk: but for the case of appending to an Element
- # [23:43] <ojan> annevk: i don't see why we don't just allow it
- # [23:43] <annevk> element.append(document) is what I meant
- # [23:43] <annevk> DocumentType is not the only node not allowed there
- # [23:44] <ojan> annevk: interesting...i forget how webkit handles that...
- # [23:44] <annevk> and there's Attr too
- # [23:44] <annevk> in your current impl
- # [23:44] * Quits: ap (~ap@2620:149:4:1b01:b891:6ff5:1e87:b27) (Ping timeout: 244 seconds)
- # [23:45] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [23:45] <annevk> and prolly ShadowRoot?
- # [23:45] <ojan> annevk: interesting...i think this webkit code is just dumb actually
- # [23:46] <rniwa> ojan: I don't think those constant-time checks is a big of a deal
- # [23:46] <ojan> the "isChildTypeAllowed" call is what should deal with documenttype nodes...so we should be able to kill that if-check
- # [23:46] * Joins: ap (~ap@17.212.155.203)
- # [23:46] <rniwa> ojan: in fact, we could add a special node-flag to do this in constant time
- # [23:47] <ojan> rniwa: they're not as big a deal as the O(n) checks, but every branch we can get rid of adds up for such a performance-sensitive codepath
- # [23:47] <rniwa> ojan: but we can combine all those checks into one check
- # [23:47] <rniwa> ojan: because we can just do bitwise and
- # [23:47] <rniwa> ojan: in practice, function calls would cost us much more than those node-type checks
- # [23:48] <rniwa> ojan: checking a node-type is extremely efficient in webkit
- # [23:48] <rniwa> ojan: checking tagname is slower but none of the checks we're talking here involves checking a particular tag name
- # [23:48] <rniwa> so I don't think this would be an issue for us
- # [23:48] <ojan> rniwa: as i read the code right now...that if-check is actually completely rendudant with the existing isChildTypeAllowed call
- # [23:49] <rniwa> I see
- # [23:49] <ojan> i might be reading the code wrong though
- # [23:49] <rniwa> I actually bet that calling that function itself is much more expensive than any of the checks we do
- # [23:49] <rniwa> if it's not inlined
- # [23:50] <rniwa> I think any gains we get from optimizing those constant checks will be completely dwarfed by all function calls involved in binding code
- # [23:51] <rniwa> not that I'm opposed to make them faster
- # [23:51] <rniwa> but I don't think we should make the spec more permissive just to get rid of content-time node-type checks
- # [23:53] <ojan> i've given up on the spec changes...
- # [23:53] <ojan> which is to say, i don't think we'd gain much by changing the spec
- # [23:53] <ojan> if anything
- # [23:53] <ojan> but...there might be room for optimizing the webkit code
- # [23:54] <rniwa> ok. I guess I misunderstood you then
- # [23:54] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 248 seconds)
- # [23:54] <rniwa> ojan: definitely!
- # [23:54] <ojan> rniwa: no...you understood me right...i just changed my thinking on it :)
- # [23:54] <rniwa> k
- # [23:54] <annevk> the only potential room for improvement to the spec is that ele.append(DocumentType) would throw at the same point ele.append(Range) would throw
- # [23:55] <annevk> but at some point you got to check that the right object is actually passed
- # [23:55] * Parts: nlogax (~nlogax@unaffiliated/nlogax) ("WeeChat 0.3.6")
- # [23:55] <ojan> annevk: true
- # [23:56] * Quits: smaug____ (~chatzilla@193-64-22-163-nat.elisa-mobile.fi) (Ping timeout: 240 seconds)
- # [23:58] * Joins: ezoe (~ezoe@203-140-88-173f1.kyt1.eonet.ne.jp)
- # Session Close: Sat Nov 19 00:00:01 2011
The end :)