Options:
- # Session Start: Tue Feb 09 00:00:00 2010
- # Session Ident: #whatwg
- # [00:00] <zcorpan> i tested the site in ie6 once and fixed a few things so that it was at least usable
- # [00:00] <Johnny__> I guess that's a no then.
- # [00:00] * Joins: matijsb (~matijsb@86.93.69.153)
- # [00:01] <TabAtkins> I'm with zcorpan - I make sure the site is *usable* in ie6, but I make *no* effort to keep it pretty.
- # [00:01] <Johnny__> But you do display a message to someone using ie6?
- # [00:01] <TabAtkins> Yes.
- # [00:01] <zcorpan> no
- # [00:01] <Johnny__> Why not?
- # [00:02] <zcorpan> not the kind of site to tell the user to switch browser
- # [00:02] <webben> Johnny__: I do.
- # [00:03] <Johnny__> I think that's a good idea, at least tell them that it's the browser not your site's fault.
- # [00:04] <webben> (Support IE6, that is, as part of http://developer.yahoo.com/yui/articles/gbs/ )
- # [00:06] * Quits: dbaron (~dbaron@nat/mozilla/x-xwkxavvjkiaxdfsr) (Ping timeout: 252 seconds)
- # [00:07] * Quits: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944) (Remote host closed the connection)
- # [00:07] * Joins: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944)
- # [00:07] <zcorpan> apparently my visitors have 19 different versions of flash
- # [00:09] <Johnny__> Do you style the section tag in css after declaring it as a block element?
- # [00:09] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: Leaving)
- # [00:09] <TabAtkins> If necessary?
- # [00:10] <TabAtkins> It's just like any other element.
- # [00:10] <TabAtkins> I just feed it the IE shim and the quick block declaration for current-browser compatibility, then style it as I would any other element.
- # [00:10] <Johnny__> I've read an article saying that section is not for that and should use div instead.
- # [00:10] <TabAtkins> I think you misinterpreted the article.
- # [00:11] <TabAtkins> <section> is not meant to be used *solely* as a styling hook.
- # [00:11] <zcorpan> 1280x800 is more common than 1024x768
- # [00:11] <TabAtkins> That is, if you need an element *only* to hang styles on. <div> is appropriate there.
- # [00:11] * Quits: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944) (Remote host closed the connection)
- # [00:11] <Johnny__> I'm talking about the html5doctor.com's article on how to use the section tag.
- # [00:11] <TabAtkins> Yeah, I suspected you meant that article. That's not what they meant.
- # [00:12] * Joins: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944)
- # [00:12] <TabAtkins> The rule is to just make sure that you're using <section> properly for its semantics, just like you should use all elements properly for their semantics.
- # [00:12] <TabAtkins> After that, style away.
- # [00:15] <Johnny__> I think I'm still a bit confused as to when should one use section and when should one use article.
- # [00:18] <Johnny__> <section><h1>title</h1><article>content</article></section> Is this wrong?
- # [00:20] <zcorpan> my other site has 74% ie apparently
- # [00:21] <Johnny__> Do you use html5?
- # [00:21] <zcorpan> yeah
- # [00:21] <Johnny__> Can I see your site?
- # [00:21] <zcorpan> which one?
- # [00:21] <Johnny__> The one that uses html5
- # [00:22] <zcorpan> emeress.se
- # [00:24] <Johnny__> Ok I see you used the section tag
- # [00:25] <Johnny__> Now I understand.
- # [00:26] * Joins: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams)
- # [00:27] * Quits: BlurstOfTimes (~blurstoft@168.203.117.66) (Quit: Leaving...)
- # [00:28] <zcorpan> i guess i can remove the script for firefox 2 by now
- # [00:32] * Quits: jgornick (~joe@199.199.210.66) (Quit: jgornick)
- # [00:33] <Johnny__> Thanks TabAtkins, and zcorpan
- # [00:36] * Joins: dbaron (~dbaron@nat/mozilla/x-gcivxrvtyoizgzff)
- # [00:41] <zcorpan> nn
- # [00:42] * Quits: zcorpan (~zcorpan@c-ca9be355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [00:44] <TabAtkins> Johnny__: The difference between <section> and <article> is somewhat subtle, but there's an easy rule-of-thumb to tell them apart.
- # [00:45] <TabAtkins> Use <section> whenever it would be appropriate to put a heading on the stuff you're enclosing (even if you don't actually end up putting one there).
- # [00:45] <TabAtkins> Use <article> when you have something that could be a <section>, but would also be appropriate to link directly to, or to view by itself.
- # [00:46] <TabAtkins> That rule-of-thumb helps capture the "independent content" semantic that <article> has.
- # [00:46] <TabAtkins> Basically if it would be useful to link to a page that had *nothing* on it but the content of the <article>, then <article> is appropriate.
- # [00:54] * Quits: franksalim (~frank@adsl-75-61-86-190.dsl.pltn13.sbcglobal.net) (Quit: Ex-Chat)
- # [00:54] <Johnny__> I see.
- # [00:55] <TabAtkins> Frex, I have a CMS with multiple tabs, one for each segment of my application. Each tab is an <article>, because it would make sense to have them on a separate page (though I happen to collect them on a single page for convenience).
- # [00:58] <othermaciej> I don't think using <article> or <section> for applications typically makes sense
- # [00:59] <othermaciej> I mean, look at the GMail UI, almost none of the logical groupings of UI elements have anything resembling a header
- # [00:59] <TabAtkins> Eh, works for me. Helps to delineate major sections of the app (using <article>) from minor sections (using <section>).
- # [00:59] <TabAtkins> They certainly *could* have a header.
- # [00:59] <othermaciej> the only thing that might be an <article> is an individual email message
- # [00:59] <othermaciej> they *could* but they don't
- # [00:59] <TabAtkins> They don't, because it's obvious from context. But it wouldn't be weird to add one.
- # [01:00] <TabAtkins> Yes. Presentational details like that shouldn't affect the semantics of the element.
- # [01:00] <othermaciej> I don't see any reasonable way to decide which groupings in the UI should be <section>s and which should be <div>s
- # [01:00] <TabAtkins> Just use the guideline I just said.
- # [01:00] <othermaciej> <section> is a concept that makes sense for documents but not as much for applications
- # [01:01] <TabAtkins> I agree, though, that the major sections of GMail should be <section>, and email messages should be <article>s.
- # [01:01] <othermaciej> you were explaining the difference between <section> and <article>, but that doesn't really clarify the difference between <section> and <div> in an app context
- # [01:02] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [01:02] <TabAtkins> Sure. The differernce is that <div> just groups things for some arbitrary reason, usually for styling or scripting purposes. <section> groups them according to a logical division of the doc/app, with the "heading" rule of thumb helping to determine what's an appropriate "logical grouping".
- # [01:02] <TabAtkins> That just keeps you from overthinking things and over-dividing the app.
- # [01:04] <TabAtkins> Like, say, the Labels panel in the GMail ui - individual labels, with their color spot, would probably be <div>s. It's not appropriate to use <section> there, because you wouldn't put a heading on individual labels.
- # [01:04] <TabAtkins> Though, if you were on a label-centric page with a lot of info on each label, then it would be appropriate.
- # [01:05] <TabAtkins> Same as how, frex, a group of ledes for blog posts on a blog home page should just be <div>s, but a group of full posts (or perhaps truncated posts with a "Read More" link) are appropriate for <article>.
- # [01:05] <TabAtkins> <div> or <li> or something, that is.
- # [01:08] * Joins: yutak_home (~kee@N038037.ppp.dion.ne.jp)
- # [01:10] * Quits: matijsb (~matijsb@86.93.69.153) (Quit: matijsb)
- # [01:11] * Joins: cardona507 (~cardona50@c-67-180-160-250.hsd1.ca.comcast.net)
- # [01:14] * Quits: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Ping timeout: 252 seconds)
- # [01:14] * Quits: aroben (~aroben@unaffiliated/aroben) (Read error: Connection reset by peer)
- # [01:18] <Johnny__> Does it make sense to nest two aside tags into one aside tag? I need to place two things one beside the other and float them so the one on the right won't go on the next row.
- # [01:18] * Quits: Heimidal (~heimidal@unaffiliated/heimidal) (Remote host closed the connection)
- # [01:23] * Quits: cardona507 (~cardona50@c-67-180-160-250.hsd1.ca.comcast.net) (Quit: zzzzz)
- # [01:26] * Joins: MikeSmith (~MikeSmith@EM114-48-84-58.pool.e-mobile.ne.jp)
- # [01:31] * Joins: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [01:38] * Quits: yutak_home (~kee@N038037.ppp.dion.ne.jp) (Quit: Ex-Chat)
- # [01:40] * Quits: Johnny__ (~johnny__@host106-216-dynamic.54-79-r.retail.telecomitalia.it) (Quit: Java user signed off)
- # [01:51] * Joins: slightlyoff (~slightlyo@2620:0:1002:1002:21f:5bff:feec:e987)
- # [02:00] * Quits: Necrathex (~bleptop@212-123-163-12.ip.telfort.nl) (Remote host closed the connection)
- # [02:03] * Joins: cardona507 (~cardona50@c-67-180-160-250.hsd1.ca.comcast.net)
- # [02:03] * Quits: cardona507 (~cardona50@c-67-180-160-250.hsd1.ca.comcast.net) (Client Quit)
- # [02:04] * Joins: erikvold (~erikvold@nat/mozilla/x-ommtgbwclvcqfbwe)
- # [02:06] * Quits: erikvold (~erikvold@nat/mozilla/x-ommtgbwclvcqfbwe) (Client Quit)
- # [02:10] * Quits: JonathanNeal (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com) (Ping timeout: 245 seconds)
- # [02:25] * Quits: ap (~ap@17.246.19.5) (Quit: ap)
- # [02:26] * Joins: KevinMarks (~KevinMark@70-36-187-154.dsl.dynamic.sonic.net)
- # [02:30] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [02:36] * Joins: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [02:40] * Quits: cpearce (~cpearce@203-97-204-82.dsl.clear.net.nz) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.15/2009101909])
- # [02:41] * Joins: cpearce (~cpearce@203-97-204-82.dsl.clear.net.nz)
- # [02:46] * Quits: paul_irish (~paul_iris@12.33.239.250) (Quit: paul_irish)
- # [02:47] * Quits: KevinMarks (~KevinMark@70-36-187-154.dsl.dynamic.sonic.net) (Quit: The computer fell asleep)
- # [02:49] * Quits: tndH (~Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) (Ping timeout: 256 seconds)
- # [03:00] * Joins: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au)
- # [03:04] * Joins: tndH (~Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [03:09] * Quits: cying (~cying@70.90.171.153) (Quit: cying)
- # [03:09] * Quits: rsteiner (~rolandste@220.109.219.244)
- # [03:10] * Quits: othermaciej (~mjs@17.246.19.234) (Quit: othermaciej)
- # [03:12] * dave_levin is now known as dave_levin|afk
- # [03:17] * Quits: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Ping timeout: 245 seconds)
- # [03:18] * Quits: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams) (Ping timeout: 245 seconds)
- # [03:19] * Joins: wakaba_ (~wakaba_@119-228-219-41.eonet.ne.jp)
- # [03:19] * Quits: dglazkov (~dglazkov@216.239.45.130) (Quit: dglazkov)
- # [03:20] * Joins: paul_irish (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net)
- # [03:21] * Quits: MikeSmith (~MikeSmith@EM114-48-84-58.pool.e-mobile.ne.jp) (Quit: Tomorrow to fresh woods, and pastures new.)
- # [03:22] * Quits: smaug_ (~chatzilla@cs181150024.pp.htv.fi) (Quit: ChatZilla 0.9.86 [Firefox 3.7a1pre/20100203110813])
- # [03:22] * Joins: MikeSmith (~MikeSmith@EM114-48-84-58.pool.e-mobile.ne.jp)
- # [03:24] * Joins: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams)
- # [03:33] * Quits: grimboy (~grimboy@bcm-131-111-216-247.girton.cam.ac.uk) (Remote host closed the connection)
- # [03:33] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 264 seconds)
- # [03:34] * Joins: dglazkov (~dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [03:34] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [03:34] * Quits: dglazkov (~dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Client Quit)
- # [03:34] * Joins: dglazkov (~dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [03:35] * Quits: roc (~roc@203-97-204-82.dsl.clear.net.nz) (Quit: roc)
- # [03:37] * Quits: nessy (~Adium@124-168-170-167.dyn.iinet.net.au) (Quit: Leaving.)
- # [03:42] * Quits: dbaron (~dbaron@nat/mozilla/x-gcivxrvtyoizgzff) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [03:43] * Quits: dave_levin|afk (~dave_levi@2620:0:1008:1101:225:ff:fef0:9a9e) (Quit: dave_levin|afk)
- # [03:44] * Quits: MikeSmith (~MikeSmith@EM114-48-84-58.pool.e-mobile.ne.jp) (Quit: This computer has gone to sleep)
- # [03:58] * Quits: jwalden (~waldo@nat/mozilla/x-vwtrdplvryyxmwjq) (Quit: ChatZilla 0.9.85-rdmsoft [XULRunner 1.9.2/20100122095031])
- # [04:06] * Joins: mackstann_ (~death@216-20-152-177-dsl.hevanet.com)
- # [04:07] * Quits: drunknbass_work (~aaron@71.106.110.90) (Quit: Leaving...)
- # [04:09] * Joins: roc (~roc@121-74-149-63.telstraclear.net)
- # [04:23] * Quits: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de) (Read error: Connection timed out)
- # [04:24] * Joins: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de)
- # [04:26] * Quits: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de) (Client Quit)
- # [04:30] * Joins: nessy (~Adium@124-170-159-245.dyn.iinet.net.au)
- # [04:30] * Joins: miketaylr (~miketaylr@24.42.95.234)
- # [04:35] * Quits: nessy (~Adium@124-170-159-245.dyn.iinet.net.au) (Quit: Leaving.)
- # [04:56] * Quits: cpearce (~cpearce@203-97-204-82.dsl.clear.net.nz) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.15/2009101909])
- # [05:08] * Quits: slightlyoff (~slightlyo@2620:0:1002:1002:21f:5bff:feec:e987) (Remote host closed the connection)
- # [05:08] * Joins: slightlyoff (~slightlyo@nat/google/x-yedhvrfvkyznbzxt)
- # [05:13] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 260 seconds)
- # [05:14] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [05:15] * Joins: MikeSmith (~MikeSmith@EM114-48-197-180.pool.e-mobile.ne.jp)
- # [05:26] * Joins: nessy (~Adium@124-168-170-167.dyn.iinet.net.au)
- # [05:32] * Quits: paul_irish (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net) (Remote host closed the connection)
- # [05:33] * Joins: paul_irish (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net)
- # [05:35] * Joins: MikeSmithX (~MikeSmith@EM114-48-23-230.pool.e-mobile.ne.jp)
- # [05:36] * Quits: MikeSmith (~MikeSmith@EM114-48-197-180.pool.e-mobile.ne.jp) (Disconnected by services)
- # [05:36] * MikeSmithX is now known as MikeSmith
- # [05:37] <MikeSmith> nessy: about the report of problems with links in the http://lists.w3.org/Archives/Public/public-html/feed.rss feed
- # [05:38] <MikeSmith> the feed readers I've tried do handle those links as expected
- # [05:38] * Quits: slightlyoff (~slightlyo@nat/google/x-yedhvrfvkyznbzxt) (Ping timeout: 264 seconds)
- # [05:38] <MikeSmith> e.g., if I click on the first link, it takes me to http://lists.w3.org/Archives/Public/public-html/2010Feb/0221.html
- # [05:39] * Joins: paradisaeidae_ (~chatzilla@r125-63-186-202.cpe.unwired.net.au)
- # [05:44] * Quits: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au) (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158])
- # [05:49] * Joins: MikeSmithX (~MikeSmith@EM114-48-152-154.pool.e-mobile.ne.jp)
- # [05:52] * Quits: MikeSmith (~MikeSmith@EM114-48-23-230.pool.e-mobile.ne.jp) (Ping timeout: 272 seconds)
- # [05:53] * Quits: miketaylr (~miketaylr@24.42.95.234) (Remote host closed the connection)
- # [05:53] * MikeSmithX is now known as MikeSmith
- # [05:55] <MikeSmith> hmm, I guess those are supposed to be absolute URIs
- # [05:56] * Joins: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net)
- # [05:59] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 240 seconds)
- # [05:59] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [06:00] * Parts: MikeSmith (~MikeSmith@EM114-48-152-154.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [06:01] * Quits: paradisaeidae_ (~chatzilla@r125-63-186-202.cpe.unwired.net.au) (Read error: Connection reset by peer)
- # [06:02] * Joins: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au)
- # [06:04] * Quits: wakaba (~wakaba@122.139.210.220.dy.bbexcite.jp) (Read error: Connection reset by peer)
- # [06:04] * Joins: wakaba (~wakaba@122.139.210.220.dy.bbexcite.jp)
- # [06:05] * Joins: erikvold (~erikvold@ip67-152-86-163.z86-152-67.customer.algx.net)
- # [06:08] * Quits: erikvold (~erikvold@ip67-152-86-163.z86-152-67.customer.algx.net) (Remote host closed the connection)
- # [06:08] * Joins: erikvold (~erikvold@ip67-152-86-163.z86-152-67.customer.algx.net)
- # [06:10] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 246 seconds)
- # [06:10] * Quits: roc (~roc@121-74-149-63.telstraclear.net) (Quit: roc)
- # [06:13] * Joins: Utkarsh (~admin@117.201.86.233)
- # [06:16] * Quits: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au) (Read error: Connection reset by peer)
- # [06:18] * Joins: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au)
- # [06:26] * Joins: dave_levin (~dave_levi@216.239.45.130)
- # [06:26] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [06:45] * Quits: Utkarsh (~admin@117.201.86.233) (Ping timeout: 248 seconds)
- # [06:50] * Joins: paul_iri_ (~paul_iris@65.112.12.151)
- # [06:50] * Quits: paul_irish (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net) (Ping timeout: 248 seconds)
- # [06:52] * Joins: Utkarsh (~admin@117.201.82.193)
- # [07:07] * Quits: dave_levin (~dave_levi@216.239.45.130) (Quit: dave_levin)
- # [07:09] * Joins: MikeSmith (~MikeSmith@EM114-48-33-206.pool.e-mobile.ne.jp)
- # [07:11] * Quits: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 272 seconds)
- # [07:13] * Joins: TheOutlawTorn (~TheOutlaw@unaffiliated/theoutlawtorn)
- # [07:13] <TheOutlawTorn> Morning.
- # [07:14] <MikeSmith> TheOutlawTorn: hey
- # [07:15] <MikeSmith> nessy: I filed a systems bug for the RSS feed link problem
- # [07:15] <TheOutlawTorn> Is this considered correct use of the following tags: <div id="someClass"><aside id="one">some stuff</aside><aside id="two">some stuff again</aside></div>
- # [07:15] <nessy> MikeSmith: excellent - wondered if there was some setup issue
- # [07:15] <nessy> thanks!
- # [07:15] <TheOutlawTorn> Basically I need to have a big block inside which I will position (using floats) something on the left and something besides it on the right.
- # [07:15] * Quits: Utkarsh (~admin@117.201.82.193) (Ping timeout: 248 seconds)
- # [07:16] <TheOutlawTorn> I'm not sure I'm using the new tag correctly though.
- # [07:18] <MikeSmith> nessy: it seems that many (or maybe even most) feed readers resolve those into absolute URIs, but regardless, the feed validator says relative URIs in rss <link> elements aren't valid, so we should fix it
- # [07:18] <MikeSmith> TheOutlawTorn: is your content all <aside>s?
- # [07:19] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 260 seconds)
- # [07:19] <TheOutlawTorn> Everything is inside a <section> tag. The content is above the aside tags
- # [07:20] <MikeSmith> so if the asides are stuff that you are having rendered as sidebars around the main content, then it would seem you are using it as intended
- # [07:20] <TheOutlawTorn> Well I'm placing a form in one and some text in the other
- # [07:21] <MikeSmith> all sounds fine
- # [07:21] <TheOutlawTorn> Hm, ok.
- # [07:21] <MikeSmith> that would all validate, as far as I can see
- # [07:21] <MikeSmith> but you can always check at http://validator.nu/ to make sure
- # [07:21] <TheOutlawTorn> It validates, sure.
- # [07:22] * Joins: Utkarsh (~admin@117.201.88.4)
- # [07:29] <MikeSmith> TheOutlawTorn: if it validates, then the question about usage is mostly a subjective judgement call
- # [07:29] <MikeSmith> you could probably find somebody who might think the way you are using it is wrong
- # [07:29] <TheOutlawTorn> I see.. thanks
- # [07:36] * Quits: surkov (~surkov@client-64-22.sibtele.com) (Quit: surkov)
- # [07:37] * Quits: dglazkov (~dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Quit: dglazkov)
- # [07:46] * Quits: erikvold (~erikvold@ip67-152-86-163.z86-152-67.customer.algx.net) (Quit: Bye bye)
- # [07:53] * Joins: maikmerten (~merten@ls5dhcp196.cs.uni-dortmund.de)
- # [07:57] * Joins: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net)
- # [07:59] * Joins: zalan (~zalan@host-131.nrln.net)
- # [08:05] * Quits: TheOutlawTorn (~TheOutlaw@unaffiliated/theoutlawtorn) (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158])
- # [08:06] * Quits: ciaran_lee (leecn@spoon.netsoc.tcd.ie) (Ping timeout: 256 seconds)
- # [08:08] * Joins: KevinMarks (~KevinMark@c-67-161-44-219.hsd1.ca.comcast.net)
- # [08:08] * Joins: ciaran_lee (leecn@spoon.netsoc.tcd.ie)
- # [08:11] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 264 seconds)
- # [08:12] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [08:13] * Quits: ciaran_lee (leecn@spoon.netsoc.tcd.ie) (Read error: Operation timed out)
- # [08:16] * Joins: matijsb (~matijsb@86.93.69.153)
- # [08:16] * Quits: MikeSmith (~MikeSmith@EM114-48-33-206.pool.e-mobile.ne.jp) (Quit: Tomorrow to fresh woods, and pastures new.)
- # [08:22] * Quits: paul_iri_ (~paul_iris@65.112.12.151) (Ping timeout: 240 seconds)
- # [08:22] * Joins: ciaran_lee (leecn@spoon.netsoc.tcd.ie)
- # [08:33] * Joins: roc (~roc@121-74-149-63.telstraclear.net)
- # [08:37] * Joins: cpearce (~cpearce@ip-118-90-39-120.xdsl.xnet.co.nz)
- # [08:40] * Joins: Maurice (~ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:46] * Quits: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au) (Read error: Connection reset by peer)
- # [08:47] * Joins: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au)
- # [08:47] * Joins: FireFly (~firefly@unaffiliated/firefly)
- # [08:48] * Joins: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com)
- # [08:51] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [08:59] * Quits: zalan (~zalan@host-131.nrln.net) (Read error: Connection reset by peer)
- # [09:04] * Joins: mpt (~mpt@canonical/mpt)
- # [09:08] * Joins: MikeSmith (~MikeSmith@EM114-48-211-230.pool.e-mobile.ne.jp)
- # [09:15] * Joins: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [09:17] * Joins: zalan (~zalan@host-131.nrln.net)
- # [09:17] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [09:17] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: Leaving)
- # [09:20] * Joins: pesla (~retep@procurios.xs4all.nl)
- # [09:22] <MikeSmith> hsivonen: link about the Oracle-Gnome accessibility news?
- # [09:22] <MikeSmith> nm
- # [09:22] <MikeSmith> found it
- # [09:25] * Quits: erlehmann (~erlehmann@82.113.121.136) (Quit: Ex-Chat)
- # [09:26] * Quits: Lachy (~Lachlan@213.163.64.43) (Quit: Leaving)
- # [09:27] * Quits: nessy (~Adium@124-168-170-167.dyn.iinet.net.au) (Quit: Leaving.)
- # [09:27] * Quits: roc (~roc@121-74-149-63.telstraclear.net) (Ping timeout: 245 seconds)
- # [09:30] * Quits: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams) (Quit: GarethAdams|Home)
- # [09:30] * Joins: roc (~roc@121-72-164-122.dsl.telstraclear.net)
- # [09:31] * Joins: Lachy (~Lachlan@london.perfect-privacy.com)
- # [09:36] * Quits: Utkarsh (~admin@117.201.88.4) (Ping timeout: 256 seconds)
- # [09:36] * Quits: paradisaeidae (~chatzilla@r125-63-186-202.cpe.unwired.net.au) (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158])
- # [09:37] * Quits: cpearce (~cpearce@ip-118-90-39-120.xdsl.xnet.co.nz) (Read error: Connection reset by peer)
- # [09:38] * Joins: cpearce (~cpearce@ip-118-90-39-120.xdsl.xnet.co.nz)
- # [09:42] * Joins: nessy (~Adium@203-158-55-153.dyn.iinet.net.au)
- # [09:44] * Joins: svl (~chatzilla@a194-109-2-65.dmn.xs4all.nl)
- # [09:44] * Quits: Lachy (~Lachlan@london.perfect-privacy.com) (Quit: This computer has gone to sleep)
- # [09:45] * Quits: nessy (~Adium@203-158-55-153.dyn.iinet.net.au) (Client Quit)
- # [09:46] * Joins: nessy (~Adium@203-158-55-153.dyn.iinet.net.au)
- # [09:46] * Quits: nessy (~Adium@203-158-55-153.dyn.iinet.net.au) (Client Quit)
- # [09:46] * Joins: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie)
- # [09:54] <annevk> do about: URIs need some kind of wiki registry as well?
- # [09:58] * Joins: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl)
- # [09:58] * Quits: danbri (~danbri@ip176-48-210-87.adsl2.static.versatel.nl) (Changing host)
- # [09:58] * Joins: danbri (~danbri@unaffiliated/danbri)
- # [09:58] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [10:00] <MikeSmith> how many are there currently?
- # [10:00] <MikeSmith> annevk: ↑
- # [10:00] <MikeSmith> and are we planning to add many more?
- # [10:01] * Quits: zalan (~zalan@host-131.nrln.net)
- # [10:02] * Quits: cpearce (~cpearce@ip-118-90-39-120.xdsl.xnet.co.nz) (Ping timeout: 256 seconds)
- # [10:05] <Philip`> Are there any where interoperability is needed, except about:blank?
- # [10:06] <annevk> MikeSmith, the sandbox stuff ended up adding one
- # [10:06] <annevk> MikeSmith, if people start using them for icons that would be at least one more
- # [10:06] <MikeSmith> hmm
- # [10:06] * Joins: Lachy (~Lachlan@pat.se.opera.com)
- # [10:06] <MikeSmith> 困った
- # [10:07] <MikeSmith> it seems like a registry might have an unintended side-effect of encouraging further proliferation of about: stuff
- # [10:08] <zcorpan> google translate couldn't detect the language for "困った" but could for "困った困った"
- # [10:08] <MikeSmith> weird
- # [10:09] <MikeSmith> I wonder how it translates it
- # [10:09] <zcorpan> Trouble trouble
- # [10:10] <MikeSmith> try 困ったな
- # [10:10] <zcorpan> Damn
- # [10:10] <MikeSmith> that's more like it
- # [10:14] <annevk> i guess it's not really needed
- # [10:15] <annevk> though some overview would be nice
- # [10:15] <annevk> i like overviews :)
- # [10:15] * Quits: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 248 seconds)
- # [10:16] * Quits: mackstann_ (~death@216-20-152-177-dsl.hevanet.com) (Ping timeout: 240 seconds)
- # [10:20] * Joins: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net)
- # [10:20] <MikeSmith> it would be nice for any new registries to use some innovative technology of the last 30 years, such as, say, an actual database backend
- # [10:20] * Quits: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Client Quit)
- # [10:22] <hsivonen> does anyone have a reference to an authoritative Google statement on the breadth of the H.264 decoding license a user get for Chrome?
- # [10:22] <hsivonen> http://www.google.com/chrome/intl/en/eula_text.html says nothing on the topic
- # [10:23] * Joins: Michelangelo (~Michelang@93-41-57-90.ip80.fastwebnet.it)
- # [10:23] <hsivonen> (for background, Flash Player appears to be licensed only for non-commercial decoding)
- # [10:23] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 256 seconds)
- # [10:23] <hsivonen> freedom zero FTW
- # [10:24] * Quits: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Quit: Rik`)
- # [10:26] <MikeSmith> hsivonen: I don't remember public statements except what was posted to the whatwg list
- # [10:27] * Joins: Utkarsh (~admin@117.201.81.62)
- # [10:27] <hsivonen> MikeSmith: thanks
- # [10:27] <annevk> hsivonen, is it non-commercial if you make money of advertizements?
- # [10:28] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [10:29] * Joins: ROBOd (~robod@89.122.216.38)
- # [10:29] <jgraham> annevk: Doesn't that make commercial TV non-commercial?
- # [10:29] <jgraham> (I know TV is different)
- # [10:30] <hsivonen> annevk: IANAL, but I doubt the user of Flash Player is the one making money from advertisements when decoding is practiced
- # [10:30] <annevk> I thought commercial TV was TV not sponsored by the government
- # [10:30] <hsivonen> Is BBC World commercial or non-commercial under that definition?
- # [10:30] <jgraham> (but the point is it is a pretty weird defenition of "non-commercial" that includes the main way that video has amde money since its inception)
- # [10:31] * Quits: broquaint (6d7dabc82e@spc2-brig11-0-0-cust103.asfd.cable.virginmedia.com) (Ping timeout: 260 seconds)
- # [10:31] <annevk> The public channels do advertising as well
- # [10:31] <jgraham> s/video/TV/ maybe. Or whatever the term is for "recorder moving images"
- # [10:31] * Quits: Utkarsh (~admin@117.201.81.62) (Client Quit)
- # [10:31] <jgraham> *recorded
- # [10:31] <hsivonen> having different licensing terms for commercial and non-commercial use is a trap.
- # [10:32] <hsivonen> setting those traps is uncool
- # [10:32] <hsivonen> (I'm looking at you, Creative Commons.)
- # [10:32] * jgraham is quite happy to put photos under a non-nomercial CC license
- # [10:32] <jgraham> argh
- # [10:32] <jgraham> commercial
- # [10:32] <jgraham> That wasn't even close
- # [10:33] <jgraham> But I would be somewhat less happy to put them under a simply BY license
- # [10:33] * Quits: Michelangelo (~Michelang@93-41-57-90.ip80.fastwebnet.it) (Remote host closed the connection)
- # [10:34] * Joins: Michelangelo (~Michelang@93-41-57-90.ip80.fastwebnet.it)
- # [10:34] <hsivonen> jgraham: so someone else creates a larger work that includes your photos somewhere. Then later they find they want to make some money from their work.
- # [10:34] <hsivonen> jgraham: so they can't presumptively
- # [10:35] <hsivonen> which sucks
- # [10:35] <hsivonen> or they need to make more money than it costs to negotiate commercial licenses, which sucks
- # [10:35] * Quits: Michelangelo (~Michelang@93-41-57-90.ip80.fastwebnet.it) (Remote host closed the connection)
- # [10:35] <Philip`> It seems the problem is when people think CC-NC means "free but with some extra restrictions" instead of "proprietary but with some exceptions"
- # [10:35] <hsivonen> and you can extort them for money up to the cost of removing and replacing your photos
- # [10:35] * Joins: Utkarsh (~admin@117.201.81.62)
- # [10:35] <jgraham> hsivonen: In my spoecific case it would almost always be a case of "ask, get permission"
- # [10:36] <hsivonen> so effectively CC-NC is an attractive nuisance
- # [10:37] <hsivonen> creators of larger works would be smarter to search Flickr for someone else's less good photos instead than take the risk of not being able to make money from their additive creativity
- # [10:37] <jgraham> hsivonen: You would prefer things were "all rights reserved" than BY-NC
- # [10:37] <hsivonen> jgraham: yes
- # [10:37] <jgraham> Curious.
- # [10:38] <jgraham> There are many instances where you are clearly never intending to make money from a project e.g. one-off presentations at science conferences
- # [10:39] <jgraham> However it is generally not worth the effort of asking for permission to use some nice pictures in those cases
- # [10:39] <Philip`> Do people giving presentations at science conferences care about licenses, and not just crawl through Google Images looking for suitably amusing clipart they can grab without worrying about where it came from?
- # [10:39] <jgraham> I did. I'm not sure about anyone else
- # [10:40] <Hixie> it's not clear those cases would even be violations of copyright law, depending on how many people watch your talk
- # [10:40] <jgraham> But I guess there is a higher-than-average chance of people doing that sort of thing abiding by the rules
- # [10:40] <hsivonen> jgraham: NC is basically this problem: http://www.techdirt.com/articles/20090117/0537253446.shtml
- # [10:41] <hsivonen> the saddest part of it is how Lessig goes on the talking circuit talking about the problems documentary makers face in this area
- # [10:42] <hsivonen> and then his own organization is effectively promoting the same problem
- # [10:42] <hsivonen> that if you later find your larger work could be used in a way you didn't plan for, you are in a permission culture hell
- # [10:43] * Quits: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com) (Quit: drunknbass_work)
- # [10:44] * Joins: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [10:52] <annevk> Hixie, I reckon he might have told you in private already, but just in case: http://bitworking.org/news/2010/02/joel-in-a-box
- # [10:52] * Joins: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [10:52] <annevk> Hixie, also, if you're out there, did you see my notes on XMLHttpRequest from yesterday?
- # [10:52] <annevk> Hixie, I was wondering if you agree it could use "fetch" if synchronous requests were told to "pause"
- # [10:52] <othermaciej> howdy folks
- # [10:53] <annevk> heya othermaciej
- # [10:53] <Hixie> annevk: hmm... "fetch" works by queueing events
- # [10:53] <Hixie> er, tasks
- # [10:53] <Hixie> not events
- # [10:53] <Hixie> forget i said events
- # [10:54] <Hixie> annevk: which means you have to spin the event loop to get them
- # [10:54] <Hixie> annevk: is the synchronous stuff supposed to block all tasks?
- # [10:54] <othermaciej> Hixie: this would be the thread to reply to on rel if you want to make your suggestion: http://lists.w3.org/Archives/Public/public-html/2010Jan/1006.html
- # [10:54] <annevk> Hixie, yes
- # [10:54] <annevk> Hixie, apart from network tasks
- # [10:55] <annevk> Hixie, network tasks are processed to figure out when the request is done
- # [10:55] <annevk> Hixie, or to do some kind of timeout fail
- # [10:55] <Hixie> annevk: even network tasks relating to other things?
- # [10:55] <annevk> Hixie, or follow a redirect, etc.
- # [10:55] <Hixie> annevk: e.g. does <img onload> fire during a sync XHR?
- # [10:56] <annevk> Hixie, hmm no, that shouldn't happen
- # [10:56] <othermaciej> Hixie: or you could respond to the comments on issue 27 here: http://lists.w3.org/Archives/Public/public-html/2010Jan/1399.html
- # [10:56] <Hixie> othermaciej: is there corresponding bug?
- # [10:56] <annevk> Hixie, only network tasks of the object in question
- # [10:56] <othermaciej> Hixie: that issue predates the current process, and I believe there is no bug at all relating to it
- # [10:57] <Hixie> othermaciej: sounds like the process is too heavy weight, then. we should just do it in the lightweight bug fashion. I'll respond to the change proposals saying that and proposing we exercise the registry.
- # [10:57] <Hixie> annevk: sounds like your life would be better off if in the sync case you just did the fetch manually
- # [10:57] <Hixie> annevk: rather than try to use the event loop for everything except the event loop! :-)
- # [10:58] <othermaciej> Hixie: sounds ok to me
- # [10:58] * Joins: mat_t (~mattomasz@91.189.88.12)
- # [10:58] <othermaciej> and I am fine with using a bug to track the needed change if after exercising the process there's consensus that we should go with it
- # [10:59] <roc> woohoo, some open Web motion in China: http://blog.mozilla.com/ligong/2010/02/09/china-construction-bank-supports-firefox/
- # [10:59] <annevk> Hixie, can I convince you to give "fetch" an optional sync flag so that I can use fetch?
- # [10:59] <annevk> Hixie, the reason I'm asking is that fetch defines a bunch of things already; having to define all those things again (as I've done now) is a bit of a waste
- # [10:59] <annevk> though I suppose I could
- # [11:00] <Hixie> annevk: that might work. file a bug? mark it P1 critical if you need it this week rather than just anytime this month.
- # [11:00] <annevk> roc, would be interesting to know what they use for Firefox
- # [11:00] <roc> yeah
- # [11:00] <annevk> roc, do they use <keygen> or some Mozilla proprietary API?
- # [11:01] <annevk> ah, you don't know either :)
- # [11:01] <roc> I hope not
- # [11:01] <roc> even if they do, it's a big step forward from ActiveX
- # [11:01] <roc> of course it could also be NPAPI
- # [11:02] <zcorpan> maybe they use XBL1
- # [11:03] <hsivonen> it's really sad that it's 2010 and banks support particular browsers
- # [11:03] <roc> in China it's not really 2010 :-)
- # [11:03] <roc> not on the Web
- # [11:03] <hsivonen> roc: It's not 2010 in Danske Bank, either.
- # [11:04] * Joins: Necrathex (~bleptop@212-123-163-12.ip.telfort.nl)
- # [11:05] <annevk> Hixie, cool, thanks
- # [11:05] <annevk> filed
- # [11:12] * Joins: workmad3 (~workmad3@cspool71.cs.man.ac.uk)
- # [11:17] * Joins: zalan (~zalan@host-131.nrln.net)
- # [11:19] * Joins: nessy (~Adium@124-168-170-167.dyn.iinet.net.au)
- # [11:20] * Quits: matijsb (~matijsb@86.93.69.153) (Quit: matijsb)
- # [11:21] * Joins: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [11:21] <Lachy> hsivonen, what does Flickr use to "protect" images? I didn't think they did anything like that.
- # [11:23] <hsivonen> Lachy: if the user who publishes photos chooses to enable the feature, Flickr disables the "All sizes" button and overlays the photo with a transparent gif
- # [11:23] <hsivonen> as a result, browsers offer to save the transparent gif, since it's the frontmost image for any given pixel of the photo
- # [11:24] <Lachy> I thought the All Sizes button was just disabled for free accounts. I didn't realise there was an option to disable it manually
- # [11:25] <hsivonen> interesting tidbit of the day, there are named character references starting with each of the letters a-z and A-Z
- # [11:25] <hsivonen> there are no other start characters for named character references
- # [11:26] * Joins: andol (andreas@ubuntu/member/andol)
- # [11:26] <annevk> zcorpan, I removed the other filter options
- # [11:27] <annevk> zcorpan, until someone complaints
- # [11:27] <roc> hmm, so it appears they have in fact wrapped their ActiveX controls in NPAPI
- # [11:27] <roc> so it could work cross-browser, but still stuck on Windows :-(
- # [11:27] * hsivonen is happy to be able to read the spec in Minefield these days without beachballing
- # [11:28] <MikeSmith> hsivonen: because of parser changes or other changes?
- # [11:28] * hsivonen wonders what the situation with banking on mobile devices is in China and South Korea
- # [11:28] <hsivonen> MikeSmith: I think both due to parser changes and due to layout changes
- # [11:28] <MikeSmith> cool
- # [11:29] <MikeSmith> I don't think people actually do any browser-based banking in China and South Korea
- # [11:30] <hsivonen> at least with the Danske Bank JNI craziness, you can get around it using the Web bank version meant for mobile devices
- # [11:30] <MikeSmith> bank sites as a class are the worst as far as lack of cross-browser support and broken JS and other things
- # [11:30] <zcorpan> annevk: ok
- # [11:31] <MikeSmith> but airline sites as a class are not far behind
- # [11:32] <MikeSmith> I find it not coincidental that airlines are in a class of business that it is known to treat its customers with a relatively higher degree of contempt that most other customer-service businesses
- # [11:32] <hsivonen> yeah. Lufthansa should rewrite their seat selector without Flash.
- # [11:32] <MikeSmith> banks also operate with a certain amount of contempt toward their average customers
- # [11:33] <annevk> zcorpan, I want to remove filter options from the diff page too because they are useless there
- # [11:33] <annevk> zcorpan, that's for whenever I have some more free time
- # [11:33] <hsivonen> Web bank considerations are a big factor in my bank choice, but my airline choices would become overconstrained if I wanted to avoid both Heathrow and Flash
- # [11:33] <MikeSmith> I mean I find it not so coincidental that the same classes of business that are known for poor/contemptuous customer services are also the same ones that try to force their users to use particular browsers and OSes
- # [11:36] <MikeSmith> Heathrow is great example of open contempt on a large scale
- # [11:36] <othermaciej> roc, annevk: I wish we could standardize some better crypto APIS than just keygen (whether Mozilla's PKI stuff, or something modeled on Microsoft's APIs, or something new)
- # [11:37] <zcorpan> annevk: the diff page could have a link back to index
- # [11:37] <Hixie> AryehGregor: "A square wheel works, as long as you're willing to do a lot more work"
- # [11:37] <Hixie> AryehGregor: you should go to the San Francisco exploratorium, they have a track with a square wheel where the ride is completely smooth :-)
- # [11:38] * Parts: andol (andreas@ubuntu/member/andol)
- # [11:38] <roc> MikeSmith: there is massive amounts of online banking in China
- # [11:38] <othermaciej> yeah, you don't need more work, you just need to make your road a catenary curve
- # [11:38] <roc> just not on mobile
- # [11:38] <Hixie> AryehGregor: http://en.wikipedia.org/wiki/File:Rolling-Square.gif http://www.americandigest.org/mt-archives/square_wheels.jpg
- # [11:39] <roc> othermaciej: the issue here is that the large Chinese banks each have their own USB key storage device, and custom ActiveX controls to talk to those devices
- # [11:39] <othermaciej> roc: I see, awesome
- # [11:40] <roc> it's pretty dumb
- # [11:40] <roc> there is no trusted path to the device, so you don't actually get any protection against malware
- # [11:40] <othermaciej> if you ever look at the per-country browser stats from NetApps, China seems to have much more computing monoculture than almost any other country
- # [11:41] <Philip`> Before cavemen invented circles, I wonder if they made square wheels and inverted-catenary roads
- # [11:41] <othermaciej> the percentages for Windows and for IE are both much higher than anywhere else I could find
- # [11:41] <roc> China and South Korea
- # [11:41] <othermaciej> (though part of that could have been Maxthon getting counted as IE)
- # [11:41] <hsivonen> one *should* count Maxthon as IE
- # [11:42] <roc> We should send Li Gong from our Beijing office down to talk to you guys
- # [11:42] <MikeSmith> roc: yeah, I was just referring to browser-based banking from mobile devices
- # [11:43] <othermaciej> hsivonen: from the perspective of "computing monoculture", that is probably true
- # [11:43] <roc> he's been in there for years figuring out the problems and trying to make progress
- # [11:46] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 252 seconds)
- # [11:46] * zcorpan decides to use the indent/outdent feature in fckeditor to be translated into <details>
- # [11:47] <roc> one huge problem is that almost every PC comes with CDs full of pirated software
- # [11:47] * Joins: smaug_ (~chatzilla@cs181150024.pp.htv.fi)
- # [11:47] * hendry lived in Korea for a year. Also I am helping train some guys from our Taiwan office who find it difficult to think outside Visual Studio.
- # [11:47] <roc> if you want distribution your best strategy is to pay to be on those CDs
- # [11:47] <roc> along with the malware guys :-(
- # [11:48] <roc> another interesting problem is that the "non-IE browser" niche has been partially filled by browsers like Maxthon and others that are just shells around Trident
- # [11:48] <roc> they are perceived as non-IE
- # [11:48] <roc> better still for them, they are perceived as Chinese-made
- # [11:49] <roc> that's in addition to the complete dependence of banking on ActiveX, and on Web sites in general on IE quirks
- # [11:51] <roc> it may also be true that Microsoft can get away with certain practices in China that they can't any longer in other countries
- # [11:52] <roc> ah well. There is hope.
- # [11:52] <jgraham> Mobile is interesting, because Microsoft don't have nearly the same presence there
- # [11:53] <othermaciej> true, I have not observed the same kind of monoculture in mobile browsers or operating systems anywhere
- # [11:53] <roc> ahem
- # [11:54] <zcorpan> hmm, indent used style="" without a wrapper element, so that's not so useful. blockquote probably works better
- # [11:55] <roc> Mobile is probably the big hope in China, because ActiveX controls simply won't be a solution there
- # [11:56] <hendry> i've seen a couple of Chinese android devices at work. So we can look forward to a webkit monoculture :)
- # [11:56] <roc> there are in fact quite a few people looking forward to a webkit monoculture
- # [12:00] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
- # [12:02] <othermaciej> there are people who want a webkit monoculture, but even that is less "mono" than an IE monoculture, plus I don't see them getting their wish so far
- # [12:02] <othermaciej> Opera is still pretty big in mobile browsing volume
- # [12:05] * Parts: annevk (~annevk@pat-tdc.opera.com)
- # [12:07] * Joins: annevk (~annevk@213.236.208.247)
- # [12:12] <AryehGregor> Hixie, I would consider making your floor be a precisely-shaped series of inverted catenaries to be "a lot more work".
- # [12:13] <Hixie> :-)
- # [12:18] <AryehGregor> MikeSmith, http://wiki.whatwg.org/api.php?action=query&prop=revisions&titles=Validator.nu+alt+advice&rvprop=content&rvsection=2
- # [12:18] * Quits: roc (~roc@121-72-164-122.dsl.telstraclear.net) (Quit: roc)
- # [12:18] <AryehGregor> I finally managed to find the API guy and ask him. He's on at different times from you, I guess, so I kept on forgetting.
- # [12:19] * Quits: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com) (Quit: Leaving...)
- # [12:22] * Joins: roc (~roc@121-72-164-122.dsl.telstraclear.net)
- # [12:23] * Quits: wakaba_ (~wakaba_@119-228-219-41.eonet.ne.jp) (Ping timeout: 265 seconds)
- # [12:26] * Joins: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [12:28] * Quits: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com) (Quit: zcorpan)
- # [12:30] * Quits: roc (~roc@121-72-164-122.dsl.telstraclear.net) (Quit: roc)
- # [12:30] * Joins: roc (~roc@121-72-164-122.dsl.telstraclear.net)
- # [12:35] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 256 seconds)
- # [12:35] * gsnedders sighs at the es5-discuss emails
- # [12:39] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [12:40] <MikeSmith> AryehGregor: nice, thanks
- # [12:41] <MikeSmith> hmm, or not, maybe
- # [12:41] <MikeSmith> that's just giving the raw wikitext, right?
- # [12:43] <MikeSmith> man, subversion never fails to find new ways to be disappointing
- # [12:44] <MikeSmith> I'm discovering that once you have a workspace that you've used with a newer version svn client, you can't then go back to using that workspace with an older version of an svn client
- # [12:46] <othermaciej> gsnedders: what makes you sigh about them?
- # [12:46] <othermaciej> AryehGregor: once you've boiled the ocean, retiling your floor is no big deal
- # [12:46] <gsnedders> othermaciej: Well, basically, we have interop on behaviour of \09 and \9, but because the comittiee doesn't like octal escape sequences, we're just going to make them illegal.
- # [12:47] <AryehGregor> Yeah, it gives you wikitext. As discussed, it's not obvious what HTML output would be correct. You can feed it back with action=parse: http://wiki.whatwg.org/api.php?action=parse&title=Validator.nu+alt+advice&text=''Foo''
- # [12:47] <AryehGregor> (you might want to POST if you're using lots of text, I guess)
- # [12:47] <gsnedders> othermaciej: https://mail.mozilla.org/pipermail/es5-discuss/2010-February/003491.html
- # [12:48] <othermaciej> gsnedders: what does it mean to make them "illegal"? will the required behavior for \07 change, or will it be mandatory to reject it, or will it just be "undefined"?
- # [12:48] <othermaciej> there's not even a surface-level ECMAScript conformance checker so it's hard to say what is illegal for the language
- # [12:49] <othermaciej> (I think maybe there should at least be a checker to verify that your program is correct syntax per the ECMAScript grammar, even though that wouldn't catch many other kinds of undefined constructs)
- # [12:50] <gsnedders> othermaciej: Per spec, "\07" does not meet the grammar, except if you allow octals (defined in appendix B). "\08" equally does not match the grammar.
- # [12:50] <gsnedders> The problem is the latter case
- # [12:50] <othermaciej> I see, so pseudo-octal is the problem?
- # [12:50] <gsnedders> Everything treats that as \x008
- # [12:50] <gsnedders> OR octal-followed by non-octal
- # [12:50] <othermaciej> and by "problem" I mean not part of the defined grammar and behavior not defined
- # [12:50] * Quits: nessy (~Adium@124-168-170-167.dyn.iinet.net.au) (Quit: Leaving.)
- # [12:51] <gsnedders> The grammar uses lookaheads to forbid it
- # [12:51] <gsnedders> So yeah, behaviour is undefined
- # [12:51] <othermaciej> gsnedders: if Brendan thinks it's not used on the Web, I kinda wish he would test that with the Mozilla code before failing to spec t
- # [12:51] <gsnedders> Whereas if the lookaheads asserting != OctalDigit and not != DecimalDigit, it would match the spec
- # [12:52] * Joins: broquaint (3a72bc5568@spc2-brig11-0-0-cust103.asfd.cable.virginmedia.com)
- # [12:52] * gsnedders sends email asking when they intend to change Gecko
- # [12:56] <AryehGregor> othermaciej, surely you could write a decent ECMAScript validator by just adding extra code to normal JS engines, which (maybe optionally) raise a warning whenever they hit spec violations?
- # [12:56] <AryehGregor> Of course, it wouldn't be perfect, but it would catch errors that were actually hit at runtime.
- # [12:57] <othermaciej> AryehGregor: the word "just" in your question contains a large assumption
- # [12:57] * Quits: m_W (~mwj@c-69-141-106-205.hsd1.nj.comcast.net)
- # [12:57] <AryehGregor> That it would be easy to do that?
- # [12:57] * Joins: yutak_home (~kee@N038037.ppp.dion.ne.jp)
- # [12:58] <AryehGregor> Well, you could presumably offer to raise warnings for at least *some* conformance requirements.
- # [12:58] <AryehGregor> Even if most would be hard to check for.
- # [12:58] <othermaciej> JavaScriptCore couldn't even easily be used to check the syntax level, since we support many extensions
- # [12:59] <othermaciej> so step 1 would be rewriting the tokenizer and parser to remove all grammar extensions
- # [12:59] <AryehGregor> Shouldn't those extensions raise warnings as spec violations if used?
- # [12:59] <AryehGregor> I guess it's not quite that simple.
- # [12:59] <AryehGregor> But it's doable in principle. Gecko is rewriting its HTML parser right now for spec compliance, right?
- # [12:59] * gsnedders thinks it would be non-trivial even in Carakan without us supporting many extensions
- # [13:00] <AryehGregor> Just depends on how much people want it.
- # [13:00] <gsnedders> AryehGregor: That doesn't throw warnings on parse errors
- # [13:01] <AryehGregor> gsnedders, well, no. It's not meant to.
- # [13:01] <AryehGregor> I didn't mean actual browsers should necessarily do JS validation.
- # [13:02] <AryehGregor> . . . anyway.
- # [13:02] <AryehGregor> No one seems to care about JS spec conformance.
- # [13:02] <AryehGregor> I've never even looked at the ES spec.
- # [13:02] * gsnedders has spent far too much time looking atit
- # [13:03] * gsnedders really hates it
- # [13:07] * Quits: MikeSmith (~MikeSmith@EM114-48-211-230.pool.e-mobile.ne.jp) (Quit: Tomorrow to fresh woods, and pastures new.)
- # [13:11] * Joins: CriticalMass (~andrew@brick-lane.lbi.co.uk)
- # [13:11] * Quits: CriticalMass (~andrew@brick-lane.lbi.co.uk) (Client Quit)
- # [13:25] * Joins: surkov (~surkov@client-64-22.sibtele.com)
- # [13:26] * Philip` wonders where the missing space is meant to occur in "looking atit"
- # [13:29] <gsnedders> *at it
- # [13:35] <Philip`> Oh
- # [13:38] * Joins: virtuelv (~virtuelv_@213.236.208.247)
- # [13:45] * Quits: smaug_ (~chatzilla@cs181150024.pp.htv.fi) (Remote host closed the connection)
- # [13:49] * Joins: mpt (~mpt@canonical/mpt)
- # [13:50] * Joins: smaug_ (~chatzilla@cs181150024.pp.htv.fi)
- # [14:01] * Parts: annevk (~annevk@213.236.208.247)
- # [14:02] * Quits: Utkarsh (~admin@117.201.81.62) (Ping timeout: 256 seconds)
- # [14:02] * Quits: virtuelv (~virtuelv_@213.236.208.247) (Read error: Operation timed out)
- # [14:02] * Quits: tndH (~Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) (Ping timeout: 248 seconds)
- # [14:04] * Joins: annevk (~annevk@pat-tdc.opera.com)
- # [14:06] * Joins: ChrisLTD|Work (~blahness@152.2.194.196)
- # [14:08] * Joins: Michelangelo (~Michelang@93-42-110-105.ip86.fastwebnet.it)
- # [14:11] * Joins: paul_irish (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net)
- # [14:13] * Joins: paul_iri_ (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net)
- # [14:15] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [14:16] * Quits: paul_irish (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net) (Ping timeout: 256 seconds)
- # [14:17] * Joins: tndH (~Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [14:26] * Quits: yutak_home (~kee@N038037.ppp.dion.ne.jp) (Quit: Ex-Chat)
- # [14:27] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
- # [14:28] * Joins: virtuelv (~virtuelv_@pat-tdc.opera.com)
- # [14:30] * Quits: wakaba_ (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Quit: Leaving...)
- # [14:41] * Quits: workmad3 (~workmad3@cspool71.cs.man.ac.uk) (Remote host closed the connection)
- # [14:41] * Joins: FireFly (~firefly@unaffiliated/firefly)
- # [14:42] <annevk> Hixie, you are using "Pause until either any applicable style sheets have been fetched and applied, or the user agent has timed out and decided to not wait for those style sheets."
- # [14:42] <annevk> Hixie, so is that incorrect too?
- # [14:42] <annevk> Hixie, it mixes pause and fetching
- # [14:43] <annevk> this stuff is hairy
- # [14:52] * Joins: kfirst (~chatzilla@pc154-c716.uibk.ac.at)
- # [15:01] * Joins: Utkarsh (~admin@117.201.80.69)
- # [15:05] * Joins: erlehmann (~erlehmann@82.113.121.136)
- # [15:09] * Joins: MikeSmith (~MikeSmith@EM114-49-145-115.pool.e-mobile.ne.jp)
- # [15:09] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 240 seconds)
- # [15:09] * Joins: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com)
- # [15:09] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [15:11] * Quits: Michelangelo (~Michelang@93-42-110-105.ip86.fastwebnet.it) (Remote host closed the connection)
- # [15:12] * Joins: Michelangelo (~Michelang@93-42-110-105.ip86.fastwebnet.it)
- # [15:14] * Joins: BlurstOfTimes (~blurstoft@168.203.117.66)
- # [15:20] * Joins: miketaylr (~miketaylr@38.117.156.163)
- # [15:36] * Quits: mat_t (~mattomasz@91.189.88.12) (Quit: This computer has gone to sleep)
- # [15:37] * Joins: surkov_ (~surkov@client-72-70.sibtele.com)
- # [15:37] * Joins: mat_t (~mattomasz@91.189.88.12)
- # [15:40] * Quits: surkov (~surkov@client-64-22.sibtele.com) (Ping timeout: 258 seconds)
- # [15:55] * Quits: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com) (Remote host closed the connection)
- # [15:55] * Joins: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com)
- # [16:10] <Dashiva> "I'm not so concerned about implementers, I'm concerned about people reading just HTML5 and concluding that the spec requires sniffing"
- # [16:10] <Dashiva> What is the danger here?
- # [16:12] <TabAtkins> You mean, like, what could happen if an author were to somehow read that and gain that impression?
- # [16:12] <Philip`> Users might decide that since the spec requires sniffing, it's safe for them to produce content that relies on sniffing
- # [16:12] <Philip`> and that would harm the UAs that don't sniff
- # [16:13] <Dashiva> The one user doing that seems rather insignificant compared with the thousands of users who don't read the spec, but produce content that requires sniffing anyhow
- # [16:14] <annevk> if users read the spec there would be no need for sniffing
- # [16:14] <hsivonen> Dashiva: you could point that out in the bug
- # [16:14] <Philip`> That's still one user who would benefit from the spec being clear that sniffing is not required (from which they infer that they can't rely on sniffing)
- # [16:14] <annevk> because HTTP requires UAs to adhere to the Content-Type currently
- # [16:14] <Philip`> (and hence they will produce content that works in more UAs, so everyone wins)
- # [16:15] <Philip`> so it's better than nothing
- # [16:15] * Quits: MikeSmith (~MikeSmith@EM114-49-145-115.pool.e-mobile.ne.jp) (Quit: Tomorrow to fresh woods, and pastures new.)
- # [16:15] <Dashiva> Philip`: UAs that don't sniff would still be in an equally bad position
- # [16:15] * Quits: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com) (Remote host closed the connection)
- # [16:15] * Quits: zalan (~zalan@host-131.nrln.net)
- # [16:15] * Joins: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com)
- # [16:16] <Philip`> They'd be in a marginally better position, and the author would be in a wider marginally better position
- # [16:16] * Joins: MikeSmith (~MikeSmith@EM114-49-145-115.pool.e-mobile.ne.jp)
- # [16:16] <Philip`> and the HTML5 spec is a collection of tens of thousands of things that each make the world only a tiny bit better
- # [16:16] <Dashiva> If the author cared about UAs that didn't sniff, he wouldn't make content that relies on sniffing
- # [16:17] <TabAtkins> On the other hand, if he thinks that all UAs are required to sniff, then he might not care about ones that don't, as they're non-conformant in his eyes.
- # [16:17] <Philip`> If he reads just HTML5 and concludes the spec requires sniffing, then he is more likely to believe there are no UAs that don't sniff
- # [16:18] <Dashiva> Surely not
- # [16:18] <Dashiva> If he cares about UAs that don't sniff, then he knows about them
- # [16:19] <Philip`> That seems untrue
- # [16:19] <Philip`> I care a bit about people who visit my sites in browsers I've never even heard of
- # [16:19] * Quits: paul_iri_ (~paul_iris@c-71-192-163-128.hsd1.nh.comcast.net) (Quit: Leaving...)
- # [16:19] <Philip`> and search engine crawlers I've never heard of
- # [16:19] <Philip`> etc
- # [16:20] <Philip`> so I want to make content that is likely to work for them, even if I don't know any details about them
- # [16:21] <Philip`> and to some extent I do that based on the assumption that if a spec requires something then these unknown UAs are likely to follow it
- # [16:22] <Philip`> (particularly if all desktop browser I test in follow it too)
- # [16:22] <Philip`> s//s/
- # [16:24] * Joins: pmuellr (~pmuellr@nat/ibm/x-bjvdmynbnpkldprg)
- # [16:25] * Quits: smaug (~chatzilla@cs181150024.pp.htv.fi) (Ping timeout: 245 seconds)
- # [16:25] <Dashiva> Philip`: But that's trivially untrue, since a large amount of tools don't use HTML parsers.
- # [16:26] * Quits: KevinMarks (~KevinMark@c-67-161-44-219.hsd1.ca.comcast.net) (Quit: The computer fell asleep)
- # [16:27] * Joins: smaug (~chatzilla@cs181150024.pp.htv.fi)
- # [16:27] <gsnedders> regexp ftw!
- # [16:28] <Philip`> Dashiva: It's an unsafe assumption, but (in the absence of better information) it's the best assumption I can make
- # [16:29] <Philip`> I have no idea how Googlebot parses HTML but I assume that if my page is valid HTML and parses correctly in desktop browsers then probably Googlebot will parse it correctly too
- # [16:30] <Philip`> and I'll happily omit </p> and <html> tags, and write <br /> etc, based on that assumption
- # [16:33] * Quits: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com) (Remote host closed the connection)
- # [16:33] * Joins: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com)
- # [16:33] * Quits: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com) (Remote host closed the connection)
- # [16:33] <Dashiva> Philip`: But that changes your assumption. You aren't actually aligning with the spec, but rather with desktop browser behavior
- # [16:33] * Joins: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com)
- # [16:35] <Philip`> I'm aligning with the information I have available, which consists of the spec plus observable behaviour
- # [16:36] <Philip`> If they agree then I'll be reasonably confident in my assumption
- # [16:36] * Joins: paul_irish (~paul_iris@12.33.239.250)
- # [16:36] <Philip`> But if I conclude from reading the spec that some UAs might not have that behaviour, I'll be much more cautious about assuming it
- # [16:37] <Dashiva> Well, the spec says UAs don't have to support text/html, so leaving out </p> will break a class of conforming UAs
- # [16:38] <zcorpan> using text/html at all will break a class of conforming UAs (regardless of tags used)
- # [16:39] <Philip`> My available information also consists of knowledge that most implementors are not entirely insane, and therefore will attempt to support text/html
- # [16:39] <Dashiva> Equally, most implementors are not entirely insane, and will sniff as required
- # [16:40] <zcorpan> maybe they'll sniff but not exactly as required
- # [16:40] * Joins: TheOutlawTorn (~TheOutlaw@unaffiliated/theoutlawtorn)
- # [16:40] <TheOutlawTorn> Hi
- # [16:40] <gsnedders> hi
- # [16:41] <TheOutlawTorn> Hi gsnedders
- # [16:41] <TabAtkins> Yay for PHP SPL.
- # [16:42] * TabAtkins just wrote a convenience class for turning mysql results into a tree iterator.
- # [16:42] * Quits: Utkarsh (~admin@117.201.80.69) (Ping timeout: 245 seconds)
- # [16:43] * Joins: dglazkov (~dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
- # [16:43] <gsnedders> TabAtkins: The real question is are you dealing with software in which you can rely upon SPL being enabled
- # [16:43] <TabAtkins> Yes - it's all personal tools for use on servers I control.
- # [16:44] <gsnedders> Ah, that avoids so much of the horribleness of PHP.
- # [16:44] <TabAtkins> Yus.
- # [16:46] * gsnedders founds another crash bug in PHP over the weekend
- # [16:47] <Philip`> Is crashing PHP considered to be a bug?
- # [16:47] * Quits: kfirst (~chatzilla@pc154-c716.uibk.ac.at) (Quit: ChatZilla 0.9.86 [Firefox 3.6.2pre/20100205055834])
- # [16:48] <gsnedders> They are less often closed as bogus
- # [16:50] <Philip`> Perl's unpack function lets you read arbitrary integers as pointers, so you can crash it trivially (unless running in a restricted-capability environment), so crashes with easy workarounds (i.e. "don't do that") aren't necessarily serious problems
- # [16:50] * Joins: Utkarsh (~admin@117.201.80.69)
- # [16:50] <Philip`> but crashes in JS implementations would be much more serious because there's different expectations in the environments where they're used
- # [16:51] <Philip`> but I don't know which end of the scale PHP asires to
- # [16:51] <Philip`> *aspires
- # [16:51] <gsnedders> If something relies upon a deprecated option to crash, it might not matter
- # [16:51] <gsnedders> Otherwise, it probably does
- # [16:53] * Joins: Heimidal (~heimidal@c-71-237-116-77.hsd1.co.comcast.net)
- # [16:53] * Quits: Heimidal (~heimidal@c-71-237-116-77.hsd1.co.comcast.net) (Changing host)
- # [16:53] * Joins: Heimidal (~heimidal@unaffiliated/heimidal)
- # [16:58] * Quits: smaug (~chatzilla@cs181150024.pp.htv.fi) (Ping timeout: 245 seconds)
- # [17:00] <TheOutlawTorn> Did any of you made a website recently that does not support 1024 screen resolution?
- # [17:00] * Joins: smaug (~chatzilla@cs181150024.pp.htv.fi)
- # [17:01] <TabAtkins> You mean, that is too wide for 1024?
- # [17:02] <TheOutlawTorn> I mean that the website will look as it should only at resolution higher than 1024, probabil 1280x768
- # [17:02] <TabAtkins> No, I've never done so. I test my stuff at 1024.
- # [17:02] <TheOutlawTorn> I see.
- # [17:02] * Quits: maikmerten (~merten@ls5dhcp196.cs.uni-dortmund.de) (Remote host closed the connection)
- # [17:03] <Philip`> I only test at 1280x800, but I don't have users
- # [17:03] <TabAtkins> Which can be annoying sometimes, since all of my monitors are larger than 1024.
- # [17:03] <TabAtkins> But I've set up a resize command in Web Developer that helps out, at least.
- # [17:03] * Quits: Maurice (~ano@a80-101-46-164.adsl.xs4all.nl) (Quit: Disconnected...)
- # [17:04] <annevk> getComputedStyle ... I wish you'd die
- # [17:04] <annevk> lalala
- # [17:04] <TheOutlawTorn> I finished my website that took a lot of planning since I don't do well at designing, and yesterday when I tested it at 1024 I've discovered that it does not look as it should.
- # [17:04] <TabAtkins> annevk: I just... stay far away from that. I rely solely on jQuery to do my CSS parsing for me. Shrug.
- # [17:04] <TheOutlawTorn> I thought for a min not to support 1024 but I don't know how smart is that.
- # [17:05] <TabAtkins> There's still lots of people at 1024.
- # [17:05] <TabAtkins> So it depends on if you care about them or not.
- # [17:05] <TheOutlawTorn> Indeed there are.
- # [17:08] * Quits: mpt (~mpt@canonical/mpt) (Quit: Ex-Chat)
- # [17:08] <TheOutlawTorn> Better offer support if I think about it, it's just about resizing an image and displaying a different stylesheet after all.
- # [17:08] <TabAtkins> Use media queries!
- # [17:09] * Quits: dglazkov (~dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Quit: dglazkov)
- # [17:09] <TheOutlawTorn> I thought of doing it with php since I don't know javascript
- # [17:09] <TabAtkins> Media queries are CSS, actually.
- # [17:09] <annevk> actually, they're not
- # [17:09] <TabAtkins> http://www.w3.org/TR/css3-mediaqueries/
- # [17:10] <TheOutlawTorn> lol
- # [17:10] <TabAtkins> Then why are they in a CSS spec, smartypants? ^_^
- # [17:10] <TheOutlawTorn> I doubt that all the users using 1024 will have a modern browser.
- # [17:10] * Joins: Sidnicious (~Sidney@pdpc/supporter/professional/sidney)
- # [17:10] <TheOutlawTorn> I bet a lot of them still use ie6
- # [17:10] <Philip`> Not everyone has their browser fullscreen
- # [17:10] <TabAtkins> Sure, but everyone hates ie6 users.
- # [17:11] <TheOutlawTorn> :)
- # [17:11] <Philip`> People on larger screens might have multiple browser windows and preferably your page should work sensibly when they make the windows smaller
- # [17:11] <TheOutlawTorn> I hate IE users in general.
- # [17:11] <Philip`> I hate users in general
- # [17:12] <daedb> No version of IE supports media queries.
- # [17:12] <TabAtkins> That's the spirit, Philip`.
- # [17:12] <TheOutlawTorn> I didn't thought about what you just said, I guess I still need to do some tests before I can call it finished.
- # [17:12] * Joins: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de)
- # [17:13] <TheOutlawTorn> Hate is what keeps the world moving, never stop hating.
- # [17:15] <TabAtkins> Yay SPL again.
- # [17:15] * TabAtkins just wrote a useless class that lets him iterate through the fibonacci sequence.
- # [17:15] <TheOutlawTorn> Why?
- # [17:15] <TabAtkins> Just to play around.
- # [17:15] <TabAtkins> Using the Iterator interface.
- # [17:16] <TheOutlawTorn> Hm
- # [17:16] <gsnedders> TabAtkins: That's not SPL
- # [17:16] <TabAtkins> foreach(new LimitIterator(new Fib,0,20) as $fib){ echo $fib."<br>"; }
- # [17:16] <TabAtkins> Mang, whatever.
- # [17:16] <Philip`> Why not just write a function that returns it in constant time for any arbitrary index?
- # [17:17] <TabAtkins> Because that's silly, Philip`.
- # [17:17] <gsnedders> TabAtkins: http://se2.php.net/manual/en/class.iterator.php#91068
- # [17:17] <Philip`> It's just http://upload.wikimedia.org/math/9/6/8/968be88f42e32712cb10d89a765ce708.png and you save all the effort of iteration
- # [17:18] <TabAtkins> gsnedders: Yeah, I know it's a common toy. ^_^
- # [17:18] <gsnedders> TabAtkins: I was just playing around with infinite iterators :P
- # [17:19] <TabAtkins> Philip`: That looks to have relatively hefty constant factors. If I want the fib sequence starting from the beginning, iteration is cheaper.
- # [17:19] <TabAtkins> gsnedders: Oh, haha, didn't see that was you who made the comment.
- # [17:19] <gsnedders> TabAtkins: :)
- # [17:19] <gsnedders> TabAtkins: I have written a fair bit of PHP :)
- # [17:19] <TabAtkins> Yeah, I know.
- # [17:20] <gsnedders> ]http://github.com/gsnedders/complexpie — what I've been touching recently
- # [17:20] <TabAtkins> It's my main language at this point, unfortunately.
- # [17:20] <Philip`> TabAtkins: It's two pows and a subtraction and a division - that's going to be far cheaper than even just printing the output :-)
- # [17:20] * TabAtkins needs to get Lisp running on his webserver.
- # [17:20] <TabAtkins> Philip`: Bah!
- # [17:20] <Philip`> Admittedly you might get problems with the finite precision of floating point numbers
- # [17:21] <TabAtkins> Yeah, was just typing that it requires an accurate expansion of phi, which itself uses sqrt(5) in its definition.
- # [17:22] <TabAtkins> On that note: http://www.facebook.com/photo.php?pid=3458694&id=707492809&comments&alert
- # [17:23] <TabAtkins> (Dunno how widely viewable that is.)
- # [17:24] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [17:26] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 240 seconds)
- # [17:28] * Joins: dglazkov (~dglazkov@2620:0:1000:1b01:21f:f3ff:fed0:dd49)
- # [17:30] * Quits: pesla (~retep@procurios.xs4all.nl) (Quit: ( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com ))
- # [17:31] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [17:37] * Quits: cedricv (~cedric@116.197.248.72) (Ping timeout: 245 seconds)
- # [17:38] <TabAtkins> Bwahaha, the text-wrapping on my company's site means that, at the precise size that my IE window opened up at, we proclaim that we have "The World's Largest Member".
- # [17:38] <TabAtkins> And that size is 800x600. Glorious.
- # [17:38] <annevk> TabAtkins, the css3- prefix is a historical accident
- # [17:38] <annevk> TabAtkins, much like it is with Selectors
- # [17:39] <annevk> TabAtkins, anyway, ask the TAG, URIs have no meaning
- # [17:39] <TabAtkins> I know. ^_^ My point, though, was that it didn't have anything to do with javascript, which seemed to be TheOutlawTorn's concern.
- # [17:39] * Joins: dave_levin (~dave_levi@c-98-203-247-78.hsd1.wa.comcast.net)
- # [17:41] <TheOutlawTorn> Well anyways I think it's best to use js since that's really easy to accomplish.
- # [17:41] <TheOutlawTorn> And I think it would be also good to start learning js at this point.
- # [17:42] <TabAtkins> It is a good idea. Go learn jQuery, though. Your life will be made infinitely easier.
- # [17:42] <annevk> wait what?
- # [17:42] <annevk> js is really easy but you don't actually know it?
- # [17:42] <TheOutlawTorn> That is a javascript library
- # [17:42] <gsnedders> TabAtkins: You've never tried to debug random objects becoming undefined in jQuery obviously
- # [17:42] <TheOutlawTorn> annevk: I never actually wanted to learn it in the first place.
- # [17:43] <TabAtkins> gsnedders: No. I have never had such a problem.
- # [17:43] <gsnedders> TabAtkins: See, you obviously need to do more browser QA on buggy JS engines :P
- # [17:43] <TabAtkins> TheOutlawTorn: Yeah, I know. I mean, though, that jQuery makes javascript development infinitely easier.
- # [17:43] <TheOutlawTorn> Yeah, I heard..
- # [17:44] * Joins: sbublava (~stephan@77.118.180.46.wireless.dyn.drei.com)
- # [17:44] <TabAtkins> I think I need to *not* do that, gsnedders ^_^.
- # [17:45] <gsnedders> TabAtkins: :)
- # [17:47] * Quits: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de) (Quit: Verlassend)
- # [17:47] * Joins: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de)
- # [17:50] * Quits: svl (~chatzilla@a194-109-2-65.dmn.xs4all.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky!)
- # [17:51] <TabAtkins> Actually, that's a good reason to avoid joining the Chrome team fully, and instead just using them as a 20% project to implement CSS specs.
- # [17:51] * Quits: dave_levin (~dave_levi@c-98-203-247-78.hsd1.wa.comcast.net) (Quit: dave_levin)
- # [17:52] <TheOutlawTorn> ?
- # [17:52] <TabAtkins> That way I don't have to ever go debug random js engine things.
- # [17:53] * TabAtkins just got hired by Google and hasn't yet gotten to the point where he decides what team to join.
- # [17:54] <gsnedders> heh
- # [17:54] <Philip`> You should join the secret Evil team
- # [17:54] <TabAtkins> Hey, if they offer...
- # [17:55] * Quits: virtuelv (~virtuelv_@pat-tdc.opera.com) (Quit: Ex-Chat)
- # [17:58] * Quits: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de) (Quit: Verlassend)
- # [17:58] <jgraham> TabAtkins: Oh, congratulations
- # [17:59] * Joins: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de)
- # [17:59] <TabAtkins> Thanks, jgraham. ^_^
- # [17:59] <jgraham> Did you announce that already? I missed it if so
- # [17:59] <TabAtkins> I'd talked about it before, but I don't think many people were around then. I wasn't sure I'd be able to accept at that point.
- # [18:02] * Joins: Maurice (copyman@5ED548D4.cable.ziggo.nl)
- # [18:02] <jgraham> So you are working mainly on specs, or mainly on products?
- # [18:02] <TheOutlawTorn> Congratulations.
- # [18:03] <jgraham> (well I guess you just said you don't know)
- # [18:03] <TabAtkins> jgraham: My intention is to join the Open Source office with Hixie, and work on CSS specs.
- # [18:03] <TheOutlawTorn> They let you choose what team you wanna be a part of?
- # [18:03] <TabAtkins> TheOutlawTorn: Yeah, several teams pitch themselves at you, and you pick which you'd prefer to work with.
- # [18:04] <TheOutlawTorn> Interesting
- # [18:04] <TheOutlawTorn> What team has the most members?
- # [18:04] <TabAtkins> No clue.
- # [18:05] * Dashiva wonders why thunderbird thinks "received:" headers are useful to normal people
- # [18:05] <jgraham> TabAtkins: Nice
- # [18:05] <TheOutlawTorn> Where are you from? If you don't mind me asking.
- # [18:05] <TabAtkins> Houston
- # [18:05] <TheOutlawTorn> Nice.
- # [18:05] <jgraham> You don't fancy moving to California?
- # [18:05] <TabAtkins> (Since this is my real name, it's not like there's any real privacy involved. ^_^)
- # [18:06] <TabAtkins> Nah, we're moving next month.
- # [18:09] * TabAtkins wonders if there's any good way to expose depth information from his tree iterator in a foreach loop. Maybe as the key?
- # [18:10] <gsnedders> Tree iterator for what?
- # [18:11] <TabAtkins> The one that I just wrote. Iterates through a hierarchical collection of mysql rows, turning it into a RecursiveIterator suitable for passing to RecursiveIteratorIterator.
- # [18:11] <Philip`> TabAtkins: Set a global variable
- # [18:12] <Dashiva> RecursiveIteratorIterator doesn't sound like a class that should exist outside parody
- # [18:12] <TabAtkins> Dashiva: Heh, I know. It's kinda rediculous.
- # [18:13] <Dashiva> Although I've taken a MMI course where the prof had classes like SliderSliderSliderInputExample
- # [18:13] <TabAtkins> But it transforms a RecursiveIterator into a linear iterator, so you don't have to deal with maintaining a stack as you descend through children yourself.
- # [18:13] <Philip`> Does it use a RecursiveIteratorIteratorFactory?
- # [18:13] <TabAtkins> Luckily, no.
- # [18:13] * jgraham is just staring wide-mouted at the IRC channel
- # [18:14] <jgraham> *mouthed
- # [18:14] <jgraham> RecursiveIteratorIterator? Seriously?
- # [18:14] <TabAtkins> (I attached a static function to the class that takes the same arguments as the constructor, which just returns a RecursiveIteratorIterator so I don't have to type that myself.)
- # [18:14] <Dashiva> So that class implements RecursiveIteratorIteratorFactory via duck typing
- # [18:15] <TabAtkins> jgraham: http://php.net/manual/en/class.recursiveiteratoriterator.php
- # [18:16] <jgraham> I refuse to be dirtied by reading the PHP manual
- # [18:16] <gsnedders> jgraham: Welcome to PHP.
- # [18:16] <TabAtkins> Hahaha.
- # [18:16] <gsnedders> jgraham: Oh, come on. That's quite good by PHP standards.
- # [18:16] <TabAtkins> Nod. It
- # [18:16] <TabAtkins> It's at least consistently named.
- # [18:18] <Philip`> It's like they decided to copy the irritating parts of Java
- # [18:18] <Sidnicious> PHP: If you don't think it's built in, you haven't spent enough time reading the docs.
- # [18:18] <AryehGregor> Practically nothing is reliably built into PHP, that's one of the most obnoxious things about it.
- # [18:19] <TabAtkins> The difficulty is just in parsing it. It's (RecursiveIterator)Iterator; that is, an iterator over a recursive iterator.
- # [18:19] * Joins: aroben (~aroben@unaffiliated/aroben)
- # [18:19] <Dashiva> $fileSPLObjects = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory), RecursiveIteratorIterator::CHILD_FIRST);
- # [18:19] <TabAtkins> Transforming a tree-like structure back into a list-like structure, so you can just hand it to the foreach() loop.
- # [18:19] <Dashiva> It's like I'm really using Java!
- # [18:19] <Philip`> I was just about to paste exactly that line :-(
- # [18:20] <Dashiva> Finally, I beat Philip` at something.
- # [18:21] * Joins: JonathanNeal (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com)
- # [18:21] <gsnedders> Dashiva: congrats!
- # [18:21] <JonathanNeal> What would you guys recommend as Windows sotware to convert mp4's to ogv's?
- # [18:21] <Philip`> use File::Find; find(sub { print "Found $_\n"; }, $directory);
- # [18:22] <Dashiva> Philip`: Can you fix LWP so it uses the right content-type?
- # [18:22] <Philip`> What is "right"?
- # [18:22] <Philip`> Also, what is wrong?
- # [18:23] <Philip`> Do you want it to not look at <meta> or something?
- # [18:23] <Philip`> (That's the biggest annoyance I've encountered)
- # [18:23] <Dashiva> Well, partially
- # [18:23] <Dashiva> I want it to not look at meta if there is a HTTP header
- # [18:23] <Dashiva> Like HTML5 (and HTML4) says
- # [18:24] <Dashiva> And additionally, it looks like the most recent LWPs use the first HTTP header instead of the last
- # [18:24] * Joins: ap_ (~ap@17.246.19.5)
- # [18:24] <JonathanNeal> I was hoping to convert videos over to ogv for Firefox <video> support.
- # [18:26] * Joins: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [18:26] * Quits: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com) (Client Quit)
- # [18:26] <TabAtkins> Google is unhelpful, JonathanNeal. Shrug.
- # [18:26] <JonathanNeal> I know, that's why I came here.
- # [18:26] * Joins: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [18:26] <daedb> Firefogg?
- # [18:27] <AryehGregor> Yeah, you could use Firefogg.
- # [18:27] * Joins: othermaciej (~mjs@17.244.209.254)
- # [18:27] <AryehGregor> Results when encoding H.264 -> Theora are not going to be great, though; conversions between different types of lossy formats never are.
- # [18:27] <Dashiva> I remember seeing some awesometastic transcoding anything-to-anything app, but I forgot the name
- # [18:28] <AryehGregor> You can also use ffmpeg2theora, according to this: http://diveintohtml5.org/video.html
- # [18:28] * Quits: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com) (Client Quit)
- # [18:28] * Dashiva wonders what will happen when there's a ffmpeg2. Will there be a ffmpeg22theora?
- # [18:29] <JonathanNeal> haha
- # [18:29] <TabAtkins> This is why programming languages should stop reserving so much syntax. ffmpeg->theora is much better.
- # [18:29] <TabAtkins> Or the actual unicode arrow.
- # [18:29] <JonathanNeal> Do you guys think mp4 support is in the future of Firefox?
- # [18:29] * TabAtkins keeps forgetting to mod his keyboard to output the unicode arrows.
- # [18:30] * Quits: Phae (~phaeness@gatea.mh.bbc.co.uk)
- # [18:30] <AryehGregor> TabAtkins, you want to actually type a Unicode arrow when you want to invoke the program?
- # [18:30] <TabAtkins> YES.
- # [18:30] <AryehGregor> Also, ffmpeg->theora = output of command "ffmpeg-" redirected to file "theora".
- # [18:31] <TabAtkins> Ys, because silly languages reserve so many symbols for their syntax.
- # [18:31] <Dashiva> Can you put theora inside a mp4 container?
- # [18:31] <AryehGregor> ffmpeg→theora should be a perfectly good command name, though.
- # [18:31] <TabAtkins> Lisp keeps it to a minimum. ()#'`, is all.
- # [18:31] <AryehGregor> bash reserves everything and its brother.
- # [18:31] <Sidnicious> APL tried this: http://www.wickensonline.co.uk/apl/unicomp-apl-top-large.jpg
- # [18:31] <Dashiva> #bash-2.0# brother: reserved name
- # [18:32] <TabAtkins> When you're limited to ascii, at least use camelCasing.
- # [18:32] <TabAtkins> ffmpegToTheora
- # [18:32] <JonathanNeal> AryehGregor, yes if we had those arrows on our keyboards.
- # [18:32] <TabAtkins> I mean, english letters and numbers.
- # [18:32] <Dashiva> TabAtkins: That insults the design sense of people who prefer lowercasenames
- # [18:32] <TabAtkins> Dashiva: Those people can die in a fire.
- # [18:32] <Dashiva> They can, but I don't think they will
- # [18:32] * Joins: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [18:32] <JonathanNeal> A dash never killed anyone either.
- # [18:32] * Quits: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com) (Client Quit)
- # [18:32] <AryehGregor> JonathanNeal, Ctrl+Shift+u2192, not too hard to remember.
- # [18:33] <Dashiva> Dash is overloaded as minus, bad story there
- # [18:33] <TabAtkins> JonathanNeal: Yeah it does. Stupid inline minus operator.
- # [18:33] <AryehGregor> TabAtkins, camel-casing is contrary to Unix conventions dating to before both of us were born.
- # [18:33] * TabAtkins uses dashes in all his Lisp stuff, as is appropriate Lisp style.
- # [18:33] <Dashiva> Unix "conventions"
- # [18:33] <JonathanNeal> TabAtkins, oh.
- # [18:33] <JonathanNeal> An underscore never hurt anyone.
- # [18:33] <Dashiva> That's sort of like microsoft "open standards"
- # [18:33] <AryehGregor> Pretty sure "foo2bar" has been well established for an awfully long time.
- # [18:33] <TabAtkins> AryehGregor: Those conventions are silly.
- # [18:33] <TabAtkins> As demonstrated by ffmpeg22theora
- # [18:34] <jgraham> TabAtkins: You know, sounding grumpy won't convert more people to lisp ;)
- # [18:34] <TabAtkins> I'm not trying to convert anyone. ^_^
- # [18:34] <Dashiva> So atoi should be a2i
- # [18:34] <AryehGregor> It would just still be called ffmpeg2theora.
- # [18:35] <AryehGregor> Why would you change the name of the command for a new version?
- # [18:35] <Dashiva> Maybe ffmpeg and ffmpeg2 aren't compatible
- # [18:35] <TabAtkins> What, and use flags to tell it that you're passing an old version?
- # [18:35] <AryehGregor> What?
- # [18:36] <AryehGregor> Why wouldn't the command-line syntax remain compatible across versions?
- # [18:36] <AryehGregor> Or at least compatible enough to give it the same name?
- # [18:36] <jgraham> There are lots of much sillier unix things than the naming conventions
- # [18:36] <TabAtkins> So then flags to tell it you're passing a new version?
- # [18:36] <AryehGregor> What does "passing a new version" mean?
- # [18:36] <jgraham> Like the total lack of a standardised way of telling what flag a program accests
- # [18:36] <jgraham> *accepts
- # [18:37] <Dashiva> I hear make is going to start supporting general whitespace before 2072
- # [18:37] <TabAtkins> ffmpeg versus ffmpeg2 (assuming they're incompatible for some reason)
- # [18:37] <AryehGregor> ffmpeg is a piece of software. You don't "pass" it, you're calling it.
- # [18:37] <AryehGregor> jgraham, you mean --help isn't good enough? That's not *quite* universal, I'll grant, but it works pretty reliably.
- # [18:37] <TabAtkins> Gah, pedantry. You know what I mean.
- # [18:37] <Dashiva> AryehGregor: Except when it's only -h
- # [18:37] * Quits: Sidnicious (~Sidney@pdpc/supporter/professional/sidney) (Quit: Sidnicious)
- # [18:38] <AryehGregor> TabAtkins, no I don't. I have no idea what you're talking about. Why would you even have the old version installed alongside the new version? If you do, you can use the full path, weirdo.
- # [18:38] <jgraham> AryehGregor: That's not enough for e.g. command line completionto work without insane hacks
- # [18:38] <AryehGregor> Dashiva, yes, but then usually it says "unrecognized option -" and prints a usage summary anyway.
- # [18:38] <AryehGregor> jgraham, programs can provide custom command-line completion if they want, there's a standard way to do that.
- # [18:38] <Dashiva> Unless it's a helpful program that ignores unrecognized flags
- # [18:38] <AryehGregor> apt-get inst<Tab> -> apt-get install
- # [18:39] <AryehGregor> Dashiva, yes, there are a few of those, and they should die in fire.
- # [18:39] <Dashiva> -v is also a popular flag to overload
- # [18:39] <AryehGregor> Everyone on Linux should follow the GNU command-line argument conventions, period.
- # [18:39] <jgraham> AryehGregor: [citation needed]
- # [18:40] <Dashiva> AryehGregor: So linux should be incompatible with other *nixes?
- # [18:40] <AryehGregor> jgraham, typing "apt-get inst<Tab>" on stock Ubuntu isn't good enough evidence for you?
- # [18:40] <jgraham> I was under the impression that those completions were hardcoded in shell-specific scripts
- # [18:40] <AryehGregor> Dashiva, no, they should use the same conventions too.
- # [18:40] <AryehGregor> jgraham, shell-specific, maybe. I don't know.
- # [18:41] <jgraham> Not that the shell could parse out the command line options from the binary somehow
- # [18:41] <AryehGregor> Well, obviously not, but there's a format that you can use to achieve the same effect.
- # [18:41] <AryehGregor> Often you want more complicated autocompletion anyway.
- # [18:41] <jgraham> AryehGregor: This is roughly my definition of "insane hacks"
- # [18:41] <AryehGregor> E.g., only autocomplete to files that exist *and* make sense for the command.
- # [18:42] <AryehGregor> Your way isn't flexible enough, you need to support scripted autocomplete to get full functionality anyway.
- # [18:42] <Dashiva> jgraham: Surely metadata never becomes out of sync with the binaries
- # [18:42] <AryehGregor> Dashiva, pretty rarely, when you use package managers.
- # [18:43] <Dashiva> Because the people in charge of packages never make mistakes
- # [18:43] <AryehGregor> No, but you're inventing unreasonable hypotheticals at this point instead of pointing out real-world problems.
- # [18:43] <jgraham> less /etc/bash_completion looks kinda crazy
- # [18:43] <AryehGregor> I guess the completion rules are bash-specific.
- # [18:44] <AryehGregor> If so, that's kind of lame.
- # [18:44] <AryehGregor> Wait a minute, these autocomplete rules are all stored in one big file?
- # [18:44] <AryehGregor> Ah, there's also bash_completion.d/.
- # [18:45] <AryehGregor> That's a perfectly good Unix-style convention: implement potentially complicated functionality using a shell script you include with your program.
- # [18:45] <AryehGregor> I don't see a better proposal from you that's as flexible.
- # [18:46] <jgraham> Embed the same information in the binary in a format that can be parsed out
- # [18:46] <AryehGregor> Why?
- # [18:46] <AryehGregor> You'd have to use a scripting language anyway.
- # [18:46] <Dashiva> Looks like a lot of hardcoding inside bash_completion...
- # [18:47] <AryehGregor> Dashiva, some core programs seem to be there, /etc/bash_completion.d/ lets other programs add their own stuff, in typical Unix (or at least Linux) fashion.
- # [18:47] <Dashiva> freeamp is a core program?
- # [18:48] <AryehGregor> Hmm. Suppose not.
- # [18:48] <Dashiva> Heh, acroread is there. I guess they're anticipating installs :)
- # [18:48] <AryehGregor> I guess it's easier to stick it there than have a whole new file.
- # [18:48] * Joins: maikmerten (~maikmerte@port-92-201-98-142.dynamic.qsc.de)
- # [18:49] <TabAtkins> Yay, it was trivial to hack a depth tracker into the SQLTree class, and just return it as the key of each value.
- # [18:50] * Joins: KevinMarks (~KevinMark@157.22.22.46)
- # [18:50] * Joins: dave_levin (~dave_levi@2620:0:1008:1101:225:ff:fef0:9a9e)
- # [18:51] * Quits: Lachy (~Lachlan@pat.se.opera.com) (Quit: This computer has gone to sleep)
- # [18:56] * Quits: pmuellr (~pmuellr@nat/ibm/x-bjvdmynbnpkldprg) (Read error: Connection reset by peer)
- # [18:59] * Joins: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams)
- # [18:59] <Philip`> Dashiva: ffmpeg has only done about one release in its entire history, and that was version 0.5, so I think we've got plenty of time before worrying about version 2
- # [19:04] * Quits: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams) (Quit: GarethAdams|Home)
- # [19:05] * Joins: pmuellr (~pmuellr@nat/ibm/x-sboynfdrybqzvofl)
- # [19:06] * Quits: othermaciej (~mjs@17.244.209.254) (Quit: othermaciej)
- # [19:09] <hober> It's nice to read something about how people *like* Hixie's spec-writing style for a change: http://bitworking.org/news/2010/02/joel-in-a-box
- # [19:11] <gsnedders> RFC 5023 is APP, right?
- # [19:12] <Philip`> Google says yes
- # [19:12] * gsnedders sighs at the sheer number of RFCs he knows the numbers for
- # [19:14] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [19:14] <gsnedders> TabAtkins: http://github.com/gsnedders/complexpie/blob/master/src/cachearray.php — fun with PHP!
- # [19:15] <gsnedders> (complete with my own very naïve GC impl within PHP!)
- # [19:15] <TabAtkins> Yay!
- # [19:15] * Quits: TheOutlawTorn (~TheOutlaw@unaffiliated/theoutlawtorn) (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158])
- # [19:16] <gsnedders> (basically for static variable caches within functions to avoid computing stuff all the time, and with GC to stop it from growing to really large amounts of memory)
- # [19:16] <gsnedders> (the GC is really too naive though, I expect, but it gets pretty good cache hit rates)
- # [19:17] <gsnedders> (compared with having no GC whatsoever)
- # [19:18] <gsnedders> (there again, for it to be worthwhile to still have the cache, the GC needs to be really cheap)
- # [19:18] * Quits: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de) (Quit: Verlassend)
- # [19:19] <TabAtkins> Ah, so a helper for manually implementing memoization. Cool.
- # [19:19] * Joins: othermaciej (~mjs@17.246.19.234)
- # [19:21] <Philip`> How does that actually cache anything?
- # [19:21] <Philip`> It looks like it's deferring to the parent all the time, and never returning anything from a cache
- # [19:21] * Parts: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
- # [19:22] <TabAtkins> It's an ArrayObject, which has an internal array backing.
- # [19:22] <TabAtkins> And uses parent::offsetGet and parent::offsetSet to actually do the storing/retrieving.
- # [19:22] <gsnedders> TabAtkins: Yeah, basically
- # [19:22] <TabAtkins> It just wraps gc around it.
- # [19:23] * Quits: aroben (~aroben@unaffiliated/aroben) (Read error: Connection reset by peer)
- # [19:23] <Philip`> Hmm, so this code isn't actually caching anything, it's more of a SelfCleaningArray?
- # [19:23] <gsnedders> TabAtkins: Indeed, and offsetExists is deliberately not overridden to keep it quicker
- # [19:23] <gsnedders> Philip`: yeah
- # [19:23] <TabAtkins> It's meant for *other* things to use it for caching.
- # [19:23] <gsnedders> http://github.com/gsnedders/complexpie/blob/master/src/iri.php#L788
- # [19:23] <gsnedders> for example
- # [19:24] <TabAtkins> function foo(){ static $cache = new CacheArray; }
- # [19:24] <gsnedders> (it turns out doing IRI processing is amazingly expensive)
- # [19:24] <gsnedders> TabAtkins: That's invalid syntax, you can't set a new object like that
- # [19:24] <TabAtkins> Sure you can.
- # [19:24] * Joins: jgornick (~joe@199.199.210.66)
- # [19:25] <TabAtkins> As long as your constructor can be called with no args.
- # [19:25] * Quits: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944) (Remote host closed the connection)
- # [19:25] * Joins: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944)
- # [19:26] <TabAtkins> Frex, I use foreach(new UserList as $user){} all over my code.
- # [19:26] <gsnedders> TabAtkins: Parse error: syntax error, unexpected T_NEW
- # [19:26] <gsnedders> TabAtkins: That's totally different
- # [19:26] <gsnedders> TabAtkins: It's the fact it's on the RHS of a static dfn
- # [19:26] * Joins: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams)
- # [19:27] <Philip`> Seems like a weird cache eviction policy
- # [19:27] * Joins: aroben (~aroben@unaffiliated/aroben)
- # [19:27] <Philip`> If you access "x" 100 times, then "y" once, then "x" 99 times, it will throw away "x" and keep "y"?
- # [19:27] <gsnedders> TabAtkins: http://pastebin.ca/1791616
- # [19:27] * Quits: aroben (~aroben@unaffiliated/aroben) (Read error: Connection reset by peer)
- # [19:27] <gsnedders> Philip`: I said naïve for a reason
- # [19:28] <Philip`> Naive is different to stupid ;-)
- # [19:28] <gsnedders> patches welcome :)
- # [19:28] <gsnedders> (provided they don't make the getter in the general case more expensive)
- # [19:28] <TabAtkins> Ah, is that something special just for static vars?
- # [19:29] <gsnedders> TabAtkins: static and global, IIRC
- # [19:29] <gsnedders> TabAtkins: It's a property of the keywords
- # [19:29] <TabAtkins> How weird.
- # [19:29] <gsnedders> TabAtkins: Same applies for public $foo = 'bar'; in a class dfn
- # [19:29] <Philip`> LRU would probably the most common arguably-naive algorithm, I guess
- # [19:29] <TabAtkins> Okay, well, I use static vars very rarely.
- # [19:30] * Joins: aroben (~aroben@unaffiliated/aroben)
- # [19:30] <gsnedders> Philip`: The aim was more some fairly basic LFU
- # [19:31] <gsnedders> With a really bad LFU-aging impl
- # [19:32] * Quits: mat_t (~mattomasz@91.189.88.12) (Write error: Broken pipe)
- # [19:33] <TabAtkins> You could perhaps drop $oldaccess, and just determine what to drop based on $access.
- # [19:33] <TabAtkins> Perhaps just array_slice($access,0,80) to allow young accesses to stick around.
- # [19:33] <gsnedders> I could just move over to LRU, but I don't think that's very good for what I need
- # [19:34] <gsnedders> e.g., given parsing a URL like '/', it may in general come up a lot, but in one file I get a thousand unqiue other items. I don't want to push that out of the cache
- # [19:34] * Quits: sbublava (~stephan@77.118.180.46.wireless.dyn.drei.com) (Quit: sbublava)
- # [19:35] <gsnedders> There's a very long tail for this from the data set I was testing with, so caching that tail doesn't gain much
- # [19:35] <gsnedders> What is important is you get the high priority things
- # [19:35] <gsnedders> Which is why I really want some sort of LFU impl
- # [19:35] <Philip`> If it comes up a lot, it will always be recently used, and you'd only push it out of the cache for the duration of that one file where it's not used
- # [19:35] <TabAtkins> Okay, then just cut things based on array_count_values(
- # [19:35] <TabAtkins> $access)
- # [19:35] * Joins: Lachy (~Lachlan@london.perfect-privacy.com)
- # [19:35] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 252 seconds)
- # [19:36] <Philip`> Things that are used frequently are used recently
- # [19:36] <gsnedders> Philip`: It's a question of whether I want to push it out for that one file, whether I gain anything by losing that cache
- # [19:36] <Philip`> Also, RAM is cheap so make the cache much bigger :-)
- # [19:36] <gsnedders> Philip`: PHP often runs with small memory limits
- # [19:37] <Philip`> I suppose PHP isn't clever enough to have weak references
- # [19:37] <gsnedders> It isn't, sadly.
- # [19:37] <Philip`> Does it throw an exception when you run out of memory, or just crash?
- # [19:37] <TabAtkins> Exception, usually.
- # [19:37] <TabAtkins> Sometimes just a crash.
- # [19:37] <gsnedders> Throws E_ERROR, a non-catchable error.
- # [19:37] <Philip`> That's not so helpful
- # [19:38] <gsnedders> Indeed. The only option for keeping caches within a sane size is something like this.
- # [19:39] * gsnedders does still use an unbound (direct associative array) cache in one place, but where it grows to a certain size and stops growing due to the nature of the cache
- # [19:39] <gsnedders> (and where any indirection to another PHP function call is too expensive to be worthwhile even having the cache)
- # [19:40] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [19:43] * Joins: drunknbass_work (~aaron@pool-71-106-110-90.lsanca.dsl-w.verizon.net)
- # [19:45] * Quits: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) (Quit: mhausenblas)
- # [19:46] * Joins: wycats (~yehudakat@enginey-9.border1.sfo002.pnap.net)
- # [19:47] * Joins: jwalden (~waldo@c-98-248-40-206.hsd1.ca.comcast.net)
- # [19:57] * Quits: Lachy (~Lachlan@london.perfect-privacy.com) (Quit: Leaving)
- # [20:03] * Joins: franksalim (~frank@adsl-75-61-86-190.dsl.pltn13.sbcglobal.net)
- # [20:05] * Joins: cying (~cying@70.90.171.153)
- # [20:07] <jgraham> You know you have been using computers in general, and irc in particular, too long when you can't remember what normal people say when they mean "ping"
- # [20:08] <AryehGregor> Normal people say "ping"? Other than as part of "ping-pong"?
- # [20:08] <jgraham> No, they don't, that's the point
- # [20:08] <AryehGregor> Oh.
- # [20:08] <AryehGregor> So, uh, how can they mean anything when they say it, if they don't say it?
- # [20:08] <othermaciej> "hello"
- # [20:09] <gsnedders> AryehGregor: It's the noise you get when the touch a glass in a certain way!
- # [20:09] <othermaciej> AryehGregor: "say when they mean", not "mean when they say"
- # [20:09] * Quits: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944) (Remote host closed the connection)
- # [20:09] <jgraham> They don't say it. But they say things with similar meanings
- # [20:09] <AryehGregor> Oh, I see.
- # [20:09] <wycats> question: why does CORS not support unfettered HTTP requests in non-credentialed mode?
- # [20:09] * Joins: onar (~onar@2620:0:1b00:16f2:21f:5bff:fe3e:944)
- # [20:09] <AryehGregor> I misread.
- # [20:09] <othermaciej> i.e. instead of saying "ping" to get someone's attention, face-to-face or over the phone the standard protocol is to say "hi" or "hello"
- # [20:10] <AryehGregor> I suppose they say "Excuse me" or "Are you there" or such?
- # [20:10] <othermaciej> people who are not geeks probably say "are you there" or "ayt" over IM-type communication channels
- # [20:10] <jgraham> In context the word I needed was really "remind"
- # [20:11] <jgraham> (but that doesn't make sense in general)
- # [20:11] <AryehGregor> Ah, like as a transitive verb.
- # [20:11] <othermaciej> oh, as in "can you ping her about that"
- # [20:11] <jgraham> Yes
- # [20:12] * Joins: Lachy (~Lachlan@london.perfect-privacy.com)
- # [20:16] * Quits: erlehmann (~erlehmann@82.113.121.136) (Quit: Ex-Chat)
- # [20:19] * Joins: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
- # [20:25] * Joins: gratz|home (~gratz@cpc3-brig15-2-0-cust237.3-3.cable.virginmedia.com)
- # [20:46] <hsivonen> oh great. HTML5 parsing seems to make tests from the W3C DOM Level 1 test suite fail
- # [20:46] <hsivonen> oops
- # [20:46] <hsivonen> the test had been modified from the W3C original based on an old snapshot of HTML5
- # [20:46] <hsivonen> now I need to change it back
- # [20:53] * Quits: zcorpan (~zcorpan@90-224-190-71-no135.tbcn.telia.com) (Ping timeout: 265 seconds)
- # [21:04] * Joins: virtuelv (~virtuelv_@162.179.251.212.customer.cdi.no)
- # [21:08] <wycats> so why does uncredentialled CORS still require approval to make the request?
- # [21:08] * Joins: MikeSmithX (~MikeSmith@EM114-48-22-85.pool.e-mobile.ne.jp)
- # [21:09] <Philip`> To stop pages from arbitrarily reconfiguring the user's router on http://192.168.0.1, perhaps?
- # [21:09] <othermaciej> wycats: for "simple requests" it doesn't require approval to make the request, just to read the results
- # [21:09] * Philip` may be misunderstanding the question
- # [21:10] <othermaciej> for non-simple requests, there is at least the risk of exposing servers behind firewalls to CSRF (beyond what is possible with cross-site form submission)
- # [21:12] * Quits: MikeSmith (~MikeSmith@EM114-49-145-115.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
- # [21:14] <wycats> othermaciej: why is approval required to read the requests?
- # [21:14] <wycats> without credentials == no CSRF, no?
- # [21:14] <wycats> othermaciej: I'm curious why there's no "safe" API to make an HTTP request that doesn't expose any security issues
- # [21:14] * Joins: cpearce (~cpearce@203-97-204-82.dsl.clear.net.nz)
- # [21:15] <othermaciej> wycats: you can't use CSRF to read a resource served from another server, whether with or without credentials
- # [21:15] <othermaciej> wycats: in intranets, there are servers where the only "credential" required to access them is being behind the firewall, which is a credential XHR can't remove
- # [21:16] <wycats> othermaciej: isn't this something UAs can handle?
- # [21:16] <wycats> and behind the firewall people can lock down the credential?
- # [21:17] <wycats> othermaciej: in practice, this means that I can't use certain public APIs until people get around to supporting CORS :/
- # [21:17] <othermaciej> wycats: what I'm saying is, there's servers behind firewalls containing confidential information that require no explicit credential to access
- # [21:17] <othermaciej> their only protection is being behind a firewall
- # [21:17] <wycats> othermaciej: right... and people can already get that info by installing a native app
- # [21:17] <wycats> the way around that is permissions
- # [21:18] <wycats> so UAs can allow the "corporate security" to disallow access
- # [21:18] <othermaciej> wycats: browsing to a web page in your browser should not be equivalent to installing a native app
- # [21:18] <wycats> of course not
- # [21:18] <wycats> but making an HTTP GET request is a reasonable thing to be able to do
- # [21:18] <wycats> in the vast majority of cases
- # [21:19] <othermaciej> and indeed the spec lets you make such a request, just not read the result unless the server opts in
- # [21:20] <wycats> othermaciej: in general, getting the results of an HTTP request is not considered a secure transaction
- # [21:21] * Quits: smaug_ (~chatzilla@cs181150024.pp.htv.fi) (Quit: ChatZilla 0.9.86 [Firefox 3.7a1pre/20100203110813])
- # [21:21] <othermaciej> browsers enforce the same-origin security model and therefore have created the expectation that it is, in the browser context
- # [21:23] <wycats> brb
- # [21:26] * Quits: roc (~roc@121-72-164-122.dsl.telstraclear.net) (Quit: roc)
- # [21:26] * Joins: zcorpan (~zcorpan@c-ca9be355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [21:38] * Quits: maikmerten (~maikmerte@port-92-201-98-142.dynamic.qsc.de) (Remote host closed the connection)
- # [21:42] * miketaylr is now known as miketaylrswift
- # [21:43] * Joins: nessy (~Adium@124-168-170-167.dyn.iinet.net.au)
- # [21:44] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 258 seconds)
- # [21:47] * Quits: zcorpan (~zcorpan@c-ca9be355.410-6-64736c14.cust.bredbandsbolaget.se) (Remote host closed the connection)
- # [21:48] * Joins: zcorpan (~zcorpan@c-ca9be355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [21:48] * Joins: ojan (~ojan@2620:0:1002:1002:225:ff:feef:1010)
- # [21:48] * peol is now known as peoleary
- # [21:48] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [21:49] * Quits: surkov_ (~surkov@client-72-70.sibtele.com) (Quit: surkov_)
- # [21:56] <zcorpan> TabAtkins: congrats
- # [21:56] <TabAtkins> Thanks, zcorpan.
- # [21:58] * peoleary is now known as peol
- # [21:58] * Joins: mat_t (~mattomasz@ppp-3-229.leed-b-2.access.uk.tiscali.com)
- # [21:58] * Quits: mat_t (~mattomasz@ppp-3-229.leed-b-2.access.uk.tiscali.com) (Remote host closed the connection)
- # [22:01] * Joins: TheOutlawTorn (~TheOutlaw@unaffiliated/theoutlawtorn)
- # [22:02] <TheOutlawTorn> Hello
- # [22:02] * Quits: beilabs (~beilabs@ppp121-44-120-55.lns20.syd6.internode.on.net) (Quit: Leaving)
- # [22:07] * Quits: ROBOd (~robod@89.122.216.38) (Quit: http://www.robodesign.ro)
- # [22:08] * Joins: roc (~roc@203-97-204-82.dsl.clear.net.nz)
- # [22:21] <wycats> othermaciej: back
- # [22:22] * Joins: jianli (~jianli@74.125.59.73)
- # [22:28] * Quits: pmuellr (~pmuellr@nat/ibm/x-sboynfdrybqzvofl) (Quit: pmuellr)
- # [22:38] * Joins: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com)
- # [22:47] * Quits: zcorpan (~zcorpan@c-ca9be355.410-6-64736c14.cust.bredbandsbolaget.se) (Remote host closed the connection)
- # [22:48] * Joins: zcorpan (~zcorpan@c-ca9be355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [22:50] <zcorpan> why can't css transitions transition to height:auto
- # [22:50] <zcorpan> how are submenus or <details> supposed to have a nice animation with height:auto?
- # [22:51] <othermaciej> CSS transitions should totally transition to (and from) height: auto
- # [22:52] <othermaciej> I think it does not work right now because it would have to do an extra layout at the end state to figure out how to animate
- # [22:52] <othermaciej> or something
- # [22:52] <othermaciej> I'm wondering if I can figure out another way to implement <details> nicely w/ mostly just CSS
- # [22:53] <zcorpan> webkit animates to height:0 and then snaps over to auto
- # [22:53] <zcorpan> opera doesn't animate at all
- # [22:53] <wycats> zcorpan: sounds like an impl bug
- # [22:53] <othermaciej> I think the spec actually doesn't define animating to/from auto
- # [22:54] <othermaciej> so it is also a spec bug
- # [22:54] <wycats> othermaciej: is the issue you referred to earlier about behind the firewall the same issue with JSONRequest?
- # [22:54] <othermaciej> (or really conscious spec design limitation)
- # [22:54] <wycats> one option of course would be to try to calculate it yourself
- # [22:54] <othermaciej> wycats: there is some of that issue with JSONRequest, though JS content can to some extent be read cross-site already since there is no same-origin limit on embedding scripts via <script>
- # [22:54] <wycats> might work in many cases
- # [22:55] <othermaciej> yes, you could get the actual height, and animate from that to 0
- # [22:55] <wycats> othermaciej: right but you can't actually SEE the data with the exception of the __defineSetter__ hole
- # [22:55] <othermaciej> going the other way might be trickier (may need an extra layout)
- # [22:55] * Quits: Michelangelo (~Michelang@93-42-110-105.ip86.fastwebnet.it) (Remote host closed the connection)
- # [22:56] <othermaciej> wycats: there have been other holes (mostly closed now I think)
- # [22:56] <othermaciej> but I do think JSONRequest is not a great security design
- # [22:57] <wycats> othermaciej: agree 100%
- # [22:57] <wycats> I'm just frustrated by having to get people to agree to open up CORS
- # [22:57] <wycats> thinking about adding an easy way to do it to Rails
- # [22:57] <othermaciej> wycats: are you having trouble persuading people?
- # [22:57] <wycats> class MyController; cors_friendly; end
- # [22:57] <othermaciej> it would be nice for frameworks to give an easy way to do it
- # [22:57] <wycats> othermaciej: there are two issues: (1) the security implications are not obvious, so people want to research; (2) it's never a high priority
- # [22:58] <othermaciej> you may want to give the option of allowing access to anyone or to a whitelist, and whether to allow credentials or not
- # [22:58] <wycats> othermaciej: I work with the 37 signals guys and they say "cool" to adding CORS to their Campfire API but it's not on their list
- # [22:58] <zcorpan> working around the height:auto limitation with script gets really ugly
- # [22:58] <wycats> othermaciej: yeah
- # [22:58] <wycats> othermaciej: Rails tends to go with 90% case first and then refine to other cases
- # [22:58] <wycats> instead of trying to preplan everything... but some additional config wouldn't be bad
- # [22:58] <othermaciej> so you're thinking the 90% case is fully public data source that takes no credentials and is open to everyone?
- # [23:00] <wycats> othermaciej: the 90% case I think takes credentials via an API token
- # [23:00] <wycats> or basic auth
- # [23:00] <wycats> more likely an API token
- # [23:00] <othermaciej> depends on what kind of credentials you have in mind
- # [23:00] <othermaciej> if it's a resource that is somehow per-user, people may want to use cookies
- # [23:01] <wycats> othermaciej: that's not a common case
- # [23:01] <wycats> the common case is you have an API that is available from Ruby or Java or something
- # [23:01] <wycats> via HTTP
- # [23:01] <wycats> and you want to open it up for web access
- # [23:01] <othermaciej> if for example GMail wanted to offer a contacts service as a data API
- # [23:01] <wycats> othermaciej: I'd consider that the 10% case
- # [23:01] <wycats> Gmail has smart engineers
- # [23:01] <othermaciej> or flickr wanted a photostream data API
- # [23:01] <wycats> and we can converge on that case if it gets common
- # [23:02] <wycats> othermaciej: why wouldn't an API token work for that case?
- # [23:02] <othermaciej> wycats: how does an API token tell you which flickr user is logged into the browser?
- # [23:02] <othermaciej> is the token per-user or is it an "app key"?
- # [23:03] <othermaciej> if it's per-app, then if you ship it down to the client anyone can rip it from your client-side code
- # [23:03] <othermaciej> if it's per user, then you need a server-to-server communication to do setup per-user
- # [23:03] <wycats> othermaciej: nah it'd be stored in local storage
- # [23:03] <wycats> the user would type in their un/pw, and a call would be made to get the token
- # [23:03] <othermaciej> a call to who?
- # [23:03] <wycats> a fully open CORS service
- # [23:04] <othermaciej> you sure don't want the user typing their site A password into site B
- # [23:04] <wycats> ha
- # [23:04] <wycats> see: the internet :P
- # [23:04] <othermaciej> the whole point of CORS is to avoid brokenness like that
- # [23:04] <wycats> but yeah
- # [23:04] <wycats> othermaciej: seems basic auth would work
- # [23:05] <wycats> othermaciej: I was being snarky -- I of course realize that's bad
- # [23:05] <othermaciej> basic auth over CORS requires the same level of opt-in as cookies, so you may as well use cookies since that is probably what the service already uses for normal login
- # [23:05] <wycats> othermaciej: hmmm
- # [23:06] <wycats> so why wouldn't the default just be "allow cookies"?
- # [23:06] <wycats> in the non-preflight case we don't even need to do anything
- # [23:06] <othermaciej> well it's pretty easy for a server to opt into cookies
- # [23:06] <wycats> in the preflight case it seems "yes" is the right default
- # [23:06] <wycats> othermaciej: yeah I've read the spec
- # [23:06] <othermaciej> all it has to do is add Access-Control-Allow-Cookies: true
- # [23:06] <wycats> othermaciej: I know
- # [23:07] <wycats> othermaciej: it seems the make_cors_friendly should do that by default
- # [23:07] <wycats> othermaciej: I understand how the spec works, I'm thinking through the 90% case here
- # [23:07] <othermaciej> seems fine for a framework to make it the default if that is well-documented and well-understood
- # [23:07] <wycats> (you are being very helpful, thank you)
- # [23:07] <wycats> othermaciej: make_cors_friendly :cookies => false
- # [23:07] <wycats> would be the opt-out
- # [23:08] <wycats> obviously that would not be the method name
- # [23:08] <wycats> :p
- # [23:08] <wycats> probably something more like allow_cross_origin_requests
- # [23:08] <wycats> othermaciej: and could be implemented as Rack middleware, although you'd probably want finer control than that offered
- # [23:08] * Joins: ttepasse (~ttepasse@dslb-084-060-055-116.pools.arcor-ip.net)
- # [23:10] * Quits: miketaylrswift (~miketaylr@38.117.156.163) (Remote host closed the connection)
- # [23:13] <wycats> othermaciej: what is the one-sentence answer to "I need to explore the security considerations"
- # [23:14] <othermaciej> wycats: I don't know if there is one - depends on the context
- # [23:15] <othermaciej> wycats: if it's a fully public data service that's not per-user and would work without cookies, you could say "other sites can already do this by routing requests bak through their own servers"
- # [23:15] <othermaciej> *back
- # [23:17] <wycats> lemme look at how conceptually campfire works
- # [23:17] <wycats> othermaciej: why is it considered verboten to type un/pw into "some random web app" but not in "some random native iphone app"?
- # [23:17] <wycats> expectation discrepancy?
- # [23:19] * Quits: ChrisLTD|Work (~blahness@152.2.194.196) (Quit: ChrisLTD|Work)
- # [23:21] <wycats> "When you're using the API, it's always through an existing user in Campfire. There's no special API user. So when you use the API as "david", you get to see and work with what "david" is allowed to. Authenticating is done with an authentication token, which you'll find on the "Edit my Campfire account" screen in Campfire (click the "Reveal authentication token for API" link).
- # [23:21] <wycats> When using the authentication token, you don't need a separate password. But since Campfire uses HTTP Basic Authentication, and lots of implementations assume that you want to have a password, it's often easier just to pass in a dummy password, like X."
- # [23:21] <wycats> I think this is pretty representative
- # [23:23] * Quits: danbri (~danbri@unaffiliated/danbri) (Remote host closed the connection)
- # [23:33] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [23:37] * Quits: jgornick (~joe@199.199.210.66) (Quit: jgornick)
- # [23:39] * Joins: til (~til@75.141.192.2)
- # [23:40] <til> i'm serializing some objects to XML, and trying to decide how to serialize the booleans
- # [23:40] <TabAtkins> zcorpan: Are you going to ping www-style about the "animating to auto" thing?
- # [23:40] <TabAtkins> til: true/false?
- # [23:40] <til> i know that you guys consider a boolean to be true if the key is included and false if its omitted
- # [23:40] <til> is this a feature of xml, or a quirk of html?
- # [23:41] <TabAtkins> Ah, that. That's how HTML works. A general XML language can define booleans however they want.
- # [23:41] <til> TabAtkins: i'm wondering whether to represent @mirror as <… mirror = 'true' />
- # [23:41] <til> TabAtkins: i thought so
- # [23:41] <til> thanks
- # [23:42] * Quits: Maurice (copyman@5ED548D4.cable.ziggo.nl)
- # [23:44] * Parts: til (~til@75.141.192.2)
- # [23:51] <zcorpan> TabAtkins: not tonight
- # [23:51] <TabAtkins> Eventually, or you want me to do it?
- # [23:52] <zcorpan> you can do it if you want
- # Session Close: Wed Feb 10 00:00:01 2010
The end :)