Options:
- # Session Start: Fri Mar 05 00:00:00 2010
- # Session Ident: #whatwg
- # [00:03] <Hixie> othermaciej: because it's obvious that text is highlighted, but not at all obvious that text is hidden
- # [00:04] <Hixie> othermaciej: and i needed a way to remind myself that text was hidden when i was in UA mode so i wouldn't spend hours looking for text that was hidden
- # [00:04] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [00:07] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 258 seconds)
- # [00:07] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [00:07] * Quits: weinig (~weinig@17.246.18.54) (Quit: weinig)
- # [00:20] <othermaciej> Hixie: heh, I see
- # [00:22] * Joins: Michelangelo (~Michelang@93-41-45-138.ip79.fastwebnet.it)
- # [00:23] * Joins: scherkus (~scherkus@74.125.59.65)
- # [00:24] * Quits: gratz|home (~gratz@cpc3-brig15-2-0-cust237.3-3.cable.virginmedia.com) (Quit: Leaving)
- # [00:37] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 264 seconds)
- # [00:44] * Quits: Michelangelo (~Michelang@93-41-45-138.ip79.fastwebnet.it) (Remote host closed the connection)
- # [00:51] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [01:04] * Joins: surkov (~surkov@client-66-24.sibtele.com)
- # [01:20] * Quits: colinsullivan (~colinsull@ae-lally-green-83.dynamic2.rpi.edu) (Quit: colinsullivan)
- # [01:26] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 245 seconds)
- # [01:27] * Quits: aroben (~aroben@unaffiliated/aroben) (Read error: Connection reset by peer)
- # [01:28] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [01:32] * Joins: wakaba_0 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp)
- # [01:37] * Quits: nessy (~Adium@124-168-170-167.dyn.iinet.net.au) (Quit: Leaving.)
- # [01:38] * Quits: dglazkov (~dglazkov@nat/google/x-zpujutylfdkqrnhq) (Quit: dglazkov)
- # [02:03] <jarib> z~
- # [02:09] * Joins: weinig (~weinig@nat/apple/x-nkipejnmpolegdvt)
- # [02:13] * Quits: Utkarsh (~admin@117.201.83.131) (Ping timeout: 256 seconds)
- # [02:15] * Quits: wakaba_0 (~wakaba_@122x221x184x68.ap122.ftth.ucom.ne.jp) (Ping timeout: 252 seconds)
- # [02:15] * Joins: wakaba_0 (~wakaba_@112-68-244-233.eonet.ne.jp)
- # [02:20] * Joins: Utkarsh (~admin@117.201.82.149)
- # [02:25] * Joins: jaket (~jake@210-84-14-245.dyn.iinet.net.au)
- # [02:29] * Quits: ap (~ap@17.246.19.5) (Quit: ap)
- # [02:33] <MikeSmith> are there any command-line utilities that, given a file, will report the character encoding of the file?
- # [02:35] <jcranmer> file, maybe?
- # [02:41] * Joins: erikvold (~erikvold@S01060024012860e9.gv.shawcable.net)
- # [02:41] * Quits: othermaciej (~mjs@17.246.19.46) (Quit: othermaciej)
- # [02:43] <MikeSmith> jcranmer: indeed
- # [02:43] <MikeSmith> thanks
- # [02:44] * MikeSmith did not know about the --mime-encoding switch in file
- # [02:44] * Joins: othermaciej (~mjs@17.246.19.46)
- # [02:48] * Quits: sicking (~chatzilla@nat/mozilla/x-vxlikgigqhryfqjt) (Ping timeout: 256 seconds)
- # [02:51] * Quits: KevinMarks (~KevinMark@157.22.22.46) (Ping timeout: 245 seconds)
- # [02:56] * Quits: dave_levin (~dave_levi@nat/google/x-rmfgpfzndctmhdqs) (Quit: dave_levin)
- # [03:03] <Hixie> Philip`: http://canvex.lazyilluminati.com/survey/2007-07-17/analyse.cgi/pages/tagattr/img/longdesc 500
- # [03:03] * Joins: colinsullivan (~colinsull@cpe-72-231-172-23.nycap.res.rr.com)
- # [03:04] * Quits: colinsullivan (~colinsull@cpe-72-231-172-23.nycap.res.rr.com) (Client Quit)
- # [03:04] * Quits: JonathanNeal (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com) (Ping timeout: 252 seconds)
- # [03:14] * Quits: cying (~cying@70.90.171.153) (Quit: cying)
- # [03:16] * Quits: othermaciej (~mjs@17.246.19.46) (Quit: othermaciej)
- # [03:24] * Quits: m_W (~mwj@c-69-141-106-205.hsd1.nj.comcast.net) (Ping timeout: 245 seconds)
- # [03:26] * Joins: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net)
- # [03:27] * Joins: ajn (~adam@pdpc/supporter/student/nut)
- # [03:27] * Quits: dbaron (~dbaron@nat/mozilla/x-ryqugwclgnybymwq) (Quit: 8403864 bytes have been tenured, next gc will be global.)
- # [03:28] * Quits: jgornick (~joe@199.199.212.242) (Quit: jgornick)
- # [03:36] * Quits: lazni (~lazni@118.71.114.17) (Quit: Leaving.)
- # [03:36] * Joins: miketaylr (~miketaylr@24.42.95.234)
- # [03:37] * Quits: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 240 seconds)
- # [03:40] * Joins: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net)
- # [03:44] * Joins: othermaciej (~mjs@17.246.19.46)
- # [03:44] * Quits: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de) (Quit: Verlassend)
- # [03:46] * Joins: knowtheory (~knowtheor@bas1-london16-1176189267.dsl.bell.ca)
- # [03:54] * Quits: weinig (~weinig@nat/apple/x-nkipejnmpolegdvt) (Quit: weinig)
- # [04:00] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 260 seconds)
- # [04:01] * Joins: nessy (~Adium@202-154-114-215.people.net.au)
- # [04:01] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [04:02] <MikeSmith> file command doesn't seem to know the difference between a us-ascii file and a utf-8 one
- # [04:10] * Joins: KevinMarks (~KevinMark@204.9.180.30)
- # [04:11] * Parts: ajn (~adam@pdpc/supporter/student/nut)
- # [04:13] <wirepair> file -bi doesn't work?
- # [04:15] * MikeSmith tries file -bi
- # [04:16] <MikeSmith> wirepair: nope
- # [04:16] <wirepair> and isn't us-ascii part of utf-8? heh
- # [04:16] <jcranmer> presumably it can't tell if there are no high-bit characters
- # [04:17] <wirepair> yeah or there's no BOM
- # [04:18] <MikeSmith> validator.nu seems to be smarter - http://validator.nu/?doc=http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml-markup%2F
- # [04:18] <MikeSmith> too smart for its own damn good
- # [04:19] * Joins: JusticeFries (~justicefr@65.100.130.168)
- # [04:21] * Joins: JusticeFries_ (~justicefr@173.5.204.34)
- # [04:21] <wirepair> no it's not
- # [04:21] <wirepair> it's reading the servers charset tag
- # [04:21] <wirepair> ;>
- # [04:22] <wirepair> Content-Type: text/html; charset=utf-8
- # [04:22] <wirepair> that's why it disagree's i imagine
- # [04:22] <wirepair> er disagrees
- # [04:22] <wirepair> i see no bom nor non-ascii codes in that html file
- # [04:22] <wirepair> only reference to utf-8 is the server's content-type header
- # [04:24] * Quits: JusticeFries (~justicefr@65.100.130.168) (Ping timeout: 248 seconds)
- # [04:24] * Quits: scherkus (~scherkus@74.125.59.65) (Ping timeout: 248 seconds)
- # [04:24] * JusticeFries_ is now known as JusticeFries
- # [04:25] * Joins: robreact__ (~chatzilla@c-75-68-177-155.hsd1.ma.comcast.net)
- # [04:28] * Quits: drunknbass_work (~aaron@pool-71-106-110-90.lsanca.dsl-w.verizon.net) (Ping timeout: 265 seconds)
- # [04:34] <MikeSmith> wirepair: ah
- # [04:44] <wirepair> just my guess though ;>
- # [04:45] <MikeSmith> wirepair: I'm not familiar with that part of the validator.nu
- # [04:46] <wirepair> oh duh it's right there
- # [04:46] <wirepair> under parser
- # [04:46] <wirepair> says parser: 'automatically from content-type'
- # [04:46] <MikeSmith> but the fact that hsivonen has is reporting, "disagrees with the actual encoding of the document", made me think that he must have it doing something to actually check the encoding, not just relying on the headers
- # [04:47] <MikeSmith> wirepair: I think that only is used for deciding whether to parse is as text/html or as XML
- # [04:47] <wirepair> gotcha
- # [04:47] * MikeSmith makes note to ask hsivonen about it when he gets back
- # [04:48] <wirepair> that site isn't very helpful
- # [04:48] <MikeSmith> which site?
- # [04:48] <wirepair> validator
- # [04:48] <MikeSmith> what's not useful about it?
- # [04:48] <wirepair> the fact that it doesn't tell you where it decided it matches utf-8
- # [04:48] <wirepair> and not ascii
- # [04:49] <wirepair> because i'm looking at the raw bytes, and i see no multibytes just straight up ascii heh
- # [04:49] <MikeSmith> yeah, it probably could provide more details
- # [04:49] <MikeSmith> I guess I should just go ahead and look at the htmlparser code and see for myself
- # [04:51] <MikeSmith> hmm, there's not "ack" macports port, it seems
- # [04:52] * MikeSmith falls back to find . | xargs grep
- # [04:53] * Quits: othermaciej (~mjs@17.246.19.46) (Quit: othermaciej)
- # [04:53] * Joins: MikeSmithX (~MikeSmith@EM114-48-15-146.pool.e-mobile.ne.jp)
- # [04:54] * Joins: othermaciej (~mjs@17.246.19.46)
- # [04:57] * Quits: MikeSmith (~MikeSmith@EM114-48-56-30.pool.e-mobile.ne.jp) (Disconnected by services)
- # [04:57] * MikeSmithX is now known as MikeSmith
- # [04:57] <MikeSmith> wirepair: http://hg.mozilla.org/projects/htmlparser/file/546412142175/src/nu/validator/htmlparser/io/Driver.java
- # [04:57] <MikeSmith> in case you're curious
- # [04:58] <MikeSmith> it seems that at the point where it emits that error, it hasn't recorded how it actually determined the encoding
- # [04:58] * MikeSmith looks at getActualHtmlEncoding()
- # [05:01] * Quits: othermaciej (~mjs@17.246.19.46) (Quit: othermaciej)
- # [05:04] <wirepair> found something?
- # [05:07] <MikeSmith> it's using InputSource.getEncoding()
- # [05:07] <MikeSmith> from org.xml.sax
- # [05:08] <MikeSmith> http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/InputSource.html#getEncoding()
- # [05:08] * Quits: nessy (~Adium@202-154-114-215.people.net.au) (Read error: No route to host)
- # [05:08] <MikeSmith> I have no clue what means getEncoding actually uses to determine the encoding
- # [05:08] * Joins: nessy (~Adium@202-154-114-215.people.net.au)
- # [05:09] <wirepair> yeh,, no idea heh
- # [05:15] <MikeSmith> actually, it's just a simple getter
- # [05:15] <wirepair> wtf
- # [05:15] <wirepair> heh
- # [05:16] <wirepair> so something is supplyin gthe stream with an encoding ?
- # [05:16] <wirepair> kinda makes the whole validation thing moot doesn't it?
- # [05:16] <MikeSmith> the magic is here: http://hg.mozilla.org/projects/htmlparser/file/546412142175/src/nu/validator/htmlparser/io/HtmlInputStreamReader.java
- # [05:17] <wirepair> i didn't see a BOM so...
- # [05:17] <wirepair> again, would be better if the validator says where it no longer matches the expected type
- # [05:18] <MikeSmith> It seems to be using jchardet and/or ICU4J
- # [05:18] <wirepair> so people wouldn't have to look through the validator code to figure out how it's determining hehe
- # [05:18] <MikeSmith> true
- # [05:18] <wirepair> i say just wait ;>
- # [05:20] <MikeSmith> well, at this point, I'm reasonably sure it is actually doing genuine character-encoding detection, not just relying on the Content-Type header
- # [05:20] * Quits: Utkarsh (~admin@117.201.82.149) (Ping timeout: 264 seconds)
- # [05:20] <MikeSmith> actually, I already knew that, because there are times when it will report that the character-encoding in the Content-Type header doesn't match the actual encoding of the document
- # [05:21] <MikeSmith> anyway, I need to get some grub
- # [05:21] <MikeSmith> wirepair: btw, you have a lot of sento in Oota-ku
- # [05:22] <MikeSmith> a number of which are real onsen
- # [05:22] <MikeSmith> well, real onsen water
- # [05:22] <wirepair> ah not much of an onsen person
- # [05:22] <MikeSmith> http://www21.ocn.ne.jp/~spa-mich/todofuken/tokyo/tokyo.htm
- # [05:22] <MikeSmith> I am nuts for onsen
- # [05:23] <wirepair> ha
- # [05:23] <wirepair> i'll show the wife
- # [05:23] <wirepair> thanks ;>
- # [05:24] <MikeSmith> yeah, for some reason you all have more onsen-sento there than any other part of the city, by a wide margin
- # [05:24] * Joins: Utkarsh (~admin@117.201.86.160)
- # [05:25] <wirepair> weird..
- # [05:25] <wirepair> wonder why that is
- # [05:27] * Quits: JusticeFries (~justicefr@173.5.204.34) (Ping timeout: 265 seconds)
- # [05:29] * Quits: tyoshino (~tyoshino@220.109.219.244) (Quit: Leaving...)
- # [05:30] * Quits: cpearce (~cpearce@203-97-204-82.dsl.clear.net.nz) (Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.15/2009101909])
- # [05:39] <MikeSmith> wirepair: I think one reason might be that Oota-ku is just really big
- # [05:39] * Joins: JusticeFries (~justicefr@65.100.130.168)
- # [05:39] <MikeSmith> geographically
- # [05:43] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 246 seconds)
- # [05:44] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [05:52] * Quits: miketaylr (~miketaylr@24.42.95.234) (Remote host closed the connection)
- # [05:56] <wirepair> how long you been in japan mike?
- # [05:58] * Quits: robreact__ (~chatzilla@c-75-68-177-155.hsd1.ma.comcast.net) (Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100202165920])
- # [05:59] <MikeSmith> wirepair: 8 years
- # [05:59] <wirepair> wow, quite a bit of time ;>
- # [05:59] <wirepair> 2x me hehe
- # [05:59] <wirepair> i imagine your japanese must be pretty damn good by now hehe
- # [06:02] <MikeSmith> wirepair: my Japanese is actually pretty bad
- # [06:02] <wirepair> didn't study or gave up studying?
- # [06:02] <wirepair> hehe
- # [06:02] * Joins: tyoshino (~tyoshino@220.109.219.244)
- # [06:03] <MikeSmith> I studied some, but mostly learned on the job and from my daughter, who's 12 years old now
- # [06:03] <MikeSmith> she and I only speak Japanese to each other
- # [06:04] <wirepair> interesting
- # [06:04] <MikeSmith> she understands a lot of English, but doesn't speak English much
- # [06:04] <wirepair> yeah i've seen that, where the child understand what you say, but will just answer in japanese
- # [06:04] <MikeSmith> yeah
- # [06:04] * Joins: Heimidal (~heimidal@66.184.176.26)
- # [06:04] * Quits: Heimidal (~heimidal@66.184.176.26) (Changing host)
- # [06:04] * Joins: Heimidal (~heimidal@unaffiliated/heimidal)
- # [06:05] <MikeSmith> she is starting to study English more, and will be studying it at school when she starts junior-high in April
- # [06:05] <wirepair> crazy
- # [06:05] <MikeSmith> she teaches me a lot of words, actually
- # [06:05] <wirepair> i imagine her pronounciation will be better than most
- # [06:05] <wirepair> hehe
- # [06:06] <wirepair> funny i was teaching a family in laws kid a little english (he's like 3) and his father was there, i said truck in english pronounciation, and his father said it in japanese
- # [06:06] <wirepair> the kid was like 'which is it?!'
- # [06:06] <MikeSmith> heh
- # [06:06] <wirepair> he thought they were completely different words
- # [06:07] <MikeSmith> yeah, it's like orange, or cake, or many others
- # [06:07] <MikeSmith> truck is a tough one, though
- # [06:07] <wirepair> yup
- # [06:08] <MikeSmith> "tr" is just not amenable to katakana-ized pronunciation
- # [06:08] <wirepair> chi-a-ru
- # [06:08] <wirepair> hehe
- # [06:09] <MikeSmith> but I think it's good for kids to learn that people pronounce the same words in different ways
- # [06:09] <wirepair> yeah definitely
- # [06:09] <MikeSmith> it's definitely confusing when they are young, though
- # [06:11] <MikeSmith> one example is the way some Japanese teachers of English in secondary schools pronounce the word "the"
- # [06:11] <wirepair> za-?
- # [06:11] <MikeSmith> which is like "za"
- # [06:11] <wirepair> yeah
- # [06:11] <MikeSmith> yeah
- # [06:12] <MikeSmith> some people think it's just wrong to teach kids to pronounce it that way
- # [06:12] <wirepair> i don't think too highly of the japanese educational system to be honest though
- # [06:12] <wirepair> not from the things i've heard
- # [06:12] <MikeSmith> yeah, the system has some problems, for sure
- # [06:12] <MikeSmith> but about particular case of "za", I don't think it's a big deal at all
- # [06:13] <MikeSmith> because for one thing, it's also the way some European non-native-English speakers say it soo
- # [06:13] <wirepair> yeah, i'm more concerned with my child sitting for 8hours and then being expected to regurgitate the information back
- # [06:13] <wirepair> ;>
- # [06:13] <wirepair> not that i have any at the moment, but when i do heh
- # [06:14] * Quits: boblet (~boblet@p1072-ipbf36osakakita.osaka.ocn.ne.jp) (Quit: thxbye)
- # [06:14] <MikeSmith> well, my own secondary education wasn't exactly a thrill ride
- # [06:15] <wirepair> at the time i thought mine was terrible, looking back and hearing other peoples experiences i guess it was pretty damn good
- # [06:15] <wirepair> heh
- # [06:15] <MikeSmith> I had teachers who were supposedly better trained and more enlightened, but still most of them sucked at actually teaching
- # [06:15] <wirepair> i only had a few like that
- # [06:15] <MikeSmith> teaching well is a rare talent
- # [06:15] <wirepair> indeed.
- # [06:16] <MikeSmith> I taught high school on contract for 3 years or so
- # [06:16] <wirepair> ah so you got to see it firsthand ;>
- # [06:17] <MikeSmith> well, it was enough for me to realize I couldn't do it well, and needing to find some other way to earn money
- # [06:17] <wirepair> ahha
- # [06:17] <wirepair> gotcha
- # [06:17] <MikeSmith> anyway, in 6 years of primary school, my daughter has had some pretty good teachers, and some pretty bad ones
- # [06:17] <MikeSmith> the teachers do make a big difference
- # [06:18] <wirepair> yeah
- # [06:18] <MikeSmith> last year, her teacher was a young-guy, first-year teacher, and he didn't really know what he was doing, and her grades went down
- # [06:18] <wirepair> ahh that's a shame
- # [06:19] <MikeSmith> this year, she had a much older, more experienced, no-nonsense teacher and she learned a lot more and turned all her grades around
- # [06:20] <MikeSmith> I know there are some good teachers in secondary schools here, too
- # [06:20] <MikeSmith> along with mediocre and bad ones
- # [06:21] <MikeSmith> it's partly just the luck of the draw, I guess
- # [06:21] <wirepair> yeah i'd like to know what the curriculum is like, my understanding is there's little to know real teaching of the scientific process until college
- # [06:21] <wirepair> s/know/no
- # [06:22] <wirepair> but hey what do i know, i never even went to college ;>
- # [06:22] <MikeSmith> I think the system expects -- or even requires -- a lot more personal responsibility on the part of students and their parents
- # [06:23] <wirepair> yeah, unfortunately what i've seen here is an unbelievable amount of pressure on teachers to take care of kids
- # [06:23] <MikeSmith> the thing I value most about my college experience was the many opportunities it provided for relaxed dope smoking
- # [06:23] <wirepair> hahah
- # [06:24] <wirepair> see i did that in private school for 2 years, i got it out of my system
- # [06:24] <wirepair> then i got a job during the bubble, it bust, and all my friends got out of college and couldn't find jobs when i had 4 years experience ;>
- # [06:25] <wirepair> my timing was impeccable
- # [06:25] <MikeSmith> you planned that well
- # [06:26] <wirepair> just very lucky
- # [06:51] * Joins: othermaciej (~mjs@76.14.73.144)
- # [06:56] * Quits: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams) (Ping timeout: 248 seconds)
- # [07:02] * Joins: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams)
- # [07:17] * Parts: LoneStar99 (~dmontalvo@adsl-76-211-219-55.dsl.hrlntx.sbcglobal.net)
- # [07:21] * Joins: weinig (~weinig@c-71-198-24-112.hsd1.ca.comcast.net)
- # [07:24] * Quits: othermaciej (~mjs@76.14.73.144) (Quit: othermaciej)
- # [07:25] * Quits: weinig (~weinig@c-71-198-24-112.hsd1.ca.comcast.net) (Client Quit)
- # [07:28] * Joins: lazni (~lazni@118.71.114.17)
- # [07:28] * Quits: Utkarsh (~admin@117.201.86.160) (Ping timeout: 268 seconds)
- # [07:31] * Quits: nessy (~Adium@202-154-114-215.people.net.au) (Quit: Leaving.)
- # [07:34] * Joins: Utkarsh (~admin@117.201.90.41)
- # [07:43] * Joins: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [07:44] * Joins: danbri (~danbri@unaffiliated/danbri)
- # [07:54] * Joins: maikmerten (~merten@ls5dhcp196.cs.uni-dortmund.de)
- # [07:59] * Quits: MikeSmith (~MikeSmith@EM114-48-15-146.pool.e-mobile.ne.jp) (Quit: This computer has gone to sleep)
- # [08:00] * Joins: zalan (~zalan@catv-89-135-108-81.catv.broadband.hu)
- # [08:01] * Joins: paul_irish (~paul_iris@32.152.9.176)
- # [08:01] * Joins: roc (~roc@121-72-212-170.dsl.telstraclear.net)
- # [08:03] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [08:05] * Joins: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [08:08] * Joins: hish (~chatzilla@p57B7DE3C.dip.t-dialin.net)
- # [08:09] * Joins: MikeSmith (~MikeSmith@EM114-48-15-146.pool.e-mobile.ne.jp)
- # [08:09] * Quits: Heimidal (~heimidal@unaffiliated/heimidal) (Remote host closed the connection)
- # [08:20] <othermaciej> MikeSmith: check out the status on this: http://www.w3.org/TR/2010/WD-html-bidi-20100304/#bidi-isolation
- # [08:20] <othermaciej> MikeSmith: "This document is an editors' copy that has no official standing."
- # [08:21] <othermaciej> that's probably not right
- # [08:21] <MikeSmith> oops
- # [08:21] <othermaciej> MikeSmith: also I surprisingly hadn't heard about that document
- # [08:21] <MikeSmith> I will fix it in-place now
- # [08:21] * othermaciej wonders why the proposals in that document weren't proposed to the HTML WG and hopes they will be at some point
- # [08:22] <MikeSmith> othermaciej: I probably should not admit this, but the first I saw of that doc was this announcement
- # [08:23] <MikeSmith> I think Richard mentioned something about it to me, but it didn't register as being something closely related to HTML
- # [08:23] <othermaciej> glad it's not just me
- # [08:24] <othermaciej> Looking at the TransReq Philippe did say it should be be brought to the attention of the HTML WG
- # [08:25] <MikeSmith> well
- # [08:26] <MikeSmith> it's odd that they chose to publish it as WD first
- # [08:26] <MikeSmith> the "bring to attention of the HTML WG" step would seem like it should have better occurred first
- # [08:26] <MikeSmith> wait
- # [08:27] <MikeSmith> it's about bidi
- # [08:27] <MikeSmith> so they are doing everything backwards
- # [08:27] * Quits: Utkarsh (~admin@117.201.90.41) (Ping timeout: 264 seconds)
- # [08:27] <MikeSmith> sorry, not backwards, just different-wards
- # [08:27] <MikeSmith> it's all relative
- # [08:30] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 252 seconds)
- # [08:30] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [08:31] <MikeSmith> hsivonen: btw, I wanted to ask you about the character-detection mechanism that validator.nu uses
- # [08:31] * Joins: Utkarsh (~admin@117.201.83.78)
- # [08:32] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Ping timeout: 246 seconds)
- # [08:32] <MikeSmith> hsivonen: http://validator.nu/?doc=http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml-markup%2F
- # [08:32] <MikeSmith> "Internal encoding declaration us-ascii disagrees with the actual encoding of the document (utf-8)"
- # [08:33] <MikeSmith> but that document actually has no non-ascii characters in it, and no BOM
- # [08:34] <MikeSmith> so I assume the character-detection code is actually also using the Content-type header
- # [08:35] <MikeSmith> not just checking the "actual encoding" of the document
- # [08:36] <MikeSmith> if so, I'm wondering if that error message might be refined to say, "disagrees with the actual encoding of the document and/or the Content-Type header the document is being served with (utf-8)"
- # [08:36] <MikeSmith> or something similar
- # [08:38] <hsivonen> I guess the actual encoding is the one named on the http level in this case
- # [08:38] <zcorpan> MikeSmith: pong
- # [08:39] <MikeSmith> hsivonen: OK
- # [08:39] <hsivonen> maybe 'actual' is a philosophical/onntological question and the message should say something else
- # [08:39] * Quits: workmad3 (~workmad3@cpc3-bagu10-0-0-cust651.1-3.cable.virginmedia.com) (Remote host closed the connection)
- # [08:39] * Joins: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [08:39] <othermaciej> heh, bidi
- # [08:40] <MikeSmith> hsivonen: yeah, the word "actual" is what threw me
- # [08:40] * Joins: Mau`werk (~ano@a80-101-46-164.adsl.xs4all.nl)
- # [08:40] <hsivonen> in this case, actual means the encoding that's actually used for decoding
- # [08:40] <MikeSmith> ah
- # [08:40] <MikeSmith> that's more like maybe "effective"
- # [08:41] <MikeSmith> I can't think of any great suggestions other than that one
- # [08:41] <MikeSmith> which is not great
- # [08:41] <MikeSmith> anyway, I'm not sure it's worth changing
- # [08:41] <MikeSmith> I had just been wondering
- # [08:42] <MikeSmith> zcorpan: I wanted to tell you I made some more changes to the markup doc based on the errors you reported a while back
- # [08:43] <MikeSmith> zcorpan: http://www.w3.org/TR/html-markup/syntax.html#doctype-syntax
- # [08:44] <MikeSmith> my rationale for organizing the description of doctypes that way (instead of the way Hixie has it) is that I wanted to try to have the description of what a "normal" HTML doctype is to be as simple as possible
- # [08:45] <MikeSmith> I don't know if "normal doctype" is the best choice as far a terminology
- # [08:46] <MikeSmith> but anyway, I did correct the description of "deprecated doctype" to remove any reference to the XML definition of what a docytpe is
- # [08:46] <MikeSmith> http://www.w3.org/TR/html-markup/syntax.html#deprecated-doctype
- # [08:47] <annevk> the piece on W3C news about H:TML says more about what it is not than what it is :/
- # [08:47] <MikeSmith> heh
- # [08:47] <zcorpan> MikeSmith: http://www.w3.org/Bugs/Public/show_bug.cgi?id=9145
- # [08:48] <MikeSmith> annevk: my fault, since it's word-for-word from the abstract
- # [08:48] <MikeSmith> zcorpan: looking now
- # [08:48] <MikeSmith> OK
- # [08:49] * MikeSmith makes that same change now
- # [08:50] <MikeSmith> hsivonen: "computed encoding"?
- # [08:50] <zcorpan> MikeSmith: "Conditionally, depending on whether it is part of a permitted-public-ID-system-ID-combination, the following parts, in exactly the following order:" doesn't say whether the condition is true or false
- # [08:50] <zcorpan> MikeSmith: maybe "If it (what?) is part of a permitted-..."
- # [08:50] <MikeSmith> yeah
- # [08:51] <MikeSmith> problem is, I don't know how to describe that condition
- # [08:51] <MikeSmith> the condition is basically, if it ends up looking like one of the doctypes in the list below that, then true
- # [08:51] <MikeSmith> otherwise false
- # [08:52] <zcorpan> it's a bit confusing
- # [08:52] <zcorpan> i think Hixie's text is less confusing, at least to me :)
- # [08:53] <MikeSmith> I may end up changing it to that
- # [08:54] <MikeSmith> I wanted to first try to see if there were any way to make it any clearer
- # [08:54] <zcorpan> MikeSmith: maybe you could have two tables, one for html which has optional SI, and one for xhtml which doesn't
- # [08:54] <MikeSmith> hmm, yeah
- # [08:54] <MikeSmith> that would be slightly better at least
- # [08:55] <MikeSmith> zcorpan: I also changed the description of what a conformant XML document is (the other error you reported)
- # [08:56] <hsivonen> I wonder if a MacBook can be fooled to switch its VNC resolution to something higher than the res of the built-in screen without connecting anything to the mini-DVI port
- # [08:56] <MikeSmith> http://www.w3.org/TR/html-markup/documents.html#syntax-document-xml
- # [08:56] <othermaciej> annevk: looks like it's about 50/50 between what it is and what it isn't
- # [08:57] <othermaciej> it is funny that the one document not produced by the HTML WG (and something of a surprise to us) has by far the longest description
- # [08:57] <MikeSmith> zcorpan: I am planning to make a couple more tweaks based on the other message you sent, about "this specification does not define any additional syntax-level requirements"
- # [08:58] * Joins: pauld (~chatzilla@host86-140-162-84.range86-140.btcentralplus.com)
- # [08:59] <annevk> othermaciej, the W3C clearly hates HTML5 much like it hates babies
- # [09:00] <othermaciej> annevk: I thought that was Adobe
- # [09:00] <annevk> oh, they're not the same?
- # [09:00] <othermaciej> heh
- # [09:00] * Joins: nessy (~Adium@124-168-170-167.dyn.iinet.net.au)
- # [09:00] <othermaciej> seriously though, HTML5 plus three other documents get less total space in the description than any other drafts
- # [09:00] * zcorpan wonders what he has to do to see the browser choice screen
- # [09:02] <zcorpan> http://www.w3.org/TR/2010/WD-html-bidi-20100304/#br-as-separator - wonder if that matches what html5 says
- # [09:03] <annevk> zcorpan, visit http://www.browserchoice.eu/ ?
- # [09:04] <othermaciej> I dunno, it's funny that they used HTML4 as their baseline reference
- # [09:04] <annevk> zcorpan, I think dbaron mentioned that HTML5 should say something about that (iirc)
- # [09:04] <annevk> zcorpan, not sure if it was followed through
- # [09:04] <zcorpan> annevk: i thought i'd get something automatically by setting ie to default browser and doing a windows update
- # [09:05] <annevk> zcorpan, oh like that
- # [09:05] <annevk> zcorpan, dunno
- # [09:05] * Joins: pesla (~retep@procurios.xs4all.nl)
- # [09:06] * Joins: Creap (~creap@83.218.67.122)
- # [09:06] <zcorpan> how many of the non-top-5 browsers in the screen use trident?
- # [09:06] <paul_irish> maxthon does
- # [09:07] <zcorpan> yes, and flock doesn't, what about the others?
- # [09:07] <zcorpan> k-meleon also doesn't
- # [09:07] <zcorpan> avant is trident
- # [09:08] <zcorpan> looks like sleipnir is a trident browser
- # [09:09] <zcorpan> flashpeak too
- # [09:09] <paul_irish> and maybe AOL?
- # [09:10] <othermaciej> there are several trident browsers, according to the news
- # [09:11] <othermaciej> did they fix the randomization on that page yet?
- # [09:12] <zcorpan> trident: 6, gecko: 3, webkit: 2, presto: 1
- # [09:13] <othermaciej> zcorpan: looks like it doesn't match HTML5 - "A br element does not separate paragraphs for the purposes of the Unicode bidirectional algorithm. [BIDI]" http://dev.w3.org/html5/spec/Overview.html#the-br-element
- # [09:16] * annevk wonders what browsers implement now
- # [09:16] <othermaciej> according to the bidi requirements draft, WebKit and IE do not implement the HTML5/HTML4 rule but instead do treat <br> as a paragraph break for bidi algorithm purposes
- # [09:17] <othermaciej> the draft also says this behavior is better (I think)
- # [09:19] <annevk> I see
- # [09:20] <annevk> I wonder why they want through the trouble of publishing a separate document rather than sending feedback on HTML5...
- # [09:25] * Joins: tametick (~chatzilla@chello084114134061.3.15.vie.surfer.at)
- # [09:25] <othermaciej> I dunno
- # [09:26] <othermaciej> this could be, like, 10-20 bug reports
- # [09:26] <othermaciej> most of which would be uncontroversial except perhaps trivial syntax details
- # [09:27] <othermaciej> (for example the proposed bdi attribute should be a standard html-style boolean attribute; shouldn't use attributes with underscore; etc)
- # [09:28] <annevk> some of the guidelines should not be in HTML I think, e.g. the bit about <pre> in http://www.w3.org/TR/2010/WD-html-bidi-20100304/#newline-as-separator seems like it should be in CSS
- # [09:29] * Joins: dave_levin (~dave_levi@nat/google/x-yrykumrqwkklzgfr)
- # [09:32] <MikeSmith> zcorpan: how's the following sound?
- # [09:32] <MikeSmith> [[
- # [09:33] <MikeSmith> A conformant document in the XML syntax must be a well-formed XML document, as defined in the XML specification [XML], and its root element, as defined in the XML specification [XML], must be an html element.
- # [09:33] <MikeSmith> ]]
- # [09:33] <zcorpan> MikeSmith: the next paragraph seems to repeat the well-formedness requirement
- # [09:33] * Joins: boblet (~boblet@p1072-ipbf36osakakita.osaka.ocn.ne.jp)
- # [09:34] <roc> 'bdi' is a terrible name
- # [09:34] <zcorpan> MikeSmith: how about saying it must be namespace-well-formed, once?
- # [09:34] <roc> some of these issues were discussed briefly on public-html ages ago
- # [09:34] <MikeSmith> zcorpan: OK
- # [09:35] <MikeSmith> roc: yeah
- # [09:35] <MikeSmith> I recall now Richard mentioning the <br> issue to me a while back
- # [09:37] * Quits: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams) (Quit: GarethAdams|Home)
- # [09:38] * Joins: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie)
- # [09:39] * Quits: Utkarsh (~admin@117.201.83.78) (Ping timeout: 240 seconds)
- # [09:43] <MikeSmith> zcorpan:
- # [09:43] <MikeSmith> "A conformant document in the XML syntax must be a namespace-well-formed XML document, as defined in the XML specification [XML] and Namespaces in XML 1.0 specification [XMLNS], and its root element must be an html element."
- # [09:43] <MikeSmith> and I turned the "Documents in the XML syntax must not make use of any features of the HTML syntax that do not follow XML well-formedness constraints (for example, documents in the XML syntax must not use unquoted attribute value syntax and must not omit tags).
- # [09:43] <MikeSmith> " part into a note
- # [09:45] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [09:45] * Joins: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [09:45] <zcorpan> s/as defined in the XML specification [XML] and //
- # [09:46] <MikeSmith> OK
- # [09:46] <zcorpan> isn't the root element required by the content models, btw?
- # [09:49] <MikeSmith> zcorpan: it's otherwise not explicitly stated anywhere for the XML/XHTML document case
- # [09:49] <MikeSmith> it is stated explicitly for the text/html case -
- # [09:49] <MikeSmith> file:///opt/workspace/html5/markup/documents.html#conformant-documents
- # [09:50] <MikeSmith> oops
- # [09:50] * Quits: jaket (~jake@210-84-14-245.dyn.iinet.net.au) (Quit: jaket)
- # [09:51] <MikeSmith> http://dev.w3.org/html5/markup/documents.html#syntax-document-html
- # [09:51] * zcorpan gets a twitter account
- # [09:51] * Quits: lazni (~lazni@118.71.114.17) (Quit: Leaving.)
- # [09:54] * Joins: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams)
- # [09:54] * Quits: GarethAdams|Home (~GarethAda@pdpc/supporter/active/GarethAdams) (Client Quit)
- # [09:55] * Joins: lazni (~lazni@118.71.114.17)
- # [09:56] * Quits: maikmerten (~merten@ls5dhcp196.cs.uni-dortmund.de) (Quit: Verlassend)
- # [09:56] <MikeSmith> hsivonen: "operative encoding"
- # [09:59] <Philip`> Hixie: The analyse.cgi stuff is intentionally broken since I moved to a new server and don't really want to bother setting up all the databases and everything
- # [09:59] <Philip`> It's fixable but it depends on whether anybody cares enough
- # [10:01] * annevk follows zcorpan
- # [10:02] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
- # [10:05] <Hixie> Philip`: k
- # [10:10] * Joins: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [10:20] * Joins: maikmerten (~merten@vpn2119.itmc.tu-dortmund.de)
- # [10:22] * Joins: mat_t (~mattomasz@91.189.88.12)
- # [10:28] * Joins: jaket (~jake@210-84-14-245.dyn.iinet.net.au)
- # [10:32] * Quits: JusticeFries (~justicefr@65.100.130.168) (Ping timeout: 265 seconds)
- # [10:42] * Joins: ROBOd (~robod@89.122.216.38)
- # [10:42] * Quits: hish (~chatzilla@p57B7DE3C.dip.t-dialin.net) (Quit: ChatZilla 0.9.86 [SeaMonkey 2.0.3/20100205174005])
- # [10:46] * Quits: dave_levin (~dave_levi@nat/google/x-yrykumrqwkklzgfr) (Quit: dave_levin)
- # [10:53] * Quits: mhausenblas (~mhausenbl@wg1-nat.fwgal01.deri.ie) (Ping timeout: 248 seconds)
- # [10:54] * Joins: MikeSmithX (~MikeSmith@EM114-48-232-200.pool.e-mobile.ne.jp)
- # [10:55] * Quits: pauld (~chatzilla@host86-140-162-84.range86-140.btcentralplus.com) (Remote host closed the connection)
- # [10:55] * Joins: pauld (~chatzilla@host86-140-162-84.range86-140.btcentralplus.com)
- # [10:56] * Quits: Rik` (~Rik`@pha75-2-81-57-187-57.fbx.proxad.net) (Quit: Rik`)
- # [10:57] * Joins: GarethAdams|Work (~GarethAda@pdpc/supporter/active/GarethAdams)
- # [10:57] * Quits: MikeSmith (~MikeSmith@EM114-48-15-146.pool.e-mobile.ne.jp) (Ping timeout: 265 seconds)
- # [10:59] * Joins: tndH (~Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [11:02] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 258 seconds)
- # [11:02] * Joins: workmad3 (~workmad3@188-222-158-93.zone13.bethere.co.uk)
- # [11:03] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [11:20] * Joins: othermaciej_ (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [11:21] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [11:21] * othermaciej_ is now known as othermaciej
- # [11:24] * Quits: ROBOd (~robod@89.122.216.38) (Quit: http://www.robodesign.ro)
- # [11:26] * Joins: JusticeFries (~justicefr@65.100.130.168)
- # [11:27] * Quits: Lachy (~Lachlan@85.196.122.246) (Quit: This computer has gone to sleep)
- # [11:29] * Quits: KevinMarks (~KevinMark@204.9.180.30) (Quit: The computer fell asleep)
- # [11:29] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [11:42] * Joins: Lachy (~Lachlan@pat-tdc.opera.com)
- # [11:43] * Quits: tkent (~tkent@220.109.219.244) (Quit: Leaving...)
- # [11:44] * Quits: MikeSmithX (~MikeSmith@EM114-48-232-200.pool.e-mobile.ne.jp) (Quit: Till kicked and torn and beaten out he lies, and leaves his hold and crackles, groans, and dies.)
- # [11:45] * Quits: roc (~roc@121-72-212-170.dsl.telstraclear.net) (Quit: roc)
- # [11:45] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 246 seconds)
- # [11:46] * Joins: mpt (~mpt@canonical/mpt)
- # [11:51] <mut> #
- # [11:51] * Joins: eighty4 (~eighty4@h-112-7.A163.corp.bahnhof.se)
- # [11:51] <jgraham> !
- # [11:51] <annevk> ~
- # [11:52] <mut> $(':(').show();
- # [11:52] <jgraham> ‽
- # [11:52] <annevk> you usually hide sad faces
- # [11:53] <jgraham> Only if you're a clown
- # [11:53] <gsnedders> jgraham: It's a Javascript library, duh. $ is awesome. :P
- # [11:53] <gsnedders> Normally my eyes are _above_ my mouth.
- # [11:54] * jgraham is horribly confused
- # [11:54] * gsnedders is good at making jgraham horribly confused
- # [11:54] <jgraham> You are quite the confusing person
- # [11:55] <mut> im about to get trout slappy
- # [11:55] <beowulf> i haven't been slapped by a wet trout in years
- # [11:55] <mut> "This program has stopped responding" <----- :(
- # [11:55] <jgraham> Fun game: read ꦕꦫꦏꦤ꧀
- # [11:56] <beowulf> does the internet still have such things?
- # [11:56] <jgraham> (gsnedders isn't allowed to play)
- # [11:56] <mut> would you like to lose all of your work
- # [11:56] <gsnedders> Spoil sport.
- # [11:56] * mut troutslaps beowulf
- # [11:56] <mut> ;)
- # [11:56] * workmad3 slaps mut around a bit with a wet trout
- # [11:56] <mut> haha
- # [11:56] <gsnedders> jgraham is such a mean guy.
- # [11:56] <mut> ewwww moist
- # [11:56] <workmad3> you need to get a troutslap right :P
- # [11:57] <mut> ah im on a java applet, no troutslaps
- # [11:57] <workmad3> well, I just type em in manuallp
- # [11:57] <workmad3> *manually
- # [11:57] * jgraham feels his game may have been lost in YAMPITS
- # [11:57] <workmad3> but I think mIRC used to have a /slap command to do it for you :)
- # [11:57] <mut> show a man a troutslap button, he will troutslap for a day, teach a man /me, and he will troutslap for life
- # [11:58] <beowulf> lol
- # [11:58] <gsnedders> jgraham: That's what you get for posting arbitary Unicode codepoints
- # [11:59] <jgraham> They're not arbitay. That's the point :)
- # [11:59] <gsnedders> Well, seeming I'm forbidden from playing, you could probably guess I know what they are.
- # [12:00] * Quits: surkov (~surkov@client-66-24.sibtele.com) (Quit: surkov)
- # [12:00] <annevk> jgraham, for that I would have to be funny
- # [12:00] <beowulf> jgraham: ok, explain the game, i didn't get to kill or blow anyone up
- # [12:01] <Philip`> Google is worringly fast
- # [12:01] <jgraham> annevk: Now you confused me
- # [12:01] <gsnedders> Go annevk!
- # [12:01] <Philip`> I searched for jgraham's string and it found the IRC logs from here
- # [12:02] * Quits: maikmerten (~merten@vpn2119.itmc.tu-dortmund.de) (Ping timeout: 240 seconds)
- # [12:02] <jgraham> That's how Hixie reads irc
- # [12:04] * annevk waits for jgraham to implode
- # [12:05] * mut sidesteps away from jgraham
- # [12:06] * annevk advices people with nicks starting with a "j" to invoke /nick
- # [12:07] <zcorpan> jgraham: is it carakan?
- # [12:07] <gsnedders> zcorpan: yes.
- # [12:07] <zcorpan> yay
- # [12:08] * Quits: wakaba_0 (~wakaba_@112-68-244-233.eonet.ne.jp) (Quit: Leaving...)
- # [12:09] <annevk> MessagePort.onmessage is somewhat ugly
- # [12:09] <annevk> but I guess it works
- # [12:11] <jgraham> zcorpan: Specifically is is the word "carakan" spelt out in Carakan symbols
- # [12:13] <jgraham> Sadly I can't find any fonts with support for it
- # [12:17] <Philip`> jgraham: Could probably make one easily by renumbering the font in http://hanacaraka.fateback.com/dok&down.htm
- # [12:20] <jgraham> Intersting
- # [12:21] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 264 seconds)
- # [12:22] <Philip`> Not really, because there's no reason to ever read or write anything in that language
- # [12:24] <jgraham> Sure there is. Just 30 minutes ago it would have helped you understand this very channel
- # [12:32] * Joins: mpt (~mpt@canonical/mpt)
- # [12:38] <gsnedders> Philip`: That's what I thought yesterday.
- # [12:38] <gsnedders> Philip`: If you're in school in Java it's useful
- # [12:43] * Joins: maikmerten (~merten@vpn2119.itmc.tu-dortmund.de)
- # [12:44] * Joins: Utkarsh (~admin@117.201.88.25)
- # [12:45] * Quits: maikmerten (~merten@vpn2119.itmc.tu-dortmund.de) (Client Quit)
- # [12:48] <virtuelv> Opera's IRC client has /slap which slaps you around a bit with a wet trout
- # [12:49] <virtuelv> Aren't google going to start realtime indexing of results, soon?
- # [12:49] <virtuelv> as in you can use PubSubHubbub
- # [12:50] <jgraham> Yes
- # [12:52] * Joins: surkov (~surkov@client-66-24.sibtele.com)
- # [12:52] * zcorpan slaps a large trout around a bit with virtuelv
- # [12:53] * jgraham thinks he has accidentially discovered that there are two bands called Camera Obscura
- # [12:53] <gsnedders> By Spotify being confused
- # [12:53] <gsnedders> ?
- # [12:53] <zcorpan> virtuelv: it's large, not wet
- # [12:53] <jgraham> gsnedders: Yes
- # [12:53] <gsnedders> I see that too often
- # [12:54] <jgraham> It's a little jarring when you go from melodic Scottish pop to... something
- # [12:54] <jgraham> s/pop/indie pop/ or something
- # [12:57] <jgraham> Ah "post hardcore" apparentley
- # [12:57] <jgraham> At least according to wikipedia
- # [12:57] <gsnedders> Oh dear.
- # [12:57] * Joins: Michelangelo (~Michelang@93-42-13-51.ip84.fastwebnet.it)
- # [12:57] <jgraham> Oh dear isn't even close
- # [12:58] * Quits: surkov (~surkov@client-66-24.sibtele.com) (Quit: surkov)
- # [13:00] * Joins: surkov (~surkov@client-66-24.sibtele.com)
- # [13:09] * Quits: annevk (~annevk@5355737B.cable.casema.nl) (Read error: Connection reset by peer)
- # [13:09] * Joins: annevk (~annevk@5355737B.cable.casema.nl)
- # [13:10] * Joins: drunknbass_work (~aaron@cpe-76-173-195-145.socal.res.rr.com)
- # [13:12] * Joins: JusticeFries_ (~justicefr@99-202-247-234.pools.spcsdns.net)
- # [13:14] * Quits: Utkarsh (~admin@117.201.88.25) (Ping timeout: 268 seconds)
- # [13:14] * Quits: peol (~andree@unaffiliated/peol) (Ping timeout: 245 seconds)
- # [13:15] * Quits: JusticeFries (~justicefr@65.100.130.168) (Ping timeout: 264 seconds)
- # [13:15] * JusticeFries_ is now known as JusticeFries
- # [13:16] * Joins: Guest58443 (~andree@c-83-233-148-231.cust.bredband2.com)
- # [13:17] * Quits: mat_t (~mattomasz@91.189.88.12) (Remote host closed the connection)
- # [13:17] * Joins: mat_t (~mattomasz@91.189.88.12)
- # [13:19] * Joins: Utkarsh (~admin@117.201.82.81)
- # [13:21] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [13:24] * Quits: Guest58443 (~andree@c-83-233-148-231.cust.bredband2.com) (Ping timeout: 265 seconds)
- # [13:25] * Joins: Guest58443 (~andree@c-83-233-148-231.cust.bredband2.com)
- # [13:29] * Quits: Guest58443 (~andree@c-83-233-148-231.cust.bredband2.com) (Ping timeout: 240 seconds)
- # [13:29] * Joins: Guest58443 (~andree@c-83-233-148-231.cust.bredband2.com)
- # [13:34] * Joins: robreact (~chatzilla@c-75-68-177-155.hsd1.ma.comcast.net)
- # [13:35] * Joins: ROBOd (~robod@89.122.216.38)
- # [13:36] <mut> haha sweet, my canvas page works on my android phone! :)
- # [15:41] * Disconnected
- # [15:44] * Attempting to rejoin channel #whatwg
- # [15:44] * Rejoined channel #whatwg
- # [15:44] * Topic is 'WHATWG: http://www.whatwg.org/ -- logs: http://krijnhoetmer.nl/irc-logs/ -- stats: http://gavinsharp.com/irc/whatwg.html -- Please leave your sense of logic at the door, thanks!'
- # [15:44] * Set by annevk42 on Mon Oct 19 22:03:06
- # [15:45] <Lachy> it just seems like the DE proponents won't be happy with anything less than XML-style namespaces, despite having so many extensibility points in HTML5 already.
- # [15:45] <zcorpan> http://chikuyonok.ru/ambilight/
- # [15:46] <Lachy> nice.
- # [15:47] * Joins: LoneStar99 (~dmontalvo@adsl-76-211-219-55.dsl.hrlntx.sbcglobal.net)
- # [15:48] <gsnedders> Lachy: There's a lot of specs already written that are designed for the current namespace structure within the DOM, and none of the HTML5 extensbility points allow me to put, e.g., dc into HTML5
- # [15:48] <LoneStar99> Morning all!
- # [15:49] <Lachy> gsnedders, so? I consider that a feature, not a bug
- # [15:49] <gsnedders> Lachy: But what do I do when I want to add DC to my markup?
- # [15:49] <LoneStar99> Can anything be drawn on canvas which does not use " beginPath(); "?
- # [15:49] * Joins: ttepasse (~ttepasse@ip-95-222-120-117.unitymediagroup.de)
- # [15:50] <gsnedders> Lachy: So that I can take my HTML document and pass the DOM into my existing toolchain?
- # [15:50] <Lachy> what do you want to add DC markup for in the first place, which isn't catered for by existing metadata elements in HTML, or which couldn't be addressed through microformats or microdata?
- # [15:52] <gsnedders> Lachy: The summary of a section cannot be fetched programmatically; µf and µdata both require forks in my codebase at a DOM level for handling HTML differently to generic XML.
- # [15:52] <Philip`> LoneStar99: Not sure what you mean
- # [15:53] <Philip`> LoneStar99: You ought to use beginPath every time you start drawing a new path, but things like drawImage and fillRect don't use paths
- # [15:53] <Lachy> gsnedders, are you giving a serious use case here and actually arguing that we should support namespaces in HTML, or are you just being hypothetical?
- # [15:53] <LoneStar99> in other words, can a drawing "sketching" be done without using "beginPath();" "moveTo" and "lineTo"
- # [15:53] <Philip`> LoneStar99: You could do it by just drawing images or drawing lots of little rectangles, but that'd be a silly way to draw lines compared to using lineTo :-)
- # [15:53] <gsnedders> Lachy: I'm trying to show you there are serious use cases here, and that people do have codepaths to deal with these things and supporting the HTML 5 way of doing things leads to little gain but a lot of additional complexity.
- # [15:55] <Lachy> sure, but the additional complexity of trying to support namespaces in HTML, compared with the little gained by supported those largely obscure and insignificant cases in practice, proves it's just not worth it
- # [15:55] * Quits: jaket (~jake@210-84-14-245.dyn.iinet.net.au) (Quit: jaket)
- # [15:55] <gsnedders> No, the additional complexity _depends_ upon the serialization chosen.
- # [15:56] <Lachy> then don't choose HTML if you depend on XML-specific features
- # [15:56] <jgraham> Requiring namespaces introduces a lot of complexity for authors
- # [15:56] <jgraham> By comparison I have rather little sympathy for implementors
- # [15:56] <gsnedders> Lachy: Feeds online are not an obscure or insignificant case, and currently require duplicated data
- # [15:57] <gsnedders> jgraham: Indeed, I think there are plenty of ways to cope with namespaces without additional complexity for authors in the pure-HTML case.
- # [15:57] <Lachy> gsnedders, wtf do feeds have to do with supporting namespaces in the HTML serialisation?
- # [15:57] <jgraham> e.g. not having namespaces?
- # [15:57] * Joins: jaket (~jake@210-84-14-245.dyn.iinet.net.au)
- # [15:57] <jgraham> (and I also don't get the relevance of feeds)
- # [15:58] <LoneStar99> Philip`: how would I be able to drawing a sketching "drawing" tons of rectangles?
- # [15:58] <LoneStar99> with
- # [15:58] <gsnedders> Lachy: Why do I have to post both an HTML and Atom edition of my blog for feed readers? Why can feed readers not programmatically read content from the HTML?
- # [15:58] <Philip`> gsnedders: Because HTML parsers are rubbish and buggy
- # [15:59] <Philip`> or slow
- # [16:00] <jgraham> gsnedders: They can. There is no problem here
- # [16:00] <gsnedders> Philip`: All OS X feed readers have a decent HTML parser available at an OS level; I presume the same is true on Windows with mshtml.ddl
- # [16:00] <gsnedders> jgraham: But they cannot extract all the semantics they can get with Atom
- # [16:01] <jgraham> But DE wouldn't magically make that happen because in practice no one would use the extensions anyway
- # [16:01] <Philip`> gsnedders: Does it provide an actual standalone HTML parser than gives you back a DOM and is just as easy to use as XML parser libraries?
- # [16:01] <jgraham> An author that cares can already use the HTML->Atom conversion algorithm to get almost everything
- # [16:01] <LoneStar99> Philip': issue I have with "beginPath();" is that my code used to work without a "moveTo();" the code now, needs a " moveTo();" and notice on drawings, line are automatically connected when they should not be connected
- # [16:02] <gsnedders> Philip`: My memory from when I looked at it before was that it wasn't very hard.
- # [16:03] * Quits: Lachy (~Lachlan@southampton.perfect-privacy.com) (*.net *.split)
- # [16:03] * Quits: borismus (~borismus@bl10-181-149.dsl.telepac.pt) (*.net *.split)
- # [16:03] * Quits: Kuruma (~Kuruman@p22091-ipngn1401marunouchi.tokyo.ocn.ne.jp) (*.net *.split)
- # [16:03] * Quits: Necrathex (~bleptop@212-123-163-12.ip.telfort.nl) (*.net *.split)
- # [16:03] * Quits: shepazu (~schepers@adsl-162-175-34.rmo.bellsouth.net) (*.net *.split)
- # [16:05] * Joins: Lachy (~Lachlan@southampton.perfect-privacy.com)
- # [16:05] * Quits: tametick (~chatzilla@chello084114134061.3.15.vie.surfer.at) (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115132715])
- # [16:09] * Joins: borismus (~borismus@bl10-181-149.dsl.telepac.pt)
- # [16:09] * Joins: Kuruma (~Kuruman@p22091-ipngn1401marunouchi.tokyo.ocn.ne.jp)
- # [16:09] * Joins: Necrathex (~bleptop@212-123-163-12.ip.telfort.nl)
- # [16:09] * Joins: shepazu (~schepers@adsl-162-175-34.rmo.bellsouth.net)
- # [16:10] * Quits: jaket (~jake@210-84-14-245.dyn.iinet.net.au) (Quit: jaket)
- # [16:11] * Joins: aroben (~aroben@unaffiliated/aroben)
- # [16:13] <Lachy> gsnedders, there have been various attempts at doing that (hAtom, the "extract an Atom feed" algorithm in HTML5), but so far it seems the market isn't really interested in pushing those kinds of techniques. Besides having a CMS generate an Atom feed automatically is a solved problem that authors just don't have to worry about.
- # [16:17] <gsnedders> So duplicated data isn't a problem when we have tools?
- # [16:20] <Lachy> if it wasn't already a solved problem, I'd care more about the duplication
- # [16:22] * Quits: paul_irish (~paul_iris@32.152.9.176) (Ping timeout: 252 seconds)
- # [16:26] * Joins: paul_irish (~paul_iris@72.165.117.168)
- # [16:29] <Philip`> gsnedders: Data isn't duplicated - there's a single copy of each blog post in the database
- # [16:29] <Philip`> and so you can avoid all the problems like duplicates getting out of sync with each other
- # [16:30] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 252 seconds)
- # [16:31] * Quits: Creap (~creap@83.218.67.122) (Remote host closed the connection)
- # [16:32] * Joins: Heimidal (~heimidal@66.184.176.26)
- # [16:32] * Quits: Heimidal (~heimidal@66.184.176.26) (Changing host)
- # [16:32] * Joins: Heimidal (~heimidal@unaffiliated/heimidal)
- # [16:33] * Joins: peol (~andree@unaffiliated/peol)
- # [16:34] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [16:36] * Quits: peol (~andree@unaffiliated/peol) (Remote host closed the connection)
- # [16:40] * Quits: boblet (~boblet@p1072-ipbf36osakakita.osaka.ocn.ne.jp) (Quit: boblet)
- # [16:46] * Joins: robreact (~chatzilla@12.33.239.250)
- # [16:48] <mut> anyone know of a good canvas tutorial?
- # [16:53] <LoneStar99> mut: what u trying to do with canvas?
- # [16:54] <miketaylr> mut: http://dev.opera.com/articles/view/html-5-canvas-the-basics/ && https://developer.mozilla.org/en/Canvas_tutorial are pretty good
- # [16:54] <mut> im drawing staircases in canvas
- # [16:55] <mut> but just thinking of some other things to do, which are currently beyond me :P
- # [16:55] <LoneStar99> yeah, try the above links, those are the ones I have uded
- # [16:55] <LoneStar99> used
- # [16:55] <mut> thanks mike btw :)
- # [16:56] <mut> yea im sure I can do what i was planning, but I have had a few more ideas for usablility (zoom and drag functionality ala googlemaps)
- # [17:01] * Quits: Mau`werk (~ano@a80-101-46-164.adsl.xs4all.nl) (Quit: Disconnected...)
- # [17:06] * Quits: tndH (~Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com) (Ping timeout: 265 seconds)
- # [17:07] * Quits: paul_irish (~paul_iris@72.165.117.168)
- # [17:10] * Quits: robreact (~chatzilla@12.33.239.250) (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158])
- # [17:12] * Quits: maikmerten (~merten@ls5dhcp196.cs.uni-dortmund.de) (Remote host closed the connection)
- # [17:20] * Joins: tndH (~Rob@cpc2-leed18-0-0-cust427.leed.cable.ntl.com)
- # [17:21] <TabAtkins> Oh man, only 5 days before my lightcone envelopes HR222.
- # [17:23] * Quits: eighty4 (~eighty4@h-112-7.A163.corp.bahnhof.se) (Remote host closed the connection)
- # [17:23] <Philip`> http://thomas.loc.gov/cgi-bin/bdquery/z?d109:h.r.00222: - "To prohibit the expenditure of Federal funds to conduct or support research on the cloning of humans, and to express the sense of the Congress that other countries should establish substantially equivalent restrictions."
- # [17:24] <Philip`> TabAtkins: ^ That HR222?
- # [17:24] <TabAtkins> No, look for the first one involving stars.
- # [17:25] <Philip`> Oh
- # [17:26] <Philip`> Happy almost about 24.3rd birthday, then
- # [17:27] * Joins: Johnny_is_in_Ame (~johnnyisi@213-64-113-37-no97.tbcn.telia.com)
- # [17:28] <Dashiva> http://twitter.com/heycam/status/10003477514
- # [17:28] <Dashiva> Maybe I should tell heycam how buses in Norway don't play radio anymore because of inspectors from the local RIAA equivalent
- # [17:30] * Quits: mut (~mut@host86-183-215-176.range86-183.btcentralplus.com) (Ping timeout: 265 seconds)
- # [17:32] * Joins: Sidnicious (~Sidney@pdpc/supporter/professional/sidney)
- # [17:40] * Quits: Utkarsh (~admin@117.201.81.228) (Read error: Connection reset by peer)
- # [17:40] * Quits: mat_t (~mattomasz@91.189.88.12) (Quit: This computer has gone to sleep)
- # [17:41] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 256 seconds)
- # [17:42] * Joins: dave_levin (~dave_levi@nat/google/x-yxtcxrvheccdazbz)
- # [17:42] * Quits: GarethAdams|Work (~GarethAda@pdpc/supporter/active/GarethAdams) (Quit: GarethAdams|Work)
- # [17:48] * Joins: Utkarsh (~admin@117.201.87.12)
- # [17:54] * Joins: mut (~mut@host86-181-136-52.range86-181.btcentralplus.com)
- # [17:54] * Joins: mpt (~mpt@canonical/mpt)
- # [17:55] * Parts: Johnny_is_in_Ame (~johnnyisi@213-64-113-37-no97.tbcn.telia.com)
- # [17:55] <mut> hmm opera dosent seem to handle save() and restore() when combined with scale()...well not the same as firefox or ie +excanvas
- # [17:56] <Philip`> The problem might be that it applies the transformation when you call stroke/fill, instead of applying it when you're adding points to the path
- # [17:56] <Philip`> (so if you change the transformation between constructing the path and stroking/filling then it'll break)
- # [18:10] * Joins: Maurice` (copyman@5ED548D4.cable.ziggo.nl)
- # [18:10] * Quits: Necrathex (~bleptop@212-123-163-12.ip.telfort.nl) (Ping timeout: 258 seconds)
- # [18:13] * Quits: zcorpan (~zcorpan@c-029de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [18:18] * Quits: jorlow (~jorlow@nat/google/x-chjyczifkgjkdznm) (Quit: jorlow)
- # [18:19] <AryehGregor> Where are the W3C Editor's Drafts?
- # [18:19] <AryehGregor> They seem to be cunningly hidden.
- # [18:19] <AryehGregor> Even the link on the HTMLWG page to the latest editor's draft links to a WD.
- # [18:20] <Philip`> http://dev.w3.org/html5/ ?
- # [18:21] <AryehGregor> Oh, wait, I get it.
- # [18:21] <Philip`> I think the ones like http://dev.w3.org/html5/spec/ just haven't been changed back to the ED colours yet
- # [18:21] <AryehGregor> The latest editor's drafts are actually WDs right now?
- # [18:21] * Joins: jorlow (~jorlow@74.125.57.57)
- # [18:21] <AryehGregor> Or something.
- # [18:21] * Joins: cying (~cying@70.90.171.153)
- # [18:24] * Quits: pesla (~retep@procurios.xs4all.nl) (Quit: ( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com ))
- # [18:25] * Quits: lazni (~lazni@118.71.114.17) (Quit: Leaving.)
- # [18:25] <Philip`> AryehGregor: Yes
- # [18:25] <Philip`> They were changed in e.g. http://dev.w3.org/cvsweb/html5/spec/index.html.diff?r1=1.807&r2=1.808
- # [18:26] <Philip`> ("front matter updates for publication this week", 2.5 weeks ago)
- # [18:26] <Philip`> and will presumably be changed back soon
- # [18:33] * Joins: ap_ (~ap@17.246.19.5)
- # [18:33] * ap_ is now known as ap
- # [18:34] <LoneStar99> Philip': you know of a tutorial, of how to draw a lines with tons of squares, like you mentioned before?
- # [18:35] * Quits: JoePeck (~JoePeck@c-67-188-171-45.hsd1.ca.comcast.net) (Read error: Operation timed out)
- # [18:35] <Philip`> LoneStar99: I expect there's lots of things talking about how to implement line rasterization algorithms, but it seems like a terrible idea :-)
- # [18:36] <LoneStar99> Philip: it does, but i know of an app, that does it and works really well...
- # [18:37] <annevk> omg http://www.w3.org/Bugs/Public/show_bug.cgi?id=9197
- # [18:37] <annevk> evil
- # [18:37] <Philip`> Using beginPath/moveTo/lineTo is the right way to draw lines, and it should be able to do everything you need, so if your code has bugs then you just need to fix those bugs
- # [18:37] * Joins: JoePeck (~JoePeck@c-67-188-171-45.hsd1.ca.comcast.net)
- # [18:38] <LoneStar99> Philip`: the thing it might not be my app, it might be the OS and need to find a work around...
- # [18:41] <Philip`> That seems unlikely
- # [18:41] <LoneStar99> tried everything... it just seems that my app randomly begins to connect lines and i think it has to do with "context.moveTo(this.previous_x, this.previous_y);" but it need the line to work...
- # [18:43] <Philip`> It sounds like you just have a bug somewhere, but I don't know what your code is doing so I have no idea where it might be wrong
- # [18:45] * jcranmer is now known as jcranmer|away
- # [18:46] <LoneStar99> Philip' http://pastebin.com/uNxvLdL4
- # [18:50] * Joins: sbublava (~stephan@77.119.102.101.wireless.dyn.drei.com)
- # [18:51] * Quits: mpt (~mpt@canonical/mpt) (Quit: Ex-Chat)
- # [18:51] <Philip`> LoneStar99: You need to set previous_x and previous_y in mousedown, otherwise they'll be left as whatever they were in the last mousemove even if you released the mouse, I guess
- # [18:53] * Quits: Lachy (~Lachlan@southampton.perfect-privacy.com) (Quit: This computer has gone to sleep)
- # [18:53] * Joins: mlpug (~mlpug@a88-115-164-40.elisa-laajakaista.fi)
- # [18:54] <LoneStar99> Philip': have tried that and it still begins to screw up after awhile
- # [18:55] * Quits: JonathanNeal (~JonathanN@99-59-124-67.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 268 seconds)
- # [18:55] <TabAtkins> Tried logging the events and the values they see for previous_x and previous_y?
- # [18:56] * Joins: weinig (~weinig@17.246.18.54)
- # [18:56] <Philip`> LoneStar99: By the way, why is the drawImage line there?
- # [18:56] <Philip`> Also, why is the stroke() not at the end of mousemove?
- # [18:58] * Joins: tantek (~tantek@70-36-139-7.dsl.dynamic.sonic.net)
- # [18:58] <tantek> Hixie, does microdata itemref permit referencing an id of an ancestor?
- # [18:58] <tantek> e.g. <span itemscope id=a><span itemprop=turtle itemscope id=b itemref=a></span></span>
- # [18:59] <TabAtkins> It might run afoul of the cycle-breaking algo, but there's no explicit restriction against such a thing.
- # [18:59] <TabAtkins> I haven't kept up with the cycle algo, though.
- # [18:59] <TabAtkins> foolip would have more info, I think.
- # [18:59] <tantek> TabAtkins - what cycle breaking algo? none specified here: http://www.w3.org/TR/microdata/#attr-itemref
- # [19:00] <tantek> it just says "a list of additional elements to crawl to find the name-value pairs of the item."
- # [19:01] <tantek> which in the example above, gives you infinitely nested items, each with a turtle property whose value is the next nested item with a turtle property etc.
- # [19:01] <tantek> turtles all the way down ;)
- # [19:01] <tantek> when do you stop crawling?
- # [19:01] <LoneStar99> Philip': i makes things look anti-aliasing
- # [19:02] <TabAtkins> tantek: http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#associating-names-with-items
- # [19:02] <TabAtkins> Dunno if this is the latest version of the cycle-breaker. You'd have to ask foolip, or get Hixie.
- # [19:03] <tantek> ah - ok: If root is in memory, then the algorithm fails; abort these steps.
- # [19:03] * Joins: drunknbass_work (~aaron@pool-71-106-110-90.lsanca.dsl-w.verizon.net)
- # [19:03] * Joins: dglazkov (~dglazkov@nat/google/x-zxcqovrrjxvknprn)
- # [19:03] * Joins: Johnny_America (~johnnyisi@213-64-113-37-no97.tbcn.telia.com)
- # [19:03] <tantek> therefore microdata effectively makes referencing an id of an ancestor a NOP
- # [19:04] <TabAtkins> If the ancestor is already part of the item, yes.
- # [19:04] <TabAtkins> If it's an ancestor in the DOM, higher up than the start of the item, though, then should be okay.
- # [19:04] <tantek> sure
- # [19:04] <tantek> microformats include-pattern has the same restriction
- # [19:05] <tantek> but I didn't see it in the W3C microdata draft
- # [19:05] <tantek> so I wondered if Ian had somehow permitted itemref inclusion of ancestors
- # [19:05] <tantek> apparently not
- # [19:05] <TabAtkins> Is that algo in the w3c draft, or are the two versions differeing significantly?
- # [19:06] * Quits: weinig (~weinig@17.246.18.54) (Remote host closed the connection)
- # [19:06] <LoneStar99> Philip': Maybe not, the drawImage stuff does nothing from i can see
- # [19:06] * Joins: weinig (~weinig@2620:0:1b00:1191:223:32ff:feaf:7f36)
- # [19:07] <tantek> TabAtkins - the w3c draft says the same: http://www.w3.org/TR/microdata/#associating-names-with-items
- # [19:07] <TabAtkins> kk.
- # [19:07] <tantek> I just didn't find it because it doesn't reference itemref explicitly
- # [19:07] <tantek> itemref on an ancestor being a NOP is a side effect you have to figure out from the algo
- # [19:07] <tantek> rather than being explicit
- # [19:07] <TabAtkins> Yes.
- # [19:07] <tantek> which is going to confuse authors
- # [19:08] <tantek> when they ask why doesn't this work
- # [19:08] <TabAtkins> The simple and obvious answer would be "because that would make an infinite loop, don't do that".
- # [19:08] <TabAtkins> You don't need to point them at the algo for that.
- # [19:10] <tantek> much better to describe it up front IMHO
- # [19:10] <tantek> e.g.
- # [19:10] <tantek> http://microformats.org/wiki/include-pattern#in_general
- # [19:10] <tantek> To prevent infinite loops, if a class="include" refers to itself or to an ancestor in the parse tree, then it is ignored and has no effect on the parser.
- # [19:10] <LoneStar99> are there any webOS developers here?
- # [19:11] * aroben is now known as aroben|phone
- # [19:11] <TabAtkins> tantek: But the situation is more subtle with microdata, because it permits reference to ancestors; it merely prevents such a reference from causing an infinite loop.
- # [19:11] <tantek> LoneStar99 try #webkit
- # [19:12] <tantek> TabAtkins - not true - the ancestor is already in memory from the parse in progress
- # [19:12] <tantek> thus the reference to ancestor immediately fails in step 1
- # [19:12] <tantek> assuming you're parsing microdata from the root of document downward
- # [19:13] <tantek> which all the "converting to ..." (insert format here) algorithms do
- # [19:13] <LoneStar99> tantek: there is a webos channel, but wanted to see if someone could see the issues i see with my code... but anyways time for lunch! thanks for all the help be back later
- # [19:13] <tantek> LoneStar99 - good to know!
- # [19:14] * Quits: Johnny_America (~johnnyisi@213-64-113-37-no97.tbcn.telia.com)
- # [19:14] * Joins: JonathanNeal (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com)
- # [19:16] <tantek> btw - given that itemref causes an actual crawl of the targets of the itemref it is not really a "ref" (like href), it is more like a "src" (like <img src>)
- # [19:16] <tantek> itemsrc would more accurately convey what itemref does
- # [19:16] <TabAtkins> tantek: I believe that that algo starts by assuming the root is an item, that is, it has @itemscope.
- # [19:17] <tantek> TabAtkins - sure - but that makes no difference to the breaking of recursion
- # [19:17] <tantek> or ancestral reference
- # [19:17] <tantek> alternatively, iteminclude would also better convey what itemref does
- # [19:18] * Joins: JonathanNeal_oww (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com)
- # [19:18] <TabAtkins> <div id=foo itemprop=foo>foo <div itemscope itemref=foo></div></div> would affect it, wouldn't it?
- # [19:18] * Quits: JonathanNeal_oww (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com) (Read error: Connection reset by peer)
- # [19:18] * Joins: JonathanNeal_oww (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com)
- # [19:20] * Quits: JonathanNeal (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com) (Ping timeout: 252 seconds)
- # [19:21] <tantek> TabAtkins - yes - not a particularly useful case though
- # [19:21] <tantek> as typically you get a need in nested objects to refer to (include) a common parent object
- # [19:21] <TabAtkins> No, but that's the reason why Ian often forgoes prose descriptions of algos - they don't hit all cases.
- # [19:22] <tantek> sure, but then that makes it harder for authors
- # [19:22] <tantek> authors don't typically "get" the procedural descriptions of the algos
- # [19:22] <TabAtkins> Indeed.
- # [19:23] <tantek> and one of the claims of microdata is that it is "easier" for authors
- # [19:23] <tantek> thus I would say that claim is refuted by this
- # [19:23] * Joins: Johnny_America (~johnnyisi@213-64-113-37-no97.tbcn.telia.com)
- # [19:23] <tantek> TabAtkins - if you want to see a discussion of a real world example of nested objects referring to a parent object, /join #microformats
- # [19:24] <tantek> we're discussing hProduct + hReview there now
- # [19:24] <TabAtkins> Oh, I don't doubt the use-case. I use circularly-nested data structures all the time.
- # [19:24] <tantek> all the time?
- # [19:24] <tantek> or are you being facetious ;)
- # [19:24] <TabAtkins> No, I really do use them a lot.
- # [19:25] <TabAtkins> It's very useful to embed a reference to the parent in a child.
- # [19:26] <tantek> a reference yes. but an include no. and itemref is an include, not a reference. hence my point about terminology.
- # [19:26] <TabAtkins> That's valid.
- # [19:27] <TabAtkins> Then suggest some accurate prose, or suggest a change to the algo to reflect the simpler prose.
- # [19:27] <TabAtkins> Such as disallowing all ancestor references.
- # [19:27] * TabAtkins goes to lunch.
- # [19:28] <JonathanNeal_oww> Hey all.
- # [19:28] * JonathanNeal_oww is now known as JonathanNeal
- # [19:28] <JonathanNeal> I'm trying to come up with practical naming conventions for the IDs and Classnames in my layout template.
- # [19:29] <JonathanNeal> I was trying to follow the ARIA roles list to name most of my elements.
- # [19:44] * Quits: Heimidal (~heimidal@unaffiliated/heimidal) (Remote host closed the connection)
- # [19:52] * Joins: robreact (~chatzilla@12.33.239.250)
- # [19:53] * Joins: taf2_ (~taf2@173-13-232-33-WashingtonDC.hfc.comcastbusiness.net)
- # [19:56] * Quits: taf2 (~taf2@173-13-232-33-WashingtonDC.hfc.comcastbusiness.net) (Ping timeout: 264 seconds)
- # [19:56] * taf2_ is now known as taf2
- # [19:56] * aroben|phone is now known as aroben
- # [19:59] * Joins: weinig_ (~weinig@17.246.18.54)
- # [20:02] * Quits: weinig (~weinig@2620:0:1b00:1191:223:32ff:feaf:7f36) (Ping timeout: 248 seconds)
- # [20:02] * weinig_ is now known as weinig
- # [20:02] * Joins: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net)
- # [20:06] <Philip`> JonathanNeal: I suggest using boys' names for classes and girls' names for IDs
- # [20:06] <JonathanNeal> Ha.
- # [20:06] <Philip`> Helps to keep them easily distinguishable
- # [20:06] <JonathanNeal> I found an ARIA name.
- # [20:06] <JonathanNeal> role="main" so I named it main.
- # [20:15] <Hixie> tantek: please send microdata feedback to the list or use the review comments tool in the whatwg version to file a bug so i don't lose it -- thanks
- # [20:17] * Joins: dbaron (~dbaron@nat/mozilla/x-pqlasfqorrynptkw)
- # [20:21] * Quits: othermaciej (~mjs@c-69-181-42-237.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [20:22] * Joins: Heimidal (~heimidal@unaffiliated/heimidal)
- # [20:23] * Quits: pauld (~chatzilla@host86-140-162-84.range86-140.btcentralplus.com) (Ping timeout: 265 seconds)
- # [20:24] * Quits: zalan (~zalan@catv-89-135-108-81.catv.broadband.hu) (Ping timeout: 246 seconds)
- # [20:24] * Joins: zalan (~zalan@catv-89-135-108-81.catv.broadband.hu)
- # [20:25] * Quits: zalan (~zalan@catv-89-135-108-81.catv.broadband.hu) (Client Quit)
- # [20:26] * Joins: mpilgrim (~mark@adsl-150-136-104.rmo.bellsouth.net)
- # [20:26] <mpilgrim> I don't really understand the purpose of the "fallback" section in a cache manifest file
- # [20:27] <mpilgrim> i see the use case for the "explicit" section (stuff you need offline)
- # [20:27] <mpilgrim> and i see the use case for the "online whitelist" section (stuff like tracking CGI scripts that don't make sense offline)
- # [20:28] <mpilgrim> there's only one example in the spec of using a "fallback" section, and i don't fully understand it
- # [20:28] <mpilgrim> scratch that, i don't understand it at all
- # [20:30] <Hixie> imagine a site like flickr
- # [20:30] <Hixie> which has one page per image
- # [20:31] <Hixie> now imagine the user, while offline, adds a bunch of images
- # [20:31] <Hixie> and follows links to those images
- # [20:31] <Hixie> if we didn't have the fallback section, those links would be dead
- # [20:32] <mpilgrim> ...
- # [20:32] * Quits: drunknbass_work (~aaron@pool-71-106-110-90.lsanca.dsl-w.verizon.net) (Quit: drunknbass_work)
- # [20:33] * Joins: drunknbass_work (~aaron@pool-71-106-110-90.lsanca.dsl-w.verizon.net)
- # [20:33] <mpilgrim> ok, so offline flickr
- # [20:34] <mpilgrim> suppose http://www.flickr.com/photos/f8dy/ links to a manifest file
- # [20:35] <Hixie> crap meeting gotta go
- # [20:36] <mpilgrim> http://www.flickr.com/photos/f8dy/327774195/ (and, say, 99 other recent photo pages) is listed in the explicit section
- # [20:36] <mpilgrim> along with http://farm1.static.flickr.com/142/327774195_2d2b67753e.jpg which is the image on that page
- # [20:39] <tantek> Hixie, will do. For reference, my feedback items are described here: http://krijnhoetmer.nl/irc-logs/whatwg/20100305#l-781 I'll clean up that text and send it to public-html.
- # [20:40] * tantek was trying to figure out what about that photo of towels over mpilgrim's feed made it "explicit".
- # [20:40] <mpilgrim> haha
- # [20:41] <mpilgrim> pooh porn
- # [20:41] <mpilgrim> rule 34 predicts its existence
- # [20:43] * aroben is now known as aroben|away
- # [20:43] * Joins: pauld (~chatzilla@host86-140-162-84.range86-140.btcentralplus.com)
- # [20:43] * Quits: pauld (~chatzilla@host86-140-162-84.range86-140.btcentralplus.com) (Remote host closed the connection)
- # [20:44] * Joins: eighty4 (~eighty4@h-60-214.A163.priv.bahnhof.se)
- # [20:44] <mpilgrim> a fun fact about the cache manifest: if there are no explicit section headers, all the listed resources are implicitly in the "explicit" section
- # [20:45] <mpilgrim> i tried to explain this with a straight face for my book, but i failed
- # [20:46] * Joins: mat_t (~mattomasz@ppp-0-155.edin-a-1.access.uk.tiscali.com)
- # [20:46] * Quits: weinig (~weinig@17.246.18.54) (Remote host closed the connection)
- # [20:46] * Joins: weinig (~weinig@2620:0:1b00:1191:223:32ff:feaf:7f36)
- # [20:52] * Quits: weinig (~weinig@2620:0:1b00:1191:223:32ff:feaf:7f36) (Remote host closed the connection)
- # [20:53] * Joins: weinig (~weinig@2620:0:1b00:1191:223:32ff:feaf:7f36)
- # [20:54] * Joins: michaeln (~michaeln@nat/google/x-llqqemrbkwmlmjpa)
- # [20:57] * Quits: sbublava (~stephan@77.119.102.101.wireless.dyn.drei.com) (Quit: sbublava)
- # [20:59] * Quits: Johnny_America (~johnnyisi@213-64-113-37-no97.tbcn.telia.com)
- # [21:02] * Joins: sicking (~chatzilla@99-196-93-197.cust.wildblue.net)
- # [21:02] * Quits: JonathanNeal (~JonathanN@rrcs-76-79-114-213.west.biz.rr.com) (Quit: Leaving)
- # [21:10] * Quits: sicking (~chatzilla@99-196-93-197.cust.wildblue.net) (Remote host closed the connection)
- # [21:11] * Quits: mpilgrim (~mark@adsl-150-136-104.rmo.bellsouth.net) (Ping timeout: 264 seconds)
- # [21:13] * Joins: othermaciej (~mjs@17.246.19.46)
- # [21:15] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [21:16] <knowtheory> Hey othermaciej :)
- # [21:16] <othermaciej> hello
- # [21:19] <knowtheory> are CSS animations incorporated into a component of HTML5 or into a new CSS standard?
- # [21:19] <knowtheory> I'm trying to figure out the degree of complexity and organizational capaobilities of CSS animations (basically, how one would work w/ 'em for complex examples)
- # [21:21] * Quits: mat_t (~mattomasz@ppp-0-155.edin-a-1.access.uk.tiscali.com) (Remote host closed the connection)
- # [21:23] * Quits: aroben|away (~aroben@unaffiliated/aroben) (Read error: Connection reset by peer)
- # [21:29] * Quits: mlpug (~mlpug@a88-115-164-40.elisa-laajakaista.fi) (Remote host closed the connection)
- # [21:32] <TabAtkins> knowtheory: CSS Animations are (unsurprisingly ^_^) a CSS Module.
- # [21:32] <knowtheory> TabAtkins: in HTML5 then? :D
- # [21:32] <TabAtkins> Haha.
- # [21:33] <knowtheory> hunh, exciting, http://www.w3.org/TR/css3-ui/ just crashed a bunch of tabs in chrome
- # [21:34] <knowtheory> yeah freaky, consistent crash on that page.
- # [21:34] <knowtheory> safari renders it fine though
- # [21:34] <TabAtkins> Huh, no crash for me. Windows, Chrome 4.
- # [21:35] <knowtheory> yeah osx 5.0.307.11 b
- # [21:35] <miketaylr> works fine in 5.0.345.0 (40651)/Mac
- # [21:35] <miketaylr> (well, chromium)
- # [21:35] <knowtheory> even more exciting! :)
- # [21:39] * Quits: tantek (~tantek@70-36-139-7.dsl.dynamic.sonic.net) (Quit: tantek)
- # [21:39] * Quits: mut (~mut@host86-181-136-52.range86-181.btcentralplus.com) (Ping timeout: 265 seconds)
- # [21:40] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [21:40] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [21:41] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 246 seconds)
- # [21:42] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [21:45] <knowtheory> ah there we go: http://dev.w3.org/csswg/css3-animations/
- # [21:48] * Joins: nessy (~Adium@124-168-170-167.dyn.iinet.net.au)
- # [21:48] * dave_levin is now known as dave_levin|afk
- # [21:50] <TabAtkins> knowtheory: Ah man, I'm sorry, I would have linked you to it immediately if I knew you were looking for it.
- # [21:51] <knowtheory> TabAtkins: no worries!
- # [21:56] * Quits: pmuellr (~pmuellr@nat/ibm/x-kxswklpqxzelthrp) (Quit: pmuellr)
- # [21:57] * Joins: roc (~roc@121-72-212-170.dsl.telstraclear.net)
- # [22:01] * Joins: mpilgrim (~mark@rrcs-98-101-146-174.midsouth.biz.rr.com)
- # [22:05] * Joins: tantek (~tantek@70-36-139-7.dsl.dynamic.sonic.net)
- # [22:07] <tantek> I did encode actual example uses of CSS3 UI properties in the spec itself - I wonder if that may be causing the crash - certainly was not intentional.
- # [22:10] * Joins: zcorpan (~zcorpan@c-3a98e355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [22:13] <knowtheory> tantek: it's all your fault!
- # [22:13] <knowtheory> since someone mentioned that chromium wasn't seeing that behavior
- # [22:13] <knowtheory> i figure it's just a bug in this version of chrome
- # [22:13] * Quits: zcorpan (~zcorpan@c-3a98e355.410-6-64736c14.cust.bredbandsbolaget.se) (Client Quit)
- # [22:15] <miketaylr> knowtheory: heh, i think you're right: http://miketaylr.com/post/bcbf19c8.png
- # [22:15] <miketaylr> i crash using the same version of chrome, but am fine in chromium
- # [22:16] <knowtheory> miketaylr: i filed a bug on the chromium tracker :)
- # [22:17] <miketaylr> cool
- # [22:17] * Joins: JusticeFries (~justicefr@2002:43ad:ef61:0:226:8ff:fedd:9464)
- # [22:18] * Quits: JusticeFries (~justicefr@2002:43ad:ef61:0:226:8ff:fedd:9464) (Remote host closed the connection)
- # [22:19] <knowtheory> miketaylr: http://code.google.com/p/chromium/issues/detail?id=37546
- # [22:19] <knowtheory> (also for you tantek if you are interested)
- # [22:20] * Joins: JusticeFries (~justicefr@2002:43ad:ef61:0:226:8ff:fedd:9464)
- # [22:22] * Quits: JusticeFries (~justicefr@2002:43ad:ef61:0:226:8ff:fedd:9464) (Remote host closed the connection)
- # [22:23] * Quits: mpilgrim (~mark@rrcs-98-101-146-174.midsouth.biz.rr.com) (Read error: Connection reset by peer)
- # [22:24] * Joins: mpilgrim (~mark@rrcs-98-101-146-174.midsouth.biz.rr.com)
- # [22:24] <knowtheory> man, that was fast, the bug i reported has already been triaged and assigned
- # [22:25] * Quits: daedb_ (~daed@h11n1fls34o986.telia.com) (Read error: Connection reset by peer)
- # [22:26] * Quits: ROBOd (~robod@89.122.216.38) (Quit: http://www.robodesign.ro)
- # [22:27] * Joins: daedb (~daed@h11n1fls34o986.telia.com)
- # [22:33] <dglazkov> knowtheory: speed is what we do :)
- # [22:33] <dglazkov> that didn't come out right
- # [22:34] <knowtheory> haha :D
- # [22:35] <mpilgrim> woohoo, i have a working offline web application
- # [22:36] <mpilgrim> whose sole purpose is to display information on whether or not it is a working offline web application
- # [22:38] <mpilgrim> it works in 2 browsers!
- # [22:39] <mpilgrim> my work here is done
- # [22:40] * Quits: gavin_ (~gavin@firefox/developer/gavin) (Ping timeout: 240 seconds)
- # [22:40] * Joins: gavin_ (~gavin@firefox/developer/gavin)
- # [22:41] * Quits: weinig (~weinig@2620:0:1b00:1191:223:32ff:feaf:7f36) (Read error: Operation timed out)
- # [22:46] * Joins: weinig (~weinig@17.246.18.54)
- # [22:46] <othermaciej> hawt
- # [22:46] <othermaciej> annevk: does html5-diffs have a bug component?
- # [22:50] * Quits: robreact (~chatzilla@12.33.239.250) (Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158])
- # [22:50] * Joins: jgornick (~joe@199.199.212.242)
- # [23:00] <mpilgrim> no, scratch that
- # [23:00] <mpilgrim> i can't get it to register updates in firefox
- # [23:01] <mpilgrim> http://diveintohtml5.org/examples/clock.html
- # [23:01] <mpilgrim> manifest is at http://diveintohtml5.org/examples/clock.html5cache
- # [23:01] <Hixie> why "html5"cache?
- # [23:01] <mpilgrim> firefox properly downloads it and can use it offline
- # [23:02] <mpilgrim> but when i update the JS file with new code and update the manifest file with a version-specific comment, it never picks up the updated resources
- # [23:02] <Hixie> does it try to fetch the manifest when you load the page?
- # [23:02] <mpilgrim> curl -I confirms that the etag and last-modified headers of the manifest file are changing
- # [23:03] <mpilgrim> oh bloody hell, my expires headers are wrong
- # [23:03] <othermaciej> what's the expiration on the manifest?
- # [23:03] <mpilgrim> yeah, just got there
- # [23:03] <mpilgrim> hang on
- # [23:07] * Quits: miketaylr (~miketaylr@38.117.156.163) (Remote host closed the connection)
- # [23:12] * Joins: temoto (~temoto@89-178-96-49.broadband.corbina.ru)
- # [23:15] <temoto> Hello. I want to try html5lib instead of BeautifulSoup to parse arbitrary HTML found on the web. What i'm [currently] interested is only about finding <a> elements and taking their href attribute value. (as opposed to keeping Soup interface) So which is the fastest way to iterate all <a> elements?
- # [23:16] * jcranmer|away is now known as jcranmer
- # [23:19] * Quits: tantek (~tantek@70-36-139-7.dsl.dynamic.sonic.net) (Quit: tantek)
- # [23:22] <mpilgrim> woohoo, http://diveintohtml5.org/examples/offline/clock.html works in 2 browsers!
- # [23:22] <mpilgrim> hixie: i don't know why i called it ".html5cache"
- # [23:23] <mpilgrim> i needed a unique file extension to set the content-type
- # [23:23] <Hixie> and you didn't like .manifest like the spec suggests? :-P
- # [23:24] <mpilgrim> i missed that
- # [23:24] <mpilgrim> that doesn't conflict with anything else in MIME-world?
- # [23:24] <Hixie> not to my knowledge
- # [23:25] <mpilgrim> ("MIME-world" reminds me of the underwater minus level in Super Mario Bros. -- hard to get into and impossible to win)
- # [23:32] <mpilgrim> while we're on the subject, do you have a suggestion for a MIME type for .ttf files?
- # [23:32] <Hixie> font/truetype?
- # [23:32] <Hixie> might need registering
- # [23:32] <mpilgrim> it's one of those MIME-world trick questions, i think
- # [23:33] <mpilgrim> AFAICT, there's nothing registered
- # [23:33] <mpilgrim> and all the experimental or vendor-specific alternatives are horrific
- # [23:33] <Hixie> ah. then you just volunteered to register it!
- # [23:33] <mpilgrim> apparently it doesn't matter because font-face-supporting browsers ignore the mime type
- # [23:34] <Hixie> yeah well
- # [23:34] <mpilgrim> but i got email complaints because my fonts were being served as text/plain, which is arguably the worst default ever
- # [23:34] * Hixie wishes we could abandon MIME types for anything that can be unambiguously identified by the leading bytes
- # [23:34] <mpilgrim> and judging by the online discussions i've found on the topic, registering it is impossible
- # [23:34] <Hixie> why is registering it impossible?
- # [23:35] <mpilgrim> maybe not theoretically impossible
- # [23:35] * Quits: taf2 (~taf2@173-13-232-33-WashingtonDC.hfc.comcastbusiness.net) (Quit: taf2)
- # [23:35] <mpilgrim> but no one has managed it yet
- # [23:35] * Quits: Maurice` (copyman@5ED548D4.cable.ziggo.nl)
- # [23:35] <mpilgrim> despite years of trying
- # [23:35] <mpilgrim> and no, i'm not volunteering to register it
- # [23:36] <mpilgrim> i don't need any more email from Those People
- # [23:37] * Quits: Michelangelo (~Michelang@93-42-13-51.ip84.fastwebnet.it) (Remote host closed the connection)
- # [23:38] <Hixie> <img alt="Stamp It" onerror="this.src='/icon.gif';" src="" align="left" border="0" height="32" width="32">
- # [23:38] <Hixie> wtf
- # [23:38] <mpilgrim> hooray for alt text!
- # [23:38] <mpilgrim> does that ever work?
- # [23:38] <mpilgrim> (the onerror part, i mean)
- # [23:41] <Hixie> apparently
- # [23:41] <Hixie> src="" triggers onerror, which sets the icon, or something
- # [23:41] <mpilgrim> awesome
- # [23:42] <mpilgrim> so you were explaining the fallback section of the manifest
- # [23:42] <mpilgrim> using flickr as an example
- # [23:42] <Hixie> yes
- # [23:42] <mpilgrim> i don't understand it yet
- # [23:43] * Quits: eighty4 (~eighty4@h-60-214.A163.priv.bahnhof.se) (Read error: Connection reset by peer)
- # [23:43] <Hixie> it lets you cache a small part of a site and have graceful fallback for the rest of the site while offline
- # [23:44] * Joins: eighty4 (~eighty4@h-60-214.A163.priv.bahnhof.se)
- # [23:44] * Joins: Lachy (~Lachlan@85.196.122.246)
- # [23:45] <mpilgrim> and by "graceful fallback" you mean "a page that says this page is not available offline"
- # [23:45] <mpilgrim> in lieu of a browser-level error message
- # [23:45] <mpilgrim> ?
- # [23:45] <Hixie> not necessarily; if you have the information locally to render the page, e.g. if bugzilla has a copy of the bug in its client-side database, you can just render the page locally
- # [23:46] <temoto> Hello. I want to try html5lib instead of BeautifulSoup to parse arbitrary HTML found on the web. What i'm [currently] interested is only about finding <a> elements and taking their href attribute value. (as opposed to keeping Soup interface) So which is the fastest way to iterate all <a> elements?
- # [23:46] * Joins: rauchg (~rauchg@75.101.111.130)
- # [23:46] * Quits: eighty4 (~eighty4@h-60-214.A163.priv.bahnhof.se) (Remote host closed the connection)
- # [23:47] <mpilgrim> that makes sense for bugzilla because each page is "show_bug.cgi?id=foo" and the only thing that changes is foo
- # [23:47] <mpilgrim> earlier you mentioned a hypothetical offline flickr
- # [23:47] <mpilgrim> flickr uses unique URLs for each photo page
- # [23:49] * Quits: othermaciej (~mjs@17.246.19.46) (Quit: othermaciej)
- # [23:49] <mpilgrim> are you saying that you could set up a wildcard so that all unknown (uncached) URLs got handled by a master page like show_photo.cgi?id=foo
- # [23:49] <Hixie> i just meant an image site in general, dunno abotu flickr specifically
- # [23:49] <mpilgrim> ?
- # [23:49] <Hixie> that's what the fallback stuff does, yes
- # [23:50] <mpilgrim> i see
- # [23:51] <mpilgrim> that was the missing link
- # [23:51] <mpilgrim> i didn't know that fallback URLs could be wildcards
- # [23:51] <mpilgrim> now i see the bit about "fallback namespace" and "URLs as prefix match patterns"
- # [23:51] <Hixie> they work the same as the online whitelist, but with a fallback url
- # [23:52] <mpilgrim> can i declare a specific URL in the explicit section that would also match a fallback namespace?
- # [23:52] <mpilgrim> like
- # [23:52] <mpilgrim> CACHE MANIFEST
- # [23:52] <mpilgrim> CACHE:
- # [23:52] <mpilgrim> images/cat.jpg
- # [23:53] <mpilgrim> FALLBACK:
- # [23:53] * Parts: temoto (~temoto@89-178-96-49.broadband.corbina.ru) ("Leaving")
- # [23:53] <mpilgrim> images/ missing.jpg
- # [23:53] <Hixie> what do you mean by "can i" exactly?
- # [23:54] <mpilgrim> will the browser cache images/cat.jpg and use it when i say <img src="images/cat.jpg"> ?
- # [23:54] <mpilgrim> the URL matches a resource listed in the explicit section, and also a fallback namespace listed in the fallback section
- # [23:54] <mpilgrim> which one wins?
- # [23:54] <Hixie> yes
- # [23:54] <Hixie> If a resource is listed in the explicit section or as a fallback entry in the fallback section, the resource will always be taken from the cache, regardless of any other matching entries in the fallback namespaces or online whitelist namespaces.
- # [23:54] <mpilgrim> ok
- # [23:56] <mpilgrim> now here's another question
- # [23:56] <mpilgrim> i've been trying to set up all of diveintohtml5.org as an offline web app
- # [23:56] <mpilgrim> but i don't want to do it by default
- # [23:57] <mpilgrim> i want you to click a link "go offline" and go to a page that gives a progress bar
- # [23:57] <mpilgrim> (in firefox this page would also display the prompt "do you want this site to store local data" or some such)
- # [23:57] <mpilgrim> (in safari there is apparently no prompt)
- # [23:57] <mpilgrim> IOW, i don't want every page to point to the manifest file
- # [23:58] <Hixie> if a page doesn't point to the manifest, it can't be cached for offline use
- # [23:58] <mpilgrim> but i want the go_offline.html page to point to ta manifest file that includes all the other HTML pages (and their scripts, stylesheets, and images)
- # [23:58] <Hixie> each page that is to work offline has to opt in to working offlien
- # [23:59] <mpilgrim> so page A *must* point to a manifest file in order to be used offline?
- # [23:59] <mpilgrim> even if page B points to a manifest file that includes page A?
- # Session Close: Sat Mar 06 00:00:00 2010
The end :)