Options:
- # Session Start: Mon Oct 13 00:00:00 2008
- # Session Ident: #whatwg
- # [09:38] * Attempting to rejoin channel #whatwg
- # [09:38] * Rejoined channel #whatwg
- # [09:38] * Topic is 'WHATWG (HTML5) -- http://www.whatwg.org/ -- Logs: http://krijnhoetmer.nl/irc-logs/ -- Please leave your sense of logic at the door, thanks! -- gsnedders had green hair, photos coming soon :-)'
- # [09:38] * Set by gsnedders on Thu Oct 02 03:13:38
- # [09:39] <krijnh> (sorry for downtime)
- # [09:40] <annevk2> I assume you worked on adding a hundred new cool features? :p
- # [09:43] * Joins: roc (n=roc@121-72-164-185.dsl.telstraclear.net)
- # [09:48] * Joins: aaronlev (n=chatzill@g227074068.adsl.alicedsl.de)
- # [09:48] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [09:49] <zcorpan> good morning guys
- # [09:50] * Joins: hdh0 (n=hdh@58.187.63.5)
- # [09:52] <wilhelm> 'Morning. (c:
- # [10:03] * Joins: KevinMarks (n=KevinMar@231.sub-70-192-96.myvzw.com)
- # [10:09] * Quits: hdh (n=hdh@58.187.63.5) (Read error: 110 (Connection timed out))
- # [10:12] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:19] * Quits: nessy (n=nessy@124-168-133-222.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [10:20] * Quits: erlehmann (n=nils@dslb-088-074-203-032.pools.arcor-ip.net)
- # [10:54] <zcorpan> hmm. <h1><p><span><h1>
- # [10:54] <zcorpan> should the h1 be nested or not
- # [10:55] * Joins: peter-proc (n=retep@procurios.xs4all.nl)
- # [10:57] <zcorpan> webkit now nests <p><font><h1>x
- # [11:01] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:11] * Joins: webben (n=benh@nat/yahoo/x-29be3d4c497b9b67)
- # [11:26] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:31] * Quits: aboodman (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net)
- # [11:47] * Joins: othermaciej (n=mjs@c-69-181-43-20.hsd1.ca.comcast.net)
- # [11:52] * Joins: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [12:02] * Parts: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [12:06] * Joins: webben_ (n=benh@nat/yahoo/x-1a0549c114d11c69)
- # [12:12] * Joins: nessy (n=nessy@124-168-133-222.dyn.iinet.net.au)
- # [12:20] * Quits: webben (n=benh@nat/yahoo/x-29be3d4c497b9b67) (Read error: 110 (Connection timed out))
- # [12:25] * Quits: aaronlev (n=chatzill@g227074068.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [12:26] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("Leaving")
- # [12:26] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [12:44] * Joins: webben (n=benh@nat/yahoo/x-9f5463a279db3fa1)
- # [12:50] * Quits: webben_ (n=benh@nat/yahoo/x-1a0549c114d11c69) (Read error: 60 (Operation timed out))
- # [12:55] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) (Read error: 110 (Connection timed out))
- # [12:55] * Joins: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [13:05] <hsivonen> Hixie: seen this? https://bugzilla.mozilla.org/show_bug.cgi?id=459395
- # [13:10] <hsivonen> http://twitter.com/redwall_hp/statuses/957115107
- # [13:17] <Lachy> LOL. I wonder what made him thing XFrames is part of the HTML5 work
- # [13:20] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [13:25] * Quits: roc (n=roc@121-72-164-185.dsl.telstraclear.net)
- # [13:26] * Quits: webben (n=benh@nat/yahoo/x-9f5463a279db3fa1)
- # [13:31] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) (Remote closed the connection)
- # [13:32] * Joins: roc (n=roc@121-72-164-185.dsl.telstraclear.net)
- # [13:40] * Quits: KevinMarks (n=KevinMar@231.sub-70-192-96.myvzw.com) ("The computer fell asleep")
- # [13:43] * Joins: webben (n=benh@nat/yahoo/x-1bded340166a5818)
- # [13:47] * Quits: nessy (n=nessy@124-168-133-222.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [14:06] * Joins: erlehmann (n=nils@dslb-088-074-203-032.pools.arcor-ip.net)
- # [14:09] * Joins: annevk3 (n=annevk@77.163.243.203)
- # [14:10] * Quits: annevk2 (n=annevk@77.163.243.203) (Read error: 104 (Connection reset by peer))
- # [14:46] * Quits: eric_carlson_ (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [14:58] <hsivonen> yay. a new standards suck episode
- # [15:11] * Joins: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de)
- # [15:36] * Quits: Mustafa51 (n=mustafa@122.165.2.34)
- # [15:38] * Quits: renke3 (n=user@Le824.l.pppool.de) (Remote closed the connection)
- # [15:38] * Joins: renke2 (n=user@Le824.l.pppool.de)
- # [15:51] * Joins: eric_carlson (n=ericc@17.202.33.235)
- # [15:53] * Quits: eric_carlson (n=ericc@17.202.33.235) (Client Quit)
- # [15:54] * Joins: eric_carlson (n=ericc@17.202.33.235)
- # [16:03] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [16:16] * Joins: csarven (n=csarven@dhcp-0-18-f8-35-d5-97.cpe.quickclic.net)
- # [16:18] * Quits: maikmerten (n=merten@ls5laptop14.cs.uni-dortmund.de) (Remote closed the connection)
- # [16:23] * Joins: smerp (n=smerp@66.192.95.199)
- # [16:23] <Lachy> http://tech.slashdot.org/comments.pl?sid=993341&cid=25353353
- # [16:28] <ehird> Lachy: That's slightly ridiculous.
- # [16:28] <ehird> Just about -nothing- supports <video> presently.
- # [16:28] <ehird> (Also, google have a vested interest in adding petty, easily-breakable barriers to downloading: because the big megacorps want to feel safe.)
- # [16:32] <Lachy> ehird, yeah, right now, the suggestion isn't realistic. But give it a few years, when browsers have actually shipped with support for <video> and the codec issue has settled a bit, they could begin migrating to it
- # [16:32] <ehird> Lachy: You're forgetting about IE.
- # [16:33] <ehird> (Which I commend you for - I wish I could.)
- # [16:33] <ehird> Lachy: Even so, see my last line.
- # [16:34] * Joins: Mustafa51 (n=mustafa@122.164.27.210)
- # [16:35] * Joins: hdh00 (n=hdh@58.187.63.5)
- # [16:36] <Philip`> It's interesting to see the lengths the BBC iPlayer has gone to to prevent people downloading the iPhone-compatible MPEG4 versions of programmes on anything other than an iPhone, with strict checks on the exact sequence of HTTP requests made
- # [16:36] <Lachy> ehird, which "last line" are you referring to?
- # [16:37] <Philip`> but then they seem to have given up months ago
- # [16:37] <ehird> <ehird> (Also, google have a vested interest in adding petty, easily-breakable barriers to downloading: because the big megacorps want to feel safe.)
- # [16:37] <Philip`> and you can find plenty of simple scripts that you can give a URL and it'll download the MPEG4 onto your PC
- # [16:37] <ehird> Of course.
- # [16:37] <hsivonen> I wonder what the YouTube attitude towards old versions of Flash Player is
- # [16:37] <Philip`> so their protection has totally failed
- # [16:37] <ehird> But as long as they have stupid checks that mean nothing, the feeling of safety is given to those who request it.
- # [16:37] <ehird> If you see what I mean.
- # [16:37] <Lachy> ehird, since the megacorps don't own most of the content on YouTube, despite what some of them might like to claim, I find that difficult to believe
- # [16:38] <hsivonen> that is, do they feel that they need to support old versions that have security holes
- # [16:38] <ehird> Lachy: I'm talking about the recent collaborations with them.
- # [16:38] <gpy> is <br/> underestimated?
- # [16:40] <Lachy> I wonder where I can find those CBS videos on YouTube, and if they're available outside the USA?
- # [16:41] * Joins: billmason (n=billmaso@ip199.unival.com)
- # [16:41] <ehird> Lachy: As for the latter half: unlikely.
- # [16:41] <Lachy> http://www.youtube.com/blog?entry=F1xABdzKby4
- # [16:41] <Lachy> nope, they're not available in Norway at least
- # [16:41] <ehird> *shrug* Media sucks. I'm sure we all know this...
- # [16:42] <Lachy> which sucks, especially given that the shows they've started with are really old
- # [16:42] <ehird> Not accessible in the UK, either.
- # [16:42] <Lachy> it's not like they're shows which have yet to air in other countries
- # [16:42] <ehird> Lachy: YouTube probably couldn't afford the extra cash for extra country licenses or whatever other rubbish CBS forced on them
- # [16:43] <ehird> [[You may see in-stream video ads (including pre-, mid- and post-rolls) embedded in some of these episodes; this advertising format will only appear on premium content where you are most comfortable seeing such ads. In order to make this clear to you, we've labeled all full-length videos with a Film Strip symbol ( ) so you'll know exactly what kind of content you're choosing to watch and what ads you might see. (To see an example of the badge on search results,
- # [16:43] <Lachy> I'll see if I can bypass the regional lockout...
- # [16:43] <ehird> Ha. Ha. Ads! Wonderful!
- # [16:43] <ehird> Lachy: Hulu is easily bypassable, iirc, so I imagine this is too.
- # [16:44] <Philip`> CBS might have exclusive distribution licences with people in other countries, and be unable to let YouTube distribute things worldwide
- # [16:44] <ehird> Ahhh. That seems most likely.
- # [16:45] * Philip` noticed a while ago that Comedy Central seems to block access from the UK specifically, rather than permitting specific countries, which seems slightly odd
- # [16:47] <Philip`> Ah, right, that's just because Channel 4 now shows their shows in the UK
- # [16:47] <hsivonen> territory-scoped media distribution deals are so last century
- # [16:48] <Lachy> sweet, I've successfully bypassed the regional restrictions
- # [16:48] <Lachy> :-)
- # [16:48] <Lachy> using ssh tunnelling through a server in the US
- # [16:50] <Lachy> hsivonen, pretty much all deals made by large media companies these days are using last centuries business models
- # [16:50] * hsivonen is still wondering if the iTunes Movie Rental "international later this year" ends up meaning a couple of English-language countries
- # [16:51] <ehird> <Lachy> hsivonen, pretty much all deals made by large media companies these days are using last centuries business models
- # [16:51] <ehird> Truth!
- # [16:51] <Philip`> Lachy: Doesn't that mean they're this century's business models too?
- # [16:51] <ehird> Philip`: No, because people are starting to get a clue and evolving them.
- # [16:52] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [16:53] <Lachy> no, I mean they're business models designed for last century's technology and distribution networks, being brutally applied to this century's
- # [16:54] * Quits: hdh0 (n=hdh@58.187.63.5) (Read error: 110 (Connection timed out))
- # [16:54] <annevk3> hsivonen, the Wii has Flash Player 7
- # [16:54] * Joins: gsnedders (n=gsnedder@lal69-1-82-67-11-148.fbx.proxad.net)
- # [16:55] <hsivonen> annevk3: that's unfortunate
- # [16:55] <annevk3> YouTube works fine on the Wii
- # [16:55] <gsnedders> greetings from France!
- # [16:55] <hsivonen> gsnedders: starting TPAC early? :-)
- # [16:56] <gsnedders> hsivonen: With my uncle for the week before
- # [16:56] <ehird> Proposal: HTML5 is said to be productionready along with a new standard of "Media Business Practices 21" :D
- # [17:03] * Quits: webben (n=benh@nat/yahoo/x-1bded340166a5818)
- # [17:06] * Quits: Mau`werk (n=ano@a80-100-71-209.adsl.xs4all.nl) ("Disconnected...")
- # [17:08] <takkaria> Philip`: oh, I wasn't aware it was so trivially easy to get around the iplayer stuff. useful, that
- # [17:08] * gsnedders wonders why one or two phone numbers won't sync on to his phone
- # [17:10] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [17:14] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
- # [17:19] * Joins: aaronlev (n=chatzill@g228078013.adsl.alicedsl.de)
- # [17:30] * Joins: hdh000 (n=hdh@118.71.124.188)
- # [17:30] * Quits: hdh00 (n=hdh@58.187.63.5) (Read error: 113 (No route to host))
- # [17:31] <gsnedders> Ergh. Need to write a second personal statement for Cambridge.
- # [17:34] * Quits: peter-proc (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [17:43] * gsnedders updates <http://stuff.gsnedders.com/http-parsing.html> for the first time in ages
- # [17:44] <gsnedders> (Only section 3 and the to-do list has been touched)
- # [17:46] <gsnedders> Interestingly, behaviour varies a lot for one or two things
- # [17:47] <gsnedders> HTTP/1.1 12 Foobar
- # [17:47] <gsnedders> How should that be treated?
- # [17:48] <gsnedders> Saf/Leopard treats it as an invalid HTTP/1.1 response, and treats it as HTTP/0.9 (i.e., it is all data, no headers)
- # [17:49] <gsnedders> Firefox treats it as 12
- # [17:50] <gsnedders> So does Opera
- # [17:50] <gsnedders> Even more varied over HTTP/1.1 1234 Foobar
- # [17:50] <gsnedders> Saf/Leopard again invalid
- # [17:51] <gsnedders> Firefox status-code: 1234 reason-phrase: "Foobar"
- # [17:51] <gsnedders> Op: status-code: "123", reason-phrase: "4 Foobar"
- # [17:52] <gsnedders> IE follows Fx
- # [17:52] <gsnedders> (or, more likely, Fx follows IE)
- # [17:53] <gsnedders> (and both probably follow NN)
- # [17:53] <gsnedders> IE, Op and Fx all use null-terminated strings for header values
- # [17:53] * Joins: dglazkov (n=dglazkov@nat/google/x-08e3e6e4ee966d29)
- # [17:54] <gsnedders> With no reason-phrase given, IE defaults to "Close"
- # [17:54] <gsnedders> Which I guess it uses as the next thing after any *LWS
- # [17:56] <gsnedders> IE uses a list of headers that can be concatenated with ", ", everything else uses a list of headers to only use the first of
- # [18:03] * Joins: smedero (n=smedero@pia145-154.pioneernet.net)
- # [18:03] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [18:05] * Joins: KevinMarks (n=KevinMar@72-254-104-51.client.stsn.net)
- # [18:09] * Joins: Maurice` (i=copyman@cc90688-a.emmen1.dr.home.nl)
- # [18:14] * Maurice` is now known as Maurice
- # [18:17] * Quits: csarven (n=csarven@dhcp-0-18-f8-35-d5-97.cpe.quickclic.net) (Read error: 110 (Connection timed out))
- # [18:20] * Quits: smedero (n=smedero@pia145-154.pioneernet.net)
- # [18:20] * Quits: gsnedders (n=gsnedder@lal69-1-82-67-11-148.fbx.proxad.net) ("Killin' teh intarwebs")
- # [18:24] * Joins: webben (n=benh@nat/yahoo/x-bc494863b38cae5d)
- # [18:47] * Joins: epeus (n=KevinMar@72-254-104-51.client.stsn.net)
- # [18:48] * Quits: KevinMarks (n=KevinMar@72-254-104-51.client.stsn.net) (Connection reset by peer)
- # [18:51] * epeus is now known as KevinMarks
- # [19:04] * Joins: weinig (n=weinig@17.244.18.100)
- # [19:07] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [19:09] * fakeolliej is now known as olliej
- # [19:15] * Joins: weinig_ (n=weinig@17.203.15.250)
- # [19:16] * Joins: gsnedders (n=gsnedder@lal69-1-82-67-11-148.fbx.proxad.net)
- # [19:18] <gsnedders> Anyone in France with a Freebox around?
- # [19:19] * gsnedders needs to get the wifi password somehow
- # [19:21] * Joins: aboodman (n=aboodman@nat/google/x-6cdf8c31a420e6ba)
- # [19:25] * Quits: gsnedders (n=gsnedder@lal69-1-82-67-11-148.fbx.proxad.net) ("Killin' teh intarwebs")
- # [19:29] * Joins: gsnedders (n=gsnedder@lal69-1-82-67-11-148.fbx.proxad.net)
- # [19:29] <gsnedders> Yay! Got password! It works!
- # [19:30] * Quits: weinig (n=weinig@17.244.18.100) (Read error: 110 (Connection timed out))
- # [19:56] * Joins: smedero (n=smedero@mdp-nat251.mdp.com)
- # [20:03] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
- # [20:05] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [20:10] * Quits: webben (n=benh@nat/yahoo/x-bc494863b38cae5d) (Read error: 60 (Operation timed out))
- # [20:20] <annevk3> ah, so Dion did leave Google... somehow that was not entirely clear to me after watching the video on ajaxian.com
- # [20:30] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [20:37] * Joins: franksalim (n=frank@adsl-76-202-78-147.dsl.pltn13.sbcglobal.net)
- # [20:43] * Joins: mcarter (n=mcarter@adsl-71-135-117-131.dsl.pltn13.pacbell.net)
- # [21:07] * Joins: smerp_ (n=smerp@66.192.95.199)
- # [21:09] * Joins: smerp__ (n=smerp@66.192.95.199)
- # [21:19] <gsnedders> Ergh:
- # [21:19] <gsnedders> The photograph should:
- # [21:19] <gsnedders> be in portrait orientation (with a height to width ratio of 6:5)
- # [21:19] <gsnedders> be in colour
- # [21:19] <gsnedders> have a plain light coloured background
- # [21:19] <gsnedders> show your head and the top of your shoulders only, with your face central on the picture
- # [21:19] <gsnedders> be of good colour definition, not too dark or light
- # [21:19] <gsnedders> be in focus
- # [21:20] <gsnedders> show your face un-obscured (no sunglasses, hat or scarf) unless you wear glasses or cover your hair for religious reasons
- # [21:20] <gsnedders> show you acting naturally, not smoking, not with other people or in a 'holiday snap'
- # [21:20] <gsnedders> I don't think I have any that meet that description
- # [21:20] <gsnedders> Or at least, any with me with long-ish hair
- # [21:23] * Quits: weinig_ (n=weinig@17.203.15.250) (Read error: 104 (Connection reset by peer))
- # [21:23] * Joins: weinig (n=weinig@17.203.15.250)
- # [21:23] * Quits: smerp (n=smerp@66.192.95.199) (Read error: 110 (Connection timed out))
- # [21:24] * Parts: smedero (n=smedero@mdp-nat251.mdp.com)
- # [21:24] * Joins: smedero (n=smedero@mdp-nat251.mdp.com)
- # [21:26] * Quits: smerp_ (n=smerp@66.192.95.199) (Connection timed out)
- # [21:26] * Quits: roc (n=roc@121-72-164-185.dsl.telstraclear.net)
- # [21:37] * Joins: webben (n=benh@91.84.226.101)
- # [21:38] * Quits: smerp__ (n=smerp@66.192.95.199)
- # [21:43] * Joins: smerp (n=smerp@66.192.95.199)
- # [21:43] * Joins: webben_ (n=benh@dip5-fw.corp.ukl.yahoo.com)
- # [21:44] <krijnh> annevk3: sorry, not really :)
- # [21:47] <gsnedders> Lachy: I'm going to have a book we were talking about a few months back at TPAC :)
- # [21:58] * Quits: webben (n=benh@91.84.226.101) (Read error: 110 (Connection timed out))
- # [21:58] * Quits: dglazkov (n=dglazkov@nat/google/x-08e3e6e4ee966d29) (Read error: 104 (Connection reset by peer))
- # [21:59] * Joins: dglazkov (n=dglazkov@nat/google/x-009a57c1267092e7)
- # [22:16] <gsnedders> Is it just me or will the video on <http://standardssuck.org/w3c-standardization-process> not load?
- # [22:17] * Quits: weinig (n=weinig@17.203.15.250) (Read error: 104 (Connection reset by peer))
- # [22:17] * Joins: weinig (n=weinig@17.203.15.250)
- # [22:17] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Connection timed out)
- # [22:18] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [22:18] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:25] * Joins: roc (n=roc@202.0.36.64)
- # [22:26] <gsnedders> I need to get a real macro lens
- # [22:27] * Quits: weinig (n=weinig@17.203.15.250) (Read error: 104 (Connection reset by peer))
- # [22:27] * Joins: weinig (n=weinig@17.203.15.250)
- # [22:29] * Joins: Iceq2 (n=Iceq2@dsl4E5C745C.pool.t-online.hu)
- # [22:30] * Quits: Iceq2 (n=Iceq2@dsl4E5C745C.pool.t-online.hu) (Client Quit)
- # [22:40] <Philip`> gsnedders: It's not just you, since it says "Plug-in content" to me, but that's not surprising since I don't have any working plugins
- # [22:40] <gsnedders> :P
- # [22:49] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [22:56] <erlehmann> had they used <video>
- # [22:57] <gsnedders> My browser wouldn't support it at all :)
- # [22:58] <Philip`> Just link to an MPEG4 download - it's really not that hard :-p
- # [23:04] * Joins: nessy (n=nessy@124-168-133-222.dyn.iinet.net.au)
- # [23:08] * Quits: gsnedders (n=gsnedder@lal69-1-82-67-11-148.fbx.proxad.net) ("Killin' teh intarwebs")
- # [23:15] * Joins: onitunes (n=onitunes@cpe-76-87-109-106.socal.res.rr.com)
- # [23:16] <roc> so tell me what you need
- # [23:17] <onitunes> http://developer.apple.com/documentation/Carbon/Conceptual/CoreText_Programming/Overview/chapter_2_section_5.html#//apple_ref/doc/uid/TP40005533-CH3-DontLinkElementID_14
- # [23:17] <onitunes> that's basically the API I'm using on the desktop
- # [23:17] <onitunes> I'm building an in-browser IDE with SproutCore
- # [23:17] <onitunes> but I have to do all of the text manipulation on the server, because the client-side APIs aren't there yet
- # [23:18] <onitunes> I basically have a grip of span tags with one character each
- # [23:18] <onitunes> that fill up the visible area in a scrollable div
- # [23:18] <olliej> onitunes: are you sure this is really a task that is suitable to canvas?
- # [23:18] <onitunes> and as the user scrolls, I update the innerText and span classes to syntax highlight correctly
- # [23:19] <onitunes> to handle text selection, I have a <canvas> tag overlayed and I forward the mouse down to the server, get the results back, and update drawing
- # [23:19] <roc> if you're building a text editor, we probably want to find a way to make contenteditable do what you need
- # [23:19] <onitunes> sorry, this is not HTML
- # [23:19] <onitunes> that whole API sucks
- # [23:19] <onitunes> it's like FrontPage for the browser
- # [23:19] <onitunes> :P
- # [23:19] * Joins: mstange (n=markus@pD957A8D4.dip0.t-ipconnect.de)
- # [23:19] <onitunes> which is the real problem
- # [23:20] <onitunes> you guys are writing for HTML people
- # [23:20] <onitunes> I just want to display text
- # [23:20] <olliej> onitunes: so your solution is to complain about a bitmap api rather than make suggestions for improving contenteditable?
- # [23:20] <onitunes> and basically, I'm working around the browser to get it to do that
- # [23:20] <roc> you really want the browser to understand that you're editing text
- # [23:20] <onitunes> who's complaining?
- # [23:20] <roc> otherwise stuff like IMEs won't work
- # [23:20] * Joins: kingryan (n=ryan@adsl-99-51-220-46.dsl.pltn13.sbcglobal.net)
- # [23:21] <onitunes> I just think it's incredible that text layout metrics are not available in the browser
- # [23:21] <roc> I would like to make them available in the browser, but it's complicated because of issues like font selection
- # [23:21] <onitunes> not anyone's fault, and I'm happy to patch <canvas> to add support for the 5 Core Text objects-
- # [23:21] <onitunes> really, this is not a big API
- # [23:22] <onitunes> anyway, I can do what I'm doing now, because I always have a server
- # [23:22] <roc> Core Text is much more than exposing text layout metrics
- # [23:22] <onitunes> agreed
- # [23:22] <onitunes> but it's pretty fundamental
- # [23:22] <onitunes> stuff
- # [23:23] <onitunes> I would expect JavaScript library authors to wrap it and provide a higher-level API
- # [23:23] <onitunes> but today, we have to wrap even higher-level APIs
- # [23:23] <onitunes> to do things they were never meant to do
- # [23:24] <onitunes> and do inefficiently at that
- # [23:24] <roc> that approach will never work with IMEs so it's simply not the right way to go
- # [23:24] <olliej> onitunes: your approach will not work with IME's. It just won't be possible
- # [23:24] <onitunes> ?
- # [23:24] <olliej> roc: :P
- # [23:24] <onitunes> what does IME have to do with this?
- # [23:24] <olliej> onitunes: international input
- # [23:24] <onitunes> yes, I know what it is
- # [23:24] <Hixie> if you're writing a text editor, you're going to have to use contenteditable or textarea or input type=text, otherwise you won't be accessible to things like voice browsers or other non-graphical user agents
- # [23:24] <onitunes> this has *nothing* to do with text input
- # [23:25] <roc> you said you were writing an IDE, I assumed this was about text editing
- # [23:25] <onitunes> Hixie: I already do the textarea thing
- # [23:25] <Hixie> ok
- # [23:25] <onitunes> but it's dumb
- # [23:25] <onitunes> just there to grab keystrokes
- # [23:25] <roc> maybe you should explain your requirements instead of just telling us what we shoud do
- # [23:25] <onitunes> which I forward on to a server
- # [23:25] <Hixie> so what is it you are trying to do?
- # [23:25] <onitunes> roc: I never said anyone should do aynthing
- # [23:25] <onitunes> I asked about submitting a patch
- # [23:26] <onitunes> Hixie: I want to be able to render an attributed string inside a <canvas> like tag, with functionality equivalent to that exposed by Core Text on Mac OS X
- # [23:26] * Philip` would hope browser developers wouldn't accept patches if they didn't know what you were trying to do which needed that patch
- # [23:26] <roc> tell us what you're trying to achieve, not how you think you should do it
- # [23:26] <olliej> Philip`: we wouldn't
- # [23:26] <Hixie> onitunes: why?
- # [23:27] <Hixie> onitunes: what are you trying to do?
- # [23:27] <onitunes> :/
- # [23:27] <Hixie> note that even if you wrote a patch for mozilla and webkit, you can't do that for microsoft and opera, so at some level you're asking for the spec to change and for the browsers to implement something, so we need to understand what you want and why :-)
- # [23:27] <onitunes> let me turn this around then
- # [23:28] <onitunes> why does Apple provide developers with Core Text?
- # [23:28] <olliej> onitunes: just tell us what you want
- # [23:28] <olliej> to do
- # [23:28] <olliej> onitunes: why is that so hard
- # [23:28] <onitunes> what am I, some Noob who just needs to learn the API?
- # [23:28] <onitunes> I already did that
- # [23:28] <onitunes> "I want to be able to render an attributed string inside a <canvas> like tag, with functionality equivalent to that exposed by Core Text on Mac OS X"
- # [23:28] <Hixie> why?
- # [23:28] <onitunes> why does that matter
- # [23:28] <onitunes> seriously
- # [23:28] <roc> even if he wrote a patch for Mozilla, we aren't just going to take it unless we agree it's a necessary and good API. Taking patches is not free
- # [23:28] <Hixie> because we design APIs to address use cases
- # [23:29] <olliej> onitunes: because there might be a better way to do it
- # [23:29] <olliej> onitunes: supporting hacks is not the task of a standard -- we want sensible solutions to general problems
- # [23:29] <onitunes> that's exactly what Core Text is
- # [23:29] * olliej face palms
- # [23:30] * olliej goes off to do something productive
- # [23:30] <onitunes> "The Core Text framework is an advanced, low-level technology for laying out text and handling fonts."
- # [23:30] <Hixie> CSS is an advanced, low-level technology for laying out text and handling fonts.
- # [23:30] <Hixie> maybe you should use CSS?
- # [23:30] <onitunes> jeez
- # [23:30] <Hixie> it's hard to know what you actually need if you won't tell us :-)
- # [23:30] <onitunes> I do, it sucks
- # [23:30] * Quits: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl) ("Disconnected...")
- # [23:30] <roc> onitunes: you've got key people for three different projects all giving you attention, and you've squandered it
- # [23:30] <onitunes> I don't understand why you guys get to decide what I "need"
- # [23:31] <onitunes> I fail to see how
- # [23:31] <onitunes> I said *exactly* what I wanted, and why
- # [23:31] <Philip`> onitunes: We're asking what you need, not telling you what you need
- # [23:31] <onitunes> I need to be able to lay out styled text within a <canvas> like tag
- # [23:31] <Hixie> why?
- # [23:31] <onitunes> using a programmatic, not DOM-oriented API
- # [23:32] <onitunes> because that's what text layout applications do
- # [23:32] <onitunes> and text editors are, in part, text layout applications
- # [23:32] <Hixie> what is a "text layout application"?
- # [23:32] <onitunes> TextMate
- # [23:32] <onitunes> Emacs
- # [23:32] <onitunes> vi
- # [23:32] <onitunes> terminals
- # [23:32] <onitunes> Adobe InDesign
- # [23:33] <Hixie> text editors are intended to be addressed by contentEditable and CSS; what is it about contentEditable and CSS that can't replicate the functionality of TextMate, Emacs, vi, terminals, InDesign, etc?
- # [23:33] * Joins: tantek (n=tantek@cpe-76-94-195-172.socal.res.rr.com)
- # [23:33] <onitunes> they are DOM-oriented
- # [23:33] <Hixie> right, that's a feature
- # [23:33] <onitunes> for me, it's a bug
- # [23:33] <onitunes> I'm not creating HTML
- # [23:33] <Hixie> why?
- # [23:33] <onitunes> so I have to extract out the text from the HTML
- # [23:33] <Hixie> what are you creating?
- # [23:33] <onitunes> text
- # [23:34] <onitunes> have you seen the madness people have gone through trying to implement syntax highlighting in the browser?
- # [23:34] <Hixie> so what's wrong with using HTML? It's a text markup languae.
- # [23:34] <onitunes> exactly
- # [23:34] <onitunes> MARKUP
- # [23:34] <onitunes> I'm not creating HTML
- # [23:34] <onitunes> or any other kind of markup
- # [23:34] <onitunes> I'm creating raw text, and styling it
- # [23:34] <olliej> eg. marking it up
- # [23:35] * onitunes palms in hands
- # [23:35] <olliej> onitunes: have you tried node.innerText ?
- # [23:35] <onitunes> seriously?
- # [23:35] <onitunes> of course I have
- # [23:35] <roc> Daniel Glazman has implemented a general syntax highlighting package that works with the DOM and HTML
- # [23:35] <Hixie> i'm afraid i am not understanding your request. I encourage you to read our FAQ and post your feedback straight to the mailing list where I can give it a longer and more considered response when I have more time available. FAQ: http://wiki.whatwg.org/wiki/FAQ Mailing list: http://whatwg.org/mailing-list#specs
- # [23:36] <olliej> onitunes: you want to display styled content -- that means markup
- # [23:36] <olliej> onitunes: you don't have to save markup
- # [23:36] <roc> sure, contenteditable etc could be improved, and we'd welcome suggestions on how to do that, but without contenteditable you won't get IME support or accessibility, so your approach of reimplementing text editing from scratch is not the right way to go.
- # [23:36] <onitunes> hmm, styled text != markup
- # [23:37] <onitunes> I guess we'll just have to agree to disagree there
- # [23:37] <olliej> onitunes: yes it does, NSAttributedString (of which you seem so enamoured) is a string with markup
- # [23:37] <roc> (you also won't get the right platform-specific editor UI)
- # [23:37] <onitunes> of course it is
- # [23:37] <onitunes> but it's not DOM nodes
- # [23:37] <onitunes> which is what you're suggesting I use
- # [23:37] <onitunes> along with CSS
- # [23:37] <Hixie> do DOM nodes have cooties or something?
- # [23:38] <olliej> onitunes: yes, because you're in a browser
- # [23:38] <onitunes> then tell me this: why does <canvas> exist?
- # [23:38] <onitunes> why not SVG?
- # [23:38] <olliej> onitunes: you're asking for a non browser technology so that you can create an in browser ide -- do you not see the problem with this?
- # [23:38] * Joins: theskymonkey (n=paulmlew@pool-96-232-135-223.nycmny.fios.verizon.net)
- # [23:38] <Hixie> onitunes: mostly to allow people to render platform games and fractals
- # [23:38] <onitunes> Hixie: then why not SVG?
- # [23:38] <Hixie> onitunes: or to draw graphs
- # [23:39] <Hixie> onitunes: you can't do fractals with SVG
- # [23:39] <onitunes> because retained-mode APIs are high-level
- # [23:39] <Hixie> no
- # [23:39] <onitunes> sometimes, you just want to paint
- # [23:39] <Hixie> canvas is as high-level as svg
- # [23:39] <onitunes> why we can't paint text is beyond me
- # [23:39] <Hixie> it's just for a different set of use cases
- # [23:39] <Hixie> you can paint text
- # [23:39] <Hixie> you just can't measure it very well :-)
- # [23:39] <Hixie> or paint it along a path or to a path
- # [23:40] * Quits: mstange (n=markus@pD957A8D4.dip0.t-ipconnect.de) ("ChatZilla 0.9.83 [Firefox 3.1b2pre/20081012020419]")
- # [23:40] <onitunes> why is there resistance to this?
- # [23:40] <Hixie> to what?
- # [23:40] <onitunes> low-level text rendering in a canvas tag
- # [23:40] <Hixie> canvas already has low-level text rendering
- # [23:41] <onitunes> without layout, it's not worth much
- # [23:41] * Dashiva has bad memories of having to make a bitmap font for text rendering in canvas back in 2006
- # [23:41] <roc> I explained clearly why your approach is not the right direction for text editing.
- # [23:41] <Hixie> it doesn't have metrics because it is as yet still early days and nobody has given a convincing problem they're trying to solve for which we need to expose text metrics
- # [23:41] <onitunes> roc: it's not for text editing
- # [23:41] <Hixie> so what is it for?
- # [23:41] <onitunes> text rendering
- # [23:41] <onitunes> Core Text has nothing to do with editing
- # [23:41] <Hixie> that's what CSS is for
- # [23:41] <Hixie> Core Text has nothing to do with the Web either :-)
- # [23:42] <roc> you have refused to tell us what it actually is for, so we have to guess
- # [23:42] <onitunes> the browser != the web
- # [23:42] <onitunes> and it does have something to do with the browser
- # [23:42] <Hixie> i'm not really sure what that means
- # [23:42] <Hixie> Core Text is a Mac OS specific technology
- # [23:42] <Hixie> it has little to do with browsers in general
- # [23:43] <onitunes> if you say so
- # [23:43] <onitunes> you could say the same about video and audio, but low and behold, there are <video> and <audio> tags
- # [23:43] <onitunes> my original question was: could we make a <text> tag
- # [23:43] <Hixie> video is not a Mac OS specific technology either :-)
- # [23:43] <Hixie> we have one
- # [23:43] <onitunes> that worked like <canvas>, but let you control layout
- # [23:44] <Hixie> we have two, in fact
- # [23:44] <roc> why don't you just tell us why HTML and CSS don't satisfy your needs
- # [23:44] <roc> if you can't do that, you're just wasting our time
- # [23:44] <Hixie> (namely, one in SVG (<text>), and one in HTML (<span>), both of which are styled with CSS)
- # [23:44] <onitunes> roc: incremental rendering
- # [23:45] <onitunes> with the DOM, you have to include everything in the DOM for it to lay things out for you
- # [23:45] <roc> good, be more specific
- # [23:45] <onitunes> a 1MB file cannot have the full DOM created and updated, with correct syntax highlighting, in realtime, on each key press
- # [23:46] <onitunes> to work around that, programmers cheat:
- # [23:46] <onitunes> they take a grid, say 400 characters wide by 400 characters tall
- # [23:46] <onitunes> and make each cell in the grid a <span> tag
- # [23:46] <onitunes> then the use node.innerText to update the character
- # [23:46] <Hixie> um, that is patently untrue. load the HTML5 spec in a browser and type javascript:document.body.contentEditable=true into the location bar
- # [23:46] <onitunes> and set the correct class on each tag
- # [23:46] <Hixie> pronto, a 2MB+ document editing in realtime
- # [23:47] <onitunes> contentEditible is for HTML
- # [23:47] <Hixie> yes
- # [23:47] <onitunes> I'm not editing HTMl
- # [23:47] <onitunes> I'm editing text
- # [23:47] <Hixie> why not?
- # [23:47] <Hixie> so mark your text up in HTML
- # [23:47] <onitunes> just raw, plain old syntax-highlight texd
- # [23:47] <Hixie> raw, plain old syntax-highlighted text is exactly what HTML is
- # [23:48] <onitunes> nonsense
- # [23:48] <onitunes> HTML is semantic
- # [23:48] <Hixie> what do you think syntax highlighting is if not semantics?
- # [23:48] <onitunes> and basically, to get interactive performance, I have to completely blow away those semanticns
- # [23:48] <onitunes> its identical to using tables for layout
- # [23:49] <onitunes> what I have to do with the DOM to syntax highlight source code
- # [23:49] <onitunes> I can do it, and I *do do it
- # [23:49] <onitunes> as in, it works
- # [23:49] <roc> if you're not using contenteditable, you're doing it wrong.
- # [23:49] <onitunes> but I would be much better off without the workaround, using DOM nodes for layout, when something like Core Text is what I would use on the desktop
- # [23:50] <onitunes> roc: okay
- # [23:50] <onitunes> contenteditable does not do incremental layout
- # [23:50] <onitunes> I need that
- # [23:50] <roc> yes it does
- # [23:50] <onitunes> well, it sounds like there's no interest in a low-level text API
- # [23:50] <roc> what it doesn't do is incremental recomputation of syntax highlighting
- # [23:50] <onitunes> I'll move on, we all have better things to do
- # [23:51] <roc> so there's this: http://www.disruptive-innovations.com/zoo/diavolo/diavolo.html
- # [23:51] <onitunes> yeah, it's DOM-centric
- # [23:51] <annevk3> onitunes, what do you mean with "incremental layout"?
- # [23:51] <roc> which does pure-JS syntax highlighting. it's a Firefox extension, but the approach could be ported to regular HTML, I think
- # [23:51] <onitunes> annevk3: not creating DOM nodes for content that is not currently visible
- # [23:51] <roc> you don't really need that
- # [23:51] <onitunes> roc: you may be right
- # [23:52] <roc> you just need contenteditable and the syntax highlighter to be fast
- # [23:52] <annevk3> onitunes, why shouldn't that optimization be up to the browser?
- # [23:52] <onitunes> because they're too slow
- # [23:52] <onitunes> we have lists with 10,000 rows that we can scroll in realtime with incremental rendering
- # [23:53] <onitunes> if only 30 rows are visibile, we create 30 DOM nodes and re-use them as the user scrolls, swapping their contents
- # [23:53] <annevk3> onitunes, so why not implement the "incremental layout" yourself? ah, you're doing that
- # [23:53] <onitunes> right, I do that now
- # [23:53] <onitunes> with <span> cells
- # [23:53] <onitunes> look, I can make this work today
- # [23:54] <roc> "I'm doing this and it's slow" is much more useful information than "you must support a Core Text API"
- # [23:54] <onitunes> but it would be much nicer not to have to trick the browser
- # [23:54] <onitunes> and to instead have a nice, low-level text rendering API like Core TExt
- # [23:54] * Quits: aaronlev (n=chatzill@g228078013.adsl.alicedsl.de) ("ChatZilla 0.9.83-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [23:54] <onitunes> roc: okay, sorry I didn't mention that earlier
- # [23:54] <Hixie> if what you want is a fast syntax-highlighted plain text editor, it seems like it would be much better to provide an API for <textarea> that allows that than doing anything with canvas.
- # [23:55] <onitunes> Hixie: that could be
- # [23:55] <roc> as we've repeatedly explained, writing your own text editing throws away a lot of important features, so it's not the right way to go.
- # [23:55] <Hixie> onitunes: that's why we were asking for what you were doing
- # [23:55] <roc> what Hixie said
- # [23:55] <Hixie> there has been some interest in providing <textarea> syntax-highlighting, maybe backed in a way similar to <datagrid> JS datasource mechanism
- # [23:55] <Hixie> I'm waiting for <datagrid> implementations before going there though
- # [23:56] <roc> right now I'm not sure whether the problems you have are because you have too much text for the browser to handle efficiently, or whether it's because a pure-JS syntax highlighter isn't fast enough for you
- # [23:56] <othermaciej> onitunes: writing a text editor using an API at the level of CoreText would not be a wise idea, even in a native app
- # [23:56] <othermaciej> (reading some scrollback)
- # [23:57] <onitunes> it's not a real problem, I'm just certain it would render faster if I didn't have to do 1600 node.innerText updates to render the text view
- # [23:57] <roc> so you're not using contenteditable
- # [23:57] <roc> ?
- # [23:57] <othermaciej> onitunes: nearly all apps developed by Apple that display text use either NSTextView or WebView
- # [23:57] <onitunes> othermaciej: of course they do
- # [23:57] <othermaciej> not CoreText directly
- # [23:57] <othermaciej> even Xcode
- # [23:57] <onitunes> that's what I would build on top of it
- # [23:57] <onitunes> :-)
- # [23:57] <othermaciej> and Dashcode
- # [23:58] <othermaciej> so I do not see why an IDE would specifically want a low-level text drawing API instead of a rich text editing API
- # [23:58] <onitunes> but asking browser vendors to implement NSTextView is asking too much
- # [23:58] <onitunes> Core Text is much easier to provide, and allows innovation on top of it
- # [23:58] <othermaciej> I would advise start with contentEditable and point out what is missing that you need
- # [23:58] <Hixie> browser vendors are much more likely to implement NSTextView than CoreText at this point, frankly
- # [23:58] <onitunes> I've already said the problem with it: you have to construct the entire DOM tree
- # [23:58] <onitunes> Hixie: that's too bad
- # [23:58] <othermaciej> and is that technologically infeasible?
- # [23:59] <annevk3> it's slow
- # [23:59] <onitunes> performance-wise, it's a non-starter
- # [23:59] <roc> why? How much text do you have?
- # [23:59] <onitunes> look guys, if this is not critical and patches will be rejected, we should move on
- # [23:59] <othermaciej> have you tried it, or is that a guess?
- # [23:59] <onitunes> I can already git it to work
- # [23:59] <onitunes> with the approach I have now
- # [23:59] <annevk3> I've heard from a similar project that also split up the text and only parsed the displayed bit
- # Session Close: Tue Oct 14 00:00:00 2008
The end :)