11:32
Philip`_
's attempt at scheduling events in an HTML table gets somewhat more complex now he has an event at 1315-1415 instead of being nicely hour-aligned
11:33
<Philip`_>
(Are there nice ways to do this, without horrible code?)
11:40
<Dashiva>
Philip`_: Canvas? :)
12:08
<Philip`_>
Dashiva: That'd just be silly :-p
12:08
<Philip`_>
Currently I'm just using my nice hour-aligned table with a <div style="position:absolute; left:2em">...</div> in one cell to offset the contents by 15 minutes
12:13
<Philip`_>
s/absolute/relative/
15:35
<gsnedders>
Got into argument with teacher about how programming is taught, and how BASIC sucks.
18:23
<mitsuhiko>
hi
18:23
<mitsuhiko>
ValueError: Invalid tag name u'<DOCUMENT_ROOT>'
18:23
<mitsuhiko>
when trying to use html5lib with lxml's etree
18:23
<mitsuhiko>
(in fragment mode)
18:27
<mitsuhiko>
(i get it in non fragment mode too apparently)
19:59
<jgraham>
mitsuhiko: re: lxml.etree; that is a known issue (sort of). Which exact release of lxml are you using?
19:59
<mitsuhiko>
jgraham: svn head
20:00
<mitsuhiko>
guess it's the “fault” of lxml
20:00
<jgraham>
In that case try using lxml.html rather than lxml.etree
20:01
<jgraham>
We should have a better solution for 0.11
20:01
<jgraham>
(but I don't know what it will be yet ;) )
20:01
<mitsuhiko>
jgraham: lxml.html as etree impl?
20:01
<mitsuhiko>
or what do you mean?
20:01
<jgraham>
mitsuhiko: Yeah, as the etree imp.
20:03
<mitsuhiko>
jgraham: ValueError: Invalid HTML tag name u'<DOCUMENT_ROOT>'
20:04
<jgraham>
Ah, maybe I haven't committed the wallpaper patch to svn
20:04
jgraham
goes to look
20:05
<mitsuhiko>
oh btw. is mark pilgrim on irc from time to time?
20:06
<gsnedders>
mitsuhiko: occasionally, as markp
20:07
<jgraham>
mitsuhiko: it seems that the fix for lxml 2.0 isn't in svn yet. I should be able to add it later this evening
20:07
<jgraham>
(this evening GMT)
20:08
<jgraham>
i.e. soonish but perhaps not immediatley
20:08
<jgraham>
I'm on the wrong computer atm
20:08
<mitsuhiko>
oh cool :)
23:03
<jgraham>
mitsuhiko: it turns out that there's an issue with the patch to make html5lib work with lxml trunk so it's not sutiable for checkin yet. I'll try and make some time to work on it in the next few days
23:04
<jgraham>
in the meantime, I believe we work with lxml 1.3.6, if that has the features you need