Options:
- # Session Start: Fri Jun 05 00:00:01 2009
- # Session Ident: #whatwg
- # [00:03] <Philip`> gsnedders: Nonsense! Everything is easy with grep
- # [00:05] * Quits: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com) ("Leaving.")
- # [00:07] <Philip`> Am I missing some place where <foo xmlns:bar=""/> is clearly a namespace-well-formedness error?
- # [00:07] * Joins: weinig (n=weinig@17.203.15.151)
- # [00:07] <Philip`> All I see is "the namespace name may not be empty", which isn't a very convincingly accurate conformance requirement
- # [00:10] * Joins: onar__ (n=onar@17.244.68.213)
- # [00:10] * Quits: onar__ (n=onar@17.244.68.213) (Client Quit)
- # [00:12] <Philip`> Oh, it's clarified in an errate
- # [00:12] <Philip`> s/e/a/
- # [00:14] <Hixie> the average rate of new feedback has increased
- # [00:14] <Hixie> interesting
- # [00:14] * Joins: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [00:15] * Joins: onar__ (n=onar@17.244.68.213)
- # [00:25] * Quits: onar_ (n=onar@17.226.23.106) (Read error: 110 (Connection timed out))
- # [00:31] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [00:40] * Quits: onar__ (n=onar@17.244.68.213)
- # [00:55] * Quits: karlcow (n=karl@nerval.la-grange.net) (Remote closed the connection)
- # [01:01] <Hixie> hsivonen: yt?
- # [01:19] * Joins: doublec (n=doublec@202.0.36.64)
- # [01:21] * Joins: onar_ (n=onar@17.226.23.106)
- # [01:26] * Quits: ZombieLoffe (n=e@unaffiliated/zombieloffe)
- # [01:30] * Quits: mgrdcm (n=mgrdcm@65.111.247.194)
- # [01:34] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [01:39] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [01:40] * Quits: dglazkov (n=dglazkov@nat/google/x-5d052dfa2b883c29)
- # [01:48] * Quits: archtech (n=stanv@83.228.56.37)
- # [01:50] * Joins: hdh (n=hdh@hdh-1-pt.tunnel.tserv20.hkg1.ipv6.he.net)
- # [01:56] * Quits: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [01:58] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("ChatZilla 0.9.84 [Firefox 3.5pre/20090603031333]")
- # [02:01] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [02:01] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [02:16] * Joins: onar__ (n=onar@17.244.68.213)
- # [02:19] * Joins: mgrdcm (n=mgrdcm@69.246.244.191)
- # [02:26] <Hixie> who was i discussing the websocket protocol with recently?
- # [02:26] <Hixie> something about how servers should handle errors
- # [02:26] <Hixie> was that jwalden?
- # [02:32] * Quits: onar__ (n=onar@17.244.68.213) (Read error: 110 (Connection timed out))
- # [02:33] * Quits: onar_ (n=onar@17.226.23.106) (Read error: 110 (Connection timed out))
- # [02:41] <franksalim> Hixie, you were recently discussing the use of CONNECT with jwalden
- # [02:42] <Hixie> ok
- # [02:42] <Hixie> thanks
- # [02:42] <Hixie> i'll have to catch him when he gets back
- # [02:42] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [02:45] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com) ("Leaving...")
- # [03:01] * Quits: tndH (n=Rob@james-baillie-pc083-229.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [03:02] <Hixie> i wish i understood the IETF better
- # [03:02] <Hixie> e.g. why does http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol have versions 12, 13, and 15 but not 14?
- # [03:03] * Joins: ginger (n=nessy@115.128.34.22)
- # [03:03] * Quits: nessy (n=nessy@203.166.253.89) (Read error: 60 (Operation timed out))
- # [03:06] <franksalim> I don't know, and now I cannot easily see the diff for the new version
- # [03:07] <Hixie> the diff is at http://html5.org/tools/web-apps-tracker
- # [03:07] <Hixie> http://html5.org/tools/web-apps-tracker?from=3191&to=3192 specifically is today's update
- # [03:09] <franksalim> thanks. it is unfortunate that the missing versions broke the diff links on the ietf site, though
- # [03:15] * Joins: karlcow (n=karl@nerval.la-grange.net)
- # [03:17] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [03:24] * Quits: dave_levin (n=dave_lev@72.14.227.1)
- # [03:32] * Joins: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [03:33] * Joins: wakaba_ (n=wakaba@EM114-51-146-31.pool.e-mobile.ne.jp)
- # [03:37] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [03:38] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [03:40] * Quits: slightlyoff (n=slightly@72.14.229.81)
- # [03:43] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [03:46] * Joins: MikeSmith (n=MikeSmit@EM114-48-143-147.pool.e-mobile.ne.jp)
- # [03:47] * Joins: mpilgrim_ (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com)
- # [03:49] * Quits: ginger (n=nessy@115.128.34.22) (Read error: 54 (Connection reset by peer))
- # [03:50] * Joins: dglazkov (n=dglazkov@69.181.143.54)
- # [03:53] * Quits: wakaba (n=wakaba@EM114-51-131-151.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [03:54] * Quits: jorlow (n=jorlow@nat/google/x-d65fce0703b906f7) (Read error: 110 (Connection timed out))
- # [03:56] * Quits: dglazkov (n=dglazkov@69.181.143.54)
- # [04:01] * Joins: dglazkov (n=dglazkov@69.181.143.54)
- # [04:02] * Quits: hdh (n=hdh@hdh-1-pt.tunnel.tserv20.hkg1.ipv6.he.net) (Read error: 60 (Operation timed out))
- # [04:04] * Quits: mpilgrim (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com) (Read error: 110 (Connection timed out))
- # [04:14] * Joins: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [04:18] * Quits: tantek (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
- # [04:20] * Quits: takoratta (n=takoratt@114.150.47.76) (Read error: 110 (Connection timed out))
- # [04:28] * Quits: tantek_ (n=tantek@c-67-180-202-79.hsd1.ca.comcast.net)
- # [04:32] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
- # [04:34] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [04:35] * Quits: arun__ (n=arun@adsl-76-200-191-109.dsl.pltn13.sbcglobal.net)
- # [04:47] * Joins: takoratta (n=takoratt@EM114-48-11-137.pool.e-mobile.ne.jp)
- # [04:54] * Joins: dolske (n=dolske@c-76-103-40-203.hsd1.ca.comcast.net)
- # [04:59] * Quits: weinig (n=weinig@17.203.15.151) (Read error: 60 (Operation timed out))
- # [05:03] * Joins: hdh (n=hdh@hdh-1-pt.tunnel.tserv20.hkg1.ipv6.he.net)
- # [05:14] * Joins: riven` (n=colin@53525B67.cable.casema.nl)
- # [05:20] * Joins: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net)
- # [05:26] * Quits: mpilgrim_ (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com) (Read error: 113 (No route to host))
- # [05:26] * Quits: takoratta (n=takoratt@EM114-48-11-137.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [05:31] * Quits: riven (n=colin@pdpc/supporter/professional/riven) (Read error: 110 (Connection timed out))
- # [05:35] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [05:46] * Joins: jorlow (n=jorlow@171.66.109.133)
- # [05:56] * Joins: cying (n=cying@adsl-75-41-114-136.dsl.pltn13.sbcglobal.net)
- # [06:00] <jwalden> Hixie: it'd be nice if you made it easier to download acid3 for local testing and modifications somehow, maybe a zip of the directory and the Apache config files inside it (I'm guessing at your current setup)
- # [06:01] <Hixie> i can provide a tarball if you want
- # [06:01] <Hixie> btw i made the websocket protocol spec clearer about server-side error handling rules
- # [06:01] <jwalden> that'd have been useful a few hours ago, but I hacked one together
- # [06:01] <jwalden> spat of wgets and the occasional -S to see what I was missing
- # [06:01] * jwalden looks at ws
- # [06:03] <Hixie> well let me know if you ever want one, i do make the on demand
- # [06:03] <Hixie> i don't really want to encourage people to download it though
- # [06:06] <jwalden> why not?
- # [06:06] <jwalden> fears that people are likely to screw up the configuration process?
- # [06:07] <Hixie> more or less
- # [06:07] <jwalden> hm
- # [06:07] <Hixie> i don't want to have to field support questions from non-browser developers
- # [06:07] <Hixie> non-browser-developers i should say
- # [06:07] <jwalden> could put a URL in the acid3 source, might be sufficiently obscure for people not to use it unless they're interested
- # [06:07] <Hixie> *shrug* browser people can just ask me :-P
- # [06:12] * Joins: ezyang (n=ezyang@VINEGAR-POT.MIT.EDU)
- # [06:14] <ezyang> Do we have updated tests for th latest dash-dash-bang-angle comment terminator?
- # [06:14] * Quits: jorlow (n=jorlow@171.66.109.133)
- # [06:18] * Joins: mpilgrim (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com)
- # [06:26] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [06:32] * Joins: jruderman (n=jruderma@c-98-248-40-206.hsd1.ca.comcast.net)
- # [07:24] * Joins: archtech (n=stanv@83.228.56.37)
- # [07:34] * Quits: MikeSmith (n=MikeSmit@EM114-48-143-147.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [07:36] * Quits: dglazkov (n=dglazkov@69.181.143.54)
- # [07:45] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [07:54] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
- # [07:56] * Joins: annevk2 (n=annevk@LRouen-152-83-10-211.w80-13.abo.wanadoo.fr)
- # [07:58] * Quits: mpilgrim (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com) (Read error: 113 (No route to host))
- # [07:59] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [08:00] <hsivonen> Hixie: you asked if I was here
- # [08:00] <hsivonen> I just read the log from yesterday
- # [08:00] <Hixie> i wanted to ask you your input on the comment stuff, iirc
- # [08:00] <hsivonen> I think what Philip` said http://krijnhoetmer.nl/irc-logs/whatwg/20090604#l-1058 is the best way to discover if @summary is useful
- # [08:01] <hsivonen> Hixie: context?
- # [08:02] <hsivonen> Hixie: I want to avoid reparsing if we can avoid it. I don't have proper data, so tentatively I trust zcorpan's judgment on --!>
- # [08:02] <Hixie> http://html5.org/tools/web-apps-tracker?from=3190&to=3191
- # [08:04] <hsivonen> Hixie: seems reasonable
- # [08:04] <Hixie> k
- # [08:04] <hsivonen> I'm already over the 8000 byte limit anyway :-(
- # [08:06] <hsivonen> (aside on the 8000-byte limit: not unsurprisingly, on Stack Overflow, I got more people doubting the premise on my question than contributing towards answering the actual question)
- # [08:07] <Hixie> heh
- # [08:07] * Quits: roc (n=roc@202.0.36.64)
- # [08:07] <hsivonen> here http://stackoverflow.com/questions/944492/is-there-a-java-bytecode-optimizer-that-removes-useless-gotos
- # [08:09] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [08:11] <Hixie> hsivonen: have you considered just writing one manually? it seems you know what optimisation you want.
- # [08:12] <Hixie> (possibly by extending an existing optimiser)
- # [08:15] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:18] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [08:22] <hsivonen> Hixie: I've even considered writing a custom compiler for the method, but I'd prefer not to spend the time
- # [08:22] <Hixie> heh
- # [08:22] <Hixie> you've already written a Java to C++ convertor
- # [08:22] <Hixie> how much hard could a Java to bytecode convertor be :-)
- # [08:23] <hsivonen> I've also considered a per hack for splitting the doctype states out just ahead of compilation without spoiling the mail source
- # [08:23] <hsivonen> s/pel/perl/
- # [08:28] * Quits: doublec (n=doublec@202.0.36.64) ("Leaving")
- # [08:34] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [08:36] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Read error: 110 (Connection timed out))
- # [08:39] * Quits: shepazu (n=schepers@adsl-144-163-109.rmo.bellsouth.net) ("Core Breach")
- # [08:44] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [08:47] * Quits: wakaba_ (n=wakaba@EM114-51-146-31.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [08:47] <zcorpan> "I would like to kill Hixie" - http://hg.gsnedders.com/anolis/raw-file/tip/example.src.html
- # [08:48] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:49] <pesla> Morning
- # [08:50] <hsivonen> zcorpan: fails at nice and happy :-(
- # [08:50] * Joins: shepazu (n=schepers@adsl-144-163-109.rmo.bellsouth.net)
- # [08:51] * Quits: shepazu (n=schepers@adsl-144-163-109.rmo.bellsouth.net) (Client Quit)
- # [08:52] * Joins: shepazu (n=schepers@adsl-144-163-109.rmo.bellsouth.net)
- # [08:59] * Quits: danbri (n=danbri@unaffiliated/danbri)
- # [09:01] * Joins: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [09:02] * Quits: annevk2 (n=annevk@LRouen-152-83-10-211.w80-13.abo.wanadoo.fr)
- # [09:03] <jgraham> Hixie: It you have something like <!-- abc -- > efg the efg will appear outside the comment in gecko
- # [09:03] <jgraham> afaict
- # [09:04] <Hixie> yes, because of comment reparsing
- # [09:04] <Hixie> try it with <!-- abc -- > efg -->
- # [09:05] <jgraham> Hixie: I see efg --> outside the comment
- # [09:05] * Joins: ojan (n=ojan@220.109.219.244)
- # [09:05] <jgraham> (WebKit is different)
- # [09:08] <Hixie> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/133
- # [09:08] <Hixie> what do you see?
- # [09:08] <Hixie> i'm using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090604 Minefield/3.6a1pre
- # [09:15] <zcorpan> Hixie: why is "anything else" a parse error in the bang state?
- # [09:17] <zcorpan> Hixie: <!-- --!--> has one parse error but <!-- --!x--> has two
- # [09:17] * Hixie denies everything while checking in a fix
- # [09:18] <jgraham> Hixie: What I see depends on standards mode v quirks mode
- # [09:18] <jgraham> In standards mode dash-dash-space terminates a comment
- # [09:19] <Hixie> i've only been checking quirks mode
- # [09:20] <zcorpan> in gecko
- # [09:20] <Hixie> cos that's what the e-mail i responded to earlier today said to check :-)
- # [09:21] <zcorpan> from the pages that were analyzed, it was reasonably clear that pages would render better if -- > closed comments
- # [09:22] <zcorpan> certainly there was no page in the set that would render worse
- # [09:22] * Quits: hdh (n=hdh@hdh-1-pt.tunnel.tserv20.hkg1.ipv6.he.net) (Remote closed the connection)
- # [09:23] <jgraham> Hixie: It was opera quirks mode that does reparsing. I didn't realise that gecko behaviour depended on mode
- # [09:23] <Hixie> what exactly is the proposal? Same as for bang, but if you hit a space, stay in the state? How do you know how many spaces to emit when you hit a bogus character afterwards?
- # [09:23] <Hixie> seems like this would involve tracking more state than we'd like
- # [09:24] <jgraham> Hixie: Yes and I doubt it matters
- # [09:24] <jgraham> Oh maybe it does matter
- # [09:25] <Hixie> collapsing all the spaces everytime you hit two --s in a row in a comment would be mighty weird
- # [09:25] * Joins: doublec (n=doublec@118-92-151-16.dsl.dyn.ihug.co.nz)
- # [09:25] <Hixie> especially if one of the spaces is a newline
- # [09:25] <Hixie> and the comment is something like:
- # [09:25] <Hixie> <!-------------
- # [09:25] <Hixie> hello
- # [09:25] <Hixie> ----------->
- # [09:26] * Quits: cying (n=cying@adsl-75-41-114-136.dsl.pltn13.sbcglobal.net)
- # [09:26] <zcorpan> i guess you could just append the two dashes to the comments data upon seeing whitespace so that <!-- -- > would have the data " -- "
- # [09:27] * Joins: Lachy_ (n=Lachy@85.196.122.246)
- # [09:29] <zcorpan> i think it doesn't matter so much what the comment's data is, it's more important to get right where it ends
- # [09:30] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [09:35] * Quits: onar_ (n=onar@c-67-180-87-66.hsd1.ca.comcast.net)
- # [09:35] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 60 (Operation timed out))
- # [09:36] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [09:45] <hsivonen> Hixie: was it deliberate that the CDATA escape flag doesn't have a bang state?
- # [09:45] <Hixie> yes
- # [09:46] <hsivonen> maybe I should defer implementation for a few hours until you guys converge on what the spec should be
- # [09:48] <zcorpan> Hixie: due to reparsing, http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!--%20--%20%3EHello shows "Hello" in both webkit and gecko
- # [09:48] <zcorpan> Hixie: note the comment's data
- # [09:49] <Hixie> yeah, i was convinced by your comment above
- # [09:50] <Hixie> sorry, didn't respond, too busy actually implementing your suggestion :-)
- # [09:50] <zcorpan> no worries :)
- # [09:52] <Hixie> done
- # [09:55] <zcorpan> Hixie: whitespace in the space state should just say "Stay in the space state"
- # [09:56] <zcorpan> er it should probably append the character too
- # [09:57] <Hixie> oops
- # [09:57] <Hixie> fied
- # [09:57] <Hixie> fixed
- # [09:59] <Hixie> http://www.w3.org/mid/49F9F176.8020108@mit.edu makes me sad
- # [10:00] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
- # [10:00] <zcorpan> Hixie: thanks for fixing comment parsing
- # [10:00] <Hixie> np
- # [10:01] <zcorpan> hsivonen: i think the spec is good now
- # [10:01] * Joins: danbri (n=danbri@dyn183.roaming.few.vu.nl)
- # [10:01] <hsivonen> zcorpan: ok. thanks
- # [10:02] <hsivonen> does Bing have a #1 rank for my doctype article in general or do they just move .fi results higher when the user is in .fi? http://www.bing.com/search?q=doctype
- # [10:02] <hsivonen> anyway, it seems that Bing beats Google here ;-)
- # [10:03] <Hixie> http://www.w3.org/QA/2002/04/valid-dtd-list.html is the top hit for me
- # [10:03] <annevk42> in France you're not on the page at all
- # [10:03] <Hixie> yeah here neither
- # [10:03] <hsivonen> :-(
- # [10:03] <annevk42> first page is http://pompage.net/pompe/doctype/
- # [10:03] <zcorpan> hsivonen: http://labb.seoserver.se/att-anvanda-ratt-doctype/ is #1 for me. you're #2
- # [10:03] * Quits: webben (n=benh@dip5-fw.corp.ukl.yahoo.com) (Read error: 104 (Connection reset by peer))
- # [10:04] <hsivonen> thanks. It seems that Bing is very heavily locale-reshuffled
- # [10:04] <annevk42> wow, not on the first three pages
- # [10:04] <virtuelv> hsivonen: "heavily" is an understatement
- # [10:05] <virtuelv> for some searches I've tried, there is next to nothing in common between the NO and EN_US result pages
- # [10:05] <hsivonen> It seems to me that Google's idea of ranking English results high and offering machine translation is a much better solution that parochialism
- # [10:06] <zcorpan> it's very annoying to read machine translated text, though
- # [10:07] <hsivonen> one day I was searching for something in Finnish, Google offered to translate my search terms into English, found a better result at the BBC and offered to translate it back but also let me read the original
- # [10:08] <hsivonen> zcorpan: well, yeah, teaching kids to read English at school works better
- # [10:09] <Hixie> hsivonen: nice
- # [10:09] <Hixie> hsivonen: i've heard of that feature but never heard of anyone who actually had it trigger for them
- # [10:10] <Hixie> hsivonen: glad you had a good experience :-)
- # [10:11] <zcorpan> does google detect the language from the search query?
- # [10:12] <zcorpan> or does it assume finnish for google.fi?
- # [10:15] * Joins: RvW (n=chatzill@81.173.127.124)
- # [10:15] <hsivonen> I can't remember how I managed to trigger the feature, so I can't test
- # [10:16] <zcorpan> does any browser other than opera implement media=projection?
- # [10:17] * Joins: philipj__ (n=philipj@pat.se.opera.com)
- # [10:17] <annevk42> no
- # [10:17] <annevk42> there's an extension for Firefox I think
- # [10:18] <annevk42> oh, hsivonen's namespace patch got superreview; I wonder how that works out when deployed
- # [10:19] * zcorpan wonders which patch
- # [10:27] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [10:33] * virtuelv thinks it's a shame no other vendor has picked up on media=projection yet
- # [10:34] <annevk42> it's not really an important feature
- # [10:34] <annevk42> though it's fun to have
- # [10:34] <hsivonen> annevk42: I'm very happy it got sr. however, commit access even to the trunk is restricted to Firefox 3.5 blockers, so I can't just go ahead and check in
- # [10:35] <annevk42> that sucks :/
- # [10:35] <virtuelv> annevk42: indeed
- # [10:35] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [10:35] <virtuelv> I very much prefer using Operashow over other technologies for presentations
- # [10:35] <virtuelv> (except for the fact that I did roll my own cross-browser workalike)
- # [10:37] * Joins: mat_t (n=mattomas@91.189.88.12)
- # [10:37] <zcorpan> operashow is nice
- # [10:38] <zcorpan> just needs a proper editor to create them
- # [10:38] <hsivonen> paged screen media would make sense for hand-held refreshable paper device
- # [10:38] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:39] <hsivonen> I remember reading about refreshable black&white paper-like foldable display 10 years ago
- # [10:39] <hsivonen> I wonder what happened. Patents? actual technical flaws
- # [10:40] <hsivonen> it had tiny spheres embedded to it that were half white and half black and could be flipped electrically
- # [10:40] * Quits: Rik` (n=Rik@pha75-2-81-57-187-57.fbx.proxad.net)
- # [10:42] <Philip`> Sounds similar to http://www.eink.com/technology/howitworks.html
- # [10:42] * Joins: jorlow (n=jorlow@67.180.199.19)
- # [10:42] * Joins: Rik` (n=Rik@pha75-2-81-57-187-57.fbx.proxad.net)
- # [10:42] <Philip`> (which is used for Kindle-like devices)
- # [10:43] * Joins: ZombieLoffe (n=e@unaffiliated/zombieloffe)
- # [10:43] * hsivonen wants kindle-like device with a real browser engine and Web access
- # [10:43] <jgraham> Does the kindle make books continuous or paged?
- # [10:46] * Philip` assumes that foldability doesn't have the right combination of usefulness and cheapness and robustness to be marketable yet, but maybe they'll solve some of those problems in the next ten years
- # [10:50] <Hixie> ok well i see why the ID number went up non-consecutively
- # [10:50] <hsivonen> content/html/document/src/nsHTMLContentSink.cpp
- # [10:50] <hsivonen> oops. sorry
- # [10:57] * Joins: MikeSmith (n=MikeSmit@EM114-48-83-140.pool.e-mobile.ne.jp)
- # [11:02] * Joins: webben (n=benh@nat/yahoo/x-5a259579fe77eef2)
- # [11:03] * Joins: tndH (n=Rob@james-baillie-pc083-229.student-halls.leeds.ac.uk)
- # [11:04] * Joins: othermaciej (n=mjs@80.187.147.85)
- # [11:07] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Remote closed the connection)
- # [11:13] <MikeSmith> what would be a good description of the "challenge" attribute on the <keygen> element?
- # [11:14] <Hixie> i thought "challenge" was pretty descriptive of everything to do with <keygen>, myself
- # [11:14] <Hixie> as i understand it it's just a string that gets put in the key
- # [11:15] <Hixie> (to prevent replay attacks maybe?)
- # [11:16] <MikeSmith> ok, I guess I'll just go with "a challenge string that is submitted along with the public key"
- # [11:16] * hsivonen is surprised to learn about the Shift_JIS to Win31J mapping
- # [11:17] <Hixie> i didn't verify it
- # [11:17] <Hixie> so if it's wrong let me know
- # [11:17] <Hixie> i'll be very happy to remove it
- # [11:17] <hsivonen> I guess it's logical that the stardard names are bunk and compat requires MS extensions
- # [11:17] <hsivonen> Hixie: I'm not suggesting it's wrong. just that I'm suprised.
- # [11:18] <Hixie> i wouldn't be surprised if it was wrong, anne pointed out the guy said conflicting things about shift-jis in the e-mail
- # [11:20] <zcorpan> what was conflicting? wasn't it suggested that the mappings should be shift-jis -> something and shift_jis -> something else
- # [11:23] <Hixie> right, but that seems unlikely in the extreme
- # [11:23] <Hixie> well
- # [11:23] <Hixie> unlikely may be the wrong word
- # [11:23] <Hixie> :-)
- # [11:26] <Hixie> ok i really should sleep
- # [11:27] <annevk42> zcorpan, the conflict is that Unicode matching rules assume Shift-JIS and Shift_JIS are identical
- # [11:29] <annevk42> always when encoding comes up as subject I'd really like to solve it, but then I realize I don't really have time :/
- # [11:29] <annevk42> it also seems a lot of tedious work to figure out what maps to what
- # [11:38] <Mrmil> Hixie: what time is it? :)
- # [11:38] <zcorpan> Mrmil: bed time
- # [11:39] <Mrmil> zcorpan: O'Reilly
- # [11:42] <zcorpan> yay, "we now have one major vendor supporting [HTML5] (Google)" - http://opengardensblog.futuretext.com/archives/2009/06/why_do_competit.html
- # [11:42] <zcorpan> now we just wait for the other vendors to support HTML5, too
- # [11:43] * Quits: jorlow (n=jorlow@67.180.199.19)
- # [11:43] <hsivonen> I want a greasemonkey script that redirects faqs.org URLs to tools.ietf.org URLs
- # [11:44] <zcorpan> oh it says a few paragraphs later that there are other vendors supporting it, too
- # [11:45] <hsivonen> I need to write down that the IETF rejects kings, presidents and voting
- # [11:46] <zcorpan> i wonder if the non-Internet world will move to the IETF model
- # [11:47] * Quits: Lachy (n=Lachy@pat-tdc.opera.com) ("Leaving")
- # [11:47] * Joins: Lachy (n=Lachy@pat-tdc.opera.com)
- # [11:48] * Quits: gavin (n=gavin@firefox/developer/gavin) (simmons.freenode.net irc.freenode.net)
- # [11:48] * Quits: aboodman (n=aboodman@72.14.229.81) (simmons.freenode.net irc.freenode.net)
- # [11:48] <hsivonen> Hixie: how would UA-driven video full screen work with site-branded JS-based controls?
- # [11:48] * Joins: gavin (n=gavin@firefox/developer/gavin)
- # [11:48] * Joins: aboodman (n=aboodman@72.14.229.81)
- # [11:48] <zcorpan> hsivonen: you use native controls in full screen
- # [11:49] * hsivonen notes that YouTube shows branded controls in Flash full screen
- # [11:49] <annevk42> does Flash even have native controls?
- # [11:49] <annevk42> admittedly for advertising it might be bad
- # [11:50] <zcorpan> JS controls for full screen would have to use F11 and media=projection
- # [11:50] * Quits: othermaciej (n=mjs@80.187.147.85)
- # [11:50] <hsivonen> I'm all for native controls if the brand manager of YouTube can accept it
- # [11:52] <hsivonen> media=projection full screen would defeat the point of moving to fully-accelerated hardware video on mobile without a CSS compositor
- # [11:55] * Joins: ciaran_lee (n=ciaran_l@83-70-243-34-dynamic.b-ras1.prp.dublin.eircom.net)
- # [11:55] <annevk42> hsivonen, they sort of do on the iPhone
- # [11:55] <hsivonen> ok. I haven't tried <video> on the iPhone
- # [11:56] <hsivonen> (I want a phone like that but without the carrier deal and the restrictions on app installation)
- # [12:06] <zcorpan> http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-June/020177.html will be valuable when people complain that html5 chages the semantics of certain elements
- # [12:07] <zcorpan> people seem to forget or ignore or not be aware of the fact that the semantics of elements have changed between html2 and html4
- # [12:08] <zcorpan> maybe it would be worth to document how each element is defined in the history of html
- # [12:08] * Parts: ojan (n=ojan@220.109.219.244)
- # [12:09] <Philip`> If OS X is in a state where it refuses to open any applications, and refuses to shut down because it thinks some application I tried to open is still open and won't shut down, what am I meant to do? :-(
- # [12:11] <jgraham> Philip`: Hold down the power button?
- # [12:12] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
- # [12:12] <Philip`> Hmm, "force quit" lets me kill the offending applications
- # [12:12] <Philip`> but now I've quit everything and there's no menu bar at the top of the screen any more, so I can't select "shutdown" from the menu
- # [12:13] <Philip`> Power button isn't a very elegant solution, but seems to work
- # [12:13] * hsivonen wishes OS X had a working panic button for "kill all processes, flush filesystems caches, reboot"
- # [12:13] <hsivonen> AFAICT, power button fails the flush filesystem caches point
- # [12:15] <zcorpan> i guess the power button should be that panic button
- # [12:17] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [12:18] * Quits: MikeSmith (n=MikeSmit@EM114-48-83-140.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [12:19] <Philip`> zcorpan: If the power button was that button, what would you do when the filesystem cache flusher had hung?
- # [12:21] <Lachy> hsivonen, re "I want a phone like that but without the carrier deal and the restrictions on app installation" -- a jailbroken iPhone bought without a plan in Australia by paying a small unlocking fee would meet your needs
- # [12:21] <Lachy> (unlike many other countries, Australia doesn't seem to permit exclusivity like in the uS)
- # [12:21] <jgraham> An Android G! dev phone would meet those needs
- # [12:21] <jgraham> G1
- # [12:22] <jgraham> (without requiring jailbreaking, I think)
- # [12:22] <hsivonen> Lachy: I don't want to pay for a jailbroken phone, since my money would be a vote for the DRM-to-install-code model
- # [12:23] <zcorpan> Philip`: i guess if you hold the button for long enough it will force turn off
- # [12:23] <Lachy> well, you'd have to jailbreak it yourself. But my point was that you can buy an iphone that isn't locked to a specific carrier
- # [12:26] * zcorpan has just discovered a whole new way to fold tortillas
- # [12:27] <zcorpan> wonder why i haven't thought of it before
- # [12:28] <zcorpan> cut it in half, roll it along the straight line, fold the bottom, then fill it
- # [12:29] <Lachy> zcorpan, how does cutting a tortilla in half help with folding it?
- # [12:30] <Lachy> I don't understand how you can roll it and fold the bottom before filling it either
- # [12:30] <Lachy> since you need to fill it when it's flat, then roll it
- # [12:30] <zcorpan> Lachy: it doesn't directly but it makes it easier to fill
- # [12:30] <zcorpan> why do you need to fill it first and not last?
- # [12:30] <Lachy> I really don't understand how
- # [12:31] <Lachy> because if you roll it first, then you need to try and fill it through a small hole in one end
- # [12:32] <Lachy> that's bound to be a messy experience
- # [12:32] <zcorpan> the whole doesn't need to be so small
- # [12:32] <zcorpan> and since i cut it in half it was actually not messy at all
- # [12:33] <zcorpan> s/w//
- # [12:33] <Lachy> maybe I need to see it to understand it, cause I'm trying to imagine a non-messy way to fill it
- # [12:34] <Lachy> and I can't
- # [12:34] <zcorpan> i just use a fork
- # [12:34] <zcorpan> it might help in understanding that i fill it with fajitas
- # [12:34] <Lachy> so you take half a tortialla, make it a cone shape and fill it?
- # [12:34] * Quits: RvW (n=chatzill@81.173.127.124) (Remote closed the connection)
- # [12:35] <zcorpan> yup
- # [12:35] <Lachy> but then you only get a half-size meal
- # [12:35] <zcorpan> but you can eat twice the amount :)
- # [12:36] <Lachy> it's so much easy to place the tortialla in your hand, fill it in the middle and then wrap the whole tortilla around the filling
- # [12:37] <zcorpan> maybe i suck at doing it (even though people around me usually have more problem with it than me) but i found this to be less messy
- # [12:38] <Lachy> sure, I've found many other people are clueless when it comes to filling them too
- # [12:40] <Lachy> but I wonder, do the Swedish like to put real hot sauce on their mexican food? The Norwegian variety of hot sauce is, unfortunately, very mild
- # [12:40] <zcorpan> in sweden there's usually three grades - mind, medium and hot
- # [12:40] <Lachy> and even in many restaurants here, if you ask for hot, it comes back medium at best
- # [12:40] <zcorpan> i usually use the "hot" and it's not very hot
- # [12:41] <zcorpan> so i guess the answer to the question is "no"
- # [12:41] <Lachy> sure, they sell 3 grades of hot sauce here in norway too. But even the jar labelled Hot, is mild by comparison with what I'm used to
- # [12:42] <Lachy> I guess they just sell the same stuff in both countries. IIRC, there's both swedish and norwegian instructions on the various mexican kits
- # [12:43] * Parts: annevk42 (n=annevk@gw.sophia.w3.org)
- # [12:43] * Joins: annevk42 (n=annevk@gw.sophia.w3.org)
- # [12:44] <jgraham> Tune in next week for another episode of "Lachy does Macho"!
- # [12:44] <jgraham> (I joke, I joke)
- # [12:44] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [12:46] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [13:09] * Quits: webben (n=benh@nat/yahoo/x-5a259579fe77eef2) (Read error: 110 (Connection timed out))
- # [13:11] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [13:17] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [13:20] * Quits: VeXocide (i=vexocide@snail.stack.nl) (Read error: 104 (Connection reset by peer))
- # [13:30] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [13:33] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (simmons.freenode.net irc.freenode.net)
- # [13:33] * Quits: heycam (n=cam@124-168-70-194.dyn.iinet.net.au) (simmons.freenode.net irc.freenode.net)
- # [13:33] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (simmons.freenode.net irc.freenode.net)
- # [13:33] * Quits: jtcranmer (n=jcranmer@ltsp1.csl.tjhsst.edu) (simmons.freenode.net irc.freenode.net)
- # [13:33] * Quits: eighty4 (n=eighty4@eighty4.se) (simmons.freenode.net irc.freenode.net)
- # [13:34] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [13:34] * Joins: heycam (n=cam@124-168-70-194.dyn.iinet.net.au)
- # [13:34] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [13:34] * Joins: jtcranmer (n=jcranmer@ltsp1.csl.tjhsst.edu)
- # [13:34] * Joins: eighty4 (n=eighty4@eighty4.se)
- # [13:41] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [13:46] <Lachy> oops, I sent that webstorage mail to public-html instead of public-webapps.
- # [13:46] <Lachy> oh well, hopefully that won't matter
- # [13:49] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (simmons.freenode.net irc.freenode.net)
- # [13:49] * Quits: jtcranmer (n=jcranmer@ltsp1.csl.tjhsst.edu) (simmons.freenode.net irc.freenode.net)
- # [13:49] * Quits: heycam (n=cam@124-168-70-194.dyn.iinet.net.au) (simmons.freenode.net irc.freenode.net)
- # [13:49] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (simmons.freenode.net irc.freenode.net)
- # [13:49] * Quits: eighty4 (n=eighty4@eighty4.se) (simmons.freenode.net irc.freenode.net)
- # [13:50] * Joins: webben (n=benh@nat/yahoo/x-8ac1981ccb8edcd6)
- # [13:50] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [13:50] * Joins: heycam (n=cam@124-168-70-194.dyn.iinet.net.au)
- # [13:50] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [13:50] * Joins: jtcranmer (n=jcranmer@ltsp1.csl.tjhsst.edu)
- # [13:50] * Joins: eighty4 (n=eighty4@eighty4.se)
- # [13:52] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [13:54] * Joins: Hish (n=chatzill@mail2.n-e-s.de)
- # [13:57] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (simmons.freenode.net irc.freenode.net)
- # [13:57] * Quits: jtcranmer (n=jcranmer@ltsp1.csl.tjhsst.edu) (simmons.freenode.net irc.freenode.net)
- # [13:57] * Quits: heycam (n=cam@124-168-70-194.dyn.iinet.net.au) (simmons.freenode.net irc.freenode.net)
- # [13:57] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (simmons.freenode.net irc.freenode.net)
- # [13:57] * Quits: webben (n=benh@nat/yahoo/x-8ac1981ccb8edcd6) (simmons.freenode.net irc.freenode.net)
- # [13:57] * Quits: eighty4 (n=eighty4@eighty4.se) (simmons.freenode.net irc.freenode.net)
- # [13:58] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [13:59] * Joins: webben (n=benh@nat/yahoo/x-8ac1981ccb8edcd6)
- # [13:59] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [13:59] * Joins: heycam (n=cam@124-168-70-194.dyn.iinet.net.au)
- # [13:59] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [13:59] * Joins: jtcranmer (n=jcranmer@ltsp1.csl.tjhsst.edu)
- # [13:59] * Joins: eighty4 (n=eighty4@eighty4.se)
- # [14:05] <hsivonen> my sarcasm detector doesn't work on this comment: http://www.molly.com/2009/06/02/the-real-why-xhtml-discussion/comment-page-1/#comment-2446810
- # [14:06] <hsivonen> "I am just glad that Steve says that XHTML as text/html is fine. Admittedly I hadn’t lost much sleep over this before but now I can officially ignore some of the more dogmatic viewpoints on things like that."
- # [14:06] <annevk42> no sarcasm there I think
- # [14:07] <hsivonen> ok
- # [14:07] <annevk42> his site uses XHTML and his name doesn't ring any bells with respect to this "debate"
- # [14:09] * Joins: shepazutoo (n=schepers@adsl-221-12-162.rmo.bellsouth.net)
- # [14:10] * Quits: shepazu (n=schepers@adsl-144-163-109.rmo.bellsouth.net) (Read error: 60 (Operation timed out))
- # [14:13] <Lachy> this mail refers to some html4all discussions http://lists.w3.org/Archives/Public/public-html/2009Jun/0201.html - but the html4all mailing list archives show no activity since February. http://wilbur.bytowninternet.com/mailman/private/list_html4all.org/ Do they have some other secret list now?
- # [14:14] <Lachy> unless Leif just meant previous discussions from several months ago
- # [14:16] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [14:16] * Joins: pmuellr (n=pmuellr@nat/ibm/x-62d2cf3ab67127db)
- # [14:19] <Lachy> anyway, using <figure><summary>...</summary> <table>...</table></figure> would be an interesting solution if there's a legitimate problem for it to solve (I'm staying neutral for now on the debate about whether or not there is a problem though)
- # [14:33] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [14:38] * Joins: zdobersek (n=zan@92.37.73.247)
- # [14:42] <hsivonen> Does Chrome on Mac use Quartz instead of Skia?
- # [14:43] <hsivonen> no <video> in Mac Chrome yet
- # [14:43] * Joins: nessy (n=nessy@203-206-1-119.dyn.iinet.net.au)
- # [14:43] * Joins: othermaciej (n=mjs@193.85.203.212)
- # [14:43] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [14:44] * Quits: othermaciej (n=mjs@193.85.203.212) (Client Quit)
- # [14:44] * zcorpan fails to see how <figure><summary>...</summary> <table>...</table></figure> is better than <table><caption>...</caption>...</table>
- # [14:45] <zcorpan> certainly the latter works better in existing AT
- # [14:47] <Lachy> zcorpan, the latter would be better if, as I said, there were a legitimate problem being solved with the current approach of using <caption>.
- # [14:47] <Lachy> s/the latter/the fomer/
- # [14:49] <jgraham> I fail to see how either is better than <table><caption><details>...<legend>...</legend></caption>
- # [14:50] <Lachy> jgraham, using details like that seems unintuitive
- # [14:50] <jgraham> Lachy: Almost no one is going to do it anyway
- # [14:50] <jgraham> and for those people that do it doesn't seem that hard
- # [14:51] <jgraham> (since they will presumably have been trained/advocated into putting more information for AT users into their table)
- # [14:51] <Lachy> personally, I prefer just writing a summary in the prose before the table using an ordinary <p>. I fail to see why it needs to be directly associated with the table by markup
- # [14:52] <Lachy> I don't particularly like the idea of writing the summary in the caption, since captions are supposed to be short
- # [14:55] <Philip`> That's easy to solve - just stop supposing that captions should be short
- # [14:56] <jgraham> Lachy: Captions, in general are not short. That is a weird HTMLism
- # [14:56] <jgraham> or rather HTML4ism
- # [14:57] <zcorpan> i put the summary in <p> in http://simon.html5.org/articles/mobile-results
- # [14:57] <zcorpan> maybe i should update it to put it in the caption
- # [14:57] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [14:57] <Lachy> they should be 1 or 2 sentences, just enough to describe the content of the figure/table
- # [14:58] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 54 (Connection reset by peer))
- # [15:04] <Philip`> Why should they?
- # [15:04] <beowulf> Lachy: you suppose 1 or 2 sentences is enough to describe the content
- # [15:05] <Philip`> You could always make it two very long sentences with lots of semicolons
- # [15:05] <Lachy> because the content should be sufficiently self describing to not need an excessively long caption. Also, in most books and newspapers where I've seen captions, they're usually quite short
- # [15:14] * riven` is now known as riven
- # [15:15] <jgraham> Lachy: Try writing a scientific paper with the major results in a table and fitting the caption into 1/2 sentences. It often isn't possible
- # [15:16] <jgraham> (I guess you could use <figure> for that case but it's not really clear why there should be two ways to do it with some arbitary cutoff based on length)
- # [15:17] <Lachy> jgraham, can you give an example of such a long caption?
- # [15:19] <zcorpan> Philip`: could you grep for pages that have non-whitespace and "-->" on the last non-whitespace line of scripts?
- # [15:20] <zcorpan> ie and opera have interesting behavior where the last line is stripped if it ends with -->
- # [15:21] <zcorpan> in opera the line doesn't get stripped if it also contains //
- # [15:21] <Lachy> which versions of IE have you tested?
- # [15:21] <zcorpan> Lachy: ie8
- # [15:21] <jgraham> Lachy: Consider http://arxiv.org/pdf/astro-ph/0603449v2 Table 2 has a rather long caption. Many other tables do not. Insisting that they should be different elements doesn't make much sense
- # [15:21] <zcorpan> in ie it doesn't get stripped if the line contains // or <!-- (i think)
- # [15:21] <Lachy> ah, then maybe they're complaining about a syntax error if the the --> isn't commented out with //
- # [15:22] <Philip`> zcorpan: Do you mean something like "^\S+-->\s*</script>"?
- # [15:22] * Quits: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com) (Remote closed the connection)
- # [15:23] <zcorpan> Philip`: there could be whitespace on the line, just not only whitespace followed -->
- # [15:23] <zcorpan> foo = 'bar'; -->
- # [15:23] <zcorpan> </script>
- # [15:24] * Joins: allanmac1 (n=allanmac@static-68-236-124-210.bos.east.verizon.net)
- # [15:24] <Lachy> jgraham, the captions in that contain a lot of content that I would have thought more appropriate for the main content of the paper where referring to the relevant figures
- # [15:24] * Quits: mat_t (n=mattomas@91.189.88.12) ("Leaving")
- # [15:24] <Philip`> zcorpan: Oops, yes
- # [15:25] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [15:25] <jgraham> Lachy: That is a typical style for those papers. They are rahter optimised for people using figures and tables as references without also having to reread the whole paper
- # [15:25] <Philip`> zcorpan: Do you want to ignore lines that use //--> (or similar)?
- # [15:25] <zcorpan> Philip`: yes, ignore lines that have //
- # [15:25] <Lachy> well, I'd consider that bad form, but ok
- # [15:26] * Quits: nessy (n=nessy@203-206-1-119.dyn.iinet.net.au) ("Leaving")
- # [15:26] * Quits: webben (n=benh@nat/yahoo/x-8ac1981ccb8edcd6) (Read error: 110 (Connection timed out))
- # [15:27] <Philip`> zcorpan: What if they start with <!-- on that line?
- # [15:28] <Philip`> (Lots of people write <script><!-- comment --></script>)
- # [15:28] * Joins: arun__ (n=arun@adsl-76-200-191-109.dsl.pltn13.sbcglobal.net)
- # [15:30] <Lachy> Philip`, I've seen that done in order to prevent some broken backend systems from mistakenly outputting empty scripts as <script src="..." />
- # [15:30] <Lachy> so they put in a comment to make it appear non-empty
- # [15:30] <zcorpan> Philip`: if they are overwhelming then yeah it would be good to remove those that have <!-- on the same line, too
- # [15:30] <jgraham> I think it is the cases where there is a --> but no <!-- or // that are the most interesting
- # [15:30] * Joins: doublec_ (n=doublec@118-93-190-108.dsl.dyn.ihug.co.nz)
- # [15:32] * Joins: mat_t (n=mattomas@nat/canonical/x-1356a55f14092d39)
- # [15:32] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 104 (Connection reset by peer))
- # [15:33] * Joins: doublec__ (n=doublec@118-93-178-63.dsl.dyn.ihug.co.nz)
- # [15:33] * Philip` searches for (?i)^\s*(?!//|<!--)\S((?!//|<!--).)*-->\s*</script>
- # [15:33] * Quits: doublec__ (n=doublec@118-93-178-63.dsl.dyn.ihug.co.nz) (Read error: 104 (Connection reset by peer))
- # [15:33] <Philip`> (but only searching individual lines, so it won't find anything if the </script> is on the next line after the content)
- # [15:34] <Lachy> if you did the search using just (?i)^\s*(?!//|<!--)\S((?!//|<!--).)*-->\s* would you get too many false positives?
- # [15:35] <jgraham> Philip`: If possible it would be nice to get cases where the </script> is on the next line too
- # [15:35] * Quits: doublec_ (n=doublec@118-93-190-108.dsl.dyn.ihug.co.nz) (Read error: 60 (Operation timed out))
- # [15:35] <jgraham> Although I guess that would be slower
- # [15:35] <Philip`> Lachy: I expect that would find a bazillion HTML comments that have nothing to do with scripts
- # [15:36] <Lachy> oh, right, so you need a way to limit the search to within script elements
- # [15:39] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [15:42] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [15:43] * Joins: VeXocide (i=vexocide@snail.stack.nl)
- # [15:43] * Philip` tries running it across multiple lines, but it'll take forever (since the single-line one hasn't even finished yet)
- # [15:44] <Philip`> I really ought to parallelise my grep :-/
- # [15:46] <zcorpan> Philip`: i'm not in a hurry. :) sorry for using your cpu
- # [15:47] <jgraham> "Aplologies for increasing the entropy of the universe"
- # [15:47] <jgraham> *Apologies
- # [15:48] <Philip`> Ooh, the first one finished
- # [15:48] <Philip`> zcorpan: http://philip.html5.org/data/comment-close-at-end-of-script.txt
- # [15:49] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [15:49] <zcorpan> Philip`: thanks
- # [15:51] * Quits: doublec (n=doublec@118-92-151-16.dsl.dyn.ihug.co.nz) (Read error: 110 (Connection timed out))
- # [15:52] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [15:59] <zcorpan> Philip`: the first few pages of those use //--> but your .txt says /-->
- # [16:01] <zcorpan> though www.mp3music.co.il/forums/topic/?id=6&guid=MNRQFBZGBU12252008235139 does use a single slash
- # [16:02] <zcorpan> so maybe www.oclc.org/services/preservation/ has changed
- # [16:02] <Philip`> zcorpan: The pages like http://www.oclc.org/services/preservation/http:/www.oclc.org/programsandresearch/kilgouraward/http:/www.oclc.org/research/http:/www.oclc.org/support/systemalerts/default.asp say "/--></script>" twice when I look at them
- # [16:02] <Philip`> s/twice/thrice/
- # [16:02] <Philip`> at the bottom
- # [16:03] <zcorpan> ah
- # [16:03] <zcorpan> i thought your script emitted several urls
- # [16:03] <Philip`> Only one per line
- # [16:04] <Philip`> That is a pretty weird URL, though
- # [16:04] <zcorpan> i guess it's not too bad if a 404 page doesn't work correctly :)
- # [16:06] <Philip`> Hmm, my other grep has reached chunk 6 out of f
- # [16:06] <Philip`> so it might take a long time
- # [16:06] <zcorpan> http://www.onpointevents.com/PPF/Page/1/resources.asp has a script that sets the today variable but it's not used anywhere, so it wouldn't break
- # [16:07] <Philip`> zcorpan: http://philip.html5.org/data/comment-close-at-end-of-script-across-multiple-lines.txt is some of the multi-line grep's output
- # [16:08] <Philip`> (Apologies for the barely-readable output format)
- # [16:08] <zcorpan> Philip`: thanks. it's readable enough :)
- # [16:09] * Joins: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [16:09] <zcorpan> the script at mp3music.co.il/lyrics2/text.aspx?id=26601 would stop working
- # [16:10] <zcorpan> but it doesn't seem like a vital script
- # [16:10] * Joins: dglazkov (n=dglazkov@69.181.143.54)
- # [16:11] * Quits: mgrdcm (n=mgrdcm@69.246.244.191)
- # [16:16] * Quits: zdobersek (n=zan@92.37.73.247) (Read error: 110 (Connection timed out))
- # [16:18] <zcorpan> it breaks a script at http://www.marika.com/productinfo_item_43-dc_614-md_614-pd_564-cd_on-sn_5.htm but i don't know what the script does - the page seems to work in firefox
- # [16:18] * Joins: zdobersek (n=zan@cpe-92-37-70-215.dynamic.amis.net)
- # [16:20] <zcorpan> if(lt){d.write('<'+'!-- ');}//--></script><noscript>
- # [16:20] <zcorpan> <img src="http://adlik.akavita.com/bin/lik?id=28254"
- # [16:20] <zcorpan> border=0 height=31 width=88 alt="Akavita: каталог, рейтинг, счетчик для сайтов Беларуси">
- # [16:20] <zcorpan> </noscript><script language="JavaScript"><!--
- # [16:20] <zcorpan> if(lt){d.write('--'+'>');} --></script>
- # [16:20] <zcorpan> http://mogbiz.by/modules.php?name=pages&pa=list_pag&cid=32
- # [16:21] <zcorpan> won't break since the second <script> tag will be part of an html comment
- # [16:21] <Philip`> Ouch
- # [16:22] * Parts: annevk42 (n=annevk@gw.sophia.w3.org)
- # [16:24] * Quits: heycam (n=cam@124-168-70-194.dyn.iinet.net.au) ("bye")
- # [16:25] <zcorpan> yay i've gone through http://philip.html5.org/data/comment-close-at-end-of-script.txt - none of them actually breaks in functionality afaict, a few of them would cause a script error
- # [16:25] <zcorpan> on to multiline
- # [16:26] <zcorpan> <script>
- # [16:26] <zcorpan> <!---
- # [16:26] <zcorpan> var g_date="2005.01.12 00:00:00"
- # [16:26] <zcorpan> document.write(g_date.substring(0,10));
- # [16:26] <zcorpan> --->
- # [16:26] <zcorpan> </script>
- # [16:26] <zcorpan> sigh
- # [16:27] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [16:27] <zcorpan> http://www.ctax.org.cn/was40/search?channelid=39843 does break
- # [16:28] * Joins: myakura (n=myakura@p4050-ipbf3009marunouchi.tokyo.ocn.ne.jp)
- # [16:30] <Philip`> Oops, X crashed, which killed my SSH session, which killed my grep
- # [16:30] <Philip`> I hope that partial list is adequate for now
- # [16:30] <zcorpan> yeah it's good enough
- # [16:30] <zcorpan> thanks again
- # [16:31] <zcorpan> http://www.modelenium.co.uk/models/TACA-A319--GJTAI149.aspx just tries to disable right click so not too serious if the script doesn't run :)
- # [16:31] * Joins: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com)
- # [16:32] <zcorpan> http://www.stadtguide24.de/index.php?myGeoId=14556&site=edit&lang=de has an ie-specific script with document.all check so doesn't matter
- # [16:35] <gsnedders> http://s.ytimg.com/yt/js/base_all_with_bidi-vfl101077.js is being really slow taking YouTube down here :\
- # [16:35] <gsnedders> s.ytimg.com is slow in general :\
- # [16:36] <zcorpan> http://www.meganime.org/foro/viewtopic.php?p=316494 PreloadImages() will break, but only breaks the *pre*load so not too serious
- # [16:37] * Quits: gsnedders (n=gsnedder@host86-164-130-180.range86-164.btcentralplus.com) ("Adios intarwebs.")
- # [16:38] * Parts: zdobersek (n=zan@cpe-92-37-70-215.dynamic.amis.net)
- # [16:38] <zcorpan> http://www.fise.org/associazioni/assioma/index.php?we_objectID=9643&we_objectTID=425 - breaks the image swap in the menu. not too serious, either
- # [16:38] * Quits: mpt_ (n=mpt@canonical/launchpad/mpt) (Read error: 54 (Connection reset by peer))
- # [16:38] * Joins: gsnedders (n=gsnedder@host86-151-228-148.range86-151.btcentralplus.com)
- # [16:38] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [16:39] <zcorpan> http://www.wholesalemegamall.com/index.php?c=office&n=1084128&i=B000LYAX1G&a=buy&m=All&p=1&x=Panasonic_Dect_60_Series_3_Handset_Cordless_Phone_System_with_Answering_System_KX_TG1033S has ie-specific script
- # [16:41] * Joins: mlpug (n=mlpug@a88-115-171-214.elisa-laajakaista.fi)
- # [16:41] <zcorpan> http://www.diadora.de/planetnewsplus/misc/tell_a_friend/tell.php?id=20070301120209 also breaks preload / image swap (but i don't know which images)
- # [16:43] <zcorpan> http://www.foodireland.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=w580420&Category_Code=caseflour&Product_Count=4 - breaks the script that prints out today's date
- # [16:46] <zcorpan> http://www.emumax.com/emumax_tvnews_detail.asp?id=188 - seems to break a tracker script or something
- # [16:50] <zcorpan> seems to possibly break the comment form in http://www.langya.cn/travel/lydx/200801/t137487.htm
- # [16:53] <zcorpan> the gay.sexe-photos site uses <script language="vbscript">
- # [16:53] * zcorpan realises that he just watched porn at work
- # [16:54] * gsnedders facepalms
- # [16:56] <zcorpan> community.bravo.de/boards/viewtopic.php?t=134678: /* ]]> */-->
- # [16:57] <zcorpan> that works in spidermonkey but breaks in nitro and v8
- # [16:59] * Joins: mgrdcm (n=mgrdcm@65.111.247.194)
- # [17:00] <zcorpan> http://www.rapido.nl/care-plus-click-away-bite-relieve-travel-accessoire-artikelnummer-91654.html probably breaks some progress bar script
- # [17:01] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
- # [17:02] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [17:02] * Parts: allanmac1 (n=allanmac@static-68-236-124-210.bos.east.verizon.net)
- # [17:03] <zcorpan> well the rest just seem to be more of the same stuff
- # [17:04] <virtuelv> well, Opera summer party coming up in 9 seconds.
- # [17:04] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [17:05] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:06] <zcorpan> crap, http://www.bbsone.com/html.php?file=bbs/business/gb/messages/908.htm would break a link
- # [17:08] <zcorpan> http://www.hjsflower.com/flower/show.asp?id=A3004&bookid=961&anid=3&nid=34 might break the form
- # [17:09] * Quits: dglazkov (n=dglazkov@69.181.143.54)
- # [17:09] <zcorpan> http://www.yeongnam.com/yeongnam/html/edu/university/article.shtml?id=20090112.010330807390001 breaks form validation (not too serious)
- # [17:09] * Quits: danbri (n=danbri@unaffiliated/danbri)
- # [17:12] <zcorpan> i'm through the list!
- # [17:12] <zcorpan> so let's see
- # [17:14] <Philip`> Let me know if you want a longer list ;-)
- # [17:14] * aroben is now known as aroben|away
- # [17:15] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 54 (Connection reset by peer))
- # [17:15] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [17:15] <zcorpan> 2 with missing content, 1 with broken link, 2 something with forms, 2 with a progress bar something, a few with preload/imageswap and the rest didn't really break anything
- # [17:15] * Parts: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [17:16] <zcorpan> so that's about 5 pages breaking in functionality
- # [17:19] * Quits: jmb (n=jmb@login.ecs.soton.ac.uk) (Read error: 110 (Connection timed out))
- # [17:19] * Joins: zdobersek (n=zan@cpe-92-37-70-215.dynamic.amis.net)
- # [17:20] <zcorpan> (since i didn't see any progress bar and the imageswap isn't really functionality)
- # [17:21] <zcorpan> wonder if the other vendors want to implement this
- # [17:25] * Joins: allanmac1 (n=allanmac@dsl017-091-222.bos1.dsl.speakeasy.net)
- # [17:27] * zcorpan updates http://wiki.whatwg.org/wiki/Web_ECMAScript#HTML_comments
- # [17:30] * Quits: Lachy_ (n=Lachy@85.196.122.246) ("Leaving")
- # [17:35] * Joins: dglazkov (n=dglazkov@216.239.45.4)
- # [17:39] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [17:41] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [17:42] * Joins: shepazu (n=schepers@adsl-144-138-35.rmo.bellsouth.net)
- # [17:42] * Joins: danbri (n=danbri@s5590d015.adsl.wanadoo.nl)
- # [17:50] * Quits: shepazutoo (n=schepers@adsl-221-12-162.rmo.bellsouth.net) (Read error: 113 (No route to host))
- # [17:55] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [18:15] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [18:17] * Parts: allanmac1 (n=allanmac@dsl017-091-222.bos1.dsl.speakeasy.net)
- # [18:20] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:47] * Joins: hallvors (n=hallvord@pat-tdc.opera.com)
- # [18:53] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [18:55] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [19:01] * Joins: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [19:24] * Joins: wakaba (n=wakaba@EM114-51-137-67.pool.e-mobile.ne.jp)
- # [19:26] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
- # [19:27] * Quits: broquaint (i=a6beb1ce@spc1-brig11-0-0-cust544.asfd.broadband.ntl.com) ("Back in two weeks.")
- # [19:31] * Quits: aroben|away (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [19:33] * Quits: arun__ (n=arun@adsl-76-200-191-109.dsl.pltn13.sbcglobal.net)
- # [19:36] * Joins: slightlyoff (n=slightly@nat/google/x-f5e595392c60c43c)
- # [19:40] * Joins: jorlow (n=jorlow@nat/google/x-b974bbdf5f5cd325)
- # [19:41] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [19:42] * Quits: myakura (n=myakura@p4050-ipbf3009marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [19:44] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [19:53] * Joins: drostie (n=hopkins@5ED17066.cable.ziggo.nl)
- # [20:06] * Joins: zdobersek1 (n=zan@cpe-92-37-78-146.dynamic.amis.net)
- # [20:10] * Joins: weinig (n=weinig@17.203.15.151)
- # [20:13] * Quits: ciaran_lee (n=ciaran_l@83-70-243-34-dynamic.b-ras1.prp.dublin.eircom.net)
- # [20:16] * Quits: mat_t (n=mattomas@nat/canonical/x-1356a55f14092d39) ("This computer has gone to sleep")
- # [20:16] * Quits: zdobersek (n=zan@cpe-92-37-70-215.dynamic.amis.net) (Read error: 110 (Connection timed out))
- # [20:17] * gsnedders grumbles at the W3C's own inability to follow its own schemas
- # [20:18] * Joins: billmason (n=billmaso@ip106.unival.com)
- # [20:19] <jgraham> gsnedders: are you surprised?
- # [20:23] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
- # [20:25] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [20:27] * Quits: jwalden (n=waldo@c-98-248-40-206.hsd1.ca.comcast.net) ("ChatZilla 0.9.84 [Firefox 3.5pre/20090603031333]")
- # [20:32] <gsnedders> jgraham: Knowing how many bugs I've filed on this already, no :P
- # [20:32] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [20:32] <gsnedders> Actually, in some ways, I'm surprised I haven't found all the issues yet.
- # [20:32] * gsnedders wonders if he's doing a Philip` and reporting issues on his own suggestions
- # [20:43] * Joins: shepazutoo (n=schepers@adsl-144-138-35.rmo.bellsouth.net)
- # [20:45] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [20:58] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [20:59] * Joins: arun_ (n=arun@corp-241.mountainview.mozilla.com)
- # [20:59] * Quits: shepazu (n=schepers@adsl-144-138-35.rmo.bellsouth.net) (Read error: 110 (Connection timed out))
- # [21:04] * Joins: maikmerten (n=maikmert@Z922e.z.pppool.de)
- # [21:04] * Quits: arun_ (n=arun@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
- # [21:07] * weinig is now known as weinig|brb
- # [21:08] * Joins: john (n=chatzill@82-43-162-150.cable.ubr04.nmal.blueyonder.co.uk)
- # [21:08] * john is now known as Guest39244
- # [21:10] * Guest39244 is now known as jjlee
- # [21:10] * Joins: ctandy (n=ct@static-66-16-253-34.dsl.cavtel.net)
- # [21:12] * Quits: shepazutoo (n=schepers@adsl-144-138-35.rmo.bellsouth.net)
- # [21:19] * Joins: onar_ (n=onar@17.226.23.106)
- # [21:31] * Quits: archtech (n=stanv@83.228.56.37) (Read error: 60 (Operation timed out))
- # [21:46] * Quits: zdobersek1 (n=zan@cpe-92-37-78-146.dynamic.amis.net) (Read error: 54 (Connection reset by peer))
- # [21:51] * Quits: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com) (Read error: 60 (Operation timed out))
- # [22:01] * Joins: zdobersek (n=zan@cpe-92-37-78-146.dynamic.amis.net)
- # [22:02] * Quits: zdobersek (n=zan@cpe-92-37-78-146.dynamic.amis.net) (Client Quit)
- # [22:07] <hober> http://radar.oreilly.com/2009/06/fbml-yml-osml-oh-my.html
- # [22:10] * Joins: weinig (n=weinig@17.246.17.109)
- # [22:23] * Quits: philipj__ (n=philipj@pat.se.opera.com) (Read error: 60 (Operation timed out))
- # [22:26] * Quits: weinig|brb (n=weinig@17.203.15.151) (Read error: 110 (Connection timed out))
- # [22:37] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:47] * Quits: mlpug (n=mlpug@a88-115-171-214.elisa-laajakaista.fi) (Remote closed the connection)
- # [23:04] * Joins: onar__ (n=onar@17.244.69.85)
- # [23:06] * Parts: ctandy (n=ct@static-66-16-253-34.dsl.cavtel.net)
- # [23:11] * Quits: pmuellr (n=pmuellr@nat/ibm/x-62d2cf3ab67127db)
- # [23:17] <gsnedders> ezyang: We need to deal with stuff at a Unicode level in the TreeBuilder so we can coerce what we have into an XML infoset, which means we will either need to decode the data _again_, or we just use an array of codepoints, which eats memory…
- # [23:17] * gsnedders sighs
- # [23:18] * Joins: onar___ (n=onar@17.244.69.85)
- # [23:18] * Quits: onar__ (n=onar@17.244.69.85) (Connection reset by peer)
- # [23:19] <ezyang> Oh, we want XML infoset support?
- # [23:19] <gsnedders> ezyang: We need to, if we are to use DOM…
- # [23:19] * Quits: onar___ (n=onar@17.244.69.85) (Client Quit)
- # [23:19] <gsnedders> ezyang: It's the cause of all 10 current exceptions thrown
- # [23:19] <ezyang> Well, I have no intentions of staying on DOM
- # [23:20] <gsnedders> ezyang: How are you going to write anything in userland with anywhere near decent perf? :)
- # [23:20] <ezyang> Write it in C and PHP
- # [23:20] <gsnedders> ezyang: Not re-distributable.
- # [23:20] <gsnedders> (Well, sure, it is, but if you want to ship it in normal software…)
- # [23:20] <ezyang> Performance is "not re-distributable"
- # [23:20] * Quits: onar_ (n=onar@17.226.23.106) (Connection timed out)
- # [23:20] <ezyang> We'll obviously have a PHP drop-in replacement
- # [23:21] <ezyang> A userland tree implementation can have decent performance, given some concessions on the tree-builder and API side
- # [23:21] <ezyang> Decent enough, at least, for anyone who wants to casually use the library
- # [23:21] <gsnedders> What would be nice would be to get DOM to do no checks when strictErrorHandling = false
- # [23:22] <ezyang> What's more likely to happen is that userspace SimpleTree will blow up memory usage
- # [23:22] * Joins: bdodson (n=guy@DNab4223bb.Stanford.EDU)
- # [23:22] <ezyang> (not that DOM doesn't do that already, but you can't see that if you profile)
- # [23:22] <ezyang> gsnedders: We filed a bug on that a long time. Didn't work.
- # [23:22] <ezyang> *a long time ago
- # [23:23] <gsnedders> Didn't work in what way?
- # [23:23] <bdodson> Hi, can anyone tell me how websockets will handle/support binary data? Will you be able to download the bytes of a jpeg through it and load it in the DOM for example?
- # [23:23] * Joins: onar_ (n=onar@17.244.69.85)
- # [23:23] <Hixie> eventually, yes
- # [23:23] <Hixie> not in the first version though
- # [23:24] <ezyang> As in, they were like, WONTFIX, and proceeded to add the check for the place they missed
- # [23:24] <ezyang> Let me dig up the bug
- # [23:24] <ezyang> (we had this conversation before)
- # [23:24] <gsnedders> http://bugs.php.net/bug.php?id=44648&edit=1?
- # [23:25] <gsnedders> That's the only thing I find looking for http://bugs.php.net/bug.php?id=44648&edit=1
- # [23:25] <ezyang> Ya, that's it
- # [23:25] <gsnedders> *strictErrorHandling
- # [23:25] <gsnedders> Clipboard fail.
- # [23:25] <gsnedders> I got told that it could be done… if I wrote the patch.
- # [23:25] <gsnedders> Which is all fine and well… if it isn't for the fact I don't know C. :P
- # [23:25] <ezyang> It's not that difficult a patch
- # [23:25] <ezyang> PHP insulates you sufficiently from actually C-ness
- # [23:25] <ezyang> The hard problem is figuring out how to compile PHP
- # [23:25] <gsnedders> I couldn't work out how to get the strictErrorHandling property
- # [23:26] <ezyang> Hm.
- # [23:26] <gsnedders> If I could work that out, I could probably write a patch :P
- # [23:26] <ezyang> That's slightly non-trivial
- # [23:26] <ezyang> Anyway, I still argue, that's not tenable for the sake of portability
- # [23:26] <gsnedders> How so? Older shipped versions?
- # [23:27] <ezyang> Yep
- # [23:27] <gsnedders> Agreed, but in the longer-term it would be nice to be able to use it.
- # [23:27] <ezyang> Sure.
- # [23:27] <ezyang> I wonder if SimpleXML does checking...
- # [23:27] <gsnedders> In places.
- # [23:28] <bdodson> does anyone have basic websocket support now?
- # [23:28] <ezyang> :-(
- # [23:28] * gsnedders wishes they would fix XMLWriter so you could actually rely on it outputting XML.
- # [23:28] <Philip`> An XML serialiser that outputs XML? I think you're asking for too much
- # [23:29] <gsnedders> http://bugs.php.net/bug.php?id=41800
- # [23:29] <gsnedders> See, it's not a bug!
- # [23:29] <ezyang> gsnedders: If you want to take a stab at it again (I probably won't have time for it this weekend), the first thing you'll want to figure out is whether or not it's something stored in the PHP layer, or the libxml layer
- # [23:30] <gsnedders> ezyang: I don't care enough. I have too many bad experiences to think I have any chance of it ever being committed.
- # [23:31] * Quits: maikmerten (n=maikmert@Z922e.z.pppool.de) (Remote closed the connection)
- # [23:31] <gsnedders> http://bugs.php.net/bug.php?id=44619
- # [23:32] <ezyang> They're going to fix it The Right Way! No Really!
- # [23:32] <ezyang> More seriously,
- # [23:33] * gsnedders adds XMLWriter grips to his list of problems with PHP
- # [23:33] <gsnedders> *gripe
- # [23:33] <ezyang> I think the PHP dev community is not too receptive about patches unless you bug them a lot about it
- # [23:33] <gsnedders> *gripes
- # [23:33] <ezyang> You will almost certainly not get a patch that big into PHP5.2. Maybe PHP5.3
- # [23:33] <Philip`> gsnedders: Are you foolishly expecting the XML serialiser to deal with the issues of encoding data so it can be serialised as XML? Clearly that should be the user's responsibility
- # [23:34] <gsnedders> Philip`: I am expecting an XML serializer to always output something that meets the document production in the XML spec.
- # [23:34] <Philip`> It's a bug that they've even got any methods other than $xml->write('<test>blabla</test>')
- # [23:34] <Hixie> bdodson: webkit and mozilla are working on it, i believe
- # [23:35] <gsnedders> ezyang: I bet you 5.3 will be in commit freeze by the time I get around to anything like writing a patch…
- # [23:35] <Philip`> (It's up to you to make sure the data is encoded properly)
- # [23:35] * Joins: allanmac1 (n=allanmac@static-68-236-124-210.bos.east.verizon.net)
- # [23:35] * Parts: allanmac1 (n=allanmac@static-68-236-124-210.bos.east.verizon.net)
- # [23:36] <ezyang> So, if PHP didn't have binary strings by default, this would make sense
- # [23:36] <bdodson> Hixie: great, I guess I'll wait patiently for a bit :)
- # [23:36] <gsnedders> ezyang: s/by default/always/
- # [23:38] <Hixie> bdodson: you and me both!
- # [23:38] <ezyang> Well, if most of the strings whizzing around are UTF-16, and then I want to put a binary string into the XML writer
- # [23:38] <ezyang> I'd say it has two options: refuse to do anything with it, or base64 encode it
- # [23:38] <bdodson> Hixie, huh, here's a video claiming minefield has WebSocket support ...
- # [23:38] <bdodson> http://www.youtube.com/watch?v=CrV9jJQn_MA
- # [23:39] <ezyang> "Fixing it" so that it's well-formed UTF-whatever is totally not the correct behavior.
- # [23:39] <gsnedders> ezyang: I'd expect it to die.
- # [23:39] <ezyang> And then, you can't even do that the smart way in PHP, because it doesn't have any notion of types
- # [23:39] <ezyang> So this won't get fixed until PHP 6, when we get Unicode strings
- # [23:40] <Hixie> bdodson: that's a demo of the work they're doing, it's not in yet i don't think
- # [23:40] <ezyang> PHP is currently operating an abstraction level too low
- # [23:40] <ezyang> And this is a leak.
- # [23:42] * Joins: slightlyoff_ (n=slightly@nat/google/x-9e51c210cc57f0c0)
- # [23:46] <gsnedders> Up to 12 items on my list of problems with PHP…
- # [23:47] <ezyang> i,i Only twelve?
- # [23:47] <gsnedders> So far :)
- # [23:47] <gsnedders> These are mainly fairly high-level issues.
- # [23:49] * Quits: jruderman (n=jruderma@c-98-248-40-206.hsd1.ca.comcast.net) (Remote closed the connection)
- # [23:53] * Parts: billmason (n=billmaso@ip106.unival.com)
- # [23:54] * Quits: slightlyoff_ (n=slightly@nat/google/x-9e51c210cc57f0c0)
- # [23:55] * Quits: slightlyoff (n=slightly@nat/google/x-f5e595392c60c43c) (Read error: 110 (Connection timed out))
- # [23:59] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) (Read error: 104 (Connection reset by peer))
- # Session Close: Sat Jun 06 00:00:00 2009
The end :)