XSF Discussion - 2021-01-09


  1. Andrzej has left

  2. deuill has joined

  3. papatutuwawa has left

  4. chronosx88 has left

  5. andy has left

  6. Seve has left

  7. wurstsalat has left

  8. arc has left

  9. arc has joined

  10. arc has left

  11. arc has joined

  12. debacle has left

  13. govanify has left

  14. govanify has joined

  15. paul has left

  16. marek has left

  17. marek has joined

  18. emus has left

  19. arc has left

  20. arc has joined

  21. LNJ has left

  22. lionelexecrec has left

  23. lionelexecrec has joined

  24. lionelexecrec has left

  25. lionelexecrec has joined

  26. Andrzej has joined

  27. marek has left

  28. marek has joined

  29. murabito has left

  30. j.r has left

  31. murabito has joined

  32. j.r has joined

  33. sonny has left

  34. sonny has joined

  35. gav has left

  36. lskdjf has left

  37. focus121 has left

  38. focus121 has joined

  39. Andrzej has left

  40. Neustradamus has left

  41. Neustradamus has joined

  42. eevvoor has left

  43. eevvoor has joined

  44. winfried has left

  45. winfried has joined

  46. winfried has left

  47. winfried has joined

  48. jcbrand has left

  49. sonny has left

  50. sonny has joined

  51. Andrzej has joined

  52. sonny has left

  53. wladmis has joined

  54. sonny has joined

  55. Seve has joined

  56. sonny has left

  57. sonny has joined

  58. Andrzej has left

  59. neshtaxmpp has left

  60. neshtaxmpp has joined

  61. sonny has left

  62. sonny has joined

  63. sonny has left

  64. sonny has joined

  65. Mikaela has joined

  66. govanify has left

  67. govanify has joined

  68. alameyo has left

  69. arc has left

  70. arc has joined

  71. marek has left

  72. marek has joined

  73. wladmis has left

  74. lionelexecrec has left

  75. lionelexecrec has joined

  76. murabito has left

  77. murabito has joined

  78. Mikaela has left

  79. arc has left

  80. wladmis has joined

  81. Seve has left

  82. lionelexecrec has left

  83. lionelexecrec has joined

  84. lionelexecrec has left

  85. Andrzej has joined

  86. sonny has left

  87. sonny has joined

  88. govanify has left

  89. govanify has joined

  90. Andrzej has left

  91. Mikaela has joined

  92. murabito has left

  93. murabito has joined

  94. Seve has joined

  95. jcbrand has joined

  96. marek has left

  97. marek has joined

  98. alameyo has joined

  99. paul has joined

  100. murabito has left

  101. murabito has joined

  102. murabito has left

  103. intosi has left

  104. Andrzej has joined

  105. alex-a-soto has left

  106. alex-a-soto has joined

  107. intosi has joined

  108. chronosx88 has joined

  109. lorddavidiii has joined

  110. Andrzej has left

  111. govanify has left

  112. govanify has joined

  113. govanify has left

  114. govanify has joined

  115. sonny has left

  116. sonny has joined

  117. Adi has left

  118. Adi has joined

  119. chronosx88 has left

  120. chronosx88 has joined

  121. Adi has left

  122. sonny has left

  123. sonny has joined

  124. Adi has joined

  125. intosi has left

  126. Tobias has joined

  127. nyco has left

  128. j.r has left

  129. goffi has joined

  130. nyco has joined

  131. chronosx88 has left

  132. sonny has left

  133. sonny has joined

  134. marek has left

  135. marek has joined

  136. intosi has joined

  137. chronosx88 has joined

  138. lskdjf has joined

  139. Andrzej has joined

  140. floretta has joined

  141. moparisthebest has left

  142. wurstsalat has joined

  143. Andrzej has left

  144. moparisthebest has joined

  145. intosi has left

  146. Arne has joined

  147. moparisthebest has left

  148. moparisthebest has joined

  149. intosi has joined

  150. lorddavidiii has left

  151. mdosch has left

  152. mdosch has joined

  153. Andrzej has joined

  154. LNJ has joined

  155. intosi has left

  156. Andrzej has left

  157. j.r has joined

  158. andy has joined

  159. lovetox has joined

  160. intosi has joined

  161. lorddavidiii has joined

  162. sonny has left

  163. sonny has joined

  164. mukt2 has joined

  165. intosi has left

  166. lovetox has left

  167. emus has joined

  168. moparisthebest has left

  169. debacle has joined

  170. moparisthebest has joined

  171. intosi has joined

  172. Andrzej has joined

  173. sonny has left

  174. sonny has joined

  175. mukt2 has left

  176. alex-a-soto has left

  177. alex-a-soto has joined

  178. lovetox has joined

  179. intosi has left

  180. Andrzej has left

  181. paul has left

  182. Andrzej has joined

  183. lovetox has left

  184. wladmis has left

  185. intosi has joined

  186. eevvoor has left

  187. eevvoor has joined

  188. eevvoor has left

  189. eevvoor has joined

  190. intosi has left

  191. andy has left

  192. moparisthebest has left

  193. andy has joined

  194. moparisthebest has joined

  195. alameyo has left

  196. intosi has joined

  197. paul has joined

  198. govanify has left

  199. govanify has joined

  200. peetah has left

  201. peetah has joined

  202. intosi has left

  203. govanify has left

  204. govanify has joined

  205. lorddavidiii has left

  206. marek has left

  207. marek has joined

  208. wladmis has joined

  209. moparisthebest has left

  210. govanify has left

  211. sonny has left

  212. sonny has joined

  213. govanify has joined

  214. moparisthebest has joined

  215. adiaholic has left

  216. adiaholic has joined

  217. david has left

  218. david has joined

  219. intosi has joined

  220. govanify has left

  221. govanify has joined

  222. lorddavidiii has joined

  223. Andrzej has left

  224. wladmis has left

  225. wladmis has joined

  226. intosi has left

  227. SamWhited has left

  228. govanify has left

  229. govanify has joined

  230. pasdesushi has joined

  231. pasdesushi has left

  232. adiaholic has left

  233. adiaholic has joined

  234. alex-a-soto has left

  235. alex-a-soto has joined

  236. moparisthebest has left

  237. SamWhited has joined

  238. Andrzej has joined

  239. eevvoor has left

  240. govanify has left

  241. moparisthebest has joined

  242. govanify has joined

  243. paul has left

  244. paul has joined

  245. lovetox has joined

  246. eevvoor has joined

  247. Andrzej has left

  248. andrey.g has joined

  249. Seve has left

  250. Seve has joined

  251. Seve has left

  252. Mikaela has left

  253. Andrzej has joined

  254. alameyo has joined

  255. Seve has joined

  256. jonas’

    was xmpp:user:password@domain.example valid or not?

  257. lovetox has left

  258. Mikaela has joined

  259. MattJ

    xmpp://user:password@domain.example should be, I don't think xmpp: is, no

  260. jonas’

    thanks

  261. Andrzej has left

  262. govanify has left

  263. govanify has joined

  264. neshtaxmpp has left

  265. alameyo has left

  266. govanify has left

  267. govanify has joined

  268. moparisthebest has left

  269. eevvoor has left

  270. eevvoor has joined

  271. debacle has left

  272. Andrzej has joined

  273. gav has joined

  274. intosi has joined

  275. moparisthebest has joined

  276. adiaholic has left

  277. intosi has left

  278. Andrzej has left

  279. moparisthebest has left

  280. adiaholic has joined

  281. debacle has joined

  282. Zash

    For some value of "valid" that may include "deprecated for a decade"... 😕

  283. Zash

    Without replacement, since passing credentials around like that is not that great.

  284. Zash

    🤷️

  285. MattJ

    Yes, better embed them in JSON instead ;)

  286. MattJ hides

  287. neshtaxmpp has joined

  288. moparisthebest has joined

  289. Zash

    Still supported by URI/URL parsers tho.. so I'd lean towards the sorta-standardized over made up JSON formats.

  290. andy has left

  291. intosi has joined

  292. lovetox has joined

  293. emus has left

  294. emus has joined

  295. alameyo has joined

  296. moparisthebest has left

  297. peetah has left

  298. moparisthebest has joined

  299. mathijs has left

  300. mathijs has joined

  301. intosi has left

  302. alameyo has left

  303. peetah has joined

  304. chronosx88 has left

  305. neshtaxmpp has left

  306. mathijs has left

  307. mathijs has joined

  308. andy has joined

  309. intosi has joined

  310. lorddavidiii has left

  311. chronosx88 has joined

  312. alacer has left

  313. alacer has joined

  314. x51 has joined

  315. x51 has left

  316. x51 has joined

  317. x51 has left

  318. neshtaxmpp has joined

  319. intosi has left

  320. x51 has joined

  321. x51 has left

  322. lorddavidiii has joined

  323. mathijs has left

  324. mathijs has joined

  325. mathijs has left

  326. intosi has joined

  327. mathijs has joined

  328. werdan has joined

  329. floretta has left

  330. Andrzej has joined

  331. peetah has left

  332. peetah has joined

  333. intosi has left

  334. alex-a-soto has left

  335. alex-a-soto has joined

  336. peetah has left

  337. peetah has joined

  338. mathijs has left

  339. Andrzej has left

  340. werdan has left

  341. mathijs has joined

  342. neshtaxmpp has left

  343. j.r has left

  344. j.r has joined

  345. intosi has joined

  346. peetah has left

  347. Andrzej has joined

  348. Andrzej has left

  349. intosi has left

  350. neshtaxmpp has joined

  351. focus121 has left

  352. focus121 has joined

  353. peetah has joined

  354. Andrzej has joined

  355. marek has left

  356. marek has joined

  357. floretta has joined

  358. intosi has joined

  359. Andrzej has left

  360. lovetox has left

  361. lorddavidiii has left

  362. intosi has left

  363. adiaholic has left

  364. adiaholic has joined

  365. marek has left

  366. lorddavidiii has joined

  367. marek has joined

  368. lovetox has joined

  369. inky has left

  370. inky has joined

  371. andrey.g has left

  372. Andrzej has joined

  373. marek has left

  374. marek has joined

  375. Andrzej has left

  376. floretta has left

  377. wladmis has left

  378. papatutuwawa has joined

  379. mathijs has left

  380. mathijs has joined

  381. Andrzej has joined

  382. mathijs has left

  383. mathijs has joined

  384. debacle has left

  385. floretta has joined

  386. debacle has joined

  387. intosi has joined

  388. Andrzej has left

  389. lorddavidiii has left

  390. Zash

    Re https://xmpp.org/extensions/xep-0313.html#query-limit-id Those two queries should give the same results if they had 'after-id' in RSM instead?

  391. adiaholic has left

  392. mukt2 has joined

  393. nyco has left

  394. intosi has left

  395. adiaholic has joined

  396. chronosx88 has left

  397. chronosx88 has joined

  398. lorddavidiii has joined

  399. moparisthebest has left

  400. Mikaela has left

  401. mukt2 has left

  402. intosi has joined

  403. moparisthebest has joined

  404. inky has left

  405. lorddavidiii has left

  406. intosi has left

  407. nyco has joined

  408. lovetox

    hm no the second would not end at the before id

  409. Zash

    Wouldn't that be subject to page sizes in both cases?

  410. lovetox

    only because a page is finished

  411. lovetox

    does not mean you get a complete=true iq

  412. lovetox

    not sure what you are after, of course you can get the same messages with rsm, and then simply abort once you reach that stanza-id

  413. lovetox

    but that is a bit weird given that this is a query protocol

  414. lovetox

    do you make open ended SQL queries and abort once you think your done?

  415. lovetox

    no you query exactly what you need, start -> end

  416. lovetox

    and thats what these filter options allow now

  417. adiaholic has left

  418. Zash

    In this code, the RSM before/after was translated to SQL WHERE. after-id and before-id would too.

  419. Zash

    Or would it? That's the question.

  420. Zash

    `WHERE id > (rsm.after OR after-id) AND id < (rsm.before OR before-id)` or somesuch

  421. lovetox

    there is no rsm before AND after

  422. lovetox

    its either or

  423. jcbrand has left

  424. Andrzej has joined

  425. Zash

    That's not the point

  426. LNJ has left

  427. lovetox

    if i understand you correctly you try to translate something, that cant be translated

  428. lovetox

    the second example in the xep is not doable with rsm in an efficient manner

  429. lovetox

    you could get lucky with the page size ending exactly on that stanza-id, and then you could abort

  430. LNJ has joined

  431. lovetox

    but thats luck

  432. Zash

    form.before-id=09af3-cc343-b409f rsm.after=28482-98726-73623

  433. lovetox

    yes thats equivalent

  434. lovetox

    now i understand you

  435. Zash

    🙂

  436. lovetox

    rsm after == form after-id

  437. lovetox

    so it does not matter which of the two you set

  438. mukt2 has joined

  439. lorddavidiii has joined

  440. lovetox

    of course this depends on the implementation on the server

  441. lovetox

    if the server like prosody only querys exactly the page it servs, then its equivalent

  442. lovetox

    if some server would maybe prepare the whole result set, then this is performance wise maybe not equivalent

  443. Zash

    One difference I can think of is how the rsm count field is calculated. I'm assuming that should be calculated/estimated while ignoring the RSM bits

  444. intosi has joined

  445. lovetox

    hm but count is a rsm feature

  446. lovetox

    would be weird to igore the other rsm fields

  447. lovetox

    hm no the XEP says it has to show the ful result set

  448. lovetox

    yes, without the mam filter fields you would have to calc the count on each rsm query again

  449. lovetox

    hm no only in the case no filter option was given

  450. lovetox

    i dont see how this changes something Zash

  451. lovetox

    count should always depend on the mam filter fields

  452. lovetox

    now there are more filter fields but thats it

  453. lovetox

    if i do a mam query without filters, no start date, no end date, the typical sign on and catchup after stanza-id

  454. lovetox

    then count should be the count of all messages in the database for that account

  455. mukt2 has left

  456. adiaholic has joined

  457. Zash

    yes. count should reflect how many messages match the base mam query.

  458. intosi has left

  459. Adi has left

  460. Andrzej has left

  461. andrey.g has joined

  462. Adi has joined

  463. intosi has joined

  464. moparisthebest has left

  465. me9 has joined

  466. me9 has left

  467. focus121 has left

  468. intosi has left

  469. jcbrand has joined

  470. moparisthebest has joined

  471. lovetox has left

  472. lovetox has joined

  473. lovetox has left

  474. lovetox has joined

  475. andrey.g has left

  476. lorddavidiii has left

  477. Andrzej has joined

  478. intosi has joined

  479. Andrzej has left

  480. neshtaxmpp has left

  481. alameyo has joined

  482. intosi has left

  483. j.r has left

  484. j.r has joined

  485. chronosx88 has left

  486. chronosx88 has joined

  487. lovetox has left

  488. neshtaxmpp has joined

  489. intosi has joined

  490. raghavgururajan has left

  491. Adi has left

  492. Adi has joined

  493. marek has left

  494. jcbrand has left

  495. papatutuwawa has left

  496. marek has joined

  497. intosi has left

  498. neshtaxmpp has left

  499. chronosx88 has left

  500. chronosx88 has joined

  501. raghavgururajan has joined

  502. marek has left

  503. marek has joined

  504. chronosx88 has left

  505. eevvoor has left

  506. marek has left

  507. marek has joined

  508. moparisthebest has left

  509. marek has left

  510. marek has joined

  511. zak has left

  512. intosi has joined

  513. marek has left

  514. eevvoor has joined

  515. neshtaxmpp has joined

  516. marek has joined

  517. marek has left

  518. marek has joined

  519. neshtaxmpp has left

  520. marek has left

  521. marek has joined

  522. neshtaxmpp has joined

  523. lskdjf has left

  524. intosi has left