jdev - 2020-04-02


  1. debacle has left
  2. moparisthebest has left
  3. moparisthebest has joined
  4. strar has left
  5. strar has joined
  6. strar has left
  7. strar has joined
  8. kikuchiyo has left
  9. strar has left
  10. strar has joined
  11. kikuchiyo has joined
  12. kikuchiyo has left
  13. kikuchiyo has joined
  14. DebXWoody has joined
  15. strar has left
  16. strar has joined
  17. goffi has joined
  18. strar has left
  19. strar has joined
  20. lovetox has joined
  21. DebXWoody has left
  22. DebXWoody has joined
  23. DebXWoody has left
  24. DebXWoody has joined
  25. DebXWoody has left
  26. DebXWoody has joined
  27. goffi has left
  28. serge90 has joined
  29. serge90 has left
  30. serge90 has joined
  31. serge90 has left
  32. serge90 has joined
  33. serge90 has left
  34. serge90 has joined
  35. pulkomandy has left
  36. asterix has joined
  37. serge90 has left
  38. serge90 has joined
  39. Martin has left
  40. Martin has joined
  41. serge90 has left
  42. serge90 has joined
  43. pulkomandy has joined
  44. serge90 has left
  45. serge90 has joined
  46. debacle has joined
  47. serge90 has left
  48. serge90 has joined
  49. serge90 has left
  50. serge90 has joined
  51. serge90 has left
  52. serge90 has joined
  53. serge90 has left
  54. serge90 has joined
  55. serge90 has left
  56. serge90 has joined
  57. pulkomandy has left
  58. serge90 has left
  59. serge90 has joined
  60. pulkomandy has joined
  61. serge90 has left
  62. serge90 has joined
  63. pulkomandy has left
  64. serge90 has left
  65. serge90 has joined
  66. serge90 has left
  67. serge90 has joined
  68. asterix has left
  69. asterix has joined
  70. serge90 has left
  71. serge90 has joined
  72. serge90 has left
  73. serge90 has joined
  74. serge90 has left
  75. serge90 has joined
  76. serge90 has left
  77. serge90 has joined
  78. serge90 has left
  79. serge90 has joined
  80. dendang has joined
  81. DebXWoody has left
  82. serge90 has left
  83. serge90 has joined
  84. asterix has left
  85. asterix has joined
  86. goffi has joined
  87. serge90 has left
  88. serge90 has joined
  89. dendang has left
  90. serge90 has left
  91. serge90 has joined
  92. larma has left
  93. pulkomandy has joined
  94. larma has joined
  95. serge90 has left
  96. serge90 has joined
  97. serge90 has left
  98. serge90 has joined
  99. dendang has joined
  100. serge90 has left
  101. serge90 has joined
  102. serge90 has left
  103. serge90 has joined
  104. serge90 has left
  105. serge90 has joined
  106. dendang has left
  107. dendang has joined
  108. pulkomandy has left
  109. serge90 has left
  110. serge90 has joined
  111. DebXWoody has joined
  112. DebXWoody has left
  113. DebXWoody has joined
  114. dendang has left
  115. dendang has joined
  116. DebXWoody has left
  117. serge90 has left
  118. DebXWoody has joined
  119. pulkomandy has joined
  120. serge90 has joined
  121. dendang has left
  122. serge90 has left
  123. serge90 has joined
  124. dendang has joined
  125. serge90 has left
  126. serge90 has joined
  127. serge90 has left
  128. serge90 has joined
  129. serge90 has left
  130. serge90 has joined
  131. serge90 has left
  132. serge90 has joined
  133. asterix has left
  134. asterix has joined
  135. serge90 has left
  136. serge90 has joined
  137. serge90 has left
  138. serge90 has joined
  139. kikuchiyo has left
  140. asterix has left
  141. asterix has joined
  142. serge90 has left
  143. serge90 has joined
  144. DebXWoody has left
  145. DebXWoody has joined
  146. serge90 has left
  147. serge90 has joined
  148. DebXWoody has left
  149. DebXWoody has joined
  150. pulkomandy has left
  151. kikuchiyo has joined
  152. serge90 has left
  153. serge90 has joined
  154. asterix has left
  155. asterix has joined
  156. asterix has left
  157. asterix has joined
  158. pulkomandy has joined
  159. serge90 has left
  160. kikuchiyo has left
  161. serge90 has joined
  162. serge90 has left
  163. serge90 has joined
  164. serge90 has left
  165. serge90 has joined
  166. kikuchiyo has joined
  167. Zash has left
  168. Zash has joined
  169. kikuchiyo has left
  170. kikuchiyo has joined
  171. kikuchiyo has left
  172. kikuchiyo has joined
  173. Guus What is the purpose of `TRAVIS_TAG:-` on the first line below (characters 23 trough 34)? ``` $ export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d')-TRAVIS_BUILD_NUMBER_$TRAVIS_BUILD_NUMBER-$(git log --format=%h -1)} $ echo $TRAVIS_TAG 20200402-TRAVIS_BUILD_NUMBER_-c74cade ```
  174. Guus It doesn't seem to be included in the exported value?
  175. kikuchiyo has left
  176. serge90 has left
  177. jonas’ Guus, ${foo:-bar} defaults the expression to `bar` if `foo` is not defined
  178. jonas’ the `-` is part of the syntax
  179. Guus ah!
  180. Guus then it seems this construct is a mismatched combination of copy/paste
  181. serge90 has joined
  182. jonas’ why?
  183. Guus TRAVIS_TAG is never defined.
  184. jonas’ you sure?
  185. Guus well, it shouldn't.
  186. jonas’ then I suggest not exporting a variable named like something the CI server could set ;)
  187. Guus or should it... hmm.. wI didn't _expect_ it 🙂
  188. kikuchiyo has joined
  189. kikuchiyo has left
  190. kikuchiyo has joined
  191. kikuchiyo has left
  192. pulkomandy has left
  193. pulkomandy has joined
  194. asterix has left
  195. asterix has joined
  196. Zash has left
  197. Zash has joined
  198. pulkomandy has left
  199. pulkomandy has joined
  200. asterix has left
  201. asterix has joined
  202. rion has left
  203. rion has joined
  204. tsk has joined
  205. pulkomandy has left
  206. pulkomandy has joined
  207. asterix has left
  208. asterix has joined
  209. asterix has left
  210. asterix has joined
  211. asterix has left
  212. asterix has joined
  213. asterix has left
  214. asterix has joined
  215. asterix has left
  216. asterix has joined
  217. asterix has left
  218. asterix has joined
  219. asterix has left
  220. asterix has joined
  221. dendang has left
  222. dendang has joined
  223. asterix has left
  224. asterix has joined
  225. asterix has left
  226. asterix has joined
  227. tsk has left
  228. asterix has left
  229. asterix has joined
  230. asterix has left
  231. asterix has joined
  232. tsk has joined
  233. pulkomandy has left
  234. adrien has left
  235. adrien has joined
  236. asterix has left
  237. asterix has joined
  238. asterix has left
  239. asterix has joined
  240. pulkomandy has joined
  241. Zash has left
  242. Zash has joined
  243. Marc has left
  244. Marc has joined
  245. asterix has left
  246. asterix has joined
  247. asterix has left
  248. asterix has joined
  249. allie has left
  250. allie has joined
  251. Wojtek has joined
  252. asterix has left
  253. asterix has joined
  254. asterix has left
  255. asterix has joined
  256. pulkomandy has left
  257. pulkomandy has joined
  258. allie has left
  259. allie has joined
  260. alexis has left
  261. alexis has joined
  262. alexis has left
  263. alexis has joined
  264. alexis has left
  265. allie has left
  266. allie has joined
  267. allie has left
  268. allie has joined
  269. allie has left
  270. allie has joined
  271. jonas has joined
  272. jonas has left
  273. allie has left
  274. allie has joined
  275. debacle has left
  276. allie has left
  277. tsk has left
  278. allie has joined
  279. pulkomandy has left
  280. pulkomandy has joined
  281. pulkomandy has left
  282. pulkomandy has joined
  283. asterix has left
  284. asterix has joined
  285. allie has left
  286. allie has joined
  287. allie has left
  288. allie has joined
  289. allie has left
  290. allie has joined
  291. allie has left
  292. allie has joined
  293. allie has left
  294. allie has joined
  295. allie has left
  296. allie has joined
  297. allie has left
  298. allie has joined
  299. allie has left
  300. allie has joined
  301. asterix has left
  302. asterix has joined
  303. pulkomandy has left
  304. allie has left
  305. allie has joined
  306. pulkomandy has joined
  307. asterix has left
  308. asterix has joined
  309. asterix has left
  310. asterix has joined
  311. pulkomandy has left
  312. pulkomandy has joined
  313. pulkomandy has left
  314. pulkomandy has joined
  315. asterix has left
  316. asterix has joined
  317. pulkomandy has left
  318. pulkomandy has joined
  319. tsk has joined
  320. asterix has left
  321. asterix has joined
  322. asterix has left
  323. asterix has joined
  324. tsk has left
  325. pulkomandy has left
  326. pulkomandy has joined
  327. asterix has left
  328. asterix has joined
  329. asterix has left
  330. asterix has joined
  331. pulkomandy has left
  332. pulkomandy has joined
  333. dendang has left
  334. dendang has joined
  335. asterix has left
  336. asterix has joined
  337. strar has left
  338. lovetox if i get a disco info request to my full jid
  339. lovetox with a node that resembles entity caps
  340. lovetox should i check if the hash is my current hash
  341. lovetox and if not probably answer with an error or not?
  342. strar has joined
  343. lovetox because 0115 does not mention anything about in what cases one should return an error
  344. lovetox and what error that would be
  345. flow lovetox, smack caches the last N caps and will return the information
  346. lovetox sound wrong to me
  347. flow but maybe I don't get the question. the answer seems trivial to me: if you can answer the query, the answer it, otherwise response with an error
  348. flow lovetox, how come?
  349. lovetox but doesnt answer my question, you assume someone sends a hash that existed in the past
  350. flow ok, then I probably don't understand the question
  351. lovetox i send a disco info request with node="lovetoxlovesdisco"
  352. lovetox what does smacks answer?
  353. flow assuming the node does not exists, hopefully whatever xep30 specifies to return in that case
  354. flow looks at xep30 (and later at smack's code)
  355. flow https://xmpp.org/extensions/xep-0030.html#errors
  356. flow item-not-found
  357. flow lovetox, does that help?
  358. flow (or, does it sound right?)
  359. asterix has left
  360. asterix has joined
  361. lovetox yeah thats what i thought, item-not-found seems to fit
  362. lovetox just find it weird that 115 neither say anything about checking the node hash, nor notes any error cases
  363. lovetox for example Gajim does not check the node hash, and just returns its disco info
  364. lovetox which seems pretty bad
  365. debacle has joined
  366. amnesia has joined
  367. flow indeed
  368. amnesia has left
  369. flow tbh, I wouldn't expect that xep115 has to say anthing about this, as its all within the realm of xep30
  370. flow tbh, I wouldn't expect that xep115 has to say anything about this, as its all within the realm of xep30
  371. asterix has left
  372. asterix has joined
  373. amnesia has joined
  374. asterix has left
  375. asterix has joined
  376. lovetox do have some kind of node register functionality
  377. lovetox it seems more than one xep uses disco
  378. lovetox like adhoc which can have various nodes
  379. lovetox but its not clear if we receive a disco for what module it is
  380. lovetox entity caps, ad hoc, or something else
  381. lovetox there is no xep namespaces here
  382. flow well it should be clear to the receiving entity if there is something behind that node or not
  383. lovetox yeah but how do you implement that in a library
  384. lovetox you have multiple modules, and they register their nodes in some kind of service
  385. flow hmm? I don't see a problem, smack obviously did
  386. lovetox which routes the iq then to correct module
  387. amnesia has left
  388. lovetox im asking you flow
  389. lovetox how you did it
  390. flow you only have an issue if there is a clash in the node name
  391. flow and to prevent those we have https://github.com/xsf/registrar/blob/master/nodes.xml
  392. flow lovetox, smack's entity caps manager tells the service discovery manager to return X on a disco info request to node Y
  393. lovetox ok so modules register their nodes in some kind of service
  394. flow yap
  395. pulkomandy has left
  396. lovetox yeah seems good, sigh, more work, it never ends
  397. pulkomandy has joined
  398. flow its similar to how modules can register for IQ requests
  399. flow just in this case, it's limited to a particular IQ and involves nodes (the often unknown and misunderstood concept of XMPP)
  400. asterix has left
  401. asterix has joined
  402. asterix has left
  403. asterix has joined
  404. lovetox ok thanks :)
  405. amnesia has joined
  406. adrien has left
  407. flow always happy to help :)
  408. serge90 has left
  409. serge90 has joined
  410. tsk has joined
  411. serge90 has left
  412. serge90 has joined
  413. pulkomandy has left
  414. amnesia has left
  415. dendang has left
  416. pulkomandy has joined
  417. serge90 has left
  418. serge90 has joined
  419. dendang has joined
  420. dendang has left
  421. serge90 has left
  422. serge90 has joined
  423. serge90 has left
  424. serge90 has joined
  425. tsk has left
  426. pulkomandy has left
  427. pulkomandy has joined
  428. asterix has left
  429. serge90 has left
  430. asterix has joined
  431. serge90 has joined
  432. serge90 has left
  433. serge90 has joined
  434. amnesia has joined
  435. serge90 has left
  436. serge90 has joined
  437. serge90 has left
  438. amnesia has left
  439. serge90 has joined
  440. asterix has left
  441. asterix has joined
  442. kikuchiyo has joined
  443. adrien has joined
  444. serge90 has left
  445. serge90 has joined
  446. adrien has left
  447. adrien has joined
  448. serge90 has left
  449. serge90 has joined
  450. asterix has left
  451. asterix has joined
  452. asterix has left
  453. asterix has joined
  454. serge90 has left
  455. serge90 has joined
  456. serge90 has left
  457. serge90 has joined
  458. goffi has left
  459. DebXWoody has left
  460. serge90 has left
  461. serge90 has joined
  462. asterix has left
  463. asterix has joined
  464. amnesia has joined
  465. serge90 has left
  466. serge90 has joined
  467. serge90 has left
  468. serge90 has joined
  469. serge90 has left
  470. serge90 has joined
  471. asterix has left
  472. asterix has joined
  473. serge90 has left
  474. serge90 has joined
  475. serge90 has left
  476. serge90 has joined
  477. alexis has joined
  478. serge90 has left
  479. serge90 has joined
  480. asterix has left
  481. asterix has joined
  482. asterix has left
  483. asterix has joined
  484. kikuchiyo has left
  485. serge90 has left
  486. serge90 has joined
  487. serge90 has left
  488. serge90 has joined
  489. strar has left
  490. asterix has left
  491. asterix has joined
  492. serge90 has left
  493. asterix has left
  494. asterix has joined
  495. strar has joined
  496. serge90 has joined
  497. serge90 has left
  498. serge90 has joined
  499. moparisthebest has left
  500. serge90 has left
  501. serge90 has joined
  502. asterix has left
  503. asterix has joined
  504. asterix has left
  505. asterix has joined
  506. serge90 has left
  507. serge90 has joined
  508. pulkomandy has left
  509. pulkomandy has joined
  510. serge90 has left
  511. serge90 has joined
  512. serge90 has left
  513. serge90 has joined
  514. Marc has left
  515. serge90 has left
  516. serge90 has joined
  517. debacle has left
  518. asterix has left
  519. asterix has joined
  520. serge90 has left
  521. serge90 has joined
  522. serge90 has left
  523. serge90 has joined
  524. Jae has joined
  525. strar has left
  526. strar has joined
  527. serge90 has left
  528. serge90 has joined
  529. asterix has left
  530. serge90 has left
  531. serge90 has joined
  532. Jae has left
  533. Jae has joined
  534. Jae has left
  535. Jae has joined
  536. serge90 has left
  537. serge90 has joined
  538. serge90 has left
  539. serge90 has joined
  540. amnesia has left
  541. lovetox has left
  542. lovetox has joined
  543. serge90 has left
  544. serge90 has joined
  545. moparisthebest has joined
  546. serge90 has left
  547. serge90 has joined
  548. Jae has left
  549. paul has left
  550. serge90 has left
  551. serge90 has joined
  552. serge90 has left
  553. serge90 has joined
  554. serge90 has left
  555. serge90 has joined
  556. serge90 has left
  557. serge90 has joined
  558. Wojtek has left
  559. Wojtek has joined
  560. serge90 has left
  561. serge90 has joined
  562. strar has left
  563. Wojtek has left
  564. strar has joined
  565. serge90 has left
  566. serge90 has joined
  567. serge90 has left
  568. serge90 has joined
  569. Alex has left
  570. Alex has joined
  571. amnesia has joined
  572. serge90 has left
  573. serge90 has joined