jdev - 2020-02-21


  1. Neustradamus has left

  2. Neustradamus has joined

  3. debacle has left

  4. moparisthebest has left

  5. moparisthebest has joined

  6. moparisthebest has left

  7. moparisthebest has joined

  8. moparisthebest has left

  9. moparisthebest has joined

  10. foxetail has joined

  11. paul has joined

  12. Zash has joined

  13. pulkomandy has left

  14. pulkomandy has joined

  15. aj has joined

  16. aj has left

  17. asterix has joined

  18. pulkomandy has left

  19. pulkomandy has joined

  20. sonny has left

  21. sonny has joined

  22. moparisthebest has left

  23. moparisthebest has joined

  24. asterix has left

  25. asterix has joined

  26. Marc has joined

  27. asterix has left

  28. asterix has joined

  29. asterix has left

  30. asterix has joined

  31. asterix has left

  32. asterix has joined

  33. asterix has left

  34. asterix has joined

  35. debacle has joined

  36. pulkomandy has left

  37. pulkomandy has joined

  38. debacle has left

  39. asterix has left

  40. asterix has joined

  41. asterix has left

  42. asterix has joined

  43. asterix has left

  44. asterix has joined

  45. pulkomandy has left

  46. pulkomandy has joined

  47. goffi has joined

  48. tsk has left

  49. tsk has joined

  50. debacle has joined

  51. pulkomandy has left

  52. wawa has joined

  53. wawa

    hi all.

  54. pulkomandy has joined

  55. wawa has left

  56. allie has left

  57. allie has joined

  58. asterix has left

  59. asterix has joined

  60. asterix has left

  61. asterix has joined

  62. asterix has left

  63. asterix has joined

  64. pulkomandy has left

  65. pulkomandy has joined

  66. asterix has left

  67. asterix has joined

  68. asterix has left

  69. asterix has joined

  70. kikuchiyo has left

  71. asterix has left

  72. asterix has joined

  73. asterix has left

  74. asterix has joined

  75. pulkomandy has left

  76. pulkomandy has joined

  77. kikuchiyo has joined

  78. asterix has left

  79. asterix has joined

  80. asterix has left

  81. asterix has joined

  82. pulkomandy has left

  83. pulkomandy has joined

  84. kikuchiyo has left

  85. kikuchiyo has joined

  86. Marc has left

  87. Marc has joined

  88. Mike has joined

  89. kikuchiyo has left

  90. kikuchiyo has joined

  91. pulkomandy has left

  92. pulkomandy has joined

  93. SouL has left

  94. SouL has joined

  95. pulkomandy has left

  96. pulkomandy has joined

  97. pulkomandy has left

  98. lovetox has joined

  99. pulkomandy has joined

  100. pulkomandy has left

  101. pulkomandy has joined

  102. allie has left

  103. allie has joined

  104. pulkomandy has left

  105. pulkomandy has joined

  106. asterix has left

  107. pulkomandy has left

  108. pulkomandy has joined

  109. lovetox has left

  110. lovetox has joined

  111. Mike has left

  112. pulkomandy has left

  113. pulkomandy has joined

  114. pulkomandy has left

  115. pulkomandy has joined

  116. lovetox has left

  117. Sam Whited

    Is there a fancy XML term for "all the children of an element?" I keep thinking of writing "the body of the stanza will be …" but I feel like body is a loaded term because it's an actual element in messages

  118. MattJ

    innerHTML

  119. MattJ

    (you're welcome)

  120. Guus

    child elements?

  121. Guus

    child nodes?

  122. Guus

    decendants?

  123. Sam Whited

    I should have seen innerHTML coming; innerXML maybe? Decendants might be a good word, thanks. I don't know why, but writing "all the child elements of the stanza" sounded weird

  124. MattJ

    "the contents of the stanza will be"?

  125. Zash

    There's also "payloads"

  126. Sam Whited

    Actually, I don't know why I didn't think of that, payloads is what I was using elsewhere so I should probably apply it here too for consistency

  127. Sam Whited

    I'm still having the hardest time figuring out a nice way to write handlers for vairous stanza types; for IQ elements the handler takes a representation of the IQ which can be used to get attributes on it, reply to it, etc. and then the token stream of the payload and the start token that triggered the handler so you can do whatever you do to decode the payload into a struct, or just pop tokens and use it as is, etc.

  128. debacle has left

  129. pulkomandy has left

  130. jonas’

    Sam Whited, descendants are also the term used by XPath et al

  131. jonas’

    though I think it’s recursive and doesn’t only apply to direct children

  132. jonas’

    so children should work

  133. Sam Whited

    For message and presence though where there might be multiple payloads that depend on eachother (eg. if you trigger on "messages with a body" you probably also want to know if it has a no-copy hint or something) you end up having to provide the entire token stream of the message including the message start element (which feels inconsistent from the IQ handlers)

  134. Sam Whited

    Yah, the term is just weird because providing children or decendents sounds like I'm providing some representation of the entire element, where really I'm just providing a way to stream XML tokens

  135. Sam Whited

    But I'm probably just overthinking this

  136. pulkomandy has joined

  137. kikuchiyo has left

  138. kikuchiyo has joined

  139. kikuchiyo has left

  140. Sam Whited has left

  141. Sam Whited has joined

  142. sonny has left

  143. sonny has joined

  144. kikuchiyo has joined

  145. Marc has left

  146. kikuchiyo has left

  147. Marc has joined

  148. pulkomandy has left

  149. pulkomandy has joined

  150. kikuchiyo has joined

  151. pulkomandy has left

  152. pulkomandy has joined

  153. larma has left

  154. larma has joined

  155. pulkomandy has left

  156. pulkomandy has joined

  157. Guus has left

  158. Guus has joined

  159. asterix has joined

  160. asterix has left

  161. asterix has joined

  162. asterix has left

  163. asterix has joined

  164. debacle has joined

  165. asterix has left

  166. pulkomandy has left

  167. pulkomandy has joined

  168. pulkomandy has left

  169. pulkomandy has joined

  170. pulkomandy has left

  171. pulkomandy has joined

  172. goffi has left

  173. pulkomandy has left

  174. pulkomandy has joined

  175. paul has left

  176. marc0s has left