Options:
- # Session Start: Thu May 28 00:00:00 2009
- # Session Ident: #whatwg
- # [00:03] * annevk42 wonders what https://bugzilla.mozilla.org/show_bug.cgi?id=495112 is about -- looks bad
- # [00:03] <gavin_> bug 455070 caused a regression
- # [00:03] <gavin_> https://bugzilla.mozilla.org/show_bug.cgi?id=494543
- # [00:03] * Joins: shepazu (n=schepers@63.80.141.138)
- # [00:04] <gavin_> that led to https://bugzilla.mozilla.org/show_bug.cgi?id=495112 and https://bugzilla.mozilla.org/show_bug.cgi?id=494799
- # [00:04] <annevk42> still, changing from origin to domain makes it incompatible with other impl
- # [00:04] * gavin_ isn't really familiar with the details
- # [00:07] <annevk42> "The first test of that will be IE’s implementation of the canvas tag, which has been promised but not yet delivered." -- http://blogs.zdnet.com/Burnette/?p=1123 Somehow I doubt that's been promised.
- # [00:07] * gsnedders wonders what his Yahoo id is
- # [00:12] * Quits: sayrer (n=chatzill@63.245.220.225) (Read error: 104 (Connection reset by peer))
- # [00:16] * Quits: taf2 (n=taf2@38.99.201.242)
- # [00:20] * Quits: othermaciej (n=mjs@63.80.141.130) (Read error: 104 (Connection reset by peer))
- # [00:25] <annevk42> to follow up on that Mozilla bug above, apparently the plan is to fix it in a later release...
- # [00:26] * Joins: michaeln (n=michaeln@nat/google/x-b3f5843f37a1de7b)
- # [00:27] <gsnedders> How do you customize the toolbar that only appears while pages are loading in Opera!?
- # [00:27] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [00:28] <Philip`> gsnedders: Select 'customise' and 'show hidden toolbars while customising'?
- # [00:29] <gsnedders> Philip`: Oh, there.
- # [00:29] <gsnedders> Philip`: That's well hidden.
- # [00:29] <Philip`> Indeed, it's hidden as a labelled checkbox on the customisation screen - nobody would ever think to look there
- # [00:30] <gsnedders> Well, in Op10 it's in the Appearence window under the Toolbars tab, while I'm looking at Buttons wanting to drag stuff!
- # [00:30] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [00:31] * Joins: doublec (n=doublec@202.0.36.64)
- # [00:31] * Quits: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
- # [00:33] <annevk42> http://www.reddit.com/r/programming/comments/8nomt/google_bets_big_on_html_5/c09v0fy -- "The internet isn't and has never been "trapped inside web browsers". The web, on the other hand, is. BECAUSE THAT'S THEIR FUCKING ROLE. \n Also, all of Air, Silverlight, JavaFX blow donkey balls."
- # [00:33] <ezyang> hear hear
- # [00:34] <gsnedders> Philip`: Huh. It appeared once, and now it's gone.
- # [00:35] * ezyang has two more states to convert
- # [00:35] <ezyang> The previous author had a similar sentiment: "/* OMG DONE!! */"
- # [00:36] * Joins: jacobolus (i=8cf77274@gateway/web/ajax/mibbit.com/x-ae020d6e446a6d71)
- # [00:37] * Joins: aroben (n=aroben@17.246.18.201)
- # [00:38] <Hixie> lol, i got five upvotes for saying that i upvoted the "HTML5 sucks! All hail the semantic web! FOR THE GLORY OF XHTML2!" comment
- # [00:38] <Hixie> i'll never understand redit
- # [00:38] <Hixie> reddit
- # [00:39] <ezyang> moooo
- # [00:40] <jacobolus> Hixie: I hear you can cash out your reddit upvotes for plush animals in the afterlife.
- # [00:40] <Hixie> sweet
- # [00:41] <annevk42> I upvoted that one just because I thought it was funny
- # [00:41] <annevk42> though prolly not worth much since I've a karma of 1
- # [00:42] * Joins: shepazutoo (n=schepers@63.80.141.130)
- # [00:42] * Quits: weinig (n=weinig@63.80.141.130)
- # [00:42] * Quits: shepazu (n=schepers@63.80.141.138) (Read error: 54 (Connection reset by peer))
- # [00:42] <annevk42> "I hope the spec writers aren't presuming to tell the rest of the world what is intuitive." -- I'm not writing the spec, but I believe I just did...
- # [00:42] <ezyang> DONE! WHOOO!
- # [00:42] <annevk42> ezyang, does it work? :)
- # [00:42] * annevk42 might use a PHP HTML5 parser
- # [00:42] <ezyang> I haven't run the test suite yet.
- # [00:43] <ezyang> For all I know, it crashes and burns with a fatal error :-)
- # [00:43] <annevk42> ah, I guess it will :)
- # [00:43] <ezyang> Also, there must be at least 40 XXX
- # [00:43] <Hixie> annevk42: does karma affect comment voting?
- # [00:44] * Joins: hdh (n=hdh@118.71.99.109)
- # [00:45] * Joins: webben (n=benh@91.85.199.213)
- # [00:45] <annevk42> Hixie, to be honest I haven't studied the algorithms
- # [00:45] <annevk42> Hixie, maybe it just counts and doesn't take my karma into account when calculating yours
- # [00:45] <Hixie> as far as i can tell, comment voting has no effect on anything except the troll comment cut off
- # [00:45] <Hixie> and the karma seems to have no effect at all
- # [00:46] <annevk42> probably right, would be kind of expensive too now I think about it :)
- # [00:47] * Joins: archtech (n=stanv@83.228.56.37)
- # [00:48] * Quits: shepazutoo (n=schepers@63.80.141.130)
- # [00:49] * Joins: annevk2 (n=annevk@94.210.210.44)
- # [00:53] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [00:55] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-aa499f0e0bfb3c9b)
- # [00:55] * Joins: aroben (n=aroben@17.246.18.201)
- # [01:01] * Quits: eric_carlson (n=eric_car@nat/apple/x-3eaad1263deba4ea)
- # [01:05] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-aa499f0e0bfb3c9b) ("This computer has gone to sleep")
- # [01:10] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [01:13] <ezyang> +6 passes, to 90 passes!
- # [01:14] * Joins: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au)
- # [01:14] <gsnedders> And how many failures?
- # [01:16] <ezyang> 279 failures, although I know one fix that will get rid of a lot of them. I'm currently squishing exceptions
- # [01:23] <gsnedders> Is all your work in Parser.php then?
- # [01:23] <ezyang> TreeConstructer.php
- # [01:23] <gsnedders> Ah, that's what it's called.
- # [01:23] <ezyang> in the php-tb branch. I'll be merging it back in before pushing
- # [01:23] * Quits: webben (n=benh@91.85.199.213) (Read error: 104 (Connection reset by peer))
- # [01:23] * Hixie writes a sentence of garbled english that he can't work out how to make real english
- # [01:23] <gsnedders> Can I change the tokenizer to an iterator?
- # [01:24] <Hixie> this doesn't bode well
- # [01:24] <gsnedders> Hixie: en-gb-x-hixie isn't real English anyway! :P
- # [01:24] <Hixie> this sentence is not en-gb-x-hixie either
- # [01:24] <ezyang> What would the output of the tokenizer be?
- # [01:24] <ezyang> (as an iterator)
- # [01:24] <gsnedders> ezyang: Tokens :P
- # [01:24] <ezyang> Uhh, ok
- # [01:24] <ezyang> So, problem
- # [01:25] <gsnedders> So, solution.
- # [01:25] <ezyang> Tree construction needs to be able to pass info back to the tokenizer
- # [01:25] <ezyang> coroutines would be ideal, but we don't have those in PHP
- # [01:25] <Hixie> can someone translate this to english?:
- # [01:25] <Hixie> Whenever a Document d is added to the worker's Documents, the user agent must, for each port in the list of the worker's ports that is entangled with a second port p whose owner is a WorkerGlobalScope object whose list of the worker's Documents does not contain d, add d to q's WorkerGlobalScope owner's list of the worker's Documents.
- # [01:26] <gsnedders> foreach($tokinzer as $token) { if ($token['type'] === HTML5_Tokenizer::STARTTAG) $tokenizer->content_model=HTML5_Tokenizer::PCDATA; }
- # [01:26] <gsnedders> ezyang: ^^
- # [01:26] <gsnedders> Hixie: Oh dear…
- # [01:27] <ezyang> That's not sufficient, but sure, if you want to move the twiddling there
- # [01:27] * gsnedders is too tired to do such things, so time for me to go read Anna Karenina for five hours, get up at 1pm tomorrow, do no more work…
- # [01:27] <ezyang> I think it's pseudocode time
- # [01:27] <gsnedders> I <3 study leave.
- # [01:27] <ezyang> That would be ok.
- # [01:27] <gsnedders> ezyang: I'll speak with you when I'm sanely awake.
- # [01:27] * Quits: ZombieLoffe (n=e@unaffiliated/zombieloffe)
- # [01:28] * Quits: drostie (n=hopkins@5ED17066.cable.ziggo.nl) (Remote closed the connection)
- # [01:28] <ezyang> Savvy
- # [01:28] * Joins: webben (n=benh@91.85.199.213)
- # [01:28] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [01:29] * Joins: tantek (n=tantek@67.180.202.79)
- # [01:32] * Quits: heycam` (n=cam@210.84.19.113) ("bye")
- # [01:32] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com) (Read error: 104 (Connection reset by peer))
- # [01:33] <ezyang> WHOO! zero exceptions
- # [01:34] <ezyang> And fixing those bumped up passes to 103
- # [01:34] <ezyang> I think its pushin' time
- # [01:35] <ezyang> Time to fix the text blobbing problem
- # [01:35] * Quits: tantek (n=tantek@67.180.202.79)
- # [01:39] <ezyang> Bumped up to 117 passes
- # [01:44] <Hixie> public-html has been strangely silent today
- # [01:44] <Hixie> did i address all of larry's concerns? surely not.
- # [01:44] * Quits: pauld (n=pauld@host81-129-222-81.range81-129.btcentralplus.com)
- # [01:44] <Hixie> and leif never responded to my last e-mail to him, i wonder if i actually managed to explain what he was asking about
- # [01:45] * Parts: billmason (n=billmaso@ip147.unival.com)
- # [01:46] <annevk2> Hixie, that worker Document stuff, is that about my question?
- # [01:46] <Hixie> no
- # [01:46] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [01:46] <Hixie> though i should fix that at the same tim,e
- # [01:46] <Hixie> time
- # [01:51] * Quits: dglazkov (n=dglazkov@nat/google/x-41b822cbc7d7f4ca)
- # [01:54] <ezyang> Ok, that's probably enough html5lib hacking for today
- # [01:56] <annevk2> supercool that you're doing this btw
- # [01:57] * Quits: broquaint (n=dbrook@spc1-brig11-0-0-cust544.asfd.broadband.ntl.com) (Read error: 110 (Connection timed out))
- # [01:58] * Quits: bgalbraith (n=bgalbrai@166.129.184.113) (Read error: 110 (Connection timed out))
- # [01:59] <Philip`> No it isn't - it'll remove a reason for PHP programmers to migrate to a proper language, like Python :-p
- # [02:00] <ezyang> annevk2: Thanks!
- # [02:01] <ezyang> Python is still a bitch to get set up for web applications. I do most of my scripting in it these days though
- # [02:13] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [02:19] * Quits: annevk2 (n=annevk@94.210.210.44)
- # [02:19] <Philip`> http://dev.opera.com/articles/view/opera-ua-string-changes/
- # [02:20] <Philip`> The web would be much simpler if there weren't User-Agents strings
- # [02:20] <ezyang> Sometimes you have to use the user-agent string, since the browser lies about what it supports via feature detection
- # [02:27] * Joins: othermaciej (n=mjs@63.80.141.130)
- # [02:31] * Joins: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [02:40] * Joins: webben_ (n=benh@91.85.199.213)
- # [02:48] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [02:51] <ezyang> mmmmmmm
- # [02:51] <ezyang> (got tugged back into debugging the brushfires)
- # [02:52] * Quits: webben (n=benh@91.85.199.213) (Connection timed out)
- # [03:12] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("->home")
- # [03:13] * Quits: tndH (n=Rob@james-baillie-pc083-229.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [03:17] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [03:18] * Joins: webben (n=benh@91.85.199.213)
- # [03:19] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [03:23] <ezyang> So what does the specification *mean* when it says "if it wasn't ignored"
- # [03:24] <ezyang> Oh, it's explicitly spelled out. savvy
- # [03:25] <jcranmer> ezyang: "if the moon is currently waxing, and Saturn is in conjunction with Jupiter"
- # [03:30] * Quits: webben_ (n=benh@91.85.199.213) (Read error: 110 (Connection timed out))
- # [03:31] * Joins: jwalden_ (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
- # [03:31] * jwalden_ is now known as jwalden
- # [03:31] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
- # [03:33] * Quits: othermaciej (n=mjs@63.80.141.130)
- # [03:34] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
- # [03:36] * Quits: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [03:45] * Parts: atwilson (n=atwilson@74.125.59.1)
- # [03:47] * Quits: slightlyoff (n=slightly@72.14.229.81) (Read error: 110 (Connection timed out))
- # [03:51] <ezyang> Quirks mode go boom
- # [03:53] * Quits: jacobolus (i=8cf77274@gateway/web/ajax/mibbit.com/x-ae020d6e446a6d71) ("http://www.mibbit.com ajax IRC Client")
- # [03:54] * Joins: wakaba (n=wakaba@EM114-51-148-91.pool.e-mobile.ne.jp)
- # [03:54] * Quits: VeXocide (i=vexocide@snail.stack.nl) (verne.freenode.net irc.freenode.net)
- # [03:54] * Quits: drry (n=drry@dd25.opt2.point.ne.jp) (verne.freenode.net irc.freenode.net)
- # [03:54] * Quits: scherkus (n=scherkus@72.14.227.1) (verne.freenode.net irc.freenode.net)
- # [03:55] * Joins: VeXocide (i=vexocide@snail.stack.nl)
- # [03:55] * Joins: drry (n=drry@dd25.opt2.point.ne.jp)
- # [03:55] * Joins: scherkus (n=scherkus@72.14.227.1)
- # [03:57] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [03:59] * Quits: wakaba_ (n=wakaba@EM114-51-8-224.pool.e-mobile.ne.jp) (Read error: 60 (Operation timed out))
- # [04:16] * weinig is now known as weinig|brb
- # [04:17] * Joins: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
- # [04:28] * Joins: othermaciej (n=mjs@c-24-7-88-142.hsd1.ca.comcast.net)
- # [04:29] <othermaciej> Hixie: well Google totally loves HTML5 it seems
- # [04:42] <ezyang> "Pop all the nodes from the bottom of the stack of open elements, from the current node up to the root html element." Does this mean that the stack is empty afterwards?
- # [04:42] <ezyang> Or does it just contain the html node?
- # [04:46] * Joins: othermaciej_ (n=mjs@dsl001-150-252.sfo1.dsl.speakeasy.net)
- # [04:49] * Quits: othermaciej (n=mjs@c-24-7-88-142.hsd1.ca.comcast.net) (Nick collision from services.)
- # [04:49] * othermaciej_ is now known as othermaciej
- # [04:49] * Quits: othermaciej (n=mjs@dsl001-150-252.sfo1.dsl.speakeasy.net) (Client Quit)
- # [04:50] * Quits: dolske (n=dolske@firefox/developer/dolske) (Remote closed the connection)
- # [05:14] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [05:17] * Quits: ray (i=ray@the.ug) (Read error: 113 (No route to host))
- # [05:18] * Joins: ray (i=ray@the.ug)
- # [05:22] * weinig|brb is now known as weinig
- # [05:38] * Joins: olliej_ (n=oliver@17.246.17.60)
- # [05:38] * Quits: olliej_ (n=oliver@17.246.17.60) (Remote closed the connection)
- # [05:39] * Joins: olliej_ (n=oliver@17.203.15.206)
- # [05:39] * Quits: olliej (n=oliver@17.203.15.206) (Read error: 104 (Connection reset by peer))
- # [05:41] * Joins: MikeSmith (n=MikeSmit@EM114-48-15-140.pool.e-mobile.ne.jp)
- # [05:49] * Joins: heycam (n=cam@dyn-130-194-220-212.its.monash.edu.au)
- # [05:53] <Hixie> ezyang: wow, that text is confusing. send mail in and i'll fix it. it should say "up to and excluding" the html element.
- # [05:54] <othermaciej> Hixie: I think my demo of HTML5 video was sexier than Vic's, too bad I probably can't post it publicly
- # [05:54] <othermaciej> but I have to show you sometime
- # [05:55] <ezyang> Awesome, thanks!
- # [05:56] <ezyang> Umm... does html5 take unsubscribed emails? I unsubscribed because there was too much stuff I didn't care about and I hadn't gotten Sup to filter mailing lists
- # [05:56] <Hixie> othermaciej: i am shocked, shocked i tell you, that an apple demo was slicker than a google demo. :-P
- # [05:56] <Hixie> ezyang: you can just mail me directly (ian@hixie.ch)
- # [05:56] <othermaciej> my slides were very pretty too, but not many people showed up to my session
- # [05:57] <othermaciej> Hixie: I did post my offline demo though: http://webkit.org/demos/calendar/Calendar.html
- # [05:57] <othermaciej> (uses AppCache, SQLStorate, LocalStorage, online/offline events)
- # [05:58] <Hixie> othermaciej: that demo will be even more compelling once browsers do the vEvent drag-and-drop stuff
- # [05:58] <Hixie> othermaciej: and you can just drag from one calendar to another and have the event carry through
- # [05:58] <Hixie> wouldn't even be that hard to do, on the js side
- # [05:58] <othermaciej> that would be cool
- # [05:58] <ezyang> Sent!
- # [05:58] <Hixie> it's technically a requirement of html5 now :-)
- # [05:58] <Hixie> ezyang: thanks!
- # [05:59] <othermaciej> I did like the YouTube video demo, though really only cause of the domain where it is hosted
- # [05:59] <othermaciej> not so much intrinsic slickness
- # [05:59] <ezyang> Hmmm... why am I getting two <html> nodes in my documents...
- # [06:01] <ezyang> Ouch, the DOM is coming preloaded with an HTML element
- # [06:03] <ezyang> Holy crap, that caused 66 cases to start passing
- # [06:03] <Hixie> othermaciej: yeah, people from apple and mozilla have been asking for months now for me to convince the youtube guys to do that, and it's been killing me that i couldn't just say "they've already done it, just wait"
- # [06:04] <othermaciej> I didn't know Apple was pushing for it, I thought we were gonna make such a demo ourselves
- # [06:05] <Hixie> i don't think it was a corporate position, but i have received private requests to that effect
- # [06:05] * Quits: olliej_ (n=oliver@17.203.15.206)
- # [06:05] <othermaciej> it's pretty cool
- # [06:05] <Hixie> we really need to figure out the codec issue
- # [06:05] <othermaciej> it's funny that I chose to highlight similar browser features in my WebKit talk to what apparently was highlighted in the keynote
- # [06:06] <othermaciej> (I demoed video, canvas, offline stuff)
- # [06:06] <Hixie> i'm surprised offline was demoed anywhere
- # [06:06] <othermaciej> only thing I showed that Google didn't highlight was CSS animation
- # [06:06] <Hixie> it's so hard to demo in a compelling fashion
- # [06:06] <othermaciej> Hixie: that's why I have the network indicator in my demo
- # [06:06] <Hixie> oh they took out the animation demo?
- # [06:06] <othermaciej> I pulled the network cable, quit and relaunched
- # [06:07] <othermaciej> I don't think there was one - if there was I hadn't heard
- # [06:07] <Hixie> one of the early versions of the keynote i saw had the video being rotated by css animation stuff
- # [06:07] <Hixie> maybe it wasn't reliably enough or something
- # [06:07] <othermaciej> I would have demo'd workers too but olliej ran out of time to multithread my fluid dynamics demo
- # [06:07] <othermaciej> (solves navier-stokes equations in realtime and draws results to canvas)
- # [06:08] <Hixie> nice
- # [06:14] <othermaciej> you know, one convenient thing about everything being in one spec prior to the recent splitting was that you could use HTML5 as a shorthand for "next generation of Web standards"
- # [06:14] <othermaciej> now you have to be mildly ignorant to do so
- # [06:14] <othermaciej> http://www.webdesignerhelp.co.uk/index.php/2009/05/5-fantastic-features-of-html-5/
- # [06:15] <othermaciej> Hixie: anyway I dunno what to do about codecs
- # [06:15] <othermaciej> I should look up when the patents on a plausible H.264 baseline expire
- # [06:18] <Hixie> i say we co-opt the term Web 5.0
- # [06:18] <othermaciej> ES 5 conveniently renumbered themselves!
- # [06:19] <ezyang> Hmm... when I get around to throwing out ~1/2 of my HTML Purifier codebase to use the html5lib parser, I'll be at version 5.0!
- # [06:19] <ezyang> All of the stars are conveniently aligned.
- # [06:22] <ezyang> "Remove node from the stack of open elements. " If node isn't the current node, do I excise it from the stack?
- # [06:24] <ezyang> That wouldn't make any sense at all.
- # [06:24] <ezyang> So I guess I'm supposed to pop the stack until I get to the node
- # [06:29] * Joins: olliej (n=oliver@17.203.15.206)
- # [06:36] * Joins: mpilgrim (n=mark@12.144.179.214)
- # [06:37] <ezyang> Houston, I think I see an error in the test-case
- # [06:37] <mpilgrim> there was a bit in the keynote where vic showed the rotated video demo
- # [06:38] <mpilgrim> he specifically pointed out that once video was in the DOM, you could do fun stuff with it, including CSS animations and styling
- # [06:38] <othermaciej> that's cool
- # [06:38] <mpilgrim> ("in the DOM" instead of "in plugin prison")
- # [06:39] <othermaciej> I guess it must have looked like I planned my stuff based on Google's conference agenda but I seriously had no idea
- # [06:39] <mpilgrim> but yeah, you had to look really closely to notice that he was switching between two different computers and three different browsers in order to demo this stuff
- # [06:39] <mpilgrim> the rotating video was a firefox demo (with ogg theora video)
- # [06:40] <mpilgrim> the youtube html5 demo only works in safari 4 and (apparently) a nightly build of chrome/chromium that i don't have
- # [06:40] <mpilgrim> and on and on
- # [06:40] <othermaciej> video is in chromium nightlies now?
- # [06:40] <othermaciej> like actually working?
- # [06:40] <othermaciej> that would be sweet if so, I hadn't heard
- # [06:40] <mpilgrim> http://codereview.chromium.org/115625
- # [06:41] <mpilgrim> i could be misremembering, he may have shown the youtube demo in safari 4
- # [06:41] <mpilgrim> he did NOT make any mention of the fact that he kept switching browsers (and OSes)
- # [06:41] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [06:41] <Hixie> ezyang: it means excise
- # [06:42] <othermaciej> that checkin would add codecs but presumably you would need something more to actually use them
- # [06:42] <mpilgrim> that's all i know :(
- # [06:42] <othermaciej> yeah, the bleeding edge of the Open Web platform can be sharp
- # [06:42] * Hixie runs his recent chromium build to find out
- # [06:42] <ezyang> Oh, really!
- # [06:42] <othermaciej> I did all my demos in Safari cause I am lazy
- # [06:42] <Hixie> doesn't work on the mac chromium builds
- # [06:43] <Hixie> dunno about windows
- # [06:43] <ezyang> So, that means that <form><div></form><div> results in two nested divs inside of <form>, and nothing outside?
- # [06:43] <mpilgrim> i have windows right now
- # [06:43] <mpilgrim> where can i get nightly builds?
- # [06:43] <Hixie> i build them from svn
- # [06:43] <Hixie> ezyang: nested ones, yeah
- # [06:43] <ezyang> Wow. That's weird.
- # [06:43] <mpilgrim> nm, i found it
- # [06:43] * Hixie points to the topic
- # [06:44] <ezyang> :-)
- # [06:44] <mpilgrim> wow, my hotel wireless doesn't completely suck
- # [06:45] * Joins: billyjackass (n=MikeSmit@EM114-48-1-188.pool.e-mobile.ne.jp)
- # [06:45] <ezyang> mpilgrim: Congratulations! A million travelers would love to be in your hotel right now :-P
- # [06:45] <mpilgrim> getting sustained 115 kB/s down
- # [06:45] <ezyang> Maybe that should get a note.
- # [06:46] * Quits: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
- # [06:50] <ezyang> Huh. Google Code's authorization will randomly fail.
- # [06:53] <mpilgrim> it's official: i'm on crack
- # [06:53] <mpilgrim> chromium nightly does not play youtube html5 video
- # [06:53] <mpilgrim> nor wikimedia commons videos (theora)
- # [06:54] <mpilgrim> still, someone is obviously working on it
- # [06:54] <mpilgrim> if it's really built on top of ffmpeg, that would be exciting
- # [06:54] <mpilgrim> (to me anyway)
- # [06:54] <othermaciej> I've definitely heard that folks are working on it
- # [06:54] <othermaciej> what would be specifically exciting about ffmpeg being involved?
- # [06:54] <mpilgrim> broad codec support
- # [06:54] <mpilgrim> on all platforms
- # [06:55] <mpilgrim> including linux, which i run on my primary home workstation
- # [06:56] <mpilgrim> for posterity, i tested chromium 3.0.183.0 (r17063)
- # [06:57] <mpilgrim> on windows
- # [06:57] <othermaciej> Chromium is up to 3 already?
- # [06:57] <mpilgrim> from http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/17063/
- # [06:57] <mpilgrim> that's what it says in the about box
- # [06:57] <othermaciej> at this rate it will have a higher version number than Opera by next year
- # [06:57] <mpilgrim> lol
- # [06:57] * Quits: takkaria (n=takkaria@isparp.co.uk) (Read error: 60 (Operation timed out))
- # [06:58] * Joins: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
- # [07:00] * Quits: MikeSmith (n=MikeSmit@EM114-48-15-140.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [07:01] * Joins: takkaria (n=takkaria@isparp.co.uk)
- # [07:02] * Quits: syp__ (n=syp@lasigpc9.epfl.ch) (Read error: 54 (Connection reset by peer))
- # [07:03] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
- # [07:04] <Hixie> othermaciej: let's not get crazy here, don't forget opera is also releasing browsers!
- # [07:05] <othermaciej> Hixie: Opera only consumes 2/3 of a major version number a year though
- # [07:06] <othermaciej> Chrome is on track to 3 major versions per year or more
- # [07:06] <Hixie> true
- # [07:06] <Hixie> i wonder how long they'll keep it up
- # [07:06] <othermaciej> probably until their number is big enough to sound comparable to other browsers
- # [07:07] <Hixie> firefox and safari are at 3
- # [07:07] <Hixie> so that shouldn't take leng
- # [07:07] <Hixie> lon7g
- # [07:07] <Hixie> long
- # [07:08] <othermaciej> I mean, I dunno if they really want to hit IE / Opera level numbers
- # [07:08] <Hixie> oh, well, catching up to IE wouldn't take long at this rate
- # [07:08] <Hixie> given the average time between IE releases
- # [07:09] <othermaciej> heh
- # [07:09] <mpilgrim> everybody gives us shit for keeping products in perpetual beta
- # [07:09] <mpilgrim> then we release 2 stable versions in < 1 year, and people give us shit for that instead
- # [07:10] <mpilgrim> i think i can see the common factor here
- # [07:10] <mpilgrim> ;)
- # [07:10] <Hixie> hah
- # [07:12] <othermaciej> I would argue GMail has more right to claim to be a non-beta than Chrome 2
- # [07:13] <ezyang> Foster parenting is so convoluted
- # [07:17] <Hixie> foster parenting has nothing on the AAA
- # [07:18] <ezyang> AAA?
- # [07:18] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (Read error: 104 (Connection reset by peer))
- # [07:18] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
- # [07:18] * Joins: ap (n=ap@194.154.88.33)
- # [07:19] <mpilgrim> "HTML 5 is an appluadable initiative, however it is doomed to fail. One only needs to look at the features in Silverlight (particularly silverlight 3) to see that the level of features offered by HTML 5 is not enought to meet the needs of future RICH applications."
- # [07:19] <mpilgrim> http://radar.oreilly.com/2009/05/google-bets-big-on-html-5.html#comment-2060516
- # [07:21] <othermaciej> Stop HTML5! Keep Web applications poor!
- # [07:21] <Hixie> i saw that comment earlier
- # [07:21] <othermaciej> why you gotta be so jealous of *Rich* internet applications, HTML?
- # [07:21] <Hixie> it's an accurate comment if you assume (as the author does) that the goal is to replace native platforms
- # [07:22] <Hixie> but the spec explicitly says that that is not the goal
- # [07:22] <Hixie> mozilla and opera explicitly said, as did microsoft and sun and redhat, at the famous workshop, that doing that a non-starter with a standards-based approach
- # [07:22] <Hixie> specs don't move fast enough
- # [07:23] <Hixie> interoperable platforms are doomed to always be inferior to the cutting edge proprietary ones
- # [07:23] <Hixie> however that misses the entire point
- # [07:23] <Hixie> which is that they _can_ be good enough
- # [07:23] <Hixie> and we can make the web much better
- # [07:23] <othermaciej> If the commentor thinks "do more stuff than Silverlight" is the goal then he's probably right that HTML5 will fail on those terms
- # [07:24] <othermaciej> but I'm happy with how we're doing on "enable Web developers to do more cool stuff"
- # [07:24] <Hixie> yup
- # [07:24] <Hixie> html5 is also doomed to fail if the goal is to cure cancer
- # [07:27] <weinig> Hixie: with that attitude it is!
- # [07:28] <othermaciej> hmm validator.nu doesn't like the sizes attribute on this:
- # [07:28] <othermaciej> <link rel="icon" href="surfin-safari.icns" sizes="32x32 128x128 512x512">
- # [07:28] <othermaciej> I can't figure out what if anything is wrong
- # [07:29] <othermaciej> is that actually a bad value or is it a validator bug?
- # [07:30] <othermaciej> it looks conforming to me....
- # [07:31] <roc> I wonder how Google is going to address its patent licensing obligations if they distribute ffmpeg under the LGPL
- # [07:35] * Joins: mhausenblas (n=mhausenb@wg1-nat.fwgal01.deri.ie)
- # [07:35] * Joins: pauld (n=pauld@94.197.206.168.threembb.co.uk)
- # [07:35] <mpilgrim> i know i've beat on rubys in the (recent) past
- # [07:36] <othermaciej> beat on him about what?
- # [07:36] <mpilgrim> but i must give him credit for his stewardship of the rdfa discussion
- # [07:36] <othermaciej> he's been fine on that
- # [07:36] <othermaciej> I am no fan of his stewardship of the title discussion, in that he started a title discussion
- # [07:37] <mpilgrim> are these people for real? http://lists.w3.org/Archives/Public/public-html/2009May/0436.html
- # [07:37] <othermaciej> though it has been uphill from there, now that he and Larry have expressed their actual issues with the spec
- # [07:37] <mpilgrim> actual_issues++
- # [07:37] <othermaciej> sideshow_proxy_discussions--
- # [07:38] <mpilgrim> "if I have a document that is HTML5 with RDFa and parse it, and a similar document that is XHTML + RDFa and parse it, would you expect *exactly* the same triples to be emitted?"
- # [07:38] <mpilgrim> words fail me
- # [07:38] * Quits: dave_levin (n=dave_lev@72.14.227.1)
- # [07:38] * Joins: dave_levin (n=dave_lev@72.14.224.1)
- # [07:39] <othermaciej> you would kind of expect people interested in semantic markup to want it to work robustly
- # [07:39] <mpilgrim> also, http://lists.w3.org/Archives/Public/public-html/2009May/0269.html
- # [07:39] <mpilgrim> i think shane is laboring under the misapprehension that he has done the hard part and is about 99% done
- # [07:40] <othermaciej> well, he's writing a spec to tack onto HTML4
- # [07:40] <mpilgrim> and all he has to do with RDFa is "dumb it down" for HTML, drop the "X" from the title, and declare victory
- # [07:40] <mpilgrim> dude, you're about 1% done
- # [07:40] <othermaciej> so HTML4-level quality is not surprising as an outcome
- # [07:40] <mpilgrim> and it was the easy 1%
- # [07:40] * Joins: pauld_ (n=pauld@94.197.206.60.threembb.co.uk)
- # [07:40] <othermaciej> I would say he's 99% done, and now he has to do the other 99%
- # [07:41] <mpilgrim> RDFa-in-XHTML is an interesting theoretical exercise
- # [07:42] <mpilgrim> a toy language in an academic's sandbox
- # [07:42] <billyjackass> othermaciej: the cause of the sizes thing is a bug in validator.nu, from code I added. I'll fix it.
- # [07:42] * billyjackass is now known as MikeSmith
- # [07:42] <othermaciej> MikeSmith: thanks!
- # [07:42] <MikeSmith> thanks for catching it
- # [07:43] <othermaciej> my only other validator issue is use of proprietary <input type="search"> attributes
- # [07:44] <mpilgrim> anyway, rubys has been good at knocking some sense into them so far
- # [07:44] <othermaciej> I wonder if we implement enough of Web Forms 2 to replace that all with standards ones
- # [07:44] <othermaciej> mpilgrim: he's knocking, but I suspect there is nobody home
- # [07:44] <mpilgrim> i hope he can manage to get them to understand the magnitude of the task ahead of them
- # [07:45] <othermaciej> it would have been far easier to consider these issues when designing RDFa in the first place...
- # [07:45] <othermaciej> but of course, They Weren't Chartered to do That(tm)
- # [07:45] <mpilgrim> i can't fault them for that, really
- # [07:45] <mpilgrim> they were told XHTML was the future
- # [07:45] <mpilgrim> been there, done that
- # [07:46] <mpilgrim> not everybody got the memo in 2003
- # [07:46] <othermaciej> I thought flying cars were the future
- # [07:48] <mpilgrim> http://www.threadless.com/product/63/Damn_Scientists !
- # [07:49] <mpilgrim> where is my jetpack, dammit!
- # [07:50] <mpilgrim> man, this is awesome in retrospect: http://ln.hixie.ch/?start=1037595583&count=1
- # [07:50] <mpilgrim> and http://diveintomark.org/archives/2002/11/21/a_warning_to_others
- # [07:52] <mpilgrim> "New XHTML version 1.1! Now more hostile than ever!"
- # [07:52] <mpilgrim> good times
- # [07:53] <hsivonen> othermaciej: validator bug most likely
- # [07:53] <ezyang> XHTML 1.1 was nice enough to give us the modularization though...
- # [07:53] <othermaciej> hsivonen: MikeSmith said it was and said he'll fix it
- # [07:54] <Hixie> i wonder if the rdfa guys have noticed that the issues they're battling with are non-issues in the microdata proposal...
- # [07:55] <othermaciej> I don't know that they are battling those issues so much as trying to sweep them under the carpet
- # [07:55] <othermaciej> I think the goal is more to show that RDFa is already perfect than to fix it
- # [07:55] <mpilgrim> MICRODATA IS TEH SUCK!
- # [07:56] <mpilgrim> U STOLE OUR ATTRIBUTEZ!
- # [07:56] <othermaciej> whoah, Hixie used the phrase "in the pre-XHTML2 world"
- # [07:56] <Hixie> it's ok, i gave them back
- # [07:56] <othermaciej> and it doesn't look like he was being at all sarcastic
- # [07:56] <Hixie> othermaciej: you think that's bad. see http://ln.hixie.ch/?start=1042630901&count=1
- # [07:57] <hsivonen> mpilgrim: http://lists.w3.org/Archives/Public/public-html/2009May/0301.html is interesting
- # [07:57] <mpilgrim> BUT STILL! WE MUST BRING IT UP AT EVERY OPPORTUNITY! IN CASE IT HAPPENS AGAIN!
- # [07:57] <othermaciej> "Personally, I think XHTML2 is shaping up to be a great specification." - Ian Hickson
- # [07:57] <mpilgrim> REMEMBER THE @PROPERTY!
- # [07:57] <othermaciej> I should twitter that
- # [07:57] <Hixie> i started work on html5 8 months later
- # [07:57] * Quits: pauld (n=pauld@94.197.206.168.threembb.co.uk) (Read error: 110 (Connection timed out))
- # [07:58] <Hixie> it's amazing when you realise that in 6 years since then xhtml2 has hardly changed at all
- # [07:58] <mpilgrim> not true, it grew roles and states
- # [07:58] <othermaciej> what made you grow disenchanted so quickly?
- # [07:59] <Hixie> othermaciej: xforms
- # [07:59] <roc> and can we bottle it and sell it?
- # [07:59] <Hixie> as you will recall :-)
- # [07:59] <othermaciej> was it really not obvious before that, that starting with a clean slate of purity was a bad idea?
- # [07:59] <Hixie> i guess not
- # [07:59] <othermaciej> still, it is good to know you can change your mind even on major questions of strategy when presented with the evidence
- # [08:00] <othermaciej> in the nascent days of Safari I initially thought we should base it on Gecko
- # [08:00] <othermaciej> as long as we are bringing up regrettable past beliefs
- # [08:01] <mpilgrim> on the subject of embarassing quotes, i like this one: http://lists.w3.org/Archives/Public/www-html/2003Jan/0277.html
- # [08:02] <Hixie> it's interesting to note that the end of the blog post does acknowledge that a boil-the-oceans strategy will take a long time
- # [08:03] <othermaciej> so long, it's infinite!
- # [08:04] <Hixie> nah, if the technology is good enough, you can do it
- # [08:04] <Hixie> e.g. mac os 9 to mac os x
- # [08:04] <Hixie> or the iphone
- # [08:04] <Hixie> or windows to linux
- # [08:04] <Hixie> etc
- # [08:05] <Hixie> mpilgrim: i still don't think we should have the style="" attribute.
- # [08:05] <othermaciej> OS X had to build a lot of bridges
- # [08:05] <othermaciej> from the original total-ocean-boiling strategy
- # [08:05] <Hixie> yes, you need to build a lot of bridges to do it
- # [08:05] <othermaciej> (Classic and Carbon were not part of the original plan)
- # [08:05] <Hixie> it's far more work than the xhtml2 wg are even remotely considering
- # [08:05] <Hixie> also xhtml2 isn't enough of an improvement (any more)
- # [08:05] <Hixie> (if it ever was)
- # [08:06] <mpilgrim> http://www.zeldman.com/daily/0103c.shtml#inatwist "Nevertheless, we get the feeling that XHTML 2’s most ardent supporters think ordinary designers and developers are bad and stupid and backward and intractable, and that only brute force can deliver the semantic web."
- # [08:06] <othermaciej> Apple also had the advantage of having a totally vendor-controlled ecosystem
- # [08:06] <othermaciej> zeldman beats Hixie!
- # [08:06] <mpilgrim> funny, i still get that feeling
- # [08:07] <mpilgrim> zeldman wrote that over 6 years ago
- # [08:08] <Hixie> that was written around the same time as my blog post
- # [08:08] <Hixie> probably as part of the same "blogosphere meme"
- # [08:09] <hsivonen> might be interesting to look up my ancient XHTML2 technical feedback to see if it has been addressed
- # [08:09] <hsivonen> nah
- # [08:09] <hsivonen> I'll spend my day doing perf profiling instead
- # [08:09] * Quits: pauld_ (n=pauld@94.197.206.60.threembb.co.uk)
- # [08:10] * Quits: hdh (n=hdh@118.71.99.109) (Remote closed the connection)
- # [08:10] <Hixie> hsivonen: the wg finally got back to me today on some feedback i sent on xhtml1 in 2003
- # [08:11] <ezyang> Question: Why doesn't the whitespace in ><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div> get foster parented?
- # [08:11] <ezyang> (erm, ignore that stray >)
- # [08:11] <ezyang> Doesn't <a>foo</a> trigger the taint?
- # [08:11] <Hixie> in the spec, you mean?
- # [08:12] <ezyang> This example comes from html5lib test suite
- # [08:12] <ezyang> I'm trying to decide if I've done something boneheaded before changing the test
- # [08:12] * Quits: roc (n=roc@202.0.36.64)
- # [08:13] <hsivonen> Hixie: cool. better late than never
- # [08:13] <hsivonen> Hixie: had you already fixed it in XHTML5?
- # [08:13] <Hixie> ezyang: looks like a bug in the test to me
- # [08:13] <ezyang> awesome
- # [08:14] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [08:14] <Hixie> hsivonen: the feedback was basically "don't allow text/html to be used for xhtml", so yes, we fixed that years ago
- # [08:14] <hsivonen> ezyang: the test was updated when I thought Hixie would do WebKit-style taintless tables
- # [08:14] <ezyang> Oh?
- # [08:14] <Hixie> hsivonen: their response was "we split xhtml appendix c into a separate note", and my further response was to ask for the editor's draft so i could check their new wording
- # [08:14] <ezyang> Well, is Hixie going to do taintless tables?
- # [08:14] <hsivonen> ezyang: not at the moment. I need to convince him some more
- # [08:15] <Hixie> iirc i came up with some reason why it wasn't a good idea
- # [08:15] <ezyang> Heh, ok.
- # [08:16] <hsivonen> it's certainly possible to construct cases where it's a bad idea not to have taint
- # [08:17] <hsivonen> but WebKit seems to get away with not having taint, so...
- # [08:17] <ezyang> I see; you want to keep things simple.
- # [08:18] <ezyang> Well, it's nice to know that it's intentional. I hate it when I implement parts of the spec and the number of passing tests goes down :-)
- # [08:18] <hsivonen> Hixie: so far, I haven't seen real-world issues
- # [08:18] <ezyang> Hmmm... I suppose I should check how many tests the python implementation has passing and check that
- # [08:19] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [08:19] <ezyang> This means the lower bound to fails is at least 1... possibly more
- # [08:19] <hsivonen> Hixie: I've seen one reftest fail bus so mildly that users wouldn't have noticed if it had been in the wild
- # [08:19] <hsivonen> s7bus/but/
- # [08:20] <othermaciej> I love this old Hixie blog post
- # [08:20] <othermaciej> every line is a treasure
- # [08:22] <hsivonen> mpilgrim: it seems that HTML5 is hostile in some ways like XHTML 1.1
- # [08:22] <othermaciej> actually, some of these things would be great to fix if they were practically fixable
- # [08:22] <othermaciej> like lists in paragraphs
- # [08:22] <hsivonen> mpilgrim: e.g. name=foo being non-conforming
- # [08:23] <hsivonen> mpilgrim: whoa! you've had a FOAF profile!
- # [08:24] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [08:24] <hsivonen> mpilgrim: what made you not have one any longer?
- # [08:24] <mpilgrim> i did, when they were all the rage
- # [08:25] <mpilgrim> i had a blogroll and an rss feed once too
- # [08:25] <mpilgrim> i believe if you go back far enough, i had a scriptingNews feed
- # [08:25] <mpilgrim> (betcha don't even know what that is)
- # [08:25] <hsivonen> mpilgrim: I think I've seen something about that
- # [08:26] * ezyang lost another four test-cases... argh
- # [08:26] * hsivonen remembers seeing a YSoD on diveintomark around the time of that post
- # [08:27] * Joins: dolske (n=dolske@c-76-103-40-203.hsd1.ca.comcast.net)
- # [08:27] <ezyang> Ok, the test-case is almost definitely wrong
- # [08:28] <ezyang> Oh wait, my diff is being wonky
- # [08:28] * Quits: MikeSmith (n=MikeSmit@EM114-48-1-188.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [08:29] * Joins: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [08:29] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [08:30] <ezyang> No, this is most certainly bogus
- # [08:30] <ezyang> The test case wants me to have <input> be a child of <table>
- # [08:31] <hsivonen> ezyang: not "hidden"?
- # [08:31] * Quits: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
- # [08:31] <ezyang> Ooh, good point.
- # [08:33] <ezyang> Whoo, converted into passes
- # [08:34] * Joins: zcorpan_ (n=zcorpan@83.252.196.43)
- # [08:34] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:35] * Joins: zcorpan__ (n=zcorpan@83.252.196.43)
- # [08:37] <Hixie> othermaciej_: pretty much everything in that list is either something we've done (e.g. cite="" is now on <section> and <article>, we have <section>/<h1>, we allow <a href=""> around blocks, etc) or things we want to do but can't (e.g. replace <br> with <l>, have href="" everywhere, have <h> instead of <h1>, etc)
- # [08:37] <ezyang> hsivonen: How good is our <frameset> coverage?
- # [08:38] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [08:40] <ezyang> 'A start tag whose tag name is "frameset"' in mode "in body" seems to be a dead zone
- # [08:40] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Read error: 110 (Connection timed out))
- # [08:40] <mpilgrim> hixie: you say xhtml 2 hasn't changed, but it has an <img> element now!
- # [08:40] <Hixie> it's true, it has regressed in some ways
- # [08:41] <Hixie> :-P
- # [08:41] <mpilgrim> http://microformats.org/discuss/mail/microformats-discuss/2005-October/001783.html "<img> was reintroduced to XHTML 2, no doubt after a vigorous and healthy debate in which all parties treated each other with mutual respect. But now it has a different content model than <img> in XHTML 1 and HTML 4, which just goes to show that mutual respect is for chumps."
- # [08:42] <mpilgrim> the bit about the content model is still true, AFAICT: http://www.w3.org/TR/xhtml2/mod-image.html
- # [08:44] <Hixie> yes
- # [08:45] <mpilgrim> ironically, i actually like the idea of using the content inside <img></img> as fallback
- # [08:46] <mpilgrim> bummer about the whole legacy content thing
- # [08:47] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [08:48] <zcorpan> how annoying - opera's UA string *was* pretty good
- # [08:48] <Hixie> mpilgrim: oh there are lots of things that suck in html that i'd do differently if we could
- # [08:51] * Quits: zcorpan_ (n=zcorpan@83.252.196.43) (Read error: 110 (Connection timed out))
- # [08:52] * Joins: pauld (n=pauld@194.102.13.6)
- # [08:52] * Quits: zcorpan__ (n=zcorpan@83.252.196.43) (Read error: 110 (Connection timed out))
- # [08:53] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:55] * Quits: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [08:57] <Mrmil> Hi, can <time> be used this way? <time>May 28 2009 08:48:44</time> I remember there was some fuss about this. I know it's useless without the datetime attribute but I don't have to use everywhere, do I? :)
- # [08:57] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Remote closed the connection)
- # [08:59] <Hixie> Mrmil: either you have to have the attribute or the contents have to be YYYY-MM-DDTHH:MM.ssZ
- # [09:01] <Mrmil> Mmm, okey. The spec says something else though: http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element - The time element is not necessary for encoding dates or times. In the following snippet, the time is encoded using time, so that it can be restyled (e.g. using XBL2) to match local conventions, while the year is not marked up at all, since marking it up would not be particularly useful.
- # [09:01] <Mrmil> <p>I usually have a snack at <time>16:00</time>.</p>
- # [09:05] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [09:06] <Hixie> Mrmil: oh, i misspoke. it's actually either YYYY-MM-DDTHH:MM:SS.ssZ or YYYY-MM-DD or HH:MM:SS.ss
- # [09:06] <Hixie> and the :SS.ss part is optional
- # [09:08] <Mrmil> Hixie: Oh okey. Does it mean the example with <time>16:00</time> is wrong?
- # [09:09] <Hixie> no, HH:MM is a valid syntax (since the :SS.ss part is optional)
- # [09:09] <Mrmil> right, now I mislooked. Ok, thanks
- # [09:11] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [09:12] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [09:12] <ezyang> "<body><frameset><frame></frameset>" This wouldn't result in <body> getting replaced with <frameset>, would it?
- # [09:14] <ezyang> because <body> sets the frame-ok flag to false, and then frameset doesn't get to do the wibbly-wobbly timey wimey stuff
- # [09:15] <hsivonen> ezyang: frameset test coverage is very, very bad
- # [09:16] <ezyang> Well, I've had about a 50/50 chance of detecting bad tests tonight, so it could be just me
- # [09:17] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Read error: 104 (Connection reset by peer))
- # [09:17] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [09:17] <ezyang> hsivonen: Should I go ahead and "fix" the test, or send mail to html5lib-discuss and wait for an ack?
- # [09:17] <hsivonen> ezyang: Also, it would be great to have tests for trying to enter 'in foreign' when the tree builder is already in 'in foreign'
- # [09:18] <ezyang> oh ho ho, I haven't even implemented that yet.
- # [09:18] <hsivonen> ezyang: you mean the tain thing?
- # [09:18] <ezyang> no, the frame-ok one I just mentioned
- # [09:18] <hsivonen> ezyang: yes, please fix
- # [09:20] <ezyang> Hmm... I'm probably going to get the errors wrong
- # [09:21] <ezyang> Can I add a comment to .dat files?
- # [09:21] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [09:22] <zcorpan> Hixie: "xHTML2" - http://ln.hixie.ch/?start=1042630901&count=1 - typo or intentional lowercase x?
- # [09:22] <Hixie> typo
- # [09:22] <Hixie> happens in several posts from back then
- # [09:22] <Hixie> i assume it was a typo, anyway
- # [09:22] <Hixie> maybe i was making some crazy subtle point that i now forget
- # [09:22] <Hixie> there's a lot of that in my blog entries
- # [09:23] <zcorpan> i always get confused about what people mean when people write "xHTML"
- # [09:25] <Mrmil> That means they don't know whether they use HTML or XHTML :)
- # [09:29] <hsivonen> Usually "xHTML" is signal for "I don't want to upset the XHTML2 WG by calling the XML serialization of HTML5 XHTML."
- # [09:29] <hsivonen> ezyang: I think there aren't comments
- # [09:30] <hsivonen> ezyang: also, the format is very brittle in my harness, so please avoid reordering fields
- # [09:30] <hsivonen> (I have a streaming impl.)
- # [09:31] <hsivonen> How often should I tell Shark to sample if I leave it running for an hour?
- # [09:31] <hsivonen> so that I don't get too much data
- # [09:33] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Read error: 104 (Connection reset by peer))
- # [09:33] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [09:33] * Joins: gavin (n=gavin@firefox/developer/gavin)
- # [09:33] * Quits: virtuelv (n=virtuelv@084202133045.customer.alfanett.no) ("Ex-Chat")
- # [09:41] <zcorpan> hsivonen: maybe in the contexts you see "xHTML", but i'm sure lots of instances of "xHTML" i've seen the author has no idea about HTML5 or the XHTML2 WG
- # [09:41] * Joins: roc (n=roc@121-72-176-201.dsl.telstraclear.net)
- # [09:43] * Quits: heycam (n=cam@dyn-130-194-220-212.its.monash.edu.au) ("bye")
- # [09:45] * Joins: wakaba_ (n=wakaba@EM114-51-166-196.pool.e-mobile.ne.jp)
- # [09:45] * Joins: MikeSmith (n=MikeSmit@EM114-48-211-248.pool.e-mobile.ne.jp)
- # [09:46] * Quits: doublec (n=doublec@202.0.36.64) ("Leaving")
- # [09:48] <hsivonen> zcorpan: that's possibel
- # [09:48] <Hixie> crap
- # [09:48] <hsivonen> zcorpan: did Opera change its UA string again?
- # [09:48] * Hixie realises a flaw in his recent checkin
- # [09:48] <Dashiva> hsivonen: Issues with two-digit version numbers
- # [09:49] <hsivonen> Dashiva: yay
- # [09:49] <zcorpan> hsivonen: Opera/9.80 ... Version/10.00
- # [09:49] <hsivonen> UA sniffing FTW!
- # [09:49] <Dashiva> I suggested just converging towards 10 with an ever-inreasing number of 9.9999...
- # [09:50] <hsivonen> zcorpan: does it also contain substrings "Gecko" and "WebKit" now that you aren't hard-line about version?
- # [09:50] <zcorpan> hsivonen: no
- # [09:51] <zcorpan> hsivonen: http://dev.opera.com/articles/view/opera-ua-string-changes/
- # [09:53] <zcorpan> maybe we should change name and start over from version 1
- # [09:54] <Dashiva> Ballett/1.0
- # [09:54] <Dashiva> -t
- # [09:54] <zcorpan> (or version 4 or 5 or whatever the web sniffers require to work)
- # [09:55] <hsivonen> my recent UA string annoyances have been with major sites sniffing for Firefox and blocking or semiblocking Minefield
- # [09:55] <Philip`> What if you changed the version number to 19.00, so that people who use /(\d)\.\d\d/ to find the version number will not think it's an old version?
- # [09:56] <olliej> Philip`: i believe safari 2.0.4 was detected as netscape 4 by a number of sites
- # [09:56] <Dashiva> Philip`: It's usually the first character after Opera/
- # [09:56] <zcorpan> Philip`: i think some pages use /\/(\d)/
- # [09:56] <Dashiva> So we could go with 90, 91, etc
- # [09:57] <Philip`> It'd be much easier if the UA string was structured data, like JSON perhaps, so people didn't have to use regexps
- # [09:57] * mpilgrim recalls that windows 95 identified itself to applications as "major version 3, minor version 95", for compatibility with stupid windows 3.1 apps
- # [09:58] <hsivonen> mpilgrim: I recall reading Windows 7 doing something similar
- # [09:58] <mpilgrim> see, we're just replicating the native application experience!
- # [09:59] <zcorpan> Maybe we should use Mozilla/5.0 (actually Opera/10.00 and not Gecko/Firefox/WebKit/Safari) Presto/2.2.15
- # [09:59] <Philip`> http://blogs.msdn.com/oldnewthing/archive/2004/02/13/72476.aspx
- # [10:00] <mpilgrim> oldnewthing++
- # [10:00] * Quits: pauld (n=pauld@194.102.13.6)
- # [10:01] <mpilgrim> must sleep now. "big surprise" coming in tomorrow's keynote
- # [10:01] <mpilgrim> i hear all google i/o attendees are getting their own personal robot
- # [10:02] <Hixie> dude
- # [10:02] <Hixie> nda!
- # [10:03] * Quits: wakaba (n=wakaba@EM114-51-148-91.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [10:03] <Philip`> Is it a 30-foot dinosaur robot that eats cars?
- # [10:03] <mpilgrim> no, it's one of these: http://www.ftrain.com/robot_exclusion_protocol.html
- # [10:03] <Dashiva> Does it destroy humanity?
- # [10:03] <Philip`> If not, it hardly seems worth bothering
- # [10:05] * Joins: philipj (n=philipj@pat.se.opera.com)
- # [10:05] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [10:07] <hsivonen> what was the right OS X incantation to do a resource fork-safe copy of a directory in such a way that symlinks get replaced with concrete copies?
- # [10:12] <Mrmil> Is it normal to release a new version of a software when the development hasn't been finished yet? I just love to fix things 3 times rather than once.
- # [10:17] <hsivonen> Mrmil: software development is never finished
- # [10:19] <Mrmil> hsivonen: talk about fighting with entropy
- # [10:20] <Dashiva> It's not even entropy, it's a malicious agent
- # [10:32] * Quits: webben (n=benh@91.85.199.213) (Read error: 110 (Connection timed out))
- # [10:37] <MikeSmith> hsivonen: so <link rel="icon" href="surfin-safari.icns" sizes="32x32"> validates, but <link rel="icon" href="surfin-safari.icns" sizes="32x32 64x64"> does not
- # [10:37] <MikeSmith> it's not actually allowing a list, only a single token
- # [10:39] <MikeSmith> the schema defines the value of sizes as 'list { xsd:string { pattern = "[1-9][0-9]*x[1-9][0-9]*" }'
- # [10:42] <MikeSmith> maybe a jing bug?
- # [10:46] <roc> the best way to do version checking is to only provide an API that does IsVersionGreaterThanOrEqualTo(version)
- # [10:47] * Joins: pauld (n=pauld@194.102.13.6)
- # [10:49] <annevk42> actually, I'm speccing sync XHR to not have any side effects either
- # [10:49] <annevk42> I mean, that scripts cannot run
- # [10:50] <Dashiva> roc: What's the datatype of version?
- # [10:51] <roc> I don't think it matters too much
- # [10:52] <roc> a single int into which you pack major/minor is probably OK
- # [10:53] <Hixie> annevk42: if sync xhr has no network-based side-effects, it's a pretty useless networking api :-P
- # [10:53] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [10:54] <annevk42> meh, I mean that when send() is invoked the event loop is taken out of the loop
- # [10:54] <annevk42> until all is done
- # [10:54] <annevk42> (or exception is thrown, blah)
- # [10:54] * Parts: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [10:54] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [10:54] <annevk42> I'm working on defining this in terms of the event loop
- # [10:55] <annevk42> It's been very annoying so far though also interesting
- # [10:55] * Joins: webben (n=benh@217.12.14.240)
- # [10:57] * Joins: shepazu (n=schepers@c-71-202-124-114.hsd1.ca.comcast.net)
- # [10:57] <Hixie> annevk42: sounds exactly like what implementors have said about it :-)
- # [10:57] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:57] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [10:58] * Quits: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [11:03] <roc> no, I think it's only annoying
- # [11:06] <annevk42> I wonder if we could've done it a bit more abstractly
- # [11:06] <annevk42> Like "run the following steps synchronously" and "queue a task for these steps and run them whenever what is running runs to completion"
- # [11:10] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [11:10] <ap> annevk42: defining abstract expectations would be more desirable than describing algorithms in pseudo-code, in my opinion
- # [11:11] <ap> annevk42: one often cannot even compare the pseudo-code with actual implementation - e.g. if the actual implementation of event loop is closed source
- # [11:12] <annevk42> it also seems mightily hard to write tests against
- # [11:12] <jgraham> My rather biased view is that making it easy to write tests is more important than having the spec map closely onto the implementation
- # [11:13] * othermaciej fails at sleeping again
- # [11:13] <annevk42> othermaciej, I have a similar issue
- # [11:13] <annevk42> (though today it was because I was woken up early by someone coming by to fix something)
- # [11:14] <othermaciej> annevk42: are you in a time zone where you are supposed to be asleep?
- # [11:14] <roc> I don't think anyone's arguing that writing psuedo-code algorithms is good because it maps closely to implementations
- # [11:14] <annevk42> othermaciej, not anymore :)
- # [11:14] <othermaciej> sometimes pseudo-code can define things more unambiguously
- # [11:14] <othermaciej> but it can also be hard to figure out what the consequences are for a practical implementation
- # [11:14] <othermaciej> Workers is an example of where this goes bad IMO
- # [11:14] <annevk42> <input iprof>: http://bulknews.typepad.com/blog/2009/05/another-way-to-autofill-your-profile-in-html-forms.html
- # [11:15] <othermaciej> it's very breezy about concurrency isues
- # [11:15] <othermaciej> and as a result ends up requiring crazy things for practical implementations
- # [11:15] <othermaciej> (of course, that's not in the HTML5 spec as such)
- # [11:16] * zcorpan finds http://www.w3.org/2009/04/video-player.xhtml
- # [11:16] <roc> to be fair, writing specs for things involving concurrency is very hard no matter how you do it
- # [11:16] <othermaciej> that is true
- # [11:17] <othermaciej> it's very easy to require things that are unimplementable or unbelievably hard to implement
- # [11:17] <othermaciej> it's also easy to state requirements that are unsound and end up having race conditions
- # [11:17] <zcorpan> i wonder who wrote the video-player.xhtml demo
- # [11:17] <roc> it's pretty cool
- # [11:18] <Philip`> http://lists.w3.org/Archives/Public/public-pfwg-comments/2009AprJun/0085.html
- # [11:18] <zcorpan> thanks Philip`
- # [11:18] * Philip` thanks Google
- # [11:19] <roc> I'm glad they're enjoying the video element, I just hope they don't ask us to implement DFXP
- # [11:21] <othermaciej> video-player.xhtml is indeed neat
- # [11:21] <othermaciej> what is DFXP?
- # [11:21] <Hixie> annevk42: "whenever what is running runs to completion" doesn't work because it doesn't define ordering of async events
- # [11:22] <Hixie> annevk42: and we can't just say that that things fire in the order the fire, because certain things get priority (hence the multiple task sources)
- # [11:22] <MikeSmith> roc: btw, do you know if there's been any new news about the 'Accelerated 3D on the Web' work at Khronos?
- # [11:23] <Hixie> othermaciej: btw i just made a number of changes to workers to hopefully reduce that (though that wasn't the main goal of the changes, the main goal was reducing cross-thread reachability tests)
- # [11:23] * Joins: webben_ (n=benh@nat/yahoo/x-ffeddb8baef9c41c)
- # [11:25] <zcorpan> "This will never work on Internet Explorer" - http://www.dailymotion.com/openvideodemo
- # [11:25] <roc> othermaciej: W3C Timed Text, some giant bloated thing IIRC
- # [11:25] <roc> MikeSmith: there may be, but I'm not involved
- # [11:30] <annevk42> Hixie, but the priority is up to the UA
- # [11:31] <annevk42> Hixie, so we could just say they go in a bucket or some such
- # [11:31] <Hixie> annevk42: no, because some things have to happen in order
- # [11:31] <Hixie> relative to each other
- # [11:31] <Hixie> but not necessarily relative to others
- # [11:32] <annevk42> hmm yeah
- # [11:32] <Hixie> also, we have to define that inactive documents don't run their tasks
- # [11:32] <Hixie> and we have to define when the storage mutex is released
- # [11:32] <Hixie> and we have to define when rendering happens relative to task processing
- # [11:33] <Hixie> i just don't know how to do all this without using algorithms
- # [11:33] <annevk42> we should write this list down somewhere
- # [11:33] <Hixie> it's all already specified :-)
- # [11:33] <annevk42> I'll make a wiki page
- # [11:33] <Hixie> i have just been reading straight out of the html5 event loop description
- # [11:33] <annevk42> a definition is not a list of requirements
- # [11:34] <Hixie> the spec already meets these requirements as far as i can tell
- # [11:34] * Joins: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [11:34] * Quits: webben (n=benh@217.12.14.240) (Read error: 110 (Connection timed out))
- # [11:34] <annevk42> sure, but this is easier to understand than the spec :)
- # [11:36] * Joins: ciaran_lee (n=ciaran_l@83-70-243-34-dynamic.b-ras1.prp.dublin.eircom.net)
- # [11:37] <annevk42> hmm nm
- # [11:37] <annevk42> writing it down doesn't make it look like anything useful
- # [11:38] * Joins: dave_levin_ (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [11:40] * Quits: dave_levin (n=dave_lev@72.14.224.1) (Read error: 60 (Operation timed out))
- # [11:41] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
- # [11:42] <Hixie> annevk42: just saying "we must define when bla happens" isn't useful, indeed :-)
- # [11:42] <Hixie> (at least, not once we've defined it)
- # [11:42] <Hixie> i mean, you probably could come up with some complicated non-algorithmic description
- # [11:42] <Hixie> but it'd almost certainly be far less clear
- # [11:42] * Quits: dave_levin_ (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Client Quit)
- # [11:42] <Hixie> i haven't been able to come up with clear non-algorithmic descriptions for these things
- # [11:43] * Joins: gavin (n=gavin@firefox/developer/gavin)
- # [11:43] <annevk42> "Google Chrome now supports the video tag."
- # [11:44] <annevk42> I was hoping for more information than that :)
- # [11:44] * Joins: broquaint (i=a6beb1ce@spc1-brig11-0-0-cust544.asfd.broadband.ntl.com)
- # [11:45] <othermaciej_> last I heard, it did not work when markpilgrim tried it
- # [11:45] * Quits: pauld (n=pauld@194.102.13.6) (Read error: 104 (Connection reset by peer))
- # [11:45] * zcorpan adds the mentioned demos to the spec's annotation box for <video>
- # [11:46] <othermaciej_> and I don't see any code in the public WebKit tree for a chromium back end for <video>
- # [11:46] * Joins: pauld (n=pauld@194.102.13.6)
- # [11:47] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Nick collision from services.)
- # [11:47] * othermaciej_ is now known as othermaciej
- # [11:49] <annevk42> othermaciej_, http://googlechromereleases.blogspot.com/2009/05/dev-channel-release-301822.html
- # [11:49] <annevk42> othermaciej_, seems they use FFmpeg
- # [11:57] <othermaciej> I wonder if their video stuff is just not submitted yet
- # [11:57] <annevk42> It's also not in the actual release notes: http://sites.google.com/a/chromium.org/dev/getting-involved/dev-channel/release-notes/301822
- # [11:58] * Joins: drostie (n=hopkins@5ED17066.cable.ziggo.nl)
- # [11:58] <annevk42> oh, but something is in: http://sites.google.com/a/chromium.org/dev/getting-involved/dev-channel/release-notes/201800
- # [12:00] <annevk42> Hixie, do you know anything about license story and if there's more info somewhere about <video> and Chomium/Chrome?
- # [12:02] <othermaciej> hmm I see only the faintest trace of a Chromium media engine in the WebKit tree
- # [12:03] <othermaciej> will have to ask some Chromium folks when they are around
- # [12:08] <hsivonen> MikeSmith: on the surface, the sizes thing sure looks like a Jing bug
- # [12:09] <hsivonen> MikeSmith: oops. I think you need to have a quantifier for the datatype
- # [12:09] <hsivonen> MikeSmith: so not a Jing bug
- # [12:14] <annevk42> http://www.ffmpeg.org/legal.html makes it look very dodgy
- # [12:14] <annevk42> guess the next question is whether MPEG-LA is in contact with Google
- # [12:15] * Quits: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [12:16] <roc> this is something I am very curious about
- # [12:17] <hsivonen> MikeSmith: fix being deployed
- # [12:17] <hsivonen> annevk42: MPEG-LA deal would explain use on server without ever distributing it, but the case of distributing it is interesting
- # [12:18] <hsivonen> annevk42: (L)GPL considered
- # [12:18] <hsivonen> annevk42: I can see how they could wiggle around Apache License 2 for Android
- # [12:19] <annevk42> so what exactly is the deal with the licenses? they're not compatible?
- # [12:20] * Joins: webben (n=benh@217.12.14.240)
- # [12:21] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Read error: 110 (Connection timed out))
- # [12:21] <jgraham> Isn't the problem just that the LGPL bits have to remain open source yet there will be a patent licensing fee associated with distributing them. Which causes interesting issues
- # [12:22] <hsivonen> annevk42: see section 11 of http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
- # [12:24] <roc> if Google has arranged H.264 patent licensing for all users of ffmpeg, that would be a neat solution to the codec problem
- # [12:25] * Joins: maikmerten (n=merten@vp-c-69.cs.uni-dortmund.de)
- # [12:25] <annevk42> hsivonen, wow
- # [12:27] <jgraham> roc: I'm not sure how that would work without making the ffmpeg patents worthless
- # [12:27] <roc> you mean the H.264 patents
- # [12:27] <roc> but yes
- # [12:27] <Mrmil> Doesn anybody know how to make HTML 5 work in IE? Bruce Lawson pointed out this script http://remysharp.com/2009/01/07/html5-enabling-script/ but I thought I'd ask here to make sure.
- # [12:27] <roc> it's hard to see the MPEG LA agreeing to that
- # [12:27] <jgraham> yeah I did mean that
- # [12:28] * Parts: olliej (n=oliver@17.203.15.206)
- # [12:29] <roc> there are possible alternatives, like Google isn't actually using ffmpeg's H.264 implementation, but it's useless to speculate. We should just wait and see
- # [12:29] <annevk42> so this basically means all browsers can ship FFmpeg if Google is shipping a complete version
- # [12:29] <annevk42> fascinating
- # [12:30] <annevk42> (quite brutal license terms too)
- # [12:30] <jgraham> It it fun to speculate wildly. Maybe we can start a rumour that Google bought all the patents
- # [12:30] <zcorpan> then google will sue microsoft when they ship <video> support in IE11
- # [12:31] <othermaciej> Hixie: is this one of the changes you made for Worker lifecycle?
- # [12:31] <othermaciej> "User agents must either act as if MessagePort objects have a strong reference to their entangled MessagePort object or as if each MessagePort object's owner has a strong reference to the MessagePort object."
- # [12:31] <roc> Maybe they replaced the MPEG LA board with Cyclons
- # [12:31] <othermaciej> (I failed to notice the second clause initially and was writing a reply.)
- # [12:32] <jgraham> If someone would only twwitter one or more of these things as the "big Keynote announcement"...
- # [12:35] * Quits: webben_ (n=benh@nat/yahoo/x-ffeddb8baef9c41c) (Read error: 113 (No route to host))
- # [12:36] * Joins: doublec (n=doublec@118-92-217-66.dsl.dyn.ihug.co.nz)
- # [12:36] <annevk42> zcorpan, how could Google do that?
- # [12:38] * Joins: itpastorn (n=itpastor@82.99.1.179)
- # [12:38] * Joins: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [12:38] * Joins: ZombieLoffe (n=e@unaffiliated/zombieloffe)
- # [12:39] <zcorpan> annevk42: no idea, just wild speculation
- # [12:47] <MikeSmith> hsivonen: thanks
- # [12:47] * zcorpan wonders whether gsnedders' outliner should be added to http://validator.whatwg.org/
- # [12:48] <MikeSmith> I didn't realize list{} could even have a quantifier
- # [12:48] <jgraham> Having an outliner as part of validator.nu would rock
- # [12:48] <MikeSmith> oh
- # [12:49] <MikeSmith> hsivonen: sorry, I was confused
- # [12:49] <MikeSmith> I see the quantifier is on the pattern
- # [12:49] <zcorpan> jgraham: yes
- # [12:50] <MikeSmith> hsivonen: I thought list{} by itself meant "one or more"
- # [12:51] <zcorpan> maybe RELAX NG should be changed to match expectations better
- # [12:52] <zcorpan> send feedback to OASIS
- # [12:52] <MikeSmith> heh
- # [12:53] <MikeSmith> zcorpan: (assuming you meant that sarcastically)
- # [12:53] <annevk42> hmm, http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/ffmpeg/README.chromium
- # [12:54] <annevk42> "Example configure flags suitable for Chromium (Ogg+Theora+Vorbis)"
- # [12:54] <zcorpan> MikeSmith: i wasn't sarcastic
- # [12:54] <MikeSmith> oh
- # [12:54] * Joins: tndH (n=Rob@james-baillie-pc083-229.student-halls.leeds.ac.uk)
- # [12:54] <zcorpan> MikeSmith: relax ng is intended to be free of surprises like these
- # [12:55] <zcorpan> see http://www.imc.org/ietf-xml-use/mail-archive/msg00217.html
- # [12:56] <MikeSmith> I see. well, OASIS has not had anything to do with RELAX NG for a long time. And had next to nothing to do with it to begin with. James just picked OASIS for convenience, because he needed somewhere
- # [12:56] <MikeSmith> and taking it to W3C did not seem to be an option
- # [12:56] <zcorpan> MikeSmith: ok, send feedback to James :)
- # [12:56] <MikeSmith> I was actually on the RELAXNG TC when it was formed
- # [12:57] <MikeSmith> zcorpan: its home is at ISO now, fwiw
- # [12:57] <zcorpan> MikeSmith: as well as OASIS, i think?
- # [12:57] <MikeSmith> nominally
- # [12:57] <MikeSmith> only
- # [12:58] * Joins: myakura (n=myakura@p3087-ipbf6705marunouchi.tokyo.ocn.ne.jp)
- # [12:59] <zcorpan> http://www.imc.org/ietf-xml-use/mail-archive/msg00247.html
- # [13:10] <hsivonen> haha. the ISO version is more than "a little" harder to read
- # [13:10] <hsivonen> the ISO version is only suitable as a reference for people who already know what the spec says
- # [13:11] <myakura> should the W3C version of HTML5 be a little harder, too?
- # [13:11] <itpastorn> This discussion might be of interest: http://www.sitepoint.com/blogs/2009/05/26/html-5-now-or-never/
- # [13:13] <hsivonen> myakura: it's not impossible that that's what's going to happen :-/
- # [13:13] <myakura> hsivonen: yeah :(
- # [13:13] <hsivonen> myakura: oh, and it already lacks the scripted readability features
- # [13:13] <hsivonen> myakura: so we are already there :-(
- # [13:14] <zcorpan> would be nice with a sitepoint book about canvas (and svg, too, probably, so that people don't use canvas for cases where svg is more appropriate)
- # [13:16] <zcorpan> "SVG still doesn’t feel like it has arrived on today’s web, especially in mobile browsers; on the other hand, canvas is already available in a handful of mobile and most desktop browsers"
- # [13:16] <zcorpan> seems not quite correct - i think a number of mobiles gained support for svg before canvas and desktop browsers were implementing svg at the same time as canvas
- # [13:17] <hsivonen> Aren't both SVG and canvas in Fennec, Mobile Safari and Opera Mini?
- # [13:17] <hsivonen> zcorpan: which mobile browser that is suitable for browsing the Web had SVG before <canvas>?
- # [13:17] <annevk42> itpastorn, lots of FUD there
- # [13:18] <zcorpan> hsivonen: not sure if there was any that was suitable for browsing the web
- # [13:18] <annevk42> e.g. "Anything can happen before HTML5 becomes a stable candidate recommendation." -- clearly that's true, but for a lot of things it's highly unlikely
- # [13:19] <zcorpan> hsivonen: maybe at one point opera had a partial svg implementation but no canvas :)
- # [13:19] <annevk42> when did we add <canvas>?
- # [13:19] <annevk42> we had SVG in Opera 8
- # [13:19] * Quits: webben (n=benh@217.12.14.240) (Read error: 110 (Connection timed out))
- # [13:20] <hsivonen> annevk42: I'm pretty sure you didn't on mobile
- # [13:20] * hsivonen launches Opera 8.65 on S60
- # [13:20] <zcorpan> annevk2: i think <canvas> was opera 9
- # [13:21] * roc wonders why on earth someone from Nokia is building Firefox for the Playstation 3
- # [13:21] <annevk42> prolly because the default browser is crap
- # [13:21] <hsivonen> roc: why not? the default browser isn't nice
- # [13:22] <hsivonen> annevk42: no SVG in Opera 8.65 on S60r3.1 on intertwingly.net
- # [13:22] <roc> what is the default browser?
- # [13:22] <hsivonen> annevk42: I do see the SVG in Mini
- # [13:22] <hsivonen> roc: NetFront, I assume
- # [13:22] <jgraham> Hehe those sitepoint comments are funny
- # [13:22] <jgraham> Now is a _good_ time for a HTML5 book
- # [13:22] <annevk42> mkay, might be that it was not good enough for mobiles yet
- # [13:23] * Joins: heycam (n=cam@210-84-19-113.dyn.iinet.net.au)
- # [13:23] <jgraham> It is no more subject to change than, say, Rails and there is a whole book _industry_ built around that
- # [13:23] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
- # [13:24] <jgraham> Plus whoever wites a good book now gets to influence how people think about HTML 5 in the future
- # [13:24] <hsivonen> annevk42: it could also be that Opera 8.65 sends headers that lead to me getting the wrong mime type
- # [13:24] <othermaciej> the parts of HTML 5 that are already widely implemented probably won't change very much
- # [13:24] <zcorpan> "Microformats have a low barrier to entry, build on existing semantics and offer far more useful opportunities today, in 2009, than HTML 5." - i wonder what those useful opportunities are
- # [13:24] <othermaciej> although it's not until they are widely used that it moves from "unlikely" to "near impossible"
- # [13:25] <othermaciej> I think only <canvas> is past that threshold of use
- # [13:25] <roc> I think localStorage is further ahead actually
- # [13:25] * Joins: Lachy (n=Lachy@pat-tdc.opera.com)
- # [13:25] <roc> at least it has IE8 support
- # [13:25] <jgraham> Doing a book about the features like <canvas>, databases, video, storage, etc. seems quite reasonable
- # [13:26] <hsivonen> annevk42: SVG not supported even by navigating directly to the tiger
- # [13:26] * jgraham likes Shelly's comment "It exists whether you’re using HTML5 or not.", without mentioning that the same is true of every other HTML5 feature
- # [13:26] <annevk42> hsivonen, thanks for testing
- # [13:27] * hsivonen wonders if Opera for S60 is a discontinued product and whether it's worthwhile to file bugs
- # [13:27] <jgraham> (it was in relation to <canvas> which I guess she covers in "Paining the Web")
- # [13:27] <othermaciej> good point
- # [13:27] * gsnedders still isn't used to seeing the Opera icon in his dock where he's used to seeing Safari
- # [13:29] <jgraham> gsnedders: Put it somewhere else in the dock then?
- # [13:29] <gsnedders> Then it isn't where I instinctively click for a web browser :P
- # [13:29] <hsivonen> annevk42: see SRS60-3775 about request header issues
- # [13:30] * zcorpan has his browsers side-by-side in the dock
- # [13:30] * gsnedders is very selective about what goes in his dock
- # [13:31] * jgraham needs all his browsers in the dock
- # [13:31] <zcorpan> what do you have? Finder, Opera, Trash?
- # [13:31] * annevk42 almost never uses the dock
- # [13:31] <jgraham> Although Firefox removes itself for some reason
- # [13:31] * annevk42 always searches for applications and hits enter
- # [13:31] * Joins: itpastorn (n=itpastor@82.99.1.179)
- # [13:31] <jgraham> annevk42: Quicksilver?
- # [13:31] <gsnedders> zcorpan: Finder, System Preferences, Mail, Adium, Opera, Colloquy, Transmit, SubEthaEdit, iTunes, Terminal, Trash
- # [13:31] <zcorpan> jgraham: have you checked "Keep in Dock" in the context menu?
- # [13:31] <annevk42> the search bar in the top right
- # [13:31] <jgraham> zcorpan: yes
- # [13:32] <zcorpan> jgraham: weird
- # [13:32] <jgraham> annevk42: Oh, I'm glad I'm not the only one
- # [13:32] <jgraham> zcorpan: (I think it is after it updates)
- # [13:32] <zcorpan> ah
- # [13:32] <gsnedders> Spotlight is quick enough to be used like that in 10.5
- # [13:32] <hsivonen> gsnedders: it a kind of FAIL for OS X pref design that users need to keep System Prefs in the Dock
- # [13:32] <zcorpan> minefield stays in dock for me despite updates
- # [13:32] <hsivonen> (I have it there, too.)
- # [13:32] <gsnedders> hsivonen: They don't really at all
- # [13:33] <jgraham> (In unrelated non-news the applications folder is a really really difficult way to find applications)
- # [13:33] <gsnedders> hsivonen: It's in the Apple menu :P
- # [13:33] <gsnedders> jgraham: Um, just start typing the application name to go to that point in the list of files?
- # [13:33] <gsnedders> I guess that doesn't work if you use icons
- # [13:33] <annevk42> usually you only need like two or three letters
- # [13:33] <annevk42> very nice
- # [13:34] <jgraham> gsnedders: It doesn't organise itself in any nice way. Also I never worked out how to execute things using the keyboard
- # [13:34] <jgraham> And it is hard to find the folder
- # [13:34] <gsnedders> jgraham: Cmd+O?
- # [13:34] <jgraham> (like you have to find a finder window and then navigate to the applications folder)
- # [13:35] <gsnedders> jgraham: Keep it in the dock?
- # [13:35] <jgraham> gsnedders: Oh OK. It ill never replace enter in my muscle memory though
- # [13:36] <jgraham> gsnedders: I could do. But it feels like I am trying to fight the system (it is much easier to just use spotlight for everything)
- # [13:36] <gsnedders> Indeed.
- # [13:36] <zcorpan> i wonder why os x uses cmd+o instead of enter
- # [13:36] <gsnedders> zcorpan: Legacy
- # [13:37] <gsnedders> (Classic did)
- # [13:37] * gsnedders wonders what NeXTSTEP did
- # [13:37] <jgraham> gsnedders: That should so have been changed. It is just insane to have that one part of the UI inconsistent with everything else on the system
- # [13:38] <zcorpan> i don't see why they can't change it now
- # [13:38] <gsnedders> jgraham: It is consistent. Cmd+O always opens stuff!
- # [13:38] <zcorpan> they could have cmd+o and enter both open, and mint a new shortcut for rename
- # [13:38] <jgraham> gsnedders: Enter always executes actions (except when it renames files)
- # [13:39] <jgraham> Plus renaming files is a really rare activity and so it makes no sense whatsoever to bind it to the most prominent key on the keyboard
- # [13:39] <zcorpan> e.g. cmd+enter for rename
- # [13:39] <jgraham> And Apple have UI people who understand that
- # [13:40] <gsnedders> Heck, until OS X, cmd+n was new folder
- # [13:40] * Joins: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au)
- # [13:42] <othermaciej> I find "enter" for rename to be kind of weird
- # [13:42] <zcorpan> another thing that annoys me is that os x is hard to use with just keyboard. e.g. if i get a dialog and want something else than the default button
- # [13:42] <othermaciej> even after using Mac for 8 years now...
- # [13:43] <annevk42> yeah, that sucks
- # [13:43] <othermaciej> zcorpan: if you turn on "full keyboard access" it's easier to use with just the keyboard
- # [13:43] <hsivonen> IIRC, the enter thing came along after System 6.0.7 and in 7.5 at the latest
- # [13:43] <hsivonen> othermaciej: easier but still harder than Windows or Gnome
- # [13:43] <zcorpan> othermaciej: interesting
- # [13:44] <hsivonen> at one point, I considered swithing to Ubuntu for development in order to get better keyboardability in Eclipse
- # [13:44] <othermaciej> that makes tab cycle through every control, even ones you don't normally type in
- # [13:44] <othermaciej> (OS X default is that tab only cycles through controls that are interesting typing targets)
- # [13:44] <jgraham> othermaciej: It doesn't consider dropdowns to be interesting typing targets, right?
- # [13:44] <gsnedders> hsivonen: It's in 7.0, I'm pretty sure
- # [13:45] <zcorpan> othermaciej: thanks
- # [13:45] <hsivonen> there's something apple got right about keyboardability: in Cancel, OK dialogs, Cancel is focused by default and OK is the default button, so both have keyboard equivs without moving focus
- # [13:45] <othermaciej> we try to avoid dialogs that literally say [Cancel] [OK]
- # [13:46] <hsivonen> othermaciej: my keyboard-related point stands, though
- # [13:46] <othermaciej> but anyway, Esc is always an equivalent for cancel in dialogs on Mac
- # [13:46] <zcorpan> it's still hard to discover which keys to press if you don't want to tab to where you want
- # [13:46] <othermaciej> regardless of full keyboard focus
- # [13:46] <Rik|work> is there a way to go to the last item of a directory in the finder ?
- # [13:46] <zcorpan> in windows, when i press alt, the shortcut keys get underlined
- # [13:47] <othermaciej> zcorpan: most apps don't have keyboard shortcuts to focus specific controls
- # [13:47] <othermaciej> (Safari is the main exception I can think of)
- # [13:48] <hsivonen> I wonder if I should bother to analyze what pages that are slower with the HTML5 parser have in common...
- # [13:48] <hsivonen> even if things average out in favor of HTML5
- # [13:48] <hsivonen> perhaps I should...
- # [13:48] <jgraham> hsivonen: That sounds very interesting
- # [13:48] <hsivonen> more immediate benchmarking issues to address, though
- # [13:49] <hsivonen> for example, www.sun.com is worse with HTML5 but www.spiegel.de is better
- # [13:49] <zcorpan> othermaciej: some things have shortcuts (like buttons in a dialog) but no indicators as to what they are. also, i have no idea how to go to the menu bar at the top with the keyboard
- # [13:50] * Joins: webben (n=benh@nat/yahoo/x-b490ca231b77ad64)
- # [13:50] <othermaciej> there is a way, though I am not sure what it is
- # [13:50] <othermaciej> hsivonen: might be interesting to find if any error handling is kicking in
- # [13:51] <hsivonen> othermaciej: indeed.
- # [13:51] <othermaciej> zcorpan: this may help: http://support.apple.com/kb/HT1343
- # [13:52] <hsivonen> looks like the HTML5 spec is unusually biased towards spending time in selector matching compared to Alexa top sites
- # [13:52] <othermaciej> it mentions that you can use Ctrl-F2 to focus the menu bar
- # [13:52] <othermaciej> Ctrl-F3 to focus the dock, which I did not even know was possible
- # [13:53] <othermaciej> the HTML5 spec uses some horrible selectors that are painful to compute
- # [13:53] <othermaciej> I recall Hyatt ranting about it a lot
- # [13:53] * Quits: MikeSmith (n=MikeSmit@EM114-48-211-248.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [13:55] <zcorpan> othermaciej: thanks. (i have to press fn too)
- # [13:55] <zcorpan> wonder if there's a way to flip the fn modifier
- # [13:56] <webben> Hixie: http://www.whatwg.org/specs/web-apps/current-work/#refsRFC3986 ... that reference seems broke
- # [13:56] <annevk42> zcorpan, how is Web DOM Core going?
- # [13:56] <othermaciej> zcorpan: there is
- # [13:56] <webben> oh i see, missing section, nm :)
- # [13:56] <annevk42> zcorpan, would be nice to have a more realistic DOM spec to reference in specs
- # [13:57] <zcorpan> othermaciej: found it
- # [13:57] <othermaciej> zcorpan: in the "Keyboard" tab in the "Keyboard and Mouse" pane of System Preferences
- # [13:57] <othermaciej> there you go
- # [13:57] <zcorpan> thanks :)
- # [13:58] <zcorpan> annevk2: haven't done much on it lately
- # [14:01] <gsnedders> hsivonen: Where are up-to-date builds of HTML5 Fx
- # [14:01] <annevk42> zcorpan, any chance I can convince you to finish it?
- # [14:02] <hsivonen> gsnedders: not available. sorry.
- # [14:02] <othermaciej> Web DOM Core is definitely a good idea
- # [14:02] <hsivonen> gsnedders: I've been stuck with this Tp issue.
- # [14:02] <othermaciej> wonder what the odds are of Web API WG being willing to publish it
- # [14:02] <othermaciej> Web DOM Events would also be good
- # [14:03] <gsnedders> hsivonen: k
- # [14:03] <zcorpan> annevk42: i'm intending to finish it, it's just priorities
- # [14:04] <zcorpan> i should also be doing it in some working group, but i blame chaals for that
- # [14:04] <annevk42> yeah, Web DOM Events would be neat
- # [14:05] <annevk42> DOM 3 Events seems to be going nowhere :/
- # [14:09] <Dashiva> Did lastweek change subtitle?
- # [14:11] * Quits: maikmerten (n=merten@vp-c-69.cs.uni-dortmund.de) (Read error: 104 (Connection reset by peer))
- # [14:21] * Quits: doublec (n=doublec@118-92-217-66.dsl.dyn.ihug.co.nz) ("Leaving")
- # [14:21] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [14:28] <gsnedders> Is it bad my compulsive response to finding a broken website is to create a minimal test-case?
- # [14:28] <annevk42> it's good if you wanna get employed as QA person :p
- # [14:28] <gsnedders> :P
- # [14:30] * gsnedders returns to reporting bug on Opera :P
- # [14:30] * annevk42 finds http://code.google.com/p/chromium/issues/detail?id=4363
- # [14:31] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
- # [14:34] * Joins: askara (i=d4ea26bc@gateway/web/ajax/mibbit.com/x-2fd946eeb682cd57)
- # [14:34] <askara> hi
- # [14:39] * Joins: itpastorn (n=itpastor@82.99.1.179)
- # [14:42] <zcorpan> itpastorn: "Stuff in the spec that is seeing wide implementation can be seen as very unlikely to be changed in any fundamental way, as is stuff that has been part of the spec for a long time. I.e. <aside> is robust, <hgroup> is not." - i think any feature is not robust until it's implemented
- # [14:43] <zcorpan> itpastorn: so <aside> is not robust and might well be dropped or changed in response to implementation experience
- # [14:43] <zcorpan> itpastorn: despite having been unchanged in the spec for years
- # [14:45] <zcorpan> itpastorn: and actually, even after it has been implemented, it can still change in incompatible ways, if it's just implemented in one browser or not widely deployed yet
- # [14:45] <zcorpan> itpastorn: e.g. <event-source>
- # [14:47] <itpastorn> zcorpan: I hear you, but can't respond in detail (In a meeting with Skolverket!)
- # [14:48] * Quits: Madness (n=petal@85.20.140.167) ("is this needed?")
- # [14:49] <annevk42> stable ≈ two implementations + reasonable deployment
- # [14:51] * Quits: kinetik (n=kinetik@121.98.132.55) (Read error: 110 (Connection timed out))
- # [14:54] * Joins: theMadness (n=petal@85.20.140.167)
- # [14:54] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-2e34daff4c7511f6)
- # [14:54] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Ex-Chat")
- # [14:55] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [14:59] * Joins: kinetik (n=kinetik@121.98.132.55)
- # [14:59] * Joins: MikeSmith (n=MikeSmit@EM114-48-114-241.pool.e-mobile.ne.jp)
- # [15:03] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Remote closed the connection)
- # [15:05] * Joins: virtuelv (n=virtuelv@213.236.208.247)
- # [15:10] <gsnedders> Hixie: Can I send you a suggestion for one thing I want in Acid4?
- # [15:10] <gsnedders> Or is doing so futile?
- # [15:12] * Quits: philipj (n=philipj@pat.se.opera.com) (Read error: 110 (Connection timed out))
- # [15:13] <zcorpan> xml core wg process http://www.w3.org/mid/CF83BAA719FD2C439D25CBB1C9D1D3020FC70A20@HQ-MAIL4.ptcnet.ptc.com
- # [15:16] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [15:18] * Joins: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com)
- # [15:19] * Joins: kinetik_ (n=kinetik@121.98.132.55)
- # [15:21] * Joins: mat_t_ (n=mattomas@conference/ubuntu-developer-summit/x-238546ebd65133d2)
- # [15:21] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-2e34daff4c7511f6) (Read error: 113 (No route to host))
- # [15:21] <annevk42> so bikesheds is actually from http://en.wikipedia.org/wiki/Parkinson's_Law_of_Triviality
- # [15:24] * Joins: hdh (n=hdh@58.187.202.233)
- # [15:24] * Joins: billyjackass (n=MikeSmit@EM114-48-181-250.pool.e-mobile.ne.jp)
- # [15:25] * Joins: philipj (n=philipj@pat.se.opera.com)
- # [15:28] <Mrmil> html5 is like jquery - write less & do more *bloody happy face*
- # [15:29] * Quits: kinetik (n=kinetik@121.98.132.55) (Read error: 110 (Connection timed out))
- # [15:35] <hsivonen> lack of interop: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/120
- # [15:35] * Quits: webben (n=benh@nat/yahoo/x-b490ca231b77ad64) (Read error: 60 (Operation timed out))
- # [15:36] <hsivonen> Hixie: could you please add the IE-specific header to disable the XSS protection on Live DOM Viewer?
- # [15:40] * Quits: MikeSmith (n=MikeSmit@EM114-48-114-241.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [15:41] * billyjackass is now known as MikeSmith
- # [15:42] <krijnh> Mrmil: totally agreed! :)
- # [15:43] <Mrmil> krijnh: hehe :) I really look forward to using the new form elements
- # [15:44] <krijnh> Why don't you already?
- # [15:44] <krijnh> All those 0.5% Opera users will benefit :)
- # [15:45] * Quits: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl) (Remote closed the connection)
- # [15:46] * Joins: webben (n=benh@nat/yahoo/x-619d0d20a51be82b)
- # [15:46] * Joins: wakaba (n=wakaba@EM114-51-154-142.pool.e-mobile.ne.jp)
- # [15:46] * Joins: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [15:47] <Mrmil> krijnh: Well, my own blog is very simple and written in ruby on rails, it doesn't have comments and the back-end is also very simple so there was no need for them yet. I'll do it when I get to implement more features :)
- # [15:51] * Joins: taf2 (n=taf2@38.99.201.242)
- # [15:53] * Quits: taf2 (n=taf2@38.99.201.242) (Read error: 104 (Connection reset by peer))
- # [15:54] <Lachy> hsivonen, what negative effects, if any, does sniffing the first 1024 bytes instead of 512 for encoding detection have? Does it affect performance in any significant way?
- # [15:55] <Lachy> I'm curious, at what point do the negative effects of sniffing more characters outweigh the benefits of doing so?
- # [15:55] <Philip`> It affects performance significantly if that's two packets rather than one
- # [15:56] <jgraham> I'm not sure that Philip`'s graph indicates that 512 bytes is past the point of diminishing returns
- # [15:56] <hsivonen> Lachy: I haven't measured the effect, but intuitively, what Philip` says makes sense
- # [15:56] <Philip`> Someone should measure the average HTTP response header size
- # [15:56] <jgraham> It indicates a knee in the curve before that but it's a totally different thing
- # [15:56] <Lachy> sure, but if the algorithm can stop as soon as it's found the encoding, then in ~80% of the cases it would stop before 512 bytes anyway, wouldn't it?
- # [15:56] <Philip`> and subtract from the average size of a TCP packet
- # [15:57] <jgraham> because the point of diminishing returns only comes when adding more bytes has a disadvantage that outweighs the advantage
- # [15:58] <jgraham> I would guess that having to switch the character encoding for 1 page in 5 would be rather expensive
- # [15:58] <jgraham> 1 page in 10 (512 bytes) might give better average performance
- # [15:58] <jgraham> s/512/1024/
- # [16:00] * ap hopes that WebKit will never have to implement that evil encoding switching thing
- # [16:00] <Lachy> I guess those stats from phillip are a little misleading anyway, cause they say nothing about the popularity of the sites affected. I mean, if the extra 10% of pages the get sniffed properly, are pages that virtually no-one ever looks at, then it's not really much benefit in supporting them better
- # [16:01] <ap> pages that only people with matching default encoding look at are also unimportant for this comparison
- # [16:02] <jgraham> Lachy: Actually the biggest problem with them is that they are not from a sufficiently wide range of locales. The curve could look entirely different for .jp sites wwhich are far more likely to have a non-default encoding
- # [16:02] <Lachy> yeah, that's also a problem
- # [16:02] <hsivonen> ap: whoa! what do you do instead of the evil late-switch?
- # [16:02] <hsivonen> ap: You'll have to implement it in order to conform unless you convince Hixie to take it out of the spec
- # [16:03] <ap> hsivonen: nothing - if there is no charset in http headers, <head> or 1024 bytes, we just use the default encoding
- # [16:03] <hsivonen> ap: that's daring
- # [16:03] * jgraham thinks the "evil late switch" is rather good
- # [16:04] <ap> hsivonen: users don't complain
- # [16:04] <Philip`> Hmm, the most common HTTP header size seems to be around 240 bytes, and a lot are 120 to ~700 bytes, and not many are above 1000 bytes
- # [16:04] <hsivonen> ap: very interesting
- # [16:04] <annevk42> and cool
- # [16:04] <hsivonen> ...now that I've already toiled away implementing the evil switch
- # [16:04] <jgraham> priority of constituencies: it makes no sense to authors or users if moving the encoding decleration around a bit changes the behaviour
- # [16:04] <jgraham> Even if it is harder to implement
- # [16:04] <ap> hsivonen: well, I have one or two examples of sites that would benefit from this, but over the years, that amounts to "don't complain"
- # [16:05] <hsivonen> jgraham: with the evil switch, it makes things different if you have scripts with side effects
- # [16:05] * Quits: wakaba_ (n=wakaba@EM114-51-166-196.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [16:05] <annevk42> jgraham, pages reloading is bad
- # [16:05] <Lachy> Philip`, is there anyway you could divide your stats up into separate graphs based on the detected encodings and/or page languages so we get a slightly better representation of different locales?
- # [16:05] <annevk42> jgraham, and authors can figure out what went wrong easily enough
- # [16:05] <jgraham> ap: Are you sure that users aren't just so used to seeing wrong character encoding that they don't complain
- # [16:06] <jgraham> I would never report a bug with character encoding becuase I'm so used to seeing errors
- # [16:06] <Philip`> Lachy: I think I don't have enough data for that to be meaningful
- # [16:06] <ap> jgraham: I do get bug reports about other encoding problems a plenty (less so, now that our code is more compliant)
- # [16:06] <Lachy> ok
- # [16:06] <Philip`> Lachy: and it wouldn't be trivial to do
- # [16:07] <Philip`> Lachy: so it's unlikely that I'll bother to do it
- # [16:07] <hsivonen> does IE 5.5 mode have the evil late switch?
- # [16:07] <jgraham> annevk42: I agree page reloading isn't that nice
- # [16:07] <Philip`> Lachy: (See http://philip.html5.org/data/charsets.html#usage-frequencies - there's very few that aren't utf-8 or iso-8859-1)
- # [16:08] <hsivonen> Philip`: your sample may be biased
- # [16:08] <Philip`> hsivonen: "may"? :-)
- # [16:08] <jgraham> hsivonen: No, his sample is biased. It is just a case of knowing what the biases are and how they are significant :)
- # [16:08] * Quits: mat_t_ (n=mattomas@conference/ubuntu-developer-summit/x-238546ebd65133d2) ("This computer has gone to sleep")
- # [16:08] <jgraham> (in this case I think they are very significant)
- # [16:08] * Philip` tried to explicitly mention the bias when mentioning the data on public-html
- # [16:09] <Philip`> jgraham: Why would the chosen encoding significantly affect where the author puts the encoding declaration in their page?
- # [16:10] <Philip`> (...assuming that's the bias you think is significant)
- # [16:10] * Quits: hdh (n=hdh@58.187.202.233) (Read error: 110 (Connection timed out))
- # [16:11] <ap> Philip`: I would be interested to know not just the number of bytes necessary to read to find charset declaration, but the number of bytes outside <head>
- # [16:12] <ap> Philip`: WebKit encoding sniffer always looks for meta charset in <head>, even if that's huge
- # [16:12] <jgraham> Philip`: It is possible that languages with more bytes per character will, on avaerge, have more bytes before the encoding compared to one byte per character languages. Or less if the langauge is more compact
- # [16:12] <hsivonen> ap: I'm not convinced that having to track <head> is better than the evil switch
- # [16:12] <jgraham> Assuming that relative to the source tree, the enmcoding decleration comes in roughly the same place
- # [16:12] <Philip`> ap: Hmm, I don't have any data like that - I was just using the HTML5 pre-parse encoding sniffing algorithm, which ignores tags entirely (except when they're <meta>)
- # [16:13] <Philip`> ap: and it seems complex to try to record the location of </head>
- # [16:13] <jgraham> Philip`: I would be more interested in knowing how often a charset decleration comes after a <script>
- # [16:13] <Philip`> ap: and I'm lazy :-p
- # [16:13] <jgraham> But not in the first N bytes
- # [16:14] <jgraham> (since script side effects seem to be the major objection to the reparse)
- # [16:14] <ap> hsivonen, Philip`: any place in <head> used to be valid for <meta> in HTML4
- # [16:14] <hsivonen> ap: HTML5 looks everywhere
- # [16:15] <Philip`> jgraham: Hmm, I guess the effect of multi-byte encodings would be mitigated by all the ASCII for doctypes and tag names that dominates the starts of documents, but I have no idea how much effect it would still have
- # [16:15] <gsnedders> So, anything interesting been happening on the lists?
- # [16:17] <Philip`> gsnedders: Yes
- # [16:18] <ap> hsivonen: as far as I can tell, it's only valid in head, no?
- # [16:18] <hsivonen> ap: yes
- # [16:18] <gsnedders> ap: yes
- # [16:19] <annevk42> since WebKit doesn't restrict itself to the first 1024 bytes I guess it doesn't really matter
- # [16:20] * Parts: mhausenblas (n=mhausenb@wg1-nat.fwgal01.deri.ie)
- # [16:21] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-58a40b472d399fad)
- # [16:31] * gsnedders is amazed at the lack of flame wars
- # [16:31] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [16:31] <gsnedders> Bikesheds are indeed being painted, but no flames.
- # [16:34] <hsivonen> flamelessness is good
- # [16:34] <gsnedders> Indeed.
- # [16:36] * Joins: billmason (n=billmaso@ip147.unival.com)
- # [16:45] <Philip`> If the bikeshed burns down then nobody will care what colour it was
- # [16:45] * Quits: starjive (i=beos@213.66.216.93)
- # [16:48] <annevk2> gsnedders, http://krijnhoetmer.nl/irc-logs/whatwg/20070829#l-229 is at least one technorati reference
- # [16:48] <gsnedders> I was guessing it would be kingryan and I was trying to find stuff on the lists from him
- # [16:49] <gsnedders> annevk2: Should I send that to the list?
- # [16:52] * Quits: virtuelv (n=virtuelv@213.236.208.247) (Read error: 113 (No route to host))
- # [16:52] * gsnedders sends it anyway
- # [16:54] * Quits: drry (n=drry@dd25.opt2.point.ne.jp) ("Tiarra 0.1+svn-33535: SIGTERM received; exit")
- # [16:57] * Joins: drry (n=drry@dd25.opt2.point.ne.jp)
- # [16:58] * Quits: askara (i=d4ea26bc@gateway/web/ajax/mibbit.com/x-2fd946eeb682cd57) ("http://www.mibbit.com ajax IRC Client")
- # [17:01] * Quits: pauld (n=pauld@194.102.13.6)
- # [17:02] * Joins: bgalbraith (n=bgalbrai@166.129.6.144)
- # [17:04] * Quits: Lachy (n=Lachy@pat-tdc.opera.com) ("Leaving")
- # [17:04] <theMadness> annevk2, nice blog post, you got me excited about video again.
- # [17:05] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:06] <theMadness> The irony, http://www.youtube.com/html5 doesn't work on Chrome. :)
- # [17:07] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-58a40b472d399fad) (Operation timed out)
- # [17:08] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
- # [17:10] * Quits: shepazu (n=schepers@c-71-202-124-114.hsd1.ca.comcast.net)
- # [17:15] * Quits: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au) (Read error: 110 (Connection timed out))
- # [17:16] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [17:17] <annevk42> theMadness, yeah, it's a bit of a mess still
- # [17:17] <annevk42> theMadness, we'll get there :)
- # [17:18] * Joins: dglazkov (n=dglazkov@nat/google/x-2a35114afb7e52e7)
- # [17:22] <theMadness> I'm sure you will, still the irony is there :P :D
- # [17:24] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
- # [17:25] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [17:25] * Joins: itpastorn (n=itpastor@82.99.1.179)
- # [17:26] <hsivonen> gsnedders: new HTML5 builds starting to appear: https://build.mozilla.org/tryserver-builds/hsivonen@mozilla.com-noscript/
- # [17:27] <gsnedders> hsivonen: thx
- # [17:28] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-448fe0255a8aab5e)
- # [17:29] * Joins: dbaron (n=dbaron@pool-98-111-140-54.phlapa.fios.verizon.net)
- # [17:30] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [17:31] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [17:32] * Quits: mpilgrim (n=mark@12.144.179.214) (Read error: 110 (Connection timed out))
- # [17:34] * Quits: myakura (n=myakura@p3087-ipbf6705marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [17:34] * Joins: sbublava (n=stephan@77.118.150.143.wireless.dyn.drei.com)
- # [17:38] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [17:39] * Joins: pauld (n=pauld@92.40.120.154.sub.mbb.three.co.uk)
- # [17:40] * Quits: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [17:42] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [17:47] <jgraham> Does anyone have any idea what http://blog.typekit.com/ actualy does?
- # [17:50] <Philip`> No
- # [17:53] <gsnedders> jgraham: " Just add a line of JavaScript to your markup, tell us what fonts you want to use"
- # [17:54] <jgraham> gsnedders: I can already add a line of Javascript to my markup to tell you want fonts I want to use. Nothing will happen of course.
- # [17:55] * Joins: aroben (n=aroben@c-71-58-77-15.hsd1.pa.comcast.net)
- # [17:56] <Philip`> http://www.flickr.com/photos/veen/3572372312/sizes/o/ - according to step 3, it involves string instruments
- # [17:56] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-448fe0255a8aab5e) ("This computer has gone to sleep")
- # [17:57] * Quits: ciaran_lee (n=ciaran_l@83-70-243-34-dynamic.b-ras1.prp.dublin.eircom.net)
- # [18:00] * Joins: bgalbraith_ (n=bgalbrai@63.80.141.130)
- # [18:01] * Quits: bgalbraith (n=bgalbrai@166.129.6.144) (Read error: 110 (Connection timed out))
- # [18:02] * Joins: kevinmarksdroid (n=fircuser@m430436d0.tmodns.net)
- # [18:08] * Joins: KevinMarks (n=KevinMar@63.80.141.130)
- # [18:09] * Quits: kevinmarksdroid (n=fircuser@m430436d0.tmodns.net) (Read error: 54 (Connection reset by peer))
- # [18:11] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:16] * Quits: pauld (n=pauld@92.40.120.154.sub.mbb.three.co.uk)
- # [18:17] * Quits: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
- # [18:17] * Quits: bgalbraith_ (n=bgalbrai@63.80.141.130)
- # [18:20] * Joins: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
- # [18:22] * krijnh starts turning evil on /irc-logs/
- # [18:24] <hsivonen> what's the deal with these JS-requiring font systems when you can do it in CSS only?
- # [18:25] <Rik|work> hsivonen: this might be a way to DRMised them
- # [18:25] <Philip`> It saves people from having to copy-and-paste giant chunks of CSS that they're likely to get wrong and that will prevent the service provider from updating them
- # [18:25] <hsivonen> Philip`: isn't that what @import is for?
- # [18:26] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [18:26] <Philip`> hsivonen: Hmm, good point
- # [18:26] <hsivonen> @import has nicer parallelism properties than <script>
- # [18:27] <Philip`> though maybe they want the flexibility to do more client-side work (e.g. testing the UA string, verifying document.domain, etc)
- # [18:27] <Rik|work> hsivonen: not really
- # [18:28] <hsivonen> Rik|work: how do you mean? @import blocks style computation and layout but not HTML parsing.
- # [18:29] <Rik|work> scripts are not blocking html parsing in some browsers now
- # [18:29] <hsivonen> Rik|work: what browsers now do proper speculative parsing instead of just prescanning for other downloadables?
- # [18:30] <Rik|work> really don't know that level of details
- # [18:36] <beowulf> it may be a shorter way to get the weight and font you want
- # [18:37] * Joins: mgrdcm (n=mgrdcm@65.111.247.194)
- # [18:37] <beowulf> it's a lot of css to get a font in the two formats and then set the weight
- # [18:37] <Philip`> It might automatically scan your page to find what characters you use that font for, so it can generate an efficient subset
- # [18:38] * Quits: KevinMarks (n=KevinMar@63.80.141.130) ("The computer fell asleep")
- # [18:38] * Quits: sbublava (n=stephan@77.118.150.143.wireless.dyn.drei.com)
- # [18:41] * Joins: bgalbraith (n=bgalbrai@63.80.141.130)
- # [18:47] * Quits: dglazkov (n=dglazkov@nat/google/x-2a35114afb7e52e7)
- # [18:50] * Joins: mlpug (n=mlpug@a88-115-171-214.elisa-laajakaista.fi)
- # [18:50] * Quits: bgalbraith (n=bgalbrai@63.80.141.130)
- # [18:54] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
- # [18:55] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [18:56] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [18:58] * Joins: bgalbraith_ (n=bgalbrai@63.80.141.130)
- # [19:01] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
- # [19:01] * Quits: bgalbraith_ (n=bgalbrai@63.80.141.130) (Client Quit)
- # [19:02] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
- # [19:04] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 60 (Operation timed out))
- # [19:05] * Joins: dglazkov (n=dglazkov@nat/google/x-81084978864b454d)
- # [19:20] * Quits: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
- # [19:27] * Joins: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [19:27] * Joins: bgalbraith (n=bgalbrai@client-239-16.events.shownets.net)
- # [19:28] * Quits: dglazkov (n=dglazkov@nat/google/x-81084978864b454d) (Read error: 110 (Connection timed out))
- # [19:32] * Quits: bgalbraith (n=bgalbrai@client-239-16.events.shownets.net) (Client Quit)
- # [19:38] * Joins: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
- # [19:38] * Joins: slightlyoff (n=slightly@72.14.229.81)
- # [19:49] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [19:51] * Joins: maikmerten (n=maikmert@U3f35.u.pppool.de)
- # [19:53] * Quits: riven (n=colin@pdpc/supporter/professional/riven) (Read error: 104 (Connection reset by peer))
- # [19:54] * Joins: riven (n=colin@pdpc/supporter/professional/riven)
- # [19:55] * Joins: KevinMarks (n=KevinMar@63.80.141.130)
- # [19:55] * Quits: dave_levin_ (n=dave_lev@72.14.224.1)
- # [19:59] <ezyang> Sighhh... the Python implementation has 80 fails on the test-suite. As I get closer and close to full implementation, bad test cases are really going to waste my time :-(
- # [20:01] * Quits: webben (n=benh@nat/yahoo/x-619d0d20a51be82b) (Read error: 110 (Connection timed out))
- # [20:06] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [20:06] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 104 (Connection reset by peer))
- # [20:12] <ezyang> Why doesn't this work? python test_parser.py TestCase.test_tests7_7_simpletree
- # [20:13] * Joins: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
- # [20:14] * Quits: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com) (Client Quit)
- # [20:17] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Read error: 60 (Operation timed out))
- # [20:19] <Philip`> ezyang: Feel free to fix bugs in the Python implementation ;-)
- # [20:20] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [20:21] <ezyang> Yeah, but I have to triage each failure and figure out exactly what's going on before making a call
- # [20:22] <hsivonen> ezyang: the tests should be mostly correct per spec except the table taint thing
- # [20:22] <ezyang> Ok.
- # [20:22] <ezyang> Is there any way to make test_parser.py run a single test?
- # [20:22] <ezyang> The obvious command is failing for me
- # [20:22] <Philip`> You could delete all the other tests, and then run it
- # [20:22] * Philip` doesn't know of any other mechanism for that
- # [20:23] <ezyang> That's... not sustainable
- # [20:23] <hsivonen> I nkwo nothing about the Python harness
- # [20:23] <ezyang> kk
- # [20:23] <hsivonen> I make my Java harness run a single-test file first and I copy and paste the test of interest there
- # [20:23] <ezyang> So... what is the implementation that's closest to being correct?
- # [20:24] <Philip`> We did have excellent interoperability between HTML5 parsers some time last year
- # [20:24] <hsivonen> ezyang: I haven't evaluated wakaba's perl impl., but I believe the V.nu impl. is closer to spec than html5lib at the moment
- # [20:24] <Philip`> so I blame Hixie for making them all break
- # [20:24] <ezyang> Ok, so I should probably grab a copy of that.
- # [20:24] <hsivonen> ezyang: the main failure in the V.nu parser isn't visible in non-browser environments
- # [20:25] <hsivonen> I've been postponing fixes until I can figure out this Tp thing.
- # [20:25] <ezyang> not visible in non-browser environments?
- # [20:26] <hsivonen> ezyang: not visible in environment where scripts can't run interleaved with the parser
- # [20:26] <ezyang> Sorry, it's unclear to me what "visibility" means
- # [20:27] <ezyang> Hmm... what should JAVA_HOME be?
- # [20:27] <hsivonen> ezyang: the spec violation isn't detectable without a script running during the parse
- # [20:28] <hsivonen> ezyang: on Mac, /Library/Java/Home
- # [20:28] <ezyang> Ouch.
- # [20:28] <ezyang> (I'm on Intrepid)
- # [20:28] <ezyang> So... you need a JavaScript parser
- # [20:28] <hsivonen> ezyang: locate javac
- # [20:28] <ezyang> That's batty
- # [20:28] <hsivonen> then remove the bin/javac part
- # [20:28] <hsivonen> and put the prefix in JAVA_HOME
- # [20:29] <ezyang> Looks like I don't have javac installed
- # [20:29] <ezyang> Do you recommend openjdk or Sun's jdk?
- # [20:29] <hsivonen> openjdk
- # [20:29] <ezyang> So... does Java have any embedded JavaScript engines?
- # [20:30] <ezyang> And how are you going to deal with malicious input?
- # [20:30] <hsivonen> ezyang: Java does, but I haven't integrated the parser with it
- # [20:30] <hsivonen> ezyang: so it doesn't count as a bug in the Java version currently but it counts as a bug in the C++ version
- # [20:30] * Joins: shepazu (n=schepers@63.80.141.130)
- # [20:31] <hsivonen> (the bug being that the parser still clones formatting element nodes instead of creating new ones)
- # [20:31] <hsivonen> ezyang: /usr/lib/jvm/java-6-openjdk on Ubuntu
- # [20:32] * Joins: dglazkov (n=dglazkov@63.80.141.130)
- # [20:32] <hsivonen> ezyang: if you only want the parser instead of the whole validator, it should build if you stick the dependency jars and the sources to Eclipse's default builder
- # [20:32] <hsivonen> (or to vanilla javac)
- # [20:33] <ezyang> I need the tree-building and test-suite, but I don't mind if I build the whole thing
- # [20:33] <hsivonen> ok
- # [20:33] <ezyang> In the meaantime, what's the 2nd closest to compliant implementation?
- # [20:34] <hsivonen> I don't know
- # [20:35] * Quits: sicking_ (n=chatzill@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
- # [20:35] <hsivonen> /htmlparser/test-src/nu/validator/htmlparser/test/TokenizerTester.java and /htmlparser/test-src/nu/validator/htmlparser/test/TreeTester.java are the test harnesses
- # [20:35] <hsivonen> they take file paths to html5lib-format test data files as arguments
- # [20:35] <ezyang> Great
- # [20:35] * Joins: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
- # [20:35] <ezyang> Oh no! build fail
- # [20:35] * Quits: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [20:36] <ezyang> "java.lang.ClassCastException: org.xml.sax.InputSource cannot be cast to nu.validator.xml.TypedInputSource"
- # [20:36] * Joins: sicking (n=chatzill@corp-241.mountainview.mozilla.com)
- # [20:36] <hsivonen> ezyang: that's not a build fail. that's a run fail
- # [20:36] <hsivonen> ezyang: something went wrong with the schema setup
- # [20:36] <ezyang> well, it happened while I was running build.py!
- # [20:36] <ezyang> Shall I blow away my copy and try it again?
- # [20:36] <hsivonen> ezyang: you can ignore that and look at the parser.
- # [20:36] <hsivonen> it has been built by the time that error can happen
- # [20:37] <hsivonen> ezyang: build.py is also used for running the validator
- # [20:37] <hsivonen> 'all' builds it and then starts the whole thing
- # [20:37] * Joins: weinig (n=weinig@17.246.18.103)
- # [20:38] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [20:39] <ezyang> I fail at running Java
- # [20:39] <ezyang> Do I just `java htmlparser/test-src/nu/validator/htmlparser/test/TokenizerTester.java`?
- # [20:39] <hsivonen> ezyang: no. I'll look up the incantations
- # [20:39] <ezyang> heh
- # [20:40] <hsivonen> argh. build.py doesn't build the test harnesses
- # [20:41] <hsivonen> hmm. I don't even remember how to do this without Eclipse with two java source dirs...
- # [20:41] <ezyang> I'm trying python build.py test
- # [20:41] <hsivonen> different 'test'
- # [20:41] <ezyang> Ok.
- # [20:42] <hsivonen> I guess it's easiest to build the tests and the parser separately
- # [20:42] <hsivonen> so under your checkout dir you now have jars/
- # [20:42] <hsivonen> and there you have htmlparser.jar
- # [20:43] <hsivonen> you need to cd to htmlparser/test-src/
- # [20:43] <hsivonen> and run
- # [20:43] * Quits: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
- # [20:46] <hsivonen> scratch run
- # [20:47] <hsivonen> you need to create a target dir, say classes as sibling to test-src
- # [20:47] <hsivonen> then, in test-src, run
- # [20:47] <hsivonen> javac -cp .:../../jars/htmlparser.jar:../../dependencies/jsontools-core-1.5.jar:../../dependencies/antlr.jar -d ../classes/ nu/validator/htmlparser/test/TreeTester.java nu/validator/htmlparser/test/TokenizerTester.java
- # [20:47] <hsivonen> javac is such a pain
- # [20:47] <hsivonen> after which you can do
- # [20:48] <hsivonen> java -cp .:../../jars/htmlparser.jar:../../dependencies/jsontools-core-1.5.jar:../../dependencies/antlr.jar:../classes/ nu.validator.htmlparser.test.TreeTester html5lib source files
- # [20:48] * Quits: shepazu (n=schepers@63.80.141.130)
- # [20:48] <hsivonen> s/source files/test files/
- # [20:51] * Quits: dglazkov (n=dglazkov@63.80.141.130)
- # [20:52] <ezyang> ../classes/nu/validator/htmlparser/test doesn't seem to exist?
- # [20:52] <ezyang> Also, classes already exists as a sibling to test-src
- # [20:53] <hsivonen> ezyang: ../classes/nu/validator/htmlparser/test should have emerged as a result of the javac... command above
- # [20:54] <hsivonen> ezyang: did you copy and paste from above or retype?
- # [20:54] * Joins: mpilgrim (n=mark@63.80.141.130)
- # [20:55] <ezyang> With the first command I get: "javac: directory not found: ../classes/nu/validator/htmlparser/test/TreeTester.java"
- # [20:55] <ezyang> Copypasta
- # [20:56] <hsivonen> ezyang: there should be a space after ../classes/
- # [20:56] <hsivonen> I'm guessing your terminal line wrapped just there?
- # [20:56] <ezyang> Yep
- # [20:57] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [20:57] * Joins: dave_levin_ (n=dave_lev@72.14.227.1)
- # [20:57] <ezyang> Now I get a number of "cannot find symbol" errors
- # [20:57] <ezyang> Which implies that the dependencies weren't setup properly
- # [20:57] * Quits: dave_levin_ (n=dave_lev@72.14.227.1) (Client Quit)
- # [20:57] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [20:58] <ezyang> Namely, these packages don't exist: "com.ibm.icu.text.UnicodeSet" etc
- # [20:58] <hsivonen> hmm. I wonder why I didn't get that
- # [20:58] <hsivonen> to remedy
- # [20:59] <hsivonen> add ../../dependencies/icu4j-4_0.jar to the -cp stuff separated with colon from the other paths
- # [21:01] * Joins: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
- # [21:01] * Joins: dglazkov (n=dglazkov@63.80.141.130)
- # [21:01] <ezyang> Second command, I get: FileNotFoundException: html5lib (No such file or directory)
- # [21:02] <hsivonen> ezyang: replace "html5lib source files
- # [21:02] * Quits: dglazkov (n=dglazkov@63.80.141.130) (Client Quit)
- # [21:02] <hsivonen> " with the paths of the actual html5lib tree test files
- # [21:02] <ezyang> haha, ok
- # [21:03] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [21:03] <ezyang> Awesome
- # [21:03] <ezyang> We have lift-off
- # [21:03] <hsivonen> great
- # [21:04] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
- # [21:04] * Quits: KevinMarks (n=KevinMar@63.80.141.130) ("The computer fell asleep")
- # [21:07] <ezyang> Ok, one fail in tests1.dat, which is from the fact that I just changed that
- # [21:07] <ezyang> Which makes me even more skeptical that my change was actually correct
- # [21:08] <hsivonen> was it on the topic of frameset-ok or something else?
- # [21:09] <ezyang> Yep
- # [21:09] * Joins: richbradshaw (n=cfgs@host86-134-53-195.range86-134.btcentralplus.com)
- # [21:09] <hsivonen> ezyang: could be bug in V.nu parser
- # [21:10] <hsivonen> ezyang: I didn't implement frameset-ok as a flag but as a mode
- # [21:10] <ezyang> Hmm... yeah, that'd probalby do it
- # [21:10] <hsivonen> I may have goofed in my tranformation of the algorithm
- # [21:10] <ezyang> *probably
- # [21:10] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [21:10] <ezyang> Because frameset-ok doesn't really make sense as a mode
- # [21:11] <hsivonen> oh?
- # [21:11] <ezyang> I mean, there are a lot of places it can get set
- # [21:11] * Quits: riven (n=colin@pdpc/supporter/professional/riven) (Read error: 104 (Connection reset by peer))
- # [21:12] <ezyang> And you can very easily go back to a previous mode, but have the frameset ok be the only thing that's different
- # [21:12] * Joins: riven (n=colin@53525B67.cable.casema.nl)
- # [21:12] <ezyang> It's not obvious to me, without recopying all of the modes, how a mode frameset-ok would work
- # [21:12] * Joins: shepazu (n=schepers@63.80.141.130)
- # [21:13] <hsivonen> ezyang: except for frameset itself, it either just forwards to 'in body' or sets the mode to 'in body' and then moves on to 'in body'
- # [21:14] <hsivonen> It's past 22:00 here. I should head home.
- # [21:16] <ezyang> cya
- # [21:16] * Joins: itpastorn (n=itpastor@82.99.1.179)
- # [21:16] <hsivonen> later
- # [21:21] * Quits: shepazu (n=schepers@63.80.141.130)
- # [21:22] * Joins: dolske (n=dolske@corp-241.mountainview.mozilla.com)
- # [21:26] * Joins: itpastorn1 (n=itpastor@82.99.1.179)
- # [21:28] * Quits: itpastorn (n=itpastor@82.99.1.179) (Read error: 60 (Operation timed out))
- # [21:30] * Joins: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [21:31] * Joins: shepazu (n=schepers@63.80.141.130)
- # [21:34] * Quits: richbradshaw (n=cfgs@host86-134-53-195.range86-134.btcentralplus.com)
- # [21:41] * Quits: maikmerten (n=maikmert@U3f35.u.pppool.de) (Remote closed the connection)
- # [21:43] * Quits: MikeSmith (n=MikeSmit@EM114-48-181-250.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [21:44] * ezyang is awesome (fixed Python bug by changing func.__name__)
- # [21:46] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: 113 (No route to host))
- # [21:48] * Joins: wakaba_ (n=wakaba@EM114-51-10-45.pool.e-mobile.ne.jp)
- # [21:49] * Joins: virtuelv (n=virtuelv@084202133045.customer.alfanett.no)
- # [21:50] * Quits: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
- # [21:52] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [21:53] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
- # [21:55] * Joins: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
- # [21:55] * Quits: shepazu (n=schepers@63.80.141.130)
- # [22:03] * Quits: mpilgrim (n=mark@63.80.141.130) (Read error: 60 (Operation timed out))
- # [22:04] <Hixie> http://www.grabup.com/uploads/240ccede5360b093dbf298f8946025a5.png is fantastic
- # [22:04] * Joins: dglazkov (n=dglazkov@63.80.141.130)
- # [22:04] <Hixie> (notice the lower third text)
- # [22:05] <ezyang> Hahahahha
- # [22:06] <gsnedders> Uh, OK.
- # [22:06] <gsnedders> Hixie: Can I email you suggestion for Acid4?
- # [22:07] <gsnedders> Or is there no point?
- # [22:07] * Quits: mlpug (n=mlpug@a88-115-171-214.elisa-laajakaista.fi) (Remote closed the connection)
- # [22:08] <mgrdcm> FOX Business Channel: Most popular newspaper after The Tribune Company and Amazon's Kindle.
- # [22:08] * Quits: wakaba (n=wakaba@EM114-51-154-142.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [22:08] <Hixie> gsnedders: no point yet
- # [22:09] * Quits: philipj (n=philipj@pat.se.opera.com) (Read error: 110 (Connection timed out))
- # [22:09] * Quits: dglazkov (n=dglazkov@63.80.141.130)
- # [22:11] * Joins: mpilgrim (n=mark@12.144.179.214)
- # [22:12] * Joins: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [22:15] * Quits: ap (n=ap@194.154.88.33)
- # [22:16] * Quits: itpastorn1 (n=itpastor@82.99.1.179) ("Leaving.")
- # [22:25] * Joins: abarth_ (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
- # [22:26] <jgraham> ezyang: BTW the python svgmathml branch is likely more spec compliant than the trunk
- # [22:27] <ezyang> jgraham: Oh really?
- # [22:27] <jgraham> Although I think it doen't have the latest AAA changes
- # [22:27] <ezyang> Is this, beyond just the foreign content tests?
- # [22:27] <jgraham> ezyang: Yeah, I did a bunch of work on that branch bu I haven't finished the tedious task of converting all the treewalker stuff to deal with namespaces
- # [22:28] <jgraham> So I haven't merged
- # [22:28] <jgraham> (actually I haven't merged because the merge was non-trivial)
- # [22:28] <jgraham> (so I should make some time and stop being such a crappy maintainer)
- # [22:31] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [22:32] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
- # [22:36] * Quits: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl) (Remote closed the connection)
- # [22:36] * Joins: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [22:36] * Joins: shepazu (n=schepers@63.80.141.129)
- # [22:37] <annevk42> anything known yet about Google and video?
- # [22:40] * Quits: roc (n=roc@121-72-176-201.dsl.telstraclear.net)
- # [22:41] <annevk42> http://twitter.com/jdowdell/statuses/1950818992 -- "Reporters who say "the HTML 5 standard" instead of "the WhatWG's RIA proposals for hypertext markup" or such are misleading their readers."
- # [22:42] <gsnedders> RIA?
- # [22:42] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [22:43] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
- # [22:43] * abarth_ is now known as abarth
- # [22:43] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [22:43] <annevk42> Did people see: http://blog.typekit.com/2009/05/27/introducing-typekit/ (Especially interesting for those who talked about business models for Web fonts.)
- # [22:44] <jgraham> I love that Adobe are doing their best o promote HTML5
- # [22:44] <jgraham> annevk42: See my comment from 5 hours ago
- # [22:44] * Joins: pmuellr_ (n=pmuellr@user-0ce2gjn.cable.mindspring.com)
- # [22:45] * Quits: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com) (Read error: 54 (Connection reset by peer))
- # [22:47] <Philip`> gsnedders: Rich internet applications?
- # [22:47] <jgraham> annevk42: You should maybe point out to Roy that Opera shipd to a bunch of non-desktop devices
- # [22:48] <jgraham> And AFAIK we have the same requirements for all of them
- # [22:48] * Joins: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au)
- # [22:49] <annevk42> Which email is that?
- # [22:49] <annevk42> I might have deleted it already...
- # [22:51] <jgraham> annevk42: http://lists.w3.org/Archives/Public/public-html/2009May/0547.html
- # [22:51] * Joins: dglazkov (n=dglazkov@63.80.141.130)
- # [22:51] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [22:52] <annevk42> I do have that one, but I don't see where he's suggesting we don't
- # [22:52] * Quits: weinig (n=weinig@17.246.18.103)
- # [22:52] <annevk42> and the words desktop or device are not in it
- # [22:52] <jgraham> annevk42: He suggests that different devices require different error handling
- # [22:52] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
- # [22:53] <ezyang> Oh, it's Roy T. Fielding
- # [22:53] <ezyang> He rejected my patch to Apache :-(
- # [22:53] <annevk42> jgraham, seems to be mostly about different types of applications
- # [22:53] <jgraham> annevk42: I think he is vastly overstating the number of different conformance classes
- # [22:54] <jgraham> annevk42: If we can sell Opera for fridges I guess we would want the same error handling requirements
- # [22:54] <jgraham> (similarly if it was Webkit or Gecko on the fridge of course)
- # [22:55] <annevk42> He's being very vague, I would say. It would help me much more if he explained more about what kind of HTML he expects these fridges/switches/etc. to consume/output and why it needs to be different from Web browsers.
- # [22:55] * Joins: weinig (n=weinig@17.246.18.103)
- # [22:55] <hsivonen> Hixie: well, over here, the Web censor policeman said that Google is a browser...
- # [22:56] * Quits: dglazkov (n=dglazkov@63.80.141.130) (Client Quit)
- # [22:57] * jgraham wonders if he should reply to Shelley
- # [22:57] <hsivonen> Hixie: when asked why he doesn't poison the DNS record for google.
- # [22:59] <annevk42> reminds me of http://www.youtube.com/watch?v=MunMCO3uNdA
- # [23:00] * gsnedders stabs CSS
- # [23:01] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [23:01] <Philip`> jgraham: Depends on whether your reply would cause progress in productive areas of work, I guess :-)
- # [23:02] <gsnedders> There has _got_ to be a nicer way to do this than CSS tables
- # [23:03] <jgraham> Philip`: Yeah. I'm not sure what the best way to cause progress is
- # [23:05] <Philip`> gsnedders: <table>
- # [23:06] <gsnedders> Philip`: It isn't a table
- # [23:06] <Philip`> gsnedders: Presumably you're doing something layout-related, and therefore <table> is a very effective solution
- # [23:07] * beowulf burns Philip` with fire for saying such a thing
- # [23:08] <jgraham> As opposed to burning him with acid I guess
- # [23:09] <Hixie> christ almighty. 46 messages from backtype and google alerts about "html5"
- # [23:09] <beowulf> well, that would be taking things to far
- # [23:10] * Quits: shepazu (n=schepers@63.80.141.129)
- # [23:10] <annevk2> everytime I look at twitter after a few hours there's like 400+ html5/html 5 messages
- # [23:10] <annevk2> not really following that anymore :)
- # [23:10] <ezyang> You need a "State of the HTML 5" report :-)
- # [23:11] <Hixie> that's mpilgrim's job :-P
- # [23:11] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [23:11] <hsivonen> annevk2: still not a "trending topic", though
- # [23:11] <hsivonen> (it seems that twitter is confusing 'trend' and 'fad')
- # [23:11] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 54 (Connection reset by peer))
- # [23:12] <Hixie> dear lord, i just got my first google alert for a 4chan post
- # [23:12] * Quits: ZombieLoffe (n=e@unaffiliated/zombieloffe)
- # [23:15] <gsnedders> Can I table row not have padding!?
- # [23:16] <ezyang> cell-spacing:0?
- # [23:16] <ezyang> erm, border-spacing
- # [23:16] <Hixie> gsnedders: what would it mean for a row to have padding?
- # [23:16] <gsnedders> Hixie: The same as anything else? What's so hard about it?
- # [23:17] <ezyang> Anyone know what version of simplejson I need in order to make the Python tokenizer not die?
- # [23:17] <Hixie> gsnedders: the row doesn't exist as a rendered construct.
- # [23:17] <ezyang> *tokenizer test
- # [23:17] <gsnedders> Hixie: Ah
- # [23:17] <Hixie> gsnedders: what would you do if you had three rows with different padding? what would it look like?
- # [23:17] <gsnedders> Hixie: That does make things more complex :)
- # [23:17] * Joins: roc (n=roc@202.0.36.64)
- # [23:18] <gsnedders> CSS 2.1 references a "column element". What's that?
- # [23:18] * Joins: mat_t (n=mattomas@80.67.104.110)
- # [23:19] * Joins: MikeSmith (n=MikeSmit@EM114-48-161-226.pool.e-mobile.ne.jp)
- # [23:19] <gsnedders> display: table-column?
- # [23:19] <Hixie> gsnedders: dunno, ask csswg :-)
- # [23:20] <gsnedders> Hixie: Hey, you're listed as an editor, for all little that's worth! :P
- # [23:20] <Hixie> i was hoping you wouldn't notice :-P
- # [23:21] <ezyang> Same goes for the ruby tokenizer tests. ARRGH
- # [23:22] * gsnedders realizes what it all means
- # [23:22] <gsnedders> It just omits the table- everywhere there
- # [23:23] <jgraham> ezyang: I noticed the simplejson problem too :(
- # [23:23] <jgraham> I think it is just one set of tests that you can disable though
- # [23:23] <ezyang> Ok, so maybe there was an incompatible "fix" that upstream made
- # [23:24] <jgraham> ezyang: Yeah, they made it much more strict with character encodings
- # [23:24] <ezyang> JSON is such a bad format, really, since it only supports Unicode
- # [23:24] <jgraham> It's a bad choice for testing lone surrogates and similar things
- # [23:25] <ezyang> Well, I suppose I can get rid of the offending tests, pending a new test format
- # [23:27] <ezyang> Aweomse, only unicode characters test.
- # [23:27] <ezyang> ... needs to be removed
- # [23:28] <Hixie> wow, i just read larry's latest e-mail. he actually just totally backed down from his earlier opinions and now agrees with the position that html5 should apply to all html user agents and authors! awesome!
- # [23:28] <jgraham> ezyang: It would be awesome if you converted it to the same format as the tree construction tests
- # [23:28] <jgraham> (roughly)
- # [23:28] <jgraham> Like
- # [23:28] <jgraham> #input
- # [23:29] <ezyang> That might not be too difficult
- # [23:29] <jgraham> some data
- # [23:29] <jgraham> #output
- # [23:29] <jgraham> some tokens
- # [23:29] <ezyang> But in interest of not needing a binary editor, we probably want to keep them escaped
- # [23:29] <roc> do we know any more about Google's video story yet?
- # [23:29] <ezyang> (PHP's JSON parser is really lenient)
- # [23:30] <ezyang> We'd also need a token format
- # [23:32] <ezyang> gsnedders: what bugs in PHP's tokenizers were you dealing with?
- # [23:32] <gsnedders> Is http://svenellingen.com/stream a table?
- # [23:32] * Quits: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
- # [23:32] <gsnedders> ezyang: The failing test cases
- # [23:32] <ezyang> All of them?
- # [23:32] <gsnedders> ezyang: There are only two bugs :P
- # [23:32] <gsnedders> (Actually, three)
- # [23:32] <ezyang> Huh. I have 15 failures
- # [23:32] <gsnedders> I have 10 when I last ran
- # [23:32] <jgraham> ezyang: The json-like format is good enough
- # [23:33] <jgraham> for the output format
- # [23:33] <jgraham> unless yu want something easier to parse
- # [23:33] <gsnedders> ezyang: I get 10.
- # [23:34] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) ("Disconnected...")
- # [23:34] <ezyang> Let me push
- # [23:34] <ezyang> (although that shouldn't make a difference)
- # [23:34] <ezyang> Ok, you should pull
- # [23:34] <ezyang> It's very possible that you've fixed a bunch
- # [23:34] <ezyang> And forgot to push your changes
- # [23:34] <gsnedders> There are ten failures on trunk.
- # [23:35] <gsnedders> I haven't touched it in days, everything is pushed.
- # [23:35] <ezyang> Hmmm...
- # [23:35] <ezyang> What version of PHP are you using?
- # [23:35] <gsnedders> Pastebin them
- # [23:35] <gsnedders> 5.2.9
- # [23:35] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
- # [23:35] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [23:35] <ezyang> Ok. Old version of PHP = more errors.
- # [23:36] <ezyang> With 5.2.9 I get 10
- # [23:36] <ezyang> This is a bug, btw
- # [23:36] <gsnedders> Indeed.
- # [23:36] <gsnedders> Right now I'm more concerned with getting it working at least locally :P
- # [23:37] <ezyang> Sure, but it's easier to deal with cross-version bugs as quickly as possible
- # [23:37] <ezyang> I've had to deal with it in HTML Purifier, and they're nasty little buggers
- # [23:37] <ezyang> (anyway, that's 11 worth of more passing test-cases for TreeBuilder.php)
- # [23:37] * gsnedders keeps on hitting bugs that crash PHP
- # [23:37] <ezyang> Oh?
- # [23:38] <ezyang> As in, segfault?
- # [23:38] <gsnedders> Not with html5lib, though
- # [23:38] <gsnedders> yeah
- # [23:38] <ezyang> Get a core dump and complain to the devs
- # [23:38] * Joins: olliej (n=oliver@nat/apple/x-bbe095996d3f68dd)
- # [23:38] * Parts: olliej (n=oliver@nat/apple/x-bbe095996d3f68dd)
- # [23:38] <gsnedders> That doesn't help when you need to support current releases of PHP
- # [23:39] * Joins: olliej (n=oliver@nat/apple/x-198f2bb2639b3786)
- # [23:39] <ezyang> Usually, doing some unset()s or superstitious function calls makes the crash go away :-)
- # [23:39] <gsnedders> Oh, here's a fun crash:
- # [23:39] <olliej> Philip`: weeee - http://nerget.com/pressure/pressure.html
- # [23:39] <gsnedders> curl_version() in some setups crashes PHP.
- # [23:39] <gsnedders> Just calling it at all crashes PHP.
- # [23:39] <ezyang> Oh.
- # [23:39] <gsnedders> It's great fun. :\
- # [23:39] * Joins: billyjackass (n=MikeSmit@EM114-48-161-72.pool.e-mobile.ne.jp)
- # [23:40] <ezyang> Well, that's no good
- # [23:40] <gsnedders> IIRC it's fixed now.
- # [23:40] <olliej> Philip`: its complete absence of html5 validation will make Hixie cry
- # [23:40] <gsnedders> But that is when I got to the point of just saying to users, "If the PHP devs can't create an interpreter that doesn't crash, it's not my problem."
- # [23:41] <ezyang> I disagree.
- # [23:41] <ezyang> But it depends on how much you care about your users.
- # [23:41] <ezyang> If you want the best experience possible, it is very much *your* problem. With open-source, you don't have to care to that level.
- # [23:41] <gsnedders> It had got to the point that the majority of bug fixes were working around interpreter bugs.
- # [23:42] <gsnedders> And that's when I just give up on the interpreter :P
- # [23:42] <ezyang> What the heck were you doing?
- # [23:42] <gsnedders> Nothing much.
- # [23:42] <ezyang> I've only needed to do about two dozen interpreter fixes
- # [23:43] <Philip`> olliej: It's a bit slow in my browsers :-(
- # [23:43] * gsnedders goes back to his Python wunderland where he's never had to work around interpreter bugs :P
- # [23:44] <ezyang> Oh, I've had to work around python bugs too.
- # [23:44] <ezyang> They're pretty spectacular
- # [23:44] <ezyang> One would go away when I added a print statement
- # [23:44] <Philip`> olliej: but kind of neat :-)
- # [23:44] <olliej> Philip`: really?
- # [23:44] <olliej> what machine are you on?
- # [23:44] <ezyang> One would only happen of there was a pyc file, but not when it was missing
- # [23:45] <Hixie> so is www.w3.org down for anyone else?
- # [23:45] <ezyang> Works for me
- # [23:45] * jgraham only remembers one python interpreter bug
- # [23:45] <Philip`> Hixie: http://downforeveryoneorjustme.com/www.w3.org
- # [23:45] <jgraham> (.iteritems() and .items() produced different results)
- # [23:45] <Hixie> well bummer
- # [23:46] <ezyang> jgraham: Haha. That sounds excellent
- # [23:46] <gsnedders> jgraham: They're meant to.
- # [23:46] <ezyang> Anyway, afk, for a bit
- # [23:46] <gsnedders> jgraham: One produces an iterator and the other a list :P
- # [23:46] <jgraham> gsnedders: I was waiting for you to say that
- # [23:47] <Philip`> olliej: A not particularly slow one, but one that's running old (i.e. released) versions of Opera and Firefox rather than a proper browser :-p
- # [23:47] <olliej> Philip`: try a firefox nightly
- # [23:47] <jgraham> olliej: That's cool
- # [23:47] <olliej> Philip`: they do much much better
- # [23:47] <gsnedders> I'm like Romeo and Juliet: everything after the prologue is inevitable, fate will have its course, no matter what I try.
- # [23:47] <olliej> Philip`: or a recent webkit build
- # [23:48] * jgraham was getting about 1500ms/frame with three sources and quite a complex velocity field
- # [23:49] <olliej> jgraham: the performance is entirely dependent on overall resolution
- # [23:49] <gsnedders> olliej: You've changed it!
- # [23:49] <gsnedders> It had a white background before!
- # [23:49] <olliej> jgraham: number of sources is actually irrelevant
- # [23:50] <olliej> gsnedders: i've also improved performance a bit by assuming that there's always 0 diffusion
- # [23:50] <jgraham> olliej: That makes sense I guess since it presumably does the same number of calculations in any case
- # [23:50] <olliej> jgraham: yup
- # [23:50] <olliej> jgraham: the only reason webkit trunk and firefox start off slightly faster is because initially there are no gc allocated numbers
- # [23:51] <jgraham> (although fewer source terms would cut down a bit and you could theoretically see some difference if he canvas doesn't have to change colour I assume)
- # [23:51] * Philip` wonders if it'd be possible to optimise it by doing the big calculations via <canvas> compositing
- # [23:51] <olliej> jgraham: and the number of gc numbers (and hence gc pressure) gradually increases until there are no longer any 0s
- # [23:51] <Philip`> olliej: Seems a bit better in some kind of Firefox 3.5, but it's still ~200ms per frame
- # [23:52] <olliej> Philip`: depending on resolution my measurements show either webkit-proper or chrome to be faster
- # [23:52] <gsnedders> olliej: So WebKit-proper or WebKit-fake? :P
- # [23:52] <olliej> Philip`: largely because jsc still has a stupid gc
- # [23:53] <olliej> gsnedders: webkit-proper and webkit-with-an-unnecessarily-replaced-js-engine
- # [23:53] <Philip`> olliej: I'd be more able to test that if there was a decent WebKit-based browser on Linux
- # [23:53] <olliej> Philip`: epiphany?
- # [23:53] <olliej> Philip`: apparently it works
- # [23:56] * Quits: MikeSmith (n=MikeSmit@EM114-48-161-226.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [23:57] <gsnedders> Is onclick fired on an element and all its parents?
- # [23:57] <gsnedders> In what order?
- # [23:58] <ezyang> ooh, there's a really good quirks mode article on that
- # [23:58] <roc> onclick is fired on one element
- # [23:58] <roc> it bubbles up through its ancestors
- # [23:58] <ezyang> http://www.quirksmode.org/js/events_order.html
- # [23:58] * gsnedders needs to learn about DOM Events, badly
- # [23:58] <jgraham> Philip`: chromium nightlies or the webkittestgtk thing?
- # [23:59] <olliej> Philip`: epiphany-webkit i mean
- # Session Close: Fri May 29 00:00:00 2009
The end :)