Options:
- # Session Start: Wed Aug 26 00:00:00 2009
- # Session Ident: #whatwg
- # [00:01] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
- # [00:05] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 110 (Connection timed out))
- # [00:05] * Quits: heycam (n=cam@124-168-62-130.dyn.iinet.net.au) ("bye")
- # [00:07] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
- # [00:07] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [00:07] * Joins: aroben (n=aroben@nat/apple/x-vodxsanycokmaozn)
- # [00:08] * Quits: bgalbraith_ (n=bgalbrai@nat/mozilla/x-islqnnbwoaqurzvp) (Read error: 110 (Connection timed out))
- # [00:09] <hallvors> fun site. wonder why they use just English-Japanese-English though.
- # [00:10] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
- # [00:12] <Dashiva> hallvors: Maximum confusion
- # [00:14] * Joins: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
- # [00:19] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
- # [00:22] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [00:23] <Hixie> so... standards suck interviews accessibility people, accessibility people even ReTweet the announcement, and nobody complains about lack of transcripts?
- # [00:24] * Joins: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au)
- # [00:26] * Quits: dbaron (n=dbaron@nat/mozilla/x-lniavxfjzbbyrqos) ("8403864 bytes have been tenured, next gc will be global.")
- # [00:29] <annevk3> Steve Faulkner published a transcript on his blog when we interviewed him, hopefully Bruce Lawson does the same
- # [00:30] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-lbfcrmavwxfdeloz)
- # [00:31] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [00:31] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) (Connection reset by peer)
- # [00:32] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [00:37] * Quits: annevk3 (n=annevk@5355732C.cable.casema.nl)
- # [00:38] <Hixie> i think roy and i live on different planets
- # [00:38] <Hixie> or we speak a different language
- # [00:38] <Hixie> or something
- # [00:38] <Hixie> i so utterly don't understand what he's saying
- # [00:39] <Hixie> of course he refuses to explain himself
- # [00:39] <Hixie> so...
- # [00:40] * Joins: cying (n=cying@70.90.171.153)
- # [00:43] <othermaciej> Hixie: I did not find his link to the dictionary edifying
- # [00:43] <TabAtkins> Damn, maciej beat me to it. I was just drafting a nearly identical response.
- # [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
- # [00:45] * Quits: BlurstOfTimes (n=blurstof@168.203.117.59) ("Leaving...")
- # [00:46] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [00:46] <vvv> Is there support of ARGB in HTML 5?
- # [00:46] <Hixie> what do you mean by ARGB?
- # [00:47] <vvv> RGB with an alpha channel
- # [00:48] <Hixie> <canvas> supports RGBA, yes
- # [00:48] <vvv> And <input type=color>?
- # [00:50] <TabAtkins> That's UA-specific, I believe.
- # [00:51] * Quits: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
- # [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?
- # [00:55] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
- # [00:56] <Lachy_> vvv, alpha channel can be specified with a separate control, if it's needed
- # [00:56] <vvv> Lachy_: then it would be impossible to include it in color well
- # [00:58] * Lachy_ is now known as Lachy
- # [00:58] <Hixie> vvv: no, <input type=color> doesn't do alpha currently
- # [00:58] <Hixie> vvv: maybe in a future version
- # [00:59] <vvv> Where should I post a request?
- # [00:59] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 131 (Connection reset by peer))
- # [00:59] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [01:01] * Quits: webben (n=benh@91.85.213.208) (Read error: 110 (Connection timed out))
- # [01:01] <Lachy> vvv, whatwg@whatwg.org or public-html@w3.org
- # [01:01] <vvv> Thanks
- # [01:03] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [01:03] * Joins: aroben_ (n=aroben@nat/apple/x-mrpafxcedyiblqyr)
- # [01:04] <Lachy> vvv, which applications are you aware of that include an alpha channel in the same control as the colour picker?
- # [01:04] <vvv> Lachy: GTK has such feature
- # [01:05] <Lachy> any windows or mac apps?
- # [01:05] <vvv> Haven't seen such thing in Windows
- # [01:05] <Lachy> or can you find a screenshot of such a control somewhere and post a link?
- # [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?
- # [01:08] <vvv> Lachy: graphics editors would need it
- # [01:08] <TabAtkins> I know that GIMP exposes alpha through an opacity control, which is separate from the color-picker.
- # [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.
- # [01:10] * Joins: aroben (n=aroben@17.246.17.226)
- # [01:10] <Hixie> Lachy: it's common for the colour control on Mac OS X to have an alpha slider
- # [01:11] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Read error: 60 (Operation timed out))
- # [01:11] * Quits: aroben (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [01:12] * Joins: aroben (n=aroben@nat/apple/x-rheliqybeczmhrgm)
- # [01:12] * Quits: billyjackass (n=MikeSmit@EM114-48-0-204.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [01:13] <Lachy> Hixie, I don't appear to have any graphics apps on my mac to be able to check that.
- # [01:13] <vvv> Lachy: http://img252.imageshack.us/img252/9418/rgbacolorpicker.png - that's a GTK one
- # [01:13] * Joins: MikeSmith (n=MikeSmit@EM114-48-4-231.pool.e-mobile.ne.jp)
- # [01:14] <Lachy> ok
- # [01:14] <Hixie> Lachy: keynote and pages, e.g.
- # [01:14] * Quits: hallvors (n=hallvord@cm-84.208.127.109.getinternet.no)
- # [01:15] <Lachy> ah, ok. I have those apps and have now seen it
- # [01:17] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
- # [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>
- # [01:19] <Lachy> or input type=range instead
- # [01:19] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
- # [01:19] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [01:30] * Joins: doublec (n=doublec@nat/mozilla/x-pluyymyboikyucck)
- # [01:31] * Joins: ap_ (n=ap@17.246.19.164)
- # [01:31] * Quits: ap_ (n=ap@17.246.19.164) (Remote closed the connection)
- # [01:32] * Joins: ap_ (n=ap@nat/apple/x-jmzsxlonzhsbnbwg)
- # [01:32] * Quits: ap (n=ap@nat/apple/x-gwzvqhzyhjlswzbr) (Read error: 104 (Connection reset by peer))
- # [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
- # [01:36] <Hixie> yeah, already fixing the spec
- # [01:38] <Rik`> vvv: you can add a input type=range for ask the user to specify the alpha channel ?
- # [01:39] <vvv> Rik`: color pickers do it nicer usually
- # [01:40] * Quits: dglazkov (n=dglazkov@nat/google/x-uxhzmrbljkqkvvon)
- # [01:41] * Joins: jacobolu_ (n=jacobolu@menlopark.keplers.com)
- # [01:42] * Quits: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net)
- # [01:42] * Quits: jacobolu_ (n=jacobolu@menlopark.keplers.com) (Client Quit)
- # [01:51] <Hixie> wow, that was the first time roy said something that actually resulted in changes to the spec
- # [01:53] <othermaciej> I am hoping this experience will help him appreciate the merits of being specific
- # [01:54] <othermaciej> Hixie: you still don't have a requirement that two <a>s can't have the same name, afaict
- # [01:55] * Quits: doublec (n=doublec@nat/mozilla/x-pluyymyboikyucck) (Read error: 110 (Connection timed out))
- # [01:55] <Hixie> oops
- # [01:55] <Hixie> fixing
- # [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."?
- # [02:00] <othermaciej> Not that it's a hugely meaningful difference, but it might brighten Roy's day
- # [02:03] <Dashiva> Is that possible?
- # [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)
- # [02:05] <othermaciej> whether that would in fact brighten his day, I can't say
- # [02:05] <heycam> does <a name> not define a target for a fragid in html5?
- # [02:05] <othermaciej> it does
- # [02:05] <heycam> ok, then the "in earlier languages" sounds misleading
- # [02:05] <othermaciej> true
- # [02:05] <heycam> sounds like in this version that's not the case
- # [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.
- # [02:05] <Hixie> bbiab
- # [02:05] <Dashiva> Is Roy basically writing a multi-version validator?
- # [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
- # [02:06] <othermaciej> Dashiva: I believe he has a tool that's not a validator per se, it just wants to check link targets
- # [02:06] * Quits: ap_ (n=ap@nat/apple/x-jmzsxlonzhsbnbwg)
- # [02:07] <othermaciej> Dashiva: so for links with a fragid, it would want to check that the fragment target exists in the target file
- # [02:07] <othermaciej> heycam: any wordsmithing advice?
- # [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
- # [02:08] <heycam> othermaciej, yeah it might be good to have a section dedicated to that in fact
- # [02:08] <heycam> which says that id and name both establish such names
- # [02:08] <othermaciej> heycam: there is a section dedicated to the algorithm for the target of fragid
- # [02:08] * Quits: tkent (n=tkent@220.109.219.244) ("Leaving...")
- # [02:09] <heycam> which already mentions name?
- # [02:09] <othermaciej> http://dev.w3.org/html5/spec/Overview.html#the-indicated-part-of-the-document
- # [02:10] <heycam> ok it does
- # [02:10] <othermaciej> is it worth mentioning this again in the description of "name" or no?
- # [02:10] <heycam> yes i think so
- # [02:10] <heycam> linking to that alg
- # [02:10] <heycam> otherwise it might not be easy to find
- # [02:11] <heycam> i think people may start by looking up the definition of the name attribute
- # [02:11] <heycam> and if they don't find the mention of the fragid stuff there then they might assume that that is it
- # [02:11] * Quits: ojan (n=ojan@nat/google/x-xbehvbpaxgcetsrp)
- # [02:12] <othermaciej> heycam: the definition of the id attribute mentions the fragment use, so that's fair
- # [02:12] <heycam> sounds good then
- # [02:12] <heycam> is there a tendency in the spec not to define the meaning of obsolete features?
- # [02:13] <heycam> (and only to define the behavior of the UA for them?)
- # [02:13] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [02:13] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [02:13] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 54 (Connection reset by peer))
- # [02:13] <othermaciej> it depends on what you mean by meaning
- # [02:13] * Joins: aroben (n=aroben@nat/apple/x-doemhvyqqbyyfrmj)
- # [02:14] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [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
- # [02:14] * Joins: aroben (n=aroben@nat/apple/x-pgcwdcnvfntlfhwz)
- # [02:14] <heycam> yeah
- # [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
- # [02:14] <heycam> i was wondering if that was deliberate, to dissuade people from using them
- # [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
- # [02:14] <heycam> right
- # [02:15] <AryehGregor> What's the point of obsolete but conforming? Isn't that like HTML 4 Strict, which HTML 5 wanted to avoid?
- # [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
- # [02:16] <heycam> unless we consider it acceptable to change previously conforming documents to be non-conforming, of course
- # [02:16] <othermaciej> it is considered acceptable to change previously conforming documents to be nonconforming
- # [02:17] <othermaciej> older versions of HTML have done that too
- # [02:17] <heycam> but it's a bit different with older versions of HTML
- # [02:17] <heycam> since you had version identifiers in the documents themselves
- # [02:18] <heycam> so you're just changing what is conforming for documents with the newer version identifier
- # [02:18] <othermaciej> heycam: I'm going to suggest adding a note like:
- # [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."
- # [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."
- # [02:18] <othermaciej> heycam: does that sound sane?
- # [02:18] <heycam> prefer the second one
- # [02:18] <heycam> yep, sounds good
- # [02:18] <othermaciej> I'm including both suggestions
- # [02:19] <heycam> ok
- # [02:19] * heycam should respond to the issue-37 thread at some point he supposes
- # [02:19] <othermaciej> heycam: that would be nice - sorry for giving you such a long-winded and multifaceted reply
- # [02:19] <heycam> no that's fine
- # [02:21] <othermaciej> ooh, I have a cut off sentence in what I wrote
- # [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
- # [02:22] <othermaciej> replied to self
- # [02:22] * heycam wonders whether the planned LC is early or late october :)
- # [02:22] <othermaciej> heycam: "planned" is such a strong word
- # [02:22] <heycam> heh
- # [02:23] <heycam> desired then
- # [02:23] <othermaciej> looks like I had 5 open questions for you (in addition to filing 2 bugs based on the feedback)
- # [02:27] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [02:28] * Joins: dbaron (n=dbaron@nat/mozilla/x-ccccaeynvyekoywq)
- # [02:28] * Joins: doublec (n=doublec@nat/mozilla/x-nlqpwdhaddzoxuuh)
- # [02:39] * Joins: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [02:41] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [02:41] * Joins: aroben_ (n=aroben@nat/apple/x-cvxwosljurwyimbd)
- # [02:42] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 110 (Connection timed out))
- # [02:50] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [02:51] * Joins: aroben (n=aroben@17.246.17.226)
- # [02:51] * Quits: aroben (n=aroben@17.246.17.226) (Remote closed the connection)
- # [02:51] * Joins: aroben (n=aroben@nat/apple/x-aprdwhmaphdfphnu)
- # [02:52] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [02:54] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Client Quit)
- # [02:54] * Quits: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp) ("Ex-Chat")
- # [03:02] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [03:06] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [03:09] * Quits: othermaciej (n=mjs@17.203.15.179)
- # [03:10] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [03:16] * Quits: tndH (n=Rob@77.86.43.45) ("ChatZilla 0.9.85-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [03:16] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [03:21] * Quits: KevinMarks (n=KevinMar@157.22.22.46) (Read error: 110 (Connection timed out))
- # [03:24] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [03:34] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [03:37] * Joins: cardona507 (n=cardona5@67.180.160.250)
- # [03:39] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-lbfcrmavwxfdeloz)
- # [03:41] * Quits: cying (n=cying@70.90.171.153)
- # [03:46] * Joins: dimich_ (n=dimich@72.14.227.4)
- # [03:51] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
- # [03:59] * Quits: dimich_ (n=dimich@72.14.227.4)
- # [04:10] * Quits: cardona507 (n=cardona5@67.180.160.250)
- # [04:18] * Quits: doublec (n=doublec@nat/mozilla/x-nlqpwdhaddzoxuuh) (Read error: 110 (Connection timed out))
- # [04:20] * Quits: dpranke (n=Adium@nat/google/x-vkrklxvfxyayrxai) ("Leaving.")
- # [04:23] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [04:26] * Quits: ttepass- (n=ttepas--@p5B015CD2.dip.t-dialin.net) ("?Q")
- # [04:29] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [04:29] <othermaciej> howdy folks
- # [04:34] * Quits: MikeSmith (n=MikeSmit@EM114-48-4-231.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [04:36] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [04:42] <othermaciej> Hixie: I like how you worded it
- # [04:45] <Hixie> assuming you mean the edit to the spec, cool
- # [04:45] <Hixie> i really have no idea what roy wants though
- # [04:45] <Hixie> how can we define a DOM-based language without reference to the DOM?
- # [04:45] <Hixie> i thought HTML4 had shown that idea was a complete failure
- # [04:49] <Hixie> wow, turns out onhashchange is actually synchronous in IE
- # [04:49] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [04:49] <Hixie> i thought we tested that and found it async
- # [04:58] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [05:07] * Joins: MikeSmith (n=MikeSmit@EM114-48-18-207.pool.e-mobile.ne.jp)
- # [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?
- # [05:11] <Hixie> that's probably either a TLS spec question, or a UI question
- # [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...
- # [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
- # [05:13] <Hixie> same answer as if you asked the same thing but with <img> pointing to a resource on that server
- # [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.
- # [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
- # [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
- # [05:15] <Hixie> and not show any (modal) UI
- # [05:15] <Hixie> (maybe have an infobar warning)
- # [05:16] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [05:16] <dimich> Hixie: thanks!
- # [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.
- # [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.
- # [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.
- # [05:34] <AryehGregor> HTTPS is unreasonably easy to misconfigure in practice.
- # [05:35] <Hixie> AryehGregor: hence the infobar warning.
- # [05:35] <Hixie> AryehGregor: then again, that warning should probabl appear for all HTTP accesses too
- # [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.
- # [05:36] <AryehGregor> Not easy to make good UI for that.
- # [05:37] <AryehGregor> https://google.com at one point gave a mismatched cert, it was serving a cert for www.google.com. :/
- # [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
- # [05:37] * Quits: jwalden (n=waldo@nat/mozilla/x-wzzotizdmvvnddvw) ("->home")
- # [05:37] <AryehGregor> They don't pretend it's okay, they color the address bar red and such, AFAIK.
- # [05:37] <Hixie> yeah, exactly
- # [05:37] <Hixie> they do it differently than port 80
- # [05:37] <Hixie> which i think is worse
- # [05:37] <Hixie> people go "ok, there's a lock, and it's the special color, i must be ok"
- # [05:38] <AryehGregor> Do people even look at the URL bar color in practice?
- # [05:38] <AryehGregor> I mentioned it once to my mother, and she insisted she had never seen the URL bar turn different colors.
- # [05:38] <AryehGregor> Even though she uses Gmail continuously, over HTTPS.
- # [05:38] <Hixie> i saw research saying 25% of people only trust the content inside the rendering area
- # [05:38] <Hixie> and ignore UA UI
- # [05:38] <Hixie> so...
- # [05:38] <AryehGregor> That's horribly backwards.
- # [05:39] <AryehGregor> Too bad Tim Berners-Lee didn't think to make it all encrypted from day one. :/
- # [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.
- # [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.
- # [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.
- # [05:41] <Hixie> yeah well we're not doing websockets all encrypted either :-)
- # [05:41] <Hixie> encryption has high overhead and makes debugging a pain in the ass
- # [05:42] <AryehGregor> I'd also hope you could add a DNS entry (with DNSSEC) saying "don't ever connect to this site unencrypted".
- # [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.
- # [05:48] <Hixie> the overhead will always be more than no encryption
- # [05:48] <Hixie> i do network sniffing all the time
- # [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.
- # [05:53] <Hixie> the issue isn't cpu usage, it's latency
- # [05:53] <Hixie> annevk2: yt?
- # [05:55] * Quits: MikeSmith (n=MikeSmit@EM114-48-18-207.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [05:56] * Joins: dglazkov_ (n=dglazkov@72.14.224.1)
- # [05:57] * Joins: KevinMarks (n=KevinMar@c-67-164-14-96.hsd1.ca.comcast.net)
- # [06:02] <Hixie> hey kevin
- # [06:02] <Hixie> nice appearance on twig :-)
- # [06:06] * Joins: MikeSmith (n=MikeSmit@114.48.37.241)
- # [06:12] * Quits: dbaron (n=dbaron@nat/mozilla/x-ccccaeynvyekoywq) ("8403864 bytes have been tenured, next gc will be global.")
- # [06:13] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [06:14] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [06:14] * dglazkov_ is now known as dglazkov
- # [06:16] <cardona507> kevinmarks - is leos new room like a spaceship?
- # [06:20] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Read error: 104 (Connection reset by peer))
- # [06:20] * Joins: jacobolus (n=jacobolu@menlopark.keplers.com)
- # [06:22] * Joins: dglazkov_ (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [06:29] * Quits: dglazkov (n=dglazkov@72.14.224.1) (Read error: 60 (Operation timed out))
- # [06:29] * dglazkov_ is now known as dglazkov
- # [06:35] * Joins: harig_ (n=aparan@59.90.71.35)
- # [06:46] * Joins: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
- # [06:58] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [07:05] * Joins: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
- # [07:06] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [07:11] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [07:14] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Read error: 110 (Connection timed out))
- # [07:14] * Joins: vvv (n=vvv@cdma-92-36-67-22.msk.skylink.ru)
- # [07:15] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [07:21] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (Read error: 104 (Connection reset by peer))
- # [07:22] * Joins: syp_ (n=syp@lasigpc9.epfl.ch)
- # [07:43] * Joins: syp__ (n=syp@lasigpc9.epfl.ch)
- # [07:43] * Quits: syp_ (n=syp@lasigpc9.epfl.ch) (Read error: 104 (Connection reset by peer))
- # [07:48] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) (Read error: 60 (Operation timed out))
- # [07:49] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [07:51] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
- # [07:57] * Quits: jacobolus (n=jacobolu@menlopark.keplers.com) (Remote closed the connection)
- # [08:01] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [08:12] * Joins: nulldomain (n=Soap@ip70-177-34-172.br.br.cox.net)
- # [08:13] * Quits: nulldomain (n=Soap@ip70-177-34-172.br.br.cox.net) (Client Quit)
- # [08:16] * Quits: annevk2 (n=annevk@5355732C.cable.casema.nl) (Read error: 110 (Connection timed out))
- # [08:18] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [08:19] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [08:28] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [08:28] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net) (Read error: 113 (No route to host))
- # [08:32] * Joins: heycam (n=cam@dyn-130-194-69-205.its.monash.edu.au)
- # [08:37] * Quits: dave_levin (n=dave_lev@72.14.227.1)
- # [08:42] * Quits: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
- # [08:42] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [08:47] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:53] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:58] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [09:02] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
- # [09:05] * Joins: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net)
- # [09:06] * Quits: MikeSmith (n=MikeSmit@114.48.37.241) (Read error: 145 (Connection timed out))
- # [09:08] * Quits: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net) (Remote closed the connection)
- # [09:12] * Joins: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net)
- # [09:19] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 110 (Connection timed out))
- # [09:19] * dave_levin_ is now known as dave_levin
- # [09:26] * Joins: MikeSmith (n=MikeSmit@EM114-48-71-211.pool.e-mobile.ne.jp)
- # [09:33] * Joins: erlehmann (n=erlehman@tmo-108-248.customers.d1-online.com)
- # [09:34] <erlehmann> Hixie, why is using microdata for styling a bad idea? because it is prone to change?
- # [09:34] <erlehmann> after all, i use semantics in styling all the time
- # [09:49] * Quits: danbri (n=danbri@unaffiliated/danbri)
- # [09:53] * Quits: k0rnel (n=k0rnel@krtko.org) (Read error: 110 (Connection timed out))
- # [09:56] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [10:01] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [10:04] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [10:05] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [10:07] * Joins: foolip_ (n=philip@pat.se.opera.com)
- # [10:07] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com) (Read error: 104 (Connection reset by peer))
- # [10:10] * Joins: k0rnel (n=k0rnel@147.175.167.202)
- # [10:11] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [10:13] * Quits: Lachy (n=Lachlan@85.196.122.246) ("Leaving")
- # [10:18] * Joins: danbri (n=danbri@unaffiliated/danbri)
- # [10:31] * Quits: dave_levin (n=dave_lev@72.14.224.1)
- # [10:32] <hsivonen> mantic.se is a great idea. I wish I had thought about it.
- # [10:33] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [10:33] * Joins: mpt__ (n=mpt@canonical/launchpad/mpt)
- # [10:42] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:44] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [10:44] * Quits: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net) ("ChatZilla 0.9.85 [Firefox 3.5.3pre/20090824030724]")
- # [10:46] * Quits: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net) (Remote closed the connection)
- # [10:55] * Quits: heycam (n=cam@dyn-130-194-69-205.its.monash.edu.au) ("bye")
- # [10:57] * Joins: Phae (n=phaeness@132.185.144.11)
- # [10:59] * Joins: jacobolus (n=jacobolu@adsl-75-36-149-198.dsl.pltn13.sbcglobal.net)
- # [11:00] * Quits: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net) (clarke.freenode.net irc.freenode.net)
- # [11:00] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (clarke.freenode.net irc.freenode.net)
- # [11:00] * Quits: Darxus (n=darxus@panic.chaosreigns.com) (clarke.freenode.net irc.freenode.net)
- # [11:00] * Quits: vs-hs (i=david@shell.etttretresju.net) (clarke.freenode.net irc.freenode.net)
- # [11:00] * Joins: vs-hs_ (i=david@shell.etttretresju.net)
- # [11:00] * Joins: Darxus__ (n=darxus@panic.chaosreigns.com)
- # [11:00] * Joins: webben (n=benh@nat/yahoo/x-ieyijuzogefzezgj)
- # [11:01] * Joins: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net)
- # [11:01] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [11:04] * Joins: adactio (n=adactio@host86-156-238-27.range86-156.btcentralplus.com)
- # [11:06] * mpt__ is now known as mpt
- # [11:15] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [11:29] * Joins: heycam (n=cam@124-168-62-130.dyn.iinet.net.au)
- # [11:31] <MikeSmith> hsivonen: I bet there's still mantics.se, and miotic.se/miotics.se
- # [11:31] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Read error: 110 (Connection timed out))
- # [11:31] <MikeSmith> gnifies.si
- # [11:32] * gsnedders|work wants .rs to exist
- # [11:32] * Quits: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [11:32] <gsnedders|work> Oh, it does, since 2006
- # [11:32] * Parts: matijsb (n=matijsb@hotfusion.demon.nl)
- # [11:33] <gsnedders|work> But you can only get third level domains
- # [11:33] <jgraham> eless.us
- # [11:33] <MikeSmith> heh
- # [11:37] * Joins: annevk2 (n=annevk@5355732C.cable.casema.nl)
- # [11:39] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [11:43] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [11:51] <beowulf> oteric.es
- # [11:53] <othermaciej> tadata.me
- # [11:54] * Joins: svl (n=me@dslb-084-056-116-088.pools.arcor-ip.net)
- # [11:57] <annevk2> ml.sg
- # [11:57] <annevk2> but then apparently Singapore doesn't do top-level
- # [11:58] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [11:59] <jgraham> why not ml.ht?
- # [12:00] <zcorpan> btex.bi
- # [12:02] <jgraham> ard.vc
- # [12:03] <zcorpan> mon.si
- # [12:03] <annevk2> atwg.wh
- # [12:04] <jacobolus> Hixie: I like your Tetris playing thing
- # [12:04] * Quits: danbri (n=danbri@unaffiliated/danbri)
- # [12:07] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) (Remote closed the connection)
- # [12:08] <erlehmann> jacobolus, link?
- # [12:10] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [12:11] <jacobolus> erlehmann: http://tetrisapp.appspot.com/
- # [12:12] <jacobolus> Hixie: maybe you're asleep; I'll try to catch you tomorrow :)
- # [12:12] <erlehmann> jacobolus, wait "ian.hickson" has the highscore
- # [12:12] <erlehmann> unfair ^^
- # [12:12] <jacobolus> erlehmann: no, I don't think it's Hixie's site. he just has the high score
- # [12:13] <jacobolus> I was complementing his bot
- # [12:13] <erlehmann> his tetris bot?
- # [12:13] <jacobolus> erlehmann: click it and you can see the replay
- # [12:13] <jacobolus> erlehmann: right
- # [12:13] <erlehmann> jacobolus, so this is not a tetris game but a scripting game ?
- # [12:14] <erlehmann> wow, cool
- # [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. :)
- # [12:17] <jacobolus> erlehmann: "Mino"
- # [12:17] <erlehmann> mino?
- # [12:18] <jacobolus> erlehmann: did that other message all make it through?
- # [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. :)
- # [12:18] <erlehmann> jacobolus, this?
- # [12:18] <jacobolus> erlehmann: right, so the multiplayer iphone game is called Mino :)
- # [12:18] <erlehmann> i see
- # [12:18] <erlehmann> iphones suck :p
- # [12:18] <erlehmann> <-- android user
- # [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 :)
- # [12:21] <jacobolus> erlehmann: but I find the ipod touch kind of neat
- # [12:22] <jacobolus> then again, it's the first mp3 player I've had, and the whole thing is a bit mind-bending :)
- # [12:23] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [12:23] <erlehmann> jacobolus, its just … as an app developer i dont want maintainers to take month
- # [12:23] * gsnedders|work ought to get a new phone sometime, but can't decide what
- # [12:23] <erlehmann> and then reject my app.
- # [12:23] <erlehmann> so i would never develop for the iphone.
- # [12:26] * Joins: danbri (n=danbri@unaffiliated/danbri)
- # [12:28] * Quits: danbri (n=danbri@unaffiliated/danbri) (Client Quit)
- # [12:29] * Joins: Lachy (n=Lachlan@london.perfect-privacy.com)
- # [12:33] <jacobolus> erlehmann: that's fair; we've been somewhat frustrated with the approval process, etc.
- # [12:33] <jacobolus> erlehmann: still, the game is pretty fun :)
- # [12:39] * Quits: erlehmann (n=erlehman@tmo-108-248.customers.d1-online.com) (Read error: 60 (Operation timed out))
- # [12:40] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [12:45] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [12:47] * Quits: vvv (n=vvv@cdma-92-36-67-22.msk.skylink.ru) (Read error: 104 (Connection reset by peer))
- # [12:47] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [12:48] * Joins: vvv (n=vvv@cdma-92-36-67-22.msk.skylink.ru)
- # [12:49] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [12:58] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [13:00] * Joins: danbri (n=danbri@unaffiliated/danbri)
- # [13:10] * Quits: webben (n=benh@nat/yahoo/x-ieyijuzogefzezgj) (Client Quit)
- # [13:23] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
- # [13:23] * Joins: gavin (n=gavin@firefox/developer/gavin)
- # [13:25] * Joins: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au)
- # [13:40] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [13:44] * Joins: yutak_home (n=kee@ZD094246.ppp.dion.ne.jp)
- # [13:45] * Joins: remysharp (n=remyshar@remysharp.plus.com)
- # [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?
- # [13:49] <gsnedders|work> The HTTP cache control headers?
- # [13:49] <remysharp> no - via the manifest
- # [13:49] <remysharp> or, sorry, are you saying you do it via the http cache control headers?
- # [13:50] <gsnedders|work> Oh, I don't know about manifest
- # [13:50] <remysharp> okay, cheers :)
- # [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!
- # [13:52] <annevk2> remysharp, point the manifest attribute to a new file
- # [13:53] <gsnedders|work> Should the browser not obey the HTTP headers of the manifest cache file?
- # [13:54] <gsnedders|work> (But yeah, there's no way with HTTP to then invalidate a file's cache for all clients)
- # [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)
- # [13:56] <annevk2> changing the manifest file should also work in theory
- # [13:56] <annevk2> having said that I haven't studied that stuff recently
- # [13:56] <remysharp> changing the manifest did work - so cheers :)
- # [14:03] * Quits: remysharp (n=remyshar@remysharp.plus.com) ("Gotta shoot - "peeyaow"")
- # [14:27] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [14:30] * Quits: annodomini (n=lambda@wikipedia/lambda) (Client Quit)
- # [14:34] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [14:35] * Joins: hallvors (n=hallvord@pat-tdc.opera.com)
- # [14:40] * Joins: pmuellr (n=pmuellr@nat/ibm/x-uhzhjnnyqgtajwvp)
- # [14:44] * Joins: miketaylr (n=mtaylor@38.117.156.163)
- # [14:44] * Joins: Hish (n=chatzill@mail2.n-e-s.de)
- # [14:47] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [14:53] * Quits: jacobolus (n=jacobolu@adsl-75-36-149-198.dsl.pltn13.sbcglobal.net) (Remote closed the connection)
- # [14:54] * Joins: BlurstOfTimes (n=blurstof@168.203.117.59)
- # [14:57] * Joins: VasilievVV (n=vvv@cdma-92-36-24-104.msk.skylink.ru)
- # [15:04] * Joins: annodomini (n=lambda@wikipedia/lambda)
- # [15:04] * Joins: ttepasse (n=ttepas--@p5B015325.dip.t-dialin.net)
- # [15:05] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Nick collision from services.)
- # [15:05] * VasilievVV is now known as vvv
- # [15:05] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [15:17] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [15:19] * Quits: wakaba_0 (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) ("Leaving...")
- # [15:23] * Joins: erlehmann (n=erlehman@tmo-104-247.customers.d1-online.com)
- # [15:29] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [15:32] * Joins: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
- # [15:34] * Quits: nessy (n=nessy@203-214-73-15.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [15:41] <miketaylr> would someone mind looking at a test page, and tell me if i'm abusing <article> headings (nested in a <section>)?
- # [15:41] <miketaylr> test page is here: http://miketaylr.com/pres/html5/index.html
- # [15:41] <miketaylr> i'm interested in the 'Openings and Closings' section in the bottom right of the page...
- # [15:41] * Joins: annodomini (n=lambda@130.189.179.215)
- # [15:42] * Quits: MikeSmith (n=MikeSmit@EM114-48-71-211.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [15:43] <erlehmann> miketaylr, looks nice. where are you unsure spec-wise?
- # [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>
- # [15:43] <gsnedders|work> miketaylr: See http://gsnedders.html5.org/outliner/process.py?url=http%3A%2F%2Fmiketaylr.com%2Fpres%2Fhtml5%2Findex.html FWIW
- # [15:44] <gsnedders|work> If that looks sane, you're probably doing it right
- # [15:44] <miketaylr> gsnedders|work: yeah, thanks. i've got that open as well. ;)
- # [15:44] <miketaylr> thanks
- # [15:44] <gsnedders|work> (Honestly, there's more than vanity at pimpin' that link)
- # [15:44] <miketaylr> haha
- # [15:45] <miketaylr> the outline is super helpful
- # [15:46] <zcorpan> miketaylr: maybe it could be argued that it's more of a list than separate sections
- # [15:46] <gsnedders|work> (Like using up other people's CPU time and bandwidth, that's the real reason)
- # [15:46] <miketaylr> zcorpan: i see what you mean
- # [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 :)
- # [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.
- # [15:48] * gsnedders|work should add links to the outline
- # [15:48] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
- # [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
- # [15:50] <erlehmann> gsnedders|work, your dom magic is superiour :D
- # [15:50] <gsnedders|work> erlehmann: How so?
- # [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
- # [15:51] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [15:51] <erlehmann> only the first five subheaders are articles, i forgot a section
- # [15:51] <gsnedders|work> Also the encoding is going wrong somewhere :P
- # [15:52] <miketaylr> heh
- # [15:52] <TabAtkins> Oooh, I'll be using that outliner in the future.
- # [15:52] <gsnedders|work> I'll probably rewrite it from something thrown together in around ten minutes :P
- # [15:53] * Joins: sbublava (n=stephan@77.118.227.219.wireless.dyn.drei.com)
- # [15:53] <TabAtkins> I need to learn Python. And get it running on a server.
- # [15:53] <TabAtkins> Or maybe I already have it on my server...?
- # [15:53] <erlehmann> gsnedders|work, i only see an article where someone submitted a bad URI (wordpresses fault)
- # [15:53] <erlehmann> gsnedders|work, sure you are using unicode internally ?
- # [15:54] <gsnedders|work> erlehmann: I think I ignore content-type :P
- # [15:54] <TabAtkins> Ah, only Python 2.5.4 is available. No Python3 goodness for me.
- # [15:54] <Rik|work> gsnedders|work: http://gsnedders.html5.org/outliner/process.py?url=google.com
- # [15:54] <gsnedders|work> TabAtkins: You don't want Python 3 yet
- # [15:54] <TabAtkins> Ok.
- # [15:54] <gsnedders|work> Rik|work: Yeah, my code is awesome.
- # [15:55] <Rik|work> a little check on "http://" might help
- # [15:55] <miketaylr> the real outline is less interesting than the error:http://gsnedders.html5.org/outliner/process.py?url=http://www.google.com/
- # [15:55] <TabAtkins> gsnedders|work, can you share code? I'd like something fun to learn from.
- # [15:55] <miketaylr> oops
- # [15:55] <miketaylr> http://gsnedders.html5.org/outliner/process.py?url=http://www.google.com/
- # [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.
- # [15:56] <gsnedders|work> TabAtkins: Just take a look at http://hg.gsnedders.com/anolis/ — it the same outlining algorithm as there
- # [15:56] <TabAtkins> kk
- # [15:56] <gsnedders|work> (and the output is based upon the TOC module)
- # [15:57] <gsnedders|work> erlehmann: Yeah, I use Unicode fine, it's just detecting the charset is wrong :)
- # [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
- # [15:57] <gsnedders|work> Probably not.
- # [15:57] <TabAtkins> Man, remove the comments and it'd be readable.
- # [15:58] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Success)
- # [15:58] <gsnedders|work> TabAtkins: It'd take ten times longer whenever I wanted to check that it matched the spec
- # [15:58] <erlehmann> jgraham, jeah, but you can learn commenting from it :p
- # [15:58] <TabAtkins> I suppose this is true.
- # [15:59] <gsnedders|work> (It also blindly follows the spec and uses Hixie-goto all over the place)
- # [15:59] <erlehmann> i hate this whole microdata issue. i had a plugin ready for deployment, then suddenly the spec turns around :(
- # [15:59] <jgraham> erlehmann: It sucks to be an early implementor.
- # [15:59] * jgraham sympathises
- # [16:00] <erlehmann> jgraham, well, if everything else fails, RDFa. its not urgent, but unfortunate nevertheless.
- # [16:00] <jgraham> erlehmann: It can't be that bad, surely? ;) What are you doing with microdata
- # [16:01] <erlehmann> creative commons markup :D
- # [16:01] * jgraham has managed to put "Inner City Pressure" in his head simply by using the word "Sympathises"
- # [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.
- # [16:01] * Joins: jacobolus (n=jacobolu@c-67-180-85-237.hsd1.ca.comcast.net)
- # [16:02] <erlehmann> jgraham, this was an early version of it, http://daten.dieweltistgarnichtso.net/src/cc-license-markup/generator2.xhtml
- # [16:02] <miketaylr> heh, chromium just barfed on the outline page: http://skitch.com/miketaylr/bh22u/chromium
- # [16:02] <jgraham> erlehmann: Oh nice. I was just thinking this morning I could use microdata for marking up license bits
- # [16:02] <gsnedders|work> The only time IE creates non-tree DOMs is with misnested formatting elements, right?
- # [16:02] <erlehmann> jgraham, you are welcome to spawn more stylesheets.
- # [16:04] <gsnedders|work> Do browsers use HTMLDocument for XHTML?
- # [16:04] <annevk2> some
- # [16:06] <hsivonen> annevk2: which ones don't?
- # [16:06] <hsivonen> annevk2: apart from ancient Gecko versions
- # [16:08] <annevk2> hsivonen, I don't think Gecko does if the media type is text/xml
- # [16:08] * Quits: Hish (n=chatzill@mail2.n-e-s.de) (Remote closed the connection)
- # [16:08] <hsivonen> annevk2: ah, OK.
- # [16:09] <hsivonen> that's non-compliant with HTML5
- # [16:09] <hsivonen> I wonder if we have a bug about it
- # [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)?
- # [16:10] <hsivonen> hmm. looks like a bug is missing
- # [16:15] <annevk2> TabAtkins, yeah, things like that have already been raised
- # [16:15] <TabAtkins> K, cool. Couldn't remember seeing anything like that.
- # [16:15] <TabAtkins> Was just going through stuff yesterday and seeing how I would replace bits with HTML5.
- # [16:17] * Joins: webben (n=benh@nat/yahoo/session)
- # [16:17] * Joins: rubys1 (n=rubys@cpe-098-027-052-152.nc.res.rr.com)
- # [16:17] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [16:17] * Joins: myakura (n=myakura@p3143-ipbf5410marunouchi.tokyo.ocn.ne.jp)
- # [16:18] <annevk2> TabAtkins, might be 2004/2005 discussions
- # [16:19] <TabAtkins> Ah, yeah, I definitely wasn't around then. Had just graduated high-school the year before. ^_^
- # [16:19] <gsnedders|work> TabAtkins: Peh! Some of us only graduated high-school in June! :P
- # [16:19] <TabAtkins> Whatev.
- # [16:20] <gsnedders|work> TabAtkins: You're old, man.
- # [16:20] <jcranmer> dang
- # [16:20] <jcranmer> I only graduated in 2008
- # [16:21] <TabAtkins> Craps, I am old. I know Anne's a few months younger than me too.
- # [16:21] <AryehGregor> I'm the class of 2005 for high school.
- # [16:21] <AryehGregor> Whoa, I never realized how young everyone was.
- # [16:21] <AryehGregor> I thought I was young.
- # [16:21] <AryehGregor> Seems not. :)
- # [16:21] <hsivonen> Hixie: Is there a reason to believe that it's Web-compatible to make text/xml documents implement HTMLDocument and SVGDocument?
- # [16:21] <jcranmer> I think gsnedders|work wins for youth, though
- # [16:21] <TabAtkins> I would agree.
- # [16:22] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [16:22] <TabAtkins> othermaciej: Congrats are in order! ::pops the cork on some champagne::
- # [16:24] <jcranmer> I have a feeling display: run-in was specced mostly with dl's in mind
- # [16:24] <TabAtkins> They are difficult to style without it sometimes.
- # [16:24] <TabAtkins> At least, without a <di> or ::di to hang things on.
- # [16:24] <annevk2> hsivonen, Opera does it
- # [16:24] <annevk2> hsivonen, iirc
- # [16:24] <annevk2> hsivonen, also, who is using text/xml anyway?
- # [16:25] <jgraham> You people make me feel so old :(
- # [16:25] <jcranmer> I hope bz gets it into FF sometime relatively soon
- # [16:25] <TabAtkins> You are old, oldie.
- # [16:25] <jcranmer> although the 1.9.2 branch has already been cut IIRC
- # [16:25] <gsnedders|work> jgraham: Yeah, well, serves you right for having a birthday cake.
- # [16:25] <jgraham> I don't think foregoing the cake would have allowed me to do the Dorian Grey thing
- # [16:26] <TabAtkins> Dont' knock it til you try it.
- # [16:26] <gsnedders|work> Well, maybe
- # [16:26] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [16:26] <Creap> what is the difference between code and samp and why should I use code for file names? in particular, file extensions
- # [16:26] <AryehGregor> samp is a silly tag that we only have because there's no active reason to get rid of it.
- # [16:26] * gsnedders|work shakes his head at jgraham and his b'day cake with its "special ingredient"
- # [16:27] <AryehGregor> I just use code all the time, personally.
- # [16:27] <gsnedders|work> Creap: In general, don't.
- # [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. ;_;
- # [16:27] <gsnedders|work> Creap: (Unless you really care.)
- # [16:27] <Creap> I'd say a filename is more often output from a program than "input" or "computer code"
- # [16:27] <Creap> gsnedders|work: don't what?
- # [16:27] <gsnedders|work> Creap: Use either, and ignore it :P
- # [16:28] <gsnedders|work> Creap: It avoids the entire debate :)
- # [16:28] <Creap> heh..
- # [16:28] <Creap> the specs say I should use code for filenames though
- # [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.)
- # [16:28] <jgraham> Creap: Just use <code>. Seriously. No one uses <samp> for anything useful anyway
- # [16:28] <Creap> or well, it says code CAN be a filename, but that example is nto included in samp
- # [16:28] <TabAtkins> Easy resolution, then: use <code> for filenames. ^_^
- # [16:29] <Creap> ok
- # [16:29] <Creap> :P
- # [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.
- # [16:29] <jcranmer> just byte the bullet
- # [16:29] <jcranmer> use <tt>
- # [16:29] <Creap> hehe
- # [16:29] * TabAtkins punkills jcranmer.
- # [16:29] <jcranmer> and screw over people who want everything to be semantic
- # [16:30] <gsnedders|work> w00t! microdata!
- # [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:..
- # [16:31] <jcranmer> I think half of the semantic tags won't be used anyways
- # [16:31] <takkaria> how is that useful? ^_^
- # [16:31] <TabAtkins> jcranmer: Nah, they'll be used, just for the wrong things.
- # [16:31] <jcranmer> since the distinction between several are a bit fine to easily put into WYSIWYG editors
- # [16:31] <TabAtkins> <nav><i> is an annoying fairy.</i></nav>
- # [16:32] <jcranmer> and people writing HTML by hand won't bother trying to edit each and every single attribute properly
- # [16:32] <Creap> takkaria: to add a hint?
- # [16:33] <hsivonen> annevk2: filed https://bugzilla.mozilla.org/show_bug.cgi?id=512688
- # [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.
- # [16:33] * Joins: sbublava_ (n=stephan@77.119.225.91.wireless.dyn.drei.com)
- # [16:34] <Creap> Ok, have fun with that and I'll have fun with doing it my way
- # [16:36] <TabAtkins> Ah, cool, setting window.search does force a refresh.
- # [16:36] * Joins: erlehmann_ (n=erlehman@tmo-105-125.customers.d1-online.com)
- # [16:36] <annevk2> hsivonen, hopefully someone fixes it :)
- # [16:38] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [16:38] * Quits: erlehmann (n=erlehman@tmo-104-247.customers.d1-online.com) (Read error: 110 (Connection timed out))
- # [16:38] * Quits: sbublava (n=stephan@77.118.227.219.wireless.dyn.drei.com) (Read error: 104 (Connection reset by peer))
- # [16:39] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [16:41] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [16:41] * Parts: zcorpan (n=zcorpan@pat.se.opera.com)
- # [16:43] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [16:58] * Joins: dglazkov (n=dglazkov@216.239.45.4)
- # [16:59] * Joins: Barttos (n=nvartolo@host-static-92-115-197-204.moldtelecom.md)
- # [17:00] * Parts: Barttos (n=nvartolo@host-static-92-115-197-204.moldtelecom.md)
- # [17:02] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
- # [17:07] <zcorpan> hsivonen: http://www.w3.org/Bugs/Public/show_bug.cgi?id=7434 is about what to expose for <h2>
- # [17:09] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [17:11] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [17:11] <hsivonen> zcorpan: oh ok
- # [17:15] * Quits: erlehmann_ (n=erlehman@tmo-105-125.customers.d1-online.com) (Read error: 110 (Connection timed out))
- # [17:19] * Parts: rubys1 (n=rubys@cpe-098-027-052-152.nc.res.rr.com)
- # [17:19] <gsnedders|work> Random programming question time: why would perl -i.bak -npe 's/\n{2,}/\n/' foo.txt not work?
- # [17:20] <jcranmer> wrong phase of moon
- # [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.
- # [17:21] <TabAtkins> To be fair, intranet app.
- # [17:23] * TabAtkins feels his conscious gnawing at him.
- # [17:23] * TabAtkins notes s/conscious/conscience/
- # [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 ...
- # [17:33] <gsnedders|work> webben: Ah
- # [17:33] * Joins: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net)
- # [17:35] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [17:35] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net) (Read error: 113 (No route to host))
- # [17:38] * Quits: cying (n=cying@adsl-75-41-125-138.dsl.pltn13.sbcglobal.net) (Read error: 104 (Connection reset by peer))
- # [17:38] * Joins: cying (n=cying@75.41.125.138)
- # [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.
- # [17:43] <takkaria> gsnedders|work: try tacking 'g' on the end?
- # [17:43] <gsnedders|work> takkaria: That doesn't fix it
- # [17:43] <TabAtkins> Nah, you need the multiline switch.
- # [17:43] <TabAtkins> I forget what it is.
- # [17:44] <gsnedders|work> No, multiline just makes ^ and $ match start and end of line
- # [17:44] <TabAtkins> I thought it did the opposite.
- # [17:44] <Dashiva> -i.bak?
- # [17:45] <TabAtkins> It's been a while since I've had to use regexps for anything serious.
- # [17:45] <takkaria> Dashiva: writes the original file out to $ORIGINAL_NAME.bak
- # [17:45] <Dashiva> Typical perl, everyone knows -i is for input
- # [17:47] <Dashiva> gsnedders|work: I'd think you need /g in any case. Does the file contain \r\n maybe?
- # [17:47] <gsnedders|work> Dashiva: No
- # [17:47] <gsnedders|work> Fuck it, I'll just use Brianfuck. That's simpler.
- # [17:47] <Dashiva> Why not use sed? :)
- # [17:48] <gsnedders|work> (to understand, that is)
- # [17:48] <TabAtkins> Sounds reasonable.
- # [17:48] <gsnedders|work> Dashiva: You can't read from one file then write back to it
- # [17:48] <beowulf> gsnedders|work: /s perhaps
- # [17:48] <AryehGregor> Newlines are magical.
- # [17:50] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-lrfiuizjgoquzeye)
- # [17:50] * Quits: cying (n=cying@75.41.125.138)
- # [17:51] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [17:52] * Quits: harig_ (n=aparan@59.90.71.35) (Read error: 110 (Connection timed out))
- # [17:55] * Joins: annevk3 (n=annevk@5355732C.cable.casema.nl)
- # [18:08] * Joins: aroben (n=aroben@nat/apple/x-gsqfjhteonaipzxf)
- # [18:10] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [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.")
- # [18:17] * Joins: doublec (n=doublec@nat/mozilla/x-zebltotblynxxmko)
- # [18:19] * Joins: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
- # [18:21] * Quits: jmb (n=jmb@login.ecs.soton.ac.uk) (Read error: 104 (Connection reset by peer))
- # [18:22] * Darxus__ is now known as Darxus
- # [18:26] * Quits: KevinMarks (n=KevinMar@c-67-164-14-96.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [18:27] * Joins: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
- # [18:27] * Joins: cying (n=cying@70.90.171.153)
- # [18:28] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [18:43] <jacobolus> some people may find this useful: http://pastie.textmate.org/595605
- # [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
- # [18:45] <jacobolus> this one mostly relies on native functions
- # [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 )
- # [18:47] * Quits: bgalbraith (n=bgalbrai@nat/mozilla/x-lrfiuizjgoquzeye)
- # [18:48] <jacobolus> oops, minor fix: http://pastie.textmate.org/595615
- # [18:55] <jacobolus> oh, extra oops; I mixed up encode/decode, like apparently about 25% of the other implementations of this
- # [18:55] <jacobolus> better: http://pastie.textmate.org/595629
- # [18:55] * Joins: danbri_ (n=danbri@unaffiliated/danbri)
- # [18:55] * Quits: sbublava_ (n=stephan@77.119.225.91.wireless.dyn.drei.com)
- # [18:56] <hallvors> love that blogger's user name - ecmanaut :)
- # [18:57] * Joins: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [18:58] * Quits: Phae (n=phaeness@132.185.144.11)
- # [18:58] * Joins: MikeSmith (n=MikeSmit@EM114-48-143-66.pool.e-mobile.ne.jp)
- # [19:03] * Quits: danbri (n=danbri@unaffiliated/danbri) (Read error: 110 (Connection timed out))
- # [19:03] * danbri_ is now known as danbri
- # [19:03] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [19:05] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 60 (Operation timed out))
- # [19:08] * Joins: KevinMarks (n=KevinMar@157.22.22.46)
- # [19:08] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Remote closed the connection)
- # [19:08] * Joins: aroben (n=aroben@nat/apple/x-myyjnqwquwhgkwjm)
- # [19:09] * Quits: cying (n=cying@70.90.171.153) (Remote closed the connection)
- # [19:10] * Joins: cying (n=cying@70.90.171.153)
- # [19:14] * Joins: jmb (n=jmb@login.ecs.soton.ac.uk)
- # [19:15] <webben> jacobolus: Is the ; at the start to prevent borking when minified JS is concatenated?
- # [19:15] * Quits: hallvors (n=hallvord@pat-tdc.opera.com) (Read error: 104 (Connection reset by peer))
- # [19:15] <jacobolus> webben: yeah, just being defensive
- # [19:16] * Joins: jwalden (n=waldo@nat/mozilla/x-bfwxpwztugynefim)
- # [19:16] <jacobolus> webben: I also religiously add semicolons to the end of each statement, even when it would end in a }
- # [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
- # [19:18] * webben prefers jacobolus's approach ;)
- # [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
- # [19:19] * Quits: foolip_ (n=philip@pat.se.opera.com) (Read error: 60 (Operation timed out))
- # [19:24] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [19:25] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
- # [19:26] * Joins: bgalbraith (n=bgalbrai@nat/mozilla/x-mhfikmhsuuozjpns)
- # [19:27] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
- # [19:31] * Quits: jwalden (n=waldo@nat/mozilla/x-bfwxpwztugynefim) ("ChatZilla 0.9.85 [Firefox 3.5.3pre/20090824030724]")
- # [19:48] * Joins: dbaron (n=dbaron@nat/mozilla/x-asitbazqigvkuqwl)
- # [19:49] * Joins: ap (n=ap@nat/apple/x-agkgfizkfudbgiak)
- # [19:51] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [19:55] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [19:56] * Joins: ojan (n=ojan@72.14.229.81)
- # [19:56] * Quits: ap (n=ap@nat/apple/x-agkgfizkfudbgiak) (Read error: 104 (Connection reset by peer))
- # [19:56] * Joins: ap (n=ap@nat/apple/x-cdfwzbilbqjzrnsa)
- # [20:08] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [20:08] * Joins: aroben_ (n=aroben@17.246.17.226)
- # [20:09] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [20:09] * Quits: aroben_ (n=aroben@unaffiliated/aroben) (Client Quit)
- # [20:10] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 60 (Operation timed out))
- # [20:13] <othermaciej> morning, folks
- # [20:14] <Hixie> morning, chair
- # [20:15] * Parts: adactio (n=adactio@host86-156-238-27.range86-156.btcentralplus.com)
- # [20:16] <othermaciej> *sigh*
- # [20:16] <annevk3> you were not planning on being co-chair?
- # [20:17] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [20:18] * Quits: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se) (Remote closed the connection)
- # [20:18] * Joins: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
- # [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
- # [20:21] * Joins: dimich_ (n=dimich@72.14.227.4)
- # [20:22] * Quits: dimich_ (n=dimich@72.14.227.4) (Client Quit)
- # [20:27] * Joins: sbublava (n=stephan@77.119.225.91.wireless.dyn.drei.com)
- # [20:27] <tantek> congrats othermaciej on your chairship! wishing you the best of luck.
- # [20:28] <othermaciej> tantek: thanks!
- # [20:28] <Hixie> i am amused that the html wg now has more chairs than most wgs have active members
- # [20:29] <othermaciej> we also have more active members than 10 WGs
- # [20:30] <gsnedders> So there are 64 WGs with more active members? :\
- # [20:30] * Hixie bops gsnedders on the head
- # [20:30] * Joins: svl (n=me@dslb-084-056-116-088.pools.arcor-ip.net)
- # [20:31] * gsnedders falls down into his whole
- # [20:31] <gsnedders> *hole
- # [20:31] <jcranmer> whole hole?
- # [20:31] <gsnedders> jcranmer: I'm not wholly sure
- # [20:32] <jcranmer> is that a holy whole hole?
- # [20:32] <jcranmer> (mole!)
- # [20:32] * gsnedders places the holy hand grenade of archigoch in the centre of the channel and walk away
- # [20:32] * jcranmer leaves
- # [20:32] * jcranmer is now known as jcranmer|NOT_HER
- # [20:33] <gsnedders> So him?
- # [20:33] <jcranmer|NOT_HER> damn nick length on freenode
- # [20:33] * jcranmer|NOT_HER is now known as jcranmer|PAS_ICI
- # [20:33] <jacobolus> Hixie: oh, you're awake. did you see my comments from the middle of the night? :)
- # [20:34] <jacobolus> (vaguely off topic for this channel maybe... or maybe Tetris bots are always on topic)
- # [20:34] * jcranmer|PAS_ICI is now known as jcranmer
- # [20:35] <Hixie> jacobolus: no, i had some problems with my irc client tonight. what's up?
- # [20:35] <jacobolus> Hixie: I like your bot at http://tetrisapp.appspot.com/
- # [20:35] <Hixie> jacobolus: and don't worry, there's no "topic" for this irc channel :-)
- # [20:36] * Joins: dpranke (n=Adium@nat/google/x-vywpvojmftxslsui)
- # [20:36] <annevk3> othermaciej, maybe you can get the HTML CG more open :)
- # [20:36] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [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
- # [20:36] <jacobolus> Hixie: and anyway, we thought it'd be fun to have a bot competition
- # [20:36] <othermaciej> annevk3: I don't even know what the HTML CG is, really
- # [20:36] <jacobolus> somewhat like that one, but with the bots competing against each other
- # [20:37] <jacobolus> and allowing anyone interested to watch the games in a browser
- # [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.
- # [20:37] <jacobolus> *if we do...
- # [20:38] <Hixie> jacobolus: i don't think i'll have the time to do anything like that anytime soon, to be honest
- # [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
- # [20:39] <jacobolus> okay, no worries.
- # [20:39] <jacobolus> Hixie: it just looked like you have a better algo than our current bots
- # [20:39] <jacobolus> (which are, frankly, pretty stupid)
- # [20:40] <jacobolus> (we match people against bots after 60 seconds if not enough humans are playing)
- # [20:40] <Hixie> jacobolus: oh well you can have the code if you want
- # [20:40] <jacobolus> oh. that'd also be neat
- # [20:40] <Hixie> (it's GPLed, i think)
- # [20:40] <jacobolus> did you put it up somewhere?
- # [20:41] <jacobolus> how old is this tetrisapp thing?
- # [20:41] <jacobolus> I just saw it on news.ycombinator yesterday
- # [20:41] <Hixie> a few months, i think
- # [20:41] <jacobolus> aha
- # [20:41] <Hixie> my bots are timestamped dec 2008
- # [20:42] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [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 :)
- # [20:45] * Joins: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [20:46] <Hixie> http://damowmow.com/playground/tetrisapp/tetrisapp.tar.gz
- # [20:46] <Hixie> is a tarball of all the files in that directory
- # [20:46] <Hixie> HTH
- # [20:46] <Lachy> I don't get the new channel topic. What happened to "Please leave your sense of logic at the door, thanks!"?
- # [20:46] <jacobolus> thanks!
- # [20:46] <Hixie> aaah, who changed the topic!
- # [20:46] <Lachy> annevk3, did apparently
- # [20:47] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [20:47] <gsnedders> See translationparty.com
- # [20:47] <gsnedders> And put the old topic in :)
- # [20:47] <jacobolus> ahahahaha
- # [20:47] <gsnedders> But now it doesn't get that any more :(
- # [20:49] <jacobolus> gsnedders: you sure you have the exact wording of the old topic the same?
- # [20:49] <gsnedders> jacobolus: Google Translate changed. See the footer of the party.
- # [20:49] <jacobolus> boo
- # [20:49] <jacobolus> did you try babelfish?
- # [20:49] <jacobolus> :)
- # [20:49] <jacobolus> babelfish korean has always given the most amusing results, in my experience
- # [20:49] <Lachy> jacobolus, yes, the topic was the same as that used for the tag line on http://blog.whatwg.org/
- # [20:50] <jacobolus> that is, english -> korean -> english -> etc.
- # [20:54] <jacobolus> "Please leave your sense of logic at the door, thanks!"
- # [20:54] <jacobolus> "Logic and thanks will wind to the gate, to leave!"
- # [20:54] <jacobolus> "With logic as for thanks to the gate, in order to leave to relax!"
- # [20:54] <jacobolus> "To the gate regarding a thanks with logic, in order to relax in order to leave!"
- # [20:54] <jacobolus> "In order to leave about the thanks which had a logic to the gate, in order to relax!"
- # [20:54] <jacobolus> "In order to leave refers to the thanks which had a logic in the gate, in order to relax!"
- # [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"
- # [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"
- # [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"
- # [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"
- # [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)
- # [20:54] <miketaylr> ^C
- # [20:54] <jacobolus> :)
- # [20:54] <miketaylr> ;)
- # [20:54] <jacobolus> miketaylr: I figured this was amusing enough to be worth it ;)
- # [20:55] <miketaylr> jacobolus: i just want to know what a Huaihe woman is.
- # [20:55] <jacobolus> me too
- # [20:57] <Hixie> Lachy: feel free to change the topic back btw
- # [20:58] <jacobolus> since when has blog.whatwg.org had a theme?
- # [20:58] <jacobolus> that's much nicer.
- # [20:58] <Hixie> a while now
- # [20:58] <jacobolus> I guess I just see it in a feed reader
- # [21:00] * Joins: hobertoAtWork (n=hobertoa@gw1.mcgraw-hill.com)
- # [21:01] * Joins: VasilievVV (n=vvv@cdma-92-36-6-78.msk.skylink.ru)
- # [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!'
- # [21:03] <gsnedders> Oh dear, has Lachy tried writing a language that's not English again?
- # [21:03] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Success)
- # [21:03] * Joins: Hish_ (n=chatzill@mail2.n-e-s.de)
- # [21:04] <Lachy> gsnedders, ja, jeg skrev på norsk
- # [21:09] <gsnedders> Anyhow, I need to get to the cinema.
- # [21:09] * Quits: gsnedders (n=gsnedder@c83-252-192-255.bredband.comhem.se)
- # [21:12] * Joins: mpilgrim (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com)
- # [21:13] * VasilievVV is now known as vvv
- # [21:13] <mpilgrim> i use <samp>, damn it
- # [21:15] <annevk3> Hixie, you could consider naming it "URL decomposition DOM attributes" I suppose
- # [21:17] <annevk3> what happened to <samp>?
- # [21:19] <mpilgrim> nothing
- # [21:19] <mpilgrim> just some people dissing it earlier (check the backscroll)
- # [21:22] * Joins: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
- # [21:27] * Joins: taf2 (n=taf2@38.99.201.242)
- # [21:29] <TabAtkins> I am unreasonably amused by the use of data urls for simple html/css/js examples.
- # [21:34] * Quits: Hish_ (n=chatzill@mail2.n-e-s.de) (Read error: 104 (Connection reset by peer))
- # [21:41] * Joins: othermaciej (n=mjs@17.246.16.249)
- # [21:44] <Hixie> annevk3: yeah, maybe.
- # [21:51] * Joins: aroben (n=aroben@nat/apple/x-zehdelpuupgauzdo)
- # [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
- # [21:53] <annevk3> what if the inner item is not associated with the outer item?
- # [21:54] <annodomini> Don't do that, or associate it with something else using @about? Good question, though, I'll think about that.
- # [21:54] <TabAtkins> I like the overall idea, *especially* the simplified JSON parsed out of it.
- # [21:55] <TabAtkins> That is much closer to what I'd use to mark up the data in json
- # [21:55] * Quits: doublec (n=doublec@nat/mozilla/x-zebltotblynxxmko) (Read error: 110 (Connection timed out))
- # [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.
- # [21:56] * Joins: doublec (n=doublec@nat/mozilla/x-knrufuhetqjpuees)
- # [21:57] <TabAtkins> So nested items are automatically associated with the nearest Microdata ancestor unless @about overrides, right?
- # [21:57] <annodomini> Right.
- # [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.
- # [21:58] <TabAtkins> But yeah, that seems fine.
- # [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.
- # [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.
- # [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
- # [22:01] <TabAtkins> Yeah, that just means you have to pepper things with @id, but meh.
- # [22:01] <annevk3> maybe you could allow about="" to unassociate it with the outer item
- # [22:01] <TabAtkins> And drop immediately to beina top-level item?
- # [22:02] <annodomini> annevk3: That could work.
- # [22:02] <annevk3> or something like item="standalone org.example.bar"
- # [22:02] <TabAtkins> If we were going to do *that*, I'd probably just use another attribute.
- # [22:02] <TabAtkins> @standalone
- # [22:02] <TabAtkins> @topitem
- # [22:02] <TabAtkins> @root?
- # [22:03] <annevk3> rootitem or topitem seems clearer
- # [22:03] <annevk3> anyway, more details would be good
- # [22:03] <annodomini> What details in particular should I concentrate on for my more complete proposal? API, more use case examples, something else?
- # [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.
- # [22:05] <annodomini> I should obviously address the un-associating question, though I think the @about="" or @rootitem ideas sound like pretty plausible solutions.
- # [22:05] * annodomini nods
- # [22:05] * Quits: miketaylr (n=mtaylor@38.117.156.163)
- # [22:05] * Quits: ap (n=ap@nat/apple/x-cdfwzbilbqjzrnsa)
- # [22:07] <TabAtkins> The major objection I anticipate is the "only leaf nodes can have content directly" bit.
- # [22:07] <annevk3> yeah, more examples that demonstrate how your proposal compares to the spec
- # [22:07] <TabAtkins> I dunno if it'll be an issue.
- # [22:08] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Connection timed out)
- # [22:09] * Joins: miketaylr (n=mtaylor@38.117.156.163)
- # [22:10] * Quits: aroben (n=aroben@unaffiliated/aroben)
- # [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.")
- # [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
- # [22:16] <MikeSmith> *responses
- # [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.
- # [22:17] <annodomini> MikeSmith: Yeah, I'll write up some more examples and explain how it works.
- # [22:17] <annevk3> oh it was renamed?
- # [22:17] <annodomini> That does sound like the best use of my time.
- # [22:17] * annevk3 is not really up to speed
- # [22:18] <TabAtkins> Eh, we knew what you meant, annodomini.
- # [22:18] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [22:19] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [22:20] <annodomini> TabAtkins: Yeah, everyone here seemed to understand, but I figured I'd clarify for posterity in the logs, if anyone cares.
- # [22:26] <krijn> -_-
- # [22:26] <TabAtkins> Aw, why is krijn sad?
- # [22:26] <krijn> Bit tired after 12 hours working
- # [22:26] <TabAtkins> I would imagine.
- # [22:27] * Joins: ap (n=ap@nat/apple/x-yiyxairzlxjavfij)
- # [22:31] <krijn> But, very pleased with the results, this HTML5 stuff is quite handy for building sites with :)
- # [22:31] <TabAtkins> Heh, cool.
- # [22:31] <TabAtkins> What're you having fun with?
- # [22:32] <krijn> Basically just the doctype ;)
- # [22:32] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
- # [22:32] <TabAtkins> I'm pretty sure that's when I fell in love too.
- # [22:33] <krijn> Block level anchors, less silly attributes on script/link, that's about as far as I can go atm
- # [22:34] <TabAtkins> If you're willing to shim ie, you can use the new sectioning elements too.
- # [22:34] <krijn> I know, but I don't really see the advantage in that just yet
- # [22:34] * Quits: tantek (n=tantek@pool-173-67-103-206.lsanca.dsl-w.verizon.net)
- # [22:34] <TabAtkins> They make my page a bit easier to read.
- # [22:34] <krijn> And then your code gets mangled by some J2EE backend
- # [22:35] <krijn> And out goes your readability :)
- # [22:35] <TabAtkins> Luckily don't have to do crap with that. ^_^ All hand-coded php around here.
- # [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
- # [22:38] * Joins: tndH_ (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [22:38] <krijn> So, we're the only two authors here?
- # [22:39] * Quits: webben (n=benh@nat/yahoo/x-aaqiwtlrlrxihgdb) (clarke.freenode.net irc.freenode.net)
- # [22:39] * Quits: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net) (clarke.freenode.net irc.freenode.net)
- # [22:39] * Quits: Creap (n=Creap@vemod.brg.sgsnet.se) (clarke.freenode.net irc.freenode.net)
- # [22:39] * Quits: Dashiva (i=Dashiva@m223j.studby.ntnu.no) (clarke.freenode.net irc.freenode.net)
- # [22:39] * Quits: hsivonen (n=hsivonen@kekkonen.cs.hut.fi) (clarke.freenode.net irc.freenode.net)
- # [22:39] * Quits: kinetik (n=kinetik@121.98.132.55) (clarke.freenode.net irc.freenode.net)
- # [22:39] * Quits: bzed (n=bzed@devel.recluse.de) (clarke.freenode.net irc.freenode.net)
- # [22:40] * Joins: webben (n=benh@nat/yahoo/x-aaqiwtlrlrxihgdb)
- # [22:40] * Joins: TabAtkins (n=chatzill@99-35-179-251.lightspeed.hstntx.sbcglobal.net)
- # [22:40] * Joins: Creap (n=Creap@vemod.brg.sgsnet.se)
- # [22:40] * Joins: Dashiva (i=Dashiva@m223j.studby.ntnu.no)
- # [22:40] * Joins: bzed (n=bzed@devel.recluse.de)
- # [22:40] * Joins: kinetik (n=kinetik@121.98.132.55)
- # [22:40] * Joins: hsivonen (n=hsivonen@kekkonen.cs.hut.fi)
- # [22:40] <MikeSmith> TabAtkins: if you love HTML5 so much, maybe the two of you should get married
- # [22:40] <MikeSmith> or you should send a love note
- # [22:41] <MikeSmith> Dear HTML5, I like you. Do you like me?
- # [22:41] <Dashiva> TabAtkins: What uses HTML that isn't a user agent?
- # [22:41] <TabAtkins> Dashiva: Apparently link-checkers.
- # [22:42] <TabAtkins> MikeSmith: I'm already married, unfortunately. ;_; (Don't tell my wife.)
- # [22:42] * Quits: pmuellr (n=pmuellr@nat/ibm/x-uhzhjnnyqgtajwvp)
- # [22:43] <krijn> TabAtkins: she doesn't know you're already married?
- # [22:44] <TabAtkins> krijn: The circumstances were honestly confusing for all involved, and I'd rather not upset her.
- # [22:44] <TabAtkins> ^_^
- # [22:44] <krijn> Heh
- # [22:44] <Dashiva> TabAtkins: I'd say a link checker is a user agent. Or is user agent just a euphemism for browser now?
- # [22:44] <TabAtkins> I'm pretty sure that's the distinction Roy is using.
- # [22:45] * Joins: jwalden (n=waldo@nat/mozilla/x-arotujfebjfakkas)
- # [22:46] * Quits: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) (Read error: 110 (Connection timed out))
- # [22:46] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [22:47] <KevinMarks> http://www.computerworld.com/s/article/9136919/Web_OS_Still_in_the_early_stages?taxonomyId=16&pageNumber=4
- # [22:48] <KevinMarks> fairly sure I didn't say "On top of HTML5 are REST APIs, standards such as XML and JSON, and OAuth"
- # [22:48] <othermaciej> KevinMarks: aren't you now not at Google?
- # [22:48] <KevinMarks> yep, not been at google for 2 months
- # [22:48] <KevinMarks> this must be a very old conversation
- # [22:49] <othermaciej> KevinMarks: that wasn't a direct quote, so maybe instead of "on top of" they meant "in addition to"
- # [22:50] * Quits: doublec (n=doublec@nat/mozilla/x-knrufuhetqjpuees) (Read error: 110 (Connection timed out))
- # [22:50] * Joins: billyjackass (n=MikeSmit@EM114-48-28-56.pool.e-mobile.ne.jp)
- # [22:50] <billyjackass> Dashiva: a context-sensitive editing application
- # [22:51] * Quits: MikeSmith (n=MikeSmit@EM114-48-143-66.pool.e-mobile.ne.jp) (Nick collision from services.)
- # [22:51] * billyjackass is now known as MikeSmith
- # [22:52] <KevinMarks> right, I think I was explaining how these things are composable and work together
- # [22:52] <KevinMarks> and build on previous work
- # [22:53] <KevinMarks> or maybe he paraphrased it from this: http://epeus.blogspot.com/2008/12/cycling-to-new-layers-of-freedom.html
- # [22:58] <Hixie> annodomini: it's an interesting idea, though it basically means removing types altogether, which makes it much harder to scope identifiers
- # [22:58] * Joins: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [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.
- # [22:58] <annodomini> Hixie: The idea is that the names are the types.
- # [22:59] <Hixie> names and types are different things
- # [22:59] <Hixie> say you have an item that represents a book
- # [22:59] <Hixie> and the book has two editors and two authors
- # [22:59] <annodomini> If you want a vcard vocabulary, you use org.example.vcard or http://example.org/vcard as a type instead.
- # [22:59] <Hixie> editors and authors are both vcards
- # [22:59] <Hixie> so how would you distinguish the authors and the editors?
- # [23:00] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Success)
- # [23:00] <annevk3> <span item=authors> <vcard/> <vcard> </span> <span item=editors> ... </span> maybe?
- # [23:00] <annodomini> <div item="book"><div item="editor
- # [23:00] <TabAtkins> That's what I was about to suggest, too.
- # [23:01] <annodomini> Yeah, that's basically what I was in the middle of typing when I hit return too soon.
- # [23:01] <Hixie> in that example, "authors" and "editors" are both items whose type os "list of vcards"
- # [23:01] <TabAtkins> Yes...?
- # [23:01] <Hixie> so how would you find all the objects whose type is "list of vcards"?
- # [23:02] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [23:02] <TabAtkins> Are we reasoning about vocabs here, or can we assume that the tool explicitly knows the vocabs being used?
- # [23:02] <annodomini> Walk through the data structure and pull out all everything with item="vcard"?
- # [23:02] <Hixie> TabAtkins: we're assuming a tool that doesn't know any vocabs except the ones it wants
- # [23:02] <TabAtkins> Then it just walks and finds <vcard>s.
- # [23:03] <Hixie> <div item=book> <div item=editors> <div item=vcard> <div item=fn>A Person</div> </div> </div> </div>
- # [23:03] <Hixie> vs
- # [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".
- # [23:03] <Hixie> <div item=book> <div itemprop=editor item=vcard> <div itemprop=fn>A Person</div> </div> </div>
- # [23:03] <TabAtkins> Yeah, you win a bit on terseness.
- # [23:03] <Hixie> TabAtkins: "authors" and "editors" are names, not types
- # [23:04] <Hixie> it's like the difference between a variable name and a variabel type
- # [23:04] <annodomini> How about <div item=book><div item="editor vcard"><div itemprop=fn>Someone</div></div></div>
- # [23:04] * Joins: cying_ (n=cying@70.90.171.153)
- # [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.
- # [23:05] <TabAtkins> The book vocabulary has "authors" and "editors" values. These are types of values.
- # [23:05] <Hixie> TabAtkins: id="" doesn't take part in the model we're discussing as far as i'm aware
- # [23:05] <annevk3> annodomini, I don't think that's very clear
- # [23:05] <TabAtkins> Implicitly with @subject, Hixie.
- # [23:05] <Hixie> TabAtkins: yeah, subject="" is a whole other ball game
- # [23:06] <annevk3> with subject it's just a linking mechanism
- # [23:06] <TabAtkins> Yeah.
- # [23:06] <TabAtkins> So, my point is that I don't like the analogy. ^_^
- # [23:06] <Hixie> i'm surprised that this name vs type distinction has caused so much confusion
- # [23:06] <Hixie> i really thought it was obvious
- # [23:06] <Hixie> but almost everyone who has commented on microdata has been confused about it
- # [23:06] <TabAtkins> I think it *is* obvious Hixie. But it can be obviouser.
- # [23:06] * Joins: vvv (n=vvv@cdma-92-36-6-241.msk.skylink.ru)
- # [23:07] * Quits: jwalden (n=waldo@nat/mozilla/x-arotujfebjfakkas) (Read error: 60 (Operation timed out))
- # [23:07] <annevk3> itemtype/itemprop maybe
- # [23:07] <TabAtkins> Well, hrm. Okay, here's the issue. @item has a type. But @itemprop only has a name. That seems arbitrary.
- # [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)
- # [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.
- # [23:07] <Hixie> annodomini: the need for types comes from the need to unambiguously specify what the property names are
- # [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.
- # [23:08] <Hixie> annodomini: so that a validator can validate vcards found within other vocabularies that it doesn't know about
- # [23:08] <Hixie> TabAtkins: in the spec, the types are optional, the names are required.
- # [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.
- # [23:09] <annevk3> TabAtkins, what if you want a property that is named vcard?
- # [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
- # [23:09] <annevk3> I think Hixie is right and that it doesn't really work well
- # [23:10] <TabAtkins> Then we have problems, annevk3.
- # [23:10] <TabAtkins> Are we scoping prefixes on @item?
- # [23:10] <Hixie> TabAtkins: that doesn't work because you have no way to know if an item is a type or a name
- # [23:10] <TabAtkins> At least, in a general sense?
- # [23:10] <annevk3> there are no prefixes
- # [23:10] <TabAtkins> Hixie, I'm not yet convinced that's a useful distinction.
- # [23:10] <annodomini> Actually, I would propose that we use URLs or reversed domains for our "top-level" names like vcard
- # [23:11] <TabAtkins> annevk3: Then how do you distinguish a vcard from anything else in the current proposal?
- # [23:11] <Hixie> TabAtkins: in which proposal? in the spec?
- # [23:11] <TabAtkins> Yeah.
- # [23:11] * Joins: hober (n=ted@unaffiliated/hober)
- # [23:11] <Hixie> TabAtkins: in the spec, property names and item types use separate attributes with no overlap
- # [23:11] <TabAtkins> Yeah, so the type of the ancestor @item is implicitly prefixing the @itemprop, right?
- # [23:12] <Hixie> no?
- # [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.
- # [23:12] <TabAtkins> In a general sense of the word "prefixing".
- # [23:12] <Hixie> no more so than an <object> element is "prefixing
- # [23:12] <Hixie> " the <param> elements
- # [23:12] <TabAtkins> That's the sense I mean, I think.
- # [23:12] <TabAtkins> In that the <param> is implicitly assigned to the <object> parent.
- # [23:12] <Hixie> if you mean that itemprop="" names are scoped to their item="", then yes
- # [23:13] <TabAtkins> K, yes.
- # [23:13] <TabAtkins> Now what's wrong the problem with having @itemprop names scoped to their nearest ancestor @itemprop?
- # [23:13] <annevk3> but itemprop=foo stays foo and does not become bar.foo or something for an item bar
- # [23:13] <hober> but not by string-bashing their names together
- # [23:13] <Hixie> annodomini: unless we prevent names from using that syntax also, that doesn't solve the problem
- # [23:13] <hober> (what annevk3 said)
- # [23:14] <Hixie> TabAtkins: nothing is particularly wrong with that either
- # [23:14] <annodomini> Hixie: Can you expand? Unless we prevent what names from using what syntax?
- # [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?
- # [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?
- # [23:15] <TabAtkins> They're all both?
- # [23:15] * Joins: jwalden (n=waldo@nat/mozilla/x-htjclrdttjnfyczx)
- # [23:15] <Hixie> names and types aren't the same thing
- # [23:15] <TabAtkins> And a consumer knows what name/types to look for, and grabs its children too.
- # [23:15] <annodomini> Right. Those are all fully qualified names, with whatever types are implicit in the definition of those names.
- # [23:15] <Hixie> that's the microformats model
- # [23:15] <Hixie> that's exactly what we're trying to move away from here
- # [23:16] <annodomini> Hixie: Why are we trying to move away from that?
- # [23:16] <TabAtkins> I can't understand the difference. What problem is solved by having two different flavors of name?
- # [23:16] <annevk3> TabAtkins, no
- # [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
- # [23:16] <annevk3> TabAtkins, afaict that's wrong
- # [23:16] <Hixie> TabAtkins: see, i told you you were confused about types :-)
- # [23:17] <TabAtkins> Hixie: Bah, fine, you win that point. ^_^
- # [23:17] <Hixie> i think i need to work out a new data model that doesn't use types at all
- # [23:17] <TabAtkins> annevk3: Seriously? So names have to be web-global?
- # [23:17] <annevk3> TabAtkins, rtfm ;)
- # [23:17] <Hixie> though i've no idea how to do that
- # [23:17] <TabAtkins> Bah, I can ask you instead.
- # [23:18] <annevk3> ok, yes
- # [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.
- # [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?
- # [23:19] <annevk3> you could I suppose have a thing where reversed DNS/URIs are the types and simple strings are the properties
- # [23:19] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [23:19] <Hixie> TabAtkins: yeah
- # [23:19] <annevk3> and predefined types would have the form of w3c.vcard or something
- # [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)"
- # [23:20] <annevk3> not sure it's very nice and not sure it would be shorter than Microdata
- # [23:20] <Hixie> TabAtkins: and the other is "here is what the relationships used in this item mean"
- # [23:20] * Quits: cying (n=cying@70.90.171.153) (Connection timed out)
- # [23:20] * cying_ is now known as cying
- # [23:20] <TabAtkins> Hixie: yeah, what I said. ^_^
- # [23:21] * Quits: sbublava (n=stephan@77.119.225.91.wireless.dyn.drei.com)
- # [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.
- # [23:21] <Hixie> maybe that's ok
- # [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.
- # [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.
- # [23:22] <TabAtkins> So compositing might be more difficult?
- # [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.
- # [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
- # [23:24] <TabAtkins> Nah, it just finds anything with the property-name "i.am.a.vcard" or whatever.
- # [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>
- # [23:24] * Joins: doublec (n=doublec@nat/mozilla/x-tpdeipxtneadronr)
- # [23:24] <annodomini> Yes, it's an extra level of nesting, but it still provides everything that you need for that use case.
- # [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.
- # [23:24] <Hixie> no, that's just wrong
- # [23:25] <Hixie> you're again mixing the relationship with the parent with the definition of the relationships of the children
- # [23:25] <TabAtkins> Tell me how annodomini's example is ambiguous, then.
- # [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
- # [23:25] <Hixie> but it can't sometimes do one and sometimes do the other
- # [23:25] <TabAtkins> Or how a consumer would need to know about org.example.book to find the org.w3.vcard
- # [23:26] <annevk3> Hixie, it's overloading item
- # [23:26] <Hixie> exactly
- # [23:26] <TabAtkins> Exactly.
- # [23:26] <annevk3> Hixie, when it contains a . it's the type and otherwise it's a name
- # [23:26] <Hixie> what is the relationship between the item with item=author, and the item with item=org.w3.vcard?
- # [23:26] <annevk3> Hixie, certainly possible, not sure whether it's elegant
- # [23:26] <Hixie> it's Wrong
- # [23:26] <Hixie> capital W
- # [23:26] <TabAtkins> Hixie, that's up to the org.example.book vocab to define.
- # [23:27] <Hixie> it's worse than perl having variables prefixed by their type sigil
- # [23:27] <hober> TabAtkins: that's the problem
- # [23:27] <Hixie> what hober said
- # [23:27] <annevk3> Hixie, I think author would be the property and vcard it's type
- # [23:27] <hober> TabAtkins: you need to know org.example.book to parse in such a case
- # [23:27] <Hixie> annevk3: then we're not making things simpler
- # [23:27] <Hixie> annevk3: i don't think that's what they're proposing
- # [23:27] <annodomini> No, you don't need to know org.example.book to parse it.
- # [23:27] <TabAtkins> hober: if you want to parse the book vocab, yes.
- # [23:27] <TabAtkins> It's not necessary if you just want to find vcards.
- # [23:27] <annodomini> You only need that to figure out how the vcard relates to the book.
- # [23:28] * TabAtkins nods at annodomini
- # [23:28] <hober> ... which is the problem
- # [23:28] <annodomini> No, that's not the problem.
- # [23:28] <TabAtkins> ...?
- # [23:28] <annevk3> Hixie, I think TabAtkins is confused and annodomini and I agree, but I could be wrong :)
- # [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*?
- # [23:28] <annevk3> Hixie, I'm not sure whether it's simpler
- # [23:28] <Hixie> TabAtkins: if you are trying to parse the book, what is the relationship?
- # [23:28] <TabAtkins> If you just care about the vcard, there you go. There's a vcard. Go get it.
- # [23:29] <Hixie> what if you're parsing the book?
- # [23:29] <TabAtkins> Hixie: if you're trying to parse the book, what's the relationship between "book" and "author"?
- # [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
- # [23:29] <TabAtkins> That's up to the book vocab to define.
- # [23:29] <annodomini> hober: You can still have a generic parser.
- # [23:29] <annodomini> There
- # [23:29] <TabAtkins> The one failure is that you can't look at a page and say "these are the vocabs I've found".
- # [23:29] <Hixie> TabAtkins: the book vocab would define that "author" is the item that is the author of the book
- # [23:29] <annodomini> There's nothing non-generic about what I've proposed.
- # [23:30] <annevk3> TabAtkins, you can, you don't understand his proposal :/
- # [23:30] <TabAtkins> And the book vocab can then define that the contents of "author" are the deteails about the author.
- # [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
- # [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.
- # [23:30] * annevk3 bows out of this discussion as it's way too confused to be useful
- # [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.)
- # [23:30] <TabAtkins> The fact that the author's details are encoded in a vcard are irrelevant to the book.
- # [23:31] <Hixie> TabAtkins: what is the relationship between the item with item=org.w3.vcard and the item with item=author?
- # [23:31] <TabAtkins> Implicit child in the data tree?
- # [23:32] <Hixie> which vocabulary defines that? book, or vcard?
- # [23:32] <annodomini> Book would define that.
- # [23:32] <Hixie> so book is defining the meaning of vcard's own identifier?
- # [23:32] <TabAtkins> Neither. Why does either need to? And how does the current spec resolve this?
- # [23:32] <Hixie> TabAtkins: the current spec never mixes types and names
- # [23:32] <annodomini> It would define how a vcard relates to the author. How to interpret a vcard as an author.
- # [23:33] <TabAtkins> There is a fundamental point that we're talking past each other on. >_<
- # [23:33] <Hixie> TabAtkins: so you have one attribute to specify the relationship, and another to define the type
- # [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.
- # [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.
- # [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.
- # [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
- # [23:34] <TabAtkins> But having the book vocab say "the 'author' property encodes the author's details in a 'vcard'".
- # [23:35] <TabAtkins> Hixie: Why do you lose that ability, though?
- # [23:35] <Hixie> i don't know how to explain this any better than i already have
- # [23:35] <annodomini> Well, if you use item="org.w3.vcard", then everything about that vcard can be validated.
- # [23:35] <TabAtkins> You see a property named org.w3.vcard. It's a vcard. this is a global name.
- # [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?
- # [23:35] <Hixie> what you're suggesting is equivalent to having typed structures defined like this:
- # [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.
- # [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"."
- # [23:37] <TabAtkins> Is that last one supposed to be three different types at the same time?
- # [23:37] <Hixie> s/vcard geo record/address record/
- # [23:38] <Hixie> or s/.../string/
- # [23:38] <TabAtkins> kk.
- # [23:38] <Hixie> my point is that you're saying "age has a value integer, integer has a value 28"
- # [23:38] <Hixie> which is compeltely bogus
- # [23:38] <TabAtkins> Hrm?
- # [23:38] * Quits: weinig (n=weinig@lit75-4-88-167-34-190.fbx.proxad.net)
- # [23:39] <TabAtkins> <div item="person"><span item="age><span item="integer">28</span></span>...</div>?
- # [23:39] <Hixie> right
- # [23:39] <TabAtkins> Why would I be defining a data model like that?
- # [23:39] <Hixie> it's what you're doing!
- # [23:39] <TabAtkins> Only if you need to know the type of arbitrary unknown vocab properties.
- # [23:39] <Hixie> except s/age/author/ and s/integer/vcard/
- # [23:39] <Hixie> a vcard doesn't have a value
- # [23:39] <TabAtkins> In practice, "person" knows that "age" is an integer, so that gets omitted. Consumers of "person" also know this.
- # [23:39] <Hixie> an integer doesn't have a value
- # [23:39] <Hixie> a vcard IS a value
- # [23:39] <Hixie> an integer IS a value
- # [23:40] <TabAtkins> Oh, I see what you're saying.
- # [23:40] <TabAtkins> Dont' think it's necessary to maintain that sort of purity, though.
- # [23:41] <Hixie> anyway all this is academic
- # [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?
- # [23:41] <Hixie> the problem with having to look at all descendants is a much bigger issue
- # [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?
- # [23:42] <annodomini> Hixie: Is that a big issue?
- # [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
- # [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
- # [23:43] <Hixie> annevk3: yeah, i think that's a blocker, sadly
- # [23:43] <Hixie> annevk3: hm?
- # [23:43] <annodomini> Hixie: Hmm. Yeah, that is a bit of a problem.
- # [23:43] * Joins: onar (n=onar@17.226.20.255)
- # [23:43] <annevk3> Hixie, oh sorry, predefined global property name
- # [23:44] <Hixie> annevk3: yeah, that's a danger
- # [23:44] <annevk3> Hixie, that won't scale very well
- # [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)
- # [23:44] <TabAtkins> Hixie: Ah, I see what you're talking about with that now.
- # [23:44] <Hixie> hm, this problem sucks
- # [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?
- # [23:45] <Hixie> TabAtkins: whether it's supposed to or not doesn't really matter
- # [23:45] <Hixie> it also means you can't model a property whose value is an item with no properties
- # [23:45] <Hixie> though that's not a biggie
- # [23:45] <TabAtkins> Not without double-wrapping, sure.
- # [23:46] <Hixie> double wrapping?
- # [23:46] <Hixie> you can't do it whatever you do as far as i can tell
- # [23:46] <annodomini> Hixie: Wh would you want an item with no properties?
- # [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...
- # [23:47] <Hixie> annodomini: you wouldn't want it, necessarily, but you might run into it e.g. while filling in an incomplete page
- # [23:47] <annodomini> Can't you represent the same thing by just not having the item in the first place?
- # [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.
- # [23:47] <Hixie> annodomini: or e.g. in automatically generated content
- # [23:48] <Hixie> annodomini: typically in a template generator you don't know if you have any data when you generate the outer part
- # [23:48] * Joins: aroben (n=aroben@nat/apple/x-clkfmbqhhouajsgn)
- # [23:48] <Hixie> TabAtkins: no, it would return a string
- # [23:48] <TabAtkins> Hmm, yes, if processed generically with no knowledge of the org.example.book vocab.
- # [23:49] <TabAtkins> Is it wrong for a parser with knowledge of the book vocab to parse differently?
- # [23:49] <Hixie> yes
- # [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?
- # [23:49] <Hixie> the whole point is that the result is unambiguous
- # [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.
- # [23:50] <TabAtkins> Yeah, so is it cool for a downstream tool to interpret a string as an object with no properties?
- # [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.
- # [23:50] * Quits: SamerZ (n=SamerZ@CPE0024369ef3ab-CM001ac35cd4b4.cpe.net.cable.rogers.com)
- # [23:50] <annodomini> You could do that, but that just feels wrong to me.
- # [23:51] <Hixie> it also makes the code to handle it much harder
- # [23:51] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [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
- # [23:51] <Hixie> it also makes it much harder to detect actual errors
- # [23:52] <Hixie> and means that you can't easily have properties that take either a string or an item
- # [23:52] <TabAtkins> That is true - you'd have to have properties be one or the other.
- # [23:52] <TabAtkins> Unless you wanted to differentiate based on the contents of the string, which *is* horrifying.
- # [23:53] <annodomini> OK, thanks for the feedback, Hixie.
- # [23:53] <Hixie> thanks for your feedback too
- # [23:53] * annodomini goes back to the drawing board
- # [23:53] <Hixie> i'm working on a third variant
- # [23:53] <Hixie> that uses some of your ideas
- # [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.
- # [23:54] <annodomini> But I'm going to withdraw my proposal in its current form; you're right that there are too many problems.
- # [23:55] * Quits: taf2 (n=taf2@38.99.201.242)
- # [23:55] <annevk3> Hixie, is the second alternative online already?
- # [23:55] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/temp
- # [23:56] <Hixie> just examples so far
- # Session Close: Thu Aug 27 00:00:00 2009
The end :)