/irc-logs / freenode / #whatwg / 2009-08-26 / end

Options:

  1. # Session Start: Wed Aug 26 00:00:00 2009
  2. # Session Ident: #whatwg
  3. # [00:01] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
  4. # [00:05] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 110 (Connection timed out))
  5. # [00:05] * Quits: heycam (n=cam@124-168-62-130.dyn.iinet.net.au) ("bye")
  6. # [00:07] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
  7. # [00:07] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
  8. # [00:07] * Joins: aroben (n=aroben@nat/apple/x-vodxsanycokmaozn)
  9. # [00:08] * Quits: bgalbraith_ (n=bgalbrai@nat/mozilla/x-islqnnbwoaqurzvp) (Read error: 110 (Connection timed out))
  10. # [00:09] <hallvors> fun site. wonder why they use just English-Japanese-English though.
  11. # [00:10] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
  12. # [00:12] <Dashiva> hallvors: Maximum confusion
  13. # [00:14] * Joins: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
  14. # [00:19] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
  15. # [00:22] * Quits: annodomini (n=lambda@wikipedia/lambda)
  16. # [00:23] <Hixie> so... standards suck interviews accessibility people, accessibility people even ReTweet the announcement, and nobody complains about lack of transcripts?
  17. # [00:24] * Joins: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au)
  18. # [00:26] * Quits: dbaron (n=dbaron@nat/mozilla/x-lniavxfjzbbyrqos) ("8403864 bytes have been tenured, next gc will be global.")
  19. # [00:29] <annevk3> Steve Faulkner published a transcript on his blog when we interviewed him, hopefully Bruce Lawson does the same
  20. # [00:30] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-lbfcrmavwxfdeloz)
  21. # [00:31] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
  22. # [00:31] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) (Connection reset by peer)
  23. # [00:32] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
  24. # [00:37] * Quits: annevk3 (n=annevk@5355732C.cable.casema.nl)
  25. # [00:38] <Hixie> i think roy and i live on different planets
  26. # [00:38] <Hixie> or we speak a different language
  27. # [00:38] <Hixie> or something
  28. # [00:38] <Hixie> i so utterly don't understand what he's saying
  29. # [00:39] <Hixie> of course he refuses to explain himself
  30. # [00:39] <Hixie> so...
  31. # [00:40] * Joins: cying (n=cying@70.90.171.153)
  32. # [00:43] <othermaciej> Hixie: I did not find his link to the dictionary edifying
  33. # [00:43] <TabAtkins> Damn, maciej beat me to it. I was just drafting a nearly identical response.
  34. # [00:45] <Hixie> well my position is that a prerequisite for me to respond to roy's feedback be that i understand wtf he's talking about, but he refuses to continue responding to the thread in which we were making progress towards me understanding that
  35. # [00:45] * Quits: BlurstOfTimes (n=blurstof@168.203.117.59) ("Leaving...")
  36. # [00:46] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
  37. # [00:46] <vvv> Is there support of ARGB in HTML 5?
  38. # [00:46] <Hixie> what do you mean by ARGB?
  39. # [00:47] <vvv> RGB with an alpha channel
  40. # [00:48] <Hixie> <canvas> supports RGBA, yes
  41. # [00:48] <vvv> And <input type=color>?
  42. # [00:50] <TabAtkins> That's UA-specific, I believe.
  43. # [00:51] * Quits: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
  44. # [00:54] <vvv> Spec says it's "simple color". Is there a reason why there can't be an "alpha" attribute to specify whether alpha channel is needed?
  45. # [00:55] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
  46. # [00:56] <Lachy_> vvv, alpha channel can be specified with a separate control, if it's needed
  47. # [00:56] <vvv> Lachy_: then it would be impossible to include it in color well
  48. # [00:58] * Lachy_ is now known as Lachy
  49. # [00:58] <Hixie> vvv: no, <input type=color> doesn't do alpha currently
  50. # [00:58] <Hixie> vvv: maybe in a future version
  51. # [00:59] <vvv> Where should I post a request?
  52. # [00:59] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 131 (Connection reset by peer))
  53. # [00:59] * Joins: aroben_ (n=aroben@17.246.17.226)
  54. # [01:01] * Quits: webben (n=benh@91.85.213.208) (Read error: 110 (Connection timed out))
  55. # [01:01] <Lachy> vvv, whatwg@whatwg.org or public-html@w3.org
  56. # [01:01] <vvv> Thanks
  57. # [01:03] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
  58. # [01:03] * Joins: aroben_ (n=aroben@nat/apple/x-mrpafxcedyiblqyr)
  59. # [01:04] <Lachy> vvv, which applications are you aware of that include an alpha channel in the same control as the colour picker?
  60. # [01:04] <vvv> Lachy: GTK has such feature
  61. # [01:05] <Lachy> any windows or mac apps?
  62. # [01:05] <vvv> Haven't seen such thing in Windows
  63. # [01:05] <Lachy> or can you find a screenshot of such a control somewhere and post a link?
  64. # [01:07] <Lachy> vvv, if common native apps rarely, if ever, include an alpha channel in the colour picker, I'm trying to understand why a web app would need to?
  65. # [01:08] <vvv> Lachy: graphics editors would need it
  66. # [01:08] <TabAtkins> I know that GIMP exposes alpha through an opacity control, which is separate from the color-picker.
  67. # [01:09] <Lachy> vvv, I'm not questioning the need for an alpha channel itself, just whether it needs to be integrated in the same control, rather than a separate control.
  68. # [01:10] * Joins: aroben (n=aroben@17.246.17.226)
  69. # [01:10] <Hixie> Lachy: it's common for the colour control on Mac OS X to have an alpha slider
  70. # [01:11] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Read error: 60 (Operation timed out))
  71. # [01:11] * Quits: aroben (n=aroben@unaffiliated/aroben) (Remote closed the connection)
  72. # [01:12] * Joins: aroben (n=aroben@nat/apple/x-rheliqybeczmhrgm)
  73. # [01:12] * Quits: billyjackass (n=MikeSmit@EM114-48-0-204.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
  74. # [01:13] <Lachy> Hixie, I don't appear to have any graphics apps on my mac to be able to check that.
  75. # [01:13] <vvv> Lachy: http://img252.imageshack.us/img252/9418/rgbacolorpicker.png - that's a GTK one
  76. # [01:13] * Joins: MikeSmith (n=MikeSmit@EM114-48-4-231.pool.e-mobile.ne.jp)
  77. # [01:14] <Lachy> ok
  78. # [01:14] <Hixie> Lachy: keynote and pages, e.g.
  79. # [01:14] * Quits: hallvors (n=hallvord@cm-84.208.127.109.getinternet.no)
  80. # [01:15] <Lachy> ah, ok. I have those apps and have now seen it
  81. # [01:17] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
  82. # [01:18] <Lachy> vvv, in the mean time, this should be a suitable substitue <input type=number min=0 max=1 step=0.01 name=alpha>
  83. # [01:19] <Lachy> or input type=range instead
  84. # [01:19] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
  85. # [01:19] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
  86. # [01:30] * Joins: doublec (n=doublec@nat/mozilla/x-pluyymyboikyucck)
  87. # [01:31] * Joins: ap_ (n=ap@17.246.19.164)
  88. # [01:31] * Quits: ap_ (n=ap@17.246.19.164) (Remote closed the connection)
  89. # [01:32] * Joins: ap_ (n=ap@nat/apple/x-jmzsxlonzhsbnbwg)
  90. # [01:32] * Quits: ap (n=ap@nat/apple/x-gwzvqhzyhjlswzbr) (Read error: 104 (Connection reset by peer))
  91. # [01:36] <othermaciej> Hixie: looks like Roy identified some specific things he thinks are lacking in the HTML5 definition, his latest message and my response to him
  92. # [01:36] <Hixie> yeah, already fixing the spec
  93. # [01:38] <Rik`> vvv: you can add a input type=range for ask the user to specify the alpha channel ?
  94. # [01:39] <vvv> Rik`: color pickers do it nicer usually
  95. # [01:40] * Quits: dglazkov (n=dglazkov@nat/google/x-uxhzmrbljkqkvvon)
  96. # [01:41] * Joins: jacobolu_ (n=jacobolu@menlopark.keplers.com)
  97. # [01:42] * Quits: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net)
  98. # [01:42] * Quits: jacobolu_ (n=jacobolu@menlopark.keplers.com) (Client Quit)
  99. # [01:51] <Hixie> wow, that was the first time roy said something that actually resulted in changes to the spec
  100. # [01:53] <othermaciej> I am hoping this experience will help him appreciate the merits of being specific
  101. # [01:54] <othermaciej> Hixie: you still don't have a requirement that two <a>s can't have the same name, afaict
  102. # [01:55] * Quits: doublec (n=doublec@nat/mozilla/x-pluyymyboikyucck) (Read error: 110 (Connection timed out))
  103. # [01:55] <Hixie> oops
  104. # [01:55] <Hixie> fixing
  105. # [02:00] <othermaciej> also would it kill you to change " In earlier versions of the language, this attribute served a similar role as the id attribute." to something like " In earlier versions of the language, this attribute served a similar role as the id attribute, including defining targets for fragment identifiers."?
  106. # [02:00] <othermaciej> Not that it's a hugely meaningful difference, but it might brighten Roy's day
  107. # [02:03] <Dashiva> Is that possible?
  108. # [02:04] <othermaciej> well, he deserves a prize for finding a material error in the spec (one I myself overlooked despite looking at the two definitions side by side just recently)
  109. # [02:05] <othermaciej> whether that would in fact brighten his day, I can't say
  110. # [02:05] <heycam> does <a name> not define a target for a fragid in html5?
  111. # [02:05] <othermaciej> it does
  112. # [02:05] <heycam> ok, then the "in earlier languages" sounds misleading
  113. # [02:05] <othermaciej> true
  114. # [02:05] <heycam> sounds like in this version that's not the case
  115. # [02:05] <Hixie> othermaciej: i have no opinion on that particular change, but i have to go afk for a while. if you want it, post on that thread.
  116. # [02:05] <Hixie> bbiab
  117. # [02:05] <Dashiva> Is Roy basically writing a multi-version validator?
  118. # [02:06] * KevinMarks reads http://blog.foolip.org/2009/08/23/microformats-vs-rdfa-vs-microdata/ too, and has no idea what he is trying to represent - scope fail
  119. # [02:06] <othermaciej> Dashiva: I believe he has a tool that's not a validator per se, it just wants to check link targets
  120. # [02:06] * Quits: ap_ (n=ap@nat/apple/x-jmzsxlonzhsbnbwg)
  121. # [02:07] <othermaciej> Dashiva: so for links with a fragid, it would want to check that the fragment target exists in the target file
  122. # [02:07] <othermaciej> heycam: any wordsmithing advice?
  123. # [02:07] <othermaciej> heycam: it would be nice to mention the purpose in establishing a fragid, without making it sound like it doesn't actually do that, but while still recommending id instead
  124. # [02:08] <heycam> othermaciej, yeah it might be good to have a section dedicated to that in fact
  125. # [02:08] <heycam> which says that id and name both establish such names
  126. # [02:08] <othermaciej> heycam: there is a section dedicated to the algorithm for the target of fragid
  127. # [02:08] * Quits: tkent (n=tkent@220.109.219.244) ("Leaving...")
  128. # [02:09] <heycam> which already mentions name?
  129. # [02:09] <othermaciej> http://dev.w3.org/html5/spec/Overview.html#the-indicated-part-of-the-document
  130. # [02:10] <heycam> ok it does
  131. # [02:10] <othermaciej> is it worth mentioning this again in the description of "name" or no?
  132. # [02:10] <heycam> yes i think so
  133. # [02:10] <heycam> linking to that alg
  134. # [02:10] <heycam> otherwise it might not be easy to find
  135. # [02:11] <heycam> i think people may start by looking up the definition of the name attribute
  136. # [02:11] <heycam> and if they don't find the mention of the fragid stuff there then they might assume that that is it
  137. # [02:11] * Quits: ojan (n=ojan@nat/google/x-xbehvbpaxgcetsrp)
  138. # [02:12] <othermaciej> heycam: the definition of the id attribute mentions the fragment use, so that's fair
  139. # [02:12] <heycam> sounds good then
  140. # [02:12] <heycam> is there a tendency in the spec not to define the meaning of obsolete features?
  141. # [02:13] <heycam> (and only to define the behavior of the UA for them?)
  142. # [02:13] * Joins: aroben_ (n=aroben@17.246.17.226)
  143. # [02:13] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
  144. # [02:13] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 54 (Connection reset by peer))
  145. # [02:13] <othermaciej> it depends on what you mean by meaning
  146. # [02:13] * Joins: aroben (n=aroben@nat/apple/x-doemhvyqqbyyfrmj)
  147. # [02:14] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
  148. # [02:14] <othermaciej> in some cases, it's pretty vague about the former intended purpose of the obsolete feature, but it does give author conformance requirements and implementation conformance requirements
  149. # [02:14] * Joins: aroben (n=aroben@nat/apple/x-pgcwdcnvfntlfhwz)
  150. # [02:14] <heycam> yeah
  151. # [02:14] <othermaciej> for obsolete but conforming, it should probably give the semantics in the same way as they are given for fully conforming, to the degree applicable
  152. # [02:14] <heycam> i was wondering if that was deliberate, to dissuade people from using them
  153. # [02:14] <othermaciej> because even though you SHOULD NOT use the feature, it ought to still be the case that you MUST use it in accordance with its semantics
  154. # [02:14] <heycam> right
  155. # [02:15] <AryehGregor> What's the point of obsolete but conforming? Isn't that like HTML 4 Strict, which HTML 5 wanted to avoid?
  156. # [02:15] <heycam> but if we're going down the road of "html 5 is replacing all previous versions and therefore must define all previously allowed features", then we might need them for obsolete and non-conforming too
  157. # [02:16] <heycam> unless we consider it acceptable to change previously conforming documents to be non-conforming, of course
  158. # [02:16] <othermaciej> it is considered acceptable to change previously conforming documents to be nonconforming
  159. # [02:17] <othermaciej> older versions of HTML have done that too
  160. # [02:17] <heycam> but it's a bit different with older versions of HTML
  161. # [02:17] <heycam> since you had version identifiers in the documents themselves
  162. # [02:18] <heycam> so you're just changing what is conforming for documents with the newer version identifier
  163. # [02:18] <othermaciej> heycam: I'm going to suggest adding a note like:
  164. # [02:18] <othermaciej> "An a element's name attribute can be used for a variety of purposes, most notably as a way to link to specific parts of a document using fragment identifiers."
  165. # [02:18] <othermaciej> or "An a element's name attribute can be as a way to link to specific parts of a document using fragment identifiers. The id attribute is recommended instead for this purpose."
  166. # [02:18] <othermaciej> heycam: does that sound sane?
  167. # [02:18] <heycam> prefer the second one
  168. # [02:18] <heycam> yep, sounds good
  169. # [02:18] <othermaciej> I'm including both suggestions
  170. # [02:19] <heycam> ok
  171. # [02:19] * heycam should respond to the issue-37 thread at some point he supposes
  172. # [02:19] <othermaciej> heycam: that would be nice - sorry for giving you such a long-winded and multifaceted reply
  173. # [02:19] <heycam> no that's fine
  174. # [02:21] <othermaciej> ooh, I have a cut off sentence in what I wrote
  175. # [02:21] <heycam> the svg wg is having a f2f in late september, so i'm planning to discuss svg-in-text/html then, and get any remaining issues sent to the htmlwg by the end of that meeting
  176. # [02:22] <othermaciej> replied to self
  177. # [02:22] * heycam wonders whether the planned LC is early or late october :)
  178. # [02:22] <othermaciej> heycam: "planned" is such a strong word
  179. # [02:22] <heycam> heh
  180. # [02:23] <heycam> desired then
  181. # [02:23] <othermaciej> looks like I had 5 open questions for you (in addition to filing 2 bugs based on the feedback)
  182. # [02:27] * Joins: aroben_ (n=aroben@17.246.17.226)
  183. # [02:28] * Joins: dbaron (n=dbaron@nat/mozilla/x-ccccaeynvyekoywq)
  184. # [02:28] * Joins: doublec (n=doublec@nat/mozilla/x-nlqpwdhaddzoxuuh)
  185. # [02:39] * Joins: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
  186. # [02:41] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
  187. # [02:41] * Joins: aroben_ (n=aroben@nat/apple/x-cvxwosljurwyimbd)
  188. # [02:42] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 110 (Connection timed out))
  189. # [02:50] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  190. # [02:51] * Joins: aroben (n=aroben@17.246.17.226)
  191. # [02:51] * Quits: aroben (n=aroben@17.246.17.226) (Remote closed the connection)
  192. # [02:51] * Joins: aroben (n=aroben@nat/apple/x-aprdwhmaphdfphnu)
  193. # [02:52] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
  194. # [02:54] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Client Quit)
  195. # [02:54] * Quits: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp) ("Ex-Chat")
  196. # [03:02] * Quits: aroben (n=aroben@unaffiliated/aroben)
  197. # [03:06] * Quits: annodomini (n=lambda@wikipedia/lambda)
  198. # [03:09] * Quits: othermaciej (n=mjs@17.203.15.179)
  199. # [03:10] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  200. # [03:16] * Quits: tndH (n=Rob@77.86.43.45) ("ChatZilla 0.9.85-rdmsoft [XULRunner 1.9.0.1/2008072406]")
  201. # [03:16] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
  202. # [03:21] * Quits: KevinMarks (n=KevinMar@157.22.22.46) (Read error: 110 (Connection timed out))
  203. # [03:24] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  204. # [03:34] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  205. # [03:37] * Joins: cardona507 (n=cardona5@67.180.160.250)
  206. # [03:39] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-lbfcrmavwxfdeloz)
  207. # [03:41] * Quits: cying (n=cying@70.90.171.153)
  208. # [03:46] * Joins: dimich_ (n=dimich@72.14.227.4)
  209. # [03:51] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
  210. # [03:59] * Quits: dimich_ (n=dimich@72.14.227.4)
  211. # [04:10] * Quits: cardona507 (n=cardona5@67.180.160.250)
  212. # [04:18] * Quits: doublec (n=doublec@nat/mozilla/x-nlqpwdhaddzoxuuh) (Read error: 110 (Connection timed out))
  213. # [04:20] * Quits: dpranke (n=Adium@nat/google/x-vkrklxvfxyayrxai) ("Leaving.")
  214. # [04:23] * Quits: annodomini (n=lambda@wikipedia/lambda)
  215. # [04:26] * Quits: ttepass- (n=ttepas--@p5B015CD2.dip.t-dialin.net) ("?Q")
  216. # [04:29] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  217. # [04:29] <othermaciej> howdy folks
  218. # [04:34] * Quits: MikeSmith (n=MikeSmit@EM114-48-4-231.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  219. # [04:36] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  220. # [04:42] <othermaciej> Hixie: I like how you worded it
  221. # [04:45] <Hixie> assuming you mean the edit to the spec, cool
  222. # [04:45] <Hixie> i really have no idea what roy wants though
  223. # [04:45] <Hixie> how can we define a DOM-based language without reference to the DOM?
  224. # [04:45] <Hixie> i thought HTML4 had shown that idea was a complete failure
  225. # [04:49] <Hixie> wow, turns out onhashchange is actually synchronous in IE
  226. # [04:49] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  227. # [04:49] <Hixie> i thought we tested that and found it async
  228. # [04:58] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
  229. # [05:07] * Joins: MikeSmith (n=MikeSmit@EM114-48-18-207.pool.e-mobile.ne.jp)
  230. # [05:10] <dimich> I have an XHR question. I'm reading the XHR spec, it has a sentence on failed TLS negotiation, but it'd be nice to get a clarification: in case XHR is over SSL and encounters bad certificate error, and user already accepted bad cert for the page that runs the script - should XHR fail or succeed?
  231. # [05:11] <Hixie> that's probably either a TLS spec question, or a UI question
  232. # [05:12] <dimich> Hixie: The XHR spec says do NETWORK_ERR silently. That's clear except the case where user already agreed with the bad cert...
  233. # [05:12] <Hixie> sounds like a UI issue to me -- depends on whether the UI says "accept this one time" or "accept forever" or "accept for this page and anything this page does" etc
  234. # [05:13] <Hixie> same answer as if you asked the same thing but with <img> pointing to a resource on that server
  235. # [05:13] <dimich> Hixie: so basically it's up to UA. I see. Do you think loading from Workers is any different? I woudl assume not since they are part of the page, sort of.
  236. # [05:14] <Hixie> i would say that if the user has said to temporarily accept a bogus cert, then it should be accepted until the session closes
  237. # [05:14] <Hixie> of course personally i would just treat bogus certs as the same as no cert and pretend that it was an http: connection
  238. # [05:15] <Hixie> and not show any (modal) UI
  239. # [05:15] <Hixie> (maybe have an infobar warning)
  240. # [05:16] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  241. # [05:16] <dimich> Hixie: thanks!
  242. # [05:32] <AryehGregor> Hixie, that means there's no protection against MITM unless you can rely on the user to realize something is wrong if the URL bar is the wrong color or such.
  243. # [05:32] <AryehGregor> Currently you only get to do that if the user initially tries an HTTP connection and only later switches to HTTPS, e.g., if they type "amazon.com" in the URL bar.
  244. # [05:33] <AryehGregor> On the other hand, the warning that browsers usually present these days is obviously ridiculously too scary, given that in probably >99.9% of cases it will just be innocuous misconfiguration.
  245. # [05:34] <AryehGregor> HTTPS is unreasonably easy to misconfigure in practice.
  246. # [05:35] <Hixie> AryehGregor: hence the infobar warning.
  247. # [05:35] <Hixie> AryehGregor: then again, that warning should probabl appear for all HTTP accesses too
  248. # [05:36] <AryehGregor> It's kind of a pain when there's a 99.9% chance that it's totally innocuous, and a <0.1% chance that someone is stealing your credit card numbers and will spend $5000 of your money on gambling or something.
  249. # [05:36] <AryehGregor> Not easy to make good UI for that.
  250. # [05:37] <AryehGregor> https://google.com at one point gave a mismatched cert, it was serving a cert for www.google.com. :/
  251. # [05:37] <Hixie> the current practice of prompting the user and then, if the user hits the right sequence of buttons, just pretending that all is ok, is clearly not the answer
  252. # [05:37] * Quits: jwalden (n=waldo@nat/mozilla/x-wzzotizdmvvnddvw) ("->home")
  253. # [05:37] <AryehGregor> They don't pretend it's okay, they color the address bar red and such, AFAIK.
  254. # [05:37] <Hixie> yeah, exactly
  255. # [05:37] <Hixie> they do it differently than port 80
  256. # [05:37] <Hixie> which i think is worse
  257. # [05:37] <Hixie> people go "ok, there's a lock, and it's the special color, i must be ok"
  258. # [05:38] <AryehGregor> Do people even look at the URL bar color in practice?
  259. # [05:38] <AryehGregor> I mentioned it once to my mother, and she insisted she had never seen the URL bar turn different colors.
  260. # [05:38] <AryehGregor> Even though she uses Gmail continuously, over HTTPS.
  261. # [05:38] <Hixie> i saw research saying 25% of people only trust the content inside the rendering area
  262. # [05:38] <Hixie> and ignore UA UI
  263. # [05:38] <Hixie> so...
  264. # [05:38] <AryehGregor> That's horribly backwards.
  265. # [05:39] <AryehGregor> Too bad Tim Berners-Lee didn't think to make it all encrypted from day one. :/
  266. # [05:40] <AryehGregor> DNSSEC will hopefully allow easier deployment of certificates, at least. It should theoretically remove most or all of the self-signing and mismatch problems we get today, if I understand correctly.
  267. # [05:40] <AryehGregor> I haven't looked at the details, though. I'd hope you could set up your DNS to just serve the same (uncertified) key for all your domains, and then just dump the same key on all your servers, and have it work.
  268. # [05:41] <AryehGregor> Right now you have headaches with the wrong key being served, and people not being willing to shell out for a certificate.
  269. # [05:41] <Hixie> yeah well we're not doing websockets all encrypted either :-)
  270. # [05:41] <Hixie> encryption has high overhead and makes debugging a pain in the ass
  271. # [05:42] <AryehGregor> I'd also hope you could add a DNS entry (with DNSSEC) saying "don't ever connect to this site unencrypted".
  272. # [05:43] <AryehGregor> High overhead, maybe. Hopefully the Moore's law fairy will solve that one soon. For debugging, do you often look at actual network packets using a packet sniffer? I've only done that rarely.
  273. # [05:48] <Hixie> the overhead will always be more than no encryption
  274. # [05:48] <Hixie> i do network sniffing all the time
  275. # [05:52] <AryehGregor> Well, just because it's more doesn't mean it's significantly more. Web servers usually aren't CPU-bound anyway (assuming "web server" is different from "application server"). I've also heard that the i7 works very well for efficient crypto.
  276. # [05:53] <Hixie> the issue isn't cpu usage, it's latency
  277. # [05:53] <Hixie> annevk2: yt?
  278. # [05:55] * Quits: MikeSmith (n=MikeSmit@EM114-48-18-207.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  279. # [05:56] * Joins: dglazkov_ (n=dglazkov@72.14.224.1)
  280. # [05:57] * Joins: KevinMarks (n=KevinMar@c-67-164-14-96.hsd1.ca.comcast.net)
  281. # [06:02] <Hixie> hey kevin
  282. # [06:02] <Hixie> nice appearance on twig :-)
  283. # [06:06] * Joins: MikeSmith (n=MikeSmit@114.48.37.241)
  284. # [06:12] * Quits: dbaron (n=dbaron@nat/mozilla/x-ccccaeynvyekoywq) ("8403864 bytes have been tenured, next gc will be global.")
  285. # [06:13] * Quits: annodomini (n=lambda@wikipedia/lambda)
  286. # [06:14] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  287. # [06:14] * dglazkov_ is now known as dglazkov
  288. # [06:16] <cardona507> kevinmarks - is leos new room like a spaceship?
  289. # [06:20] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Read error: 104 (Connection reset by peer))
  290. # [06:20] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
  291. # [06:22] * Joins: dglazkov_ (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  292. # [06:29] * Quits: dglazkov (n=dglazkov@72.14.224.1) (Read error: 60 (Operation timed out))
  293. # [06:29] * dglazkov_ is now known as dglazkov
  294. # [06:35] * Joins: harig_ (n=aparan@59.90.71.35)
  295. # [06:46] * Joins: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
  296. # [06:58] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  297. # [07:05] * Joins: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
  298. # [07:06] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  299. # [07:11] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  300. # [07:14] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Read error: 110 (Connection timed out))
  301. # [07:14] * Joins: vvv (n=vvv@cdma-92-36-67-22.msk.skylink.ru)
  302. # [07:15] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  303. # [07:21] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (Read error: 104 (Connection reset by peer))
  304. # [07:22] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
  305. # [07:43] * Joins: syp__ (n=syp@lasigpc9.epfl.ch)
  306. # [07:43] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (Read error: 104 (Connection reset by peer))
  307. # [07:48] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) (Read error: 60 (Operation timed out))
  308. # [07:49] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  309. # [07:51] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
  310. # [07:57] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
  311. # [08:01] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  312. # [08:12] * Joins: nulldomain (n=Soap@ip70-177-34-172.br.br.cox.net)
  313. # [08:13] * Quits: nulldomain (n=Soap@ip70-177-34-172.br.br.cox.net) (Client Quit)
  314. # [08:16] * Quits: annevk2 (n=annevk@5355732C.cable.casema.nl) (Read error: 110 (Connection timed out))
  315. # [08:18] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  316. # [08:19] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
  317. # [08:28] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
  318. # [08:28] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net) (Read error: 113 (No route to host))
  319. # [08:32] * Joins: heycam (n=cam@dyn-130-194-69-205.its.monash.edu.au)
  320. # [08:37] * Quits: dave_levin (n=dave_lev@72.14.227.1)
  321. # [08:42] * Quits: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
  322. # [08:42] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  323. # [08:47] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
  324. # [08:53] * Joins: pesla (n=retep@procurios.xs4all.nl)
  325. # [08:58] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  326. # [09:02] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
  327. # [09:05] * Joins: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net)
  328. # [09:06] * Quits: MikeSmith (n=MikeSmit@114.48.37.241) (Read error: 145 (Connection timed out))
  329. # [09:08] * Quits: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net) (Remote closed the connection)
  330. # [09:12] * Joins: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net)
  331. # [09:19] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 110 (Connection timed out))
  332. # [09:19] * dave_levin_ is now known as dave_levin
  333. # [09:26] * Joins: MikeSmith (n=MikeSmit@EM114-48-71-211.pool.e-mobile.ne.jp)
  334. # [09:33] * Joins: erlehmann (n=erlehman@tmo-108-248.customers.d1-online.com)
  335. # [09:34] <erlehmann> Hixie, why is using microdata for styling a bad idea? because it is prone to change?
  336. # [09:34] <erlehmann> after all, i use semantics in styling all the time
  337. # [09:49] * Quits: danbri (n=danbri@unaffiliated/danbri)
  338. # [09:53] * Quits: k0rnel (n=k0rnel@krtko.org) (Read error: 110 (Connection timed out))
  339. # [09:56] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
  340. # [10:01] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
  341. # [10:04] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
  342. # [10:05] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
  343. # [10:07] * Joins: foolip_ (n=philip@pat.se.opera.com)
  344. # [10:07] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com) (Read error: 104 (Connection reset by peer))
  345. # [10:10] * Joins: k0rnel (n=k0rnel@147.175.167.202)
  346. # [10:11] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
  347. # [10:13] * Quits: Lachy (n=Lachlan@85.196.122.246) ("Leaving")
  348. # [10:18] * Joins: danbri (n=danbri@unaffiliated/danbri)
  349. # [10:31] * Quits: dave_levin (n=dave_lev@72.14.224.1)
  350. # [10:32] <hsivonen> mantic.se is a great idea. I wish I had thought about it.
  351. # [10:33] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
  352. # [10:33] * Joins: mpt__ (n=mpt@canonical/launchpad/mpt)
  353. # [10:42] * Joins: ROBOd (n=robod@89.122.216.38)
  354. # [10:44] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  355. # [10:44] * Quits: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net) ("ChatZilla 0.9.85 [Firefox 3.5.3pre/20090824030724]")
  356. # [10:46] * Quits: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net) (Remote closed the connection)
  357. # [10:55] * Quits: heycam (n=cam@dyn-130-194-69-205.its.monash.edu.au) ("bye")
  358. # [10:57] * Joins: Phae (n=phaeness@132.185.144.11)
  359. # [10:59] * Joins: jacobolus (n=jacobolu@adsl-75-36-149-198.dsl.pltn13.sbcglobal.net)
  360. # [11:00] * Quits: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net) (clarke.freenode.net irc.freenode.net)
  361. # [11:00] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (clarke.freenode.net irc.freenode.net)
  362. # [11:00] * Quits: Darxus (n=darxus@panic.chaosreigns.com) (clarke.freenode.net irc.freenode.net)
  363. # [11:00] * Quits: vs-hs (i=david@shell.etttretresju.net) (clarke.freenode.net irc.freenode.net)
  364. # [11:00] * Joins: vs-hs_ (i=david@shell.etttretresju.net)
  365. # [11:00] * Joins: Darxus__ (n=darxus@panic.chaosreigns.com)
  366. # [11:00] * Joins: webben (n=benh@nat/yahoo/x-ieyijuzogefzezgj)
  367. # [11:01] * Joins: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net)
  368. # [11:01] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
  369. # [11:04] * Joins: adactio (n=adactio@host86-156-238-27.range86-156.btcentralplus.com)
  370. # [11:06] * mpt__ is now known as mpt
  371. # [11:15] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
  372. # [11:29] * Joins: heycam (n=cam@124-168-62-130.dyn.iinet.net.au)
  373. # [11:31] <MikeSmith> hsivonen: I bet there's still mantics.se, and miotic.se/miotics.se
  374. # [11:31] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Read error: 110 (Connection timed out))
  375. # [11:31] <MikeSmith> gnifies.si
  376. # [11:32] * gsnedders|work wants .rs to exist
  377. # [11:32] * Quits: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au) ("This computer has gone to sleep")
  378. # [11:32] <gsnedders|work> Oh, it does, since 2006
  379. # [11:32] * Parts: matijsb (n=matijsb@hotfusion.demon.nl)
  380. # [11:33] <gsnedders|work> But you can only get third level domains
  381. # [11:33] <jgraham> eless.us
  382. # [11:33] <MikeSmith> heh
  383. # [11:37] * Joins: annevk2 (n=annevk@5355732C.cable.casema.nl)
  384. # [11:39] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
  385. # [11:43] * Joins: mat_t (n=mattomas@91.189.88.12)
  386. # [11:51] <beowulf> oteric.es
  387. # [11:53] <othermaciej> tadata.me
  388. # [11:54] * Joins: svl (n=me@dslb-084-056-116-088.pools.arcor-ip.net)
  389. # [11:57] <annevk2> ml.sg
  390. # [11:57] <annevk2> but then apparently Singapore doesn't do top-level
  391. # [11:58] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  392. # [11:59] <jgraham> why not ml.ht?
  393. # [12:00] <zcorpan> btex.bi
  394. # [12:02] <jgraham> ard.vc
  395. # [12:03] <zcorpan> mon.si
  396. # [12:03] <annevk2> atwg.wh
  397. # [12:04] <jacobolus> Hixie: I like your Tetris playing thing
  398. # [12:04] * Quits: danbri (n=danbri@unaffiliated/danbri)
  399. # [12:07] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Remote closed the connection)
  400. # [12:08] <erlehmann> jacobolus, link?
  401. # [12:10] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  402. # [12:11] <jacobolus> erlehmann: http://tetrisapp.appspot.com/
  403. # [12:12] <jacobolus> Hixie: maybe you're asleep; I'll try to catch you tomorrow :)
  404. # [12:12] <erlehmann> jacobolus, wait "ian.hickson" has the highscore
  405. # [12:12] <erlehmann> unfair ^^
  406. # [12:12] <jacobolus> erlehmann: no, I don't think it's Hixie's site. he just has the high score
  407. # [12:13] <jacobolus> I was complementing his bot
  408. # [12:13] <erlehmann> his tetris bot?
  409. # [12:13] <jacobolus> erlehmann: click it and you can see the replay
  410. # [12:13] <jacobolus> erlehmann: right
  411. # [12:13] <erlehmann> jacobolus, so this is not a tetris game but a scripting game ?
  412. # [12:14] <erlehmann> wow, cool
  413. # [12:14] <jacobolus> erlehmann: I made a multiplayer iphone game w/ some friends, and I was going to ask Hixie if we released a bot API, and let people's bots compete, w/ games visible in real time using Web Sockets, if he'd port his bot to our API, etc. :)
  414. # [12:17] <jacobolus> erlehmann: "Mino"
  415. # [12:17] <erlehmann> mino?
  416. # [12:18] <jacobolus> erlehmann: did that other message all make it through?
  417. # [12:18] <erlehmann> <jacobolus> erlehmann: I made a multiplayer iphone game w/ some friends, and I was going to ask Hixie if we released a bot API, and let people's bots compete, w/ games visible in real time using Web Sockets, if he'd port his bot to our API, etc. :)
  418. # [12:18] <erlehmann> jacobolus, this?
  419. # [12:18] <jacobolus> erlehmann: right, so the multiplayer iphone game is called Mino :)
  420. # [12:18] <erlehmann> i see
  421. # [12:18] <erlehmann> iphones suck :p
  422. # [12:18] <erlehmann> <-- android user
  423. # [12:21] <jacobolus> erlehmann: well, I don't have a judgement, because I haven't used one. I just made the graphics for this game :)
  424. # [12:21] <jacobolus> erlehmann: but I find the ipod touch kind of neat
  425. # [12:22] <jacobolus> then again, it's the first mp3 player I've had, and the whole thing is a bit mind-bending :)
  426. # [12:23] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  427. # [12:23] <erlehmann> jacobolus, its just … as an app developer i dont want maintainers to take month
  428. # [12:23] * gsnedders|work ought to get a new phone sometime, but can't decide what
  429. # [12:23] <erlehmann> and then reject my app.
  430. # [12:23] <erlehmann> so i would never develop for the iphone.
  431. # [12:26] * Joins: danbri (n=danbri@unaffiliated/danbri)
  432. # [12:28] * Quits: danbri (n=danbri@unaffiliated/danbri) (Client Quit)
  433. # [12:29] * Joins: Lachy (n=Lachlan@london.perfect-privacy.com)
  434. # [12:33] <jacobolus> erlehmann: that's fair; we've been somewhat frustrated with the approval process, etc.
  435. # [12:33] <jacobolus> erlehmann: still, the game is pretty fun :)
  436. # [12:39] * Quits: erlehmann (n=erlehman@tmo-108-248.customers.d1-online.com) (Read error: 60 (Operation timed out))
  437. # [12:40] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  438. # [12:45] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  439. # [12:47] * Quits: vvv (n=vvv@cdma-92-36-67-22.msk.skylink.ru) (Read error: 104 (Connection reset by peer))
  440. # [12:47] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  441. # [12:48] * Joins: vvv (n=vvv@cdma-92-36-67-22.msk.skylink.ru)
  442. # [12:49] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  443. # [12:58] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  444. # [13:00] * Joins: danbri (n=danbri@unaffiliated/danbri)
  445. # [13:10] * Quits: webben (n=benh@nat/yahoo/x-ieyijuzogefzezgj) (Client Quit)
  446. # [13:23] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
  447. # [13:23] * Joins: gavin (n=gavin@firefox/developer/gavin)
  448. # [13:25] * Joins: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au)
  449. # [13:40] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  450. # [13:44] * Joins: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp)
  451. # [13:45] * Joins: remysharp (n=remyshar@remysharp.plus.com)
  452. # [13:48] <remysharp> I'm reading the specs for offline, and trying to work out if there's a way to programatically expire the cache - is this possible?
  453. # [13:49] <gsnedders|work> The HTTP cache control headers?
  454. # [13:49] <remysharp> no - via the manifest
  455. # [13:49] <remysharp> or, sorry, are you saying you do it via the http cache control headers?
  456. # [13:50] <gsnedders|work> Oh, I don't know about manifest
  457. # [13:50] <remysharp> okay, cheers :)
  458. # [13:51] <remysharp> if anyone else has any idea, happy to hear - currently my browser won't give up it's cache of the manifest!
  459. # [13:52] <annevk2> remysharp, point the manifest attribute to a new file
  460. # [13:53] <gsnedders|work> Should the browser not obey the HTTP headers of the manifest cache file?
  461. # [13:54] <gsnedders|work> (But yeah, there's no way with HTTP to then invalidate a file's cache for all clients)
  462. # [13:55] <remysharp> cheers, that worked. Seems a bit of a shame I have to point it to a dead manifest to get it flip out, rather than just removing the manifest (which didn't seem to work)
  463. # [13:56] <annevk2> changing the manifest file should also work in theory
  464. # [13:56] <annevk2> having said that I haven't studied that stuff recently
  465. # [13:56] <remysharp> changing the manifest did work - so cheers :)
  466. # [14:03] * Quits: remysharp (n=remyshar@remysharp.plus.com) ("Gotta shoot - "peeyaow"")
  467. # [14:27] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
  468. # [14:30] * Quits: annodomini (n=lambda@wikipedia/lambda) (Client Quit)
  469. # [14:34] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
  470. # [14:35] * Joins: hallvors (n=hallvord@pat-tdc.opera.com)
  471. # [14:40] * Joins: pmuellr (n=pmuellr@nat/ibm/x-uhzhjnnyqgtajwvp)
  472. # [14:44] * Joins: miketaylr (n=mtaylor@38.117.156.163)
  473. # [14:44] * Joins: Hish (n=chatzill@mail2.n-e-s.de)
  474. # [14:47] * Quits: annodomini (n=lambda@wikipedia/lambda)
  475. # [14:53] * Quits: jacobolus (n=jacobolu@adsl-75-36-149-198.dsl.pltn13.sbcglobal.net) (Remote closed the connection)
  476. # [14:54] * Joins: BlurstOfTimes (n=blurstof@168.203.117.59)
  477. # [14:57] * Joins: VasilievVV (n=vvv@cdma-92-36-24-104.msk.skylink.ru)
  478. # [15:04] * Joins: annodomini (n=lambda@wikipedia/lambda)
  479. # [15:04] * Joins: ttepasse (n=ttepas--@p5B015325.dip.t-dialin.net)
  480. # [15:05] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Nick collision from services.)
  481. # [15:05] * VasilievVV is now known as vvv
  482. # [15:05] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  483. # [15:17] * Quits: annodomini (n=lambda@wikipedia/lambda)
  484. # [15:19] * Quits: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) ("Leaving...")
  485. # [15:23] * Joins: erlehmann (n=erlehman@tmo-104-247.customers.d1-online.com)
  486. # [15:29] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
  487. # [15:32] * Joins: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
  488. # [15:34] * Quits: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au) ("This computer has gone to sleep")
  489. # [15:41] <miketaylr> would someone mind looking at a test page, and tell me if i'm abusing <article> headings (nested in a <section>)?
  490. # [15:41] <miketaylr> test page is here: http://miketaylr.com/pres/html5/index.html
  491. # [15:41] <miketaylr> i'm interested in the 'Openings and Closings' section in the bottom right of the page...
  492. # [15:41] * Joins: annodomini (n=lambda@130.189.179.215)
  493. # [15:42] * Quits: MikeSmith (n=MikeSmit@EM114-48-71-211.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
  494. # [15:43] <erlehmann> miketaylr, looks nice. where are you unsure spec-wise?
  495. # [15:43] <miketaylr> erlehmann: i suppose i just feel a little wary of wrapping the whole message content in an <h2>, within each 'opening and closing' <article>
  496. # [15:43] <gsnedders|work> miketaylr: See http://gsnedders.html5.org/outliner/process.py?url=http%3A%2F%2Fmiketaylr.com%2Fpres%2Fhtml5%2Findex.html FWIW
  497. # [15:44] <gsnedders|work> If that looks sane, you're probably doing it right
  498. # [15:44] <miketaylr> gsnedders|work: yeah, thanks. i've got that open as well. ;)
  499. # [15:44] <miketaylr> thanks
  500. # [15:44] <gsnedders|work> (Honestly, there's more than vanity at pimpin' that link)
  501. # [15:44] <miketaylr> haha
  502. # [15:45] <miketaylr> the outline is super helpful
  503. # [15:46] <zcorpan> miketaylr: maybe it could be argued that it's more of a list than separate sections
  504. # [15:46] <gsnedders|work> (Like using up other people's CPU time and bandwidth, that's the real reason)
  505. # [15:46] <miketaylr> zcorpan: i see what you mean
  506. # [15:47] <zcorpan> miketaylr: if you were a user and picked a section from the outline, you'd be disappointed to find no further content in the section :)
  507. # [15:47] <miketaylr> zcorpan: yeah, that's a good point. i think that's why i feel unsure having the whole content appear as a section.
  508. # [15:48] * gsnedders|work should add links to the outline
  509. # [15:48] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
  510. # [15:49] <miketaylr> those 'openings and closings' are actually categorized by city (london, ny, sf). so perhaps it would make more sense for the city to appear in the outline, that leads to the actual restaurant blurb
  511. # [15:50] <erlehmann> gsnedders|work, your dom magic is superiour :D
  512. # [15:50] <gsnedders|work> erlehmann: How so?
  513. # [15:50] <erlehmann> superior to my judgement - it reveals that i am doing it wrong http://gsnedders.html5.org/outliner/process.py?url=http://blog.dieweltistgarnichtso.net
  514. # [15:51] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
  515. # [15:51] <erlehmann> only the first five subheaders are articles, i forgot a section
  516. # [15:51] <gsnedders|work> Also the encoding is going wrong somewhere :P
  517. # [15:52] <miketaylr> heh
  518. # [15:52] <TabAtkins> Oooh, I'll be using that outliner in the future.
  519. # [15:52] <gsnedders|work> I'll probably rewrite it from something thrown together in around ten minutes :P
  520. # [15:53] * Joins: sbublava (n=stephan@77.118.227.219.wireless.dyn.drei.com)
  521. # [15:53] <TabAtkins> I need to learn Python. And get it running on a server.
  522. # [15:53] <TabAtkins> Or maybe I already have it on my server...?
  523. # [15:53] <erlehmann> gsnedders|work, i only see an article where someone submitted a bad URI (wordpresses fault)
  524. # [15:53] <erlehmann> gsnedders|work, sure you are using unicode internally ?
  525. # [15:54] <gsnedders|work> erlehmann: I think I ignore content-type :P
  526. # [15:54] <TabAtkins> Ah, only Python 2.5.4 is available. No Python3 goodness for me.
  527. # [15:54] <Rik|work> gsnedders|work: http://gsnedders.html5.org/outliner/process.py?url=google.com
  528. # [15:54] <gsnedders|work> TabAtkins: You don't want Python 3 yet
  529. # [15:54] <TabAtkins> Ok.
  530. # [15:54] <gsnedders|work> Rik|work: Yeah, my code is awesome.
  531. # [15:55] <Rik|work> a little check on "http://" might help
  532. # [15:55] <miketaylr> the real outline is less interesting than the error:http://gsnedders.html5.org/outliner/process.py?url=http://www.google.com/
  533. # [15:55] <TabAtkins> gsnedders|work, can you share code? I'd like something fun to learn from.
  534. # [15:55] <miketaylr> oops
  535. # [15:55] <miketaylr> http://gsnedders.html5.org/outliner/process.py?url=http://www.google.com/
  536. # [15:55] <erlehmann> gsnedders|work, i am using perfectly save XHTML5. if i ever get around to it, i'll even make sure even bad input results in XHTML5 via re-serializing. also, you can use the unicode in python via the u"" thingy.
  537. # [15:56] <gsnedders|work> TabAtkins: Just take a look at http://hg.gsnedders.com/anolis/ — it the same outlining algorithm as there
  538. # [15:56] <TabAtkins> kk
  539. # [15:56] <gsnedders|work> (and the output is based upon the TOC module)
  540. # [15:57] <gsnedders|work> erlehmann: Yeah, I use Unicode fine, it's just detecting the charset is wrong :)
  541. # [15:57] <jgraham> http://hg.gsnedders.com/anolis/file/e75817a809b8/anolislib/processes/outliner.py <-- this is not code that you want to learn python from
  542. # [15:57] <gsnedders|work> Probably not.
  543. # [15:57] <TabAtkins> Man, remove the comments and it'd be readable.
  544. # [15:58] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Success)
  545. # [15:58] <gsnedders|work> TabAtkins: It'd take ten times longer whenever I wanted to check that it matched the spec
  546. # [15:58] <erlehmann> jgraham, jeah, but you can learn commenting from it :p
  547. # [15:58] <TabAtkins> I suppose this is true.
  548. # [15:59] <gsnedders|work> (It also blindly follows the spec and uses Hixie-goto all over the place)
  549. # [15:59] <erlehmann> i hate this whole microdata issue. i had a plugin ready for deployment, then suddenly the spec turns around :(
  550. # [15:59] <jgraham> erlehmann: It sucks to be an early implementor.
  551. # [15:59] * jgraham sympathises
  552. # [16:00] <erlehmann> jgraham, well, if everything else fails, RDFa. its not urgent, but unfortunate nevertheless.
  553. # [16:00] <jgraham> erlehmann: It can't be that bad, surely? ;) What are you doing with microdata
  554. # [16:01] <erlehmann> creative commons markup :D
  555. # [16:01] * jgraham has managed to put "Inner City Pressure" in his head simply by using the word "Sympathises"
  556. # [16:01] <TabAtkins> I really wish I could eliminate links from the internet. Two years later and I'm still dealing with horrifying urls showing in my 404 emails from when the Dev team decided to take a crack at web dev.
  557. # [16:01] * Joins: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net)
  558. # [16:02] <erlehmann> jgraham, this was an early version of it, http://daten.dieweltistgarnichtso.net/src/cc-license-markup/generator2.xhtml
  559. # [16:02] <miketaylr> heh, chromium just barfed on the outline page: http://skitch.com/miketaylr/bh22u/chromium
  560. # [16:02] <jgraham> erlehmann: Oh nice. I was just thinking this morning I could use microdata for marking up license bits
  561. # [16:02] <gsnedders|work> The only time IE creates non-tree DOMs is with misnested formatting elements, right?
  562. # [16:02] <erlehmann> jgraham, you are welcome to spawn more stylesheets.
  563. # [16:04] <gsnedders|work> Do browsers use HTMLDocument for XHTML?
  564. # [16:04] <annevk2> some
  565. # [16:06] <hsivonen> annevk2: which ones don't?
  566. # [16:06] <hsivonen> annevk2: apart from ancient Gecko versions
  567. # [16:08] <annevk2> hsivonen, I don't think Gecko does if the media type is text/xml
  568. # [16:08] * Quits: Hish (n=chatzill@mail2.n-e-s.de) (Remote closed the connection)
  569. # [16:08] <hsivonen> annevk2: ah, OK.
  570. # [16:09] <hsivonen> that's non-compliant with HTML5
  571. # [16:09] <hsivonen> I wonder if we have a bug about it
  572. # [16:10] <TabAtkins> http://docs.jquery.com/UI/Datepicker#event-beforeShowDay <-- I use this event in several places in my apps, and would find it difficult to switch to <input type=date> without something like it. Anyone think it's got a chance (presumably in v2)?
  573. # [16:10] <hsivonen> hmm. looks like a bug is missing
  574. # [16:15] <annevk2> TabAtkins, yeah, things like that have already been raised
  575. # [16:15] <TabAtkins> K, cool. Couldn't remember seeing anything like that.
  576. # [16:15] <TabAtkins> Was just going through stuff yesterday and seeing how I would replace bits with HTML5.
  577. # [16:17] * Joins: webben (n=benh@nat/yahoo/session)
  578. # [16:17] * Joins: rubys1 (n=rubys@cpe-098-027-052-152.nc.res.rr.com)
  579. # [16:17] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
  580. # [16:17] * Joins: myakura (n=myakura@p3143-ipbf5410marunouchi.tokyo.ocn.ne.jp)
  581. # [16:18] <annevk2> TabAtkins, might be 2004/2005 discussions
  582. # [16:19] <TabAtkins> Ah, yeah, I definitely wasn't around then. Had just graduated high-school the year before. ^_^
  583. # [16:19] <gsnedders|work> TabAtkins: Peh! Some of us only graduated high-school in June! :P
  584. # [16:19] <TabAtkins> Whatev.
  585. # [16:20] <gsnedders|work> TabAtkins: You're old, man.
  586. # [16:20] <jcranmer> dang
  587. # [16:20] <jcranmer> I only graduated in 2008
  588. # [16:21] <TabAtkins> Craps, I am old. I know Anne's a few months younger than me too.
  589. # [16:21] <AryehGregor> I'm the class of 2005 for high school.
  590. # [16:21] <AryehGregor> Whoa, I never realized how young everyone was.
  591. # [16:21] <AryehGregor> I thought I was young.
  592. # [16:21] <AryehGregor> Seems not. :)
  593. # [16:21] <hsivonen> Hixie: Is there a reason to believe that it's Web-compatible to make text/xml documents implement HTMLDocument and SVGDocument?
  594. # [16:21] <jcranmer> I think gsnedders|work wins for youth, though
  595. # [16:21] <TabAtkins> I would agree.
  596. # [16:22] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
  597. # [16:22] <TabAtkins> othermaciej: Congrats are in order! ::pops the cork on some champagne::
  598. # [16:24] <jcranmer> I have a feeling display: run-in was specced mostly with dl's in mind
  599. # [16:24] <TabAtkins> They are difficult to style without it sometimes.
  600. # [16:24] <TabAtkins> At least, without a <di> or ::di to hang things on.
  601. # [16:24] <annevk2> hsivonen, Opera does it
  602. # [16:24] <annevk2> hsivonen, iirc
  603. # [16:24] <annevk2> hsivonen, also, who is using text/xml anyway?
  604. # [16:25] <jgraham> You people make me feel so old :(
  605. # [16:25] <jcranmer> I hope bz gets it into FF sometime relatively soon
  606. # [16:25] <TabAtkins> You are old, oldie.
  607. # [16:25] <jcranmer> although the 1.9.2 branch has already been cut IIRC
  608. # [16:25] <gsnedders|work> jgraham: Yeah, well, serves you right for having a birthday cake.
  609. # [16:25] <jgraham> I don't think foregoing the cake would have allowed me to do the Dorian Grey thing
  610. # [16:26] <TabAtkins> Dont' knock it til you try it.
  611. # [16:26] <gsnedders|work> Well, maybe
  612. # [16:26] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  613. # [16:26] <Creap> what is the difference between code and samp and why should I use code for file names? in particular, file extensions
  614. # [16:26] <AryehGregor> samp is a silly tag that we only have because there's no active reason to get rid of it.
  615. # [16:26] * gsnedders|work shakes his head at jgraham and his b'day cake with its "special ingredient"
  616. # [16:27] <AryehGregor> I just use code all the time, personally.
  617. # [16:27] <gsnedders|work> Creap: In general, don't.
  618. # [16:27] <TabAtkins> Crap, this whole time I've been working around javascript's stupid use of milliseconds for its timestamp. I could have just trimmed the last three digits off at the js level and never had to deal with it leaking into my php code. ;_;
  619. # [16:27] <gsnedders|work> Creap: (Unless you really care.)
  620. # [16:27] <Creap> I'd say a filename is more often output from a program than "input" or "computer code"
  621. # [16:27] <Creap> gsnedders|work: don't what?
  622. # [16:27] <gsnedders|work> Creap: Use either, and ignore it :P
  623. # [16:28] <gsnedders|work> Creap: It avoids the entire debate :)
  624. # [16:28] <Creap> heh..
  625. # [16:28] <Creap> the specs say I should use code for filenames though
  626. # [16:28] <gsnedders|work> (The elements exist basically just for the people who really care about marking up such things semantically. Nobody in the real world does.)
  627. # [16:28] <jgraham> Creap: Just use <code>. Seriously. No one uses <samp> for anything useful anyway
  628. # [16:28] <Creap> or well, it says code CAN be a filename, but that example is nto included in samp
  629. # [16:28] <TabAtkins> Easy resolution, then: use <code> for filenames. ^_^
  630. # [16:29] <Creap> ok
  631. # [16:29] <Creap> :P
  632. # [16:29] <TabAtkins> But really, just use <code> everywhere. That's a relic from the time when people thought that someone might actually care about the distinction.
  633. # [16:29] <jcranmer> just byte the bullet
  634. # [16:29] <jcranmer> use <tt>
  635. # [16:29] <Creap> hehe
  636. # [16:29] * TabAtkins punkills jcranmer.
  637. # [16:29] <jcranmer> and screw over people who want everything to be semantic
  638. # [16:30] <gsnedders|work> w00t! microdata!
  639. # [16:30] <Creap> I think the distinction between kbd and code for instance can be useful, I could do something like <kbd title="aka Windows / Apple button bla bla">Super</kbd> and kbd[title] { border-bottom:..
  640. # [16:31] <jcranmer> I think half of the semantic tags won't be used anyways
  641. # [16:31] <takkaria> how is that useful? ^_^
  642. # [16:31] <TabAtkins> jcranmer: Nah, they'll be used, just for the wrong things.
  643. # [16:31] <jcranmer> since the distinction between several are a bit fine to easily put into WYSIWYG editors
  644. # [16:31] <TabAtkins> <nav><i> is an annoying fairy.</i></nav>
  645. # [16:32] <jcranmer> and people writing HTML by hand won't bother trying to edit each and every single attribute properly
  646. # [16:32] <Creap> takkaria: to add a hint?
  647. # [16:33] <hsivonen> annevk2: filed https://bugzilla.mozilla.org/show_bug.cgi?id=512688
  648. # [16:33] <jcranmer> I'd rather spend my time worrying about what my content should actually be as opposed to the fiddly semantic meanings of all of these titles, code snippets, etc.
  649. # [16:33] * Joins: sbublava_ (n=stephan@77.119.225.91.wireless.dyn.drei.com)
  650. # [16:34] <Creap> Ok, have fun with that and I'll have fun with doing it my way
  651. # [16:36] <TabAtkins> Ah, cool, setting window.search does force a refresh.
  652. # [16:36] * Joins: erlehmann_ (n=erlehman@tmo-105-125.customers.d1-online.com)
  653. # [16:36] <annevk2> hsivonen, hopefully someone fixes it :)
  654. # [16:38] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  655. # [16:38] * Quits: erlehmann (n=erlehman@tmo-104-247.customers.d1-online.com) (Read error: 110 (Connection timed out))
  656. # [16:38] * Quits: sbublava (n=stephan@77.118.227.219.wireless.dyn.drei.com) (Read error: 104 (Connection reset by peer))
  657. # [16:39] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  658. # [16:41] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
  659. # [16:41] * Parts: zcorpan (n=zcorpan@pat.se.opera.com)
  660. # [16:43] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
  661. # [16:58] * Joins: dglazkov (n=dglazkov@216.239.45.4)
  662. # [16:59] * Joins: Barttos (n=nvartolo@host-static-92-115-197-204.moldtelecom.md)
  663. # [17:00] * Parts: Barttos (n=nvartolo@host-static-92-115-197-204.moldtelecom.md)
  664. # [17:02] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
  665. # [17:07] <zcorpan> hsivonen: http://www.w3.org/Bugs/Public/show_bug.cgi?id=7434 is about what to expose for <h2>
  666. # [17:09] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  667. # [17:11] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  668. # [17:11] <hsivonen> zcorpan: oh ok
  669. # [17:15] * Quits: erlehmann_ (n=erlehman@tmo-105-125.customers.d1-online.com) (Read error: 110 (Connection timed out))
  670. # [17:19] * Parts: rubys1 (n=rubys@cpe-098-027-052-152.nc.res.rr.com)
  671. # [17:19] <gsnedders|work> Random programming question time: why would perl -i.bak -npe 's/\n{2,}/\n/' foo.txt not work?
  672. # [17:20] <jcranmer> wrong phase of moon
  673. # [17:21] <TabAtkins> I think I'm a bad person for making an <input> look like a button just so I don't have to muck about with getting my datepicker to show/hide manually.
  674. # [17:21] <TabAtkins> To be fair, intranet app.
  675. # [17:23] * TabAtkins feels his conscious gnawing at him.
  676. # [17:23] * TabAtkins notes s/conscious/conscience/
  677. # [17:33] <webben> gsnedders|work: I have a feeling that might be processing it line by line, and you wouldn't have two new lines on one line ...
  678. # [17:33] <gsnedders|work> webben: Ah
  679. # [17:33] * Joins: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
  680. # [17:35] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
  681. # [17:35] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net) (Read error: 113 (No route to host))
  682. # [17:38] * Quits: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net) (Read error: 104 (Connection reset by peer))
  683. # [17:38] * Joins: cying (n=cying@75.41.125.138)
  684. # [17:40] <TabAtkins> Ah, I feel much better now. Now I'm styling the <label> as a button, and making the <input> invisible. That feels less disgusting.
  685. # [17:43] <takkaria> gsnedders|work: try tacking 'g' on the end?
  686. # [17:43] <gsnedders|work> takkaria: That doesn't fix it
  687. # [17:43] <TabAtkins> Nah, you need the multiline switch.
  688. # [17:43] <TabAtkins> I forget what it is.
  689. # [17:44] <gsnedders|work> No, multiline just makes ^ and $ match start and end of line
  690. # [17:44] <TabAtkins> I thought it did the opposite.
  691. # [17:44] <Dashiva> -i.bak?
  692. # [17:45] <TabAtkins> It's been a while since I've had to use regexps for anything serious.
  693. # [17:45] <takkaria> Dashiva: writes the original file out to $ORIGINAL_NAME.bak
  694. # [17:45] <Dashiva> Typical perl, everyone knows -i is for input
  695. # [17:47] <Dashiva> gsnedders|work: I'd think you need /g in any case. Does the file contain \r\n maybe?
  696. # [17:47] <gsnedders|work> Dashiva: No
  697. # [17:47] <gsnedders|work> Fuck it, I'll just use Brianfuck. That's simpler.
  698. # [17:47] <Dashiva> Why not use sed? :)
  699. # [17:48] <gsnedders|work> (to understand, that is)
  700. # [17:48] <TabAtkins> Sounds reasonable.
  701. # [17:48] <gsnedders|work> Dashiva: You can't read from one file then write back to it
  702. # [17:48] <beowulf> gsnedders|work: /s perhaps
  703. # [17:48] <AryehGregor> Newlines are magical.
  704. # [17:50] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-lrfiuizjgoquzeye)
  705. # [17:50] * Quits: cying (n=cying@75.41.125.138)
  706. # [17:51] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  707. # [17:52] * Quits: harig_ (n=aparan@59.90.71.35) (Read error: 110 (Connection timed out))
  708. # [17:55] * Joins: annevk3 (n=annevk@5355732C.cable.casema.nl)
  709. # [18:08] * Joins: aroben (n=aroben@nat/apple/x-gsqfjhteonaipzxf)
  710. # [18:10] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  711. # [18:16] * Quits: svl (n=me@dslb-084-056-116-088.pools.arcor-ip.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
  712. # [18:17] * Joins: doublec (n=doublec@nat/mozilla/x-zebltotblynxxmko)
  713. # [18:19] * Joins: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
  714. # [18:21] * Quits: jmb (n=jmb@login.ecs.soton.ac.uk) (Read error: 104 (Connection reset by peer))
  715. # [18:22] * Darxus__ is now known as Darxus
  716. # [18:26] * Quits: KevinMarks (n=KevinMar@c-67-164-14-96.hsd1.ca.comcast.net) ("The computer fell asleep")
  717. # [18:27] * Joins: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
  718. # [18:27] * Joins: cying (n=cying@70.90.171.153)
  719. # [18:28] * Joins: dave_levin (n=dave_lev@72.14.227.1)
  720. # [18:43] <jacobolus> some people may find this useful: http://pastie.textmate.org/595605
  721. # [18:44] <jacobolus> most javascript implementations of utf-8 encoders/decoders are slow, and also can't incrementally parse, just throwing an error if they get a partial multi-byte character at the end
  722. # [18:45] <jacobolus> this one mostly relies on native functions
  723. # [18:45] <jacobolus> (the idea for which was taken from this awesome observation http://ecmanaut.blogspot.com/2006/07/encoding-decoding-utf8-in-javascript.html )
  724. # [18:47] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-lrfiuizjgoquzeye)
  725. # [18:48] <jacobolus> oops, minor fix: http://pastie.textmate.org/595615
  726. # [18:55] <jacobolus> oh, extra oops; I mixed up encode/decode, like apparently about 25% of the other implementations of this
  727. # [18:55] <jacobolus> better: http://pastie.textmate.org/595629
  728. # [18:55] * Joins: danbri_ (n=danbri@unaffiliated/danbri)
  729. # [18:55] * Quits: sbublava_ (n=stephan@77.119.225.91.wireless.dyn.drei.com)
  730. # [18:56] <hallvors> love that blogger's user name - ecmanaut :)
  731. # [18:57] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  732. # [18:58] * Quits: Phae (n=phaeness@132.185.144.11)
  733. # [18:58] * Joins: MikeSmith (n=MikeSmit@EM114-48-143-66.pool.e-mobile.ne.jp)
  734. # [19:03] * Quits: danbri (n=danbri@unaffiliated/danbri) (Read error: 110 (Connection timed out))
  735. # [19:03] * danbri_ is now known as danbri
  736. # [19:03] * Joins: aroben_ (n=aroben@17.246.17.226)
  737. # [19:05] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 60 (Operation timed out))
  738. # [19:08] * Joins: KevinMarks (n=KevinMar@157.22.22.46)
  739. # [19:08] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
  740. # [19:08] * Joins: aroben (n=aroben@nat/apple/x-myyjnqwquwhgkwjm)
  741. # [19:09] * Quits: cying (n=cying@70.90.171.153) (Remote closed the connection)
  742. # [19:10] * Joins: cying (n=cying@70.90.171.153)
  743. # [19:14] * Joins: jmb (n=jmb@login.ecs.soton.ac.uk)
  744. # [19:15] <webben> jacobolus: Is the ; at the start to prevent borking when minified JS is concatenated?
  745. # [19:15] * Quits: hallvors (n=hallvord@pat-tdc.opera.com) (Read error: 104 (Connection reset by peer))
  746. # [19:15] <jacobolus> webben: yeah, just being defensive
  747. # [19:16] * Joins: jwalden (n=waldo@nat/mozilla/x-bfwxpwztugynefim)
  748. # [19:16] <jacobolus> webben: I also religiously add semicolons to the end of each statement, even when it would end in a }
  749. # [19:18] <jacobolus> for comparison, here's the almost unspeakably bad piece of code that Orbited was using before to accomplish the same thing: http://pastie.textmate.org/595659
  750. # [19:18] * webben prefers jacobolus's approach ;)
  751. # [19:19] <jacobolus> I'm going to benchmark all the javascript implementations of this I can find in a google search, and write up a blog post
  752. # [19:19] * Quits: foolip_ (n=philip@pat.se.opera.com) (Read error: 60 (Operation timed out))
  753. # [19:24] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  754. # [19:25] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
  755. # [19:26] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-mhfikmhsuuozjpns)
  756. # [19:27] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
  757. # [19:31] * Quits: jwalden (n=waldo@nat/mozilla/x-bfwxpwztugynefim) ("ChatZilla 0.9.85 [Firefox 3.5.3pre/20090824030724]")
  758. # [19:48] * Joins: dbaron (n=dbaron@nat/mozilla/x-asitbazqigvkuqwl)
  759. # [19:49] * Joins: ap (n=ap@nat/apple/x-agkgfizkfudbgiak)
  760. # [19:51] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  761. # [19:55] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  762. # [19:56] * Joins: ojan (n=ojan@72.14.229.81)
  763. # [19:56] * Quits: ap (n=ap@nat/apple/x-agkgfizkfudbgiak) (Read error: 104 (Connection reset by peer))
  764. # [19:56] * Joins: ap (n=ap@nat/apple/x-cdfwzbilbqjzrnsa)
  765. # [20:08] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  766. # [20:08] * Joins: aroben_ (n=aroben@17.246.17.226)
  767. # [20:09] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  768. # [20:09] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Client Quit)
  769. # [20:10] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 60 (Operation timed out))
  770. # [20:13] <othermaciej> morning, folks
  771. # [20:14] <Hixie> morning, chair
  772. # [20:15] * Parts: adactio (n=adactio@host86-156-238-27.range86-156.btcentralplus.com)
  773. # [20:16] <othermaciej> *sigh*
  774. # [20:16] <annevk3> you were not planning on being co-chair?
  775. # [20:17] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
  776. # [20:18] * Quits: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se) (Remote closed the connection)
  777. # [20:18] * Joins: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
  778. # [20:19] <othermaciej> well obviously they asked me first, so I was expecting it, but it's going to be a lot of work and probably not entirely fun
  779. # [20:21] * Joins: dimich_ (n=dimich@72.14.227.4)
  780. # [20:22] * Quits: dimich_ (n=dimich@72.14.227.4) (Client Quit)
  781. # [20:27] * Joins: sbublava (n=stephan@77.119.225.91.wireless.dyn.drei.com)
  782. # [20:27] <tantek> congrats othermaciej on your chairship! wishing you the best of luck.
  783. # [20:28] <othermaciej> tantek: thanks!
  784. # [20:28] <Hixie> i am amused that the html wg now has more chairs than most wgs have active members
  785. # [20:29] <othermaciej> we also have more active members than 10 WGs
  786. # [20:30] <gsnedders> So there are 64 WGs with more active members? :\
  787. # [20:30] * Hixie bops gsnedders on the head
  788. # [20:30] * Joins: svl (n=me@dslb-084-056-116-088.pools.arcor-ip.net)
  789. # [20:31] * gsnedders falls down into his whole
  790. # [20:31] <gsnedders> *hole
  791. # [20:31] <jcranmer> whole hole?
  792. # [20:31] <gsnedders> jcranmer: I'm not wholly sure
  793. # [20:32] <jcranmer> is that a holy whole hole?
  794. # [20:32] <jcranmer> (mole!)
  795. # [20:32] * gsnedders places the holy hand grenade of archigoch in the centre of the channel and walk away
  796. # [20:32] * jcranmer leaves
  797. # [20:32] * jcranmer is now known as jcranmer|NOT_HER
  798. # [20:33] <gsnedders> So him?
  799. # [20:33] <jcranmer|NOT_HER> damn nick length on freenode
  800. # [20:33] * jcranmer|NOT_HER is now known as jcranmer|PAS_ICI
  801. # [20:33] <jacobolus> Hixie: oh, you're awake. did you see my comments from the middle of the night? :)
  802. # [20:34] <jacobolus> (vaguely off topic for this channel maybe... or maybe Tetris bots are always on topic)
  803. # [20:34] * jcranmer|PAS_ICI is now known as jcranmer
  804. # [20:35] <Hixie> jacobolus: no, i had some problems with my irc client tonight. what's up?
  805. # [20:35] <jacobolus> Hixie: I like your bot at http://tetrisapp.appspot.com/
  806. # [20:35] <Hixie> jacobolus: and don't worry, there's no "topic" for this irc channel :-)
  807. # [20:36] * Joins: dpranke (n=Adium@nat/google/x-vywpvojmftxslsui)
  808. # [20:36] <annevk3> othermaciej, maybe you can get the HTML CG more open :)
  809. # [20:36] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
  810. # [20:36] <jacobolus> I made the graphics for a multiplayer iphone game, & we've been thinking it might be fun to hook up a browser to our server & show games in real time, using some kind of web socket thinger
  811. # [20:36] <jacobolus> Hixie: and anyway, we thought it'd be fun to have a bot competition
  812. # [20:36] <othermaciej> annevk3: I don't even know what the HTML CG is, really
  813. # [20:36] <jacobolus> somewhat like that one, but with the bots competing against each other
  814. # [20:37] <jacobolus> and allowing anyone interested to watch the games in a browser
  815. # [20:37] <jacobolus> so the question is whether you'd potentially be interested in porting your bot if do such a thing, & send out the API to use, etc.
  816. # [20:37] <jacobolus> *if we do...
  817. # [20:38] <Hixie> jacobolus: i don't think i'll have the time to do anything like that anytime soon, to be honest
  818. # [20:38] <jacobolus> Hixie: the game is pretty fun. "Mino", & there's a free "lite" version; the idea would be that people could also watch the games via iPod/iPhone, even in the free version of the app
  819. # [20:39] <jacobolus> okay, no worries.
  820. # [20:39] <jacobolus> Hixie: it just looked like you have a better algo than our current bots
  821. # [20:39] <jacobolus> (which are, frankly, pretty stupid)
  822. # [20:40] <jacobolus> (we match people against bots after 60 seconds if not enough humans are playing)
  823. # [20:40] <Hixie> jacobolus: oh well you can have the code if you want
  824. # [20:40] <jacobolus> oh. that'd also be neat
  825. # [20:40] <Hixie> (it's GPLed, i think)
  826. # [20:40] <jacobolus> did you put it up somewhere?
  827. # [20:41] <jacobolus> how old is this tetrisapp thing?
  828. # [20:41] <jacobolus> I just saw it on news.ycombinator yesterday
  829. # [20:41] <Hixie> a few months, i think
  830. # [20:41] <jacobolus> aha
  831. # [20:41] <Hixie> my bots are timestamped dec 2008
  832. # [20:42] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  833. # [20:43] <jacobolus> Hixie: well if you have a copy or a link or something, I'd be happy to pass them around our team, & see if anyone is inspired to make some better bots in the next couple of days, instead of in a couple weeks :)
  834. # [20:45] * Joins: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
  835. # [20:46] <Hixie> http://damowmow.com/playground/tetrisapp/tetrisapp.tar.gz
  836. # [20:46] <Hixie> is a tarball of all the files in that directory
  837. # [20:46] <Hixie> HTH
  838. # [20:46] <Lachy> I don't get the new channel topic. What happened to "Please leave your sense of logic at the door, thanks!"?
  839. # [20:46] <jacobolus> thanks!
  840. # [20:46] <Hixie> aaah, who changed the topic!
  841. # [20:46] <Lachy> annevk3, did apparently
  842. # [20:47] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  843. # [20:47] <gsnedders> See translationparty.com
  844. # [20:47] <gsnedders> And put the old topic in :)
  845. # [20:47] <jacobolus> ahahahaha
  846. # [20:47] <gsnedders> But now it doesn't get that any more :(
  847. # [20:49] <jacobolus> gsnedders: you sure you have the exact wording of the old topic the same?
  848. # [20:49] <gsnedders> jacobolus: Google Translate changed. See the footer of the party.
  849. # [20:49] <jacobolus> boo
  850. # [20:49] <jacobolus> did you try babelfish?
  851. # [20:49] <jacobolus> :)
  852. # [20:49] <jacobolus> babelfish korean has always given the most amusing results, in my experience
  853. # [20:49] <Lachy> jacobolus, yes, the topic was the same as that used for the tag line on http://blog.whatwg.org/
  854. # [20:50] <jacobolus> that is, english -> korean -> english -> etc.
  855. # [20:54] <jacobolus> "Please leave your sense of logic at the door, thanks!"
  856. # [20:54] <jacobolus> "Logic and thanks will wind to the gate, to leave!"
  857. # [20:54] <jacobolus> "With logic as for thanks to the gate, in order to leave to relax!"
  858. # [20:54] <jacobolus> "To the gate regarding a thanks with logic, in order to relax in order to leave!"
  859. # [20:54] <jacobolus> "In order to leave about the thanks which had a logic to the gate, in order to relax!"
  860. # [20:54] <jacobolus> "In order to leave refers to the thanks which had a logic in the gate, in order to relax!"
  861. # [20:54] <jacobolus> "As for the Huaihe woman leaving to the thanks which had the logic which is in the gate, in order to relax refers! where"
  862. # [20:54] <jacobolus> "In order to relax to the thanks which had the logic which in the gate is leaves, or, like the thing and for refers Huaihe women! where To place"
  863. # [20:54] <jacobolus> "Or, having the logic which from the gate for is a leaf to thanks relaxing together refers to Huaihe women! where In order where"
  864. # [20:54] <jacobolus> "Or, rises to the thanks where the leaf relaxes together from the gate to Huaihe women and to be a logic refers! where To place as sequence to place"
  865. # [20:54] <jacobolus> and then it starts to get too long for the apple translation dashboard widget, I think (or at least it seems truncated)
  866. # [20:54] <miketaylr> ^C
  867. # [20:54] <jacobolus> :)
  868. # [20:54] <miketaylr> ;)
  869. # [20:54] <jacobolus> miketaylr: I figured this was amusing enough to be worth it ;)
  870. # [20:55] <miketaylr> jacobolus: i just want to know what a Huaihe woman is.
  871. # [20:55] <jacobolus> me too
  872. # [20:57] <Hixie> Lachy: feel free to change the topic back btw
  873. # [20:58] <jacobolus> since when has blog.whatwg.org had a theme?
  874. # [20:58] <jacobolus> that's much nicer.
  875. # [20:58] <Hixie> a while now
  876. # [20:58] <jacobolus> I guess I just see it in a feed reader
  877. # [21:00] * Joins: hobertoAtWork (n=hobertoa@gw1.mcgraw-hill.com)
  878. # [21:01] * Joins: VasilievVV (n=vvv@cdma-92-36-6-78.msk.skylink.ru)
  879. # [21:02] * Lachy changes topic to 'WHATWG (HTML5) -- http://www.whatwg.org/ -- Logs: http://krijnhoetmer.nl/irc-logs/ -- Vennligst legg igjen din følelse av logikken ved døren, takk!'
  880. # [21:03] <gsnedders> Oh dear, has Lachy tried writing a language that's not English again?
  881. # [21:03] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Success)
  882. # [21:03] * Joins: Hish_ (n=chatzill@mail2.n-e-s.de)
  883. # [21:04] <Lachy> gsnedders, ja, jeg skrev på norsk
  884. # [21:09] <gsnedders> Anyhow, I need to get to the cinema.
  885. # [21:09] * Quits: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
  886. # [21:12] * Joins: mpilgrim (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com)
  887. # [21:13] * VasilievVV is now known as vvv
  888. # [21:13] <mpilgrim> i use <samp>, damn it
  889. # [21:15] <annevk3> Hixie, you could consider naming it "URL decomposition DOM attributes" I suppose
  890. # [21:17] <annevk3> what happened to <samp>?
  891. # [21:19] <mpilgrim> nothing
  892. # [21:19] <mpilgrim> just some people dissing it earlier (check the backscroll)
  893. # [21:22] * Joins: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
  894. # [21:27] * Joins: taf2 (n=taf2@38.99.201.242)
  895. # [21:29] <TabAtkins> I am unreasonably amused by the use of data urls for simple html/css/js examples.
  896. # [21:34] * Quits: Hish_ (n=chatzill@mail2.n-e-s.de) (Read error: 104 (Connection reset by peer))
  897. # [21:41] * Joins: othermaciej (n=mjs@17.246.16.249)
  898. # [21:44] <Hixie> annevk3: yeah, maybe.
  899. # [21:51] * Joins: aroben (n=aroben@nat/apple/x-zehdelpuupgauzdo)
  900. # [21:52] <annodomini> Anyone have any quick comments on this idea before I try writing up a more complete and detailed proposal? http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022329.html
  901. # [21:53] <annevk3> what if the inner item is not associated with the outer item?
  902. # [21:54] <annodomini> Don't do that, or associate it with something else using @about? Good question, though, I'll think about that.
  903. # [21:54] <TabAtkins> I like the overall idea, *especially* the simplified JSON parsed out of it.
  904. # [21:55] <TabAtkins> That is much closer to what I'd use to mark up the data in json
  905. # [21:55] * Quits: doublec (n=doublec@nat/mozilla/x-zebltotblynxxmko) (Read error: 110 (Connection timed out))
  906. # [21:56] <annodomini> Great, so I'm not off base there. The simplified JSON was a big motivation; I didn't like having random type information that seemed like it could conflict with the semantics of the named properties.
  907. # [21:56] * Joins: doublec (n=doublec@nat/mozilla/x-knrufuhetqjpuees)
  908. # [21:57] <TabAtkins> So nested items are automatically associated with the nearest Microdata ancestor unless @about overrides, right?
  909. # [21:57] <annodomini> Right.
  910. # [21:58] <TabAtkins> The only appreciable difference I can see is that spec Microdata associates it with the nearest @item ancestor, rather than the nearest @itemprop.
  911. # [21:58] <TabAtkins> But yeah, that seems fine.
  912. # [21:58] <TabAtkins> It does make the DOM map intuitively to the data structure, even if you may need to occasionally use more @about than spec-Microdata would require.
  913. # [22:00] <annodomini> Yep. I think a more intuitive DOM map is important; if you're creating good, semantic HTML, that should give you the simplest map.
  914. # [22:00] <annodomini> And if you're doing something strange that doesn't match the HTML structure very well, then you should be explicit with @about
  915. # [22:01] <TabAtkins> Yeah, that just means you have to pepper things with @id, but meh.
  916. # [22:01] <annevk3> maybe you could allow about="" to unassociate it with the outer item
  917. # [22:01] <TabAtkins> And drop immediately to beina top-level item?
  918. # [22:02] <annodomini> annevk3: That could work.
  919. # [22:02] <annevk3> or something like item="standalone org.example.bar"
  920. # [22:02] <TabAtkins> If we were going to do *that*, I'd probably just use another attribute.
  921. # [22:02] <TabAtkins> @standalone
  922. # [22:02] <TabAtkins> @topitem
  923. # [22:02] <TabAtkins> @root?
  924. # [22:03] <annevk3> rootitem or topitem seems clearer
  925. # [22:03] <annevk3> anyway, more details would be good
  926. # [22:03] <annodomini> What details in particular should I concentrate on for my more complete proposal? API, more use case examples, something else?
  927. # [22:04] <TabAtkins> I'd probably take a few examples that appear in the spec, put them as-written into your proposal and contrast them with your structure and output.
  928. # [22:05] <annodomini> I should obviously address the un-associating question, though I think the @about="" or @rootitem ideas sound like pretty plausible solutions.
  929. # [22:05] * annodomini nods
  930. # [22:05] * Quits: miketaylr (n=mtaylor@38.117.156.163)
  931. # [22:05] * Quits: ap (n=ap@nat/apple/x-cdfwzbilbqjzrnsa)
  932. # [22:07] <TabAtkins> The major objection I anticipate is the "only leaf nodes can have content directly" bit.
  933. # [22:07] <annevk3> yeah, more examples that demonstrate how your proposal compares to the spec
  934. # [22:07] <TabAtkins> I dunno if it'll be an issue.
  935. # [22:08] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Connection timed out)
  936. # [22:09] * Joins: miketaylr (n=mtaylor@38.117.156.163)
  937. # [22:10] * Quits: aroben (n=aroben@unaffiliated/aroben)
  938. # [22:14] * Quits: svl (n=me@dslb-084-056-116-088.pools.arcor-ip.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
  939. # [22:16] <MikeSmith> annodomini: fwiw, I think annevk3 advice about providing more examples would be the best use of time, and would get you more specific response
  940. # [22:16] <MikeSmith> *responses
  941. # [22:17] <annodomini> Er, have I been incorrectly referring to @subject as @about this entire time? Replace all of my uses of @about with @subject in the preceding to match the existing attribute.
  942. # [22:17] <annodomini> MikeSmith: Yeah, I'll write up some more examples and explain how it works.
  943. # [22:17] <annevk3> oh it was renamed?
  944. # [22:17] <annodomini> That does sound like the best use of my time.
  945. # [22:17] * annevk3 is not really up to speed
  946. # [22:18] <TabAtkins> Eh, we knew what you meant, annodomini.
  947. # [22:18] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
  948. # [22:19] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  949. # [22:20] <annodomini> TabAtkins: Yeah, everyone here seemed to understand, but I figured I'd clarify for posterity in the logs, if anyone cares.
  950. # [22:26] <krijn> -_-
  951. # [22:26] <TabAtkins> Aw, why is krijn sad?
  952. # [22:26] <krijn> Bit tired after 12 hours working
  953. # [22:26] <TabAtkins> I would imagine.
  954. # [22:27] * Joins: ap (n=ap@nat/apple/x-yiyxairzlxjavfij)
  955. # [22:31] <krijn> But, very pleased with the results, this HTML5 stuff is quite handy for building sites with :)
  956. # [22:31] <TabAtkins> Heh, cool.
  957. # [22:31] <TabAtkins> What're you having fun with?
  958. # [22:32] <krijn> Basically just the doctype ;)
  959. # [22:32] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
  960. # [22:32] <TabAtkins> I'm pretty sure that's when I fell in love too.
  961. # [22:33] <krijn> Block level anchors, less silly attributes on script/link, that's about as far as I can go atm
  962. # [22:34] <TabAtkins> If you're willing to shim ie, you can use the new sectioning elements too.
  963. # [22:34] <krijn> I know, but I don't really see the advantage in that just yet
  964. # [22:34] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
  965. # [22:34] <TabAtkins> They make my page a bit easier to read.
  966. # [22:34] <krijn> And then your code gets mangled by some J2EE backend
  967. # [22:35] <krijn> And out goes your readability :)
  968. # [22:35] <TabAtkins> Luckily don't have to do crap with that. ^_^ All hand-coded php around here.
  969. # [22:38] <krijn> Days like this make me like those other days better indeed, when I don't have to deal with XSLT and non-utf-8 issues
  970. # [22:38] * Joins: tndH_ (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
  971. # [22:38] <krijn> So, we're the only two authors here?
  972. # [22:39] * Quits: webben (n=benh@nat/yahoo/x-aaqiwtlrlrxihgdb) (clarke.freenode.net irc.freenode.net)
  973. # [22:39] * Quits: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net) (clarke.freenode.net irc.freenode.net)
  974. # [22:39] * Quits: Creap (n=Creap@vemod.brg.sgsnet.se) (clarke.freenode.net irc.freenode.net)
  975. # [22:39] * Quits: Dashiva (i=Dashiva@m223j.studby.ntnu.no) (clarke.freenode.net irc.freenode.net)
  976. # [22:39] * Quits: hsivonen (n=hsivonen@kekkonen.cs.hut.fi) (clarke.freenode.net irc.freenode.net)
  977. # [22:39] * Quits: kinetik (n=kinetik@121.98.132.55) (clarke.freenode.net irc.freenode.net)
  978. # [22:39] * Quits: bzed (n=bzed@devel.recluse.de) (clarke.freenode.net irc.freenode.net)
  979. # [22:40] * Joins: webben (n=benh@nat/yahoo/x-aaqiwtlrlrxihgdb)
  980. # [22:40] * Joins: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net)
  981. # [22:40] * Joins: Creap (n=Creap@vemod.brg.sgsnet.se)
  982. # [22:40] * Joins: Dashiva (i=Dashiva@m223j.studby.ntnu.no)
  983. # [22:40] * Joins: bzed (n=bzed@devel.recluse.de)
  984. # [22:40] * Joins: kinetik (n=kinetik@121.98.132.55)
  985. # [22:40] * Joins: hsivonen (n=hsivonen@kekkonen.cs.hut.fi)
  986. # [22:40] <MikeSmith> TabAtkins: if you love HTML5 so much, maybe the two of you should get married
  987. # [22:40] <MikeSmith> or you should send a love note
  988. # [22:41] <MikeSmith> Dear HTML5, I like you. Do you like me?
  989. # [22:41] <Dashiva> TabAtkins: What uses HTML that isn't a user agent?
  990. # [22:41] <TabAtkins> Dashiva: Apparently link-checkers.
  991. # [22:42] <TabAtkins> MikeSmith: I'm already married, unfortunately. ;_; (Don't tell my wife.)
  992. # [22:42] * Quits: pmuellr (n=pmuellr@nat/ibm/x-uhzhjnnyqgtajwvp)
  993. # [22:43] <krijn> TabAtkins: she doesn't know you're already married?
  994. # [22:44] <TabAtkins> krijn: The circumstances were honestly confusing for all involved, and I'd rather not upset her.
  995. # [22:44] <TabAtkins> ^_^
  996. # [22:44] <krijn> Heh
  997. # [22:44] <Dashiva> TabAtkins: I'd say a link checker is a user agent. Or is user agent just a euphemism for browser now?
  998. # [22:44] <TabAtkins> I'm pretty sure that's the distinction Roy is using.
  999. # [22:45] * Joins: jwalden (n=waldo@nat/mozilla/x-arotujfebjfakkas)
  1000. # [22:46] * Quits: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) (Read error: 110 (Connection timed out))
  1001. # [22:46] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  1002. # [22:47] <KevinMarks> http://www.computerworld.com/s/article/9136919/Web_OS_Still_in_the_early_stages?taxonomyId=16&pageNumber=4
  1003. # [22:48] <KevinMarks> fairly sure I didn't say "On top of HTML5 are REST APIs, standards such as XML and JSON, and OAuth"
  1004. # [22:48] <othermaciej> KevinMarks: aren't you now not at Google?
  1005. # [22:48] <KevinMarks> yep, not been at google for 2 months
  1006. # [22:48] <KevinMarks> this must be a very old conversation
  1007. # [22:49] <othermaciej> KevinMarks: that wasn't a direct quote, so maybe instead of "on top of" they meant "in addition to"
  1008. # [22:50] * Quits: doublec (n=doublec@nat/mozilla/x-knrufuhetqjpuees) (Read error: 110 (Connection timed out))
  1009. # [22:50] * Joins: billyjackass (n=MikeSmit@EM114-48-28-56.pool.e-mobile.ne.jp)
  1010. # [22:50] <billyjackass> Dashiva: a context-sensitive editing application
  1011. # [22:51] * Quits: MikeSmith (n=MikeSmit@EM114-48-143-66.pool.e-mobile.ne.jp) (Nick collision from services.)
  1012. # [22:51] * billyjackass is now known as MikeSmith
  1013. # [22:52] <KevinMarks> right, I think I was explaining how these things are composable and work together
  1014. # [22:52] <KevinMarks> and build on previous work
  1015. # [22:53] <KevinMarks> or maybe he paraphrased it from this: http://epeus.blogspot.com/2008/12/cycling-to-new-layers-of-freedom.html
  1016. # [22:58] <Hixie> annodomini: it's an interesting idea, though it basically means removing types altogether, which makes it much harder to scope identifiers
  1017. # [22:58] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  1018. # [22:58] <Hixie> annodomini: for example, say we define a vcard vocabulary, and someone wants to pull out all the vcards. There's no way to do it in your model, as far as I can tell.
  1019. # [22:58] <annodomini> Hixie: The idea is that the names are the types.
  1020. # [22:59] <Hixie> names and types are different things
  1021. # [22:59] <Hixie> say you have an item that represents a book
  1022. # [22:59] <Hixie> and the book has two editors and two authors
  1023. # [22:59] <annodomini> If you want a vcard vocabulary, you use org.example.vcard or http://example.org/vcard as a type instead.
  1024. # [22:59] <Hixie> editors and authors are both vcards
  1025. # [22:59] <Hixie> so how would you distinguish the authors and the editors?
  1026. # [23:00] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Success)
  1027. # [23:00] <annevk3> <span item=authors> <vcard/> <vcard> </span> <span item=editors> ... </span> maybe?
  1028. # [23:00] <annodomini> <div item="book"><div item="editor
  1029. # [23:00] <TabAtkins> That's what I was about to suggest, too.
  1030. # [23:01] <annodomini> Yeah, that's basically what I was in the middle of typing when I hit return too soon.
  1031. # [23:01] <Hixie> in that example, "authors" and "editors" are both items whose type os "list of vcards"
  1032. # [23:01] <TabAtkins> Yes...?
  1033. # [23:01] <Hixie> so how would you find all the objects whose type is "list of vcards"?
  1034. # [23:02] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
  1035. # [23:02] <TabAtkins> Are we reasoning about vocabs here, or can we assume that the tool explicitly knows the vocabs being used?
  1036. # [23:02] <annodomini> Walk through the data structure and pull out all everything with item="vcard"?
  1037. # [23:02] <Hixie> TabAtkins: we're assuming a tool that doesn't know any vocabs except the ones it wants
  1038. # [23:02] <TabAtkins> Then it just walks and finds <vcard>s.
  1039. # [23:03] <Hixie> <div item=book> <div item=editors> <div item=vcard> <div item=fn>A Person</div> </div> </div> </div>
  1040. # [23:03] <Hixie> vs
  1041. # [23:03] <TabAtkins> I don't see how saying the type is "list of vcards" is better than saying the type is "authors" and "editors".
  1042. # [23:03] <Hixie> <div item=book> <div itemprop=editor item=vcard> <div itemprop=fn>A Person</div> </div> </div>
  1043. # [23:03] <TabAtkins> Yeah, you win a bit on terseness.
  1044. # [23:03] <Hixie> TabAtkins: "authors" and "editors" are names, not types
  1045. # [23:04] <Hixie> it's like the difference between a variable name and a variabel type
  1046. # [23:04] <annodomini> How about <div item=book><div item="editor vcard"><div itemprop=fn>Someone</div></div></div>
  1047. # [23:04] * Joins: cying_ (n=cying@70.90.171.153)
  1048. # [23:04] <TabAtkins> Hmm, I don't agree with your distinction, Hixie. I'm seeing the element's @id as being more like the var name, with @item being the variable type.
  1049. # [23:05] <TabAtkins> The book vocabulary has "authors" and "editors" values. These are types of values.
  1050. # [23:05] <Hixie> TabAtkins: id="" doesn't take part in the model we're discussing as far as i'm aware
  1051. # [23:05] <annevk3> annodomini, I don't think that's very clear
  1052. # [23:05] <TabAtkins> Implicitly with @subject, Hixie.
  1053. # [23:05] <Hixie> TabAtkins: yeah, subject="" is a whole other ball game
  1054. # [23:06] <annevk3> with subject it's just a linking mechanism
  1055. # [23:06] <TabAtkins> Yeah.
  1056. # [23:06] <TabAtkins> So, my point is that I don't like the analogy. ^_^
  1057. # [23:06] <Hixie> i'm surprised that this name vs type distinction has caused so much confusion
  1058. # [23:06] <Hixie> i really thought it was obvious
  1059. # [23:06] <Hixie> but almost everyone who has commented on microdata has been confused about it
  1060. # [23:06] <TabAtkins> I think it *is* obvious Hixie. But it can be obviouser.
  1061. # [23:06] * Joins: vvv (n=vvv@cdma-92-36-6-241.msk.skylink.ru)
  1062. # [23:07] * Quits: jwalden (n=waldo@nat/mozilla/x-arotujfebjfakkas) (Read error: 60 (Operation timed out))
  1063. # [23:07] <annevk3> itemtype/itemprop maybe
  1064. # [23:07] <TabAtkins> Well, hrm. Okay, here's the issue. @item has a type. But @itemprop only has a name. That seems arbitrary.
  1065. # [23:07] <Hixie> TabAtkins: you disagree with me about what is a name and what is a type, so it's not _that_ obvious :-) (not saying which one of is right, of course)
  1066. # [23:07] <annodomini> Hixie: I understand the name vs type distinction, but I think that its an extra layer of complexity that needs to be justified over just using names with types implied by whoever is consuming the data.
  1067. # [23:07] <Hixie> annodomini: the need for types comes from the need to unambiguously specify what the property names are
  1068. # [23:07] <TabAtkins> I want my properties to have types too. The notion that they can *only* have types when they're actually a chunk of some other vocab is weird.
  1069. # [23:08] <Hixie> annodomini: so that a validator can validate vcards found within other vocabularies that it doesn't know about
  1070. # [23:08] <Hixie> TabAtkins: in the spec, the types are optional, the names are required.
  1071. # [23:09] <TabAtkins> Hixie, a new vocab can use vcard and make this obvious by having an element named whatever it wants, with a child that is a vcard.
  1072. # [23:09] <annevk3> TabAtkins, what if you want a property that is named vcard?
  1073. # [23:09] <Hixie> annodomini: in the proposals that collapse name and type together, you either lose the ability to have multiple distinct properties with values that have the same type (e.g. editors and authors both being types), or you lose the ability to detect types
  1074. # [23:09] <annevk3> I think Hixie is right and that it doesn't really work well
  1075. # [23:10] <TabAtkins> Then we have problems, annevk3.
  1076. # [23:10] <TabAtkins> Are we scoping prefixes on @item?
  1077. # [23:10] <Hixie> TabAtkins: that doesn't work because you have no way to know if an item is a type or a name
  1078. # [23:10] <TabAtkins> At least, in a general sense?
  1079. # [23:10] <annevk3> there are no prefixes
  1080. # [23:10] <TabAtkins> Hixie, I'm not yet convinced that's a useful distinction.
  1081. # [23:10] <annodomini> Actually, I would propose that we use URLs or reversed domains for our "top-level" names like vcard
  1082. # [23:11] <TabAtkins> annevk3: Then how do you distinguish a vcard from anything else in the current proposal?
  1083. # [23:11] <Hixie> TabAtkins: in which proposal? in the spec?
  1084. # [23:11] <TabAtkins> Yeah.
  1085. # [23:11] * Joins: hober (n=ted@unaffiliated/hober)
  1086. # [23:11] <Hixie> TabAtkins: in the spec, property names and item types use separate attributes with no overlap
  1087. # [23:11] <TabAtkins> Yeah, so the type of the ancestor @item is implicitly prefixing the @itemprop, right?
  1088. # [23:12] <Hixie> no?
  1089. # [23:12] <annodomini> So, you would only ever use item="http://example.com/vcard", and if you used item=vcard (or anything else), it would be assumed that this was defined relative to its ancestor.
  1090. # [23:12] <TabAtkins> In a general sense of the word "prefixing".
  1091. # [23:12] <Hixie> no more so than an <object> element is "prefixing
  1092. # [23:12] <Hixie> " the <param> elements
  1093. # [23:12] <TabAtkins> That's the sense I mean, I think.
  1094. # [23:12] <TabAtkins> In that the <param> is implicitly assigned to the <object> parent.
  1095. # [23:12] <Hixie> if you mean that itemprop="" names are scoped to their item="", then yes
  1096. # [23:13] <TabAtkins> K, yes.
  1097. # [23:13] <TabAtkins> Now what's wrong the problem with having @itemprop names scoped to their nearest ancestor @itemprop?
  1098. # [23:13] <annevk3> but itemprop=foo stays foo and does not become bar.foo or something for an item bar
  1099. # [23:13] <hober> but not by string-bashing their names together
  1100. # [23:13] <Hixie> annodomini: unless we prevent names from using that syntax also, that doesn't solve the problem
  1101. # [23:13] <hober> (what annevk3 said)
  1102. # [23:14] <Hixie> TabAtkins: nothing is particularly wrong with that either
  1103. # [23:14] <annodomini> Hixie: Can you expand? Unless we prevent what names from using what syntax?
  1104. # [23:14] <TabAtkins> annevk3: Well, doesn't it? Multiple vocabs can use "foo" as a name, and it implicitly disambiguates between "foo" being a property of "bar" and "foo" being a property of "baz" by the nearest ancesteor @item, right?
  1105. # [23:15] <Hixie> annodomini: <div item="org.example.book"> <div item="com.example.editor"> <div item="net.example.vcard"> </div> </div> </div> -- which are types and which are property names?
  1106. # [23:15] <TabAtkins> They're all both?
  1107. # [23:15] * Joins: jwalden (n=waldo@nat/mozilla/x-htjclrdttjnfyczx)
  1108. # [23:15] <Hixie> names and types aren't the same thing
  1109. # [23:15] <TabAtkins> And a consumer knows what name/types to look for, and grabs its children too.
  1110. # [23:15] <annodomini> Right. Those are all fully qualified names, with whatever types are implicit in the definition of those names.
  1111. # [23:15] <Hixie> that's the microformats model
  1112. # [23:15] <Hixie> that's exactly what we're trying to move away from here
  1113. # [23:16] <annodomini> Hixie: Why are we trying to move away from that?
  1114. # [23:16] <TabAtkins> I can't understand the difference. What problem is solved by having two different flavors of name?
  1115. # [23:16] <annevk3> TabAtkins, no
  1116. # [23:16] <Hixie> because the problem we're trying to solve here is the problem that to parse microformats, the parser needs to know the vocabularies
  1117. # [23:16] <annevk3> TabAtkins, afaict that's wrong
  1118. # [23:16] <Hixie> TabAtkins: see, i told you you were confused about types :-)
  1119. # [23:17] <TabAtkins> Hixie: Bah, fine, you win that point. ^_^
  1120. # [23:17] <Hixie> i think i need to work out a new data model that doesn't use types at all
  1121. # [23:17] <TabAtkins> annevk3: Seriously? So names have to be web-global?
  1122. # [23:17] <annevk3> TabAtkins, rtfm ;)
  1123. # [23:17] <Hixie> though i've no idea how to do that
  1124. # [23:17] <TabAtkins> Bah, I can ask you instead.
  1125. # [23:18] <annevk3> ok, yes
  1126. # [23:18] <annodomini> OK, I suppose I should give some more detail on my proposal, and how I envisioned the parsing and processing to work.
  1127. # [23:19] <TabAtkins> Hixie: What I'm seeing right now is that you have two different types of names. One is "name of vocab" and one is "name of property". Is this more-or-less right?
  1128. # [23:19] <annevk3> you could I suppose have a thing where reversed DNS/URIs are the types and simple strings are the properties
  1129. # [23:19] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  1130. # [23:19] <Hixie> TabAtkins: yeah
  1131. # [23:19] <annevk3> and predefined types would have the form of w3c.vcard or something
  1132. # [23:19] <Hixie> TabAtkins: one is "here is what the relationship is between the parent item and this value (string, url, date/time, child item)"
  1133. # [23:20] <annevk3> not sure it's very nice and not sure it would be shorter than Microdata
  1134. # [23:20] <Hixie> TabAtkins: and the other is "here is what the relationships used in this item mean"
  1135. # [23:20] * Quits: cying (n=cying@70.90.171.153) (Connection timed out)
  1136. # [23:20] * cying_ is now known as cying
  1137. # [23:20] <TabAtkins> Hixie: yeah, what I said. ^_^
  1138. # [23:21] * Quits: sbublava (n=stephan@77.119.225.91.wireless.dyn.drei.com)
  1139. # [23:21] <Hixie> TabAtkins: the key point being that if you don't know what the parent item's vocab is, then, unless you have the type names, you can't work out what the child's vocab is.
  1140. # [23:21] <Hixie> maybe that's ok
  1141. # [23:21] <annodomini> Right, I was thinking that you would use global, unambiguous names (reverse DNS or URI) at the top levels of new objects, and short names that were considered to be interpreted relative to their item below it.
  1142. # [23:21] <TabAtkins> I see your complaint - if you merge the two concepts, then a consumer can find the root of data that it wants, but it can't distinguish between legitimate properties of that data and properties that are part of some other vocab.
  1143. # [23:22] <TabAtkins> So compositing might be more difficult?
  1144. # [23:22] <TabAtkins> But if you're compositing values, the consumer really has to know what the lower vocabs that appear in its children are anyway.
  1145. # [23:22] <Hixie> if you merge the two concepts, a consumer can't find all vcards without knowing all the vocabularies that are in the chain from the top of the document to the vcard
  1146. # [23:24] <TabAtkins> Nah, it just finds anything with the property-name "i.am.a.vcard" or whatever.
  1147. # [23:24] <annodomini> So, you'd have <div item="org.w3.vcard"><div item="fn">my name</div></div>, and if you wanted to embed a vcard, you'd get: <div item="org.example.book"><div item=author><div item="org.w3.vcard">author name</div></div></div>
  1148. # [23:24] * Joins: doublec (n=doublec@nat/mozilla/x-tpdeipxtneadronr)
  1149. # [23:24] <annodomini> Yes, it's an extra level of nesting, but it still provides everything that you need for that use case.
  1150. # [23:24] <TabAtkins> The outer vocab has to double-wrap child vocabs, once in its own property and once in the child vocab's root property.
  1151. # [23:24] <Hixie> no, that's just wrong
  1152. # [23:25] <Hixie> you're again mixing the relationship with the parent with the definition of the relationships of the children
  1153. # [23:25] <TabAtkins> Tell me how annodomini's example is ambiguous, then.
  1154. # [23:25] <Hixie> either the value of item="" says what the relationship is to the parent, or it says what the children mean, or it always does both
  1155. # [23:25] <Hixie> but it can't sometimes do one and sometimes do the other
  1156. # [23:25] <TabAtkins> Or how a consumer would need to know about org.example.book to find the org.w3.vcard
  1157. # [23:26] <annevk3> Hixie, it's overloading item
  1158. # [23:26] <Hixie> exactly
  1159. # [23:26] <TabAtkins> Exactly.
  1160. # [23:26] <annevk3> Hixie, when it contains a . it's the type and otherwise it's a name
  1161. # [23:26] <Hixie> what is the relationship between the item with item=author, and the item with item=org.w3.vcard?
  1162. # [23:26] <annevk3> Hixie, certainly possible, not sure whether it's elegant
  1163. # [23:26] <Hixie> it's Wrong
  1164. # [23:26] <Hixie> capital W
  1165. # [23:26] <TabAtkins> Hixie, that's up to the org.example.book vocab to define.
  1166. # [23:27] <Hixie> it's worse than perl having variables prefixed by their type sigil
  1167. # [23:27] <hober> TabAtkins: that's the problem
  1168. # [23:27] <Hixie> what hober said
  1169. # [23:27] <annevk3> Hixie, I think author would be the property and vcard it's type
  1170. # [23:27] <hober> TabAtkins: you need to know org.example.book to parse in such a case
  1171. # [23:27] <Hixie> annevk3: then we're not making things simpler
  1172. # [23:27] <Hixie> annevk3: i don't think that's what they're proposing
  1173. # [23:27] <annodomini> No, you don't need to know org.example.book to parse it.
  1174. # [23:27] <TabAtkins> hober: if you want to parse the book vocab, yes.
  1175. # [23:27] <TabAtkins> It's not necessary if you just want to find vcards.
  1176. # [23:27] <annodomini> You only need that to figure out how the vcard relates to the book.
  1177. # [23:28] * TabAtkins nods at annodomini
  1178. # [23:28] <hober> ... which is the problem
  1179. # [23:28] <annodomini> No, that's not the problem.
  1180. # [23:28] <TabAtkins> ...?
  1181. # [23:28] <annevk3> Hixie, I think TabAtkins is confused and annodomini and I agree, but I could be wrong :)
  1182. # [23:28] <TabAtkins> Why do you need to know *anything* about how the vcard relates to the book, *if you're not trying to parse the book*?
  1183. # [23:28] <annevk3> Hixie, I'm not sure whether it's simpler
  1184. # [23:28] <Hixie> TabAtkins: if you are trying to parse the book, what is the relationship?
  1185. # [23:28] <TabAtkins> If you just care about the vcard, there you go. There's a vcard. Go get it.
  1186. # [23:29] <Hixie> what if you're parsing the book?
  1187. # [23:29] <TabAtkins> Hixie: if you're trying to parse the book, what's the relationship between "book" and "author"?
  1188. # [23:29] <hober> the idea is to have a generic parser. this is the case where microdata and rdfa share an architectural principle and microformats don't
  1189. # [23:29] <TabAtkins> That's up to the book vocab to define.
  1190. # [23:29] <annodomini> hober: You can still have a generic parser.
  1191. # [23:29] <annodomini> There
  1192. # [23:29] <TabAtkins> The one failure is that you can't look at a page and say "these are the vocabs I've found".
  1193. # [23:29] <Hixie> TabAtkins: the book vocab would define that "author" is the item that is the author of the book
  1194. # [23:29] <annodomini> There's nothing non-generic about what I've proposed.
  1195. # [23:30] <annevk3> TabAtkins, you can, you don't understand his proposal :/
  1196. # [23:30] <TabAtkins> And the book vocab can then define that the contents of "author" are the deteails about the author.
  1197. # [23:30] <Hixie> TabAtkins: but the book vocab can't define what org.w3.vcard means, if you're saying that org.w3.vcard defines its own vocab
  1198. # [23:30] <TabAtkins> Hixie: It doesn't need to define what org.w3.vcard means. All it cares is that it has a property, and that property is the author's details.
  1199. # [23:30] * annevk3 bows out of this discussion as it's way too confused to be useful
  1200. # [23:30] <Hixie> (i'm looking into speccing this idea, and i've come across a much bigger problem, btw, which iirc was mentioned in the original e-mail on this -- to work out the value of a property, you have to examine all the descendants elements.)
  1201. # [23:30] <TabAtkins> The fact that the author's details are encoded in a vcard are irrelevant to the book.
  1202. # [23:31] <Hixie> TabAtkins: what is the relationship between the item with item=org.w3.vcard and the item with item=author?
  1203. # [23:31] <TabAtkins> Implicit child in the data tree?
  1204. # [23:32] <Hixie> which vocabulary defines that? book, or vcard?
  1205. # [23:32] <annodomini> Book would define that.
  1206. # [23:32] <Hixie> so book is defining the meaning of vcard's own identifier?
  1207. # [23:32] <TabAtkins> Neither. Why does either need to? And how does the current spec resolve this?
  1208. # [23:32] <Hixie> TabAtkins: the current spec never mixes types and names
  1209. # [23:32] <annodomini> It would define how a vcard relates to the author. How to interpret a vcard as an author.
  1210. # [23:33] <TabAtkins> There is a fundamental point that we're talking past each other on. >_<
  1211. # [23:33] <Hixie> TabAtkins: so you have one attribute to specify the relationship, and another to define the type
  1212. # [23:33] <TabAtkins> annodomini: I'm thinking more that book would say "the 'author' property is the author" and leave it at that. You can then encode it with vcard if you wish, or use another vocab or none at all.
  1213. # [23:33] <annodomini> Hixie: But why do you need to define the type? Why can't the type be implicit in the name of the relationship, and specified in the definition of the format that you're talking about.
  1214. # [23:34] <TabAtkins> If you're consuming a book and don't know about vcards, you'll just say that the value of author is the dom contents of that element.
  1215. # [23:34] <Hixie> annodomini: it can, if we're willing to throw away the ability to validate the parts of unknown vocabularies that reuse known vocabularies
  1216. # [23:34] <TabAtkins> But having the book vocab say "the 'author' property encodes the author's details in a 'vcard'".
  1217. # [23:35] <TabAtkins> Hixie: Why do you lose that ability, though?
  1218. # [23:35] <Hixie> i don't know how to explain this any better than i already have
  1219. # [23:35] <annodomini> Well, if you use item="org.w3.vcard", then everything about that vcard can be validated.
  1220. # [23:35] <TabAtkins> You see a property named org.w3.vcard. It's a vcard. this is a global name.
  1221. # [23:35] <TabAtkins> Is the problem that "book" can define a property named "org.w3.vcard" as well, so you're never sure if you're looking at a vocab root or just some arbitrary unknown property?
  1222. # [23:35] <Hixie> what you're suggesting is equivalent to having typed structures defined like this:
  1223. # [23:36] <annodomini> The only part that can't be validated is that a org.example.book's author property should be a vcard, which if you don't know anything about org.example.book, you can't really validate anyhow.
  1224. # [23:37] <Hixie> "person is a record. it has values "age" and "address". "age" has a value "integer". "integer" has a value 28. "address" has a value "vCard geo record". "vCard geo record" has a value "123 Any Street"."
  1225. # [23:37] <TabAtkins> Is that last one supposed to be three different types at the same time?
  1226. # [23:37] <Hixie> s/vcard geo record/address record/
  1227. # [23:38] <Hixie> or s/.../string/
  1228. # [23:38] <TabAtkins> kk.
  1229. # [23:38] <Hixie> my point is that you're saying "age has a value integer, integer has a value 28"
  1230. # [23:38] <Hixie> which is compeltely bogus
  1231. # [23:38] <TabAtkins> Hrm?
  1232. # [23:38] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
  1233. # [23:39] <TabAtkins> <div item="person"><span item="age><span item="integer">28</span></span>...</div>?
  1234. # [23:39] <Hixie> right
  1235. # [23:39] <TabAtkins> Why would I be defining a data model like that?
  1236. # [23:39] <Hixie> it's what you're doing!
  1237. # [23:39] <TabAtkins> Only if you need to know the type of arbitrary unknown vocab properties.
  1238. # [23:39] <Hixie> except s/age/author/ and s/integer/vcard/
  1239. # [23:39] <Hixie> a vcard doesn't have a value
  1240. # [23:39] <TabAtkins> In practice, "person" knows that "age" is an integer, so that gets omitted. Consumers of "person" also know this.
  1241. # [23:39] <Hixie> an integer doesn't have a value
  1242. # [23:39] <Hixie> a vcard IS a value
  1243. # [23:39] <Hixie> an integer IS a value
  1244. # [23:40] <TabAtkins> Oh, I see what you're saying.
  1245. # [23:40] <TabAtkins> Dont' think it's necessary to maintain that sort of purity, though.
  1246. # [23:41] <Hixie> anyway all this is academic
  1247. # [23:41] <annodomini> So, how about this proposal then: only have item, with a value required to name it, and itemtype as an optional value, that is implicit if it is defined in terms of the ancestor item or type?
  1248. # [23:41] <Hixie> the problem with having to look at all descendants is a much bigger issue
  1249. # [23:41] <TabAtkins> You mean because you can't tell when someone's scoped a new vocab so you can stop looking for the current vocab's properties?
  1250. # [23:42] <annodomini> Hixie: Is that a big issue?
  1251. # [23:42] <Hixie> i mean because <div item=test> ... (23 mb of text) ... </div> should not require you to scan the entire DOM just to work out if you should be returning a string or an object
  1252. # [23:42] <annevk3> Hixie, looking at itemprop the one thing that seems a bit dangerous is allowing it to use the same space as predefined items
  1253. # [23:43] <Hixie> annevk3: yeah, i think that's a blocker, sadly
  1254. # [23:43] <Hixie> annevk3: hm?
  1255. # [23:43] <annodomini> Hixie: Hmm. Yeah, that is a bit of a problem.
  1256. # [23:43] * Joins: onar (n=onar@17.226.20.255)
  1257. # [23:43] <annevk3> Hixie, oh sorry, predefined global property name
  1258. # [23:44] <Hixie> annevk3: yeah, that's a danger
  1259. # [23:44] <annevk3> Hixie, that won't scale very well
  1260. # [23:44] <Hixie> annevk3: i don't know that we'll ever add any to that list, though (assuming we keep this model at all)
  1261. # [23:44] <TabAtkins> Hixie: Ah, I see what you're talking about with that now.
  1262. # [23:44] <Hixie> hm, this problem sucks
  1263. # [23:44] <TabAtkins> When doing generic scanning, right? So you don't know if item="test" is supposed to have an object for children or not?
  1264. # [23:45] <Hixie> TabAtkins: whether it's supposed to or not doesn't really matter
  1265. # [23:45] <Hixie> it also means you can't model a property whose value is an item with no properties
  1266. # [23:45] <Hixie> though that's not a biggie
  1267. # [23:45] <TabAtkins> Not without double-wrapping, sure.
  1268. # [23:46] <Hixie> double wrapping?
  1269. # [23:46] <Hixie> you can't do it whatever you do as far as i can tell
  1270. # [23:46] <annodomini> Hixie: Wh would you want an item with no properties?
  1271. # [23:47] <TabAtkins> Or, hrm. If "org.example.book" says that "author" has to have a "org.w3.vcard" child, and that node has no properties...
  1272. # [23:47] <Hixie> annodomini: you wouldn't want it, necessarily, but you might run into it e.g. while filling in an incomplete page
  1273. # [23:47] <annodomini> Can't you represent the same thing by just not having the item in the first place?
  1274. # [23:47] <TabAtkins> Blar, what I meant to say is that if the <div item="author"> *doesn't* have a <div item="org.w3.vcard"> child, then it would return a vcard with no properties.
  1275. # [23:47] <Hixie> annodomini: or e.g. in automatically generated content
  1276. # [23:48] <Hixie> annodomini: typically in a template generator you don't know if you have any data when you generate the outer part
  1277. # [23:48] * Joins: aroben (n=aroben@nat/apple/x-clkfmbqhhouajsgn)
  1278. # [23:48] <Hixie> TabAtkins: no, it would return a string
  1279. # [23:48] <TabAtkins> Hmm, yes, if processed generically with no knowledge of the org.example.book vocab.
  1280. # [23:49] <TabAtkins> Is it wrong for a parser with knowledge of the book vocab to parse differently?
  1281. # [23:49] <Hixie> yes
  1282. # [23:49] <TabAtkins> Or, to move the problem to another level, for a consumer of generically-parsed data to know that a string is, in this case, an object with no properties?
  1283. # [23:49] <Hixie> the whole point is that the result is unambiguous
  1284. # [23:49] <annodomini> We generally want to be able to use the same parser no matter the vocab, and just leave the interpretation of the data to something that knows about the vocab.
  1285. # [23:50] <TabAtkins> Yeah, so is it cool for a downstream tool to interpret a string as an object with no properties?
  1286. # [23:50] <annodomini> This is actually a bigger problem for me than the issue of not having types or using names that have implicit types.
  1287. # [23:50] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
  1288. # [23:50] <annodomini> You could do that, but that just feels wrong to me.
  1289. # [23:51] <Hixie> it also makes the code to handle it much harder
  1290. # [23:51] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  1291. # [23:51] <Hixie> cos now instead of just saying "if it's not an item, fail", you have to explicitly look for it and handle it differently
  1292. # [23:51] <Hixie> it also makes it much harder to detect actual errors
  1293. # [23:52] <Hixie> and means that you can't easily have properties that take either a string or an item
  1294. # [23:52] <TabAtkins> That is true - you'd have to have properties be one or the other.
  1295. # [23:52] <TabAtkins> Unless you wanted to differentiate based on the contents of the string, which *is* horrifying.
  1296. # [23:53] <annodomini> OK, thanks for the feedback, Hixie.
  1297. # [23:53] <Hixie> thanks for your feedback too
  1298. # [23:53] * annodomini goes back to the drawing board
  1299. # [23:53] <Hixie> i'm working on a third variant
  1300. # [23:53] <Hixie> that uses some of your ideas
  1301. # [23:54] <annodomini> Great! I like variants. I'm going to try and come up with another variant, too, but I'll need to work on it some more.
  1302. # [23:54] <annodomini> But I'm going to withdraw my proposal in its current form; you're right that there are too many problems.
  1303. # [23:55] * Quits: taf2 (n=taf2@38.99.201.242)
  1304. # [23:55] <annevk3> Hixie, is the second alternative online already?
  1305. # [23:55] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/temp
  1306. # [23:56] <Hixie> just examples so far
  1307. # Session Close: Thu Aug 27 00:00:00 2009

The end :)