/irc-logs / freenode / #whatwg / 2009-05-28 / end

Options:

  1. # Session Start: Thu May 28 00:00:00 2009
  2. # Session Ident: #whatwg
  3. # [00:03] * annevk42 wonders what https://bugzilla.mozilla.org/show_bug.cgi?id=495112 is about -- looks bad
  4. # [00:03] <gavin_> bug 455070 caused a regression
  5. # [00:03] <gavin_> https://bugzilla.mozilla.org/show_bug.cgi?id=494543
  6. # [00:03] * Joins: shepazu (n=schepers@63.80.141.138)
  7. # [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
  8. # [00:04] <annevk42> still, changing from origin to domain makes it incompatible with other impl
  9. # [00:04] * gavin_ isn't really familiar with the details
  10. # [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.
  11. # [00:07] * gsnedders wonders what his Yahoo id is
  12. # [00:12] * Quits: sayrer (n=chatzill@63.245.220.225) (Read error: 104 (Connection reset by peer))
  13. # [00:16] * Quits: taf2 (n=taf2@38.99.201.242)
  14. # [00:20] * Quits: othermaciej (n=mjs@63.80.141.130) (Read error: 104 (Connection reset by peer))
  15. # [00:25] <annevk42> to follow up on that Mozilla bug above, apparently the plan is to fix it in a later release...
  16. # [00:26] * Joins: michaeln (n=michaeln@nat/google/x-b3f5843f37a1de7b)
  17. # [00:27] <gsnedders> How do you customize the toolbar that only appears while pages are loading in Opera!?
  18. # [00:27] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
  19. # [00:28] <Philip`> gsnedders: Select 'customise' and 'show hidden toolbars while customising'?
  20. # [00:29] <gsnedders> Philip`: Oh, there.
  21. # [00:29] <gsnedders> Philip`: That's well hidden.
  22. # [00:29] <Philip`> Indeed, it's hidden as a labelled checkbox on the customisation screen - nobody would ever think to look there
  23. # [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!
  24. # [00:30] * Quits: aroben (n=aroben@unaffiliated/aroben)
  25. # [00:31] * Joins: doublec (n=doublec@202.0.36.64)
  26. # [00:31] * Quits: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
  27. # [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."
  28. # [00:33] <ezyang> hear hear
  29. # [00:34] <gsnedders> Philip`: Huh. It appeared once, and now it's gone.
  30. # [00:35] * ezyang has two more states to convert
  31. # [00:35] <ezyang> The previous author had a similar sentiment: "/* OMG DONE!! */"
  32. # [00:36] * Joins: jacobolus (i=8cf77274@gateway/web/ajax/mibbit.com/x-ae020d6e446a6d71)
  33. # [00:37] * Joins: aroben (n=aroben@17.246.18.201)
  34. # [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
  35. # [00:38] <Hixie> i'll never understand redit
  36. # [00:38] <Hixie> reddit
  37. # [00:39] <ezyang> moooo
  38. # [00:40] <jacobolus> Hixie: I hear you can cash out your reddit upvotes for plush animals in the afterlife.
  39. # [00:40] <Hixie> sweet
  40. # [00:41] <annevk42> I upvoted that one just because I thought it was funny
  41. # [00:41] <annevk42> though prolly not worth much since I've a karma of 1
  42. # [00:42] * Joins: shepazutoo (n=schepers@63.80.141.130)
  43. # [00:42] * Quits: weinig (n=weinig@63.80.141.130)
  44. # [00:42] * Quits: shepazu (n=schepers@63.80.141.138) (Read error: 54 (Connection reset by peer))
  45. # [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...
  46. # [00:42] <ezyang> DONE! WHOOO!
  47. # [00:42] <annevk42> ezyang, does it work? :)
  48. # [00:42] * annevk42 might use a PHP HTML5 parser
  49. # [00:42] <ezyang> I haven't run the test suite yet.
  50. # [00:43] <ezyang> For all I know, it crashes and burns with a fatal error :-)
  51. # [00:43] <annevk42> ah, I guess it will :)
  52. # [00:43] <ezyang> Also, there must be at least 40 XXX
  53. # [00:43] <Hixie> annevk42: does karma affect comment voting?
  54. # [00:44] * Joins: hdh (n=hdh@118.71.99.109)
  55. # [00:45] * Joins: webben (n=benh@91.85.199.213)
  56. # [00:45] <annevk42> Hixie, to be honest I haven't studied the algorithms
  57. # [00:45] <annevk42> Hixie, maybe it just counts and doesn't take my karma into account when calculating yours
  58. # [00:45] <Hixie> as far as i can tell, comment voting has no effect on anything except the troll comment cut off
  59. # [00:45] <Hixie> and the karma seems to have no effect at all
  60. # [00:46] <annevk42> probably right, would be kind of expensive too now I think about it :)
  61. # [00:47] * Joins: archtech (n=stanv@83.228.56.37)
  62. # [00:48] * Quits: shepazutoo (n=schepers@63.80.141.130)
  63. # [00:49] * Joins: annevk2 (n=annevk@94.210.210.44)
  64. # [00:53] * Quits: aroben (n=aroben@unaffiliated/aroben)
  65. # [00:55] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-aa499f0e0bfb3c9b)
  66. # [00:55] * Joins: aroben (n=aroben@17.246.18.201)
  67. # [01:01] * Quits: eric_carlson (n=eric_car@nat/apple/x-3eaad1263deba4ea)
  68. # [01:05] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-aa499f0e0bfb3c9b) ("This computer has gone to sleep")
  69. # [01:10] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
  70. # [01:13] <ezyang> +6 passes, to 90 passes!
  71. # [01:14] * Joins: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au)
  72. # [01:14] <gsnedders> And how many failures?
  73. # [01:16] <ezyang> 279 failures, although I know one fix that will get rid of a lot of them. I'm currently squishing exceptions
  74. # [01:23] <gsnedders> Is all your work in Parser.php then?
  75. # [01:23] <ezyang> TreeConstructer.php
  76. # [01:23] <gsnedders> Ah, that's what it's called.
  77. # [01:23] <ezyang> in the php-tb branch. I'll be merging it back in before pushing
  78. # [01:23] * Quits: webben (n=benh@91.85.199.213) (Read error: 104 (Connection reset by peer))
  79. # [01:23] * Hixie writes a sentence of garbled english that he can't work out how to make real english
  80. # [01:23] <gsnedders> Can I change the tokenizer to an iterator?
  81. # [01:24] <Hixie> this doesn't bode well
  82. # [01:24] <gsnedders> Hixie: en-gb-x-hixie isn't real English anyway! :P
  83. # [01:24] <Hixie> this sentence is not en-gb-x-hixie either
  84. # [01:24] <ezyang> What would the output of the tokenizer be?
  85. # [01:24] <ezyang> (as an iterator)
  86. # [01:24] <gsnedders> ezyang: Tokens :P
  87. # [01:24] <ezyang> Uhh, ok
  88. # [01:24] <ezyang> So, problem
  89. # [01:25] <gsnedders> So, solution.
  90. # [01:25] <ezyang> Tree construction needs to be able to pass info back to the tokenizer
  91. # [01:25] <ezyang> coroutines would be ideal, but we don't have those in PHP
  92. # [01:25] <Hixie> can someone translate this to english?:
  93. # [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.
  94. # [01:26] <gsnedders> foreach($tokinzer as $token) { if ($token['type'] === HTML5_Tokenizer::STARTTAG) $tokenizer->content_model=HTML5_Tokenizer::PCDATA; }
  95. # [01:26] <gsnedders> ezyang: ^^
  96. # [01:26] <gsnedders> Hixie: Oh dear…
  97. # [01:27] <ezyang> That's not sufficient, but sure, if you want to move the twiddling there
  98. # [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…
  99. # [01:27] <ezyang> I think it's pseudocode time
  100. # [01:27] <gsnedders> I <3 study leave.
  101. # [01:27] <ezyang> That would be ok.
  102. # [01:27] <gsnedders> ezyang: I'll speak with you when I'm sanely awake.
  103. # [01:27] * Quits: ZombieLoffe (n=e@unaffiliated/zombieloffe)
  104. # [01:28] * Quits: drostie (n=hopkins@5ED17066.cable.ziggo.nl) (Remote closed the connection)
  105. # [01:28] <ezyang> Savvy
  106. # [01:28] * Joins: webben (n=benh@91.85.199.213)
  107. # [01:28] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
  108. # [01:29] * Joins: tantek (n=tantek@67.180.202.79)
  109. # [01:32] * Quits: heycam` (n=cam@210.84.19.113) ("bye")
  110. # [01:32] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com) (Read error: 104 (Connection reset by peer))
  111. # [01:33] <ezyang> WHOO! zero exceptions
  112. # [01:34] <ezyang> And fixing those bumped up passes to 103
  113. # [01:34] <ezyang> I think its pushin' time
  114. # [01:35] <ezyang> Time to fix the text blobbing problem
  115. # [01:35] * Quits: tantek (n=tantek@67.180.202.79)
  116. # [01:39] <ezyang> Bumped up to 117 passes
  117. # [01:44] <Hixie> public-html has been strangely silent today
  118. # [01:44] <Hixie> did i address all of larry's concerns? surely not.
  119. # [01:44] * Quits: pauld (n=pauld@host81-129-222-81.range81-129.btcentralplus.com)
  120. # [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
  121. # [01:45] * Parts: billmason (n=billmaso@ip147.unival.com)
  122. # [01:46] <annevk2> Hixie, that worker Document stuff, is that about my question?
  123. # [01:46] <Hixie> no
  124. # [01:46] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
  125. # [01:46] <Hixie> though i should fix that at the same tim,e
  126. # [01:46] <Hixie> time
  127. # [01:51] * Quits: dglazkov (n=dglazkov@nat/google/x-41b822cbc7d7f4ca)
  128. # [01:54] <ezyang> Ok, that's probably enough html5lib hacking for today
  129. # [01:56] <annevk2> supercool that you're doing this btw
  130. # [01:57] * Quits: broquaint (n=dbrook@spc1-brig11-0-0-cust544.asfd.broadband.ntl.com) (Read error: 110 (Connection timed out))
  131. # [01:58] * Quits: bgalbraith (n=bgalbrai@166.129.184.113) (Read error: 110 (Connection timed out))
  132. # [01:59] <Philip`> No it isn't - it'll remove a reason for PHP programmers to migrate to a proper language, like Python :-p
  133. # [02:00] <ezyang> annevk2: Thanks!
  134. # [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
  135. # [02:13] * Quits: aroben (n=aroben@unaffiliated/aroben)
  136. # [02:19] * Quits: annevk2 (n=annevk@94.210.210.44)
  137. # [02:19] <Philip`> http://dev.opera.com/articles/view/opera-ua-string-changes/
  138. # [02:20] <Philip`> The web would be much simpler if there weren't User-Agents strings
  139. # [02:20] <ezyang> Sometimes you have to use the user-agent string, since the browser lies about what it supports via feature detection
  140. # [02:27] * Joins: othermaciej (n=mjs@63.80.141.130)
  141. # [02:31] * Joins: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
  142. # [02:40] * Joins: webben_ (n=benh@91.85.199.213)
  143. # [02:48] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  144. # [02:51] <ezyang> mmmmmmm
  145. # [02:51] <ezyang> (got tugged back into debugging the brushfires)
  146. # [02:52] * Quits: webben (n=benh@91.85.199.213) (Connection timed out)
  147. # [03:12] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("->home")
  148. # [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]")
  149. # [03:17] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  150. # [03:18] * Joins: webben (n=benh@91.85.199.213)
  151. # [03:19] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
  152. # [03:23] <ezyang> So what does the specification *mean* when it says "if it wasn't ignored"
  153. # [03:24] <ezyang> Oh, it's explicitly spelled out. savvy
  154. # [03:25] <jcranmer> ezyang: "if the moon is currently waxing, and Saturn is in conjunction with Jupiter"
  155. # [03:30] * Quits: webben_ (n=benh@91.85.199.213) (Read error: 110 (Connection timed out))
  156. # [03:31] * Joins: jwalden_ (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
  157. # [03:31] * jwalden_ is now known as jwalden
  158. # [03:31] * Quits: othree (n=othree@admin39.ct.ntust.edu.tw) (Remote closed the connection)
  159. # [03:33] * Quits: othermaciej (n=mjs@63.80.141.130)
  160. # [03:34] * Joins: othree (n=othree@admin39.ct.ntust.edu.tw)
  161. # [03:36] * Quits: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  162. # [03:45] * Parts: atwilson (n=atwilson@74.125.59.1)
  163. # [03:47] * Quits: slightlyoff (n=slightly@72.14.229.81) (Read error: 110 (Connection timed out))
  164. # [03:51] <ezyang> Quirks mode go boom
  165. # [03:53] * Quits: jacobolus (i=8cf77274@gateway/web/ajax/mibbit.com/x-ae020d6e446a6d71) ("http://www.mibbit.com ajax IRC Client")
  166. # [03:54] * Joins: wakaba (n=wakaba@EM114-51-148-91.pool.e-mobile.ne.jp)
  167. # [03:54] * Quits: VeXocide (i=vexocide@snail.stack.nl) (verne.freenode.net irc.freenode.net)
  168. # [03:54] * Quits: drry (n=drry@dd25.opt2.point.ne.jp) (verne.freenode.net irc.freenode.net)
  169. # [03:54] * Quits: scherkus (n=scherkus@72.14.227.1) (verne.freenode.net irc.freenode.net)
  170. # [03:55] * Joins: VeXocide (i=vexocide@snail.stack.nl)
  171. # [03:55] * Joins: drry (n=drry@dd25.opt2.point.ne.jp)
  172. # [03:55] * Joins: scherkus (n=scherkus@72.14.227.1)
  173. # [03:57] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
  174. # [03:59] * Quits: wakaba_ (n=wakaba@EM114-51-8-224.pool.e-mobile.ne.jp) (Read error: 60 (Operation timed out))
  175. # [04:16] * weinig is now known as weinig|brb
  176. # [04:17] * Joins: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
  177. # [04:28] * Joins: othermaciej (n=mjs@c-24-7-88-142.hsd1.ca.comcast.net)
  178. # [04:29] <othermaciej> Hixie: well Google totally loves HTML5 it seems
  179. # [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?
  180. # [04:42] <ezyang> Or does it just contain the html node?
  181. # [04:46] * Joins: othermaciej_ (n=mjs@dsl001-150-252.sfo1.dsl.speakeasy.net)
  182. # [04:49] * Quits: othermaciej (n=mjs@c-24-7-88-142.hsd1.ca.comcast.net) (Nick collision from services.)
  183. # [04:49] * othermaciej_ is now known as othermaciej
  184. # [04:49] * Quits: othermaciej (n=mjs@dsl001-150-252.sfo1.dsl.speakeasy.net) (Client Quit)
  185. # [04:50] * Quits: dolske (n=dolske@firefox/developer/dolske) (Remote closed the connection)
  186. # [05:14] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  187. # [05:17] * Quits: ray (i=ray@the.ug) (Read error: 113 (No route to host))
  188. # [05:18] * Joins: ray (i=ray@the.ug)
  189. # [05:22] * weinig|brb is now known as weinig
  190. # [05:38] * Joins: olliej_ (n=oliver@17.246.17.60)
  191. # [05:38] * Quits: olliej_ (n=oliver@17.246.17.60) (Remote closed the connection)
  192. # [05:39] * Joins: olliej_ (n=oliver@17.203.15.206)
  193. # [05:39] * Quits: olliej (n=oliver@17.203.15.206) (Read error: 104 (Connection reset by peer))
  194. # [05:41] * Joins: MikeSmith (n=MikeSmit@EM114-48-15-140.pool.e-mobile.ne.jp)
  195. # [05:49] * Joins: heycam (n=cam@dyn-130-194-220-212.its.monash.edu.au)
  196. # [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.
  197. # [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
  198. # [05:54] <othermaciej> but I have to show you sometime
  199. # [05:55] <ezyang> Awesome, thanks!
  200. # [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
  201. # [05:56] <Hixie> othermaciej: i am shocked, shocked i tell you, that an apple demo was slicker than a google demo. :-P
  202. # [05:56] <Hixie> ezyang: you can just mail me directly (ian@hixie.ch)
  203. # [05:56] <othermaciej> my slides were very pretty too, but not many people showed up to my session
  204. # [05:57] <othermaciej> Hixie: I did post my offline demo though: http://webkit.org/demos/calendar/Calendar.html
  205. # [05:57] <othermaciej> (uses AppCache, SQLStorate, LocalStorage, online/offline events)
  206. # [05:58] <Hixie> othermaciej: that demo will be even more compelling once browsers do the vEvent drag-and-drop stuff
  207. # [05:58] <Hixie> othermaciej: and you can just drag from one calendar to another and have the event carry through
  208. # [05:58] <Hixie> wouldn't even be that hard to do, on the js side
  209. # [05:58] <othermaciej> that would be cool
  210. # [05:58] <ezyang> Sent!
  211. # [05:58] <Hixie> it's technically a requirement of html5 now :-)
  212. # [05:58] <Hixie> ezyang: thanks!
  213. # [05:59] <othermaciej> I did like the YouTube video demo, though really only cause of the domain where it is hosted
  214. # [05:59] <othermaciej> not so much intrinsic slickness
  215. # [05:59] <ezyang> Hmmm... why am I getting two <html> nodes in my documents...
  216. # [06:01] <ezyang> Ouch, the DOM is coming preloaded with an HTML element
  217. # [06:03] <ezyang> Holy crap, that caused 66 cases to start passing
  218. # [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"
  219. # [06:04] <othermaciej> I didn't know Apple was pushing for it, I thought we were gonna make such a demo ourselves
  220. # [06:05] <Hixie> i don't think it was a corporate position, but i have received private requests to that effect
  221. # [06:05] * Quits: olliej_ (n=oliver@17.203.15.206)
  222. # [06:05] <othermaciej> it's pretty cool
  223. # [06:05] <Hixie> we really need to figure out the codec issue
  224. # [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
  225. # [06:06] <othermaciej> (I demoed video, canvas, offline stuff)
  226. # [06:06] <Hixie> i'm surprised offline was demoed anywhere
  227. # [06:06] <othermaciej> only thing I showed that Google didn't highlight was CSS animation
  228. # [06:06] <Hixie> it's so hard to demo in a compelling fashion
  229. # [06:06] <othermaciej> Hixie: that's why I have the network indicator in my demo
  230. # [06:06] <Hixie> oh they took out the animation demo?
  231. # [06:06] <othermaciej> I pulled the network cable, quit and relaunched
  232. # [06:07] <othermaciej> I don't think there was one - if there was I hadn't heard
  233. # [06:07] <Hixie> one of the early versions of the keynote i saw had the video being rotated by css animation stuff
  234. # [06:07] <Hixie> maybe it wasn't reliably enough or something
  235. # [06:07] <othermaciej> I would have demo'd workers too but olliej ran out of time to multithread my fluid dynamics demo
  236. # [06:07] <othermaciej> (solves navier-stokes equations in realtime and draws results to canvas)
  237. # [06:08] <Hixie> nice
  238. # [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"
  239. # [06:14] <othermaciej> now you have to be mildly ignorant to do so
  240. # [06:14] <othermaciej> http://www.webdesignerhelp.co.uk/index.php/2009/05/5-fantastic-features-of-html-5/
  241. # [06:15] <othermaciej> Hixie: anyway I dunno what to do about codecs
  242. # [06:15] <othermaciej> I should look up when the patents on a plausible H.264 baseline expire
  243. # [06:18] <Hixie> i say we co-opt the term Web 5.0
  244. # [06:18] <othermaciej> ES 5 conveniently renumbered themselves!
  245. # [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!
  246. # [06:19] <ezyang> All of the stars are conveniently aligned.
  247. # [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?
  248. # [06:24] <ezyang> That wouldn't make any sense at all.
  249. # [06:24] <ezyang> So I guess I'm supposed to pop the stack until I get to the node
  250. # [06:29] * Joins: olliej (n=oliver@17.203.15.206)
  251. # [06:36] * Joins: mpilgrim (n=mark@12.144.179.214)
  252. # [06:37] <ezyang> Houston, I think I see an error in the test-case
  253. # [06:37] <mpilgrim> there was a bit in the keynote where vic showed the rotated video demo
  254. # [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
  255. # [06:38] <othermaciej> that's cool
  256. # [06:38] <mpilgrim> ("in the DOM" instead of "in plugin prison")
  257. # [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
  258. # [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
  259. # [06:39] <mpilgrim> the rotating video was a firefox demo (with ogg theora video)
  260. # [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
  261. # [06:40] <mpilgrim> and on and on
  262. # [06:40] <othermaciej> video is in chromium nightlies now?
  263. # [06:40] <othermaciej> like actually working?
  264. # [06:40] <othermaciej> that would be sweet if so, I hadn't heard
  265. # [06:40] <mpilgrim> http://codereview.chromium.org/115625
  266. # [06:41] <mpilgrim> i could be misremembering, he may have shown the youtube demo in safari 4
  267. # [06:41] <mpilgrim> he did NOT make any mention of the fact that he kept switching browsers (and OSes)
  268. # [06:41] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  269. # [06:41] <Hixie> ezyang: it means excise
  270. # [06:42] <othermaciej> that checkin would add codecs but presumably you would need something more to actually use them
  271. # [06:42] <mpilgrim> that's all i know :(
  272. # [06:42] <othermaciej> yeah, the bleeding edge of the Open Web platform can be sharp
  273. # [06:42] * Hixie runs his recent chromium build to find out
  274. # [06:42] <ezyang> Oh, really!
  275. # [06:42] <othermaciej> I did all my demos in Safari cause I am lazy
  276. # [06:42] <Hixie> doesn't work on the mac chromium builds
  277. # [06:43] <Hixie> dunno about windows
  278. # [06:43] <ezyang> So, that means that <form><div></form><div> results in two nested divs inside of <form>, and nothing outside?
  279. # [06:43] <mpilgrim> i have windows right now
  280. # [06:43] <mpilgrim> where can i get nightly builds?
  281. # [06:43] <Hixie> i build them from svn
  282. # [06:43] <Hixie> ezyang: nested ones, yeah
  283. # [06:43] <ezyang> Wow. That's weird.
  284. # [06:43] <mpilgrim> nm, i found it
  285. # [06:43] * Hixie points to the topic
  286. # [06:44] <ezyang> :-)
  287. # [06:44] <mpilgrim> wow, my hotel wireless doesn't completely suck
  288. # [06:45] * Joins: billyjackass (n=MikeSmit@EM114-48-1-188.pool.e-mobile.ne.jp)
  289. # [06:45] <ezyang> mpilgrim: Congratulations! A million travelers would love to be in your hotel right now :-P
  290. # [06:45] <mpilgrim> getting sustained 115 kB/s down
  291. # [06:45] <ezyang> Maybe that should get a note.
  292. # [06:46] * Quits: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
  293. # [06:50] <ezyang> Huh. Google Code's authorization will randomly fail.
  294. # [06:53] <mpilgrim> it's official: i'm on crack
  295. # [06:53] <mpilgrim> chromium nightly does not play youtube html5 video
  296. # [06:53] <mpilgrim> nor wikimedia commons videos (theora)
  297. # [06:54] <mpilgrim> still, someone is obviously working on it
  298. # [06:54] <mpilgrim> if it's really built on top of ffmpeg, that would be exciting
  299. # [06:54] <mpilgrim> (to me anyway)
  300. # [06:54] <othermaciej> I've definitely heard that folks are working on it
  301. # [06:54] <othermaciej> what would be specifically exciting about ffmpeg being involved?
  302. # [06:54] <mpilgrim> broad codec support
  303. # [06:54] <mpilgrim> on all platforms
  304. # [06:55] <mpilgrim> including linux, which i run on my primary home workstation
  305. # [06:56] <mpilgrim> for posterity, i tested chromium 3.0.183.0 (r17063)
  306. # [06:57] <mpilgrim> on windows
  307. # [06:57] <othermaciej> Chromium is up to 3 already?
  308. # [06:57] <mpilgrim> from http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/17063/
  309. # [06:57] <mpilgrim> that's what it says in the about box
  310. # [06:57] <othermaciej> at this rate it will have a higher version number than Opera by next year
  311. # [06:57] <mpilgrim> lol
  312. # [06:57] * Quits: takkaria (n=takkaria@isparp.co.uk) (Read error: 60 (Operation timed out))
  313. # [06:58] * Joins: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
  314. # [07:00] * Quits: MikeSmith (n=MikeSmit@EM114-48-15-140.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  315. # [07:01] * Joins: takkaria (n=takkaria@isparp.co.uk)
  316. # [07:02] * Quits: syp__ (n=syp@lasigpc9.epfl.ch) (Read error: 54 (Connection reset by peer))
  317. # [07:03] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
  318. # [07:04] <Hixie> othermaciej: let's not get crazy here, don't forget opera is also releasing browsers!
  319. # [07:05] <othermaciej> Hixie: Opera only consumes 2/3 of a major version number a year though
  320. # [07:06] <othermaciej> Chrome is on track to 3 major versions per year or more
  321. # [07:06] <Hixie> true
  322. # [07:06] <Hixie> i wonder how long they'll keep it up
  323. # [07:06] <othermaciej> probably until their number is big enough to sound comparable to other browsers
  324. # [07:07] <Hixie> firefox and safari are at 3
  325. # [07:07] <Hixie> so that shouldn't take leng
  326. # [07:07] <Hixie> lon7g
  327. # [07:07] <Hixie> long
  328. # [07:08] <othermaciej> I mean, I dunno if they really want to hit IE / Opera level numbers
  329. # [07:08] <Hixie> oh, well, catching up to IE wouldn't take long at this rate
  330. # [07:08] <Hixie> given the average time between IE releases
  331. # [07:09] <othermaciej> heh
  332. # [07:09] <mpilgrim> everybody gives us shit for keeping products in perpetual beta
  333. # [07:09] <mpilgrim> then we release 2 stable versions in < 1 year, and people give us shit for that instead
  334. # [07:10] <mpilgrim> i think i can see the common factor here
  335. # [07:10] <mpilgrim> ;)
  336. # [07:10] <Hixie> hah
  337. # [07:12] <othermaciej> I would argue GMail has more right to claim to be a non-beta than Chrome 2
  338. # [07:13] <ezyang> Foster parenting is so convoluted
  339. # [07:17] <Hixie> foster parenting has nothing on the AAA
  340. # [07:18] <ezyang> AAA?
  341. # [07:18] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (Read error: 104 (Connection reset by peer))
  342. # [07:18] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
  343. # [07:18] * Joins: ap (n=ap@194.154.88.33)
  344. # [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."
  345. # [07:19] <mpilgrim> http://radar.oreilly.com/2009/05/google-bets-big-on-html-5.html#comment-2060516
  346. # [07:21] <othermaciej> Stop HTML5! Keep Web applications poor!
  347. # [07:21] <Hixie> i saw that comment earlier
  348. # [07:21] <othermaciej> why you gotta be so jealous of *Rich* internet applications, HTML?
  349. # [07:21] <Hixie> it's an accurate comment if you assume (as the author does) that the goal is to replace native platforms
  350. # [07:22] <Hixie> but the spec explicitly says that that is not the goal
  351. # [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
  352. # [07:22] <Hixie> specs don't move fast enough
  353. # [07:23] <Hixie> interoperable platforms are doomed to always be inferior to the cutting edge proprietary ones
  354. # [07:23] <Hixie> however that misses the entire point
  355. # [07:23] <Hixie> which is that they _can_ be good enough
  356. # [07:23] <Hixie> and we can make the web much better
  357. # [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
  358. # [07:24] <othermaciej> but I'm happy with how we're doing on "enable Web developers to do more cool stuff"
  359. # [07:24] <Hixie> yup
  360. # [07:24] <Hixie> html5 is also doomed to fail if the goal is to cure cancer
  361. # [07:27] <weinig> Hixie: with that attitude it is!
  362. # [07:28] <othermaciej> hmm validator.nu doesn't like the sizes attribute on this:
  363. # [07:28] <othermaciej> <link rel="icon" href="surfin-safari.icns" sizes="32x32 128x128 512x512">
  364. # [07:28] <othermaciej> I can't figure out what if anything is wrong
  365. # [07:29] <othermaciej> is that actually a bad value or is it a validator bug?
  366. # [07:30] <othermaciej> it looks conforming to me....
  367. # [07:31] <roc> I wonder how Google is going to address its patent licensing obligations if they distribute ffmpeg under the LGPL
  368. # [07:35] * Joins: mhausenblas (n=mhausenb@wg1-nat.fwgal01.deri.ie)
  369. # [07:35] * Joins: pauld (n=pauld@94.197.206.168.threembb.co.uk)
  370. # [07:35] <mpilgrim> i know i've beat on rubys in the (recent) past
  371. # [07:36] <othermaciej> beat on him about what?
  372. # [07:36] <mpilgrim> but i must give him credit for his stewardship of the rdfa discussion
  373. # [07:36] <othermaciej> he's been fine on that
  374. # [07:36] <othermaciej> I am no fan of his stewardship of the title discussion, in that he started a title discussion
  375. # [07:37] <mpilgrim> are these people for real? http://lists.w3.org/Archives/Public/public-html/2009May/0436.html
  376. # [07:37] <othermaciej> though it has been uphill from there, now that he and Larry have expressed their actual issues with the spec
  377. # [07:37] <mpilgrim> actual_issues++
  378. # [07:37] <othermaciej> sideshow_proxy_discussions--
  379. # [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?"
  380. # [07:38] <mpilgrim> words fail me
  381. # [07:38] * Quits: dave_levin (n=dave_lev@72.14.227.1)
  382. # [07:38] * Joins: dave_levin (n=dave_lev@72.14.224.1)
  383. # [07:39] <othermaciej> you would kind of expect people interested in semantic markup to want it to work robustly
  384. # [07:39] <mpilgrim> also, http://lists.w3.org/Archives/Public/public-html/2009May/0269.html
  385. # [07:39] <mpilgrim> i think shane is laboring under the misapprehension that he has done the hard part and is about 99% done
  386. # [07:40] <othermaciej> well, he's writing a spec to tack onto HTML4
  387. # [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
  388. # [07:40] <mpilgrim> dude, you're about 1% done
  389. # [07:40] <othermaciej> so HTML4-level quality is not surprising as an outcome
  390. # [07:40] <mpilgrim> and it was the easy 1%
  391. # [07:40] * Joins: pauld_ (n=pauld@94.197.206.60.threembb.co.uk)
  392. # [07:40] <othermaciej> I would say he's 99% done, and now he has to do the other 99%
  393. # [07:41] <mpilgrim> RDFa-in-XHTML is an interesting theoretical exercise
  394. # [07:42] <mpilgrim> a toy language in an academic's sandbox
  395. # [07:42] <billyjackass> othermaciej: the cause of the sizes thing is a bug in validator.nu, from code I added. I'll fix it.
  396. # [07:42] * billyjackass is now known as MikeSmith
  397. # [07:42] <othermaciej> MikeSmith: thanks!
  398. # [07:42] <MikeSmith> thanks for catching it
  399. # [07:43] <othermaciej> my only other validator issue is use of proprietary <input type="search"> attributes
  400. # [07:44] <mpilgrim> anyway, rubys has been good at knocking some sense into them so far
  401. # [07:44] <othermaciej> I wonder if we implement enough of Web Forms 2 to replace that all with standards ones
  402. # [07:44] <othermaciej> mpilgrim: he's knocking, but I suspect there is nobody home
  403. # [07:44] <mpilgrim> i hope he can manage to get them to understand the magnitude of the task ahead of them
  404. # [07:45] <othermaciej> it would have been far easier to consider these issues when designing RDFa in the first place...
  405. # [07:45] <othermaciej> but of course, They Weren't Chartered to do That(tm)
  406. # [07:45] <mpilgrim> i can't fault them for that, really
  407. # [07:45] <mpilgrim> they were told XHTML was the future
  408. # [07:45] <mpilgrim> been there, done that
  409. # [07:46] <mpilgrim> not everybody got the memo in 2003
  410. # [07:46] <othermaciej> I thought flying cars were the future
  411. # [07:48] <mpilgrim> http://www.threadless.com/product/63/Damn_Scientists !
  412. # [07:49] <mpilgrim> where is my jetpack, dammit!
  413. # [07:50] <mpilgrim> man, this is awesome in retrospect: http://ln.hixie.ch/?start=1037595583&count=1
  414. # [07:50] <mpilgrim> and http://diveintomark.org/archives/2002/11/21/a_warning_to_others
  415. # [07:52] <mpilgrim> "New XHTML version 1.1! Now more hostile than ever!"
  416. # [07:52] <mpilgrim> good times
  417. # [07:53] <hsivonen> othermaciej: validator bug most likely
  418. # [07:53] <ezyang> XHTML 1.1 was nice enough to give us the modularization though...
  419. # [07:53] <othermaciej> hsivonen: MikeSmith said it was and said he'll fix it
  420. # [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...
  421. # [07:55] <othermaciej> I don't know that they are battling those issues so much as trying to sweep them under the carpet
  422. # [07:55] <othermaciej> I think the goal is more to show that RDFa is already perfect than to fix it
  423. # [07:55] <mpilgrim> MICRODATA IS TEH SUCK!
  424. # [07:56] <mpilgrim> U STOLE OUR ATTRIBUTEZ!
  425. # [07:56] <othermaciej> whoah, Hixie used the phrase "in the pre-XHTML2 world"
  426. # [07:56] <Hixie> it's ok, i gave them back
  427. # [07:56] <othermaciej> and it doesn't look like he was being at all sarcastic
  428. # [07:56] <Hixie> othermaciej: you think that's bad. see http://ln.hixie.ch/?start=1042630901&count=1
  429. # [07:57] <hsivonen> mpilgrim: http://lists.w3.org/Archives/Public/public-html/2009May/0301.html is interesting
  430. # [07:57] <mpilgrim> BUT STILL! WE MUST BRING IT UP AT EVERY OPPORTUNITY! IN CASE IT HAPPENS AGAIN!
  431. # [07:57] <othermaciej> "Personally, I think XHTML2 is shaping up to be a great specification." - Ian Hickson
  432. # [07:57] <mpilgrim> REMEMBER THE @PROPERTY!
  433. # [07:57] <othermaciej> I should twitter that
  434. # [07:57] <Hixie> i started work on html5 8 months later
  435. # [07:57] * Quits: pauld (n=pauld@94.197.206.168.threembb.co.uk) (Read error: 110 (Connection timed out))
  436. # [07:58] <Hixie> it's amazing when you realise that in 6 years since then xhtml2 has hardly changed at all
  437. # [07:58] <mpilgrim> not true, it grew roles and states
  438. # [07:58] <othermaciej> what made you grow disenchanted so quickly?
  439. # [07:59] <Hixie> othermaciej: xforms
  440. # [07:59] <roc> and can we bottle it and sell it?
  441. # [07:59] <Hixie> as you will recall :-)
  442. # [07:59] <othermaciej> was it really not obvious before that, that starting with a clean slate of purity was a bad idea?
  443. # [07:59] <Hixie> i guess not
  444. # [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
  445. # [08:00] <othermaciej> in the nascent days of Safari I initially thought we should base it on Gecko
  446. # [08:00] <othermaciej> as long as we are bringing up regrettable past beliefs
  447. # [08:01] <mpilgrim> on the subject of embarassing quotes, i like this one: http://lists.w3.org/Archives/Public/www-html/2003Jan/0277.html
  448. # [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
  449. # [08:03] <othermaciej> so long, it's infinite!
  450. # [08:04] <Hixie> nah, if the technology is good enough, you can do it
  451. # [08:04] <Hixie> e.g. mac os 9 to mac os x
  452. # [08:04] <Hixie> or the iphone
  453. # [08:04] <Hixie> or windows to linux
  454. # [08:04] <Hixie> etc
  455. # [08:05] <Hixie> mpilgrim: i still don't think we should have the style="" attribute.
  456. # [08:05] <othermaciej> OS X had to build a lot of bridges
  457. # [08:05] <othermaciej> from the original total-ocean-boiling strategy
  458. # [08:05] <Hixie> yes, you need to build a lot of bridges to do it
  459. # [08:05] <othermaciej> (Classic and Carbon were not part of the original plan)
  460. # [08:05] <Hixie> it's far more work than the xhtml2 wg are even remotely considering
  461. # [08:05] <Hixie> also xhtml2 isn't enough of an improvement (any more)
  462. # [08:05] <Hixie> (if it ever was)
  463. # [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."
  464. # [08:06] <othermaciej> Apple also had the advantage of having a totally vendor-controlled ecosystem
  465. # [08:06] <othermaciej> zeldman beats Hixie!
  466. # [08:06] <mpilgrim> funny, i still get that feeling
  467. # [08:07] <mpilgrim> zeldman wrote that over 6 years ago
  468. # [08:08] <Hixie> that was written around the same time as my blog post
  469. # [08:08] <Hixie> probably as part of the same "blogosphere meme"
  470. # [08:09] <hsivonen> might be interesting to look up my ancient XHTML2 technical feedback to see if it has been addressed
  471. # [08:09] <hsivonen> nah
  472. # [08:09] <hsivonen> I'll spend my day doing perf profiling instead
  473. # [08:09] * Quits: pauld_ (n=pauld@94.197.206.60.threembb.co.uk)
  474. # [08:10] * Quits: hdh (n=hdh@118.71.99.109) (Remote closed the connection)
  475. # [08:10] <Hixie> hsivonen: the wg finally got back to me today on some feedback i sent on xhtml1 in 2003
  476. # [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?
  477. # [08:11] <ezyang> (erm, ignore that stray >)
  478. # [08:11] <ezyang> Doesn't <a>foo</a> trigger the taint?
  479. # [08:11] <Hixie> in the spec, you mean?
  480. # [08:12] <ezyang> This example comes from html5lib test suite
  481. # [08:12] <ezyang> I'm trying to decide if I've done something boneheaded before changing the test
  482. # [08:12] * Quits: roc (n=roc@202.0.36.64)
  483. # [08:13] <hsivonen> Hixie: cool. better late than never
  484. # [08:13] <hsivonen> Hixie: had you already fixed it in XHTML5?
  485. # [08:13] <Hixie> ezyang: looks like a bug in the test to me
  486. # [08:13] <ezyang> awesome
  487. # [08:14] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  488. # [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
  489. # [08:14] <hsivonen> ezyang: the test was updated when I thought Hixie would do WebKit-style taintless tables
  490. # [08:14] <ezyang> Oh?
  491. # [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
  492. # [08:14] <ezyang> Well, is Hixie going to do taintless tables?
  493. # [08:14] <hsivonen> ezyang: not at the moment. I need to convince him some more
  494. # [08:15] <Hixie> iirc i came up with some reason why it wasn't a good idea
  495. # [08:15] <ezyang> Heh, ok.
  496. # [08:16] <hsivonen> it's certainly possible to construct cases where it's a bad idea not to have taint
  497. # [08:17] <hsivonen> but WebKit seems to get away with not having taint, so...
  498. # [08:17] <ezyang> I see; you want to keep things simple.
  499. # [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 :-)
  500. # [08:18] <hsivonen> Hixie: so far, I haven't seen real-world issues
  501. # [08:18] <ezyang> Hmmm... I suppose I should check how many tests the python implementation has passing and check that
  502. # [08:19] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
  503. # [08:19] <ezyang> This means the lower bound to fails is at least 1... possibly more
  504. # [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
  505. # [08:19] <hsivonen> s7bus/but/
  506. # [08:20] <othermaciej> I love this old Hixie blog post
  507. # [08:20] <othermaciej> every line is a treasure
  508. # [08:22] <hsivonen> mpilgrim: it seems that HTML5 is hostile in some ways like XHTML 1.1
  509. # [08:22] <othermaciej> actually, some of these things would be great to fix if they were practically fixable
  510. # [08:22] <othermaciej> like lists in paragraphs
  511. # [08:22] <hsivonen> mpilgrim: e.g. name=foo being non-conforming
  512. # [08:23] <hsivonen> mpilgrim: whoa! you've had a FOAF profile!
  513. # [08:24] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
  514. # [08:24] <hsivonen> mpilgrim: what made you not have one any longer?
  515. # [08:24] <mpilgrim> i did, when they were all the rage
  516. # [08:25] <mpilgrim> i had a blogroll and an rss feed once too
  517. # [08:25] <mpilgrim> i believe if you go back far enough, i had a scriptingNews feed
  518. # [08:25] <mpilgrim> (betcha don't even know what that is)
  519. # [08:25] <hsivonen> mpilgrim: I think I've seen something about that
  520. # [08:26] * ezyang lost another four test-cases... argh
  521. # [08:26] * hsivonen remembers seeing a YSoD on diveintomark around the time of that post
  522. # [08:27] * Joins: dolske (n=dolske@c-76-103-40-203.hsd1.ca.comcast.net)
  523. # [08:27] <ezyang> Ok, the test-case is almost definitely wrong
  524. # [08:28] <ezyang> Oh wait, my diff is being wonky
  525. # [08:28] * Quits: MikeSmith (n=MikeSmit@EM114-48-1-188.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  526. # [08:29] * Joins: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  527. # [08:29] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
  528. # [08:30] <ezyang> No, this is most certainly bogus
  529. # [08:30] <ezyang> The test case wants me to have <input> be a child of <table>
  530. # [08:31] <hsivonen> ezyang: not "hidden"?
  531. # [08:31] * Quits: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
  532. # [08:31] <ezyang> Ooh, good point.
  533. # [08:33] <ezyang> Whoo, converted into passes
  534. # [08:34] * Joins: zcorpan_ (n=zcorpan@83.252.196.43)
  535. # [08:34] * Joins: pesla (n=retep@procurios.xs4all.nl)
  536. # [08:35] * Joins: zcorpan__ (n=zcorpan@83.252.196.43)
  537. # [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)
  538. # [08:37] <ezyang> hsivonen: How good is our <frameset> coverage?
  539. # [08:38] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  540. # [08:40] <ezyang> 'A start tag whose tag name is "frameset"' in mode "in body" seems to be a dead zone
  541. # [08:40] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Read error: 110 (Connection timed out))
  542. # [08:40] <mpilgrim> hixie: you say xhtml 2 hasn't changed, but it has an <img> element now!
  543. # [08:40] <Hixie> it's true, it has regressed in some ways
  544. # [08:41] <Hixie> :-P
  545. # [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."
  546. # [08:42] <mpilgrim> the bit about the content model is still true, AFAICT: http://www.w3.org/TR/xhtml2/mod-image.html
  547. # [08:44] <Hixie> yes
  548. # [08:45] <mpilgrim> ironically, i actually like the idea of using the content inside <img></img> as fallback
  549. # [08:46] <mpilgrim> bummer about the whole legacy content thing
  550. # [08:47] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
  551. # [08:48] <zcorpan> how annoying - opera's UA string *was* pretty good
  552. # [08:48] <Hixie> mpilgrim: oh there are lots of things that suck in html that i'd do differently if we could
  553. # [08:51] * Quits: zcorpan_ (n=zcorpan@83.252.196.43) (Read error: 110 (Connection timed out))
  554. # [08:52] * Joins: pauld (n=pauld@194.102.13.6)
  555. # [08:52] * Quits: zcorpan__ (n=zcorpan@83.252.196.43) (Read error: 110 (Connection timed out))
  556. # [08:53] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
  557. # [08:55] * Quits: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  558. # [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? :)
  559. # [08:57] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Remote closed the connection)
  560. # [08:59] <Hixie> Mrmil: either you have to have the attribute or the contents have to be YYYY-MM-DDTHH:MM.ssZ
  561. # [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.
  562. # [09:01] <Mrmil> <p>I usually have a snack at <time>16:00</time>.</p>
  563. # [09:05] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  564. # [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
  565. # [09:06] <Hixie> and the :SS.ss part is optional
  566. # [09:08] <Mrmil> Hixie: Oh okey. Does it mean the example with <time>16:00</time> is wrong?
  567. # [09:09] <Hixie> no, HH:MM is a valid syntax (since the :SS.ss part is optional)
  568. # [09:09] <Mrmil> right, now I mislooked. Ok, thanks
  569. # [09:11] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
  570. # [09:12] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
  571. # [09:12] <ezyang> "<body><frameset><frame></frameset>" This wouldn't result in <body> getting replaced with <frameset>, would it?
  572. # [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
  573. # [09:15] <hsivonen> ezyang: frameset test coverage is very, very bad
  574. # [09:16] <ezyang> Well, I've had about a 50/50 chance of detecting bad tests tonight, so it could be just me
  575. # [09:17] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Read error: 104 (Connection reset by peer))
  576. # [09:17] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  577. # [09:17] <ezyang> hsivonen: Should I go ahead and "fix" the test, or send mail to html5lib-discuss and wait for an ack?
  578. # [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'
  579. # [09:18] <ezyang> oh ho ho, I haven't even implemented that yet.
  580. # [09:18] <hsivonen> ezyang: you mean the tain thing?
  581. # [09:18] <ezyang> no, the frame-ok one I just mentioned
  582. # [09:18] <hsivonen> ezyang: yes, please fix
  583. # [09:20] <ezyang> Hmm... I'm probably going to get the errors wrong
  584. # [09:21] <ezyang> Can I add a comment to .dat files?
  585. # [09:21] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
  586. # [09:22] <zcorpan> Hixie: "xHTML2" - http://ln.hixie.ch/?start=1042630901&count=1 - typo or intentional lowercase x?
  587. # [09:22] <Hixie> typo
  588. # [09:22] <Hixie> happens in several posts from back then
  589. # [09:22] <Hixie> i assume it was a typo, anyway
  590. # [09:22] <Hixie> maybe i was making some crazy subtle point that i now forget
  591. # [09:22] <Hixie> there's a lot of that in my blog entries
  592. # [09:23] <zcorpan> i always get confused about what people mean when people write "xHTML"
  593. # [09:25] <Mrmil> That means they don't know whether they use HTML or XHTML :)
  594. # [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."
  595. # [09:29] <hsivonen> ezyang: I think there aren't comments
  596. # [09:30] <hsivonen> ezyang: also, the format is very brittle in my harness, so please avoid reordering fields
  597. # [09:30] <hsivonen> (I have a streaming impl.)
  598. # [09:31] <hsivonen> How often should I tell Shark to sample if I leave it running for an hour?
  599. # [09:31] <hsivonen> so that I don't get too much data
  600. # [09:33] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Read error: 104 (Connection reset by peer))
  601. # [09:33] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  602. # [09:33] * Joins: gavin (n=gavin@firefox/developer/gavin)
  603. # [09:33] * Quits: virtuelv (n=virtuelv@084202133045.customer.alfanett.no) ("Ex-Chat")
  604. # [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
  605. # [09:41] * Joins: roc (n=roc@121-72-176-201.dsl.telstraclear.net)
  606. # [09:43] * Quits: heycam (n=cam@dyn-130-194-220-212.its.monash.edu.au) ("bye")
  607. # [09:45] * Joins: wakaba_ (n=wakaba@EM114-51-166-196.pool.e-mobile.ne.jp)
  608. # [09:45] * Joins: MikeSmith (n=MikeSmit@EM114-48-211-248.pool.e-mobile.ne.jp)
  609. # [09:46] * Quits: doublec (n=doublec@202.0.36.64) ("Leaving")
  610. # [09:48] <hsivonen> zcorpan: that's possibel
  611. # [09:48] <Hixie> crap
  612. # [09:48] <hsivonen> zcorpan: did Opera change its UA string again?
  613. # [09:48] * Hixie realises a flaw in his recent checkin
  614. # [09:48] <Dashiva> hsivonen: Issues with two-digit version numbers
  615. # [09:49] <hsivonen> Dashiva: yay
  616. # [09:49] <zcorpan> hsivonen: Opera/9.80 ... Version/10.00
  617. # [09:49] <hsivonen> UA sniffing FTW!
  618. # [09:49] <Dashiva> I suggested just converging towards 10 with an ever-inreasing number of 9.9999...
  619. # [09:50] <hsivonen> zcorpan: does it also contain substrings "Gecko" and "WebKit" now that you aren't hard-line about version?
  620. # [09:50] <zcorpan> hsivonen: no
  621. # [09:51] <zcorpan> hsivonen: http://dev.opera.com/articles/view/opera-ua-string-changes/
  622. # [09:53] <zcorpan> maybe we should change name and start over from version 1
  623. # [09:54] <Dashiva> Ballett/1.0
  624. # [09:54] <Dashiva> -t
  625. # [09:54] <zcorpan> (or version 4 or 5 or whatever the web sniffers require to work)
  626. # [09:55] <hsivonen> my recent UA string annoyances have been with major sites sniffing for Firefox and blocking or semiblocking Minefield
  627. # [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?
  628. # [09:56] <olliej> Philip`: i believe safari 2.0.4 was detected as netscape 4 by a number of sites
  629. # [09:56] <Dashiva> Philip`: It's usually the first character after Opera/
  630. # [09:56] <zcorpan> Philip`: i think some pages use /\/(\d)/
  631. # [09:56] <Dashiva> So we could go with 90, 91, etc
  632. # [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
  633. # [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
  634. # [09:58] <hsivonen> mpilgrim: I recall reading Windows 7 doing something similar
  635. # [09:58] <mpilgrim> see, we're just replicating the native application experience!
  636. # [09:59] <zcorpan> Maybe we should use Mozilla/5.0 (actually Opera/10.00 and not Gecko/Firefox/WebKit/Safari) Presto/2.2.15
  637. # [09:59] <Philip`> http://blogs.msdn.com/oldnewthing/archive/2004/02/13/72476.aspx
  638. # [10:00] <mpilgrim> oldnewthing++
  639. # [10:00] * Quits: pauld (n=pauld@194.102.13.6)
  640. # [10:01] <mpilgrim> must sleep now. "big surprise" coming in tomorrow's keynote
  641. # [10:01] <mpilgrim> i hear all google i/o attendees are getting their own personal robot
  642. # [10:02] <Hixie> dude
  643. # [10:02] <Hixie> nda!
  644. # [10:03] * Quits: wakaba (n=wakaba@EM114-51-148-91.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  645. # [10:03] <Philip`> Is it a 30-foot dinosaur robot that eats cars?
  646. # [10:03] <mpilgrim> no, it's one of these: http://www.ftrain.com/robot_exclusion_protocol.html
  647. # [10:03] <Dashiva> Does it destroy humanity?
  648. # [10:03] <Philip`> If not, it hardly seems worth bothering
  649. # [10:05] * Joins: philipj (n=philipj@pat.se.opera.com)
  650. # [10:05] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
  651. # [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?
  652. # [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.
  653. # [10:17] <hsivonen> Mrmil: software development is never finished
  654. # [10:19] <Mrmil> hsivonen: talk about fighting with entropy
  655. # [10:20] <Dashiva> It's not even entropy, it's a malicious agent
  656. # [10:32] * Quits: webben (n=benh@91.85.199.213) (Read error: 110 (Connection timed out))
  657. # [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
  658. # [10:37] <MikeSmith> it's not actually allowing a list, only a single token
  659. # [10:39] <MikeSmith> the schema defines the value of sizes as 'list { xsd:string { pattern = "[1-9][0-9]*x[1-9][0-9]*" }'
  660. # [10:42] <MikeSmith> maybe a jing bug?
  661. # [10:46] <roc> the best way to do version checking is to only provide an API that does IsVersionGreaterThanOrEqualTo(version)
  662. # [10:47] * Joins: pauld (n=pauld@194.102.13.6)
  663. # [10:49] <annevk42> actually, I'm speccing sync XHR to not have any side effects either
  664. # [10:49] <annevk42> I mean, that scripts cannot run
  665. # [10:50] <Dashiva> roc: What's the datatype of version?
  666. # [10:51] <roc> I don't think it matters too much
  667. # [10:52] <roc> a single int into which you pack major/minor is probably OK
  668. # [10:53] <Hixie> annevk42: if sync xhr has no network-based side-effects, it's a pretty useless networking api :-P
  669. # [10:53] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
  670. # [10:54] <annevk42> meh, I mean that when send() is invoked the event loop is taken out of the loop
  671. # [10:54] <annevk42> until all is done
  672. # [10:54] <annevk42> (or exception is thrown, blah)
  673. # [10:54] * Parts: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
  674. # [10:54] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
  675. # [10:54] <annevk42> I'm working on defining this in terms of the event loop
  676. # [10:55] <annevk42> It's been very annoying so far though also interesting
  677. # [10:55] * Joins: webben (n=benh@217.12.14.240)
  678. # [10:57] * Joins: shepazu (n=schepers@c-71-202-124-114.hsd1.ca.comcast.net)
  679. # [10:57] <Hixie> annevk42: sounds exactly like what implementors have said about it :-)
  680. # [10:57] * Joins: ROBOd (n=robod@89.122.216.38)
  681. # [10:57] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  682. # [10:58] * Quits: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au) ("This computer has gone to sleep")
  683. # [11:03] <roc> no, I think it's only annoying
  684. # [11:06] <annevk42> I wonder if we could've done it a bit more abstractly
  685. # [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"
  686. # [11:10] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  687. # [11:10] <ap> annevk42: defining abstract expectations would be more desirable than describing algorithms in pseudo-code, in my opinion
  688. # [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
  689. # [11:12] <annevk42> it also seems mightily hard to write tests against
  690. # [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
  691. # [11:13] * othermaciej fails at sleeping again
  692. # [11:13] <annevk42> othermaciej, I have a similar issue
  693. # [11:13] <annevk42> (though today it was because I was woken up early by someone coming by to fix something)
  694. # [11:14] <othermaciej> annevk42: are you in a time zone where you are supposed to be asleep?
  695. # [11:14] <roc> I don't think anyone's arguing that writing psuedo-code algorithms is good because it maps closely to implementations
  696. # [11:14] <annevk42> othermaciej, not anymore :)
  697. # [11:14] <othermaciej> sometimes pseudo-code can define things more unambiguously
  698. # [11:14] <othermaciej> but it can also be hard to figure out what the consequences are for a practical implementation
  699. # [11:14] <othermaciej> Workers is an example of where this goes bad IMO
  700. # [11:14] <annevk42> <input iprof>: http://bulknews.typepad.com/blog/2009/05/another-way-to-autofill-your-profile-in-html-forms.html
  701. # [11:15] <othermaciej> it's very breezy about concurrency isues
  702. # [11:15] <othermaciej> and as a result ends up requiring crazy things for practical implementations
  703. # [11:15] <othermaciej> (of course, that's not in the HTML5 spec as such)
  704. # [11:16] * zcorpan finds http://www.w3.org/2009/04/video-player.xhtml
  705. # [11:16] <roc> to be fair, writing specs for things involving concurrency is very hard no matter how you do it
  706. # [11:16] <othermaciej> that is true
  707. # [11:17] <othermaciej> it's very easy to require things that are unimplementable or unbelievably hard to implement
  708. # [11:17] <othermaciej> it's also easy to state requirements that are unsound and end up having race conditions
  709. # [11:17] <zcorpan> i wonder who wrote the video-player.xhtml demo
  710. # [11:17] <roc> it's pretty cool
  711. # [11:18] <Philip`> http://lists.w3.org/Archives/Public/public-pfwg-comments/2009AprJun/0085.html
  712. # [11:18] <zcorpan> thanks Philip`
  713. # [11:18] * Philip` thanks Google
  714. # [11:19] <roc> I'm glad they're enjoying the video element, I just hope they don't ask us to implement DFXP
  715. # [11:21] <othermaciej> video-player.xhtml is indeed neat
  716. # [11:21] <othermaciej> what is DFXP?
  717. # [11:21] <Hixie> annevk42: "whenever what is running runs to completion" doesn't work because it doesn't define ordering of async events
  718. # [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)
  719. # [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?
  720. # [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)
  721. # [11:23] * Joins: webben_ (n=benh@nat/yahoo/x-ffeddb8baef9c41c)
  722. # [11:25] <zcorpan> "This will never work on Internet Explorer" - http://www.dailymotion.com/openvideodemo
  723. # [11:25] <roc> othermaciej: W3C Timed Text, some giant bloated thing IIRC
  724. # [11:25] <roc> MikeSmith: there may be, but I'm not involved
  725. # [11:30] <annevk42> Hixie, but the priority is up to the UA
  726. # [11:31] <annevk42> Hixie, so we could just say they go in a bucket or some such
  727. # [11:31] <Hixie> annevk42: no, because some things have to happen in order
  728. # [11:31] <Hixie> relative to each other
  729. # [11:31] <Hixie> but not necessarily relative to others
  730. # [11:32] <annevk42> hmm yeah
  731. # [11:32] <Hixie> also, we have to define that inactive documents don't run their tasks
  732. # [11:32] <Hixie> and we have to define when the storage mutex is released
  733. # [11:32] <Hixie> and we have to define when rendering happens relative to task processing
  734. # [11:33] <Hixie> i just don't know how to do all this without using algorithms
  735. # [11:33] <annevk42> we should write this list down somewhere
  736. # [11:33] <Hixie> it's all already specified :-)
  737. # [11:33] <annevk42> I'll make a wiki page
  738. # [11:33] <Hixie> i have just been reading straight out of the html5 event loop description
  739. # [11:33] <annevk42> a definition is not a list of requirements
  740. # [11:34] <Hixie> the spec already meets these requirements as far as i can tell
  741. # [11:34] * Joins: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  742. # [11:34] * Quits: webben (n=benh@217.12.14.240) (Read error: 110 (Connection timed out))
  743. # [11:34] <annevk42> sure, but this is easier to understand than the spec :)
  744. # [11:36] * Joins: ciaran_lee (n=ciaran_l@83-70-243-34-dynamic.b-ras1.prp.dublin.eircom.net)
  745. # [11:37] <annevk42> hmm nm
  746. # [11:37] <annevk42> writing it down doesn't make it look like anything useful
  747. # [11:38] * Joins: dave_levin_ (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  748. # [11:40] * Quits: dave_levin (n=dave_lev@72.14.224.1) (Read error: 60 (Operation timed out))
  749. # [11:41] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
  750. # [11:42] <Hixie> annevk42: just saying "we must define when bla happens" isn't useful, indeed :-)
  751. # [11:42] <Hixie> (at least, not once we've defined it)
  752. # [11:42] <Hixie> i mean, you probably could come up with some complicated non-algorithmic description
  753. # [11:42] <Hixie> but it'd almost certainly be far less clear
  754. # [11:42] * Quits: dave_levin_ (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Client Quit)
  755. # [11:42] <Hixie> i haven't been able to come up with clear non-algorithmic descriptions for these things
  756. # [11:43] * Joins: gavin (n=gavin@firefox/developer/gavin)
  757. # [11:43] <annevk42> "Google Chrome now supports the video tag."
  758. # [11:44] <annevk42> I was hoping for more information than that :)
  759. # [11:44] * Joins: broquaint (i=a6beb1ce@spc1-brig11-0-0-cust544.asfd.broadband.ntl.com)
  760. # [11:45] <othermaciej_> last I heard, it did not work when markpilgrim tried it
  761. # [11:45] * Quits: pauld (n=pauld@194.102.13.6) (Read error: 104 (Connection reset by peer))
  762. # [11:45] * zcorpan adds the mentioned demos to the spec's annotation box for <video>
  763. # [11:46] <othermaciej_> and I don't see any code in the public WebKit tree for a chromium back end for <video>
  764. # [11:46] * Joins: pauld (n=pauld@194.102.13.6)
  765. # [11:47] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Nick collision from services.)
  766. # [11:47] * othermaciej_ is now known as othermaciej
  767. # [11:49] <annevk42> othermaciej_, http://googlechromereleases.blogspot.com/2009/05/dev-channel-release-301822.html
  768. # [11:49] <annevk42> othermaciej_, seems they use FFmpeg
  769. # [11:57] <othermaciej> I wonder if their video stuff is just not submitted yet
  770. # [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
  771. # [11:58] * Joins: drostie (n=hopkins@5ED17066.cable.ziggo.nl)
  772. # [11:58] <annevk42> oh, but something is in: http://sites.google.com/a/chromium.org/dev/getting-involved/dev-channel/release-notes/201800
  773. # [12:00] <annevk42> Hixie, do you know anything about license story and if there's more info somewhere about <video> and Chomium/Chrome?
  774. # [12:02] <othermaciej> hmm I see only the faintest trace of a Chromium media engine in the WebKit tree
  775. # [12:03] <othermaciej> will have to ask some Chromium folks when they are around
  776. # [12:08] <hsivonen> MikeSmith: on the surface, the sizes thing sure looks like a Jing bug
  777. # [12:09] <hsivonen> MikeSmith: oops. I think you need to have a quantifier for the datatype
  778. # [12:09] <hsivonen> MikeSmith: so not a Jing bug
  779. # [12:14] <annevk42> http://www.ffmpeg.org/legal.html makes it look very dodgy
  780. # [12:14] <annevk42> guess the next question is whether MPEG-LA is in contact with Google
  781. # [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]")
  782. # [12:16] <roc> this is something I am very curious about
  783. # [12:17] <hsivonen> MikeSmith: fix being deployed
  784. # [12:17] <hsivonen> annevk42: MPEG-LA deal would explain use on server without ever distributing it, but the case of distributing it is interesting
  785. # [12:18] <hsivonen> annevk42: (L)GPL considered
  786. # [12:18] <hsivonen> annevk42: I can see how they could wiggle around Apache License 2 for Android
  787. # [12:19] <annevk42> so what exactly is the deal with the licenses? they're not compatible?
  788. # [12:20] * Joins: webben (n=benh@217.12.14.240)
  789. # [12:21] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Read error: 110 (Connection timed out))
  790. # [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
  791. # [12:22] <hsivonen> annevk42: see section 11 of http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
  792. # [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
  793. # [12:25] * Joins: maikmerten (n=merten@vp-c-69.cs.uni-dortmund.de)
  794. # [12:25] <annevk42> hsivonen, wow
  795. # [12:27] <jgraham> roc: I'm not sure how that would work without making the ffmpeg patents worthless
  796. # [12:27] <roc> you mean the H.264 patents
  797. # [12:27] <roc> but yes
  798. # [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.
  799. # [12:27] <roc> it's hard to see the MPEG LA agreeing to that
  800. # [12:27] <jgraham> yeah I did mean that
  801. # [12:28] * Parts: olliej (n=oliver@17.203.15.206)
  802. # [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
  803. # [12:29] <annevk42> so this basically means all browsers can ship FFmpeg if Google is shipping a complete version
  804. # [12:29] <annevk42> fascinating
  805. # [12:30] <annevk42> (quite brutal license terms too)
  806. # [12:30] <jgraham> It it fun to speculate wildly. Maybe we can start a rumour that Google bought all the patents
  807. # [12:30] <zcorpan> then google will sue microsoft when they ship <video> support in IE11
  808. # [12:31] <othermaciej> Hixie: is this one of the changes you made for Worker lifecycle?
  809. # [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."
  810. # [12:31] <roc> Maybe they replaced the MPEG LA board with Cyclons
  811. # [12:31] <othermaciej> (I failed to notice the second clause initially and was writing a reply.)
  812. # [12:32] <jgraham> If someone would only twwitter one or more of these things as the "big Keynote announcement"...
  813. # [12:35] * Quits: webben_ (n=benh@nat/yahoo/x-ffeddb8baef9c41c) (Read error: 113 (No route to host))
  814. # [12:36] * Joins: doublec (n=doublec@118-92-217-66.dsl.dyn.ihug.co.nz)
  815. # [12:36] <annevk42> zcorpan, how could Google do that?
  816. # [12:38] * Joins: itpastorn (n=itpastor@82.99.1.179)
  817. # [12:38] * Joins: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
  818. # [12:38] * Joins: ZombieLoffe (n=e@unaffiliated/zombieloffe)
  819. # [12:39] <zcorpan> annevk42: no idea, just wild speculation
  820. # [12:47] <MikeSmith> hsivonen: thanks
  821. # [12:47] * zcorpan wonders whether gsnedders' outliner should be added to http://validator.whatwg.org/
  822. # [12:48] <MikeSmith> I didn't realize list{} could even have a quantifier
  823. # [12:48] <jgraham> Having an outliner as part of validator.nu would rock
  824. # [12:48] <MikeSmith> oh
  825. # [12:49] <MikeSmith> hsivonen: sorry, I was confused
  826. # [12:49] <MikeSmith> I see the quantifier is on the pattern
  827. # [12:49] <zcorpan> jgraham: yes
  828. # [12:50] <MikeSmith> hsivonen: I thought list{} by itself meant "one or more"
  829. # [12:51] <zcorpan> maybe RELAX NG should be changed to match expectations better
  830. # [12:52] <zcorpan> send feedback to OASIS
  831. # [12:52] <MikeSmith> heh
  832. # [12:53] <MikeSmith> zcorpan: (assuming you meant that sarcastically)
  833. # [12:53] <annevk42> hmm, http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/ffmpeg/README.chromium
  834. # [12:54] <annevk42> "Example configure flags suitable for Chromium (Ogg+Theora+Vorbis)"
  835. # [12:54] <zcorpan> MikeSmith: i wasn't sarcastic
  836. # [12:54] <MikeSmith> oh
  837. # [12:54] * Joins: tndH (n=Rob@james-baillie-pc083-229.student-halls.leeds.ac.uk)
  838. # [12:54] <zcorpan> MikeSmith: relax ng is intended to be free of surprises like these
  839. # [12:55] <zcorpan> see http://www.imc.org/ietf-xml-use/mail-archive/msg00217.html
  840. # [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
  841. # [12:56] <MikeSmith> and taking it to W3C did not seem to be an option
  842. # [12:56] <zcorpan> MikeSmith: ok, send feedback to James :)
  843. # [12:56] <MikeSmith> I was actually on the RELAXNG TC when it was formed
  844. # [12:57] <MikeSmith> zcorpan: its home is at ISO now, fwiw
  845. # [12:57] <zcorpan> MikeSmith: as well as OASIS, i think?
  846. # [12:57] <MikeSmith> nominally
  847. # [12:57] <MikeSmith> only
  848. # [12:58] * Joins: myakura (n=myakura@p3087-ipbf6705marunouchi.tokyo.ocn.ne.jp)
  849. # [12:59] <zcorpan> http://www.imc.org/ietf-xml-use/mail-archive/msg00247.html
  850. # [13:10] <hsivonen> haha. the ISO version is more than "a little" harder to read
  851. # [13:10] <hsivonen> the ISO version is only suitable as a reference for people who already know what the spec says
  852. # [13:11] <myakura> should the W3C version of HTML5 be a little harder, too?
  853. # [13:11] <itpastorn> This discussion might be of interest: http://www.sitepoint.com/blogs/2009/05/26/html-5-now-or-never/
  854. # [13:13] <hsivonen> myakura: it's not impossible that that's what's going to happen :-/
  855. # [13:13] <myakura> hsivonen: yeah :(
  856. # [13:13] <hsivonen> myakura: oh, and it already lacks the scripted readability features
  857. # [13:13] <hsivonen> myakura: so we are already there :-(
  858. # [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)
  859. # [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"
  860. # [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
  861. # [13:17] <hsivonen> Aren't both SVG and canvas in Fennec, Mobile Safari and Opera Mini?
  862. # [13:17] <hsivonen> zcorpan: which mobile browser that is suitable for browsing the Web had SVG before <canvas>?
  863. # [13:17] <annevk42> itpastorn, lots of FUD there
  864. # [13:18] <zcorpan> hsivonen: not sure if there was any that was suitable for browsing the web
  865. # [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
  866. # [13:19] <zcorpan> hsivonen: maybe at one point opera had a partial svg implementation but no canvas :)
  867. # [13:19] <annevk42> when did we add <canvas>?
  868. # [13:19] <annevk42> we had SVG in Opera 8
  869. # [13:19] * Quits: webben (n=benh@217.12.14.240) (Read error: 110 (Connection timed out))
  870. # [13:20] <hsivonen> annevk42: I'm pretty sure you didn't on mobile
  871. # [13:20] * hsivonen launches Opera 8.65 on S60
  872. # [13:20] <zcorpan> annevk2: i think <canvas> was opera 9
  873. # [13:21] * roc wonders why on earth someone from Nokia is building Firefox for the Playstation 3
  874. # [13:21] <annevk42> prolly because the default browser is crap
  875. # [13:21] <hsivonen> roc: why not? the default browser isn't nice
  876. # [13:22] <hsivonen> annevk42: no SVG in Opera 8.65 on S60r3.1 on intertwingly.net
  877. # [13:22] <roc> what is the default browser?
  878. # [13:22] <hsivonen> annevk42: I do see the SVG in Mini
  879. # [13:22] <hsivonen> roc: NetFront, I assume
  880. # [13:22] <jgraham> Hehe those sitepoint comments are funny
  881. # [13:22] <jgraham> Now is a _good_ time for a HTML5 book
  882. # [13:22] <annevk42> mkay, might be that it was not good enough for mobiles yet
  883. # [13:23] * Joins: heycam (n=cam@210-84-19-113.dyn.iinet.net.au)
  884. # [13:23] <jgraham> It is no more subject to change than, say, Rails and there is a whole book _industry_ built around that
  885. # [13:23] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
  886. # [13:24] <jgraham> Plus whoever wites a good book now gets to influence how people think about HTML 5 in the future
  887. # [13:24] <hsivonen> annevk42: it could also be that Opera 8.65 sends headers that lead to me getting the wrong mime type
  888. # [13:24] <othermaciej> the parts of HTML 5 that are already widely implemented probably won't change very much
  889. # [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
  890. # [13:24] <othermaciej> although it's not until they are widely used that it moves from "unlikely" to "near impossible"
  891. # [13:25] <othermaciej> I think only <canvas> is past that threshold of use
  892. # [13:25] <roc> I think localStorage is further ahead actually
  893. # [13:25] * Joins: Lachy (n=Lachy@pat-tdc.opera.com)
  894. # [13:25] <roc> at least it has IE8 support
  895. # [13:25] <jgraham> Doing a book about the features like <canvas>, databases, video, storage, etc. seems quite reasonable
  896. # [13:26] <hsivonen> annevk42: SVG not supported even by navigating directly to the tiger
  897. # [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
  898. # [13:26] <annevk42> hsivonen, thanks for testing
  899. # [13:27] * hsivonen wonders if Opera for S60 is a discontinued product and whether it's worthwhile to file bugs
  900. # [13:27] <jgraham> (it was in relation to <canvas> which I guess she covers in "Paining the Web")
  901. # [13:27] <othermaciej> good point
  902. # [13:27] * gsnedders still isn't used to seeing the Opera icon in his dock where he's used to seeing Safari
  903. # [13:29] <jgraham> gsnedders: Put it somewhere else in the dock then?
  904. # [13:29] <gsnedders> Then it isn't where I instinctively click for a web browser :P
  905. # [13:29] <hsivonen> annevk42: see SRS60-3775 about request header issues
  906. # [13:30] * zcorpan has his browsers side-by-side in the dock
  907. # [13:30] * gsnedders is very selective about what goes in his dock
  908. # [13:31] * jgraham needs all his browsers in the dock
  909. # [13:31] <zcorpan> what do you have? Finder, Opera, Trash?
  910. # [13:31] * annevk42 almost never uses the dock
  911. # [13:31] <jgraham> Although Firefox removes itself for some reason
  912. # [13:31] * annevk42 always searches for applications and hits enter
  913. # [13:31] * Joins: itpastorn (n=itpastor@82.99.1.179)
  914. # [13:31] <jgraham> annevk42: Quicksilver?
  915. # [13:31] <gsnedders> zcorpan: Finder, System Preferences, Mail, Adium, Opera, Colloquy, Transmit, SubEthaEdit, iTunes, Terminal, Trash
  916. # [13:31] <zcorpan> jgraham: have you checked "Keep in Dock" in the context menu?
  917. # [13:31] <annevk42> the search bar in the top right
  918. # [13:31] <jgraham> zcorpan: yes
  919. # [13:32] <zcorpan> jgraham: weird
  920. # [13:32] <jgraham> annevk42: Oh, I'm glad I'm not the only one
  921. # [13:32] <jgraham> zcorpan: (I think it is after it updates)
  922. # [13:32] <zcorpan> ah
  923. # [13:32] <gsnedders> Spotlight is quick enough to be used like that in 10.5
  924. # [13:32] <hsivonen> gsnedders: it a kind of FAIL for OS X pref design that users need to keep System Prefs in the Dock
  925. # [13:32] <zcorpan> minefield stays in dock for me despite updates
  926. # [13:32] <hsivonen> (I have it there, too.)
  927. # [13:32] <gsnedders> hsivonen: They don't really at all
  928. # [13:33] <jgraham> (In unrelated non-news the applications folder is a really really difficult way to find applications)
  929. # [13:33] <gsnedders> hsivonen: It's in the Apple menu :P
  930. # [13:33] <gsnedders> jgraham: Um, just start typing the application name to go to that point in the list of files?
  931. # [13:33] <gsnedders> I guess that doesn't work if you use icons
  932. # [13:33] <annevk42> usually you only need like two or three letters
  933. # [13:33] <annevk42> very nice
  934. # [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
  935. # [13:34] <jgraham> And it is hard to find the folder
  936. # [13:34] <gsnedders> jgraham: Cmd+O?
  937. # [13:34] <jgraham> (like you have to find a finder window and then navigate to the applications folder)
  938. # [13:35] <gsnedders> jgraham: Keep it in the dock?
  939. # [13:35] <jgraham> gsnedders: Oh OK. It ill never replace enter in my muscle memory though
  940. # [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)
  941. # [13:36] <gsnedders> Indeed.
  942. # [13:36] <zcorpan> i wonder why os x uses cmd+o instead of enter
  943. # [13:36] <gsnedders> zcorpan: Legacy
  944. # [13:37] <gsnedders> (Classic did)
  945. # [13:37] * gsnedders wonders what NeXTSTEP did
  946. # [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
  947. # [13:38] <zcorpan> i don't see why they can't change it now
  948. # [13:38] <gsnedders> jgraham: It is consistent. Cmd+O always opens stuff!
  949. # [13:38] <zcorpan> they could have cmd+o and enter both open, and mint a new shortcut for rename
  950. # [13:38] <jgraham> gsnedders: Enter always executes actions (except when it renames files)
  951. # [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
  952. # [13:39] <zcorpan> e.g. cmd+enter for rename
  953. # [13:39] <jgraham> And Apple have UI people who understand that
  954. # [13:40] <gsnedders> Heck, until OS X, cmd+n was new folder
  955. # [13:40] * Joins: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au)
  956. # [13:42] <othermaciej> I find "enter" for rename to be kind of weird
  957. # [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
  958. # [13:42] <othermaciej> even after using Mac for 8 years now...
  959. # [13:43] <annevk42> yeah, that sucks
  960. # [13:43] <othermaciej> zcorpan: if you turn on "full keyboard access" it's easier to use with just the keyboard
  961. # [13:43] <hsivonen> IIRC, the enter thing came along after System 6.0.7 and in 7.5 at the latest
  962. # [13:43] <hsivonen> othermaciej: easier but still harder than Windows or Gnome
  963. # [13:43] <zcorpan> othermaciej: interesting
  964. # [13:44] <hsivonen> at one point, I considered swithing to Ubuntu for development in order to get better keyboardability in Eclipse
  965. # [13:44] <othermaciej> that makes tab cycle through every control, even ones you don't normally type in
  966. # [13:44] <othermaciej> (OS X default is that tab only cycles through controls that are interesting typing targets)
  967. # [13:44] <jgraham> othermaciej: It doesn't consider dropdowns to be interesting typing targets, right?
  968. # [13:44] <gsnedders> hsivonen: It's in 7.0, I'm pretty sure
  969. # [13:45] <zcorpan> othermaciej: thanks
  970. # [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
  971. # [13:45] <othermaciej> we try to avoid dialogs that literally say [Cancel] [OK]
  972. # [13:46] <hsivonen> othermaciej: my keyboard-related point stands, though
  973. # [13:46] <othermaciej> but anyway, Esc is always an equivalent for cancel in dialogs on Mac
  974. # [13:46] <zcorpan> it's still hard to discover which keys to press if you don't want to tab to where you want
  975. # [13:46] <othermaciej> regardless of full keyboard focus
  976. # [13:46] <Rik|work> is there a way to go to the last item of a directory in the finder ?
  977. # [13:46] <zcorpan> in windows, when i press alt, the shortcut keys get underlined
  978. # [13:47] <othermaciej> zcorpan: most apps don't have keyboard shortcuts to focus specific controls
  979. # [13:47] <othermaciej> (Safari is the main exception I can think of)
  980. # [13:48] <hsivonen> I wonder if I should bother to analyze what pages that are slower with the HTML5 parser have in common...
  981. # [13:48] <hsivonen> even if things average out in favor of HTML5
  982. # [13:48] <hsivonen> perhaps I should...
  983. # [13:48] <jgraham> hsivonen: That sounds very interesting
  984. # [13:48] <hsivonen> more immediate benchmarking issues to address, though
  985. # [13:49] <hsivonen> for example, www.sun.com is worse with HTML5 but www.spiegel.de is better
  986. # [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
  987. # [13:50] * Joins: webben (n=benh@nat/yahoo/x-b490ca231b77ad64)
  988. # [13:50] <othermaciej> there is a way, though I am not sure what it is
  989. # [13:50] <othermaciej> hsivonen: might be interesting to find if any error handling is kicking in
  990. # [13:51] <hsivonen> othermaciej: indeed.
  991. # [13:51] <othermaciej> zcorpan: this may help: http://support.apple.com/kb/HT1343
  992. # [13:52] <hsivonen> looks like the HTML5 spec is unusually biased towards spending time in selector matching compared to Alexa top sites
  993. # [13:52] <othermaciej> it mentions that you can use Ctrl-F2 to focus the menu bar
  994. # [13:52] <othermaciej> Ctrl-F3 to focus the dock, which I did not even know was possible
  995. # [13:53] <othermaciej> the HTML5 spec uses some horrible selectors that are painful to compute
  996. # [13:53] <othermaciej> I recall Hyatt ranting about it a lot
  997. # [13:53] * Quits: MikeSmith (n=MikeSmit@EM114-48-211-248.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  998. # [13:55] <zcorpan> othermaciej: thanks. (i have to press fn too)
  999. # [13:55] <zcorpan> wonder if there's a way to flip the fn modifier
  1000. # [13:56] <webben> Hixie: http://www.whatwg.org/specs/web-apps/current-work/#refsRFC3986 ... that reference seems broke
  1001. # [13:56] <annevk42> zcorpan, how is Web DOM Core going?
  1002. # [13:56] <othermaciej> zcorpan: there is
  1003. # [13:56] <webben> oh i see, missing section, nm :)
  1004. # [13:56] <annevk42> zcorpan, would be nice to have a more realistic DOM spec to reference in specs
  1005. # [13:57] <zcorpan> othermaciej: found it
  1006. # [13:57] <othermaciej> zcorpan: in the "Keyboard" tab in the "Keyboard and Mouse" pane of System Preferences
  1007. # [13:57] <othermaciej> there you go
  1008. # [13:57] <zcorpan> thanks :)
  1009. # [13:58] <zcorpan> annevk2: haven't done much on it lately
  1010. # [14:01] <gsnedders> hsivonen: Where are up-to-date builds of HTML5 Fx
  1011. # [14:01] <annevk42> zcorpan, any chance I can convince you to finish it?
  1012. # [14:02] <hsivonen> gsnedders: not available. sorry.
  1013. # [14:02] <othermaciej> Web DOM Core is definitely a good idea
  1014. # [14:02] <hsivonen> gsnedders: I've been stuck with this Tp issue.
  1015. # [14:02] <othermaciej> wonder what the odds are of Web API WG being willing to publish it
  1016. # [14:02] <othermaciej> Web DOM Events would also be good
  1017. # [14:03] <gsnedders> hsivonen: k
  1018. # [14:03] <zcorpan> annevk42: i'm intending to finish it, it's just priorities
  1019. # [14:04] <zcorpan> i should also be doing it in some working group, but i blame chaals for that
  1020. # [14:04] <annevk42> yeah, Web DOM Events would be neat
  1021. # [14:05] <annevk42> DOM 3 Events seems to be going nowhere :/
  1022. # [14:09] <Dashiva> Did lastweek change subtitle?
  1023. # [14:11] * Quits: maikmerten (n=merten@vp-c-69.cs.uni-dortmund.de) (Read error: 104 (Connection reset by peer))
  1024. # [14:21] * Quits: doublec (n=doublec@118-92-217-66.dsl.dyn.ihug.co.nz) ("Leaving")
  1025. # [14:21] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
  1026. # [14:28] <gsnedders> Is it bad my compulsive response to finding a broken website is to create a minimal test-case?
  1027. # [14:28] <annevk42> it's good if you wanna get employed as QA person :p
  1028. # [14:28] <gsnedders> :P
  1029. # [14:30] * gsnedders returns to reporting bug on Opera :P
  1030. # [14:30] * annevk42 finds http://code.google.com/p/chromium/issues/detail?id=4363
  1031. # [14:31] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
  1032. # [14:34] * Joins: askara (i=d4ea26bc@gateway/web/ajax/mibbit.com/x-2fd946eeb682cd57)
  1033. # [14:34] <askara> hi
  1034. # [14:39] * Joins: itpastorn (n=itpastor@82.99.1.179)
  1035. # [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
  1036. # [14:43] <zcorpan> itpastorn: so <aside> is not robust and might well be dropped or changed in response to implementation experience
  1037. # [14:43] <zcorpan> itpastorn: despite having been unchanged in the spec for years
  1038. # [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
  1039. # [14:45] <zcorpan> itpastorn: e.g. <event-source>
  1040. # [14:47] <itpastorn> zcorpan: I hear you, but can't respond in detail (In a meeting with Skolverket!)
  1041. # [14:48] * Quits: Madness (n=petal@85.20.140.167) ("is this needed?")
  1042. # [14:49] <annevk42> stable ≈ two implementations + reasonable deployment
  1043. # [14:51] * Quits: kinetik (n=kinetik@121.98.132.55) (Read error: 110 (Connection timed out))
  1044. # [14:54] * Joins: theMadness (n=petal@85.20.140.167)
  1045. # [14:54] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-2e34daff4c7511f6)
  1046. # [14:54] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Ex-Chat")
  1047. # [14:55] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
  1048. # [14:59] * Joins: kinetik (n=kinetik@121.98.132.55)
  1049. # [14:59] * Joins: MikeSmith (n=MikeSmit@EM114-48-114-241.pool.e-mobile.ne.jp)
  1050. # [15:03] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Remote closed the connection)
  1051. # [15:05] * Joins: virtuelv (n=virtuelv@213.236.208.247)
  1052. # [15:10] <gsnedders> Hixie: Can I send you a suggestion for one thing I want in Acid4?
  1053. # [15:10] <gsnedders> Or is doing so futile?
  1054. # [15:12] * Quits: philipj (n=philipj@pat.se.opera.com) (Read error: 110 (Connection timed out))
  1055. # [15:13] <zcorpan> xml core wg process http://www.w3.org/mid/CF83BAA719FD2C439D25CBB1C9D1D3020FC70A20@HQ-MAIL4.ptcnet.ptc.com
  1056. # [15:16] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
  1057. # [15:18] * Joins: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com)
  1058. # [15:19] * Joins: kinetik_ (n=kinetik@121.98.132.55)
  1059. # [15:21] * Joins: mat_t_ (n=mattomas@conference/ubuntu-developer-summit/x-238546ebd65133d2)
  1060. # [15:21] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-2e34daff4c7511f6) (Read error: 113 (No route to host))
  1061. # [15:21] <annevk42> so bikesheds is actually from http://en.wikipedia.org/wiki/Parkinson's_Law_of_Triviality
  1062. # [15:24] * Joins: hdh (n=hdh@58.187.202.233)
  1063. # [15:24] * Joins: billyjackass (n=MikeSmit@EM114-48-181-250.pool.e-mobile.ne.jp)
  1064. # [15:25] * Joins: philipj (n=philipj@pat.se.opera.com)
  1065. # [15:28] <Mrmil> html5 is like jquery - write less & do more *bloody happy face*
  1066. # [15:29] * Quits: kinetik (n=kinetik@121.98.132.55) (Read error: 110 (Connection timed out))
  1067. # [15:35] <hsivonen> lack of interop: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/120
  1068. # [15:35] * Quits: webben (n=benh@nat/yahoo/x-b490ca231b77ad64) (Read error: 60 (Operation timed out))
  1069. # [15:36] <hsivonen> Hixie: could you please add the IE-specific header to disable the XSS protection on Live DOM Viewer?
  1070. # [15:40] * Quits: MikeSmith (n=MikeSmit@EM114-48-114-241.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  1071. # [15:41] * billyjackass is now known as MikeSmith
  1072. # [15:42] <krijnh> Mrmil: totally agreed! :)
  1073. # [15:43] <Mrmil> krijnh: hehe :) I really look forward to using the new form elements
  1074. # [15:44] <krijnh> Why don't you already?
  1075. # [15:44] <krijnh> All those 0.5% Opera users will benefit :)
  1076. # [15:45] * Quits: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl) (Remote closed the connection)
  1077. # [15:46] * Joins: webben (n=benh@nat/yahoo/x-619d0d20a51be82b)
  1078. # [15:46] * Joins: wakaba (n=wakaba@EM114-51-154-142.pool.e-mobile.ne.jp)
  1079. # [15:46] * Joins: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl)
  1080. # [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 :)
  1081. # [15:51] * Joins: taf2 (n=taf2@38.99.201.242)
  1082. # [15:53] * Quits: taf2 (n=taf2@38.99.201.242) (Read error: 104 (Connection reset by peer))
  1083. # [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?
  1084. # [15:55] <Lachy> I'm curious, at what point do the negative effects of sniffing more characters outweigh the benefits of doing so?
  1085. # [15:55] <Philip`> It affects performance significantly if that's two packets rather than one
  1086. # [15:56] <jgraham> I'm not sure that Philip`'s graph indicates that 512 bytes is past the point of diminishing returns
  1087. # [15:56] <hsivonen> Lachy: I haven't measured the effect, but intuitively, what Philip` says makes sense
  1088. # [15:56] <Philip`> Someone should measure the average HTTP response header size
  1089. # [15:56] <jgraham> It indicates a knee in the curve before that but it's a totally different thing
  1090. # [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?
  1091. # [15:56] <Philip`> and subtract from the average size of a TCP packet
  1092. # [15:57] <jgraham> because the point of diminishing returns only comes when adding more bytes has a disadvantage that outweighs the advantage
  1093. # [15:58] <jgraham> I would guess that having to switch the character encoding for 1 page in 5 would be rather expensive
  1094. # [15:58] <jgraham> 1 page in 10 (512 bytes) might give better average performance
  1095. # [15:58] <jgraham> s/512/1024/
  1096. # [16:00] * ap hopes that WebKit will never have to implement that evil encoding switching thing
  1097. # [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
  1098. # [16:01] <ap> pages that only people with matching default encoding look at are also unimportant for this comparison
  1099. # [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
  1100. # [16:02] <Lachy> yeah, that's also a problem
  1101. # [16:02] <hsivonen> ap: whoa! what do you do instead of the evil late-switch?
  1102. # [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
  1103. # [16:03] <ap> hsivonen: nothing - if there is no charset in http headers, <head> or 1024 bytes, we just use the default encoding
  1104. # [16:03] <hsivonen> ap: that's daring
  1105. # [16:03] * jgraham thinks the "evil late switch" is rather good
  1106. # [16:04] <ap> hsivonen: users don't complain
  1107. # [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
  1108. # [16:04] <hsivonen> ap: very interesting
  1109. # [16:04] <annevk42> and cool
  1110. # [16:04] <hsivonen> ...now that I've already toiled away implementing the evil switch
  1111. # [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
  1112. # [16:04] <jgraham> Even if it is harder to implement
  1113. # [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"
  1114. # [16:05] <hsivonen> jgraham: with the evil switch, it makes things different if you have scripts with side effects
  1115. # [16:05] * Quits: wakaba_ (n=wakaba@EM114-51-166-196.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  1116. # [16:05] <annevk42> jgraham, pages reloading is bad
  1117. # [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?
  1118. # [16:05] <annevk42> jgraham, and authors can figure out what went wrong easily enough
  1119. # [16:05] <jgraham> ap: Are you sure that users aren't just so used to seeing wrong character encoding that they don't complain
  1120. # [16:06] <jgraham> I would never report a bug with character encoding becuase I'm so used to seeing errors
  1121. # [16:06] <Philip`> Lachy: I think I don't have enough data for that to be meaningful
  1122. # [16:06] <ap> jgraham: I do get bug reports about other encoding problems a plenty (less so, now that our code is more compliant)
  1123. # [16:06] <Lachy> ok
  1124. # [16:06] <Philip`> Lachy: and it wouldn't be trivial to do
  1125. # [16:07] <Philip`> Lachy: so it's unlikely that I'll bother to do it
  1126. # [16:07] <hsivonen> does IE 5.5 mode have the evil late switch?
  1127. # [16:07] <jgraham> annevk42: I agree page reloading isn't that nice
  1128. # [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)
  1129. # [16:08] <hsivonen> Philip`: your sample may be biased
  1130. # [16:08] <Philip`> hsivonen: "may"? :-)
  1131. # [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 :)
  1132. # [16:08] * Quits: mat_t_ (n=mattomas@conference/ubuntu-developer-summit/x-238546ebd65133d2) ("This computer has gone to sleep")
  1133. # [16:08] <jgraham> (in this case I think they are very significant)
  1134. # [16:08] * Philip` tried to explicitly mention the bias when mentioning the data on public-html
  1135. # [16:09] <Philip`> jgraham: Why would the chosen encoding significantly affect where the author puts the encoding declaration in their page?
  1136. # [16:10] <Philip`> (...assuming that's the bias you think is significant)
  1137. # [16:10] * Quits: hdh (n=hdh@58.187.202.233) (Read error: 110 (Connection timed out))
  1138. # [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>
  1139. # [16:12] <ap> Philip`: WebKit encoding sniffer always looks for meta charset in <head>, even if that's huge
  1140. # [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
  1141. # [16:12] <hsivonen> ap: I'm not convinced that having to track <head> is better than the evil switch
  1142. # [16:12] <jgraham> Assuming that relative to the source tree, the enmcoding decleration comes in roughly the same place
  1143. # [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>)
  1144. # [16:13] <Philip`> ap: and it seems complex to try to record the location of </head>
  1145. # [16:13] <jgraham> Philip`: I would be more interested in knowing how often a charset decleration comes after a <script>
  1146. # [16:13] <Philip`> ap: and I'm lazy :-p
  1147. # [16:13] <jgraham> But not in the first N bytes
  1148. # [16:14] <jgraham> (since script side effects seem to be the major objection to the reparse)
  1149. # [16:14] <ap> hsivonen, Philip`: any place in <head> used to be valid for <meta> in HTML4
  1150. # [16:14] <hsivonen> ap: HTML5 looks everywhere
  1151. # [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
  1152. # [16:15] <gsnedders> So, anything interesting been happening on the lists?
  1153. # [16:17] <Philip`> gsnedders: Yes
  1154. # [16:18] <ap> hsivonen: as far as I can tell, it's only valid in head, no?
  1155. # [16:18] <hsivonen> ap: yes
  1156. # [16:18] <gsnedders> ap: yes
  1157. # [16:19] <annevk42> since WebKit doesn't restrict itself to the first 1024 bytes I guess it doesn't really matter
  1158. # [16:20] * Parts: mhausenblas (n=mhausenb@wg1-nat.fwgal01.deri.ie)
  1159. # [16:21] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-58a40b472d399fad)
  1160. # [16:31] * gsnedders is amazed at the lack of flame wars
  1161. # [16:31] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
  1162. # [16:31] <gsnedders> Bikesheds are indeed being painted, but no flames.
  1163. # [16:34] <hsivonen> flamelessness is good
  1164. # [16:34] <gsnedders> Indeed.
  1165. # [16:36] * Joins: billmason (n=billmaso@ip147.unival.com)
  1166. # [16:45] <Philip`> If the bikeshed burns down then nobody will care what colour it was
  1167. # [16:45] * Quits: starjive (i=beos@213.66.216.93)
  1168. # [16:48] <annevk2> gsnedders, http://krijnhoetmer.nl/irc-logs/whatwg/20070829#l-229 is at least one technorati reference
  1169. # [16:48] <gsnedders> I was guessing it would be kingryan and I was trying to find stuff on the lists from him
  1170. # [16:49] <gsnedders> annevk2: Should I send that to the list?
  1171. # [16:52] * Quits: virtuelv (n=virtuelv@213.236.208.247) (Read error: 113 (No route to host))
  1172. # [16:52] * gsnedders sends it anyway
  1173. # [16:54] * Quits: drry (n=drry@dd25.opt2.point.ne.jp) ("Tiarra 0.1+svn-33535: SIGTERM received; exit")
  1174. # [16:57] * Joins: drry (n=drry@dd25.opt2.point.ne.jp)
  1175. # [16:58] * Quits: askara (i=d4ea26bc@gateway/web/ajax/mibbit.com/x-2fd946eeb682cd57) ("http://www.mibbit.com ajax IRC Client")
  1176. # [17:01] * Quits: pauld (n=pauld@194.102.13.6)
  1177. # [17:02] * Joins: bgalbraith (n=bgalbrai@166.129.6.144)
  1178. # [17:04] * Quits: Lachy (n=Lachy@pat-tdc.opera.com) ("Leaving")
  1179. # [17:04] <theMadness> annevk2, nice blog post, you got me excited about video again.
  1180. # [17:05] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
  1181. # [17:06] <theMadness> The irony, http://www.youtube.com/html5 doesn't work on Chrome. :)
  1182. # [17:07] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-58a40b472d399fad) (Operation timed out)
  1183. # [17:08] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
  1184. # [17:10] * Quits: shepazu (n=schepers@c-71-202-124-114.hsd1.ca.comcast.net)
  1185. # [17:15] * Quits: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au) (Read error: 110 (Connection timed out))
  1186. # [17:16] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  1187. # [17:17] <annevk42> theMadness, yeah, it's a bit of a mess still
  1188. # [17:17] <annevk42> theMadness, we'll get there :)
  1189. # [17:18] * Joins: dglazkov (n=dglazkov@nat/google/x-2a35114afb7e52e7)
  1190. # [17:22] <theMadness> I'm sure you will, still the irony is there :P :D
  1191. # [17:24] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
  1192. # [17:25] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
  1193. # [17:25] * Joins: itpastorn (n=itpastor@82.99.1.179)
  1194. # [17:26] <hsivonen> gsnedders: new HTML5 builds starting to appear: https://build.mozilla.org/tryserver-builds/hsivonen@mozilla.com-noscript/
  1195. # [17:27] <gsnedders> hsivonen: thx
  1196. # [17:28] * Joins: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-448fe0255a8aab5e)
  1197. # [17:29] * Joins: dbaron (n=dbaron@pool-98-111-140-54.phlapa.fios.verizon.net)
  1198. # [17:30] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
  1199. # [17:31] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  1200. # [17:32] * Quits: mpilgrim (n=mark@12.144.179.214) (Read error: 110 (Connection timed out))
  1201. # [17:34] * Quits: myakura (n=myakura@p3087-ipbf6705marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
  1202. # [17:34] * Joins: sbublava (n=stephan@77.118.150.143.wireless.dyn.drei.com)
  1203. # [17:38] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  1204. # [17:39] * Joins: pauld (n=pauld@92.40.120.154.sub.mbb.three.co.uk)
  1205. # [17:40] * Quits: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
  1206. # [17:42] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
  1207. # [17:47] <jgraham> Does anyone have any idea what http://blog.typekit.com/ actualy does?
  1208. # [17:50] <Philip`> No
  1209. # [17:53] <gsnedders> jgraham: " Just add a line of JavaScript to your markup, tell us what fonts you want to use"
  1210. # [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.
  1211. # [17:55] * Joins: aroben (n=aroben@c-71-58-77-15.hsd1.pa.comcast.net)
  1212. # [17:56] <Philip`> http://www.flickr.com/photos/veen/3572372312/sizes/o/ - according to step 3, it involves string instruments
  1213. # [17:56] * Quits: mat_t (n=mattomas@conference/ubuntu-developer-summit/x-448fe0255a8aab5e) ("This computer has gone to sleep")
  1214. # [17:57] * Quits: ciaran_lee (n=ciaran_l@83-70-243-34-dynamic.b-ras1.prp.dublin.eircom.net)
  1215. # [18:00] * Joins: bgalbraith_ (n=bgalbrai@63.80.141.130)
  1216. # [18:01] * Quits: bgalbraith (n=bgalbrai@166.129.6.144) (Read error: 110 (Connection timed out))
  1217. # [18:02] * Joins: kevinmarksdroid (n=fircuser@m430436d0.tmodns.net)
  1218. # [18:08] * Joins: KevinMarks (n=KevinMar@63.80.141.130)
  1219. # [18:09] * Quits: kevinmarksdroid (n=fircuser@m430436d0.tmodns.net) (Read error: 54 (Connection reset by peer))
  1220. # [18:11] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  1221. # [18:16] * Quits: pauld (n=pauld@92.40.120.154.sub.mbb.three.co.uk)
  1222. # [18:17] * Quits: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
  1223. # [18:17] * Quits: bgalbraith_ (n=bgalbrai@63.80.141.130)
  1224. # [18:20] * Joins: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
  1225. # [18:22] * krijnh starts turning evil on /irc-logs/
  1226. # [18:24] <hsivonen> what's the deal with these JS-requiring font systems when you can do it in CSS only?
  1227. # [18:25] <Rik|work> hsivonen: this might be a way to DRMised them
  1228. # [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
  1229. # [18:25] <hsivonen> Philip`: isn't that what @import is for?
  1230. # [18:26] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  1231. # [18:26] <Philip`> hsivonen: Hmm, good point
  1232. # [18:26] <hsivonen> @import has nicer parallelism properties than <script>
  1233. # [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)
  1234. # [18:27] <Rik|work> hsivonen: not really
  1235. # [18:28] <hsivonen> Rik|work: how do you mean? @import blocks style computation and layout but not HTML parsing.
  1236. # [18:29] <Rik|work> scripts are not blocking html parsing in some browsers now
  1237. # [18:29] <hsivonen> Rik|work: what browsers now do proper speculative parsing instead of just prescanning for other downloadables?
  1238. # [18:30] <Rik|work> really don't know that level of details
  1239. # [18:36] <beowulf> it may be a shorter way to get the weight and font you want
  1240. # [18:37] * Joins: mgrdcm (n=mgrdcm@65.111.247.194)
  1241. # [18:37] <beowulf> it's a lot of css to get a font in the two formats and then set the weight
  1242. # [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
  1243. # [18:38] * Quits: KevinMarks (n=KevinMar@63.80.141.130) ("The computer fell asleep")
  1244. # [18:38] * Quits: sbublava (n=stephan@77.118.150.143.wireless.dyn.drei.com)
  1245. # [18:41] * Joins: bgalbraith (n=bgalbrai@63.80.141.130)
  1246. # [18:47] * Quits: dglazkov (n=dglazkov@nat/google/x-2a35114afb7e52e7)
  1247. # [18:50] * Joins: mlpug (n=mlpug@a88-115-171-214.elisa-laajakaista.fi)
  1248. # [18:50] * Quits: bgalbraith (n=bgalbrai@63.80.141.130)
  1249. # [18:54] * Quits: itpastorn (n=itpastor@82.99.1.179) ("Leaving.")
  1250. # [18:55] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  1251. # [18:56] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  1252. # [18:58] * Joins: bgalbraith_ (n=bgalbrai@63.80.141.130)
  1253. # [19:01] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
  1254. # [19:01] * Quits: bgalbraith_ (n=bgalbrai@63.80.141.130) (Client Quit)
  1255. # [19:02] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
  1256. # [19:04] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 60 (Operation timed out))
  1257. # [19:05] * Joins: dglazkov (n=dglazkov@nat/google/x-81084978864b454d)
  1258. # [19:20] * Quits: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
  1259. # [19:27] * Joins: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
  1260. # [19:27] * Joins: bgalbraith (n=bgalbrai@client-239-16.events.shownets.net)
  1261. # [19:28] * Quits: dglazkov (n=dglazkov@nat/google/x-81084978864b454d) (Read error: 110 (Connection timed out))
  1262. # [19:32] * Quits: bgalbraith (n=bgalbrai@client-239-16.events.shownets.net) (Client Quit)
  1263. # [19:38] * Joins: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
  1264. # [19:38] * Joins: slightlyoff (n=slightly@72.14.229.81)
  1265. # [19:49] * Quits: dolske (n=dolske@firefox/developer/dolske)
  1266. # [19:51] * Joins: maikmerten (n=maikmert@U3f35.u.pppool.de)
  1267. # [19:53] * Quits: riven (n=colin@pdpc/supporter/professional/riven) (Read error: 104 (Connection reset by peer))
  1268. # [19:54] * Joins: riven (n=colin@pdpc/supporter/professional/riven)
  1269. # [19:55] * Joins: KevinMarks (n=KevinMar@63.80.141.130)
  1270. # [19:55] * Quits: dave_levin_ (n=dave_lev@72.14.224.1)
  1271. # [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 :-(
  1272. # [20:01] * Quits: webben (n=benh@nat/yahoo/x-619d0d20a51be82b) (Read error: 110 (Connection timed out))
  1273. # [20:06] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
  1274. # [20:06] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 104 (Connection reset by peer))
  1275. # [20:12] <ezyang> Why doesn't this work? python test_parser.py TestCase.test_tests7_7_simpletree
  1276. # [20:13] * Joins: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
  1277. # [20:14] * Quits: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com) (Client Quit)
  1278. # [20:17] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Read error: 60 (Operation timed out))
  1279. # [20:19] <Philip`> ezyang: Feel free to fix bugs in the Python implementation ;-)
  1280. # [20:20] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
  1281. # [20:21] <ezyang> Yeah, but I have to triage each failure and figure out exactly what's going on before making a call
  1282. # [20:22] <hsivonen> ezyang: the tests should be mostly correct per spec except the table taint thing
  1283. # [20:22] <ezyang> Ok.
  1284. # [20:22] <ezyang> Is there any way to make test_parser.py run a single test?
  1285. # [20:22] <ezyang> The obvious command is failing for me
  1286. # [20:22] <Philip`> You could delete all the other tests, and then run it
  1287. # [20:22] * Philip` doesn't know of any other mechanism for that
  1288. # [20:23] <ezyang> That's... not sustainable
  1289. # [20:23] <hsivonen> I nkwo nothing about the Python harness
  1290. # [20:23] <ezyang> kk
  1291. # [20:23] <hsivonen> I make my Java harness run a single-test file first and I copy and paste the test of interest there
  1292. # [20:23] <ezyang> So... what is the implementation that's closest to being correct?
  1293. # [20:24] <Philip`> We did have excellent interoperability between HTML5 parsers some time last year
  1294. # [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
  1295. # [20:24] <Philip`> so I blame Hixie for making them all break
  1296. # [20:24] <ezyang> Ok, so I should probably grab a copy of that.
  1297. # [20:24] <hsivonen> ezyang: the main failure in the V.nu parser isn't visible in non-browser environments
  1298. # [20:25] <hsivonen> I've been postponing fixes until I can figure out this Tp thing.
  1299. # [20:25] <ezyang> not visible in non-browser environments?
  1300. # [20:26] <hsivonen> ezyang: not visible in environment where scripts can't run interleaved with the parser
  1301. # [20:26] <ezyang> Sorry, it's unclear to me what "visibility" means
  1302. # [20:27] <ezyang> Hmm... what should JAVA_HOME be?
  1303. # [20:27] <hsivonen> ezyang: the spec violation isn't detectable without a script running during the parse
  1304. # [20:28] <hsivonen> ezyang: on Mac, /Library/Java/Home
  1305. # [20:28] <ezyang> Ouch.
  1306. # [20:28] <ezyang> (I'm on Intrepid)
  1307. # [20:28] <ezyang> So... you need a JavaScript parser
  1308. # [20:28] <hsivonen> ezyang: locate javac
  1309. # [20:28] <ezyang> That's batty
  1310. # [20:28] <hsivonen> then remove the bin/javac part
  1311. # [20:28] <hsivonen> and put the prefix in JAVA_HOME
  1312. # [20:29] <ezyang> Looks like I don't have javac installed
  1313. # [20:29] <ezyang> Do you recommend openjdk or Sun's jdk?
  1314. # [20:29] <hsivonen> openjdk
  1315. # [20:29] <ezyang> So... does Java have any embedded JavaScript engines?
  1316. # [20:30] <ezyang> And how are you going to deal with malicious input?
  1317. # [20:30] <hsivonen> ezyang: Java does, but I haven't integrated the parser with it
  1318. # [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
  1319. # [20:30] * Joins: shepazu (n=schepers@63.80.141.130)
  1320. # [20:31] <hsivonen> (the bug being that the parser still clones formatting element nodes instead of creating new ones)
  1321. # [20:31] <hsivonen> ezyang: /usr/lib/jvm/java-6-openjdk on Ubuntu
  1322. # [20:32] * Joins: dglazkov (n=dglazkov@63.80.141.130)
  1323. # [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
  1324. # [20:32] <hsivonen> (or to vanilla javac)
  1325. # [20:33] <ezyang> I need the tree-building and test-suite, but I don't mind if I build the whole thing
  1326. # [20:33] <hsivonen> ok
  1327. # [20:33] <ezyang> In the meaantime, what's the 2nd closest to compliant implementation?
  1328. # [20:34] <hsivonen> I don't know
  1329. # [20:35] * Quits: sicking_ (n=chatzill@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
  1330. # [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
  1331. # [20:35] <hsivonen> they take file paths to html5lib-format test data files as arguments
  1332. # [20:35] <ezyang> Great
  1333. # [20:35] * Joins: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
  1334. # [20:35] <ezyang> Oh no! build fail
  1335. # [20:35] * Quits: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
  1336. # [20:36] <ezyang> "java.lang.ClassCastException: org.xml.sax.InputSource cannot be cast to nu.validator.xml.TypedInputSource"
  1337. # [20:36] * Joins: sicking (n=chatzill@corp-241.mountainview.mozilla.com)
  1338. # [20:36] <hsivonen> ezyang: that's not a build fail. that's a run fail
  1339. # [20:36] <hsivonen> ezyang: something went wrong with the schema setup
  1340. # [20:36] <ezyang> well, it happened while I was running build.py!
  1341. # [20:36] <ezyang> Shall I blow away my copy and try it again?
  1342. # [20:36] <hsivonen> ezyang: you can ignore that and look at the parser.
  1343. # [20:36] <hsivonen> it has been built by the time that error can happen
  1344. # [20:37] <hsivonen> ezyang: build.py is also used for running the validator
  1345. # [20:37] <hsivonen> 'all' builds it and then starts the whole thing
  1346. # [20:37] * Joins: weinig (n=weinig@17.246.18.103)
  1347. # [20:38] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
  1348. # [20:39] <ezyang> I fail at running Java
  1349. # [20:39] <ezyang> Do I just `java htmlparser/test-src/nu/validator/htmlparser/test/TokenizerTester.java`?
  1350. # [20:39] <hsivonen> ezyang: no. I'll look up the incantations
  1351. # [20:39] <ezyang> heh
  1352. # [20:40] <hsivonen> argh. build.py doesn't build the test harnesses
  1353. # [20:41] <hsivonen> hmm. I don't even remember how to do this without Eclipse with two java source dirs...
  1354. # [20:41] <ezyang> I'm trying python build.py test
  1355. # [20:41] <hsivonen> different 'test'
  1356. # [20:41] <ezyang> Ok.
  1357. # [20:42] <hsivonen> I guess it's easiest to build the tests and the parser separately
  1358. # [20:42] <hsivonen> so under your checkout dir you now have jars/
  1359. # [20:42] <hsivonen> and there you have htmlparser.jar
  1360. # [20:43] <hsivonen> you need to cd to htmlparser/test-src/
  1361. # [20:43] <hsivonen> and run
  1362. # [20:43] * Quits: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
  1363. # [20:46] <hsivonen> scratch run
  1364. # [20:47] <hsivonen> you need to create a target dir, say classes as sibling to test-src
  1365. # [20:47] <hsivonen> then, in test-src, run
  1366. # [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
  1367. # [20:47] <hsivonen> javac is such a pain
  1368. # [20:47] <hsivonen> after which you can do
  1369. # [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
  1370. # [20:48] * Quits: shepazu (n=schepers@63.80.141.130)
  1371. # [20:48] <hsivonen> s/source files/test files/
  1372. # [20:51] * Quits: dglazkov (n=dglazkov@63.80.141.130)
  1373. # [20:52] <ezyang> ../classes/nu/validator/htmlparser/test doesn't seem to exist?
  1374. # [20:52] <ezyang> Also, classes already exists as a sibling to test-src
  1375. # [20:53] <hsivonen> ezyang: ../classes/nu/validator/htmlparser/test should have emerged as a result of the javac... command above
  1376. # [20:54] <hsivonen> ezyang: did you copy and paste from above or retype?
  1377. # [20:54] * Joins: mpilgrim (n=mark@63.80.141.130)
  1378. # [20:55] <ezyang> With the first command I get: "javac: directory not found: ../classes/nu/validator/htmlparser/test/TreeTester.java"
  1379. # [20:55] <ezyang> Copypasta
  1380. # [20:56] <hsivonen> ezyang: there should be a space after ../classes/
  1381. # [20:56] <hsivonen> I'm guessing your terminal line wrapped just there?
  1382. # [20:56] <ezyang> Yep
  1383. # [20:57] * Joins: dave_levin (n=dave_lev@72.14.227.1)
  1384. # [20:57] * Joins: dave_levin_ (n=dave_lev@72.14.227.1)
  1385. # [20:57] <ezyang> Now I get a number of "cannot find symbol" errors
  1386. # [20:57] <ezyang> Which implies that the dependencies weren't setup properly
  1387. # [20:57] * Quits: dave_levin_ (n=dave_lev@72.14.227.1) (Client Quit)
  1388. # [20:57] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  1389. # [20:58] <ezyang> Namely, these packages don't exist: "com.ibm.icu.text.UnicodeSet" etc
  1390. # [20:58] <hsivonen> hmm. I wonder why I didn't get that
  1391. # [20:58] <hsivonen> to remedy
  1392. # [20:59] <hsivonen> add ../../dependencies/icu4j-4_0.jar to the -cp stuff separated with colon from the other paths
  1393. # [21:01] * Joins: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
  1394. # [21:01] * Joins: dglazkov (n=dglazkov@63.80.141.130)
  1395. # [21:01] <ezyang> Second command, I get: FileNotFoundException: html5lib (No such file or directory)
  1396. # [21:02] <hsivonen> ezyang: replace "html5lib source files
  1397. # [21:02] * Quits: dglazkov (n=dglazkov@63.80.141.130) (Client Quit)
  1398. # [21:02] <hsivonen> " with the paths of the actual html5lib tree test files
  1399. # [21:02] <ezyang> haha, ok
  1400. # [21:03] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
  1401. # [21:03] <ezyang> Awesome
  1402. # [21:03] <ezyang> We have lift-off
  1403. # [21:03] <hsivonen> great
  1404. # [21:04] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
  1405. # [21:04] * Quits: KevinMarks (n=KevinMar@63.80.141.130) ("The computer fell asleep")
  1406. # [21:07] <ezyang> Ok, one fail in tests1.dat, which is from the fact that I just changed that
  1407. # [21:07] <ezyang> Which makes me even more skeptical that my change was actually correct
  1408. # [21:08] <hsivonen> was it on the topic of frameset-ok or something else?
  1409. # [21:09] <ezyang> Yep
  1410. # [21:09] * Joins: richbradshaw (n=cfgs@host86-134-53-195.range86-134.btcentralplus.com)
  1411. # [21:09] <hsivonen> ezyang: could be bug in V.nu parser
  1412. # [21:10] <hsivonen> ezyang: I didn't implement frameset-ok as a flag but as a mode
  1413. # [21:10] <ezyang> Hmm... yeah, that'd probalby do it
  1414. # [21:10] <hsivonen> I may have goofed in my tranformation of the algorithm
  1415. # [21:10] <ezyang> *probably
  1416. # [21:10] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
  1417. # [21:10] <ezyang> Because frameset-ok doesn't really make sense as a mode
  1418. # [21:11] <hsivonen> oh?
  1419. # [21:11] <ezyang> I mean, there are a lot of places it can get set
  1420. # [21:11] * Quits: riven (n=colin@pdpc/supporter/professional/riven) (Read error: 104 (Connection reset by peer))
  1421. # [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
  1422. # [21:12] * Joins: riven (n=colin@53525B67.cable.casema.nl)
  1423. # [21:12] <ezyang> It's not obvious to me, without recopying all of the modes, how a mode frameset-ok would work
  1424. # [21:12] * Joins: shepazu (n=schepers@63.80.141.130)
  1425. # [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'
  1426. # [21:14] <hsivonen> It's past 22:00 here. I should head home.
  1427. # [21:16] <ezyang> cya
  1428. # [21:16] * Joins: itpastorn (n=itpastor@82.99.1.179)
  1429. # [21:16] <hsivonen> later
  1430. # [21:21] * Quits: shepazu (n=schepers@63.80.141.130)
  1431. # [21:22] * Joins: dolske (n=dolske@corp-241.mountainview.mozilla.com)
  1432. # [21:26] * Joins: itpastorn1 (n=itpastor@82.99.1.179)
  1433. # [21:28] * Quits: itpastorn (n=itpastor@82.99.1.179) (Read error: 60 (Operation timed out))
  1434. # [21:30] * Joins: othermaciej_ (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  1435. # [21:31] * Joins: shepazu (n=schepers@63.80.141.130)
  1436. # [21:34] * Quits: richbradshaw (n=cfgs@host86-134-53-195.range86-134.btcentralplus.com)
  1437. # [21:41] * Quits: maikmerten (n=maikmert@U3f35.u.pppool.de) (Remote closed the connection)
  1438. # [21:43] * Quits: MikeSmith (n=MikeSmit@EM114-48-181-250.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  1439. # [21:44] * ezyang is awesome (fixed Python bug by changing func.__name__)
  1440. # [21:46] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: 113 (No route to host))
  1441. # [21:48] * Joins: wakaba_ (n=wakaba@EM114-51-10-45.pool.e-mobile.ne.jp)
  1442. # [21:49] * Joins: virtuelv (n=virtuelv@084202133045.customer.alfanett.no)
  1443. # [21:50] * Quits: pauld (n=pauld@host86-144-251-8.range86-144.btcentralplus.com)
  1444. # [21:52] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
  1445. # [21:53] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
  1446. # [21:55] * Joins: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  1447. # [21:55] * Quits: shepazu (n=schepers@63.80.141.130)
  1448. # [22:03] * Quits: mpilgrim (n=mark@63.80.141.130) (Read error: 60 (Operation timed out))
  1449. # [22:04] <Hixie> http://www.grabup.com/uploads/240ccede5360b093dbf298f8946025a5.png is fantastic
  1450. # [22:04] * Joins: dglazkov (n=dglazkov@63.80.141.130)
  1451. # [22:04] <Hixie> (notice the lower third text)
  1452. # [22:05] <ezyang> Hahahahha
  1453. # [22:06] <gsnedders> Uh, OK.
  1454. # [22:06] <gsnedders> Hixie: Can I email you suggestion for Acid4?
  1455. # [22:07] <gsnedders> Or is there no point?
  1456. # [22:07] * Quits: mlpug (n=mlpug@a88-115-171-214.elisa-laajakaista.fi) (Remote closed the connection)
  1457. # [22:08] <mgrdcm> FOX Business Channel: Most popular newspaper after The Tribune Company and Amazon's Kindle.
  1458. # [22:08] * Quits: wakaba (n=wakaba@EM114-51-154-142.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  1459. # [22:08] <Hixie> gsnedders: no point yet
  1460. # [22:09] * Quits: philipj (n=philipj@pat.se.opera.com) (Read error: 110 (Connection timed out))
  1461. # [22:09] * Quits: dglazkov (n=dglazkov@63.80.141.130)
  1462. # [22:11] * Joins: mpilgrim (n=mark@12.144.179.214)
  1463. # [22:12] * Joins: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
  1464. # [22:15] * Quits: ap (n=ap@194.154.88.33)
  1465. # [22:16] * Quits: itpastorn1 (n=itpastor@82.99.1.179) ("Leaving.")
  1466. # [22:25] * Joins: abarth_ (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  1467. # [22:26] <jgraham> ezyang: BTW the python svgmathml branch is likely more spec compliant than the trunk
  1468. # [22:27] <ezyang> jgraham: Oh really?
  1469. # [22:27] <jgraham> Although I think it doen't have the latest AAA changes
  1470. # [22:27] <ezyang> Is this, beyond just the foreign content tests?
  1471. # [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
  1472. # [22:28] <jgraham> So I haven't merged
  1473. # [22:28] <jgraham> (actually I haven't merged because the merge was non-trivial)
  1474. # [22:28] <jgraham> (so I should make some time and stop being such a crappy maintainer)
  1475. # [22:31] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
  1476. # [22:32] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
  1477. # [22:36] * Quits: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl) (Remote closed the connection)
  1478. # [22:36] * Joins: annevk42 (n=annevk@5ED2D22C.cable.ziggo.nl)
  1479. # [22:36] * Joins: shepazu (n=schepers@63.80.141.129)
  1480. # [22:37] <annevk42> anything known yet about Google and video?
  1481. # [22:40] * Quits: roc (n=roc@121-72-176-201.dsl.telstraclear.net)
  1482. # [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."
  1483. # [22:42] <gsnedders> RIA?
  1484. # [22:42] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  1485. # [22:43] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
  1486. # [22:43] * abarth_ is now known as abarth
  1487. # [22:43] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
  1488. # [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.)
  1489. # [22:44] <jgraham> I love that Adobe are doing their best o promote HTML5
  1490. # [22:44] <jgraham> annevk42: See my comment from 5 hours ago
  1491. # [22:44] * Joins: pmuellr_ (n=pmuellr@user-0ce2gjn.cable.mindspring.com)
  1492. # [22:45] * Quits: pmuellr (n=pmuellr@user-0ce2gjn.cable.mindspring.com) (Read error: 54 (Connection reset by peer))
  1493. # [22:47] <Philip`> gsnedders: Rich internet applications?
  1494. # [22:47] <jgraham> annevk42: You should maybe point out to Roy that Opera shipd to a bunch of non-desktop devices
  1495. # [22:48] <jgraham> And AFAIK we have the same requirements for all of them
  1496. # [22:48] * Joins: nessy (n=nessy@124-168-245-234.dyn.iinet.net.au)
  1497. # [22:49] <annevk42> Which email is that?
  1498. # [22:49] <annevk42> I might have deleted it already...
  1499. # [22:51] <jgraham> annevk42: http://lists.w3.org/Archives/Public/public-html/2009May/0547.html
  1500. # [22:51] * Joins: dglazkov (n=dglazkov@63.80.141.130)
  1501. # [22:51] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
  1502. # [22:52] <annevk42> I do have that one, but I don't see where he's suggesting we don't
  1503. # [22:52] * Quits: weinig (n=weinig@17.246.18.103)
  1504. # [22:52] <annevk42> and the words desktop or device are not in it
  1505. # [22:52] <jgraham> annevk42: He suggests that different devices require different error handling
  1506. # [22:52] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
  1507. # [22:53] <ezyang> Oh, it's Roy T. Fielding
  1508. # [22:53] <ezyang> He rejected my patch to Apache :-(
  1509. # [22:53] <annevk42> jgraham, seems to be mostly about different types of applications
  1510. # [22:53] <jgraham> annevk42: I think he is vastly overstating the number of different conformance classes
  1511. # [22:54] <jgraham> annevk42: If we can sell Opera for fridges I guess we would want the same error handling requirements
  1512. # [22:54] <jgraham> (similarly if it was Webkit or Gecko on the fridge of course)
  1513. # [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.
  1514. # [22:55] * Joins: weinig (n=weinig@17.246.18.103)
  1515. # [22:55] <hsivonen> Hixie: well, over here, the Web censor policeman said that Google is a browser...
  1516. # [22:56] * Quits: dglazkov (n=dglazkov@63.80.141.130) (Client Quit)
  1517. # [22:57] * jgraham wonders if he should reply to Shelley
  1518. # [22:57] <hsivonen> Hixie: when asked why he doesn't poison the DNS record for google.
  1519. # [22:59] <annevk42> reminds me of http://www.youtube.com/watch?v=MunMCO3uNdA
  1520. # [23:00] * gsnedders stabs CSS
  1521. # [23:01] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
  1522. # [23:01] <Philip`> jgraham: Depends on whether your reply would cause progress in productive areas of work, I guess :-)
  1523. # [23:02] <gsnedders> There has _got_ to be a nicer way to do this than CSS tables
  1524. # [23:03] <jgraham> Philip`: Yeah. I'm not sure what the best way to cause progress is
  1525. # [23:05] <Philip`> gsnedders: <table>
  1526. # [23:06] <gsnedders> Philip`: It isn't a table
  1527. # [23:06] <Philip`> gsnedders: Presumably you're doing something layout-related, and therefore <table> is a very effective solution
  1528. # [23:07] * beowulf burns Philip` with fire for saying such a thing
  1529. # [23:08] <jgraham> As opposed to burning him with acid I guess
  1530. # [23:09] <Hixie> christ almighty. 46 messages from backtype and google alerts about "html5"
  1531. # [23:09] <beowulf> well, that would be taking things to far
  1532. # [23:10] * Quits: shepazu (n=schepers@63.80.141.129)
  1533. # [23:10] <annevk2> everytime I look at twitter after a few hours there's like 400+ html5/html 5 messages
  1534. # [23:10] <annevk2> not really following that anymore :)
  1535. # [23:10] <ezyang> You need a "State of the HTML 5" report :-)
  1536. # [23:11] <Hixie> that's mpilgrim's job :-P
  1537. # [23:11] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
  1538. # [23:11] <hsivonen> annevk2: still not a "trending topic", though
  1539. # [23:11] <hsivonen> (it seems that twitter is confusing 'trend' and 'fad')
  1540. # [23:11] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 54 (Connection reset by peer))
  1541. # [23:12] <Hixie> dear lord, i just got my first google alert for a 4chan post
  1542. # [23:12] * Quits: ZombieLoffe (n=e@unaffiliated/zombieloffe)
  1543. # [23:15] <gsnedders> Can I table row not have padding!?
  1544. # [23:16] <ezyang> cell-spacing:0?
  1545. # [23:16] <ezyang> erm, border-spacing
  1546. # [23:16] <Hixie> gsnedders: what would it mean for a row to have padding?
  1547. # [23:16] <gsnedders> Hixie: The same as anything else? What's so hard about it?
  1548. # [23:17] <ezyang> Anyone know what version of simplejson I need in order to make the Python tokenizer not die?
  1549. # [23:17] <Hixie> gsnedders: the row doesn't exist as a rendered construct.
  1550. # [23:17] <ezyang> *tokenizer test
  1551. # [23:17] <gsnedders> Hixie: Ah
  1552. # [23:17] <Hixie> gsnedders: what would you do if you had three rows with different padding? what would it look like?
  1553. # [23:17] <gsnedders> Hixie: That does make things more complex :)
  1554. # [23:17] * Joins: roc (n=roc@202.0.36.64)
  1555. # [23:18] <gsnedders> CSS 2.1 references a "column element". What's that?
  1556. # [23:18] * Joins: mat_t (n=mattomas@80.67.104.110)
  1557. # [23:19] * Joins: MikeSmith (n=MikeSmit@EM114-48-161-226.pool.e-mobile.ne.jp)
  1558. # [23:19] <gsnedders> display: table-column?
  1559. # [23:19] <Hixie> gsnedders: dunno, ask csswg :-)
  1560. # [23:20] <gsnedders> Hixie: Hey, you're listed as an editor, for all little that's worth! :P
  1561. # [23:20] <Hixie> i was hoping you wouldn't notice :-P
  1562. # [23:21] <ezyang> Same goes for the ruby tokenizer tests. ARRGH
  1563. # [23:22] * gsnedders realizes what it all means
  1564. # [23:22] <gsnedders> It just omits the table- everywhere there
  1565. # [23:23] <jgraham> ezyang: I noticed the simplejson problem too :(
  1566. # [23:23] <jgraham> I think it is just one set of tests that you can disable though
  1567. # [23:23] <ezyang> Ok, so maybe there was an incompatible "fix" that upstream made
  1568. # [23:24] <jgraham> ezyang: Yeah, they made it much more strict with character encodings
  1569. # [23:24] <ezyang> JSON is such a bad format, really, since it only supports Unicode
  1570. # [23:24] <jgraham> It's a bad choice for testing lone surrogates and similar things
  1571. # [23:25] <ezyang> Well, I suppose I can get rid of the offending tests, pending a new test format
  1572. # [23:27] <ezyang> Aweomse, only unicode characters test.
  1573. # [23:27] <ezyang> ... needs to be removed
  1574. # [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!
  1575. # [23:28] <jgraham> ezyang: It would be awesome if you converted it to the same format as the tree construction tests
  1576. # [23:28] <jgraham> (roughly)
  1577. # [23:28] <jgraham> Like
  1578. # [23:28] <jgraham> #input
  1579. # [23:29] <ezyang> That might not be too difficult
  1580. # [23:29] <jgraham> some data
  1581. # [23:29] <jgraham> #output
  1582. # [23:29] <jgraham> some tokens
  1583. # [23:29] <ezyang> But in interest of not needing a binary editor, we probably want to keep them escaped
  1584. # [23:29] <roc> do we know any more about Google's video story yet?
  1585. # [23:29] <ezyang> (PHP's JSON parser is really lenient)
  1586. # [23:30] <ezyang> We'd also need a token format
  1587. # [23:32] <ezyang> gsnedders: what bugs in PHP's tokenizers were you dealing with?
  1588. # [23:32] <gsnedders> Is http://svenellingen.com/stream a table?
  1589. # [23:32] * Quits: annevk2 (n=annevk@5ED2D22C.cable.ziggo.nl)
  1590. # [23:32] <gsnedders> ezyang: The failing test cases
  1591. # [23:32] <ezyang> All of them?
  1592. # [23:32] <gsnedders> ezyang: There are only two bugs :P
  1593. # [23:32] <gsnedders> (Actually, three)
  1594. # [23:32] <ezyang> Huh. I have 15 failures
  1595. # [23:32] <gsnedders> I have 10 when I last ran
  1596. # [23:32] <jgraham> ezyang: The json-like format is good enough
  1597. # [23:33] <jgraham> for the output format
  1598. # [23:33] <jgraham> unless yu want something easier to parse
  1599. # [23:33] <gsnedders> ezyang: I get 10.
  1600. # [23:34] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) ("Disconnected...")
  1601. # [23:34] <ezyang> Let me push
  1602. # [23:34] <ezyang> (although that shouldn't make a difference)
  1603. # [23:34] <ezyang> Ok, you should pull
  1604. # [23:34] <ezyang> It's very possible that you've fixed a bunch
  1605. # [23:34] <ezyang> And forgot to push your changes
  1606. # [23:34] <gsnedders> There are ten failures on trunk.
  1607. # [23:35] <gsnedders> I haven't touched it in days, everything is pushed.
  1608. # [23:35] <ezyang> Hmmm...
  1609. # [23:35] <ezyang> What version of PHP are you using?
  1610. # [23:35] <gsnedders> Pastebin them
  1611. # [23:35] <gsnedders> 5.2.9
  1612. # [23:35] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 104 (Connection reset by peer))
  1613. # [23:35] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
  1614. # [23:35] <ezyang> Ok. Old version of PHP = more errors.
  1615. # [23:36] <ezyang> With 5.2.9 I get 10
  1616. # [23:36] <ezyang> This is a bug, btw
  1617. # [23:36] <gsnedders> Indeed.
  1618. # [23:36] <gsnedders> Right now I'm more concerned with getting it working at least locally :P
  1619. # [23:37] <ezyang> Sure, but it's easier to deal with cross-version bugs as quickly as possible
  1620. # [23:37] <ezyang> I've had to deal with it in HTML Purifier, and they're nasty little buggers
  1621. # [23:37] <ezyang> (anyway, that's 11 worth of more passing test-cases for TreeBuilder.php)
  1622. # [23:37] * gsnedders keeps on hitting bugs that crash PHP
  1623. # [23:37] <ezyang> Oh?
  1624. # [23:38] <ezyang> As in, segfault?
  1625. # [23:38] <gsnedders> Not with html5lib, though
  1626. # [23:38] <gsnedders> yeah
  1627. # [23:38] <ezyang> Get a core dump and complain to the devs
  1628. # [23:38] * Joins: olliej (n=oliver@nat/apple/x-bbe095996d3f68dd)
  1629. # [23:38] * Parts: olliej (n=oliver@nat/apple/x-bbe095996d3f68dd)
  1630. # [23:38] <gsnedders> That doesn't help when you need to support current releases of PHP
  1631. # [23:39] * Joins: olliej (n=oliver@nat/apple/x-198f2bb2639b3786)
  1632. # [23:39] <ezyang> Usually, doing some unset()s or superstitious function calls makes the crash go away :-)
  1633. # [23:39] <gsnedders> Oh, here's a fun crash:
  1634. # [23:39] <olliej> Philip`: weeee - http://nerget.com/pressure/pressure.html
  1635. # [23:39] <gsnedders> curl_version() in some setups crashes PHP.
  1636. # [23:39] <gsnedders> Just calling it at all crashes PHP.
  1637. # [23:39] <ezyang> Oh.
  1638. # [23:39] <gsnedders> It's great fun. :\
  1639. # [23:39] * Joins: billyjackass (n=MikeSmit@EM114-48-161-72.pool.e-mobile.ne.jp)
  1640. # [23:40] <ezyang> Well, that's no good
  1641. # [23:40] <gsnedders> IIRC it's fixed now.
  1642. # [23:40] <olliej> Philip`: its complete absence of html5 validation will make Hixie cry
  1643. # [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."
  1644. # [23:41] <ezyang> I disagree.
  1645. # [23:41] <ezyang> But it depends on how much you care about your users.
  1646. # [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.
  1647. # [23:41] <gsnedders> It had got to the point that the majority of bug fixes were working around interpreter bugs.
  1648. # [23:42] <gsnedders> And that's when I just give up on the interpreter :P
  1649. # [23:42] <ezyang> What the heck were you doing?
  1650. # [23:42] <gsnedders> Nothing much.
  1651. # [23:42] <ezyang> I've only needed to do about two dozen interpreter fixes
  1652. # [23:43] <Philip`> olliej: It's a bit slow in my browsers :-(
  1653. # [23:43] * gsnedders goes back to his Python wunderland where he's never had to work around interpreter bugs :P
  1654. # [23:44] <ezyang> Oh, I've had to work around python bugs too.
  1655. # [23:44] <ezyang> They're pretty spectacular
  1656. # [23:44] <ezyang> One would go away when I added a print statement
  1657. # [23:44] <Philip`> olliej: but kind of neat :-)
  1658. # [23:44] <olliej> Philip`: really?
  1659. # [23:44] <olliej> what machine are you on?
  1660. # [23:44] <ezyang> One would only happen of there was a pyc file, but not when it was missing
  1661. # [23:45] <Hixie> so is www.w3.org down for anyone else?
  1662. # [23:45] <ezyang> Works for me
  1663. # [23:45] * jgraham only remembers one python interpreter bug
  1664. # [23:45] <Philip`> Hixie: http://downforeveryoneorjustme.com/www.w3.org
  1665. # [23:45] <jgraham> (.iteritems() and .items() produced different results)
  1666. # [23:45] <Hixie> well bummer
  1667. # [23:46] <ezyang> jgraham: Haha. That sounds excellent
  1668. # [23:46] <gsnedders> jgraham: They're meant to.
  1669. # [23:46] <ezyang> Anyway, afk, for a bit
  1670. # [23:46] <gsnedders> jgraham: One produces an iterator and the other a list :P
  1671. # [23:46] <jgraham> gsnedders: I was waiting for you to say that
  1672. # [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
  1673. # [23:47] <olliej> Philip`: try a firefox nightly
  1674. # [23:47] <jgraham> olliej: That's cool
  1675. # [23:47] <olliej> Philip`: they do much much better
  1676. # [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.
  1677. # [23:47] <olliej> Philip`: or a recent webkit build
  1678. # [23:48] * jgraham was getting about 1500ms/frame with three sources and quite a complex velocity field
  1679. # [23:49] <olliej> jgraham: the performance is entirely dependent on overall resolution
  1680. # [23:49] <gsnedders> olliej: You've changed it!
  1681. # [23:49] <gsnedders> It had a white background before!
  1682. # [23:49] <olliej> jgraham: number of sources is actually irrelevant
  1683. # [23:50] <olliej> gsnedders: i've also improved performance a bit by assuming that there's always 0 diffusion
  1684. # [23:50] <jgraham> olliej: That makes sense I guess since it presumably does the same number of calculations in any case
  1685. # [23:50] <olliej> jgraham: yup
  1686. # [23:50] <olliej> jgraham: the only reason webkit trunk and firefox start off slightly faster is because initially there are no gc allocated numbers
  1687. # [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)
  1688. # [23:51] * Philip` wonders if it'd be possible to optimise it by doing the big calculations via <canvas> compositing
  1689. # [23:51] <olliej> jgraham: and the number of gc numbers (and hence gc pressure) gradually increases until there are no longer any 0s
  1690. # [23:51] <Philip`> olliej: Seems a bit better in some kind of Firefox 3.5, but it's still ~200ms per frame
  1691. # [23:52] <olliej> Philip`: depending on resolution my measurements show either webkit-proper or chrome to be faster
  1692. # [23:52] <gsnedders> olliej: So WebKit-proper or WebKit-fake? :P
  1693. # [23:52] <olliej> Philip`: largely because jsc still has a stupid gc
  1694. # [23:53] <olliej> gsnedders: webkit-proper and webkit-with-an-unnecessarily-replaced-js-engine
  1695. # [23:53] <Philip`> olliej: I'd be more able to test that if there was a decent WebKit-based browser on Linux
  1696. # [23:53] <olliej> Philip`: epiphany?
  1697. # [23:53] <olliej> Philip`: apparently it works
  1698. # [23:56] * Quits: MikeSmith (n=MikeSmit@EM114-48-161-226.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  1699. # [23:57] <gsnedders> Is onclick fired on an element and all its parents?
  1700. # [23:57] <gsnedders> In what order?
  1701. # [23:58] <ezyang> ooh, there's a really good quirks mode article on that
  1702. # [23:58] <roc> onclick is fired on one element
  1703. # [23:58] <roc> it bubbles up through its ancestors
  1704. # [23:58] <ezyang> http://www.quirksmode.org/js/events_order.html
  1705. # [23:58] * gsnedders needs to learn about DOM Events, badly
  1706. # [23:58] <jgraham> Philip`: chromium nightlies or the webkittestgtk thing?
  1707. # [23:59] <olliej> Philip`: epiphany-webkit i mean
  1708. # Session Close: Fri May 29 00:00:00 2009

The end :)