Options:
- # Session Start: Fri Mar 13 00:00:01 2009
- # Session Ident: #whatwg
- # [00:03] <jcranmer> why are non-Gregorian dates such a big deal?
- # [00:03] * Quits: erlehmann (n=erlehman@86.59.25.121) (Remote closed the connection)
- # [00:03] <jcranmer> point 1: How many people are actually going to add in <time> elements for all of their dates?
- # [00:04] <jcranmer> point 2: How many of those people are cogniscent of the Gregorian/Julian calendar issues?
- # [00:04] <jcranmer> point 3: How many of those will actually care enough to do it right?
- # [00:05] <jcranmer> if it's that much of an issue, just make it the Hixie calendar: an integer denoting the time in days since Hixie's birthday
- # [00:06] <jcranmer> </rant>
- # [00:06] * Quits: dglazkov (n=dglazkov@nat/google/x-7548ca788f0692c9)
- # [00:08] * Joins: erlehmann (n=erlehman@86.59.25.121)
- # [00:09] <Philip`> jcranmer: If we do that, we'll build up an entire civilisation based on offsets from Hixie's birthday, and then we'll probably find out that actually Hixie was born around four years earlier than that
- # [00:09] <Philip`> and then we won't be sure whether he even existed, or was just a fiction created by the WHATWG cabal
- # [00:09] * Joins: tantek (n=tantek@12.14.133.94)
- # [00:10] <jcranmer> ok then, how about a better time
- # [00:10] <jcranmer> 1234567890 in Unix time?
- # [00:10] <jcranmer> February 29, 1900?
- # [00:10] <jcranmer> Smarch 13, 1313?
- # [00:11] <Philip`> January 1, 1601
- # [00:11] <Philip`> in order to match Windows
- # [00:11] <Philip`> (http://blogs.msdn.com/oldnewthing/archive/2009/03/06/9461176.aspx)
- # [00:14] <kig> how about a floating point number that measures the count of planck intervals from the present time in the current frame of reference
- # [00:14] * Parts: sayrer_ (n=chatzill@user-160va8b.cable.mindspring.com)
- # [00:14] <kig> floating point just to be sure and present time because it simplifies calculations because the current time is always 0.0
- # [00:15] <Philip`> kig: If it's Planck intervals, why not just use integers?
- # [00:17] <kig> future proof
- # [00:17] <Philip`> Are you expecting the laws of physics to change in the future?
- # [00:17] <kig> most certainly
- # [00:18] <Philip`> Hmm, I suppose it's good to make sure HTML5 is prepared for that future and won't be adding to our problems in such an eventuality
- # [00:19] * Joins: davidb (n=davidb@bas4-toronto06-1279277238.dsl.bell.ca)
- # [00:19] <kig> oh, better make it a complex number, i hear they're all the rage in quantum probability
- # [00:19] <Lachy> kig, who's frame of reference, exactly? It would be kind of hard since everyone's frame of reference is slightly different, because it's based on how fast they're moving and slight differences in gravity
- # [00:19] <kig> well, the frame of reference of the author
- # [00:19] <kig> or rather, the document
- # [00:19] <kig> at the present point in time on the present device
- # [00:19] <Philip`> Lachy: Relative time offsets from daylight saving is hard enough, we don't want to add relativity too :-(
- # [00:20] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 54 (Connection reset by peer))
- # [00:21] * Quits: sid0 (n=sid0@unaffiliated/sid0) (Read error: 110 (Connection timed out))
- # [00:22] <kig> and as all the times you define are relative to the document, it's super easy to say things like <time value="5*60*plank_per_sec">five minutes from now</time> (but saying 5th of march 2007 is a bit more difficult)
- # [00:22] <Philip`> Planck intervals from the present time are fine to add into HTML5, but we've got to draw the line somewhere
- # [00:24] <Lachy> let's make it the number of plank intervals since the big bang in a standardised hypothetical reference frame
- # [00:25] * Lachy chooses to ignore the fact that our current estimate for the age of the earth has a 0.4 billion year margin of error.
- # [00:25] <Lachy> s/earth/univers/
- # [00:25] <Lachy> *universe
- # [00:26] <Philip`> Wikipedia says it's more like +/- 0.12 billion years, which isn't nearly so bad
- # [00:26] <kig> you say -1, i say 2^32
- # [00:26] <Lachy> oh, last I heard, it was +/- 0.2
- # [00:27] <Philip`> http://en.wikipedia.org/wiki/Age_of_the_universe - "Current theory and observations suggest that this is between 13.61 and 13.85 billion years.[1]" - it's got a citation so it must be true
- # [00:28] <Lachy> did you actually follow the citation?
- # [00:28] <Philip`> Of course not
- # [00:28] <kig> i.. probably should've written a test generator rather than more tests
- # [00:29] <Philip`> kig: But if you wrote a test generator, you'd have to write tests for the test generator to make sure it doesn't have bugs
- # [00:29] <Lachy> the cited PDF has a table that lists the age of the universe as "013.72 ± 0.12 Gyr " in the column entitled "WMAP+BAO+SN"
- # [00:31] <jcranmer> how about the frame of reference of the Scott-Amundsen Research Base?
- # [00:31] <kig> Philip`: actually, if you take a fault injector that tests your tests (if your tests fail to catch the fault, your tests have a bug) and an evolutionary test generator and let them duke it out
- # [00:31] <Philip`> That only differs from Wikipedia by ten million years, which is neither here nor there
- # [00:32] <Lachy> sure, but if we're measuring in plank intervals, that's a huge margin of error
- # [00:32] <jcranmer> the Big Bang also happened on October 23, 4004 BC
- # [00:32] <jcranmer> :-)
- # [00:33] <kig> how near c do you have to be travelling for that to be true?
- # [00:33] <Lachy> jcranmer, did you just make up the October 23 date, or are there creationists actually claiming that's the specific date?
- # [00:33] <Philip`> I thought the Big Bang was the goal of Great A'Tuin in the distant future
- # [00:34] <jcranmer> Lachy: http://en.wikipedia.org/wiki/James_Ussher
- # [00:35] <Lachy> wow
- # [00:36] <Philip`> It's not like they had any better evidence to go by in those days
- # [00:36] <rubys> "Ussher was a gifted polyglot" :-)
- # [00:38] <Philip`> Polyglot sounds like a horrid disease
- # [00:45] * Joins: zaach (n=chatzill@USF-Wifi-34-70.laptops.usf.edu)
- # [00:46] * Parts: zaach (n=chatzill@USF-Wifi-34-70.laptops.usf.edu)
- # [01:01] * Joins: roc (n=roc@202.0.36.64)
- # [01:07] * Quits: roc (n=roc@202.0.36.64)
- # [01:07] * Joins: roc (n=roc@202.0.36.64)
- # [01:26] * Quits: tantek (n=tantek@12.14.133.94)
- # [01:31] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [01:33] * Joins: ojan (n=ojan@72.14.229.81)
- # [01:35] * Joins: neuroo (n=neuroo@c-69-140-226-179.hsd1.md.comcast.net)
- # [01:46] * Parts: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [01:47] * Joins: MikeSmith (n=MikeSmit@EM114-48-187-41.pool.e-mobile.ne.jp)
- # [01:48] * Parts: ojan (n=ojan@72.14.229.81)
- # [02:13] * Quits: davidb (n=davidb@bas4-toronto06-1279277238.dsl.bell.ca)
- # [02:21] * Joins: karlcow (n=karl@nerval.la-grange.net)
- # [02:53] * Joins: taf2 (n=taf2@c-68-49-245-59.hsd1.dc.comcast.net)
- # [02:59] * Quits: dave_levin (n=dave_lev@72.14.227.1)
- # [03:09] * Joins: dimich_ (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [03:19] * Quits: tndH (n=Rob@james-baillie-pc083-014.student-halls.leeds.ac.uk) ("ChatZilla 0.9.84-rdmsoft [XULRunner 1.9.0.1/2008072406]")
- # [03:33] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [03:40] * Quits: taf2 (n=taf2@c-68-49-245-59.hsd1.dc.comcast.net)
- # [03:47] * Quits: dbaron (n=dbaron@corp-241.mountainview.mozilla.com) ("8403864 bytes have been tenured, next gc will be global.")
- # [04:14] * felix_da_catz is now known as felix-da-catz_zz
- # [04:18] * Joins: dolske (n=dolske@c-76-103-40-203.hsd1.ca.comcast.net)
- # [04:25] * Joins: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
- # [04:33] * Joins: dave_levin (n=dave_lev@72.14.224.1)
- # [05:21] * Quits: Hixie (i=ianh@trivini.no) ("brb")
- # [05:21] * Joins: Hixie (i=ianh@trivini.no)
- # [05:35] * Quits: roc (n=roc@202.0.36.64)
- # [05:41] * Quits: slightlyoff (n=slightly@nat/google/x-6f947ffa0002ebb1) (Read error: 110 (Connection timed out))
- # [05:45] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Remote closed the connection)
- # [05:45] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
- # [05:49] * Joins: tantek (n=tantek@12.14.133.75)
- # [06:01] * Joins: sid0 (n=sid0@unaffiliated/sid0)
- # [06:05] * Quits: doublec (n=doublec@202.0.36.64) ("Leaving")
- # [06:14] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("->home")
- # [06:20] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [06:21] * Quits: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
- # [06:26] * Quits: heycam (n=cam@clm-laptop.infotech.monash.edu.au) ("bye")
- # [06:28] * Quits: jwalden (n=waldo@corp-241.mountainview.mozilla.com) ("really going home now")
- # [06:43] * Parts: erlehmann (n=erlehman@86.59.25.121)
- # [06:44] * Joins: erlehmann (n=erlehman@86.59.25.121)
- # [06:48] * Quits: dimich_ (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [06:52] * Joins: jwalden (n=waldo@c-76-102-160-171.hsd1.ca.comcast.net)
- # [07:02] * Parts: erlehmann (n=erlehman@86.59.25.121)
- # [07:14] * MikeSmith contemplates jumping into the <time> thread on whatwg list, decides against it
- # [07:20] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [07:21] * Joins: sid0_ (n=sid0@unaffiliated/sid0)
- # [07:25] * Joins: sid0__ (n=sid0@unaffiliated/sid0)
- # [07:31] * Quits: sid0 (n=sid0@unaffiliated/sid0) (Nick collision from services.)
- # [07:31] * Quits: sid0_ (n=sid0@unaffiliated/sid0) (Nick collision from services.)
- # [07:31] * sid0__ is now known as sid0
- # [07:32] <MikeSmith> hsivonen: you around?
- # [07:39] * Joins: billyjackass (n=MikeSmit@EM114-48-24-69.pool.e-mobile.ne.jp)
- # [07:43] * Joins: mat_t (n=mattomas@umbridge.hbd.com)
- # [07:44] * Quits: sid0 (n=sid0@unaffiliated/sid0) (Read error: 104 (Connection reset by peer))
- # [07:45] * Joins: sid0 (n=sid0@unaffiliated/sid0)
- # [07:54] * Joins: heycam (n=cam@124-168-80-126.dyn.iinet.net.au)
- # [07:56] * Quits: MikeSmith (n=MikeSmit@EM114-48-187-41.pool.e-mobile.ne.jp) (Read error: 110 (Connection timed out))
- # [07:57] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [07:59] * billyjackass is now known as MikeSmith
- # [08:05] * jwalden wonders how many people who attempted http://blag.xkcd.com/2009/02/11/a-math-problem-2/ did so using a URL like data:text/html,%3Ctextarea%20rows=50%20cols=100%3E as a scratchpad
- # [08:05] <jwalden> I'm such a wacko
- # [08:08] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Read error: 131 (Connection reset by peer))
- # [08:08] * Joins: maikmerten_ (n=merten@ls5dhcp196.cs.uni-dortmund.de)
- # [08:13] * Joins: zalan (n=kvirc@catv-89-133-232-199.catv.broadband.hu)
- # [08:27] * Joins: pesla (n=retep@procurios.xs4all.nl)
- # [08:28] <hsivonen> MikeSmith: I'm around now
- # [08:29] <MikeSmith> hsivonen: accesskey is still in the WHATTF schema but did not survive the integration of WF2 into HTML5
- # [08:29] <MikeSmith> you OK with removing it?
- # [08:31] <hsivonen> MikeSmith: removing it is ok
- # [08:32] <hsivonen> eek. lots of <time> email
- # [08:32] <MikeSmith> hsivonen: OK
- # [08:34] <MikeSmith> and that <time> discussion seems to be looping through the same 2 or 3 people
- # [08:34] <MikeSmith> wonder how many other people are paying attention to that discussion, or care
- # [08:35] <hsivonen> I care a bit, but for now, I trust Hixie's gatekeeping abilities. I'll scream when I find several historic calendars on my validation todo list.
- # [08:43] <jwalden> expanding the range of representable dates seems fine
- # [08:43] <jwalden> supporting alternate date schemes is insane
- # [08:44] <jwalden> although, honestly, I'm not sure how much value I see in <time> over any number of other elements to semanticize otherwise-meaningless markup
- # [08:45] <hsivonen> jwalden: adding BCE dates to <input type=date> seems like implementation and QA cost without a compelling upside
- # [08:45] <hsivonen> I bet that would be the next step after <time>
- # [08:46] <jwalden> frankly, if it were up to me I think I'd just constrain range to that of ECMAScript and be done with it
- # [08:46] <jwalden> whatever that range is
- # [08:48] <jwalden> but this isn't something I care much about either way anyway
- # [08:48] <jwalden> beyond wishing people would say their keep and shut up
- # [08:49] * hsivonen resists the urge to reply to chaals' <time> email
- # [08:50] * jwalden high-fives hsivonen for acting so :-)
- # [08:55] * Joins: ap (n=ap@194.154.88.46)
- # [09:00] * Quits: annevk (n=annevk@213.13.106.1) (Read error: 104 (Connection reset by peer))
- # [09:01] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
- # [09:07] * Quits: mat_t (n=mattomas@umbridge.hbd.com) ("This computer has gone to sleep")
- # [09:13] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [09:22] * Joins: olliej_ (n=oliver@c-67-164-125-23.hsd1.ca.comcast.net)
- # [09:25] * Joins: zcorpan__ (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [09:32] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Read error: 110 (Connection timed out))
- # [09:34] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [09:34] <zcorpan> http://www.cmswire.com/cms/web-content/html-5-supersedes-web-forms-20-004054.php
- # [09:36] * Quits: zcorpan__ (n=zcorpan@c83-252-196-43.bredband.comhem.se) (Read error: 60 (Operation timed out))
- # [09:52] <Lachy> hsivonen, if you did respond to chaals' <time> email, what would you say?
- # [09:52] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
- # [09:52] * Quits: MikeSmith (n=MikeSmit@EM114-48-24-69.pool.e-mobile.ne.jp) ("Tomorrow to fresh woods, and pastures new.")
- # [09:53] <hsivonen> Lachy: I'd ask about loosely coupled without bilateral agreement consuming software use cases
- # [09:56] * Joins: annevk (n=annevk@194.65.73.66)
- # [09:59] <Lachy> if the spec does end up allowing BCE years, then I look forward to seeing errors of the form <time datetime="-0001-01-01">1 BCE</time> (due to the year 0000 complication)
- # [10:00] <jwalden> ...and window.event bites MS again when some MessageEvent properties are readonly <http://blogs.msdn.com/ie/archive/2009/03/12/site-compatibility-and-ie8.aspx>
- # [10:01] <jwalden> although, if their documentation is to be believed, only .source is readonly, probably because they didn't want to break people using .data (or the like) properties
- # [10:02] * jwalden really doesn't understand why they don't bite the bullet and at least implement proper event-passing, if not full w3 event model compliance
- # [10:05] <zcorpan> clearly getting markup parsed and serialized correctly is a hard problem when using text-based templates. i tried cmsms and found various problems with using the wrong encoding, expanding entities when they shouldn't, etc, and even their bug tracker failed to escape markup in the bug heading
- # [10:06] <zcorpan> (http://dev.cmsmadesimple.org/bug/view/3155 )
- # [10:06] * Joins: doublec (n=doublec@118-92-143-120.dsl.dyn.ihug.co.nz)
- # [10:07] <hsivonen> zcorpan: you filed an XSS hole as a bug report that runs JS? :-)
- # [10:07] <zcorpan> yeah :) although i maybe filed it in the wrong place
- # [10:10] <annevk> http://www.w3.org/2001/tag/2009/03/12-minutes.html o_O
- # [10:15] * zcorpan wonders what the "old" namespace is
- # [10:19] * Quits: dave_levin (n=dave_lev@72.14.224.1)
- # [10:19] <Lachy> zcorpan, AFAICT, the "old" namespace refers to the 1999 namespace
- # [10:21] <Lachy> it's strange how they were discussing the MIME type too. I wasn't aware anyone had complained about the reuse of the XHTML MIME type for XHTML2. Only the namespace.
- # [10:21] * Joins: tndH (n=Rob@james-baillie-pc083-014.student-halls.leeds.ac.uk)
- # [10:26] <annevk> so apparently not defining error handling for character leads to XSS issues
- # [10:27] <annevk> IE when seeing a UTF-8 byte that indicates two more bytes follow will replace all three bytes with a replacement character where other browsers just replace the first
- # [10:27] <annevk> so if you insert such a byte just before the end of the attribute you can do stuff
- # [10:30] * Joins: ROBOd (n=robod@89.122.216.38)
- # [10:30] <jgraham> annevk: Neat
- # [10:32] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Remote closed the connection)
- # [10:33] * Joins: mat_t (n=mattomas@umbridge.hbd.com)
- # [10:33] * Quits: tantek (n=tantek@12.14.133.75)
- # [10:35] <hsivonen> wouldn't application/xml make sense for XHTML2 as the MIME type if XHTML2 is what it says it is?
- # [10:35] <hsivonen> did I read the TAG minutes correctly that the TAG isn't asking XHTML5 to change its namespace?
- # [10:37] <zcorpan> hmm http://www.w3.org/TR/2007/WD-dial-primer-20071101/intro1.png
- # [10:38] <hsivonen> zcorpan: seems like a model totally obsoleted by the iPhone, Opera Mini and Opera on Wii
- # [10:39] <annevk> hsivonen, dunno, I read it in a way as that they are unclear as to what should happen
- # [10:39] <zcorpan> maybe it's just me but [HTML5+SVG+CSS (server)] --> [HTML5+SVG+CSS (all clients)] seems simpler
- # [10:41] <jgraham> That diagram is kinda crazy
- # [10:42] <jgraham> Why would you send XHTML to desktops but HTML to WebTV?
- # [10:43] <jgraham> And why the obsession with the idea that mobiles can only do XHTML-MP desite the fact that there are literally millions of mobiles with HTML support
- # [10:43] <hsivonen> jgraham: it's the official motivation XHTML-MP, so it must be true
- # [10:44] <zcorpan> i'm thinking of registring a .mobi domain, but i don't know what it should be
- # [10:44] <jgraham> zcorpan: For any reason?
- # [10:44] <zcorpan> for my personal site
- # [10:44] <zcorpan> that i don't yet have
- # [10:44] <jgraham> Ah
- # [10:45] <hsivonen> zcorpan: what kind of content do you plan on serving?
- # [10:45] <annevk> zcorpan, http://forums.whatwg.org/viewtopic.php?t=4055 has a spammer
- # [10:45] <hsivonen> zcorpan: can they revoke your .mobi domain if your content isn't MobileOk?
- # [10:45] <jgraham> I was hoping that you could register doesw3cthinkimevil.mobi that just runs XHTML-MP tests and says "Yes" if they fail and "No" if they pass
- # [10:46] <zcorpan> hsivonen: i doubt it
- # [10:46] <zcorpan> hsivonen: just a blog or something
- # [10:47] <zcorpan> annevk: thanks
- # [10:47] <hsivonen> I suppose I should make sure I only read zcorpan's blog on the bus to make sure the mobile context is right :-)
- # [10:48] * jgraham reads a cople of emails from the <time> thread, finds a debate about the meaning of the year 0, gives up
- # [10:49] <zcorpan> jgraham: too long and i want other content than just "Yes" :)
- # [10:49] * Joins: mpt_ (n=mpt@canonical/launchpad/mpt)
- # [10:49] <zcorpan> but keep em coming
- # [10:49] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [10:49] <zcorpan> i was thinking of spacergifs.mobi
- # [10:49] * mpt_ is now known as mpt
- # [10:50] <jgraham> tablelayout.mobi
- # [10:50] <zcorpan> yeah or nestedtables.mobi
- # [10:50] <jgraham> Can you get html.mobi
- # [10:50] <zcorpan> already taken
- # [10:50] <hsivonen> my top mobile destinations are the damowmow portal and planet intertwingly, neither of which are .mobi :-/
- # [10:51] <hsivonen> oh, and krijnhoetmer.nl, of course
- # [10:52] <annevk> "thistldsucks.mobi" is available!
- # [10:52] <annevk> -- http://mtld.mobi/domain/whois?q=domain/whois
- # [10:55] <jgraham> feff.mobi?
- # [10:57] <zcorpan> jgraham: that's available but i don't get the joke
- # [10:58] <jgraham> zcorpan: Not really a joke, just a BOM Which doesn't quite seem like what you are looking for but does have the practical advantage of being easier to type on a mobile keypad
- # [11:01] <zcorpan> ok... any other suggestions? :)
- # [11:01] <hsivonen> html5.mobi is taken :-( presumably by a squatter, since there's no HTTP server
- # [11:02] <annevk> iusethistldforlaughs
- # [11:02] <jgraham> dotmobiftw.mobi
- # [11:03] <annevk> spacergif.mobi is still pretty good I think
- # [11:03] * zcorpan wants an indirect reference to .mobi
- # [11:03] <zcorpan> yeah
- # [11:03] <zcorpan> gif or gifs?
- # [11:04] <zcorpan> i guess i'll settle for the shorter
- # [11:04] <annevk> it's a better blog title I think
- # [11:04] <annevk> (the singular)
- # [11:05] <zcorpan> yep.
- # [11:09] <zcorpan> ok registered
- # [11:10] <annevk> if you take some kind of hosting account somewhere i can prolly transfer complete control of simon.html5.org to you
- # [11:10] <annevk> alternatively you can use more space on my server
- # [11:10] <zcorpan> i'll use the same host as my mom :)
- # [11:11] <annevk> "server"
- # [11:12] * jgraham never got that offer
- # [11:12] <jgraham> :-p
- # [11:13] <annevk> here it is :)
- # [11:15] * Parts: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [11:17] * jgraham has discovered that registereing a domain name you don't know how to pronounce makes giving out your email address harder
- # [11:47] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [11:50] * Quits: Lachy (n=Lachlan@85.196.122.246) ("This computer has gone to sleep")
- # [11:52] * Joins: mpt (n=mpt@canonical/launchpad/mpt)
- # [11:59] * Joins: beowulf_ (i=wiglaf@ps4552.dreamhost.com)
- # [11:59] * Quits: beowulf_ (i=wiglaf@ps4552.dreamhost.com) (Client Quit)
- # [12:01] * Joins: myakura (n=myakura@p1063-ipbf3305marunouchi.tokyo.ocn.ne.jp)
- # [12:03] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
- # [12:07] * Quits: karlcow (n=karl@nerval.la-grange.net) ("This computer has gone to sleep")
- # [12:09] <beowulf> talking to the tld about xhtml probably won't help win the .mobi is evil argument
- # [12:10] <beowulf> they're bound by contract so to speak
- # [12:12] <beowulf> i believe they see html5 as a good path forward, but they have to do what they're told
- # [12:32] * Joins: mstange (n=markus@pD9579652.dip0.t-ipconnect.de)
- # [12:35] * Parts: annevk (n=annevk@194.65.73.66)
- # [12:41] * Joins: annevk (n=annevk@194.65.73.66)
- # [12:49] <hsivonen> beowulf: who is "they" and who is bound by contract?
- # [12:51] <beowulf> hsivonen: afaik .mobi, the company that runs the tld and enforces the xhtml-ness, are bound by a contract with ICANN
- # [12:51] <beowulf> i could be wrong though
- # [12:51] <hsivonen> beowulf: bound by contract with ICANN to enforce XHTML-ness???
- # [12:51] * Quits: sid0 (n=sid0@unaffiliated/sid0) (Read error: 104 (Connection reset by peer))
- # [12:52] <hsivonen> beowulf: Gandi's registration services don't warn me that .mobi requires XHTML. (Or if they do warn, it's not obvious.)
- # [12:52] * Joins: sid0 (n=sid0@unaffiliated/sid0)
- # [12:52] <beowulf> hsivonen: again, maybe i'm wrong, but that tld has a contractual obligation to ensure the domains use xhtml
- # [12:52] <beowulf> s/,//
- # [12:52] <hsivonen> beowulf: wow
- # [12:53] <beowulf> so even if they were accutely aware of the state of the web, say for example because they spider all .mobi domains, they couldn't do much about it
- # [12:54] <beowulf> and they may also be aware of the state of mobile browsers wrt xml parsers
- # [12:54] <beowulf> but maybe their hands are tied
- # [12:54] <hsivonen> beowulf: is the contract because ICANN wouldn't have minted a new TLD without a story telling how it is special?
- # [12:55] <beowulf> hsivonen: i wouldn't know
- # [12:55] <Philip`> http://www.opensrs.com/resources/documentation/opensrsrwi/mobi_compliance.htm
- # [12:55] <jgraham> http://mtld.mobi/ is text/html with an XHTML doctype
- # [12:56] <jgraham> (not XHTML-MP)
- # [12:56] <beowulf> there's enough wiggle room in the contract to serve XHTML like HTML as text/html, i guess
- # [12:57] <Philip`> jgraham: Are you seeing a non-mobile version of that page?
- # [12:57] <jgraham> Philip`: Maybe
- # [12:57] <beowulf> jgraham: the mtld site sends different content to a desktop than it does to a mobile device
- # [12:58] <Philip`> jgraham: With Opera 9.63, I see a mobile-optimised (i.e. ugly) page with <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
- # [12:58] <Philip`> jgraham: but with FF2 I see one with lots of images and stuff
- # [12:58] <annevk> It's unclear whether those rules are actually enforced. E.g. opera.mobi has redirected to opera.com for longer than 60 days
- # [12:58] <jgraham> Philip`: What mime type?
- # [12:58] <Philip`> jgraham: How do I find out?
- # [12:58] <beowulf> annevk: as i understand it the rules are not currently enforced
- # [12:58] <jgraham> You are supposed to use application/vnd.wap.xhtml+xml
- # [12:58] <jgraham> Philip`: Dragonfly?
- # [12:59] <beowulf> but maybe they've come to a point where enforcing the rules would cause massive problems
- # [12:59] * Philip` tries View Source and inserting non-XML stuff, and it seems to parse it like HTML instead of fatally erring
- # [13:00] <beowulf> and maybe the very idea of trying to enforce those rules brings up questions about the whole xhtml idea, who knows
- # [13:00] * beowulf speculates wildly
- # [13:00] <Philip`> jgraham: (I've got no idea how to view HTTP headers in Dragonfly, and can't find any relevant buttons)
- # [13:02] <jgraham> Philip`: Oh. Myabe we don't support that then
- # [13:02] * annevk finds out about http://en.wikipedia.org/wiki/.tel
- # [13:02] * jgraham couldn't really remember
- # [13:04] * Philip` can't quite tell whether .tel is an abuse of DNS, or a decent way of using it
- # [13:04] <beowulf> ICANN, making money out of DNS since 1998
- # [13:04] <annevk> with what they're charging it looks like a scam
- # [13:06] <Philip`> annevk: They're only charging a lot at the beginning - the standard rate seems much more normal
- # [13:06] <Philip`> http://iwi.gandibar.net/post/2008/11/26/Launching-of-TEL says €14/yr after March 24
- # [13:07] * beowulf wonders if they've resevered a bunch of names to auction
- # [13:08] <annevk> I'm surprised this hasn't come up in the TAG
- # [13:08] * jgraham wonders how you determine trademark holders given that multiple entities may legitimatley have the same trademark
- # [13:08] <Philip`> jgraham: "first-come, first-served", it says
- # [13:09] <beowulf> jgraham: wipo
- # [13:10] <Philip`> (and trademarks must have been registered before 30 May 2008)
- # [13:10] <Philip`> (so you can't just register one in an obscure country and then immediately buy the .tel domain)
- # [13:10] <beowulf> didn't ICANN recently say they'd allow anyone to set up a tld? so foo.html5 might be possible in the future?
- # [13:11] <Philip`> beowulf: That was proposed and seemed to have significant support within ICANN
- # [13:11] <Philip`> and I guess the support is completely unrelated to the fact you have to pay ICANN a zillion dollars for a TLD
- # [13:11] <jgraham> I thought it was confirmed. But I heard that on /. so I guess it is probably not true
- # [13:12] <beowulf> http://www.icann.org/en/announcements/announcement-2-23oct08-en.htm
- # [13:12] <beowulf> "a per applicant fee of $US185,000"
- # [13:12] <jgraham> "innovation, Choice and Diversity"
- # [13:13] <beowulf> there's about 185000 members of the w3c + whatwg, $1 each and ...
- # [13:13] <annevk> didn't congress or so block that?
- # [13:14] <Philip`> http://en.wikipedia.org/wiki/TLD#cite_ref-7 - "the U.S. Department of Commerce reiterated the statement that it has "no plans to transition management of the authoritative root zone file to ICANN.""
- # [13:14] <jgraham> I will believe in the unlimited tlds thing more once people get the idea that webservers don't all start www.
- # [13:14] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [13:15] <Philip`> jgraham: I'd much rather live in a world where all web sites start with www. than one in which all web sites start with http:// or one in which it's impossible to easily tell that a certain string is meant to be a web site URL
- # [13:15] <Philip`> (http:// is bad because it's hard to pronounce)
- # [13:15] <annevk> "The total fee per applicant takes into account close to $US13 million invested by ICANN since October 2007 to put the design of the implementation program in place."
- # [13:15] <Philip`> (and people on TV read it out in really annoying ways)
- # [13:15] <beowulf> jgraham: a local company here spent some time on a new url, u.tv (the company is called UTV), no-one got it
- # [13:15] <annevk> whoa
- # [13:16] <beowulf> had to change all the advertising to www.u.tv
- # [13:16] <annevk> those guys must be making shitloads of money
- # [13:16] <beowulf> annevk: yes
- # [13:16] <Philip`> annevk: Charging people multiple dollars per year for the privilege of putting a few hundred bytes in a database is a pretty good business model if you can make it work for you
- # [13:17] <jgraham> Philip`: We're kind of stuck with the http:// thing though. www isn't even particccularly easy to say
- # [13:17] <beowulf> 20 cents per domain
- # [13:18] <beowulf> per year
- # [13:18] <Philip`> Oh, okay
- # [13:18] <beowulf> still a lot though :)
- # [13:19] <Philip`> The distributed nature of DNS is a bit pointless really - I think Google should set up its own domain name system, where you connect directly to a Google data center's IP address and ask it to look up details in its centralised database
- # [13:19] <Philip`> It'd be much easier that way
- # [13:19] <Philip`> and it could replace ICANN
- # [13:20] <Lachy> Philip`, that would create a single failure point for the entire web
- # [13:20] * jgraham mutters something about tinyurl
- # [13:21] <Lachy> tinyurls suck for more reasons than that
- # [13:21] <Philip`> Lachy: But that single point is Google, and we can trust Google to not go down
- # [13:22] <jgraham> Lachy: I never claimed otherwise. But it would be really worrying if anyone cared about twitter archives
- # [13:22] <Lachy> of course, because Google has proven that it can successfully last a decade, and so that means it can last forever.
- # [13:23] * jgraham gets a reading on his irony-o-meter
- # [13:23] * beowulf picks the needle from jgraham's meter out of the wall
- # [13:23] * Lachy wonders how many companies of any kind have lasted more than century or two
- # [13:24] <Philip`> If Google was ever going to collapse and take the whole internet with it, it could just get a government bail-out
- # [13:24] <beowulf> the vatican
- # [13:24] <Philip`> Nintendo
- # [13:24] <Lachy> the vatican isn't a company
- # [13:24] <beowulf> the vatican to replace ICANN
- # [13:24] <Lachy> Guiness
- # [13:24] * Joins: erlehmann (n=erlehman@86.59.25.121)
- # [13:24] <jgraham> Lachy: They have a better business model than most companies
- # [13:25] <Lachy> who? Guiness or the Vatican?
- # [13:25] <jgraham> The vatican :)
- # [13:25] <Philip`> Nintendo could replace DNS names with friend codes, so you can only visit web sites if you've already met the webmaster and exchanged codes, as a way of constructing a trust network
- # [13:26] <jgraham> Nintendo could identify websites by Mii so to go to the Microsoft website, for example, you'd have to find the Microsoft Mii in the Mii Plaza
- # [13:27] <beowulf> i think that would look like a middle ages battlefield
- # [13:28] <beowulf> dead mii's everywhere, a few standing
- # [13:28] <jgraham> The slashdot Mii would be throwing rocks at the Microsoft Mii who would be blissfully oblivious
- # [13:28] <Lachy> I'm not sure what the Mii plaza is (though I assume it's something to do with the Wii)
- # [13:29] <jgraham> The Reddit Mii would be behind the bikesheds with the 4chan Mii
- # [13:31] * Philip` thinks someone should port Dungeon Keeper to the Wii, and replace the characters with Miis so you can slap them around with your Hand of Evil and drop them in the torture chamber
- # [13:31] <Philip`> That would much more fun than going bowling with them
- # [13:33] * Quits: olliej_ (n=oliver@c-67-164-125-23.hsd1.ca.comcast.net)
- # [13:38] * Joins: karlcow (n=karl@nerval.la-grange.net)
- # [13:50] <zcorpan> Philip`: what's correct behavior for 'copy' in http://simon.html5.org/dump/html5-canvas-cheat-sheet.html ?
- # [13:52] <Philip`> zcorpan: You should get just a red circle, because the circle is drawn onto an infinite transparent plane and then that plane is composited (with 'copy') onto the canvas and replaces all the pixels
- # [13:54] <Philip`> http://philip.html5.org/tests/canvas/suite/tests/results.html#2d.composite.uncovered.fill.copy - only Opera matches the spec, other people don't affect pixels that are outside the shape that's being painted
- # [13:54] <kig> anyone want to write tests for a [part of] hundred opengl canvas functions :>? goals for the tests (in the order of importance): crash the driver, hang the driver, crash the browser, read data that doesn't belong to the current gl context, read non-SOP data, hang the browser, hang the page, find stuff that doesn't work like it should
- # [13:55] <zcorpan> Philip`: so in firefox and webkit it's effectively the same as source-over?
- # [13:56] <Philip`> kig: Are there any expectations that people use modern or high-quality drivers, or does it include the thousands of many-years-old horribly-buggy drivers that people use in reality?
- # [13:57] <Philip`> kig: (because it's probably much easier to cause crashes in the latter case, but much harder to test)
- # [13:57] <kig> modern high-quality drivers, i don't expect this thing to see the light of day before the modern high-quality drivers have become old
- # [13:59] <kig> http://github.com/kig/canvas3d-tests + i guess i should put my current fork of the extension up somewhere
- # [14:00] <Philip`> I encountered one bug a year ago which I think was caused by calling getActiveUniform with invalid parameters, which raised a GL error, and the Mozilla code ignored the error and returned an uninitialised output variable, so maybe nobody's fixed that yet and it should be tested
- # [14:00] <kig> it's likely, yeah
- # [14:00] <Philip`> but I think I've currently stopped caring about canvas3d so I don't want to do any work on it now :-)
- # [14:00] <kig> none of the methods in the binding check for gl errors
- # [14:00] <kig> aight
- # [14:03] <kig> my plan for the rest of this spring is getting the gles20 canvas solid and writing an openal binding and making a website that only works if you have both
- # [14:03] <kig> then i have truly transcended to the realm of oh god why
- # [14:03] * Parts: zcorpan (n=zcorpan@pat.se.opera.com)
- # [14:03] * Joins: zcorpan (n=zcorpan@pat.se.opera.com)
- # [14:04] <Philip`> It'll be almost as useful as VRML!
- # [14:04] <Philip`> except with more hardware incompatibility issues
- # [14:09] <kig> i heard irc rumors mozilla js people are going to use boehm's incremental mark&sweep instead of MMgc
- # [14:09] <kig> either way, maybe the 100+ ms gc pauses will be history in the future
- # [14:12] <zcorpan> <img>, <input type=image>, <embed>, <object>, <video>... are there other ways to embed an image?
- # [14:13] <zcorpan> for which 'image-fit' is testable?
- # [14:13] * zcorpan notes that generated content is not since you can't actually select the replaced element
- # [14:14] <zcorpan> <svg>?
- # [14:15] <Philip`> <canvas/><script>drawImage(foo)</script> ?
- # [14:15] <zcorpan> maybe
- # [14:20] * Quits: weinig (n=weinig@cpe-66-65-132-93.nyc.res.rr.com)
- # [14:26] * Parts: nessy (n=nessy@124-168-171-22.dyn.iinet.net.au) ("Leaving")
- # [14:27] <jgraham> http://www.marcozehe.de/2009/03/13/happy-birthday-world-wide-web/
- # [14:35] * Joins: zdobersek (n=zan@cpe-92-37-75-116.dynamic.amis.net)
- # [14:39] * Joins: davidb (n=davidb@mozca02.ca.mozilla.com)
- # [14:45] * zcorpan learns that svg 1.1 is more useful a reference than svg 1.2 for preserveAspectRatio
- # [14:46] <zcorpan> s/1.2/1.2 Tiny/
- # [14:46] * Quits: zalan (n=kvirc@catv-89-133-232-199.catv.broadband.hu) ("KVIrc 3.4.0 Virgo http://www.kvirc.net/")
- # [14:51] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) ("Ex-Chat")
- # [14:52] <krijnh> hsivonen: thanks, I feel honored :)
- # [14:53] <annevk> it's in my top 5 as well :)
- # [14:54] <krijnh> Aaw :)
- # [14:55] <krijnh> It's not even in my top 5.. I must be doing something wrong
- # [14:55] <jgraham> krijnh: Nowhere near my top 5
- # [14:55] <jgraham> Actully I don't really know but I doubt it
- # [14:56] <jgraham> Since I just use the scrollback in irssi most of the time
- # [14:57] * zcorpan has http://krijnhoetmer.nl/irc-logs/whatwg as a speed dial
- # [14:58] <krijnh> You're all getting payed to have that though, I'm having enough trouble already staying up to date on the mailinglists :)
- # [14:59] * Philip` has memorised how to spell krijnhoetmer
- # [14:59] <Philip`> Nobody pays me :-(
- # [14:59] <krijnh> Pronunciation as well?
- # [14:59] <krijnh> They don't?
- # [14:59] <krijnh> Wow
- # [14:59] <Philip`> (Well, not for anything web-related)
- # [14:59] <krijnh> Correction then, you must be doing something wrong!
- # [14:59] <Philip`> Pronunciation is trickier :-)
- # [15:01] * Philip` reads it as something like "kreen hote-mer"
- # [15:01] <krijnh> Cryin' hoodmer
- # [15:03] <Philip`> Ah
- # [15:03] <Philip`> Close enough ;-)
- # [15:03] <krijnh> Yeah, not :)
- # [15:04] <Philip`> If I ever need to refer to you during verbal communication, I can say "that IRC logs guy" and not worry about pronunciation
- # [15:04] <krijnh> Hehe
- # [15:08] <krijnh> That's actually how annevk calls me IRL
- # [15:13] * hsivonen didn't know the whattf repo had ViewVC associated with it: https://svn8.cvsdude.com/vvc/whattf/syntax?view=revision&revision=385
- # [15:17] <hsivonen> wow. Gecko has had... interesting... bugs related to document.write...
- # [15:24] * Quits: zdobersek (n=zan@cpe-92-37-75-116.dynamic.amis.net) (Read error: 104 (Connection reset by peer))
- # [15:30] * Joins: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
- # [15:30] * Quits: mpt (n=mpt@canonical/launchpad/mpt) (Read error: 113 (No route to host))
- # [15:36] * Joins: billmason (n=bmason@ip123.unival.com)
- # [15:40] * Joins: tantek (n=tantek@12.14.133.75)
- # [15:43] * felix-da-catz_zz is now known as felix_da_catz
- # [15:45] * Joins: zdobersek (n=zan@cpe-92-37-75-116.dynamic.amis.net)
- # [15:46] * Quits: annevk (n=annevk@194.65.73.66) (Read error: 104 (Connection reset by peer))
- # [15:46] * Joins: aroben (n=aroben@unaffiliated/aroben)
- # [15:47] <Lachy> is anyone here aware of a simple to use templating system that I can use with my varius python scripts to generate things like those tables in the HTML 5 Reference?
- # [15:47] * Joins: mlpug (n=mlpug@a91-156-60-13.elisa-laajakaista.fi)
- # [15:49] <Lachy> I want something that allows me to extract the data from various sources, such as the spec or other config files, and input that into a templating engine, which then populates the given template file with the data
- # [15:51] <Lachy> I found cheetah, which looks like it may work. Anyone had any experience with that? http://www.cheetahtemplate.org
- # [15:51] <beowulf> isn't there a python port of Template Toolkit?
- # [15:51] * beowulf goes to look
- # [15:52] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [15:52] <jgraham> Lachy: I use Genshi a lot
- # [15:52] <jgraham> Lachy: Mako is also supposed to be good
- # [15:53] <beowulf> http://template-toolkit.org/python/index.html
- # [15:53] <jgraham> Lachy: I think cheetah is a bit old
- # [15:53] <beowulf> TT is the best templating system I have used
- # [15:55] <jgraham> The big advantage of genshi is that it is (X|HT)ML centric so it gets things like escaping right be default
- # [15:55] <Lachy> ok, I'll investigate both of those.
- # [15:55] * Philip` has used TT in Perl, but doesn't really like it, mostly because it has weird syntax rules (like you can't use expressions in function arguments)
- # [15:56] <Philip`> Lachy: Can't you just use Python print statements?
- # [15:57] * Joins: mlpug_ (n=mlpug@a91-156-60-13.elisa-laajakaista.fi)
- # [16:00] <Lachy> Philip`, that's what I did with the character entity reference generator, but found that to be less flexible, and it required doing things like print header-file, loop to print each line with the data, print footer-file, instead of just having one template file and declaring which section needs to be repeated.
- # [16:02] * Quits: doublec (n=doublec@118-92-143-120.dsl.dyn.ihug.co.nz) ("Leaving")
- # [16:03] <Lachy> it also requires me to reinvent the wheel each time I want to do it with a new template and new set of data, as do my more recent approaches, and I want to avoid that
- # [16:03] * Quits: mat_t (n=mattomas@umbridge.hbd.com) ("This computer has gone to sleep")
- # [16:03] * Quits: dglazkov (n=dglazkov@c-98-207-88-44.hsd1.ca.comcast.net)
- # [16:03] * Joins: annevk (n=annevk@194.65.73.224)
- # [16:12] * Quits: mstange (n=markus@pD9579652.dip0.t-ipconnect.de) (Remote closed the connection)
- # [16:15] <jgraham> Lachy: BTW, if it makes a difference, I can offer help with Genshi, less so with anything else :)
- # [16:17] * Joins: davidb_ (n=davidb@mozca02.ca.mozilla.com)
- # [16:23] <Lachy> jgraham, ok, thanks
- # [16:23] <neuroo> davidb_: do you know any place where I can get the current coverage of html5 by firefox?
- # [16:26] <davidb_> neuroo: hi sorry 1 sec
- # [16:26] * Quits: davidb (n=davidb@mozca02.ca.mozilla.com) (Nick collision from services.)
- # [16:26] * davidb_ is now known as davidb
- # [16:27] * Parts: erlehmann (n=erlehman@86.59.25.121)
- # [16:35] <davidb> neuroo: i don't know, sorry. we don't seem to have a tracker bug for html5 coverage
- # [16:35] <neuroo> okay, I actually looked for it and didn't find anything :/
- # [16:35] <neuroo> any timeline plan or something for the support? would you be aware for that?
- # [16:36] <jcranmer> well, I suppose HTML5 needs to be complete before it can be fully implemented
- # [16:36] <neuroo> true, but well, they actaully started to support audio/video
- # [16:37] <jcranmer> someone's working on an HTML5 parser
- # [16:38] <annevk> there is http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers
- # [16:39] <hsivonen> neuroo: it's hard to track coverage without a test suite
- # [16:39] <hsivonen> neuroo: but the theory is that the annotation boxes in the whatwg copy of the spec track coverage in Firefox and other browsers
- # [16:40] <hsivonen> neuroo: the practice may be different, of course...
- # [16:40] * Joins: dglazkov (n=dglazkov@nat/google/x-064a53f59a739601)
- # [16:40] <neuroo> okay, thanks :)
- # [16:42] <zcorpan> i think the annotation boxes should be reasonably accurate currently
- # [16:42] <Lachy> jgraham, if I'm understanding the documentation correctly, is the easiest way for me to proceed to create a template that contains stuff like <tr py:for="category in categories"><td>${category.tagname}</td><td>...</td></tr>
- # [16:43] <Lachy> ... then then create an array of dictionaries like this: categories = [{tagname: "html", flow: "yes", phrasing: "no", ...}, {...}]
- # [16:43] <Lachy> and then feed it all through Genshi?
- # [16:44] <jgraham> Lachy: That would work for sure
- # [16:44] <Lachy> cool, then this is perfect for my needs
- # [16:45] <hsivonen> should http://www.whatwg.org/specs/web-apps/current-work/#apis-in-html-documents say Safari implements it?
- # [16:48] * aroben is now known as aroben|away
- # [16:48] <Lachy> template is done http://dev.w3.org/html5/html-author/utils/categories-template.html
- # [16:48] <Lachy> now I just need to finish writing the script to create the dictionary
- # [16:49] * Lachy decides to ignore the fact that that file is XML containing namespaces served as text/html :-)
- # [16:51] * Joins: weinig (n=weinig@cpe-66-65-132-93.nyc.res.rr.com)
- # [16:51] * Quits: tantek (n=tantek@12.14.133.75)
- # [16:52] <Lachy> hmm, it would probably be useful if I wrote a single script that deals with all my templates so I can somehow pipe the output of other scripts that collect the data, into that one script that populates the template
- # [16:53] <Lachy> something like this: python categories.py | python template.py templatefile.html > output.html
- # [16:54] <Lachy> I wonder what the most appropriate format would be to serialise from categories.py (in this case) which can then be easily parsed by template.py
- # [16:59] <jgraham> Lachy: You could just use pickle or something
- # [16:59] <jgraham> If you don't care about human readable intermediate formats
- # [17:02] <Lachy> what's pickle?
- # [17:03] <Lachy> it definitely doesn't need to be a human readable intermediate format. It just needs to be something I can easily use for each of my scripts I have for extracting things from the spec and other sources
- # [17:03] <jgraham> Lachy: In this case it's a way of serializing python objects as strings
- # [17:04] <jgraham> Like JSON but different
- # [17:04] <Lachy> ok, that sounds like the most appropriate thing to use
- # [17:04] <jgraham> In that you can serialise more objects but it doesn't pretend to be readable
- # [17:05] <jgraham> just import pickle; it's in the stdlib
- # [17:06] <Lachy> ok, I found http://docs.python.org/library/pickle.html
- # [17:10] <Lachy> wow, that format really is unreadable by humans. I just did a simple test serialising an array of dictionaries
- # [17:13] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
- # [17:18] <zcorpan> Hixie: http://www.whatwg.org/specs/web-apps/current-work/multipage/?slow-browser#video redirects to http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#video instead of http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html?slow-browser#video
- # [17:21] <Philip`> It is possible that one could claim that's a problem with the redirection script I wrote and therefore should be considered my problem, but Hixie added the ?slow-browser feature so I will claim that it is his problem instead
- # [17:48] <Philip`> kig: For uniforms, I kind of like the idea of overloading setters on the shader object, so you can say "sp.diffuseColor = [1,0,1]" and it's all nice and Javascripty
- # [17:48] * weinig is now known as weinig|away
- # [17:48] <Philip`> (and the implementation can use getActiveUniform to work out what types and coercions are required)
- # [17:49] <Philip`> kind of like wrapShaderProgram in http://philip.html5.org/demos/canvas/3d/x3d/gfx_glweb20.js
- # [17:50] <Philip`> but maybe that's just crazy :-)
- # [17:50] <kig> nnnwell, i'd leave that to javascript
- # [17:50] <kig> and just do as standards-compliant and straightforward binding as possible
- # [17:50] * Joins: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
- # [17:52] <Philip`> Hmm, I guess that's sensible
- # [17:54] <kig> of course there's a lot of weird cruft in gles, like glTexSubImage2D spec saying that the border parameter must be 0
- # [17:55] * Quits: zcorpan (n=zcorpan@pat.se.opera.com)
- # [17:56] * Parts: annevk (n=annevk@194.65.73.224)
- # [17:56] <kig> but if you remove that, you turn s/gl/gl./ -port into s/glTexImage2D((stuff),(border)(,stuff))/gl.texImage2D(\1\3)/
- # [17:58] <Philip`> Then you've still got the cruft of talking about "2D" explicitly, when there's no 1D or 3D
- # [17:58] <kig> yeah
- # [18:00] * Philip` wondered a while ago whether it'd be sensible to adopt the kind of API that OpenGL 3.0 was going to switch to (before they decided that actually they didn't want to modernise the API at all)
- # [18:01] * Joins: dave_levin (n=dave_lev@72.14.227.1)
- # [18:02] <Philip`> (I think that new API sort of sneaked out as http://www.opengl.org/registry/specs/EXT/direct_state_access.txt or something? I probably should have paid more attention when this was happening...)
- # [18:06] <kig> gles20 doesn't even have any stacks, so it's very stabby writing code for it
- # [18:07] * Joins: smedero (n=smedero@mdp-nat251.mdp.com)
- # [18:07] <kig> 500 lines for a spinning lit cube D:
- # [18:09] <Philip`> Just the kind of thing we should be exposing to web authors who can't even understand the difference between HTML and XHTML
- # [18:10] <kig> what i might want to do is a GC-friendly matrix and vector classes, but uh, no idea what the JS call overheads are like (if your M*v takes 30 cycles, 100-cycle overhead for the C call ..is still going to be faster than plain js)
- # [18:11] * Quits: myakura (n=myakura@p1063-ipbf3305marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [18:14] * gsnedders kinda tempted to do some work on PHP html5lib
- # [18:14] <gsnedders> But there again, that means bothering
- # [18:18] * Joins: tantek (n=tantek@12.14.133.75)
- # [18:19] * Quits: pesla (n=retep@procurios.xs4all.nl) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
- # [18:37] * Joins: ojan (n=ojan@72.14.229.81)
- # [18:38] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
- # [18:47] <kig> Philip`: yeah, it is expert stuff, like writing a text editor with canvas
- # [18:47] * Joins: rubys1 (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [18:51] <Philip`> kig: The difference is that it's designed solely for experts and unusable to everyone else, unlike normal canvas which is designed for more normal people but can be twisted by experts into doing crazy things
- # [18:52] <kig> so it is a good logical continuation on that path
- # [18:53] <kig> designed for more expert people but can be twisted by programming demigods into doing utterly insane things
- # [18:54] <Philip`> The problem is that normal people will it anyway, and they'll make a horrible mess
- # [18:54] <Philip`> *will use it
- # [18:55] * Quits: maikmerten_ (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
- # [18:55] <jgraham> gsnedders: Do some work on python html5lib instead
- # [18:55] <kig> i do see the problem, but i don't see what can be done about it
- # [18:55] <Philip`> When 2D-canvas has slightly complex features like getImageData not necessarily returning 1 pixel of data per canvas-pixel, people keep using it wrongly, which means browsers that try to do higher-quality canvases will start breaking, so it hurts everyone
- # [18:57] <kig> uh, there are browsers that do that?
- # [18:58] <Philip`> and with 3D-canvas people are going to write pages that only work on NVIDIA drivers on Windows and silently fail everywhere else, and it could be considered worse than if the feature didn't exist at all
- # [18:58] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
- # [18:59] <Philip`> kig: I think WebKit does if you've set some OS UI scaling factor
- # [19:00] <kig> only work on Nvidia drivers, yes, that is a problem with the nvidia glsl allowing Cg-isms unless the shader has #version foo
- # [19:01] <kig> i guess there are other things as well, but that's the first example that sprung to mind
- # [19:03] * Parts: ojan (n=ojan@72.14.229.81)
- # [19:06] <kig> i don't like pixels not being pixels. it's so "let's break every pixel-munging canvas script out there"
- # [19:08] <Philip`> Before getPixelData came along, nobody said that canvas was pixels
- # [19:08] <Philip`> It was just a vector-based immediate-mode API
- # [19:08] <Philip`> and implementations could do whatever high-resolution stuff or low-resolution-but-with-anti-aliasing stuff they fancied, to make it look good
- # [19:09] <kig> and then they put getImageData in, the knaves!
- # [19:10] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [19:10] <Philip`> I must admit it's quite useful functionality
- # [19:11] <Philip`> but it prevents the canvas-is-a-bunch-of-vectors and canvas-is-a-bunch-of-pixels people from coexisting peacefully
- # [19:11] <kig> i hope canvas.width and height at least return the correct pixel amount or that there's some way of getting the dimensions for getting the whole canvas contents
- # [19:12] <Philip`> canvas.width/height are the size in canvas coordinate units, which are not necessarily related to the number of device pixels in the backing buffer that the implementation uses
- # [19:12] <kig> var fac = getImageData(0,0,1,1).width
- # [19:13] <kig> oh but maybe it's fractional, var fac = getImageData(0,0,canvas.width,1).width/canvas.width
- # [19:13] <Philip`> There's no requirement for it to even be linear, I think
- # [19:14] <Philip`> You could have a higher pixel density in the left of the image
- # [19:14] <Philip`> perhaps because you know the user is looking at their screen from the side, and you don't need so many pixels in the distance
- # [19:14] <kig> :--------|
- # [19:14] <Philip`> Oh, actually, that's not true
- # [19:14] <Philip`> Oh, actually, I think it might be
- # [19:15] <Philip`> It's required that context.createImageData(w, h).width == context.getImageData(0, 0, w, h).width but maybe it could differ if you change the getImageData x
- # [19:22] * Quits: grimboy (n=grimboy@78-86-152-156.zone2.bethere.co.uk) ("Lost terminal")
- # [19:44] * Quits: dolske (n=dolske@firefox/developer/dolske)
- # [19:51] * Joins: annevk5 (n=opera@dial-b3-106-1.telepac.pt)
- # [20:06] * Joins: dolske (n=dolske@corp-241.mountainview.mozilla.com)
- # [20:18] * Quits: tantek (n=tantek@12.14.133.75)
- # [20:29] * Quits: ap (n=ap@194.154.88.46)
- # [20:36] * Parts: rubys1 (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [20:48] * Joins: tantek (n=tantek@12.14.133.112)
- # [20:49] * Joins: taf2 (n=taf2@65.210.82.235)
- # [21:04] * felix_da_catz is now known as felix-da-catz_zz
- # [21:09] * Quits: jwalden (n=waldo@c-76-102-160-171.hsd1.ca.comcast.net) ("->inbound")
- # [21:21] * Joins: slightlyoff (n=slightly@204.14.154.244)
- # [21:23] * Joins: slightlyoff_ (n=slightly@72.14.228.1)
- # [21:26] * Joins: jwalden (n=waldo@corp-241.mountainview.mozilla.com)
- # [21:29] * Quits: zdobersek (n=zan@cpe-92-37-75-116.dynamic.amis.net) (Read error: 60 (Operation timed out))
- # [21:30] * Joins: zdobersek (n=zan@cpe-92-37-79-53.dynamic.amis.net)
- # [21:31] * Joins: rubys (n=rubys@cpe-075-182-092-038.nc.res.rr.com)
- # [21:32] * Quits: mlpug (n=mlpug@a91-156-60-13.elisa-laajakaista.fi) (Remote closed the connection)
- # [21:32] * Quits: mlpug_ (n=mlpug@a91-156-60-13.elisa-laajakaista.fi) (Remote closed the connection)
- # [21:32] * Quits: tantek (n=tantek@12.14.133.112)
- # [21:36] * Quits: sid0 (n=sid0@unaffiliated/sid0) ("Leaving")
- # [21:36] * Joins: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [21:37] * Joins: sid0 (n=sid0@unaffiliated/sid0)
- # [21:39] * Quits: slightlyoff (n=slightly@204.14.154.244) (Read error: 110 (Connection timed out))
- # [21:39] * Quits: sid0 (n=sid0@unaffiliated/sid0) (Client Quit)
- # [21:40] <jgraham> http://intertwingly.net/stories/2009/03/13/html5-evolution.html
- # [21:40] * Joins: sid0 (n=sid0@unaffiliated/sid0)
- # [22:01] * Quits: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
- # [22:02] * Joins: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
- # [22:03] * Quits: davidb (n=davidb@mozca02.ca.mozilla.com)
- # [22:07] * Joins: olliej_ (n=oliver@c-67-164-125-23.hsd1.ca.comcast.net)
- # [22:19] * Joins: virtuelv (n=virtuelv@95.34.27.22.customer.cdi.no)
- # [22:28] * Quits: zcorpan (n=zcorpan@c83-252-196-43.bredband.comhem.se)
- # [22:39] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:42] * Quits: olliej_ (n=oliver@c-67-164-125-23.hsd1.ca.comcast.net)
- # [22:43] * Joins: olliej_ (n=oliver@c-67-164-125-23.hsd1.ca.comcast.net)
- # [22:43] * Quits: olliej_ (n=oliver@c-67-164-125-23.hsd1.ca.comcast.net) (Client Quit)
- # [22:51] * Quits: dimich (n=dimich@72.14.227.1) (Read error: 104 (Connection reset by peer))
- # [22:51] * Joins: dimich (n=dimich@72.14.227.1)
- # [22:55] * Quits: karlcow (n=karl@nerval.la-grange.net) ("This computer has gone to sleep")
- # [23:02] * Parts: billmason (n=bmason@ip123.unival.com)
- # [23:02] * Quits: aroben|away (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
- # [23:03] * Parts: zdobersek (n=zan@cpe-92-37-79-53.dynamic.amis.net)
- # [23:09] * Joins: tantek (n=tantek@198.214.235.51)
- # [23:13] * Quits: virtuelv (n=virtuelv@95.34.27.22.customer.cdi.no) ("Ex-Chat")
- # [23:14] * Quits: taf2 (n=taf2@65.210.82.235)
- # [23:16] * Quits: weinig|away (n=weinig@cpe-66-65-132-93.nyc.res.rr.com)
- # [23:17] * Joins: mstange (n=markus@pD9579423.dip0.t-ipconnect.de)
- # [23:39] * Quits: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
- # [23:41] * Joins: bgalbraith (n=bgalbrai@corp-241.mountainview.mozilla.com)
- # [23:51] * Quits: mstange (n=markus@pD9579423.dip0.t-ipconnect.de) ("ChatZilla 0.9.84-2009030221 [Firefox 3.2a1pre/20090311030635]")
- # [23:56] * Joins: dimich_ (n=dimich@c-98-203-230-54.hsd1.wa.comcast.net)
- # [23:57] * Quits: sid0 (n=sid0@unaffiliated/sid0) (Read error: 110 (Connection timed out))
- # Session Close: Sat Mar 14 00:00:01 2009
The end :)