Options:
- # Session Start: Sun Jan 24 00:00:00 2010
- # Session Ident: #whatwg
- # [00:04] * Joins: yutak_home (n=kee@N038037.ppp.dion.ne.jp)
- # [00:09] <othermaciej> Hixie: I sent a big list of sites that use cut/copy/paste events in email
- # [00:10] <othermaciej> Hixie: if you would like help figuring out exactly how they use those events, I can try to gather more data, but I think they all have obfuscated JavaScript so it's hard for me to tell directly
- # [00:20] * Quits: pgran (n=philgran@c-75-72-12-45.hsd1.mn.comcast.net)
- # [00:21] * Joins: archtech (i=stanv@83.228.56.37)
- # [00:21] * Joins: miketaylr (n=miketayl@24.42.95.234)
- # [00:43] * Joins: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [00:50] * Joins: beilabs (n=beilabs@ppp121-44-103-112.lns20.syd6.internode.on.net)
- # [00:53] * Quits: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no) (Read error: 110 (Connection timed out))
- # [00:55] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [00:58] * Quits: miketaylr (n=miketayl@24.42.95.234) (Read error: 110 (Connection timed out))
- # [01:01] * Quits: crash\ (i=crash@lubyte.de) (Read error: 60 (Operation timed out))
- # [01:12] <Hixie> othermaciej: thanks
- # [01:14] * Joins: crash\ (i=crash@lubyte.de)
- # [01:15] <Hixie> foolip: the photo gallery example from the spec doesn't generate any RDF?
- # [01:16] <Hixie> is that a bug in the spec?
- # [01:17] <Hixie> doesn't show the JSON either
- # [01:29] <bzed> hmm.why are the unit tests missing in the released file of 0.90?
- # [01:43] <TabAtkins> Hixie: Where's the photo gallery example?
- # [01:44] * Quits: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Read error: 110 (Connection timed out))
- # [01:47] <foolip> Hixie: it does for me, perhaps it's a bug in my javascript?
- # [01:47] <foolip> Hixie: oh, that example, will check...
- # [02:01] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [02:03] <othermaciej> Hixie: btw, if you manage to get the conformance/etc changes for Microdata done, my other request would be to deal with details/figure, both to settle the HTML WG issue on it, and so WebKit is not prevented from implementing it by uncertainty
- # [02:05] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [02:05] <othermaciej> Hixie: re cut/copy/paste, I figure you can get unobfuscated source to at least some of those sites, or talk to their developers, but the additional thing I could do is make WebKit ignore attempts to set listeners for those events and see what happens
- # [02:06] <othermaciej> Hixie: the effects might be subtle though, I know at least some Google sites use them to fix up some of the details of copy/paste in rich text editable areas to match what they like, and I don't know what failure would look like
- # [04:07] * Disconnected
- # [04:08] * Attempting to rejoin channel #whatwg
- # [04:08] * Rejoined channel #whatwg
- # [04:08] * Topic is 'WHATWG: http://www.whatwg.org/ -- logs: http://krijnhoetmer.nl/irc-logs/ -- stats: http://gavinsharp.com/irc/whatwg.html -- Please leave your sense of logic at the door, thanks!'
- # [04:08] * Set by annevk42 on Mon Oct 19 22:03:06
- # [04:17] * Quits: martiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net) (Remote closed the connection)
- # [04:19] * Quits: FireFly (n=firefly@unaffiliated/firefly) ("Leaving")
- # [04:23] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (niven.freenode.net irc.freenode.net)
- # [04:23] * Quits: hamaji (n=hamaji@220.109.219.244) (niven.freenode.net irc.freenode.net)
- # [04:23] * Quits: scherkus (n=scherkus@74.125.59.73) (niven.freenode.net irc.freenode.net)
- # [04:23] * Quits: ukai (n=ukai@220.109.219.244) (niven.freenode.net irc.freenode.net)
- # [04:23] * Quits: takkaria_ (n=takkaria@208.75.87.166) (niven.freenode.net irc.freenode.net)
- # [04:25] * Joins: takkaria (n=takkaria@isparp.co.uk)
- # [04:28] * Joins: erlehmann (n=erlehman@82.113.106.128)
- # [04:28] * Quits: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net) (Read error: 113 (No route to host))
- # [04:28] * Quits: miketaylr (n=miketayl@24.42.95.234) ("Leaving...")
- # [04:29] * Joins: scherkus (n=scherkus@74.125.59.73)
- # [04:30] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [04:33] * Joins: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net)
- # [04:43] * Joins: hamaji (n=hamaji@220.109.219.244)
- # [04:43] * Joins: ukai (n=ukai@220.109.219.244)
- # [04:47] * Joins: paul_iri_ (n=paul_iri@c-71-192-163-128.hsd1.nh.comcast.net)
- # [04:48] * paul_iri_ is now known as paul_irish_
- # [04:49] * Quits: paul_irish (n=paul_iri@c-71-192-163-128.hsd1.nh.comcast.net) (Nick collision from services.)
- # [04:49] * paul_irish_ is now known as paul_irish
- # [04:51] * Joins: miketaylr (n=miketayl@24.42.95.234)
- # [05:12] * Quits: mackstann (n=death@216-20-152-177-dsl.hevanet.com) (Read error: 60 (Operation timed out))
- # [05:51] * Quits: hamaji (n=hamaji@220.109.219.244) (Read error: 110 (Connection timed out))
- # [05:53] * Quits: tyoshino (n=tyoshino@220.109.219.244) (Read error: 110 (Connection timed out))
- # [06:01] * Quits: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net) (Read error: 110 (Connection timed out))
- # [06:04] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [06:14] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
- # [06:17] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [06:19] * Quits: ukai (n=ukai@220.109.219.244) (Read error: 110 (Connection timed out))
- # [06:30] * Joins: Lachy (n=Lachlan@89.233.178.6)
- # [06:33] * Quits: Lachy (n=Lachlan@89.233.178.6) (Client Quit)
- # [06:33] * Joins: Lachy (n=Lachlan@89.233.178.6)
- # [06:43] * Joins: _Utkarsh (n=admin@117.201.85.62)
- # [06:45] * Joins: breakmau5 (n=breakz@erft-5d80b812.pool.mediaWays.net)
- # [06:51] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
- # [06:51] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [06:53] * Quits: Utkarsh (n=admin@117.201.82.119) (Read error: 110 (Connection timed out))
- # [06:54] * Quits: miketaylr (n=miketayl@24.42.95.234) (Remote closed the connection)
- # [07:03] * Quits: katz-und-mau5 (n=breakz@erft-5d80e9da.pool.mediaWays.net) (Read error: 113 (No route to host))
- # [07:04] <Hixie> for the last 3 hours i have gone through the following process about 10 times:
- # [07:04] <Hixie> 1. look at my emacs window. remember that i'm trying to write an example for <iframe srcdoc>.
- # [07:04] <Hixie> 2. decide that the best way to do that is to find an actual blog post with comments that would be suitable for a spec example.
- # [07:05] <Hixie> 3. decide a good place to find such blog posts might be a news aggregator like reddit.
- # [07:05] * Quits: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Read error: 110 (Connection timed out))
- # [07:05] <Hixie> 4. go to reddit fully intending to find a blog post of that nature.
- # [07:05] <Hixie> 5. read reddit.
- # [07:05] <Hixie> 6. forget about #2-#4.
- # [07:06] <Hixie> 7. run out of posts to read
- # [07:06] <Hixie> 8. decide i'm going to work on html5.
- # [07:06] <Hixie> 9. goto 1.
- # [07:12] <othermaciej> lol
- # [07:18] * Joins: mackstann (n=death@216-20-152-177-dsl.hevanet.com)
- # [07:44] * Quits: taf2 (n=taf2@pool-98-117-216-229.bltmmd.fios.verizon.net) (Excess Flood)
- # [07:45] * Quits: crash\ (i=crash@lubyte.de) (Excess Flood)
- # [07:45] * Joins: crash\ (i=crash@lubyte.de)
- # [07:47] * Quits: cpearce (n=cpearce@ip-118-90-85-126.xdsl.xnet.co.nz) (Read error: 110 (Connection timed out))
- # [07:55] * Quits: breakmau5 (n=breakz@erft-5d80b812.pool.mediaWays.net) (Client Quit)
- # [07:58] * Quits: yutak_home (n=kee@N038037.ppp.dion.ne.jp) ("Ex-Chat")
- # [08:00] * Joins: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net)
- # [08:02] * Quits: _Utkarsh (n=admin@117.201.85.62) (Client Quit)
- # [08:05] * Quits: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net) (Read error: 104 (Connection reset by peer))
- # [08:16] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [08:17] * Joins: shepazu (n=schepers@adsl-150-130-9.rmo.bellsouth.net)
- # [08:26] * Joins: cpearce (n=cpearce@ip-118-90-85-126.xdsl.xnet.co.nz)
- # [08:32] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [08:33] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [08:34] * Quits: shepazutoo (n=schepers@adsl-150-130-9.rmo.bellsouth.net) (Read error: 110 (Connection timed out))
- # [08:53] * Joins: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
- # [10:11] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [10:19] * VasilievVV is now known as vvv
- # [10:33] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [10:36] * Quits: cpearce (n=cpearce@ip-118-90-85-126.xdsl.xnet.co.nz) (Read error: 60 (Operation timed out))
- # [10:47] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:59] * Joins: FireFly (n=firefly@unaffiliated/firefly)
- # [11:02] * Joins: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no)
- # [11:06] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [11:12] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Read error: 104 (Connection reset by peer))
- # [11:13] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
- # [11:16] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
- # [11:20] <Lachy> Hixie, in the note about escaping characters in srcdoc, it says "... and then to quote all U+0022 QUOTATION MARK (") and U+0026 AMPERSAND (&) characters"
- # [11:20] <Lachy> s/quote all/escape all/
- # [11:24] * Joins: myakura (n=myakura@p3213-ipbf4202marunouchi.tokyo.ocn.ne.jp)
- # [11:29] <Hixie> oops
- # [11:29] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
- # [11:29] * Joins: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net)
- # [11:30] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [11:34] <Dashiva> Has Adobe made any kind of guarantee that flash will remain free in the future?
- # [11:37] * Quits: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net) (Remote closed the connection)
- # [11:40] * Joins: ttepasse (n=ttepas--@ip-95-222-120-117.unitymediagroup.de)
- # [11:41] * Joins: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net)
- # [11:41] <Hixie> it's not free _now_, is it?
- # [11:42] * Joins: maikmerten (n=maikmert@port-92-201-209-80.dynamic.qsc.de)
- # [11:44] <hsivonen> the player is free as in beer, though, but only for end users on certain platforms
- # [11:44] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [11:46] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
- # [11:46] <Dashiva> Free as required for the case "I want to make sure that when a child in India or Brazil or Kenya discovers the internet, there isn’t a big piece of it (video) that they can’t afford to participate in."
- # [11:49] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [11:54] <Hixie> i do not believe they've made that guarantee, no
- # [11:55] * Quits: mackstann (n=death@216-20-152-177-dsl.hevanet.com) (Read error: 60 (Operation timed out))
- # [12:06] <Hixie> hsivonen: is there a spec for the NPAPI?
- # [12:07] * Quits: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
- # [12:07] <Hixie> all i've found is https://developer.mozilla.org/en/Gecko_Plugin_API_Reference
- # [12:07] <Hixie> but if there's an actual spec, i'd love to update the reference in html5
- # [12:07] <hsivonen> Hixie: I was thinking of that, but I can see why you wouldn't count it as a spec
- # [12:09] <Hixie> it's a vendor-specific reference, for one
- # [12:09] <Hixie> and seems rather vague
- # [12:10] <Hixie> i mean, look at this: https://developer.mozilla.org/en/NPN_GetProperty
- # [12:10] <Hixie> it's almost too vague to pass as an API reference, let alone a spec
- # [12:11] <hsivonen> it would be good if someone wrote a real spec, yes
- # [12:12] <Dashiva> Do all the browsers using it implement their own copy?
- # [12:12] <hsivonen> Dashiva: I believe they use the same header files but their on code backing the headers
- # [12:14] <hsivonen> Hixie: I guess NPAPI is a multivendor standard that doesn't have open list archives or a real spec
- # [12:15] <hsivonen> Hixie: HTML 4 didn't have an open list archive or a real spec, so I guess you don't need those to be a standard
- # [12:15] <hsivonen> open list archives and a real spec are righteous, though
- # [12:16] <Hixie> HTML4 was almost as bad, yes
- # [12:16] <Hixie> (worse, in some respects, better in others)
- # [12:18] * Quits: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no) (Read error: 110 (Connection timed out))
- # [12:32] * Quits: Lachy (n=Lachlan@89.233.178.6) ("This computer has gone to sleep")
- # [12:35] * Quits: riven (n=riven@53518387.cable.casema.nl) ("Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.")
- # [12:36] * Joins: riven (n=riven@53518387.cable.casema.nl)
- # [12:42] <erlehmann> Dashiva, the only guarantee you can have is open standards. „trusting someone“ usually doesn't work when applied to corporations.
- # [12:44] <Dashiva> There's a difference between "This is closed, but you have a free perpetual license to use it" and "This is closed, and you can use it until I tell you to stop"
- # [12:53] * Quits: danbri (n=danbri@unaffiliated/danbri) (Remote closed the connection)
- # [12:54] <Philip`> The child in India or Brazil or Kenya could just download an old free version of the Flash player, regardless of what Adobe changes in the future
- # [12:54] <Philip`> (and I don't think the child will care much about the details of the licensing terms)
- # [12:56] <Dashiva> The argument seems to be that they will
- # [13:02] * Joins: danbri (n=danbri@ip176-48-210-87.adsl2.static.versatel.nl)
- # [13:08] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Remote closed the connection)
- # [13:09] <erlehmann> I fail to see what exactly how that could play a role in choosing whether to abandon Flash or not.
- # [13:09] * Joins: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it)
- # [13:10] <Dashiva> Because h264 is involved
- # [13:22] * Joins: VasilievVV (n=vvv@mediawiki/VasilievVV)
- # [13:22] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Read error: 60 (Operation timed out))
- # [13:33] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [13:33] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [13:34] * Quits: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it) (Remote closed the connection)
- # [13:34] * Joins: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it)
- # [14:08] <AryehGregor> Dashiva, India, Brazil, and Kenya don't have software patents AFAIK, so they can use H.264 in <video>. :)
- # [14:09] <Dashiva> AryehGregor: Well, apart from Firefox refusing to let them
- # [14:09] <AryehGregor> Right.
- # [14:09] <AryehGregor> I don't think third-world countries are a legitimate reason for opposing H.264 at this juncture.
- # [14:09] <AryehGregor> The impact is mainly on Americans.
- # [14:10] <AryehGregor> Who are rich and can afford the tax for the next seven years.
- # [14:11] <AryehGregor> On the other hand, Flash imposes much bigger practical problems, so killing it ASAP would be nice.
- # [14:11] <AryehGregor> If everyone were to use Theora, that would be great, but . . .
- # [14:11] * AryehGregor will stick to supporting Theora-only for now, but hey, GIF didn't kill the web.
- # [14:11] <Dashiva> At the current juncture, it's more a question of which is the lesser evil in the meantime
- # [14:11] <AryehGregor> Pretty much, yeah.
- # [14:12] <AryehGregor> How many extra people can Mozilla pressure into using Theora by only supporting it?
- # [14:12] <Dashiva> How many people can they pressure into sticking to Flash
- # [14:12] <jcranmer> well, if MPEG-LA decides to require licenses for creating H.264
- # [14:13] <AryehGregor> They can get some people to use Theora, but not so many as long as 1) authors have to maintain a Flash fallback to support old browsers/IE anyway, 2) they have to trade Firefox against Safari.
- # [14:13] <AryehGregor> jcranmer, if that happens, game over, we win. No problem there.
- # [14:14] <jcranmer> I guess it comes down to IE, then
- # [14:14] <AryehGregor> I'm guessing they won't charge any more than they think the market will bear.
- # [14:14] <AryehGregor> IE will surely hook into DirectShow or whatever, like Safari hooks into Quicktime. Microsoft already has a video-display framework that they're invested in, why would they make up a whole new one for IE?
- # [14:14] <Dashiva> I'd say it's reasonably certain microsoft is in the h264 camp
- # [14:14] <AryehGregor> The question is whether MS will package Theora codecs by default. But like Apple, it's an MPEG-LA licensor.
- # [14:15] <jcranmer> having H264 is pretty much given
- # [14:15] <AryehGregor> And it has a strong historical tendency to try quashing free formats via patents.
- # [14:15] <jcranmer> the question is whether or not it takes Theora as well
- # [14:15] <Dashiva> I'd guess they won't support theora directly, but if the users installs it manually it will work
- # [14:16] <AryehGregor> That would be my guess too.
- # [14:16] <AryehGregor> But the upshot in that case will be everyone except Mozilla supports H.264.
- # [14:16] <AryehGregor> And only Firefox, Chrome, Opera support Theora.
- # [14:16] <AryehGregor> So forget it, H.264 wins.
- # [14:16] <AryehGregor> As I say, GIF didn't kill the web. Theora is a lot further along than PNG was, too, relatively speaking.
- # [14:17] <jcranmer> the other possibility is that MPEG-LA gets greedy, and you see a backlash like what happened with GIF
- # [14:17] <AryehGregor> That could happen, yeah.
- # [14:17] <Dashiva> PNG had significant improvements over GIF, though
- # [14:17] <AryehGregor> Right, but Theora is improving.
- # [14:17] <jcranmer> Theora apparently outperforms H.264 at low bitrates
- # [14:18] <AryehGregor> Also, we have Google's purchase of whatever that company is. They might suddenly drop a new free-as-in-speech codec on everyone that outperforms H.264.
- # [14:18] * AryehGregor can't remember its name.
- # [14:18] <Dashiva> On2
- # [14:18] <AryehGregor> Oh, well. This stuff will mostly be decided by people with more expensive suits than us. We get to sit and wait.
- # [14:18] <jcranmer> I personally think that the "submarine patent" argument is bull... that pretty much applies to every software technology if you look deep enough
- # [14:19] <Dashiva> jcranmer: That's not the real argument, though. The argument is attack surface.
- # [14:19] <jcranmer> well, let's see where Bilski goes
- # [14:19] <AryehGregor> jcranmer, it was more plausible before Google started deploying it.
- # [14:20] <AryehGregor> Yeah, we'll see about that. Maybe the Supreme Court will decide it wants to use Bilski as a chance at patent reform.
- # [14:20] * jcranmer wonders if he should write his representatives to propose a "use it or lose it" rule for patents
- # [14:21] <Dashiva> "Your" representatives
- # [14:21] <AryehGregor> A ban on software patents seems more likely. "Use it or lose it" seems kind of contrary to general principles of property ownership.
- # [14:21] <AryehGregor> Besides, it wouldn't help much.
- # [14:21] <AryehGregor> All the patent trolls would just put up some trivial implementations of everything for sale, which no one buys, and that will be enough.
- # [14:22] <Dashiva> They could hide it deep inside some completely unrelated application
- # [14:22] <jcranmer> the current theory on Bilski is that it will pretty much kill business method patents but keep software patents in limbo for another case
- # [14:22] <AryehGregor> The Supreme Court likes ruling narrowly, yeah.
- # [14:23] <Dashiva> Except on letting businesses buy politicians :P
- # [14:23] <jcranmer> SCotUS is also a big fan of narrowing patentability
- # [14:24] <AryehGregor> Dashiva, no, it ruled narrowly there too. The opinion of the court said they only considered constitutionality because they had no other option, since the corporation was clearly in violation of the law as written.
- # [14:24] <AryehGregor> Well, I guess they could have artificially restricted themselves to not-for-profits or something.
- # [14:24] <Dashiva> But they ruled in the general case, much wider than the specific instance the case was about
- # [14:25] <AryehGregor> Well, yeah. They don't rule only for one specific case, but they decide only as much law as necessary to decide that case.
- # [14:26] <AryehGregor> So if they can reasonably make a ruling on Bilski that only covers business-method patents, probably they'll do so.
- # [14:26] <AryehGregor> But one never knows.
- # [14:27] <jcranmer> basically, they'll probably kill the State Street test "useful, tangible result"
- # [14:28] <jcranmer> which puts software patents on shaky grounds (Diamond v. Diehr held that software per se was unpatentable)
- # [15:19] * Quits: VasilievVV (n=vvv@mediawiki/VasilievVV) ("KVIrc Insomnia 4.0.0, revision: 3410, sources date: 20090703, built on: 2009/08/12 22:29:13 UTC http://www.kvirc.net/")
- # [15:36] * Quits: danbri (n=danbri@unaffiliated/danbri) (Remote closed the connection)
- # [15:47] * Joins: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net)
- # [16:08] * Joins: Utkarsh (n=admin@117.201.83.160)
- # [16:22] * Joins: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no)
- # [16:26] * Quits: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net) (Remote closed the connection)
- # [16:27] * Joins: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net)
- # [16:42] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
- # [16:43] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [16:58] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [17:05] * Joins: breakmau5 (n=breakz@erft-5d80b812.pool.mediaWays.net)
- # [17:20] * Quits: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no) ("Ex-Chat")
- # [17:24] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [17:25] * Quits: erlehmann (n=erlehman@82.113.106.128) ("Ex-Chat")
- # [17:27] * Quits: beilabs (n=beilabs@ppp121-44-103-112.lns20.syd6.internode.on.net) (Remote closed the connection)
- # [17:28] * Joins: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [17:37] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [17:50] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [17:51] * Quits: myakura (n=myakura@p3213-ipbf4202marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [17:53] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [18:12] * Joins: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk)
- # [18:12] * Quits: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk) (Nick collision from services.)
- # [18:12] * Joins: Steve^^ (n=steve@92.40.173.244.sub.mbb.three.co.uk)
- # [18:12] * Joins: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk)
- # [18:13] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
- # [18:13] * Parts: Steve^^ (n=steve@92.40.173.244.sub.mbb.three.co.uk) ("Leaving")
- # [18:17] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
- # [18:23] <Philip`> Hmm, <iframe sandbox> sounds like a handy way to make a Flash-blocker for browsers that don't provide one (like Chrome?)
- # [18:24] <Philip`> Just make a page that embeds a user-chosen URL in a sandbox that disables plugins
- # [18:28] <TabAtkins> Philip`: Interesting.
- # [18:32] <AryehGregor> Chrome has a Flash-blocker extension by now, surely?
- # [18:33] <AryehGregor> (also, I get the best possible Flash blocking from it, namely --disable-plugins, since if I don't use that then the browser crashes all the time)
- # [18:33] <Philip`> You should use Opera, it has a handy context menu for globally disabling plugins :-)
- # [18:34] <AryehGregor> If you can find the option in a sea of three hundred and eighty-one other options.
- # [18:34] <Steve^> globally disabling isn't what you normally want?
- # [18:34] <Steve^> You want a whitelist
- # [18:37] <Philip`> AryehGregor: The context menu only has 14 options
- # [18:37] <Philip`> Uh, probably not actually a context menu; it's just what you get when you hit F12
- # [18:37] <AryehGregor> Philip`, and how many of those open up to a whole other submenu of options? Chrome's has eight, no submenus.
- # [18:38] <Philip`> AryehGregor: 0
- # [18:38] <AryehGregor> F12 doesn't do anything in Chrome, so it has zero of those. :)
- # [18:38] <Steve^> none, actually
- # [18:38] <Philip`> (unless you count "Edit site preferences..." which opens a whole dialog)
- # [18:38] <Steve^> I've been wondering though, is Chrome too simple to be mainstream?
- # [18:38] <AryehGregor> Oh, F12 is just Tools -> Quick Preferences.
- # [18:38] <Philip`> AryehGregor: Yes
- # [18:38] <AryehGregor> Well, Chrome still has zero prefs in that menu, so it wins for simplicity. ;)
- # [18:38] <Philip`> but quicker
- # [18:38] <Steve^> I was spoken to a woman who was recently switched to Firefox and could no longer find her beloved File -> Email to option (apparently IE has one of those)
- # [18:39] <Steve^> How will she fare with Chrome and not even a menu bar?
- # [18:39] <Steve^> *i was speaking
- # [18:39] <AryehGregor> Opera has 16 options in context menus, two of which are submenus.
- # [18:40] <TabAtkins> Steve^: In my experience, most users have no idea their browser *has* options.
- # [18:40] <TabAtkins> To be honest, *I* have no idea what many of the options do, or at least don't care.
- # [18:40] <AryehGregor> Steve^, I suspect that mostly, people don't mind simplicity. Niche features like that aren't as important as a) working consistently, b) being responsive.
- # [18:40] <Philip`> AryehGregor: I'm not sure why you seem to be arguing that Chrome wins because of its simplicity, when you've already admitted you have to use command-line arguments just to stop it crashing :-)
- # [18:40] <TabAtkins> Which is why I use Chrome for daily browsing. ^_^
- # [18:40] <AryehGregor> Philip`, well, I'm using the Linux beta, that doesn't count.
- # [18:40] <AryehGregor> Actually, I'm on the dev channel.
- # [18:41] <AryehGregor> It also crashes randomly when I leave it running for a while, although I can just restore, so it's not a big deal.
- # [18:41] <Steve^> TabAtkins, but that isn't an option, its a function
- # [18:41] <Philip`> AryehGregor: We should only count mythical browsers that don't have any problems?
- # [18:41] <AryehGregor> Philip`, no, you should only count the stable channel of Chrome, just like you shouldn't count Opera alphas.
- # [18:41] <Philip`> I'd prefer to count the browser versions that I would use :-)
- # [18:41] <Steve^> pardon myself for using the word option before
- # [18:41] <TabAtkins> Steve^: Still something that I didn't even know IE had, nor, I suspect, do the majority of people know that it exists.
- # [18:42] <Steve^> ok, how about the print button?
- # [18:42] <TabAtkins> Do browsers have a print button normally exposed?
- # [18:42] <Steve^> TabAtkins, but there isn't a file menu to get to it either
- # [18:42] <Philip`> (and since there seemingly isn't a version of Chrome on Linux that claims to be stable, I'd have to count the beta/dev versions)
- # [18:42] <TabAtkins> The little paper-thingy menu gets you there.
- # [18:43] <Steve^> there;s a "paper with folded corner" menu
- # [18:43] * Joins: twhee (n=twee@twee.static.corbina.ru)
- # [18:43] <TabAtkins> Since there's only two buttons that aren't obviously navigation-related, you'll find it pretty quick.
- # [18:43] <AryehGregor> Philip`, if we're talking about us, then the relevant notion of simplicity is thoroughly different.
- # [18:43] <twhee> Hello everyone
- # [18:43] <twhee> is there any documentation/samples for using python html5lib?
- # [18:44] <Philip`> AryehGregor: I was talking about us, since you said "I" and I said "you"
- # [18:44] <twhee> http://code.google.com/p/html5lib/wiki/UserDocumentation : page not found
- # [18:44] <AryehGregor> Philip`, well, then there's nothing complicated about a command-like switch. It's the GUI I care about, and that's horribly cluttered in Opera and *extremely* slick and well-designed in Chrome.
- # [18:44] <Philip`> twhee: http://html5lib.googlecode.com/svn/wiki/UserDocumentation.wiki is what ought to be on that page
- # [18:44] <AryehGregor> Also, if we're talking about us, I prefer open-source browsers. :P
- # [18:44] <Steve^> TabAtkins, I hope so, I've just been wondering. Older users find the menu bar as a safe haven for finding this sort of stuff
- # [18:44] <twhee> Oh, thanks
- # [18:45] <Steve^> I quite like how Chrome still has a status bar at the bottom, when you hover a link. Unlike safari which I believe doesn't have one at all
- # [18:46] * cardona507 too
- # [18:46] <Steve^> and my mum is happy that it logs her into Facebook, so maybe it does have a future
- # [18:46] <TabAtkins> Yeah, I've been thinking of putting my status bar back on my work machine's firefox.
- # [18:46] <othermaciej> Steve^: Safari does have a status bar, it's just off by default
- # [18:46] <TabAtkins> I like simplicity, so I removed it, and the link-icon thinger I have helps a lot, but still.
- # [18:46] <othermaciej> turning on the status bar is one of the very few changes I make to the default preference settings
- # [18:46] <Steve^> I think we can agree "off by default" is almost identical to not having a feature
- # [18:47] <Steve^> I didn't even consider looking for that
- # [18:47] * Parts: twhee (n=twee@twee.static.corbina.ru) ("If it was so, it might be; and if it were so, it would be; but as it itsn't, it aint. That's logic.")
- # [18:48] <othermaciej> a transient hover overlay might be good, though Chrome's particular design looks kinda fugly to my eye
- # [18:48] <othermaciej> I do agree that most users don't change defaults at all
- # [18:49] <Steve^> everyone on the web seems to agree that choice is bad
- # [18:49] <AryehGregor> It is. I've been meaning to write an essay.
- # [18:49] <AryehGregor> Chrome is really excellent about not giving people unneeded choices.
- # [18:49] <othermaciej> "users don't change defaults" isn't the same as "choice is bad"
- # [18:50] <AryehGregor> That's one of the great things about it. They don't say "Well, status bars are cluttery but some people like them, so let's make it an option." They find a compromise that works well for everyone.
- # [18:50] * Quits: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it) (Read error: 60 (Operation timed out))
- # [18:50] <Steve^> just a few minutes ago people were comparing the number of menus they had in their browsers
- # [18:50] <AryehGregor> othermaciej, it does mean that you should never have a choice as a substitute for putting work into finding just the right default.
- # [18:51] <AryehGregor> "Give the users a choice" is often a way to avoid making a decision.
- # [18:51] <Steve^> Chrome has done well, which is why I gave it to my mum. She can type whatever she likes in that box and it'll browse the web for her
- # [18:51] <othermaciej> that is indeed a pathology that is common in open source projects
- # [18:51] <AryehGregor> Since it shuts up all the people who don't like the default, since they're just told to change it.
- # [18:51] <Steve^> But then I use Linux and Opera, I like the other side of the scale
- # [18:51] <AryehGregor> othermaciej, not in closed-source projects? I can name you examples from Windows, for sure . . .
- # [18:51] <AryehGregor> Like a dialog box asking you whether you want help files indexed, for crying out loud.
- # [18:52] <othermaciej> almost every open source project I worked on that was supposed to be UI-oriented was very quick to reach for "let's just add a preference"
- # [18:52] <othermaciej> Apple is mostly at the opposite extreme
- # [18:52] <AryehGregor> So is Google (including Chromium).
- # [18:52] <Steve^> Apple is a step too far, I find it difficult to find settings I need to change
- # [18:52] <AryehGregor> Also GNOME, although IMO GNOME doesn't do as good a job at it.
- # [18:52] <othermaciej> those are my only two experiences seeing major projects up close
- # [18:53] <othermaciej> Apple's design philosophy is that there should be no such thing as "settings you need to change"
- # [18:53] <AryehGregor> GNOME gets the "don't give a preference" part right, but forgets the "and make the default good" part . . . and also doesn't make it obvious how to change things that *are* changeable. I'm still trying to figure out how to make Document Viewer my default PDF reader instead of scribus. The latter isn't even installed anymore AFAICT.
- # [18:53] <AryehGregor> Yeah, that's the right philosophy.
- # [18:53] <TabAtkins> I've been lucky to be dictator of all of my projects so far, so I get to decide what the best thing is and just leave it alone.
- # [18:54] <Steve^> AryehGregor, simple, replace the scribus executable with a link pointing to evince :)
- # [18:54] <AryehGregor> It should figure almost everything out somehow. If there are settings, they should mostly be contextual, not in some big preferences menu.
- # [18:54] <AryehGregor> Steve^, haha.
- # [18:54] <AryehGregor> That would work.
- # [18:56] * othermaciej is fixing an HTML parser bug to atone for time-wasting mailing list posts
- # [18:59] <AryehGregor> Does WebKit have any plans to switch to an HTML5 parser like Gecko does?
- # [19:01] <othermaciej> we'll eventually have an HTML5-compliant HTML parser
- # [19:02] <othermaciej> I have no timeline to give on that however
- # [19:02] * Joins: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
- # [19:13] <Steve^> Does anyone know if Google Chromes recent blanket-advertising campaign in the UK has done much?
- # [19:14] <AryehGregor> I'm sure Google knows. :)
- # [19:15] <AryehGregor> The UK will be affected by the ballot box rolling out soon, won't it? That will probably increase Chrome market share massively in the EU.
- # [19:18] <AryehGregor> Why is David Hyatt listed as an editor in the W3C copy of HTML5? He doesn't actually edit it, does he?
- # [19:21] <Philip`> AryehGregor: To placate people who weren't happy with having Hixie be the sole editor
- # [19:22] <AryehGregor> It's rather misleading.
- # [19:23] <Philip`> Sure
- # [19:26] <Steve^> I wonder what kind of web browser the iSlate will have
- # [19:26] <Steve^> if the fantasies of a reinvented personal computer experience are anything to go by, the browser is surely a part
- # [19:27] <AryehGregor> I can't imagine it would be anything but Safari, of some stripe.
- # [19:27] <AryehGregor> Maybe modified, like the iPhone Safari, but still Safari, surely.
- # [19:28] <Steve^> indeed, the content will be the same
- # [19:39] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [19:42] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
- # [19:42] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [20:05] * Quits: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk) ("Leaving")
- # [20:08] * Joins: maikmerten_ (n=maikmert@port-92-201-94-96.dynamic.qsc.de)
- # [20:10] * Joins: danbri (n=danbri@ip176-48-210-87.adsl2.static.versatel.nl)
- # [20:17] * Joins: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz)
- # [20:23] * Quits: maikmerten (n=maikmert@port-92-201-209-80.dynamic.qsc.de) (Read error: 110 (Connection timed out))
- # [20:27] * Joins: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net)
- # [20:32] * Joins: gratz|home (n=gratz@cpc1-brig9-0-0-cust33.brig.cable.ntl.com)
- # [20:34] * Quits: Utkarsh (n=admin@117.201.83.160) (Read error: 60 (Operation timed out))
- # [20:34] * Joins: Utkarsh (n=admin@117.201.80.126)
- # [20:42] * Quits: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz) ("ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.15/2009101909]")
- # [20:56] * Joins: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz)
- # [20:59] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
- # [21:08] * Quits: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net) (Read error: 104 (Connection reset by peer))
- # [21:15] * Joins: Steve^ (n=steve@92.40.60.71.sub.mbb.three.co.uk)
- # [21:16] * Joins: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net)
- # [21:24] <AryehGregor> Hmm. Why doesn't HTML5 require a minimum level of image support for visual UAs? It's realistically necessary to support certain specific images to not break the web, shouldn't the list be documented?
- # [21:26] * Quits: seventh (i=seventh@189.59.132.24) (Read error: 110 (Connection timed out))
- # [21:27] * Joins: borismus (n=borismus@bl8-148-211.dsl.telepac.pt)
- # [21:28] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [21:31] <Dashiva> AryehGregor: Surely it can't break any worse than the equivalent of network errors or 404s
- # [21:32] <AryehGregor> No, but it won't be a marketable browser. Same as, e.g., not implementing the correct insane parser algorithm.
- # [21:32] <AryehGregor> The latter is far more complicated, of course, so has much more reason to be specced.
- # [21:34] <Steve^> that's a good idea
- # [21:34] <AryehGregor> I imagine it's a pretty short list, of course.
- # [21:35] <AryehGregor> GIF, PNG, JPEG. BMP? TIFF? I'm not actually sure.
- # [21:36] <Steve^> BMP yes
- # [21:37] * Quits: maikmerten_ (n=maikmert@port-92-201-94-96.dynamic.qsc.de) (Remote closed the connection)
- # [21:37] <Dashiva> I'm sure there's a dozen smaller image formats that you could argue for or against
- # [21:37] <Steve^> which is why there should be a list
- # [21:37] <Dashiva> Which is why the list will just be a bikeshed
- # [21:38] <AryehGregor> Dashiva, just make the list contain precisely the formats supported by every browser.
- # [21:39] <AryehGregor> Same as with character encodings, that was discussed before on the mailing list.
- # [21:39] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net) ("zzzzz")
- # [21:39] <AryehGregor> (one of them)
- # [21:39] <AryehGregor> You could make it contain fewer, if people think a particular format isn't really needed for web compatibility.
- # [21:39] <AryehGregor> But if any major browser gets away without shipping support for a particular format, obviously that's not critical for web compat, so should be off the list.
- # [21:41] <Steve^> can a style element be placed within body?
- # [21:42] <daedb> yes
- # [21:42] <AryehGregor> But usually shouldn't be, to avoid FOUC.
- # [21:44] <Steve^> FOUC?
- # [21:45] <daedb> Flash of unstyled content
- # [21:45] <Steve^> I'm looking at the HTML5 specs and it suggests that style belongs in the head
- # [21:46] <AryehGregor> That's the best place to put it.
- # [21:46] <Steve^> I'm thinking about emails and wiki pages, where I don't have full control over the document
- # [21:46] <Steve^> (I don't know what would happen in an HTML email if I put full markup in there)
- # [21:46] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [21:47] <AryehGregor> Then you might want it in the <body>. It's allowed.
- # [21:47] <AryehGregor> Webmail clients would probably block it, though.
- # [21:50] <Steve^> why?
- # [21:50] <Steve^> HTML emails aren't allowed style?
- # [21:52] <AryehGregor> <style> would apply to the whole document, including the mail interface.
- # [21:52] * Joins: Necrathex (n=bleptop@212-123-163-12.ip.telfort.nl)
- # [21:52] <AryehGregor> Unless they put the mail itself in an <iframe>, but without seamless, I doubt any do.
- # [21:52] <AryehGregor> Since theey have to be fixed-size.
- # [21:53] <Steve^> oooo, that's a good point
- # [21:53] <Steve^> anyway, that isn't my concern
- # [21:53] <Steve^> I was just wondering whether it is illegal to put style in the body or just disliked
- # [21:54] <AryehGregor> It's legal.
- # [22:01] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Remote closed the connection)
- # [22:01] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [22:06] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
- # [22:10] * Joins: _Utkarsh (n=admin@117.201.81.84)
- # [22:11] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
- # [22:12] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [22:14] * Quits: Utkarsh (n=admin@117.201.80.126) (Read error: 110 (Connection timed out))
- # [22:21] * Joins: starjive (i=beos@81-233-16-19-no30.tbcn.telia.com)
- # [22:23] * Philip` likes how htmLawed takes the approach of offering a zillion options with no indication of which ones are potentially insecure
- # [22:23] <Philip`> e.g. if you set safe=1 and cdata=3 then <![CDATA[]>]><script>alert("foo")</script>]]> will execute script in (at least) current versions of Firefox and Opera
- # [22:29] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (Remote closed the connection)
- # [22:31] * Quits: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [22:36] * Quits: gratz|home (n=gratz@cpc1-brig9-0-0-cust33.brig.cable.ntl.com) ("Leaving")
- # [22:39] * Joins: cpearce_ (n=cpearce@203-97-204-82.dsl.clear.net.nz)
- # [22:41] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
- # [22:43] * Joins: mackstann (n=death@216-20-152-177-dsl.hevanet.com)
- # [22:49] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [22:51] <foolip> why is it that data: URIs can't be used instead of srcdoc=""?
- # [22:54] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 104 (Connection reset by peer))
- # [22:54] * Joins: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [22:54] * Quits: Steve^ (n=steve@92.40.60.71.sub.mbb.three.co.uk) ("Leaving")
- # [22:54] <Dashiva> foolip: Because they're a lot more complicate
- # [22:54] <Dashiva> d
- # [22:56] <foolip> really? anything apart from the escaping (which isn't complicated)
- # [22:57] <foolip> or is it just to make sure it can't work in older browsers which support data: URIs but not the sandboxing?
- # [22:59] <Dashiva> It's the escaping
- # [22:59] * Quits: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz) (Read error: 110 (Connection timed out))
- # [23:01] <foolip> that sounds like the strangest reason to make up a new attribute ever, unless I'm missing something about escaping (encodeURL?)
- # [23:04] <Philip`> You need a URL encoding function that encodes characters like #
- # [23:04] <Philip`> and I imagine it's easy to pick a function that isn't quite right
- # [23:05] <foolip> and with srcdoc you only need to escale < and " ?
- # [23:05] <foolip> escape
- # [23:07] * Quits: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
- # [23:07] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [23:07] <Dashiva> Yes
- # [23:08] <Philip`> No
- # [23:08] <Philip`> & and "
- # [23:09] <foolip> so there's no browser that would be confused by e.g. <a href="</a>">?
- # [23:10] <Philip`> No, as far as I'm aware
- # [23:10] <Philip`> (It's not well-formed XML, though)
- # [23:10] <foolip> that's surprising, but good if it's true
- # [23:11] <Dashiva> Yeah, as long as you get the " right you're "safe"
- # [23:11] <Dashiva> And if you don't, then it'll most likely break visibly all over the place
- # [23:13] * Joins: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz)
- # [23:15] * Quits: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net) ("Leaving")
- # [23:21] * Joins: Utkarsh (n=admin@117.201.80.4)
- # [23:21] <TabAtkins> foolip: It's not just the escaping. Legacy concerns exist too - legacy browsers that understand data: but not @sandbox will show your content without sandbox security measures.
- # [23:22] <TabAtkins> I think that using text/sandboxed-html in the data: url would fix that, though.
- # [23:24] <AryehGregor> I don't think escaping is a really compelling reason here. urlencode() should work fine here, no?
- # [23:24] <Philip`> What is urlencode?
- # [23:25] <AryehGregor> I mean, it's more complicated if you're writing things from scratch, but I assume you're using a normal programming language that supports basic Internet-related escape functions.
- # [23:25] <AryehGregor> PHP's urlencode(), for instance.
- # [23:25] <AryehGregor> Or Python/Perl/Ruby/etc. equivalents.
- # [23:25] <AryehGregor> "Returns a string in which all non-alphanumeric characters except -_. have been replaced with a percent (%) sign followed by two hex digits and spaces encoded as plus (+) signs."
- # [23:25] <AryehGregor> http://us.php.net/manual/en/function.urlencode.php
- # [23:25] <AryehGregor> That would work fine, right?
- # [23:25] <AryehGregor> But it would look a lot uglier, and you'd have the extra data:text/sandboxed-html,<!doctype html> boilerplate.
- # [23:26] <Philip`> Encoding spaces as + won't work
- # [23:26] <Philip`> See e.g. data:text/html,a+b
- # [23:26] <AryehGregor> The + isn't translated to a space there?
- # [23:26] <AryehGregor> Then I agree it's more of a pain.
- # [23:26] <Philip`> No
- # [23:27] <Philip`> What does urlencode do with Unicode?
- # [23:27] <TabAtkins> You have to escape it as %20
- # [23:27] * Joins: roc (n=roc@203-97-204-82.dsl.clear.net.nz)
- # [23:27] <Dashiva> That's the point, isn't it? Encoding data: is too easy to do wrong
- # [23:27] <Philip`> by which I mean: I assume urlencode doesn't do anything with Unicode, since PHP is stupid
- # [23:27] <AryehGregor> It probably treats it as binary.
- # [23:27] <AryehGregor> So if the input string is UTF-8, it will encode as UTF-8.
- # [23:28] <Philip`> so I guess it's okay iff you store strings internally with UTF-8 encoding before passing to urlencode
- # [23:28] <AryehGregor> Anyway, granted, this is more complicated than necessary.
- # [23:28] <TabAtkins> The result of urlencode("…") is %E2%80%A6.
- # [23:28] <Philip`> If you do a simple replace-"-and-& encoder then you don't have to worry about encodings (or at least no more than for any other user input displayed on your site), since the input and output encodings will be identical
- # [23:28] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [23:29] <Philip`> (whereas URL encoding requires UTF-8 output, which is a pain if the input isn't UTF-8)
- # [23:29] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [23:30] <AryehGregor> TabAtkins, only if you save the file as UTF-8. Save it as UTF-16 and try again. (Probably PHP will barf because it's not ASCII-compatible, though.)
- # [23:30] <AryehGregor> Or try any other encoding.
- # [23:30] * Quits: cpearce_ (n=cpearce@203-97-204-82.dsl.clear.net.nz) (Read error: 110 (Connection timed out))
- # [23:31] <AryehGregor> For literals, it just goes by the format of the file.
- # [23:31] <TabAtkins> Well, I'm passing the character in through a GET param.
- # [23:31] * Joins: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [23:32] <TabAtkins> I don't know what the implications of that are wrt encodings.
- # [23:32] <AryehGregor> Then it probably decodes the GET param as binary.
- # [23:32] <AryehGregor> PHP just treats everything as binary.
- # [23:32] <AryehGregor> It's actually very simple.
- # [23:32] <TabAtkins> (Really, all I know is that when things occasionally save as Windows-1252 I get pissed.)
- # [23:33] <TabAtkins> I certainly understand Unicode and it's encodings, but I don't understand why there has to be so many compat problems between various levels. >_<
- # [23:33] * Quits: _Utkarsh (n=admin@117.201.81.84) (Read error: 110 (Connection timed out))
- # [23:42] <TabAtkins> Can anyone go test Python and/or Ruby real quick to see what they do when you pass "a b" to their url escaping function?
- # [23:43] * Joins: Heimidal (n=heimidal@cpe-76-168-254-92.socal.res.rr.com)
- # [23:47] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
- # [23:47] * Rik`_ is now known as Rik`
- # [23:47] * Quits: JoePeck (n=JoePeck@cpe-74-69-85-249.rochester.res.rr.com)
- # [23:50] * Joins: ukai_ (n=ukai@220.109.219.244)
- # [23:59] * Joins: _Utkarsh (n=admin@117.201.80.156)
- # Session Close: Mon Jan 25 00:00:00 2010
The end :)