01:24
<cardona507>
TabAtkins - Hello - hows it goin? - have you had a chance to post the CSS video you filmed at TPAC?
01:36
<TabAtkins>
cardona507: Hey, thanks for reminding me! TBL sent me the raw video on Saturday, so now I need to rerecord my screencapture to go along with it, then send it back to him for editting.
01:36
<TabAtkins>
I'll do that tonight.
01:40
<cardona507>
cool
03:46
<MikeSmith>
Hixie: I'm at the IETF hybi session, getting ready to talk
03:47
<MikeSmith>
Ian Fette's here too, and john fallows
03:47
<MikeSmith>
also Chris Blizzard
03:48
<MikeSmith>
so.. I'm not planning to say much but instead will let them do most of the talking
03:49
<MikeSmith>
I have only a 15-minute slot
03:50
<MikeSmith>
wasn't thinking I could skype you in if you wanted
03:50
<MikeSmith>
so ping me when you're back around
03:52
<Hixie>
MikeSmith: here, but no skype
03:52
<MikeSmith>
Ok
03:53
<MikeSmith>
well, I may try to post some notes here during the session
03:55
<Hixie>
MikeSmith: i'm listening to the audio stream
03:55
<MikeSmith>
ah great
03:55
<othermaciej>
hey MikeSmith
03:55
<MikeSmith>
othermaciej: hey
03:56
<Hixie>
and i'm on the jabber channel
03:56
<othermaciej>
MikeSmith: if no one else mentions it (even though I told a number of people), you can tell them that Apple supports the formation of a Working Group for the WebSocket Protocol and would be willing to join
03:57
<othermaciej>
I sadly have to head out now but perhaps I shall join jabber if things are still going in an hour
03:57
<MikeSmith>
othermaciej: cool, ok, will do
03:57
<Hixie>
according to the agenda they'll have barely gotten started in an hour
03:57
othermaciej
feels a little overloaded on standards, especially on bickering about them, after the TPAC week
03:58
<Hixie>
yeah really
03:58
Hixie
is gonna take a few days off
03:59
<othermaciej>
in retrospect I should have stayed out of the mailing list kerfuffles right after
05:20
<Michelangelo>
back
06:20
<MikeSmith>
hi tkent
07:24
<hsivonen>
scary. my screen just went pink.
07:24
<hsivonen>
then I touched the DVI cable and it became normal again
07:24
<hsivonen>
how can a digital connection have that kind of failure mode?
07:25
<Hixie>
DVI is also analogue
07:25
<Hixie>
maybe your monitor is using the analogue signal
07:26
<hsivonen>
I very much doubt Apple would do that
07:26
<hsivonen>
I have an Apple display connected to a Mac using Apple cables
07:57
<jgraham>
hsivonen: Different colour channels seem to be on different pins so it doesn't seem like an impossible failure mode
08:05
<hsivonen>
jgraham: ok. makes sense
08:19
<hsivonen>
I'm confused about the X3D folks talking about text/html and EXI simultaneously
08:19
<hsivonen>
are X3D models typically small enough to fit in text/html or big enough to need EXI?
08:19
<hsivonen>
or do they come in both sizes?
08:38
<hsivonen>
what does it mean to be a member of the accessibility TF compared to being just a WG participant?
08:39
<hsivonen>
ah 6 to 8 hours per month
08:53
<Hixie>
othermaciej: any idea why the screensaver might have started asking for "the name and password of a user in the "(null)" group"? (and then not accepting any user names and passwords?)
08:55
<othermaciej>
Hixie: no idea
08:56
<othermaciej>
Hixie: I assume you mean the OS X screensaver?
08:56
<ment>
why is "&notis;" tokenized as "&not;is;" and not like any other non-defined entity name? (just copying "&notis;" to output)
08:57
<gsnedders|work>
There's no such entity as notis;
08:57
<hsivonen>
ment: because of backwards compat with &not
08:57
<gsnedders|work>
And there is an entity not
08:58
<gsnedders|work>
So the longest matching entity of "notis;" is "not".
08:58
<ment>
hmm, so good-bye hash-tables, hello tries
08:58
<Hixie>
othermaciej: yeah
08:59
<hsivonen>
ment: this area is a bit of a pain and indeed hashtables won't work
08:59
<Hixie>
othermaciej: no idea how to fix it, but it means a hard-reboot whenever my screensaver triggers
08:59
<Hixie>
or any time i unsuspend
08:59
hsivonen
should get around to implementing this as a trie
08:59
<hsivonen>
a trie with suspendable search
08:59
<hsivonen>
and that makes sense as both Java and C++
09:02
<gsnedders|work>
PHP html5lib basically uses a trie
09:03
jgraham
wonders if it is alarmingly ignorant not to know what a trie is
09:03
<hsivonen>
wikipedia to rescue
09:04
<othermaciej>
Hixie: try turning password locking off and back on perhaps?
09:04
<othermaciej>
Hixie: also: are you using fast user switching by any chance?
09:04
<othermaciej>
(wild-ass guessing here)
09:04
<Hixie>
not using fast-user switching, though i did try toggling that to see if it had an effect
09:04
<Hixie>
the password locking checkbox appears to be permanently disabled
09:04
<Hixie>
probably some sort of corporate policy
09:05
<othermaciej>
do you not have admin rights on your machine?
09:05
<Hixie>
i do but that checkbox is still disabled
09:05
<othermaciej>
I did not know that was possible
09:05
<Hixie>
me either
09:06
<Hixie>
i discovered it about 10 seconds before you suggested toggling it :-)
09:06
Philip`
did entity matching in C++ just as a repeated binary search into a sorted array of entity strings
09:06
<Hixie>
this machine has some weird stuff going on
09:06
<Hixie>
e.g. it has two guest accounts
09:06
<Hixie>
and if i disable login for one, the other one becomes enabled
09:06
<Hixie>
it's quite odd
09:07
<ment>
hsivonen: i'm thinking more of a static trie represented as sparse matrix and then packing it into a small table to avoid trie construction in runtime
09:08
<hsivonen>
ment: I was thinking of packing the data in an int[] in Java
09:08
<hsivonen>
which would be ugly in C++ but would work there, too
09:08
<ment>
hsivonen: hmm what do you mean by that?
09:09
<hsivonen>
ment: using an int[] as memory where pointers are indeces into the array (maybe more than one array for clarity)
09:10
<hsivonen>
(avoiding run-time data structure construction in a way that works in both Java and C++ leads to quite some ugliness)
09:11
<Philip`>
hsivonen: In this case, might it be less ugly to write separate code for Java and C++?
09:11
<hsivonen>
Philip`: maybe
09:11
<ment>
hsivonen: ah, you mean using base + index instead of pointers
09:11
<hsivonen>
ment: right
09:12
<ment>
hsivonen: you still get about ~80 branches before you get to desired charref :)
09:12
<hsivonen>
the construction of the entity tables has probably drawn the most complaints about any part of the C++ version of the parser
09:13
<hsivonen>
ment: not if you use the character as an index and waste memory by having a lot of empty slots
09:14
<Philip`>
Just special-case &nbsp; and then everything else is very rare and doesn't need to be fast :-)
09:14
<hsivonen>
I've also considered using binary search plus then linear search outwards from the index binary search found
09:14
<ment>
hsivonen: you don't if you pack the transition matrix (256 * number of state) into smaller ones with overlapping states
09:14
<hsivonen>
as a way to establish the search window in a naive table
09:15
<ment>
let's make a competition :) faster lookup algorithm wins
09:15
<hsivonen>
you don't need to make it 256 wide
09:17
<ment>
btw, http://ibawizard.net/~thement/pth/html5/
09:19
<hsivonen>
ment: where do you keep the data on which entities require ;?
09:19
<ment>
hsivonen: uh, come again?
09:20
<ment>
ah, the ';'
09:20
<hsivonen>
ment: where do you keep data on which entities require a trailing semicolon
09:21
<ment>
i had no idea there was such a case
09:25
<Philip`>
"&alphax &gtx" = "&alphax >x"
09:25
<Philip`>
I hope you weren't expecting a modicum of consistency here
09:26
<hsivonen>
ment: you didn't notice that the entity table has duplicates of some entities but with a trailing semicolon?
09:26
<hsivonen>
and some only have the version with the semicolon
09:26
<ment>
hsivonen: no, i didn't go through them one-by-one
09:26
<hsivonen>
so longest match won't match unless there's the semicolon
09:27
<pradalvr>
Hi crink !!! over here
09:28
<ment>
hsivonen: i thought that the ref regex was \&[a-zA-Z]+;?
09:28
<ment>
hsivonen: with parser error when semicolon is missing
09:28
<hsivonen>
ment: everything is more complicated than it first seems
09:28
<crink>
pradalvr: yes
09:30
<pradalvr>
whats this channel about
09:30
<ment>
hsivonen: thanks for pointing that out btw
09:31
<crink>
pradalvr: The Web Hypertext Application Technology Working Group (WHATWG) is a growing community of people interested in evolving the Web. It focuses primarily on the development of HTML and APIs needed for Web applications.
09:32
<pradalvr>
damn that was smart
09:32
<jgraham>
pradalvr, ment See /topic (for quite different reasons)
09:33
<ment>
... is growing community of people reverse-engineering current browsers. It focuses primarily on the development of more realistic standards.
09:54
<pradalvr>
I am having a problem with my blog
09:54
<pradalvr>
damn it all to hell
09:54
<pradalvr>
i cant get my sideshow to work
09:56
<pradalvr>
then again.. maybe not.. y'alls site have Result: 49 errors / 3 warnings
10:00
<annevk>
oh, hybi was last night? makes sense I suppose
10:01
<annevk>
oh well, I was too jetlagged anyway
10:01
<hsivonen>
was there any conclusion at hybi?
10:04
<annevk>
not sure
10:05
<hsivonen>
does the X3D WebGL JS library have any check for native support of X3D?
10:07
<Hixie>
othermaciej: turns out it was some internal google thing that screwed up my config
10:07
<othermaciej>
Hixie: that explains it
10:08
<annevk>
all I can find is https://datatracker.ietf.org/meeting/76/materials.html#wg-hybi
10:08
<Hixie>
all fixed now
10:08
<othermaciej>
hsivonen: did you see the discussion in the X3D bug Sam filed?
10:08
<othermaciej>
hsivonen: (not that this will answer your question)
10:09
<hsivonen>
othermaciej: yes
10:10
<othermaciej>
hsivonen: do you think either of Sam's suggestions are a good idea?
10:11
<othermaciej>
I'm still not entirely sure why X3D inline in a Web page is a super interesting use case, cause I went to the other session in parallel with that one
10:11
<pradalvr>
Result: 49 errors / 3 warnings
10:12
<pradalvr>
on you guys site
10:12
<annevk>
pradalvr, pointer?
10:13
<pradalvr>
aww, fixed
10:14
hsivonen
tries to work out what two suggestions Sam has made
10:15
<pradalvr>
Now can someone help me with mine PLEASE
10:16
<hsivonen>
othermaciej: I think neither suggestion is a good idea
10:17
<hsivonen>
othermaciej: I'm not particularly interested in deoptimizing any part of the parser for the sake of a most-favored JS library
10:17
<hsivonen>
othermaciej: and I don't want to add more interned string footprint and get complaints from other Gecko devs due to me adding too many interned strings
10:20
<Philip`>
Sounds like HTML5's approach for integrating SVG and MathML is not sufficiently scalable for future centralised extensibility
10:20
<hsivonen>
SVG and MathML were grandfathered
10:21
<hsivonen>
future centralized extensibility should happen within the constraints of HTML, IMO
10:21
<othermaciej_>
sorry I got disconnected for a sec
10:21
othermaciej
checks logs
10:22
<othermaciej>
hmm looks like my comments got lost
10:23
<othermaciej>
hsivonen: seems like those both refer to the "special case X3D like SVG" suggestion?
10:23
<annevk>
hsivonen, even with those constraints you'd get more interned strings, no?
10:23
<othermaciej>
hsivonen: or was one of them about the "tag with uppercase letter and xmlns attribute triggers magic XML-like mode" suggestion?
10:24
<hsivonen>
othermaciej: the upper case trigger was what I meant by "deoptimizing"
10:24
<othermaciej>
hsivonen: I see, cause you'd have to scan every tag? (or at least every tag with an xmlns attribute present)
10:24
<hsivonen>
annevk: potentially, yes.
10:26
<hsivonen>
othermaciej: if the first letter of a tag name is in upper case, how do I know if the name is going to be a known one?
10:26
<othermaciej>
with the HTML5 solution, you could in theory only lazily intern the strings for vocabularies that you can only enter via a unique root element
10:27
<othermaciej>
hsivonen: I suppose with Sam's proposal, you would not know what element to create until you parse the attributes
10:27
Philip`
notes that making the language partially case-sensitive seems a horrid idea
10:27
<hsivonen>
othermaciej: not knowing until then is very unattractive
10:27
<othermaciej>
it's probably worth adding this fact-based information to the bug
10:28
<Philip`>
(in terms of complexity and inconsistency in the language itself, regardless of implementation concerns)
10:28
<othermaciej>
adding a completely X3D-specific hook seemed unappealing to me, but I hadn't thought through the effects of the case hack
10:31
hsivonen
heads away from the computer
10:33
jgraham
tends to agree with Philip`
10:34
<jgraham>
Irrespective of the practial problems with implementation the usability issues with the proposal seem overwhelming
10:38
<Philip`>
Usability issues (positive or negative) should take priority over implementation issues anyway, so it seems more important to focus on the former
10:46
jgraham
wonders if HTMLWG charter really allows for a task force that requires attendance of telecons
10:56
<Lachy>
jgraham, no, the HTML WG's charter doesn't
12:03
<annevk>
I think a hook for structured clones might be useful regardless of whether we split out <canvas>
12:04
<annevk>
It might be somewhat useful to be able to construct a FormData object in the UI thread and pass it to a network worker when you're done.
12:05
<Philip`>
Can't it be sent as a classless object containing more primitive types?
12:07
<annevk>
in that case the worker would have to convert it
12:07
<Philip`>
If you could send an array of Blobs and DOMStrings then it sounds easy enough
12:07
<Philip`>
(or whatever the more primitives types are)
12:08
<annevk>
i guess
12:08
<Philip`>
and then implementors wouldn't have to worry about how to efficiently transfer the more complex mutable structure across threads
12:08
<annevk>
FormData is not mutable
12:08
<annevk>
at least not currently
12:08
<annevk>
actually, it is mutable I suppose
12:09
<annevk>
mu
12:09
<Philip`>
"The FormData object will get a single method called append()" - append sounds like mutation :-)
12:09
Philip`
wonders if there's a description of FormData anywhere other than annevk's blog
12:09
<annevk>
some email on public-webapps
12:10
annevk
is adding it to XHR2 as a short break of CSSOM activities
12:14
<virtuelv>
in looking at the (w3) editors draft of html5, I see there is no actual description of channel messaging
12:16
<annevk>
chapter 8.3?
12:17
<virtuelv>
yes
12:17
<virtuelv>
the interfaces are more than adequately described, but the purpose and use for channel messaging is not
12:19
<hsivonen>
so it looks like Closure adds its own custom attributes without prefixing them with data-
12:24
<virtuelv>
speaking of custom attributes
12:24
<virtuelv>
palm pre with its x-mojo attributes
12:25
<virtuelv>
does anyone know if the framework uses those to generate dom, or whether it just renders native widgets in-place?
12:25
<virtuelv>
(and on 8.3: http://www.w3.org/Bugs/Public/show_bug.cgi?id=8255 )
15:01
<annevk>
Philip`, FormData is now a concept in an editor's draft as well
15:04
<cardona507>
good morning all
15:05
<annevk>
I guess I should spec a rough draft of timeouts as well
15:21
<zcorpan_>
hmm, setting onclick to a string in ie doesn't throw, but then doesn't do anything magic (like in opera)
15:21
<zcorpan_>
setting onclick to 1 throws in ie
15:32
<JonathanNeal>
Really? Beautiful HTML?
15:45
<JonathanNeal>
http://css-tricks.com/examples/CleanCode/Beautiful-HTML.png <-- it may not be required, but isn't a heading still fitting here?
15:56
<JonathanNeal>
not beautiful :-|
15:56
<annevk>
hmm, should timeout dispatch on .upload too?
16:34
<annevk>
I don't really like the FileReader API
16:39
<jgraham>
annevk: link?
16:40
<annevk>
http://dev.w3.org/2006/webapi/FileAPI/#dfn-filereader
16:45
<jgraham>
It seems... odd.
16:45
<jgraham>
I don't know if it is good or bad
18:12
<ment>
are there any test suites for html5?
18:13
<Philip`>
For any particular parts of it?
18:14
<ment>
just to test the parser & tokenizer to check if i've missed anything
18:14
<Philip`>
http://code.google.com/p/html5lib/source/browse/#hg/testdata
18:15
<Philip`>
Format is documented at http://wiki.whatwg.org/wiki/Parser_tests
18:15
<Philip`>
('tokenizer' and 'tree-construction' directories are relevant)
18:15
<ment>
nice, thanks
18:17
<ment>
hmm does html5 parser have to be error-reporting?
18:19
<Philip`>
No
18:19
<Philip`>
The spec doesn't put any requirements on parsers at all
18:19
<Philip`>
only on things like browsers and validators, which may use parsers
18:20
<Philip`>
(Validators have to report parse errors (I think), but browsers don't, and if you're using a parser in a standalone context then you can do whatever you feel like)
18:20
<ment>
yes, validators should be error-reporting :)
18:53
<zcorpan_>
http://forums.whatwg.org/viewtopic.php?t=4164 (about canvas)
20:43
<dw>
hi there. is there some way to force immediate update of the canvas element? i'm drawing to it rapidly from a setInterval(), and it seems, if i add another unrelated setInterval() that updates another part of the element, it stops drawing entirely
20:44
<dw>
it seems to be coalescing updates. if i disable the second setInterval, things work as expected
20:45
<TabAtkins>
It *will* coalesce updates, if I recall correctly, as an automatic optimization. I'm not certain how to force a redraw, though.
20:48
<dw>
i seem to remember something about pushstate/popstate. might investigate that
20:49
<Philip`>
dw: What browser are you testing in?
20:49
<dw>
safari and firefox on os x
20:50
<dw>
actually, there might be some interference between the drawing functions and the context state
20:50
<Philip`>
As far as I'm aware, they should redraw the canvas whenever it's been changed and no scripts are currently running
20:50
<Philip`>
(Opera sometimes redraws in the middle of a script, after a certain time period)
20:50
<dw>
aha! stupid..
20:50
<dw>
globalCompositeOperation was not being reset
20:51
<dw>
sorry, false alarm :)
20:51
<Philip`>
No problem :-)
20:51
<dw>
thank you!
22:43
<mpilgrim>
got this question from someone at my presentation, didn't know the answer:
22:43
<mpilgrim>
"is it possible to start playing <video> from the middle without loading it from begining to this point?"
22:46
<Lachy>
mpilgrim, I don't think that's possible yet, but I recall there was some work being done on that issue
22:47
<Lachy>
mpilgrim, there's a thread about that here. http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-April/019516.html
22:49
<Lachy>
I think there were other threads too
22:50
<Dashiva>
Isn't that just up to the user agent?
22:50
<Dashiva>
The spec covers seeking
22:51
<mpilgrim>
lachy: thanks
22:51
<mpilgrim>
dashiva: i couldn't even work out the proper events to get the video to play from a specific time
22:51
<mpilgrim>
i set the video.currentTime property
22:51
<mpilgrim>
and called video.play()
22:51
<mpilgrim>
but i couldn't seem to do all that at the right time
22:51
<mpilgrim>
not sure what the coverage of video API events is
22:52
<Dashiva>
Many things that could go wrong
22:52
<mpilgrim>
indeed
22:52
<Dashiva>
Lack of seeking support in the network, lack of seeking support in the UA, low resolution on the seekable sections, bugs...
22:54
<mpilgrim>
ok, i followed up with them on twitter, and pointed them to the thread lachy gave
22:54
<mpilgrim>
i was surprised by how many good questions there were from the audience
22:54
<mpilgrim>
this was at the Google Developer Day in Moscow
22:55
<Dashiva>
Is the test page you're using open?
22:55
<mpilgrim>
it was just a local page
22:55
<mpilgrim>
i could publish it if you want to debug it
22:56
<mpilgrim>
(surprised, only because at other conferences, i've gotten minimal questions. in moscow i couldn't even finish my slides, and we spent another 45 minutes in the hallway answering followup questions. it was awesome)
22:56
<Dashiva>
Hehe
22:56
<Dashiva>
Just curious, and not curious enough to create my own test page
22:56
<mpilgrim>
heh
22:56
<mpilgrim>
yeah, i think i'm gonna call it a night soon
22:56
<mpilgrim>
i'm not even sure what time it's supposed to be right now
22:56
<Dashiva>
I'm guessing 2 or 3 am
22:57
<mpilgrim>
i woke up in moscow, now i'm in prague
22:57
<Dashiva>
Oh
22:57
<mpilgrim>
no, i think it's closer to midnight
22:57
<Dashiva>
Then it's just midnight
22:57
<mpilgrim>
did you know they have hotels inside the airport?
22:57
<mpilgrim>
this is the best invention ever
22:58
<ttepasse>
The Mark Pilgrim World Tour?
22:59
<mpilgrim>
oh, my trip was trivial compared to some of the google wave guys
22:59
<mpilgrim>
they've been traveling non-stop for over a month
22:59
<ttepasse>
Ouch.
23:00
<Dashiva>
Media elements are probably going to be a huge source of questions in the future as well
23:00
<mpilgrim>
something like 6 countries in 4 weeks
23:00
<mpilgrim>
that's just insane
23:00
<Dashiva>
Considering stuff like a play() algorithm that doesn't have a single step that actually mentions starting to play
23:00
<mpilgrim>
video sucks
23:00
<mpilgrim>
we should all go back to animated gifs
23:00
<ttepasse>
http://code.google.com/intl/de/events/developerday/2009/ doesn't look so full.
23:01
<Dashiva>
motion jpeg
23:01
<Dashiva>
wave audio
23:01
<mpilgrim>
ttepasse: no, there were other events, not just GDD
23:01
<ttepasse>
Replacing JPEGs with AJAX.
23:01
<mpilgrim>
trust me, they've been on the Google Wave World Tour
23:02
<ttepasse>
Yeah, i just could't found some information on that.
23:07
<Dashiva>
Aren't there enough people in the know to split up?
23:09
<mpilgrim>
dunno
23:09
<mpilgrim>
but presenting is a skill. people tend to specialize
23:09
<mpilgrim>
these are relatively high-profile presentations
23:09
<mpilgrim>
google i/o had 1000 people
23:09
<mpilgrim>
GDD Prague had about 900
23:09
<mpilgrim>
GDD Moscow had over 1500
23:14
<mpilgrim>
http://www.youtube.com/watch?v=v_UyVmITiYQ has been watched over 6 million times
23:14
<mpilgrim>
or at least started (it's 80 minutes long)