Options:
- # Session Start: Thu Dec 04 00:00:00 2008
- # Session Ident: #whatwg
- # [00:02] <Philip`> gsnedders: I suppose that would be reasonable
- # [00:03] <Philip`> gsnedders: I hope you'll be on IRC on Monday to remind me :-)
- # [00:05] * Parts: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [00:08] * Quits: yecril71 (n=giecrilj@piekna-gts.2a.pl)
- # [00:09] * Quits: eric_carlson (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [00:19] * dglazkov is now known as Vokzalgd
- # [00:20] * Vokzalgd is now known as dglazkov
- # [00:21] * Joins: weinig (n=weinig@nat/apple/x-3e78c7214cc6dfa9)
- # [00:24] * Quits: smedero (n=smedero@mdp-nat251.mdp.com)
- # [00:32] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [00:36] * Joins: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [00:38] * Joins: nessy (n=nessy@eth690.nsw.adsl.internode.on.net)
- # [00:41] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Remote closed the connection)
- # [00:51] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [00:57] * Quits: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com) (Read error: 145 (Connection timed out))
- # [00:58] * Joins: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl)
- # [01:04] * Quits: dglazkov (n=dglazkov@nat/google/x-ea90e8332378d543)
- # [01:07] * Quits: nessy (n=nessy@eth690.nsw.adsl.internode.on.net) (Read error: 110 (Connection timed out))
- # [01:08] * Joins: erlehmann (n=erlehman@dslb-088-075-202-039.pools.arcor-ip.net)
- # [01:24] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [01:24] * Joins: arve__ (n=virtuelv@163.80-202-65.nextgentel.com)
- # [01:26] * Joins: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [01:29] * Quits: doublec (n=chris@202.0.36.64) ("Leaving")
- # [01:29] * Quits: virtuelv_ (n=virtuelv@163.80-202-65.nextgentel.com) (Read error: 60 (Operation timed out))
- # [01:35] <ajnewbold> gsnedders: ahoy
- # [01:47] * Joins: tantek (n=tantek@c-69-181-47-200.hsd1.ca.comcast.net)
- # [01:49] * Quits: tantek (n=tantek@c-69-181-47-200.hsd1.ca.comcast.net) (Client Quit)
- # [01:57] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [02:18] * Joins: aaronlev__ (n=chatzill@g227064231.adsl.alicedsl.de)
- # [02:18] * aaronlev__ is now known as aaronlev
- # [02:20] * Quits: aaronlev_ (n=chatzill@g228079102.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [02:24] * Joins: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [02:27] * Quits: billmason (n=bmason@ip49.unival.com) ("Leaving.")
- # [02:28] * Quits: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk) (Read error: 110 (Connection timed out))
- # [02:34] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [02:35] * Joins: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net)
- # [02:38] * Quits: tantek (n=tantek@c-67-161-5-143.hsd1.ca.comcast.net) (Client Quit)
- # [02:39] * Joins: doublec (n=chris@202.0.36.64)
- # [02:39] * Joins: eric_carlson (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [02:41] * Joins: eric_carlson_ (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [02:41] * Quits: eric_carlson (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Read error: 104 (Connection reset by peer))
- # [03:11] * Joins: MikeSmith (n=MikeSmit@EM114-48-149-236.pool.e-mobile.ne.jp)
- # [03:22] * Quits: dave_levin (n=dave_lev@72.14.227.1)
- # [03:39] * Quits: MikeSmith (n=MikeSmit@EM114-48-149-236.pool.e-mobile.ne.jp) ("sex break")
- # [03:41] * Quits: eric_carlson_ (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Read error: 60 (Operation timed out))
- # [03:42] * Joins: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [03:46] * Joins: eric_carlson (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [03:58] * Joins: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [03:59] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [03:59] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [04:03] * Joins: dglazkov_ (n=dglazkov@72.14.224.1)
- # [04:08] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [04:10] * dglazkov_ is now known as dglazkov
- # [04:11] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [04:17] * Joins: weinig_ (n=weinig@nat/apple/x-90d42c388ca48c4c)
- # [04:21] * Joins: hdh (n=hdh@118.71.127.114)
- # [04:23] * Joins: dolske_ (n=dolske@c-76-103-41-195.hsd1.ca.comcast.net)
- # [04:25] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
- # [04:31] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 60 (Operation timed out))
- # [04:32] * Quits: weinig (n=weinig@nat/apple/x-3e78c7214cc6dfa9) (Read error: 110 (Connection timed out))
- # [04:44] * Quits: weinig_ (n=weinig@nat/apple/x-90d42c388ca48c4c) (Remote closed the connection)
- # [04:45] * Joins: weinig (n=weinig@nat/apple/x-ad991de7ba22bfbf)
- # [04:52] * Quits: weinig (n=weinig@nat/apple/x-ad991de7ba22bfbf)
- # [04:52] * Quits: erlehmann (n=erlehman@dslb-088-075-202-039.pools.arcor-ip.net) ("Ex-Chat")
- # [05:00] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [05:05] * Quits: dave_levin_ (n=dave_lev@72.14.224.1)
- # [05:08] * Joins: MikeSmith (n=MikeSmit@dhcp-247-242.mag.keio.ac.jp)
- # [05:10] * Quits: smerp_ (n=smerp@66.192.95.199) ("Jesus Built My Workstation")
- # [05:11] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [05:12] * Quits: john_fallows (n=j_r_fall@adsl-76-231-45-30.dsl.pltn13.sbcglobal.net) (Remote closed the connection)
- # [05:13] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net) (Remote closed the connection)
- # [05:14] * Quits: dimich (n=dimich@72.14.227.1) (Read error: 110 (Connection timed out))
- # [05:14] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [05:15] * Joins: dglazkov_ (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [05:19] * Joins: dbaron (n=dbaron@c-71-204-144-136.hsd1.ca.comcast.net)
- # [05:24] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 60 (Operation timed out))
- # [05:25] * Quits: ajnewbold (n=neatnik@224-74.ip4.durham0.network.cynigram.com) ("leaving")
- # [05:28] * Joins: dglazkov__ (n=dglazkov@72.14.224.1)
- # [05:29] * Joins: erlehmann (n=erlehman@dslb-088-075-202-039.pools.arcor-ip.net)
- # [05:31] * Quits: dglazkov_ (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net) (Read error: 54 (Connection reset by peer))
- # [05:31] * Joins: dglazkov_ (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [05:32] * Quits: dglazkov (n=dglazkov@72.14.224.1) (Read error: 110 (Connection timed out))
- # [05:42] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [05:47] * Quits: dglazkov__ (n=dglazkov@72.14.224.1) (Read error: 110 (Connection timed out))
- # [05:47] * dglazkov_ is now known as dglazkov
- # [05:52] * Joins: hdh0 (n=hdh@118.71.120.213)
- # [05:52] * Quits: roc (n=roc@202.0.36.64)
- # [05:54] * Joins: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
- # [05:55] * Joins: dave_levin_ (n=dave_lev@72.14.224.1)
- # [05:56] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [06:00] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net) (Read error: 60 (Operation timed out))
- # [06:01] * Quits: hdh (n=hdh@118.71.127.114) (Read error: 60 (Operation timed out))
- # [06:18] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 110 (Connection timed out))
- # [06:20] * Joins: Lachy_ (n=Lachlan@85.196.122.246)
- # [06:20] * Quits: Lachy (n=Lachlan@85.196.122.246) (Read error: 60 (Operation timed out))
- # [06:26] * Parts: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [06:30] * Joins: heycam (n=cam@210-84-37-7.dyn.iinet.net.au)
- # [06:32] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [06:33] * Quits: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl) (Read error: 110 (Connection timed out))
- # [06:35] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
- # [06:38] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [06:39] * Quits: dbaron (n=dbaron@c-71-204-144-136.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [06:46] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [06:46] * Joins: smedero (n=smedero@pia145-154.pioneernet.net)
- # [06:46] * Quits: smedero (n=smedero@pia145-154.pioneernet.net) (Client Quit)
- # [07:07] * Quits: hober (n=ted@unaffiliated/hober) (Remote closed the connection)
- # [07:16] * Joins: jwalden (n=waldo@c-67-180-39-55.hsd1.ca.comcast.net)
- # [07:19] * Joins: hdh00 (n=hdh@118.71.124.184)
- # [07:37] * Joins: zcorpan (n=zcorpan@c83-252-193-84.bredband.comhem.se)
- # [07:37] <jwalden> "We think that developers will have an easier time building interoperable sites on top of IE8’s strong platform work (like [...] cross-domain requests (XDR) [...])."
- # [07:37] <jwalden> the sheer audacity
- # [07:39] * Quits: hdh0 (n=hdh@118.71.120.213) (Read error: 113 (No route to host))
- # [07:40] * Joins: ap (n=ap@195.239.126.12)
- # [07:40] * Quits: doublec (n=chris@202.0.36.64) (Read error: 110 (Connection timed out))
- # [07:43] * Joins: hober (n=ted@unaffiliated/hober)
- # [07:43] * Joins: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de)
- # [07:46] * Quits: arve__ (n=virtuelv@163.80-202-65.nextgentel.com) (Read error: 145 (Connection timed out))
- # [07:49] * Joins: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [07:54] * olliej is now known as fakeolliej
- # [07:55] <BenMillard> jwalden, you're talking about the IE blog here? http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements-to-come-in-ie8.aspx
- # [07:56] <jwalden> yeah
- # [07:56] <jwalden> I added a comment to about that effect, too, except less exasperatedly-worded
- # [07:56] * jwalden neologizes a bit, and a bit more
- # [07:59] <BenMillard> "When users install Windows 7 Beta or the next IE8 update, they get a choice about opting-in to a list of sites that should be displayed in Compatibility View."
- # [08:01] <BenMillard> "Users who choose to get the list receive it via Windows Update packages, just like IE security updates."
- # [08:02] <BenMillard> "[...] the presence of a <META> tag / HTTP header “wins” [...]"
- # [08:03] <BenMillard> "In some cases, for a new browser, developers have to spend time to add a tag or header to make their sites compatible."
- # [08:04] <BenMillard> it's good that Microsoft are discussing this in detail in advance
- # [08:06] <BenMillard> oh, it names some sites: "[...] high-volume sites like facebook.com, myspace.com, bbc.co.uk, and cnn.com with pages that weren’t working for end-users with IE’s new standards compliant default."
- # [08:08] <BenMillard> "The most important thing we can do now is deliver better interoperability for a better web [...]"
- # [08:23] <jwalden> it's mostly just this-is-how-far-we'll-bend-over-backwards-for-sites-that-relied-on-our-bugs plus a little see-we're-trying-to-do-things-that-look-monopolistic
- # [08:23] <jwalden> which is all well and good, as far as that goes
- # [08:23] <jwalden> er
- # [08:24] <jwalden> look-not-monopolistic
- # [08:27] * hsivonen wonders what the sites using XDR will be interoperable with
- # [08:37] * Joins: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl)
- # [08:37] <hsivonen> hmm. the opt-in list will be fun for QA
- # [08:38] <hsivonen> (both at Microsoft and at the sites affected)
- # [08:41] <zcorpan> i guess it means authors will have to make sure it works in both IE8 standards mode and IE8 compat mode even if they only want to target standards mode
- # [08:43] <BenMillard> zcorpan, perhaps such sites are expected to provide "a <META> tag / HTTP header"?
- # [08:46] <zcorpan> BenMillard: does it override the user's opt-in list?
- # [08:50] <BenMillard> zcorpan, apparently "[...] the presence of a <META> tag / HTTP header “wins” [...]"
- # [08:51] <BenMillard> zcorpan, you can read the whole thing: http://blogs.msdn.com/ie/archive/2008/12/03/compatibility-view-improvements-to-come-in-ie8.aspx
- # [08:54] * Quits: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de) (Read error: 104 (Connection reset by peer))
- # [09:03] <BenMillard> krijn, could simple mentions of domain names like example.com and subdomain.example.com get linkified in the logs?
- # [09:06] * Quits: hdh00 (n=hdh@118.71.124.184) (Remote closed the connection)
- # [09:09] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [09:12] * Joins: hdh (n=hdh@118.71.124.184)
- # [09:20] * Joins: Hish (n=chatzill@mail2.n-e-s.de)
- # [09:29] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [09:29] * Joins: zcorpan__ (n=zcorpan@c83-252-193-84.bredband.comhem.se)
- # [09:33] * Quits: zcorpan (n=zcorpan@c83-252-193-84.bredband.comhem.se) (Read error: 145 (Connection timed out))
- # [09:33] * zcorpan__ is now known as zcorpan
- # [09:38] * Joins: tthorsen (n=tommy@home.kvaleberg.no)
- # [09:40] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [09:46] * Joins: tndH (n=Rob@james-baillie-pc083-058.student-halls.leeds.ac.uk)
- # [10:02] <MikeSmith> hsivonen: very cool to see your HTML5 Parsing in Gecko news
- # [10:16] * Joins: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de)
- # [10:19] * Joins: doublec (n=chris@118-92-197-148.dsl.dyn.ihug.co.nz)
- # [10:28] <gsnedders> Philip`: I will be, provided I'm on a NXEC train (and not some temp. hired one without wifi)
- # [10:29] * Quits: gsnedders (n=gsnedder@host217-44-35-181.range217-44.btcentralplus.com) ("Killin' teh intarwebs")
- # [10:33] * Quits: jruderman (n=jruderma@corp-241.mountainview.mozilla.com)
- # [10:40] * Quits: doublec (n=chris@118-92-197-148.dsl.dyn.ihug.co.nz) (Read error: 113 (No route to host))
- # [10:42] * Joins: roc (n=roc@121-72-177-53.dsl.telstraclear.net)
- # [10:51] * Joins: doublec (n=Chris_Do@118-92-197-148.dsl.dyn.ihug.co.nz)
- # [10:56] <krijn> BenMillard: probably, yes :)
- # [10:56] <krijn> Got a nice regex for that?
- # [10:57] <BenMillard> krijn, I don't
- # [10:57] <krijn> Me neither
- # [10:58] <BenMillard> krijn, TLDs are standardised, and they are preceeded by a dot when used in a simple domain
- # [10:58] <BenMillard> so if you have a list of valid TLDs, maybe you can use that as the start of a RegEx?
- # [10:59] <BenMillard> supporting ccTLDs could be a real chore, but .com and .org and simple ones like that would still help
- # [10:59] <krijn> Imho it's easier to select the foo.com, right click, Go to web address
- # [10:59] <krijn> But that's just me :)
- # [10:59] <krijn> Auto linking example.com doesn't make sense
- # [11:00] <krijn> And that's probably the most used one
- # [11:01] <BenMillard> krijn, it's your choice, of course
- # [11:01] <krijn> Trying to convince you a bit, since I'm lazy
- # [11:01] <zcorpan> i think it'd result in a fair amount of mislinking
- # [11:01] <krijn> Yeah
- # [11:01] <jwalden> you could make a regex from http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/src/effective_tld_names.dat?raw=1
- # [11:02] <krijn> I don't think it's worth it
- # [11:02] <jwalden> which would be as accurate as it gets these days
- # [11:02] <jwalden> I agree
- # [11:02] <jwalden> :-)
- # [11:02] <BenMillard> fair enough, was just an idea :)
- # [11:02] <krijn> Great idea btw! ;)
- # [11:02] <BenMillard> krijn, did you see I made demos for some other IRC log pages?: http://projectcerbera.com/!dev/irc-logs/
- # [11:03] * Quits: sverrej (n=sverrej@cm-84.208.153.202.getinternet.no) (Read error: 60 (Operation timed out))
- # [11:03] <krijn> Yeah, very colorish :)
- # [11:03] <BenMillard> krijn, as before, take as much/little as you want from them
- # [11:03] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:03] <BenMillard> having a consistent header and footer across all IRC log pages, and better navigation between pages, seemed like an improvement
- # [11:04] <krijn> I agree
- # [11:04] <krijn> This would certainly double the readers :)
- # [11:06] <BenMillard> lol, wow that'd be 8!! :P
- # [11:07] <krijn> http://krijnhoetmer.nl/stats/usage_200812.html#TOPURLS
- # [11:07] <krijn> It's one of my top urls though
- # [11:08] <krijn> (Could mean the rest is even more shitty, but I'll try not to think about that case)
- # [11:08] * Joins: nessy (n=nessy@124-168-145-163.dyn.iinet.net.au)
- # [11:09] * Quits: Hish (n=chatzill@mail2.n-e-s.de) (Read error: 101 (Network is unreachable))
- # [11:09] <BenMillard> krijn, wow it looks like individual pages of logs are more popular than any other page on your site!
- # [11:09] * Joins: Hish (n=chatzill@mail2.n-e-s.de)
- # [11:09] <BenMillard> krijn, so the /irc-logs/ area must dominate your traffic?
- # [11:09] <krijn> Yeah, it does
- # [11:10] <krijn> But I think that has to do with forwarding /irc-logs/htmlwg/ to the most recent day
- # [11:10] <krijn> And that /irc-logs/htmlwg/ is linked from w3.org
- # [11:10] <krijn> html-wg even
- # [11:10] <krijn> From http://www.w3.org/html/wg/ I mean
- # [11:10] <BenMillard> nice! I hadn't realised that linked to your logs.
- # [11:11] <krijn> Yay for my PR :p
- # [11:11] <BenMillard> I added navigation between pages after seeing Dan Connolly say what I'd been thinking for some time: http://krijnhoetmer.nl/irc-logs/microformats/20081125#l-122
- # [11:11] <BenMillard> s/say/said/
- # [11:11] <krijn> Yeah, prev/next day links would be handy
- # [11:12] <annevk3> should be quite easy to make too...
- # [11:12] <krijn> Not for me ;)
- # [11:15] <krijn> Could do some loops, currentday - 1, see if that logfile exists.. If yes, make a link, if not, check currentday - 2, etc
- # [11:15] <krijn> Same for nextday
- # [11:15] <krijn> With a max of 10 loops or something
- # [11:15] * Quits: MikeSmith (n=MikeSmit@dhcp-247-242.mag.keio.ac.jp) ("sex break")
- # [11:19] <BenMillard> krijn, sounds like that would handle changes in the month, too
- # [11:19] <krijn> Yeah, that's what it is for, mostly
- # [11:20] <BenMillard> neato
- # [11:20] <krijn> Or I could list all logfiles, sort them, pick the current one - 1, and the current one + 1
- # [11:20] <krijn> (Which is what I do on the homepage)
- # [11:25] * Joins: yecril71 (n=giecrilj@piekna-gts.2a.pl)
- # [11:26] <yecril71> I would rather recommend a DOM transformation to convert a set of check boxes to a drop-down list.
- # [11:26] <yecril71> That, of course, relies on innerHTML to work.
- # [11:27] <yecril71> Structured approaches work better with structured languages than regular expressions.
- # [11:28] <BenMillard> yecril71, where is that being done?
- # [11:28] <yecril71> Regular expressions are for simple validation, and for languages that have no public DOM.
- # [11:29] <yecril71> Date: Tue, 2 Dec 2008 07:48:15 +0000 (UTC)
- # [11:29] * Quits: Lachy_ (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:29] <yecril71> Subject: Re: [whatwg] [WF2] action="mailto:" - encoding spaces
- # [11:30] <BenMillard> oh, an e-mail on a list, not what krijn and I were talking about. ok :)
- # [11:30] * Joins: webben (n=webben@nat/yahoo/x-7f0d96187c7099ee)
- # [11:30] <krijn> Not really, no :)
- # [11:30] <krijn> A mailing list is so outdated!
- # [11:31] <krijn> (And hard to keep up with, as well)
- # [11:31] <BenMillard> krijn, I'm off for dinner now, then I'll resume neatening up my idea for the "day" log. Kudos for being so open to suggestions.
- # [11:31] * Quits: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [11:31] <krijn> Np, sorry I'm not using everything immediately :)
- # [11:32] <yecril71> Absolutely, it is an antique way of getting things done, and extremely inefficient.
- # [11:34] <yecril71> I would still keep replying on the list but my remarks have been criticised as unintelligible and unconstructive.
- # [11:34] <yecril71> So Hixie told me I should rather interrupt your discussions on IRC.
- # [11:42] <jgraham> IRC: where being unintelligible and unconstructive is considered normal
- # [11:44] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [11:44] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [11:45] * jgraham notes that listing "The body element" under "obsolete elements" is a bit confusing
- # [11:47] * annevk3 notes that it has been noted already
- # [11:49] * jgraham notes that he expected it had already been noted but thought it was worth noting again just in case
- # [11:53] * Joins: MikeSmith (n=MikeSmit@EM114-48-10-119.pool.e-mobile.ne.jp)
- # [11:55] * krijn scratches his notes
- # [11:57] * annevk3 notes he would have noted that he expected jgraham would have noted it already, but wanted to spare people on the amount of notes
- # [11:57] <krijn> Duly noted
- # [11:58] <hsivonen> thanks for the kind comments on the Gecko build
- # [12:00] <jgraham> Hmm am I misreading the spec... it looks as if </br> should create a <br> start tag
- # [12:00] <zcorpan> jgraham: that's correct
- # [12:01] <roc> hsivonen: context?
- # [12:01] <hsivonen> roc: http://hsivonen.iki.fi/html5-gecko-build/
- # [12:01] <jgraham> zcorpan: Did that change recently?
- # [12:01] <zcorpan> jgraham: no
- # [12:01] * Quits: doublec (n=Chris_Do@118-92-197-148.dsl.dyn.ihug.co.nz) (Read error: 104 (Connection reset by peer))
- # [12:01] * jgraham wishes for a way to find out when a section of the spec last changed
- # [12:02] * Joins: doublec (n=Chris_Do@118-92-197-148.dsl.dyn.ihug.co.nz)
- # [12:02] <roc> cool
- # [12:02] <roc> ooh, you're supporting Hixie's SVG and MathML inclusion?
- # [12:02] <roc> that'll put the cat among the pigeons
- # [12:03] <hsivonen> roc: thanks. yes, SVG and MathML are supported
- # [12:03] <doublec> amazon S3 came up as an example during the 'video element and cross domain' debate as a service that doesn't support access controls
- # [12:03] <doublec> it turns out it does provide the functionality to add custom headers
- # [12:03] <doublec> so as long as the headers don't need dynamic data, you could use it to host cross domain files
- # [12:04] <roc> intriguing
- # [12:04] <annevk3> Access-Control might need dynamic data if the video is personalized based on a cookie
- # [12:04] <doublec> yes, true
- # [12:04] <annevk3> but if it's simple storage Access-Control-Allow-Origin:* would suffice
- # [12:05] * annevk3 doesn't really know what S3 allows for
- # [12:05] <doublec> only setting a header and string value when uploading the file, which gets served as an http header when a client downloads it
- # [12:06] <annevk3> so you can't really have personalized video hosting there anyway
- # [12:06] <doublec> correct
- # [12:11] * zcorpan tests hsivonen's gecko build
- # [12:11] <zcorpan> seems to work :)
- # [12:12] <zcorpan> hsivonen: http://simon.html5.org/articles/mobile-results is rendered in quirks mode
- # [12:14] <zcorpan> or is document.compatMode lying?
- # [12:15] <hsivonen> zcorpan: oops. it always renders in the quirks mode.
- # [12:15] <zcorpan> heh
- # [12:16] <hsivonen> zcorpan: blog post fixed. thanks
- # [12:23] * Quits: MikeSmith (n=MikeSmit@EM114-48-10-119.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [12:25] <yecril71> MSDN says: The value of a form control is encoded so that spaces and special characters are converted to their ASCII equivalents.
- # [12:25] <zcorpan> pages seem to render surprisingly well in quirks mode
- # [12:26] <yecril71> Guess what the ASCII equivalent for a space should be, given that a space is a valid ASCII character :-)
- # [12:27] <zcorpan> hsivonen: some pages suffer from the FOUC
- # [12:27] <zcorpan> e.g. csszengarden
- # [12:28] <yecril71> The example is oPhrase=My%20favorite%20color%20is%20plaid so that must be %20.
- # [12:28] * Joins: sverrej (n=sverrej@pat-tdc.opera.com)
- # [12:28] <yecril71> In particular, converting a space to + is not mentioned at all.
- # [12:30] <Lachy> hsivonen, in the HTML5 gecko build, there's a strange bug with the handling of numeric character references
- # [12:31] * Joins: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [12:31] <Lachy> hsivonen, see the To: field on this post for an example: http://lists.w3.org/Archives/Public/public-html/2008Dec/0074.html
- # [12:32] <Lachy> hsivonen, note how it says: "HTML WG <w3.or..." whereas the other email addresses, which are also in the source as char refs, display proplerly
- # [12:34] * Quits: doublec (n=Chris_Do@118-92-197-148.dsl.dyn.ihug.co.nz) ("ChatZilla 0.9.79-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [12:35] <zcorpan> Lachy: if i paste the source into the live dom viewer then it doesn't happen
- # [12:37] * Joins: mstange (n=markus@buntes215.wohnheim.uni-kl.de)
- # [12:42] * Joins: doublec (n=chris@118-92-197-148.dsl.dyn.ihug.co.nz)
- # [12:50] * Quits: ap (n=ap@195.239.126.12)
- # [12:50] <yecril71> IE7, however, converts a space to + and encodes + as %2B as required.
- # [12:55] <Lachy> hsivonen, here's a minimified demo showing the bug http://tinyurl.com/5z6phg
- # [12:57] <Lachy> hsivonen, note that the behaviour seems to change depending on the length of the source code before it. i.e. if you remove one line of source code, it's likely to display a different set of character references wrongly
- # [13:02] <zcorpan> Hixie: at least 1 web developer thinks <iframe seamless> is a good thing :) http://friendlybit.com/html/html-includes/
- # [13:10] * Quits: zcorpan (n=zcorpan@c83-252-193-84.bredband.comhem.se)
- # [13:22] * Joins: MikeSmith (n=MikeSmit@X089251.ppp.dion.ne.jp)
- # [13:25] <yecril71> I wonder if it is appropriate for the user agent to display a HTML document upon navigating to a mailto: URI.
- # [13:26] * Joins: myakura (n=myakura@p4200-ipbf2306marunouchi.tokyo.ocn.ne.jp)
- # [13:26] <yecril71> I think Lynx does that.
- # [13:28] <roc> Firefox can do that
- # [13:28] <yecril71> I also thing inappropriate appearance directives for FORM controls should be ignored.
- # [13:28] <roc> a Web app can register a page as the mailto: protocol handler
- # [13:29] <MikeSmith> yecril71: my Lynx launches some curses-based interactive app for actually sending mail
- # [13:29] <MikeSmith> or maybe it's built into Lynx
- # [13:34] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [13:34] <annevk3> http://www.bluishcoder.co.nz/2008/12/srt-subtitles-with-html5-video.html
- # [13:34] * Quits: YaaL (i=yaal@hell.pl) (Read error: 110 (Connection timed out))
- # [13:34] <annevk3> fail
- # [13:35] <annevk3> (not the post)
- # [13:36] <MikeSmith> annevk3: the jquery.srt doesn't work as expected?
- # [13:36] <annevk3> MikeSmith, the approach to subtitles was supposed to be subtitles embedded in the video stream, rather than some ECMAScript hack
- # [13:37] <MikeSmith> I see
- # [13:37] <annevk3> hopefully it will work long term, but I'm sceptic
- # [13:41] <krijn> Subtitles/captioning embedded in videos doesn't work, people want them to be indexable right now as well..
- # [13:42] <hsivonen> annevk3: I had a glass half-empty feeling, too :-/
- # [13:43] <krijn> http://www.minvws.nl/en/video/ also uses SRT afaik
- # [13:44] <hsivonen> for the record, I think SRT is the way to go--but as a built-in feature without JS
- # [13:44] * Joins: heycam` (n=cam@203-217-87-125.dyn.iinet.net.au)
- # [13:45] <hsivonen> when it comes to captioning, SRT vs. anything fancy is even more drastic than 80% of use cases with 20% the effort
- # [13:45] <krijn> Something like <video subs=foo.srt> you mean?
- # [13:46] <hsivonen> krijn: or SRT-equivant data in the media stream
- # [13:46] <krijn> Or subs=foo (for mookid)
- # [13:47] <hsivonen> SRT vs. fancy is probably closer to 99% of use cases for 1% of effort
- # [13:47] <hsivonen> s/equivant/equivalent/
- # [13:49] <Lachy> SRT may be ok for some simple captioning/subtitling, but it does have a lot of limitiations
- # [13:50] <hsivonen> Lachy: right, I didn't say 100% of use cases :-)
- # [13:50] * Quits: webben (n=webben@nat/yahoo/x-7f0d96187c7099ee) (Read error: 110 (Connection timed out))
- # [13:51] <Lachy> Joe Clark was advocating open captions on ALA recently, based on the limitations (especially fonts) of closed caption formats
- # [13:51] <Lachy> another alternative is the bitmap subtitle formats, such as those used on DVD and Blu-ray
- # [13:52] <hsivonen> Joe Clark may have unusually strong sensitivities to getting particular fonts displayed
- # [13:52] <Philip`> Would plain transcripts (not temporally linked to the video at all) satisfy many of the use cases, with much reduced effort?
- # [13:52] <Lachy> he has a point about using fonts that are optimised for readability on screen
- # [13:53] <hsivonen> Lachy: and OSs don't ship with any screen-readable fonts?
- # [13:53] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [13:53] * Quits: heycam` (n=cam@203-217-87-125.dyn.iinet.net.au) (Read error: 60 (Operation timed out))
- # [13:53] <Lachy> hsivonen, I don't know.
- # [13:54] * Quits: heycam (n=cam@210-84-37-7.dyn.iinet.net.au) (Read error: 110 (Connection timed out))
- # [13:54] <jmb> Philip`: they may well do. although, there's loads of non-verbal stuff in video which should probably be conveyed somehow
- # [13:54] <hsivonen> Philip`: well, the TV and cinema people have assumed you need at least the SRT level of features
- # [13:55] <Philip`> Lachy: Does he only care about accessibility of professionally-produced videos, and not care about other people producing videos when they don't know anything about fonts and don't have any installed and decide to go with Comic Sans because it looks nice and friendly?
- # [13:55] <Lachy> anyway, I think the ultimate solution would be to use text-based subtitle format with the ability to embed custom fonts within the video container
- # [13:55] <Lachy> Philip`, for amature videos, I'm sure he's aware that there isn't much chance of getting people to use anything much more complex than SRT, if they'll even use that
- # [13:56] <Philip`> hsivonen: The TV and cinema people have a vested interest in not producing a solution that removes the video component :-)
- # [13:56] <hsivonen> for now, I'd settle for SRT rendered in white with black outline near the bottom of the frame rendered in my browser-defalt sans-serif font
- # [13:56] * Joins: heycam` (n=cam@124-168-123-82.dyn.iinet.net.au)
- # [13:58] <Lachy> hsivonen, sure, but it would also need to support basic positioing, so that it can be moved to the top to avoid overlapping other on-screen text
- # [13:58] * hsivonen notes that Joe Clark relies on the user's computer having fonts for his blog instead of sending huge Microsoft Publisher-created bitmaps
- # [13:59] <Lachy> that's because using bitmaps like that would be less accessible than using even poor quality fonts
- # [14:00] * Quits: nessy (n=nessy@124-168-145-163.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [14:24] <MikeSmith> I notice that the Moz and Webkit default stylesheets use -moz-padding-start: and -webkit-padding-start: instead of just padding: ... wondering why
- # [14:26] <MikeSmith> also -moz-margin-start and -webkit-margin-start, and -moz-border-start
- # [14:27] <mstange> MikeSmith: https://developer.mozilla.org/En/CSS/-moz-padding-start
- # [14:27] <MikeSmith> mstange: thanks
- # [14:28] <annevk3> yeah, those properties should just be standardized
- # [14:29] <annevk3> otoh, if all those properties end up in browsers and tools and such, authors might get confused quite a bit
- # [14:30] <yecril71> The encoding algorithm for mailto links, as specified, consists of two steps.
- # [14:30] <yecril71> The first step is encoding the control values normally, and the second step is to transform all occurrences of + to %20.
- # [14:31] <yecril71> This is equivalent to making an exception in the first algorithm.
- # [14:33] <BenMillard> MikeSmith, your document could convert "-start" to "-left" and "-end" to "-right" in such properties, then remove the vendor prefix, and maybe say somewhere it assumes dir="ltr"?
- # [14:35] <MikeSmith> BenMillard: the default browser stylesheets don't actually use -end
- # [14:35] <MikeSmith> would it be wrong to just convert it to plain "padding" ?
- # [14:36] <BenMillard> MikeSmith, moz-padding-start is equivalent to padding-left when dir="ltr", afaict.
- # [14:36] <BenMillard> s/moz-padding-start/-moz-padding-start/
- # [14:36] <MikeSmith> I see
- # [14:38] <yecril71> It seems "jump to step" would be more readable if the steps were both numbered (for easy location) and labeled (for remembering what they do).
- # [14:38] * Quits: eric_carlson (n=ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
- # [14:40] <MikeSmith> BenMillard: so I guess I'll have my script convert those to padding-left and maybe put a note somewhere explaining
- # [14:41] <annevk3> rtl people could claim you're biased
- # [14:43] <MikeSmith> annevk3: hmm, so maybe I'll just keep it -vendor-padding-start , with "vendor" in ital
- # [14:44] <MikeSmith> hmm, yeah, that seems better
- # [14:44] <BenMillard> annevk3 & MikeSmith, the document is written in English. :)
- # [14:45] <annevk3> BenMillard, what it describes should still be sort of i18n compatible
- # [14:45] * Quits: doublec (n=chris@118-92-197-148.dsl.dyn.ihug.co.nz) (Read error: 113 (No route to host))
- # [14:45] <annevk3> BenMillard, just like we care about accessibility and such :p
- # [14:45] <annevk3> ;)
- # [14:45] <MikeSmith> annevk3: btw, what about "-appearance" ? any move to standardize that?
- # [14:45] <annevk3> that's in a standard, but the standard is not that clear
- # [14:45] <annevk3> css3-ui
- # [14:48] <MikeSmith> OK
- # [14:48] <BenMillard> annevk3, versions which are translated into languages with other writing directions could translate the CSS samples accordingly.
- # [14:48] <annevk3> the CSS samples are UA default style sheet rules...
- # [14:48] <hsivonen> Lachy: thanks for the minimized test case
- # [14:49] <annevk3> so not really samples
- # [14:50] <hsivonen> hmm. that's a cross-language bug
- # [14:50] <hsivonen> fortunately
- # [14:51] <BenMillard> annevk3, I'm not sure that distinction is helpful when a reader sees something which look like CSS sample CSS but which uses propeties they don't know about...but it's Mike's call. :)
- # [14:51] <BenMillard> s/CSS sample CSS/a CSS sample/
- # [14:53] <annevk3> it's not a sample
- # [14:54] * Joins: rubys (n=rubys@cpe-075-182-087-110.nc.res.rr.com)
- # [14:55] * Joins: webben (n=webben@nat/yahoo/x-23ffec6992b3c8c8)
- # [15:04] <annevk3> "Look ma! No namespace declarations!" :p
- # [15:04] <annevk3> -- http://hsivonen.iki.fi/test/svg-and-mathml-in-html.html
- # [15:07] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [15:10] <MikeSmith> hmm, looking for a default Opera stylesheet but not finding one
- # [15:10] <annevk3> there's not really such a thing
- # [15:10] <MikeSmith> ah, OK
- # [15:10] <MikeSmith> I see other stuff in /usr/share/opera/styles
- # [15:18] * Quits: webben (n=webben@nat/yahoo/x-23ffec6992b3c8c8) (Read error: 104 (Connection reset by peer))
- # [15:22] * Joins: smerp (n=smerp@cpe-066-057-061-202.nc.res.rr.com)
- # [15:23] * Parts: BenMillard (n=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [15:31] * Joins: YaaL (i=yaal@hell.pl)
- # [15:31] * Joins: webben (n=webben@nat/yahoo/x-5c1eb31c4323c433)
- # [15:38] * Quits: aaronlev (n=chatzill@g227064231.adsl.alicedsl.de) (Read error: 110 (Connection timed out))
- # [16:15] * Quits: maikmerten (n=merten@ls5dhcp195.cs.uni-dortmund.de) (Remote closed the connection)
- # [16:16] * Joins: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net)
- # [16:18] * Joins: eric_carlson (n=ericc@nat/apple/x-e53e412671181a39)
- # [16:29] * Joins: billmason (n=bmason@ip49.unival.com)
- # [16:31] <annevk3> "The net result of the 3.0 generalizations is that Python 3.0 runs the pystone benchmark around 10% slower than Python 2.5. Most likely the biggest cause is the removal of special-casing for small integers. There’s room for improvement, but it will happen after 3.0 is released!"
- # [16:31] <annevk3> guess we better not port html5lib just yet
- # [16:31] <annevk3> -- http://docs.python.org/dev/3.0/whatsnew/3.0.html
- # [16:32] <rubys> unicode is much better in python 3
- # [16:33] <annevk3> sure
- # [16:33] <rubys> in any case, I'd like to see hsivonen's work be used to bootstrap a C/C++ implementation with a Python binding
- # [16:33] * annevk3 doesn't like the new print either
- # [16:33] <annevk3> I'd love that too
- # [16:33] <rubys> yea, the new print sucks, but isn't a big deal
- # [16:33] <rubys> I mostly use print for debugging
- # [16:34] * jgraham is very happy about better unicode handling
- # [16:35] <jgraham> although html5lib has some bugs that only occur on UCS2 or UCS4 builds
- # [16:35] <tthorsen> I think the new print looks ok, but I haven't tried it. What's the problem with it?
- # [16:35] <rubys> parens are required
- # [16:35] * tthorsen likes parens
- # [16:36] <jgraham> I have a hard time complaining about two extra characters
- # [16:36] <jgraham> I guess it may be a small usability loss
- # [16:36] <annevk3> I don't :) but rubys is right, it's not crucial
- # [16:37] <rubys> In ruby, p is a function that can be used without parens, and equates roughly to python's print(repr(...)). Very handy for debugging.
- # [16:37] * Joins: dglazkov_ (n=dglazkov@72.14.224.1)
- # [16:37] <jgraham> rubys: Can't most ruby functions be used without parens?
- # [16:37] <rubys> yes
- # [16:38] * jgraham generally likes parens around functions
- # [16:39] <jgraham> Or at least I found it weird when I tried Haskell. Although that could be other things too
- # [16:39] <rubys> the one case where it is handy is functions that return None (or nil, or void or whatever) can be used as statements.
- # [16:40] * jcranmer is now known as jcranmer|transit
- # [16:40] * jcranmer|transit is now known as jcranmer
- # [16:43] * Quits: hdh (n=hdh@118.71.124.184) ("Leaving.")
- # [16:44] * Joins: dbaron (n=dbaron@c-71-204-152-23.hsd1.ca.comcast.net)
- # [16:48] * Parts: rubys (n=rubys@cpe-075-182-087-110.nc.res.rr.com)
- # [16:49] * Joins: rubys (n=rubys@cpe-075-182-087-110.nc.res.rr.com)
- # [16:49] <rubys> hsivonen: take a look at http://rails.intertwingly.net/blog/index.html using your html5 parser enhanced minefield
- # [16:50] <rubys> The whatwg logo is borked
- # [16:52] * Quits: dglazkov (n=dglazkov@c-24-130-144-56.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [16:58] * Joins: gsnedders (n=gsnedder@host217-44-35-181.range217-44.btcentralplus.com)
- # [17:02] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:04] * Joins: pergj (n=pergj@cm-84.208.140.163.getinternet.no)
- # [17:08] <hsivonen> rubys: That bug has been fixed on trunk. It was a layout layer problem.
- # [17:08] <rubys> cool
- # [17:09] <hsivonen> rubys: https://bugzilla.mozilla.org/show_bug.cgi?id=459817
- # [17:11] <rubys> oh, cool, I'm the testcase! :-)
- # [17:15] <Philip`> Python 2.x lets you say "print x," to prevent it printing a newline at the end; can you do something similar in Python 3.0 if print is using standard function call syntax instead?
- # [17:16] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [17:16] <tthorsen> print(x, end=""), I think
- # [17:17] <Philip`> That's quite horrid
- # [17:17] * Philip` prefers it when programming languages are updated to make it easier to write things, not harder
- # [17:17] <rubys> http://docs.python.org/dev/3.0/whatsnew/3.0.html#print-is-a-function
- # [17:20] * gsnedders should probably care about supporting Python 3 now
- # [17:20] <gsnedders> does html5lib work at all?
- # [17:21] <jgraham> gsnedders: No
- # [17:21] <tthorsen> Philip`: I did not know about the "print x," in 2.X. That's pretty weird syntax - even if it is easy to write. I think the new syntax is easier to understand for people who are not Python wizards
- # [17:21] <jgraham> That is pretty low on my priority list though, after "stop hunderds of testcases failing"
- # [17:22] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [17:22] * Quits: dglazkov_ (n=dglazkov@72.14.224.1)
- # [17:24] * jgraham made a start on the ferry but has some way to go
- # [17:24] <jgraham> Like before it was over a thousand testcases
- # [17:25] <Philip`> tthorsen: It isn't any easier for those people to write - they'll do "print('hello')" and not want a newline, then they'll see that it adds a newline, and then they'll either give up or they'll have to look in the documentation, which will then tell them "write 'print "hello",' to suppress the newline" or "write 'print("hello", end="")' to suppress the newline"
- # [17:25] <Philip`> so it's equally a pain both ways
- # [17:25] <jgraham> sys.stdout.write("hello") works I guess
- # [17:26] <rubys> only if you import sys :-)
- # [17:26] <Philip`> but with the new way, when you're feeling very frustrated at the lack of a decent debugger and are trying to sprinkle a load of print commands throughout your code to work out what's going on, you'll have to type more characters on every line and you will get even more frustrated :-)
- # [17:27] <tthorsen> yeah. I was thinking about reading code that others had written. If I saw "print x," somewhere I would probably not even notice the ',' and I would certainly not guess that it was for suppressing the newline
- # [17:28] <jgraham> import sys; p = sys.stdout.write
- # [17:28] <tthorsen> If I was in charge, print would not output newlines at all. I don't mind putting a \n at the end of my strings.
- # [17:28] <tthorsen> s/newlines/automatic newlines/
- # [17:29] <Philip`> The rationale at http://www.python.org/dev/peps/pep-3105/ seems to be concerned entirely with relatively uncommon advanced requirements, and totally ignores the basic "I just want to print some text" use case
- # [17:30] <Philip`> tthorsen: Recent versions of Perl attempt to solve that problem by having 'print' which does no newlines, and 'say' which adds one automatically
- # [17:30] <rubys> That's Python for you: one size fits all. If you want a language which cottons to use cases (at the expense of consistency), consider Perl or Ruby.
- # [17:31] <annevk3> I very much like significant whitespace though
- # [17:33] <Philip`> I think the main reason I use Python nowadays is ctypes, because I can't anything that works that well in Perl
- # [17:33] <Philip`> and if I'm writing a little bit of code that requires ctypes, I might as well write the rest of the program in Python because that's easier than mixing languages
- # [17:33] <tthorsen> annevk3: I'd actually prefer c-style { and }. The whitespace blocks are okay until you want to refactor a 3000 line program. Moving and reindenting big blocks of code feels dangerous when the indentation actually matters.
- # [17:33] <annevk3> I don't write 3000 line programs
- # [17:34] <Philip`> $ wc -l html5parser.py
- # [17:34] <Philip`> 2169 html5parser.py
- # [17:34] <Philip`> It's close :-p
- # [17:35] * hsivonen wonders if PyDev supports all the eclipse refactoring goodness for Python
- # [17:38] * Quits: tthorsen (n=tommy@home.kvaleberg.no) ("Leaving")
- # [17:43] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [17:49] * Joins: zcorpan (n=zcorpan@c83-252-193-84.bredband.comhem.se)
- # [17:55] * Quits: zcorpan (n=zcorpan@c83-252-193-84.bredband.comhem.se) (Read error: 60 (Operation timed out))
- # [18:06] * Quits: myakura (n=myakura@p4200-ipbf2306marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [18:06] * Joins: dglazkov (n=dglazkov@nat/google/x-2619724283d03537)
- # [18:08] * Joins: ap (n=ap@195.239.126.10)
- # [18:13] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:23] * Joins: KevinMarks (n=KevinMar@nat/google/x-052bacd1a170a637)
- # [18:31] * Quits: dbaron (n=dbaron@c-71-204-152-23.hsd1.ca.comcast.net) ("8403864 bytes have been tenured, next gc will be global.")
- # [18:32] * Joins: weinig (n=weinig@nat/apple/x-95479899da212b4f)
- # [18:39] * Quits: dave_levin_ (n=dave_lev@72.14.224.1)
- # [18:42] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [18:45] * Joins: blooberry (n=brian@c-76-126-199-19.hsd1.ca.comcast.net)
- # [18:47] * Joins: dbaron (n=dbaron@corp-241.mountainview.mozilla.com)
- # [19:00] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [19:02] * Quits: dave_levin (n=dave_lev@72.14.227.1) (Client Quit)
- # [19:05] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [19:05] * Quits: dave_levin (n=dave_lev@72.14.227.1) (Client Quit)
- # [19:06] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [19:21] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [19:29] <Philip`> When html5lib's sanitizer says things like re.match("^(\s*[-\w]+\s*:\s*[^:;]*(;|$))*$", style) isn't that, like, totally wrong, because it needs escaped backslashes or needs to be r"..."?
- # [19:29] * Joins: aboodman (n=aboodman@72.14.229.81)
- # [19:30] <Philip`> Oh, maybe not - it seems Python treats "\w\s" identically to "\\w\\s"
- # [19:31] * Joins: smerp][ (n=smerp@66.192.95.199)
- # [19:31] <Philip`> (Seems fragile to rely on that, though)
- # [19:33] <Dashiva> I never saw a reason not to use raw strings for regexps
- # [19:33] * Quits: roc (n=roc@121-72-177-53.dsl.telstraclear.net)
- # [19:37] * Quits: erlehmann (n=erlehman@dslb-088-075-202-039.pools.arcor-ip.net) (Read error: 60 (Operation timed out))
- # [19:38] * Joins: maikmerten (n=maikmert@La2de.l.pppool.de)
- # [19:39] * Joins: erlehmann (n=erlehman@dslb-088-075-214-007.pools.arcor-ip.net)
- # [19:40] <Philip`> For today's exciting "you have two problems" quiz: How do you make re.match('^(\s*[-\w]+\s*:\s*[^:;]*(;|$))*$', 'x: y; ' * 20) not take a probably-exponential amount of time to run?
- # [19:41] * Quits: erlehmann (n=erlehman@dslb-088-075-214-007.pools.arcor-ip.net) (Client Quit)
- # [19:42] <Philip`> Bonus points if the solution is still adequately fast when the input is ('x: y; ' * 20)+'x'
- # [19:42] <Dashiva> Could you put \s inside the [^:;]?
- # [19:43] <Dashiva> Not sure what you're matching exactly
- # [19:43] * Quits: weinig (n=weinig@nat/apple/x-95479899da212b4f)
- # [19:44] * Quits: jwalden (n=waldo@c-67-180-39-55.hsd1.ca.comcast.net) ("ChatZilla 0.9.82.1-rdmsoft [XULRunner 1.8.0.9/2006120508]")
- # [19:44] <Philip`> Dashiva: It's trying to sanitize style attribute values
- # [19:45] <Philip`> so it's matching "x: y; x: y" and "x: y; x: y;" (with various whitespace, and limitations on 'x' and 'y')
- # [19:45] <Philip`> and if it fails to match when it reaches the end, it apparently does a huge amount of backtracking
- # [19:46] <Dashiva> This part here seems like the problem as far as I can tell: \s*[^:;]*
- # [19:46] <Dashiva> Otherwise there isn't much to backtrack on
- # [19:47] <Dashiva> Although that wouldn't stop it from trying, would it...
- # [19:47] * Quits: smerp (n=smerp@cpe-066-057-061-202.nc.res.rr.com) (Read error: 110 (Connection timed out))
- # [19:48] <Philip`> Hmm, that seems a good point - that's where it's going to get the exponential number of matches from
- # [19:49] <Dashiva> Could you just remove the \s part? Since it'd be part of the class anyway
- # [19:50] <Philip`> Yep, that's what I tried and it seems to make it go fast
- # [19:51] <hsivonen> http://delicious.com/url/d01372fa73da4044019a8ce733974a5e
- # [19:51] <hsivonen> tagged lol, omg, wtf
- # [19:53] <MikeSmith> "it is becoming increasingly difficult to distinguish W3C specs from Onion articles"
- # [19:55] <jcranmer> Philip`: regular expressions are not NP-hard
- # [19:55] <jcranmer> well, PCRE are
- # [19:58] * Joins: smedero (n=smedero@mdp-nat251.mdp.com)
- # [19:58] <Philip`> jcranmer: That doesn't stop implementations sometimes taking exponential time to execute them
- # [19:59] <jcranmer> it depends on whether or not you want to refer to subgroups or just match
- # [20:00] <Philip`> jcranmer: Just matching, but in an implementation that does backtracking rather than compiling to a DFA or whatever silly thing computer scientists say you should do
- # [20:01] <jcranmer> nondeterministic fininte automotan implicitly constructing the DFA
- # [20:02] * Joins: erlehmann (n=erlehman@dslb-088-075-214-007.pools.arcor-ip.net)
- # [20:05] * Joins: dimich (n=dimich@72.14.227.1)
- # [20:06] * Quits: dimich (n=dimich@72.14.227.1) (Client Quit)
- # [20:07] <jcranmer> Philip`: simple way to do it is this
- # [20:08] <jcranmer> get rid of the outermost * and just match multiple times :-)
- # [20:11] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [20:12] * Joins: dimich (n=dimich@72.14.227.1)
- # [20:14] * Joins: weinig (n=weinig@nat/apple/x-7f7ef4cb7817c86b)
- # [20:14] * Quits: weinig (n=weinig@nat/apple/x-7f7ef4cb7817c86b) (Client Quit)
- # [20:16] * Joins: weinig (n=weinig@nat/apple/x-f7fce2c05abab0d9)
- # [20:22] * Joins: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
- # [20:33] * Quits: sverrej (n=sverrej@pat-tdc.opera.com) (Read error: 110 (Connection timed out))
- # [20:36] * Quits: weinig (n=weinig@nat/apple/x-f7fce2c05abab0d9)
- # [20:37] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [20:38] * Joins: ojan (n=ojan@nat/google/x-22a27a111ea11520)
- # [20:39] * Joins: zcorpan_ (n=zcorpan@c83-252-193-84.bredband.comhem.se)
- # [20:44] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Remote closed the connection)
- # [20:46] * Quits: zcorpan_ (n=zcorpan@c83-252-193-84.bredband.comhem.se) (Read error: 60 (Operation timed out))
- # [20:52] * Quits: KevinMarks (n=KevinMar@nat/google/x-052bacd1a170a637) ("The computer fell asleep")
- # [20:52] * Joins: KevinMarks (n=KevinMar@nat/google/x-718831388a0a4d17)
- # [20:58] * Quits: KevinMarks (n=KevinMar@nat/google/x-718831388a0a4d17) (Read error: 60 (Operation timed out))
- # [20:59] * Quits: smedero (n=smedero@mdp-nat251.mdp.com)
- # [21:00] * fakeolliej is now known as olliej
- # [21:01] * Joins: sverrej (n=sverrej@cm-84.208.153.202.getinternet.no)
- # [21:04] * Joins: zcorpan_ (n=zcorpan@c83-252-193-84.bredband.comhem.se)
- # [21:04] * Joins: KevinMarks (n=KevinMar@nat/google/x-98f498757de84004)
- # [21:05] * Quits: zcorpan_ (n=zcorpan@c83-252-193-84.bredband.comhem.se) (Client Quit)
- # [21:20] * Quits: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
- # [21:21] * Joins: zcorpan_ (n=zcorpan@c83-252-193-84.bredband.comhem.se)
- # [21:25] <Philip`> Hmm, Python's regexp engine is dumber than Perl's
- # [21:26] <Philip`> re.match('^(a|a)*$', ('a' * 21) + 'b') takes forever, whereas (("a" x 1000)."b") =~ /^(a|aa)*$/ is instantaneous
- # [21:26] <Philip`> Uh
- # [21:26] <Philip`> I meant (("a" x 1000)."b") =~ /^(a|a)*$/
- # [21:28] <Dashiva> That's because perl cheats
- # [21:29] <Philip`> "Cheat" is just a term that means your opponent is being cleverer than you
- # [21:37] * Joins: weinig_ (n=weinig@nat/apple/x-12e0cd488e2b8dc8)
- # [21:37] * aroben is now known as aroben|lunch
- # [21:38] * weinig_ is now known as weinig|lunch
- # [21:40] * Quits: zcorpan_ (n=zcorpan@c83-252-193-84.bredband.comhem.se) (Read error: 110 (Connection timed out))
- # [21:41] * Joins: nessy (n=nessy@124-168-145-163.dyn.iinet.net.au)
- # [21:51] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [21:53] * Quits: webben (n=webben@nat/yahoo/x-5c1eb31c4323c433) ("leaving")
- # [21:56] <gsnedders> Dashiva: Then all optimizations are cheats
- # [21:56] <Dashiva> Not all of them, just the ones that are cheats
- # [21:57] * Quits: maikmerten (n=maikmert@La2de.l.pppool.de) (Remote closed the connection)
- # [21:57] <Hixie> shepazu: specifically number 2 in http://lists.w3.org/Archives/Public/public-html/2008Oct/0127.html
- # [21:58] <Hixie> shepazu: (that e-mail is sorted in the order of what would most help html5, from most helpful to least helpful)
- # [21:58] <Philip`> Hixie: Did you mean those last two lines in #html-wg?
- # [21:58] <Hixie> er yes
- # [21:58] <Hixie> thanks
- # [22:00] <annevk3> rubys, if Decimal is serialized to a string, does it include the m at the end?
- # [22:00] * annevk3 wonders if there's some way to detect the difference between a decimal and float
- # [22:04] <annevk3> some example in http://intertwingly.net/stories/2008/09/20/estest.html suggests not
- # [22:07] * aroben|lunch is now known as aroben
- # [22:11] * Quits: annevk3 (n=annevk@pat-tdc.opera.com) (Remote closed the connection)
- # [22:11] * Joins: annevk3 (n=annevk@pat-tdc.opera.com)
- # [22:11] * Quits: annevk3 (n=annevk@pat-tdc.opera.com) (Remote closed the connection)
- # [22:12] * Joins: annevk3 (n=annevk@pat-tdc.opera.com)
- # [22:12] <rubys> annevk3: the current thinking is to *not* serialize it with an m
- # [22:12] * Quits: ap (n=ap@195.239.126.10)
- # [22:13] <rubys> annevk3: you there?
- # [22:13] <annevk3> yeah
- # [22:13] <annevk3> had some issues
- # [22:14] <rubys> just wondering why you want to tell the difference between decimal and number?
- # [22:14] <annevk3> seems it would be annoying if you ever wanted to extend e.g. JSON
- # [22:14] <rubys> JSON is very specific: 3.1m would be a syntax error
- # [22:14] <annevk3> hence "extend"
- # [22:14] <rubys> extending JSON would be very hard given that there are a number of implementations in a number of languages.
- # [22:15] <annevk3> but maybe it's ok, I haven't really thought long about it
- # [22:15] <rubys> the thinking is that perhaps someday there would be a "use decimal" and the JSON parser would produce decimal quantities when parsing JSON
- # [22:15] <annevk3> you'd think that be true for XML too, and yet they shipped XML 1.0 5ed a few days ago
- # [22:15] <Philip`> annevk3: Just write it as a JSON string, and the consumer can decide that they want to parse it as a (decimal) number
- # [22:16] <rubys> Philip`: +1
- # [22:16] <annevk3> true
- # [22:16] <rubys> The question is: if somebody puts 1.1 in JSON, do they mean 1.100000000000000088817841970012523 (which is what you get with number) or 1.1 (which is what you get with decimal)?
- # [22:17] <Hixie> annevk3: JSON has no defined error handling, so extending it would be a huge amount of work
- # [22:18] <annevk3> and yet people want it in all kinds of APIs
- # [22:36] <annevk3> Hixie, http://www.whatwg.org/specs/web-apps/current-work/#textFieldSelection never happened "When we define HTMLTextAreaElement and HTMLInputElement we will have to add the IDL given below to both of their IDLs."
- # [22:39] * Quits: heycam` (n=cam@124-168-123-82.dyn.iinet.net.au) ("bye")
- # [22:44] <Hixie> there's an XXX in both of those sections about it
- # [22:45] <annevk3> k
- # [22:49] * Quits: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl) ("Leaving")
- # [22:50] * Joins: doublec (n=chris@118-92-197-148.dsl.dyn.ihug.co.nz)
- # [22:56] * Quits: ojan (n=ojan@nat/google/x-22a27a111ea11520) ("Leaving")
- # [22:56] * Joins: ojan (n=ojan@nat/google/x-0656d2314c494b78)
- # [23:03] * Quits: mstange (n=markus@buntes215.wohnheim.uni-kl.de) ("ChatZilla 0.9.84 [Firefox 3.1b3pre/20081201020415]")
- # [23:05] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [23:09] * Joins: heycam (n=cam@clm-laptop.infotech.monash.edu.au)
- # [23:12] * Quits: dolske_ (n=dolske@c-76-103-41-195.hsd1.ca.comcast.net)
- # [23:13] * Quits: doublec (n=chris@118-92-197-148.dsl.dyn.ihug.co.nz) (Read error: 113 (No route to host))
- # [23:18] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) ("Disconnected...")
- # [23:22] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
- # [23:34] * Joins: dolske (n=dolske@corp-241.mountainview.mozilla.com)
- # [23:35] * Joins: roc (n=roc@202.0.36.64)
- # [23:39] * Joins: doublec (n=chris@202.0.36.64)
- # [23:54] * Joins: famicom (i=famicom@5ED2FF2D.cable.ziggo.nl)
- # [23:57] * Quits: eric_carlson (n=ericc@nat/apple/x-e53e412671181a39)
- # Session Close: Fri Dec 05 00:00:00 2008
The end :)