Options:
- # Session Start: Fri Jul 11 00:00:00 2008
- # Session Ident: #whatwg
- # [00:13] * Quits: heycam` (n=cam@124-168-42-82.dyn.iinet.net.au) ("bye")
- # [00:41] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [00:41] <heycam> Hixie, here now
- # [00:42] <othermaciej> Lachy: why :context instead of :scope?
- # [00:42] <othermaciej> (I asked by email too)
- # [00:50] <weinig> JohnResig: hey, it would really helpful if there was someway to figure out what each individual failure was testing specifically
- # [00:51] <weinig> JohnResig: I am not sure what things like FAIL: Fragment: childhood selector
- # [00:51] <weinig> JohnResig: means
- # [00:51] <JohnResig> weinig: hmm - I wonder if I could do a stack trace or something
- # [00:52] <weinig> JohnResig: I was thinking more just what the actual call to querySelector or querySelectorAll was being passed
- # [00:52] <weinig> JohnResig: the specific string
- # [00:53] <JohnResig> weinig: the pass/fail doesn't always associate with a direct query (most do) the one you cited, for example, is from a traversal through the document verifying the exact items that were matched were supposed to be matched
- # [00:53] <weinig> JohnResig: I see
- # [00:53] <Lachy> othermaciej, I thought it was a better name
- # [00:53] * Quits: smedero (n=smedero@mdp-nat251.mdp.com)
- # [00:53] <weinig> JohnResig: perhaps that could be made more clear
- # [00:53] <JohnResig> weinig: if a test is ever testing a selector directly then it's shown in the test result in parentheses
- # [00:54] <weinig> JohnResig: ah, I see that now
- # [00:54] <Lachy> othermaciej, I wouldn't mind changing it back to :scope, but I don't want this to become another naming debate either
- # [00:55] * Joins: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca)
- # [00:55] <othermaciej> Lachy: I liked :context better at first, but if we ever want to add a version of querySelector that prepends :scope/:context implicitly to each selector in the group (which I think we probably do, since it matches JS library semantics much better), queryScopedSelector would be a better name than queryContextualSelector
- # [00:55] <othermaciej> Lachy: other than that, don't care and was mostly curious
- # [00:58] <Lachy> othermaciej, I'm not yet convinced we need queryScopedSelector as well as this.
- # [00:58] <othermaciej> Lachy: I think there are two reasons we may still want it:
- # [00:59] <othermaciej> 1) otherwise JS libraries have to do rewriting of their incoming selectors, which is both slower and more error-prone in JS code than in native code
- # [00:59] <othermaciej> 2) without a way to access those syntax features directly, it becomes harder for authors to ever switch off the library wrappers to the native version, even once all browsers support it
- # [01:00] <annevk> unless libraries support two versions
- # [01:00] <othermaciej> libraries support two versions of what?
- # [01:00] <annevk> querySelector()
- # [01:00] <annevk> but i've no opinion on this so i should shut up :)
- # [01:01] <othermaciej> I don't understand how libraries supporting two versions makes a difference to either of my points
- # [01:02] <othermaciej> I guess if libraries support a non-scoped version, they don't have to do rewriting for that one, but presumably they do not want to drop their old features entirely, and authors do not want to stop using them
- # [01:05] <annevk> my case was based on libraries offering two versions and authors switching to one that eventually allows them to just use querySelector
- # [01:05] <annevk> anyway, like I said, I should not discuss this
- # [01:07] <othermaciej> it seems like neither libraries nor authors want to do that
- # [01:08] <annevk> it was a rather hypothetical point, indeed
- # [01:14] <Lachy> othermaciej, would it make sense to have both queryScopedSelector and :context?
- # [01:14] <Lachy> oh, well, for scoped stylesheets in HTML5, yes. But for selectors api?
- # [01:15] <othermaciej> Lachy: I think so
- # [01:15] <Lachy> ok, fair enough
- # [01:15] <othermaciej> Lachy: the pseudo-class lets you do things that implicit scoping wouldn't
- # [01:15] <Lachy> I'll take another look at the idea over the next few days
- # [01:15] <Lachy> right
- # [01:15] <othermaciej> but implicit scoping is convenient and has evolved as a de facto standard in JS libraries
- # [01:16] <othermaciej> I think we should go along with it instead of fighting it, so long as the semantics can be defined soundly
- # [01:16] <Lachy> ok, fair enough. I"ll talk to our developers about whether or not its implementable
- # [01:16] <othermaciej> a while back I sent a fairly simple algorithm that could be used to translate a scoped selector to a selector using :scope/:context
- # [01:16] <othermaciej> to public-webapi
- # [01:17] <Lachy> and then there was that issue of effectively redefining the grammar of selectors, which would probably result in some complaints from the CSSWG
- # [01:17] <othermaciej> 1. Initialize nesting level to 0
- # [01:17] <othermaciej> 2. Initialize the output string to the empty string
- # [01:17] <othermaciej> 3. While characters in the input string remain:
- # [01:17] <othermaciej> 3.a. read the current character
- # [01:17] <othermaciej> 3.b. if the current character is:
- # [01:17] <othermaciej> ",": if the nesting level is 0, append ", :scope " to the output string
- # [01:17] <othermaciej> "(": increase the nesting level by 1, and append "(" to the output string
- # [01:17] <Lachy> yeah, I remember that.
- # [01:17] <othermaciej> ")": decrease the nesting level by 1, and append ")" to the output string
- # [01:17] <othermaciej> anything else: append the current character to the output string
- # [01:17] <Lachy> oh, where is that mail?
- # [01:17] <othermaciej> 3.c. advance to the next character
- # [01:17] <othermaciej> 4. return the output string
- # [01:17] <Lachy> I was looking for it
- # [01:17] <othermaciej> (sorry for the large paste)
- # [01:17] <othermaciej> it's in the public-webapi archives
- # [01:17] <annevk> SVG in HTML: http://www.w3.org/2008/07/10-svg-minutes.html#action02
- # [01:17] <Lachy> do you have a link handy
- # [01:18] <othermaciej> it doesn't redefine the grammar of selectors, just defines a new syntax for the related notion of scoped/contextual selector
- # [01:18] <Lachy> found it http://lists.w3.org/Archives/Public/public-webapi/2008May/0058.html
- # [01:18] <annevk> I'd suggest postponing that to Selectors API Level 2
- # [01:19] <Lachy> yeah, that might be sensibe
- # [01:19] <Lachy> othermaciej, is there any reason to rush it through in v1?
- # [01:19] <othermaciej> http://lists.w3.org/Archives/Public/public-webapi/2008May/0058.html
- # [01:19] <annevk> unless :context is somehow fast tracked
- # [01:19] <othermaciej> Lachy: I don't think it is essential for v1
- # [01:19] <Lachy> ok, good.
- # [01:19] <othermaciej> just seems like a good idea in general
- # [01:20] <Lachy> I'll write up a draft for v2 with it included and put it in CVS later
- # [01:20] <othermaciej> however, I do think <style scoped> + queryScopedSelector would lean towards the pseudo-class being :scope instead of :context
- # [01:20] <othermaciej> for consistency
- # [01:20] <Lachy> also have to add other requested features like NodeList.querySelector
- # [01:21] <Lachy> but first, I have to deal with those pesky NSResolver issues
- # [01:21] <Lachy> unfortunately, I didn't have tim to look at replacing it with one of the other proposals now, and since Mozilla has started implementing it, it's a bit late to turn back now :-(
- # [01:22] <Lachy> s/tim/time/
- # [01:22] <othermaciej> Mozilla's implementation hasn't shipped yet
- # [01:22] <othermaciej> so I guess lack of your time would be the only problem
- # [01:22] <othermaciej> (afaik Mozilla's implementation has not even been checked in yet)
- # [01:23] <Lachy> yeah, and I'm pretty sure I can resolve the issues with the function approach anyway. Besides, they need to be solved for NSResolvers used elsewhere, so they may as well be solved here and adopted into the other places too
- # [01:24] <Lachy> since the other specs with NSResolvers leave a lot of this largely undefined
- # [01:24] <othermaciej> my problem with the function approach isn't really that it can do random things, but just that it is a bad idea in the first place to use a function instead of a data structure to represent namespace prefix mappings
- # [01:25] <othermaciej> requiring resolution of all prefixes in the selector up front should be enough to make behavior interoperable
- # [01:25] <othermaciej> I think the only reason we are using NSResolver is because XPath did, which doesn't seem like a particularly good reason to me
- # [01:26] <Lachy> yeah, that's a possibility
- # [01:27] <Lachy> how about I draft up the spec to replace it tomorrow and let the WG decide if we want to keep it as is, or adopt the newer approach.
- # [01:27] <Lachy> With a concrete proposal, it might make the decision process a lot easier
- # [01:27] <Lachy> since so far we've been arguing about what we've already spent a great deal of time on and is already quite mature, and something that isn't even specced yet
- # [01:28] * uriel_ is now known as uriel
- # [01:28] <Lachy> It would have been easier if Mozilla had decided to ship without NSResolver support though, which is what I had hoped when I defined it to be optinal
- # [01:29] <roc> we haven't shipped anything so i don't see what the problem is
- # [01:30] <Lachy> the problem is that time is being spent implementing and testing a feature which could be dropped
- # [01:30] <Lachy> so I'd better hurry up and make a decision to not too much time is wasted
- # [01:30] <Lachy> but in any case, the implementation experience could help make the decision easier I guess
- # [01:30] <roc> I'm not sure if Boris has implemented the NSResolver stuff, but the whole thing only took him a week or less so not much effort has been wasted at worst
- # [01:30] <roc> on our side
- # [01:30] <Lachy> he started on it a couple of days ago
- # [01:31] <Lachy> they're already discussing issues with in in bugzilla
- # [01:31] <roc> er ok :-)
- # [01:31] <Hixie> othermaciej: your convertor fails on \escapes
- # [01:32] <annevk> introducing the second argument to querySelector was a mistake
- # [01:32] * Joins: svl (n=me@global162.lnk.telstra.net)
- # [01:32] <othermaciej> Hixie: good point - should be patchable
- # [01:32] <Lachy> I think the best alternative solution was to make it a DOMString like "#default=http://www.w3.org/1999/xhtml svg=http://www.w3.org/2000/svg" or something like that
- # [01:32] <othermaciej> Hixie: given how unrelated it is to normal parsing, I should probably try to write a proof that it will DTRT for all selector syntax
- # [01:32] <annevk> my apologies and 10.000 dollar (monopoly currency) to Ian Hickson for saying that from the beginning
- # [01:33] <othermaciej> should be easy to do inductively and should catch any other errors
- # [01:34] <annevk> as from a use case point of view namespace support is not at all needed at this point
- # [01:35] <annevk> even for SVG and MathML it would work fine without it
- # [01:43] <Hixie> othermaciej: (doesn't handle strings, either)
- # [01:44] <othermaciej> Hixie: acknowledged
- # [01:45] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [01:45] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [01:50] * annevk -> bed
- # [01:51] <Lachy> grr. Why is it that I can't get a straight answer to my question about what Boris wants the spec to say? https://bugzilla.mozilla.org/show_bug.cgi?id=416317#c31
- # [01:51] * Joins: eseidel (n=eseidel@adsl-69-228-190-230.dsl.snfc21.pacbell.net)
- # [01:54] <Hixie> isn't he just saying "leave it up to webidl"?
- # [01:58] * Quits: KevinMarks (n=KevinMar@nat/google/x-190511313c030bb9) ("The computer fell asleep")
- # [01:58] * Joins: KevinMarks (n=KevinMar@nat/google/x-29168c46a43dde6a)
- # [01:59] * Joins: eseidel_ (n=eseidel@adsl-69-228-190-230.dsl.snfc21.pacbell.net)
- # [02:01] * Joins: eseidel__ (n=eseidel@user-64-9-239-138.googlewifi.com)
- # [02:02] * Parts: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [02:02] * Quits: KevinMarks (n=KevinMar@nat/google/x-29168c46a43dde6a) (Read error: 60 (Operation timed out))
- # [02:02] <Lachy> yeah, maybe. I posted another comment saying that
- # [02:05] <Lachy> ok, it seems :context for DocumentFragments isn't getting much support. Unless there are really convincing use cases for it, I'm going to drop it. But even if there are, there's probably better solutions.
- # [02:07] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [02:19] * Quits: eseidel_ (n=eseidel@adsl-69-228-190-230.dsl.snfc21.pacbell.net) (Connection timed out)
- # [02:19] * Joins: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [02:20] * Quits: eseidel (n=eseidel@adsl-69-228-190-230.dsl.snfc21.pacbell.net) (Connection timed out)
- # [02:20] * Quits: svl (n=me@global162.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [02:25] * Quits: tusho (n=tusho@91.105.77.118)
- # [02:39] * Quits: jacobolus (n=jacobolu@pool-71-110-255-67.lsanca.dsl-w.verizon.net)
- # [02:40] * Joins: jacobolus (n=jacobolu@pool-71-110-255-67.lsanca.dsl-w.verizon.net)
- # [02:49] * Quits: billmason (n=billmaso@ip219.unival.com) (".")
- # [02:57] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 54 (Connection reset by peer))
- # [02:58] * Joins: hdh (n=hdh@118.71.123.29)
- # [02:59] * Quits: jacobolus (n=jacobolu@pool-71-110-255-67.lsanca.dsl-w.verizon.net) (Connection timed out)
- # [03:02] * eseidel__ is now known as eseidel
- # [03:34] * Quits: weinig (n=weinig@17.203.15.154)
- # [03:55] * Quits: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [04:00] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [04:08] * Quits: scotfl (n=scotfl@S0106001b114f914a.ss.shawcable.net)
- # [04:10] * Quits: franksalim (n=frank@ip-12-22-56-126.hqglobal.net) ("Leaving")
- # [04:12] * Joins: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [04:14] * Joins: weinig (n=weinig@17.203.15.154)
- # [04:26] * Quits: eseidel (n=eseidel@user-64-9-239-138.googlewifi.com) (Read error: 110 (Connection timed out))
- # [04:30] * Joins: dbaron (n=dbaron@c-71-198-188-254.hsd1.ca.comcast.net)
- # [04:33] * Quits: aaronlev (n=chatzill@heim-033-204.raab-heim.uni-linz.ac.at) (Read error: 113 (No route to host))
- # [04:40] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [04:58] <weinig> JohnResig: ping
- # [05:01] <weinig> JohnResig: I am curious about verifyResolve method in your selectors test
- # [05:02] <weinig> JohnResig: I am getting a failure because null is being passed to it, but my reading of spec says that null should be passed to the resolver to get the default namespace
- # [05:14] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Read error: 104 (Connection reset by peer))
- # [05:16] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [05:21] * Joins: tantek_ (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [05:22] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Read error: 104 (Connection reset by peer))
- # [05:38] * Joins: Jeff_Schiller (n=chatzill@wwwgate5.motorola.com)
- # [05:39] * Jeff_Schiller is now known as codedread
- # [05:41] * Quits: codedread (n=chatzill@wwwgate5.motorola.com) (Remote closed the connection)
- # [05:41] * Joins: codedread (n=chatzill@wwwgate5.motorola.com)
- # [05:46] * Quits: codedread (n=chatzill@wwwgate5.motorola.com) (Remote closed the connection)
- # [05:46] * Joins: codedread (n=chatzill@wwwgate33.motorola.com)
- # [05:51] * Quits: codedread (n=chatzill@wwwgate33.motorola.com) (Remote closed the connection)
- # [05:51] * Joins: codedread (n=chatzill@wwwgate5.motorola.com)
- # [05:56] * Quits: codedread (n=chatzill@wwwgate5.motorola.com) (Remote closed the connection)
- # [05:56] * Joins: codedread (n=chatzill@wwwgate5.motorola.com)
- # [06:00] * Parts: codedread (n=chatzill@wwwgate5.motorola.com)
- # [06:21] * Joins: Decepticon (n=Deceptic@ks361773.kimsufi.com)
- # [06:29] * Quits: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [06:30] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [06:39] * Joins: codedread (n=chatzill@wwwgate5.motorola.com)
- # [06:40] * Quits: codedread (n=chatzill@wwwgate5.motorola.com) (Client Quit)
- # [06:40] * Parts: Decepticon (n=Deceptic@ks361773.kimsufi.com)
- # [06:44] * Joins: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [06:51] * Joins: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [07:08] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [07:10] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) ("http://www.csarven.ca/")
- # [07:10] * Joins: scotfl (n=scotfl@S0106001b114f914a.ss.shawcable.net)
- # [07:17] * Quits: uriel (n=uriel@h677044.serverkompetenz.net) (anthony.freenode.net irc.freenode.net)
- # [07:17] * Quits: mitsuhiko (n=nnnnmits@ubuntu/member/mitsuhiko) (anthony.freenode.net irc.freenode.net)
- # [07:17] * Quits: inimino (n=inimino@atekomi.inimino.org) (anthony.freenode.net irc.freenode.net)
- # [07:18] * Quits: annevk (n=annevk@77.163.243.203) (Remote closed the connection)
- # [07:22] * Joins: uriel (n=uriel@h677044.serverkompetenz.net)
- # [07:22] * Joins: mitsuhiko (n=nnnnmits@ubuntu/member/mitsuhiko)
- # [07:22] * Joins: inimino (n=inimino@atekomi.inimino.org)
- # [07:43] * Quits: mrbkap (n=mrbkap@people.mozilla.com) (Read error: 104 (Connection reset by peer))
- # [07:43] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 104 (Connection reset by peer))
- # [07:48] * Joins: gavin__ (n=gavin@people.mozilla.com)
- # [07:51] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [08:10] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [08:38] * Quits: weinig (n=weinig@17.203.15.154)
- # [09:10] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [09:22] * Joins: Maurice (n=ano@raar.xs4all.nl)
- # [09:24] * Quits: dbaron (n=dbaron@c-71-198-188-254.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [09:33] * Joins: annevk (n=annevk@77.163.243.203)
- # [09:48] * Joins: aaronlev (n=chatzill@dyn165022.wlan.jku.at)
- # [09:56] * Quits: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [10:04] * Quits: aaronlev (n=chatzill@dyn165022.wlan.jku.at) (Remote closed the connection)
- # [10:18] * Joins: aaronlev (n=chatzill@dyn165022.wlan.jku.at)
- # [10:45] * Joins: gsnedders (n=gsnedder@p57A23D7E.dip0.t-ipconnect.de)
- # [10:46] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [10:49] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [10:54] * Joins: mrkrause (n=chatzill@77.60.209.193)
- # [11:05] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:16] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:32] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:37] * Joins: tndH (i=Rob@adsl-77-86-108-88.karoo.KCOM.COM)
- # [11:50] * Quits: primal1___ (n=primal1@pool-71-177-119-67.lsanca.fios.verizon.net) (Read error: 104 (Connection reset by peer))
- # [11:51] * Joins: primal1 (n=primal1@pool-71-177-119-67.lsanca.fios.verizon.net)
- # [11:51] * Joins: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [12:06] * Quits: jruderman (n=jruderma@guest-226.mountainview.mozilla.com)
- # [12:07] * hendry wonders if those messaging edits would help me in my "i want to tail logs via a web browser" use case
- # [12:16] * Quits: gsnedders (n=gsnedder@p57A23D7E.dip0.t-ipconnect.de)
- # [12:27] * Quits: aaronlev (n=chatzill@dyn165022.wlan.jku.at) (Read error: 113 (No route to host))
- # [12:36] * Joins: webben (n=benh@nat/yahoo/x-fc23b50e442d6eb9)
- # [12:47] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [13:03] * Quits: roc (n=roc@222-152-162-240.jetstream.xtra.co.nz)
- # [13:08] * Joins: roc (n=roc@222.152.162.240)
- # [13:39] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [14:09] * Quits: webben (n=benh@nat/yahoo/x-fc23b50e442d6eb9)
- # [14:25] * Joins: webben (n=benh@nat/yahoo/x-fd4b945fcf5388c0)
- # [14:28] * Quits: roc (n=roc@222.152.162.240)
- # [14:51] <JohnResig> Lachy: the webkit guys are saying that in order to get the default namespace null has to be passed in to the namespace resolver - however in the examples in the spec it shows "" as representing the default namespace (and Opera does "" as well)
- # [14:53] <annevk> http://dev.w3.org/2006/webapi/selectors-api/#nsresolver says null...
- # [14:54] <JohnResig> annevk: so I think Opera's implementation is probably in the wrong here
- # [14:54] <JohnResig> annevk: we have gems like this, as well: "" :"http://www.w3.org/1999/xhtml", // Default namespace
- # [14:54] <JohnResig> which is, apparently, completely wrong
- # [14:54] <annevk> can you do { null : "..." } ?
- # [14:54] <annevk> if not, changing to the empty string might make sense
- # [14:55] <JohnResig> null gets converted into a string representation of "null" (which means that you can no longer have a namespace named null)
- # [14:55] <JohnResig> yeah, that's why empty string made sense - since you can't have an empty namespace to begin with
- # [14:55] <annevk> you're confusing prefix and namespace
- # [14:55] <annevk> i agree that the empty string makes sense though
- # [14:58] <Lachy> oh dear.
- # [14:59] <Lachy> there was a reason this was changed. I believe it was because Node.lookupNamespaceResolver or maybe the XPath NSResolver expected null to be passed.
- # [14:59] <annevk> XPath doesn't do default namespace
- # [15:00] <Lachy> ok, it must have been the Node one then
- # [15:00] <annevk> why are we keeping NSResolver around again? :)
- # [15:01] <Lachy> annevk, I don't know :-)
- # [15:01] <annevk> yeah: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI
- # [15:02] <JohnResig> ok, that seems pretty conclusive, then
- # [15:02] <JohnResig> I'll change the test suite
- # [15:03] <Lachy> well, not entirely. It sucks for authors.
- # [15:04] <JohnResig> which authors?
- # [15:04] <annevk> we don't depend on lookupNamespaceURI so it makes no sense to be compatible with it
- # [15:04] <annevk> imo
- # [15:04] <JohnResig> oh
- # [15:06] <annevk> doing obj = { "" : "...", "prefix1" : "..." }; return obj[prefix] is much more convenient than if(prefix == null) { ... } else { return obj[prefix] }
- # [15:06] <Lachy> JohnResig, not being able to use the simple hash that I used in the example sucks for authors
- # [15:07] <JohnResig> ok! so yeah, I'm changing the test suite, then
- # [15:07] <annevk> though namespaces suck anyway and are hardly relevant for any use case I can imagine for this API, so it doesn't matter
- # [15:07] <Lachy> ok, fair enough
- # [15:07] <Lachy> maybe I really should focus on looking at the alternative proposals
- # [15:08] <krijnh> JohnResig: how is your new JS selector engine going?
- # [15:08] <JohnResig> krijnh: going good - haven't had time to work on it in a while
- # [15:09] * Joins: svl (n=me@global162.lnk.telstra.net)
- # [15:09] <krijnh> I got ignored on jquery-dev, when asking about it :)
- # [15:10] <JohnResig> krijnh: I haven't announced it publicly
- # [15:12] <krijnh> Hmm, I thought I read about it somewhere
- # [15:12] <JohnResig> krijnh: were you at Kings of Code
- # [15:12] <krijnh> Yeah, I was, but apart from that
- # [15:13] <krijnh> I was the one not doing any talking :)
- # [15:26] <Lachy> JohnResig, regarding the queryScopedSelector idea, which would be able to accept combinator rooted queries like ">em, >strong", could you provide me with details sometime (via email) about how exactly JQuery goes about parsing them?
- # [15:26] <Lachy> if we're going to consider adding that to selectors api v2, it would be useful to know so we could ensure proper compatibility
- # [15:26] <JohnResig> ok!
- # [15:27] <Lachy> also, any experience you have with implementing :context and prepending that to queries that you will eventually pass to querySelector(); would help too
- # [15:28] <Lachy> do you want me to send you a mail about that, or will you just remember to do it? There's not rush though.
- # [15:28] <JohnResig> Lachy: feel free to pass me an email
- # [15:28] <Lachy> ok, I will do later
- # [15:41] * Quits: mrkrause (n=chatzill@77.60.209.193) ("ChatZilla 0.9.83 [Firefox 3.0/2008061004]")
- # [15:50] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) ("Verlassend")
- # [16:03] * Joins: itpastorn (n=itpastor@139.57.227.87.static.th.siw.siwnet.net)
- # [16:09] <takkaria> hmm, html5lib has an odd test
- # [16:09] <takkaria> well, I think it has a wrong one anyway
- # [16:09] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("Leaving")
- # [16:10] <annevk> patches accepted
- # [16:10] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [16:10] <takkaria> I'm just checking I'm right against the spec
- # [16:13] * Joins: sverrej (n=sverrej@78-56-84-170.static.zebra.lt)
- # [16:16] * Joins: csarven (n=csarven@on-irc.csarven.ca)
- # [16:21] * Joins: billmason (n=billmaso@ip221.unival.com)
- # [16:27] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [16:28] <annevk> I gave in and made a bugzilla account
- # [16:37] <Lachy> annevk, wow.
- # [16:37] <Lachy> what made you change your mind?
- # [16:38] <annevk> All the extra e-mail I will get
- # [16:38] * Joins: tusho (n=tusho@91.105.77.118)
- # [16:51] * Joins: codedread (n=chatzill@wwwgate34.motorola.com)
- # [16:54] * Quits: codedread (n=chatzill@wwwgate34.motorola.com) (Remote closed the connection)
- # [16:54] * Joins: codedread (n=chatzill@wwwgate4.motorola.com)
- # [16:54] <codedread> does anyone have any good reference docs on mousewheel handling cross-browser?
- # [16:56] <codedread> (obviously i'm talking about current support, not future perfect support of onmousewheel)
- # [16:56] <annevk> I don't think there's much documentation on such things
- # [16:57] <codedread> grumble
- # [16:57] <codedread> google does it cross-browser for google maps, so it must be in doctype right? right? :)
- # [16:59] * Quits: codedread (n=chatzill@wwwgate4.motorola.com) (Remote closed the connection)
- # [16:59] * Joins: codedread (n=chatzill@wwwgate34.motorola.com)
- # [16:59] * Quits: codedread (n=chatzill@wwwgate34.motorola.com) (Client Quit)
- # [17:00] * Joins: schiller (n=schiller@c-24-13-43-191.hsd1.il.comcast.net)
- # [17:00] * Parts: schiller (n=schiller@c-24-13-43-191.hsd1.il.comcast.net) ("Konversation terminated!")
- # [17:01] * Joins: codedread (n=schiller@c-24-13-43-191.hsd1.il.comcast.net)
- # [17:03] * Parts: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [17:04] * Joins: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [17:05] * Quits: svl (n=me@global162.lnk.telstra.net) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [17:05] <takkaria> jgraham: does the html5lib parse tree viewer use an up-to-date version of html5lib?
- # [17:11] * Parts: annevk (n=annevk@77.163.243.203)
- # [17:12] <jgraham> takkaria: I think it's relatively up to date. It has the svn rev at the botom of the viewer page
- # [17:12] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 54 (Connection reset by peer))
- # [17:12] <takkaria> jgraham: ah, thanks
- # [17:12] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [17:12] * Quits: hdh (n=hdh@118.71.123.29) (Remote closed the connection)
- # [17:13] * Joins: csarven- (i=csarven@on-irc.csarven.ca)
- # [17:17] * Joins: pd (n=kyleh@unaffiliated/pd)
- # [17:19] * Quits: csarven (n=csarven@on-irc.csarven.ca) (Read error: 110 (Connection timed out))
- # [17:29] <JohnResig> Lachy: I changed the suite to use null as the way to get the default prefix, made it so that doing querySelectorAll() (no arguments) only requires that an exception be thrown - not a particular one, I added some more default namespace tests, and added tests for disconnected DOM trees. Up to about 4200 tests now.
- # [17:48] * Quits: Maurice (n=ano@raar.xs4all.nl) ("Disconnected...")
- # [17:50] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [17:50] <tusho> So using html5lib with Ruby, I want to do things with all tags h1-h6.
- # [17:50] <tusho> Preferably with the hpricot interface.
- # [17:50] <tusho> What's the simplest way?
- # [17:56] * Joins: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [17:56] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 54 (Connection reset by peer))
- # [17:56] <Lachy> JohnResig_, yeah, I just saw your bugzilla comment about it. That's awesome
- # [17:57] <weinig> JohnResig_: thanks for fixing the test
- # [17:57] <JohnResig_> Lachy: it sounds like we're getting closer on our implementation - as is WebKit
- # [17:57] <JohnResig_> weinig: no problem, thanks for letting me know
- # [17:57] <weinig> np
- # [17:57] <JohnResig_> weinig: let me know if you spot any other weirdness/need help with test explanations
- # [17:57] <weinig> JohnResig_: will do
- # [18:01] <Lachy> wow, I think Bert Bos totally misunderstood the :context proposal http://lists.w3.org/Archives/Public/www-style/2008Jul/0214.html
- # [18:01] <Lachy> or at least the use cases it's trying to address
- # [18:01] <weinig> JohnResig_: I think I see one other issue
- # [18:01] <weinig> JohnResig_: xHTML|*#root3 xHTML|div svg *|circle is supposed to match circle1 as well
- # [18:02] <weinig> JohnResig_: since there is no default namespace provided by the resolver
- # [18:03] <JohnResig_> so you're saying that when no default namespace is provided "svg" becomes equivalent to "*|svg"
- # [18:03] <JohnResig_> sorry - when a resolver is provided - and no default namespace is given (returns null, undefined, etc.)
- # [18:03] <tusho> :\
- # [18:04] <weinig> JohnResig_: yes
- # [18:04] <jgraham> tusho: Once you have a hpricot tree it should just work however hpricot normally works
- # [18:04] * weinig checks the spec :)
- # [18:04] * JohnResig_ does the same
- # [18:04] <tusho> jgraham: But I _can't get an hpricot tree_.
- # [18:04] <tusho> It gives me an array of Hpricot element objects.
- # [18:04] <tusho> That's not useful for just about anything.
- # [18:04] <JohnResig_> Lachy: thoughts on the above?
- # [18:05] <jgraham> Oh yeah I remeber now :)
- # [18:05] <weinig> To get the default namespace, if there was an NSResolver object provided, implementations must invoke the lookupNamespaceURI() method with null as the argument. If there is no NSResolver object provided, or if the method returns null, then there is no default namespace. Otherwise, the return value is the default namespace.
- # [18:05] <weinig> this is the case of the method returning null
- # [18:05] <jgraham> tusho: Er, well you want to talk to a ruby type really like kingryan
- # [18:05] <JohnResig_> interesting
- # [18:06] <tusho> jgraham: Well, I just asked to see if anyone knew :)
- # [18:06] <weinig> JohnResig_: since the method is actually returing undefined
- # [18:06] <weinig> JohnResig_: you have to take into account this sentance
- # [18:06] <weinig> "While resolving either a prefix or the default namespace, if the lookupNamespaceURI() method returns undefined or an empty string, the implementation must act as if null had been returned"
- # [18:06] <JohnResig_> so in all cases "svg" is equivalent to "*|svg" iff a resolver is provided that actually gives a default namespace response
- # [18:06] <Lachy> JohnResig_, yeah, "svg" is the same as "*|svg" when there is no default namespace
- # [18:06] <JohnResig_> ok! time to change some tests
- # [18:07] <weinig> reloads :D
- # [18:07] <JohnResig_> heh - eww... this will be tricky, considering that some tests will have different output
- # [18:07] <JohnResig_> ok, won't be a simple tweak
- # [18:09] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [18:09] * Quits: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [18:09] <JohnResig> weinig: ok, it seems like t( "SVG", "xHTML|div svg *|circle", ["circle2","circle3"] ); is the only test that will be affected
- # [18:10] <weinig> JohnResig: yes
- # [18:13] <tusho> :\
- # [18:20] <jgraham> tusho: Well sadly the best I can offer is a pointer in the direction of the code: http://code.google.com/p/html5lib/source/browse/trunk/ruby/lib/html5/treebuilders/hpricot.rb#220 is the line that gets called to get the object to return from .parse
- # [18:20] <tusho> ah, thanks
- # [18:21] <tusho> Beh, it does seem to use the hpricot element stuff.
- # [18:21] <tusho> Instead of the whole document.
- # [18:24] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [18:24] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [18:28] <JohnResig> weinig: ok - I think I've implemented it - it seems to be catching the right pass/fail in Opera, at least
- # [18:30] <Lachy> JohnResig, has anyone told Microsoft about your test suite? Did you get it to run in IE8?
- # [18:31] <JohnResig> Lachy: I can't get it to run in IE8 because it's served with the correct mimetype - it just tries to download it
- # [18:31] <jgraham> tusho: patches welcome I guess
- # [18:31] <tusho> indeed
- # [18:31] <Lachy> oh, ok.
- # [18:31] * jgraham doesn't want to take reposnsibility if you break other people using ruby + hpricot
- # [18:31] <Lachy> Can you make an HTML only version without the namespace stuff for them to test with?
- # [18:32] <Lachy> and with additional tests to make sure they throw a NOT_SUPPORTED_ERR when an nsresolver is provided
- # [18:32] <JohnResig> have they said that that's what they're going to do?
- # [18:32] <Lachy> yes
- # [18:32] <jgraham> tusho: If you have an incompatible chnage to make I suggest you post to the mailing list first. If you have a compatible change I can check it in
- # [18:33] <tusho> it'd be quite complex to change jgraham
- # [18:33] <jgraham> (or give you commit access I guess)
- # [18:34] <Lachy> I don't think they support the namespace syntax either, so tests for "*|div" and "|div" will throw a SYNTAX_ERR, instead of automatically resolving even without an nsresolver
- # [18:34] <JohnResig> well, if they throw an exception, then it's a good bet that they'll fail all the tests that I provide
- # [18:34] <Lachy> sure, that's fine
- # [18:34] <Lachy> the spec actually requries full support for Selectors, so it's still a bug
- # [18:35] <JohnResig> yeah
- # [18:35] <jgraham> tusho: Well if you decide to pursue it let me kno and we'll work out a way to integrate the changes. The ruby port could really use some active maintainance :)
- # [18:35] <tusho> I will probably just serialize the tree after sanitization then run it through hpricot instead of combining it. :p
- # [18:35] <tusho> Ah, hacks!
- # [18:36] * Joins: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [18:36] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [18:39] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [18:49] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [18:56] * Quits: Lachy (n=Lachlan@85.196.122.246) ("Leaving")
- # [18:56] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [19:01] * Joins: maikmerten (n=maikmert@Lb545.l.pppool.de)
- # [19:05] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [19:07] * Quits: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net) (Client Quit)
- # [19:12] * Joins: Maurice (n=ano@82-204-22-72.dsl.bbeyond.nl)
- # [19:27] * Quits: Maurice (n=ano@82-204-22-72.dsl.bbeyond.nl)
- # [19:27] * Joins: Copyman (n=ano@82-204-22-72.dsl.bbeyond.nl)
- # [19:31] * Quits: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [19:31] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [19:49] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [19:49] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [20:09] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [20:10] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [20:10] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [20:20] * Joins: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [20:20] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [20:22] * Joins: franksalim (n=frank@ip-12-22-56-126.hqglobal.net)
- # [20:24] * Joins: eseidel (n=eseidel@nat/google/x-15369879050be81f)
- # [20:38] * Quits: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [20:38] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [20:51] * Quits: eseidel (n=eseidel@nat/google/x-15369879050be81f)
- # [20:58] * Joins: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [20:58] * Quits: JohnResig_ (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [20:58] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [20:59] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [21:06] <takkaria> the SVG people weren't very clever with their tag naming
- # [21:06] <takkaria> "malignmark" sounds evil; why would I want that in my graphics?
- # [21:07] <webben> does sound like a hex doesn't it? ;)
- # [21:09] * Parts: itpastorn (n=itpastor@139.57.227.87.static.th.siw.siwnet.net)
- # [21:11] * Quits: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net) (Read error: 110 (Connection timed out))
- # [21:21] <jgraham> takkaria: How is your parser coming along? Is it close to usable yet?
- # [21:21] <takkaria> jgraham: I'm one test away from passing the html5lib tests
- # [21:22] <takkaria> so, probably fairly usable :)
- # [21:23] <takkaria> I'm currently fighting with scoping and the commented-out bits in the spec that deal with SVG
- # [21:26] <jgraham> cool
- # [21:26] <jgraham> I will have to take a look
- # [21:26] * jgraham should find some time to work on html5lib as well
- # [21:27] <takkaria> I quite fancy doing some work on html5lib to learn python
- # [21:27] <takkaria> since I know html5-parsing fairly well know
- # [21:28] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [21:28] * Quits: maikmerten (n=maikmert@Lb545.l.pppool.de) (Read error: 104 (Connection reset by peer))
- # [21:29] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [21:36] * Joins: maikmerten (n=maikmert@Labd3.l.pppool.de)
- # [21:36] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 54 (Connection reset by peer))
- # [21:37] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [21:37] * Joins: mcarter (n=mcarter@pool-72-87-174-160.lsanca.btas.verizon.net)
- # [21:43] * Joins: roc (n=roc@222-152-162-240.jetstream.xtra.co.nz)
- # [21:44] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) ("The computer fell asleep")
- # [21:44] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [21:48] <takkaria> actually, the C html parser I've been working on is now passing all tests
- # [21:48] <jgraham> takkaria: Nice. Now if only I could get it to find libiconv :(
- # [21:49] * Joins: weinig (n=weinig@nat/apple/x-d34675a7495591c5)
- # [21:52] <takkaria> jgraham: what OS are you using?
- # [21:52] <jgraham> OSX
- # [21:52] * Joins: howardr (i=howardr@exchange.uship.com)
- # [21:52] <jgraham> takkaria: Although I could probably find a linux box if that is likely to be easier
- # [21:52] <jgraham> s/find/log on to/
- # [21:53] <takkaria> linux would be much easier, I think
- # [21:53] * Quits: csarven- (i=csarven@on-irc.csarven.ca) (Read error: 104 (Connection reset by peer))
- # [21:53] <takkaria> jmb (the other developer) has OS X, but I don't know what hoops he jumps through to compile
- # [21:54] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [21:54] <takkaria> I think tomorrow I'll take a break from coding and write up API docs
- # [21:54] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [21:56] <jmb> jgraham: depends where the problem is. if it's the test harnesses, then add -liconv to the LDFLAGS in test/Makefile
- # [21:58] <jgraham> jmb: Thanks, that helped a bit (I had added it in the wrong place apparently) now I get a different error :)
- # [21:59] <jmb> jgraham: feel free to pastebin it or somesuch :)
- # [22:01] <jgraham> jmb: http://pastebin.ca/1069420 (maybe I have an old version of the source? I used the "download tarball" link on the repo browser)
- # [22:01] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) (Connection timed out)
- # [22:02] <jmb> jgraham: aha. you'll need the json-c in trunk/json-c/json-c, too
- # [22:02] <Philip`> gsnedders: http://en.wikipedia.org/wiki/ISO_2145 is what I was thinking of
- # [22:02] <jmb> jgraham: there's a couple of patches we need to feed upstream (e.g. handling of \0 in input)
- # [22:04] <takkaria> jmb: have you emailed the fella about that? if not, might be worth setting up a google code project for it or something
- # [22:04] <jgraham> jmb: I put json-c 0.7 in json/json-c-0.7/ (and installed it) do I need to do something else, like change the directory names?
- # [22:04] <jmb> takkaria: no, I haven't. two reasons: a) laziness b) lack of response to the last set of patches I sent
- # [22:04] <jgraham> (and I applied the patches)
- # [22:06] <takkaria> jgraham: apply this patch too: http://source.netsurf-browser.org/trunk/json-c/json-c/json_object.c?r1=4383&r2=4385&view=patch
- # [22:06] <takkaria> actually, don't, that's just for one file
- # [22:06] <jmb> jgraham: the readme in hubbub/json is out of date. I need to fix that. please accept my apologies. if you build the version at svn://source.netsurf-browser.org/trunk/json-c/json-c, then you should have the stuff it needs
- # [22:07] <jmb> s/build/build and install/
- # [22:12] <jgraham> jmb: That worked :)
- # [22:12] <jmb> jgraham: cool :)
- # [22:12] <takkaria> it's a shame the parser tests format doesn't have any comment syntax, it would help
- # [22:13] <jgraham> takkaria: Yeah. If hsivonen was here I would propose that we add one
- # [22:13] * jmb runs off to find food
- # [22:13] <takkaria> jgraham: I'll send mail to whatwg-imps
- # [22:13] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [22:19] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 54 (Connection reset by peer))
- # [22:19] * Quits: maikmerten (n=maikmert@Labd3.l.pppool.de) (Remote closed the connection)
- # [22:19] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [22:23] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [22:31] * Joins: jacobolus (n=jacobolu@pool-71-119-200-174.lsanca.dsl-w.verizon.net)
- # [22:31] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [22:31] * Joins: KevinMarks (n=KevinMar@nat/google/x-23be1277f474eb44)
- # [22:32] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [22:44] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [22:44] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [22:44] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [22:48] * Joins: eseidel (n=eseidel@nat/google/x-4d52645f33fd3620)
- # [22:49] * Joins: Copyman` (n=ano@82-204-22-72.dsl.bbeyond.nl)
- # [22:58] * Joins: heyadayo2 (n=mcarter@pool-72-87-174-201.lsanca.btas.verizon.net)
- # [23:01] * Quits: KevinMarks (n=KevinMar@nat/google/x-23be1277f474eb44) ("The computer fell asleep")
- # [23:02] * Joins: KevinMarks (n=KevinMar@nat/google/x-f501994d90f4d7a6)
- # [23:06] * Quits: KevinMarks (n=KevinMar@nat/google/x-f501994d90f4d7a6) (Remote closed the connection)
- # [23:06] * Joins: KevinMarks (n=KevinMar@nat/google/x-b11e2300a410d789)
- # [23:07] * Quits: Copyman (n=ano@82-204-22-72.dsl.bbeyond.nl) (Connection timed out)
- # [23:14] * Quits: mcarter (n=mcarter@pool-72-87-174-160.lsanca.btas.verizon.net) (Read error: 110 (Connection timed out))
- # [23:21] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (Read error: 104 (Connection reset by peer))
- # [23:22] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [23:24] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [23:40] <jgraham> How is it that pretty much every single scientific journal I have used manages to create such an awful user experience for citations
- # [23:40] <webben> jgraham: talking about deadtree or online?
- # [23:41] <jgraham> webben: Journals that are primarilly deadtree but also have html versions
- # [23:41] <webben> lack of dedicated markup and UI I guess.
- # [23:41] <jgraham> (or primarilly PDF I guess)
- # [23:42] <webben> does Zotero help?
- # [23:42] <jgraham> webben: Given how bad they are at using the <a> element I don't see that more markup would improve the situation
- # [23:42] <jgraham> What is Zotero?
- # [23:42] <webben> http://www.zotero.org/
- # [23:45] <jgraham> Yeah, that looks like it might be useful. Really I don't have complex needs; all I want is that when I come across an interesting-looking reference in an article I can get to the referenced article without having to search for it manually and/or have multiple popup windows, and without losing my place in the original article
- # [23:45] <webben> sure
- # [23:46] <webben> but browsers don't seem to have competed on the basis of what's useful for scholars.
- # [23:46] <Philip`> Browsers should have a 'back within current document' button, so you can scroll to the end and then jump back to where you were
- # [23:46] <Philip`> (It's pretty useful in KPDF)
- # [23:46] <jgraham> webben: I don't doubt that the browser could be better but the sites themselves are so so poor
- # [23:47] <webben> jgraham: Oh no disagreement. i've seen journal markup. it's dreadful.
- # [23:47] <webben> but it's also inconsistent from one journal to another, and dedicated markup /might/ have helped with that.
- # [23:47] * Copyman` is now known as Maurice
- # [23:49] <webben> Philip`: You mean rather than inserting fragments in the same history as pages?
- # [23:50] <jgraham> webben: Yeah, but even with what they have. I mean Wiley Interscience (which Monthly Notices of the Royal Astronomical Society just moved to) doesn't seem to have a link to the cited article _at all_
- # [23:50] <webben> (Your typical modern Back button does let you jump back from fragments; it just doesn't let you jump back with one click to a previous page.)
- # [23:50] <Philip`> webben: I mean something like how browsers currently insert same-page fragments into the history, except for manual scrolling of the page (e.g. dragging the scrollbar or hitting the 'end' key) instead of clicking fragment links
- # [23:50] <webben> jgraham: has it got anything? like a doi?
- # [23:51] <webben> Philip`: I see what you mean. Interesting idea.
- # [23:52] <webben> a 'Step back to previous positions' button
- # [23:52] <jgraham> webben: Well it has the text and a link to something called SFX which doesn't seem to have anything in
- # [23:53] <webben> jgraham: http://www.exlibrisgroup.com/category/SFXOverview ... looks you need to have a library network with a SFX-based linking solution or something.
- # [23:53] <webben> jgraham: I guess the problem to be solved is dependent on your library, your route to an online version is different.
- # [23:53] <webben> (depending on whom your institution buys subscriptions from)
- # [23:54] <Philip`> Hixie: r1860 ("more typos") did what its commit message says and added more typos, particularly "insertUnrderedList"
- # [23:56] <Hixie> d'oh
- # [23:56] <Hixie> thanks
- # [23:56] <jgraham> webben: For astrophysics there is a NASA service called ADS which everyone uses for everything (it's smilar to PubMed I think). Anything else, especially anything that doesn't actually get me to the article, is not the right solution :)
- # [23:56] * Quits: pd (n=kyleh@unaffiliated/pd) (Read error: 110 (Connection timed out))
- # [23:57] * webben thinks doi works well.
- # [23:57] <jgraham> (the old MNRAS site linked to ADS in a way that was irritating in that it involved multiple popup windows but could be greasemonkied)
- # [23:58] <webben> well ... well enough
- # [23:58] <jgraham> webben: doi is just a numbering system right?
- # [23:58] <webben> jgraham: yeah, basically ; doi is a permanent digital object identifier ;
- # [23:59] <webben> jgraham: but it's human legible (can copy and paste it, or /print/ it, or scribble it down) and you can use it as a link by linking to a resolver.
- # Session Close: Sat Jul 12 00:00:00 2008
The end :)