Options:
- # Session Start: Fri Sep 25 00:00:00 2009
- # Session Ident: #whatwg
- # [00:01] * Quits: miketaylr (n=miketayl@38.117.156.163)
- # [00:02] * Joins: drunknbass_work (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net)
- # [00:04] * Joins: masinter (n=user@30-6-166.wireless.csail.mit.edu)
- # [00:06] * Parts: kristallpirat (n=kristall@c-base/crew/kristall) ("ist raus!")
- # [00:15] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [00:16] * Joins: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se)
- # [00:16] * Joins: dglazkov_ (n=dglazkov@nat/google/x-mfbnasdgcrtpulyf)
- # [00:17] * Joins: fishd (n=darin@nat/google/x-oasqxpgneqtiqjbx)
- # [00:19] * Quits: fishd (n=darin@nat/google/x-oasqxpgneqtiqjbx) (Client Quit)
- # [00:19] * Quits: Steve^ (n=steve@92.40.100.74) ("Leaving")
- # [00:21] * Quits: maotzetung_ (n=mao@dynamic-adsl-94-37-70-193.clienti.tiscali.it) (Read error: 60 (Operation timed out))
- # [00:24] * Joins: jianli (n=jianli@74.125.59.73)
- # [00:24] <zcorpan> - <dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
- # [00:24] <zcorpan> + <dd>Use <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
- # [00:25] <zcorpan> Hixie: ^ mistake?
- # [00:25] <Hixie> no
- # [00:25] <Hixie> :-)
- # [00:26] <zcorpan> ah
- # [00:32] * Quits: dglazkov (n=dglazkov@nat/google/x-areckotpbcimjggo) (Read error: 110 (Connection timed out))
- # [00:32] * dglazkov_ is now known as dglazkov
- # [00:35] <Lachy> is there anyone from webkit here who can explain why Element.webkitMatchesSelctor() doesn't work in the latest nightly? https://bugs.webkit.org/show_bug.cgi?id=29703 - The bug says it landed in r48723, and I have r48730 installed
- # [00:36] <Lachy> weinig, ^
- # [00:36] * Quits: matijsb (n=matijsb@hotfusion.demon.nl)
- # [00:36] <weinig> Lachy: hm, not sure
- # [00:37] <weinig> tries it out
- # [00:40] <weinig> Lachy: it seems to be working for me in the latest nightly
- # [00:40] * weinig will upload a test case
- # [00:42] <weinig> Lachy: what score do you get on https://bug-29703-attachments.webkit.org/attachment.cgi?id=40087 ?
- # [00:42] <weinig> JohnResig: are you around?
- # [00:42] <Lachy> 99.2%: 2406 passed, 20 failed
- # [00:42] <weinig> ok, then that is it working
- # [00:42] <Lachy> it's failing the webkitMatchesSelector tests
- # [00:43] <weinig> all of them?
- # [00:43] * Quits: masinter (n=user@30-6-166.wireless.csail.mit.edu) (Read error: 110 (Connection timed out))
- # [00:43] * Quits: ttepasse (n=ttepas--@p5B017C5C.dip.t-dialin.net) ("?Q")
- # [00:43] <Lachy> yes, all 4 of them
- # [00:44] <weinig> that test has a lot more than 4
- # [00:44] <weinig> we are failing the "no value" ones
- # [00:44] <Lachy> ok, then it must be passing the rest.
- # [00:44] <weinig> yes
- # [00:44] <Lachy> that's weird. Not working for me in the live dom viewer
- # [00:45] <weinig> Lachy: odd
- # [00:46] <Lachy> ah, nevermind. I made a stupid error
- # [00:47] <Lachy> missed the [0] on the end of getElementsByTagName("p"); so it was trying to do it on the NodeList.
- # [00:47] <weinig> :)
- # [00:48] * Joins: doublec (n=doublec@203-97-204-82.dsl.clear.net.nz)
- # [00:48] <weinig> Lachy: I used the same rules as querySelector/all with regards to stringifying null/undefined (we do it), throwing on the empty string, and throwing if any of the selectors need namespace resolution
- # [00:48] <zcorpan> Hixie: is it intended that WorkerGlobalScope's onerror's function is invoked with three arguments (which the spec says, afaict), rather than firing an ErrorEvent at the WorkerGlobalScope (which is what firefox does)?
- # [00:49] <Hixie> yes
- # [00:49] <Hixie> like window.onerror
- # [00:49] <weinig> the only thing we fail on JohnResig's test is that we don't throw when you pass no arguments
- # [00:49] <weinig> Lachy: we treat that the same as passing undefined
- # [00:49] <zcorpan> Hixie: ok
- # [00:49] <weinig> not sure if that is a bug or not
- # [00:49] <weinig> but it is the same as qs/qsa
- # [00:50] <Lachy> I believe it's a bug. I think it should be a WRONG_ARGUMENTS_ERR
- # [00:51] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [00:52] <zcorpan> Lachy: WRONG_ARGUMENTS_ERR is an opera exception; web idl doesn't define yet what should happen with too few arguments i think
- # [00:52] <zcorpan> Lachy: html5 used to say to throw NOT_SUPPORTED_ERR but i can't find that anymore
- # [00:52] * weinig had another question for heycam
- # [00:53] * Joins: nessy (n=nessy@124-170-205-120.dyn.iinet.net.au)
- # [00:54] <Lachy> zcorpan, ok. In any case, the test suite is expecting an exception. Looks like it doesn't check which exception it is. I guess that's why
- # [00:55] * Quits: tantek (n=tantek@70.36.139.108)
- # [00:56] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [00:57] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [00:58] <Lachy> weinig, so, is there any special, non-obvious behaviour for matchesSelector that I need to be careful about when speccing it?
- # [00:59] <weinig> Lachy: none that I ran into
- # [00:59] <Lachy> it does seem fairly trivial to define at first glance, since it can just be defined similarly to qSA
- # [00:59] * weinig nods
- # [00:59] * Lachy will spec it tomorrow
- # [01:00] <weinig> sweet!
- # [01:01] <Lachy> after this, I want to prioritise the scoped selector APIs, and handle both the ":scope>p" and the ones with the implied scope like ">em, >strong"
- # [01:03] * Quits: weinig (n=weinig@17.203.15.140)
- # [01:04] * zcorpan notes that Hixie has got the order wrong for "in" and "optional" in idl in web workers
- # [01:04] <Hixie> wonderful
- # [01:05] <Hixie> is it "optional in"?
- # [01:05] <zcorpan> in html5, too
- # [01:05] <Hixie> or "in optional"?
- # [01:05] <zcorpan> "in optional"
- # [01:05] <zcorpan> though "in" is optional!
- # [01:06] <Hixie> fixed
- # [01:06] <zcorpan> cool
- # [01:06] <Lachy> does anyone understand how Node.compareDocumentPosition() is supposed to work? DOM 3 Core is very badly defined. It's not at all clear how the return value is calculated
- # [01:07] <Lachy> and Firefox's implementation seems to be returning rather strange numbers that don't seem to mean anything obvious
- # [01:08] <zcorpan> Lachy: if you figure out how it should work, archive notes so that it can be specced in web dom core
- # [01:11] <zcorpan> why is http://html5.org/tools/web-workers-tracker empty?
- # [01:11] <Lachy> I wasn't planning on reverse engineering it. Was just curious as it was mentioned on public-webapps as a way to sort nodes in an array
- # [01:11] <Lachy> and I never knew the method existed before
- # [01:12] <Hixie> zcorpan: i may have broken it when i migrated everything to html5's source document
- # [01:12] <Hixie> though i thought i had kept enough of a shim to keep things working
- # [01:12] <Hixie> (i still check everything into the workers svn repo, i think)
- # [01:12] * Joins: annodomini (n=lambda@64.30.3.122)
- # [01:13] <zcorpan> Hixie: oh i thought it was a separate source document
- # [01:13] <Hixie> it was
- # [01:13] <Hixie> but i merged it in when i was splitting everything out
- # [01:13] <Hixie> to make my life easier
- # [01:13] <Hixie> but the original source document should still be being generated
- # [01:14] <Hixie> so i don't see why it wouldn't still work
- # [01:21] <zcorpan> so Worker.onerror can receive two kinds of events: an Event when fetching the worker script fails, and an ErrorEvent when a runtime script error is not handled by the WorkerGlobalScope's onerror
- # [01:26] * Quits: cohitre (n=cohitre@c-24-18-158-106.hsd1.wa.comcast.net)
- # [01:27] * Quits: dglazkov (n=dglazkov@nat/google/x-mfbnasdgcrtpulyf) (Remote closed the connection)
- # [01:27] * Joins: dglazkov (n=dglazkov@nat/google/x-tsbkezdbsuzbvjjn)
- # [01:31] <zcorpan> r4000 next
- # [01:31] * Quits: aroben (n=aroben@unaffiliated/aroben) ("Leaving")
- # [01:33] <zcorpan> that'll make mpilgrim happy
- # [01:36] <Hixie> study 2 begins!
- # [01:38] * Quits: TabAtkins (n=chatzill@adsl-76-195-204-109.dsl.hstntx.sbcglobal.net) (Read error: 113 (No route to host))
- # [01:38] <Lachy> Hixie, what does the [Supplemental] extended attribute you're using in the IDL mean? It's not yet defined in webidl, and it seems redundant with the implements statement
- # [01:39] <Hixie> interface A { a } [Supplmental] interface B { b } A implements B; means the same as interface A { a b }
- # [01:39] <Hixie> whereas
- # [01:40] <Hixie> interface A { a } interface B { b } A implements B; results in two interface objects
- # [01:40] <Lachy> isn't that what the [NoInterfaceObject] one deals with?
- # [01:41] * Quits: dglazkov (n=dglazkov@nat/google/x-tsbkezdbsuzbvjjn)
- # [01:41] <Hixie> no NoInterfaceObject only means that the interface object doesn't exist
- # [01:41] <Hixie> with interface A { a } [NoInterfaceObject] interface B { b } A implements B; A.b doesn't exist
- # [01:45] <zcorpan> Hixie: i thought [Supplemental] was supposed to be used as A { a } [Supplemental] interface A { b }
- # [01:45] <Lachy> oh, right. That sort of makes sense, though [Supplements] doesn't really seem intuitive
- # [01:46] <Hixie> zcorpan: yeah that is also a way to do it
- # [01:46] <Hixie> there are three ways [Supplemental] works
- # [01:47] <Hixie> inheritance, the same interface name twice, and 'implements'
- # [01:47] <Hixie> depending on exactly what you want
- # [01:47] <Lachy> I suppose I should update Selectors API to use [Supplemental] for NodeSelector, and change the old [ImplementedOn] attributes to implements statements
- # [01:49] <Lachy> does that mean to define matchesSelector on the Element interface, i can write it like this:
- # [01:49] <Lachy> [Supplemental]
- # [01:49] <Lachy> Interface Element {
- # [01:49] <Lachy> boolean matchesSelector(in DOMString selectors);
- # [01:49] <Lachy> };
- # [01:51] <Hixie> yeah
- # [01:52] * Quits: dave_levin (n=dave_lev@74.125.59.73)
- # [01:53] <Lachy> sweet. That means I don't need to make up a silly interface name like ElementMatchesSelector just for this
- # [01:53] <Hixie> man, both studies so far indicate 'about' is a terrible property name to use for giving an item an ID
- # [01:54] <Lachy> in RDFa?
- # [01:54] <zcorpan> oooh, an authoring tool for canvas: http://www.webmonkey.com/blog/Turn_Your_Vector_Art_Into_Canvas-based_Animations_With_Opacity
- # [01:55] <Lachy> Isn't that used to reference a element with an IDREF, indicating which element the metadata is describing?
- # [01:55] <Hixie> Lachy: in microdata
- # [01:55] <Hixie> it's used to give the item a URL, equivalent to about="" from RDFa
- # [01:55] <Lachy> didn't know microdata had an about attribute. Did that get added recently?
- # [01:55] <zcorpan> not a free authoring tool, though, but then again i guess authoring tools for flash aren't free, either (or are they?)
- # [01:55] <Hixie> not an attribute
- # [01:55] <Hixie> itemprop=about
- # [01:56] <Lachy> oh
- # [01:56] <Hixie> also, both studies so far indicate that authors really have no problem with itemprop="" containing full URLs
- # [01:56] <Hixie> they just sail right by that without issue
- # [01:58] <zcorpan> what will 'about' be replaced with?
- # [01:58] <Hixie> guha suggested "itemid"
- # [01:58] <Hixie> but i dunno, not making decisions in the usability lab :-)
- # [02:00] <zcorpan> of course you are, but you don't admit it. you'll post the study results to the list, and after much discussion, you'll stick 'itemid' into the spec, citing the fact that there's no consensus anyway
- # [02:01] <Philip`> r4000 was an anti-climax :-(
- # [02:03] * Joins: annodomini_ (n=lambda@wikipedia/lambda)
- # [02:05] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
- # [02:07] <Hixie> zcorpan: well it's highly likely that we'll use itemid, but i don't want to think about it right now
- # [02:07] <Hixie> zcorpan: there are other changes we'll have to make where i really don't yet know what we'll do
- # [02:07] * Joins: GPHemsley (n=GPHemsle@149.4.115.3)
- # [02:09] * Quits: annodomini (n=lambda@wikipedia/lambda) (Read error: 110 (Connection timed out))
- # [02:09] * annodomini_ is now known as annodomini
- # [02:12] * Joins: yutak_home (n=kee@M006079.ppp.dion.ne.jp)
- # [02:17] <zcorpan> Hixie: yeah, i was j/k
- # [02:18] <zcorpan> "Personally I lean towards the second of these" - http://www.jenitennison.com/blog/node/129
- # [02:18] <zcorpan> (which is "leave the creation of that DOM as implementation-defined")
- # [02:31] * Quits: othermaciej (n=mjs@17.246.18.149) (Read error: 54 (Connection reset by peer))
- # [02:31] <Lachy> I have matchesSelector() essentially defined now. All it took was the IDL and one line that says:
- # [02:31] <Lachy> The matchesSelector() method on the Element interface must, when invoked, return true if the _context node_ is a _matching Element node_. Otherwise, the method must return false.
- # [02:31] <Lachy> And then a little bit of shuffling other things around in the spec to reuse what was already specified.
- # [02:33] * Joins: othermaciej (n=mjs@17.246.18.149)
- # [02:34] * Quits: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) ("ChatZilla 0.9.85-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [02:36] * Joins: ThunderSchunked (n=Vincent@cpe-67-240-10-180.nycap.res.rr.com)
- # [02:36] * Parts: ThunderSchunked (n=Vincent@cpe-67-240-10-180.nycap.res.rr.com)
- # [02:37] * Quits: zcorpan (n=zcorpan@c83-252-193-59.bredband.comhem.se)
- # [02:43] * Joins: weinig (n=weinig@17.246.19.140)
- # [02:46] * Quits: dpranke (n=Adium@nat/google/x-awoppqbsstbmevkm) ("Leaving.")
- # [02:55] <Hixie> so far no real confusion over types, despite the conversations we were having here
- # [02:55] <Hixie> four more studies tomorrow
- # [02:56] <Hixie> we're gonna try a couple with 'about' renamed to 'itemid'
- # [02:58] <Lachy> weinig, JohnResig http://dev.w3.org/2006/webapi/selectors-api2/#matchtesting
- # [02:59] <othermaciej> should we take the webkit prefix off of our impl?
- # [03:02] <Lachy> othermaciej, assuming this API is accepted by the group as-is, then yes, webkit's implementation is effectively fully conforming, aside from the known no-value bugs
- # [03:05] <othermaciej> guess we should wait a little bit to see if anyone objects to the API
- # [03:07] * Joins: sicking (n=chatzill@nat/mozilla/x-wqycroowdtjkcoee)
- # [03:11] * Quits: yutak_home (n=kee@M006079.ppp.dion.ne.jp) ("Ex-Chat")
- # [03:13] * Quits: cfq (n=cfq@client-82-8-223-148.sqy-bng-011.adsl.virginmedia.net)
- # [03:14] * Quits: cying (n=cying@70.90.171.153)
- # [03:15] * Joins: cfq (n=cfq@client-82-8-223-148.sqy-bng-011.adsl.virginmedia.net)
- # [03:15] * Quits: cfq (n=cfq@client-82-8-223-148.sqy-bng-011.adsl.virginmedia.net) (Client Quit)
- # [03:16] <Lachy> othermaciej, what are your thoughts on the idea of introducing a Selector object that can be used for handling the scoped selector use cases, allowing the .createSelector() factory method to handle the selector pre-processing?
- # [03:17] <othermaciej> Lachy: I'm not totally clear on what you are suggesting
- # [03:17] <othermaciej> can you give me an example?
- # [03:17] <Lachy> I'm thinking it might be better than introducing a whole bunch of new queryScopedSelector*() and matchesScopedSelector() interaces.
- # [03:17] <Lachy> sure, here's an example:
- # [03:17] <Lachy> wait, there's one in my mail in pubilc-webapps. I'll get the link
- # [03:18] <Lachy> http://lists.w3.org/Archives/Public/public-webapps/2009JulSep/1239.html
- # [03:18] * Joins: benward (n=benward@98.210.154.133)
- # [03:18] * Quits: benward_ (n=benward@nat/yahoo/x-nihjvjkbojugzmft) (Read error: 104 (Connection reset by peer))
- # [03:18] <Lachy> see from "Interface DocumentSelector" in that mail
- # [03:20] <othermaciej> hmmm
- # [03:20] <othermaciej> if impliedScope is an optional extra parameter to createSelector, why can't it just be an optional extra parameter to querySelector*() and matchSelector()?
- # [03:20] <othermaciej> it seems like that would be a more streamlined API
- # [03:20] <sicking> Lachy: i think introducing a selector object is a good idea if we want to reduce compile times
- # [03:21] * Joins: wakaba_ (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [03:21] <othermaciej> the main advantage of Selector is if we expect someone will want to test against the same selector repeatedly, and time spent parsing the selector may be a significant part of the total cost
- # [03:21] <sicking> Lachy: but IMHO we should make the API such that functions, like querySelectorAll, accept either a string or a selector object
- # [03:21] <Lachy> having the createSelector method gives JS libraries an easy way to test for browser support
- # [03:21] <Lachy> sicking, yes, that was the idea
- # [03:21] <othermaciej> test for browser support of scoped selectors?
- # [03:21] <othermaciej> I guess that's true
- # [03:21] <Lachy> yes
- # [03:21] <othermaciej> but it's still needlessly awkward for simple cases
- # [03:22] <othermaciej> IMO
- # [03:22] <sicking> indeed, i think it should be possible to pass a string everywhere you can pass a selector object
- # [03:22] <Lachy> it might also give us a way to handle the namespace issue using the Selector object, if it can be set up with namespace resolution somehow
- # [03:22] <othermaciej> why should you have to say scopeElt.querySelector(Selector.createSelector("foo", scopeElt, true))
- # [03:23] <sicking> Lachy: that's not a bad idea
- # [03:23] <othermaciej> instead of scopeElt.querySelector("foo", true)
- # [03:23] <othermaciej> (actually the scope element probably should not be part of the selector by default)
- # [03:23] <Lachy> actually, you would need to do document.querySelectorAll(document.createSelector("foo", scopeElt, true)); to give the same result as JS libraries
- # [03:23] * Quits: ap (n=ap@17.246.19.174)
- # [03:24] <sicking> what's the 'true' argument?
- # [03:24] <othermaciej> I see
- # [03:24] <othermaciej> the "true" argument means make every selector of the selector group implicitly start with :scope
- # [03:24] <sicking> ah
- # [03:24] <Lachy> sicking, it determines if the browser should imply :scope automatically or not
- # [03:24] <othermaciej> but point being, I think you should be able to omit document.createSelector and the extra parens
- # [03:24] <othermaciej> even if we also have a Selector object
- # [03:25] <sicking> hmm.. i don't feel strongly regarding if scoped selectors can be done as both string and a object
- # [03:25] <othermaciej> because the Selector object is needless code noise unless you plan to reuse the selector
- # [03:25] <Lachy> fair enough
- # [03:25] <sicking> creating scoped selectors is mostly useful for libraries anyway
- # [03:25] <weinig> JohnResig: I had to make two changes to your test
- # [03:25] <Lachy> then I suppose we could do this:
- # [03:26] <othermaciej> it could also be useful for programmers who are used to the libraries but would like to code to the native API
- # [03:26] <sicking> othermaciej: it's really simple to add ":scope" to the beginning of your string
- # [03:26] <weinig> root.webkitMatchesSelector(null) === null -> root.webkitMatchesSelector(null) === false
- # [03:26] <weinig> root.webkitMatchesSelector(undefined) === null -> root.webkitMatchesSelector(undefined) === false
- # [03:27] <Lachy> NodeSelector.querySelectorAll(">em", true, scopeElement) (where scopeElement is optional and defaults to the Element it's being executed on)
- # [03:27] * sicking wish we didn't bother with defining behavior for null and undefined until we've all agreed for a default behavior for the rest of the DOM
- # [03:27] <othermaciej> sicking: it is, but if we export an API to do it automatically for convenience, then it may as well be easy to use that API
- # [03:28] <Lachy> sicking, we ended up removing the null and undefined definitions from selectors API. it's now left entirely up to web idl
- # [03:28] <sicking> othermaciej: you mean to scope automatically for conveience
- # [03:28] <sicking> Lachy: i know, but resigs test suites still test it
- # [03:29] <sicking> i guess what I propose is this:
- # [03:29] <Lachy> should we remove it from the test suite for this version the level 1 API?
- # [03:29] <sicking> Lachy: imho yes
- # [03:30] <othermaciej> sicking: yes
- # [03:31] <Lachy> sicking, it's not as simple as just prefixing :scope to the beginning of the string. It requires at least basic selector parsing to do it right, cause it's a group of selectors.
- # [03:31] <sicking> here's what i propose: allow querySelector/querySelectorAll/matchesSelector to take a string (in which case they don't do any automatic scoping), or a Selector object. Create two functions for creating selector objects: createSelector and createScopedSelector. The latter adds an implicit ":scope" before each selector
- # [03:32] <sicking> Lachy: when you're typing a string, as a human, it's easy to add ":scope" as needed
- # [03:33] <othermaciej> yeah but if someone is used to writing ">em, >i, >span.fancy" then it seems gratuitous to make them either write ":scope>em, :scope>i, :scope>span.fancy" or construct a Selector object
- # [03:33] <Lachy> for compat with JS libraries and existing content, and to allow JS libraries to reduce their dependence on custom selector parsing, the API should ideally handle cases like this ">em, >strong" easily.
- # [03:33] <othermaciej> Boris made a pretty good case that the performance argument for selector objects is dubious
- # [03:34] <sicking> Lachy: why "easily" if we're talking about libraries, it's not a big burden to ask them to create an object IMHO
- # [03:35] <Lachy> yeah, I don't think I would do the Selector object for perf reasons. It would have to be based on what's best for authors and JS libraries to use, and what's implementable
- # [03:35] <sicking> othermaciej: the alternative i guess is to add extra optinal parameters to all of querySelectorAll/querySelector/matchesSelector. Or create sibling functions: querySelectorAllScoped/querySelectorScoped/matchesSelectorScoped
- # [03:36] <Lachy> creating additional methods gets messy, especially if we want to address the namespace issue with additional NS methods too.
- # [03:36] * Joins: josespinal (n=josespin@tdev254-6.codetel.net.do)
- # [03:36] <sicking> agreed
- # [03:36] <Lachy> I really don't want to have to end up with queryScopedSelectorAllNS(), et al.
- # [03:37] <josespinal> what are the limitations of html5's data attributes?
- # [03:37] <sicking> but so does optional arguments if we want optional arguments to handle namespaced stuff too
- # [03:37] <sicking> josespinal: sky's the limit :)
- # [03:37] <Lachy> I know. That's why I was thinking the Selector object would be nice, since it handles it all in once place
- # [03:38] <josespinal> sicking, heh no limitation?
- # [03:38] <othermaciej> additional methods are good for feature testing compared to optional arguments, but bad for potential API explosion
- # [03:38] <sicking> josespinal: well, your users RAM
- # [03:38] <sicking> othermaciej: yup
- # [03:38] <othermaciej> including namespace mappings in a Selector object would be somewhat icky, since technically they are not part of the selector, they are part of the evaluation context
- # [03:38] <josespinal> aja
- # [03:38] <josespinal> !
- # [03:39] <Lachy> good point.
- # [03:39] <sicking> othermaciej: no, they're part of parsing
- # [03:39] <josespinal> sicking: when getting the attributes' values with JS?
- # [03:39] <sicking> othermaciej: that's how XPath does it too
- # [03:39] <Lachy> hmm.
- # [03:40] <othermaciej> sicking: I guess you could think of it that way
- # [03:40] <Lachy> yeah, it does. I looked at the XPath stuff today. That's where I got the idea for the Selector object
- # [03:40] <othermaciej> anyway, I'm not categorically against an object, I just get suspicious of needlessly verbose APIs
- # [03:41] <sicking> i agree, i'm just not sure what a good other solution would be
- # [03:41] <josespinal> ?
- # [03:41] <Lachy> I guess all we're doing is trading one type of needless verbosity with additional NS methods, with another with slightly messier syntax
- # [03:41] <sicking> i do would like to let the most common cases (source-wise) to not have to use objects
- # [03:41] <othermaciej> it reminds me of my discussion with hsivonen recently about whether it would be more fun to write (new XMLSerializer("application/xml")).serializeToString(myElt), or myElt.xmlMarkup
- # [03:42] <sicking> josespinal: not sure i understand your question. The answer about RAM was mostly a joke
- # [03:42] <sicking> josespinal: basically there's no defined limit as far as names or values goes
- # [03:42] <josespinal> oh ok, dumb me
- # [03:42] * Quits: dbaron (n=dbaron@nat/mozilla/x-xwpqfvgweqdgfmxr) ("8403864 bytes have been tenured, next gc will be global.")
- # [03:42] <josespinal> ok
- # [03:42] <josespinal> thanks
- # [03:43] <sicking> josespinal: but i wouldn't try to do ridiculous things, like creating names that are hundreds of kB big
- # [03:43] <sicking> josespinal: or create thousands of attributes on the same element
- # [03:43] <sicking> josespinal: or stick GB of data into an attribute
- # [03:43] <josespinal> lol
- # [03:43] <sicking> in most those cases you're likely to run into implementation behavior
- # [03:43] <josespinal> got that
- # [03:44] <sicking> i think gecko has a pretty low limit on number of allowed attributes on a single element
- # [03:44] * Quits: coonsta (n=dominicc@74.125.59.1) (Read error: 110 (Connection timed out))
- # [03:44] <josespinal> 8 attributes would be too much i think
- # [03:44] <josespinal> :P
- # [03:44] <sicking> yeah, we don't allow more than 1024 attributes
- # [03:45] <sicking> but i've never heard of anyone butting up against that. Though maybe things will change now with data attributes
- # [03:46] <josespinal> change how?
- # [03:47] <sicking> people might use more attributes and start running into the 1024 limit
- # [03:47] <othermaciej> I wonder what WebKit's limit is
- # [03:47] <othermaciej> I don't think there is any limit when using the DOM APIs but there might be one at parse time
- # [03:48] <sicking> we limit it at 1024 because we store the attribute count and child count in the same 32bit bitfield
- # [03:49] <sicking> so we use 10 bits for attr-count and 32 bits for child-count
- # [03:49] <sicking> err.. 22bits for child count
- # [03:50] * Quits: Super-Dot (n=Super-Do@66-240-27-50.isp.comcastbusiness.net)
- # [03:51] <josespinal> interesting
- # [03:51] <sicking> hopefully the world has switched to 64bit before <input> elements get 1024 defined attributes :)
- # [03:51] <sicking> so far it seems like a tight race
- # [03:51] <josespinal> lol
- # [03:51] <josespinal> lets hope so
- # [03:52] * Joins: sirdarckcat (n=sdc@121.0.29.226)
- # [03:53] * josespinal has to run
- # [03:53] <josespinal> thanks for everything sicking
- # [03:53] <sirdarckcat> regarding CSS attribute reader from: http://krijnhoetmer.nl/irc-logs/whatwg/20090924#l-993
- # [03:53] <sirdarckcat> => <annevk2> you cannot do much more than you can do already with JavaScript afaict
- # [03:53] * Parts: josespinal (n=josespin@tdev254-6.codetel.net.do)
- # [03:53] <sirdarckcat> thats true, but XSS filters only protect against javascript, not CSS
- # [03:54] * Quits: drunknbass_work (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net) ("Bye!")
- # [03:55] * Quits: jwalden (n=waldo@nat/mozilla/x-umgrhqucpraeceog) ("out")
- # [04:13] * Joins: jorlow_ (n=jorlow@67.218.104.125)
- # [04:21] * Joins: tantek (n=tantek@32.153.141.11)
- # [04:25] * Quits: jorlow (n=jorlow@nat/google/x-dlxkwrikrkbiznek) (Read error: 110 (Connection timed out))
- # [04:25] * jorlow_ is now known as jorlow
- # [04:32] * Quits: weinig (n=weinig@17.246.19.140)
- # [04:33] * Joins: cying (n=cying@adsl-75-18-219-60.dsl.pltn13.sbcglobal.net)
- # [04:34] * Joins: jorlow_ (n=jorlow@nat/google/x-boopnfisaqmkscwd)
- # [04:36] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [04:38] * Joins: erikvvold (n=erikvvol@S01060024012860e9.gv.shawcable.net)
- # [04:46] * Quits: jorlow (n=jorlow@67.218.104.125) (Read error: 104 (Connection reset by peer))
- # [04:48] * Quits: sirdarckcat (n=sdc@121.0.29.226) (Remote closed the connection)
- # [04:52] * Quits: paul_irish (n=paul_iri@12.33.239.250)
- # [04:54] * Quits: sicking (n=chatzill@nat/mozilla/x-wqycroowdtjkcoee) (Read error: 110 (Connection timed out))
- # [04:54] * Quits: cying (n=cying@adsl-75-18-219-60.dsl.pltn13.sbcglobal.net)
- # [04:58] * Quits: othermaciej (n=mjs@17.246.18.149)
- # [04:59] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [05:03] * Quits: tantek (n=tantek@32.153.141.11) (Read error: 110 (Connection timed out))
- # [05:08] * Quits: MikeSmith (n=MikeSmit@EM114-48-15-242.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [05:09] * Quits: jorlow_ (n=jorlow@nat/google/x-boopnfisaqmkscwd) (Read error: 110 (Connection timed out))
- # [05:13] * Joins: cohitre (n=cohitre@64-40-56-46-dsl.itltd.net)
- # [05:19] * Quits: jianli (n=jianli@74.125.59.73) (Read error: 110 (Connection timed out))
- # [05:37] * Quits: Dashiva (i=Dashiva@wikia/Dashiva) (Read error: 104 (Connection reset by peer))
- # [05:37] * Quits: mpilgrim (n=mpilgrim@rrcs-96-10-240-189.midsouth.biz.rr.com) (Read error: 104 (Connection reset by peer))
- # [05:37] * Joins: mpilgrim_ (n=mpilgrim@rrcs-96-10-240-189.midsouth.biz.rr.com)
- # [05:37] * Joins: Dashiva (i=Dashiva@m223j.studby.ntnu.no)
- # [05:44] * Joins: cying (n=cying@adsl-75-18-219-60.dsl.pltn13.sbcglobal.net)
- # [05:51] * Joins: miketaylr (n=miketayl@user-0cdf5gs.cable.mindspring.com)
- # [05:55] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [06:06] * Joins: Tristan (i=Tristan@unaffiliated/tristan)
- # [06:40] * Joins: nattokirai_ (n=nattokir@wave.mozilla.or.jp)
- # [06:40] * Quits: nattokirai_ (n=nattokir@wave.mozilla.or.jp) (Client Quit)
- # [06:40] * Joins: nattokirai_ (n=nattokir@wave.mozilla.or.jp)
- # [06:53] <othermaciej> Hixie: GMail is an example of a Web app that uses paste events (uses "paste" and "beforepaste" in rich text composition mode)
- # [06:53] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [06:54] <othermaciej> Hixie: likewise Google Docs (beforepaste, paste and copy)
- # [06:56] <othermaciej> Hixie: also Google Search
- # [06:57] * Quits: nattokirai (n=nattokir@gw0.mozilla.or.jp) (Read error: 113 (No route to host))
- # [06:57] * nattokirai_ is now known as nattokirai
- # [06:57] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [06:58] <othermaciej> Hixie: also Yahoo Mail
- # [07:00] * Quits: ray (i=ray@drong.notacat.org) (Read error: 60 (Operation timed out))
- # [07:00] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [07:05] * Joins: ray (i=ray@drong.notacat.org)
- # [07:06] <othermaciej> Hixie: also YouTube (for some reason)
- # [07:13] * Quits: cohitre (n=cohitre@64-40-56-46-dsl.itltd.net)
- # [07:15] <othermaciej> Hixie: also the wiki server software that ships with Mac OS X
- # [07:23] * Quits: miketaylr (n=miketayl@user-0cdf5gs.cable.mindspring.com)
- # [07:26] * Joins: ezyang (n=ezyang@DR-WILY.MIT.EDU)
- # [07:27] <ezyang> Does anyone remember the URL of that history viewer for the HTML5 spec?
- # [07:27] <ezyang> aha http://html5.org/tools/web-apps-tracker
- # [07:33] <ezyang> In the new "have an element in specific scope algorithm", what does "If node is the target node, terminate in a match state." mean?
- # [07:33] <ezyang> target node doesn't seem to refer to anything...
- # [07:37] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [07:37] * Joins: MikeSmith (n=MikeSmit@EM114-48-164-179.pool.e-mobile.ne.jp)
- # [07:38] * Quits: doublec (n=doublec@203-97-204-82.dsl.clear.net.nz) ("Leaving")
- # [07:43] * Joins: zalan (n=zalan@catv-89-135-110-21.catv.broadband.hu)
- # [07:45] * Joins: Rodi01 (n=Rodi01@cpe-98-154-249-109.socal.res.rr.com)
- # [07:45] * Quits: Rodi01 (n=Rodi01@cpe-98-154-249-109.socal.res.rr.com) (Client Quit)
- # [07:50] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
- # [07:53] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [07:57] * Joins: KevinMarks (n=KevinMar@67.164.14.96)
- # [07:57] * Joins: cohitre (n=cohitre@c-24-18-158-106.hsd1.wa.comcast.net)
- # [07:58] * Quits: cohitre (n=cohitre@c-24-18-158-106.hsd1.wa.comcast.net) (Client Quit)
- # [08:01] * Joins: sicking (n=chatzill@c-69-181-197-163.hsd1.ca.comcast.net)
- # [08:01] * Quits: Tristan (i=Tristan@unaffiliated/tristan) (Read error: 110 (Connection timed out))
- # [08:03] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [08:07] * Joins: lazni (n=lazni@123.24.190.162)
- # [08:13] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [08:23] * Joins: virtuelv (n=virtuelv@125.175.251.212.customer.cdi.no)
- # [08:38] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:39] * Joins: matijsb (n=matijsb@hotfusion.demon.nl)
- # [08:49] * Joins: lazni1 (n=lazni@113.22.52.143)
- # [08:56] * Quits: lazni (n=lazni@123.24.190.162) (Read error: 145 (Connection timed out))
- # [09:06] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [09:31] * Joins: sbublava (n=stephan@77.119.119.125.wireless.dyn.drei.com)
- # [09:31] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [09:34] * Joins: maotzetung (n=mao@dynamic-adsl-94-37-70-193.clienti.tiscali.it)
- # [09:34] * Joins: mpt_ (n=mpt@canonical/mpt)
- # [09:35] * mpt_ is now known as mpt
- # [09:35] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [09:47] * Quits: matijsb (n=matijsb@hotfusion.demon.nl)
- # [09:48] <Philip`> othermaciej: Microsoft has actually posted to the WHATWG (http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-February/014026.html) so I assume there's not a strict policy of staying away from it entirely
- # [10:03] * Quits: sicking (n=chatzill@c-69-181-197-163.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [10:07] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [10:10] <othermaciej> Philip`: hmmm, other MS folks (e.g. Chris Wilson) have said otherwise, at least as to reading the list, but perhaps the policy changed
- # [10:11] <othermaciej> Philip`: regardless, it's probably easier to get Microsoft input by posting to W3C lists
- # [10:15] * Quits: lazni1 (n=lazni@113.22.52.143) ("Leaving.")
- # [10:15] <annevk2> hmm, my inbox is full of ECMA
- # [10:19] <Rik`> http://groups.google.com/group/base2-js/browse_thread/thread/37acf844ceeb181c html5lib by dean edwards
- # [10:24] <annevk2> sweet
- # [10:24] <annevk2> I wonder why that one guy finds IDLs hard to read
- # [10:24] * annevk2 finds them quite convenient
- # [10:25] * annevk2 learned how the DOM was put together by reading IDL blocks
- # [10:28] <annevk2> also nice, Sec-From is gone
- # [10:29] * Joins: maotzetung_ (n=mao@host-78-15-37-184.cust-adsl.tiscali.it)
- # [10:32] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [10:36] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [10:38] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:41] <jgraham> That dean edwards thing assumes <legend> in <details>
- # [10:42] <jgraham> Also, unrelatedly, having selector objects for caching seems unnecessary; if parsing selectors is a significant performance problem the UA should cache them automatically
- # [10:42] * jgraham would prefer a selector-object free design in general
- # [10:43] <annevk2> I really wonder why we need to make it so complicated
- # [10:43] <jgraham> Indeed
- # [10:43] <annevk2> Though if we do we should really nuke DOM Traversal out of orbit
- # [10:44] <Philip`> Hmm, apparently it's extra impossible to implement RDFa in XSLT, because xmlns:xml="http://whateveritis" attributes are treated precisely identically to there being no such attribute, so you can't tell whether the prefix has been explicitly bound or not
- # [10:45] <annevk2> doesn't rebinding xml give you a nice violation of namespace well-formedness?
- # [10:46] <jgraham> Philip`: Is it just xmlns:xml that doesn't work or xmlns:foo in general?
- # [10:46] <Philip`> jgraham: Won't there be issues with parsing being based on namespace mapping functions, so your cache would have to detect when it's passed a different function since the parse results would change?
- # [10:47] * Quits: maotzetung (n=mao@dynamic-adsl-94-37-70-193.clienti.tiscali.it) (Read error: 110 (Connection timed out))
- # [10:47] <jgraham> Philip`: I don't know what the plan is for namespaces
- # [10:47] <Philip`> annevk2: "The prefix xml is by definition bound to the namespace name http://www.w3.org/XML/1998/namespace. It MAY, but need not, be declared, and MUST NOT be bound to any other namespace name."
- # [10:48] <Philip`> so it's okay as long as you use the correct value
- # [10:48] <jgraham> Philip`: But it isn't obviously impossible to make the design cacheable
- # [10:49] <Philip`> jgraham: Just xmlns:xml I think - a complete implementation should allow access to namespace mappings, so xmlns:foo is okay, and the problem is just that xml is in the mapping regardless of whether it's declared
- # [10:50] <annevk2> Philip`, ah ok
- # [10:50] <Philip`> (though apparently Firefox's XSLT implementation doesn't let you access xmlns:foo at all)
- # [10:50] * jgraham wonders if that is a problem for other tree libs e.g. lxml
- # [10:50] <jgraham> or XOM or whatever
- # [10:50] <Philip`> jgraham: Indeed - automatic caching seems to make much more sense, in terms of shifting complexity from users to implementors
- # [10:51] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [10:54] <Philip`> (Also, implementors could optimise their parsers)
- # [10:55] * Joins: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [11:03] * Joins: lazni (n=lazni@113.22.52.143)
- # [11:03] * Joins: maikmerten (n=maikmert@U38d2.u.pppool.de)
- # [11:10] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [11:12] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [11:14] * Joins: svl (n=me@f050247210.adsl.alicedsl.de)
- # [11:19] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:20] * Joins: adactio (n=adactio@host86-138-101-27.range86-138.btcentralplus.com)
- # [11:30] * Quits: MikeSmith (n=MikeSmit@EM114-48-164-179.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [11:31] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:35] * Quits: nattokirai (n=nattokir@wave.mozilla.or.jp)
- # [11:36] * Joins: nattokirai (n=nattokir@202.221.217.78)
- # [11:36] * Quits: nattokirai (n=nattokir@202.221.217.78) (Client Quit)
- # [11:39] * Joins: zcorpan (n=zcorpan@83.252.193.59)
- # [11:45] * Quits: zcorpan (n=zcorpan@83.252.193.59) (Read error: 131 (Connection reset by peer))
- # [11:46] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [11:49] * Quits: lazni (n=lazni@113.22.52.143) ("Leaving.")
- # [11:52] * Quits: mpt (n=mpt@canonical/mpt) (Read error: 113 (No route to host))
- # [11:52] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [11:54] * Joins: mpt (n=mpt@canonical/mpt)
- # [11:56] * jgraham wonders how an operating system and browser implemented in pure ecmascript would work
- # [11:57] <jgraham> Since there is no way to access the hardware or anything
- # [11:57] * Joins: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [11:58] <annevk2> yeah ...
- # [11:58] <annevk2> I just replied
- # [12:01] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [12:03] * Quits: benward (n=benward@98.210.154.133) ("Sleep")
- # [12:08] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [12:08] * Quits: svl (n=me@f050247210.adsl.alicedsl.de) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [12:09] * Joins: svl (n=me@f050247210.adsl.alicedsl.de)
- # [12:15] * Quits: mat_t (n=mattomas@91.189.88.12) (Read error: 113 (No route to host))
- # [12:15] * Quits: shepazu (n=schepers@adsl-227-105-48.rmo.bellsouth.net)
- # [12:16] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [12:16] <othermaciej> jgraham: even taking that assumption as a given, the further conclusions don't make sense, so I decided not to argue with it
- # [12:17] <othermaciej> jgraham: but it does seem so hypothetical that it's not a very strong argument against API convenience
- # [12:18] <hsivonen> othermaciej: I noticed you had mentioned XMLSerializer in the logs
- # [12:19] <othermaciej> hsivonen: in reference to our old discussion, yeah
- # [12:19] <othermaciej> it was incidental to the topic (which was Selectors API enhancements)
- # [12:19] <hsivonen> othermaciej: considering possible new information since we last discussed it, what's your take on changing WebKit to serialize HTML DOMs as XML if the MySpace problem were evangelized away?
- # [12:20] <othermaciej> I think the fact that WebKit serializes HTML DOMs as HTML was totally an accident
- # [12:20] <othermaciej> and I'm surprised and alarmed that sites ever came to depend on it
- # [12:20] <hsivonen> othermaciej: do you consider it a fixable accident?
- # [12:21] <othermaciej> if MySpace is the only significant breakage, and if it can be fixed, then yes I think it is fixable
- # [12:21] <othermaciej> our intent was to emulate the Gecko API
- # [12:21] <hsivonen> othermaciej: OK. thanks.
- # [12:22] <hsivonen> annevk2: given what othermaciej said, can you speculate on whether Opera would align with the Gecko trunk behavior?
- # [12:23] <hsivonen> othermaciej: Is the failure to emulate Gecko when it comes to non-void but empty http://www.w3.org/1999/xhtml elements on the XML side deliberate, though?
- # [12:23] <hsivonen> I.e. WebKit does <div></div> rather than <div/>
- # [12:23] <othermaciej> ah
- # [12:24] <othermaciej> when serializing XML elements in the HTML namespace, we attempt to produce HTML-compatible XML, in all our paths for producing XML
- # [12:24] <othermaciej> if that created compatibility issues in specific contexts, we could change it
- # [12:24] <hsivonen> Yeah, I thought that was deliberate.
- # [12:25] <othermaciej> well, we didn't make a conscious choice to apply it to XMLSerializer specifically
- # [12:25] <hsivonen> so would the agreeable convergence target be taking the WebKit XML-side behavior and making it standard on both HTML and XML trees?
- # [12:25] <othermaciej> we decided to do that based on other contexts that serialize to XML (possibly even native APIs) and decided to do it everywhere
- # [12:25] <hsivonen> (so the delta to Gecko trunk would be turning <div/> into <div></div>)
- # [12:26] <othermaciej> I think that would make sense, if MySpace can be fixed
- # [12:26] <hsivonen> Great!
- # [12:26] <hsivonen> any views from anyone from Opera?
- # [12:26] <othermaciej> also for void elements we put the gratuitous space before the slash
- # [12:26] <annevk2> hsivonen, I'm fine with aligning
- # [12:26] <othermaciej> <br />
- # [12:27] <annevk2> hsivonen, will you write a spec? :)
- # [12:27] <hsivonen> annevk2: which alignment? :-)
- # [12:27] <annevk2> hsivonen, with the spec :p
- # [12:28] <annevk2> hsivonen, I don't think we care much either way, as long as sites work, so Gecko trunk + MySpace fix would work
- # [12:28] <hsivonen> annevk2: I commit to writing a spec on the spot here without approval from Mozilla, but I've worked under the assumption that morally I'm on the hook for writing a spec some day
- # [12:28] <hsivonen> I *can't* commit
- # [12:29] <hsivonen> one negation makes such a difference in sentences :-(
- # [12:29] <hsivonen> annevk2: OK. thanks.
- # [12:39] * Joins: Peter` (n=peter@92.254.21.251)
- # [12:39] * Quits: virtuelv (n=virtuelv@125.175.251.212.customer.cdi.no) ("Ex-Chat")
- # [12:40] * Joins: virtuelv (n=virtuelv@125.175.251.212.customer.cdi.no)
- # [12:43] * Joins: maotzetung (n=mao@host-78-15-37-184.cust-adsl.tiscali.it)
- # [13:00] * Quits: maotzetung_ (n=mao@host-78-15-37-184.cust-adsl.tiscali.it) (Read error: 110 (Connection timed out))
- # [13:04] * Joins: erlehmann (n=erlehman@tmo-104-233.customers.d1-online.com)
- # [13:16] * Joins: yutak_home (n=kee@M006079.ppp.dion.ne.jp)
- # [13:25] * Joins: SamerZ (n=SamerZ@CPE00222d5410b8-CM00222d5410b5.cpe.net.cable.rogers.com)
- # [13:32] * Quits: sbublava (n=stephan@77.119.119.125.wireless.dyn.drei.com) (Read error: 104 (Connection reset by peer))
- # [13:34] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [13:35] * annevk2 wonders if it's worth fighting the deprecation of text/xml in http://tools.ietf.org/html/draft-murata-kohn-lilley-xml and the continued bullshit of the charset defaulting to us-ascii in text/xml (is there a consumer out there other than mpilgrim_'s feedparser that implements that?)
- # [13:36] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [13:39] <hsivonen> annevk2: Validator.nu!
- # [13:39] * Quits: SamerZ (n=SamerZ@CPE00222d5410b8-CM00222d5410b5.cpe.net.cable.rogers.com)
- # [13:40] <hsivonen> annevk2: and I have a checkbox in the UI that amounts to "[x] Violate RFC 3023"
- # [13:40] <hsivonen> and I haven't even gotten the t-shirt! :-(
- # [13:42] <hsivonen> annevk2: the way the IETF is dealing with the text/* default brokenness is really, really sad
- # [13:42] <hsivonen> big cultural difference compared to how the WHATWG does things
- # [13:43] * hsivonen wonders if there's an experimental sociologist taking notes and at least getting a PhD. out of this
- # [13:46] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) ("Leaving...")
- # [13:53] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [13:54] * Joins: pmuellr (n=pmuellr@nat/ibm/x-dswydbxsultpgmim)
- # [13:54] <annevk2> hsivonen, agreed
- # [13:56] <annevk2> hsivonen, not sure whether to like or dislike the Validator.nu compliance :)
- # [13:56] <annevk2> hsivonen, I guess it's a fun easter egg
- # [13:57] * Joins: Peter- (n=peter@92.254.21.251)
- # [14:00] * Quits: virtuelv (n=virtuelv@125.175.251.212.customer.cdi.no) ("Ex-Chat")
- # [14:08] <gsnedders> annevk2: SimplePie supports it with US-ASCII with fallback in a similar way to Universal Feed Parser
- # [14:09] * Quits: Peter` (n=peter@92.254.21.251) (Read error: 110 (Connection timed out))
- # [14:10] <hsivonen> gsnedders: how does that mean it supports it if falls back onto a superset of ASCII?
- # [14:10] <gsnedders> hsivonen: Basically yeah.
- # [14:10] <hsivonen> gsnedders: does it throw a bozo exception in addition to falling back?
- # [14:11] <gsnedders> hsivonen: I had an impl of that, but removed that, and just haven't removed the encoding magic yet.
- # [14:12] <jgraham> gsnedders: BTW bibbi told me to tell you not to panic. I don't know if someone told her to tell me to tell you that or not
- # [14:12] <gsnedders> jgraham: She emailed me last night
- # [14:13] <gsnedders> jgraham: She may have got you to tell me because I'm not reading email much this month :)
- # [14:13] <jgraham> Yes, she said that too. Did it have the words Don't Panic enblazoned in large friendly letters at the top
- # [14:13] <gsnedders> No, nor on the back.
- # [14:13] <jgraham> ?
- # [14:14] <gsnedders> Well, it was on the back originally, though I don't know how you can have it on the back of an email…
- # [14:14] <gsnedders> Anyhow, I'm off (to prove I don't read email)
- # [14:14] <jgraham> Well maybe that's why she told me to tell you not to panic. It may even be why someone told her to tell me to tell you not to panic. But we don't know
- # [14:17] * jgraham can't find any evidence that Don't Panic was written on the back as opposed to the front
- # [14:17] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [14:20] <annevk2> it's on the top of my laptops
- # [14:20] <Lachy> gsnedders, Don't Panic was always on the front, at least in the original radio series
- # [14:20] * Joins: virtuelv (n=virtuelv@212.251.175.125)
- # [14:25] * jgraham only remembers "on the cover" which was also all that a quick Google search turned up
- # [14:25] <jgraham> But on the fornt makes much more sense
- # [14:25] <jgraham> *front
- # [14:29] * and is now known as Guest76618
- # [14:31] * hsivonen didn't know that the "languages" side bar on wikipedia supports one-to-many mappings
- # [14:31] <hsivonen> for a moment there I thought I had broken the parser
- # [14:32] * Joins: zdobersek (n=zan@cpe-92-37-73-75.dynamic.amis.net)
- # [14:40] * erlehmann is now known as plomfake
- # [14:40] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [14:40] * plomfake is now known as erlehmann
- # [14:47] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
- # [14:50] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("Leaving")
- # [14:52] * Joins: remysharp (n=remyshar@vinov2.gotadsl.co.uk)
- # [14:55] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [14:59] * remysharp is now known as remy|backinamo
- # [15:03] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
- # [15:04] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [15:06] * Quits: svl (n=me@f050247210.adsl.alicedsl.de) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [15:06] <Philip`> Aren't workers likely to import standalone script libraries, which might also be imported by non-worker scripts on the same site, and which might use non-ASCII characters?
- # [15:06] * Quits: mat_t (n=mattomas@91.189.88.12) (Read error: 148 (No route to host))
- # [15:07] <Philip`> The worker scripts themselves are likely to be new, but they'll use bits and pieces of old library code
- # [15:08] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
- # [15:09] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [15:11] <Philip`> Hah
- # [15:11] <Philip`> If I apply http://www.rddl.org/rddl2rdf.xsl to http://www.w3.org/XML/1998/namespace then the output is not namespace-well-formed XML
- # [15:11] <Philip`> Hooray for namespaces!
- # [15:12] <murr5y> \o/
- # [15:15] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [15:15] * Quits: wakaba_ (n=wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) ("Leaving...")
- # [15:19] * Joins: miketaylr (n=miketayl@38.117.156.163)
- # [15:29] <Lachy> My first attempt at supporting scoped selectors in Selectors API has been checked in. http://dev.w3.org/2006/webapi/selectors-api2/#the-apis
- # [15:30] * Quits: Darxus (n=darxus@64.71.152.40) (Read error: 145 (Connection timed out))
- # [15:32] <karlushi> http://arstechnica.com/staff/fatbits/2009/09/metadata-madness.ars - This article about file type on macosx reminds me about mimetypes issues.
- # [15:32] * Joins: TabAtkins (n=chatzill@76.195.204.109)
- # [15:33] * Joins: Midler (n=midler@212.37.124.243)
- # [15:33] <Rik|work> karlushi: ping, you got mail :)
- # [15:34] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [15:36] <karlushi> Rik about parisweb? Seen it yesterday evening but was too tired to really think about it. :) I'll reply tonight.
- # [15:37] * Joins: annodomini (n=lambda@wikipedia/lambda)
- # [15:38] * Quits: annodomini (n=lambda@wikipedia/lambda) (Client Quit)
- # [15:39] <annevk2> data URLs are same origin...
- # [15:39] <annevk2> most of the time, anyway
- # [15:40] * Joins: ttepasse (n=ttepas--@p5B016910.dip.t-dialin.net)
- # [15:42] * Quits: mpilgrim_ (n=mpilgrim@rrcs-96-10-240-189.midsouth.biz.rr.com) (Read error: 104 (Connection reset by peer))
- # [15:42] * Joins: mpilgrim (n=mpilgrim@rrcs-96-10-240-189.midsouth.biz.rr.com)
- # [15:44] <jgraham> It seems like a worker can use a cross-origin script with the cooperation of the page anyway
- # [15:45] <jgraham> <script type="text/x-worker" src="http://thirdparty.example"></script> and then .toString() the script and postMessage it to the worker which can eval it
- # [15:48] <TabAtkins> Sure, but it's always possible to shoot yourself in the foot.
- # [15:49] <TabAtkins> You could do the same by having a helper page make a cross-origin (non-JS) request for the script, and have the worker XHR and eval it.
- # [15:50] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [15:51] <jgraham> TabAtkins: I'm not advocating cross-domain workers at all but it's not obvious why this is shooting yourself in the foot
- # [15:51] * Quits: aroben (n=aroben@unaffiliated/aroben) (Client Quit)
- # [15:51] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [15:51] <TabAtkins> Just in the general sense that allowing a script on a domain you don't control to run in your security context is potentially bad.
- # [15:52] * Joins: BlurstOfTimes (n=blurstof@168.203.117.59)
- # [15:52] <jgraham> Well yes, but the whole web is based on that working
- # [15:53] <jgraham> At least the part of the web that relies on advertising
- # [15:54] <TabAtkins> Yeah, and that sorta sucks. >_<
- # [15:55] <TabAtkins> But anyway, I doubt that advertising will be using Workers, so might as well keep it difficult to do this sort of thing.
- # [15:55] * Quits: remy|backinamo (n=remyshar@vinov2.gotadsl.co.uk) ("Gotta shoot - peeyaow!")
- # [15:56] <jgraham> You don't envison adverts that compute the first million digits of pi in the background?
- # [15:57] <miketaylr> Buy viagra....Ï€
- # [15:58] <TabAtkins> Hehe.
- # [16:05] <TabAtkins> Grah, I hate having our store hosted by someone else. It makes editting so difficult, especially when I don't actually have a login for them, and the dude I'm supposed to be sharing with (who has appropriate permissions for me to edit the store code) isn't in yet.
- # [16:05] <hsivonen> w00t! wikipedia got made HTML5 without the space the authoritative page
- # [16:06] <annevk2> zcorpan, next you should argue for a media type :)
- # [16:06] <annevk2> zcorpan, come to think of it, if importScripts imports ECMAscript it probably does not make much sense to always use UTF-8
- # [16:06] <Lachy> hsivonen, what does "without the space the authoritative page" mean?
- # [16:06] <annevk2> it means HTML_5 is now named HTML5
- # [16:07] <annevk2> I guess
- # [16:07] <hsivonen> Lachy: HTML5 used to redirect to HTML_5
- # [16:07] <hsivonen> Lachy: now HTML_5 redirects to HTML5
- # [16:07] <Lachy> oh
- # [16:07] <hsivonen> in mediawiki terms of "redirection"
- # [16:08] <Lachy> That's interesting, considering this that opposed it http://en.wikipedia.org/wiki/Talk:HTML5#Back_to_.22HTML5.22
- # [16:09] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) ("Leaving...")
- # [16:15] * Quits: maikmerten (n=maikmert@U38d2.u.pppool.de) (Remote closed the connection)
- # [16:15] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [16:21] * Quits: KevinMarks (n=KevinMar@67.164.14.96) ("The computer fell asleep")
- # [16:23] * Joins: lazni (n=lazni@118.71.2.236)
- # [16:30] * Quits: maotzetung (n=mao@host-78-15-37-184.cust-adsl.tiscali.it) (Remote closed the connection)
- # [16:36] * Joins: annodomini (n=lambda@130.189.179.215)
- # [16:39] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [16:39] * Joins: weinig_ (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [16:39] * weinig_ is now known as weinig
- # [16:39] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
- # [16:41] * Joins: workmad3 (n=davidwor@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [16:41] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
- # [16:41] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [16:41] <TabAtkins> Firefox devs: I want tearoff tabs. >_<
- # [16:42] * Joins: Darxus (n=darxus@panic.chaosreigns.com)
- # [16:42] <TabAtkins> Oh, nm, I have them now.
- # [16:42] <TabAtkins> Didn't realize this.
- # [16:42] * Joins: jdandrea (n=jdandrea@pool-98-109-116-42.nwrknj.fios.verizon.net)
- # [16:43] * Quits: jdandrea (n=jdandrea@pool-98-109-116-42.nwrknj.fios.verizon.net) (Client Quit)
- # [16:43] * Quits: pablof (n=palbo@213.236.208.22) (":qa!")
- # [16:45] * Quits: gsnedders (n=gsnedder@host217-44-35-222.range217-44.btcentralplus.com) ("Adios intarwebs.")
- # [16:46] * jgraham isn't sure he is happy with the ECMAScript people trying to constrain API design to what is implementable in pure ECMAScript
- # [16:47] <Philip`> Because you don't consider that a valuable goal?
- # [16:47] <Philip`> It seems pretty useful for e.g. emulating new APIs in old browsers
- # [16:48] <jgraham> Because a) I don't understand the reason for it and b) without knowing a) it seems more useful to have well-designed APIs than artifically constrained ones
- # [16:49] <TabAtkins> I think Philip` provided probably the biggest practical reason.
- # [16:49] <jgraham> Philip`: In many cases new APIs can't really be emulated in old browsers anyway
- # [16:49] <TabAtkins> I don't think the idea that an OS might be implemented in ecmascript is very important to worry about, though.
- # [16:49] <Philip`> jgraham: In many cases you can make a good enough approximation for people to survive
- # [16:49] <Philip`> e.g. with <canvas>
- # [16:49] <jgraham> Philip`: What about localStorage?
- # [16:50] <Philip`> or you could use Flash as the backend implementation
- # [16:50] <Philip`> jgraham: Maybe Flash, or cookies, or use a remote web service for persistent storage
- # [16:51] <TabAtkins> And there's that crazy window.name hack for SessionStorage.
- # [16:51] <jgraham> In any case this seems like a tradeoff for the HTML WG to make on a case-by-case basis, not one for TC39 to insist on as a blanket restriction
- # [16:51] <Philip`> "we believe that new host APIs should generally seek to avoid requiring catchalls" sounds a long way from a blanket restriction
- # [16:52] <jgraham> Philip`: Depends whether by "generally" they mean "always" or "unless they make sense"
- # [16:52] <Philip`> (Implementing localStorage via a remote storage service would be excellently ironic, unless I'm forgetting what "ironic" means)
- # [16:53] <TabAtkins> I think that's irony, yes.
- # [16:53] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [16:53] <TabAtkins> Also: ecma just needs __get magic like PHP and Ruby have. Then catchalls won't be a problem.
- # [16:53] <jgraham> I thought Americans didn't get irony? ;)
- # [16:53] <Philip`> jgraham: Well, if "generally" means "always", and "should" means "must", and "seek to avoid" means "don't"...
- # [16:54] <Philip`> I suppose then it would be a blanket restriction
- # [16:54] <jgraham> Philip`: Well they clearly don't like something in HTML5. And it's not like there are dozens of places where catchalls have been used
- # [16:54] * Parts: ezyang (n=ezyang@DR-WILY.MIT.EDU)
- # [16:54] <Philip`> ("Blanket restriction" sounds like something you get during wartime rationing when there's not enough cloth to go around)
- # [16:55] <jgraham> So I would conclude that the restriction they have in mind is severe enough that one of the rather few instances of a new API that uses this pattern is enough to violate it
- # [16:56] <jgraham> TabAtkins: Yeah they have been arguning about the precise way to implemtn catchalls for as long as I can remember
- # [16:56] <TabAtkins> Man, it ain't hard.
- # [16:56] <jgraham> Which, admittedly isn't very long in this case
- # [16:57] <Philip`> Yeah, they should just copy all of PHP's design decisions
- # [16:57] <TabAtkins> I'm glad you see things our way, Philip`.
- # [16:57] <TabAtkins> Anyway, it's *also* Ruby's design decision.
- # [16:57] <jgraham> http://wiki.ecmascript.org/doku.php?id=strawman:catchalls
- # [16:57] <jgraham> Python has __getattr__
- # [16:57] <Philip`> I think they should randomise the function naming conventions in the next version of ECMAScript too
- # [16:59] * Joins: da3dx (n=opera@h11n1fls34o986.telia.com)
- # [16:59] * jgraham can't say he is super-thrilled by a proposal wehich appears to require first creating an object and then defining the catchalls on it seperatly
- # [16:59] <TabAtkins> Man, Philip`, my heart flutters at the mere possibility.
- # [17:00] <TabAtkins> (Though function naming isn't that bad. It's the *argument ordering* that really drives me crazy.)
- # [17:01] <TabAtkins> (Like in_array and substr taking the needle and haystack in opposite order.)
- # [17:02] * Philip` wonders where the terms needle/haystack originated, in the context of search algorithms
- # [17:02] <TabAtkins> Can a page on a secure connection link to a resource on another, different secure connection without raising the security dialog?
- # [17:02] <Dashiva> TabAtkins: It's also annoying that some functions are whatnot and others are array_whatnot
- # [17:03] <TabAtkins> Philip`, isn't it obvious? The needle/haystack metaphor has been around forever.
- # [17:03] <Philip`> I don't remember hearing it more than a few years ago
- # [17:03] <TabAtkins> Dashiva: Yeah, but honestly, that just doesn't bother me that much. I've learned enough langauges that names just slide in.
- # [17:03] <TabAtkins> "Like finding a needle in a haystack"?
- # [17:03] <TabAtkins> That's an old, old expression.
- # [17:04] <TabAtkins> Denotes a difficult search.
- # [17:04] <Philip`> I know the expression, but not its adoption into search algorithms
- # [17:04] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:05] <TabAtkins> Philip`, as far as I know it's been around for a long time there as well. Been in every literature I've read since I started programming.
- # [17:05] <Dashiva> It seems like a no-brainer
- # [17:05] <TabAtkins> (Which, admittedly, is only like 10 years ago or so.)
- # [17:05] <Philip`> http://www.manpagez.com/man/3/strstr/ just uses s1,s2, but http://linux.die.net/man/3/strstr uses haystack,needle
- # [17:07] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:07] <TabAtkins> So, I'm trying to decide if I can fake out the security dialog. I have a page on a secure connection on a server that I have little control over, and probably no ability to store arbitrary files. I also have a handy secure site which I *do* have completely control over already set up.
- # [17:07] <TabAtkins> I wanna use the latter to host files for the former to link to, if it'll make the browser shut up about linking to insecure resources.
- # [17:08] <Philip`> Hmm, apparently glibc documentation used haystack/needle since at least 1995
- # [17:09] <Philip`> but I'm sure I never heard it until relatively recently
- # [17:09] <hsivonen> Philip`: haystack/needle is ancient
- # [17:09] <TabAtkins> Define 'recently'.
- # [17:10] <Philip`> TabAtkins: Recently enough that I can remember thinking "ooh, that's a good name for the arguments" when I first noticed it
- # [17:10] <TabAtkins> Heh, k.
- # [17:10] <TabAtkins> Yeah, your brain is just crazy, then.
- # [17:10] <hsivonen> I'm pretty sure it appears in at least one of Boyer–Moore, Rabin–Karp or Knuth–Morris–Pratt papers
- # [17:11] * Quits: Creap (n=Creap@vemod.brg.sgsnet.se) ("nu fäkt")
- # [17:11] <TabAtkins> Woo, awesome, hosting on an unrelated secure server works.
- # [17:12] * Quits: da3d (n=opera@h11n1fls34o986.telia.com) (Read error: 110 (Connection timed out))
- # [17:13] <Philip`> TabAtkins: Does the browser UI still indicate that the site is secure? (like when it shows the name of the site in a green/yellow box in the address bar, or whatever)
- # [17:14] * Philip` has seen lots of secure sites where Opera just shows a grey "?" because it doesn't trust all the content on the page
- # [17:14] <Philip`> (which is particularly annoying when they're pages asking for my credit card details)
- # [17:14] <TabAtkins> Philip`, I'm viewing in IE, since it has the dialog most likely to produce a broken page (clicking "yes" makes it ignore all the insecure items).
- # [17:14] <TabAtkins> So, maybe?
- # [17:14] <TabAtkins> Anyway, got lots and lots of stuff to push over and change links for now.
- # [17:15] <TabAtkins> I just confirmed that the template CSS is working, which made me happy.
- # [17:15] <TabAtkins> Because ie8 users were getting a style-less, image-less page.
- # [17:15] <TabAtkins> (still usable, but no one who saw it wanted to, because they were confused)
- # [17:18] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [17:18] * Joins: dglazkov (n=dglazkov@nat/google/x-xodskwwdocghivdb)
- # [17:20] * Joins: lazni1 (n=lazni@118.71.2.236)
- # [17:20] * Joins: dave_levin (n=dave_lev@74.125.59.73)
- # [17:21] * Quits: lazni (n=lazni@118.71.2.236) (Read error: 104 (Connection reset by peer))
- # [17:25] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn)
- # [17:27] * Quits: da3dx (n=opera@h11n1fls34o986.telia.com) (Read error: 110 (Connection timed out))
- # [17:28] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
- # [17:32] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [17:44] * Quits: Dashiva (i=Dashiva@wikia/Dashiva)
- # [17:45] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [17:46] * Joins: Dashiva (i=Dashiva@wikia/Dashiva)
- # [17:47] * Joins: gsnedders (n=gsnedder@host217-44-35-222.range217-44.btcentralplus.com)
- # [17:48] * Joins: sbublava (n=stephan@77.118.242.169.wireless.dyn.drei.com)
- # [17:48] * Quits: cying (n=cying@adsl-75-18-219-60.dsl.pltn13.sbcglobal.net)
- # [17:49] * Quits: annodomini (n=lambda@wikipedia/lambda)
- # [17:50] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [17:56] * Quits: lazni1 (n=lazni@118.71.2.236) (Read error: 104 (Connection reset by peer))
- # [17:58] * Joins: maikmerten (n=maikmert@89.56.56.210)
- # [18:00] * Quits: nessy (n=nessy@124-170-205-120.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [18:00] <TabAtkins> Philip`, now that everything is being delivered securely, it does indeed indicate that it's a secure connection.
- # [18:00] <TabAtkins> FF and IE agree.
- # [18:01] * Joins: coonsta (n=dominicc@74.125.59.1)
- # [18:01] * Joins: da3d (n=opera@h11n1fls34o986.telia.com)
- # [18:05] * Parts: virtuelv (n=virtuelv@212.251.175.125) ("Ex-Chat")
- # [18:12] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) ("Wünsche weiterhin guten Flug")
- # [18:14] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:15] * Joins: annodomini (n=lambda@130.189.179.215)
- # [18:18] <Hixie> study three
- # [18:20] * Joins: ap (n=ap@17.246.19.174)
- # [18:20] * Quits: sbublava (n=stephan@77.118.242.169.wireless.dyn.drei.com) (Read error: 104 (Connection reset by peer))
- # [18:22] * Joins: sicking (n=chatzill@nat/mozilla/x-vgloiddfrmdkzyan)
- # [18:26] * Joins: hober (n=ted@unaffiliated/hober)
- # [18:29] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [18:35] * Joins: jianli (n=jianli@74.125.59.73)
- # [18:38] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [18:39] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [18:39] * Quits: coonsta (n=dominicc@74.125.59.1) ("leaving")
- # [18:45] * Quits: mpt (n=mpt@canonical/mpt) (Read error: 113 (No route to host))
- # [18:50] * Joins: benward (n=benward@nat/yahoo/x-jwjrlzctmbnwtpow)
- # [18:51] * ap is now known as ap|away
- # [18:51] * Quits: Phae (n=phaeness@gateb.thls.bbc.co.uk)
- # [18:56] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [18:58] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
- # [19:01] * Joins: sbublava (n=stephan@77.116.178.241.wireless.dyn.drei.com)
- # [19:01] * Joins: masinter (n=user@31-33-209.wireless.csail.mit.edu)
- # [19:01] * Joins: onar_ (n=onar@17.226.23.126)
- # [19:03] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (Read error: 110 (Connection timed out))
- # [19:04] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
- # [19:09] * Quits: zdobersek (n=zan@cpe-92-37-73-75.dynamic.amis.net) (Read error: 110 (Connection timed out))
- # [19:10] * Quits: mat_t (n=mattomas@91.189.88.12) ("This computer has gone to sleep")
- # [19:10] * Quits: adactio (n=adactio@host86-138-101-27.range86-138.btcentralplus.com)
- # [19:11] * Joins: zdobersek (n=zan@cpe-92-37-74-170.dynamic.amis.net)
- # [19:12] * Quits: workmad3 (n=davidwor@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [19:18] <Hixie> well that was interesting
- # [19:19] <gsnedders> I agree.
- # [19:20] <Hixie> she was doing variant 002
- # [19:20] <Hixie> she didn't get the idea of scoping at all, until we showed her the variant 003 syntax, and she was like "oooh, itemscope="", yes!"
- # [19:20] <Hixie> also she had huge trouble with the idea of using URLs for identifiers
- # [19:20] <Hixie> unlike the other two, who were fine with it
- # [19:21] <Hixie> we were hoping to learn more about types, but she didn't really comment on them
- # [19:21] <Hixie> so that didn't help much
- # [19:23] <annevk2> how many people are participating in total?
- # [19:25] <Hixie> 2 yesterday, 3 today
- # [19:25] <Hixie> maybe 2 more monday
- # [19:28] * Joins: weinig (n=weinig@17.246.19.140)
- # [19:29] <erlehmann> Hixie, are you employing a social scientist or usability psychologist for that ?
- # [19:29] <erlehmann> or is it just … "well, lets see"
- # [19:29] * Quits: weinig (n=weinig@17.246.19.140) (Remote closed the connection)
- # [19:29] * Joins: weinig (n=weinig@17.203.15.140)
- # [19:29] <Hixie> erlehmann: yes, we have a team of usability experts here
- # [19:30] <Hixie> erlehmann: with recruiters, screeners, moderators, script writers, etc
- # [19:30] <erlehmann> script writers ? the'll miss <dialog>, for sure *smirk*
- # [19:30] <Hixie> one-way glass, eye tracking (though we're not using the eye tracking in this case), etc
- # [19:30] <erlehmann> oh wow
- # [19:31] <Hixie> actually usability study scripts tend to just be <li> elements :-)
- # [19:31] <Hixie> it's quite the setup
- # [19:31] <erlehmann> Hixie, your description fits my game taste perfectly. played ascii portal yet ?
- # [19:31] <Hixie> (i was hoping we'd be able to make the videos public, but it looks like we can't because the participants only grant us rights to use the videos internally)
- # [19:32] <erlehmann> oh, how sad.
- # [19:32] <Hixie> (though apparently if people want to see them i can show them to you if you come here and agree to the standard visitor NDAs)
- # [19:32] <erlehmann> "here" ? norway ?
- # [19:34] * Joins: cying (n=cying@70.90.171.153)
- # [19:35] <gsnedders> erlehmann: Google, Mountain View
- # [19:35] * Quits: onar_ (n=onar@17.226.23.126) (Read error: 60 (Operation timed out))
- # [19:36] <erlehmann> gsnedders, i was going by whois information, but that seems logical, yes.
- # [19:37] <gsnedders> erlehmann: Hixie runs IRC on some box in Norway because that's where he has a reliable computer he can run IRC over ssh on :P
- # [19:41] * Joins: drunknbass_work (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net)
- # [19:42] * Quits: Lachy (n=Lachlan@85.196.122.246) ("Leaving")
- # [19:45] * masinter in TAG meeting only available at interrupt
- # [19:48] * Joins: tiberius_zero (n=chatzill@84.112.138.95)
- # [19:49] * Parts: tiberius_zero (n=chatzill@84.112.138.95)
- # [20:01] * Joins: cying_ (n=cying@70.90.171.153)
- # [20:04] * aroben is now known as aroben|meeting
- # [20:05] * Quits: cying_ (n=cying@70.90.171.153) (Client Quit)
- # [20:06] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Connection timed out)
- # [20:06] <Philip`> I suppose one problem is you get no idea about long-term usability
- # [20:07] <Philip`> like whether verbose identifiers become really annoying after you've had to copy-and-paste them for the hundredth time into your document
- # [20:07] <Hixie> yeah
- # [20:07] <Hixie> that is a huge problem, indeed
- # [20:07] <Hixie> though we have learnt that authors have no problem with copy and paste
- # [20:07] <Hixie> 3 out of 3 authors so far have happily used context menus and copy and paste without any difficulty whatsoever
- # [20:08] <Philip`> If I remember correctly, hsivonen complains about having to copy-and-paste namespace URIs even when he only has to have them once per document
- # [20:08] <Philip`> and with complex embedded data you might have a dozen different identifiers each used a dozen times on the page
- # [20:09] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [20:09] <Philip`> I presume the problem is more about finding a place to copy from, rather than the mechanism of copy-and-paste
- # [20:10] <Hixie> yup
- # [20:10] <Hixie> totally agree
- # [20:10] <Philip`> So I guess your data won't be convincing evidence against the need for CURIEs
- # [20:10] <Philip`> so RDFa wins again!
- # [20:11] * Joins: solepixel (n=solepixe@66.182.175.130)
- # [20:12] <solepixel> ok, IE8. What gives? All my html5 tags don't work, or they're being displayed "inline" or something. I have a reset stylesheet which is setting them all to display:block, but that's not taking. Is there something I should know about this issue?
- # [20:12] <Hixie> oh we're not trying to study rdfa here
- # [20:12] * Joins: weinig_ (n=weinig@17.246.19.140)
- # [20:13] <erlehmann> solepixel, google frame ;)
- # [20:13] <erlehmann> Hixie, isn't 3 a really small number for extrapolation ?
- # [20:14] <erlehmann> or do you just want to uncover problems ?
- # [20:14] <inimino> solepixel: you probably want the createElement hack
- # [20:14] <solepixel> ouch
- # [20:14] <solepixel> so my html5 requires JS to run in IE8?
- # [20:14] * Joins: cying_ (n=cying@70.90.171.153)
- # [20:16] <da3d> solepixel: You want http://html5shiv.googlecode.com/svn/trunk/html5.js
- # [20:16] <solepixel> so, what you're saying is, this HTML5 that everyone's saying is OK to use "today" isn't really without this javascript hack?
- # [20:17] * Philip` wonders how the word "shiv" got so entrenched here
- # [20:17] * masinter notes productive discussion of copy/paste difficulty as requirement has been useful, but that 'authors using text editors' are only small segment of market that create HTML pages
- # [20:17] <inimino> solepixel: HTML5 features are fine to use in browsers that support them
- # [20:17] * Quits: cying (n=cying@70.90.171.153) (Connection timed out)
- # [20:17] * cying_ is now known as cying
- # [20:18] <inimino> solepixel: if you heard that IE8 is supporting a lot of new HTML5 features, you were misinformed
- # [20:19] <masinter> noting things that interfere with backward compatibility with large deployed base of existing browsers would be really helpful, most standards updates take compatibility with all sides (producers and consumers) and not just one side (old producers, i.e., existing web pages)
- # [20:19] * Joins: nlogpaul (n=paul_iri@12.33.239.250)
- # [20:19] * masinter goes back to TAG meeting
- # [20:19] <solepixel> no, i just saw in numerous blogs/sites that people say "yes, start using HTML5". yet they all failed to mention hacks were required for IE8
- # [20:19] <hsivonen> Philip`: I use assistive technology for writing ns uris
- # [20:20] <masinter> they were misinformed: http://www.w3.org/QA/2009/05/_watching_the_google_io.html
- # [20:20] <hsivonen> Philip`: I have a program that hooks into the accessibility APIs and expands nmemonics into full uris for me
- # [20:20] <solepixel> John Resig being one of them
- # [20:21] <hsivonen> however, I had a typo in the Xlink macro, so teh wrong ns got expanded all over the place. including the V.nu talisman checking
- # [20:21] * nlogpaul is now known as paul_irish_
- # [20:22] <hober> paul_irish_: nice post re: chrome & @font-face
- # [20:25] <paul_irish_> hober: oh thanks man! :)
- # [20:26] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [20:27] * Quits: weinig (n=weinig@17.203.15.140) (Read error: 110 (Connection timed out))
- # [20:27] * weinig_ is now known as weinig
- # [20:27] <hsivonen> hober: URL?
- # [20:27] <paul_irish_> http://paulirish.com/2009/chrome-and-font-face-a-summary/
- # [20:28] * Joins: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
- # [20:33] * Quits: kristallpirat (n=kristall@c-base/crew/kristall) ("Wünsche weiterhin guten Flug")
- # [20:34] <hsivonen> paul_irish_: thanks
- # [20:34] <paul_irish_> :)
- # [20:37] * Quits: cying (n=cying@70.90.171.153)
- # [20:44] <masinter> http://www.w3.org/html/wg/tracker/issues/53
- # [20:47] <masinter> http://dev.w3.org/html5/spec/Overview.html#text-html
- # [20:47] <Hixie> erlehmann: 2 yesterday, 3 today, 2 monday. turns out more than 6 is actually not that much more information.
- # [20:49] * Joins: cying (n=cying@70.90.171.153)
- # [20:50] <erlehmann> Hixie, and from what background did you pick your candidates ? web developers ?
- # [20:50] * Quits: cying (n=cying@70.90.171.153) (Remote closed the connection)
- # [20:50] <Hixie> yeah, engineers and web devs. we have a recruiting department, they ask screening questions to try to get people familiar with html but not familiar with html5, etc
- # [20:50] * Joins: cying (n=cying@70.90.171.153)
- # [20:51] <Hixie> asking questions like "what text editor do you use" and "how much do you use css"
- # [20:51] * aroben|meeting is now known as aroben
- # [20:51] <Hixie> we figured that would help weed out the wysiwyg users a bit
- # [20:52] <erlehmann> Well, then i'll go for „MS Word“ and „I liked Counterstrike 1.6 more.“ :p
- # [20:53] <gsnedders> It's cool Google are doing this, though.
- # [20:54] * Quits: weinig (n=weinig@17.246.19.140) (Remote closed the connection)
- # [20:54] * Joins: weinig (n=weinig@17.203.15.140)
- # [21:06] <hsivonen> hehe. jd has already drawn parallels between Silverlight and Chrome Frame
- # [21:06] <erlehmann> Hixie, was usability testing also employed in other regards, like naming the URI input type "url" etc. ?
- # [21:06] <erlehmann> or is this a first for the spec ?
- # [21:08] <masinter> the idea of studying this is bizarre, to pick the spec point by point for usability
- # [21:08] <masinter> that's like having an application user interface and asking people if they like blue or green menu items better
- # [21:10] <Hixie> erlehmann: first time for html5
- # [21:11] <erlehmann> well i guess there wont be a second time then ? after all, other issues are not so complicated and last call is near.
- # [21:11] <Hixie> masinter: you wouldn't ask them which they prefer, you'd test which makes them more productive
- # [21:11] <othermaciej> it's not like asking, it's like doing a usability test to see if blue or green menu items are for whatever reason easier to use
- # [21:11] <masinter> if the criteria is 'consistency' and 'coherence', there's no way to discover that by asking piece by piece whether the overall language makes sense from a usability point of view
- # [21:11] <othermaciej> the latter may still be trivial and perhaps likely to produce more statistical noise than meaningful results, but at least it would not be fallacious
- # [21:11] <Hixie> masinter: (and google does do that; we've even doing A/B comparison studies for shades of blue on the search results page!)
- # [21:12] <Hixie> masinter: we don't ask them what they think, we make them do exercises and see how well they do with different variants
- # [21:12] <Hixie> masinter: you can see the scripts we use here: http://damowmow.com/playground/microdata/
- # [21:12] * Quits: sebmarkbage (n=miranda@h-73-244.A146.priv.bahnhof.se) (Read error: 104 (Connection reset by peer))
- # [21:12] <masinter> my comment about consistency and coherence of the overall language stand, no matter how you judge individual features
- # [21:12] <othermaciej> and when doing usability testing, yes, it does make sense to consider only one or a few features / tasks at a time
- # [21:12] <Hixie> participant 4 just started, following this script: http://damowmow.com/playground/microdata/script-participant5
- # [21:12] <Hixie> er, participant 5 even
- # [21:13] <masinter> maciej: tasks, yes. features, no
- # [21:13] <erlehmann> masinter, html5 is not consistent at all. film at 11.
- # [21:13] <Hixie> though it's the fourth person, we're doing them out of order because someone canceled on us earlier today
- # [21:13] <masinter> i'm not saying that doing experiments is bad, it's just drawing grand conclusions based on them
- # [21:13] <othermaciej> judging consistency and coherence of the whole language is useful, but not in the same way as using usability testing
- # [21:14] <othermaciej> usability testing can't generally tell you if your whole UI paradigm is wrong (if we take it back to its usual domain)
- # [21:14] <Hixie> oh actually we're using script 6 with this participant (http://damowmow.com/playground/microdata/script-participant6)
- # [21:14] <masinter> are there any reliable statistics about percentage of web pages served that are actually hand-authored, vs. generated by database tools?
- # [21:14] <Hixie> my bad
- # [21:14] <othermaciej> you have to have good judgment to get the right basic ideas in the UI, and then you can use usability testing to refine them
- # [21:14] <masinter> or built with wysiwyg tools, such as rich text email editors?
- # [21:15] <Hixie> othermaciej: it can tell you your paradigm isn't working, though it can't tell you how to fix the whole paradigm, i'd say
- # [21:15] <masinter> just the relative importance given in the language design to hackers using emails to build HTML
- # [21:15] <masinter> s/email/emacs/
- # [21:15] <othermaciej> Hixie: fair enough, though if you have a design that broken, then you need a good designer more than you need usability testing
- # [21:16] <Hixie> othermaciej: no argument there!
- # [21:16] <TabAtkins> Hixie: What are the differences between 001 and 002? I can't tell on a quick visual diff.
- # [21:16] <othermaciej> masinter: enough people (and in particular enough early adopters and educators/advocates) hand-author that it's worth considering
- # [21:16] * masinter thinks extensibility, coherence, reliability of processing, locality of effects of processing, debugability etc. are more important in language design than usability, even for markup languages
- # [21:17] <othermaciej> I think there's generally an assumption that making something nicer for hand-authoring will not materially harm the ability of tools to produce it
- # [21:17] <Hixie> TabAtkins: http://damowmow.com/playground/microdata/002-001 explains going from 002 to 001
- # [21:17] <masinter> more pages are edited and debugged than are authored in the first place
- # [21:17] <othermaciej> sure, so making HTML write-only like Perl would be a poor choice
- # [21:18] <masinter> that was the argument for programming languages too: programmers spend more time trying to figure out what someone else's code than they do writing stuff in the first place
- # [21:18] <othermaciej> though we are constrained by legacy to have some details that may be hard for a non-expert to infer from reading
- # [21:19] <othermaciej> for example, without knowing what elements implicitly close what other elements, and which elements are void it may be hard to read markup that doesn't go out of its way to indicate when things are closed
- # [21:19] <Hixie> othermaciej: the good news on that front is that authors are finding reading microdata easier than writing it
- # [21:19] * Joins: dbaron (n=dbaron@nat/mozilla/x-wrpzdasxkhhflgeb)
- # [21:19] * Joins: bobs (n=oeskola@kekkonen.cs.hut.fi)
- # [21:19] <othermaciej> Hixie: are there any tests that involve them taking existing microdata markup and changing it to say something else?
- # [21:20] <masinter> or just figuring out what it says and whether it says what you think it says?
- # [21:20] <masinter> or debugging "i got out X and I meant for it to say Y, fix it?"
- # [21:20] <othermaciej> masinter: Hixie did say there are tests for reading microdata which are going well
- # [21:20] <Hixie> othermaciej: one exercise has them writing out the name-value pairs of http://damowmow.com/playground/microdata/002/flickr-annotated.html
- # [21:20] <masinter> debugging is much different from reading
- # [21:20] * Joins: maikmerten_ (n=maikmert@BAE3667.bae.pppool.de)
- # [21:21] <Hixie> othermaciej: and the main other exercise is getting them to annotate http://damowmow.com/playground/microdata/002/blog.html
- # [21:21] <masinter> metadata is more likely to be inserted using database publishing, anyway
- # [21:22] <masinter> hand-authored metadata is likely to be rare anyway; the most important use cases for adding metadata to web pages come from database publishing, so the relevance of usability here is really suspect
- # [21:22] <othermaciej> masinter: many authors hand-author microdata markup, or templates that contain it, so I doubt your conclusion
- # [21:22] <masinter> i asked for statistics and you say 'many'
- # [21:23] <othermaciej> many authors also try to hand-author RDFa markup or templates containing it
- # [21:23] <masinter> now, i don't have statistics either, but i know about metadata through authoring tool chains and most of the metadata is added automatically in all of the workflows i know of, by the tools
- # [21:24] * Philip` doesn't know how you could do something like RDFa/microdata without a human writing either the markup or the markup templates
- # [21:24] <othermaciej> I understand that you doubt the value of this usability study, but pre-emptively criticizing its conclusions does not seem like a good use of time
- # [21:24] <masinter> i'm not criticizing its conclusions
- # [21:24] <masinter> not at all, sorry if that seemed like i was saying
- # [21:25] <othermaciej> "i'm not saying that doing experiments is bad, it's just drawing grand conclusions based on them"
- # [21:25] <masinter> exactly, i don't expect there to be any grand conclusions, do you?
- # [21:25] <Hixie> i would imagine most pages that have microformats, rdfa, or that will have microdata, are either written by hand, or autofilled into templates that are themselves written by hand
- # [21:25] <othermaciej> I expect there to be modest conclusions, which are nontheless useful
- # [21:25] <othermaciej> since that is what usually happens with usability studies
- # [21:25] <Hixie> e.g. wordpress, a big producer of microformats, is all hand-written templates
- # [21:26] <masinter> othermaciej: yes, that's what i expect too, so we agree
- # [21:26] <masinter> hmmm, hand-written templates... that sounds right
- # [21:26] <othermaciej> it sounded like you were pre-emptively mocking the conclusions as likely to be "grand", when no one had presented any conclusions
- # [21:26] <masinter> so template builders don't actually verify the metadata accuracy
- # [21:27] <hsivonen> masinter: someone hand authors the templates that are filled from a database
- # [21:27] * Quits: maikmerten (n=maikmert@89.56.56.210) (Read error: 145 (Connection timed out))
- # [21:27] <masinter> hsivonen: yes, that sounds reasonable. but then, the task of changing the metadata based on looking at the HTML wouldn't be the right test.
- # [21:27] <othermaciej> you want markup that someone can add to a template with low likelihood of messing up the syntax (relative to alternatives)
- # [21:28] <hsivonen> othermaciej: I'd posit that the power of Selectors makes it super-hard to make a WYSIWYG tool that ingests hand-written CSS
- # [21:28] <othermaciej> a test to make a template would probably be more confusing than a test to add some concrete microdata, and unlikely to give interestingly different conclusions
- # [21:28] <TabAtkins> hsivonen: I'd agree with that.
- # [21:28] <masinter> if the metadata is populated by filling in a template, then the production of the metadata would be split between the template writer, the author of the software that knows how to fill in the template, the user that fills in the template
- # [21:28] <othermaciej> hsivonen: are you saying this is a consequence of the wonderful hand-authorability of Selectors?
- # [21:28] <TabAtkins> hsivonen: I also wouldn't care, because Selectors are so awesome.
- # [21:29] * Joins: seanoshea (n=seanoshe@nat217.eye.fi)
- # [21:30] <hsivonen> othermaciej: abstractions that help hand authoring are hard for stuff that crams that stuff into different abstractions
- # [21:30] * Joins: tantek (n=tantek@70.36.139.108)
- # [21:30] <othermaciej> hsivonen: selectors of nontrivial complexity are hard to hand-author
- # [21:31] <hsivonen> how does OpenOffice.org expose RDFa in ODF in the UI?
- # [21:31] <othermaciej> I think the real tradeoff we are seeing here is language expressiveness vs. ability of tools to understand the language and express it in a GUI
- # [21:31] <masinter> it's great to do usability studies, and looking at hand authoring is fine, it's just that if there are limited resources to do them, doing usability studies that correspond the most important use cases would be really helpful
- # [21:31] * Hixie takes back what he said earlier about participants being able to extract data easily
- # [21:32] <Hixie> masinter: i encourage adobe to put up the resources to do usability studies for what you think is more important
- # [21:32] <masinter> that's a great rejoinder, of course
- # [21:32] <hsivonen> do adobe products expose a UI for arbitrary graphs in XMP?
- # [21:32] <othermaciej> masinter: if you have ideas for studies perhaps we can even find resources elsewhere
- # [21:32] <Hixie> it's not meant as a rejoinder, i'm serious, it would be awesome if adobe could do usability studies
- # [21:33] <masinter> hsivonen: I don't think so
- # [21:33] <othermaciej> myself, I'm not inclined to criticize data gathering simply because there is other data we could have gathered
- # [21:33] <masinter> Adobe mainly does WYSIWYG tools for designers
- # [21:33] <masinter> and for the most part, Adobe customers could care less about the markup language and don't want to see it
- # [21:34] <masinter> i'm sorry if it sounded like i was criticizing data gathering, i was just trying to be helpful
- # [21:34] * TabAtkins wishes he can a bit more visibility into the markup language of PDFs, as he's been staring at a big problem for a while and Adobe tech support couldn't help him.
- # [21:34] <hsivonen> masinter: what happens if a file comes in from a non-Adobe app and has a complex RDF graph in XMP?
- # [21:34] <TabAtkins> s/can/could have/
- # [21:35] <othermaciej> would you imagine any of Adobe's tools ever having UI to add metadata markup (either concrete or templates)?
- # [21:35] <othermaciej> or is that something that would be left to be done after the fact by editing the tool's output?
- # [21:36] <masinter> most adobe tools have UI to add and edit matadata, and to do template-based creation of metadata
- # [21:36] <othermaciej> embedded metadata, or whole-document level metadata?
- # [21:36] <masinter> and extensibility points for adding new menus, screens, user interfaces
- # [21:36] <othermaciej> and if the former, what formats are supported?
- # [21:36] <masinter> well, it depends on the product, maciej
- # [21:37] <othermaciej> I'm asking because I wonder if there is anything we can do in the design of metadata markup to make it easier for WYSIWYG tools to apply it
- # [21:37] <tantek> masinter, what formats in total (across any/all products)?
- # [21:37] <masinter> lemme give you some references
- # [21:37] <othermaciej> I can imagine building a template with a graphical tool and then producing pages using that template from a database is a likely scenario
- # [21:38] * ap|away is now known as ap
- # [21:38] <masinter> http://www.adobe.com/products/xmp/standards.html
- # [21:38] * aroben is now known as aroben|lunch
- # [21:38] * TabAtkins finds Selectors absolutely trivial, and so is definitely not the guy you should ask about Selector usability.
- # [21:39] * masinter is in a discussion in TAG meeting needs to get back, will send file format issue
- # [21:39] <hsivonen> tantek: are you aware of WYSIWYGish tools that support DRY metadata in document body?
- # [21:39] <othermaciej> so XMP is file-scope metadata?
- # [21:39] <othermaciej> (if I'm reading this right)
- # [21:40] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
- # [21:40] <hsivonen> having a WYSIWYG UI for DRY seems like a hard problem
- # [21:40] <masinter> part 3 http://www.adobe.com/devnet/xmp/
- # [21:40] <masinter> part 3 has file formats supported
- # [21:41] <masinter> http://www.adobe.com/devnet/xmp/pdfs/XMP-FileInfo-SDK-Overview.pdf has info on how to customize application UI for wysiwyg interfaces for custom metadata
- # [21:42] <masinter> PDF, InDesign and some other formats allow XMP inside embedded objects
- # [21:43] <masinter> http://www.adobe.com/devnet/xmp/pdfs/DynamicMediaXMPPartnerGuide.pdf says it's about dynamic media (video & audio) but it actually is a general architecture for having embedded metadata for compound objects
- # [21:43] <masinter> DRY = ??
- # [21:43] <othermaciej> Don't Repeat Yourself
- # [21:43] <masinter> tantek: file formats extensible, of course
- # [21:44] * hsivonen wonder what app consume Illustrator-written metadata in SVG
- # [21:44] <Hixie> well this study is going poorly
- # [21:44] * tantek dislikes the term metadata as its often unnecessarily used (where "data" would do), and seems to encourage separation/duplication from the actual data (violations of DRY) and invisible metadata.
- # [21:44] <hsivonen> (parts of it have a write-only flavor)
- # [21:45] <tantek> here's a good blog post on the overuse of the term metadata (even/especially by CS types) http://blogs.fluidinfo.com/fluidDB/2009/09/05/metadata-vs-data-a-wholly-artificial-distinction/
- # [21:45] <masinter> http://www.metadataworkinggroup.org/ working on integration of XMP with other legacy metadata formats for images & video (e.g., EXIF) so cameras can add metadata when the picture is taken
- # [21:46] <Philip`> Everything is cooler when you call it meta
- # [21:46] <tantek> Philip`: Everything is cooler when you call it Semantic
- # [21:46] <TabAtkins> You can't spell Semantic without meta.
- # [21:47] <TabAtkins> Also: You can't spell it without snic.
- # [21:47] <Philip`> Clearly we need metasemantics
- # [21:47] <Hixie> you can't spell Semantics without Antics
- # [21:48] <TabAtkins> http://wordsmith.org/anagram/anagram.cgi?anagram=semantic&t=1000&a=n
- # [21:48] <TabAtkins> You can't spell semantic without ace mints.
- # [21:49] <Hixie> wow, current participant is confusing me
- # [21:50] <othermaciej> if you call something "metadata" instead of "data", sometimes people are less insistent on figuring out how it is useful and who will use it
- # [21:50] <TabAtkins> othermaciej: Because you can always use more metadata.
- # [21:50] <Hixie> othermaciej: indeed, that's why i stopped calling things metadata a few months ago :-)
- # [21:51] <masinter> i think calling it 'metadata' rather than 'data' narrows the focus usefully
- # [21:51] <masinter> brb
- # [21:55] <Hixie> ok well the current participant really had trouble with containership like hte one earlier today
- # [21:55] <Hixie> but seemed to handle the itemtype="" idea reasonably well in the middle of all that
- # [21:55] <tantek> Hixie - hierarchy is always difficult, even if it is just one level (containership)
- # [21:55] <tantek> this is something we have learned from microformats experience as well, and as a result have worked on flattening various things
- # [21:55] <Hixie> so it seems
- # [21:56] <tantek> some of these changes are making it into hCard 1.0.1 and hCalendar 1.0.1
- # [21:56] <tantek> also a big lesson: no required properties
- # [21:56] <Hixie> the one earlier today said that the variant 003 idea of using itemscope="" actually made things easier
- # [21:56] <tantek> this is a tough one for semantic/formats-heads
- # [21:56] <Hixie> which i found interesting
- # [21:56] <tantek> its is the direct OPPOSITE of draconian handling methodology
- # [21:56] <Hixie> like, he didn't get <div item> at all, but once we had <div itemscope>, suddenly he was much happier with it
- # [21:58] <tantek> Hixie - that kind of terminology specific result depends *heavily* on the background of the person
- # [21:58] <tantek> (I know this from seeing similar results (vÅt widely varying - from numerous people in classroom settings )
- # [21:58] <tantek> so another person will be much happier with "item" who has no idea what "scope" means
- # [21:59] <tantek> don't get me wrong - i'm happy to see you are doing this study and gathering data from it
- # [21:59] <tantek> it's quite useful to have various experiences confirmed by study etc.
- # [22:01] <hsivonen> wow. http://downforeveryoneorjustme.com/amazon.com
- # [22:01] <othermaciej> looks fine to me
- # [22:01] <Philip`> To me too
- # [22:01] <TabAtkins> Me too.
- # [22:02] <TabAtkins> So, it's down for just them?
- # [22:02] <tantek> maybe amazon blocked them?
- # [22:02] <hsivonen> amazon times out for me
- # [22:03] * aroben|lunch is now known as aroben
- # [22:04] <TabAtkins> Huh. Chrome and FF agree on rendering this table-* example wrong.
- # [22:04] <TabAtkins> Well, maybe form elements aren't allowed to be display:table-cell.
- # [22:04] <TabAtkins> Which would explain things.
- # [22:06] <TabAtkins> Well, it wouldn't explain FF's behavior, but it's a *really* big table.
- # [22:10] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [22:21] * Joins: jorlow (n=jorlow@nat/google/x-teohuyhimofuhxkx)
- # [22:24] * Quits: pmuellr (n=pmuellr@nat/ibm/x-dswydbxsultpgmim)
- # [22:29] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (Remote closed the connection)
- # [22:36] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:38] * Joins: dpranke (n=Adium@nat/google/x-vyrvxexkqdqdxbug)
- # [22:38] * Quits: masinter (n=user@31-33-209.wireless.csail.mit.edu) (Read error: 110 (Connection timed out))
- # [22:46] * Joins: heycam (n=cam@66.134.141.179)
- # [22:50] * Quits: hobertoAtWork (n=hobertoa@gw1.mcgraw-hill.com) ("Nettalk6 - www.ntalk.de")
- # [22:50] * Joins: cohitre (n=cohitre@c-24-18-158-106.hsd1.wa.comcast.net)
- # [22:50] * Joins: Tristan (i=Tristan@unaffiliated/tristan)
- # [23:00] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [23:01] * Quits: miketaylr (n=miketayl@38.117.156.163)
- # [23:03] <Lachy> JohnResig, yt?
- # [23:07] <Lachy> I'll respond to your mail in more detail later, but I think you've failed to see just how flexible my proposal for selectors api actually is. In fact, it seems to address most, if not all, of your needs for the API, including scoped selectors and collective queries on node lists
- # [23:08] * Quits: BlurstOfTimes (n=blurstof@168.203.117.59) ("Leaving...")
- # [23:11] * Quits: paul_irish_ (n=paul_iri@12.33.239.250) (Remote closed the connection)
- # [23:12] * Quits: Midler (n=midler@212.37.124.243) ("Leaving.")
- # [23:14] * Joins: onar_ (n=onar@17.226.23.126)
- # [23:14] * Quits: onar_ (n=onar@17.226.23.126) (Client Quit)
- # [23:15] * Joins: weinig_ (n=weinig@17.246.19.140)
- # [23:18] * Joins: othermaciej (n=mjs@17.246.18.60)
- # [23:18] * Quits: karlushi (n=karlushi@fw.vdl2.ca) ("Leaving")
- # [23:20] <TabAtkins> Jeezus, it seems 1 in 5 sites on the web use jQuery. Of the ones that actually use js, 1 in 3 are using jquery. (I guess that means 60% of all sites on the web are using js in some way?)
- # [23:25] * Joins: karlushi (n=karlushi@fw.vdl2.ca)
- # [23:28] * Quits: kinetik (n=kinetik@121.98.132.55) ("Lost terminal")
- # [23:29] * Joins: kinetik (n=kinetik@121.98.132.55)
- # [23:31] * Quits: weinig (n=weinig@17.203.15.140) (Read error: 110 (Connection timed out))
- # [23:31] * weinig_ is now known as weinig
- # [23:33] * Quits: maikmerten_ (n=maikmert@BAE3667.bae.pppool.de) (Remote closed the connection)
- # [23:37] * Joins: ojan (n=ojan@72.14.229.81)
- # [23:42] * Quits: weinig (n=weinig@17.246.19.140) (Remote closed the connection)
- # [23:43] * Joins: weinig (n=weinig@17.203.15.140)
- # [23:43] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [23:44] <AryehGregor> TabAtkins, I'd believe that 1 in 5 web page *views* use jQuery, but there's a *really* long tail if you count by sites.
- # [23:45] <TabAtkins> I'm just going by the stats cited by Resig & co during some recent talks.
- # [23:45] <TabAtkins> So that may be views, dunno.
- # [23:46] <TabAtkins> And yeah, given the number of pages Hixie bandies about (1 trillion), that's a *very* long tail.
- # [23:46] <tantek> pages != views
- # [23:47] <TabAtkins> But then again, sites != pages either.
- # [23:48] <TabAtkins> http://ejohn.org/blog/talks-at-the-2009-jquery-conference/ "State of jQuery '09", slide 16
- # [23:56] * Quits: tantek (n=tantek@70.36.139.108)
- # [23:59] * Joins: MikeSmith (n=MikeSmit@114.48.12.232)
- # Session Close: Sat Sep 26 00:00:00 2009
The end :)