XSF Discussion - 2020-04-26

  1. mukt2 has left

  2. mukt2 has joined

  3. bear has joined

  4. emus has left

  5. moparisthebest has left

  6. moparisthebest has joined

  7. bear has left

  8. Nekit has left

  9. mukt2 has left

  10. mukt2 has joined

  11. pdurbin has joined

  12. lovetox has joined

  13. pdurbin has left

  14. Kev has left

  15. Daniel has left

  16. Daniel has joined

  17. arc has left

  18. arc has joined

  19. krauq has left

  20. krauq has joined

  21. Kev has joined

  22. Kev has left

  23. Kev has joined

  24. bear has joined

  25. bear has left

  26. mukt2 has left

  27. waqas has joined

  28. mukt2 has joined

  29. arc has left

  30. arc has joined

  31. winfried has left

  32. winfried has joined

  33. Yagiza has joined

  34. lskdjf has left

  35. waqas has left

  36. mukt2 has left

  37. arc has left

  38. arc has joined

  39. mukt2 has joined

  40. Daniel has left

  41. bear has joined

  42. Daniel has joined

  43. j.r has left

  44. lovetox has left

  45. pdurbin has joined

  46. mimi89999 has left

  47. mimi89999 has joined

  48. mukt2 has left

  49. bear has left

  50. arc has left

  51. arc has joined

  52. mukt2 has joined

  53. gav has left

  54. bear has joined

  55. Kev has left

  56. Kev has joined

  57. bear has left

  58. Daniel has left

  59. Daniel has joined

  60. adiaholic_ has joined

  61. Yagiza has left

  62. mukt2 has left

  63. andrey.g has joined

  64. mukt2 has joined

  65. bear has joined

  66. mukt2 has left

  67. bear has left

  68. mukt2 has joined

  69. lovetox has joined

  70. DebXWoody has joined

  71. Kev has left

  72. alexis has left

  73. Kev has joined

  74. adiaholic_ has left

  75. adiaholic_ has joined

  76. alexis has joined

  77. bear has joined

  78. karoshi has joined

  79. edhelas has left

  80. Neustradamus has left

  81. bear has left

  82. arc has left

  83. arc has joined

  84. lorddavidiii has joined

  85. Kev has left

  86. Kev has joined

  87. xecks has joined

  88. bear has joined

  89. lorddavidiii has left

  90. lorddavidiii has joined

  91. bear has left

  92. Yagiza has joined

  93. Tobias has joined

  94. robertooo has joined

  95. debacle has joined

  96. debacle has left

  97. debacle has joined

  98. DebXWoody has left

  99. bear has joined

  100. Mikaela has joined

  101. andy has joined

  102. arc has left

  103. arc has joined

  104. arc has left

  105. arc has joined

  106. mukt2 has left

  107. LNJ has joined

  108. werdan has joined

  109. bear has left

  110. Nekit has joined

  111. mukt2 has joined

  112. Neustradamus has joined

  113. adiaholic_ has left

  114. edhelas has joined

  115. adiaholic_ has joined

  116. nyco has joined

  117. werdan has left

  118. nyco has left

  119. nyco has joined

  120. werdan has joined

  121. nyco has left

  122. adiaholic_ has left

  123. adiaholic_ has joined

  124. lovetox has left

  125. nyco has joined

  126. Daniel has left

  127. Daniel has joined

  128. mukt2 has left

  129. bear has joined

  130. werdan has left

  131. werdan has joined

  132. contrapunctus has left

  133. Daniel has left

  134. Daniel has joined

  135. Daniel has left

  136. Daniel has joined

  137. Daniel has left

  138. Daniel has joined

  139. emus has joined

  140. adiaholic_ has left

  141. adiaholic_ has joined

  142. bear has left

  143. debacle has left

  144. rion has left

  145. rion has joined

  146. Jeybe has joined

  147. lovetox has joined

  148. mukt2 has joined

  149. wurstsalat has joined

  150. contrapunctus has joined

  151. lovetox has left

  152. arc has left

  153. waqas has joined

  154. lskdjf has joined

  155. APach has left

  156. bear has joined

  157. Jeybe has left

  158. winfried has left

  159. winfried has joined

  160. goffi has joined

  161. bear has left

  162. Zash has left

  163. Zash has joined

  164. werdan has left

  165. werdan has joined

  166. APach has joined

  167. krauq has left

  168. lovetox has joined

  169. adiaholic_ has left

  170. Jeybe has joined

  171. krauq has joined

  172. mukt2 has left

  173. mukt2 has joined

  174. !XSF_Martin has left

  175. !XSF_Martin has joined

  176. bear has joined

  177. Neustradamus has left

  178. Neustradamus has joined

  179. goffi has left

  180. j.r has joined

  181. Maranda has left

  182. mukt2 has left

  183. mukt2 has joined

  184. bear has left

  185. Max has left

  186. Maranda has joined

  187. mukt2 has left

  188. !XSF_Martin has left

  189. !XSF_Martin has joined

  190. !XSF_Martin has left

  191. Maranda has left

  192. !XSF_Martin has joined

  193. Maranda has joined

  194. mukt2 has joined

  195. Guus has left

  196. Guus has joined

  197. adiaholic_ has joined

  198. lovetox has left

  199. bear has joined

  200. Max has joined

  201. lovetox has joined

  202. mukt2 has left

  203. mukt2 has joined

  204. marc has left

  205. xsf has left

  206. marc0s has left

  207. adiaholic_ has left

  208. adiaholic_ has joined

  209. APach has left

  210. bear has left

  211. adiaholic_ has left

  212. adiaholic_ has joined

  213. marc0s has joined

  214. mukt2 has left

  215. marc has joined

  216. mukt2 has joined

  217. lovetox has left

  218. Jeybe has left

  219. alexis has left

  220. mukt2 has left

  221. alexis has joined

  222. APach has joined

  223. adiaholic_ has left

  224. adiaholic_ has joined

  225. mukt2 has joined

  226. werdan has left

  227. Jeybe has joined

  228. j.r has left

  229. j.r has joined

  230. Jeybe has left

  231. Jeybe has joined

  232. werdan has joined

  233. paul has joined

  234. Jeybe has left

  235. andy has left

  236. bear has joined

  237. bear has left

  238. lovetox has joined

  239. debacle has joined

  240. debacle has left

  241. debacle has joined

  242. Max has left

  243. rion has left

  244. rion has joined

  245. Dele Olajide has joined

  246. gaurav has joined

  247. pdurbin has left

  248. Dele Olajide has left

  249. Max has joined

  250. Daniel has left

  251. Jeybe has joined

  252. debacle has left

  253. bear has joined

  254. Jeybe has left

  255. Daniel has joined

  256. Jeybe has joined

  257. andy has joined

  258. Nekit has left

  259. gaurav has left

  260. moparisthebest has left

  261. moparisthebest has joined

  262. bear has left

  263. mukt2 has left

  264. lovetox has left

  265. mukt2 has joined

  266. lovetox has joined

  267. MattJ

    The Github folk have detached xsf/memberbot from Link Mauve's repo

  268. jonas’


  269. Link Mauve

    Great, now I can delete my repo!

  270. werdan has left

  271. sonny has joined

  272. bear has joined

  273. bear has left

  274. DebXWoody has joined

  275. Nekit has joined

  276. gav has joined

  277. Shell has joined

  278. Maranda has left

  279. Maranda has joined

  280. mukt2 has left

  281. mukt2 has joined

  282. Guus has left

  283. Guus has joined

  284. bear has joined

  285. mukt2 has left

  286. mukt2 has joined

  287. lovetox has left

  288. sonny has left

  289. LNJ has left

  290. LNJ has joined

  291. Nekit has left

  292. goffi has joined

  293. alexis has left

  294. adiaholic_ has left

  295. adiaholic_ has joined

  296. lovetox has joined

  297. arc has joined

  298. arc has left

  299. arc has joined

  300. arc has left

  301. arc has joined

  302. waqas has left

  303. eta has left

  304. eta has joined

  305. bear has left

  306. pdurbin has joined

  307. arc has left

  308. arc has joined

  309. adiaholic_ has left

  310. adiaholic_ has joined

  311. Jeybe has left

  312. Jeybe has joined

  313. mukt2 has left

  314. mukt2 has joined

  315. sonny has joined

  316. pdurbin has left

  317. pdurbin has joined

  318. lovetox has left

  319. pdurbin has left

  320. nik3sh has joined

  321. nik3sh has left

  322. Jeybe has left

  323. Jeybe has joined

  324. mukt2 has left

  325. Lainux has joined

  326. Lainux has left

  327. Lainux has joined

  328. bear has joined

  329. mukt2 has joined

  330. lovetox has joined

  331. Jeybe has left

  332. adiaholic_ has left

  333. adiaholic_ has joined

  334. rion has left

  335. adiaholic_ has left

  336. adiaholic_ has joined

  337. arc has left

  338. arc has joined

  339. bear has left

  340. rion has joined

  341. Jeybe has joined

  342. Shell has left

  343. Shell has joined

  344. Jeybe has left

  345. Jeybe has joined

  346. bear has joined

  347. alexis has joined

  348. lovetox has left

  349. lovetox has joined

  350. Nekit has joined

  351. werdan has joined

  352. arc has left

  353. arc has joined

  354. rion has left

  355. rion has joined

  356. arc has left

  357. arc has joined

  358. debacle has joined

  359. Yagiza has left

  360. mukt2 has left

  361. pdurbin has joined

  362. mukt2 has joined

  363. marc

    Can somebody recommend a XMPP library for low level testing?

  364. marc

    preferably Python

  365. marc

    aioxmpp seems quite high-level

  366. jonas’

    marc, what kind of low-level testing?

  367. marc

    jonas’, sending packets (not IQ) before authentication

  368. lovetox

    you mean a xmpp lib you can hack to do that

  369. lovetox

    or one that provides a API for send_packet_before_auth()

  370. pep.

    or something with send_raw()

  371. marc

    lovetox, yeah, something like send_raw()

  372. marc

    especially I don't want to authenticate

  373. pep.

    There's probably an escape hatch like that on every library around, I'd hope

  374. lovetox

    you would still need a lib that lets you use this at that special moment

  375. jonas’

    marc, maybe look into how IBR is implemented in aioxmpp

  376. pep.

    Even if it encourages you not to use it

  377. pdurbin has left

  378. jonas’

    https://github.com/horazont/aioxmpp/blob/devel/aioxmpp/ibr/service.py#L65 https://github.com/horazont/aioxmpp/blob/devel/examples/register.py#L34-L40

  379. lovetox

    oh thats a good idea

  380. jonas’

    aioxmpp.IQ isn’t special in that way, you can send any XSO really at that point

  381. MattJ

    lovetox: I've sent you a few messages over the past week, did you receive them?

  382. jonas’

    lovetox, while I’ve got you here, is there a way to turn off autojoining MUCs for (only) one account in gajim?

  383. alexis has left

  384. lovetox

    not as setting no, you would have to add a line to the code

  385. jonas’


  386. jonas’

    I like how my pidgin doesn’t understand bookmarks ;D

  387. lovetox

    MattJ, yes received it i answerd you

  388. lovetox

    MattJ, yes received it i answerd you, just now

  389. MattJ

    Ah, thanks!

  390. Lainux has left

  391. Shell has left

  392. lovetox

    jonas’, why you need that?

  393. Shell has joined

  394. Shell has left

  395. Shell has joined

  396. jonas’

    lovetox, I am used to poezio for MUCs, but I’d like to use something else for 1:1

  397. pep.

    jonas’, anything in particular that we could use as feedback for poezio?

  398. jonas’

    so I want gajim to *not* join all my MUCs; but only on that account, because my other accounts are (obviously) not in poezio, and I want to be able in those MUCs

  399. jonas’

    pep., no, that’s not going to be solvable

  400. jonas’

    it’s just me trying to keep the number of windows in poezio sane

  401. lovetox

    pep., dont steal my users

  402. pep.

    lovetox, you're stealing mine

  403. lovetox

    you had your chance

  404. moparisthebest has left

  405. pep.

    I'll get my revenge

  406. moparisthebest has joined

  407. jonas’

    you’d co-exist, just like poezio and pidgin co-exist on my desktop now, so don’t fight please

  408. jonas’


  409. pep.


  410. pep.

    lovetox, I'll let you off for now

  411. lovetox


  412. lovetox

    jonas’, i can only offer you to point you to the line in the code where you could add the line that it skips one special account

  413. jonas’

    lovetox, I’m afraid dpkg won’t be happy about that in the long term

  414. lovetox

    marc, what do you understand under send_raw()

  415. lovetox

    you want to send bytes?

  416. pep.

    lovetox, iirc his XEP uses some before-bind-iq-like stuff

  417. marc

    lovetox, no, xml elements

  418. pep.

    like iq but not in jabber:foo

  419. lovetox

    yeah you can do that with nbxmpp, thanks to the hint form jonas’

  420. lovetox

    if you use nbxmpp in the REGISTER mode

  421. lovetox

    it will connect to the server and give you control before auth

  422. marc

    jonas’, mentioned aioxmpp, no?

  423. lovetox

    as there is no auth in register mode

  424. arc has left

  425. arc has joined

  426. lovetox

    yeah im sure you can do the same with aioxmpp

  427. lovetox

    just wanted to tell you, that you also can do with nbxmpp

  428. lovetox

    but maybe try first with aioxmpp, its probably way better documented

  429. marc

    there are too many xmpp libraries for python :)

  430. marc

    jonas’, is there a way to send basic xml elements? something like Element(name = '', attrs = ...)

  431. marc

    I don't get the idea behind XSO :)

  432. jonas’

    marc, XSO is just a way to write down a skeleton for XML elements

  433. jonas’

    https://github.com/horazont/aioxmpp/blob/devel/aioxmpp/ping/xso.py#L31-L38 that’s an example which simply defines the XML element <ping xmlns="urn:xmpp:ping"/>; it doesn’t have text or children

  434. Mikaela has left

  435. jonas’

    if you’ve ever used something like Storm or SQLAlchemy, the ideas behind XSO are very similar

  436. marc

    Okay, got it, thanks!

  437. jonas’

    marc, aioxmpp/version/xso.py would be the next-more-complex example of an XSO

  438. marc

    jonas’, there is no simpler way to generate xml elements, no?

  439. mukt2 has left

  440. jonas’

    marc, it’s the simplest way ever

  441. jonas’


  442. jonas’

    no, you need to go through XSO. the only other way is to write SAX events yourself.

  443. jonas’

    XSOs are directly converted to SAX events, there is no DOM constructed at any point

  444. jonas’

    (though if you’re into writing SAX events, you can do that, I suppose; you just need to go into the guts of the XMLStream itself)

  445. lovetox

    but actually jonas’ i have that ignore autojoin flag on my todo list

  446. pep.

    > where ``namespace_uri`` may be :data:`None`. Interesting that you're not enforcing namespaces in TAGs

  447. jonas’

    pep., it’ll fail during serialisation in most cases of an xml stream

  448. mukt2 has joined

  449. jonas’

    as soon as the default namespace has been declared, you can’t serialise elements without namespace URI anymore. which is right at the stream header in XMPP XML streams.

  450. Jeybe has left

  451. DebXWoody has left

  452. Daniel has left

  453. Daniel has joined

  454. Jeybe has joined

  455. werdan has left

  456. Jeybe has left

  457. Jeybe has joined

  458. Jeybe has left

  459. Jeybe has joined

  460. marc

    jonas’, can I access xso attrs by simply using the XSO class member variables?

  461. marc

    I want to sent the attr but when I send the packet it hangs

  462. marc

    it works without attrs

  463. waqas has joined

  464. marc

    ah, and can I enable a traffic console that shows me the xml traffic sent / received?

  465. david has left

  466. david has joined

  467. Jeybe has left

  468. Jeybe has joined

  469. andrey.g has left

  470. marc

    jonas’, ah, already found it!

  471. Jeybe has left

  472. Jeybe has joined

  473. lovetox has left

  474. APach has left

  475. APach has joined

  476. Jeybe has left

  477. Jeybe has joined

  478. xsf has joined

  479. Jeybe has left

  480. Jeybe has joined

  481. moparisthebest has left

  482. robertooo has left

  483. mukt2 has left

  484. mukt2 has joined

  485. moparisthebest has joined

  486. goffi has left

  487. eta has left

  488. eta has joined

  489. alexis has joined

  490. Jeybe has left

  491. Jeybe has joined

  492. arc has left

  493. arc has joined

  494. Jeybe has left

  495. Jeybe has joined

  496. LNJ has left

  497. pdurbin has joined

  498. Jeybe has left

  499. Jeybe has joined

  500. Tobias has left

  501. Lainux has joined

  502. Jeybe has left

  503. Jeybe has joined

  504. Jeybe has left

  505. Jeybe has joined

  506. pdurbin has left

  507. Jeybe has left

  508. Jeybe has joined

  509. lovetox has joined

  510. xecks has left

  511. Daniel has left

  512. Daniel has joined

  513. Daniel has left

  514. lorddavidiii has left

  515. Jeybe has left

  516. Jeybe has joined

  517. Jeybe has left

  518. Jeybe has joined

  519. andy has left

  520. wurstsalat has left

  521. Jeybe has left

  522. Jeybe has joined

  523. paul has left

  524. bear has left

  525. andy has joined

  526. Daniel has joined

  527. stpeter has joined

  528. stpeter has left

  529. Jeybe has left

  530. Jeybe has joined

  531. alexis has left

  532. Jeybe has left

  533. Jeybe has joined

  534. andy has left

  535. mukt2 has left

  536. Jeybe has left

  537. Jeybe has joined

  538. mukt2 has joined

  539. alexis has joined

  540. Jeybe has left

  541. Jeybe has joined

  542. mukt2 has left

  543. mukt2 has joined

  544. Jeybe has left

  545. Jeybe has joined

  546. Nekit has left

  547. Daniel has left

  548. Jeybe has left

  549. Jeybe has joined

  550. Daniel has joined

  551. bear has joined

  552. Jeybe has left

  553. Jeybe has joined

  554. Jeybe has left

  555. Jeybe has joined

  556. Jeybe has left

  557. Jeybe has joined

  558. bear has left

  559. Jeybe has left

  560. Jeybe has joined

  561. Jeybe has left

  562. calvin has joined

  563. eevvoor has joined

  564. karoshi has left

  565. calvin has left