XSF Discussion - 2021-04-12


  1. Aleksej has left
  2. adiaholic has joined
  3. lskdjf has left
  4. adiaholic has left
  5. ben has joined
  6. emus has left
  7. stp has left
  8. jcbrand has joined
  9. Adi has left
  10. Adi has joined
  11. BASSGOD has left
  12. BASSGOD has joined
  13. adiaholic has joined
  14. paul has left
  15. adiaholic has left
  16. croax has left
  17. pjn has left
  18. pjn has joined
  19. pjn has left
  20. arcxi has left
  21. adiaholic has joined
  22. arcxi has joined
  23. adiaholic has left
  24. adiaholic has joined
  25. govanify has left
  26. govanify has joined
  27. Calvin has left
  28. karoshi has joined
  29. adiaholic has left
  30. adiaholic has joined
  31. stp has joined
  32. karoshi has left
  33. stp has left
  34. Adi has left
  35. stp has joined
  36. Adi has joined
  37. alexbay218 has left
  38. alexbay218 has joined
  39. moparisthebest wgreenhouse: XMPP messages can cross multiple lines though
  40. adiaholic has left
  41. adiaholic has joined
  42. Yagiza has joined
  43. wgreenhouse moparisthebest: I'm aware; should've said no more than one message per line :)
  44. wgreenhouse (the MAM output I grabbed isn't pretty printed or anything)
  45. ben what format is it in?
  46. stp has left
  47. wgreenhouse ben: it's just all the xml stanzas from the MAM archive, in one xml file without a DTD, in between <message-archive xmlns="https://linkmauve.fr/protocol/pie-mam"> ... </message-archive>
  48. wgreenhouse without linebreaks, except where there happen to be linebreaks in a message body
  49. ben you could probably rig something up with the tools in html-xml-utils like hxselect or hxprune
  50. ben maybe even hxpipe
  51. wgreenhouse hmmmmmm
  52. moparisthebest A proper way may be an xpath query sent to xmllint --pattern ?
  53. moparisthebest But you could probably just sed out the XML...
  54. ben ah yeah xmllint could probably do it too
  55. alameyo has left
  56. wgreenhouse would want to preserve the from, to, and stamp tags, but the rest can be discarded
  57. moparisthebest sed can match and replace :)
  58. wgreenhouse I thought parsing xml in re brought about the coming of zalgo ;)
  59. wgreenhouse but thanks both, this gives me some to chew on
  60. BASSGOD has left
  61. ben yeah it might, but if your schema is regular/small you will probably be fine
  62. moparisthebest Sorry your requirements didn't say "I want this to work without summoning demons"
  63. alameyo has joined
  64. Andrzej has joined
  65. wgreenhouse ;)
  66. wgreenhouse that said, what hxpipe makes for this file looks friendly to re search/replace
  67. ben nice
  68. BASSGOD has joined
  69. Andrzej has left
  70. chronosx88 has left
  71. chronosx88 has joined
  72. menel has joined
  73. mimi89999 has left
  74. mimi89999 has joined
  75. Tobias has joined
  76. andy has joined
  77. adiaholic has left
  78. adiaholic has joined
  79. adiaholic has left
  80. adiaholic has joined
  81. paul has joined
  82. karoshi has joined
  83. paul has left
  84. paul has joined
  85. adiaholic has left
  86. adiaholic has joined
  87. dwd has joined
  88. govanify has left
  89. govanify has joined
  90. emus has joined
  91. ti_gj06 has joined
  92. alexbay218 has left
  93. hamish has left
  94. hamish has joined
  95. menel has left
  96. Syndace has left
  97. Syndace has joined
  98. sebastian has left
  99. sebastian has joined
  100. croax has joined
  101. mathijs has left
  102. mathijs has joined
  103. adiaholic has left
  104. adiaholic has joined
  105. Syndace has left
  106. Syndace has joined
  107. adiaholic has left
  108. Tobias has left
  109. Tobias has joined
  110. DebXWoody has left
  111. adiaholic has joined
  112. DebXWoody has joined
  113. adiaholic has left
  114. adiaholic has joined
  115. eevvoor has joined
  116. adiaholic has left
  117. paul has left
  118. paul has joined
  119. Syndace has left
  120. Syndace has joined
  121. adiaholic has joined
  122. wurstsalat has joined
  123. arc has left
  124. arc has joined
  125. arc has left
  126. arc has joined
  127. arc has left
  128. arc has joined
  129. arc has left
  130. arc has joined
  131. adiaholic has left
  132. adiaholic has joined
  133. ti_gj06 has left
  134. chronosx88 has left
  135. chronosx88 has joined
  136. Syndace has left
  137. Syndace has joined
  138. adiaholic has left
  139. adiaholic has joined
  140. chronosx88 has left
  141. chronosx88 has joined
  142. Andrzej has joined
  143. peetah has left
  144. adiaholic has left
  145. lskdjf has joined
  146. adiaholic has joined
  147. LNJ has joined
  148. peetah has joined
  149. Syndace has left
  150. Syndace has joined
  151. mukt2 has joined
  152. menel has joined
  153. chronosx88 has left
  154. chronosx88 has joined
  155. chronosx88 has left
  156. chronosx88 has joined
  157. ti_gj06 has joined
  158. chronosx88 has left
  159. chronosx88 has joined
  160. Syndace has left
  161. Syndace has joined
  162. adiaholic has left
  163. adiaholic has joined
  164. bean has joined
  165. goffi has joined
  166. paul has left
  167. BASSGOD has left
  168. mukt2 has left
  169. goffi has left
  170. goffi has joined
  171. Syndace has left
  172. Syndace has joined
  173. adiaholic has left
  174. adiaholic has joined
  175. deuill has left
  176. mukt2 has joined
  177. deuill has joined
  178. BASSGOD has joined
  179. Syndace has left
  180. Syndace has joined
  181. stp has joined
  182. menel has left
  183. menel has joined
  184. Syndace has left
  185. Syndace has joined
  186. stp has left
  187. Andrzej has left
  188. Andrzej has joined
  189. alacer has left
  190. alacer has joined
  191. Andrzej has left
  192. ti_gj06 has left
  193. debacle has joined
  194. BASSGOD has left
  195. Andrzej has joined
  196. menel has left
  197. menel has joined
  198. chronosx88 has left
  199. chronosx88 has joined
  200. BASSGOD has joined
  201. Holger Does XEP-0077 support registration with an empty password?
  202. jonas’ I guess you could just do <password/>, no?
  203. Holger Yes #3.1 says "the <password/> element MAY be empty". But later:
  204. Holger > If the requesting entity does not provide all of the requested information during registration [7] then the server or service MUST return a <not-acceptable/> error to the requesting entity.
  205. Holger Footnote [7] says:
  206. Holger > This includes providing an empty password element or a password element that contains no XML character data, i.e., either <password/> or <password></password>.
  207. Syndace has left
  208. Syndace has joined
  209. Holger Regarding password _change_, the XEP is clear:
  210. jonas’ ISTM that the footnote is worded poorly
  211. Holger > If the user provides an empty password element or a password element that contains no XML character data (i.e., either <password/> or <password></password>), the server or service MUST NOT change the password to a null value, but instead MUST maintain the existing password.
  212. jonas’ aaagh
  213. jonas’ confusing!
  214. jonas’ I give up
  215. chronosx88 has left
  216. chronosx88 has joined
  217. Andrzej has left
  218. chronosx88 has left
  219. chronosx88 has joined
  220. dwd Huh. Both <password/> and <password></password> are the same thing.
  221. Kev And it says they’re to be treated the same, doesn’t it?
  222. Holger Sure, I don't think the XEP says otherwise?
  223. Holger Question is, how to treat them :-)
  224. Ge0rG Is it like NULL, None, "" and False are the same thing?
  225. chronosx88 has left
  226. Holger They must be treated the _same_. But _how_?
  227. chronosx88 has joined
  228. adiaholic has left
  229. mukt2 has left
  230. adiaholic has joined
  231. chronosx88 has left
  232. chronosx88 has joined
  233. stp has joined
  234. paul has joined
  235. mukt2 has joined
  236. BASSGOD has left
  237. govanify has left
  238. govanify has joined
  239. Andrzej has joined
  240. chronosx88 has left
  241. chronosx88 has joined
  242. peetah has left
  243. mukt2 has left
  244. BASSGOD has joined
  245. Steve Kille has left
  246. peetah has joined
  247. chronosx88 has left
  248. chronosx88 has joined
  249. Steve Kille has joined
  250. chronosx88 has left
  251. chronosx88 has joined
  252. lovetox when registering (not password change), i dont see how the client would need to care how the server treats an empty password
  253. lovetox what i wonder is, can i do auth with an empty password?
  254. dwd Empty string as password? Sure.
  255. Holger lovetox: My question was how the server is supposed to treat it though :-)
  256. lovetox Holger, i would say if its not a valid password according to your policy decline it
  257. lovetox otherwise go with it
  258. lovetox or does that lead to a problem?
  259. paul has left
  260. Holger Well the question is whether empty passwords are supposed to be supported by the spec. If so it would obviously still be a policy decision of the admin, yes.
  261. lovetox ok is this a theoretical question, or is there an actual use case behind that?
  262. paul has joined
  263. Andrzej has left
  264. Holger Well I'm touching this part of our 0077 code and was interested in whether I'm supposed to support the empty password case.
  265. BASSGOD has left
  266. edhelas this remind me that I have to do my ejabberd upgrade 🤔
  267. lovetox i would not, because probably many clients dont support that
  268. edhelas !version movim.eu
  269. Holger If I had the answer to this question I could still decide whether or not to follow the spec. But seems the answer isn't obvious so I can just decide on my own :-)
  270. lovetox or i would wait until someone comes and at least asks for that with a concrete use case, and how clients and server are expected to act
  271. adiaholic has left
  272. jonas’ Holger, FWIW, I’d hide allowing empty passwords behind a huge red button labelled "world destruction"
  273. Holger lovetox: Yes yes I'll survive without clarification. I just had this weird idea that one of our core specs dealing with passwords could be clear on the topic of empty passwords :-)
  274. BASSGOD has joined
  275. jonas’ :D
  276. Holger I think we'll just reject them, partly to remain consistent with the password change case where empty passwords are explicitly not supported.
  277. adiaholic has joined
  278. Andrzej has joined
  279. chronosx88 has left
  280. chronosx88 has joined
  281. ti_gj06 has joined
  282. mathijs has left
  283. mathijs has joined
  284. mukt2 has joined
  285. BASSGOD has left
  286. adiaholic has left
  287. adiaholic has joined
  288. BASSGOD has joined
  289. BASSGOD has left
  290. Wojtek has joined
  291. BASSGOD has joined
  292. pjn has joined
  293. floretta has left
  294. floretta has joined
  295. BASSGOD has left
  296. Adi has left
  297. BASSGOD has joined
  298. BASSGOD has left
  299. Adi has joined
  300. BASSGOD has joined
  301. adiaholic has left
  302. edhelas has left
  303. menel has left
  304. edhelas has joined
  305. adiaholic has joined
  306. LNJ has left
  307. LNJ has joined
  308. adiaholic has left
  309. chronosx88 has left
  310. chronosx88 has joined
  311. adiaholic has joined
  312. L29Ah has left
  313. L29Ah has joined
  314. Calvin has joined
  315. alacer has left
  316. mukt2 has left
  317. alacer has joined
  318. Andrzej has left
  319. Andrzej has joined
  320. Sam Reminder: Office hours are tomorrow. This week is a round table discussion "Towards XMPP 2.0" https://wiki.xmpp.org/web/XMPP_Office_Hours
  321. Sam 13th April, 16:00 UTC as always
  322. Adi has left
  323. wurstsalat has left
  324. wurstsalat has joined
  325. lovetox has left
  326. BASSGOD has left
  327. BASSGOD has joined
  328. andrey.g has joined
  329. Andrzej has left
  330. Andrzej has joined
  331. Adi has joined
  332. lovetox has joined
  333. paul has left
  334. paul has joined
  335. alameyo has left
  336. paul has left
  337. Andrzej has left
  338. paul has joined
  339. Andrzej has joined
  340. Andrzej has left
  341. Freddy has left
  342. Andrzej has joined
  343. Kev I don’t know if it’ll work out, but I’ll try to make this one.
  344. andrey.g has left
  345. Freddy has joined
  346. Andrzej has left
  347. adiaholic has left
  348. adiaholic has joined
  349. Aleksej has joined
  350. menel has joined
  351. adiaholic has left
  352. Andrzej has joined
  353. adiaholic has joined
  354. Aleksej has left
  355. peetah has left
  356. peetah has joined
  357. adiaholic has left
  358. adiaholic has joined
  359. Andrzej has left
  360. Freddy has left
  361. adiaholic has left
  362. adiaholic has joined
  363. andy has left
  364. paul has left
  365. paul has joined
  366. Andrzej has joined
  367. adiaholic has left
  368. adiaholic has joined
  369. adiaholic has left
  370. adiaholic has joined
  371. Freddy has joined
  372. chronosx88 has left
  373. chronosx88 has joined
  374. chronosx88 has left
  375. chronosx88 has joined
  376. papatutuwawa has joined
  377. Andrzej has left
  378. marek has left
  379. alameyo has joined
  380. marek has joined
  381. Andrzej has joined
  382. adiaholic has left
  383. adiaholic has joined
  384. paul has left
  385. paul has joined
  386. paul has left
  387. paul has joined
  388. ti_gj06 has left
  389. mukt2 has joined
  390. papatutuwawa has left
  391. papatutuwawa has joined
  392. mukt2 has left
  393. adiaholic has left
  394. adiaholic has joined
  395. Syndace has left
  396. Syndace has joined
  397. papatutuwawa has left
  398. mukt2 has joined
  399. papatutuwawa has joined
  400. adiaholic has left
  401. adiaholic has joined
  402. Steve Kille has left
  403. eevvoor has left
  404. eevvoor has joined
  405. Freddy has left
  406. Steve Kille has joined
  407. ti_gj06 has joined
  408. Syndace has left
  409. Syndace has joined
  410. LNJ has left
  411. xecks has left
  412. xecks has joined
  413. hamish has left
  414. LNJ has joined
  415. werdan has joined
  416. papatutuwawa has left
  417. Andrzej has left
  418. Andrzej has joined
  419. adiaholic has left
  420. adiaholic has joined
  421. Syndace has left
  422. Andrzej has left
  423. Syndace has joined
  424. mukt2 has left
  425. adiaholic has left
  426. adiaholic has joined
  427. deuill has left
  428. deuill has joined
  429. adiaholic has left
  430. adiaholic has joined
  431. Calvin has left
  432. Calvin has joined
  433. adiaholic has left
  434. adiaholic has joined
  435. Dele Olajide has joined
  436. Dele Olajide has left
  437. BASSGOD has left
  438. adiaholic has left
  439. BASSGOD has joined
  440. mathieui Sam, would it be acceptable to open a peertube channel that mirrors the videos available on youtube? (asking as I saw the new yt channel in the newsletter, we’re bound to have people asking why it’s only on youtube)
  441. Andrzej has joined
  442. mathieui (I am not asking you to do it at all, but asking for permission if I find the time to set it up)
  443. arcxi has left
  444. arcxi has joined
  445. andy has joined
  446. Sam mathieui: we've gotten a lot of that already :) I'm not against it, we just need someone who knows how to set all that up to do it. I couldn't find a good instance that actually had open registration, and don't want to do more work myself for something that's not likely to be widely used, so automatic sync would be nice.
  447. Sam Go for it as far as I'm concerned :)
  448. mathieui Ok, thanks!
  449. Syndace has left
  450. Syndace has joined
  451. mukt2 has joined
  452. Freddy has joined
  453. adiaholic has joined
  454. hamish has joined
  455. mukt2 has left
  456. mukt2 has joined
  457. arcxi has left
  458. mukt2 has left
  459. arcxi has joined
  460. adiaholic has left
  461. mukt2 has joined
  462. Syndace has left
  463. Syndace has joined
  464. adiaholic has joined
  465. mathijs has left
  466. papatutuwawa has joined
  467. adiaholic has left
  468. mukt2 has left
  469. adiaholic has joined
  470. adiaholic has left
  471. mukt2 has joined
  472. arc has left
  473. arc has joined
  474. mukt2 has left
  475. arc has left
  476. arc has joined
  477. Syndace has left
  478. Syndace has joined
  479. floretta has left
  480. floretta has joined
  481. mukt2 has joined
  482. Yagiza has left
  483. Andrzej has left
  484. Andrzej has joined
  485. Wojtek has left
  486. Guus has joined
  487. Steve Kille has left
  488. Kev has left
  489. Kev has joined
  490. Steve Kille has joined
  491. emus Yes, usually it is not that we dont want it, but lag resources or have technical limitations (unless we invest more resources)
  492. Guus has left
  493. Andrzej has left
  494. xecks has left
  495. xecks has joined
  496. lorddavidiii has left
  497. xecks has left
  498. papatutuwawa has left
  499. papatutuwawa has joined
  500. chronosx88 has left
  501. xecks has joined
  502. mathijs has joined
  503. mukt2 has left
  504. esil has joined
  505. esil has left
  506. mukt2 has joined
  507. lorddavidiii has joined
  508. chronosx88 has joined
  509. Andrzej has joined
  510. chronosx88 has left
  511. chronosx88 has joined
  512. Syndace has left
  513. Syndace has joined
  514. Andrzej has left
  515. deuill On the subject of XMPP 2.0, I wonder why Jabber/XMPP was never really adopted for open source projects setting up public chats? IRC had (*really*) early-mover advantage, but it can't all be that...
  516. deuill You need a server/account to host a MUC? MUC doesn't scale to more than a couple hundred participants? IRC was good enough?
  517. L29Ah #nolibs
  518. L29Ah irc is implemented in half an hour, while xmpp is, well...
  519. deuill That doesn't matter when you're a user, right? That is, I'm more wondering, would something like Freenode for XMPP be able to exist then? Now?
  520. L29Ah ah, i misinterpreted the question for embedded chats
  521. deuill There's still a definite need for this, considering, ehm, IRC is still widely used, even with a lot of projects moving off to Discord/Gitter/Zulip/Mattermost/whatever.
  522. LNJ has left
  523. deuill There's still a definite need for this, considering that, ehm, IRC is still widely used, even with a lot of projects moving off to Discord/Gitter/Zulip/Mattermost/whatever.
  524. Sam Freenode considered switching to XMPP at one point, I think. I don't know the details though, but maybe you could find their reasons
  525. ti_gj06 has left
  526. esil has joined
  527. esil has left
  528. deuill Hah, interesting, I use Freenode as an example though, mainly because it is (was?) the default choice when you wanted to set up a room for your project.
  529. MattJ I spoke with some Freenode folk a year or two back. I got the impression that it was mostly just resources and need of a concrete plan
  530. pjn has left
  531. L29Ah i don't recall having an IRC frontend for XMPP MUCs
  532. Andrzej has joined
  533. moparisthebest they exist but thar be dragons https://github.com/moparisthebest/xmpp-ircd
  534. Syndace has left
  535. Syndace has joined
  536. Zash Outch, owie, my nightmares
  537. lorddavidiii has left
  538. pjn has joined
  539. mukt2 has left
  540. deuill has left
  541. Maranda has left
  542. wgreenhouse > You need a server/account to host a MUC? MUC doesn't scale to more than a couple hundred participants? IRC was good enough? maybe the fact that fewer xmpp clients support anonymous login, whereas (at least in the past) most big irc support channels don't need a registered account
  543. Maranda has joined
  544. mukt2 has joined
  545. deuill has joined
  546. goffi has left
  547. Syndace has left
  548. Syndace has joined
  549. deuill Yeah, the ease-of-setup aspect here is crucial I think, even as an operator. Find a channel name that's not used, *boom* you're a moderator.
  550. Maranda has left
  551. Andrzej has left
  552. Maranda has joined
  553. karoshi has left
  554. Andrzej has joined
  555. deuill has left
  556. goffi has joined
  557. goffi has left
  558. goffi has joined
  559. deuill has joined
  560. Syndace has left
  561. Syndace has joined
  562. BASSGOD has left
  563. Andrzej has left
  564. Andrzej has joined
  565. bean has left
  566. Ge0rG Well, installing and configuring an irc client for a given network, with servers limiting who may connect by geoip, is quite a challenge. I'm not sure how much easier it is than xmpp
  567. BASSGOD has joined
  568. wgreenhouse geoip or open proxy bans today certainly make it harder to get started on irc. but 10-15 years ago I think it was simpler to get started without an "account"
  569. Tobias has left
  570. wgreenhouse path dependence is important too of course
  571. Andrzej has left
  572. wgreenhouse deuill true, though nowadays it's pretty easy to create a MUC on [arbitrary server] maybe not even the same one where you have your own account
  573. wgreenhouse and it can be made persistent without the need of ChanServ, or someone with a good enough connection to sit on the channel
  574. wgreenhouse possibly in the past, when there were fewer public XMPP instances outside of proprietary installations, that was less true
  575. papatutuwawa has left
  576. papatutuwawa has joined
  577. Zash Too much choice doesn't make it easier. Like, if you're a free software project then you'd probably go for something on Freenode, but in the XMPP world, where would you go?
  578. Aleksej has joined
  579. papatutuwawa has left
  580. lorddavidiii has joined
  581. Syndace has left
  582. Syndace has joined
  583. mukt2 has left
  584. mukt2 has joined
  585. arc has left
  586. arc has joined
  587. wgreenhouse good question. esp since current trends advise people to scatter
  588. wgreenhouse (e.g. formerly big public instances like jabber.ccc.de saying "go somewhere else")
  589. Ge0rG Also having an easy to deploy web chat is a good thing
  590. Ge0rG I've heard that yax.im is breaking apart under the load...
  591. Sam Ge0rG: wait, is that a joke that I don't get or are you having load problems? I'm curious because I've been pointing people there when they ask
  592. arc has left
  593. arc has joined
  594. mukt2 has left
  595. Ge0rG Sam: https://yaxim.org/blog/2021/04/09/vaxbot-performance-challenge/
  596. mathieui Sam, you are from now on named "sole source of yax.im performance problems"
  597. bean has joined
  598. menel has left
  599. Sam oh cool, thanks for the link. Reading.
  600. goffi has left
  601. werdan has left
  602. Ge0rG Well, at least I have some prosody performance numbers now.
  603. bean has left
  604. arc has left
  605. arc has joined
  606. mukt2 has joined
  607. arc has left
  608. arc has joined
  609. arc has left
  610. arc has joined
  611. MattJ Some SQLite performance numbers :)
  612. emus has left
  613. mathieui the best ones
  614. Ge0rG MattJ: well, do you have comparison numbers of different MAM backends from production?
  615. Syndace has left
  616. Syndace has joined
  617. MattJ No, we've not run such tests on a production server
  618. Ge0rG So how am I supposed to decide, what to replace sqlite with?
  619. MattJ Just saying, I think the conclusion was that you reached the limits of SQLite on your hardware, right? (unless we give up some consistency guarantees)
  620. Ge0rG Yes, and it looks like psql will give me roughly 3x the performance, but that's from synthetic benchmarks
  621. MattJ We have performance tests, I guess you can try running them on your server (it doesn't actually have to be the running Prosody instance)
  622. Ge0rG I'd love to
  623. BASSGOD has left
  624. Ge0rG &
  625. MattJ &
  626. mukt2 has left
  627. arc has left
  628. arc has joined
  629. chronosx88 has left
  630. BASSGOD has joined
  631. chronosx88 has joined
  632. arc has left
  633. arc has joined
  634. arc has left
  635. arc has joined
  636. andy has left
  637. Calvin has left
  638. Syndace has left
  639. Syndace has joined
  640. emus has joined
  641. croax has left
  642. chronosx88 has left
  643. LNJ has joined
  644. Syndace has left
  645. Syndace has joined
  646. eevvoor has left
  647. arc has left
  648. arc has joined
  649. mukt2 has joined
  650. arc has left
  651. arc has joined
  652. debacle has left
  653. mukt2 has left
  654. andrey.g has joined
  655. Calvin has joined
  656. Calvin has left
  657. LNJ has left
  658. mdosch has left
  659. mdosch has joined
  660. emus has left
  661. Aleksej has left
  662. arc has left
  663. arc has joined
  664. arc has left
  665. arc has joined
  666. arc has left
  667. arc has joined
  668. lskdjf has left