/irc-logs / freenode / #whatwg / 2010-01-24 / end

Options:

  1. # Session Start: Sun Jan 24 00:00:00 2010
  2. # Session Ident: #whatwg
  3. # [00:04] * Joins: yutak_home (n=kee@N038037.ppp.dion.ne.jp)
  4. # [00:09] <othermaciej> Hixie: I sent a big list of sites that use cut/copy/paste events in email
  5. # [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
  6. # [00:20] * Quits: pgran (n=philgran@c-75-72-12-45.hsd1.mn.comcast.net)
  7. # [00:21] * Joins: archtech (i=stanv@83.228.56.37)
  8. # [00:21] * Joins: miketaylr (n=miketayl@24.42.95.234)
  9. # [00:43] * Joins: tndH (n=Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
  10. # [00:50] * Joins: beilabs (n=beilabs@ppp121-44-103-112.lns20.syd6.internode.on.net)
  11. # [00:53] * Quits: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no) (Read error: 110 (Connection timed out))
  12. # [00:55] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  13. # [00:58] * Quits: miketaylr (n=miketayl@24.42.95.234) (Read error: 110 (Connection timed out))
  14. # [01:01] * Quits: crash\ (i=crash@lubyte.de) (Read error: 60 (Operation timed out))
  15. # [01:12] <Hixie> othermaciej: thanks
  16. # [01:14] * Joins: crash\ (i=crash@lubyte.de)
  17. # [01:15] <Hixie> foolip: the photo gallery example from the spec doesn't generate any RDF?
  18. # [01:16] <Hixie> is that a bug in the spec?
  19. # [01:17] <Hixie> doesn't show the JSON either
  20. # [01:29] <bzed> hmm.why are the unit tests missing in the released file of 0.90?
  21. # [01:43] <TabAtkins> Hixie: Where's the photo gallery example?
  22. # [01:44] * Quits: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Read error: 110 (Connection timed out))
  23. # [01:47] <foolip> Hixie: it does for me, perhaps it's a bug in my javascript?
  24. # [01:47] <foolip> Hixie: oh, that example, will check...
  25. # [02:01] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
  26. # [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
  27. # [02:05] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
  28. # [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
  29. # [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
  30. # [04:07] * Disconnected
  31. # [04:08] * Attempting to rejoin channel #whatwg
  32. # [04:08] * Rejoined channel #whatwg
  33. # [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!'
  34. # [04:08] * Set by annevk42 on Mon Oct 19 22:03:06
  35. # [04:17] * Quits: martiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net) (Remote closed the connection)
  36. # [04:19] * Quits: FireFly (n=firefly@unaffiliated/firefly) ("Leaving")
  37. # [04:23] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (niven.freenode.net irc.freenode.net)
  38. # [04:23] * Quits: hamaji (n=hamaji@220.109.219.244) (niven.freenode.net irc.freenode.net)
  39. # [04:23] * Quits: scherkus (n=scherkus@74.125.59.73) (niven.freenode.net irc.freenode.net)
  40. # [04:23] * Quits: ukai (n=ukai@220.109.219.244) (niven.freenode.net irc.freenode.net)
  41. # [04:23] * Quits: takkaria_ (n=takkaria@208.75.87.166) (niven.freenode.net irc.freenode.net)
  42. # [04:25] * Joins: takkaria (n=takkaria@isparp.co.uk)
  43. # [04:28] * Joins: erlehmann (n=erlehman@82.113.106.128)
  44. # [04:28] * Quits: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net) (Read error: 113 (No route to host))
  45. # [04:28] * Quits: miketaylr (n=miketayl@24.42.95.234) ("Leaving...")
  46. # [04:29] * Joins: scherkus (n=scherkus@74.125.59.73)
  47. # [04:30] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  48. # [04:33] * Joins: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net)
  49. # [04:43] * Joins: hamaji (n=hamaji@220.109.219.244)
  50. # [04:43] * Joins: ukai (n=ukai@220.109.219.244)
  51. # [04:47] * Joins: paul_iri_ (n=paul_iri@c-71-192-163-128.hsd1.nh.comcast.net)
  52. # [04:48] * paul_iri_ is now known as paul_irish_
  53. # [04:49] * Quits: paul_irish (n=paul_iri@c-71-192-163-128.hsd1.nh.comcast.net) (Nick collision from services.)
  54. # [04:49] * paul_irish_ is now known as paul_irish
  55. # [04:51] * Joins: miketaylr (n=miketayl@24.42.95.234)
  56. # [05:12] * Quits: mackstann (n=death@216-20-152-177-dsl.hevanet.com) (Read error: 60 (Operation timed out))
  57. # [05:51] * Quits: hamaji (n=hamaji@220.109.219.244) (Read error: 110 (Connection timed out))
  58. # [05:53] * Quits: tyoshino (n=tyoshino@220.109.219.244) (Read error: 110 (Connection timed out))
  59. # [06:01] * Quits: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net) (Read error: 110 (Connection timed out))
  60. # [06:04] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  61. # [06:14] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
  62. # [06:17] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
  63. # [06:19] * Quits: ukai (n=ukai@220.109.219.244) (Read error: 110 (Connection timed out))
  64. # [06:30] * Joins: Lachy (n=Lachlan@89.233.178.6)
  65. # [06:33] * Quits: Lachy (n=Lachlan@89.233.178.6) (Client Quit)
  66. # [06:33] * Joins: Lachy (n=Lachlan@89.233.178.6)
  67. # [06:43] * Joins: _Utkarsh (n=admin@117.201.85.62)
  68. # [06:45] * Joins: breakmau5 (n=breakz@erft-5d80b812.pool.mediaWays.net)
  69. # [06:51] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
  70. # [06:51] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  71. # [06:53] * Quits: Utkarsh (n=admin@117.201.82.119) (Read error: 110 (Connection timed out))
  72. # [06:54] * Quits: miketaylr (n=miketayl@24.42.95.234) (Remote closed the connection)
  73. # [07:03] * Quits: katz-und-mau5 (n=breakz@erft-5d80e9da.pool.mediaWays.net) (Read error: 113 (No route to host))
  74. # [07:04] <Hixie> for the last 3 hours i have gone through the following process about 10 times:
  75. # [07:04] <Hixie> 1. look at my emacs window. remember that i'm trying to write an example for <iframe srcdoc>.
  76. # [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.
  77. # [07:05] <Hixie> 3. decide a good place to find such blog posts might be a news aggregator like reddit.
  78. # [07:05] * Quits: JonathanNeal (n=Jonathan@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Read error: 110 (Connection timed out))
  79. # [07:05] <Hixie> 4. go to reddit fully intending to find a blog post of that nature.
  80. # [07:05] <Hixie> 5. read reddit.
  81. # [07:05] <Hixie> 6. forget about #2-#4.
  82. # [07:06] <Hixie> 7. run out of posts to read
  83. # [07:06] <Hixie> 8. decide i'm going to work on html5.
  84. # [07:06] <Hixie> 9. goto 1.
  85. # [07:12] <othermaciej> lol
  86. # [07:18] * Joins: mackstann (n=death@216-20-152-177-dsl.hevanet.com)
  87. # [07:44] * Quits: taf2 (n=taf2@pool-98-117-216-229.bltmmd.fios.verizon.net) (Excess Flood)
  88. # [07:45] * Quits: crash\ (i=crash@lubyte.de) (Excess Flood)
  89. # [07:45] * Joins: crash\ (i=crash@lubyte.de)
  90. # [07:47] * Quits: cpearce (n=cpearce@ip-118-90-85-126.xdsl.xnet.co.nz) (Read error: 110 (Connection timed out))
  91. # [07:55] * Quits: breakmau5 (n=breakz@erft-5d80b812.pool.mediaWays.net) (Client Quit)
  92. # [07:58] * Quits: yutak_home (n=kee@N038037.ppp.dion.ne.jp) ("Ex-Chat")
  93. # [08:00] * Joins: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net)
  94. # [08:02] * Quits: _Utkarsh (n=admin@117.201.85.62) (Client Quit)
  95. # [08:05] * Quits: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net) (Read error: 104 (Connection reset by peer))
  96. # [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.")
  97. # [08:17] * Joins: shepazu (n=schepers@adsl-150-130-9.rmo.bellsouth.net)
  98. # [08:26] * Joins: cpearce (n=cpearce@ip-118-90-85-126.xdsl.xnet.co.nz)
  99. # [08:32] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
  100. # [08:33] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  101. # [08:34] * Quits: shepazutoo (n=schepers@adsl-150-130-9.rmo.bellsouth.net) (Read error: 110 (Connection timed out))
  102. # [08:53] * Joins: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
  103. # [10:11] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
  104. # [10:19] * VasilievVV is now known as vvv
  105. # [10:33] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  106. # [10:36] * Quits: cpearce (n=cpearce@ip-118-90-85-126.xdsl.xnet.co.nz) (Read error: 60 (Operation timed out))
  107. # [10:47] * Joins: ROBOd (n=robod@89.122.216.38)
  108. # [10:59] * Joins: FireFly (n=firefly@unaffiliated/firefly)
  109. # [11:02] * Joins: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no)
  110. # [11:06] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  111. # [11:12] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Read error: 104 (Connection reset by peer))
  112. # [11:13] * Joins: vvv (n=vvv@mediawiki/VasilievVV)
  113. # [11:16] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
  114. # [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"
  115. # [11:20] <Lachy> s/quote all/escape all/
  116. # [11:24] * Joins: myakura (n=myakura@p3213-ipbf4202marunouchi.tokyo.ocn.ne.jp)
  117. # [11:29] <Hixie> oops
  118. # [11:29] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
  119. # [11:29] * Joins: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net)
  120. # [11:30] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  121. # [11:34] <Dashiva> Has Adobe made any kind of guarantee that flash will remain free in the future?
  122. # [11:37] * Quits: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net) (Remote closed the connection)
  123. # [11:40] * Joins: ttepasse (n=ttepas--@ip-95-222-120-117.unitymediagroup.de)
  124. # [11:41] * Joins: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net)
  125. # [11:41] <Hixie> it's not free _now_, is it?
  126. # [11:42] * Joins: maikmerten (n=maikmert@port-92-201-209-80.dynamic.qsc.de)
  127. # [11:44] <hsivonen> the player is free as in beer, though, but only for end users on certain platforms
  128. # [11:44] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
  129. # [11:46] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
  130. # [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."
  131. # [11:49] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  132. # [11:54] <Hixie> i do not believe they've made that guarantee, no
  133. # [11:55] * Quits: mackstann (n=death@216-20-152-177-dsl.hevanet.com) (Read error: 60 (Operation timed out))
  134. # [12:06] <Hixie> hsivonen: is there a spec for the NPAPI?
  135. # [12:07] * Quits: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
  136. # [12:07] <Hixie> all i've found is https://developer.mozilla.org/en/Gecko_Plugin_API_Reference
  137. # [12:07] <Hixie> but if there's an actual spec, i'd love to update the reference in html5
  138. # [12:07] <hsivonen> Hixie: I was thinking of that, but I can see why you wouldn't count it as a spec
  139. # [12:09] <Hixie> it's a vendor-specific reference, for one
  140. # [12:09] <Hixie> and seems rather vague
  141. # [12:10] <Hixie> i mean, look at this: https://developer.mozilla.org/en/NPN_GetProperty
  142. # [12:10] <Hixie> it's almost too vague to pass as an API reference, let alone a spec
  143. # [12:11] <hsivonen> it would be good if someone wrote a real spec, yes
  144. # [12:12] <Dashiva> Do all the browsers using it implement their own copy?
  145. # [12:12] <hsivonen> Dashiva: I believe they use the same header files but their on code backing the headers
  146. # [12:14] <hsivonen> Hixie: I guess NPAPI is a multivendor standard that doesn't have open list archives or a real spec
  147. # [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
  148. # [12:15] <hsivonen> open list archives and a real spec are righteous, though
  149. # [12:16] <Hixie> HTML4 was almost as bad, yes
  150. # [12:16] <Hixie> (worse, in some respects, better in others)
  151. # [12:18] * Quits: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no) (Read error: 110 (Connection timed out))
  152. # [12:32] * Quits: Lachy (n=Lachlan@89.233.178.6) ("This computer has gone to sleep")
  153. # [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.")
  154. # [12:36] * Joins: riven (n=riven@53518387.cable.casema.nl)
  155. # [12:42] <erlehmann> Dashiva, the only guarantee you can have is open standards. „trusting someone“ usually doesn't work when applied to corporations.
  156. # [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"
  157. # [12:53] * Quits: danbri (n=danbri@unaffiliated/danbri) (Remote closed the connection)
  158. # [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
  159. # [12:54] <Philip`> (and I don't think the child will care much about the details of the licensing terms)
  160. # [12:56] <Dashiva> The argument seems to be that they will
  161. # [13:02] * Joins: danbri (n=danbri@ip176-48-210-87.adsl2.static.versatel.nl)
  162. # [13:08] * Quits: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at) (Remote closed the connection)
  163. # [13:09] <erlehmann> I fail to see what exactly how that could play a role in choosing whether to abandon Flash or not.
  164. # [13:09] * Joins: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it)
  165. # [13:10] <Dashiva> Because h264 is involved
  166. # [13:22] * Joins: VasilievVV (n=vvv@mediawiki/VasilievVV)
  167. # [13:22] * Quits: vvv (n=vvv@mediawiki/VasilievVV) (Read error: 60 (Operation timed out))
  168. # [13:33] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
  169. # [13:33] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  170. # [13:34] * Quits: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it) (Remote closed the connection)
  171. # [13:34] * Joins: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it)
  172. # [14:08] <AryehGregor> Dashiva, India, Brazil, and Kenya don't have software patents AFAIK, so they can use H.264 in <video>. :)
  173. # [14:09] <Dashiva> AryehGregor: Well, apart from Firefox refusing to let them
  174. # [14:09] <AryehGregor> Right.
  175. # [14:09] <AryehGregor> I don't think third-world countries are a legitimate reason for opposing H.264 at this juncture.
  176. # [14:09] <AryehGregor> The impact is mainly on Americans.
  177. # [14:10] <AryehGregor> Who are rich and can afford the tax for the next seven years.
  178. # [14:11] <AryehGregor> On the other hand, Flash imposes much bigger practical problems, so killing it ASAP would be nice.
  179. # [14:11] <AryehGregor> If everyone were to use Theora, that would be great, but . . .
  180. # [14:11] * AryehGregor will stick to supporting Theora-only for now, but hey, GIF didn't kill the web.
  181. # [14:11] <Dashiva> At the current juncture, it's more a question of which is the lesser evil in the meantime
  182. # [14:11] <AryehGregor> Pretty much, yeah.
  183. # [14:12] <AryehGregor> How many extra people can Mozilla pressure into using Theora by only supporting it?
  184. # [14:12] <Dashiva> How many people can they pressure into sticking to Flash
  185. # [14:12] <jcranmer> well, if MPEG-LA decides to require licenses for creating H.264
  186. # [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.
  187. # [14:13] <AryehGregor> jcranmer, if that happens, game over, we win. No problem there.
  188. # [14:14] <jcranmer> I guess it comes down to IE, then
  189. # [14:14] <AryehGregor> I'm guessing they won't charge any more than they think the market will bear.
  190. # [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?
  191. # [14:14] <Dashiva> I'd say it's reasonably certain microsoft is in the h264 camp
  192. # [14:14] <AryehGregor> The question is whether MS will package Theora codecs by default. But like Apple, it's an MPEG-LA licensor.
  193. # [14:15] <jcranmer> having H264 is pretty much given
  194. # [14:15] <AryehGregor> And it has a strong historical tendency to try quashing free formats via patents.
  195. # [14:15] <jcranmer> the question is whether or not it takes Theora as well
  196. # [14:15] <Dashiva> I'd guess they won't support theora directly, but if the users installs it manually it will work
  197. # [14:16] <AryehGregor> That would be my guess too.
  198. # [14:16] <AryehGregor> But the upshot in that case will be everyone except Mozilla supports H.264.
  199. # [14:16] <AryehGregor> And only Firefox, Chrome, Opera support Theora.
  200. # [14:16] <AryehGregor> So forget it, H.264 wins.
  201. # [14:16] <AryehGregor> As I say, GIF didn't kill the web. Theora is a lot further along than PNG was, too, relatively speaking.
  202. # [14:17] <jcranmer> the other possibility is that MPEG-LA gets greedy, and you see a backlash like what happened with GIF
  203. # [14:17] <AryehGregor> That could happen, yeah.
  204. # [14:17] <Dashiva> PNG had significant improvements over GIF, though
  205. # [14:17] <AryehGregor> Right, but Theora is improving.
  206. # [14:17] <jcranmer> Theora apparently outperforms H.264 at low bitrates
  207. # [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.
  208. # [14:18] * AryehGregor can't remember its name.
  209. # [14:18] <Dashiva> On2
  210. # [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.
  211. # [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
  212. # [14:19] <Dashiva> jcranmer: That's not the real argument, though. The argument is attack surface.
  213. # [14:19] <jcranmer> well, let's see where Bilski goes
  214. # [14:19] <AryehGregor> jcranmer, it was more plausible before Google started deploying it.
  215. # [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.
  216. # [14:20] * jcranmer wonders if he should write his representatives to propose a "use it or lose it" rule for patents
  217. # [14:21] <Dashiva> "Your" representatives
  218. # [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.
  219. # [14:21] <AryehGregor> Besides, it wouldn't help much.
  220. # [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.
  221. # [14:22] <Dashiva> They could hide it deep inside some completely unrelated application
  222. # [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
  223. # [14:22] <AryehGregor> The Supreme Court likes ruling narrowly, yeah.
  224. # [14:23] <Dashiva> Except on letting businesses buy politicians :P
  225. # [14:23] <jcranmer> SCotUS is also a big fan of narrowing patentability
  226. # [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.
  227. # [14:24] <AryehGregor> Well, I guess they could have artificially restricted themselves to not-for-profits or something.
  228. # [14:24] <Dashiva> But they ruled in the general case, much wider than the specific instance the case was about
  229. # [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.
  230. # [14:26] <AryehGregor> So if they can reasonably make a ruling on Bilski that only covers business-method patents, probably they'll do so.
  231. # [14:26] <AryehGregor> But one never knows.
  232. # [14:27] <jcranmer> basically, they'll probably kill the State Street test "useful, tangible result"
  233. # [14:28] <jcranmer> which puts software patents on shaky grounds (Diamond v. Diehr held that software per se was unpatentable)
  234. # [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/")
  235. # [15:36] * Quits: danbri (n=danbri@unaffiliated/danbri) (Remote closed the connection)
  236. # [15:47] * Joins: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net)
  237. # [16:08] * Joins: Utkarsh (n=admin@117.201.83.160)
  238. # [16:22] * Joins: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no)
  239. # [16:26] * Quits: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net) (Remote closed the connection)
  240. # [16:27] * Joins: kmartiin (n=kmartiin@p57AC7F9A.dip.t-dialin.net)
  241. # [16:42] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
  242. # [16:43] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  243. # [16:58] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
  244. # [17:05] * Joins: breakmau5 (n=breakz@erft-5d80b812.pool.mediaWays.net)
  245. # [17:20] * Quits: virtuelv (n=virtuelv@162.179.251.212.customer.cdi.no) ("Ex-Chat")
  246. # [17:24] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  247. # [17:25] * Quits: erlehmann (n=erlehman@82.113.106.128) ("Ex-Chat")
  248. # [17:27] * Quits: beilabs (n=beilabs@ppp121-44-103-112.lns20.syd6.internode.on.net) (Remote closed the connection)
  249. # [17:28] * Joins: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
  250. # [17:37] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
  251. # [17:50] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  252. # [17:51] * Quits: myakura (n=myakura@p3213-ipbf4202marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
  253. # [17:53] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  254. # [18:12] * Joins: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk)
  255. # [18:12] * Quits: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk) (Nick collision from services.)
  256. # [18:12] * Joins: Steve^^ (n=steve@92.40.173.244.sub.mbb.three.co.uk)
  257. # [18:12] * Joins: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk)
  258. # [18:13] * Joins: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net)
  259. # [18:13] * Parts: Steve^^ (n=steve@92.40.173.244.sub.mbb.three.co.uk) ("Leaving")
  260. # [18:17] * Joins: tametick (n=chatzill@chello084114134061.3.15.vie.surfer.at)
  261. # [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?)
  262. # [18:24] <Philip`> Just make a page that embeds a user-chosen URL in a sandbox that disables plugins
  263. # [18:28] <TabAtkins> Philip`: Interesting.
  264. # [18:32] <AryehGregor> Chrome has a Flash-blocker extension by now, surely?
  265. # [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)
  266. # [18:33] <Philip`> You should use Opera, it has a handy context menu for globally disabling plugins :-)
  267. # [18:34] <AryehGregor> If you can find the option in a sea of three hundred and eighty-one other options.
  268. # [18:34] <Steve^> globally disabling isn't what you normally want?
  269. # [18:34] <Steve^> You want a whitelist
  270. # [18:37] <Philip`> AryehGregor: The context menu only has 14 options
  271. # [18:37] <Philip`> Uh, probably not actually a context menu; it's just what you get when you hit F12
  272. # [18:37] <AryehGregor> Philip`, and how many of those open up to a whole other submenu of options? Chrome's has eight, no submenus.
  273. # [18:38] <Philip`> AryehGregor: 0
  274. # [18:38] <AryehGregor> F12 doesn't do anything in Chrome, so it has zero of those. :)
  275. # [18:38] <Steve^> none, actually
  276. # [18:38] <Philip`> (unless you count "Edit site preferences..." which opens a whole dialog)
  277. # [18:38] <Steve^> I've been wondering though, is Chrome too simple to be mainstream?
  278. # [18:38] <AryehGregor> Oh, F12 is just Tools -> Quick Preferences.
  279. # [18:38] <Philip`> AryehGregor: Yes
  280. # [18:38] <AryehGregor> Well, Chrome still has zero prefs in that menu, so it wins for simplicity. ;)
  281. # [18:38] <Philip`> but quicker
  282. # [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)
  283. # [18:39] <Steve^> How will she fare with Chrome and not even a menu bar?
  284. # [18:39] <Steve^> *i was speaking
  285. # [18:39] <AryehGregor> Opera has 16 options in context menus, two of which are submenus.
  286. # [18:40] <TabAtkins> Steve^: In my experience, most users have no idea their browser *has* options.
  287. # [18:40] <TabAtkins> To be honest, *I* have no idea what many of the options do, or at least don't care.
  288. # [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.
  289. # [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 :-)
  290. # [18:40] <TabAtkins> Which is why I use Chrome for daily browsing. ^_^
  291. # [18:40] <AryehGregor> Philip`, well, I'm using the Linux beta, that doesn't count.
  292. # [18:40] <AryehGregor> Actually, I'm on the dev channel.
  293. # [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.
  294. # [18:41] <Steve^> TabAtkins, but that isn't an option, its a function
  295. # [18:41] <Philip`> AryehGregor: We should only count mythical browsers that don't have any problems?
  296. # [18:41] <AryehGregor> Philip`, no, you should only count the stable channel of Chrome, just like you shouldn't count Opera alphas.
  297. # [18:41] <Philip`> I'd prefer to count the browser versions that I would use :-)
  298. # [18:41] <Steve^> pardon myself for using the word option before
  299. # [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.
  300. # [18:42] <Steve^> ok, how about the print button?
  301. # [18:42] <TabAtkins> Do browsers have a print button normally exposed?
  302. # [18:42] <Steve^> TabAtkins, but there isn't a file menu to get to it either
  303. # [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)
  304. # [18:42] <TabAtkins> The little paper-thingy menu gets you there.
  305. # [18:43] <Steve^> there;s a "paper with folded corner" menu
  306. # [18:43] * Joins: twhee (n=twee@twee.static.corbina.ru)
  307. # [18:43] <TabAtkins> Since there's only two buttons that aren't obviously navigation-related, you'll find it pretty quick.
  308. # [18:43] <AryehGregor> Philip`, if we're talking about us, then the relevant notion of simplicity is thoroughly different.
  309. # [18:43] <twhee> Hello everyone
  310. # [18:43] <twhee> is there any documentation/samples for using python html5lib?
  311. # [18:44] <Philip`> AryehGregor: I was talking about us, since you said "I" and I said "you"
  312. # [18:44] <twhee> http://code.google.com/p/html5lib/wiki/UserDocumentation : page not found
  313. # [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.
  314. # [18:44] <Philip`> twhee: http://html5lib.googlecode.com/svn/wiki/UserDocumentation.wiki is what ought to be on that page
  315. # [18:44] <AryehGregor> Also, if we're talking about us, I prefer open-source browsers. :P
  316. # [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
  317. # [18:44] <twhee> Oh, thanks
  318. # [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
  319. # [18:46] * cardona507 too
  320. # [18:46] <Steve^> and my mum is happy that it logs her into Facebook, so maybe it does have a future
  321. # [18:46] <TabAtkins> Yeah, I've been thinking of putting my status bar back on my work machine's firefox.
  322. # [18:46] <othermaciej> Steve^: Safari does have a status bar, it's just off by default
  323. # [18:46] <TabAtkins> I like simplicity, so I removed it, and the link-icon thinger I have helps a lot, but still.
  324. # [18:46] <othermaciej> turning on the status bar is one of the very few changes I make to the default preference settings
  325. # [18:46] <Steve^> I think we can agree "off by default" is almost identical to not having a feature
  326. # [18:47] <Steve^> I didn't even consider looking for that
  327. # [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.")
  328. # [18:48] <othermaciej> a transient hover overlay might be good, though Chrome's particular design looks kinda fugly to my eye
  329. # [18:48] <othermaciej> I do agree that most users don't change defaults at all
  330. # [18:49] <Steve^> everyone on the web seems to agree that choice is bad
  331. # [18:49] <AryehGregor> It is. I've been meaning to write an essay.
  332. # [18:49] <AryehGregor> Chrome is really excellent about not giving people unneeded choices.
  333. # [18:49] <othermaciej> "users don't change defaults" isn't the same as "choice is bad"
  334. # [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.
  335. # [18:50] * Quits: Michelangelo (n=Michelan@93-41-247-64.ip84.fastwebnet.it) (Read error: 60 (Operation timed out))
  336. # [18:50] <Steve^> just a few minutes ago people were comparing the number of menus they had in their browsers
  337. # [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.
  338. # [18:51] <AryehGregor> "Give the users a choice" is often a way to avoid making a decision.
  339. # [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
  340. # [18:51] <othermaciej> that is indeed a pathology that is common in open source projects
  341. # [18:51] <AryehGregor> Since it shuts up all the people who don't like the default, since they're just told to change it.
  342. # [18:51] <Steve^> But then I use Linux and Opera, I like the other side of the scale
  343. # [18:51] <AryehGregor> othermaciej, not in closed-source projects? I can name you examples from Windows, for sure . . .
  344. # [18:51] <AryehGregor> Like a dialog box asking you whether you want help files indexed, for crying out loud.
  345. # [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"
  346. # [18:52] <othermaciej> Apple is mostly at the opposite extreme
  347. # [18:52] <AryehGregor> So is Google (including Chromium).
  348. # [18:52] <Steve^> Apple is a step too far, I find it difficult to find settings I need to change
  349. # [18:52] <AryehGregor> Also GNOME, although IMO GNOME doesn't do as good a job at it.
  350. # [18:52] <othermaciej> those are my only two experiences seeing major projects up close
  351. # [18:53] <othermaciej> Apple's design philosophy is that there should be no such thing as "settings you need to change"
  352. # [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.
  353. # [18:53] <AryehGregor> Yeah, that's the right philosophy.
  354. # [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.
  355. # [18:54] <Steve^> AryehGregor, simple, replace the scribus executable with a link pointing to evince :)
  356. # [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.
  357. # [18:54] <AryehGregor> Steve^, haha.
  358. # [18:54] <AryehGregor> That would work.
  359. # [18:56] * othermaciej is fixing an HTML parser bug to atone for time-wasting mailing list posts
  360. # [18:59] <AryehGregor> Does WebKit have any plans to switch to an HTML5 parser like Gecko does?
  361. # [19:01] <othermaciej> we'll eventually have an HTML5-compliant HTML parser
  362. # [19:02] <othermaciej> I have no timeline to give on that however
  363. # [19:02] * Joins: erikvold (n=erikvold@S01060024012860e9.gv.shawcable.net)
  364. # [19:13] <Steve^> Does anyone know if Google Chromes recent blanket-advertising campaign in the UK has done much?
  365. # [19:14] <AryehGregor> I'm sure Google knows. :)
  366. # [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.
  367. # [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?
  368. # [19:21] <Philip`> AryehGregor: To placate people who weren't happy with having Hixie be the sole editor
  369. # [19:22] <AryehGregor> It's rather misleading.
  370. # [19:23] <Philip`> Sure
  371. # [19:26] <Steve^> I wonder what kind of web browser the iSlate will have
  372. # [19:26] <Steve^> if the fantasies of a reinvented personal computer experience are anything to go by, the browser is surely a part
  373. # [19:27] <AryehGregor> I can't imagine it would be anything but Safari, of some stripe.
  374. # [19:27] <AryehGregor> Maybe modified, like the iPhone Safari, but still Safari, surely.
  375. # [19:28] <Steve^> indeed, the content will be the same
  376. # [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.")
  377. # [19:42] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
  378. # [19:42] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  379. # [20:05] * Quits: Steve^ (n=steve@92.40.173.244.sub.mbb.three.co.uk) ("Leaving")
  380. # [20:08] * Joins: maikmerten_ (n=maikmert@port-92-201-94-96.dynamic.qsc.de)
  381. # [20:10] * Joins: danbri (n=danbri@ip176-48-210-87.adsl2.static.versatel.nl)
  382. # [20:17] * Joins: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz)
  383. # [20:23] * Quits: maikmerten (n=maikmert@port-92-201-209-80.dynamic.qsc.de) (Read error: 110 (Connection timed out))
  384. # [20:27] * Joins: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net)
  385. # [20:32] * Joins: gratz|home (n=gratz@cpc1-brig9-0-0-cust33.brig.cable.ntl.com)
  386. # [20:34] * Quits: Utkarsh (n=admin@117.201.83.160) (Read error: 60 (Operation timed out))
  387. # [20:34] * Joins: Utkarsh (n=admin@117.201.80.126)
  388. # [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]")
  389. # [20:56] * Joins: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz)
  390. # [20:59] * Joins: dbaron (n=dbaron@c-98-234-51-190.hsd1.ca.comcast.net)
  391. # [21:08] * Quits: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net) (Read error: 104 (Connection reset by peer))
  392. # [21:15] * Joins: Steve^ (n=steve@92.40.60.71.sub.mbb.three.co.uk)
  393. # [21:16] * Joins: m_W (n=mwj@c-69-141-106-205.hsd1.nj.comcast.net)
  394. # [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?
  395. # [21:26] * Quits: seventh (i=seventh@189.59.132.24) (Read error: 110 (Connection timed out))
  396. # [21:27] * Joins: borismus (n=borismus@bl8-148-211.dsl.telepac.pt)
  397. # [21:28] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  398. # [21:31] <Dashiva> AryehGregor: Surely it can't break any worse than the equivalent of network errors or 404s
  399. # [21:32] <AryehGregor> No, but it won't be a marketable browser. Same as, e.g., not implementing the correct insane parser algorithm.
  400. # [21:32] <AryehGregor> The latter is far more complicated, of course, so has much more reason to be specced.
  401. # [21:34] <Steve^> that's a good idea
  402. # [21:34] <AryehGregor> I imagine it's a pretty short list, of course.
  403. # [21:35] <AryehGregor> GIF, PNG, JPEG. BMP? TIFF? I'm not actually sure.
  404. # [21:36] <Steve^> BMP yes
  405. # [21:37] * Quits: maikmerten_ (n=maikmert@port-92-201-94-96.dynamic.qsc.de) (Remote closed the connection)
  406. # [21:37] <Dashiva> I'm sure there's a dozen smaller image formats that you could argue for or against
  407. # [21:37] <Steve^> which is why there should be a list
  408. # [21:37] <Dashiva> Which is why the list will just be a bikeshed
  409. # [21:38] <AryehGregor> Dashiva, just make the list contain precisely the formats supported by every browser.
  410. # [21:39] <AryehGregor> Same as with character encodings, that was discussed before on the mailing list.
  411. # [21:39] * Quits: cardona507 (n=cardona5@c-67-180-160-250.hsd1.ca.comcast.net) ("zzzzz")
  412. # [21:39] <AryehGregor> (one of them)
  413. # [21:39] <AryehGregor> You could make it contain fewer, if people think a particular format isn't really needed for web compatibility.
  414. # [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.
  415. # [21:41] <Steve^> can a style element be placed within body?
  416. # [21:42] <daedb> yes
  417. # [21:42] <AryehGregor> But usually shouldn't be, to avoid FOUC.
  418. # [21:44] <Steve^> FOUC?
  419. # [21:45] <daedb> Flash of unstyled content
  420. # [21:45] <Steve^> I'm looking at the HTML5 specs and it suggests that style belongs in the head
  421. # [21:46] <AryehGregor> That's the best place to put it.
  422. # [21:46] <Steve^> I'm thinking about emails and wiki pages, where I don't have full control over the document
  423. # [21:46] <Steve^> (I don't know what would happen in an HTML email if I put full markup in there)
  424. # [21:46] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
  425. # [21:47] <AryehGregor> Then you might want it in the <body>. It's allowed.
  426. # [21:47] <AryehGregor> Webmail clients would probably block it, though.
  427. # [21:50] <Steve^> why?
  428. # [21:50] <Steve^> HTML emails aren't allowed style?
  429. # [21:52] <AryehGregor> <style> would apply to the whole document, including the mail interface.
  430. # [21:52] * Joins: Necrathex (n=bleptop@212-123-163-12.ip.telfort.nl)
  431. # [21:52] <AryehGregor> Unless they put the mail itself in an <iframe>, but without seamless, I doubt any do.
  432. # [21:52] <AryehGregor> Since theey have to be fixed-size.
  433. # [21:53] <Steve^> oooo, that's a good point
  434. # [21:53] <Steve^> anyway, that isn't my concern
  435. # [21:53] <Steve^> I was just wondering whether it is illegal to put style in the body or just disliked
  436. # [21:54] <AryehGregor> It's legal.
  437. # [22:01] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Remote closed the connection)
  438. # [22:01] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  439. # [22:06] * Quits: GarethAdams|Home (n=GarethAd@pdpc/supporter/active/GarethAdams)
  440. # [22:10] * Joins: _Utkarsh (n=admin@117.201.81.84)
  441. # [22:11] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
  442. # [22:12] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  443. # [22:14] * Quits: Utkarsh (n=admin@117.201.80.126) (Read error: 110 (Connection timed out))
  444. # [22:21] * Joins: starjive (i=beos@81-233-16-19-no30.tbcn.telia.com)
  445. # [22:23] * Philip` likes how htmLawed takes the approach of offering a zillion options with no indication of which ones are potentially insecure
  446. # [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
  447. # [22:29] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (Remote closed the connection)
  448. # [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.")
  449. # [22:36] * Quits: gratz|home (n=gratz@cpc1-brig9-0-0-cust33.brig.cable.ntl.com) ("Leaving")
  450. # [22:39] * Joins: cpearce_ (n=cpearce@203-97-204-82.dsl.clear.net.nz)
  451. # [22:41] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
  452. # [22:43] * Joins: mackstann (n=death@216-20-152-177-dsl.hevanet.com)
  453. # [22:49] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  454. # [22:51] <foolip> why is it that data: URIs can't be used instead of srcdoc=""?
  455. # [22:54] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 104 (Connection reset by peer))
  456. # [22:54] * Joins: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  457. # [22:54] * Quits: Steve^ (n=steve@92.40.60.71.sub.mbb.three.co.uk) ("Leaving")
  458. # [22:54] <Dashiva> foolip: Because they're a lot more complicate
  459. # [22:54] <Dashiva> d
  460. # [22:56] <foolip> really? anything apart from the escaping (which isn't complicated)
  461. # [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?
  462. # [22:59] <Dashiva> It's the escaping
  463. # [22:59] * Quits: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz) (Read error: 110 (Connection timed out))
  464. # [23:01] <foolip> that sounds like the strangest reason to make up a new attribute ever, unless I'm missing something about escaping (encodeURL?)
  465. # [23:04] <Philip`> You need a URL encoding function that encodes characters like #
  466. # [23:04] <Philip`> and I imagine it's easy to pick a function that isn't quite right
  467. # [23:05] <foolip> and with srcdoc you only need to escale < and " ?
  468. # [23:05] <foolip> escape
  469. # [23:07] * Quits: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
  470. # [23:07] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  471. # [23:07] <Dashiva> Yes
  472. # [23:08] <Philip`> No
  473. # [23:08] <Philip`> & and "
  474. # [23:09] <foolip> so there's no browser that would be confused by e.g. <a href="</a>">?
  475. # [23:10] <Philip`> No, as far as I'm aware
  476. # [23:10] <Philip`> (It's not well-formed XML, though)
  477. # [23:10] <foolip> that's surprising, but good if it's true
  478. # [23:11] <Dashiva> Yeah, as long as you get the " right you're "safe"
  479. # [23:11] <Dashiva> And if you don't, then it'll most likely break visibly all over the place
  480. # [23:13] * Joins: cpearce (n=cpearce@203-97-204-82.dsl.clear.net.nz)
  481. # [23:15] * Quits: JonathanNeal (n=Jonathan@adsl-99-56-193-35.dsl.lsan03.sbcglobal.net) ("Leaving")
  482. # [23:21] * Joins: Utkarsh (n=admin@117.201.80.4)
  483. # [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.
  484. # [23:22] <TabAtkins> I think that using text/sandboxed-html in the data: url would fix that, though.
  485. # [23:24] <AryehGregor> I don't think escaping is a really compelling reason here. urlencode() should work fine here, no?
  486. # [23:24] <Philip`> What is urlencode?
  487. # [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.
  488. # [23:25] <AryehGregor> PHP's urlencode(), for instance.
  489. # [23:25] <AryehGregor> Or Python/Perl/Ruby/etc. equivalents.
  490. # [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."
  491. # [23:25] <AryehGregor> http://us.php.net/manual/en/function.urlencode.php
  492. # [23:25] <AryehGregor> That would work fine, right?
  493. # [23:25] <AryehGregor> But it would look a lot uglier, and you'd have the extra data:text/sandboxed-html,<!doctype html> boilerplate.
  494. # [23:26] <Philip`> Encoding spaces as + won't work
  495. # [23:26] <Philip`> See e.g. data:text/html,a+b
  496. # [23:26] <AryehGregor> The + isn't translated to a space there?
  497. # [23:26] <AryehGregor> Then I agree it's more of a pain.
  498. # [23:26] <Philip`> No
  499. # [23:27] <Philip`> What does urlencode do with Unicode?
  500. # [23:27] <TabAtkins> You have to escape it as %20
  501. # [23:27] * Joins: roc (n=roc@203-97-204-82.dsl.clear.net.nz)
  502. # [23:27] <Dashiva> That's the point, isn't it? Encoding data: is too easy to do wrong
  503. # [23:27] <Philip`> by which I mean: I assume urlencode doesn't do anything with Unicode, since PHP is stupid
  504. # [23:27] <AryehGregor> It probably treats it as binary.
  505. # [23:27] <AryehGregor> So if the input string is UTF-8, it will encode as UTF-8.
  506. # [23:28] <Philip`> so I guess it's okay iff you store strings internally with UTF-8 encoding before passing to urlencode
  507. # [23:28] <AryehGregor> Anyway, granted, this is more complicated than necessary.
  508. # [23:28] <TabAtkins> The result of urlencode("…") is %E2%80%A6.
  509. # [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
  510. # [23:28] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  511. # [23:29] <Philip`> (whereas URL encoding requires UTF-8 output, which is a pain if the input isn't UTF-8)
  512. # [23:29] * Joins: Lachy (n=Lachlan@85.196.122.246)
  513. # [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.)
  514. # [23:30] <AryehGregor> Or try any other encoding.
  515. # [23:30] * Quits: cpearce_ (n=cpearce@203-97-204-82.dsl.clear.net.nz) (Read error: 110 (Connection timed out))
  516. # [23:31] <AryehGregor> For literals, it just goes by the format of the file.
  517. # [23:31] <TabAtkins> Well, I'm passing the character in through a GET param.
  518. # [23:31] * Joins: Rik`_ (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  519. # [23:32] <TabAtkins> I don't know what the implications of that are wrt encodings.
  520. # [23:32] <AryehGregor> Then it probably decodes the GET param as binary.
  521. # [23:32] <AryehGregor> PHP just treats everything as binary.
  522. # [23:32] <AryehGregor> It's actually very simple.
  523. # [23:32] <TabAtkins> (Really, all I know is that when things occasionally save as Windows-1252 I get pissed.)
  524. # [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. >_<
  525. # [23:33] * Quits: _Utkarsh (n=admin@117.201.81.84) (Read error: 110 (Connection timed out))
  526. # [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?
  527. # [23:43] * Joins: Heimidal (n=heimidal@cpe-76-168-254-92.socal.res.rr.com)
  528. # [23:47] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Read error: 113 (No route to host))
  529. # [23:47] * Rik`_ is now known as Rik`
  530. # [23:47] * Quits: JoePeck (n=JoePeck@cpe-74-69-85-249.rochester.res.rr.com)
  531. # [23:50] * Joins: ukai_ (n=ukai@220.109.219.244)
  532. # [23:59] * Joins: _Utkarsh (n=admin@117.201.80.156)
  533. # Session Close: Mon Jan 25 00:00:00 2010

The end :)