Options:
- # Session Start: Sun Jun 15 00:00:00 2008
- # Session Ident: #whatwg
- # [00:10] * Joins: othermaciej_ (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [00:10] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [00:10] * othermaciej_ is now known as othermaciej
- # [00:19] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [00:19] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [00:29] <gsnedders> Bug hunt! http://pastebin.ca/1048182
- # [00:30] * Joins: tantek (n=tantek@71.39.129.225)
- # [00:34] <gsnedders> elif for starters, in end()
- # [00:34] <Dashiva> Needs more goto
- # [00:36] * Quits: tantek (n=tantek@71.39.129.225)
- # [00:38] * Parts: hasather_ (n=hasather@cm-84.215.63.253.getinternet.no)
- # [00:38] <gsnedders> Dashiiva: Are you just trying to be witty, or not?
- # [00:38] <Dashiva> I didn't know goto was valid python, so the former
- # [00:39] <gsnedders> Dashiva: I don't know if it is myself :)
- # [00:40] * Joins: svl (n=me@port-60-234-117-55.orcon.net.nz)
- # [00:45] * gsnedders dares attempt to create an outline for HTML 5
- # [00:46] * gsnedders gets an exception
- # [00:48] <gsnedders> Hixie: I can't use the outline algorithm for the HTML 5 spec! It doesn't support @class='no-toc'!
- # [01:09] * gsnedders sends mail
- # [01:11] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [01:19] * Quits: billmason (n=billmaso@ip246.unival.com) (".")
- # [01:25] * Joins: virtuelv_ (n=virtuelv@192.80-203-77.nextgentel.com)
- # [01:26] * Quits: jruderman (n=jruderma@250-172.adsl1.netlojix.net) (Read error: 104 (Connection reset by peer))
- # [01:27] * Joins: jruderman (n=jruderma@250-172.adsl1.netlojix.net)
- # [01:33] * Quits: svl (n=me@port-60-234-117-55.orcon.net.nz) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [01:43] * Quits: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com) (Read error: 110 (Connection timed out))
- # [01:52] * Joins: tantek (n=tantek@71.39.129.225)
- # [01:55] * Quits: qwert666 (n=qwert666@acau13.neoplus.adsl.tpnet.pl) ("Leaving")
- # [02:09] * Joins: aroben (n=adamrobe@76.111.160.14)
- # [02:13] * Quits: aroben (n=adamrobe@unaffiliated/aroben) (Client Quit)
- # [02:21] * Quits: tantek (n=tantek@71.39.129.225)
- # [02:39] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [02:42] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [03:02] * Joins: aroben (n=adamrobe@76.111.160.14)
- # [03:11] * Joins: MikeSmith (n=MikeSmit@p58015-ipbffx02marunouchi.tokyo.ocn.ne.jp)
- # [03:32] <Philip`> http://www.middlebury.govoffice.com/ - <html xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:vbscript="http://mycompany.com/mynamespace"> - yay for copy-and-paste from example code
- # [03:32] * Joins: mcarter (n=mcarter@pool-72-87-174-63.lsanca.btas.verizon.net)
- # [03:35] <MikeSmith> Philip`: heh
- # [03:35] <Philip`> http://www.freeamerican.com/ - <all Clay About><Y</all><all Clay About><Y</all><all Clay About><Y</all> a zillion times - ?!
- # [03:37] <MikeSmith> Philip`: man, that page is a goldmine in many ways
- # [03:38] * Joins: othermaciej_ (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [03:38] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [03:38] <MikeSmith> mcarter: hei. what's status on the JS implementation you were doing related to the connection API? haven't heard anything about it for a while
- # [03:39] <Philip`> MikeSmith: I'm not sure I'd call what you find there "gold"
- # [03:39] <MikeSmith> "THC is a cure for Cancer!"
- # [03:39] <MikeSmith> I like that part at least
- # [03:41] <mcarter> MikeSmith, I implemented the html5 TCPConnection as specified, both api and protocol
- # [03:42] <mcarter> MikeSmith, I've been waiting to release until I get it going in opera, which I'm working on today
- # [03:43] <mcarter> actually, i don't suppose any opera developers are around? annevk? there seems to be an incompatibility between 9.27 and 9.5 for SSE with the application/x-dom-event-stream content-type
- # [03:46] * Joins: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [03:46] <MikeSmith> mcarter: virtuelv (Arve B.) might be a good person to ask about
- # [03:46] <MikeSmith> about that
- # [03:46] <MikeSmith> he is a web app developer at Opera
- # [03:47] <MikeSmith> virtuelv_:
- # [03:47] <mcarter> MikeSmith, thanks
- # [03:48] <mcarter> virtuelv_, in opera 9.5 the problem is if i do this: "var source = document.createElement("event-source"); source.setAttribute('src', url); document.body.appendChild(source);" then it connects TWICE. once when i setAttribute 'src', the other time when i put the element in the document
- # [03:49] <mcarter> virtuelv_, older versions of opera would only connect to the event source once
- # [03:50] <othermaciej_> mcarter: what ever happened to your plans to propose an HTTP-tunneled version of the protocol?
- # [03:51] <othermaciej_> I really want to add some kind of two-way persistent communication mechanism to WebKit but the current TCPConnection just seems like a bad design
- # [03:51] <mcarter> othermaciej_, I wanted a working implementation first. And that proved harder than I thought
- # [03:51] <mcarter> othermaciej_, the good news, is I have one now, and i'm just putting on the finishing touches. like opera support
- # [03:51] <othermaciej_> mcarter: so this sorta works like a reverse proxy I assume?
- # [03:52] <othermaciej_> the client does two-way messaging and some intermediary handles that and maintains a persistent connection to the real server?
- # [03:52] * othermaciej_ is now known as othermaciej
- # [03:52] <mcarter> othermaciej_, yeah. the api in the browser is the standard, and the protocol out the back of the proxy is the proposal
- # [03:53] <othermaciej> I guess that might even still be useful for load reduction, so long as the intermediary has a good policy for when to tear down the persistent connection
- # [03:53] <othermaciej> (reduces load on your real server and the reverse proxy bit is easily scalable given its nature)
- # [03:54] <mcarter> othermaciej, tear down which persistent connection? the one to the backend or the one to the browser?
- # [03:54] <othermaciej> to the back end
- # [03:55] <othermaciej> to the browser it can't have a persistent two-way connection, right?
- # [03:55] <othermaciej> though I guess it can use event-source or XHR for something one-way persistent
- # [03:55] <mcarter> othermaciej, well no, it has a server->browser persistent connection, and another connection for xhr browser->server
- # [03:56] <mcarter> othermaciej, but i figure the backend server can close the connection whenever it wants
- # [03:56] <othermaciej> mcarter: how can you ensure that a persistent browser->server connection is maintained?
- # [03:57] <mcarter> othermaciej, i don't know if you can necessarily ensure it for all browsers. But in practice, if you use keep alive and send a ping or something every so often, the browser->server connection tends to remain open
- # [03:58] <mcarter> also, after creating this api, I made some more protocol implementations on top
- # [03:58] <othermaciej> oh?
- # [03:58] <mcarter> for instance, there is an IRC client written in javascript thats pretty neat (this uses an alternative proxy->backend protocol. just raw tcp with no initial handshake)
- # [03:59] <mcarter> I've come upon a number of issues for some protocols though
- # [03:59] <mcarter> for instance, in implementing the STOMP protocol (simple messaging protocol for message queues) it uses a '\0' byte which the browsers won't all send
- # [04:00] <mcarter> I know these protocols aren't the target case for the html5 specification -- i was just experimenting
- # [04:01] <mcarter> in implementing xmpp, I found that some servers require TLS handshake and its really not feasible to implement encryption directly in the browser
- # [04:08] <othermaciej> it would be kinda slow, certainly
- # [04:08] <othermaciej> newer JS implementations are getting better at code like that but still not as fast as C, and there is always IE to deal with still
- # [04:11] * Philip` wonders if "still not as fast as C" means "still two orders of magnitude slower than C"
- # [04:11] <mcarter> yeah... the funny thing about implementing xmpp in the browser is that you get buddy icons back as byte arrays (javascript list of integers)
- # [04:11] <mcarter> you can base64 encode it and set the img src="data:base64string", at least in firefox. but again, no IE support
- # [04:12] <othermaciej> Philip`: probably around 20 times slower, in the fastest JS implementations (at least without static typing extensions)
- # [04:12] <mcarter> it would be really nice to have more of the native image decoder and ssl stuff exposed directly to javascript
- # [04:14] <weinig> real bytearrays would be a nice start
- # [04:18] <Hixie> mcarter: if you could send whatever feedback you have soon, that'd be great -- i really have to start working on that part of the spec (either fix it, or remove it)
- # [04:30] <mcarter> Hixie, ok, sorry for the delay. I was trying to hard to perfect my implementation. I'll send the feedback soon.
- # [04:30] <Hixie> np
- # [04:36] * Quits: tndH (i=Rob@87.102.5.204) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [04:48] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [04:50] <Hixie> well that didn't take long
- # [04:50] <Hixie> rb just sent his complaint that i was dismissing him
- # [04:55] <Hixie> gsnedders: yt?
- # [05:19] * Quits: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [05:37] * Joins: aroben (n=adamrobe@76.111.160.14)
- # [06:21] * Joins: mcarter_ (n=mcarter@pool-72-87-174-186.lsanca.btas.verizon.net)
- # [06:25] * Joins: MacDome (n=eric@c-67-180-49-110.hsd1.ca.comcast.net)
- # [06:28] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [06:29] * Quits: mcarter (n=mcarter@pool-72-87-174-63.lsanca.btas.verizon.net) (Nick collision from services.)
- # [06:29] * mcarter_ is now known as mcarter
- # [06:39] * Quits: aroben (n=adamrobe@unaffiliated/aroben)
- # [06:56] * Joins: dbaron (n=dbaron@c-71-204-153-3.hsd1.ca.comcast.net)
- # [07:02] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [07:10] * Joins: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [07:12] * Quits: csarven (n=csarven@modemcable130.251-202-24.mc.videotron.ca) ("http://www.csarven.ca/")
- # [08:01] * Joins: arve__ (n=virtuelv@192.80-203-77.nextgentel.com)
- # [08:07] * Joins: hdh (n=hdh@118.71.124.26)
- # [08:13] * Quits: gavin (n=gavin@firefox/developer/gavin)
- # [08:17] * Quits: virtuelv_ (n=virtuelv@192.80-203-77.nextgentel.com) (Read error: 110 (Connection timed out))
- # [08:22] * Joins: gavin (n=gavin@firefox/developer/gavin)
- # [08:30] * weinig is now known as weinig|away
- # [09:18] * Quits: MikeSmith (n=MikeSmit@p58015-ipbffx02marunouchi.tokyo.ocn.ne.jp) ("Less talk, more pimp walk.")
- # [09:19] * Joins: qwert666 (n=qwert666@acau13.neoplus.adsl.tpnet.pl)
- # [09:25] * Quits: dbaron (n=dbaron@c-71-204-153-3.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [09:52] <Dashiva> I know there exists userjs for using xpath in fragment identifiers. But I don't know of anyone using them.
- # [10:02] * Joins: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [10:04] * arve__ is now known as virtuelv
- # [10:18] <Lachy> http://lists.w3.org/Archives/Public/www-archive/2008Jun/0074.html
- # [10:19] <Lachy> looks like he's asking for a new editor, simply based on the fact that Hixie disagrees with him.
- # [10:21] * Joins: qwert666_ (n=qwert666@acaf35.neoplus.adsl.tpnet.pl)
- # [10:26] * hdh is using FXPointer
- # [10:31] <gsnedders> Hixie: Let me ask the same question of you: yt?
- # [10:32] * Joins: svl (n=me@60.234.28.179)
- # [10:32] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:34] * Quits: jruderman (n=jruderma@250-172.adsl1.netlojix.net)
- # [10:39] * Quits: qwert666 (n=qwert666@acau13.neoplus.adsl.tpnet.pl) (Connection timed out)
- # [10:45] <Dashiva> Lachy: I wonder what it means that RB chose to CC html4all, but not public-html
- # [10:50] <Lachy> Dashiva, because it's discussing a process related issue, which shouldn't be discussed on public-html
- # [10:55] <gavin_> "Focussing on things like demand and whether implementors will
- # [10:55] <gavin_> implement is entirely unhelpful."
- # [10:55] <gavin_> !?
- # [10:55] <othermaciej> because rob burns knows those things as well as Hixie does
- # [10:55] <othermaciej> so it's insulting to bring them up
- # [11:08] * Joins: tantek (n=tantek@c-24-19-2-124.hsd1.mn.comcast.net)
- # [11:15] * Joins: anne-olpc2 (n=opera@ip-116-14-149-91.dialup.ice.no)
- # [11:21] <Hixie> hey if rob burns convinces the htmlwg to remove me as editor i'd probably be the happiest person on the working group
- # [11:21] <Hixie> i'd no longer have to deal with rob burns, for one
- # [11:21] <Hixie> if it ever comes to w3c html5 vs whatwg html5, i have absolutely zero doubt about who would be able to move faster
- # [11:22] <Hixie> the motivation alone would probably double my prouctivity
- # [11:22] <othermaciej> the w3c bugzilla isn't the first one he's abused
- # [11:22] <Hixie> gsnedders: here now, but i e-mailed you anyway
- # [11:23] <Hixie> the funniest aspect of this rob burns thing is that of all the people on the wg, i think i'm the one who has spent the most time trying to consider his proposals and comments
- # [11:23] <Hixie> e.g. as far as i can tell most of his process complaints just fall on deaf ears
- # [11:23] <gsnedders> Hixie: Could you reply to my email to public-html from several days ago first?
- # [11:23] <gsnedders> Hixie: That will ensure I'm not being stupid
- # [11:24] <Hixie> um... sure
- # [11:24] <Hixie> let's see if i can work out where i put that!
- # [11:24] <gsnedders> http://lists.w3.org/Archives/Public/public-html/2008Jun/0172.html
- # [11:24] <Hixie> probably the sections folder
- # [11:24] <gsnedders> I finally found someone who has as many unread emails as Hixie, BTW
- # [11:24] <gsnedders> My dad.
- # [11:26] <gsnedders> Hixie: You've actually done some of the things, now
- # [11:26] <Hixie> does he plan to reply to that mail?
- # [11:26] <othermaciej> Hixie: I wish Rob's energy could be turned in useful directions that would help the group
- # [11:27] <gsnedders> Hixie: Oh, he hasn't looked at it yet, so he doesn't know that yet.
- # [11:27] <othermaciej> but that kind of turnaround can be hard to achieve
- # [11:27] <gsnedders> Hixie: I just got rather urgent emails forwarded from him that he got a month ago
- # [11:28] <Hixie> othermaciej: you can't convert heat energy into mechanical energy
- # [11:28] <Hixie> othermaciej: in any sort of efficient manner
- # [11:28] <othermaciej> Hixie: what if I redirect his complaints to public-carnot-cycle@w3.org?
- # [11:28] <Hixie> gsnedders: oh i read all my e-mail straight away
- # [11:28] <Hixie> gsnedders: i just don't deal with it straight away
- # [11:29] <gsnedders> Hixie: I know that — I do the same :)
- # [11:29] * Quits: ROBOd (n=robod@89.122.216.38) (Read error: 104 (Connection reset by peer))
- # [11:29] <othermaciej> it may not be the most efficient way but team-maxwells-demon is not publicly accessible
- # [11:29] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:31] <roc> Has any open source project discovered a way to efficiently eliminate time-wasters? I'd like to know about it
- # [11:33] <gsnedders> roc: A dictatorship?
- # [11:35] <roc> how does that help?
- # [11:36] <Lachy> roc, doing anything with time-wasters is inherently inefficent.
- # [11:36] <Lachy> most of all, trying to elimiate them.
- # [11:39] * Joins: tndH_ (i=Rob@87.102.5.204)
- # [11:39] * tndH_ is now known as tndH
- # [11:41] <gsnedders> roc: You just completely ignore them, then they give up
- # [11:41] <Hixie> gsnedders: replied
- # [11:42] <Hixie> roc: see the talk by fitz and co about poisonous people
- # [11:42] <anne-olpc2> bugzilla entries are fun
- # [11:42] * anne-olpc2 is now known as anne-olpc
- # [11:44] <Hixie> (by sussman and fitz)
- # [11:44] <Hixie> http://video.google.com/videoplay?docid=-4216011961522818645
- # [11:44] <Hixie> right bed time now
- # [11:44] <Hixie> nn
- # [11:46] <roc> actually the hardest time-wasters I've found are people who are really nice and eager to help, and completely clueless
- # [11:49] * Quits: mcarter (n=mcarter@pool-72-87-174-186.lsanca.btas.verizon.net) (Read error: 110 (Connection timed out))
- # [11:49] <othermaciej> WebKit has been relatively free of time-wasters
- # [11:49] <othermaciej> I think because it has no UI
- # [11:50] <othermaciej> and most of what it does is readily judged by objective criteria like standards and performance metrics
- # [11:56] <Dashiva> roc: Those can be channeled into doing manual labor, though
- # [12:14] * Quits: anne-olpc (n=opera@ip-116-14-149-91.dialup.ice.no) (Read error: 104 (Connection reset by peer))
- # [12:29] * Quits: svl (n=me@60.234.28.179) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [12:29] * Joins: hasather_ (n=hasather@cm-84.215.63.253.getinternet.no)
- # [12:30] * Quits: virtuelv (n=virtuelv@192.80-203-77.nextgentel.com) ("Ex-Chat")
- # [12:38] * Joins: deane (n=dean@121.98.128.155)
- # [12:48] * Quits: hasather_ (n=hasather@cm-84.215.63.253.getinternet.no) (Read error: 110 (Connection timed out))
- # [12:49] * Quits: qwert666_ (n=qwert666@acaf35.neoplus.adsl.tpnet.pl) ("Leaving")
- # [12:50] * Joins: htmlfivedotnet (n=dcostali@c-67-162-99-121.hsd1.il.comcast.net)
- # [12:50] * Parts: htmlfivedotnet (n=dcostali@c-67-162-99-121.hsd1.il.comcast.net)
- # [12:59] * Joins: anne-olpc (n=opera@ip-116-14-149-91.dialup.ice.no)
- # [12:59] * Quits: anne-olpc (n=opera@ip-116-14-149-91.dialup.ice.no) (Read error: 104 (Connection reset by peer))
- # [13:02] * Joins: qwert666 (n=qwert666@acaf35.neoplus.adsl.tpnet.pl)
- # [13:17] * Joins: Dashimon (i=Dashiva@wikia/Dashiva)
- # [13:30] * Quits: Dashiva (i=Dashiva@wikia/Dashiva) (Read error: 110 (Connection timed out))
- # [13:30] * Dashimon is now known as Dashiva
- # [14:05] * Quits: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [14:06] * Joins: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [14:14] * Quits: roc (n=roc@121-72-162-128.dsl.telstraclear.net)
- # [14:30] * Joins: hdh0 (n=hdh@58.187.60.132)
- # [14:35] * Joins: maqr (n=maqr@67-207-135-41.slicehost.net)
- # [14:45] * Quits: hdh (n=hdh@118.71.124.26) (Read error: 110 (Connection timed out))
- # [14:54] * Quits: gavin (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [15:01] * Quits: hdh0 (n=hdh@58.187.60.132) (Read error: 113 (No route to host))
- # [15:17] * Joins: mcarter (n=mcarter@pool-72-87-174-16.lsanca.btas.verizon.net)
- # [15:28] * Joins: hdh (n=hdh@58.187.60.155)
- # [16:00] <gsnedders> Something is badly broken with my impl.. Ergh.
- # [16:01] <gsnedders> assert self.current_section != self.current_section.subsections[-1]
- # [16:12] <gsnedders> See, the oddness is that as far as I can see, you shouldn't ever be able to reach the assertion
- # [16:13] <gsnedders> (Well, you should reach it, it should just never ever throw an assertion error)
- # [16:15] <gsnedders> http://pastebin.com/m6cd75910 — anyone see anyway anything can become a subsection of itself?
- # [16:15] <Philip`> Add lots of 'print' statements wherever any of those variables are modified, to see where the error gets introduced?
- # [16:15] <gsnedders> Philip`: I've added loads of assert statements, which should cause an error before it reaches there
- # [16:17] <Philip`> Shouldn't the assert on line 105 say "not in" rather than "!=", if you're trying to detect the cases where a section might become its own subsection?
- # [16:17] <gsnedders> Philip`: Both are single section objects, so no
- # [16:18] <Philip`> Oh, indeed, I'm just being confused
- # [16:18] <gsnedders> it's line 149 when an assertion is thrown: nowhere else
- # [16:19] <gsnedders> (and of course around line 149, if it is a subsection, you're in an infinite loop)
- # [16:19] <Philip`> If you want people to debug your code, you should give them a runnable example that demonstrates the problem :-)
- # [16:20] <gsnedders> Philip`: I'm just playing around with the interactive interpreter :P
- # [16:21] <Philip`> gsnedders: That seems to be irrelevant to my point :-p
- # [16:23] <gsnedders> Philip`: http://pastebin.com/m55b99a32 — will that do? :P
- # [16:25] <gsnedders> Philip`: Just remove line 26 if you want it to actually run
- # [16:29] <Philip`> <h2></h2><h3></h3><table><tr><td></table>
- # [16:29] <Philip`> That seems to trigger the error
- # [16:32] <gsnedders> td is a sectioning root
- # [16:34] <Philip`> Ah - <h1></h1><h2></h2><figure> seems like a possibly minimal case, then
- # [16:35] <gsnedders> The first <h1> becomes the heading of the body
- # [16:35] <gsnedders> <h2> hits the otherwise substeps in "When entering a heading content element"
- # [16:41] <hdh> http://mg.pov.lt/blog/object-graphs-with-graphviz prints a object reference graph, may be it can help
- # [16:53] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [16:53] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) (Remote closed the connection)
- # [17:31] * Joins: othermaciej_ (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net)
- # [17:31] * Quits: othermaciej (n=mjs@c-24-5-43-151.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [17:40] * Joins: csarven (n=csarven@modemcable130.251-202-24.mc.videotron.ca)
- # [17:58] * Joins: hasather (n=hasather@cm-84.215.63.253.getinternet.no)
- # [18:00] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [18:11] * Joins: aroben (n=adamrobe@76.111.160.14)
- # [18:17] * Quits: tantek (n=tantek@c-24-19-2-124.hsd1.mn.comcast.net)
- # [18:18] <Lachy> Philip`, do you have a full list of pages that use /> on unknown elements published somewhere?
- # [18:19] <Philip`> Lachy: No
- # [18:19] <Lachy> ok
- # [18:19] <Lachy> do you know if there are pages that use /> on some of the newly introduced HTML5 elements? e.g. <section/>, etc.?
- # [18:20] <Philip`> I just grepped for <(?!a|b|...|br|dd|...)\w[^>]*/>
- # [18:20] <Philip`> using the list of element names from hsivonen's parser
- # [18:21] <Philip`> Mostly it finds RDF (Creative Commons, Trackback, etc) in comments, and VML
- # [18:21] <Philip`> (where the VML is also in (conditional) comments)
- # [18:22] <Philip`> If you have a list of the newly introduced HTML5 elements, I could look for that
- # [18:23] <Philip`> (I think it's unlikely to find anything, since none of the HTML5 element names are used significantly)
- # [18:24] <Philip`> (unless you count <embed> etc)
- # [18:25] <zcorpan_> http://www.w3.org/TR/html5-diff/#new-elements
- # [18:25] <Philip`> (<header> seems to be the most common, on 40 out of 130K pages)
- # [18:27] <Lachy> article|aside|audio|canvas|command|datagrid|datatemplate|details|event-source|figure|footer|header|mark|meter|nest|progress|rule|section|source|time|video
- # [18:29] <Philip`> http://www.outbackatisa.com.au/AttractionsatOutbackatIsa/RiversleighFossilsCentre.aspx
- # [18:30] <Philip`> <time hour="8" minute="30" /><span style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US">8.30am - 5.00pm</span></time />
- # [18:32] <Lachy> is that it? One page is hardly significant evidence.
- # [18:33] <Philip`> Wait a few minutes :-)
- # [18:33] <Lachy> ok
- # [18:33] <takkaria> I'm pretty sure I've seen Hixie show pages which have it in quantity that would screw up if parsed as empty elements
- # [18:33] <takkaria> (except s/bad grammar/good english/)
- # [18:33] * Quits: csarven (n=csarven@modemcable130.251-202-24.mc.videotron.ca) ("http://www.csarven.ca/")
- # [18:34] <Philip`> takkaria: On unknown elements?
- # [18:34] <takkaria> mm, perhaps not
- # [18:34] <Philip`> There's loads of known elements where it'd break, but IE already parses unknown elements as effectively empty so nobody should be intentionally relying on that behaviour
- # [18:35] <Lachy> it's ok. I have other argument's against Rob's proposal that doesn't depend on this particular evidence.
- # [18:36] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [18:36] <Philip`> Lachy: (Finished searching) That's the only one (excluding any pages that split the tag over multiple lines)
- # [18:38] <Philip`> (There's a million times more pages that I didn't search than I did, so it's not possible to conclude anything much from a lack of evidence)
- # [18:38] <gsnedders> Philip`: Well, go search some more!
- # [18:38] <takkaria> it would be very confusing for future authors to have to use the solidus sometimes but not always
- # [18:38] <Lachy> takkaria, yeah, that's my other argument that I've written
- # [18:39] <takkaria> but I can see the worth in the proposal. I'm not quite sure what kind of empty elements one would want to include in the future, though...
- # [18:39] <Lachy> hey, why doesn't this section list any of the new void elements, like source and event-source? http://www.whatwg.org/specs/web-apps/current-work/#elements0
- # [18:40] <gsnedders> Lachy: Because Hixie sucks>?
- # [18:40] <gsnedders> s/>//
- # [18:40] <Philip`> gsnedders: I've already got too many to fit in RAM, so searches take ages, so I don't want more :-(
- # [18:40] <Philip`> (*I don't want more pages; I do want more RAM)
- # [18:41] <gsnedders> Philip`: Can't we give you more of both?
- # [18:41] <Lachy> how much RAM do you have?
- # [18:41] <Philip`> Lachy: 4GB
- # [18:41] <Lachy> ok, not too bad.
- # [18:42] <Lachy> It'd be nice when we can have 16TB of RAM. Then we would have these problems.
- # [18:42] <gsnedders> Lachy: 16TB of RAM should be enough for anyone!
- # [18:42] <gsnedders> s/16TB/640KB/
- # [18:42] <krijnh> hober: ping
- # [18:43] <Lachy> 16TB of RAM is more than I have available on hard drives.
- # [18:43] <Philip`> Also I'd run out of allocated disk space, and I can't remember the LVM commands to merge physical partitions and rebuild the RAID and filesystem and everything so I'd probably destroy my computer
- # [18:45] <Philip`> (and the sysadmin complained when I last modified the disk stuff, since I'd grown the root filesystem to 32GB when I only really needed 8GB)
- # [18:48] * gsnedders needs his 15GB of music
- # [18:49] <Philip`> That reminds me, I should compress all the cached pages to save on IO and RAM
- # [18:50] <Philip`> gsnedders: I keep all that on my personal laptop, not on my work machine :-)
- # [18:50] <gsnedders> Philip`: They are one and the same for me :)
- # [18:51] <Philip`> gsnedders: Clearly you have too few computers
- # [18:51] <gsnedders> Philip`: Clearly.
- # [18:51] <Lachy> yeah, you can never have too many computers.
- # [18:52] <Lachy> I have 4 and I'm ordering a 5th tomorrow.
- # [18:52] * gsnedders has far too many in this house
- # [18:52] <gsnedders> Only that a lot of them are from the mid/late 90s
- # [18:53] <Lachy> although, I'm replacing my old and mostly dead Mac Mini and really big, bulky and noisy PC with a new iMac
- # [18:53] <takkaria> mm, BBC BASIC
- # [18:57] * Philip` 's parents had about a dozen from the 90s, but threw them all out recently :-(
- # [19:00] * Lachy files a new bug, in the hope that it will increase the number of useful bugs from 0 to 1
- # [19:00] <Lachy> s/useful bugs/useful bug reports/
- # [19:01] <Philip`> Who's dave.null@w3.org?
- # [19:02] <Lachy> Philip`, just the default assignee of all bugs.
- # [19:03] * Philip` wonders if it's related to a real person called Dave, or just a joke on /dev/null
- # [19:03] <Lachy> it's either an archived list, or just an email address that files everything in /dev/null
- # [19:04] <Lachy> and it's not listed in either the Public or Member lists. It could be in Team, but unlikely
- # [19:08] <Philip`> Hmm, Gentoo has opera-9.50 (and marked stable) now
- # [19:08] * Philip` wonders if he should risk upgrading
- # [19:18] <gsnedders> Philip`: Even more minimalistic test case: "<table><tr><td>foo"
- # [19:20] <Philip`> Ah, that's confusingly non-monotonic - I had tried removing just one of the headings, which made the error go away, and didn't try removing both
- # [19:20] <gsnedders> Philip`: I still got the error with one header
- # [19:21] <Philip`> Oh
- # [19:27] * Joins: aroben_ (n=adamrobe@76.111.160.14)
- # [19:28] * Quits: aroben (n=adamrobe@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [19:30] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [19:33] * weinig|away is now known as weinig
- # [19:33] <zcorpan_> i wonder why i'm not getting any email
- # [19:36] * Joins: hdh0 (n=hdh@118.71.126.11)
- # [19:37] * gsnedders is tempted to go and play through GTA4 again, making all the choices he didn't make before
- # [19:37] * weinig is now known as weinig|food
- # [19:38] <Philip`> You didn't make the choice to not play the game, so that means you would have to make that choice now
- # [19:39] <gsnedders> s/choices/choices within the game/
- # [19:40] <Philip`> You didn't make the choice to be a perfectly law-abiding citizen within the game
- # [19:42] <gsnedders> s/choices within the game/choices that occur while completing the game storyline/
- # [19:43] <Philip`> You didn't make the choice to walk backwards all the time
- # [19:44] <gsnedders> oh fuck off.
- # [19:44] * Joins: csarven (n=csarven@modemcable130.251-202-24.mc.videotron.ca)
- # [19:44] <Philip`> You're just being insufficiently precise
- # [19:50] * Joins: ROBOd2 (n=robod@89.122.216.38)
- # [19:52] * Quits: hdh (n=hdh@58.187.60.155) (Read error: 110 (Connection timed out))
- # [19:56] <takkaria> http://wiki.whatwg.org/wiki/Parser_tests says that the tests have a correctness flag
- # [19:56] <takkaria> er, that doctypes have a correctness flag
- # [19:57] <takkaria> whilst now they have a force-quirks flag
- # [19:57] <takkaria> I assume that force-quirks is = !correctness
- # [19:57] * Joins: tantek (n=tantek@71.39.129.225)
- # [19:57] <Philip`> takkaria: It is
- # [19:57] <takkaria> ta
- # [20:02] * Quits: ROBOd (n=robod@89.122.216.38) (Read error: 110 (Connection timed out))
- # [20:07] * Joins: jruderman (n=jruderma@250-172.adsl1.netlojix.net)
- # [20:07] * Joins: gavin (n=gavin@firefox/developer/gavin)
- # [20:30] * Quits: jruderman (n=jruderma@250-172.adsl1.netlojix.net)
- # [20:36] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [20:43] * Parts: hasather (n=hasather@cm-84.215.63.253.getinternet.no)
- # [20:44] * Joins: hasather (n=hasather@cm-84.215.63.253.getinternet.no)
- # [20:53] * Quits: aroben_ (n=adamrobe@unaffiliated/aroben) (Read error: 113 (No route to host))
- # [20:59] <gsnedders> Going back to <http://pastebin.com/m6cd75910>, it seems section.subsections gets set somewhere
- # [20:59] <gsnedders> I can't see where, though
- # [21:01] * Joins: jgraham (n=james@81-86-222-238.dsl.pipex.com)
- # [21:07] * weinig|food is now known as weinig
- # [21:09] <gsnedders> I just had the error vanish for one run
- # [21:09] <gsnedders> Huh.
- # [21:17] * Quits: tantek (n=tantek@71.39.129.225)
- # [21:18] <Philip`> gsnedders: Shouldn't line 128 be "pass" instead of "return", else it won't run the "In addition, whenever you exit a node, ..." bit?
- # [21:19] <gsnedders> Philip`: Peh. That's irrelevant! It doesn't even associate anything apart from elements with sections anyway. It's broken there.
- # [21:19] <gsnedders> Philip`: And I've removed that from my local copy entirely now
- # [21:21] <Philip`> Ooh
- # [21:21] <Philip`> Your definition of 'class section' is broken
- # [21:22] <Philip`> because the 'subsections = []' etc is assigning a single list object when the class is first defined, whereas you want a new list object for each instance of that class
- # [21:23] <Philip`> so the .subsections of all section objects is exactly the same list
- # [21:23] <Philip`> (so when one section is added to another's subsections, it's being added to its own subsections too)
- # [21:24] <gsnedders> ahah!
- # [21:27] <gsnedders> Something is certainly broken with the algorithm
- # [21:27] <gsnedders> <h1/><h2/><h2/> Never picks up the second h2
- # [21:28] * Parts: hasather (n=hasather@cm-84.215.63.253.getinternet.no)
- # [21:28] <Philip`> ((And obviously the same problem applies to the 'toc' class, if you're using it more than once))
- # [21:29] <gsnedders> hmm…
- # [21:29] <gsnedders> it seems to be quicker to have stack as a normal list and not a deque, as len() is quicker on a normal list
- # [21:30] <Philip`> You can avoid lots of uses of len by doing "if foo" instead of "if len(foo) > 0", which should be faster
- # [21:31] <Philip`> Also doing stacks as lists is sensible anyway, since lists are optimised for adding/removing from the end, which is exactly what you do to a stack
- # [21:31] <gsnedders> Yeah, that is quicker
- # [21:31] <gsnedders> Philip`: deque should be quicker for any frequently changing list, AFAIK
- # [21:32] * Joins: hasather (n=hasather@cm-84.215.63.253.getinternet.no)
- # [21:33] <Philip`> gsnedders: That depends entirely on how you're changing it :-)
- # [21:33] <gsnedders> Philip`: I meant changing it from the right end
- # [21:33] <gsnedders> (because if you're not, deque is obviously going to quicker, due to it being an O(1) op. there, and an O(n) one in a list)
- # [21:35] <Philip`> By "right end", do you mean "correct end" or "end with highest index value"?
- # [21:36] <gsnedders> Philip`: "correct"?
- # [21:39] <Philip`> lists are O(1) push-right and pop-right and get and set, and O(n) push-left and pop-left; deques are O(1) push and pop on left and right (with a larger constant factor than lists), and O(n) on get and set
- # [21:41] <Philip`> gsnedders: By "correct end" (for lists) I mean the end with the highest index value, since that's fast and the other end is slow
- # [21:41] <gsnedders> Philip`: Then why the "or", as they're both the same
- # [21:41] <jgraham> gsnedders; I get sensible results from <h1>foo</h1><h2>bar</h2><h2>baz</h2>
- # [21:42] <gsnedders> jgraham: On my impl or yours?
- # [21:42] <jgraham> On my imp.
- # [21:42] <jgraham> I think
- # [21:43] <jgraham> Although I no longer understand how my implementation works
- # [21:43] * Parts: hdh0 (n=hdh@118.71.126.11) ("Konversation terminated!")
- # [21:43] <jgraham> I'll see if the online copy is up to date
- # [21:46] <Philip`> gsnedders: Because I was unsure which you meant, and whether you meant only lists (where one end is correct) or also deques (where neither is)
- # [21:48] <jgraham> gsnedders: Try the case that you're having problem with at http://james.html5.org/outliner.html
- # [21:49] <gsnedders> jgraham: That doesn't work for me
- # [21:50] <jgraham> What doesn't work?
- # [21:50] <gsnedders> jgraham: the outliner in saf
- # [21:50] <gsnedders> jgraham: And in Fx2 all I get is "updating…"
- # [21:51] <jgraham> Oh, well try FF3 then :)
- # [21:51] * jgraham goes to debug Safari
- # [21:51] <jgraham> Or rather debug my ode in Safari
- # [21:52] <Philip`> An ode to Safari?
- # [21:53] <jgraham> Hmm I've heard that code is poetry but I'm not sure that Shakespeare is concerned with my efforts
- # [21:54] <Philip`> http://www.unix.com.ua/orelly/perl/prog3/ch27_02.htm
- # [21:55] <gsnedders> Yeah, it works fine there
- # [22:12] <gsnedders> jgraham: is the script (web_outline) that actually makes the structure visible available?
- # [22:14] * Joins: mcarter_ (n=mcarter@pool-72-87-174-244.lsanca.btas.verizon.net)
- # [22:19] <gsnedders> Hixie: Is line 136 of http://pastebin.com/m6cd75910 correct?
- # [22:19] <gsnedders> Hixie: Or am I still misunderstanding you?
- # [22:28] * Quits: mcarter (n=mcarter@pool-72-87-174-16.lsanca.btas.verizon.net) (Read error: 110 (Connection timed out))
- # [22:36] <jgraham> gsnedders: The actual useful script is outline.py
- # [22:36] <jgraham> Which I can make avaliable
- # [22:36] <gsnedders> jgraham: Yeah, I know, but I want to see web_outline :P
- # [22:42] <jgraham> gsnedders: Not very useful? http://pastebin.com/d7520d64b
- # [22:45] <gsnedders> jgraham: http://james.html5.org/temp/outline/outline.py doesn't actually build the visible output
- # [22:46] <gsnedders> oh, wait, the tostring does
- # [22:50] <jgraham> Yeah, the tostring actually builds the visible content. Not really very elegant
- # [22:50] <jgraham> What did you decide was the best way to get text out of lxml elements?
- # [22:51] <gsnedders> jgraham: etree.tostring(element, encoding=unicode, method='text', with_tail=False)
- # [22:55] <jgraham> gsnedders: Thanks
- # [22:55] <gsnedders> jgraham: Thank Philip` too
- # [22:56] <jgraham> Philip`: Thanks :)
- # [23:00] <gsnedders> http://pastebin.com/m137dfc92 — I can't get that to create any sane TOC
- # [23:00] <gsnedders> Looking at the outline of the body, I find 440 sections
- # [23:01] <gsnedders> And there aren't that many h2 elements in HTML 5
- # [23:01] <gsnedders> (there are 19 in my copy)
- # [23:04] * Quits: sverrej (n=sverrej@89.10.27.86) (card.freenode.net irc.freenode.net)
- # [23:04] * Quits: inimino2 (n=inimino@atekomi.inimino.org) (card.freenode.net irc.freenode.net)
- # [23:04] * Quits: inimino1 (n=inimino@atekomi.inimino.org) (card.freenode.net irc.freenode.net)
- # [23:04] * Quits: hober (n=ted@unaffiliated/hober) (card.freenode.net irc.freenode.net)
- # [23:04] * Quits: Hixie (i=ianh@trivini.no) (card.freenode.net irc.freenode.net)
- # [23:04] * Quits: toolskyn_ (n=toolskyn@apher.xlshosting.com) (card.freenode.net irc.freenode.net)
- # [23:04] * Quits: inimino (n=inimino@atekomi.inimino.org) (card.freenode.net irc.freenode.net)
- # [23:05] * Joins: hober (n=ted@unaffiliated/hober)
- # [23:06] * Joins: toolskyn (n=toolskyn@apher.xlshosting.com)
- # [23:13] * Joins: inimino1 (n=inimino@atekomi.inimino.org)
- # [23:13] * Joins: inimino (n=inimino@atekomi.inimino.org)
- # [23:13] * Joins: inimino2 (n=inimino@67.207.138.202)
- # [23:13] * Joins: sverrej (n=sverrej@89.10.27.86)
- # [23:13] * Quits: csarven (n=csarven@modemcable130.251-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [23:15] * Joins: Hixie (i=ianh@trivini.no)
- # [23:15] * Quits: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net) (card.freenode.net irc.freenode.net)
- # [23:15] * Quits: gsnedders (n=gsnedder@host217-44-35-200.range217-44.btcentralplus.com) (card.freenode.net irc.freenode.net)
- # [23:15] * Quits: jmb (n=jmb@login.ecs.soton.ac.uk) (card.freenode.net irc.freenode.net)
- # [23:15] * Quits: Yudai (n=Yudai@p9258c3.kngwnt01.ap.so-net.ne.jp) (card.freenode.net irc.freenode.net)
- # [23:18] * Quits: ROBOd2 (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [23:19] * Joins: roc (n=roc@202.0.36.64)
- # [23:19] * Joins: JohnResig (n=jresig@c-76-118-158-44.hsd1.ma.comcast.net)
- # [23:19] * Joins: gsnedders (n=gsnedder@host217-44-35-200.range217-44.btcentralplus.com)
- # [23:19] * Joins: jmb (n=jmb@login.ecs.soton.ac.uk)
- # [23:19] * Joins: Yudai (n=Yudai@p9258c3.kngwnt01.ap.so-net.ne.jp)
- # [23:26] * Quits: blooberry (n=brian@c-76-126-194-196.hsd1.ca.comcast.net) (card.freenode.net irc.freenode.net)
- # [23:26] * Quits: heycam (n=cam@203-217-69-250.dyn.iinet.net.au) (card.freenode.net irc.freenode.net)
- # [23:26] * Quits: ianloic (i=yakk@glub.dreamhostps.com) (card.freenode.net irc.freenode.net)
- # [23:27] * Joins: blooberry (n=brian@c-76-126-194-196.hsd1.ca.comcast.net)
- # [23:27] * Joins: heycam (n=cam@203-217-69-250.dyn.iinet.net.au)
- # [23:27] * Joins: ianloic (i=yakk@glub.dreamhostps.com)
- # [23:27] * Quits: Hixie (i=ianh@trivini.no) (card.freenode.net irc.freenode.net)
- # [23:27] * Quits: sverrej (n=sverrej@89.10.27.86) (card.freenode.net irc.freenode.net)
- # [23:27] * Quits: inimino2 (n=inimino@67.207.138.202) (card.freenode.net irc.freenode.net)
- # [23:27] * Quits: inimino (n=inimino@atekomi.inimino.org) (card.freenode.net irc.freenode.net)
- # [23:27] * Quits: inimino1 (n=inimino@atekomi.inimino.org) (card.freenode.net irc.freenode.net)
- # [23:31] * Joins: inimino2 (n=inimino@atekomi.inimino.org)
- # [23:32] * inimino2 is now known as inimino
- # [23:33] * Joins: Hixie (i=ianh@trivini.no)
- # [23:33] * Joins: inimino1 (n=inimino@atekomi.inimino.org)
- # [23:33] * Joins: inimino2 (n=inimino@67.207.138.202)
- # [23:33] * Joins: sverrej (n=sverrej@89.10.27.86)
- # [23:33] * Quits: inimino2 (n=inimino@67.207.138.202) (Success)
- # [23:33] * Quits: Hixie (i=ianh@trivini.no) (Success)
- # [23:33] * Joins: inimino2 (n=inimino@atekomi.inimino.org)
- # [23:33] * Quits: inimino1 (n=inimino@atekomi.inimino.org) (Connection reset by peer)
- # [23:33] * Joins: inimino1 (n=inimino@atekomi.inimino.org)
- # [23:34] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (card.freenode.net irc.freenode.net)
- # [23:34] * Quits: maqr (n=maqr@67-207-135-41.slicehost.net) (card.freenode.net irc.freenode.net)
- # [23:34] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [23:35] * Quits: blooberry (n=brian@c-76-126-194-196.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [23:37] * Joins: Hixie (i=ianh@trivini.no)
- # [23:45] * weinig is now known as weinig_
- # [23:45] * weinig_ is now known as weinig
- # [23:45] * Quits: inimino2 (n=inimino@atekomi.inimino.org) (card.freenode.net irc.freenode.net)
- # [23:45] * Quits: ianloic (i=yakk@glub.dreamhostps.com) (card.freenode.net irc.freenode.net)
- # [23:45] * Quits: heycam (n=cam@203-217-69-250.dyn.iinet.net.au) (card.freenode.net irc.freenode.net)
- # [23:48] * Joins: inimino2 (n=inimino@atekomi.inimino.org)
- # [23:50] <Philip`> Hmm, enumerating all combinations of {0, Infinity, -Infinity, NaN} for each argument of an 8-argument function is not a good idea
- # [23:50] * Parts: hasather (n=hasather@cm-84.215.63.253.getinternet.no)
- # [23:52] * Joins: heycam (n=cam@203-217-69-250.dyn.iinet.net.au)
- # [23:52] * Joins: ianloic (i=yakk@glub.dreamhostps.com)
- # [23:54] * Quits: sverrej (n=sverrej@89.10.27.86) (card.freenode.net irc.freenode.net)
- # Session Close: Mon Jun 16 00:00:00 2008
The end :)