/irc-logs / freenode / #whatwg / 2014-05-21 / end

Options:

  1. # Session Start: Wed May 21 00:00:00 2014
  2. # Session Ident: #whatwg
  3. # [00:00] * Joins: Adawerk__ (~mven@169.241.49.57)
  4. # [00:00] <Domenic> oh, the other big question is, can this event occur more than once
  5. # [00:00] * Joins: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net)
  6. # [00:00] * Quits: mven_ (~mven@169.241.49.57) (Read error: No route to host)
  7. # [00:01] <Domenic> if it occurs only 0 or 1 times, then a promise might be a good fit. Especially if the alternative to occuring once is an error.
  8. # [00:01] <Domenic> More than once, and you should probably not use a promise, except for the cases we were talking about earlier where "most of the time" authors use them as one-shots, like <img>
  9. # [00:02] <Domenic> bigger picture
  10. # [00:02] <Domenic> the utility of adding promises for e.g. script loading is they are easily combinatored, e.g. Promise.all([script1.loaded, script2.loaded]).then(() => { doStuff(); return script3.loaded.then(() => doStuffDependingOnScript3()); }
  11. # [00:03] * Quits: bholley (~bholley@98.210.101.88) (Quit: Textual IRC Client: www.textualapp.com)
  12. # [00:03] * Quits: othermaciej (~mjs@17.114.217.202) (Quit: othermaciej)
  13. # [00:03] * Quits: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net) (Client Quit)
  14. # [00:03] <Domenic> going through each potential thing that the platform wants to expose and agonizing over the "correct" paradigm to use when exposing is as important as considering the value-add for common use cases like that.
  15. # [00:03] <Domenic> s/is as/is not as/
  16. # [00:04] <Domenic> although upon reflection it seems likely that script.executed would be more useful in that sense than script.loaded
  17. # [00:05] * Joins: othermaciej (~mjs@17.114.217.202)
  18. # [00:06] * Quits: zdobersek (~zan@185.3.135.82) (Quit: Leaving.)
  19. # [00:06] * Quits: sankha_ (~sankha93@dslb-188-104-195-160.pools.arcor-ip.net) (Remote host closed the connection)
  20. # [00:07] * Joins: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net)
  21. # [00:07] * Joins: roc (~chatzilla@60.234.66.18)
  22. # [00:08] * Quits: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net) (Client Quit)
  23. # [00:09] * Joins: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net)
  24. # [00:12] <Hixie> Domenic: well if the .loaded promise needs to get reset each time you load a new one, it's not clear to me why others wouldn't as well
  25. # [00:12] <Hixie> Domenic: i'll be providing events for anything provided with promises anyway
  26. # [00:12] <Hixie> Domenic: so you always have the choice of doing it the event way
  27. # [00:12] * Quits: deane (~Thunderbi@124-197-19-37.callplus.net.nz) (Ping timeout: 240 seconds)
  28. # [00:12] <Domenic> Hixie: they probably would need to be reset.
  29. # [00:14] <Hixie> also, what's the pattern for handing a promise to an API to tell the API to not do anything until that promise has resolved somehow?
  30. # [00:16] <Domenic> "When _p_ becomes fulfilled..." or similar phrasings. There's a particular WebIDL thing you can link to
  31. # [00:16] <Domenic> http://heycam.github.io/webidl/#es-promise
  32. # [00:16] <Domenic> erform some steps once a promise is settled
  33. # [00:16] <Domenic> I had a few more https://github.com/w3ctag/promises-guide#shorthand-phrases
  34. # [00:17] <Domenic> but they belong in WebIDL
  35. # [00:17] * Quits: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net) (Quit: leaving)
  36. # [00:18] * Joins: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net)
  37. # [00:18] * Joins: deane (~Thunderbi@124-197-19-37.callplus.net.nz)
  38. # [00:24] <Hixie> i mean the api surface itself
  39. # [00:24] <Hixie> not how to spec it
  40. # [00:24] * Quits: plutoniix (~plutoniix@node-l8i.pool-101-108.dynamic.totbb.net) (Quit: จรลี จรลา)
  41. # [00:25] <Domenic> promise.then(theAPI)?
  42. # [00:25] <Domenic> or promise.then(() => theAPI(promise)) if it is important the API receives a promise
  43. # [00:28] <Hixie> no no, the idea is that the API would be given a handful of promises and other dependencies, and would wait until they've all been fulfilled
  44. # [00:28] <Hixie> so you can't just wait until your promise has fulfilled before informing the API for it, otherwise the API wouldn't know to wait
  45. # [00:29] <Domenic> I don't quite understand the second sentence, but the first sounds like Promise.all([p1, p2, p3]).then(([v1, v2, v3]) => ...)
  46. # [00:32] <Hixie> suppose you have a <script>
  47. # [00:33] <Hixie> it depends on an <img> element and another <script> element, identified by IDs, and specified via an attribute in the markup.
  48. # [00:33] <Hixie> and another script wants to say "also, wait until promise P is done too"
  49. # [00:33] <Hixie> so you have script S, and promise P, and... go
  50. # [00:33] * Joins: KevinMarks_ (~KevinMark@172.56.38.142)
  51. # [00:34] <Hixie> or suppose you have a script S and two separate other scripts that don't know about each other want to add promises P1 and P2 to the list of promises that S is waiting on before executing
  52. # [00:34] <Hixie> what would the script behind P1 do?
  53. # [00:34] <Hixie> S.addDependency(P1)?
  54. # [00:35] <Domenic> Oh, we want to add the ability for a script to block another script's execution on arbitrary async events??
  55. # [00:35] <SamB> are we trying to add Make to JS now?
  56. # [00:36] <Hixie> SamB: see http://www.whatwg.org/specs/web-apps/current-work/multipage#abstract
  57. # [00:36] <Hixie> Domenic: right
  58. # [00:36] <Hixie> Domenic: (or something else, doesn't have to be a script we're blocking)
  59. # [00:37] <Hixie> Domenic: (could be, don't load this style sheet unless all these promises have resolved)
  60. # [00:37] <Domenic> Hixie: Do you want to actually block execution, or block other people from being notified of execution?
  61. # [00:37] <Hixie> block execution
  62. # [00:37] <Domenic> Wait, "don't load this style sheet unless all these promises have resolved" is easy:
  63. # [00:37] <Hixie> (and possibly download)
  64. # [00:37] <benjamingr> Hixie `.then` unwraps things recursively, if each promise returns a promise for all its dependencies (via .all) , that promises will resolve when all those dependencies are resolved.
  65. # [00:37] <Domenic> Promise.all([p1, p2, p3]).then(() => stylesheet.load())
  66. # [00:37] <Hixie> there might be two separate scripts independently doing this to the same style sheet
  67. # [00:38] <Domenic> So script 2 can affect how script 1 loads resources
  68. # [00:38] <Domenic> honestly this feels like a service worker level thing, if you want scripts to interfere with network-level operations like that
  69. # [00:39] <benjamingr> loadDependends = (obj) => getDependents(obj).then(deps => Promise.all(deps.map(getDependents))
  70. # [00:39] <Hixie> Domenic: i don't really see how this would fit into service workers
  71. # [00:39] <Hixie> i've no idea what that code is doing
  72. # [00:39] <Domenic> Hixie: onfetch = function (ev) { if (isStylesheetIWantToDelay(ev.req)) { otherPromise.then(() => ev.respondWith(...)); }
  73. # [00:39] * Quits: deane (~Thunderbi@124-197-19-37.callplus.net.nz) (Read error: Connection reset by peer)
  74. # [00:39] <Domenic> benjamingr: I don't think that's what Hixie is asking about
  75. # [00:39] * Quits: satazor (~satazor@80.78.37.188.rev.vodafone.pt)
  76. # [00:40] <Domenic> Hixie: you are saying that you want the ability for scripts to intercept arbitrary resource loads and delay them based on other async ops
  77. # [00:40] <benjamingr> Hixie: :) Ok, it takes an object, and calls getDependents on it, then, when those arrive, it maps each dependent to its own dependencies and continues to resolve the dependencies until it reaches everything - I thought that's what you meant.
  78. # [00:40] <Hixie> i've no idea what _that_ code is doign either
  79. # [00:40] <Domenic> that is basically service worker
  80. # [00:40] <Hixie> how does the service worker know what the style sheet is?
  81. # [00:40] <Domenic> presumably script1 told it
  82. # [00:40] <Hixie> Domenic: not quite, but close
  83. # [00:41] <Hixie> the api i'm thinking of would be something like:
  84. # [00:41] <Hixie> myStylesheet.addDependency(myPromise);
  85. # [00:41] <Hixie> that seems simpler than the stuff y'all are describing above...
  86. # [00:42] <Hixie> especially the stuff with => where i can't tell where the lambda starts and where it finishes
  87. # [00:42] <benjamingr> Hixie: that has to be a builder pattern though, right? I'd have to call a `.init()` or something, otherwise I would never know when I'm done calling `addDependency`
  88. # [00:42] <Domenic> Hixie: that seems like an API you would build on top of service worker, yeah. Only service worker has that kind of interception capability right now.
  89. # [00:43] <Hixie> benjamingr: there's a separate method to say "ok now i need you, load all your pending dependencies and once everything is ready, apply yourself and let me know you're done"
  90. # [00:43] <Domenic> Hixie: in particular, the ability to interfere with loads you yourself do not execute is the new thing
  91. # [00:43] <benjamingr> Ah, I think I understand now, lemme see if I can write something like this in ES5ish
  92. # [00:43] <Hixie> Domenic: i don't see what service workers have to do with anything here. How do you delay the application of a <link> element, or <style>, or <img>, or <script>, from a service worker? You can't get to the DOM from those.
  93. # [00:43] <zewt> hard to believe that "we don't have code to generate unguessable uuids" is actually being used as a reason for anything
  94. # [00:43] <Domenic> Hixie: you prevent the HTTP response from coming back!
  95. # [00:44] <Hixie> who said anything about HTTP?
  96. # [00:44] <zewt> hard to believe that any browser would generate guessable uuids, for that matter
  97. # [00:44] <Hixie> UUIDs are usually surprisingly guessable
  98. # [00:44] <Hixie> by design
  99. # [00:44] * Joins: deane (~Thunderbi@124-197-19-37.callplus.net.nz)
  100. # [00:45] <Domenic> Hixie: it is use-case equivalent to prevent something from being loaded vs. being applied. (You have to be clever and send the response anyway, but delay relaying it to the main thread until the delay is over, so as to avoid extra latency from excessive laziness. But straightforward.)
  101. # [00:46] <Domenic> If you disagree with that, then that seems like an argument for separating the APIs that load and apply these resources, more than anything.
  102. # [00:46] <benjamingr> Hixie: you mean something like this? https://gist.github.com/benjamingr/749bfe2b3c0411c7430c (in terms of API)
  103. # [00:46] <Domenic> that gist is pretty good
  104. # [00:47] <benjamingr> whoops, cache is not needed I decided it complicates things so I edited. Sorry about that.
  105. # [00:47] <Hixie> Domenic: well you definitely want to be able to fetch the resources ahead of time (and even compile / decode them)
  106. # [00:47] <Domenic> in fact it's probably best to ignore my insistence that this is service-worker level and focus on this gist.
  107. # [00:48] <Hixie> i don't understand what tht gist is trying to do
  108. # [00:48] <Domenic> it is giving you your API
  109. # [00:48] <Hixie> how would you use this?
  110. # [00:48] <Domenic> var resource = new ResourceBuilder();
  111. # [00:48] <Domenic> resourceBuilder.addDependency('foo');
  112. # [00:48] <Domenic> reosurceBuilder.addDependency('bar');
  113. # [00:49] <Domenic> resourceBuilder.get().then(() => { 'foo' and 'bar' have been loaded })
  114. # [00:49] * Quits: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net) (Quit: leaving)
  115. # [00:49] <Domenic> in the gist there is a separation between dependencies (strings in my example) and promises, with the loadDependency function converting dependencies into promises
  116. # [00:50] <Hixie> how is this better than just foo.addDependency(bar) ?
  117. # [00:50] <Hixie> where foo is an element and bar is a promise
  118. # [00:50] <zewt> death to all "Builder" classes
  119. # [00:50] <Domenic> Hixie: it's not; if you don't need that extra level of intermediation then it's unnecessary
  120. # [00:50] <benjamingr> Hixie: How can you ever know if foo is ready?
  121. # [00:50] <Hixie> benjamingr: what do you mean by "ready"? and why would you want to know?
  122. # [00:50] <zewt> (usually they're just extra busywork, eg. BlobBuilder vs. new Blob)
  123. # [00:50] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  124. # [00:51] <Domenic> zewt: Hixie's argument is that the creator of the resource is not the same as the person who adds dependencies to the resource
  125. # [00:51] <Domenic> zewt: so you hand out the "building" capability to other people
  126. # [00:51] <benjamingr> Hixie: how can I use `foo` if I don't know yet if it has all the dependencies it requires to be used?
  127. # [00:51] <Domenic> benjamingr: Hixie: I think you two are talking past each other.
  128. # [00:51] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  129. # [00:51] <Domenic> Modulo benjamingr's gist having an unnecessary level of indirection, it illustrates exactly what Hixie was asking for.
  130. # [00:52] <Hixie> benjamingr: well presumably whoever is doing this would set up all the dependencies before telling anything to actually get applied/executed
  131. # [00:53] <Domenic> Here, forked and clarified https://gist.github.com/domenic/f19ba7fb48d53e2590fa
  132. # [00:54] <Domenic> i wasn't sure if you wanted resource to load in parallel with dependencies or after it
  133. # [00:54] <Domenic> right now it's in parallel
  134. # [00:54] <benjamingr> Hixie: this is exactly what the builder does for you and why I used that indirection, the `.get` method is what actually contains the logic to get the instance, and is what gives us a guarantee that we're only going to use the dependencies we have so far to build this instance, if we fail to do it with those resources, we fail. It 'snapshots' the current
  135. # [00:54] <benjamingr> dependencies.
  136. # [00:55] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Remote host closed the connection)
  137. # [00:55] <Hixie> benjamingr: so suppose that the thing that we're blocking on is <script src="a.js" whenneeded needs="b.js c.js"></script>
  138. # [00:55] <Domenic> .get() is Hixie's "there's a separate method to say "ok now i need you, load all your pending dependencies and once everything is ready, apply yourself and let me know you're done" from earlier
  139. # [00:56] <Hixie> benjamingr: and support that one script wants to say "a.js also needs to wait for my style sheet" and b.js wants to say "a.js also needs to wait for my promise"
  140. # [00:56] <Hixie> benjamingr: and then once that's all done, some other script calls scriptA.execute()
  141. # [00:56] <Hixie> benjamingr: how does your gist fit into this?
  142. # [00:56] <benjamingr> Hixie: yes! we'd like a.js loading to trigger loading b.js and c.js too :) That's what I attempted to initially describe with all those arrows (and failed), let me see if I write a more readable function that does it.
  143. # [00:57] <Hixie> (the needs="" attribute here being the stuff i proposed last year, syntax probably to change)
  144. # [00:57] <Hixie> (well, whenneeded is more likely to change than needs="". people seemed ok with needs="".)
  145. # [00:59] * Hixie mumbles, on an unrelated note, about how repeatedly referencing zalgo isn't particularly helpful in making one's case
  146. # [00:59] <benjamingr> Hixie: how would we know that b.js also needs d.js or a stylesheet?
  147. # [00:59] <Hixie> benjamingr: who's "we" here? and what are those other resources?
  148. # [01:00] <benjamingr> Let's say I'm c.js and I'm not in a script tag, how do we know my dependencies? When it was a.js, I knew the dependencies by reading the script tag.
  149. # [01:02] <Hixie> how would you not be in a script tag?
  150. # [01:02] <Hixie> the only way to run an external script file is from a script element
  151. # [01:02] <benjamingr> In your above example, a had a b.js dependency, however - b.js may have dependencies of its own - right? Where are those specified?
  152. # [01:03] <Hixie> on the <script src="b.js"></script> element
  153. # [01:03] <benjamingr> Ah, cool :)
  154. # [01:03] <benjamingr> Ok, gisting
  155. # [01:03] <Hixie> needs="" doesn't cause any script to run
  156. # [01:03] <Hixie> it just says "I need to have previously had <script>s pointing to these URLs executed"
  157. # [01:03] <Hixie> (or, later, modules or whatnot)
  158. # [01:04] * Quits: othermaciej (~mjs@17.114.217.202) (Quit: othermaciej)
  159. # [01:05] <benjamingr> I think I understand what we're doing a lot better now, gisting :)
  160. # [01:06] <benjamingr> Hixie: what would you like to do about a recursive depencency? Right now I deadlock
  161. # [01:07] * Krinkle is now known as Krinkle|detached
  162. # [01:08] * Joins: othermaciej (~mjs@17.114.217.202)
  163. # [01:08] <Hixie> i can fix those easily enough
  164. # [01:08] <Hixie> don't worry about those
  165. # [01:08] <Hixie> i'm more interested in what the API looks like
  166. # [01:08] <Hixie> the UA-provided API, i mean
  167. # [01:10] <benjamingr> Hixie: https://gist.github.com/benjamingr/0ed038727f38fb77e7ee
  168. # [01:10] <benjamingr> This is just the function that resolves a dependency, let's add it to the API :)
  169. # [01:14] <Hixie> let's try this a different way
  170. # [01:14] <Hixie> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3030
  171. # [01:15] <benjamingr> I'm still writing :)
  172. # [01:15] <Hixie> what would you put in place of the two places there that say // INSERT CODE ?
  173. # [01:15] <benjamingr> ah cool, this is easier
  174. # [01:17] * Quits: othermaciej (~mjs@17.114.217.202) (Quit: othermaciej)
  175. # [01:18] <Hixie> (for the record, here's what my current straw man is: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3031 )
  176. # [01:19] <benjamingr> Oh, I thought you wanted me to actually code something that does this :)
  177. # [01:19] <Hixie> oh
  178. # [01:19] <Hixie> no no
  179. # [01:19] <Hixie> sorry
  180. # [01:20] <Hixie> that's the browser vendors' problem :-)
  181. # [01:20] <benjamingr> Ah, wouldn't that make talking about it easier though?
  182. # [01:20] <Hixie> well it couldn't hurt
  183. # [01:21] <Hixie> but the end goal is to figure out what the UA API should be
  184. # [01:21] <benjamingr> Yeah, but that's hard to do without something working to test on :)
  185. # [01:23] <Hixie> i usually find that if i can make a convincing shim that does the same thing, it means i don't need an API
  186. # [01:23] <Hixie> so usually i only need to be designing APIs when making a convincing shim is either very hard, or implausible
  187. # [01:24] <benjamingr> I can make a convincing shim if I do `data-src` instead of `src`
  188. # [01:24] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  189. # [01:30] <Domenic> ^ pointing to how separating execution from loading is really what's at stake here
  190. # [01:36] * Joins: jdaggett (~jdaggett@61-121-216-2.bitcat.net)
  191. # [01:36] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  192. # [01:43] * Quits: ehsan (~ehsan@66.207.208.102) (Remote host closed the connection)
  193. # [01:44] * Joins: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net)
  194. # [01:44] * Quits: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net) (Changing host)
  195. # [01:44] * Joins: scor (~scor@drupal.org/user/52142/view)
  196. # [01:45] * Quits: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net) (Quit: tantek)
  197. # [01:48] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  198. # [01:52] * Joins: mven (~textual@ip68-104-38-84.lv.lv.cox.net)
  199. # [01:53] * Joins: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net)
  200. # [01:59] * Quits: lmclister (~lmclister@192.150.10.210)
  201. # [02:00] * Quits: NDoc (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net) (Quit: leaving)
  202. # [02:03] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  203. # [02:03] * Quits: ap (~ap@2620:149:4:304:60b2:7b5b:c970:cd45) (Quit: ap)
  204. # [02:07] <benjamingr> sorry, had to leave, I'll get back to this tomorrow :)
  205. # [02:07] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  206. # [02:08] <coolbot95> Can somebody tell me what the current state of HTML 5 audio is? I really wish to drop Flash finally now. Does HTML 5 audio - whatever it is called now - have support for multi-voice (multiple samples at once), panning and volume?
  207. # [02:08] <coolbot95> And support in all modern browsers?
  208. # [02:11] * Quits: aiglesias (~aiglesias@147-195-17-190.fibertel.com.ar) (Remote host closed the connection)
  209. # [02:12] * Quits: deane (~Thunderbi@124-197-19-37.callplus.net.nz) (Quit: deane)
  210. # [02:15] * Joins: dbaron (~dbaron@corp-nat.p2p.sfo1.mozilla.com)
  211. # [02:16] * Joins: ehsan (~ehsan@24-212-207-29.cable.teksavvy.com)
  212. # [02:17] * Joins: abinader (sid21713@gateway/web/irccloud.com/x-unythathyxpzznve)
  213. # [02:18] * Quits: SamB (~SamB@2001:470:1f07:57:6583:8fb3:b515:3bd8) (Read error: Connection reset by peer)
  214. # [02:19] * Joins: SamB (~SamB@2001:470:1f07:57:6d76:16bb:edf7:10ba)
  215. # [02:24] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  216. # [02:25] * Quits: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi) (Ping timeout: 240 seconds)
  217. # [02:25] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  218. # [02:28] * Quits: KevinMarks_ (~KevinMark@172.56.38.142) (Ping timeout: 264 seconds)
  219. # [02:29] * Joins: plutoniix (~plutoniix@210.213.57.70)
  220. # [02:34] * Joins: toyoshiAw (~toyoshim@yuri.twintail.org)
  221. # [02:34] * toyoshiAw is now known as toyoshim
  222. # [02:34] * Joins: seventh (seventh@103.17.199.238)
  223. # [02:42] * Quits: jsbell (jsbell@nat/google/x-pvabvuvmhmtwilyw) (Quit: There's no place like home...)
  224. # [02:47] * Quits: jwalden (~waldo@corp.mtv2.mozilla.com) (Quit: out for the day, back tomorrow hopefully earlier)
  225. # [02:51] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  226. # [02:53] <MikeSmith> https://www.w3.org/Bugs/Public/show_bug.cgi?id=25721 "Does choosing to run a javascript application mean that the user must accept all the choices made by this application?" ...
  227. # [02:55] <Hixie> coolbot95: it's called "Web Audio", and I believe the answer is yes
  228. # [02:56] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  229. # [02:57] * Joins: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  230. # [02:59] * Quits: victorbjelkholm (~victorbje@41.Red-83-60-204.dynamicIP.rima-tde.net) (Quit: ZZZzzz…)
  231. # [03:00] * Joins: jeffreyatw (~jeffreyat@199-241-200-45.PUBLIC.monkeybrains.net)
  232. # [03:01] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 258 seconds)
  233. # [03:03] * Joins: Goplat (~goplat@reactos/developer/Goplat)
  234. # [03:06] <zewt> MikeSmith: bad%20life%20decisions.js
  235. # [03:06] <Domenic> MikeSmith: oh my god, that thread, I feel so bad for Ryan :(
  236. # [03:14] * Joins: karlcow (~karl@nerval.la-grange.net)
  237. # [03:15] <zewt> did someone fall into a trap?
  238. # [03:24] <coolbot95> Hixie: Hmm...
  239. # [03:24] <coolbot95> Hixie: Can you link me to documentation?
  240. # [03:25] <coolbot95> It's such a jungle of different terms.
  241. # [03:25] <coolbot95> I think they tried to standardize this multiple times?
  242. # [03:25] <coolbot95> I really wanna leave Flash 100% now.
  243. # [03:25] <coolbot95> No more dependency on Flash objects for audio playback.
  244. # [03:29] * Joins: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net)
  245. # [03:29] * Quits: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net) (Changing host)
  246. # [03:29] * Joins: scor (~scor@drupal.org/user/52142/view)
  247. # [03:34] <bengl> coolbot95: this isn't a half-bad place to start: http://www.html5rocks.com/en/tutorials/webaudio/intro
  248. # [03:37] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  249. # [03:37] * Quits: KevinMarks (~yaaic@2607:fb90:212a:1795:dc53:91fa:58e0:4449) (Ping timeout: 252 seconds)
  250. # [03:37] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  251. # [03:42] * Joins: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net)
  252. # [03:42] <zewt> i wonder how much less hated windows APIs would be if they released source for them fifteen years ago
  253. # [03:44] <zewt> nothing to do with "open source" or changing anything, it's just 100x easier to figure out why their APIs (which are still terrible) are behaving strangely
  254. # [03:44] * Joins: jacobolus (~jacobolus@c-107-3-150-163.hsd1.ca.comcast.net)
  255. # [03:44] <MikeSmith> Domenic: yeah Ryan's gotta be admired for making the effort. He put way more time responding to that guy than I would have bothered to.
  256. # [03:47] * MikeSmith imagines the discussion with the directory about that formal objection... "So here's how the web works, and over here is how this guy would like for it to work instead. Changing the way the entire web works is a bit out of scope for the crypto spec..."
  257. # [03:48] <hober> MikeSmith: Domenic: context?
  258. # [03:48] * Joins: Streusel (~Anonymous@unaffiliated/streusel)
  259. # [03:49] <SamB> zewt: then people would complain even MORE if undocumented aspects the behaviour changed, probably
  260. # [03:49] <MikeSmith> hober: https://www.w3.org/Bugs/Public/show_bug.cgi?id=25721
  261. # [03:49] <zewt> "formal objections" seem to be a pretty reliable way to alienate everyone in earshot
  262. # [03:49] <MikeSmith> zewt: :) yeah pretty much. At least the few people who are actually listening
  263. # [03:50] <SamB> I think it should be required to wear formalwear to issue a formal objection
  264. # [03:50] <MikeSmith> making a formal objection is pretty much never a good idea
  265. # [03:50] <zewt> i mean if it was a known mozilla developer we'd probably stop and think "maybe he's doing this for a reason", but invariably it's someone at some hostname nobody's ever heard of
  266. # [03:51] * Joins: KevinMarks (~yaaic@2607:fb90:212a:1795:dc53:91fa:58e0:4449)
  267. # [03:51] <SamB> MikeSmith: the requirement to wear a tuxedo might reenforce that principle nicely
  268. # [03:53] <zewt> SamB: i don't really care how much people complain, it makes my life easier
  269. # [03:54] <zewt> not that it actually makes things like WPF not nightmarishly broken or anything
  270. # [03:54] <SamB> plus I figure the pictures would be funny
  271. # [03:54] <MikeSmith> SamB: we should add some other requirement like they have to physically nail the objection to somebody's front door
  272. # [03:55] <SamB> while wearing a tuxedo?
  273. # [03:55] <zewt> the only platforms I've done UI stuff on in living memory where I could pretty reliably tell what was going on, and avoid spending more time convincing the UI than actually getting stuff done, are the web and ... iOS, oddly
  274. # [03:55] <SamB> and post pictures on the 'net?
  275. # [03:55] <zewt> wpf: totally broken. android: totally broken.
  276. # [03:55] <MikeSmith> SamB: there we go. good brainstorming
  277. # [03:56] <zewt> (basically, the APIs that try to force "separation of business logic" crap on you, whether it makes sense or not, tend to be the ones that are nearly unusable)
  278. # [03:56] <SamB> wait, there's business logic in android apps?
  279. # [03:57] * SamB thought they were all toys
  280. # [03:57] <zewt> android has a lack of toys, too, but that's a separate issue
  281. # [03:57] <coolbot95> zewt: Huh? The source code for their API? That makes no sense.
  282. # [03:58] <coolbot95> That must mean you want them to release the source code for their OS.
  283. # [03:58] <zewt> ...
  284. # [03:58] <MikeSmith> formal objections are usually just a formal statement of "Let this hereby be a formal record of the fact that I've failed to make a convincing argument."
  285. # [03:58] <zewt> they release source to chunks of APIs http://referencesource.microsoft.com/#PresentationFramework/src/Framework/System/Windows/Input/KeyboardNavigation.cs
  286. # [03:59] <SamB> but not the win32 APIs
  287. # [03:59] <coolbot95> But... and API...
  288. # [03:59] <coolbot95> Source code... to an API...
  289. # [03:59] * coolbot95 's head explodes.
  290. # [03:59] <coolbot95> *an API
  291. # [03:59] <SamB> coolbot95: it's a common sloppy usage ...
  292. # [03:59] <zewt> sorry, you're not being very interesting, informative or helpful
  293. # [03:59] * Quits: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  294. # [03:59] <SamB> coolbot95: insert the term "implementation" in there somehow and it will make more sense
  295. # [04:00] <zewt> MikeSmith: with the other important detail: "... and I think I should be able to win the argument anyway because my employer gives money to the W3C"
  296. # [04:00] <MikeSmith> heh
  297. # [04:00] <MikeSmith> yeah that too
  298. # [04:00] <caitp> ralph: did you write software to generate those it's vs its typo fix patches, or are you just bored and doing that on your own? if it's software I'd like to see it, I'm interested
  299. # [04:00] <zewt> MikeSmith: it's probably the operative part, at least as far as the impression people make on me when they do it
  300. # [04:02] <MikeSmith> zewt: though in the case of that bug, their reporter neither works for the w3c nor has ever contributed in any way to developing new security/privacy-related technologies/standards for the platform
  301. # [04:02] <coolbot95> I have to use a god damn XMLHttpRequest to load sounds? Why isn't it just like Image()?
  302. # [04:02] <MikeSmith> zewt: yeah, that is the impression it makes in most case
  303. # [04:03] <zewt> coolbot95: well, god DAMN IT then
  304. # [04:03] <coolbot95> zewt: What?
  305. # [04:03] <SamB> wouldn't a regular XMLHttpRequest work just fine?
  306. # [04:04] <zewt> heretical xhr is cooler than sync xhr, that's for sure
  307. # [04:04] <coolbot95> SamB: It makes it look ugly.
  308. # [04:04] <SamB> I mean why do you need to use a god damn one
  309. # [04:04] * Quits: KevinMarks (~yaaic@2607:fb90:212a:1795:dc53:91fa:58e0:4449) (Ping timeout: 240 seconds)
  310. # [04:04] <coolbot95> If Image() is done like that, why not Audio()?
  311. # [04:04] <zewt> SamB: "whoosh"
  312. # [04:05] <coolbot95> It's ugly to have to use an XMLHttpRequest.
  313. # [04:06] <caitp> if the api were pretty, it wouldn't be successful
  314. # [04:06] <MikeSmith> zewt: also the thing is, the director doesn't really care whether a comment is a formal objection or not. he care about the technical merit of the comment regardless. Also I think that spec is in last call right now, and if so, the WG will anyway be obligated to inform the director about any comments that were not resolved to the commenter's satisfication. So there's no different process effect between making a Last Call comment and making a formal obje
  315. # [04:06] <caitp> the only way for it to be successful is for it to be both A) terrible and B) the only option!
  316. # [04:06] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: This computer has gone to sleep)
  317. # [04:06] <SamB> MikeSmith: except the "I'm a douchebag" effect
  318. # [04:07] <zewt> well, that's the main effect we've been talking about ... though that perhaps is a more succinct way of putting it
  319. # [04:07] <coolbot95> The linked-to article is from 2011.
  320. # [04:07] <SamB> I mean the formal objection will communicate this to the director, too
  321. # [04:07] <coolbot95> And does not mention anything about volume or panning as far as I can see.
  322. # [04:08] <coolbot95> Or about multi-voice.
  323. # [04:08] * MikeSmith smiles about caitp's earlier "what is money if it doesn't flow down the river"
  324. # [04:08] <zewt> maybe a different aspect is "your arguments are irrelevant because we pay the W3C", which may be why it feels like an insult
  325. # [04:08] <coolbot95> It does mention realtime filters, though, which is unexpected.
  326. # [04:08] <coolbot95> You'd think panning and volume would be basics.
  327. # [04:08] <bengl> coolbot95: https://developer.mozilla.org/en-US/docs/Web_Audio_API
  328. # [04:08] <coolbot95> And realtime filters would be fancy.
  329. # [04:09] <bengl> coolbot95: also https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement
  330. # [04:10] <caitp> it's a great line mike, you've got to drop it at the appropriate time though, like when people are daring you to spend millions of dollars on something that nobody will ever agree on
  331. # [04:11] <MikeSmith> heh
  332. # [04:12] * Joins: zcorpan (d25fff95@gateway/web/freenode/ip.210.95.255.149)
  333. # [04:12] * Joins: KevinMarks (~yaaic@2607:fb90:212a:1795:dc53:91fa:58e0:4449)
  334. # [04:14] * Quits: annevk_ (~annevk@77-57-114-66.dclient.hispeed.ch) (Read error: Connection reset by peer)
  335. # [04:15] * Joins: annevk (~annevk@77-57-114-66.dclient.hispeed.ch)
  336. # [04:18] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  337. # [04:18] * Joins: aiglesias (~aiglesias@host111.186-109-20.telecom.net.ar)
  338. # [04:20] * Quits: aiglesias (~aiglesias@host111.186-109-20.telecom.net.ar) (Remote host closed the connection)
  339. # [04:21] * Joins: myakura (d25fff95@gateway/web/freenode/ip.210.95.255.149)
  340. # [04:25] <coolbot95> Why is audio playback such a massive, over-engineered deal?
  341. # [04:25] <coolbot95> Even back in the MS-DOS days, a genius such as John Carmack would still license out the audio playback part.
  342. # [04:26] * Quits: seventh (seventh@103.17.199.238) (Read error: Connection reset by peer)
  343. # [04:26] <coolbot95> He could code a fantastic 3D engine for very slow computers, but not audio playback.
  344. # [04:26] <caitp> it's just electronics
  345. # [04:26] <coolbot95> ?
  346. # [04:27] <caitp> surely you could build a neve mixer in your garage, how hard could it be
  347. # [04:27] <coolbot95> What?
  348. # [04:27] <caitp> super simple stuff
  349. # [04:28] * Joins: jeremyj (~jeremyj@17.202.44.231)
  350. # [04:29] * Quits: JosephSilber (~Joseph@ool-44c3e80a.static.optonline.net) (Read error: Connection reset by peer)
  351. # [04:38] * Joins: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  352. # [04:44] * Joins: othermaciej (~mjs@17.114.217.202)
  353. # [04:50] * Quits: othermaciej (~mjs@17.114.217.202) (Quit: othermaciej)
  354. # [04:53] <coolbot95> Have you been smoking crack cocaine?
  355. # [04:53] * Quits: coolbot95 (~coolbot95@gateway/tor-sasl/coolbot95) (Quit: coolbot95)
  356. # [04:54] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  357. # [04:55] <caitp> oh dear
  358. # [04:57] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  359. # [05:01] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 240 seconds)
  360. # [05:02] * Joins: karlcow (~karl@nerval.la-grange.net)
  361. # [05:03] * Quits: karlcow (~karl@nerval.la-grange.net) (Remote host closed the connection)
  362. # [05:03] * Joins: karlcow (~karl@nerval.la-grange.net)
  363. # [05:03] <TabAtkins> Hixie: The way you handle the "don't do something until this promise I'm handing you settles" is by making a method that takes the promise as an arg.
  364. # [05:04] <TabAtkins> ServiceWorker has a .waitUntil(Promise) method for this.
  365. # [05:08] * Quits: myakura (d25fff95@gateway/web/freenode/ip.210.95.255.149) (Ping timeout: 240 seconds)
  366. # [05:11] * Joins: jeremyj (~jeremyj@17.202.44.231)
  367. # [05:17] * Quits: plutoniix (~plutoniix@210.213.57.70) (Ping timeout: 240 seconds)
  368. # [05:25] * Joins: llkats (~llkats@c-69-181-45-245.hsd1.ca.comcast.net)
  369. # [05:33] * Joins: myakura (d25fff95@gateway/web/freenode/ip.210.95.255.149)
  370. # [05:33] * Joins: othermaciej (~mjs@17.114.217.202)
  371. # [05:40] * Joins: jungkees (uid24208@gateway/web/irccloud.com/x-sxdmnfdqdcggwmqb)
  372. # [05:45] * Joins: plutoniix (~plutoniix@210.213.57.70)
  373. # [05:46] * Quits: othermaciej (~mjs@17.114.217.202) (Quit: othermaciej)
  374. # [05:47] * Quits: jacobolus (~jacobolus@c-107-3-150-163.hsd1.ca.comcast.net) (Remote host closed the connection)
  375. # [05:54] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  376. # [06:00] <Hixie> TabAtkins: yeah, that's what i assumed. i was getting confused by Domenic and benjamingr :-|
  377. # [06:00] <Hixie> TabAtkins: can waitUntil be called several times?
  378. # [06:02] * Quits: Goplat (~goplat@reactos/developer/Goplat) (Remote host closed the connection)
  379. # [06:03] * Joins: Goplat (~goplat@reactos/developer/Goplat)
  380. # [06:11] * Joins: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net)
  381. # [06:17] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  382. # [06:21] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  383. # [06:22] * Quits: myakura (d25fff95@gateway/web/freenode/ip.210.95.255.149) (Quit: Page closed)
  384. # [06:24] * Quits: zcorpan (d25fff95@gateway/web/freenode/ip.210.95.255.149) (Ping timeout: 240 seconds)
  385. # [06:25] * Joins: jeremyj (~jeremyj@17.202.44.231)
  386. # [06:32] * Quits: jeffreyatw (~jeffreyat@199-241-200-45.PUBLIC.monkeybrains.net) (Quit: jeffreyatw)
  387. # [06:46] * Quits: Rastus_Vernon (uid15187@wikimedia/Rastus-Vernon) (Quit: Connection closed for inactivity)
  388. # [06:47] * Quits: jungkees (uid24208@gateway/web/irccloud.com/x-sxdmnfdqdcggwmqb) (Ping timeout: 245 seconds)
  389. # [06:47] * Quits: espadrine` (~ttyl@AMontsouris-158-1-15-151.w92-128.abo.wanadoo.fr) (Ping timeout: 240 seconds)
  390. # [06:47] * Quits: mattur_ (sid16049@gateway/web/irccloud.com/x-kosjhlfzwynuufpq) (Ping timeout: 245 seconds)
  391. # [06:48] * Quits: JakeA (uid3836@gateway/web/irccloud.com/x-amwuauijhiovzsxc) (Ping timeout: 245 seconds)
  392. # [06:48] * Joins: mattur_ (sid16049@gateway/web/irccloud.com/x-hwhzbavjxikprhuv)
  393. # [06:49] * Quits: benschwarz_ (sid2121@gateway/web/irccloud.com/x-hrrpuokenukxdomr) (Ping timeout: 276 seconds)
  394. # [06:50] * Joins: jungkees (uid24208@gateway/web/irccloud.com/x-vxurpkglrgcumsik)
  395. # [06:50] * Joins: benschwarz_ (sid2121@gateway/web/irccloud.com/x-lwfgtktwfrrisvfb)
  396. # [06:50] * Joins: JakeA (uid3836@gateway/web/irccloud.com/x-ondlcdextnftccgy)
  397. # [06:52] * Quits: rniwa (~rniwa@17.202.43.222) (Quit: rniwa)
  398. # [06:54] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  399. # [06:55] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  400. # [06:58] * Joins: espadrine` (~ttyl@AMontsouris-158-1-15-151.w92-128.abo.wanadoo.fr)
  401. # [07:00] <TabAtkins> Dunno.
  402. # [07:11] * Quits: llkats (~llkats@c-69-181-45-245.hsd1.ca.comcast.net)
  403. # [07:12] * Joins: yoav (~yoav@sdo26-1-78-245-148-181.fbx.proxad.net)
  404. # [07:20] * Joins: IZh (~IZh@0897578511.static.corbina.ru)
  405. # [07:21] * birtles_ is now known as birtles
  406. # [07:25] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  407. # [07:27] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  408. # [07:29] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  409. # [07:29] * Joins: BigBangUDR (~Thunderbi@220.225.242.27)
  410. # [07:34] * Joins: zdobersek (~zan@185.3.135.178)
  411. # [07:42] * astearns_ is now known as astearns
  412. # [07:45] <MikeSmith> Hixie: the URL spec doesn't like your data: URLs http://sideshowbarker.net:8888/?doc=http%3A%2F%2Fwhatwg.org%2Fspecs%2Fweb-apps%2Fcurrent-work%2F
  413. # [07:49] * Quits: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  414. # [07:55] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  415. # [07:57] * Joins: Ducki (~Ducki@137.116.197.171)
  416. # [08:04] * Joins: zcorpan (d25fff95@gateway/web/freenode/ip.210.95.255.149)
  417. # [08:04] <zcorpan> Hixie: i like the rotated labels :-)
  418. # [08:08] * Quits: zcorpan (d25fff95@gateway/web/freenode/ip.210.95.255.149) (Ping timeout: 240 seconds)
  419. # [08:17] * Parts: a-ja (~Instantbi@70.230.147.189)
  420. # [08:23] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  421. # [08:29] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Remote host closed the connection)
  422. # [08:30] * Joins: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  423. # [08:40] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
  424. # [08:40] * Joins: karlcow (~karl@nerval.la-grange.net)
  425. # [08:42] * Quits: roc (~chatzilla@60.234.66.18) (Ping timeout: 265 seconds)
  426. # [08:44] * Quits: diffalot (~diffalot@c-76-107-128-104.hsd1.ms.comcast.net) (Ping timeout: 276 seconds)
  427. # [08:44] * Quits: BigBangUDR (~Thunderbi@220.225.242.27) (Quit: BigBangUDR)
  428. # [08:47] * Joins: markkes (~markkes@62.207.90.201)
  429. # [08:49] * Joins: diffalot (~diffalot@c-76-107-128-104.hsd1.ms.comcast.net)
  430. # [08:51] <TabAtkins> Hixie: And I like the :target styling, and will try to steal it for CSS.
  431. # [08:52] <Hixie> man is https://github.com/domenic/promises-unwrapping/issues/24#issuecomment-43714664 really the kind of code we can expect to see when promises are everywhere? that's horrifying
  432. # [08:52] <Hixie> just long changes of method calls with no obvious control flow
  433. # [08:52] <Hixie> chains
  434. # [08:52] <Hixie> TabAtkins: cool
  435. # [08:53] <Hixie> MikeSmith: any idea which character it is it doesn't like?
  436. # [08:54] <TabAtkins> Hixie: That's already the code we have today with callback functions (see: "callback hell"), except it's worse today due to the rightward march.
  437. # [08:54] <TabAtkins> Also terrible error-handling, no free synchronization primitives, etc.
  438. # [08:55] <Hixie> i don't recall every writing code that hard to read
  439. # [08:55] <TabAtkins> Hixie: Promise code is as close as we can get to straight-line sync code without new JS facilities.
  440. # [08:55] <TabAtkins> And new JS facilities *are* coming - the "await" keyword lets you write code that looks sync.
  441. # [08:55] * Quits: lmclister (~lmclister@c-98-210-38-110.hsd1.ca.comcast.net)
  442. # [08:56] <Hixie> yeah except i'll never be able to use it because it screws up throwing TypeErrors...
  443. # [08:56] <MikeSmith> Hixie: the braces I think
  444. # [08:56] <TabAtkins> Actually, "await fetch()" I suspect would throw a rejection.
  445. # [08:56] <Hixie> MikeSmith: ah
  446. # [08:56] <TabAtkins> No sure I've heard it.
  447. # [08:56] * Joins: Ms2ger (~Ms2ger@212.216-242-81.adsl-dyn.isp.belgacom.be)
  448. # [08:56] <TabAtkins> Rather, "not sure I've heard of the specific plans for what 'await' does for rejections".
  449. # [08:57] <TabAtkins> Because `try { await fetch(...) } catch(e) {...}` can get CPT-transformed into good code for you, in a way that is super clumsy and terrible when doing straight promises by themselves.
  450. # [08:58] <TabAtkins> If it makes you feel better, just remember that using raw promises everywhere is a middle step in the evolution of good async handling.
  451. # [08:58] <TabAtkins> (And that no matter how bad you think it looks, it looks much worse today.)
  452. # [08:58] <TabAtkins> (And if you think you write elegant beautiful callback-hell code, you can do the same thing with promises.)
  453. # [08:58] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  454. # [09:00] <TabAtkins> Hixie: Basically, check out http://www.xanthir.com/b4P_0. We're still in the Mauvascript stage of async code, with Promises being a pretty band-aid.
  455. # [09:02] <Hixie> i don't understand why .foo('5') should fail one way when you typoed "foo" and a different way when you typoed its argument.
  456. # [09:03] <MikeSmith> Hixie: btw I notice my chrome doesn't scroll to the right place when I visit http://url.spec.whatwg.org/#url-code-points (though Firefox does). I wonder if it's a side effect of the spec stylesheet redesign, and the :target thing
  457. # [09:03] <Hixie> MikeSmith: yeah i've noticed that too. i think it might be, though no idea why or how
  458. # [09:03] <MikeSmith> seems like a chrome bug
  459. # [09:04] * Quits: roven (~roven@78-20-24-80.access.telenet.be) (Ping timeout: 252 seconds)
  460. # [09:04] <Ms2ger> Good morning, Hixie
  461. # [09:05] <Hixie> yeah i really should head to bed
  462. # [09:06] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  463. # [09:16] <TabAtkins> Hixie: I typed a more involved argument into GitHub.
  464. # [09:16] <TabAtkins> One you have `await` it won't be different (when you use await).
  465. # [09:17] <TabAtkins> Right now, and in the future when you're operating on the promise directly, it'll just be a wart from JS not supporting async from the get-go. Oh well.
  466. # [09:17] * Quits: Goplat (~goplat@reactos/developer/Goplat) (Remote host closed the connection)
  467. # [09:18] <Ms2ger> Yay, more warts
  468. # [09:18] * Joins: richt (~richt@83.218.67.123)
  469. # [09:19] <TabAtkins> It's an existing wart, so whatevs.
  470. # [09:19] <Ms2ger> I think it's funny how quickly promises moved from "the bright new future" to "wart"
  471. # [09:20] <TabAtkins> If JS had some different syntax for calling things async, it'd probably work - the language would catch any errors for you and package them into a rejected promise automatically.
  472. # [09:20] <TabAtkins> Ms2ger: Why are you implying they aren't both?
  473. # [09:20] * Joins: zcorpan (d25fff95@gateway/web/freenode/ip.210.95.255.149)
  474. # [09:20] <zcorpan> annevk: seems we're gonna try url("..." crossorigin etc); and you have to use quotes. possibly also support image("..." crossorigin etc, <color>);
  475. # [09:20] <TabAtkins> Promises are the stepping stone towards good async, representing the base notion of an "async value". They're great, and enable tons of great things that'll make lots of different programming concepts better.
  476. # [09:21] <TabAtkins> annevk: Specifically, I'm pretty sure I can adjust Syntax to parse a quoted-string url() as a plain function(), leaving only unquoted urls as a url-token.
  477. # [09:21] <TabAtkins> s/function()/function-token/
  478. # [09:22] <TabAtkins> SimonSapin: ^^^ also
  479. # [09:27] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  480. # [09:28] <SimonSapin> TabAtkins: I’m missing context. Why would you want to do that?
  481. # [09:29] <SimonSapin> Also, how? It doesn’t sound possible unless you make tokenization context-aware
  482. # [09:32] <IZh> Is it possible for IDs to end with "?" character?
  483. # [09:33] * Joins: ^esc (~esc-ape@178.115.129.108.wireless.dyn.drei.com)
  484. # [09:33] <IZh> The spec has one. And a href to it.
  485. # [09:33] * Joins: victorbjelkholm (~victorbje@41.Red-83-60-204.dynamicIP.rima-tde.net)
  486. # [09:34] * Joins: Smylers (~smylers@217.39.7.253)
  487. # [09:36] <mathiasbynens> IZh: sure, IDs can contain any symbol except for spaces http://mathiasbynens.be/notes/html5-id-class
  488. # [09:37] * Quits: victorbjelkholm (~victorbje@41.Red-83-60-204.dynamicIP.rima-tde.net) (Client Quit)
  489. # [09:40] * Quits: Smylers (~smylers@217.39.7.253) (Ping timeout: 240 seconds)
  490. # [09:40] <TabAtkins> SimonSapin: Nope, no context-awareness needed.
  491. # [09:41] <TabAtkins> SimonSapin: After seeing "url(", consume whitespace until the next character is non-whitespace. If it's a double or single quote, return a function token named "url", otherwise switch into the crazytimes unquoted url consuming code.
  492. # [09:42] * Joins: roven (~roven@78-20-24-80.access.telenet.be)
  493. # [09:42] <TabAtkins> IZh: Note that HTML IDs and the CSS ID selector have different syntaxes. You could write <div id="foo?">, but to select it would need #foo\?.
  494. # [09:44] <TabAtkins> SimonSapin: The reasoning is so we can add cors, integrity, etc to urls in CSS without having to invent a function with a new name.
  495. # [09:44] <SimonSapin> TabAtkins: Oh, so <function-token> only for URLs with quoted strings. I thought you meant <function-token name=url content=[<unquoted-url-body>]>
  496. # [09:45] <TabAtkins> Yup.
  497. # [09:45] <IZh> The spec has <a href=#is-this-html5?>...</a> and <h3 id=is-this-html5?>...</h3>.
  498. # [09:45] <TabAtkins> IZh: Yeah, that works.
  499. # [09:46] <TabAtkins> (? has a meaning in urls, but only *before* the hash. Once you're in the hash ? doesn't mean anything special.)
  500. # [09:47] <TabAtkins> zcorpan: What's the "rotated labels" you talked about?
  501. # [09:47] * Quits: tav (~tav`@host31-52-138-103.range31-52.btcentralplus.com) (Quit: tav)
  502. # [09:47] * Joins: cheron (~cheron@unaffiliated/cheron)
  503. # [09:48] <SimonSapin> TabAtkins: sounds reasonable. There is a slight impl bug potential in forgetting to update some of the parser places that expect a url token to also look for a function token with name URL, but it may be worth it
  504. # [09:48] <TabAtkins> SimonSapin: Yeah, good point.
  505. # [09:50] * Joins: Smylers (~smylers@81.143.60.194)
  506. # [09:52] <TabAtkins> SimonSapin: If we were allowed to output multiple tokens in a single pass to/from the initial state, we could handle unquoted urls as functions just fine.
  507. # [09:52] <TabAtkins> Hm, except for bad-url I guess.
  508. # [09:54] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  509. # [09:56] <zcorpan> TabAtkins: "Note" etc in the html spec. you need a browser that supports unprefixed 'transform'
  510. # [09:56] <SimonSapin> Some bad-url would become parser-level errors
  511. # [09:57] * Quits: IZh (~IZh@0897578511.static.corbina.ru) (Remote host closed the connection)
  512. # [09:58] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  513. # [09:58] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Remote host closed the connection)
  514. # [09:59] <TabAtkins> zcorpan: Ah, kk.
  515. # [09:59] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  516. # [10:00] <TabAtkins> SimonSapin: I guess we could still output an error token in that case with the same effect - it's a token that's guaranteed to never be in any grammar.
  517. # [10:00] <TabAtkins> But anyway, the guarantee that we only ever output one token per pass is a nice quality to preserve.
  518. # [10:01] <TabAtkins> I suppose we could just add a single bit of state to the tokenizer - an "in unquoted url?" bool.
  519. # [10:01] <benjamingr> Hixie: half (read 95%) of the time with promises you're not in a sync context but in a promise chain anyway, just like in callbacks often you're inside an emitter callback. A promise rejection that's unhandled causes the chain to stop running (unless it is handled). Throwing synchronously means you create different behavior when you start the chain and when
  520. # [10:01] <benjamingr> you're running it.
  521. # [10:04] <benjamingr> Maybe you have a point and we have to wrap the initial API calls with `Promise.try` (in ES6, Promise.resolve().then) calls anyway though, thinking about it.
  522. # [10:08] <TabAtkins> I mean, that's certainly *a* way to go about things, to guarantee that any mistakes you make don't cause something crazy.
  523. # [10:14] * Quits: jdaggett (~jdaggett@61-121-216-2.bitcat.net) (Ping timeout: 276 seconds)
  524. # [10:23] * Quits: dbaron (~dbaron@corp-nat.p2p.sfo1.mozilla.com) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  525. # [10:26] * Joins: BigBangUDR (~Thunderbi@220.225.242.27)
  526. # [10:30] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  527. # [10:35] * Quits: zcorpan (d25fff95@gateway/web/freenode/ip.210.95.255.149) (Ping timeout: 240 seconds)
  528. # [10:40] * Joins: IZh (~IZh@83.220.239.43)
  529. # [10:40] * Quits: IZh (~IZh@83.220.239.43) (Remote host closed the connection)
  530. # [10:45] <JakeA> annevk: https://github.com/slightlyoff/ServiceWorker/issues/285 - you're saying 1. would be the CSS base url, right?
  531. # [10:45] <JakeA> annevk: Because I think Alex thinks it's 2.
  532. # [10:45] <JakeA> annevk: (and I think it should be 3, so yey!)
  533. # [10:47] <annevk> JakeA: I think it should be 3 if you use default()
  534. # [10:47] <annevk> JakeA: otherwise the /fallback.html stuff sucks
  535. # [10:48] <annevk> JakeA: a good way to think about it is what URL you'd expect in the address bar
  536. # [10:48] <JakeA> annevk: This is for a CSS subresource, not a navigate. What do you think the base url would be using the code as it is (using fetch())
  537. # [10:49] <annevk> JakeA: I think it should be 1
  538. # [10:49] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  539. # [10:49] <annevk> JakeA: I realize this is for CSS, but I don't think we should apply different semantics to navigate necessarily
  540. # [10:49] <annevk> JakeA: the only thing that's special about navigate is that the invoking algorithm needs to have a say in redirect handling
  541. # [10:50] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  542. # [10:50] * Quits: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2) (Quit: Bye)
  543. # [10:51] <annevk> TabAtkins: url("..." ...) sounds nice
  544. # [10:51] * Joins: nunnun (~hiro@2001:200:164:48:20c:29ff:fe02:11d2)
  545. # [10:53] * Quits: cabanier (sid15093@gateway/web/irccloud.com/x-ozkimgpwrpfutmrf) (Ping timeout: 258 seconds)
  546. # [10:55] * Joins: cabanier (sid15093@gateway/web/irccloud.com/x-ddimfazltpzfcrpz)
  547. # [11:03] * Quits: plutoniix (~plutoniix@210.213.57.70) (Quit: จรลี จรลา)
  548. # [11:04] * Joins: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  549. # [11:04] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Read error: Connection reset by peer)
  550. # [11:05] * Quits: tmfsd (sid26422@gateway/web/irccloud.com/x-jokgsszvfavssvzn) (Ping timeout: 264 seconds)
  551. # [11:07] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  552. # [11:08] * Joins: tmfsd (sid26422@gateway/web/irccloud.com/x-ubmvgswbygmufrhp)
  553. # [11:10] * Quits: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Ping timeout: 240 seconds)
  554. # [11:13] * Quits: BigBangUDR (~Thunderbi@220.225.242.27) (Quit: BigBangUDR)
  555. # [11:17] <JakeA> annevk: yeah, that makes sense. Just hate the magic of event.default(). What about request.followRedirects, which would be true for stuff coming through event.request?
  556. # [11:18] <JakeA> So fetch(event.request) would return an OpaqueResponse redirect if it hit one
  557. # [11:19] <annevk> JakeA: where is this proposal specified?
  558. # [11:19] <JakeA> annevk: In IRC just now :D
  559. # [11:20] * Quits: Streusel (~Anonymous@unaffiliated/streusel) (Quit: Computer has gone to sleep.)
  560. # [11:20] <annevk> JakeA: what is an <img> element going to do if it gets handed an OpaqueResponse? It'll just fail
  561. # [11:21] <JakeA> annevk: If the OpaqueResponse is a redirect, doesn't the fetch spec deal with the rest of the redirects?
  562. # [11:22] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  563. # [11:22] * Joins: Lachy (~Lachy@213.166.174.2)
  564. # [11:22] <JakeA> annevk: (also, images will render OpaqueResponses fine, but they'll taint canvases)
  565. # [11:22] <annevk> JakeA: (not if the OpaqueResponse is a redirect)
  566. # [11:23] <annevk> JakeA: I think the idea was that only an explicit redirect from the service worker would be handled by Fetch
  567. # [11:23] <annevk> JakeA: anything else would just be passed back up the stack
  568. # [11:24] <annevk> Although I guess I can see arguments both ways... Hmm
  569. # [11:24] <JakeA> annevk: Is an OpaqueResponse redirect not an explicit redirect?
  570. # [11:24] <JakeA> I thought that was how event.default() would work
  571. # [11:25] <JakeA> if event.default() resolves to a redirect, it must be OpaqueResponse for security reasons
  572. # [11:28] <annevk> JakeA: an explicit redirect would be something like new RedirectResponse({status:301, location:...})
  573. # [11:29] <JakeA> annevk: But isn't exposing that a security no-no?
  574. # [11:29] <annevk> JakeA: no, only network-level redirects cannot be exposed
  575. # [11:29] <annevk> JakeA: sorry, we would also not expose that one to the API, we would indeed follow it
  576. # [11:30] <annevk> JakeA: but not because of security
  577. # [11:30] <JakeA> annevk: what does event.default() resolve to if it hits a redirect?
  578. # [11:32] <JakeA> I thought it would be a redirect response, which would be opaque for security reasons
  579. # [11:35] * Quits: KevinMarks (~yaaic@2607:fb90:212a:1795:dc53:91fa:58e0:4449) (Ping timeout: 252 seconds)
  580. # [11:35] <annevk> JakeA: it depends on the request instance
  581. # [11:36] * Joins: KevinMarks (~yaaic@c-67-164-14-200.hsd1.ca.comcast.net)
  582. # [11:36] <annevk> JakeA: if the manual redirect flag is not set (most cases), it just follows them and hands back a "flattened" response
  583. # [11:37] * Quits: benschwarz_ (sid2121@gateway/web/irccloud.com/x-lwfgtktwfrrisvfb) (Read error: Connection reset by peer)
  584. # [11:37] <JakeA> annevk: But there's a difference between SW doing the flattening and the fetch spec doing the flattening
  585. # [11:37] <annevk> JakeA: Fetch does it
  586. # [11:37] * Joins: benschwarz_ (sid2121@gateway/web/irccloud.com/x-xhaeqxquxpiokswu)
  587. # [11:38] <JakeA> annevk: If you do fetch(url) the response url will always be the original url, despite redirects, right?
  588. # [11:38] * Joins: BigBangUDR (~Thunderbi@220.225.242.27)
  589. # [11:38] <annevk> JakeA: the only case where an SW might be able to have another crack at a redirect (and this depends on the context) is when the manual redirect flag is set (navigate) or when the SW returns a redirect it created itself
  590. # [11:38] <JakeA> agreed
  591. # [11:39] <annevk> JakeA: if you do fetch(url) the response's url will be the final url
  592. # [11:39] <annevk> JakeA: no different from XHR.responseURL
  593. # [11:39] <annevk> JakeA: however, it's not clear the layer above SW (Fetch) cares about that URL
  594. # [11:40] <annevk> JakeA: my assumption has been that it does not, because of the /fallback and other cases
  595. # [11:40] <JakeA> annevk: I thought we couldn't expose responseURL for security reasons
  596. # [11:41] <annevk> JakeA: it might not be exposed in all cases
  597. # [11:41] <annevk> JakeA: depends on the type of response
  598. # [11:41] <annevk> (but it's certainly known to the UA)
  599. # [11:41] <JakeA> yeah
  600. # [11:44] <annevk> XHR can always expose it because XHR only does CORS, no tainted stuff
  601. # [11:44] <JakeA> annevk: event.default() returns a redirect if it hits one, which gets handed back to the fetch spec, which either hands that to the top level (if manual redirect is set) or follows the redirects without further SW interaction & uses the final url as the base url, right?
  602. # [11:45] <JakeA> (by top level I mean the fetch spec caller, sorry)
  603. # [11:45] <annevk> event.default() invokes Fetch with the original request instance and an override to bypass the SW; whatever it gets out of that it hands back to the SW
  604. # [11:46] <annevk> so it's very much like fetch() except that it uses the original request instance
  605. # [11:48] * Quits: timeless (sid4015@firefox/developer/timeless) (Ping timeout: 240 seconds)
  606. # [11:48] <annevk> (which also means it modifies the original request instance and therefore response's url and such are different; there's some details to figure out there as obviously the Request object exposed in the API cannot change, that needs to be a snapshot)
  607. # [11:50] <JakeA> annevk: So, going back to the CSS example, how does the response from respondWith(event.default()) end up with a difference base url than respondWith(fetch(event.request))?
  608. # [11:50] <annevk> I wish we had gone through this more at the F2F, I tried to push for it but everyone else seemed to think it was somehow clear...
  609. # [11:51] <JakeA> annevk: Thanks for going through it now though. Happy to jump on VC if you think it'd be easier
  610. # [11:51] <annevk> JakeA: fetch() creates a new (you could think of it as nested) instance of the request
  611. # [11:51] * Joins: Lachy_ (~Lachy@tmo-096-247.customers.d1-online.com)
  612. # [11:51] * Joins: timeless (sid4015@firefox/developer/timeless)
  613. # [11:52] <JakeA> annevk: I don't think it matters what fetch() does, as the base url is set in the fetch spec, once it gets a response from SW
  614. # [11:52] <JakeA> annevk: As far as I can tell, the fetch spec gets the response from SW, and sets its response url (for base purposes) to request.url
  615. # [11:53] * Quits: Lachy (~Lachy@213.166.174.2) (Ping timeout: 240 seconds)
  616. # [11:54] <JakeA> annevk: That's how the example on https://github.com/slightlyoff/ServiceWorker/issues/285 becomes 1.
  617. # [11:54] <annevk> JakeA: Fetch gets a Request R1, opens SW, SW initaties a *new* Fetch with R2 using fetch() and gets back a response, hands that back to R1 (R1 never saw it's url field change so sets that on the response)
  618. # [11:54] <annevk> JakeA: default() however keeps using R1
  619. # [11:56] <JakeA> Ohhh ok *thinks*
  620. # [11:57] * Joins: Lachy (~Lachy@213.166.174.2)
  621. # [11:58] * annevk is still trying to go through the IRC backlog
  622. # [11:58] <JakeA> Sorry, I realise I'm not helping
  623. # [11:59] * Joins: satazor (~satazor@bl17-218-25.dsl.telepac.pt)
  624. # [12:00] * Quits: Lachy_ (~Lachy@tmo-096-247.customers.d1-online.com) (Ping timeout: 240 seconds)
  625. # [12:03] <JakeA> annevk: I thought the fetch spec would open SW before step 7 of http://fetch.spec.whatwg.org/#concept-http-fetch, but the response would still hit step 10 that deals with redirects & 304
  626. # [12:03] <annevk> JakeA: heh, it's just very long today, that's all
  627. # [12:05] <JakeA> so if the SW respondWith a redirect (opaque or not), it'd go through step 10, and follow the redirect but ignoring the SW
  628. # [12:06] <annevk> JakeA: well, a) it would follow the redirect if the manual redirect flag was unset and b) it would go back into the SW as following a redirect invokes Fetch
  629. # [12:06] * Joins: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  630. # [12:06] * Joins: satazor_ (~satazor@239.201.37.188.rev.vodafone.pt)
  631. # [12:09] * Quits: satazor (~satazor@bl17-218-25.dsl.telepac.pt) (Ping timeout: 255 seconds)
  632. # [12:09] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Ping timeout: 276 seconds)
  633. # [12:10] * Quits: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Ping timeout: 240 seconds)
  634. # [12:14] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  635. # [12:19] <annevk> "I really wish people would just read the spec that Ian wrote and what I wrote about this on es-discuss in the past instead of making random assumptions..."
  636. # [12:19] <annevk> https://github.com/domenic/promises-unwrapping/issues/108#issuecomment-43691121
  637. # [12:19] * Joins: coolbot95 (~coolbot95@gateway/tor-sasl/coolbot95)
  638. # [12:21] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  639. # [12:25] <Ms2ger> Let's move everything into ES
  640. # [12:25] <Ms2ger> There will certainly be no issues integrating them with the platform
  641. # [12:27] * Joins: darobin (~darobin@78.109.80.74)
  642. # [12:32] <annevk> Ms2ger: go do some homework :p
  643. # [12:32] <Ms2ger> Nah, I see what happens to bz's homework
  644. # [12:55] * Quits: BigBangUDR (~Thunderbi@220.225.242.27) (Quit: BigBangUDR)
  645. # [13:02] * Joins: dbaron (~dbaron@corp-nat.p2p.sfo1.mozilla.com)
  646. # [13:08] * Quits: Ms2ger (~Ms2ger@212.216-242-81.adsl-dyn.isp.belgacom.be) (Ping timeout: 258 seconds)
  647. # [13:09] * Quits: zdobersek (~zan@185.3.135.178) (Quit: Leaving.)
  648. # [13:20] * Joins: zcorpan (~zcorpan@113.199.41.81)
  649. # [13:22] * Joins: barnabywalters (~barnabywa@46-239-239-203.tal.is)
  650. # [13:35] * Quits: satazor_ (~satazor@239.201.37.188.rev.vodafone.pt) (Remote host closed the connection)
  651. # [13:36] * Joins: satazor (~satazor@bl17-218-25.dsl.telepac.pt)
  652. # [13:36] * Joins: satazor_ (~satazor@239.201.37.188.rev.vodafone.pt)
  653. # [13:37] * Quits: Kolombiken (~Adium@94.137.124.2) (Quit: Leaving.)
  654. # [13:41] * Quits: satazor (~satazor@bl17-218-25.dsl.telepac.pt) (Ping timeout: 276 seconds)
  655. # [13:41] * Joins: Kolombiken (~Adium@gateway.creuna.se)
  656. # [13:47] * Quits: zcorpan (~zcorpan@113.199.41.81) (Remote host closed the connection)
  657. # [13:49] * Joins: scor (scor@nat/acquia/x-qibcgyoktqddohqy)
  658. # [13:49] * Quits: scor (scor@nat/acquia/x-qibcgyoktqddohqy) (Changing host)
  659. # [13:49] * Joins: scor (scor@drupal.org/user/52142/view)
  660. # [13:51] * Quits: Lachy (~Lachy@213.166.174.2) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  661. # [13:52] * Joins: Lachy (~Lachy@213.166.174.2)
  662. # [13:53] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  663. # [14:02] * Krinkle|detached is now known as Krinkle
  664. # [14:04] * Joins: newtron (~newtron@199.71.174.203)
  665. # [14:05] <annevk> JakeA: might want to check the logs regarding script loading
  666. # [14:05] <annevk> JakeA: seems <script needs> or some such is still floating around
  667. # [14:05] * JakeA sobs
  668. # [14:13] <annevk> JakeA: if you don't like it you should talk to Hixie
  669. # [14:13] <annevk> JakeA: seems like he's investing time in it
  670. # [14:14] <JakeA> annevk: I'm not really against it, it was just a really painful thread last time around
  671. # [14:16] <JakeA> Hixie: Domenic: If we have <link rel=preload> which has a .loaded promise, you can do most of this delayed execution stuff yourself
  672. # [14:18] <JakeA> Hixie: Domenic: But for the simple case, I don't think we need anything more complex than <script depends=".css-selector">, where the CSS selector points to other script/img/link elements
  673. # [14:20] <JakeA> The dependencies can be calculated at document insertion time, which avoids circular dependencies. Also <script depends="script"> becomes a handy way to do sequential execution
  674. # [14:24] * Joins: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi)
  675. # [14:29] <annevk> JakeA: seems Hixie added ele.addDependency(promise) to the mix
  676. # [14:29] * Joins: tj_vantoll (~Adium@2601:4:5380:eba:d08e:e5b7:26d5:e54a)
  677. # [14:30] <JakeA> I think that's where having preload primitives is better. You can do whatever you want then
  678. # [14:33] * Quits: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi) (Remote host closed the connection)
  679. # [14:33] * Joins: smaug____ (~chatzilla@a91-154-44-207.elisa-laajakaista.fi)
  680. # [14:35] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Remote host closed the connection)
  681. # [14:38] * Joins: Ms2ger (~Ms2ger@nata241.ugent.be)
  682. # [14:40] * toyoshim is now known as toyoshiAw
  683. # [14:40] * Joins: bzed_ (~bzed@devel.recluse.de)
  684. # [14:42] * Quits: bzed (~bzed@devel.recluse.de) (Ping timeout: 245 seconds)
  685. # [14:42] * bzed_ is now known as bzed
  686. # [14:44] * Joins: jdaggett (~jdaggett@q023013.dynamic.ppp.asahi-net.or.jp)
  687. # [14:47] * Quits: Kolombiken (~Adium@gateway.creuna.se) (Quit: Leaving.)
  688. # [14:52] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  689. # [14:54] * Joins: Kolombiken (~Adium@gateway.creuna.se)
  690. # [14:56] * Joins: npcomp (~eldon@50-13-195-119.gar.clearwire-wmx.net)
  691. # [15:02] * Quits: tj_vantoll (~Adium@2601:4:5380:eba:d08e:e5b7:26d5:e54a) (Read error: Connection reset by peer)
  692. # [15:05] * Joins: aiglesias (~aiglesias@host236.190-30-21.telecom.net.ar)
  693. # [15:06] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  694. # [15:06] * Joins: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  695. # [15:09] * Joins: tj_vantoll (~Adium@c-98-250-130-237.hsd1.mi.comcast.net)
  696. # [15:09] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Ping timeout: 240 seconds)
  697. # [15:10] * Quits: aiglesias (~aiglesias@host236.190-30-21.telecom.net.ar) (Remote host closed the connection)
  698. # [15:10] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Ping timeout: 240 seconds)
  699. # [15:22] * Quits: Kolombiken (~Adium@gateway.creuna.se) (Quit: Leaving.)
  700. # [15:23] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  701. # [15:27] <jcgregorio> annevk: I thought Object.observe didn't work for DOM?
  702. # [15:27] <jcgregorio> re navigator.language shipping thread
  703. # [15:27] <annevk> jcgregorio: it has hooks
  704. # [15:28] <annevk> jcgregorio: it doesn't work for everything, e.g. you wouldn't want it for ele.innerHTML, but for things where we already dispatch events it's fine
  705. # [15:31] <jcgregorio> ah ok, and for everything else there's MutationObserver?
  706. # [15:31] * Joins: zcorpan (~zcorpan@113.199.41.81)
  707. # [15:32] * Joins: BigBangUDR (~Thunderbi@115.245.32.168)
  708. # [15:36] <annevk> jcgregorio: I guess it's more like MutationObserver is for trees, and O.o is for most other things
  709. # [15:40] * Quits: Ms2ger (~Ms2ger@nata241.ugent.be) (Ping timeout: 255 seconds)
  710. # [15:40] * Quits: BigBangUDR (~Thunderbi@115.245.32.168) (Ping timeout: 240 seconds)
  711. # [15:44] * Joins: fabiofl (~fabiofl@179.153.232.110)
  712. # [15:45] * Quits: dbaron (~dbaron@corp-nat.p2p.sfo1.mozilla.com) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  713. # [15:45] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  714. # [15:47] * Quits: dshwang (dshwang@nat/intel/x-qdwpuzvajnbclbgk) (Remote host closed the connection)
  715. # [15:48] <caitp> annevk (or others), is there a specific status code that should be expected when fetch/xhr send times out?
  716. # [15:49] <caitp> I'm not seeing one mentioned in fetch, but it's being asked about in a separate channel
  717. # [15:50] * Joins: Kolombiken (~Adium@gateway.creuna.se)
  718. # [15:50] <annevk> caitp: 0
  719. # [15:50] <caitp> where is that actually specified?
  720. # [15:51] <annevk> caitp: last bit is http://xhr.spec.whatwg.org/#request-error-steps where it sets response to a network error (whose status is 0)
  721. # [15:51] * Joins: dshwang (~dshwang@134.134.137.75)
  722. # [15:51] * Joins: plutoniix (~plutoniix@node-19es.pool-101-109.dynamic.totbb.net)
  723. # [15:52] <annevk> One thing that could be improved is that XMLHttpRequest currently does not check the timeout attribute value continuously, seems a bit buggy
  724. # [15:57] <caitp> I believe it's stated in the specification (and tested in the wpt) that setting the attribute means setting the timeout to a new value relative to the start of the request, if a request had already started
  725. # [15:58] <caitp> which should mean "dispatch timeout if that time has already elapsed"
  726. # [15:58] <annevk> caitp: that's the bug I just mentioned
  727. # [15:59] <caitp> I'm not sure what you mean then, why would it need to be checked continuously if the behaviour that would happen when checking it, happens when the value changes?
  728. # [15:59] <annevk> if 50ms is enough accuracy I could just piggyback on the callbacks from Fetch
  729. # [15:59] <annevk> caitp: you might change the value to enlarge the window, but yeah, could be done in multiple ways, patches welcome
  730. # [16:01] <jgraham> hober: I think people still at Opera like critic too :p
  731. # [16:01] * Joins: Maurice (copyman@5ED57922.cm-7-6b.dynamic.ziggo.nl)
  732. # [16:02] <jgraham> (but actually it generally seems like people who use it a bit don't have too many complaints, which fits my hypothesis that it's basically a good tool, with a learning curve and a slightly aesthetically displeasing frontend)
  733. # [16:02] <caitp> i'm still not sure what you mean, it seems like the instructions are spelled out, they just don't seem to be normative / are expressed sort of like hints
  734. # [16:02] <caitp> so if there's a bug, it's more that it's not expressed as a MUST or even SHOULD
  735. # [16:03] * Joins: BigBangUDR (~Thunderbi@101.56.26.116)
  736. # [16:03] * Quits: BigBangUDR (~Thunderbi@101.56.26.116) (Client Quit)
  737. # [16:07] <annevk> caitp: there's none of that, everything follows from "The send(data) method must run these steps:"
  738. # [16:09] * Quits: jdaggett (~jdaggett@q023013.dynamic.ppp.asahi-net.or.jp) (Quit: jdaggett)
  739. # [16:10] <caitp> http://xhr.spec.whatwg.org/#dom-xmlhttprequest-timeout it's more the "note" section, it's very awkward to have something like this stated as "this implies..."
  740. # [16:11] <caitp> fetch doesn't really make any mention of the behaviour dictated by this note, and nor does anywhere else in xhr, as far as I can see
  741. # [16:13] <annevk> caitp: right, that's why I said the text in the send() section is somewhat buggy
  742. # [16:14] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 252 seconds)
  743. # [16:14] <caitp> okay, I see what you're getting at
  744. # [16:15] * Joins: tav (~tav`@host31-52-138-103.range31-52.btcentralplus.com)
  745. # [16:27] * Joins: mpt (~mpt@canonical/mpt)
  746. # [16:31] * Joins: NDoc_ (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net)
  747. # [16:32] * Quits: NDoc_ (~NDoc@c-68-80-107-173.hsd1.pa.comcast.net) (Client Quit)
  748. # [16:40] * Joins: aiglesias (~aiglesias@147-195-17-190.fibertel.com.ar)
  749. # [16:51] <zcorpan> annevk: i introduced a new flag to <img> that is not exposed to JS in https://github.com/ResponsiveImagesCG/picture-element/pull/179 to fix https://code.google.com/p/chromium/issues/detail?id=372971
  750. # [16:52] <zcorpan> annevk: but you can get an img with the flag set by doing innerHTML = '<img>' on an element in a document without a browsing context
  751. # [16:52] <zcorpan> not sure if this is relevant to the "implement a browser in JS" thing or whatever
  752. # [16:52] <annevk> zcorpan: I'm not sure what you're asking me, but "await a stable state" was recently factored out
  753. # [16:53] <annevk> zcorpan: ah I see
  754. # [16:53] <annevk> zcorpan: for that bit I recommend filing an issue here: https://github.com/dglazkov/html-as-custom-elements/issues
  755. # [16:54] <zcorpan> annevk: "await a stable state" is still defined, it's just defined in terms of microtasks
  756. # [16:54] <annevk> zcorpan: for removing "await a stable state" I suggest looking at how Hixie did that
  757. # [16:54] <annevk> oh
  758. # [16:54] * Quits: richt (~richt@83.218.67.123) (Remote host closed the connection)
  759. # [16:54] <annevk> fair enough
  760. # [16:54] <zcorpan> so that should be fine i think. the img move happened after the stable state changes
  761. # [16:55] * Joins: richt (~richt@83.218.67.123)
  762. # [16:56] <annevk> Sometimes I wish the other XMLHttpRequest editors fixed some bugs
  763. # [16:58] <zcorpan> ok filed https://github.com/dglazkov/html-as-custom-elements/issues/15
  764. # [16:59] * Quits: richt (~richt@83.218.67.123) (Ping timeout: 252 seconds)
  765. # [17:01] * Quits: fabiofl (~fabiofl@179.153.232.110) (Quit: Lingo - http://lingoirc.com)
  766. # [17:02] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
  767. # [17:04] <zcorpan> https://www.igvita.com/2014/05/20/script-injected-async-scripts-considered-harmful/ - was there any progress on declarative dependencies thing to get ordered execution for <script src async>?
  768. # [17:07] * Quits: mven (~textual@ip68-104-38-84.lv.lv.cox.net) (Ping timeout: 240 seconds)
  769. # [17:14] * Joins: mpt (~mpt@canonical/mpt)
  770. # [17:15] <annevk> zcorpan: see discussion from today's logs before we woke up
  771. # [17:16] * Joins: richt (~richt@c83-248-137-176.bredband.comhem.se)
  772. # [17:23] * Joins: adactio (~adactio@cowo.umcowo.garagebilk.net)
  773. # [17:24] * Quits: markkes (~markkes@62.207.90.201) (Ping timeout: 252 seconds)
  774. # [17:25] * Quits: zcorpan (~zcorpan@113.199.41.81) (Remote host closed the connection)
  775. # [17:30] * Joins: BigBangUDR (~Thunderbi@123.239.190.7)
  776. # [17:36] * Quits: BigBangUDR (~Thunderbi@123.239.190.7) (Ping timeout: 255 seconds)
  777. # [17:37] * Quits: ehsan (~ehsan@24-212-207-29.cable.teksavvy.com) (Remote host closed the connection)
  778. # [17:41] * Quits: npcomp (~eldon@50-13-195-119.gar.clearwire-wmx.net) (Quit: leaving)
  779. # [17:43] <annevk> smaug____: if XHR provided a way to disable 401 dialogs, what should we call the flag?
  780. # [17:45] <annevk> smaug____: disableUserAgentAidedAuthentication
  781. # [17:45] <annevk> disableAssistedAuthentication
  782. # [17:46] <Hixie> annevk: 'await a stable state' is still there, actually, what was factored out is 'provide a stable state'.
  783. # [17:46] <Hixie> 'await a stable state' now just queues a microtask
  784. # [17:46] <annevk> Hixie: yeah zcorpan pointed that out, my bad
  785. # [17:46] <Hixie> ah right
  786. # [17:46] <smaug____> hmm
  787. # [17:47] <smaug____> the flag should have something about unauthorized
  788. # [17:47] <annevk> JakeA: this could be another difference between default() and fetch(); whether UA assisted authentication is enabled
  789. # [17:48] <annevk> smaug____: disable401Handling
  790. # [17:48] <smaug____> heh
  791. # [17:48] <smaug____> though, that is pretty clear
  792. # [17:48] <annevk> smaug____: Unauthorized is hard to spell
  793. # [17:48] <annevk> smaug____: and I don't think we want to mess with proxy authentication
  794. # [17:49] <JakeA> annevk: Makes sense
  795. # [17:49] <annevk> JakeA: for new APIs I'd really like to avoid popping up auth dialogs
  796. # [17:50] <JakeA> annevk: Should only be for navigations. Probably top-level at that
  797. # [17:50] <annevk> smaug____: can also have disable304Handling at some point
  798. # [17:50] <annevk> JakeA: currently pretty much everything does them
  799. # [17:50] <annevk> JakeA: might actually be compat problem to remove them
  800. # [17:50] <smaug____> I kind of like having the number there
  801. # [17:50] <annevk> JakeA: for things like <img>
  802. # [17:51] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
  803. # [17:51] <JakeA> annevk: Yeah, actually hit that issue this morning. Interestingly, Chrome doesn't seem to support username:password@ urls on images
  804. # [17:51] <JakeA> iOS seems to
  805. # [17:52] <JakeA> Didn't test anything else
  806. # [17:52] <JakeA> Had to add an iframe to the page with the username:password@ url, *then* the images would load
  807. # [17:52] * Quits: karlcow (~karl@nerval.la-grange.net) (Ping timeout: 258 seconds)
  808. # [17:52] <annevk> JakeA: Fetch supports both variants, it's up to the API to define whether URL credentials take effect
  809. # [17:52] <JakeA> But the iframe made iOS have a phishing panic
  810. # [17:53] * Joins: Ms2ger (~Ms2ger@212.216-242-81.adsl-dyn.isp.belgacom.be)
  811. # [17:53] <annevk> smaug____: ta
  812. # [17:54] * Joins: karlcow (~karl@nerval.la-grange.net)
  813. # [17:57] * Joins: adactio_ (~adactio@tmo-097-88.customers.d1-online.com)
  814. # [17:57] * Quits: adactio (~adactio@cowo.umcowo.garagebilk.net) (Ping timeout: 264 seconds)
  815. # [17:57] * adactio_ is now known as adactio
  816. # [17:58] * Quits: adactio (~adactio@tmo-097-88.customers.d1-online.com) (Read error: No route to host)
  817. # [18:00] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  818. # [18:01] * Joins: adactio (~adactio@cowo.umcowo.garagebilk.net)
  819. # [18:01] * Quits: mpt (~mpt@canonical/mpt) (Ping timeout: 240 seconds)
  820. # [18:02] * Joins: lmclister (~lmclister@192.150.10.210)
  821. # [18:04] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Ping timeout: 255 seconds)
  822. # [18:06] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  823. # [18:13] * Joins: ehsan (~ehsan@66.207.208.102)
  824. # [18:14] * Joins: mpt (~mpt@nat/canonical/x-cuejqbwksoeoyfeh)
  825. # [18:14] * Quits: mpt (~mpt@nat/canonical/x-cuejqbwksoeoyfeh) (Changing host)
  826. # [18:14] * Joins: mpt (~mpt@canonical/mpt)
  827. # [18:15] <annevk> Ms2ger: constraints seems correct, no?
  828. # [18:16] * Quits: Lachy (~Lachy@213.166.174.2) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  829. # [18:17] * Quits: darobin (~darobin@78.109.80.74) (Remote host closed the connection)
  830. # [18:21] * Quits: estellevw (~estellevw@173-228-112-232.dsl.dynamic.sonic.net) (Quit: Snuggling with the puppies)
  831. # [18:29] * Quits: Smylers (~smylers@81.143.60.194) (Ping timeout: 265 seconds)
  832. # [18:31] * Parts: adactio (~adactio@cowo.umcowo.garagebilk.net)
  833. # [18:31] * Quits: richt (~richt@c83-248-137-176.bredband.comhem.se) (Remote host closed the connection)
  834. # [18:32] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  835. # [18:35] * Joins: jeffreyatw (~jeffreyat@173.247.197.10)
  836. # [18:38] * Joins: ap_ (~ap@2620:149:4:304:5d6a:e774:4735:d973)
  837. # [18:38] * ap_ is now known as ap
  838. # [18:43] * Quits: diffalot (~diffalot@c-76-107-128-104.hsd1.ms.comcast.net) (Read error: Connection reset by peer)
  839. # [18:46] * Joins: Smylers (~smylers@94.116.25.223)
  840. # [18:47] * Joins: diffalot (~diffalot@c-76-107-128-104.hsd1.ms.comcast.net)
  841. # [18:47] * Joins: NDoc (NDoc@2600:3c02::f03c:91ff:fe6e:605c)
  842. # [18:51] * Quits: Smylers (~smylers@94.116.25.223) (Ping timeout: 265 seconds)
  843. # [19:01] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  844. # [19:02] * tantek is now known as would
  845. # [19:03] * would is now known as tantek
  846. # [19:05] * Quits: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net) (Ping timeout: 255 seconds)
  847. # [19:07] * Quits: jensnockert_ (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Remote host closed the connection)
  848. # [19:09] * Quits: cheron (~cheron@unaffiliated/cheron) (Ping timeout: 240 seconds)
  849. # [19:10] * Joins: cheron (~cheron@unaffiliated/cheron)
  850. # [19:13] * Joins: jsbell (jsbell@nat/google/x-htictdvutivycrfx)
  851. # [19:14] * Quits: barnabywalters (~barnabywa@46-239-239-203.tal.is) (Quit: barnabywalters)
  852. # [19:14] * Quits: satazor_ (~satazor@239.201.37.188.rev.vodafone.pt) (Read error: No route to host)
  853. # [19:15] * Joins: satazor (~satazor@bl17-218-25.dsl.telepac.pt)
  854. # [19:16] * Quits: lmclister (~lmclister@192.150.10.210)
  855. # [19:20] * Joins: KevinMarks_ (~KevinMark@c-67-164-14-200.hsd1.ca.comcast.net)
  856. # [19:21] * Quits: satazor (~satazor@bl17-218-25.dsl.telepac.pt) (Read error: No route to host)
  857. # [19:21] * Joins: satazor (~satazor@bl17-218-25.dsl.telepac.pt)
  858. # [19:21] * Joins: lmclister (~lmclister@192.150.10.210)
  859. # [19:23] * Quits: KevinMarks_ (~KevinMark@c-67-164-14-200.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
  860. # [19:32] <Ms2ger> annevk, as the verb? Doesn't sound right to me, but I guess we should ask a native :)
  861. # [19:34] * Joins: satazor_ (~satazor@239.201.37.188.rev.vodafone.pt)
  862. # [19:34] <Ms2ger> "The XMLHttpRequest standard intentionally constraints the use of HTTP here in line with contemporary implementations."
  863. # [19:34] * Joins: sankha93 (~sankha93@dslb-188-104-218-173.pools.arcor-ip.net)
  864. # [19:34] * Quits: sankha93 (~sankha93@dslb-188-104-218-173.pools.arcor-ip.net) (Changing host)
  865. # [19:34] * Joins: sankha93 (~sankha93@fsf/emeritus/sankha93)
  866. # [19:34] <Ms2ger> Native speakers, please comment
  867. # [19:35] * Joins: KevinMarks_ (~KevinMark@c-67-164-14-200.hsd1.ca.comcast.net)
  868. # [19:35] * Quits: satazor (~satazor@bl17-218-25.dsl.telepac.pt) (Read error: Connection reset by peer)
  869. # [19:37] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  870. # [19:39] * Quits: 14WACXBWE (scrollback@conference/jsconf/x-gtpwpupcdgmfydhk) (Read error: Connection reset by peer)
  871. # [19:39] * Joins: jeremyj (~jeremyj@17.202.44.231)
  872. # [19:40] * Joins: 20WAAHVL4 (scrollback@conference/jsconf/x-hjjhymyhfbrhickw)
  873. # [19:40] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  874. # [19:41] * Quits: jeremyj (~jeremyj@17.202.44.231) (Client Quit)
  875. # [19:42] * Joins: jeremyj (~jeremyj@17.202.44.231)
  876. # [19:45] * Joins: jacobolus (~jacobolus@70-36-196-50.dsl.static.sonic.net)
  877. # [19:46] <Domenic> should be constrains
  878. # [19:46] <Domenic> a constraint is a noun; constrain is a verb
  879. # [19:47] * Quits: scor (scor@drupal.org/user/52142/view) (Quit: scor)
  880. # [19:47] <SamB> "in line with contemporary implementations" seems a bit odd ... somehow
  881. # [19:48] * Quits: satazor_ (~satazor@239.201.37.188.rev.vodafone.pt)
  882. # [19:48] * Joins: Smylers (~smylers@host86-140-155-113.range86-140.btcentralplus.com)
  883. # [19:49] <SamB> (maybe some more specific explanation of the reasoning would be better?)
  884. # [19:58] * Quits: tav (~tav`@host31-52-138-103.range31-52.btcentralplus.com) (Quit: tav)
  885. # [19:58] * Joins: ambv (~ambv@206.108.217.134)
  886. # [20:00] * Joins: llkats (~llkats@h-64-236-138-1.aoltw.net)
  887. # [20:01] * Joins: newtron_ (~newtron@199.71.174.204)
  888. # [20:02] * Joins: newtron_work (~newtron@199.71.174.204)
  889. # [20:02] * Joins: ehsan_ (~ehsan@66.207.208.102)
  890. # [20:04] * Quits: newtron (~newtron@199.71.174.203) (Ping timeout: 240 seconds)
  891. # [20:05] * Quits: newtron_ (~newtron@199.71.174.204) (Ping timeout: 240 seconds)
  892. # [20:05] * Joins: richt (~richt@c83-248-137-176.bredband.comhem.se)
  893. # [20:05] * Quits: ehsan (~ehsan@66.207.208.102) (Ping timeout: 240 seconds)
  894. # [20:08] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  895. # [20:10] * Joins: IZh_ (~Igor_Zhba@0897578511.static.corbina.ru)
  896. # [20:13] * IZh_ is now known as IZh
  897. # [20:16] * Quits: ^esc (~esc-ape@178.115.129.108.wireless.dyn.drei.com) (Ping timeout: 252 seconds)
  898. # [20:17] * Joins: zdobersek (~zan@130.185.155.130)
  899. # [20:18] * Joins: danjesus (~danjesus@187.37.65.87)
  900. # [20:18] * Quits: danjesus (~danjesus@187.37.65.87) (Remote host closed the connection)
  901. # [20:18] * Joins: gavinc (~gavin@barad-dur.carothers.name)
  902. # [20:18] * Joins: danjesus (~danjesus@187.37.65.87)
  903. # [20:24] * Quits: newtron_work (~newtron@199.71.174.204) (Remote host closed the connection)
  904. # [20:24] * Joins: newtron (~newtron@199.71.174.204)
  905. # [20:26] * Joins: jwalden (~waldo@corp.mtv2.mozilla.com)
  906. # [20:28] * Joins: ^esc (~esc-ape@178.115.128.142.wireless.dyn.drei.com)
  907. # [20:28] * Quits: danjesus (~danjesus@187.37.65.87)
  908. # [20:28] * Quits: newtron (~newtron@199.71.174.204) (Ping timeout: 240 seconds)
  909. # [20:30] * Joins: npcomp (~eldon@50-13-195-119.gar.clearwire-wmx.net)
  910. # [20:31] * Quits: tndrH (~Rob@cpc4-seac20-2-0-cust858.7-2.cable.virginm.net) (Ping timeout: 258 seconds)
  911. # [20:34] * Quits: jeffreyatw (~jeffreyat@173.247.197.10) (Quit: jeffreyatw)
  912. # [20:36] * Quits: ^esc (~esc-ape@178.115.128.142.wireless.dyn.drei.com) (Ping timeout: 252 seconds)
  913. # [20:38] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  914. # [20:41] * Quits: NDoc (NDoc@2600:3c02::f03c:91ff:fe6e:605c) (Quit: Sleep... sleep... Zzz-_-zzZ)
  915. # [20:41] * Joins: NDoc (NDoc@2600:3c02::f03c:91ff:fe6e:605c)
  916. # [20:43] * Joins: newtron (~newtron@199.71.174.204)
  917. # [20:43] * Quits: newtron (~newtron@199.71.174.204) (Remote host closed the connection)
  918. # [20:43] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  919. # [20:43] * Joins: newtron (~newtron@199.71.174.203)
  920. # [20:46] * Joins: ^esc (~esc-ape@178.115.128.222.wireless.dyn.drei.com)
  921. # [20:48] * Quits: npcomp (~eldon@50-13-195-119.gar.clearwire-wmx.net) (Quit: leaving)
  922. # [20:48] * Quits: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net) (Quit: tantek)
  923. # [20:49] * Parts: NDoc (NDoc@2600:3c02::f03c:91ff:fe6e:605c)
  924. # [20:49] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  925. # [20:50] * Joins: richt_ (~richt@c83-248-137-176.bredband.comhem.se)
  926. # [20:50] * Quits: richt (~richt@c83-248-137-176.bredband.comhem.se) (Read error: Connection reset by peer)
  927. # [20:50] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  928. # [20:50] * Joins: zcorpan (~zcorpan@113.199.41.81)
  929. # [20:54] * Joins: jeremyj (~jeremyj@17.202.44.231)
  930. # [20:54] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  931. # [20:54] <IZh> Some of the links in spec points to redirecting pages. Should it be corrected to point to "final" pages?
  932. # [20:57] <IZh> For example, there is a link to http://whatwg.org/html that redirects to http://www.whatwg.org/html that redirects to http://www.whatwg.org/specs/web-apps/current-work/multipage that redirects to http://www.whatwg.org/specs/web-apps/current-work/multipage/
  933. # [20:57] <IZh> Shouldn't we point the link against real page?
  934. # [20:57] <IZh> Point to.
  935. # [20:59] <IZh> IMHO 3 redirects is too much.
  936. # [21:03] * Joins: tantek (~tantek@c-76-126-173-242.hsd1.ca.comcast.net)
  937. # [21:03] * Quits: karlcow (~karl@nerval.la-grange.net) (Ping timeout: 240 seconds)
  938. # [21:04] * Quits: dshwang (~dshwang@134.134.137.75) (Remote host closed the connection)
  939. # [21:05] * Quits: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds)
  940. # [21:09] * Quits: tantek (~tantek@c-76-126-173-242.hsd1.ca.comcast.net) (Quit: tantek)
  941. # [21:12] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  942. # [21:16] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  943. # [21:17] * Quits: llkats (~llkats@h-64-236-138-1.aoltw.net) (Remote host closed the connection)
  944. # [21:17] * Krinkle is now known as Krinkle|detached
  945. # [21:21] * Joins: jeffreyatw (~jeffreyat@173.247.197.10)
  946. # [21:23] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  947. # [21:26] * Joins: rniwa (~rniwa@17.202.43.222)
  948. # [21:26] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Read error: Connection reset by peer)
  949. # [21:27] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  950. # [21:29] * Quits: zcorpan (~zcorpan@113.199.41.81) (Remote host closed the connection)
  951. # [21:30] * Joins: zcorpan (~zcorpan@113.199.41.81)
  952. # [21:31] * Quits: amtiskaw (sid19262@gateway/web/irccloud.com/x-thsacybauqttoqbo) (Ping timeout: 258 seconds)
  953. # [21:32] * Joins: amtiskaw (sid19262@gateway/web/irccloud.com/x-fmyhoffnmqwqfvrg)
  954. # [21:35] * Quits: zcorpan (~zcorpan@113.199.41.81) (Ping timeout: 258 seconds)
  955. # [21:37] * Joins: llkats (~llkats@h-64-236-138-1.aoltw.net)
  956. # [21:38] * Joins: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net)
  957. # [21:38] * Quits: scor (~scor@c-24-2-162-32.hsd1.ma.comcast.net) (Changing host)
  958. # [21:38] * Joins: scor (~scor@drupal.org/user/52142/view)
  959. # [21:38] * Krinkle|detached is now known as Krinkle
  960. # [21:38] * Quits: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com) (Remote host closed the connection)
  961. # [21:40] * Joins: othermaciej (~mjs@17.114.217.202)
  962. # [21:40] * Joins: victorbjelkholm (~victorbje@41.Red-83-60-204.dynamicIP.rima-tde.net)
  963. # [21:41] * Joins: tantek (~tantek@70-36-139-254.dsl.dynamic.sonic.net)
  964. # [21:43] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  965. # [21:43] * Joins: zcorpan (~zcorpan@113.199.42.54)
  966. # [21:43] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  967. # [21:47] * Quits: IZh (~Igor_Zhba@0897578511.static.corbina.ru) (Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.26/20140428215944])
  968. # [21:48] * Joins: IZh (~IZh@0897578511.static.corbina.ru)
  969. # [21:51] * Quits: gavin__ (~gavin@76.14.87.162) (Read error: Connection reset by peer)
  970. # [21:51] * Joins: gavin_ (~gavin@76.14.87.162)
  971. # [21:51] <IZh> For beautiful url with ability to change real page in the future, I suppose, one redirect is enough.
  972. # [21:51] * Joins: lilmonkey` (~colin@5ED090B0.cm-7-1c.dynamic.ziggo.nl)
  973. # [21:51] * Quits: lilmonkey` (~colin@5ED090B0.cm-7-1c.dynamic.ziggo.nl) (Changing host)
  974. # [21:51] * Joins: lilmonkey` (~colin@pdpc/supporter/professional/riven)
  975. # [21:52] <SamB> IZh: you would think it could at least combine the first two ...
  976. # [21:53] <SamB> well, actually, combining all three redirects into one wouldn't seem all that much to ask ...
  977. # [21:53] * Quits: lilmonkey (~colin@pdpc/supporter/professional/riven) (Ping timeout: 240 seconds)
  978. # [21:54] <IZh> In the spec there are dozen of links that points to redirects of different depth. The 3 is the maximum, but there are lots of 2
  979. # [21:55] * Joins: satazor (~satazor@a213-22-1-7.cpe.netcabo.pt)
  980. # [21:56] * Quits: m4nu (~manu@216.252.204.51) (Ping timeout: 276 seconds)
  981. # [21:57] <Hixie> IZh: i use the link whatwg.org/html because that's the shortest link and so people might remember it.
  982. # [21:57] <Hixie> zcorpan: whatwg.org redirects everything to www.whatwg.org so that all cookies so that there's only one canonical domain
  983. # [21:58] <SamB> I thought there were technically some shorter ones (but which are irrelevant since not actually memorable)
  984. # [21:58] <Hixie> er, s/zcorpan/IZh/
  985. # [21:58] <Hixie> IZh: then .../html does the redirect to .../multipage, since that's what it's a shortcut for
  986. # [21:58] <Hixie> IZh: then apache does the redirect to add the /
  987. # [21:59] <Hixie> IZh: we can't add the / at the third step because otherwise if you went to .../html/ you'd end up at .../multipage//
  988. # [21:59] <SamB> hmm
  989. # [21:59] <SamB> no regexen?
  990. # [22:00] <Hixie> it's even better if you go to .../html#foo because then you get a javascript redirect after all the above...
  991. # [22:00] <IZh> Hixie: yes, I see. But why not shorten the path?
  992. # [22:00] <Hixie> which path?
  993. # [22:00] <IZh> Hixie: I mean, why so deep?
  994. # [22:00] <SamB> oh, you mean just actually have the spec at /html/ ?
  995. # [22:00] <Hixie> oh well there used to be multiple specs and there used to be multiple snapshots
  996. # [22:00] <zcorpan> Hixie: can't you write two rules, /html redirects to multipage/ and /html/ redirects to multipage/ ?
  997. # [22:01] <Hixie> zcorpan: maybe, dunno
  998. # [22:01] <IZh> Why not point html to multipage/ in one step?
  999. # [22:01] * Joins: manu (~manu@216.252.204.51)
  1000. # [22:01] <Hixie> <Hixie> IZh: we can't add the / at the third step because otherwise if you went to .../html/ you'd end up at .../multipage//
  1001. # [22:01] * manu is now known as Guest41481
  1002. # [22:01] <Hixie> zcorpan: btw should i be moving the <img> bugs you filed to HTML - <img>?
  1003. # [22:01] * Quits: llkats (~llkats@h-64-236-138-1.aoltw.net)
  1004. # [22:01] <Hixie> zcorpan: or are they for me later?
  1005. # [22:01] <zcorpan> Hixie: sure
  1006. # [22:01] <Hixie> k
  1007. # [22:02] <zcorpan> Hixie: one <img> is for you
  1008. # [22:02] * Guest41481 is now known as m4nu
  1009. # [22:02] <zcorpan> https://www.w3.org/Bugs/Public/show_bug.cgi?id=25848
  1010. # [22:02] <Hixie> i'm behind on bugs, been working on e-mail
  1011. # [22:03] * Joins: caitp (~caitp@CPE48f8b385c01c-CM602ad06daeed.cpe.net.cable.rogers.com)
  1012. # [22:03] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  1013. # [22:03] <zcorpan> but i think it's ok for you to wait a bit with that bug
  1014. # [22:03] <IZh> Hixie: I think it's possible to make 2 redirects: both html and html/ to multipage/
  1015. # [22:04] <Hixie> yeah that's what zcorpan suggested
  1016. # [22:04] <Hixie> zcorpan: k
  1017. # [22:05] * Quits: IZh (~IZh@0897578511.static.corbina.ru) (Remote host closed the connection)
  1018. # [22:05] <zcorpan> Hixie: if you remember rationale for some of the <img> bugs i filed i'd be happy if you could add a comment
  1019. # [22:06] <Hixie> k
  1020. # [22:06] * Joins: IZh (~Igor_Zhba@0897578511.static.corbina.ru)
  1021. # [22:06] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  1022. # [22:07] * Joins: jeremyj (~jeremyj@17.202.44.231)
  1023. # [22:07] <zcorpan> in other news, i hate moving 7 timezones. it fucks up my sleep
  1024. # [22:08] * Quits: jeremyj (~jeremyj@17.202.44.231) (Client Quit)
  1025. # [22:08] <IZh> Hixie: Good news. Validator that I use did not found any serious errors in the spec. :-)
  1026. # [22:09] <IZh> Hixie: Just some accessibility and some CSS issues.
  1027. # [22:09] * Joins: jeremyj (~jeremyj@17.202.44.231)
  1028. # [22:10] * Quits: Ms2ger (~Ms2ger@212.216-242-81.adsl-dyn.isp.belgacom.be) (Quit: nn)
  1029. # [22:10] <zcorpan> what are the claimed acc issues?
  1030. # [22:12] <IZh> zcorpan: One iframe lacks of "title" attribute.
  1031. # [22:12] <zcorpan> ...
  1032. # [22:14] <zcorpan> gsnedders: have you checked out the Pixel one or whatever it's called?
  1033. # [22:15] <zcorpan> oh, TabAtkins already suggested that
  1034. # [22:19] * Quits: othermaciej (~mjs@17.114.217.202) (Quit: othermaciej)
  1035. # [22:21] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  1036. # [22:25] * Quits: nephyrin (~neph@corp.mtv2.mozilla.com) (Read error: Connection reset by peer)
  1037. # [22:25] <IZh> In the FAQ there are some broken links.
  1038. # [22:25] * Joins: nephyrin (~neph@corp.mtv2.mozilla.com)
  1039. # [22:25] <IZh> In "When will we be able to start using these new features?" there is a link to http://dev.opera.com/articles/html/
  1040. # [22:28] * Quits: nephyrin (~neph@corp.mtv2.mozilla.com) (Read error: Connection reset by peer)
  1041. # [22:28] <IZh> In "What are the various versions of the HTML spec?" there is a broken link to W3C Microdata: http://dev.w3.org/html5/md/
  1042. # [22:28] * Joins: estellevw (~estellewy@209.49.66.106)
  1043. # [22:29] <IZh> And at the same place the link to http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/
  1044. # [22:30] * Quits: zcorpan (~zcorpan@113.199.42.54) (Remote host closed the connection)
  1045. # [22:30] <Hixie> feel free to edit that page
  1046. # [22:30] <Hixie> let me know if you need a login to the wiki
  1047. # [22:31] <IZh> First of all we need alive links there.
  1048. # [22:35] <IZh> Hixie: There are two links for Microdata: http://www.w3.org/TR/microdata/ and http://www.w3.org/html/wg/drafts/microdata/master/ Which one you prefer?
  1049. # [22:35] * Joins: bnicholson (~bnicholso@corp.mtv2.mozilla.com)
  1050. # [22:35] * Joins: mmn (~MattN@192.95.22.58)
  1051. # [22:36] * Joins: othermaciej (~mjs@17.114.3.249)
  1052. # [22:37] <IZh> Latest published or editors draft?
  1053. # [22:38] <Hixie> IZh: i "prefer" http://whatwg.org/html#microdata
  1054. # [22:38] <SamB> IZh: well it was an editor's draft before
  1055. # [22:38] <Hixie> if we're talking about what the url to the w3c fork of it should be, then it should be the one that isn't in /TR/
  1056. # [22:39] <estellevw> I just removed "The disabled attribute is ignored if the value of the type attribute is hidden" from the display attribute on MDN pages. I see that on w3schools, but I didn't see that as "fact" in the spec. Am I wrong? Is disabled is not supported on input type hidden? It doesn't submit in my test, but it's odd to think that a myth somehow got started. Was that ever the case?
  1057. # [22:40] <Hixie> estellevw: see the "bookkeeping details" in http://www.whatwg.org/specs/web-apps/current-work/#hidden-state-(type=hidden)
  1058. # [22:40] <estellevw> was disabled on input type hidden ever ignored, or is it ignored in any browsers that anyone knows of?
  1059. # [22:40] <estellevw> thanks
  1060. # [22:40] <Hixie> oh hm
  1061. # [22:40] <Hixie> looks like "disabled" always applies maybe?
  1062. # [22:40] * Quits: g4 (~g4@unaffiliated/gormer) (Ping timeout: 245 seconds)
  1063. # [22:41] <Hixie> yeah, check http://www.whatwg.org/specs/web-apps/current-work/#attr-fe-disabled
  1064. # [22:41] <Hixie> type=hidden has no relevance to disabled=""
  1065. # [22:41] * Quits: jeremyj (~jeremyj@17.202.44.231) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  1066. # [22:42] <estellevw> yeah, i had read both of those, so decided to remove that sentence from MDN page, but have since seen it mentioned on w3schools and stack overflow, so wanted to confirm
  1067. # [22:43] <estellevw> thanks
  1068. # [22:44] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  1069. # [22:45] <Hixie> w3schools is so full of nonsense it's not worth even considering in any capacity regarding whether something is true or not
  1070. # [22:46] * Joins: nephyrin (~neph@corp.mtv2.mozilla.com)
  1071. # [22:49] <wilhelm> I recently discovered they're five guys, and have a turnover of more than 3M USD. Not too bad for a scam.
  1072. # [22:50] <Hixie> i've been happy to see MDN starting to take over in my google results
  1073. # [22:50] * Hixie is a big fan of MDN
  1074. # [22:50] <estellevw> yeah, that was why i got confused. MDN was wrong. Wasn't sure if W3Schools copied MDN or the other way around
  1075. # [22:51] <Hixie> heh
  1076. # [22:51] * Joins: jeremyj (~jeremyj@17.202.44.231)
  1077. # [22:51] <Hixie> i'm sure w3schools didn't copy mdn
  1078. # [22:51] <Hixie> they probably made it up
  1079. # [22:51] * Joins: a-ja (~Instantbi@70.230.147.189)
  1080. # [22:51] <wilhelm> But MDN doesn't have certifications! How else can I document my skills? http://www.refsnesdata.no/certification/w3certified.asp?id=5204222
  1081. # [22:51] <estellevw> I am currently updating the Wufoo form pages, and that will hopefully be very accurate. I am updating MDN as i find new stuff for the Wufoo page.
  1082. # [22:51] <estellevw> wilhelm: haha
  1083. # [22:52] <tantek> wow, I just don't even: http://www.w3schools.com/cert/default.asp
  1084. # [22:53] <estellevw> no longer haha. now whaaaaa, or however you write a cry. So sad.
  1085. # [22:53] <wilhelm> tantek: Yup, that's how the manager of a five-person company can pay himself 1M USD per year.
  1086. # [22:54] <tantek> from that page: "Highly Recommended / W3Schools' tutorials are recommended reading in over 100 Universities and High schools all over the world." (lists 9 examples of universities)
  1087. # [22:54] <tantek> Ok, so the next time someone asks me about university-based web dev education vs. self-taught web dev hackers, I am going to point them to this. What a disaster.
  1088. # [22:56] <caitp> you laugh, but those kids will be making the snapchats and tinder
  1089. # [22:56] <caitp> of tomorrow
  1090. # [22:56] <tantek> and their citations seem to check out too (checked 3 out of 9), and they link to specific University pages which link to W3schools
  1091. # [22:56] <caitp> and getting rich off it despite not providing anything of any real value
  1092. # [22:57] <tantek> caitp - not as bad as finance industry with making up financial "instruments" which then make money out of nothing
  1093. # [22:57] <IZh> Hixie: Please make me an account on Wiki.
  1094. # [22:57] <tantek> so what this tells me is that W3C should issue certificates instead
  1095. # [22:57] <tantek> as a funding model alternative to membership fees
  1096. # [22:57] <caitp> lets turn the W3C into a for-profit school like devry
  1097. # [22:57] <caitp> it will be brilliant
  1098. # [22:57] <caitp> nothing could go wrong
  1099. # [22:58] * Joins: g4 (~g4@unaffiliated/gormer)
  1100. # [22:58] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  1101. # [22:59] <wilhelm> Here's a selection of gullible people paying money for that scam: https://google.com/search?q=site%3Arefsnesdata.no
  1102. # [22:59] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  1103. # [23:00] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  1104. # [23:00] <caitp> you could even get the w3c its own faculty at university of phoenix
  1105. # [23:01] <Hixie> IZh: e-mail address?
  1106. # [23:01] <IZh> Hixie: izh1979@gmail.com
  1107. # [23:02] <Hixie> don
  1108. # [23:02] <Hixie> done
  1109. # [23:03] <SamB> tantek: you want the W3C to be a CA?
  1110. # [23:03] <IZh> Hixie: Thank you.
  1111. # [23:03] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Client Quit)
  1112. # [23:04] * Quits: satazor (~satazor@a213-22-1-7.cpe.netcabo.pt) (Remote host closed the connection)
  1113. # [23:04] * Quits: Maurice (copyman@5ED57922.cm-7-6b.dynamic.ziggo.nl)
  1114. # [23:05] * Quits: Smylers (~smylers@host86-140-155-113.range86-140.btcentralplus.com) (Ping timeout: 240 seconds)
  1115. # [23:06] * Joins: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com)
  1116. # [23:07] * Joins: satazor (~satazor@a213-22-1-7.cpe.netcabo.pt)
  1117. # [23:07] <IZh> Grr... Even http://www.w3.org/TR/microdata/ contains broken link to latest editor's draft. So there is no known link to it.
  1118. # [23:09] <tantek> lZh don't bother linking to any W3C microdata resources - W3C has abandoned microdata. The *only* reference is WHATWG microdata.
  1119. # [23:09] * Quits: IZh (~Igor_Zhba@0897578511.static.corbina.ru) (Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.26/20140428215944])
  1120. # [23:10] <tantek> (boom)
  1121. # [23:10] <SamB> I can't tell if that's even nice
  1122. # [23:11] * Quits: othermaciej (~mjs@17.114.3.249) (Quit: othermaciej)
  1123. # [23:11] <Hixie> it's what i'd like them to do to all the specs
  1124. # [23:11] <Hixie> (that they fork from us)
  1125. # [23:11] * Quits: zdobersek (~zan@130.185.155.130) (Quit: Leaving.)
  1126. # [23:11] <SamB> well, I mean, is it because they despair of the idea or is it just that they dispair of hijacking the idea
  1127. # [23:11] <SamB> the latter is clearly good
  1128. # [23:11] <Hixie> oh i'm sure they did it because it competes with RDFa
  1129. # [23:12] <Hixie> and since anyone who cares about microdata is just gonna do it in the WHATWG, they no longer had anyone there advocating for it
  1130. # [23:12] <Hixie> so the RDFa voices could get their fork shut down
  1131. # [23:12] <Hixie> speaking of forks, i wonder how the w3c's fork of anne's URL spec that replaces the IETF URL spec is coming along
  1132. # [23:14] * Quits: sicking (~sicking@corp-nat.p2p.sfo1.mozilla.com) (Quit: sicking)
  1133. # [23:17] * Quits: satazor (~satazor@a213-22-1-7.cpe.netcabo.pt)
  1134. # [23:18] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  1135. # [23:18] * Quits: tj_vantoll (~Adium@c-98-250-130-237.hsd1.mi.comcast.net) (Quit: Leaving.)
  1136. # [23:21] * Joins: jensnockert (~jensnocke@dynamic.1.7.34dbfd722180.e0f8471ae7fa.afb.bredband2.com)
  1137. # [23:21] * m4nu wakes up to RDFa/Microdata snarkiness.
  1138. # [23:21] <m4nu> huh, when did Microdata become a NOTE at W3C? Last I heard, it was barreling down the REC track?
  1139. # [23:21] <Hixie> hey, for once, there wasn't actually any snarkiness there :-)
  1140. # [23:22] <m4nu> :P
  1141. # [23:22] <Hixie> i mean, i have barrels of it i could deploy, but i was holding back :-)
  1142. # [23:22] * m4nu appreciates Hixie's restraint.
  1143. # [23:22] * m4nu wonders if he should see if HTML5+RDFa has been NOTE'd as well.
  1144. # [23:23] <m4nu> 'cause I haven't been paying attention to what's been happening in the W3C HTML WG...
  1145. # [23:23] <Hixie> heh
  1146. # [23:23] <Hixie> text/html RDFa is happening in the HTMLWG?
  1147. # [23:23] <Hixie> i thought that was an RDF world thing
  1148. # [23:24] <m4nu> does seem kind of bad form to not point to WHATWG Microdata spec as "Latest Editor's Draft"
  1149. # [23:24] <SamB> indeed
  1150. # [23:24] <Hixie> that's the least of the troubles on that front
  1151. # [23:24] <Hixie> q.v. http://lists.w3.org/Archives/Public/www-archive/2014Apr/0034.html
  1152. # [23:25] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
  1153. # [23:26] * Quits: cheron (~cheron@unaffiliated/cheron) (Ping timeout: 252 seconds)
  1154. # [23:27] * m4nu remembers reading that missive... I remember agreeing w/ about 65% of it.
  1155. # [23:27] * Quits: sankha93 (~sankha93@fsf/emeritus/sankha93) (Remote host closed the connection)
  1156. # [23:28] <Hixie> presumably the consensus parts are in the 35%?
  1157. # [23:28] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  1158. # [23:28] * Quits: Lachy (~Lachy@cm-84.215.104.248.getinternet.no) (Client Quit)
  1159. # [23:29] <m4nu> maybe 20% of it - I'm not a card carrying consensus-is-the-only-way member. Other 15% had to do w/ things like "Tim has the final say." arguments (yes he does, but in practice, doesn't use it)
  1160. # [23:30] * Joins: mven (~textual@169.241.49.229)
  1161. # [23:30] <Hixie> well if he doesn't have the final say, that means the relevant wg's chair does
  1162. # [23:30] * Quits: aiglesias (~aiglesias@147-195-17-190.fibertel.com.ar) (Read error: Connection reset by peer)
  1163. # [23:30] <Hixie> the way the w3c is structured, there's always someone who has the final say.
  1164. # [23:30] <m4nu> in any case, good email, I've been pointing people at it to try and explain why the WHATWG/W3C dynamic isn't a simple one.
  1165. # [23:31] <Hixie> (and that person is rarely the person who truly has the final say, the implementor)
  1166. # [23:31] <m4nu> yeah, but again - I don't think that's a terrible thing to have a tie-breaker... and I agree w/ you wrt. implementors have the final say.
  1167. # [23:32] <m4nu> just think that there needs to be something there to balance the multi-billion dollar multinationals w/ the general public.
  1168. # [23:32] <m4nu> (wrt. privacy rights, centralization, etc.)
  1169. # [23:32] <Hixie> (there's also a less-well-written sequel, if you're pining for me hixie-ranting: http://lists.w3.org/Archives/Public/www-archive/2014Apr/0039.html )
  1170. # [23:32] <m4nu> anyway, don't want to spam this channel w/ all of that stuff...
  1171. # [23:32] * Joins: Lachy (~Lachy@cm-84.215.104.248.getinternet.no)
  1172. # [23:33] <Hixie> it's ok, nobody else is talking right now :-D
  1173. # [23:33] <Hixie> obviously i don't think it's bad for someone to be tie-breaker
  1174. # [23:33] <Hixie> since that's how everything works in the whatwg too :-)
  1175. # [23:33] <Hixie> my point is mainly that the w3c's claimed process -- consensus -- isn't the actual process
  1176. # [23:34] <Hixie> the actual process is more subtle and complicated
  1177. # [23:34] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
  1178. # [23:34] <SamB> m4nu: what would you prefer it be spammed with?
  1179. # [23:35] * Quits: richt_ (~richt@c83-248-137-176.bredband.comhem.se) (Remote host closed the connection)
  1180. # [23:35] <m4nu> cat pictures and discussion about how we're going to fix the Web login mess... and pervasive monitoring.
  1181. # [23:35] * Joins: richt (~richt@c83-248-137-176.bredband.comhem.se)
  1182. # [23:36] <Hixie> 🐱 ?
  1183. # [23:36] <m4nu> \o/ !
  1184. # [23:36] * Hixie wonders if that showed up right for anyone at all
  1185. # [23:36] <m4nu> did for me...
  1186. # [23:36] <Hixie> nice
  1187. # [23:36] <Hixie> what irc client?
  1188. # [23:36] <m4nu> xchat
  1189. # [23:36] <Hixie> wow
  1190. # [23:36] <Hixie> impressive
  1191. # [23:37] * m4nu thinks it has more to do w/ how your font server is configured than anything else.
  1192. # [23:37] <Hixie> ah, could be
  1193. # [23:37] <Hixie> i'm on mac here
  1194. # [23:37] <Hixie> it displayed as a question mark :-)
  1195. # [23:38] <jeffreyatw> it did for me, on colloquy
  1196. # [23:38] <m4nu> Hixie: re: claimed process of consensus - yes, I agree that there are good points to be made that W3C doesn't practice what they preach at times (WHATWG spec forking being an example of that)... and there is a lot of big corporate interest in W3C that makes dumb stuff happen sometimes, and perhaps we'd be better off if that was tamped down a bit.
  1197. # [23:40] <m4nu> anyway - bottom line - it's good that both the WHATWG and W3C exist and do what they do, even though it's a pain in all of our collective asses for a non-trivial chunk of the year.
  1198. # [23:40] * Quits: richt (~richt@c83-248-137-176.bredband.comhem.se) (Read error: Connection reset by peer)
  1199. # [23:40] * m4nu afks.
  1200. # [23:40] * Joins: richt (~richt@c83-248-137-176.bredband.comhem.se)
  1201. # [23:40] <SamB> m4nu: which chunk of the year is it non-painful for?
  1202. # [23:42] <Hixie> vacation?
  1203. # [23:42] <Hixie> there's lots of specs being developed at the w3c that are fine
  1204. # [23:42] <Hixie> it's just the way they insist on forking our specs that i find asinine
  1205. # [23:44] * Krinkle is now known as Krinkle|detached
  1206. # [23:45] * Quits: mven (~textual@169.241.49.229) (Read error: Connection reset by peer)
  1207. # [23:48] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
  1208. # [23:51] * Joins: markkes (~markkes@62.207.90.201)
  1209. # Session Close: Thu May 22 00:00:00 2014

The end :)