/irc-logs / w3c / #testing / 2013-10-30 / end

Options:

  1. # Session Start: Wed Oct 30 00:00:00 2013
  2. # Session Ident: #testing
  3. # [00:15] * heycam|away is now known as heycam
  4. # [00:49] * heycam is now known as heycam|away
  5. # [01:14] * Quits: tobie (tobie@public.cloak)
  6. # [01:24] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  7. # [01:24] * Joins: rhauck (~Adium@public.cloak)
  8. # [01:31] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
  9. # [04:01] * heycam|away is now known as heycam
  10. # [04:49] * Joins: denis (denis@public.cloak)
  11. # [05:09] * heycam is now known as heycam|away
  12. # [05:35] * heycam|away is now known as heycam
  13. # [05:48] * heycam is now known as heycam|away
  14. # [06:02] * heycam|away is now known as heycam
  15. # [06:52] * heycam is now known as heycam|away
  16. # [08:13] * Joins: Ms2ger (~Ms2ger@public.cloak)
  17. # [08:29] * Joins: tobie (tobie@public.cloak)
  18. # [08:31] * Quits: tobie (tobie@public.cloak)
  19. # [08:31] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  20. # [08:48] * Joins: zcorpan (~zcorpan@public.cloak)
  21. # [08:58] * Joins: darobin (rberjon@public.cloak)
  22. # [09:46] <darobin> + def boolean(arg):
  23. # [09:46] <darobin> + if arg.lower() in ("true", "1"):
  24. # [09:46] <darobin> + return True
  25. # [09:46] <darobin> + elif arg.lower in ("false", "0"):
  26. # [09:46] <darobin> + return False
  27. # [09:46] <darobin> jgraham: ^^
  28. # [09:46] <darobin> is it lower or lower() ?
  29. # [09:53] <jgraham> darobin: Good catch
  30. # [09:53] <jgraham> It's lower()
  31. # [09:53] <darobin> jgraham: I filed it in critic actually
  32. # [09:54] <jgraham> Yeah, I just saw
  33. # [09:55] <jgraham> darobin: http://krijnhoetmer.nl/irc-logs/testing/20131029#l-188 and following
  34. # [09:56] <darobin> mmmmmm
  35. # [09:56] <darobin> mm
  36. # [09:57] <darobin> actually I hadn't noticed that it was (a)
  37. # [09:57] <darobin> it may be that (a) is okay
  38. # [09:57] <darobin> I mean, if you want a proper HEAD, you can already get it
  39. # [09:57] <darobin> and if you want a broken head, then you can script it
  40. # [10:03] * Joins: Lachy (~Lachy@public.cloak)
  41. # [10:04] * Joins: michou (~Adium@public.cloak)
  42. # [10:17] <jgraham> darobin: OK, well maybe I can make it a bit more explicit by adding response.skip_body_for_head_request which defaults to True. Then you wouldn't have to go all the way down to the low-level API for this use case.
  43. # [11:02] * Joins: tobie (tobie@public.cloak)
  44. # [11:05] <darobin> jgraham: I reckon that makes sense indeed
  45. # [11:17] * Joins: gitbot (~gitbot@public.cloak)
  46. # [11:17] -gitbot:#testing- [web-platform-tests] Ms2ger closed pull request #394: Update window-properties.html to current WebIDL. (master...window-own-properties) https://github.com/w3c/web-platform-tests/pull/394
  47. # [11:17] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  48. # [11:25] * Joins: abarsto (~abarsto@public.cloak)
  49. # [11:25] * abarsto is now known as ArtB
  50. # [11:26] * Quits: denis (denis@public.cloak) ("Bye")
  51. # [11:27] * Joins: denis (denis@public.cloak)
  52. # [11:58] <jgraham> Bah, turns out that python's httplib refuses to expose the content of a body (not unreasonably since the spec requires the Content-Length header to be a lie), so I can't really test that the body is actually sent
  53. # [12:41] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  54. # [12:47] <jgraham> darobin: That turned out to be harder than I expected ;)
  55. # [12:47] <jgraham> Anyway, fix pushed
  56. # [13:00] * Joins: plh (plehegar@public.cloak)
  57. # [13:12] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  58. # [13:25] * Quits: Lachy (~Lachy@public.cloak) ("Textual IRC Client: www.textualapp.com")
  59. # [13:25] * Joins: Lachy (~Lachy@public.cloak)
  60. # [13:33] * Quits: AutomatedTester (~AutomatedTester@public.cloak) (Client closed connection)
  61. # [13:36] <darobin> jgraham: coo'!
  62. # [13:46] * Joins: Ms2ger (~Ms2ger@public.cloak)
  63. # [13:55] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  64. # [14:15] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  65. # [14:26] * Joins: Ms2ger (~Ms2ger@public.cloak)
  66. # [14:35] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
  67. # [14:35] * Joins: mdas (~mdas@public.cloak)
  68. # [14:42] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
  69. # [15:06] * Quits: scott_gonzalez (~scott_gonzalez@public.cloak) (scott_gonzalez)
  70. # [15:36] * Quits: tobie (tobie@public.cloak)
  71. # [15:56] * Joins: scott_gonzalez (~scott_gonzalez@public.cloak)
  72. # [15:58] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  73. # [15:58] * Joins: rhauck (~Adium@public.cloak)
  74. # [16:09] * Quits: denis (denis@public.cloak) (Ping timeout: 180 seconds)
  75. # [16:10] * Joins: rhauck1 (~Adium@public.cloak)
  76. # [16:14] * Quits: scott_gonzalez (~scott_gonzalez@public.cloak) (scott_gonzalez)
  77. # [16:15] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
  78. # [16:16] * Joins: mdas (~mdas@public.cloak)
  79. # [16:19] * Quits: gsnedders (~gsnedders@public.cloak) (Ping timeout: 180 seconds)
  80. # [16:19] * Joins: denis (denis@public.cloak)
  81. # [16:24] * Joins: gsnedders (~gsnedders@public.cloak)
  82. # [16:28] * Joins: zcorpan (~zcorpan@public.cloak)
  83. # [16:31] * Joins: gsnedder1 (~gsnedders@public.cloak)
  84. # [16:31] * Quits: gsnedders (~gsnedders@public.cloak) (Ping timeout: 180 seconds)
  85. # [16:31] * gsnedder1 is now known as gsnedders
  86. # [16:36] * Joins: rhauck (~Adium@public.cloak)
  87. # [16:36] * Quits: rhauck1 (~Adium@public.cloak) (Client closed connection)
  88. # [17:03] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  89. # [17:03] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  90. # [17:14] <MikeSmith> I wonder who jshentux is
  91. # [17:19] <MikeSmith> why does !null evaluate to true?
  92. # [17:22] <MikeSmith> ah
  93. # [17:22] <MikeSmith> null is falsy
  94. # [17:23] <darobin> yeah
  95. # [17:24] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  96. # [17:29] <MikeSmith> darobin: so now I'm wondering why https://github.com/w3c/testharness.js/pull/48 uses return Boolean(!any && typeof(any) != "undefined" && any != 0 && any != "") to check for null
  97. # [17:30] <MikeSmith> instead of simply doing function is_null(any) { return Boolean(any === null) }
  98. # [17:30] <MikeSmith> https://github.com/jshentux/testharness.js/commit/34d837efd1f0342735e5b5be0c4446fc0aeabc5b
  99. # [17:31] <darobin> whoa
  100. # [17:31] <MikeSmith> https://github.com/jshentux/testharness.js/commit/34d837efd1f0342735e5b5be0c4446fc0aeabc5b#diff-7b320c5cb62f47cd637f66dec13d7ab3R671
  101. # [17:31] <darobin> that's all crazy code
  102. # [17:31] <MikeSmith> ok
  103. # [17:32] <MikeSmith> I thought it was just my lack of familiarity with JS quirks
  104. # [17:32] <darobin> no, it's not
  105. # [17:32] <darobin> the author seems to be a Java developer
  106. # [17:32] <MikeSmith> good :)
  107. # [17:32] <MikeSmith> ah
  108. # [17:32] <MikeSmith> that's not good :)
  109. # [17:32] <darobin> the way to test for null is this: function is_null (any) { return any === null }
  110. # [17:33] <MikeSmith> Java developers writing JS code
  111. # [17:33] <MikeSmith> ok
  112. # [17:33] <darobin> even by Java standards casting to Boolean the return value of a boolean operation may be stretching it
  113. # [17:34] <MikeSmith> I had also thought he must be doing that for some good reason
  114. # [17:35] <MikeSmith> but I can see I should just trust my first reaction
  115. # [17:35] <MikeSmith> of, WTF
  116. # [17:36] <darobin> well, yeah, my first assumption is always that the coder must know something I don't
  117. # [17:37] <darobin> but then I saw code equivalent to if (function_that_always_returns_boolean() === true) and I knew
  118. # [17:37] <darobin> I maked a review on the github
  119. # [17:38] <darobin> ah, thank you GitHub for emailing me my own comments — I know, they're so good I really wanted to read them again
  120. # [17:38] <MikeSmith> heh
  121. # [17:38] <MikeSmith> the github will save us!
  122. # [17:41] <MikeSmith> I am disenheartened by the discussions about let's use github's (mickey-mouse) issue tracker for bug-tracking instead of bugzilla
  123. # [17:43] <MikeSmith> because.. why? it makes things easier for people who want to live completely inside github?
  124. # [17:44] <MikeSmith> and also, let's use markdown for everything! instead of HTML
  125. # [17:46] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  126. # [17:47] <MikeSmith> because HTML is .. too hard? too complicated?
  127. # [17:47] <MikeSmith> anyway
  128. # [17:47] <darobin> there's a discussion about that?
  129. # [17:48] * Joins: dom (dom@public.cloak)
  130. # [17:48] <darobin> for most projects I'd be happier using GH's bug tracker, for one it's a lot less slow than Bz
  131. # [17:48] <darobin> but for something a little bit complex, with workflow and all, Bz's better
  132. # [17:48] <darobin> Oh, and Markdown should die a horrible death
  133. # [17:49] <MikeSmith> Domenic seems to like Markdown
  134. # [17:50] <darobin> so do many other people who seemed sane at first
  135. # [17:50] <darobin> say tobie, or marcos
  136. # [17:51] <darobin> it's just a nice name for "horrendous, non-interoperable, hard-to-remember, sub-HTML wikitext"
  137. # [17:52] <darobin> recall Berjon's Law: "Every wiki syntax evolves to the point where it reaches HTML's power and complexity — except much, much uglier"
  138. # [17:54] <MikeSmith> and the Serial spec that Marcos created, on of the first comments was, basically, Y U No used markdown!!??
  139. # [17:54] <MikeSmith> darobin: amen
  140. # [17:55] <MikeSmith> and while it is true that bugzilla sucks, it sucks less
  141. # [17:56] <MikeSmith> and it's familiar to people who, you know, have ever in their lives filed a browser bug
  142. # [17:56] <darobin> yeah, that's true for sure
  143. # [17:56] <darobin> I saw the serial thing, thankfully ReSpec supports MD natively
  144. # [17:56] <darobin> tobie added support for it
  145. # [17:56] <darobin> it's dog slow compared to HTML rendering, but the kids who love it are all over it
  146. # [17:57] * Joins: rhauck (~Adium@public.cloak)
  147. # [18:04] <MikeSmith> I think making things more convenient for the peanut gallery is not such a prudent thing to do
  148. # [18:05] <MikeSmith> as far as keeping the signal-to-noise ratio right
  149. # [18:07] <MikeSmith> there's this kind of dogmatic cult-like groupthink side of the GH community that's not super appealing
  150. # [18:09] <MikeSmith> and it's ironic because that's kind of what the GH fanboys accuse the old-schoolers of
  151. # [18:15] <darobin> yeah, for sure
  152. # [18:16] <darobin> but I do like GH issues for simple projects
  153. # [18:18] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  154. # [18:20] <MikeSmith> yeah, the right too for the right job and all that
  155. # [18:21] <MikeSmith> there's no sense at all in using a separate bugzilla instance for most GH projects
  156. # [18:23] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  157. # [18:34] * Quits: MikeSmith (~MikeSmith@public.cloak) (Ping timeout: 180 seconds)
  158. # [18:40] * Joins: abarsto (~abarsto@public.cloak)
  159. # [18:40] * abarsto is now known as ArtB
  160. # [18:53] * Quits: michou (~Adium@public.cloak) ("Leaving.")
  161. # [18:57] * Joins: MikeSmith (~MikeSmith@public.cloak)
  162. # [18:58] * Quits: MikeSmith (~MikeSmith@public.cloak) ("leaving")
  163. # [19:02] * Joins: Lachy (~Lachy@public.cloak)
  164. # [19:18] * Joins: MikeSmith (~MikeSmith@public.cloak)
  165. # [19:23] * Quits: MikeSmith (~MikeSmith@public.cloak) ("leaving")
  166. # [19:25] * Quits: dom (dom@public.cloak) ("")
  167. # [19:32] * Quits: denis (denis@public.cloak) ("Bye")
  168. # [19:32] * Joins: tobie (tobie@public.cloak)
  169. # [19:39] * Joins: MikeSmith (~MikeSmith@public.cloak)
  170. # [19:40] * Quits: MikeSmith (~MikeSmith@public.cloak) ("leaving")
  171. # [19:40] * Joins: MikeSmith (~MikeSmith@public.cloak)
  172. # [19:44] * Joins: zcorpan (~zcorpan@public.cloak)
  173. # [19:45] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  174. # [19:45] * Joins: zcorpan (~zcorpan@public.cloak)
  175. # [20:04] * Quits: tobie (tobie@public.cloak)
  176. # [20:10] * Joins: Ms2ger (~Ms2ger@public.cloak)
  177. # [20:13] * Joins: MikeSmit1 (~MikeSmith@public.cloak)
  178. # [20:13] * Quits: MikeSmith (~MikeSmith@public.cloak) (Client closed connection)
  179. # [20:24] * Joins: tobie (tobie@public.cloak)
  180. # [20:32] * Quits: tobie (tobie@public.cloak)
  181. # [21:20] * Quits: Lachy (~Lachy@public.cloak) ("Textual IRC Client: www.textualapp.com")
  182. # [21:52] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
  183. # [21:52] * Joins: mdas (~mdas@public.cloak)
  184. # [21:55] * Joins: mdas_ (~mdas@public.cloak)
  185. # [21:55] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
  186. # [21:56] * Quits: mdas_ (~mdas@public.cloak) (Client closed connection)
  187. # [21:56] * Joins: mdas (~mdas@public.cloak)
  188. # [21:58] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
  189. # [22:03] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
  190. # [22:45] * heycam|away is now known as heycam
  191. # [22:47] * Joins: tobie (tobie@public.cloak)
  192. # [23:27] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  193. # [23:27] * Joins: rhauck (~Adium@public.cloak)
  194. # [23:30] * Joins: rhauck1 (~Adium@public.cloak)
  195. # [23:31] * Quits: rhauck (~Adium@public.cloak) (Client closed connection)
  196. # Session Close: Thu Oct 31 00:00:00 2013

The end :)