jdev - 2020-04-04


  1. Wojtek has left

  2. pulkomandy has left

  3. Martin has joined

  4. pulkomandy has joined

  5. Martin has left

  6. alexis has left

  7. Martin has joined

  8. alexis has joined

  9. alexis has left

  10. debacle has left

  11. alexis has joined

  12. Martin has left

  13. strar has left

  14. pulkomandy has left

  15. pulkomandy has joined

  16. Martin has joined

  17. strar has joined

  18. Martin has left

  19. Martin has joined

  20. Martin has left

  21. strar has left

  22. Martin has joined

  23. strar has joined

  24. strar has left

  25. strar has joined

  26. Martin has left

  27. Martin has joined

  28. strar has left

  29. alexis has left

  30. strar has joined

  31. alexis has joined

  32. Martin has left

  33. Syndace has left

  34. Martin has joined

  35. DebXWoody has joined

  36. Martin has left

  37. pulkomandy has left

  38. paul has joined

  39. paul has left

  40. pulkomandy has joined

  41. dendang has joined

  42. lovetox has joined

  43. paul has joined

  44. Martin has joined

  45. paul has left

  46. pulkomandy has left

  47. paul has joined

  48. pulkomandy has joined

  49. Martin has left

  50. tsk has joined

  51. wurstsalat has joined

  52. Martin has joined

  53. dendang has left

  54. dendang has joined

  55. dendang has left

  56. dendang has joined

  57. dendang has left

  58. dendang has joined

  59. dendang has left

  60. dendang has joined

  61. kikuchiyo has joined

  62. dendang has left

  63. dendang has joined

  64. dendang has left

  65. dendang has joined

  66. dendang has left

  67. dendang has joined

  68. lovetox has left

  69. dendang has left

  70. strar has left

  71. strar has joined

  72. strar has left

  73. strar has joined

  74. asterix has joined

  75. adrien has left

  76. adrien has joined

  77. Martin has left

  78. Martin has joined

  79. lovetox has joined

  80. debacle has joined

  81. pulkomandy has left

  82. jonnj has left

  83. jonnj has joined

  84. pulkomandy has joined

  85. Alex has left

  86. Alex has joined

  87. Marc has joined

  88. larma has left

  89. tsk has left

  90. larma has joined

  91. strar has left

  92. strar has joined

  93. goffi has joined

  94. pulkomandy has left

  95. pulkomandy has joined

  96. strar has left

  97. strar has joined

  98. rion has left

  99. rion has joined

  100. Syndace has joined

  101. asterix has left

  102. asterix has joined

  103. asterix has left

  104. asterix has joined

  105. strar has left

  106. asterix has left

  107. asterix has joined

  108. strar has joined

  109. dendang has joined

  110. Martin has left

  111. Martin has joined

  112. pulkomandy has left

  113. debacle has left

  114. pulkomandy has joined

  115. pulkomandy has left

  116. pulkomandy has joined

  117. lovetox has left

  118. asterix has left

  119. pulkomandy has left

  120. asterix has joined

  121. lovetox has joined

  122. pulkomandy has joined

  123. Jae has joined

  124. sonny has left

  125. strar has left

  126. sonny has joined

  127. pulkomandy has left

  128. pulkomandy has joined

  129. jae has joined

  130. strar has joined

  131. SouL has left

  132. SouL has joined

  133. lovetox has left

  134. Test has joined

  135. SouL has left

  136. SouL has joined

  137. lovetox has joined

  138. Guest has joined

  139. lovetox

    finally i have some time to get a bit into gateway stuff

  140. lovetox

    the XEP says a client can add the gateway to its roster

  141. lovetox

    Gajim does that, and i never found a use for that

  142. strar has left

  143. lovetox

    now i can chat with the gateway?

  144. pulkomandy has left

  145. lovetox

    one thing that is useful, is its an entry point into issuing adhoc commands, but in Gajim you can do this from other parts of the application as well

  146. strar has joined

  147. Ge0rG

    lovetox: there is another benefit to that: the gateway is automatically receiving your presence updates

  148. lovetox

    ah ok so he relates my presence then to the other service

  149. Zash

    But it would also get presence for every contact it adds

  150. lovetox

    ok thats a reason to have it in the roster internally, is there a reason to expose this as UI contact in the roster?

  151. pulkomandy has joined

  152. Zash

    Sometimes there are ad-hoc commands or other actions you can take

  153. Zash

    While not a gateway, I have some pubsub services that works a bit like chat bots, and it's annoying when clients decide to hide them or prevent sending messages to them

  154. Martin has left

  155. Martin has joined

  156. lovetox

    ok lets say its a gateway for facebook

  157. lovetox

    facebook has a kind of roster

  158. lovetox

    if i register there, the gateway sends me presences of all the users on my facebook roster

  159. debacle has joined

  160. lovetox

    then i can add them to my roster

  161. lovetox

    if i unregister from the transport i have to remove all the contacts from my roster

  162. Zash

    Didn't Gajim support roster item exchange?

  163. Zash

    There's also a thing where the transport is allowed direct access to your roster by the server.

  164. asterix has left

  165. asterix has joined

  166. Jae has left

  167. lovetox

    Zash is this another XEP?

  168. asterix has left

  169. asterix has joined

  170. Jae has joined

  171. asterix has left

  172. asterix has joined

  173. pulkomandy has left

  174. DebXWoody has left

  175. serge90 has joined

  176. asterix has left

  177. Jae has left

  178. Jae has joined

  179. asterix has joined

  180. pulkomandy has joined

  181. Zash

    lovetox: https://xmpp.org/extensions/xep-0321.html

  182. Zash

    The other was https://xmpp.org/extensions/xep-0144.html

  183. lovetox

    thanks

  184. asterix has left

  185. asterix has joined

  186. adrien has left

  187. adrien has joined

  188. Test has left

  189. Guest has left

  190. DebXWoody has joined

  191. jonnj has left

  192. asterix has left

  193. asterix has joined

  194. pulkomandy has left

  195. pulkomandy has joined

  196. asterix has left

  197. asterix has joined

  198. lovetox

    hm, how can i keep track to what transports im registered?

  199. lovetox

    say i register to 5 transports, then i clear all my application data, reset my client, and login the first time again

  200. lovetox

    now the server sends me my roster, but i cant really know what of these contacts are gateways

  201. lovetox

    i would have to disco info every single contact

  202. debacle has left

  203. lovetox

    can i assume that all transport JIDs are only domains?

  204. lovetox

    so dont contain an @

  205. strar has left

  206. pulkomandy has left

  207. pulkomandy has joined

  208. SouL has left

  209. asterix has left

  210. asterix has joined

  211. Zash

    lovetox: Not sure if there are transports of this kind that are not bare host JIDs, however there may be bare host JIDs in the roster that are not transports.

  212. Zash

    I suppose you'll have to disco#info to be sure

  213. strar has joined

  214. jonnj has joined

  215. lovetox

    yeah, but at least i dont have to disco info my whole roster

  216. pulkomandy has left

  217. pulkomandy has joined

  218. SouL has joined

  219. asterix has left

  220. asterix has joined

  221. lovetox

    The address of a gateway itself SHOULD be a hostname only, and that hostname SHOULD NOT be supplemented with a resource identifier when referring to the gateway's address

  222. lovetox

    so i guess SHOULD is fine enough for me

  223. Zash

    You could also guess that it's a gateway if you also have a bunch of bare jids from the same domain.

  224. lovetox

    for now i plan, if its only a bare jid, then disco info, if it is a gateway send a iq:register to see if im registered

  225. lovetox

    or i can assume from the fact that i have a active subscription that im registered

  226. lovetox

    as XEP says on unregister the gateway should send unsubscribe

  227. asterix has left

  228. asterix has joined

  229. serge90 has left

  230. serge90 has joined

  231. pulkomandy has left

  232. pulkomandy has joined

  233. pulkomandy has left

  234. pulkomandy has joined

  235. Jae has left

  236. serge90 has left

  237. serge90 has joined

  238. serge90 has left

  239. Jae has joined

  240. serge90 has joined

  241. asterix has left

  242. asterix has joined

  243. serge90 has left

  244. serge90 has joined

  245. serge90 has left

  246. serge90 has joined

  247. rion has left

  248. rion has joined

  249. serge90 has left

  250. serge90 has joined

  251. asterix has left

  252. asterix has joined

  253. serge90 has left

  254. serge90 has joined

  255. debacle has joined

  256. serge90 has left

  257. serge90 has joined

  258. serge90 has left

  259. serge90 has joined

  260. strar has left

  261. pulkomandy has left

  262. tsk has joined

  263. strar has joined

  264. pulkomandy has joined

  265. serge90 has left

  266. serge90 has joined

  267. asterix has left

  268. asterix has joined

  269. serge90 has left

  270. serge90 has joined

  271. larma has left

  272. serge90 has left

  273. serge90 has joined

  274. larma has joined

  275. pulkomandy has left

  276. pulkomandy has joined

  277. serge90 has left

  278. serge90 has joined

  279. serge90 has left

  280. serge90 has joined

  281. pulkomandy has left

  282. asterix has left

  283. asterix has joined

  284. pulkomandy has joined

  285. serge90 has left

  286. serge90 has joined

  287. tsk has left

  288. serge90 has left

  289. serge90 has joined

  290. tsk has joined

  291. lovetox

    ok first transport i look into twitter from spectrum2

  292. lovetox

    and it sends me a presence with a caps node https://gajim.org

  293. DebXWoody has left

  294. pulkomandy has left

  295. lovetox

    hm and spectrum2 project seems not very active

  296. asterix has left

  297. asterix has joined

  298. pulkomandy has joined

  299. DebXWoody has joined

  300. serge90 has left

  301. serge90 has joined

  302. serge90 has left

  303. serge90 has joined

  304. serge90 has left

  305. serge90 has joined

  306. serge90 has left

  307. serge90 has joined

  308. serge90 has left

  309. serge90 has joined

  310. serge90 has left

  311. serge90 has joined

  312. Jae has left

  313. asterix has left

  314. asterix has joined

  315. serge90 has left

  316. serge90 has joined

  317. pulkomandy has left

  318. Jae has joined

  319. moparisthebest

    lovetox: cheogram.com is a transport I (and probably a lot of people) add and use from gajim

  320. pulkomandy has joined

  321. moparisthebest

    Gajim is the only client that properly marks contacts from it with a mobile phone icon

  322. serge90 has left

  323. serge90 has joined

  324. moparisthebest

    https://jmp.chat for a free trial if you want to play with it

  325. serge90 has left

  326. serge90 has joined

  327. serge90 has left

  328. serge90 has joined

  329. SouL has left

  330. alexis has left

  331. alexis has joined

  332. asterix has left

  333. asterix has joined

  334. serge90 has left

  335. pulkomandy has left

  336. pulkomandy has joined

  337. pulkomandy has left

  338. pulkomandy has joined

  339. pulkomandy has left

  340. pulkomandy has joined

  341. asterix has left

  342. asterix has joined

  343. lovetox

    thanks moparisthebest will try

  344. tsk has left

  345. SouL has joined

  346. Martin has left

  347. Jae has left

  348. pulkomandy has left

  349. asterix has left

  350. asterix has joined

  351. pulkomandy has joined

  352. Martin has joined

  353. Jae has joined

  354. pulkomandy has left

  355. pulkomandy has joined

  356. lovetox

    moparisthebest, is there also something like jmp for non-us?

  357. lovetox

    if i use this to send a sms to someone where i live, and they answer they probably pay much because they are sending sms to the US

  358. moparisthebest

    You can send/recieve with non-us/Canada numbers but they haven't had luck finding providers in other countries

  359. tsk has joined

  360. moparisthebest

    Everything they've found is much much more expensive

  361. lovetox

    yeah

  362. lovetox

    i looked it up its 7 cents from my country to that number

  363. moparisthebest

    lovetox: xmpp:discuss@conference.soprani.ca?join they have a wiki page where they've documented the providers they have found but I can't find it at the moment

  364. lovetox

    foundit on their wiki thanks

  365. moparisthebest

    I did hack up Conversations to provide a similar UI using the number on your phone but I need to revisit that approach, probably conversations fork :'(

  366. lovetox

    Are there not flat rate tarifs in the US for sms?

  367. lovetox

    i understand that its nice to write from a xmpp clients sms

  368. lovetox

    but i dont know if i would pay for that

  369. lovetox

    if i can write sms from my smartphone for "free"

  370. lovetox

    as in i already pay a flatrate

  371. moparisthebest

    In the US most SMS plans are just unlimited everything for 1 price

  372. lovetox

    but seems there are some people who pay for that, otherwise the service would not exist

  373. Zash

    but are they actually unlimited?

  374. moparisthebest

    So if you use the last 3 commits from https://github.com/moparisthebest/Conversations/commits/sms and https://github.com/moparisthebest/xmpp-echo-self you can have the same experience anywhere with your existing number

  375. moparisthebest

    Less bells and whistles, no SIP etc, but at least I don't need to use a damn phone keyboard

  376. moparisthebest

    Zash: for my use yes, usually they have a fine print limiting you to a few thousand I guess

  377. lovetox

    i wonder what keeps me from registering for a new phone number every 30 days

  378. lovetox

    if i own a domain and server, i could register a new user every 30 day

  379. moparisthebest

    Likely nothing, they are more FOSS guys than businessmen :)

  380. Zash

    moparisthebest: You reminded me of how annoying telcos are, and how annoyed I am by not being able to pay for what I use, with only variations of "unlimited (but not really)" to choose from

  381. Martin has left

  382. Zash

    I miss pay-as-you-go :(

  383. Martin has joined

  384. pulkomandy has left

  385. Marc has left

  386. Marc has joined

  387. pulkomandy has joined

  388. asterix has left

  389. asterix has joined

  390. tsk has left

  391. Guus has left

  392. Guus has joined

  393. SouL has left

  394. Martin has left

  395. Jae has left

  396. pulkomandy has left

  397. pulkomandy has joined

  398. Jae has joined

  399. alexis has left

  400. SouL has joined

  401. Martin has joined

  402. pulkomandy has left

  403. asterix has left

  404. asterix has joined

  405. Jae has left

  406. pulkomandy has joined

  407. pulkomandy has left

  408. pulkomandy has joined

  409. pulkomandy has left

  410. pulkomandy has joined

  411. pulkomandy has left

  412. pulkomandy has joined

  413. Marc has left

  414. Marc has joined

  415. pulkomandy has left

  416. pulkomandy has joined

  417. flow

    lovetox, I think there is much knowledge about how gateways/transports are used in PSI's codebase (and probably gajim's too)

  418. flow

    at least when I think at the era where transports where widely used to bridge to ICQ, MSN, etc. those where the clients you would use

  419. flow

    I still look back at the time when gajim introduced the mata-contact feature in the roster, that was really great!

  420. lovetox

    yeah i still think about how to use meta-contacts in a more useful wa

  421. lovetox

    yeah i still think about how to use meta-contacts in a more useful way

  422. lovetox

    its kind of outdated now

  423. Zash

    There are still those with multiple JIDs, and bridges are apparently coming back for another round

  424. lovetox

    The problem now with transports is to actually find ones that you can develop against

  425. lovetox

    transports that are good and actively maintained

  426. lovetox

    Zash, of course but how would that meta contact work in practice

  427. lovetox

    of course i can group multiple jids into one

  428. lovetox

    but now most of the time all JIDs are online

  429. lovetox

    compared to 10 years ago where only one was online when you were at work, and one when you were at home

  430. lovetox

    so the client always knew, ok i send the message to the online jid

  431. lovetox

    but now with multiple online contacts, its seems weird to spread the messages to multiple devices

  432. flow

    lovetox, I had a lot of contacts with MSN, ICQ, simultanously online ~15 years ago

  433. flow

    metacontacts IIRC made the roster much more accessible

  434. lovetox

    im not talking about the user perspective, of course one contact is nicer then 3

  435. lovetox

    but is it not weird to send messages to the more "active" jid

  436. lovetox

    if both are online

  437. lovetox

    and spreach history over different clients

  438. lovetox

    that are not even synced, they are on different networks

  439. lovetox

    *spread

  440. Zash

    Maybe bring back the resource locking thing? :)

  441. Zash

    I guess it'll be annoying to have MAM stuff spread over multiple users too

  442. Zash

    So, the lession we learned was that transports will never work perfectly.

  443. Zash

    Their purpose is to reach those who has yet to see the light while letting you stay in the comforts of XMPP

  444. lovetox

    and it becomes more compicated with E2E in the picture

  445. Zash

    Making it a touch annoying is probably fine, you can't avoid it, and if it encourages switching to native XMPP then that's great

  446. lovetox

    imagine you put one skype contact and one xmpp contact into one meta contact

  447. lovetox

    one has E2E the other not

  448. Zash

    Ugh

  449. lovetox

    and the client switching between them based on activity

  450. Zash

    If you use E2EE, always use E2EE

  451. Zash

    Unless the user otherwise I guess

  452. lovetox

    to solve stuff like that it gets so complex and you have to handle so many cases

  453. lovetox

    that i just question is it worth it?

  454. lovetox

    only thing i could see, is that metacontact is like a group thingy, where we just show the user, these JIDs belong all to the same person

  455. lovetox

    but in the end letting the user choose to which address to write

  456. lovetox

    not trying to do some magic

  457. lovetox

    and merging history from all 3

  458. lovetox

    so if the contact writes from any of his devices, it shows in the same chat window

  459. Zash

    where did I put my phone?

  460. Zash

    Dunno how other phones handle it, but Sailfish has a selector thing for different contact methods in the chat/sms where you can pick which phone number to send to. (or XMPP address, or other methods)

  461. lovetox

    yeah something like that i imagine also

  462. Zash

    No idea if it automagically switches if a reply is received from a different method

  463. lovetox

    yeah we could do something like that, switch automatically to the jid we received a message from

  464. lovetox

    so a bit of magic is possible

  465. pulkomandy has left

  466. asterix has left

  467. Jae has joined

  468. pulkomandy has joined

  469. asterix has joined

  470. pulkomandy has left

  471. SouL has left

  472. SouL has joined

  473. pulkomandy has joined

  474. Jae has left

  475. asterix has left

  476. asterix has joined

  477. asterix has left

  478. asterix has joined

  479. pulkomandy has left

  480. pulkomandy has joined

  481. Jae has joined

  482. pulkomandy has left

  483. pulkomandy has joined

  484. jae has left

  485. tsk has joined

  486. asterix has left

  487. asterix has joined

  488. lovetox has left

  489. lovetox has joined

  490. pulkomandy has left

  491. pulkomandy has joined

  492. tsk has left

  493. lovetox has left

  494. pulkomandy has left

  495. SouL has left

  496. pulkomandy has joined

  497. lovetox has joined

  498. SouL has joined

  499. moparisthebest has left

  500. asterix has left

  501. asterix has joined

  502. Jae has left

  503. goffi has left

  504. strar has left

  505. DebXWoody has left

  506. strar has joined

  507. alexis has joined

  508. pulkomandy has left

  509. pulkomandy has joined

  510. alexis has left

  511. alexis has joined

  512. lovetox

    hm i heard some do purge offline messges and only sync with mam

  513. lovetox

    but to be safe i should only do this if i know mam is activated on my account

  514. strar has left

  515. lovetox

    was there any gotcha with enablind carbons?

  516. lovetox

    or is simply enabling before sending first presence enough

  517. dendang has left

  518. alexis has left

  519. alexis has joined

  520. lovetox has left

  521. asterix has left

  522. strar has joined

  523. paul has left

  524. moparisthebest has joined

  525. paul has joined

  526. paul has left

  527. paul has joined

  528. paul has left

  529. paul has joined

  530. pulkomandy has left

  531. sonny has left

  532. strar has left

  533. strar has joined

  534. sonny has joined

  535. pulkomandy has joined

  536. Marc has left

  537. Martin has left

  538. Martin has joined

  539. Martin has left

  540. Martin has joined

  541. jonnj has left

  542. jonnj has joined

  543. alexis has left

  544. strar has left

  545. strar has joined

  546. Martin has left

  547. alexis has joined

  548. strar has left

  549. Martin has joined

  550. strar has joined

  551. jonnj has left

  552. jonnj has joined