/irc-logs / freenode / #whatwg / 2011-11-18 / end

Options:

  1. # Session Start: Fri Nov 18 00:00:00 2011
  2. # Session Ident: #whatwg
  3. # [00:00] * Joins: plutoniix (~plutoniix@ppp-58-11-132-136.revip2.asianet.co.th)
  4. # [00:05] * Joins: dbaron (~dbaron@60.234.54.74)
  5. # [00:07] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Read error: Connection reset by peer)
  6. # [00:07] * Joins: Phrogz (d8e47015@pdpc/supporter/professional/phrogz)
  7. # [00:08] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
  8. # [00:09] <jamesr_> Hixie, a time interval expressed as a # of seconds is really difficult to to convert to a human readable form. it's not actually possible to say what "January 14 2015 11:00:04" + 31556926 seconds will be
  9. # [00:09] <jamesr_> since leap second tables don't exist yet for 2015
  10. # [00:09] <Hixie> in practice, people ignore leap seconds
  11. # [00:10] <jamesr_> saying "plus one year" would actually be more machine readable, in that sense, although it wouldn't express a fixed number of seconds
  12. # [00:11] <Hixie> (in fact, in practice, outside of our datacenters, physics labs, and similar situations, most people are in fact unaware that leap seconds exist at all.)
  13. # [00:11] * jernoble is now known as jernoble|afk
  14. # [00:11] * Joins: tantek (~tantek@198.134.88.242)
  15. # [00:11] <jamesr_> well i figured if we were gonna go semantic web we might as well go full retard^Wpedantic
  16. # [00:12] <Hixie> we're not going semantic web :-)
  17. # [00:13] * Philip` wonders if the relevant use cases were listed somewhere (since presumably the desired behaviour is totally different if it's for e.g. calendar scheduling)
  18. # [00:14] <Hixie> yeah, in the wiki
  19. # [00:14] <Hixie> basically, the length of calendar appointments and music tracks
  20. # [00:14] <Hixie> and expressing those to a search engine
  21. # [00:14] <Hixie> or local page script
  22. # [00:15] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
  23. # [00:15] * Quits: Morphous (jan@unaffiliated/amorphous) (Ping timeout: 252 seconds)
  24. # [00:17] <Philip`> http://wiki.whatwg.org/wiki/Special:RecentChanges looks like an awful lot of spam :-/
  25. # [00:18] <rillian_> wiki spam has gotten terrible in the last few months
  26. # [00:18] <Hixie> AryehGregor: is there a way to disable user pages on media wiki, do you know?
  27. # [00:18] <rillian_> we have a bot posting all traffic to wiki.xiph.org to irc
  28. # [00:18] <rillian_> so we can nuke it as it comes in
  29. # [00:20] <tantek> regarding the wiki spam - based on the patterns I suspect it's coming from the same IP
  30. # [00:20] <tantek> (have seen similar problems and blocked per IP on the microformats wiki)
  31. # [00:21] <tantek> if someone more admin-like than me has access to the logs, we could probably do some IP specific blocking
  32. # [00:21] * Quits: gwicke (~gabriel@212.255.35.101) (Quit: Bye!)
  33. # [00:21] <tantek> rillian_ we have a similar bot for microformats.org/wiki posting wiki edits to #microformats
  34. # [00:22] <tantek> it's quite handy for both quickly purging spam, and seeing what areas have interest/activity
  35. # [00:23] <rillian_> yep. as long as the traffic isn't too hard
  36. # [00:23] <rillian_> er, heavy
  37. # [00:24] <tantek> hence my question about IP address - typically after blocking 1-2 IPs this stuff gets stopped.
  38. # [00:24] <tantek> I think the same spammer is attacking wiki.openwebfoundation.org
  39. # [00:24] <Hixie> i nuked a bunch of them
  40. # [00:24] <Hixie> anyone want admin privs?
  41. # [00:25] <Hixie> anyone not have admin privs? :-)
  42. # [00:25] <rillian_> sorry, have enough spam filters to clean already :(
  43. # [00:25] <Hixie> hehe
  44. # [00:25] <tantek> Hixie - I think I already have admin privs, but I'm not sure how to get the IP addresses of the folks creating spam accounts.
  45. # [00:26] <Hixie> i just block the accounts and check the "prevent this ip" checkbox
  46. # [00:26] <Hixie> it seems to do the right thing
  47. # [00:26] <tantek> hmm...
  48. # [00:26] <tantek> I thought that was the default - will double-check
  49. # [00:26] <Hixie> it is i think
  50. # [00:26] <rillian_> there's a special priv to be able to access the IP address table, iirc
  51. # [00:27] <tantek> Hixie - go ahead and max-out my admin privs if they're not already.
  52. # [00:27] <Hixie> looks like they are maxed out
  53. # [00:28] * Quits: tantek (~tantek@198.134.88.242) (Quit: tantek)
  54. # [00:29] <AryehGregor> Hixie, no specific feature allows that, but you could probably configure it that way.
  55. # [00:30] <Hixie> how about preventing creation of new pages for non-admin users?
  56. # [00:30] <Hixie> i don't mind us giving admin rights away to anyone who wants them, basically
  57. # [00:30] * Joins: Morphous (jan@unaffiliated/amorphous)
  58. # [00:30] <AryehGregor> Hixie, you should be able to do $wgNamespaceProtection[NS_USER] = 'protect' or something to stop non-admins from editing user pages.
  59. # [00:30] <Hixie> but just moving the bar to "you have to ask someone who is already an admin" would likely go a long way
  60. # [00:31] <Hixie> that would be a start i guess
  61. # [00:31] * Hixie pokes around
  62. # [00:31] <AryehGregor> I think you'd be best served installing better automatic spam account filters rather than trying to lock down the wiki more.
  63. # [00:31] <AryehGregor> Wikis become a lot less useful as they get locked down more.
  64. # [00:32] <Hixie> yeah, that would be good too
  65. # [00:32] <Hixie> anyone around want to do that?
  66. # [00:32] <Hixie> if anyone wants to volunteer to play with the wiki, mail me
  67. # [00:32] * Joins: tantek (~tantek@66-87-0-187.pools.spcsdns.net)
  68. # [00:32] * Quits: Dashiva (Dashiva@wikia/Dashiva) (Ping timeout: 245 seconds)
  69. # [00:33] <Hixie> should a duration of "P" be considered 0 seconds, or a failure?
  70. # [00:33] <Hixie> (same for "" and " ")
  71. # [00:33] <TabAtkins> I vote failure.
  72. # [00:33] <TabAtkins> Though, hm.
  73. # [00:33] <mkanat> For media?
  74. # [00:33] <TabAtkins> Maybe not.
  75. # [00:33] <TabAtkins> mkanat: No, for <time> durations.
  76. # [00:34] <mkanat> Ah. No opinion, then. :-)
  77. # [00:34] <TabAtkins> Hixie: Actually, I vote 0 seconds.
  78. # [00:34] <Hixie> on what grounds?
  79. # [00:34] <TabAtkins> To allow authoring cases like serializing an object containing duration pieces, and not having to worry about no duration pieces being passed.
  80. # [00:34] <Hixie> presumably you agree that "3s X" should return failure
  81. # [00:34] <Hixie> hm, good reason
  82. # [00:34] * Joins: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch)
  83. # [00:35] * Quits: Dashiva (Dashiva@84-72-45-52.dclient.hispeed.ch) (Changing host)
  84. # [00:35] * Joins: Dashiva (Dashiva@wikia/Dashiva)
  85. # [00:35] <TabAtkins> Yes, I agree with that.
  86. # [00:35] <Hixie> that argues for it being conforming, too
  87. # [00:35] <TabAtkins> Yeah, sure.
  88. # [00:35] <Hixie> not sure i would necessarily want to encourage authors to write <time></time> though
  89. # [00:35] <Hixie> and mean zero seconds
  90. # [00:35] <Hixie> as opposed to "not yet filled in"
  91. # [00:35] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Quit: shepazu)
  92. # [00:35] <zewt> do no browsers implement File with DataTransferItem yet, or is my test code just broken?
  93. # [00:35] <zewt> ("no" = chrome + firefox)
  94. # [00:36] <TabAtkins> Hixie: Make the lacuna value be something other than the empty string?
  95. # [00:36] <tantek> Btw I specifically included fixed point numbers for durations
  96. # [00:37] <tantek> P or "" should be invalid
  97. # [00:37] <tantek> It's more likely to be a typo than intended
  98. # [00:38] <tantek> 1.5h is slightly more human readable than 1h30m
  99. # [00:39] <TabAtkins> tantek: You think so? I'm split, but I think it's a corner case. Most decimal hours are less readable than h+m
  100. # [00:39] <tantek> Tabatkins yes I do think so. Based on publishing example seen
  101. # [00:40] <tantek> Examples*
  102. # [00:40] <smaug____> 1h30min is more readable, IMO
  103. # [00:41] <smaug____> that could be locale dependent
  104. # [00:42] <Hixie> 1h30 is the norm in locales like france, fwiw
  105. # [00:42] <Hixie> zewt: i'm not aware of any implementations, but i'm often the last to know
  106. # [00:42] <zewt> k
  107. # [00:42] <Phrogz> TabAtkins: Thanks for the mailing list clarification on SVG-in-IMG-in-Canvas. (Before I got spec-spanked by Boris.)
  108. # [00:42] <zewt> just wanted to make sure it wasn't implemented everywhere and I was doing something silly
  109. # [00:42] <Hixie> i think i'm gonna go with no time units being an error, and no fractions in non-second units, for now at least
  110. # [00:42] * Joins: tantek-ipod (~tantek@66-87-0-199.pools.spcsdns.net)
  111. # [00:44] * Quits: tantek (~tantek@66-87-0-187.pools.spcsdns.net) (Ping timeout: 252 seconds)
  112. # [00:46] * paul_irish is now known as paul_irish_
  113. # [00:46] * Joins: tantek (~tantek@66-87-7-92.pools.spcsdns.net)
  114. # [00:47] * Quits: smaug____ (~chatzilla@GGYGKMMDLIV.gprs.sl-laajakaista.fi) (Ping timeout: 258 seconds)
  115. # [00:48] * Quits: tantek-ipod (~tantek@66-87-0-199.pools.spcsdns.net) (Ping timeout: 240 seconds)
  116. # [00:48] <Hixie> i guess since we recently made ".1" a valid float value, "1m.1s" should be valid?
  117. # [00:48] <TabAtkins> Yes.
  118. # [00:48] <Hixie> hm, it looks kinda bad
  119. # [00:49] <TabAtkins> No, it's fine!
  120. # [00:49] <Hixie> as in, it looks like "1m. 1s"
  121. # [00:49] <zewt> (sigh, do I really have to convince someone that synchronous APIs in workers exist)
  122. # [00:49] <zewt> "mailing list busywork"
  123. # [00:50] <TabAtkins> zewt: That person doesn't disbelieve that sync APIs exist.
  124. # [00:50] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
  125. # [00:50] <zewt> sure seems to
  126. # [00:50] <TabAtkins> zewt: They think that they *shouldn't*, or maybe just that *this* sync API shouldn't.
  127. # [00:50] <TabAtkins> And I think that all the sync apis should be promise-based instead.
  128. # [00:50] <zewt> "Considering the current messaging API and the allowed host APIs, I strongly disagree." <- that guy
  129. # [00:51] <TabAtkins> I'm not sure what sentence is supposed to mean in the first place.
  130. # [00:51] <TabAtkins> Rather than writing a ranty explanatory email, perhaps ask him?
  131. # [00:52] <zewt> gmail sure makes it a challenge to trim quotes
  132. # [00:52] * Quits: tantek (~tantek@66-87-7-92.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  133. # [00:52] <zewt> delete a blank line, and an inner quote suddenly loses its block marker entirely
  134. # [00:52] <TabAtkins> zewt: Use solely plain text.
  135. # [00:52] <TabAtkins> Much easier.
  136. # [00:53] * TabAtkins apparently doesn't believe in guis.
  137. # [00:53] <zewt> then i have to toggle back and forth all the time, otherwise it'll send my mails as ugly non-flowed 80-column text as if it's the 90s
  138. # [00:53] <TabAtkins> I don't see a problem with this. ^_^
  139. # [00:56] * Joins: andyg (~andyg@eth59-167-156-1.static.internode.on.net)
  140. # [00:58] <Hixie> "P1DT1H" is valid and should be parsed as 25 hours.
  141. # [00:58] <zewt> TabAtkins: i claim a slight irony in HTML folks preferring fixed-format messages that can't be reflowed for the user's system :)
  142. # [00:58] <Hixie> "P1D1H" is invalid, but i intend to also parse it as 25 hours
  143. # [00:58] <TabAtkins> zewt: Even more, us CSS people *hate* css-styled emails for the most part.
  144. # [00:58] <Hixie> "P1H1D" is again invalid (order matters for the iso variant), but again i intend to also parse it as 25 hours
  145. # [00:58] <TabAtkins> Hixie: Yes, seems fine.
  146. # [00:58] <Hixie> now the question:
  147. # [00:59] <Hixie> "P1HT1D". parse it the same way? (i.e. ignore the T in this case?)
  148. # [00:59] <TabAtkins> zewt: We all use ascii formats like Markdown or similar.
  149. # [00:59] <TabAtkins> Hixie: Yes, parse the same way, I think.
  150. # [00:59] <Hixie> and how about "P1H1DT" and "PT1HT1S"?
  151. # [00:59] <Hixie> i.e. T not in between components, or multiple Ts
  152. # [01:00] <TabAtkins> Hixie: P1MT1M is still not allowed, right, as you're not doing month durations?
  153. # [01:00] <Hixie> also, how about two TTs in a row
  154. # [01:00] <Hixie> TabAtkins: correct, the T is completely pointless here, only allowed for ISO compat
  155. # [01:00] <zewt> TabAtkins: not advocating CSS in emails--people *don't* need advanced formatting in email
  156. # [01:00] <TabAtkins> Hixie: Ignore a single T, sure. Don't see any reason to accept multiple Ts.
  157. # [01:01] <TabAtkins> Hixie: Though, just "remove all P and T from the string before processing" is simple and easy.
  158. # [01:01] <Hixie> well not accepting multiple Ts requires keeping track of whether we got one or not
  159. # [01:01] <Hixie> which is fine by me
  160. # [01:01] <TabAtkins> Yeah, so shrug, either way is fine with me.
  161. # [01:01] <Hixie> well presumably you don't want P1TH" to be one hour
  162. # [01:01] <TabAtkins> Ah, true that.
  163. # [01:01] <TabAtkins> But still, skipping all Ts between duration tokens seems fine I guess.
  164. # [01:01] <TabAtkins> And Ps.
  165. # [01:01] <TabAtkins> Or maybe just skip Ps at the beginning?
  166. # [01:01] <mkanat> zewt: This is going to be very hard without CSS: https://bug607829.bugzilla.mozilla.org/attachment.cgi?id=515285
  167. # [01:01] <Hixie> P is just at the start
  168. # [01:02] <Hixie> (parser will skip whitespace before it)
  169. # [01:02] <Hixie> ok i'll skip any Ts between any two components, but fail if T is used in any other way (between number and unit, at the end, two in a row)
  170. # [01:02] <TabAtkins> Hixie: I don't see why we should fail with Ts at the end or two-in-a-row.
  171. # [01:03] <TabAtkins> "P1hT1mT" and "P1hTT1m" both seem invalid but easy to parse.
  172. # [01:03] <Hixie> well mostly because it's easier to spec that way
  173. # [01:03] <Hixie> ok
  174. # [01:03] <Hixie> will support those then
  175. # [01:04] <TabAtkins> mkanat: Yeah, computer-generated and "active" emails can use HTML well. Human-written emails rarely do.
  176. # [01:04] <mkanat> TabAtkins: Yeah, true.
  177. # [01:04] <mkanat> Unfortunately, my understanding is that gmail strips CSS, making it very hard to standardize such things.
  178. # [01:04] <mkanat> From a client perspective.
  179. # [01:04] <TabAtkins> (The primary effect of using HTML+CSS in human-written emails is to use bizarre font sizes or dark colors that don't work well with my theme.)
  180. # [01:06] * Joins: tantek-ipod (~tantek@66-87-4-125.pools.spcsdns.net)
  181. # [01:06] <TabAtkins> Or, ugh, to use colors to indicate what's quoted and what's your own writing.
  182. # [01:06] <Hixie> ok i think i have the parser figured out, now to convert it to english
  183. # [01:07] <TabAtkins> Why *anyone* thinks that's a good idea when it trivially doesn't scale past the first reply is beyond me.
  184. # [01:07] <zewt> TabAtkins: i don't think emails should be able to set fonts or font sizes, either
  185. # [01:07] <zewt> setting fixed-width (for code) is okay, but you don't need direct font control for that
  186. # [01:07] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  187. # [01:07] <TabAtkins> zewt: So you think that headings and <small> should have no effect in HTML email?
  188. # [01:08] <zewt> i don't know in general, but i agree that having random people posting in GIGANTO HUGE TEXT (they're important people, folks!) is really annoying
  189. # [01:08] <AryehGregor> heycam, why does WebIDL seem to use TypeError for so many different things? AFAIK we have zero interop on what exception types to throw, so wouldn't it make the most sense to use different exception types for different types of errors? Like for passing too few arguments, at least -- that seems like it could benefit from a unique error type.
  190. # [01:08] <zewt> i think flowing email instead of forcing everything to 80-column (especially on mobile) is a major win, though, and basic formatting (italic, bold)
  191. # [01:09] <TabAtkins> zewt: Flowing is incompatible with using text-based quoting indicators.
  192. # [01:09] <AryehGregor> . . . maybe it's not so many places, actually.
  193. # [01:09] <zewt> (links, images)
  194. # [01:09] <AryehGregor> ES also uses TypeError a lot.
  195. # [01:09] <zewt> TabAtkins: no it's not; the renderer just needs to be a bit smarter--gmail does it fine
  196. # [01:09] <AryehGregor> But it doesn't seem to be the right type for too few arguments.
  197. # [01:10] <TabAtkins> zewt: Really? I occasionally see Gmail do dumb things with flowed text and >> quoting.
  198. # [01:10] <zewt> i'm not entirely sure what kind of magic gmail does
  199. # [01:11] <TabAtkins> I mean, it knows how to convert blockquotes into a proper plaintext.
  200. # [01:11] <TabAtkins> If everyone would just write in Markdown this would be easier.
  201. # [01:12] <zewt> i guess more specifically, flowed isn't enough for quotes; you need HTML's blockquote to supplement it
  202. # [01:12] <TabAtkins> Yeah.
  203. # [01:12] <gavinc> On decimals in durations... perhaps something along the lines of decimals can only be used in the final terminal? eg 1.5h makes sense 1.5h10m does not. Really any new field after a decimal doesn't make a whole lot of sense
  204. # [01:12] <TabAtkins> Or some other explicit indicator of start/stop quoting.
  205. # [01:13] <zewt> blockquote seems saner than > quoting in general, in particular because no matter how advanced human society gets, people will still feel the need to get "inventive" with quote markers
  206. # [01:13] <zewt> ("i don't like >, let's use # instead" STOP THAT)
  207. # [01:13] <TabAtkins> Or the person's initials as quote markers, urgh.
  208. # [01:13] * Joins: ojan (ojan@nat/google/x-dilrwkypumisjplw)
  209. # [01:14] <zewt> don't forget "You said:"
  210. # [01:14] <zewt> (... who?)
  211. # [01:14] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
  212. # [01:15] <Dashiva> Don't forget forced line wrapping
  213. # [01:15] <zewt> talking about spec text is a whole lot easier with basic formatting, though
  214. # [01:15] <TabAtkins> Sure.
  215. # [01:15] <zewt> not being able to mimic spec rendering in email hurts
  216. # [01:15] <TabAtkins> All the formatting allowed in Markdown is useful without being obnoxious.
  217. # [01:16] <zewt> i wonder if there's a mystery firefox setting to disable pasting html
  218. # [01:22] * nunnun is now known as nunnun_away
  219. # [01:22] * nunnun_away is now known as nunnun
  220. # [01:22] <AryehGregor> Don't forget forced line wrapping that's then forced a second time so every line wraps to a second line that only has one word on it.
  221. # [01:23] <AryehGregor> Kind of like when the MTU decreases by a few bytes somewhere in the middle of transit.
  222. # [01:23] <zewt> (bleh, maybe i can disable it on gmail with some greasemonkey hackery; it's only gmail that it's a day-to-day headache with)
  223. # [01:24] * Quits: tantek-ipod (~tantek@66-87-4-125.pools.spcsdns.net) (Ping timeout: 258 seconds)
  224. # [01:26] * nunnun is now known as nunnun_away
  225. # [01:26] * nunnun_away is now known as nunnun
  226. # [01:28] * nunnun is now known as nunnun_away
  227. # [01:28] * nunnun_away is now known as nunnun
  228. # [01:28] <AryehGregor> "Due to a filter you created, this message was not sent to Spam." That needs a button saying "The filters were right, this isn't spam, try being smarter next time."
  229. # [01:29] <Philip`> Does Gmail actually learn from things you mark as spam/not-spam?
  230. # [01:29] <AryehGregor> I hope so.
  231. # [01:29] * Philip` has never noticed an effect like that
  232. # [01:30] <AryehGregor> I'm guessing the effect isn't per-user.
  233. # [01:30] <AryehGregor> Or maybe it is.
  234. # [01:30] <AryehGregor> I don't know, I don't look at my spam folder much.
  235. # [01:31] <AryehGregor> But I'm sure it at least feeds back into whatever their global spam filter is. Like I bet if they add a new heuristic, they'll adjust the weight they give it based on what percentage of users change its results, or something.
  236. # [01:31] <AryehGregor> Isn't the classic way to do spam filtering a Bayesian filter that updates based on manual user corrections?
  237. # [01:31] <TabAtkins> Yup.
  238. # [01:31] <AryehGregor> If they did that or some variant but the weights were global instead of per-user, you wouldn't notice an individual effect from clicking Spam/Not Spam, but it would have an effect if enough users did it.
  239. # [01:32] <AryehGregor> Maybe an elaboration would have an extra per-user layer so your personal spam filter is more responsive to your changes.
  240. # [01:32] <TabAtkins> I wish/hope they do.
  241. # [01:32] <AryehGregor> I honestly have no idea, spam filtering is all voodoo magic. But surely you'd have no way of checking your filter's accuracy if not for the Spam/Not Spam buttons.
  242. # [01:33] <TabAtkins> I'm quite certain we use a Bayesian filter of some variety.
  243. # [01:33] <zewt> it's pretty annoying that gmail filters have no "mark as spam" option
  244. # [01:33] <TabAtkins> I'm hoping/wishing for a personalized filter layered atop the global one.
  245. # [01:33] <AryehGregor> zewt, . . . they don't?
  246. # [01:34] <AryehGregor> Oh, the filters.
  247. # [01:34] <zewt> nope; the closest is delete
  248. # [01:34] <AryehGregor> As in the things Gmail calls filters, not spam filters.
  249. # [01:34] <AryehGregor> Right.
  250. # [01:34] <AryehGregor> That would be nice.
  251. # [01:34] * Quits: chriseppstein (~chrisepps@209.119.65.162) (Quit: chriseppstein)
  252. # [01:34] * AryehGregor uses the "Don't mark as spam" feature for several filters
  253. # [01:34] <zewt> i havn't had too much trouble with false positives on gmail
  254. # [01:35] <TabAtkins> Other than the "mark everything from @google.com as spam" issue, me neither.
  255. # [01:35] <AryehGregor> I've had a few simple ones.
  256. # [01:35] <TabAtkins> And I have a fitler to prevent that now.
  257. # [01:35] <AryehGregor> Like yeah, @google.com gets marked as spam a lot.
  258. # [01:35] <zewt> i recently had "69% Discount! BUY VIGARA & CILAIS NOW!!! Next Day Delivery!" pass gmail's spam filter
  259. # [01:35] <AryehGregor> I wonder if it's due to bad SPF rules or something. I think I investigated that once.
  260. # [01:35] <zewt> how could they possibly identify *that* as spam?
  261. # [01:36] <AryehGregor> I've also had routine daily mailings from my servers (like logwatch) marked as spam sometimes.
  262. # [01:36] <TabAtkins> zewt: Too much spoofing, I suppose, and we *for some reason* don't use the existing verification systems.
  263. # [01:36] <AryehGregor> IIRC, once most of the logwatch mails I got were marked as spam, but I marked them all not spam a couple of times and they stopped being marked as spam, so maybe that's anecdotal evidence that it learns from mistakes like that.
  264. # [01:36] <zewt> gmail has more incentive to listen to you screaming "not spam" than "spam"
  265. # [01:37] <zewt> since false positives are much more dangerous than false negatives
  266. # [01:37] <AryehGregor> TabAtkins, what existing verification systems? SPF, which breaks forwarding? Or DKIM, which requires everyone sending mail from a domain to have that domain's private key?
  267. # [01:37] <zewt> i imagine that has to be pretty localized, though, or it'd be abusable (create accounts, send your spam to them, mark them not spam)
  268. # [01:38] * Joins: rniwa (~rniwa@216.239.45.130)
  269. # [01:38] <AryehGregor> Verification of the sender in SMTP is just completely broken, because of legacy constraints like mailing lists.
  270. # [01:38] <TabAtkins> I know nothing of email verification systems and their shortcomings.
  271. # [01:38] <AryehGregor> SPF and DKIM are great, if all your mail is being sent from servers you control.
  272. # [01:39] <AryehGregor> And not being forwarded or mangled.
  273. # [01:39] <AryehGregor> Otherwise, not so much.
  274. # [01:39] <TabAtkins> zewt: Makes sense. I suppose that using a personalize ham filter and a global spam filter works fine.
  275. # [01:39] <TabAtkins> Since you *always* want spam information to be globally contributed, I guess.
  276. # [01:39] <zewt> global spam filtering is also abusable, in the opposite way, so at least it probably has to be heavily diluted
  277. # [01:39] <zewt> ("hey guys, let's make gmail mark ebay as a spammer")
  278. # [01:39] <TabAtkins> Only with more difficulty, and hamminess is typically consulted before spamminess.
  279. # [01:40] <zewt> of course, there's subjectivity in there, too
  280. # [01:40] <AryehGregor> . . . why is Chrome so persistently bad at restoring tabs when you close multiple windows in succession?
  281. # [01:40] * Joins: AlexNRoss (~AleossIRC@unaffiliated/aleoss)
  282. # [01:40] <zewt> for example, i consider mail from companies i've done business with that i didn't give them permission to use my email address for ("newsletters", "special offers") to be spam; some people don't
  283. # [01:40] <AryehGregor> Not only does it not restore any window other than the last you closed, it commonly forgets about the other window entirely.
  284. # [01:41] * AryehGregor hopes he didn't have any important tabs that got eaten
  285. # [01:43] <AryehGregor> Would it be so hard for it to notice when I close two windows within three seconds of each other and restore both when I restart?
  286. # [01:43] <AryehGregor> Reliably?
  287. # [01:43] * AryehGregor grumbles
  288. # [01:43] <zewt> firefox yells at you if you close a window with multiple tabs open
  289. # [01:43] <AryehGregor> The first time, until you uncheck the box.
  290. # [01:43] <zewt> there's sort of a disconnect in the way sessions work vs. the way chrome tries to look
  291. # [01:44] <zewt> eg. how chrome tries to look like a background system that's always present, and how people usually don't file->exit from chrome
  292. # [01:44] * Quits: plutoniix (~plutoniix@ppp-58-11-132-136.revip2.asianet.co.th) (Quit: Leaving)
  293. # [01:44] * nunnun is now known as nunnun_away
  294. # [01:44] <zewt> where session restores tend to be tied to file->exit closing everything at once
  295. # [01:44] <zewt> it should probably at least have a "recently closed windows", which is restored with the session
  296. # [01:53] * AryehGregor didn't realize you can use File->Exit to close everything at once
  297. # [01:53] <AryehGregor> That's a usable workaround, if it restores all windows automatically.
  298. # [01:53] <paul_irish_> AryehGregor: i use the Session Buddy extension which i set to autosave my windows
  299. # [01:53] <heycam> AryehGregor, JS itself tends to favour TypeError for those kinds of things (insufficient arguments, bad types, etc.)
  300. # [01:53] <paul_irish_> but also File ->Exit ya.
  301. # [01:54] <heycam> AryehGregor, which is why I went with it nearly everywhere
  302. # [01:59] * Joins: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp)
  303. # [02:00] <jamesr_> has anyone verified that Charles Pritchard isn't just a sophisticated n-gram email generation bot?
  304. # [02:01] * Quits: MikeSmith (~MikeSmith@218.236.5.3) (Ping timeout: 245 seconds)
  305. # [02:04] * Joins: agektmr (~Adium@220.109.219.244)
  306. # [02:06] <Hixie> ok for people following on at home i did a regen with some of the new text in the microsyntaxes section
  307. # [02:07] <Hixie> yearless dates (e.g. birthdays, 05-06): http://www.whatwg.org/specs/web-apps/current-work/#yearless-dates
  308. # [02:07] <Hixie> timezones as a separate concept: http://www.whatwg.org/specs/web-apps/current-work/#time-zones
  309. # [02:08] <Hixie> and durations: http://www.whatwg.org/specs/web-apps/current-work/#durations
  310. # [02:12] <Hixie> bbiab.
  311. # [02:13] * Quits: othermaciej (~mjs@17.245.89.94) (Quit: othermaciej)
  312. # [02:13] <mkanat> Hixie: Hmm. I'm assuming Olsen timezones have already been discussed?
  313. # [02:15] <kennyluck> Hixie, "One or more digits followed by a U+004D LATIN CAPITAL LETTER M character, representing a number of hours." should read "number of minutes."
  314. # [02:15] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
  315. # [02:16] * Joins: othermaciej (~mjs@17.245.89.94)
  316. # [02:16] * nunnun_away is now known as nunnun
  317. # [02:17] * Joins: rillian_ (~rillian@mist.thaumas.net)
  318. # [02:24] * nunnun is now known as nunnun_away
  319. # [02:24] * nunnun_away is now known as nunnun
  320. # [02:26] * Quits: astearns (~anonymous@192.150.22.5) (Ping timeout: 248 seconds)
  321. # [02:31] <zewt> chrome doesn't implement the Worker interface inside workers? weird
  322. # [02:33] * Quits: AlexNRoss (~AleossIRC@unaffiliated/aleoss) (Quit: YEAH BABY YEAH! VERY SHAGADELIC! Cya everyone. Back in ~2 1/2 weeks!)
  323. # [02:42] * Quits: jamesr (jamesr@nat/google/x-pdiiqbirbcligvgq) (Ping timeout: 240 seconds)
  324. # [02:46] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
  325. # [02:47] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
  326. # [02:48] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
  327. # [02:48] * nunnun is now known as nunnun_away
  328. # [02:49] * Joins: jacobolus (~jacobolus@ppp-71-139-21-245.dsl.snfc21.pacbell.net)
  329. # [02:52] * Quits: KillerX (~anant@nat/mozilla/x-rjndbavqlsxhnljp) (Quit: KillerX)
  330. # [02:53] * Joins: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
  331. # [02:56] * Quits: ap (~ap@2620:149:4:1b01:7173:b38:c64e:8477) (Quit: ap)
  332. # [03:00] * Quits: necolas (~necolas@host-92-12-156-249.as43234.net) (Remote host closed the connection)
  333. # [03:13] * Joins: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net)
  334. # [03:16] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc) (Read error: Connection reset by peer)
  335. # [03:17] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc)
  336. # [03:20] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
  337. # [03:20] * Joins: MikeSmith (~MikeSmith@220.118.163.112)
  338. # [03:21] * Joins: KevinMarks (~KevinMark@204.14.239.221)
  339. # [03:21] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 240 seconds)
  340. # [03:21] * KillerX_ is now known as KillerX
  341. # [03:22] * Joins: drublic_ (~drublic@frbg-4d029aee.pool.mediaWays.net)
  342. # [03:22] * nunnun_away is now known as nunnun
  343. # [03:23] * Quits: drublic_ (~drublic@frbg-4d029aee.pool.mediaWays.net) (Remote host closed the connection)
  344. # [03:24] * Quits: LBP (~Mirc@pD9EB1B2A.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
  345. # [03:24] * Joins: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de)
  346. # [03:25] * Quits: drublic (~drublic@frbg-4d029437.pool.mediaWays.net) (Ping timeout: 248 seconds)
  347. # [03:25] * Quits: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Remote host closed the connection)
  348. # [03:27] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
  349. # [03:30] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
  350. # [03:32] * Quits: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
  351. # [03:39] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
  352. # [03:42] * Joins: erlehmann (~erlehmann@82.113.99.2)
  353. # [03:43] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
  354. # [03:44] <tantek> mkanat Olsen style named timelines were previously rejected long ago from microformats' timezone microsyntaxes.
  355. # [03:45] <mkanat> tantek: Fair enough. I think they do make life easier for implementors who want perfect accuracy, but they're not going to be typed by most actual users.
  356. # [03:45] <tantek> The short version for why no Olsen named TZs is that people notoriously get them wrong especially with respect to DST
  357. # [03:45] <mkanat> As in, notoriously implement interpreting them improperly?
  358. # [03:46] <tantek> They dot actually make life easier for higher data quality - which is the right way to evaluate anything an author/coder might emit into HTML
  359. # [03:46] <tantek> s/dot/don't
  360. # [03:47] <tantek> Smart folks all the time write/say PDT when they mean PST and vice versa.
  361. # [03:48] <mkanat> Yes, but I was thinking the full Olsen zones, America/Los_Angeles and so on.
  362. # [03:48] <mkanat> I agree that the three-letter TZs are an abomination.
  363. # [03:48] <tantek> Better to address it with numerical precision upfront (with offset from Z) than provide the illusion of precision with named TZs
  364. # [03:49] <tantek> And it's yet another named registry dependency
  365. # [03:49] <tantek> Worse, one that's political and unpredictable
  366. # [03:50] <tantek> Never mind the DMCA takedown of the NIH FTP URL
  367. # [03:50] <TabAtkins_> Yeah, the city-based registry changes over time.
  368. # [03:50] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
  369. # [03:51] <mkanat> I suppose numerical offsets do give you accuracy.
  370. # [03:51] <tantek> All those RFCs with references to Olsen now have broken links
  371. # [03:51] <mkanat> Even if the DST changeover goes to some other date in the future, your time is still accurate--it's just not in the TZ that that location would have, when you actually get to that date.
  372. # [03:52] <mkanat> I see the problems of trying to bake the Olsen DB into clients.
  373. # [03:52] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Ping timeout: 244 seconds)
  374. # [03:52] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 260 seconds)
  375. # [03:52] * KillerX_ is now known as KillerX
  376. # [03:53] <zewt> well, the biggest problem with named timezones is it's a moving target
  377. # [03:53] <mkanat> Right, that's the problem with baking it into clients.
  378. # [03:54] <mkanat> And people who want to use them on the server-side already have libraries for it that can emit times with numeric offsets if they want to send those to the client, so that does seem fine.
  379. # [03:58] <tantek> Mkanat, worse than baking into clients, with HTML/microformats it's a matter of baking into *documents* which must be much more reliable than clients.
  380. # [03:59] <mkanat> tantek: Yeah, that's a good point.
  381. # [03:59] * Quits: othermaciej (~mjs@17.245.89.94) (Quit: othermaciej)
  382. # [04:03] * Joins: miketaylr (~miketaylr@24.42.93.245)
  383. # [04:07] <tantek> Also tried to send this earlier but I think I was already too far off the ground:
  384. # [04:07] <tantek> Hixie, fine with omitting fixed point numbers or now til examples documented on wiki, however we should be similarly conservative with out of order unit values etc until someone finds backward compat reasons/examples.
  385. # [04:08] <TabAtkins_> tantek: Don't quite agree. Allowing out-of-order unit values makes both parsing and generation somewhat easier.
  386. # [04:09] <tantek> Disagree because it makes simple transposition errors more difficult to detect
  387. # [04:10] <TabAtkins_> Hmm, transposition seems like a minor issue here.
  388. # [04:10] <TabAtkins_> Because the units are separate from each other by at least one digit.
  389. # [04:11] <tantek> Not that way
  390. # [04:11] <tantek> But like this
  391. # [04:11] <tantek> Writing 1m5h when 1h5m is intended
  392. # [04:11] <tantek> Also easy to miss that error web reviewing.
  393. # [04:12] <TabAtkins_> Hm, maybe.
  394. # [04:12] <tantek> Because people see the order of digits and assign relevance more to the order than to he unit suffixes
  395. # [04:14] <tantek> This is all about optimizing ease of authoring high quality data.
  396. # [04:15] <tantek> so i'd rather start with a more conservative syntax
  397. # [04:15] * Joins: Obvious_MkII (tachikoma@188.226.74.2)
  398. # [04:15] * Quits: MikeSmith (~MikeSmith@220.118.163.112) (Quit: MikeSmith)
  399. # [04:16] * Quits: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
  400. # [04:16] * Quits: beowulf (u116@pdpc/supporter/professional/beowulf) (Excess Flood)
  401. # [04:16] <tantek> Where errors are earlier / more easily detected and corrected
  402. # [04:16] * Quits: Obvious (tachikoma@188.226.74.2) (Ping timeout: 240 seconds)
  403. # [04:16] * Joins: beowulf (u116@pdpc/supporter/professional/beowulf)
  404. # [04:17] <tantek> Speaking if errors - typing on an iPod sucks. I'm going to dinner and will resume later tonight in a laptop
  405. # [04:18] * Joins: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de)
  406. # [04:19] * tantek didn't mean to have hat message be self-supporting. :/
  407. # [04:19] <TabAtkins_> ^_^
  408. # [04:19] * Quits: dave_levin (dave_levin@nat/google/x-gpmddaswedijqmtl) (Quit: dave_levin)
  409. # [04:20] * Joins: Evanescence (~Evanescen@122.237.23.204)
  410. # [04:21] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
  411. # [04:22] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 248 seconds)
  412. # [04:22] * KillerX_ is now known as KillerX
  413. # [04:23] * Joins: nessy (~Adium@124-169-131-96.dyn.iinet.net.au)
  414. # [04:23] * Quits: mkanat (mkanat@nat/google/x-jyfzhmfmrriywavq) (Quit: Ex-Chat)
  415. # [04:31] * Quits: sicking (~chatzilla@nat/mozilla/x-gvjpbwgviftftles) (Ping timeout: 258 seconds)
  416. # [04:33] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  417. # [04:33] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
  418. # [04:33] * Quits: dbaron (~dbaron@60.234.54.74) (Quit: ->airport)
  419. # [04:34] * Joins: Evanescence (~Evanescen@122.237.23.204)
  420. # [04:36] * Quits: KevinMarks (~KevinMark@204.14.239.221) (Ping timeout: 240 seconds)
  421. # [04:43] * Joins: nonge (~nonge@p5B326524.dip.t-dialin.net)
  422. # [04:43] * Quits: jacobolus (~jacobolus@ppp-71-139-21-245.dsl.snfc21.pacbell.net) (Remote host closed the connection)
  423. # [04:52] * Quits: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
  424. # [04:54] * Quits: ojan (ojan@nat/google/x-dilrwkypumisjplw) (Quit: ojan)
  425. # [04:55] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
  426. # [04:56] * Quits: gavinc (~gavin@50-0-76-242.dsl.dynamic.sonic.net) (Remote host closed the connection)
  427. # [04:56] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
  428. # [04:57] <erlehmann> tantek, with “1h5m”, transposition errors can happen. so is the answer not something like “12:34”, where only order matters?
  429. # [05:03] * Quits: neb3000 (~neb3000@115.146.71.1) (Quit: neb3000)
  430. # [05:05] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  431. # [05:07] * Joins: smedero (~smedero@c-24-18-227-21.hsd1.wa.comcast.net)
  432. # [05:09] * Quits: smedero (~smedero@c-24-18-227-21.hsd1.wa.comcast.net) (Client Quit)
  433. # [05:09] * nunnun is now known as nunnun_away
  434. # [05:16] * Joins: cgcardona (~cgcardona@c-24-5-113-12.hsd1.ca.comcast.net)
  435. # [05:16] * Quits: cgcardona (~cgcardona@c-24-5-113-12.hsd1.ca.comcast.net) (Changing host)
  436. # [05:16] * Joins: cgcardona (~cgcardona@unaffiliated/cgcardona)
  437. # [05:19] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
  438. # [05:19] <tantek> erlehmann: I'm considering exactly that for a potential separate duration attribute.
  439. # [05:20] <erlehmann> i see what you did there.
  440. # [05:24] * Quits: cpearce (~chatzilla@60.234.54.74) (Ping timeout: 244 seconds)
  441. # [05:26] * Quits: nonge (~nonge@p5B326524.dip.t-dialin.net) (Ping timeout: 240 seconds)
  442. # [05:30] * Joins: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
  443. # [05:34] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
  444. # [05:36] * Parts: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
  445. # [05:37] * Joins: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
  446. # [05:39] * Joins: nonge (~nonge@p5B326C36.dip.t-dialin.net)
  447. # [05:39] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  448. # [05:40] * Quits: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com) (Quit: danielcotter)
  449. # [05:41] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 252 seconds)
  450. # [05:43] * Joins: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net)
  451. # [05:49] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Quit: KillerX)
  452. # [05:58] * heycam is now known as heycam|away
  453. # [06:00] * nunnun_away is now known as nunnun
  454. # [06:00] * Joins: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com)
  455. # [06:01] * Joins: tantek (~tantek@66-87-0-23.pools.spcsdns.net)
  456. # [06:11] * Quits: danielcotter (~danielcot@74-131-188-203.dhcp.insightbb.com) (Quit: danielcotter)
  457. # [06:12] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  458. # [06:13] * Joins: agektmr (~Adium@220.109.219.244)
  459. # [06:21] * Quits: bezoar (~Adium@c-24-143-67-135.customer.broadstripe.net) (Quit: Leaving.)
  460. # [06:25] * Joins: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net)
  461. # [06:26] * Joins: Areks (~Areks@rs.gridnine.com)
  462. # [06:30] * Quits: niftylettuce (u2733@gateway/web/irccloud.com/x-fcywbboxphwjdwyb) (Read error: Operation timed out)
  463. # [06:31] * Joins: niftylettuce (u2733@gateway/web/irccloud.com/x-bfazgqgkhnjdetgy)
  464. # [06:32] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
  465. # [06:37] * Joins: tantek-ipod (~tantek@70-36-139-219.dsl.dynamic.sonic.net)
  466. # [06:40] * Quits: tantek (~tantek@66-87-0-23.pools.spcsdns.net) (Ping timeout: 258 seconds)
  467. # [06:40] * tantek-ipod is now known as tantek
  468. # [06:45] * Joins: tantek_ (~tantek@70-36-139-219.dsl.dynamic.sonic.net)
  469. # [06:46] * Joins: rsteiner1 (~webchat@220.109.219.244)
  470. # [06:47] * Joins: tantek__ (~tantek@70-36-139-219.dsl.dynamic.sonic.net)
  471. # [06:47] * Quits: rsteiner1 (~webchat@220.109.219.244) (Client Quit)
  472. # [06:51] * Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
  473. # [06:55] * Joins: temp01 (~temp01@unaffiliated/temp01)
  474. # [07:04] <Hixie> ok. adding an element.
  475. # [07:04] <Hixie> step 1: adding a section for the element itself.
  476. # [07:06] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Quit: shepazu)
  477. # [07:07] <Hixie> step 2: updating the category lists to include the new element.
  478. # [07:07] <Hixie> pick an element with the same basic design (in this case <data>), and search the spec for mentions of that element in the category descriptions and copy what i did there.
  479. # [07:09] <Hixie> step 3: update images/content-venn.svg
  480. # [07:10] <Hixie> step 4: update the syntax section. not needed in this case as it's a "normal" element.
  481. # [07:10] * nunnun is now known as nunnun_away
  482. # [07:10] <Hixie> step 5: update the phrasing element usage summary examples
  483. # [07:12] <Hixie> step 6: update the parser. unnecessary in this case as it's a "normal" element.
  484. # [07:12] <Hixie> step 7: add new examples and update existing ones that are affected by the new element.
  485. # [07:14] <tantek__> hey Hixie, I've been updating / tweaking the Time element wiki page regarding durations
  486. # [07:15] <tantek__> capturing a bunch of the things discussed in IRC
  487. # [07:18] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
  488. # [07:20] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
  489. # [07:21] <Hixie> step 8: update the rendering section. unnecessary in this case as there's no non-default rendering to speak of.
  490. # [07:22] <Hixie> step 9: update the obsolete section as appropriate. unnecessary in this case as I forgot to add <time> to that section when I dropped it. :-)
  491. # [07:22] <Hixie> step 10: update the indexes
  492. # [07:23] <tantek__> sounds like fun
  493. # [07:23] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  494. # [07:25] * Quits: tantek (~tantek@70-36-139-219.dsl.dynamic.sonic.net) (Quit: Colloquy for iPod touch - http://colloquy.mobi)
  495. # [07:25] * tantek_ is now known as tantek
  496. # [07:25] * tantek is now known as 77CAA0BB7
  497. # [07:25] * tantek__ is now known as tantek
  498. # [07:25] * Quits: rillian_ (~rillian@mist.thaumas.net) (Remote host closed the connection)
  499. # [07:27] * nunnun_away is now known as nunnun
  500. # [07:28] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
  501. # [07:29] <Hixie> step 11: update the aria mappings. i believe there's nothing to map in this case.
  502. # [07:33] <Hixie> ok
  503. # [07:33] <Hixie> regen
  504. # [07:33] <Hixie> could do with more <data> examples now
  505. # [07:33] <Hixie> since i converted a lot of them back to <time> again
  506. # [07:41] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Quit: abarth)
  507. # [07:47] * Joins: danbri (~danbri@cable-146-255-152-131.dynamic.telemach.ba)
  508. # [07:55] * Joins: bezoar (~Adium@c-24-143-67-135.customer.broadstripe.net)
  509. # [07:57] * Quits: FireFly (firefly@unaffiliated/firefly) (Excess Flood)
  510. # [07:58] * Joins: KillerX_ (~anant@70-36-146-71.dsl.dynamic.sonic.net)
  511. # [07:58] * Quits: 77CAA0BB7 (~tantek@70-36-139-219.dsl.dynamic.sonic.net) (Quit: 77CAA0BB7)
  512. # [07:59] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Ping timeout: 240 seconds)
  513. # [07:59] * KillerX_ is now known as KillerX
  514. # [08:00] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
  515. # [08:00] * Joins: FireFly (firefly@firefly.xen.prgmr.com)
  516. # [08:02] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
  517. # [08:02] * Joins: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp)
  518. # [08:06] * Joins: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au)
  519. # [08:08] * Quits: espadrine (~thaddee_t@acces2064.res.insa-lyon.fr) (Quit: espadrine)
  520. # [08:08] <rniwa> Hixie: are you still there?
  521. # [08:08] <Hixie> yup
  522. # [08:09] <rniwa> Hixie: I have a question for you regarding accessKey content attribute
  523. # [08:09] <rniwa> Hixie: should accessKey content attribute simulate click upon key press?
  524. # [08:09] <rniwa> i.e. simulate mousedown, mouseup, & click
  525. # [08:09] <rniwa> or just click?
  526. # [08:09] <Hixie> it should do what the spec says :-)
  527. # [08:10] <Hixie> "When the user presses the key combination corresponding to the assigned access key for an element, if the element defines a command, the command's Hidden State facet is false (visible), the command's Disabled State facet is also false (enabled), and the element is in a Document, then the user agent must trigger the Action of the command."
  528. # [08:11] <Hixie> then see the subsections under http://www.whatwg.org/specs/web-apps/current-work/#commands for the specific definition of what the Action of an element is in any particular case
  529. # [08:11] * Quits: jernoble|afk (~jernoble@17.212.152.13) (Ping timeout: 244 seconds)
  530. # [08:11] <Hixie> (all elements with an assigned access key by definition have an Action)
  531. # [08:11] * paul_irish_ is now known as paul_irish
  532. # [08:12] <rniwa> Hixie: ok, the spec appears to suggest we don't simulate mouedown/moseup
  533. # [08:13] <rniwa> just double-checking with you
  534. # [08:14] <Hixie> yeah nothing ever simulates mousedown/mouseup. The exact behaviour depends on what the element is. e.g. for <option> elements the event that eventually fires is 'change', for <div> elements the event that eventually fires is 'click', for <label> no event fires on the label but something might happen to the associated control, etc.
  535. # [08:15] <erlehmann> i want a novel by charles stross, where lawmakers of the future have the (?) embroidered on their clothing
  536. # [08:15] <Hixie> actually on <div> you'd see a 'focus' event also
  537. # [08:17] <rniwa> Hixie: right.
  538. # [08:17] <rniwa> Hixie: we might not be doing the right thing for focus at the moment
  539. # [08:17] * Joins: FlorianX (~Dimitri@p4FCF795C.dip.t-dialin.net)
  540. # [08:17] <rniwa> but someone is working on accessKey content attribute
  541. # [08:17] <rniwa> so we might match the spec in near future :)
  542. # [08:17] <rniwa> Hixie: thanks for the help
  543. # [08:18] <Hixie> btw looking at the Action section it looks like the way it refers to the activation behaviour is a bit out of date
  544. # [08:19] <Hixie> so the exact text might change
  545. # [08:19] <Hixie> i think it won't affect the normative meaning
  546. # [08:20] <Hixie> hm. step 12: update the microdata algorithms to use <time> again. oops.
  547. # [08:20] <Hixie> tantek: if you're still around, check out the spec and let me know if the new text looks good to you
  548. # [08:22] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/#the-time-element
  549. # [08:23] <rniwa> hm...
  550. # [08:24] <Hixie> hm?
  551. # [08:35] * Joins: hasather_ (~hasather_@84.38.144.96)
  552. # [08:37] * Quits: andyg (~andyg@eth59-167-156-1.static.internode.on.net) (Read error: Connection reset by peer)
  553. # [08:37] * Joins: andyg (~andyg@eth59-167-156-1.static.internode.on.net)
  554. # [08:37] * nunnun is now known as nunnun_away
  555. # [08:39] * Joins: shepazu (~shepazu@67-40-204-63.tukw.qwest.net)
  556. # [08:42] * Quits: andyg (~andyg@eth59-167-156-1.static.internode.on.net) (Ping timeout: 252 seconds)
  557. # [08:44] * Joins: jochen___ (jochen@nat/google/x-nyoknpazbboaktrs)
  558. # [08:48] * Quits: jochen__ (jochen@nat/google/x-bzulmyfrgdyjktru) (Ping timeout: 244 seconds)
  559. # [08:48] * jochen___ is now known as jochen__
  560. # [08:52] <hsivonen> I find it surprising that IE9 on Windows Phone doesn't have a JS JIT (according to http://www.sitepoint.com/mobile-ie9-differences/ )
  561. # [08:53] <hsivonen> ooh. no Compatibility View, either
  562. # [08:53] <annevk> Hixie: no check-in yet?
  563. # [08:53] * Joins: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net)
  564. # [08:56] <Hixie> about to do it, unless you see a problem :-)
  565. # [08:57] <annevk> it doesn't say how to extract the datetime value
  566. # [08:57] <Hixie> "The datetime value of a time element is the value of the element's datetime content attribute, if it has one, or the element's textContent, if it does not."
  567. # [08:58] <Hixie> that not enough?
  568. # [08:59] <annevk> from a parser perspective there does not seem to be one algorithm for getting the value out
  569. # [08:59] <Hixie> "The time element represents its contents, with the added semantic that the the value given for the matching syntax in the list below, if any, is the meaning that corresponds to the element's contents."
  570. # [08:59] <Hixie> so you find which syntax it matches, if any, and that's what it represents
  571. # [09:01] <Hixie> admittedly, that makes the error handling parser for durations somewhat pointless
  572. # [09:02] <annevk> so you parse them as each of them and if one does not return an error you are okay?
  573. # [09:03] <Hixie> what the spec says now is that you check to see which syntax they conform to
  574. # [09:03] <Hixie> but i guess i can add a detector algorithm
  575. # [09:03] <Hixie> i'll do that tomorrow
  576. # [09:04] <annevk> ok, sounds good
  577. # [09:06] * Joins: woef (~woef@91.183.84.141)
  578. # [09:07] * Joins: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se)
  579. # [09:10] * Quits: KillerX (~anant@70-36-146-71.dsl.dynamic.sonic.net) (Quit: KillerX)
  580. # [09:12] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  581. # [09:12] * Joins: LazyTown (Lazzzy@24.49.174.57)
  582. # [09:12] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
  583. # [09:13] <Hixie> i wonder how to do this short of just having an algorithm that is all the algorithms together
  584. # [09:13] * Parts: LazyTown (Lazzzy@24.49.174.57)
  585. # [09:15] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:c101:c702:74e8:c7fc) (Ping timeout: 244 seconds)
  586. # [09:15] <Hixie> distinguishing a global date and time string from a local date and time string, for instance, without using some crude heuristic like "ends in a Z or has a + or - somewhere in it"
  587. # [09:16] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 240 seconds)
  588. # [09:17] * Quits: FireFly (firefly@firefly.xen.prgmr.com) (Ping timeout: 240 seconds)
  589. # [09:19] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  590. # [09:19] * Joins: FireFly (firefly@firefly.xen.prgmr.com)
  591. # [09:20] <annevk> depends on the extensibility you want I suppose
  592. # [09:22] <annevk> http://xkcd.com/979/ I hate it when that happens :)
  593. # [09:25] * heycam|away is now known as heycam
  594. # [09:27] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: No route to host)
  595. # [09:28] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  596. # [09:36] * heycam is now known as heycam|away
  597. # [09:37] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  598. # [09:37] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  599. # [09:40] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  600. # [09:40] * Joins: Rik` (~Rik`@2a01:e34:ec0f:1570:71b6:30e8:42be:a972)
  601. # [09:41] <annevk> sweet http://blog.chromium.org/2011/11/lossless-and-transparency-encoding-in.html
  602. # [09:41] <annevk> hopefully Gecko will add it now
  603. # [09:42] * Joins: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  604. # [09:45] * Quits: Rik` (~Rik`@2a01:e34:ec0f:1570:71b6:30e8:42be:a972) (Ping timeout: 240 seconds)
  605. # [09:45] * Quits: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp) (Quit: MikeSmith)
  606. # [09:46] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
  607. # [09:46] * Quits: Evanescence (~Evanescen@122.237.23.204) (Quit: my website: http://stardiviner.dyndns-blog.com/)
  608. # [09:47] * Quits: benjoffe_ (~benjoffe_@119-252-71-224.static.highway1.net.au) (Remote host closed the connection)
  609. # [09:47] * Joins: Lachy (~Lachy@cm-84.215.59.50.getinternet.no)
  610. # [09:48] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
  611. # [09:49] * Quits: Lachy (~Lachy@cm-84.215.59.50.getinternet.no) (Client Quit)
  612. # [09:52] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Client Quit)
  613. # [09:54] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
  614. # [09:56] * Joins: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp)
  615. # [09:58] * Quits: Rik`_ (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Read error: Connection reset by peer)
  616. # [09:58] * Joins: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net)
  617. # [09:58] <hsivonen> has Google explained why they aren't working with JPEG XR?
  618. # [09:59] <hsivonen> there might be good legal reasons
  619. # [09:59] <hsivonen> but without an explanation, it looks like it's Google doing its own thing instead of ISO standards
  620. # [10:04] * zcorpan uncomments <time> in html-elements
  621. # [10:04] * Joins: PalleZingmark (~Adium@217.13.228.226)
  622. # [10:04] * Joins: gwicke (~gabriel@212.255.44.58)
  623. # [10:07] * Quits: Druide_ (~Druid@p5B05D880.dip.t-dialin.net) (Ping timeout: 252 seconds)
  624. # [10:08] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
  625. # [10:09] * Joins: Evanescence (~Evanescen@122.237.37.212)
  626. # [10:11] * Joins: Druide_ (~Druid@p5B1366FE.dip.t-dialin.net)
  627. # [10:21] * Joins: mpt (~mpt@nat/canonical/x-zzmabjlwvlywasjw)
  628. # [10:21] * Quits: mpt (~mpt@nat/canonical/x-zzmabjlwvlywasjw) (Changing host)
  629. # [10:21] * Joins: mpt (~mpt@canonical/mpt)
  630. # [10:25] <annevk> hsivonen: prolly too hard, witness APNG
  631. # [10:25] * Joins: Timz (~Adium@86.89.174.199)
  632. # [10:39] * Quits: MikeSmith (~MikeSmith@EM111-191-160-183.pool.e-mobile.ne.jp) (Ping timeout: 244 seconds)
  633. # [10:51] * Joins: smaug____ (~chatzilla@GYYYMCLXV.gprs.sl-laajakaista.fi)
  634. # [10:57] * Joins: MikeSmith (~MikeSmith@EM1-113-25-204.pool.e-mobile.ne.jp)
  635. # [11:07] <erlehmann> annevk, ENOCONTEXT what is too hard?
  636. # [11:07] * Joins: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp)
  637. # [11:12] * Quits: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com) (Ping timeout: 240 seconds)
  638. # [11:14] * Quits: agektmr (~Adium@220.109.219.244) (Quit: Leaving.)
  639. # [11:14] * Quits: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp) (Quit: And Now for Something Completely Different.)
  640. # [11:16] * Quits: mpt (~mpt@canonical/mpt) (Read error: Connection reset by peer)
  641. # [11:17] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
  642. # [11:18] * Joins: mishunov (~spliter@77.88.72.162)
  643. # [11:18] * Parts: mishunov (~spliter@77.88.72.162)
  644. # [11:18] * Quits: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com) (Read error: Connection reset by peer)
  645. # [11:19] * Joins: mpt (~mpt@canonical/mpt)
  646. # [11:20] * Joins: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
  647. # [11:21] * Quits: rniwa (~rniwa@216.239.45.130) (Quit: rniwa)
  648. # [11:36] * Quits: nessy (~Adium@124-169-131-96.dyn.iinet.net.au) (Quit: Leaving.)
  649. # [11:47] * Joins: Lachy (~Lachy@pat-tdc.opera.com)
  650. # [11:52] * Quits: erlehmann (~erlehmann@82.113.99.2) (Quit: Ex-Chat)
  651. # [11:58] * Joins: danielfilho_ (~daniel@187.31.77.7)
  652. # [12:00] * Quits: danielfilho (~daniel@187.31.77.7) (Ping timeout: 248 seconds)
  653. # [12:00] * danielfilho_ is now known as danielfilho
  654. # [12:01] <hsivonen> stuff I learned about URL parsing today: Three slashes after http: works in Firefox 8 but not in IE8.
  655. # [12:01] * Joins: drublic (~drublic@frbg-4d029aee.pool.mediaWays.net)
  656. # [12:02] <hsivonen> works in Chrome, too
  657. # [12:07] <smaug____> annevk: we should kill also timeout for sync XHR
  658. # [12:09] <annevk> but timeout doesn't throw
  659. # [12:09] <annevk> at all
  660. # [12:09] <annevk> oh well, not really a great argument
  661. # [12:10] <annevk> smaug____: are you implementing the other exceptions? and changes to allow responseType to be set before open() etc.
  662. # [12:12] <smaug____> just reviewing a patch which throws when xhr is sync
  663. # [12:12] * annevk hopes it's per spec
  664. # [12:12] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 245 seconds)
  665. # [12:12] <hsivonen> smaug____: should I prepare a patch to make HTML parsing unavailable in sync XHR?
  666. # [12:13] <smaug____> hsivonen: that would be good yes
  667. # [12:13] <annevk> hsivonen: it should still work in Workers though
  668. # [12:13] <smaug____> we really should try to kill sync XHR in Window context
  669. # [12:13] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
  670. # [12:13] <smaug____> HTML Document in Workers?
  671. # [12:14] <annevk> oh right
  672. # [12:14] <annevk> though maybe, at some point
  673. # [12:15] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  674. # [12:16] <hsivonen> smaug____: OK. now that I've gotten some food, I'll try to track down the source of the error again...
  675. # [12:16] * Joins: necolas (~necolas@host-92-12-156-249.as43234.net)
  676. # [12:23] * Quits: Rik` (~Rik`@lag75-1-78-192-241-87.fbxo.proxad.net) (Remote host closed the connection)
  677. # [12:24] <MikeSmith> annevk: can you remind me please how I get http://html5.org/tools/web-apps-tracker to show all changes?
  678. # [12:24] <MikeSmith> nm
  679. # [12:24] <MikeSmith> http://html5.org/tools/web-apps-tracker?limit=-1
  680. # [12:26] * Joins: benjoffe_ (~benjoffe_@58.171.184.12)
  681. # [12:27] * Joins: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com)
  682. # [12:28] <annevk> sweet
  683. # [12:29] <annevk> now that's going to get hit often
  684. # [12:31] <annevk> someone tell me when html5.org goes down and I'll change the above URL to return "Damn it Mike™, you're awesome but did you have to expose this URL‽"
  685. # [12:31] <zcorpan> make it a rickroll redirect
  686. # [12:32] <MikeSmith> shit
  687. # [12:32] <MikeSmith> sorry man
  688. # [12:32] <annevk> heh
  689. # [12:32] <MikeSmith> change it to something else
  690. # [12:32] <annevk> I think we'll be fine
  691. # [12:32] <annevk> time will tell
  692. # [12:32] <MikeSmith> I'm managing to fuck up all kinds of things during the last two weeks
  693. # [12:32] <MikeSmith> I'm on a roll
  694. # [12:32] <MikeSmith> surprising even myself
  695. # [12:33] <annevk> more bad management if you ask me
  696. # [12:33] <MikeSmith> hard to know what lies ahead
  697. # [12:34] <annevk> maybe it's the cheese
  698. # [12:37] * Parts: brucel (~brucel@cpc5-smal11-2-0-cust151.perr.cable.virginmedia.com)
  699. # [12:40] <annevk> zcorpan: http://lists.w3.org/Archives/Public/www-archive/2011Nov/0052.html
  700. # [12:42] <annevk> http://www.urbandictionary.com/define.php?term=blink182 "Was that blink 182 or blink 181? I lost count...fuck me gently with a chainsaw."
  701. # [12:43] <annevk> lol
  702. # [12:43] * Quits: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl) (Quit: annevk)
  703. # [12:44] * Quits: pererik (~pe@unaffiliated/pererik) (Ping timeout: 258 seconds)
  704. # [12:44] <zcorpan> annevk: great success
  705. # [12:48] * Quits: yuuki (~kobayashi@58x158x182x50.ap58.ftth.ucom.ne.jp) (Quit: Leaving...)
  706. # [12:48] * Joins: pererik (~pe@unaffiliated/pererik)
  707. # [12:51] * Quits: benjoffe_ (~benjoffe_@58.171.184.12) (Remote host closed the connection)
  708. # [12:52] * Joins: benjoffe_ (~benjoffe_@58.171.184.12)
  709. # [13:01] * Joins: shepazu_ (~shepazu@70-58-87-253.tukw.qwest.net)
  710. # [13:01] * Joins: mishunov (~spliter@77.88.72.162)
  711. # [13:03] * Quits: shepazu (~shepazu@67-40-204-63.tukw.qwest.net) (Ping timeout: 252 seconds)
  712. # [13:03] * shepazu_ is now known as shepazu
  713. # [13:09] <zcorpan> wonder if i should point out that a text/html; charset=windows-1252 resource can instantiate a worker with the url "#" which will interpret the same resource as a utf-8 script
  714. # [13:10] <zcorpan> (we even have a test case for this)
  715. # [13:11] * Joins: erlehmann (~erlehmann@82.113.99.2)
  716. # [13:11] * heycam|away is now known as heycam
  717. # [13:11] * Quits: erlehmann (~erlehmann@82.113.99.2) (Remote host closed the connection)
  718. # [13:18] * Necrathex is now known as Neocortex
  719. # [13:27] * Quits: benjoffe_ (~benjoffe_@58.171.184.12) (Remote host closed the connection)
  720. # [13:33] * Joins: annevk (~annevk@ip115-168-212-87.adsl2.static.versatel.nl)
  721. # [13:33] * Joins: ashaw (ashaw@129.94.198.88)
  722. # [13:34] <ashaw> I am wondering which IRC room works on developing the JS-API
  723. # [13:34] <jgraham> What js-api?
  724. # [13:35] <annevk> zcorpan: the point was more that it's not implemented apparently
  725. # [13:35] <ashaw> the Javascipt standard library
  726. # [13:37] <zcorpan> annevk: well it's implemented in opera
  727. # [13:38] * Quits: shepazu (~shepazu@70-58-87-253.tukw.qwest.net) (Quit: shepazu)
  728. # [13:38] <annevk> ashaw: are you talking about http://es5.github.com/ ?
  729. # [13:38] <jgraham> ashaw: Do you mean DOM? Or the "standard library" in ECMAScript?
  730. # [13:39] <ashaw> I do not know, in general I want to talk about window.crypto
  731. # [13:39] <ashaw> and other things arround it for the same sort of stuff
  732. # [13:40] <annevk> this would be okay for window.crypto I think
  733. # [13:40] * Quits: adactio (~adactio@host213-123-197-180.in-addr.btopenworld.com) (Quit: adactio)
  734. # [13:40] <jgraham> ashaw: Here is as good a place as any I know, but I don't know how many of the relevant people hang out here
  735. # [13:40] <annevk> might not be anyone around to talk about it though
  736. # [13:41] <ashaw> I have implemented ECC crypto in javascript in order to try to make a start at an acceptable online voting system.
  737. # [13:41] <ashaw> however I have discovered a number of shortfalls that make this task, though possible, unpractical due to speed constraints.
  738. # [13:42] <annevk> you might be best of emailing to whatwg@whatwg.org
  739. # [13:42] <annevk> details here: http://www.whatwg.org/mailing-list
  740. # [13:42] <annevk> abarth can then reply whenever he's awake
  741. # [13:42] <ashaw> Ok, I'll email the mailing list.
  742. # [13:43] * heycam is now known as heycam|away
  743. # [13:43] * Quits: FlorianX (~Dimitri@p4FCF795C.dip.t-dialin.net) (Quit: Leaving.)
  744. # [13:45] <ashaw> Basically, I need SHA, and a Bignum library over arrayBuffers and possibly support for loading a script into a web worker off a secure server so that data can be transfered only by a communication API
  745. # [13:45] <ashaw> Has any of this been brought up before?
  746. # [13:46] <annevk> Workers support a importScripts methods
  747. # [13:47] <annevk> method even
  748. # [13:48] <ashaw> is there any way that the main site can modify the web-workers context directly, and if so, can this be stopped.
  749. # [13:49] <ashaw> Also is there a way that window.crypto.random can be accessed from a web-worker
  750. # [13:49] <zcorpan> importScripts is same-origin-only though
  751. # [13:49] <ashaw> same-orogin-only is good
  752. # [13:49] <zcorpan> good :)
  753. # [13:50] <zcorpan> i thought "off a secure server" implied different-origin
  754. # [13:50] <ashaw> no-I ment an even stricter sense of same-origin
  755. # [13:51] <ashaw> i want a web worker that is locked up tight, and can-not be modified once started
  756. # [13:54] * annevk isn't quite sure "One use case could be to replace everything in a document with new nodes:" is a use case zcorpan, but I'll allow it anyway
  757. # [13:55] <annevk> ashaw: I think only a Worker can modify a worker
  758. # [13:55] <ashaw> that same worker? or can one worker modify annother?
  759. # [13:56] <annevk> I'm going with "I don't think so"
  760. # [13:56] <annevk> you can only interact with a worker via postMessage() so I don't really see how
  761. # [13:57] <ashaw> Goooood.
  762. # [13:58] <ashaw> Now comes the question, as the cryptographically secure RNG has been put in window.crypto, there is no-way to access it from a web worker directly is there?
  763. # [13:58] <ashaw> Which is sad :(
  764. # [14:03] <annevk> well
  765. # [14:03] <annevk> it's on its own interface
  766. # [14:03] <annevk> I expect it to be exposed to workers as well
  767. # [14:03] <annevk> would make sense to me anyway
  768. # [14:03] <annevk> anyway, put that in your email
  769. # [14:04] <annevk> better to have it logged on list than here
  770. # [14:04] * Joins: Ms2ger (~Ms2ger@91.181.0.73)
  771. # [14:05] * Joins: plutoniix (~plutoniix@ppp-115-87-71-8.revip4.asianet.co.th)
  772. # [14:05] <ashaw> yeah
  773. # [14:06] <ashaw> I have been trying to figure our how to solve the problems mentioned here: http://rdist.root.org/2010/11/29/final-post-on-javascript-crypto/
  774. # [14:09] <annevk> ok emailed improving the DOM rev 2 to www-dom
  775. # [14:09] <annevk> hopefully this one is a little better
  776. # [14:12] <jgraham> annevk: Why does remove take a ContentNode?
  777. # [14:14] <annevk> i'm a copy and paste man jgraham
  778. # [14:14] <annevk> better get used to it
  779. # [14:33] * Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
  780. # [14:35] * Joins: jonatasnona (~jonatas@lba.inpa.gov.br)
  781. # [14:40] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
  782. # [14:44] * Joins: benjoffe_ (~benjoffe_@58.171.184.12)
  783. # [14:44] * Joins: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
  784. # [14:48] * Quits: benjoffe_ (~benjoffe_@58.171.184.12) (Read error: Connection reset by peer)
  785. # [14:50] * Quits: plutoniix (~plutoniix@ppp-115-87-71-8.revip4.asianet.co.th) (Read error: No route to host)
  786. # [14:50] <annevk> smaug____: so timeout should throw on setting if the synchronous flag is set
  787. # [14:50] <annevk> smaug____: and open() should throw if timeout is set to something other than zero?
  788. # [14:50] <annevk> smaug____: see http://dev.w3.org/2006/webapi/XMLHttpRequest-2 for when withCredentials currently is supposed to throw
  789. # [14:50] * Joins: plutoniix (~plutoniix@ppp-115-87-71-8.revip4.asianet.co.th)
  790. # [14:50] * Joins: RichardJ (~richard@node.liefcoden.nl)
  791. # [14:50] <annevk> I will make that change now so I don't forget
  792. # [14:51] * Joins: miketaylr (~miketaylr@24.42.93.245)
  793. # [14:53] <smaug____> looking
  794. # [14:53] <smaug____> and yes, that timout handling sounds good
  795. # [14:53] * Joins: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
  796. # [14:55] * Joins: jarek (~jarek@unaffiliated/jarek)
  797. # [14:55] * Quits: Telling (~unknown@80-71-135-15.u.parknet.dk) (Quit: ...)
  798. # [14:55] * Quits: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) (Remote host closed the connection)
  799. # [14:56] <Ms2ger> http://lists.w3.org/Archives/Public/www-style/2011Nov/0389.html
  800. # [14:57] <Ms2ger> Björn seems even more snarky than usual, lately
  801. # [14:57] * Joins: Telling (~unknown@80-71-135-15.u.parknet.dk)
  802. # [14:58] * Joins: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
  803. # [14:58] * Joins: PalleZingmark1 (~Adium@217.13.228.226)
  804. # [14:58] * Parts: PalleZingmark1 (~Adium@217.13.228.226)
  805. # [14:59] <annevk> I always wonder how he gets enough satisfaction about just being right and not having much of an effect on changing things around.
  806. # [15:00] <annevk> Assuming he's right most of the time, for now.
  807. # [15:00] * Quits: PalleZingmark (~Adium@217.13.228.226) (Ping timeout: 240 seconds)
  808. # [15:01] * Joins: davidb_ (~davidb@66.207.208.98)
  809. # [15:02] * Joins: Rik`_ (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net)
  810. # [15:02] <Ms2ger> Hmm, I wonder if Mozilla hackers are going to be confused by ContentNode
  811. # [15:03] <smaug____> Ms2ger: I'm sure we'll add ChromeNode :)
  812. # [15:03] <Ms2ger> nsIChrome? :)
  813. # [15:03] <smaug____> nsIDOMChromeNode
  814. # [15:03] <smaug____> nah, that would be visible to content
  815. # [15:03] <smaug____> nsIDOMContentNode
  816. # [15:04] <smaug____> oh, you meant nsIContent vs nsINode
  817. # [15:04] <Ms2ger> Yeah
  818. # [15:04] <annevk> Ms2ger: it's not an actual interface type though
  819. # [15:04] <annevk> Ms2ger: it's just IDL syntax
  820. # [15:04] <Ms2ger> Mm
  821. # [15:04] <smaug____> I wonder how many different meanings "content" has :)
  822. # [15:04] <annevk> at least, that's how I see it
  823. # [15:05] <annevk> so can name it FairyNode if that works better for everyone
  824. # [15:05] * Quits: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) (Ping timeout: 240 seconds)
  825. # [15:05] <annevk> because it won't make an iota of a difference
  826. # [15:05] <annevk> not sure I used "iota" right
  827. # [15:05] <smaug____> why *Node?
  828. # [15:05] <smaug____> DOMString isn't any kind of "Node"
  829. # [15:06] <annevk> in this context it becomes a Text node
  830. # [15:06] <annevk> but sure
  831. # [15:06] <annevk> we can call the thing FairyDust
  832. # [15:06] * Rik`_ is now known as Rik`
  833. # [15:06] <annevk> as I said, does not matter
  834. # [15:06] <smaug____> DOMConstructionUnit or some such might describe it better
  835. # [15:07] * Joins: PalleZingmark (~Adium@217.13.228.226)
  836. # [15:07] <smaug____> well, not quite like that, something shorter and simpler
  837. # [15:07] <annevk> have fun bikeshedding
  838. # [15:07] * annevk continues working on XHR
  839. # [15:07] <smaug____> thanks
  840. # [15:16] <hsivonen> annevk: I'm changing sync mode not to support HTML parsing
  841. # [15:16] <hsivonen> annevk: in order to avoid proliferating the sync evilness
  842. # [15:16] * Joins: andyg (~andyg@CPE-124-189-148-81.sqcy1.win.bigpond.net.au)
  843. # [15:17] <asmodai> omg
  844. # [15:17] <asmodai> Opera 12 has decent MathML rendering :|
  845. # [15:17] <annevk> I'd sort of prefer to keep HTML/XML in feature parity
  846. # [15:17] <annevk> but okay
  847. # [15:17] <annevk> I mean technically it's a new feature, but making the bar to use HTML higher is very anti-platform
  848. # [15:18] <annevk> sync is also very anti-platform, but still
  849. # [15:18] * Joins: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net)
  850. # [15:18] <jgraham> asmodai: Hmm? Same as previous Operas afaik
  851. # [15:19] * Quits: smaug____ (~chatzilla@GYYYMCLXV.gprs.sl-laajakaista.fi) (Ping timeout: 244 seconds)
  852. # [15:19] * Quits: tomasf (~tomasf@77.72.97.5.c.fiberdirekt.net) (Quit: tomasf)
  853. # [15:21] <asmodai> jgraham: Really? because last time around when I check on 11 it was not looking so decent?
  854. # [15:21] <asmodai> Unless my memory is deteriorating faster than I think it does.
  855. # [15:23] <hsivonen> hmm. turning off HTML parsing in sync mode make charset handling differ between sync and async...
  856. # [15:23] * Quits: esc_ (~esc-ape@72.inst-3.ufg.ac.at) (Ping timeout: 252 seconds)
  857. # [15:24] * Joins: esc_ (~esc-ape@72.inst-3.ufg.ac.at)
  858. # [15:26] <hsivonen> discussions about spec organization so that normative references always point to more mature specs makes me sad
  859. # [15:26] <hsivonen> s/makes/make/
  860. # [15:30] <annevk> hmm
  861. # [15:30] <annevk> smaug left
  862. # [15:30] <annevk> http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#the-timeout-attribute
  863. # [15:30] <annevk> http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#the-open-method
  864. # [15:31] * Joins: scor (~scor@132.183.13.49)
  865. # [15:31] * Quits: scor (~scor@132.183.13.49) (Changing host)
  866. # [15:31] * Joins: scor (~scor@drupal.org/user/52142/view)
  867. # [15:33] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
  868. # [15:47] * Quits: Areks (~Areks@rs.gridnine.com) (Ping timeout: 240 seconds)
  869. # [15:48] <annevk> heh http://infrequently.org/2011/11/vendor-prefixes-are-a-rousing-success/
  870. # [15:49] <annevk> now if Google/Apple sort out deprecating features in WebKit
  871. # [15:49] <annevk> I could buy into that
  872. # [15:49] <annevk> (and deprecating in a way that leads to actual removal)
  873. # [15:49] <annevk> if not, well...
  874. # [15:50] * nunnun_away is now known as nunnun
  875. # [15:53] * Quits: annevk (~annevk@ip115-168-212-87.adsl2.static.versatel.nl) (Quit: annevk)
  876. # [15:54] * Joins: agektmr (~Adium@p2067-ipbf1606marunouchi.tokyo.ocn.ne.jp)
  877. # [16:01] <AryehGregor> heycam|away, JS doesn't throw at all for insufficient arguments, does it? It just sets them to undefined? You're right that it seems to use TypeError for everything under the sun, though.
  878. # [16:04] <AryehGregor> It seems like it would be more desirable to throw distinct exceptions for too few arguments and wrong type, which is what Gecko currently seems to do.
  879. # [16:05] <AryehGregor> But I guess if browsers are willing to go with it, shrug.
  880. # [16:05] * Quits: PalleZingmark (~Adium@217.13.228.226) (Ping timeout: 276 seconds)
  881. # [16:06] * Joins: PalleZingmark (~Adium@217.13.228.226)
  882. # [16:06] * Joins: MacTed (~Thud@63.119.36.36)
  883. # [16:11] * Quits: cgcardona (~cgcardona@unaffiliated/cgcardona) (Quit: cgcardona)
  884. # [16:13] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
  885. # [16:14] * Joins: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp)
  886. # [16:14] * Joins: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com)
  887. # [16:15] * Quits: woef (~woef@91.183.84.141) (Ping timeout: 260 seconds)
  888. # [16:16] * Joins: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru)
  889. # [16:19] * Joins: smaug____ (~chatzilla@193-64-22-178-nat.elisa-mobile.fi)
  890. # [16:20] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Ping timeout: 258 seconds)
  891. # [16:21] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  892. # [16:24] * Quits: Margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Client Quit)
  893. # [16:25] * Joins: temp01 (~temp01@unaffiliated/temp01)
  894. # [16:25] * Joins: Margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  895. # [16:26] * Quits: PalleZingmark (~Adium@217.13.228.226) (Quit: Leaving.)
  896. # [16:30] * Margle is now known as margle
  897. # [16:34] * Joins: annevk (~annevk@5355737B.cm-6-6b.dynamic.ziggo.nl)
  898. # [16:35] <annevk> AryehGregor: Opera throws WRONG_ARGUMENT_ERR or some such
  899. # [16:35] <AryehGregor> Yes.
  900. # [16:35] <AryehGregor> For both.
  901. # [16:35] <AryehGregor> It's a clearer error name than TypeError.
  902. # [16:35] <annevk> AryehGregor: oh okay :)
  903. # [16:36] * Quits: temp01 (~temp01@unaffiliated/temp01) (Read error: Connection reset by peer)
  904. # [16:36] <annevk> I think nobody has taken a critical look yet at that part of Web IDL
  905. # [16:36] <annevk> apart from maybe Microsoft but they don't give feedback until it is shipped typically
  906. # [16:39] * Parts: Rik` (~Rik`@mozilla.vlan402.asr1.cdg3.gblx.net) ("Leaving...")
  907. # [16:39] * Joins: temp01 (~temp01@unaffiliated/temp01)
  908. # [16:40] <jgraham> I like TypeError
  909. # [16:40] <jgraham> I think aligining with javascript native APIs is a win
  910. # [16:41] <jgraham> Also, I notice that Alex doesn't really talk about the user or vendor point of view of prefixes, only the author point of view. It is pretty easy to say that prefixes are awesome when you work on webkit and are sure that everyone will include a -webkit- prefix always
  911. # [16:44] * Quits: davidb_ (~davidb@66.207.208.98) (Quit: davidb_)
  912. # [16:47] * Joins: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net)
  913. # [16:47] <tantek> Hixie: re: time element text update, minor tweak:
  914. # [16:48] <tantek> s/The datetime attribute must be present. Its value must be/The datetime attribute, if present, must be
  915. # [16:48] <tantek> since we explicitly allow <time>2011</time> etc. (even prefer)
  916. # [16:48] <tantek> to reduce DRY violations
  917. # [16:49] <tantek> also, example still to be fixed:
  918. # [16:49] <tantek> s/"2007-10-20">19/"2007-10-07">7
  919. # [16:51] <tantek> regarding time zone offsets, experience has shown that *dropping* the ":" between the hours/minutes on timezone offsets helps better distinguish them from appearing like times
  920. # [16:52] <tantek> e.g. 07:00-0800 is more obviously 7am in PST than
  921. # [16:52] <tantek> 07:00-08:00 which looks like an interval of 7am to 8am.
  922. # [16:52] <zewt> whoever started with sub-hour timezone offsets needs to be shot into the sun
  923. # [16:52] <tantek> this is a human authorability/readability/verfiability concern
  924. # [16:53] <tantek> zewt I believe there is even a country that has a half-hour DST change.
  925. # [16:53] <zewt> tantek: -0800 is also just a common notation that people are familiar with
  926. # [16:53] <tantek> dbaron would know
  927. # [16:53] <tantek> yeah
  928. # [16:53] <zewt> i've heard of at least one place with a 15-minute offset :|
  929. # [16:54] * Joins: davidb (~davidb@66.207.208.98)
  930. # [16:54] * Joins: MikeSmith_ (~MikeSmith@EM114-48-71-19.pool.e-mobile.ne.jp)
  931. # [16:54] <tantek> I'm fine with parsing with the colon as error recovery, however we should make timezone offsets valid only *without* the ":" between HH MM.
  932. # [16:54] <annevk> yeah, around India there's some fun stuff
  933. # [16:55] <annevk> India in fact has the half an hour
  934. # [16:56] <annevk> Bangladesh might be the one with three quarters?
  935. # [16:56] <tantek> Hixie, regarding year-less date parsing:
  936. # [16:56] <tantek> http://www.whatwg.org/specs/web-apps/current-work/#parse-a-yearless-date-string
  937. # [16:56] <annevk> oh, Nepal is
  938. # [16:56] <annevk> in Kathmandu it's 21:35 now
  939. # [16:56] <tantek> please explicitly allow the leading double-hyphen
  940. # [16:56] <tantek> making it optional is fine
  941. # [16:56] <tantek> e.g.
  942. # [16:56] <tantek> --11-18
  943. # [16:57] <tantek> as that's the ISO8601 syntax for yearless dates
  944. # [16:57] * Quits: MikeSmith (~MikeSmith@EM1-113-25-204.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
  945. # [16:57] * MikeSmith_ is now known as MikeSmith
  946. # [16:57] <annevk> Chatham Islands in New Zealand have a similar weird offset
  947. # [16:57] * Quits: Ms2ger (~Ms2ger@91.181.0.73) (Quit: bbl)
  948. # [16:57] <annevk> there it's 05:35
  949. # [16:58] <zewt> into the sun.
  950. # [16:58] <annevk> if we have offsets at all it doesn't really matter how arbitrary they are
  951. # [17:05] <smaug____> "What front-ender in 2011 doesn’t test on at least two browsers?" I'm pretty sure in case of pages for mobile devices, it happens very often.
  952. # [17:09] <jgraham> Indeed. And even when they do it is probably stock iOS + stock android
  953. # [17:10] <annevk> apple.com/html5/ anyone?
  954. # [17:17] * Quits: margle (~Margle@41-133-196-64.dsl.mweb.co.za) (Quit: Computer has gone to sleep.)
  955. # [17:19] * Joins: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
  956. # [17:19] <TabAtkins_> Hixie: Somewhat confusingly, the <time> section says that @datetime is required, and then all of the examples don't use @datetime.
  957. # [17:20] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
  958. # [17:20] <annevk> http://www.msnbc.msn.com/id/45306416/ns/health-diet_and_nutrition/ o_O
  959. # [17:20] <annevk> pizza a vegetable
  960. # [17:20] <annevk> wtf is wrong with that country
  961. # [17:20] <zewt> TabAtkins: fyi earlier <tantek> s/The datetime attribute must be present. Its value must be/The datetime attribute, if present, must be
  962. # [17:20] <annevk> I thought the EU had issues
  963. # [17:20] * Quits: gwicke (~gabriel@212.255.44.58) (Ping timeout: 240 seconds)
  964. # [17:25] * Quits: agektmr (~Adium@p2067-ipbf1606marunouchi.tokyo.ocn.ne.jp) (Quit: Leaving.)
  965. # [17:25] * Quits: smaug____ (~chatzilla@193-64-22-178-nat.elisa-mobile.fi) (Ping timeout: 245 seconds)
  966. # [17:28] <TabAtkins_> zewt: Yeah.
  967. # [17:28] <TabAtkins_> annevk: It's called lobbying! Our government is basically run by corporations.
  968. # [17:28] <divya> TabAtkins: its just a better name for corruption
  969. # [17:29] <divya> and bribery
  970. # [17:29] <TabAtkins_> divya: Pretty much, yes.
  971. # [17:29] <divya> ?slap US politicians
  972. # [17:30] <annevk> lobbying makes some amount of sense (e.g. as wycats does on behalf of some set of developers), but this goes way beyond that
  973. # [17:30] <divya> this scares me SO MUCH http://jilliancyork.com/wp-content/uploads/2011/11/mubarak-and-us-presidents1.gif
  974. # [17:30] <miketaylr> the new national anthem: http://www.youtube.com/watch?v=wusGIl3v044
  975. # [17:31] <divya> especially how Hosni looks unchanged over 40 yearss
  976. # [17:31] <divya> hahaha miketaylr
  977. # [17:31] <timeless> annevk: we tried to make ketchup a vegetable :)
  978. # [17:31] <timeless> divya: at least you can see it publicly :)
  979. # [17:32] <divya> timeless: whats the advantage? just despair?
  980. # [17:32] <timeless> you can openly see who is being corrupted
  981. # [17:32] <timeless> since it's in the public
  982. # [17:32] <timeless> whereas corruption in Finland occurs behind closed doors
  983. # [17:32] <timeless> you know it happened, but not how/to whom
  984. # [17:33] <divya> timeless: but both sucks anyway, we all end up getting screwed
  985. # [17:33] <divya> not like this public display of corruption makes any difference to the lives of ordinary people
  986. # [17:33] <divya> also i do not think corporations have altered the culture of a nation anywhere else as much as they have in the US
  987. # [17:34] <timeless> that's a function of time
  988. # [17:34] <timeless> and the fact that most other places already have preexisting corruption fighting to retain dominance :)
  989. # [17:34] <timeless> (hello Italy, Greece, Spain)
  990. # [17:35] <divya> i dunno timeless in india at least there are so many companies vying for favors that it ends up favouring nobody.
  991. # [17:35] <divya> which is great. except here in the US that is not the case.
  992. # [17:36] <divya> anywayysss sorry for ot convo :P
  993. # [17:36] <tantek> TabAtkins - see log for a bunch of <time> feedback/iteration
  994. # [17:37] <timeless> divya: what i've seen of india is that it has dangerous corruption at local levels
  995. # [17:37] <timeless> (see some illegal mining or something)
  996. # [17:37] <timeless> in the US, typically you can't get away w/ just corrupting local officials for that purpose
  997. # [17:37] <divya> timeless: totally, but it does not impact the whole nation like it does here.
  998. # [17:38] <timeless> it's all about Checks and Balances
  999. # [17:38] <timeless> our system requires bigger Checks :)
  1000. # [17:38] <divya> hahahaha
  1001. # [17:40] * Joins: othermaciej (~mjs@65.50.217.57)
  1002. # [17:44] * Quits: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com) (Quit: tomasf)
  1003. # [17:44] * Joins: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com)
  1004. # [17:45] <jgraham> (in the particular case of school food, the US is hardly the only place with significant issues. There was an expose a few years back in Britain that showed schools spending 37p per pupil on food and not including anything that could remotely be descibed as healthy. I'm not sure the situation is much better in Sweden)
  1005. # [17:45] * Quits: tomasf (~tomasf@host-95-199-21-194.mobileonline.telia.com) (Read error: Connection reset by peer)
  1006. # [17:46] <Philip`> (Fortunately we had Jamie Oliver to solve the nation's woes)
  1007. # [17:49] <jgraham> (unfortunately he didn't. He did raise awareness of it as a problem though)
  1008. # [17:50] * Quits: nonge (~nonge@p5B326C36.dip.t-dialin.net) (Quit: Verlassend)
  1009. # [17:52] <tantek> TabAtkins - also you may be interested in reviewing (and contributing to) the rationale for the data element: http://www.w3.org/wiki/User:Tantekelik/data_element
  1010. # [17:52] * Joins: jarek (~jarek@awf43.neoplus.adsl.tpnet.pl)
  1011. # [17:52] * Quits: jarek (~jarek@awf43.neoplus.adsl.tpnet.pl) (Changing host)
  1012. # [17:52] * Joins: jarek (~jarek@unaffiliated/jarek)
  1013. # [17:52] <tantek> (per the emails you've been sending to public-html)
  1014. # [17:53] * Quits: zcorpan (~zcorpan@c-699de355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
  1015. # [17:53] * Joins: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp)
  1016. # [17:56] * Joins: cgcardona (~cgcardona@69.38.221.130)
  1017. # [17:56] * Quits: cgcardona (~cgcardona@69.38.221.130) (Changing host)
  1018. # [17:56] * Joins: cgcardona (~cgcardona@unaffiliated/cgcardona)
  1019. # [17:57] * Quits: myakura (~myakura@FL1-211-135-241-47.tky.mesh.ad.jp) (Remote host closed the connection)
  1020. # [17:58] * Quits: davidb (~davidb@66.207.208.98) (Quit: davidb)
  1021. # [18:02] * Joins: davidb_ (~davidb@66.207.208.98)
  1022. # [18:03] * Joins: hasather_ (~hasather_@84.38.144.96)
  1023. # [18:07] * Quits: Timz (~Adium@86.89.174.199) (Quit: Leaving.)
  1024. # [18:11] * manu` is now known as manu
  1025. # [18:11] * manu is now known as Guest7523
  1026. # [18:13] * Quits: Phrogz (d8e47015@pdpc/supporter/professional/phrogz) (Ping timeout: 265 seconds)
  1027. # [18:13] * Guest7523 is now known as manu1
  1028. # [18:15] * Joins: shepazu (~shepazu@70-58-87-253.tukw.qwest.net)
  1029. # [18:16] * Quits: ezoe (~ezoe@112-68-244-151f1.kyt1.eonet.ne.jp) (Ping timeout: 244 seconds)
  1030. # [18:16] * Joins: smaug____ (~chatzilla@193-64-22-161-nat.elisa-mobile.fi)
  1031. # [18:20] * MrOpposite is now known as MrOpposite|LAN
  1032. # [18:20] * MrOpposite|LAN is now known as Oppo|LAN
  1033. # [18:32] * Quits: Neocortex (~nectop@82-170-160-25.ip.telfort.nl) (Quit: Neocortex)
  1034. # [18:34] * Quits: othermaciej (~mjs@65.50.217.57) (Quit: othermaciej)
  1035. # [18:34] * Quits: Lachy (~Lachy@pat-tdc.opera.com) (Quit: Computer has gone to sleep.)
  1036. # [18:37] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Quit: Leaving.)
  1037. # [18:38] * Joins: Maurice` (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
  1038. # [18:39] * Joins: JonathanNeal (~Jonathan@cpe-72-130-7-141.socal.res.rr.com)
  1039. # [18:39] <JonathanNeal> All right, lay it on me, if you must. Why are people hating on client-side LESS?
  1040. # [18:42] <jarek> JonathanNeal: because it's over-complicated and there are no tools to debug it?
  1041. # [18:42] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
  1042. # [18:42] <JonathanNeal> well, i appreciate hearing an answer, and i can understand the absense of debugging tools for the less itself.
  1043. # [18:49] * Joins: othermaciej (~mjs@17.245.89.94)
  1044. # [18:49] * Joins: JonathanNeal1 (~Jonathan@cpe-72-130-7-141.socal.res.rr.com)
  1045. # [18:52] * Quits: astearns (~anonymous@c-50-132-63-33.hsd1.wa.comcast.net) (Quit: astearns)
  1046. # [18:53] * Quits: JonathanNeal (~Jonathan@cpe-72-130-7-141.socal.res.rr.com) (Ping timeout: 240 seconds)
  1047. # [18:54] * Quits: jarek (~jarek@unaffiliated/jarek) (Read error: Operation timed out)
  1048. # [18:58] <TabAtkins_> tantek: Okay, I'll review when I get to the office and have the log to look at.
  1049. # [19:00] <tantek> Thanks TabAtkins. Also feel free to join the data_element change proposal as a co-contributor assuming that's the approach you want to take.
  1050. # [19:01] * Joins: ap (~ap@2620:149:4:1b01:f81e:3074:3d2a:323d)
  1051. # [19:02] <TabAtkins_> Yeah, I'm about to edit the wiki page a bit.
  1052. # [19:07] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
  1053. # [19:08] * Joins: KillerX (~anant@nat/mozilla/x-empooqlfgmokzazj)
  1054. # [19:08] * Joins: jarek (~jarek@unaffiliated/jarek)
  1055. # [19:09] * Quits: JonathanNeal1 (~Jonathan@cpe-72-130-7-141.socal.res.rr.com) (Quit: Leaving.)
  1056. # [19:12] <AryehGregor> ES5 seems to leave typeof foo undefined if foo is a host object that doesn't implement [[Call]]. Are there real-world examples of such things that don't have a typeof "object"?
  1057. # [19:13] * Joins: jarek__ (~jarek@bdb175.neoplus.adsl.tpnet.pl)
  1058. # [19:13] * jarek is now known as Guest12243
  1059. # [19:13] <AryehGregor> Also: why is legacycaller legacy?
  1060. # [19:13] <AryehGregor> Do we not want things implementing interfaces to be callable?
  1061. # [19:15] * Quits: Guest12243 (~jarek@unaffiliated/jarek) (Ping timeout: 240 seconds)
  1062. # [19:17] * Joins: gavinc (~gavin@50-0-76-242.dsl.dynamic.sonic.net)
  1063. # [19:17] <annevk> AryehGregor: correct
  1064. # [19:17] <AryehGregor> Why not, out of curiosity?
  1065. # [19:18] <annevk> getter is sufficient
  1066. # [19:19] <annevk> caller is a legacy document.all thing
  1067. # [19:19] <annevk> should rename constant to legacyconstant as well imo
  1068. # [19:20] <Hixie> really?
  1069. # [19:21] <annevk> whenever you want to use numeric constants, you want to use string enumeration instead
  1070. # [19:22] <AryehGregor> Yeah, that would actually be a really good change.
  1071. # [19:22] <AryehGregor> Hopefully it will scare spec writers away from using numeric constants in new interfaces.
  1072. # [19:23] <TabAtkins_> Oh man, one can hope.
  1073. # [19:24] <annevk> that doesn't mean btw that I think that whereever we have constants now we should introduce the equivalent with strings
  1074. # [19:24] <annevk> just that we shouldn't propagate it further
  1075. # [19:24] <TabAtkins_> Yes, many existing uses aren't worth bothering over.
  1076. # [19:29] * Joins: sicking (~chatzilla@nat/mozilla/x-owiemiienxbrmbsw)
  1077. # [19:31] <tantek> Hixie, btw once that example fix is done, you can strike this paragraph: (The end date is encoded as one day after the last date of the event because in the iCalendar format, end dates are exclusive, not inclusive.)
  1078. # [19:31] <tantek> since that's been fixed for a while in hCalendar :) http://microformats.org/wiki/dtend-issue
  1079. # [19:34] * Quits: eric_carlson (~eric@17.212.152.104) (Quit: eric_carlson)
  1080. # [19:35] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1081. # [19:35] * Joins: jer|afk (~jernoble@c-67-188-109-7.hsd1.ca.comcast.net)
  1082. # [19:36] * Quits: jer|afk (~jernoble@c-67-188-109-7.hsd1.ca.comcast.net) (Client Quit)
  1083. # [19:37] <AryehGregor> WebIDL does not appear to define the [[Class]] of interface prototype objects.
  1084. # [19:37] <AryehGregor> Is there something that implies it's implicitly "Object"?
  1085. # [19:37] * Joins: astearns (~anonymous@192.150.22.5)
  1086. # [19:38] <AryehGregor> Oh: "If a value for the internal property [[Class]] is not given for a particular object, its value is implementation specific."
  1087. # [19:38] <AryehGregor> Phooey.
  1088. # [19:41] <bga_> hm
  1089. # [19:42] * Joins: jacobolu_ (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
  1090. # [19:44] * Joins: jamesr (jamesr@nat/google/x-kcicrmaalfthjnwc)
  1091. # [19:45] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Read error: Operation timed out)
  1092. # [19:46] * Quits: Obvious_MkII (tachikoma@188.226.74.2) (Ping timeout: 276 seconds)
  1093. # [19:48] * Quits: jarek__ (~jarek@bdb175.neoplus.adsl.tpnet.pl) (Ping timeout: 240 seconds)
  1094. # [19:51] * Joins: ojan (ojan@nat/google/x-jpuwhceenrhozrjt)
  1095. # [19:51] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 252 seconds)
  1096. # [19:54] * Joins: Obvious (tachikoma@188.226.74.2)
  1097. # [19:57] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1098. # [20:03] <Hixie> tantek: you filed a bug about that right? at tpac?
  1099. # [20:06] <tantek> yeah - the hCalendar example is a separate issue on the wiki page
  1100. # [20:06] <tantek> I think you filed a bug about it at TPAC :)
  1101. # [20:08] <Hixie> ok. so long as the issue is covered by a bug, i'll deal with it in a separate patch
  1102. # [20:09] <Hixie> this patch is long enoug as it is
  1103. # [20:10] <Hixie> annevk: i think the algorithm is just gonna be "try each of these algorithms in turn", because the alternative is either to make a really complicated hybrid algorithm for the whole thing (what UAs that care about performance will want to do), or a bunch of heuristics that will be a maintenance nightmare and that nobody will ever actually implement as written anyway
  1104. # [20:14] <AryehGregor> Hixie, you use numeric constants in lots of new interfaces. You should really use strings instead. They're much nicer for authors.
  1105. # [20:14] <Hixie> all those interfaces predate the change in prevailing opinion on the matter
  1106. # [20:14] <AryehGregor> Are all of them implemented yet?
  1107. # [20:14] <Hixie> file bugs if there are any not
  1108. # [20:14] <Hixie> i'm happy to change htem
  1109. # [20:17] <AryehGregor> http://www.w3.org/Bugs/Public/show_bug.cgi?id=14879
  1110. # [20:18] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
  1111. # [20:21] <Hixie> commented
  1112. # [20:23] * Quits: TabAtkins_ (~TabAtkins@76-253-1-30.lightspeed.sntcca.sbcglobal.net)
  1113. # [20:26] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 258 seconds)
  1114. # [20:27] <Hixie> tantek: do you have a reference for the double hyphen thing for yearless dates?
  1115. # [20:27] <Hixie> the wikipedia page says -- is used as an interval delimiter
  1116. # [20:29] <Hixie> vcard seems to use wacked syntax without delimiters
  1117. # [20:29] <tantek> really? that's odd. vCard4 certainly has it as an example for it http://tools.ietf.org/html/rfc6350#section-4.3
  1118. # [20:29] <tantek> yeah they leave out the delimiters between Y M D
  1119. # [20:30] <tantek> (oddly)
  1120. # [20:30] <Hixie> removing delimiters is a non-starter for <time> since it would lead to all kinds of ambiguities
  1121. # [20:30] <tantek> well of course
  1122. # [20:30] <tantek> it's worse than that
  1123. # [20:30] <Hixie> so for now i'll punt on the -- thing
  1124. # [20:30] <tantek> it hurts authorability
  1125. # [20:30] <Hixie> for sure
  1126. # [20:30] <tantek> hence the version I proposed with delimiters
  1127. # [20:31] <tantek> --11-18
  1128. # [20:31] <tantek> instead of
  1129. # [20:31] <tantek> --1118
  1130. # [20:31] <tantek> both are valid ISO8601
  1131. # [20:31] <Hixie> annevk: if you're still around, take a look and let me know if the rather naiive algorithm i put in is acceptable to you
  1132. # [20:32] <tantek> which is why included --MM-DD in particular
  1133. # [20:32] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1134. # [20:32] <tantek> in order to provide a microsyntax for month-day that was ISO8601 compatible
  1135. # [20:33] <Hixie> ok screw it. i'm gonna find out if google actually has a copy of this damn standard and just read it.
  1136. # [20:34] <Hixie> tired of reading second-hand accounts of it on the web :-)
  1137. # [20:34] <tantek> Hixie, out of curiosity, why did you include the year-week microsyntax? (not that I oppose it, I just didn't find enough use-cases to really justify it_
  1138. # [20:34] <tantek> )
  1139. # [20:34] <tantek> I mean if you're going to include year-week, you might as well include year-ordinaldays
  1140. # [20:34] <tantek> e.g.
  1141. # [20:34] <tantek> 2011-322
  1142. # [20:34] <Hixie> you listed parity with <input type=foo> as a design policy, so i went with it
  1143. # [20:35] * Joins: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net)
  1144. # [20:35] <Hixie> (week dates are quite common in european business)
  1145. # [20:35] <tantek> ah ok - wasn't sure if you considered that a strong enough reason - ok
  1146. # [20:35] <tantek> interesting
  1147. # [20:35] <Hixie> well i figured why not, it costs us virtually nothing at this point
  1148. # [20:35] <Hixie> i mean, what's one more when there's half a dozen formats already
  1149. # [20:35] <tantek> in that case, I'd say add ordinal dates also
  1150. # [20:35] <tantek> as that would complete the wikipedia infobox examples
  1151. # [20:36] <tantek> on the right here: http://en.wikipedia.org/wiki/ISO_8601
  1152. # [20:36] <Hixie> ordinal dates are too close to year-month imho. also, no <input type> equivalent, and not used as much as weeks as far as i'm aware.
  1153. # [20:36] <tantek> http://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates
  1154. # [20:36] <tantek> and besides, everyone knows ordinal dates are the future, right TabAtkins?
  1155. # [20:37] <tantek> there's no input type equivalent because ordinal dates are just another form of dates
  1156. # [20:38] <Hixie> true. so there's not really a use case.
  1157. # [20:38] <Hixie> and realistically, your bims ain't gonna take over any time soon :-P
  1158. # [20:39] <tantek> my experience has been that bims have been useful for storage but not in publishing
  1159. # [20:39] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: This computer has gone to sleep)
  1160. # [20:40] <tantek> the use cases for ordinals over normal dates are mostly just date-math related - easier to add / subtract # of days
  1161. # [20:40] <tantek> or even weeks
  1162. # [20:40] <Hixie> http://www.exit109.com/~ghealton/y2k/yrexamples.html#_International.ISO8601 is the first page i've found that supports your --month-day theory, but according to that page, -nn-nn is confusingly a _month_, not a yearless day...
  1163. # [20:41] <Hixie> anyway, i'll add support for --
  1164. # [20:42] <tantek> it might make yearless dates less confusing for europeans
  1165. # [20:42] <tantek> if a European sees 11-10 they erroneously interpret it as 11th of October
  1166. # [20:42] <Hixie> as a european, i'd interpret it as november tenth
  1167. # [20:43] <tantek> whereas if they saw --11-10 they may have a chance at noticing something is different than their locale-specific date-format and then see it correctly.
  1168. # [20:43] <Hixie> yeah
  1169. # [20:43] <Hixie> anyway, optional leading -- is now conforming and parsed
  1170. # [20:43] <Philip`> If I saw --11-10 I wouldn't have a clue what it was and would have no idea where to look to find out
  1171. # [20:43] <Hixie> ok unless anyone has anything else that needs changing, i'm gonna push it
  1172. # [20:43] <tantek> again, this is about tweaking the syntax to increase data quality
  1173. # [20:43] <tantek> Hixie - there were some complaints about using schema.org examples
  1174. # [20:43] <Hixie> Philip`: what about if you saw "Birthday: <time>--11-10</time>" ?
  1175. # [20:43] <tantek> I think it was on the bug on data
  1176. # [20:44] <Hixie> tantek: if there's an open bug on something, i'll deal with that separately
  1177. # [20:44] <tantek> Philip - as far as data quality is concerned, "wouldn't have a clue what it was" is better than silently misinterpreting it as a different value.
  1178. # [20:44] <Hixie> none of the new examples are schema.org-related
  1179. # [20:44] * Joins: _bga (~bga@ppp91-122-180-182.pppoe.avangarddsl.ru)
  1180. # [20:45] <tantek> Hixie, this one: itemtype="http://schema.org/BlogPosting"
  1181. # [20:45] <tantek> does anyone even use BlogPosting?
  1182. # [20:45] <tantek> it's an unnecessary divergence from the Atom / hAtom vocabulary
  1183. # [20:45] <Philip`> Hixie: I'm pretty sure I'd still have no idea
  1184. # [20:45] <tantek> which btw, is in every copy of wordpress now
  1185. # [20:45] <tantek> (hAtom that is)
  1186. # [20:46] <Philip`> (I'd expect everyone to write birthdays as "10 Nov" or "10 November" anyway, not "11-10")
  1187. # [20:47] * Quits: bga_ (~bga@ppp78-37-232-109.pppoe.avangarddsl.ru) (Ping timeout: 260 seconds)
  1188. # [20:47] <tantek> let me see if I get this right in microdata:
  1189. # [20:47] <tantek> <article itemscope itemtype="http://microformats.org/profile/hatom">
  1190. # [20:47] <tantek> <h1 itemprop="entry-title">Small tasks</h1>
  1191. # [20:47] <tantek> <footer>Published <time itemprop="published" datetime="2009-08-30">yesterday</time>.</footer>
  1192. # [20:47] <tantek> <p itemprop="entry-content">I put a bike bell on his bike.</p>
  1193. # [20:47] <tantek> </article>
  1194. # [20:48] <Hixie> tantek: happy to add hAtom examples too, spec is trying to remain neutral on the question of vocabs. file bugs or send mails with suggested examples.
  1195. # [20:48] <tantek> ah ok
  1196. # [20:48] <Hixie> tantek: assuming there's a spec somewhere that defines the microdata vocabulary "http://microformats.org/profile/hatom" and all its conformance rules, that looks right
  1197. # [20:49] <Hixie> ok. i'm pushing the first draft of this new <time> element.
  1198. # [20:49] <tantek> Hixie - the goal is to have the URL *be* the definition (or summary reference for) the spec
  1199. # [20:50] <tantek> is there a distinction between name of vocabulary and root object in microdata?
  1200. # [20:50] <tantek> or are they presume to be the same?
  1201. # [20:50] <Hixie> tantek: that seems like a fine goal, though currently not an achieved one.
  1202. # [20:50] <Hixie> "root object"?
  1203. # [20:50] <Hixie> (not achieved for that to be a microdata vocabulary, i mean. looks like it defines a microformats one.)
  1204. # [20:51] <tantek> right, the profiles need to be updated to be syntax independent
  1205. # [20:51] * Joins: dave_levin (dave_levin@nat/google/x-kpmgwjyyzfwervek)
  1206. # [20:51] <tantek> part of the goal of microformats-2, to separate vocabulary development so that they can be used independently of the microformats-2 syntax (and vice versa)
  1207. # [20:52] <tantek> e.g. in microformats-2 it would look like this (URL not exist yet)
  1208. # [20:52] <tantek> <article itemscope itemtype="http://microformats.org/profile/h-entry">
  1209. # [20:52] <tantek> <h1 itemprop="entry-title">Small tasks</h1>
  1210. # [20:52] <tantek> <footer>Published <time itemprop="published" datetime="2009-08-30">yesterday</time>.</footer>
  1211. # [20:52] <tantek> <p itemprop="entry-content">I put a bike bell on his bike.</p>
  1212. # [20:52] <tantek> </article>
  1213. # [20:53] <Hixie> tantek: for a vocabulary to be used for microdata, it needs to define conformance to the same level of detail as the vcard microdata vocabulary in the html spec
  1214. # [20:53] <Hixie> tantek: which includes some microdata-specific concepts
  1215. # [20:53] <Hixie> http://www.whatwg.org/specs/web-apps/current-work/#vcard
  1216. # [20:54] * Quits: drublic (~drublic@frbg-4d029aee.pool.mediaWays.net) (Remote host closed the connection)
  1217. # [20:54] <tantek> like "This vocabulary does not support global identifiers for items." ?
  1218. # [20:55] <Hixie> pretty much every sentence in that section uses microdata-specific terminology
  1219. # [20:55] <Hixie> ("item" is a special concept in microdata)
  1220. # [20:55] <tantek> item/object same difference
  1221. # [20:55] <Hixie> so long as somewhere you say that
  1222. # [20:56] <Hixie> e.g. "when this vocabulary is used with microdata, conformance requirements corresponding to objects apply to items" or something
  1223. # [20:56] <tantek> that's reasonable
  1224. # [20:56] <tantek> btw if you're flattening vcard microdata in general (as you did with sex / gender-identity), you can drop all the "(inside n)"
  1225. # [20:56] <tantek> ok
  1226. # [20:57] <tantek> "n" is dropped in microformats-2 version of h-card and all its subproperties are flattened to just be properties of the "item" as you would say in microdata
  1227. # [20:58] <Hixie> yeah
  1228. # [20:58] <Hixie> i thought about changing that
  1229. # [20:58] <Hixie> but i figured it'd be better to leave it so people could see how to spec that kind of structure
  1230. # [20:58] <Hixie> since nobody uses this vocabulary anyway... :-)
  1231. # [20:59] <Hixie> (if you want to define the "http://microformats.org/profile/hcard" vocabulary such that people use it, i don't mind changing the URL in the HTML spec and adding a note saying that it's just an example vocab)
  1232. # [20:59] <tantek> you could leave "org" as is if you want to leave the documentation of how to do that
  1233. # [20:59] <Hixie> org has a different structure
  1234. # [20:59] <Hixie> so they're both useful in their own way
  1235. # [21:00] * Quits: shepazu (~shepazu@70-58-87-253.tukw.qwest.net) (Quit: shepazu)
  1236. # [21:00] <tantek> aren't they just both list of subproperties?
  1237. # [21:00] * Joins: mkanat (mkanat@nat/google/x-qnqgzmxhcqmbgzsk)
  1238. # [21:00] <Hixie> one is a fixed set, the other is more open-ended, iirc
  1239. # [21:00] <tantek> they should both just be fixed sets
  1240. # [21:01] <Hixie> org takes zero-or-more organization-unit properties
  1241. # [21:01] <Hixie> ORG:name;unit;unit;unit
  1242. # [21:01] <Hixie> or something
  1243. # [21:01] <tantek> hmm, I thought commas delimited multivalues and ; delimited the subproperties
  1244. # [21:02] <tantek> but I'd have to double-check vcard
  1245. # [21:02] <Hixie> i dunno
  1246. # [21:02] <Hixie> i'm just doing it from memory
  1247. # [21:02] <tantek> would it be helpful for http://microformats.org/profile/hcard to provide the microdata-specific concepts you mention?
  1248. # [21:03] <Hixie> hcard or hatom?
  1249. # [21:03] <tantek> potentially both/all
  1250. # [21:03] * Quits: KillerX (~anant@nat/mozilla/x-empooqlfgmokzazj) (Read error: Connection reset by peer)
  1251. # [21:03] <Hixie> for hatom, sure, if it's to be used with microdata
  1252. # [21:03] <Hixie> for hcard, also sure, if you want to take over speccing that vocab
  1253. # [21:04] <Hixie> then i can change the html spec's vcard vocab to more obviously an example
  1254. # [21:04] * Joins: KillerX (~anant@nat/mozilla/x-ctaoxkijfbiadiqk)
  1255. # [21:04] <Hixie> if you want to do that, send mail
  1256. # [21:04] <tantek> why would you need to change the html spec's vocab?
  1257. # [21:04] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 245 seconds)
  1258. # [21:04] <Hixie> well we don't want two specs defining the same thing, especially if differently from each other :-)
  1259. # [21:04] <Hixie> the vocabs in html are really only there to show how to define a vocab
  1260. # [21:04] <tantek> I guess I'm not understanding - I was wondering if updating http://microformats.org/profile/hcard would help the example provided in the HTML spec.
  1261. # [21:04] * Joins: rillian_ (~rillian@184.71.166.126)
  1262. # [21:05] <Hixie> the urls are opaque per the spec
  1263. # [21:05] <Hixie> you're not supposed to resolve them or anything
  1264. # [21:06] <tantek> ah ok, so the example in the spec shows how to re-use a microformats profile/definition vocabulary to define a microdata vocabulary
  1265. # [21:06] <Hixie> the url is the microformats url only because you asked it to be
  1266. # [21:06] <Hixie> originally it was http://n.whatwg.org/something iirc
  1267. # [21:07] <tantek> made sense to show basing on existing work
  1268. # [21:07] * Joins: kennyluck_ (~kennyluck@114-43-114-197.dynamic.hinet.net)
  1269. # [21:07] <Hixie> yup
  1270. # [21:07] <tantek> ok, I'll leave the current microformats profiles as-is then
  1271. # [21:07] <tantek> because that better illustrates that process (of defining a new vocabulary based on an existing one)
  1272. # [21:08] <tantek> the microformats-2 profile URLs will be different and contain microdata-specific language as needed
  1273. # [21:08] * Quits: mkanat (mkanat@nat/google/x-qnqgzmxhcqmbgzsk) (Quit: Ex-Chat)
  1274. # [21:08] <tantek> likely something like this (directly using their root class name / item)
  1275. # [21:08] * Quits: kennyluck (~kennyluck@114-43-116-150.dynamic.hinet.net) (Ping timeout: 260 seconds)
  1276. # [21:08] * kennyluck_ is now known as kennyluck
  1277. # [21:08] <tantek> http://microformats.org/profile/h-card
  1278. # [21:08] * Quits: jennb (~jennb@74.125.59.65) (Quit: jennb)
  1279. # [21:08] <Hixie> 404
  1280. # [21:09] <Hixie> oh, you mean in the future
  1281. # [21:09] <Hixie> got it
  1282. # [21:09] <Hixie> sounds good
  1283. # [21:11] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1284. # [21:13] * Quits: jonatasnona (~jonatas@lba.inpa.gov.br) (Ping timeout: 260 seconds)
  1285. # [21:13] * Joins: margle (~Margle@41-133-196-64.dsl.mweb.co.za)
  1286. # [21:20] * Quits: WeirdAl (~chatzilla@g2spf.ask.info) (Quit: ChatZilla 0.9.87 [Firefox 8.0/20111104165243])
  1287. # [21:20] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
  1288. # [21:20] * nimbupani is now known as divya
  1289. # [21:23] <annevk> Hixie: you now have
  1290. # [21:23] <annevk> + <li><p>If <span title="parse a month string">parsing a month
  1291. # [21:23] <annevk> + string</span> from the element's <span>datetime value</span>, if
  1292. # [21:23] <annevk> + The machine-readable equivalent is the <span
  1293. # [21:24] <annevk> which seems wrong
  1294. # [21:25] <annevk> otherwise it seems fine to me
  1295. # [21:26] <Hixie> oops
  1296. # [21:27] * Joins: jernoble (~jernoble@17.212.152.13)
  1297. # [21:28] <Hixie> (i generated that section with some dubious regexps)
  1298. # [21:28] <Hixie> (apparently got one wrong!)
  1299. # [21:34] <Hixie> tantek: ok, i posted on the public-html thread proposing the <time> diff as the patch for your CP
  1300. # [21:34] <tantek> Hixie, sounds good, I'll rereview.
  1301. # [21:34] <tantek> so we're punting on a separate duration attribute then?
  1302. # [21:35] <Hixie> *shrug*. imdb is already using datetime= for it.
  1303. # [21:35] <Hixie> i don't have a strong view on the matter
  1304. # [21:36] * Quits: smaug____ (~chatzilla@193-64-22-161-nat.elisa-mobile.fi) (Ping timeout: 260 seconds)
  1305. # [21:36] <Hixie> having mutually exclusive attributes has been kind of a pain in other contexts, fwiw (e.g. <meta)
  1306. # [21:36] <Hixie> gotta go, lunch
  1307. # [21:37] <annevk> hopefully the schema.org guys let not leak more ISO badness in there
  1308. # [21:37] <Hixie> we can but hope
  1309. # [21:37] * Joins: smaug____ (~chatzilla@193-64-22-163-nat.elisa-mobile.fi)
  1310. # [21:41] * Joins: gwicke (~gabriel@212.255.44.58)
  1311. # [21:42] <tantek> shall we pretend the "opening hours" problem isn't there?
  1312. # [21:43] <Hixie> are they using <time> for that too?
  1313. # [21:43] <tantek> yeah :(
  1314. # [21:43] <Hixie> -_-
  1315. # [21:43] <tantek> with a completely made-up syntax
  1316. # [21:43] * Hixie looks
  1317. # [21:43] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 260 seconds)
  1318. # [21:43] <tantek> basically, it looks like approach was, is it related to time? great, make something up and use the time element.
  1319. # [21:44] <Hixie> well on the plus side it's distinguishable
  1320. # [21:44] <Hixie> i say we ignore it for now, see how much uptake it gets
  1321. # [21:44] <Hixie> and if it gets some, why not!
  1322. # [21:44] <tantek> that's my preference for now too
  1323. # [21:44] <tantek> and at least document alternatives to it
  1324. # [21:44] <tantek> seems like opening hours should use multiple time elements
  1325. # [21:45] <tantek> just as events do
  1326. # [21:45] <tantek> etc.
  1327. # [21:45] <Hixie> well we don't have any weekday things, and many elements is pretty verbose
  1328. # [21:45] <Hixie> i don't see anything wrong with <data itemprop="openingHours" value="Tu,Th 16:00-20:00">...</data> though
  1329. # [21:45] <Hixie> maybe i should add that example to the spec
  1330. # [21:45] <tantek> lol - yeah
  1331. # [21:46] <tantek> data is a good place to experiment with machine data extensions
  1332. # [21:46] <Hixie> indeed
  1333. # [21:46] <tantek> and then as you say we can better see if anything gets any uptake
  1334. # [21:46] <tantek> without polluting existing elements
  1335. # [21:47] <TabAtkins> tantek: Can you go respond to Sam that the current patch is fine?
  1336. # [21:47] * tantek will handle emails as they are queued.
  1337. # [21:47] <TabAtkins> d'oh
  1338. # [21:47] <tantek> I'll skip breakfast for IRC but not email :P
  1339. # [21:48] <TabAtkins> What timezone are you in now?
  1340. # [21:48] <tantek> -0800 ;)
  1341. # [21:48] <Hixie> speaking of skipping breakfast, i need to go in to get mine.
  1342. # [21:48] <Hixie> bbiab.
  1343. # [21:48] <TabAtkins> tantek: Then it's not breakfast time, weirdo.
  1344. # [21:48] <TabAtkins> You have already skipped it.
  1345. # [21:48] <tantek> what Hixie said. bbiab.
  1346. # [21:49] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1347. # [21:49] * Quits: ben_alman (~cowboy@75-150-66-254-NewEngland.hfc.comcastbusiness.net) (Quit: Leaving...)
  1348. # [21:51] * Joins: Areks (~Areks@95-27-83-235.broadband.corbina.ru)
  1349. # [21:51] * Joins: Areks|2 (~Areks@95-27-83-235.broadband.corbina.ru)
  1350. # [21:51] * Joins: karlcow (~karl@nerval.la-grange.net)
  1351. # [21:51] * Joins: Areks|3 (~Areks@95-27-83-235.broadband.corbina.ru)
  1352. # [21:55] * Quits: Areks|3 (~Areks@95-27-83-235.broadband.corbina.ru) (Client Quit)
  1353. # [21:55] * Quits: Areks|2 (~Areks@95-27-83-235.broadband.corbina.ru) (Client Quit)
  1354. # [22:02] <tantek> Hixie, when you get back, finally reloaded the time element definition, just noticed the timezone examples still use the ':' syntax
  1355. # [22:02] <tantek> <time>+00:00</time>
  1356. # [22:02] <tantek> <time>-08:00</time>
  1357. # [22:02] <tantek> without : is preferabl
  1358. # [22:02] <tantek> <time>+0000</time>
  1359. # [22:02] <tantek> <time>-0800</time>
  1360. # [22:02] <Hixie> i'm running out the door as we speak but will look when i got back on
  1361. # [22:02] <Hixie> afk
  1362. # [22:03] <tantek> requires updating http://www.whatwg.org/specs/web-apps/current-work/#parse-a-time-zone-offset-component obv to allow 4 digits without the colon after the +/- is seen.
  1363. # [22:03] <tantek> ok
  1364. # [22:10] * Quits: KillerX (~anant@nat/mozilla/x-ctaoxkijfbiadiqk) (Ping timeout: 245 seconds)
  1365. # [22:11] * Quits: tantek (~tantek@70-36-139-219.dsl.dynamic.sonic.net) (Quit: tantek)
  1366. # [22:20] * Joins: mkanat (mkanat@nat/google/x-ybmbfzuyiuzfulnw)
  1367. # [22:20] <jgraham> AryehGregor: +1 of FooPrototype if it is web compatible (which I assumed it was not but if IE and Opera both do it...)
  1368. # [22:22] * Joins: rniwa (rniwa@nat/google/x-lzosakqjepqzcdxf)
  1369. # [22:24] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 252 seconds)
  1370. # [22:30] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1371. # [22:30] * Quits: ap (~ap@2620:149:4:1b01:f81e:3074:3d2a:323d) (Quit: ap)
  1372. # [22:34] * Quits: davidb_ (~davidb@66.207.208.98) (Quit: davidb_)
  1373. # [22:40] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 245 seconds)
  1374. # [22:42] <smaug____> annevk: FYI, I'm adding telemetry probes to Gecko to check how often sync XHR is used.
  1375. # [22:46] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1376. # [22:50] * Joins: ap (~ap@2620:149:4:1b01:b891:6ff5:1e87:b27)
  1377. # [22:51] * Quits: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Quit: tomasf)
  1378. # [22:51] * Quits: othermaciej (~mjs@17.245.89.94) (Quit: othermaciej)
  1379. # [22:54] * Joins: MikeSmith_ (~MikeSmith@EM111-191-234-9.pool.e-mobile.ne.jp)
  1380. # [22:56] * heycam|away is now known as heycam
  1381. # [22:57] <smaug____> ojan: I was wondering about you performance concerns about DOM improvements since they don't apply to Gecko, but good that you corrected yourself :)
  1382. # [22:57] <ojan> smaug____: yeah...it had been a while since i had last looked at the relevant webkit code
  1383. # [22:57] <smaug____> the possible performance problem comes from Node vs DOMString as a parameter
  1384. # [22:57] <ojan> smaug____: yea, but that's worth it IMO :)
  1385. # [22:57] * Quits: MikeSmith (~MikeSmith@EM114-48-71-19.pool.e-mobile.ne.jp) (Ping timeout: 244 seconds)
  1386. # [22:57] * MikeSmith_ is now known as MikeSmith
  1387. # [22:58] <ojan> smaug____: out of curiosity...what does gecko do to avoid appending a parent to it's child? do you walk up the ancestor chain?
  1388. # [22:58] <smaug____> yeah, in general, I like the API
  1389. # [22:59] <ojan> smaug____: webkit does...but having O(n) operations in append/etc sucks
  1390. # [22:59] <smaug____> gecko does the same
  1391. # [22:59] <ojan> smaug____: i'm wondering if there are clever ways we can optimize it out
  1392. # [22:59] <smaug____> and yes, it suck
  1393. # [22:59] <ojan> smaug____: rniwa had an idea that we could check if the new child had any children as a fast way out of a common case
  1394. # [23:00] <ojan> i'm on the fence as to whether that's a good optimization or not though
  1395. # [23:00] <smaug____> well, if one has extra memory to consume, you could store the "level" of DOM node in the nodes
  1396. # [23:00] <ojan> smaug____: yeah...thought of that...memory aside, it means that when you move nodes you have to update the whole subtree
  1397. # [23:00] <smaug____> but in gecko we don't want to increase the size of nodes
  1398. # [23:01] <smaug____> though, I would need to check (or ask bz) how close we're size of cache lines
  1399. # [23:01] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
  1400. # [23:01] <TabAtkins> Bloom filters solve everything.
  1401. # [23:01] <ojan> i doubt we'd want to add to the size of node either
  1402. # [23:01] <smaug____> ojan: well, for certain things you do need to update the whole subtree
  1403. # [23:01] <ojan> TabAtkins: how would you use bloom filters here?
  1404. # [23:01] <smaug____> like, whether the subtree is "in-document"
  1405. # [23:02] <ojan> smaug____: that's true
  1406. # [23:03] * Joins: WeirdAl (~chatzilla@g2spf.ask.info)
  1407. # [23:03] <rniwa> smaug____, ojan: we can "color" each tree with a unique value
  1408. # [23:03] <TabAtkins> ojan: Fast-path for if the parent is in the subtree of its child.
  1409. # [23:03] <rniwa> it won't solve the case where you're moving the node within the tree though...
  1410. # [23:03] <TabAtkins> Or, rather, if the parent is in the ancestor chain of its child.
  1411. # [23:04] <rniwa> smaug____, ojan: you could imagine that we can omit those O(n) checks if two nodes belong to a different fragment or document
  1412. # [23:04] <TabAtkins> Or, arg, when doing B.appendChild(A), telling quickly if A is in the ancestor chain of B.
  1413. # [23:04] * Quits: gwicke (~gabriel@212.255.44.58) (Quit: Bye!)
  1414. # [23:04] <TabAtkins> And following up with an ancestor walk on positives.
  1415. # [23:04] <smaug____> rniwa: well, you need to add some flags for colors, and that uses memory
  1416. # [23:05] <rniwa> smaug____: I suppose.
  1417. # [23:05] <rniwa> smaug____: but we already have a pointer for document fragment / document, right?
  1418. # [23:05] <TabAtkins> Adding the filter would be additional memory, though.
  1419. # [23:05] <rniwa> TabAtkins: how would you efficiently implement that filter?
  1420. # [23:06] <smaug____> there is a pointer to parent, and to ownerdocument (not directly)
  1421. # [23:06] <TabAtkins> rniwa: it's essentially identical to the descendant-combinator fast path we use now.
  1422. # [23:06] <TabAtkins> And, hm, if we already have that, perhaps we can reuse it.
  1423. # [23:06] <rniwa> TabAtkins: what's "descendant-combinator fast path"?
  1424. # [23:07] <TabAtkins> rniwa: It's what I just described. ^_^ Every element has a bloom filter of its ancestors, so you can more quickly tell if a given element is in the ancestor chain.
  1425. # [23:07] <rniwa> TabAtkins: WebKit implements this?
  1426. # [23:08] <TabAtkins> rniwa: Yeah.
  1427. # [23:08] <rniwa> TabAtkins: that's a big news to me
  1428. # [23:08] <rniwa> TabAtkins: where is this implemented?
  1429. # [23:08] <Philip`> TabAtkins: Doesn't that mean you still have an O(n) cost to update all the filters when reparenting a subtree?
  1430. # [23:09] * Quits: MacTed (~Thud@63.119.36.36)
  1431. # [23:09] * Joins: jennb (jennb@nat/google/x-temfestkqalbrwny)
  1432. # [23:09] <TabAtkins> rniwa: http://peter.sh/2011/02/unspoofable-infobars-fast-descendant-selectors-and-the-web-inspector-api/
  1433. # [23:09] <ojan> TabAtkins: that fast path only applies during parsing i believe
  1434. # [23:09] <TabAtkins> Philip`: Probably, yeah.
  1435. # [23:09] <ojan> TabAtkins: we don't keep it around
  1436. # [23:10] <TabAtkins> ojan: Ah, kk.
  1437. # [23:10] * Joins: othermaciej (~mjs@2620:149:f01:202:699e:a64c:e03f:5f4b)
  1438. # [23:10] <ojan> TabAtkins: we have a single bloom filter that we update as we add/remove elements during parsing, afaik
  1439. # [23:10] <ojan> TabAtkins: ignoring memory, having a bloom filter per node has the problem of needing to update the entire subtree when you move nodes around
  1440. # [23:11] <rniwa> TabAtkins: I don't think this is applicable for DOM operations
  1441. # [23:11] <ojan> rniwa: yeah...we could check that the documents are the same...but i'm not sure how much that buys us for the common cases...
  1442. # [23:11] <rniwa> TabAtkins: it's about selectors
  1443. # [23:11] <TabAtkins> True that.
  1444. # [23:12] <rniwa> ojan: right, for that reason (slow update), I don't think we can bloom filter for each node
  1445. # [23:12] <ojan> rniwa: welll, it could serve the same purpose for DOM operations i think
  1446. # [23:12] <smaug____> ah, antti implemented boom filters
  1447. # [23:12] <rniwa> also, it'll consume SO MUCH memory
  1448. # [23:12] <jgraham> I would have thought that the memory cost of storing the filters was reason enough not to use them
  1449. # [23:12] <ojan> it is
  1450. # [23:12] <ojan> bloom filters are not happening
  1451. # [23:12] <rniwa> jgraham: yes
  1452. # [23:13] <ojan> webkit's use of them is very limited
  1453. # [23:13] * Joins: karlcow (~karl@nerval.la-grange.net)
  1454. # [23:13] * TabAtkins wants to use bloom filters for everything.
  1455. # [23:13] <rniwa> we're already getting complaints about how big Node object is
  1456. # [23:13] <rniwa> so there's no way we can store bloom filter for each node
  1457. # [23:13] <rniwa> on the other hand, in common case
  1458. # [23:13] <rniwa> you end up adding a bunch of nodes to the same parent
  1459. # [23:13] <smaug____> yeah, same with Gecko. It is hard to add new stuff to Node
  1460. # [23:14] <rniwa> so maybe we can optimize that case
  1461. # [23:14] <jgraham> Same hre, I think
  1462. # [23:14] <jgraham> *here
  1463. # [23:14] <ojan> rniwa: that's *a* common case
  1464. # [23:14] <smaug____> although, traditionally Gecko's Node has been more light weight than webkit's
  1465. # [23:14] <ojan> rniwa: i'm not sure it's the only one though
  1466. # [23:14] <smaug____> but we've been adding new stuff to Node
  1467. # [23:14] <rniwa> ojan: yeah, I think we need to cherry-pick those common cases and optimize for them
  1468. # [23:14] <rniwa> ojan: I don't think we can solve this problem in general
  1469. # [23:15] <ojan> rniwa: yeah...but if you get your common cases wrong, then you end up making things slower :)
  1470. # [23:16] <ojan> rniwa: the hard part there if finding a representative subset of what real world dom usage is like == very hard
  1471. # [23:16] <rniwa> ojan: don't think so. adding 4-5, or even 10, constant checks is much better than running O(n) algorithm
  1472. # [23:17] <ojan> rniwa: not if you have to do the O(n) algorithm as well
  1473. # [23:17] <rniwa> ojan: right, so we should add checks to determine cases where O(n) algorithm is not nded
  1474. # [23:17] <rniwa> needed*
  1475. # [23:17] <rniwa> of course, it'll be pointless if the algorithm to determine that itself is O(n)
  1476. # [23:18] <rniwa> but I'm all for adding constant checks to avoid running O(n) algorithm
  1477. # [23:19] <jgraham> The point is that unless the cases are common enough you have to do the checks and run the algorithm anyway. But it seems like there should be some common cases here
  1478. # [23:19] <rniwa> jgraham: right.
  1479. # [23:19] <rniwa> jgraham: I think in practice, we can measure the performance on gmail, facebook, etc...
  1480. # [23:19] <rniwa> because they tend to do a lot of DOM operations
  1481. # [23:19] * heycam is now known as heycam|away
  1482. # [23:20] * Quits: LBP (~Mirc@pD9EB1B10.dip0.t-ipconnect.de) (Quit: Bye, bye!)
  1483. # [23:20] <ojan> don't get me wrong...i support doing this...it will just need to be backed up buy good data on the effects on a number of top sites
  1484. # [23:20] <jgraham> Right, one can certianly imagine seeing how often some easy cases are hit
  1485. # [23:20] <rniwa> jgraham: yeah
  1486. # [23:20] <rniwa> jgraham: we could add some logging mechanism and run it for one week while using gmail, facebook, etc...
  1487. # [23:21] <rniwa> and see how common each case is
  1488. # [23:21] <Philip`> Won't the common cases be that the DOM trees are very shallow, so the O(n) cost is negligible?
  1489. # [23:21] * Quits: Areks (~Areks@95-27-83-235.broadband.corbina.ru) (Read error: Connection reset by peer)
  1490. # [23:21] <rniwa> Philip`: the problem is that we normally go up
  1491. # [23:21] * twisted is now known as twisted`
  1492. # [23:21] * Quits: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
  1493. # [23:21] <rniwa> Philip`: i.e. parent -> parent's document
  1494. # [23:21] * Joins: abarth (~abarth@173-164-128-209-SFBA.hfc.comcastbusiness.net)
  1495. # [23:22] <rniwa> Philip`: as supposed to looking through the inserted subtree
  1496. # [23:22] <Philip`> Usually the documents would be very shallow too, I'd guess
  1497. # [23:22] <rniwa> Philip`: and in practice, the inserted subtree tends to be shallow
  1498. # [23:22] <rniwa> Philip`: don't think so
  1499. # [23:22] <jgraham> Well it depends what you mean
  1500. # [23:22] <rniwa> Philip`: I think we allow it to be at most 512 nodes deep
  1501. # [23:23] <jgraham> Right, hundreds of nodes is atypical
  1502. # [23:23] <rniwa> that's A LOT of nodes to check
  1503. # [23:23] <jgraham> But a few tens of nodes might be common
  1504. # [23:23] <Philip`> "at most" doesn't sound like the common case
  1505. # [23:23] <rniwa> also the problem is cache locallity
  1506. # [23:23] <rniwa> if we go up in the tree, then we'll be pulling those objects into registry in order to walk through the tree
  1507. # [23:24] <rniwa> and that might reduce the cache locality
  1508. # [23:24] <smaug____> TabAtkins: just curious, how does the webkit patch handle the false positive cases?
  1509. # [23:24] <smaug____> or does it not need to
  1510. # [23:24] <rniwa> in modern processors, this has a significant performance impact
  1511. # [23:24] <smaug____> or does it just not care
  1512. # [23:24] <rniwa> in fact... if one of elements up in the hierarchy, e.g. document ends up having a really big vtable
  1513. # [23:24] <rniwa> you may end up invalidating a lot of cache
  1514. # [23:25] <rniwa> though don't think webkit currently calls any virtual functions in appendChild, insertBefore, etc...
  1515. # [23:25] <rniwa> virtual functions are evil LOL
  1516. # [23:25] <WeirdAl> not as evil as eval
  1517. # [23:26] <rniwa> WeirdAl: yeah, they're only 1 edit-distance away from each other
  1518. # [23:26] <smaug____> virtual methods are indeed bad, really bad
  1519. # [23:26] * Philip` wonders if the parent/child pointers could be stored separately from the actual node data, so you can fit more of them into a cache line
  1520. # [23:26] <Philip`> (if that's the problem)
  1521. # [23:26] <rniwa> Philip`: I had that idea as well
  1522. # [23:26] <rniwa> Philip`: but then looking through this table will be an issue
  1523. # [23:26] <ojan> smaug____: the bloom filter is just used as a fast rejection
  1524. # [23:26] <smaug____> ah
  1525. # [23:26] <rniwa> Philip`: and in practice, you tend to access lots of data in one node object
  1526. # [23:27] <rniwa> so not sure if that really improves the performance much
  1527. # [23:27] <rniwa> it'll be really good to collect stats as ojan suggested
  1528. # [23:28] <rniwa> some time in near future
  1529. # [23:28] * smaug____ is about to collect data about innerHTML usage
  1530. # [23:28] <ojan> rniwa: you could just create a locally intrumented webkit and load a few top sites
  1531. # [23:28] <rniwa> I might just do that myself :P
  1532. # [23:28] <rniwa> ojan: yeah
  1533. # [23:28] <ojan> smaug____: to what end?
  1534. # [23:28] <rniwa> ojan: that's what I'm thinking
  1535. # [23:28] * Quits: jennb (jennb@nat/google/x-temfestkqalbrwny) (Quit: jennb)
  1536. # [23:28] <smaug____> ojan: basically to check what kind of data is set to innerHTML
  1537. # [23:28] <rniwa> smaug____: yeah, that's also good thing to gather stats for
  1538. # [23:29] <smaug____> whether it is short strings or markup or what
  1539. # [23:29] <rniwa> smaug____: I think developers know that innerHTML is faster than inserting indivisual node
  1540. # [23:29] <smaug____> (using telemetry)
  1541. # [23:29] <rniwa> smaug____: so a lot of them use innerHTML instead of DOM methods
  1542. # [23:29] <rniwa> smaug____: length?
  1543. # [23:29] <rniwa> smaug____: or actual markup?
  1544. # [23:29] <smaug____> well, in the old days DOM used to be a lot slower in all the browsers
  1545. # [23:30] <rniwa> I'd be interested in knowing how many nodes are added per innerHTML
  1546. # [23:30] <rniwa> and if people are calling innerHTML in consecutive manner without triggering layout
  1547. # [23:30] <rniwa> e.g.
  1548. # [23:30] <rniwa> for (...) innerHTML += ...
  1549. # [23:30] <smaug____> rniwa: probably length, and whether short strings contain markup
  1550. # [23:30] <rniwa> if consecutive concat to innerHTML is common
  1551. # [23:30] <rniwa> we can probably lazily evaluate innerHTML
  1552. # [23:31] <rniwa> though authors may cache things themselves if they are using innerHTML for speed
  1553. # [23:31] <smaug____> that is quite hard
  1554. # [23:31] <rniwa> may already*
  1555. # [23:31] <smaug____> especially if you have mutation event listeners
  1556. # [23:31] <rniwa> smaug____: yeah, on my second thought, lazily evaluating them might be tricky
  1557. # [23:31] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  1558. # [23:31] <rniwa> yeah :(
  1559. # [23:31] * rniwa hates mutation events
  1560. # [23:32] * smaug____ is still on progress to get MutationObserver done for Gecko
  1561. # [23:32] <rniwa> smaug____: or if the inserted node pulled resources
  1562. # [23:32] <rniwa> smaug____: or worse yet, script elements...
  1563. # [23:32] <smaug____> (if I could focus only doing that...)
  1564. # [23:32] * Joins: KillerX (~anant@nat/mozilla/x-gjltsepveyytzqfs)
  1565. # [23:33] <annevk> ojan: btw, you can implement it as a different method on Document and Element/DocumentFragment
  1566. # [23:33] <rniwa> anyways, I'm planning to spend my Q1 improving webkit's dom code
  1567. # [23:33] <annevk> ojan: we could even define some methods specially as such
  1568. # [23:33] * rniwa wants fast/slim DOM
  1569. # [23:34] <rniwa> not slow/fat DOM
  1570. # [23:34] * smaug____ wants DOM implemented in JS :)
  1571. # [23:35] <rniwa> smaug____: doesn't IE do that?
  1572. # [23:35] <Philip`> Implementing DOM in JS and worrying about cache locality seem kind of completely opposing viewpoints :-)
  1573. # [23:35] <ojan> annevk: yup
  1574. # [23:36] <ojan> annevk: interestingly...webkit doesn't let you append a DocumentType if it's already in the DOM
  1575. # [23:36] <smaug____> rniwa: really? I thought you need Proxies et al to implement DOM in JS, and IE doesn't, IIRC, have Proxy objects
  1576. # [23:36] <annevk> ojan: oh, just saw your other email
  1577. # [23:36] <ojan> annevk: i don't think the spec requires that though
  1578. # [23:36] <ojan> annevk: so, i'm gonna see if i can remove that check
  1579. # [23:36] <annevk> ojan: I think it does
  1580. # [23:36] <smaug____> Philip`: JS JITs could optimize many things
  1581. # [23:36] <ojan> annevk: oh...maybe i misread
  1582. # [23:36] <smaug____> Philip`: also, JS is a lot safer language than C++
  1583. # [23:36] * Quits: miketaylr (~miketaylr@24.42.93.245) (Quit: miketaylr)
  1584. # [23:37] <annevk> ojan: http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node-pre-insert see 4.4
  1585. # [23:37] <ojan> anoh isee...it's actually step 5, no?
  1586. # [23:37] <smaug____> writing security bugs in C++ is way too easy
  1587. # [23:38] <ojan> annevk: i see...it's actually step 5, no?
  1588. # [23:38] <annevk> ojan: step 5 is for when you append to non-Document nodes
  1589. # [23:38] <ojan> annevk: right...that's the case i'm talking about
  1590. # [23:38] <rniwa> smaug____: yeah, dynamic optimization can do a whole lot
  1591. # [23:39] <annevk> oh yeah that should fail in general
  1592. # [23:39] <annevk> because you put in the wrong place
  1593. # [23:39] <ojan> annevk: i believe webkit will let you append a DocumentType to an Element if it's not already in the DOM
  1594. # [23:39] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 244 seconds)
  1595. # [23:39] * Joins: nimbupani (~divyam@c-24-18-47-160.hsd1.wa.comcast.net)
  1596. # [23:39] <annevk> ooh
  1597. # [23:39] * ojan goes to test
  1598. # [23:39] <rniwa> smaug____: but we can't write layout code in javascript
  1599. # [23:39] <ojan> sigh...now i have to remember how to make documenttype nodes
  1600. # [23:40] <annevk> document.createDocumentType
  1601. # [23:40] <rniwa> !
  1602. # [23:40] <annevk> euh sorry
  1603. # [23:40] * Quits: divya (~divyam@c-24-18-47-160.hsd1.wa.comcast.net) (Read error: Connection reset by peer)
  1604. # [23:40] <rniwa> we have a method on document just to create doctype?
  1605. # [23:40] <annevk> document.implementation.createDocumentType()
  1606. # [23:40] <annevk> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domimplementation-createdocumenttype
  1607. # [23:40] <annevk> rniwa: worse
  1608. # [23:40] <rniwa> :(
  1609. # [23:40] <annevk> rniwa: it's on document.implementation
  1610. # [23:41] <ojan> annevk: nm...webkit seems to throw an error
  1611. # [23:41] <rniwa> wtf
  1612. # [23:41] <ojan> annevk: that was the check i was hoping we could get rid of
  1613. # [23:41] <ojan> annevk: i don't really care if developers put/move documenttype nodes in their DOM
  1614. # [23:41] <ojan> annevk: as long as we spec it that only the top-level node affects the actual compatMode
  1615. # [23:42] <annevk> you could get rid of that check at that level, but you'd still need the check somewhere
  1616. # [23:42] <ojan> annevk: it's something developers will basically never do...so it's worth getting rid of the check
  1617. # [23:42] <ojan> annevk: why do you need the check at all?
  1618. # [23:42] * Joins: ap_ (~ap@17.245.90.47)
  1619. # [23:42] <annevk> oh
  1620. # [23:43] * Quits: ap_ (~ap@17.245.90.47) (Remote host closed the connection)
  1621. # [23:43] <annevk> but you also need to check for Document and
  1622. # [23:43] * Joins: ap_ (~ap@17.212.155.203)
  1623. # [23:43] <ojan> annevk: in teh case of appending to a Document, there's a whole different set of rules and complications
  1624. # [23:43] * Quits: ap_ (~ap@17.212.155.203) (Client Quit)
  1625. # [23:43] <ojan> annevk: but for the case of appending to an Element
  1626. # [23:43] <ojan> annevk: i don't see why we don't just allow it
  1627. # [23:43] <annevk> element.append(document) is what I meant
  1628. # [23:43] <annevk> DocumentType is not the only node not allowed there
  1629. # [23:44] <ojan> annevk: interesting...i forget how webkit handles that...
  1630. # [23:44] <annevk> and there's Attr too
  1631. # [23:44] <annevk> in your current impl
  1632. # [23:44] * Quits: ap (~ap@2620:149:4:1b01:b891:6ff5:1e87:b27) (Ping timeout: 244 seconds)
  1633. # [23:45] * Joins: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net)
  1634. # [23:45] <annevk> and prolly ShadowRoot?
  1635. # [23:45] <ojan> annevk: interesting...i think this webkit code is just dumb actually
  1636. # [23:46] <rniwa> ojan: I don't think those constant-time checks is a big of a deal
  1637. # [23:46] <ojan> the "isChildTypeAllowed" call is what should deal with documenttype nodes...so we should be able to kill that if-check
  1638. # [23:46] * Joins: ap (~ap@17.212.155.203)
  1639. # [23:46] <rniwa> ojan: in fact, we could add a special node-flag to do this in constant time
  1640. # [23:47] <ojan> rniwa: they're not as big a deal as the O(n) checks, but every branch we can get rid of adds up for such a performance-sensitive codepath
  1641. # [23:47] <rniwa> ojan: but we can combine all those checks into one check
  1642. # [23:47] <rniwa> ojan: because we can just do bitwise and
  1643. # [23:47] <rniwa> ojan: in practice, function calls would cost us much more than those node-type checks
  1644. # [23:48] <rniwa> ojan: checking a node-type is extremely efficient in webkit
  1645. # [23:48] <rniwa> ojan: checking tagname is slower but none of the checks we're talking here involves checking a particular tag name
  1646. # [23:48] <rniwa> so I don't think this would be an issue for us
  1647. # [23:48] <ojan> rniwa: as i read the code right now...that if-check is actually completely rendudant with the existing isChildTypeAllowed call
  1648. # [23:49] <rniwa> I see
  1649. # [23:49] <ojan> i might be reading the code wrong though
  1650. # [23:49] <rniwa> I actually bet that calling that function itself is much more expensive than any of the checks we do
  1651. # [23:49] <rniwa> if it's not inlined
  1652. # [23:50] <rniwa> I think any gains we get from optimizing those constant checks will be completely dwarfed by all function calls involved in binding code
  1653. # [23:51] <rniwa> not that I'm opposed to make them faster
  1654. # [23:51] <rniwa> but I don't think we should make the spec more permissive just to get rid of content-time node-type checks
  1655. # [23:53] <ojan> i've given up on the spec changes...
  1656. # [23:53] <ojan> which is to say, i don't think we'd gain much by changing the spec
  1657. # [23:53] <ojan> if anything
  1658. # [23:53] <ojan> but...there might be room for optimizing the webkit code
  1659. # [23:54] <rniwa> ok. I guess I misunderstood you then
  1660. # [23:54] * Quits: eric_carlson (~ericc@adsl-67-112-12-110.dsl.anhm01.pacbell.net) (Ping timeout: 248 seconds)
  1661. # [23:54] <rniwa> ojan: definitely!
  1662. # [23:54] <ojan> rniwa: no...you understood me right...i just changed my thinking on it :)
  1663. # [23:54] <rniwa> k
  1664. # [23:54] <annevk> the only potential room for improvement to the spec is that ele.append(DocumentType) would throw at the same point ele.append(Range) would throw
  1665. # [23:55] <annevk> but at some point you got to check that the right object is actually passed
  1666. # [23:55] * Parts: nlogax (~nlogax@unaffiliated/nlogax) ("WeeChat 0.3.6")
  1667. # [23:55] <ojan> annevk: true
  1668. # [23:56] * Quits: smaug____ (~chatzilla@193-64-22-163-nat.elisa-mobile.fi) (Ping timeout: 240 seconds)
  1669. # [23:58] * Joins: ezoe (~ezoe@203-140-88-173f1.kyt1.eonet.ne.jp)
  1670. # Session Close: Sat Nov 19 00:00:01 2011

The end :)