00:05
<jacobolus>
Hixie: so does webkit's continual adding of new stuff make you annoyed that you'll have to keep adding new specs, or glad that browsers are innovating again? :p
00:06
<roc>
great, once again our bacon is saved by an undocumented WK* API.
00:06
<Hixie>
so long as they keep adding css stuff, it becomes the problem of the css wg, not ours :-)
00:06
<jacobolus>
Hixie: by the way, I very much like the changes to the Server-Sent Events spec. I'm not sure when that was changed (sometime in the last 2-3 months?) but the changes make it much cleaner and more useful.
00:07
<Hixie>
yeah it wasn't too long ago
00:07
<Hixie>
glad you like 'em
00:08
<jacobolus>
Hixie: my friend (and maybe I'll help him out w/ this) plans to implement a javascript shim to handle SSE streams from Firefox/Safari/Opera using xhr
00:08
<Hixie>
nice
00:08
<jacobolus>
and from IE using iframes inside htmlfile activex objects
00:08
<jacobolus>
but that won't be quite perfect
00:08
<jacobolus>
because IE requires 256 bytes of padding before incremental rendering
00:09
<jacobolus>
(as will safari under Tiger :/)
00:09
<Hixie>
:-/
00:10
<jacobolus>
but anyway, if/when that is done, it should be rather easier to handle the server end
00:11
<Philip`>
Could you transparently add 256-byte comments into the output stream?
00:12
<jacobolus>
Philip`: yes
00:12
<jacobolus>
Philip`: but you have to do it from the server side
00:12
Philip`
is reminded of the X-Pad and X-Pad-For-Netscrape-Bug HTTP headers
00:12
<jacobolus>
which means that the browser end won't be a perfect implementation of the spec
00:12
<Philip`>
Ah
00:12
<jruderman>
is that because of sniffing for feeds and other non-HTML content?
00:12
<jacobolus>
so server makers would still have to implement spec+
00:13
<Hixie>
growing pains
00:13
<Hixie>
it happens
00:13
<Philip`>
It doesn't necessarily happen - you just have to stop growing
00:13
<jacobolus>
jruderman: in the Webkit/<10.4 case, it's because of the OS network I/O routines used
00:13
<jacobolus>
which they fixed in 10.5
00:14
<jruderman>
ok
00:14
<jacobolus>
in the IE case, I'm not sure
00:14
<jacobolus>
I think it's because using iframes for Comet is basically an unanticipated hack :p
00:17
<jacobolus>
Hixie: is it true that the latest Opera went and implemented the complete few-months-ago version of SSE?
00:18
<KevinMarks>
"will HTML5 help fix the back button problem?"
00:18
<Hixie>
jacobolus: they implemented it long ago
00:18
<Hixie>
jacobolus: before the spec changed
00:18
<jacobolus>
Hixie: no, that was a very *incomplete* implementation
00:18
<Hixie>
jacobolus: oh
00:18
<Hixie>
jacobolus: i don't know of any other work
00:18
<Hixie>
jacobolus: it's possible
00:18
<Hixie>
jacobolus: in either case the two can live side-by-side, as they have different MIME types
00:18
<jacobolus>
someone was telling me they had implemented much more of the spec (but still before it changed)
01:42
<mcarter>
Hixie, out of curiosity, what was the driving force behind the SSE changes? Is there a mailing list thread about it?
01:43
<Philip`>
mcarter: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-February/014027.html hopefully covers the relevant points
01:43
<Hixie>
yeah that's the main summary
01:44
<mcarter>
Philip`, thanks
01:44
<Hixie>
http://www.google.com/search?q=%22received+was+when+it+reconnects,+so+as+to+allow+seamless+continuation%22&hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=m4t&filter=0 has that message in other archives
01:45
<Hixie>
in case you can find one that actually links to the e-mails listed in the "References" headers
01:46
<Philip`>
Hixie: The References header points at http://lists.w3.org/Archives/Public/public-webapi/2008Feb/0137.html http://lists.w3.org/Archives/Public/public-webapi/2008Feb/0138.html http://lists.w3.org/Archives/Public/public-webapi/2008Feb/0165.html
01:46
<Philip`>
which are about something totally different
01:47
<Hixie>
exclusively, or amongst other things?
01:47
<Philip`>
Exclusively
01:47
<Hixie>
i believe those e-mails were part of those that i had looked at when creating that e-mail, but i don't know why it would only list those
01:47
<Hixie>
you sure that the original e-mail didn't include anything else?
01:47
<Philip`>
Message-ID: <Pine.LNX.4.62.0802212051290.6407⊙hdc>
01:47
<Philip`>
References: <0b2b01c8730f$d41b1ef0$4200a8c0@kris> <op.t6r4mdhm64w2qv⊙aooc> <E23F5599-9BDB-4723-A3AC-D9B80B1BBD45⊙do>
01:47
<Philip`>
Content-Language: en-GB-hixie
01:47
<Hixie>
huh
01:47
<Hixie>
weird
01:48
<Hixie>
how many references does my mathml/svg mail have?
01:48
<Hixie>
that one should have 620
01:48
<Hixie>
maybe pine is truncating the list
01:48
<Hixie>
when it sends it out
01:48
<Hixie>
that would suck
01:48
<Dashiva>
620... references...
01:48
<Philip`>
1
01:49
<Philip`>
Message-ID: <Pine.LNX.4.62.0804060112390.18949⊙hdc>
01:49
<Philip`>
References: <op.t8402scsidj3kv⊙hb>
01:49
<Philip`>
Content-Language: en-GB-hixie
01:49
<Hixie>
crap
01:49
<Hixie>
silly mail client
01:49
<Philip`>
(assuming Gmail doesn't do anything stupid on received mail)
01:49
<Hixie>
oh gmail almost certainly does something stupid
01:49
<Hixie>
in its display, at least
01:49
<Hixie>
but pine might well also do something stupid
01:50
<Philip`>
This is the raw "Show original" display
01:50
<Philip`>
http://lists.w3.org/Archives/Public/public-html/2008Apr/0205.html only lists the one "In reply to" too
01:50
<jacobolus>
that's unfortunate :/
01:50
<Hixie>
well bummer
01:51
<Hixie>
well, the w3c archives only list the In Reply To lines for things in the same month archive
01:51
<Hixie>
so that might not mean much in general, though in this case it should be including far more
01:51
<Hixie>
i guess pine is trimming my in-reply-to or references: headers
01:51
<Hixie>
that sucks
01:51
<Dashiva>
What mail was it you wanted to check?
01:52
<Dashiva>
"Supporting MathML and SVG in text/html, and related topics" <-- that?
01:52
<Hixie>
yeah
01:53
<Dashiva>
Only one references here too.
01:54
<Dashiva>
How would you make it reference all those mails anyhow? Is there a "reply to many mails at once" thing?
01:54
<Hixie>
yes
01:55
<Philip`>
You should write all your SMTP messages by hand, to make sure it does what you expect
01:55
<Hixie>
i don't care enough :-)
01:57
<Dashiva>
Make the mail client represent your inbox as a graph, then draw lines from the mails you want to reference
01:57
<Hixie>
the ui part is solved, in pine
01:57
<Hixie>
i just wish it actually did the right thing
01:58
<Dashiva>
So it lists all the references at the top of the screen, not just an invisible list based on your initial reply selection?
02:02
<Hixie>
the ui should be non-existent for this
02:03
<Hixie>
i can select messages to reply to
02:03
<Hixie>
it should automatically refer to all of these elements
02:05
<Hixie>
ok i dunno wtf just happened but the last few checkins are a mess
02:07
<Hixie>
entities just updated too, btw
02:50
<Hixie>
i wonder what i should work on next
02:52
<Philip`>
Find a section of the spec that is being implemented, and then rewrite it to be totally different
02:53
<Hixie>
sweet, we broke the 3000 e-mail point
02:54
<Hixie>
only 2961 e-mails on the pile now
02:54
<Hixie>
the number has gone down 900 e-mails since oct 3 last year
02:55
<Hixie>
that's one e-mail every 5 or so hours
02:56
<Hixie>
about 4.5 e-mails a day average over 6 months
02:57
<Hixie>
658 days to go if there are more months like january where i do no html5 work
02:57
<Philip`>
"ack r12n for the last checkin" - s/r12n/r12a/ :-p
02:57
<Philip`>
Oh
02:58
<Hixie>
yeah i tried to correct it but half the checkin was already in
02:58
Philip`
reads the more recent commit message
02:58
<Philip`>
I thought SVN did atomic transactions so it wouldn't do half a checkin
02:59
<Hixie>
guess not
04:12
<crschmidt>
So, I'm using the client side storage stuff in Safari. and I'm wondering how to do 'give this insert the next available monotonically increasing ID'
04:12
<crschmidt>
be it via sequences, auto_increment, or something else.
04:12
<crschmidt>
I googled a bit and didn't find anything useful: Am I missing something obvious?
04:13
<crschmidt>
(I realize this is probably implementation specific, but I don't even know where to start.)
04:23
<jwalden>
it would be; <editorialize>it's unconscionable, but the SQL stuff in the HTML5 drafts doesn't specify a subset of SQL which must be supported, which is absolutely horrible given how much HTML5 has concerned itself with implementation compatibility elsewhere</editorialize>; people in #webkit would know, not sure whether they mind fielding such questions or not, tho
04:31
<othermaciej>
read the MySQL docs
04:32
<crschmidt>
jwalden: Sure it does! It says 'the subset of SQL which must be supported will be defined in the future'
04:32
<crschmidt>
:)
04:32
<crschmidt>
othermaciej: thanks
04:32
<jwalden>
copout
04:32
<roc>
MySQL? I would have though SQLite
04:32
<othermaciej>
oh yeah
04:32
<othermaciej>
SQLite
04:32
<jwalden>
and not useful since it's already implemented and shipping in a browser (I think?)
04:33
<othermaciej>
see, even I can't keep it straight
04:33
<jwalden>
not sure whether 3.1 got it or not
04:33
<crschmidt>
jwalden: it did
04:33
<crschmidt>
that's what I'm testing with :)
04:33
<jwalden>
that's what I /thought/ but I wasn't willing to say so without certainty
04:33
crschmidt
nods
04:33
<crschmidt>
Oh, so it is sqlite: well, I was trying the write database syntax, but apparently something about it just doesn't like me
04:33
<crschmidt>
oh well
05:52
crschmidt
wonders if he would be better advised to implement Gears support explicitly in his code or beg someone to make gears match up slightly more closely with the whatwg spec
06:10
<crschmidt>
Oh well, Google Gears support added now
06:14
<bradee-oh>
crschmidt: while you're doing the GG support for now... *also* beg someone to make gears better match up with the spec ;)
06:15
crschmidt
doesn't even have anyone to beg
06:31
<Hixie>
jwalden: i really do want to specify the sql language to be supported, but we need implementation experience before we can do that
06:32
<Hixie>
jwalden: speccing in a vacuum results in crappy specs :-)
06:32
<jwalden>
do you really want to know how far down the SQL syntax rabbit hole goes?
06:34
<jwalden>
because, given the implementation experience of real SQL engines, I'm extremely skeptical compatibility is actually possible without it being designed in from the start
06:34
<jwalden>
and also, the wealth of SQL engines out there doesn't make it "in a vacuum" in my book
06:34
<jwalden>
granted, not breathable air, but not top-of-Everest either
06:34
<jwalden>
or rather not comfortably-breathable air
06:35
<crschmidt>
http://crschmidt.net/mapping/localdb/
06:35
<crschmidt>
Uses Google Gears or HTML5 Client storage
06:35
<crschmidt>
to store the things you draw with the tools in the upper right
06:35
<crschmidt>
(point, polygon, and modify tools)
06:35
<crschmidt>
Drawings are saved every time you edit
06:36
<crschmidt>
er, line, poly, and modify
06:43
<MikeSmith>
crschmidt, nice
06:43
<MikeSmith>
just tried it in Webkit
06:46
<crschmidt>
MikeSmith: Cool.
06:47
<MikeSmith>
crschmidt, I see you're involved with GIS applications.
06:48
<crschmidt>
MikeSmith: Not that I'm aware of.
06:49
<MikeSmith>
? http://crschmidt.net/ says "GIS and Web Hacker"
06:50
<crschmidt>
MikeSmith: Sorry, it's a joke that works with people who know me better :)
06:50
<crschmidt>
I tend to be on the 'lunatic fringe' of gis
06:50
<crschmidt>
living in the 'vulgar geography' world -- which a lot of people are loathe to refer to as GIS
06:53
<crschmidt>
I had not realized that this was #whatwg when you said that
06:54
<MikeSmith>
crschmidt, lunatic fringe sounds to me like a nice place to be
06:54
<MikeSmith>
and vulgar geography sounds pretty intriguing
06:55
MikeSmith
writes that one down
06:55
<crschmidt>
I enjoy living on the lunatic fringe, yes
06:56
<crschmidt>
If you're vaguely interested in geography and abuse of browsers to the end of exploring it, the 'choropleth' examples linked from http://crschmidt.net/mapping/ are good
06:56
<crschmidt>
two in SVG, one in Canvas
06:57
<Hixie>
jwalden: in practice so far everyone has used SQLite, so it may be easier to get interop than one may expect
06:57
<Hixie>
jwalden: i honestly don't think the sql rabbit hole is gonna be any less deep than the html one, anyway
06:58
crschmidt
wonders who everyone is...
06:58
<crschmidt>
Is there another implementation than Webkit that I should be checking this with?
06:58
<jwalden>
and we really want to cover two holes the size of HTML?
06:59
<jwalden>
and limiting to "the stuff sqlite supports" for determining what's interoperable does not a standard make
06:59
<Hixie>
crschmidt: gears also has an implementation
06:59
<Hixie>
crschmidt: and my understanding is that gecko may have one too? i forget
06:59
<crschmidt>
Hixie: Okay, wasn't sure if that was the other one you were counting.
07:00
MikeSmith
takes a look at crschmidt examples
07:00
<Hixie>
jwalden: it would be detailed
07:00
<crschmidt>
FF3b5 doesn't have an openDatabase (or whatever) property
07:00
<Hixie>
jwalden: we have to define this either way
07:00
<crschmidt>
so if it's around, it's not in the FF3 branch so far as I can tell
07:00
<Hixie>
i would be very surprised if this kind of thing was put into ff3
07:00
<jwalden>
no, it's not in 3 or even implemented as a patch
07:01
<Hixie>
oh right, i'm thinking of postMessage
07:01
crschmidt
couldn't find anything that indicated any support in FF or Opera
07:02
<MikeSmith>
crschmidt, yeah, no support yet in FF or Opera
07:02
<MikeSmith>
as far as your examples, they're great but I was expecting something more vulgar
07:02
<MikeSmith>
please inject some vulgarity into them
07:03
<crschmidt>
MikeSmith: 'vulgar geography' means 'gis that people who do GIS would swear at'
07:03
<crschmidt>
Nothing is particularly vulgar about it in and of itself
07:06
<jwalden>
Hixie: I disagree, at least as part of HTML5; defining an interoperable SQL syntax is going to be at least a hundred or so pages, well worth being put in its own spec, and well worth not being in HTML5 now as it distracts from the goal of specifying HTML as it exists, with small to medium-sized additions as needed
07:06
<jwalden>
but you already knew that
07:06
<jwalden>
and we're probably going to get nowhere on this
07:07
<Hixie>
jwalden: i agree that it should be in tits own spec
07:08
<Hixie>
jwalden: but if i'm the one who ends up speccing it, i basically have to put it in html5, as the overhead of editing another spec is extremely high
07:08
<Hixie>
i wish we had more editors available
07:08
<Hixie>
there's so much that needs to be taken out of html5
07:08
<Hixie>
setTimeout, for instance
07:09
<Hixie>
(i disagree that they distract, though, the platform is a single platform regardless of how many documents define it)
07:14
<MikeSmith>
Hixie, editorial, r1439
07:15
<MikeSmith>
[[+ being used as a glossary. Note the user of <code><a
07:15
<MikeSmith>
+ href="#dfn">dfn</a></code> to indicate the word being defined.</p>
07:15
<MikeSmith>
]]
07:15
<MikeSmith>
should be "note the usage of" ? instead of "user"
07:15
<Hixie>
oops
07:15
<Hixie>
s/user/use/
07:15
<Hixie>
will fix thanks
07:16
<Hixie>
where's gsnedders
10:20
<hsivonen_>
does <img aria-describedby='...'> do useful things in current implementations?
10:25
<hsivonen_>
is what the spec now says about <base> the whole story?
10:26
<hsivonen_>
so are subsequent <base> elements ignored as far as later URI resolution goes?
10:26
<hsivonen_>
so a Note says...
10:27
<annevk>
"User agents must use the value of the href attribute of the first base element that is both a child of the head element and has an href attribute, if there is such an element, as the document entity's base URI for the purposes of section 5.1.1 of RFC 3986 ("Establishing a Base URI": "Base URI Embedded in Content")."
10:28
<hsivonen_>
and then there's the xml:base stuff
10:28
<annevk>
yes
10:28
<hsivonen_>
so if <html> has xml:base, I have to reresolve the base URI stack upon seeing <base>
10:29
<annevk>
that depends on whether the one on <html> is relative or not
10:29
<hsivonen_>
well it can be, so...
10:40
hsivonen_
isn't a big fan of xml:base
10:41
<annevk>
most people are no fan
10:41
<annevk>
why do you care though?
10:43
<hsivonen_>
annevk: If I add features that involve resolving <img src>
10:43
<Lachy_>
hsivonen_, as of IE7, only the first <base> element is used http://blogs.msdn.com/ie/archive/2005/08/29/457667.aspx
10:46
<annevk>
hsivonen_, ah true, xml:base and <base> can now be used together
11:02
<hsivonen_>
what should happen if the base uri is a data uri?
11:02
<hsivonen_>
when resolving a relative uri that is
11:04
<annevk>
http://www.ietf.org/rfc/rfc3986 should tell in theory
11:04
<Philip`>
Hopefully the same as clicking the link in data:text/html,<a href=foo.html>foo</a>
11:04
<Philip`>
(but that varies between browsers quite significantly)
11:05
<hsivonen_>
for added fun, base64 can produce '/' in the data uri
11:05
<hsivonen_>
(as can not using base64, of course)
11:06
<Lachy_>
oh no, the b/i debate is starting up again :-(
11:07
<Lachy_>
and Tina has come back
11:17
<othermaciej>
I thought she was gone for good!
11:18
<hsivonen_>
the thread was CCed to www-html
12:04
<hsivonen_>
is there other inherited data I am not thinking in addition to base URI and language?
12:13
<hsivonen_>
Hixie: any plans of supporting <meta http-equiv=content-language> as going in between HTTP and root lang?
12:13
<hsivonen_>
Hixie: what about meta content-location vs. base?
12:16
<annevk>
content-language might make sense
12:16
<annevk>
content-location is not supported currently
12:16
<hsivonen_>
annevk: ok.
12:16
<hsivonen_>
I'll implement content-language while at it, then
12:18
<annevk>
oh, the issue tracker is below 3000, even when private e-mails are included
12:18
<Philip`>
(http://www.cl.cam.ac.uk/~pjt47/misc/attributes.html 'meta http-equiv' suggests that <meta http-equiv=content-language> is pretty popular)
12:19
<Philip`>
(Also it suggests that <meta lang> is quite popular...)
12:19
<hsivonen_>
base uri tracking is the hard part
12:20
<hsivonen_>
lang tracking comes almost for free on top of that
12:22
<Philip`>
(<meta name="author"lang="fr"en"content=betty savastano"> - ouch)
12:23
<Philip`>
(http://www.floorball-linkpage.com/index.php - are you meant to be able to use keywords and lang like that?)
12:24
<annevk>
I've seen that advocated in tutorials when I started learning HTML.
12:25
<annevk>
Given that HTML does not do two languages at the same typically it's probably not "ok" altough it seems kind of logical...
13:41
<zcorpan>
BenMillard, hsivonen_: fyi, there's #wai-aria on irc.w3.org:6665 for public aria chat
13:48
mpt
wishes <input type="reset image"> was possible without scripting
13:49
<hsivonen>
mpt: what do you need reset for? isn't reset almost always a usability bug?
13:50
<Lachy>
woah, the SVG working group is requesting that we remove SVG from text/html
13:52
<hsivonen>
Lachy: sigh. the message misses the point in ways that have already been explained
13:54
<mpt>
hsivonen, it used to be, but not so much with XmlHttp I think
13:54
<Lachy>
it's not clear to me from his message, which syntactic features they don't approve of.
13:55
<zcorpan>
is my inbox slow or is this somewhere where i'm not subscribed?
13:55
<Lachy>
zcorpan, it's on public-html
13:55
<Lachy>
http://www.w3.org/mid/A13D0B44629697468E9C6AE200CFD39A3943CF3BF4⊙mmc
13:56
<mpt>
hsivonen, if you use Facebook, imagine that the "cancel" link when changing your status was an image.
14:00
<zcorpan>
mpt: <input type=reset style=content:url(cancel.png)>
14:02
<hsivonen>
mpt: I don't use Facebook, but why do you expect type=reset instead of type=button with XHR?
14:03
<myakura>
doesn't <button type=reset><img ...></button> work?
14:05
<mpt>
myakura, it does, if limiting the button styling to the CSS that the browser allows (sometimes limited, sometimes none) is appropriate
14:06
<myakura>
hmm
14:08
<mpt>
hsivonen, the wrongness of type="reset" was that it reset your entire form, and then left you on the same page. With XHR leaving you on the same page is a goal, not a problem, and here I'm just wanting to cancel the modification of a single text field, or menu, where you might not remember what the initial value was.
14:09
<mpt>
type="button" works, but it requires scripting, when all I want to do is reset this single-field form.
14:12
<annevk>
i'm not sure if reset-image is the solution though, fixing browsers to allowing styling might be better
14:15
<mpt>
Perhaps.
14:20
myakura
wonders that defining handling rules for text/html means changing the syntax
14:22
<myakura>
re the mail which svg wg sent
14:22
<hsivonen>
myakura: some byte streams would be valid SVG-in-text/html but not SVG-in-XML
14:23
<Philip`>
Some other byte streams would be invalid SVG-in-text/html but would still work in text/html but not in XML
14:26
<myakura>
hmm
14:29
<zcorpan>
some other byte streams would be valid SVG-in-XML but wouldn't work in text/html
14:29
<zcorpan>
(like usage of dtd internal subset or prefixes)
14:32
<hsivonen>
<span lang='en'><span lang='***'>Is this English or undefined?</span></span>?
14:34
<Philip`>
hsivonen: Passing that text through my standard language detection heuristics gives a strong confidence in it being English
14:35
<zcorpan>
hsivonen: "To determine the language of a node, user agents must look at the nearest ancestor element (including the element itself if the node is an element) that has an xml:lang attribute set or is an HTML element and has a lang attribute set. That attribute specifies the language of the node."
14:35
<zcorpan>
hsivonen: so the language is ***
14:36
<annevk>
yeah, per current definitions it's ***
14:40
<hsivonen>
thanks. time to send email, I guess
14:42
<Lachy>
should the spec specify that if the value of the lang attribute isn't a valid language code, it is ignored and the language is inherited from its parent?
14:46
<hsivonen>
Lachy: or that if it isn't a valid language code, it means the same as lang=''
14:46
Lachy
checks what lang='' is defined to mean...
14:47
<Lachy>
ah, it means "Setting the attribute to the empty string indicates that the primary language is unknown."
16:31
<annevk>
http://www.w3.org/QA/2008/04/proposed_activity_for_video_on.html ...
16:34
<hsivonen>
still missing the most important expected outcome of the workshop :-(
16:38
<Philip`>
Is the expected outcome that they won't find a suitable codec, because the video world is evil and full of patents?
16:39
<hsivonen>
heh
16:39
<hsivonen>
I meant finding a codec
16:40
<annevk>
The proposed WGs seem boring and it's really unfortunate they don't say anything about the codec issues...
17:09
<mpt>
Is the Sun thing years too late?
17:09
<hsivonen>
mpt: the Sun thing?
17:10
<mpt>
http://www.pcworld.com/businesscenter/article/144494/sun_tackles_video_codec.html
17:10
<Philip`>
It's been here for five billion years already, so I wouldn't call it late
17:10
<mpt>
har har
17:10
<hsivonen>
interesting
17:11
<gsnedders>
They are a big enough company for submarines, at least
17:12
<mpt>
("Since the beginning of time, submarines have yearned to destroy the Sun!")
17:12
<Philip`>
Might be interesting to see what they've done five years from now
17:13
<mpt>
Ah, they are intending it specifically with HTML's problem in mind
17:13
<mpt>
http://blogs.sun.com/openmediacommons/entry/oms_video_a_project_of
17:13
<Philip`>
(I guess it'll take a while to develop it, and they'll write all their software in Java, so it'll take a while longer for someone sensible to write a decent C implementation, and then maybe it'd be useful)
17:14
<Philip`>
Their mentions of H.261 sound kind of worrying, given how rubbish H.261 is
17:16
<mpt>
OMS Video isn't actually mentioned on <http://www.openmediacommons.org/projects.html>; (yet?) though
17:16
<hsivonen>
Philip`: h.264 comes from the 'rubbish' lineage, too
17:18
<Philip`>
hsivonen: H.264 has had another ~15 years of evolution, which should be around a 1000 times increase in computer power and a huge amount more experience
17:19
<hsivonen>
worse, it means that some of the useful evolutionary paths are patented
17:19
<Philip`>
I imagine many of the non-useful paths are patented too
17:20
<mpt>
(For the benefit of archive readers: I'm all in favor of free codecs. If Sun can make one successful, go Sun.)
17:21
<Philip`>
It looks kind of like they're taking the SQLite approach and avoiding any techniques that haven't been published long enough ago for patents to have expired
17:22
<Philip`>
(I'm in favour of anything that anybody does that's successful :-) )
17:22
<gsnedders>
Vorbis did that, and is still competitive. I'm wondering whether that's doable with video, thoguh
17:22
<gsnedders>
The longer the video issue goes on, the more I doubt it is a realistic aim
17:22
<gsnedders>
(though, FWIW, I'd love to be proved wrong)
17:23
<Philip`>
gsnedders: I don't think I've ever heard that Vorbis limited themselves to old techniques - they just used unpatented ones, and did patent searches to be more confident they hadn't missed some
17:23
<Philip`>
(or at least that's what I think they did)
17:23
<mpt>
gsnedders, because learning more about it makes you more pessimistic, or because the mere passage of time makes it less likely?
17:24
<gsnedders>
mpt: the more I learn the more pessimistic I become, and I doubt time will do much to help
17:29
<annevk>
i applaud any initiative that gives us RF video
17:31
<hsivonen>
I wonder what Sun's lawyer make of Diract
17:31
<hsivonen>
Dirac
17:49
<Lachy>
Adobe is also working on a free video codec called CinemaDNG http://blog.wired.com/monkeybites/2008/04/adobe-cinemadng.html
17:49
<Lachy>
though it appears to be a capture format, rather than a publishing format
17:51
<Lachy>
I'm not so sure about sun's new codec though. I'm hoping dirac will eventually succeed, though, realistically, h.264 will be around for quite a few years regardless
17:52
<Lachy>
the ideal situation would be for h.264 to become royalty free
17:52
<othermaciej>
Adobe's thing seems to be a raw video codec
17:52
<othermaciej>
We will see if Sun
17:52
<Lachy>
othermaciej, yes
17:52
<othermaciej>
's thing becomes anything more than talk
17:53
<othermaciej>
I am unimpressed with the "press release first, code later" approach so far though
18:00
<Philip`>
Lachy: Given how long it seems to have taken for H.264 to take off, I guess any new codec will similarly take a long time before becoming popular
18:01
<Philip`>
(I think I've only noticed people using H.264 seriously in the past couple of years)
18:04
<othermaciej>
H.264 has seen significant non-web use for a long time
18:07
<Hixie>
Lachy: dirac is more of an archival format, not really appropriate for web use
18:07
<Hixie>
as i understand it
18:09
<annevk>
"It was presented by the BBC in January 2004 as the basis of a new codec for the transmission of video over the Internet."
18:09
<annevk>
-- http://en.wikipedia.org/wiki/Dirac_(codec)
18:09
<othermaciej>
it has not been presented that way lately
18:10
<Lachy>
I thought it was designed to be comparable with h.264 in compression and quality
18:10
<hsivonen>
has anyone seen Dirac in action?
18:10
<hsivonen>
the VC-2 profile dropped inter-frame compression, IIRC
18:12
<annevk>
Everything on that Wikipedia page sounds like it could be used today... I guess some information is missing.
18:13
<Lachy>
"the reference implementation can decode around 17 frames per second [in PAL SD] on a 3 GHz PC" - that seems a bit slow
18:14
Philip`
tries "emerge dirac" and wonders what it will install
18:14
annevk
thanks Hixie for resurfacing such classics as 'it would only be useful for the few who "love semantics"'
18:17
<takkaria>
Lachy: yeah, they're only just getting round to optimising playback
18:19
<Lachy>
takkaria, yeah, I know, but still, that's quite slow for only standard definition. I want to be able to play video at 1080p/50 or 60fps
18:20
<Lachy>
and I want it streamed over the web in real time :-)
18:20
<annevk>
just make sure you enable your time machine while browsing and you'll be fine
18:20
<jmb>
I wonder if there's any information for schrodinger's decode performance
18:20
<Philip`>
And you want to pay $20/month to your ISP for bandwidth?
18:21
Philip`
attempts encoding a video with dirac_encoder
18:21
<annevk>
"On 22nd of February 2008, Schrödinger 1.0.0 was released. This release was able to decode HD720/25p in real-time on a Core Duo laptop."
18:23
<Lachy>
I wonder how that compares with the requirements for h.264 at 720p/25
18:24
<othermaciej>
I have a Core Duo laptop and H.264 capability but I wouldn't know where to find standard test videos of various frame rates
18:24
<jmb>
annevk: aha. that'll teach me to ask questions before reading the wiki page :) I note that the schroedinger website is utterly silent about its performance
18:24
Philip`
fails at encoding a video
18:25
<Lachy>
I can't figure out Vlad's definition of "web content" http://html4all.org/mailman/archives/list_html4all.org/2008-April/000731.html
18:26
<Lachy>
even his explanation makes no sense http://html4all.org/mailman/archives/list_html4all.org/2008-April/000733.html
18:27
<annevk>
Maybe he's looking for some definition that validates his practices...
18:28
<Lachy>
my definition of "web content" would be any content delivered over the web, no matter how it is used
18:29
<hsivonen>
I consider Joshue O'Connor's videos Web content even though they only had an Apache-generated directory listing linking to them, IIRC.
18:33
<annevk>
"Web content is something made with my software, damn't!"
18:33
<Hixie>
you can put anything on the web
18:34
<mpt>
I prefer Web discontent
18:34
<mpt>
It's much more interesting
18:34
<Hixie>
what makes a format technically appropriate is a few characterstics, including relatively trivial seeking, streamability with synchronised sound and video, good compression characteristics, a data stream that is resistant to dropped packets, etc.
18:35
<hsivonen>
dropped packet resilience doesn't help on http
18:35
<hsivonen>
some video formats are over-resient to transport problems
18:35
<hsivonen>
since the lower abstraction takes care of stuff
18:36
<Hixie>
the svg working group didn't even cc their own lists on their request
18:37
<Hixie>
sheesh
18:37
Hixie
removes SVG from text/html
18:37
<takkaria>
noooo
18:38
<Hixie>
hey if the svg working group wants to shoot itself in the head, i'm not going to stop them
18:38
<hsivonen>
Hixie: SVG now has other stakeholders in addition to the WG
18:38
<Hixie>
the longer we delay the sudden expansion phase of svg on the web, the longer i have to go in and actually do a proper job fixing it
18:39
<hsivonen>
Hixie: just like HTML had other stakeholders during the time when its orinator no longer considered it viable
18:39
<Hixie>
they'll probably take at least two years to get back to us, at which point i might have more free time to work on svg5
18:39
<Philip`>
dirac_decoder takes me 3.6 seconds for 150 frames at 320x240, on a C2D 2.0GHz
18:39
<mpt>
ding!
18:40
<Philip`>
(for a 1MB input file)
18:41
<hsivonen>
the WCAG 2.0 definitions are probably too abstact for normal authors to grok
18:48
<Philip`>
Hmm, Dirac 0.9.1 at 256Kbps on 320x240x30fps seems kind of roughly comparable quality to MPEG-2 (except blurry instead of blocky), and significantly worse than H.264
18:49
<Philip`>
(Theora seems much closer to H.264)
18:50
<Philip`>
(though all the encoders are really rubbish at getting the requested bitrate, so my comparisons are very unfair)
18:56
<gsnedders>
Philip`: Dirac, AFAIK, is more or less totally unoptimised to this day
18:57
<Philip`>
gsnedders: Do you mean runtime performance, or compression quality? (or both?)
18:57
<gsnedders>
Philip`: both
18:58
<gsnedders>
Philip`: the point up to the release of 1.0 of the specs was having an codec that _worked_, regardless of performance
18:59
<Philip`>
gsnedders: It's trivial to make a codec that works - just replace dirac_encoder and dirac_decoder with 'cat'
18:59
<gsnedders>
Philip`: that doesn't isn't actually a encoder/decoder :P
18:59
<Philip`>
gsnedders: Then use base64 instead
18:59
<gsnedders>
Philip`: :P
18:59
<Philip`>
or if you want to be fancy and insist on compression, use gzip
19:00
<hsivonen>
if I'm displaying an image and its alt for review, what HTML markup should I use?
19:01
<hsivonen>
Clearly, I'm having list items
19:01
<gsnedders>
Is it not a table of images and alternatives?
19:02
<hsivonen>
gsnedders: it could be
19:02
<gsnedders>
It seems like tabular data to me.
19:02
<hsivonen>
I want to put source locations there, too
19:02
<Philip`>
The list is defining the alt values for the images, so use <dl>
19:02
<gsnedders>
actually, it's a perfect example of when we have an image that is significant content that cannot have any textual alternative
19:03
<hsivonen>
Philip`: would I put source location in <dd>, too?
19:03
<Philip`>
Or just use <br>
19:03
<Philip`>
hsivonen: I guess that wouldn't quite work sensibly
19:04
<hsivonen>
I probably want the image on the left and the alt and the location on the right with the alt above the location
19:05
<hsivonen>
or image on the right and location and alt on the left
19:05
<hsivonen>
also, the list should have reasonably similar layout for cases with no alt
19:05
<Philip`>
<img align=left>alt<br>location<br clear=both>
19:09
<hsivonen>
or <li><p style='display:table-cell'><img></p><div style='display:table-cell'><p>alt</p><p>location</p></div></li>
19:38
<annevk>
Hixie, the statement about SVG is not gone... http://www.whatwg.org/specs/web-apps/current-work/multipage/section-the-canvas.html#svg
19:40
<Hixie>
ah, indeed not
19:40
<Hixie>
i forgot that i decided it would be useful in xhtml anyway
19:41
annevk
assumed it was for text/html + DOM
19:43
<Hixie>
that use case isn't going to happen enough for the spec to suggest UI for it :-)
19:45
<annevk>
the longer there's no syntax, the more libraries will create exactly that :)
19:51
<Hixie>
like i said
19:51
<Hixie>
if they want to shoot themselves in the head...
19:51
<Hixie>
who am i to stop them
19:51
<Hixie>
especially when they ask so kindly
19:52
<hsivonen>
are these photos sufficiently textually accompanied: http://flickr.com/photos/18356286@N00/ ?
19:52
<annevk>
talking about graphics, http://lists.w3.org/Archives/Public/public-canvas-api/ seems like a big hit :)
19:52
<Dashiva>
Hixie: I usually avoid helping such people, because I know they'll get my clothes dirty in the process
19:53
<Hixie>
hsivonen: "it's unfair to expect _me_ to do what i preach"
19:53
<Hixie>
Dashiva: well you'll notice the changes to the spec were minimal and easily reversible
19:54
<Hixie>
Dashiva: if necessary, whatwg's version could easily revert :-)
19:55
<Lachy>
Wouldn't it be more useful for the current SVG proposal to remain in the spec, and for the SVG working group to suggest specific changes as required, instead of pulling it out and starting from scratch?
19:55
<Dashiva>
Here's hoping for a good resolution
19:56
<hsivonen>
Lachy: it would. there's collateral damage when SVG WG is allowed to shoot self
19:56
<annevk>
Having WHATWG conditionals for something as trivial as SVG syntax seems bad...
19:57
<Hixie>
did jf just say that inaccessible images on an ftp server were ok but inaccessible images on an http server were not?
19:57
<Hixie>
or am i misunderstanding
19:57
<Hixie>
Lachy: feel free to suggest it to them
19:57
<annevk>
He did...
19:57
<Hixie>
good good
19:58
<Lachy>
I will
19:58
<annevk>
My image collections are exactly that... They're just served over HTTP for convenience.
20:01
<hsivonen>
I still don't have a good design for presentin repeating rows of image, alt, source location triplets :-(
20:01
<hsivonen>
I want the images line up nicely
20:02
<hsivonen>
and I want the alt to be near the image even if the window is wide
20:02
<hsivonen>
Do I really need to put these in a table?
20:02
<Hixie>
hsivonen: sounds like tabular data to me
20:02
<annevk>
why not?
20:02
<annevk>
img | alt | location
20:03
<Hixie>
hsivonen: what you really want is the page itself, styled, and little text boxes appearing over the images or instead of the images as you hover over them, or some such
20:03
<hsivonen>
annevk: table rows with an image and most often a single line of text looks ugly and unbalanced
20:03
<hsivonen>
Hixie: yeah, this will be less contextual
20:03
<annevk>
that's a CSS issue :)
20:04
<Lachy>
hsivonen, display each image as a scaled/cropped thumbnail, so they're all the same size. Then, when an image is clicked, use the lightbox effect, or something similar, to display the full size iamge
20:04
<Lachy>
*image
20:04
<hsivonen>
Hixie: I'm aiming for a solution that I think has the upsides of checking for alt presence but not the downsides of making it part of the validation function and silencing messages when *some* alt is present
20:05
<hsivonen>
what's the lightbox effect?
20:05
<Hixie>
hsivonen: ah
20:05
<Lachy>
hsivonen, http://www.huddletogether.com/projects/lightbox2/
20:06
hsivonen
sees no effect; tries different browser
20:07
<Lachy>
that site seems to be broken now
20:07
<Lachy>
FF reports a script error
20:07
<Lachy>
this is an earlier version, but it works http://www.huddletogether.com/projects/lightbox/
20:08
<hsivonen>
Lachy: that seems annoying
20:09
<hsivonen>
I wonder if I could zoom the images on :hover (for users who have a hoverable pointing device) and :focus (for users who have no pointing device or a click-only pointing device)
20:11
hsivonen
wants a way to say width attribute times * 3 in CSS
20:12
<Dashiva>
hsivonen: You could also show alt and location on top of each other, with image to the side
20:14
<hsivonen>
Dashiva: yeah. layout tables ftw!
20:15
<Dashiva>
Wouldn't need to be a table anymore! Since there's only one internal column border to align to, it can be done with just setting fixed width on the image :)
20:16
<hsivonen>
Dashiva: with floats?
20:16
<hsivonen>
Dashiva: or with display:table-cell?
20:16
<hsivonen>
or something else?
20:16
<Dashiva>
inline-block? :)
20:17
<hsivonen>
Dashiva: do you mean putting the non-image stuff in an inline-block?
20:17
<Dashiva>
Yeah
20:18
<hsivonen>
what's the support status of inline-block these days?
20:18
<Dashiva>
There's support in some firefox version, but I don't recall if it's 2 or 3
20:20
<hsivonen>
I think I'll make a real data table for now
20:20
<Dashiva>
rowspan on the image works too
20:26
jgraham_
is glad to find that find that John Foliot is just as bewildering to others
20:34
<Hixie>
i'm so sad that #css isn't publicly archived yet like the csswg resolved it to be
20:34
<othermaciej>
why, was there something interesting on it?
20:37
<Philip`>
Hixie: s/encouaraged/encouraged/ in that #svg text, unless it's just going to be deleted forever
20:37
<Hixie>
fixed
20:39
<hsivonen>
Hixie: your 'nobody' is not exactly correct. jf is suggesting replacing alt='' with something else
20:52
<Dashiva>
In the SVG mail it says "We are happy to make rapid progress on allowing SVG in text/html". Is that businessspeak for thinking it's a good idea, or is the SVG group actually working on text/html svg?
20:54
<annevk>
"maximizing compatibility" "wide range"
20:55
<annevk>
definitely sounds like marketese
21:05
<hsivonen>
argh. I forgot to support right-to-left alt
21:12
<Hixie>
Lachy: i have a request here from someone suggesting the query-by-selectors api should apply to all NodeList objects too
21:22
<Lachy>
Hixie, send mail about it.
21:23
<Lachy>
I'm not sure I could get it into this first version of the spec, but it might be an interesting extension for the next revision
21:23
<Lachy>
especially since we're starting to get implementations already, I'd rather focus on getting interop with the current feature set before piling on more
21:24
<annevk>
how does it work on NodeList?
21:24
<Hixie>
Lachy: already done
21:25
<Lachy>
I assume it would evaluate each node in the list, in the context of the document it's in
21:25
<Dashiva>
So it's more like using the nodelist as a filter to the query result
21:26
<Lachy>
e.g. var list = document.getElementsByTagName("p"); var filteredList = list.querySelector("div>p");
21:26
<gsnedders>
jgraham_: for my implementation of the outline algorithm, having looked at it quite closely, it seems it'll be easier for me to start from scratch
21:26
<Lachy>
so filteredList would contain all the p elements from list, which are children of div elements in the document
21:26
<Lachy>
not sure of the use case though, since document.querySelector("div>p"); would do the same
21:27
<Hixie>
yeah i dunno what the use case is exactly, though there are other places that return NodeLists
21:27
<Hixie>
i just want the issue off my plate :0D
21:27
<Philip`>
Is something wrong with your nose?
21:29
<Lachy>
woah, you've had that on your plate since 23 Sep 2005.
21:29
<Hixie>
possibly
21:29
<Lachy>
I guess it's better late than never
21:29
<Hixie>
Lachy: heh
21:29
<Hixie>
Lachy: i've been replying to some of these e-mails dated 2004
21:30
<Lachy>
I suppose that would have been sent before the webapi wg was formed, and thus hadn't begun working on selectors api.
21:30
<Dashiva>
By making querySelector work on nodelists, it would be possible to chain querySelector calls too...
21:31
<Lachy>
so that's why you wouldn't have forwarded it then
21:31
hsivonen
wonders why python os.path.getctime doesn't work on Mac OS X and HFS+
21:31
<Hixie>
Lachy: yeah it ended up in the worng bucket
21:31
<Lachy>
Dashiva, what's the point in chaining queryselector calls?
21:31
<hsivonen>
it seems to run generic Unix code instead of Mac code
21:31
<Lachy>
just chain the selctors and make one call
21:31
<annevk>
the initial Selectors API draft was made in some hotel in Rabat
21:31
<Dashiva>
Lachy: If you want to select something based on ancestors or preceding siblings, CSS isn't very helpful
21:32
<annevk>
prolly end of 2006
21:32
<annevk>
September 2x 2006 iirc
21:32
<Hixie>
document.querySelector('a x').querySelector('b x') is equivalent to 'a b x, b a x' which can get much more complex
21:33
<Lachy>
Dashiva, I assume you meant if you want to select ancestors or preceding siblings, rather than something based on those (since selectors already work the way you said it)
21:33
<Dashiva>
Yeah, that
21:33
<Dashiva>
And Hixie seems to have found an even better case :)
21:33
<Hixie>
it's a bit like having :matches(... #)
21:34
<Lachy>
oh, right
21:34
<Lachy>
it's worth thinking about, but definitely need to evaluate the use cases and see how authors actually use these apis
21:36
<Hixie>
yup
21:38
<gsnedders>
Oh dear. This really is broken.
21:42
<gsnedders>
Anyone know of a decently performant NodeIterator in Python?
21:49
gsnedders
realises he can more or less just safely use getElementsByTagName("*") for what he needs
21:54
<Dashiva>
The alt discussion is like an echo of echoes
22:00
<jgraham_>
gsnedders: np. Is is just that my code is crap, or that it doesn't fit into your grand plan?
22:01
<gsnedders>
jgraham_: I'd need to more or less rewrite it to fit into the algorithm as a whole
22:01
<gsnedders>
(i.e., the latteR)
22:01
<jgraham_>
(also, I may have mentioned, if you want performance in python and you're not using lxml yoyu've already lost :) )
22:02
<gsnedders>
With how stuff it going, it's becoming questionable whether I need DOM anymore
22:03
<gsnedders>
jgraham_: That said, that isn't the bottleneck :)
22:03
<jgraham_>
gsnedders: what's the bottleneck?
22:04
<gsnedders>
jgraham_: html5lib tokenising is the biggest
22:04
<jgraham_>
Oh. Well yeah html5lib sucks :)
22:04
<gsnedders>
Only real way to make a big change with that is for it to be a Py extension
22:05
jgraham_
decides to do some work on html5lib since no one seems interested in the alt text survey thing
22:05
<gsnedders>
I may just give up on Python and write it in C++ (though with my total lack of knowledge of what's needed to write it that'd be hard)
22:06
<gsnedders>
But that would be quick.
22:06
<jgraham_>
gsnedders: Write what in C++?
22:06
<gsnedders>
jgraham_: spec-gen
22:06
<Philip`>
jgraham_: The problem with doing an alt text survey is that it would produce data, and so it might conflict with people's opinions
22:06
<jgraham_>
gsnedders: Wouldn't it make sense to write a html parser in C(++) rather than the whole thing
22:07
<Philip`>
Writing in C++ seems like probably not a great idea
22:07
<Philip`>
particularly if you're doing things with strings and data structures
22:07
<jgraham_>
Philip`: The thought had occurred to me
22:07
<gsnedders>
jgraham_: peh. Once you've done the HTML parser part the rest is simple enough in any language, really
22:08
<gsnedders>
(I'd just use WebKit's HTML/DOM stuff, to avoid reinventing the wheel there)
22:08
Philip`
was responding mostly to gsnedders
22:09
<jgraham_>
gsnedders: I imagine it would be significantly easier to write the front end in a non-C based language
22:09
<jgraham_>
Philip`: I meant about the survey
22:09
<Philip`>
jgraham_: Oh
22:09
<Philip`>
jgraham_: That makes sense, then - please ignore my comment :-)
22:09
<jgraham_>
Although one possibility would be to write the string manipulation bits in javascript and make it run in a browser
22:10
<jgraham_>
possibly from the command line
22:10
<Philip`>
gsnedders: You won't say the rest is simple once you're trying to use a std::tr1::hash_map<std::string, std::pair<int, int> > just to do some simple processing that would take no lines of code in Python :-)
22:11
<gsnedders>
Philip`: :)
22:12
<gsnedders>
Philip`: all my experience of C based strings has probably been spoiled by OpenStep and Obj-C. :) That probably makes C++ look even worse :)
22:12
<Philip`>
C++ strings work alright, as long as you don't care too much about Unicode, but it's not very concise at more complex data structures
22:13
<gsnedders>
From what I've seen, WebKit handles strings quite nicely
22:14
<hsivonen>
Philip`: how common is it for non-trivial apps to use C++ strings. the C++ code I've seen either uses C-style strings or custom string classes
22:15
<jgraham_>
How common is it to use C-style strings? C-style strings seem a bit evil even in C...
22:15
<Philip`>
gsnedders: Probably because they use a custom string class, which is more code you have to import into your own project and work out how to compile
22:15
<gsnedders>
Philip`: that and C-style strings, but yeah
22:15
jgraham_
has very little real experience here
22:16
<Philip`>
hsivonen: How would you count custom string classes that inherit from C++'s std::string?
22:16
<hsivonen>
jgraham_: very common, I'd say without quatitative evidence
22:16
<gsnedders>
Philip`: But if I was using the HTML/DOM from it, I'd need it anyway
22:16
<annevk>
hmm, I replied to a message about alt and Hixie just replied to the same...
22:16
gsnedders
really does need an actual NodeIterator, regardless
22:16
<annevk>
oh well
22:16
<jgraham_>
gsnedders: Write your own?
22:16
<hsivonen>
Philip`: I don't know how I'd count those.
22:16
<gsnedders>
jgraham_: I'm lazy, and busy :)
22:16
Philip`
has a non-trivial (100-200KLOC, I think) C++ program with a custom string class that inherits from std::string
22:17
<jgraham_>
Or do it in a browser like I said
22:17
<jgraham_>
or find a way to not need one :)
22:17
<hsivonen>
Philip`: is the stl really 's' these days? Mozilla C++ bans a lot of stuff including the 'standards' libs
22:17
<gsnedders>
jgraham_: that can't really be done through the CLI, though
22:18
<gsnedders>
Mozilla reimplements the wheel, though :)
22:18
<jgraham_>
gsnedders: I think you can run some browsers in windowless modes
22:18
gsnedders
ought to go sleep regardless
22:19
jgraham_
isn't exactly sure which
22:19
<Philip`>
hsivonen: wxWidgets used to implement everything (like strings) itself, largely copying the STL API, but now they've given up on old obscure platforms and have a (currently optional) option to use the STL implementations instead; so they're not confident enough to enable it by default, but they seem to be heading in that direction
22:19
<Philip`>
gsnedders: All C++ applications reinvent many wheels :-)
22:19
<gsnedders>
squares ftw!
22:21
<Philip`>
It's often easier to rewrite code yourself rather than work out how to build and link to an external library, particularly if you want to work on multiple platforms
22:22
<Philip`>
(at least if it's only a few hundred lines of code)
22:22
gsnedders
goes sleep
22:23
<gsnedders>
The real W3C spec-gen is written in Perl and C, and parses the document about 10 times. It's ridiculous. It's possible to outdo that using even html5lib :P
22:24
jgraham_
wonders if gsnedders should see a doctor about his sleep typing
22:24
<gsnedders>
jgraham_: Hey, I have CFS, what do you expect? :P
22:24
<gsnedders>
I'm ALWAYS asleep :P
22:24
<jgraham_>
CFS?
22:25
jgraham_
googles
22:25
gsnedders
points at http://wwcoco.com/cfids/mollyact1.html
22:25
<gsnedders>
just 'cause it's by Molly
22:25
<gsnedders>
(yes, that molly)
22:25
<Philip`>
Isn't that a filesystem?
22:25
<gsnedders>
Philip`: with an abbr. like that, I expect so :P
22:25
<Philip`>
Any acronym that ends with FS is a filesystem
22:25
<jgraham_>
Philip`: Oddly, that's what I thought of
22:26
<Philip`>
gsnedders: There's nothing wrong with Perl!
22:26
<gsnedders>
My brain runs on Confused File System.
22:26
<gsnedders>
Philip`: I dislike it, but that's not the issue with the spec-gen, and is irrelevant :)
22:26
<Philip`>
gsnedders: Your opinion on Perl is wrong
22:26
<gsnedders>
hah.
22:27
<Philip`>
You do like it, you just haven't realised yet
22:27
<gsnedders>
Philip`: you remind me of my real friends.
22:27
<gsnedders>
"You don't have an opinion. I'm right."
22:27
<jgraham_>
Are they all crazy perl fans too?
22:27
<gsnedders>
Seeming some of them struggle to use a computer at all, I doubt it
22:28
gsnedders
notes while those two are around that he's only going to Cambridge once now this year, most likely, in May
22:30
Philip`
wonders when May is
22:30
<Philip`>
Is that next month?
22:30
<gsnedders>
Yes.
22:31
<Philip`>
Ah, good
22:31
<gsnedders>
Either of you have any suggestions for where to meet up, yet?
22:31
jgraham_
wonders if he should parse that as "I will be going to Cambridge at at least once this year including one visit in May" or "I shall be going to Cambridge exactly once this year and it shall probably be in May"
22:31
<gsnedders>
jgraham_: the commas should make it clear that it is the former
22:31
<Philip`>
gsnedders: I don't know anything as practical as that, so I have no suggestions
22:32
<gsnedders>
Philip`: :P
22:32
<jgraham_>
gsnedders: I don't think the commas help
22:32
<gsnedders>
Philip`: Am I going to end up choosing?
22:32
<jgraham_>
gsnedders: I can come up with ideas if you want.
22:32
<Philip`>
gsnedders: You could probably choose better than I can :-)
22:32
<gsnedders>
As I said, somewhere centralish suits me.
22:33
<gsnedders>
If not in the centre, in the direction of the Millpond
22:33
<jgraham_>
The plan was to involve food, yes?
22:33
<gsnedders>
Yeah, meet up over supper is probably best for me
22:33
<jgraham_>
OK. Well we can sort something out based on cuisine preferences nearer the time
22:34
<Philip`>
Preferably it would be somewhere within sane walking distance of me, since I'm not very good at travelling long distances
22:34
<gsnedders>
Philip`: for any particular reason?
22:34
<annevk>
Lachy, "A new version of WordPress is available! Please notify the site administrator." << blog.whatwg.org
22:34
<jgraham_>
Philip`: You're at Kings, right? Or do you mean the CS department?
22:34
<gsnedders>
Philip`: Kings is hardly central, I know :)
22:35
<gsnedders>
Where is CS anyway?
22:35
<jgraham_>
Madingley Road, opposite Astronomy
22:35
<jgraham_>
:)
22:35
<gsnedders>
ah
22:35
<Philip`>
jgraham_: I'm living about 10-15 minutes south of King's
22:35
<gsnedders>
the latter part of that makes no sense to me, but the former part does
22:36
<gsnedders>
which way is the millpond from King's?
22:36
<jgraham_>
South west
22:36
<gsnedders>
I don't know where North/South is relative to Cambridge :)
22:36
Philip`
has no idea what the Millpond is
22:36
<jgraham_>
Not very west, mind
22:37
<gsnedders>
Philip`: by the Fen :)
22:37
<gsnedders>
</useless_answer>
22:37
<gsnedders>
Philip`: Where Bella Italia, and the Granta are
22:37
<jgraham_>
gsnedders: Equally good answers might have been "in the flat bit"
22:37
<gsnedders>
jgraham_: true :)
22:37
<Philip`>
Ah, I think I know that bit
22:37
<Philip`>
since I walk past it every day
22:37
<gsnedders>
Philip`: Yeah, exactly :)
22:38
<Philip`>
Depending on the time, I might start at the CL or at King's or at home, but they're all close enough to not make too much difference
22:39
<gsnedders>
What is there around there? Chinese, Indian, Italian, and several pubs? Or do I recall incorrectly?
22:39
<jgraham_>
I'll almost certainly be coming from the IoA
22:39
<gsnedders>
IoA?
22:39
<jgraham_>
Institute of Astronomy
22:39
<gsnedders>
I guessed that just after I asked
22:39
<gsnedders>
and that's opp. CS :)
22:39
<Philip`>
Depends which side you look at the opposite of
22:40
<Philip`>
The most directly opposite thing is a field with some horses
22:40
gsnedders
checks Madingley Road is what he thought it was
22:40
<jgraham_>
gsnedders: Yeah, there's that bit. Then nearby there's a little bit with an (inexplicably) popular noodle bar and a couple of other places
22:40
<gsnedders>
I mean, we can always meet by the millpond and then decide where to go if need be
22:41
<jgraham_>
Or there's other places in town e.g. japanese
22:41
<gsnedders>
I'll be offline while I'm in Cambridge likely, as I probably won't take my laptop
22:42
<Philip`>
( http://maps.google.com/maps?f=q&hl=en&geocode=&q=computer+laboratory&jsv=107&sll=52.21071,0.091882&sspn=0.006719,0.020771&ie=UTF8&ll=52.211104,0.091882&spn=0.006719,0.020771&t=k&z=16&iwloc=A )
22:43
<gsnedders>
yeah, perpendicular to the end of Grange Road (where my late grandmother lived) as I thought
22:44
Philip`
sees the map is out of date, since the bit just south of the CL is now a building that looks quite like a very fat truncated submarine instead of a car park
22:45
<gsnedders>
Philip`: if you go by the millpond, I guess you live near Granchester Street?
22:46
<gsnedders>
and on that, I really am going to sleep
22:47
<Philip`>
gsnedders: Yes - down that way and round a bit
22:47
<gsnedders>
Philip`: nice part :)
22:47
gsnedders
really really goes
22:47
<Philip`>
It's quite a quiet area, which is nice :-)
22:51
<hsivonen>
does RTL alt test inherit dir from markup or put control characters in the attribute value?
22:51
<hsivonen>
s/test/text/
23:00
<Philip`>
Someone needs to post something to public-html that is new and preferably not about alt again, so that my Gmail thread count reaches 1000
23:00
<Philip`>
I hate when it's 999 because it just leaves me anticipating the rollover, and I don't even get any non-negligible satisfaction when it occurs
23:06
<annevk>
"Although Jeff Walden from MIT was gracious enough to share his thoughts" :)
23:06
<hsivonen>
why do people keep calling the empty string null alt?
23:06
<hsivonen>
how annoying
23:07
<Lachy>
hsivonen, people do a lot more annoying things than that. I wouldn't worry about it.
23:10
<Lachy>
... like letting the alt text discussion go round in circles.
23:11
<Dashiva>
Lachy: I think we're forgetting the case where there's a known alt text that happens to be _none
23:12
<Lachy>
I still haven't figured out how alt="_notsupplied" (or equivalent) is any better than omitting alt, nor why there is any reason to distinguish those 2 cases, given that neither will benefit the AT any more
23:13
<Dashiva>
Well, apparently some people aren't convinced about not needing to separate them
23:13
<Lachy>
The only justification for it seems to be a signal to a validator that the omission was intentional, but a validator couldn't really do anything more with alt="_notsupplied" than it could with an omitted alt
23:13
<Dashiva>
And if pressed, I'm sure at least a few will say "A magic value makes it easier for the validator to spot where you forgot alt by accident"
23:14
<Philip`>
Is that not true?
23:14
<Lachy>
a user can request that the validator indicate machine-checkable criteria like that, even if it's not strictly required for syntactic conformance
23:14
<Lachy>
Philip`, what?
23:15
<Dashiva>
Philip`: It's a red herring
23:15
<Philip`>
"user can request" sounds like it requires more UI, which is not good for the user-friendliness of validators
23:15
<hsivonen>
Philip`: I think I'm going to deal with this in a way that requires yet another checkbox
23:15
<Dashiva>
It would make it easier to spot accidental omissions, but a user handwriting a page isn't the problem at hand
23:16
<Philip`>
Dashiva: A user handwriting a page becomes a problem if missing alt is no longer flagged
23:16
<Dashiva>
No, he gets a checkbox
23:16
<Philip`>
He probably forgets to check the checkbox
23:16
<Lachy>
there might be alternative solutions to adding another checkbox, but a validator's UI isn't really relevant to a discussion about conformance criteria
23:17
<Dashiva>
Philip`: That's about as relevant as someone who forgets to validate
23:17
<Philip`>
Lachy: For the vast majority of people, validators are their only interaction with conformance criteria, so validators are critical to the discussion; and the validator's UI is important to the validator
23:18
<Philip`>
(Well, for the vast majority of the people who have any interaction with conformance criteria at all)
23:18
<Lachy>
if a user forgets to check the "Indicate missing alt" box, and the user wants to check for missing alt, he can always go back and revalidate
23:19
<Lachy>
or maybe the validator could show a warning aboug missing alt by default in some way
23:19
<Philip`>
Lachy: The user forgetting to check the checkbox gives identical results to if they did check it and had no errors, so they would have no reason to notice that they forgot to check it
23:20
<Lachy>
it depends what the validation report looks like, and if it clearly indicates what was and wasn't checked
23:21
<Dashiva>
Forgetful users can write a userjs that checks the box automatically :)
23:22
Philip`
usually only looks for one bit of information (passed or failed, i.e. green or red) when looking at validation reports
23:22
<hsivonen>
Philip`: I don't intend to make the checkbox modify the validation function. I intend it to enable an integrated alt review assistant
23:22
<Philip`>
Dashiva: I think you may be overestimating the abilities of users :-p
23:22
Philip`
doesn't even know how to write UserJS himself
23:23
<hsivonen>
checkboxes on V.nu are bookmarkable
23:23
<Dashiva>
Even better
23:23
<Philip`>
Is there a discoverable way of using that?
23:24
<hsivonen>
Philip`: there used to be, but it made UI strings too long
23:25
<Lachy>
hsivonen, how are theybookmarkable?
23:25
<hsivonen>
Lachy: make settings, leave the document address blank and press validate
23:26
<Dashiva>
hsivonen: Make a "save settings" button that also does that :)
23:26
<Lachy>
that could use a more intuitive UI
23:26
<Lachy>
a save settings button should leave a cookie
23:30
<jgraham_>
Wow, I didn't expect Steve Faulkner to say that
23:31
<Dashiva>
"Stop pointing out my hypocricy, that's a personal attack"
23:34
<annevk>
"pathetic personal attack... but can anything more be expected?"
23:34
<annevk>
hmm, from the people who cite my blog post on alt= at every occasion
23:35
<annevk>
oh well, it's clearly too late for getting involved in alt bike sheds
23:35
annevk
-> bed
23:47
<jgraham_>
Jacques has the best suggestion so far about @alt http://intertwingly.net/blog/2008/04/15/HTML5-SVG#c1208297906
23:47
<annevk>
Searching on the Web for "limpid" I found this example of alt abuse: http://www.limpidmusic.nl/shoot.html
23:52
<Hixie>
i guess postMessage is the next priority
23:52
<Dashiva>
jgraham_: I don't think Hixie would hold the spec hostage like that :)
23:54
<Dashiva>
Odd... I switch back to the browser holding that intertwingly tab, and suddenly there's a huge red warning about comments and ip tracking and stuff. Where did that come from...
23:54
gsnedders
holds the spec hostage
23:54
<annevk>
get in line :p
23:55
<Dashiva>
The spec does have a frighteningly low bus factor, though
23:55
<Hixie>
not really, the source is all out there, as is most of the feedback
23:56
<Hixie>
and my dreamhost account is paying for itself in recurring referral fees
23:56
<jgraham_>
Do they have buses in California?
23:56
<Hixie>
so so long as you guys can find another editor, it should be easy to continue
23:56
<jgraham_>
We should make them all stop, just in case
23:56
<Hixie>
-_-
23:56
<Hixie>
i USE the busses!
23:57
<jgraham_>
Segway? ;)
23:57
<Dashiva>
Hixie: I'm not worried about the text, I'm worried about who's going to edit it
23:57
<Hixie>
yeah well
23:57
<Philip`>
Hixie: So if we can do the hard part, then the rest will be easy? That sounds kind of obvious :-)
23:57
<Hixie>
that's a problem i'm worried about too
23:57
<Hixie>
let me know if you find anyone :-)
23:57
<Hixie>
there's plenty for them to do :-)
23:58
<Dashiva>
Hixie: So you can jump in front of a bus? No way!
23:58
<Hixie>
there's plenty for them to do even with me still editing all of html5!