jdev - 2020-08-18


  1. Lance has left

  2. kikuchiyo has left

  3. Beherit has left

  4. Beherit has joined

  5. Lance has joined

  6. Lance has left

  7. kikuchiyo has joined

  8. jkp.it.jkp has joined

  9. larma has left

  10. mac has joined

  11. jkp.it.jkp has left

  12. test2 has left

  13. Lance has joined

  14. larma has joined

  15. Beherit has left

  16. Beherit has joined

  17. Lance has left

  18. kikuchiyo has left

  19. kikuchiyo has joined

  20. Wojtek has left

  21. Wojtek has joined

  22. Yagizа has joined

  23. Wojtek has left

  24. Vaulor has joined

  25. adiaholic_ has joined

  26. Lance has joined

  27. Lance has left

  28. adiaholic_ has left

  29. adiaholic_ has joined

  30. mac has left

  31. SouL has joined

  32. DebXWoody has joined

  33. waqas has joined

  34. Vaulor has left

  35. Lance has joined

  36. adiaholic_ has left

  37. adiaholic_ has joined

  38. lovetox has joined

  39. Lance has left

  40. Beherit has left

  41. Beherit has joined

  42. mac has joined

  43. adiaholic_ has left

  44. adiaholic_ has joined

  45. Beherit has left

  46. lovetox has left

  47. kikuchiyo has left

  48. paul has joined

  49. kikuchiyo has joined

  50. Beherit has joined

  51. lovetox has joined

  52. marc0s has joined

  53. kikuchiyo has left

  54. Vaulor has joined

  55. lovetox has left

  56. paul has left

  57. paul has joined

  58. adiaholic_ has left

  59. adiaholic_ has joined

  60. Lance has joined

  61. kikuchiyo has joined

  62. Lance has left

  63. Zash has left

  64. Zash has joined

  65. debacle has joined

  66. adiaholic_ has left

  67. adiaholic_ has joined

  68. sonny has left

  69. sonny has joined

  70. mac has left

  71. paul has left

  72. floretta has left

  73. Vaulor has left

  74. SouL has left

  75. Vaulor has joined

  76. floretta has joined

  77. Lance has joined

  78. SouL has joined

  79. Lance has left

  80. adiaholic_ has left

  81. adiaholic_ has joined

  82. test2 has joined

  83. test2 has left

  84. test2 has joined

  85. paul has joined

  86. adiaholic_ has left

  87. adiaholic_ has joined

  88. jonnj has left

  89. test2 has left

  90. debacle has left

  91. pulkomandy has left

  92. pulkomandy has joined

  93. pulkomandy has left

  94. pulkomandy has joined

  95. debacle has joined

  96. Lance has joined

  97. Lance has left

  98. jonnj has joined

  99. adiaholic_ has left

  100. adiaholic_ has joined

  101. Vaulor has left

  102. Vaulor has joined

  103. edhelas

    do you guys have some script to cleanup old presences in your clients ?

  104. jonas’

    what does that mean?

  105. edhelas

    or is there some rule that exists to explain that

  106. jonas’

    what are old presences?

  107. edhelas

    what is happening if you have a client that receives a presence and nothing else for days but stays connected

  108. jonas’

    nothing?

  109. edhelas

    nothing else from the other jid

  110. edhelas

    let me rephrase that

  111. jonas’

    why is that a problem?

  112. edhelas

    well after 5 days you can maybe think that somehow those presences are not valid anymore

  113. jonas’

    how could that be?

  114. edhelas

    well, regarding by your questions I have a feeling that it's not a problem :p

  115. Ge0rG

    edhelas: it's only a problem if you have significant loss on your s2s links

  116. Holger

    It may well be a 24/7 (mobile/terminal/whatever) client that manages to keep the session alive, of course. But yes it may also be borked s2s. Who cares about presence anyway :-)

  117. jonas’

    edhelas, as a client, you can’t do a lot, except cycling your session :)

  118. Ge0rG

    I care about presents!

  119. jonas’

    a server can send type="probe" presence stanzas to refresh

  120. edhelas

    i'm just seing some old presences in the movim db after a few days, and i was wondering that, might be a bug

  121. Ge0rG

    I'm logged into my server for 9 days now

  122. Ge0rG

    which coincidentally is the uptime of the server

  123. edhelas

    this causes issues with https://xmpp.org/extensions/xep-0319.html

  124. Zash

    Related https://issues.prosody.im/904

  125. Zash

    jonas’: But then you likely get only the new presence. Stale presence where the unavailable got lost would not get an unavailable unless you count one for the entire account.

  126. Zash

    I'm not so sure about 319. I've seen almost flood amounts of presence where 319 is the only diff.

  127. jonas’

    Zash, huh?

  128. jonas’

    type="probe" SHOULD be answered with unavailable if the peer is offline

  129. jonas’

    and an unavailable from the bare JID should count for all resources, in general, shouldn’t it?

  130. pulkomandy has left

  131. pulkomandy has joined

  132. Beherit has left

  133. Zash

    Yes

  134. Zash

    But if you have another resource online

  135. jonas’

    ahhh

  136. Zash

    One that is different from what you think is online

  137. jonas’

    and there is no "end" marker...

  138. Zash

    That's where it gets tricky and you'll need some smart tracking / caching magic

  139. jonas’

    yeah

  140. Lance has joined

  141. jonas’

    I can come up with some, you can probably too.

  142. Zash

    Sure.

  143. Zash

    Doesn't strike me as an urgent enough problem tho, not when it'll have a memory cost.

  144. Beherit has joined

  145. waqas has left

  146. eta

    wait clients can't send probes?

  147. jonas’

    nope

  148. jonas’

    https://tools.ietf.org/html/rfc6121#section-4.3

  149. Lance has left

  150. jonas’

    Presence probes SHOULD NOT be sent by a client, because in general a client will not need to send them since the task of gathering presence from a user's contacts is managed by the user's server. However, if a user's client generates an outbound presence probe then the user's server SHOULD route the probe (if the contact is at another server) or process the probe (if the contact is at the same server) and MUST NOT use its receipt of the presence probe from a connected client as the sole cause for returning a stanza or stream error to the client.

  151. jonas’

    well clients SHOULD NOT send probes

  152. eta

    so you can!

  153. eta

    I thought Dino did

  154. jonas’

    why would you tho

  155. eta

    iunno

  156. Zash

    Perhaps of interest / relevance: https://xmpp.org/extensions/xep-0310.html

  157. Beherit has left

  158. Zash

    Tho still needs server-side caching/tracking of remote presence

  159. Beherit has joined

  160. floretta has left

  161. floretta has joined

  162. test2 has joined

  163. lovetox has joined

  164. kikuchiyo has left

  165. pulkomandy has left

  166. pulkomandy has joined

  167. lovetox has left

  168. pulkomandy has left

  169. pulkomandy has joined

  170. Zash has left

  171. Zash has joined

  172. kikuchiyo has joined

  173. kikuchiyo has left

  174. kikuchiyo has joined

  175. paul has left

  176. paul has joined

  177. kikuchiyo has left

  178. kikuchiyo has joined

  179. kikuchiyo has left

  180. kikuchiyo has joined

  181. kikuchiyo has left

  182. kikuchiyo has joined

  183. kikuchiyo has left

  184. kikuchiyo has joined

  185. kikuchiyo has left

  186. Lance has joined

  187. kikuchiyo has joined

  188. kikuchiyo has left

  189. kikuchiyo has joined

  190. kikuchiyo has left

  191. kikuchiyo has joined

  192. kikuchiyo has left

  193. kikuchiyo has joined

  194. Zash

    Altho, synthesizing an annotated unavailable bare-jid presence on (detected) s2s failure could work, and then you queue probes for when s2s comes back.

  195. kikuchiyo has left

  196. kikuchiyo has joined

  197. kikuchiyo has left

  198. kikuchiyo has joined

  199. Lance has left

  200. mac has joined

  201. Lance has joined

  202. mac has left

  203. Lance has left

  204. DebXWoody has left

  205. DebXWoody has joined

  206. DebXWoody has left

  207. Lance has joined

  208. adrien has left

  209. DebXWoody has joined

  210. adrien has joined

  211. test2 has left

  212. Lance has left

  213. test2 has joined

  214. Lance has joined

  215. Wojtek has joined

  216. waqas has joined

  217. kikuchiyo has left

  218. adiaholic_ has left

  219. adiaholic_ has joined

  220. kikuchiyo has joined

  221. kikuchiyo has left

  222. waqas has left

  223. sonny has left

  224. sonny has joined

  225. kikuchiyo has joined

  226. kikuchiyo has left

  227. kikuchiyo has joined

  228. kikuchiyo has left

  229. kikuchiyo has joined

  230. kikuchiyo has left

  231. sonny has left

  232. sonny has joined

  233. sonny has left

  234. sonny has joined

  235. kikuchiyo has joined

  236. kikuchiyo has left

  237. adrien has left

  238. test2 has left

  239. kikuchiyo has joined

  240. kikuchiyo has left

  241. adrien has joined

  242. lovetox has joined

  243. kikuchiyo has joined

  244. kikuchiyo has left

  245. lovetox

    there are cases when you want to presence probe

  246. lovetox

    although not very relevant ones

  247. lovetox

    for example if you use privacy lists

  248. lovetox

    when you remove some blocking presence rule, then you have to presence probe

  249. lovetox

    i dont think a server does that for you

  250. lovetox

    it does though in blocking command xep which is nice

  251. kikuchiyo has joined

  252. kikuchiyo has left

  253. jonnj has left

  254. lovetox has left

  255. kikuchiyo has joined

  256. kikuchiyo has left

  257. kikuchiyo has joined

  258. kikuchiyo has left

  259. goffi has joined

  260. debacle has left

  261. Syndace has left

  262. Syndace has joined

  263. eta has left

  264. eta has joined

  265. adiaholic_ has left

  266. debacle has joined

  267. lovetox has joined

  268. DebXWoody has left

  269. kikuchiyo has joined

  270. kikuchiyo has left

  271. kikuchiyo has joined

  272. kikuchiyo has left

  273. sonny has left

  274. kikuchiyo has joined

  275. sonny has joined

  276. kikuchiyo has left

  277. lovetox has left

  278. mac has joined

  279. goffi has left

  280. Vaulor has left

  281. test2 has joined

  282. kikuchiyo has joined

  283. kikuchiyo has left

  284. marc0s has left

  285. waqas has joined

  286. marc0s has joined

  287. kikuchiyo has joined

  288. test2 has left

  289. kikuchiyo has left

  290. waqas has left

  291. mac has left

  292. mac has joined

  293. jonnj has joined

  294. test2 has joined

  295. waqas has joined

  296. test2 has left

  297. Vaulor has joined

  298. Lance has left

  299. Lance has joined

  300. kikuchiyo has joined

  301. test2 has joined

  302. mac has left

  303. test2 has left

  304. test2 has joined

  305. mac has joined

  306. mac has left

  307. Beherit has left

  308. Beherit has joined

  309. test2 has left

  310. test2 has joined

  311. SouL has left

  312. waqas has left

  313. Lance has left

  314. sonny has left

  315. test2 has left

  316. paul has left

  317. Wojtek has left

  318. debacle has left