00:00
<Lachy>
LOL
04:02
<Hixie>
i wonder if this troll is the same one we have: http://www.amazon.com/review/R26708FG38OUJA/ref=cm_cr_rev_detmd_pl?%5Fencoding=UTF8&cdMsgNo=6&cdPage=1&cdSort=oldest&cdMsgID=MxJUKSB9JZMAUQ#MxJUKSB9JZMAUQ
04:09
<MikeSmith>
Hixie: no clue, but poking around there, it's interesting to see that Amazon is asserting a trademark on the term "Real Name"
06:50
<zcorpan>
Hixie: not being allowed to use width/height on img for dimentionless svg is not nice
06:55
<zcorpan>
Hixie: consider <img alt=":)" src="http://simon.html5.org/sandbox/svg/smileys/smile"; width="15" height="15">
06:56
<zcorpan>
maybe i could make my smileys have dimentions but dimensionless svg is nice in general, imho
07:02
<heycam>
is it known that some links from attributes (in the green boxes) to their definitions are broken in the multipage version of the spec?
07:03
<heycam>
e.g. i notice that clicking on 'width' from http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-0.html#the-img-element takes me to something unrelated
07:04
<zcorpan>
heycam: how is it unrelated?
07:05
<heycam>
oh, i see it isn't unrelated
07:05
<heycam>
sorry for the noise
07:05
<heycam>
i just got confused that it didn't go to the closest mentions of width/height from that point
07:06
<heycam>
and noticed it jumped to the-canvas-element.html
07:06
<heycam>
(but i guess it is known that those filenames aren't the best)
07:07
<heycam>
zcorpan, where is the text that would disallow your width/height on dimensionless svg?
07:08
<Hixie>
zcorpan: img { height: 1em; }
07:08
<Hixie>
zcorpan: height=15 is wrong.
07:09
<zcorpan>
heycam: http://html5.org/tools/web-apps-tracker?from=2473&to=2474
07:09
<zcorpan>
Hixie: it would look weird when stylesheets are disabled
07:09
<heycam>
ok
07:10
<zcorpan>
Hixie: but i digress
07:10
<Hixie>
zcorpan: and height=15 would look weird when i zoomed the text in, so what?
07:10
<heycam>
what's the purpose of "The two attributes must be omitted if the resource in question does not have both an intrinsic width and an intrinsic height"?
07:10
<zcorpan>
Hixie: browsers have full zoom these days :)
07:11
<heycam>
why not word it in terms of an intrinsic aspect ratio instead?
07:11
<Hixie>
heycam: i guess we could, send feedback
07:12
zcorpan
goes to add width="15" height="15" to his smileys
07:13
<Hixie>
zcorpan: that's the wrong solution. it won't work when you change the font size.
07:14
<zcorpan>
Hixie: i mean in the svg
07:14
<Hixie>
right, me too
07:14
<zcorpan>
Hixie: so what's the right solution?
07:15
<Hixie>
having a viewBox="" coordinate space defined, and giving the dimensions in css
07:15
<Hixie>
(in the svg and the html respectively)
07:15
<Hixie>
that was not my most eloquent answer ever
07:16
<zcorpan>
you could still specify dimensions in css, i just want a reasonable default
07:16
<Hixie>
i don't know that there's a solution to that. what does '1em' mean in the <svg height=""> attribute? i guess the font-size doesn't inherit through the <img>, huh
07:17
<zcorpan>
not sure
07:17
<heycam>
i think it *should* result in the same as height:1em in the html
07:18
<heycam>
since width/height on <svg> are hints to the container on how it wants to be sized
07:18
<heycam>
(not that it's defined properly, but that's the intent i believe)
07:18
<zcorpan>
in opera it doesn't inherit
07:19
<roc>
there's no way it inherits
07:19
<zcorpan>
1em means 16px
08:03
<zcorpan>
BenMillard: "For each token, both algorithms scan the document (via getElementById) for the first element with matching id." -- html5 doesn't scan the document, it scans the table
08:16
<hsivonen>
Hixie: the code in Gecko seems to associate legends with forms, but I have no idea if the association is used for anything
08:18
<zcorpan>
exposing to AT maybe?
08:26
<Hixie>
hsivonen: generally i recommend black-box testing your assertions, as apparently the code is quite misleading :-)
08:32
<hsivonen>
Hixie: I didn't mean to assert that legend behaves as like HTML5 form-associated elements. I meant to assert that it is associated with a form. Wondering about the consequences was about not knowing why.
08:33
<hsivonen>
I suppose I should ask in a Mozilla newsgroup
08:33
<hsivonen>
zcorpan: it might be that it gets exposed to AT that way
08:39
<Hixie>
hsivonen: ah
08:40
<gavin>
the legend doesn't appear in form.elements, but you can get legend.form
08:41
<gavin>
because that's how it was defined at http://www.w3.org/TR/DOM-Level-2-HTML/idl-definitions.html , apparently
08:41
<hsivonen>
that explains it. thanks
09:28
<Hixie>
huh
09:35
<Hixie>
well i guess we can form-associate them easily enough
09:37
<hsivonen>
now I've got a Minefield build with a leaky HTML5 parser, but there are issues with getting the layout started, so it's no good for demo yet
09:45
hsivonen
wonders if Apache 1.3 and 2.0 are still supported, since links to documentation are shown prominently on http://httpd.apache.org/
10:18
Philip`
sees http://code.google.com/p/flot/http://code.google.com/p/flot/ - <canvas> seems quite popular for drawing graphs
10:18
<Philip`>
Uh
10:18
<Philip`>
http://code.google.com/p/flot/
10:20
<hsivonen>
on a related note: do the dojo graphics part use canvas or SVG in Safari?
10:20
<hsivonen>
s/do/does/
10:43
hsivonen
learns that the W3C has 50 WGs http://www.w3.org/2004/01/pp-impl/
10:43
<roc>
Philip`: that is pretty cool
10:50
<Hixie>
i thought we established it was 70
10:50
<Hixie>
or was that members of staff
10:51
<hsivonen>
Hixie: are there still WGs that don't operate under the Patent Policy?
10:51
<Hixie>
dunno
10:51
<hsivonen>
Hixie: or does 70 include Incubators and Interest Groups?
10:51
<Hixie>
maybe
10:52
<Hixie>
http-wg isn't in that list, but i guess it's covered by ietf patent policy?
10:52
hsivonen
wonders how many groups are focusing on things pertaining to "the Web"
10:52
<Hixie>
50, apparently
10:57
hsivonen
thinks "humanity connected" is too vague to be a useful definition for "the Web"
10:58
<Philip`>
The postal system already connects humanity
11:04
<Hixie>
so does e-mail
11:05
<Hixie>
and that's not the Web either
11:05
<Hixie>
(though it is The Internet)
11:07
<hsivonen>
also, the name Semantic Web implicitly concedes that it's a different web (a semantic one)
11:13
hsivonen
signs up to lecture about HTML5 for 1.5 hours in the spring
11:16
<Lachy>
how do you define what exactly is part of the web and what isn't?
11:17
<Lachy>
and I thought the Semantic Web was supposed to be a subset of the whole web, not a completely different web
11:18
<hsivonen>
Lachy: I think "the Web" is the system what people access using a Web browser
11:19
<hsivonen>
Lachy: so the Semantic Web could technically become a part of it more easily than e.g. Web Services
11:19
<virtuelv>
hsivonen: or "whichever services are accessed over http(s) using any software"
11:19
<virtuelv>
which makes both the «browser web» and the «semantic web» a subset of the web
11:19
<hsivonen>
virtuelv: I don't think any HTTP service is part of "the Web"
11:20
<hsivonen>
virtuelv: also, I think files served by FTP can be part of the Web
11:21
<Philip`>
The web is anything with "www." at the start of its domain name
11:21
<hsivonen>
I don't believe that from a user perspective, "the Web" has expanded to be more than the browsable Web it was in the beginning
11:22
<Lachy>
by that definition, does web based email become part of the web, or do you draw a line between the web interface and the email system?
11:22
<Philip`>
hsivonen: I thought the user perspective was that "web" and "internet" meant the same thing, so the more useful perspective is that of developers who are providing useful services to users
11:23
<hsivonen>
Lachy: I think email and Usenet aren't part of the Web, but you can build Web UIs for both
11:23
<hsivonen>
Philip`: would you consider an SVN repo whose authentication method precludes browsing to be part of "the Web" if it's on HTTP?
11:24
<hsivonen>
Philip`: is Google Earth part of "the Web" if it requires a special client but downloads stuff over HTTP?
11:24
<hsivonen>
Is the Flickr API part of the Web even though you need an API-specific client?
11:27
<hsivonen>
note that I'm not suggesting that there's anything wrong with not being part of "the Web". I'm just suggesting that it's not very useful to have an all-encompassing definition that doesn't match perception outside the W3C.
11:27
<Philip`>
hsivonen: I don't have a sufficiently well-developed perspective to have any confident answers to those questions :-)
11:32
<hsivonen>
I think it's much easier to draw the line between Google Earth and the Web than to draw the line between an intranet and the Web or to draw the line between an operator-specific "mobile web" and the Web
11:32
<Hixie>
i disagree that ftp is part of the web
11:32
<Hixie>
similarly, nor is my local filesystem
11:33
Hixie
wonders if hsivonen has seen microsoft's virtual earth
11:33
<hsivonen>
Hixie: I haven't
11:33
<Hixie>
it's an activex implementation of something like google earth
11:33
<Hixie>
where's your line now? :-)
11:34
<hsivonen>
Hixie: so if I follow a link from the unicode.org HTTP site to the definition files on ftp.unicode.org, and your browser Just Works, did you browse off the Web?
11:34
<Hixie>
yes
11:34
<Hixie>
imho
11:35
<hsivonen>
Hixie: I'm inclined to draw the line at browser built-in feature set plus Flash
11:35
<Hixie>
so my local file system and my mail client are part of the web?
11:35
<Hixie>
as is my text editor?
11:35
<Hixie>
and my shell?
11:35
<hsivonen>
Hixie: no, your local mail client isn't
11:36
<Hixie>
"browser" is highly ill-defined
11:36
<hsivonen>
Hixie: coming up for a reason why your local file system isn't but Gmail is is harder
11:36
<Hixie>
if i load seamonkey and open mozilla mail in a tab, it sure looks like mail in my browser
11:36
<hsivonen>
Intuitively, your file system isn't but Gmail is
11:36
<hsivonen>
Hixie: it's not a browsing context
11:37
<Lachy>
hsivonen, someone's local file system generally isn't available over the internet, so there seems to be a clear line there
11:37
<Hixie>
it has a Window object :-)
11:37
<hsivonen>
Hixie: so how do *you* define the Web?
11:37
<hsivonen>
Lachy: ok, so should some version of IP be involved?
11:37
<Hixie>
i engineer my life around not having to answer that question
11:37
<Hixie>
e.g. by not making mistakes like putting the word "web" into my mission statements
11:37
<hsivonen>
Hixie: but you ofter say that something isn't part of the Web
11:38
<hsivonen>
s/ofter/often/
11:38
<Hixie>
if pressed, i would define the web as anything accessible via HTTP over TCP/IP from the majority of nodes on the internet
11:39
<Hixie>
and would define the internet as the largest collection of publicly accessible tcp/ip nodes
11:39
<hsivonen>
Hixie: even if you need a service-specific client like Google Earth?
11:39
<Hixie>
yes
11:39
<hsivonen>
interesting
11:39
<Hixie>
but my definition isn't intended to be useful
11:41
<Hixie>
it's possible that you might be able to exclude google earth from my definition by defining "accessible via HTTP" as meaning accessible in a manner that doesn't involve any proprietary extensions
11:41
<Hixie>
though if google earth doesn't use any, then yeah, it's definitely part of the web
11:41
<hsivonen>
I'm interested in a definition for the reason why I tried to define the Web somewhat unsuccessfully on a panel at TPAC
11:42
<Hixie>
which is?
11:42
<hsivonen>
there are various things that purport to be quasi-normative about efforts that pertain to "the Web" but that clearly are talking about something else
11:43
<hsivonen>
e.g. AWWW doesn't read like it's describing "the Web"
11:44
<Hixie>
can you give an example?
11:44
<Hixie>
there are things in AWWW that i think are wrong, but i wouldn't have said it was clearly inapplicable to the web
11:44
<hsivonen>
Hixie: http://www.w3.org/TR/webarch/#xml-qnames
11:44
<hsivonen>
Hixie: it has a whole section on XML issues
11:45
<Hixie>
so? xml is used on the web
11:45
<Hixie>
quite a lot, though nothing resembling the amount that, say, ms word is used on the web
11:46
<Hixie>
e.g. Atom is on the Web
11:46
<hsivonen>
it's used on the Web, but a document that has such a focus on XML and is mostly silent about HTML, JS and CSS doesn't look like a document whose focus is on what I understand the Web to be
11:46
<hsivonen>
it's more like a document on W3C activities at the time of writing
11:47
<Hixie>
well don't forget that at the time of writing, html had been declared dead for 6 years
11:47
<Hixie>
and the people who were involved in its creation are not well-versed in JS or CSS issues
11:48
<hsivonen>
Hixie: is Word used "on the Web" because it can load stuff over HTTP?
11:48
<Hixie>
i think you are mistaking a natural bias caused by the environment in which it was written and the knowledge space and opinions of its authors, for an error in the intended scope of the document
11:49
<hsivonen>
Hixie: is your local drive on the Web if you access it over WebDAV on localhost but no one else is allowed to do that?
11:49
<Hixie>
Word is used on the Web because people can upload files and download files to and from the web
11:49
<Hixie>
i would define the web as anything accessible via HTTP over TCP/IP from the majority of nodes on the internet. so no.
11:49
<hsivonen>
Word files can even contain HTTP hyperlinks
11:49
<Hixie>
correct
11:50
<Hixie>
(i would probably clarify my definition of "HTTP" to exclude all extensions to HTTP, not just proprietary ones.)
11:50
<Hixie>
(thus excluding uPnP, WebDAV, and the like)
11:50
<hsivonen>
Hixie: should the W3C work on getting a public RF spec for .doc in /TR/ ?
11:51
<Hixie>
based on what principle?
11:51
<hsivonen>
Hixie: so are intranets on the Web if they are reachable from anywhere on the Internet but require login?
11:52
<Hixie>
is the member-only space of the W3C on the Web?
11:53
<Hixie>
if you can get to an intranet from a random internet node using nothing but HTTP, then it's an extranet, not an internet.
11:53
<hsivonen>
Hixie: if Word docs are part of the Web and we need the Web to be openly specified so that client can be implemented
11:53
<Hixie>
extranet, not intranet, rather
11:53
<Hixie>
and if it's an extranet, i don't know how to distinguish it from a private section of what is definitely on the web
11:53
<Hixie>
so i'd say yes
11:53
<hsivonen>
Hixie: I thought an extranet is open to one's business partners but an intranet to empoyees
11:54
<Hixie>
clients can already implement all they need to do to handle Word documents, that's just downloading a file
11:54
<hsivonen>
I think Gmail isn't very different from an extranet
11:54
<hsivonen>
and the difference between an extranet and an intranet is who has logic credentials
11:55
<Hixie>
hm, yes, seems my definition of extranet was wrong
11:55
<Hixie>
anyway. i think the whole discussion is a rathole
11:55
<Hixie>
just rephrase whatever it is that makes you need a definition for "web" to avoid the concept altogether.
11:55
<hsivonen>
btw, I think the biggest bug in my definition at TPAC pertained to excluding intranets
11:57
<hsivonen>
clearly, it's a rathole, but not knowing what the Web is seems to cause a whole bunch of ratholes
11:58
<hsivonen>
how does one know if a particular activity is leading the Web to its full potential without a definition for the Web?
11:59
<hsivonen>
I'm still not convinced that HTTP reachability from the largest set of IP nodes is a sufficient criterion, because intuitively, SOAP systems aren't on the Web
12:00
<Hixie>
the problem is not the lack of definition of the web. the problem is with the mission "leading the Web to its full potential".
12:00
<hsivonen>
can anything that isn't resource-oriented be *on* the Web?
12:00
<Hixie>
HTTP only works with resources, so, by my definition, no
12:02
<hsivonen>
Hixie: so what's the Open Web? :-)
12:02
<krijn>
Leading the Rathole to Its Full Potential
12:03
<hsivonen>
Hixie: if you could be the Decider, how would you bound the scope of the W3C activities?
12:04
<Hixie>
if i was the decider, i'd close the w3c altogether and spin off smaller groups like the whatwg for each core technology, covered by a patent policy from an umbrella group like the open web foundation
12:05
<Hixie>
the idea of a standards organisation having paid staff and a budget is ridiculous, imho, since it leads to the organisation focusing on what makes money to perpetuate the organisation and keep the people employed, rather than on making the technology better
12:05
<hsivonen>
I still think that navigability with a browser is a key characteristic of the Web even though saying so leaves the boundaries fuzzy
12:05
<Hixie>
i think that saying so is flat out wrong
12:05
<Hixie>
RSS/Atom are a key part of the web
12:06
<Hixie>
and it just leads to an even bigger problem, namely, defining "browser"
12:08
<hsivonen>
indeed, defining a browser in general is harder, but the browsers actually define what can be authored are few and well-known
12:09
<Hixie>
not really
12:09
<Hixie>
e.g. googlers were using chrome for months before anyone outside google new about it
12:10
<hsivonen>
at that time, Chrome clearly wasn't setting bounds of possibility to Web authoring
12:10
<Hixie>
it was for people at google :-)
12:11
<hsivonen>
perhaps browsers need to be reachable from a large set of nodes, too :-)
12:11
<Hixie>
then you need to define browser again
12:11
<Dashiva>
Walled garden browser :)
12:11
<Hixie>
so you can determine what the market you're going to be comparing to is
12:12
<hsivonen>
Hixie: I guess browsers could be defined like SCOTUS defines porn :-)
12:13
<Hixie>
well then you might as well just define the Web that way
12:13
<hsivonen>
true
12:14
<hsivonen>
however, I still think people are in more agreement of recognizing a browser when they see one than in recognizing a part of the Web when they see one
12:15
<hsivonen>
(The bad thing with going on a panel with short notice is not having time for this kind of review in advance...)
12:15
<hsivonen>
s/with/on/
12:15
<hsivonen>
(the latter with)
12:25
<Hixie>
the panel was a waste of time -- the premise of the panel was flawed
12:26
<Hixie>
(namely, that there was clear disagreement on whether AWWW should exist, and that that disagreement was on philosophical lines rather than strictly technical liens)
12:26
<Hixie>
but then, i said that before the panel, that's why i refused to go on it :-)
12:27
<hsivonen>
Hixie: I'm not philosophically opposed to a document that describes the architecture of the Web if it read like a description of the architecture of the Web
12:28
<Hixie>
right, so your feedback is just "awww is fine, but could you focus more on [list of topics]"
12:28
<Hixie>
which isn't something you can have a useful panel about
12:28
<Hixie>
it's the kind of thing that belongs in simple e-mail
12:28
<Hixie>
where someone can then just go ahead and do what you ask for
12:30
<Philip`>
hsivonen: If your use case is that you want to argue against things that talk about the web but ignore HTML/JS/CSS, then you don't need a complete definition of the web, you just need a sufficient fragment of definition that says it includes HTML/JS/CSS and doesn't say anything about what is excluded
12:30
<hsivonen>
Hixie: well, practically, I'm not convinced that allocating resources to writing a document that describes the architecture is a priority
12:31
<hsivonen>
Philip`: I also feel I should exclude e.g. my cactus pot which isn't on the Web
12:32
<Hixie>
hsivonen: since everyone working on it is a volunteer, that doesn't seem like a problem.
12:32
<hsivonen>
Philip`: although I agree that in order to make a point, my cactus pot's being on the Web can be undefined
12:33
Philip`
suddenly sees a whole new meaning in the phrase "awww isn't that cute", just like that thing with the faces/candlestick
12:33
<Hixie>
hm, happy mailman mailing list memberships reminder day everyone
12:34
<Dashiva>
How many did you get?
12:34
<Hixie>
three so far
12:34
<Hixie>
and it's only 4:40am here!
12:34
<Dashiva>
I've only got two
12:35
<hsivonen>
gotta remember to browse to different URIs for W3C list archives, too
12:35
<Hixie>
just use /latest
12:35
<Dashiva>
Yeah, it would be far too easy if the "next message" link actually went to the next month
12:35
<hsivonen>
Hixie: that's not what my browsers pick up and remember automatically
12:35
<Hixie>
yeah i hate how they don't support linking threads cross-month
12:35
<Hixie>
that loses me so much time
12:36
<Hixie>
especially since i'm always replying years later
12:36
<Hixie>
hsivonen: damomow.com/portal :-)
12:36
<Hixie>
according to my script, whatwg-bounces⊙lwo is the second-most prolific author on the whatwg list. that seems wrong.
12:36
hsivonen
tests if domowmow is mobile ok
12:36
<Hixie>
i wonder why i'm getting that.
12:36
<Hixie>
works on my ipod
12:37
<hsivonen>
my phone OS doesn't have any recent browser releases available :-(
12:38
<hsivonen>
except Mini
12:38
<hsivonen>
damowmow portal works better on my phone than in IE8 :-)
12:38
<Hixie>
that's not hard
12:38
Hixie
recently totally redesigned the portal's look
12:39
<Hixie>
i like the new look
12:39
<Hixie>
especially in safari
12:39
<hsivonen>
a couple of days ago, Opera.com gave me false hope by telling me that Opera 9.62 for Symbian is available
12:39
<hsivonen>
I think the opera.com update announcer script is broken
12:39
<Hixie>
i wish opera would just autoupdate
12:39
<Hixie>
anyway
12:39
<Hixie>
bed time
12:39
<Hixie>
nn
12:39
<hsivonen>
because they offered me a Windows version when following the link
12:40
<hsivonen>
nn
12:51
<Dashiva>
What? http://www.w3.org/Bugs/Public/show_bug.cgi?id=5822#c16
12:53
<Philip`>
Dashiva: Spam - see #html-wg ten hours ago
12:54
<Dashiva>
And still there...
12:55
<Philip`>
Does Bugzilla make it possible to delete comments?
12:58
<MikeSmith>
Philip`: I looked for a way that I could delete it myself, but couldn't find any
12:58
<zcorpan>
let's hope bugzilla doesn't get the same amount of spam as the forums...
12:58
<zcorpan>
back when it was spammed i.e.
12:58
<MikeSmith>
I've got some level of admin perms on it, but apparently not enough to do things like delete users or comments
12:59
<Philip`>
http://trac.edgewall.org/prefs/pygments - the HTML5 doctype seems to be growing in popularity
13:24
<Philip`>
BenMillard: If you're reading logs: s/thier/their/ in your comparison document
13:28
<Lachy>
I thought the smart headers algorithm interpreted <td><b>...</b></td> and <td><strong>...</strong></td> as being equivalent to <th>
13:29
<Lachy>
at least, that's the impression I got from jgraham's table inspector UI
13:30
<Lachy>
hmm, testing it shows that it doesn't. Only the Experimental option uses that logic. jgraham why is that?
13:50
<jgraham>
Lachy: That was jsut bad UI
13:51
<Lachy>
but why doesn't smart headers use that logic anyway?
13:51
<jgraham>
Because it doesn't work very well in practice
13:51
<Lachy>
oh, ok. I thought it was relatively common for people to fake headers using <td><b>
13:52
<Lachy>
are there more false positives though?
13:52
<jgraham>
The false positives are an issue (according to Ben)
13:52
<jgraham>
s/an/a serious/
13:54
<zcorpan>
i've seen a number of tables that use <th> as if it were a caption for the table and then <td> for table headers
14:24
<hsivonen>
I wonder if I should revise my doctype advice to suggest the HTML5 doctype as sooner than I've previously indicated
14:26
<hsivonen>
I think I will be out of gloom scenarios regarding the doctype once IE8 has shipped
14:27
<hsivonen>
that is, I'd be more inclined to hit the brakes with stuff like <dialog> than with the doctype
14:27
hsivonen
wonders if <dialog> is already beyond the point where it could change to mean an app dialog box
14:30
<Lachy>
hsivonen, it depends of there's any content out there using it
14:31
<hsivonen>
that's the thing. HTML5 <dialog> has already been hyped
14:31
<Lachy>
and I suspect there's very little of it, except possibly on sites of early adopters like Sam Ruby
14:31
hsivonen
wonders if it's too late to fix the XML 1.1, xml:id and Namespaces usage of DFXP
14:32
<zcorpan>
hsivonen: maybe v.nu should give warnings on features authors shouldn't use yet
14:32
<hsivonen>
zcorpan: warning about stuff that hasn't shipped could be good, yes
14:33
<Lachy>
hsivonen, do you mean this? http://www.w3.org/TR/ttaf1-dfxp/
14:33
<Lachy>
I'd never heard of that before but it was the first result for DFXP
14:33
<hsivonen>
Lachy: yes
14:34
<Lachy>
so I guess you mean "usage in" instead of "usage of"
14:34
<hsivonen>
Lachy: yes
14:36
<Dashiva>
Doesn't look like the "valid html5" badge has taken hold
14:36
<Lachy>
Dashiva, that's a good thing
14:37
<Lachy>
but what are you basing your assertion on?
14:37
<Dashiva>
Google image search for "valid html5"
14:38
<Lachy>
the reason is probably that v.nu doesn't issue such badges of honour, like the w3c validator does
14:39
<zcorpan>
and maybe that the badge that exists has a disclaimer next to it saying you shouldn't use it
14:40
<Dashiva>
Which badge is that?
14:41
<Lachy>
where is that badge located?
14:41
<Lachy>
ah, on simon.html5.org
14:41
<Dashiva>
zcorpan: The majority of places don't include the disclaimer :)
14:43
<zcorpan>
Dashiva: where are the other places?
14:44
<Dashiva>
http://datadriven.com.au/2007/03/08/the-new-html-working-group/ and http://dashiva.net/
14:48
<zcorpan>
well if there are only 3 pages to find it then it's not so bad
15:15
<Philip`>
The W3C validator doesn't give badges for HTML5 pages - is that an intentional following of the philosophy that badges are bad, or is it just because they haven't got around to building a badge image yet?
15:17
<Lachy>
it's probably because they haven't made a badge for it yet, or because the spec isn't finalised and the validator is still unstable
15:17
<annevk3>
it does issue a warning when you validate HTML5, that it's still experimental
15:18
<Philip`>
It says "Passed, 1 warning(s)" but the list of potential issues has an "Info" and not a warning
15:34
<gsnedders>
Lachy: get what you want working?
15:35
<Lachy>
gsnedders, no, I can't figure out what type of object is returned by the outliner.
15:35
<gsnedders>
Lachy: section(list)
15:35
<Lachy>
wtf?
15:35
gsnedders
notes he is now in a good mood and may be kind enough to write what Lachy wants
15:36
<gsnedders>
Lachy: a subclass of the builtin list object called section
15:36
<Lachy>
this is what I have, mostly copied from toc.py:
15:36
<Lachy>
class adjustheadings:
15:36
<Lachy>
"""Change the heading elements to use the backwards compatible, numbered headings"""
15:36
<Lachy>
def __init__(self, ElementTree, **kwargs):
15:36
<Lachy>
# Build the outline of the document
15:36
<Lachy>
outline_creator = outliner.Outliner(ElementTree, **kwargs)
15:36
<Lachy>
outline = outline_creator.build(**kwargs)
15:36
<Lachy>
# Get a list of all the top level sections, and their depth (0)
15:36
<Lachy>
sections = [(section, 0) for section in reversed(outline)]
15:36
<gsnedders>
Lachy: pastebin!
15:36
<Lachy>
section, depth = sections.pop()
15:36
<Lachy>
too much effort
15:37
<Lachy>
I don't understand what this syntax means: [(section, 0) for section in reversed(outline)]
15:38
<gsnedders>
Lachy: it creates a list of items (section, 0) for each section in outline, backwards
15:39
<Philip`>
Lachy: It's like "r = []; for section in reversed(outline): r.append( (section, 0) ); return r"
15:39
<Lachy>
oh, that makes more sense. why wasn't it just written like that?
15:40
gsnedders
shrugs
15:40
<gsnedders>
too verbose
15:40
<Philip`>
Because that's three lines, which is horribly verbose when you can write it in one
15:41
<Lachy>
gsnedders, I think I may have spotted a bug in your code too, from line 66 in toc.py:
15:41
<Lachy>
while i <= 6:
15:41
<Lachy>
header_text = section.header.find(u"h" + unicode(i))
15:41
<Lachy>
if header_text is not None:
15:41
<Lachy>
break
15:41
<gsnedders>
Lachy: where's the bug?
15:41
<Lachy>
that seems to be an infinite loop, since i isn't incremented anywhere?
15:42
<gsnedders>
and it should be .//h
15:44
<Lachy>
what's ".//h" mean?
15:44
<gsnedders>
Lachy: Also, what you want in complicated by the header element
15:45
<gsnedders>
also, what do I do with headers within blockquote and tds?
15:45
<gsnedders>
(i.e., in other sectioning roots)
15:46
<Lachy>
I think in <blockquote>, the heading would have to be left unchanged
15:46
<Lachy>
not sure what the problem is with TDs
15:46
<gsnedders>
http://www.whatwg.org/specs/web-apps/current-work/#sectioning-root
15:46
gsnedders
blames Hixie
15:48
<Lachy>
at least for the first version, you could leave them unchanged in <td> too, since for what it's being designed for, headings in <td> is unlikely to occur anyway
15:49
<Lachy>
<header> is a bit of a problem too, especially if there are subheadings
15:52
<Lachy>
for now, I think the important features to handle for the initial version are <section>, <article> and <aside>
15:52
<gsnedders>
Yeah, that's easy
15:52
<Lachy>
ok. How long do you expect it to take you to write that much?
15:53
<gsnedders>
I just did in around a minute :P
15:54
<Lachy>
oh, ok. that's a lot quicker than it would have taken me, since I find python to be ab extremely confusing language
15:54
<Lachy>
s/ab/an/
15:55
<Lachy>
can you send me the code for that then, so I can test it?
15:55
<annevk3>
http://forums.whatwg.org/viewtopic.php?p=465#465 is spam
15:56
gsnedders
finishes tweeking it
15:56
<gsnedders>
Lachy: (it was more than just a minute)
15:56
<gsnedders>
Lachy: http://pastebin.ca/1272410
15:56
<gsnedders>
The only real problem is it runs the outliner both for that and for the TOC, and the outliner is slow
15:57
jgraham
wonders what Lachy is trying to achieve
15:58
<gsnedders>
jgraham: "Replace numeric headings with the correct numeric headings for their
15:58
<gsnedders>
depth regardless of sectioning content elements."
15:59
<jgraham>
I don't understand. I would understand if you said "accounting for sectioning content elements"
16:01
<gsnedders>
like <section><h1></h1><section><h1></h1></section></section>
16:01
<gsnedders>
becomes:
16:01
<gsnedders>
<section><h1></h1><section><h2></h2></section></section>
16:01
<Lachy>
gsnedders, it doesn't seem to work
16:02
<gsnedders>
Lachy: That's to be expected. I wrote it quickly.
16:02
<jgraham>
gsnedders: OK, that makes sense. I don't see how that is irrespective of sectioning content elements though :)
16:02
<gsnedders>
jgraham: it ignores them when numbering them
16:03
<Lachy>
I put in in a file called replaceHeadings.py, added it to that python directory, and ran: anolis --enable=replaceHeadings test.src.html test.html
16:03
<jgraham>
But it uses them to deduce the numbering
16:03
<gsnedders>
jgraham: yeah, sure
16:03
<gsnedders>
:P
16:04
<Lachy>
gsnedders, test.src.html looks like this: http://pastebin.ca/1272420
16:06
<gsnedders>
hmm, yeah
16:08
<gsnedders>
Lachy: oh, == and not =
16:09
<Lachy>
on which line?
16:10
<gsnedders>
Lachy: http://pastebin.ca/1272422
16:10
<gsnedders>
Lachy: But http://pastebin.ca/1272424 is cleaner code
16:11
<gsnedders>
(no unicode(depth + 1), just unicode(depth))
16:11
<jgraham>
What's a DifferentParentException?
16:11
<gsnedders>
oh gawd
16:12
<gsnedders>
copy/paste error
16:12
<gsnedders>
s/DifferentParentException/TooDeepException/
16:13
<gsnedders>
final version (hopefully): http://pastebin.ca/1272427
16:13
<jgraham>
Also I guess section.header.tag[1].isdigit() should be section.header.tag in ("h1", "h2" [...]) but using a set for better performance
16:13
<jgraham>
So that it works when Hixie introduces the new h1b element
16:13
<gsnedders>
frozenset ideally
16:13
<jgraham>
yes, frozenset
16:14
jgraham
is on;y guessing that a set will perform better for n=6
16:15
<Lachy>
gsnedders, will you be including this in the releases as an optional feature, or will I need to keep my own separate copy?
16:15
<gsnedders>
Lachy: I'll include it with 1.1
16:15
<Lachy>
ok
16:16
<gsnedders>
Lachy: I don't want to include it with 1.0, with that so close to shipping
16:16
<Lachy>
that'll give me time to learn more python and try and fix bugs in it
16:17
<gsnedders>
jgraham: for Lachy's test doc it's too small to make any diff :P
16:17
<gsnedders>
jgraham: 0.000s for both
16:19
<gsnedders>
jgraham: no diff for HTML 5 either
16:20
<Lachy>
gsnedders, is there any way to avoid running the outliner twice?
16:21
<gsnedders>
Lachy: not really
16:21
<Lachy>
could you somehow cache the outline and return that for subsequent calls?
16:21
<gsnedders>
Lachy: Yeah, I'll do that for 1.1
16:21
<Lachy>
ok
16:21
<gsnedders>
Lachy: That's part of the reason why I don't want to ship this in 1.0
16:22
<gsnedders>
it's the third most expensive method on HTML 5 of all of Anolis
16:22
<jgraham>
gsnedders: The frozenset version is about 1x10^-7 seconds faster
16:23
<jgraham>
(per loop)
16:23
<gsnedders>
jgraham: with what uncertainty?
16:23
<jgraham>
Dunno
16:24
gsnedders
expects the uncertainty is so big that the result is more or less irrelevant
16:25
<Lachy>
gsnedders, for 1.1, can you make it possible for anolis to read directly from standard input rather than requiring an input file, so that I can maintain a collection of source files and run: cat section1.html section2.html ... | anolis output.html
16:26
<Lachy>
otherwise, I need to write to a temporary file first
16:26
<jgraham>
gsnedders: Dunno. It seemed to be about 5x10^-8 but I only ran it twice
16:27
<gsnedders>
jgraham: That's still 50% uncertainty, which isn't very certain at all
16:27
<gsnedders>
jgraham: But still quicker all the time, interestingly
16:27
gsnedders
shrugs
16:27
<gsnedders>
Lachy: Yeah, I've been thinking about that too
16:28
<gsnedders>
Lachy: The question is how I tell apart the first argument
16:28
<Lachy>
jgraham, what are you using to measure the execution time down to a milliionth of a second?
16:28
<Lachy>
gsnedders, use a command line parameter that means read from standard input
16:29
<gsnedders>
Lachy: yeah, that's probably simplest
16:29
gsnedders
motions towards http://bugs.gsnedders.com/projects/show/anolis
16:30
<Lachy>
and also add one to allow it to be output directly to standard output too
16:30
Lachy
will flood that with feature requests later
16:51
Philip`
finds Google SearchWiki to be actually useful for once
16:51
<Philip`>
since it lets me delete the really annoying search results on faqs.org for RFCs, since it's HTML and an ugly font and I just want the IETF text versions
17:30
<gsnedders>
Lachy: Fixed the infinite loop
20:55
<yecril71>
Images are similar to embedded media only if they are also embedded.
20:55
<yecril71>
Images from IMG tags are not logically similar to embedded media.
20:56
<yecril71>
Their behaviour with respect to aspect ratio can be different.
20:56
<gsnedders>
is there any way to turn off section numbering for all sections in a document in LaTeX?
20:58
<yecril71>
Sure, you just have to redefine a hidden macro with 5 @�s in the name :-)
20:58
<gsnedders>
ah, \setcounter{secnumdepth}{0}
20:58
<gsnedders>
:P
21:00
<Philip`>
gsnedders: Edit menu, Find "\section", Replace "\section*", I think
21:00
<gsnedders>
Philip`: That doesn't work for me.
21:01
<Philip`>
Oh
21:01
<gsnedders>
Philip`: The section occurs in a file \input{}'d into two documents, and only one of them doesn't want numbering
21:02
<Philip`>
gsnedders: Write a Makefile that duplicates the file and calls sed on one copy
21:02
<gsnedders>
Philip`: No.
21:02
<gsnedders>
:)
21:02
<gsnedders>
\setcounter{secnumdepth}{0} works fine
21:46
Hixie
gives dmitry a link to http://www.google.com/sponsoredlinks?q=programmers
21:48
<Dashiva>
He could hire one of those teams that offered to build an application solving the halting problem
22:02
<Lachy>
Hixie, why would you bother responding to Dmitry at all?
22:02
<Hixie>
politness
22:02
<roc>
SOMEONE ON THE INTERNET IS WRONG
22:04
<yecril71>
That shows one result: EEPROM / Flash Programmer.
22:06
<Hixie>
hm, there's a lot of results herein the US
22:06
<Dashiva>
I get lots in Norway too
22:06
<yecril71>
Not stretching is not a use case for IMG, right.
22:08
<yecril71>
That is why IMG-loaded images are stretched.
22:08
<Lachy>
Dashiva, all my results seem to be US sites. Does google redirect you to google.no?
22:08
Lachy
hates when Google does that
22:08
<Dashiva>
No, I've set it to not redirect
22:09
<Dashiva>
But you can go to .no and it'll give lots of .no answers :)
22:09
<Lachy>
and its especially annoying since my google cookie seems to expire frequently and I keep getting redirected back to google.no
22:09
<Dashiva>
That's a feature
22:09
<Lachy>
I only got one result from the google.no
22:09
<Dashiva>
There was lots of anger when google had cookies that lasted to 2038 :)
22:10
<Dashiva>
http://www.google.no/sponsoredlinks?q=programmerere&btnG=S%C3%B8k+i+sponsede+koblinger
22:10
<Lachy>
oh, yeah, the expiring cookie is ok for that reason. But the fact that google redirects is a bug
22:10
<yecril71>
I think the keyword should be in Norse.
22:10
<Dashiva>
We stopped speaking Norse a few centuries ago, alas
22:10
<Lachy>
Google should provide a way to respect Accept-Language headers.
22:11
<Lachy>
I wonder if it would work if I set Accept-Language: en-au,en,no;q=0
22:11
<svl>
Lachy: google _does_ respect accept-language. For all languages except for en-* :(
22:12
<Lachy>
aargh!
22:12
<Lachy>
that's so damn annoying!
22:12
<svl>
Yeah. I hate, hate, hate it.
22:12
<Dashiva>
I'm already sending en,nb-NO;q=0.9,nb;q=0.8,no-NO;q=0.7,no;q=0.6
22:12
<Lachy>
then we need a way to tell google that i really mean I only speak english
22:12
<Lachy>
what's nb-NO?
22:12
<svl>
Frequently tried to contact them to at least honor en-au, en-nz, en-ca e.a. which won't be set by default anywhere. but no.... :(
22:12
<Dashiva>
bokmål
22:15
<Dashiva>
How's your Norwegian coming along, Lachy?
22:16
<Lachy>
jeg forstår ikke norsk, men jeg snakker bare litt
22:17
<jcranmer>
translation for those of us not acquainted with Nordic languages?
22:17
<Lachy>
I can read a few words, and understand spoken words like polse and kvittering
22:17
<Dashiva>
"I don't understand norwegian, but I only speak a little" (bad wording included)
22:17
<Lachy>
*pølse
22:18
<Lachy>
Dashiva, what's the correct way to phrase that in norwegian?
22:18
<jcranmer>
I guess Nordic languages aren't big on capitalizing proper nouns/adjectives, are they?
22:18
<Dashiva>
What exactly did you want to say?
22:18
<Dashiva>
jcranmer: proper nouns, yes
22:18
<Lachy>
that I don't understand it, but I can say a few words
22:18
<Dashiva>
"men jeg kan litt/kan noen ord"
22:19
<jcranmer>
I'd love to learn a Nordic language someday, but I suppose I should work on other languages in my list
22:19
<Dashiva>
Although "forstår ikke" is a fairly strong way of not understanding
22:19
<Lachy>
is there another way?
22:19
<Dashiva>
"snakker ikke" might fit better
22:20
<Dashiva>
"Jeg snakker ikke norsk, men jeg forstår en del ord og uttrykk" perhaps
22:21
<Lachy>
ok, that sort of works
22:21
<Lachy>
it's weird that google translate translates "norsk" into "English" though
22:22
<Dashiva>
That is weird
22:23
<Lachy>
is "Jeg kanne har cheezburger" the correct translation for "I can has cheezburger"?
22:23
<jcranmer>
I'll use the only foreign lang I know: "Je ne comprends pas <insert language here>, mais je peux <insert correct direct object pronoun here> parler un peu."
22:23
<Dashiva>
"kan har"
22:24
<Lachy>
jcranmer, is that French?
22:24
<Dashiva>
(kanne isn't a valid conjugation in any case)
22:25
<jcranmer>
yep
22:26
<BenMillard>
zcorpan, I could make that text less specific. How about: "Search for a header cell with matching id in that table." (re: http://krijnhoetmer.nl/irc-logs/whatwg/20081201#l-162)
22:26
<Dashiva>
Although the have duality own/receive isn't present in Norwegian 'ha'
22:26
<gsnedders>
jcranmer: I always think comprendre is spelt wrong :\
22:27
<BenMillard>
zcorpan, or rather "For each token, search for a header cell with matching <code>id</code> in that table."
22:27
<jcranmer>
surprendre looks wrong to me until I look at the past participle... surpris
22:41
<BenMillard>
Philip`, 4 instances of "their" changed to "thier". (re: http://krijnhoetmer.nl/irc-logs/whatwg/20081201#l-422)
22:41
<BenMillard>
(uploading)
22:41
<Lachy>
BenMillard, I hope you meant "thier" changed to "their" :-)
22:44
<Lachy>
BenMillard, re the table header sniffing <td><b> discussion earlier, were there really a lot of cases where that resulted in false positives?
22:46
<Lachy>
and would there be no way to distinguish them. e.g. by only detecting them in the first row or column?
22:54
<BenMillard>
Lachy, I just got to that point in the logs. It wasn't so much the quantity of problems, it's that fact that totally reasonable use cases (such as using <strong> to mark a data cell's content as being particularly important) screw up the rest of the table. :(
22:55
<BenMillard>
Lachy, and <td><b> was used about as often for that as <td><strong>, IIRC.
22:56
<BenMillard>
Lachy, I can put a note in the "Ben's Advice" section of the comparison document about that if you like?
22:58
<Lachy>
but in those cases, wouldn't those cells be more likely to occur in the middle of the table, rather than the first row or first column, and if the entire first row/column used <td><b> or <td><strong>, wouldn't that be a reasonable indication that their meant to be headers?
22:59
<BenMillard>
Lachy, that's an interesting idea.
23:00
<BenMillard>
Lachy, it becomes a question of how much heuristics Hixie would let us get away with. :)
23:00
<Hixie>
i don't want any heuristics, i want the algorithm to reflect the actual semantics of the language
23:01
<Hixie>
in particular, i really don't want anything magic like <td><b>
23:01
<BenMillard>
yeah, those things often have unexpected "gotchas!" when it comes to real tables anyway
23:01
<Lachy>
ok, fine
23:02
<BenMillard>
Lachy, for example, I've seen tables where row headers use <td><b> but it had an entire row is made of <td><b> to highlight the data in it. There are also cases where <td><b> is used to create "section headers" midway through the table. So you could add an extra layer of heuristics to disambiguate those cases...but then there's another layer you could add, and another...ad infinitum. :)
23:06
<BenMillard>
I'll add a "No Heuristics" bit to the advice section, to make clear that my experience with studying data tables supports Hixie's design choice on this. (Basically, they open a can of worms which is difficult to close.)
23:17
<BenMillard>
Lachy, ESPN (and a few other places) uses <td class> to apply the boldness to header cells rather than <td><b>. So...how much heuristics do you want? :P
23:17
<BenMillard>
at least the tables using bold header cells can be retrofitted to <th> with only the text alignment making a visible difference
23:18
<BenMillard>
or they could use <td class scope> with no visible difference (if HTML5 supports that)
23:19
<BenMillard>
or use <th class> and add text-align:foo in the relevant bit of CSS
23:20
<Lachy>
BenMillard, don't use the slippery slope fallacy. I only suggested <td><b> because it seemed like a common, easily detectable method that people use for headers
23:24
<BenMillard>
Lachy, ok. Check the list under "Using <td> with any attributes and a <b> or a <strong> as the only child": http://projectcerbera.com/web/study/2007/tables/
23:24
<BenMillard>
Lachy, it's not that common.
23:26
<Hixie>
what rfc defines the ftp: scheme?
23:28
<Philip`>
Hixie: http://www.iana.org/assignments/uri-schemes.html seems to give the answer
23:29
<Hixie>
thanks
23:57
<BenMillard>
Lachy, what part of my reasoning was a slippery slope fallacy? Was it comparing <td><b> to <td class>?
23:58
<|tbb|>
hello all, im searching for a simple tutorial how to use <event-source> tag, what i want is to read the content of the srcfile into variables
23:59
Philip`
wonders if there's a name for the fallacy of falsely calling an argument fallacious