jdev - 2021-11-13


  1. jgart has left

  2. malthe has left

  3. sonny has left

  4. sonny has joined

  5. sonny has left

  6. sonny has joined

  7. marc0s has left

  8. marc0s has joined

  9. sonny has left

  10. sonny has joined

  11. paul has left

  12. raghavgururajan has left

  13. debacle has left

  14. Alex has left

  15. lovetox has left

  16. sonny has left

  17. sonny has joined

  18. Pete has left

  19. wurstsalat has left

  20. lovetox has joined

  21. hiran has left

  22. jonathan has left

  23. Pete has joined

  24. dezant has left

  25. dezant has joined

  26. pasdesushi has left

  27. Maranda has left

  28. Toxi has joined

  29. Maranda has joined

  30. marc0s has left

  31. marc0s has joined

  32. Ge0rG has left

  33. Ge0rG has joined

  34. mac has left

  35. mac has joined

  36. dezant has left

  37. dezant has joined

  38. jubalh has left

  39. mac has left

  40. jgart has joined

  41. raghavgururajan has joined

  42. jgart has left

  43. junaid has left

  44. emus has joined

  45. junaid has joined

  46. jgart has joined

  47. dezant has left

  48. dezant has joined

  49. paul has joined

  50. phikoen has left

  51. dezant has left

  52. mac has joined

  53. dezant has joined

  54. sonny has left

  55. sonny has joined

  56. raghavgururajan has left

  57. dezant has left

  58. dezant has joined

  59. antranigv has left

  60. antranigv has joined

  61. emus has left

  62. antranigv has left

  63. marc0s has left

  64. marc0s has joined

  65. antranigv has joined

  66. sander has left

  67. paul has left

  68. sander has joined

  69. 9lakes has left

  70. lovetox has left

  71. antranigv has left

  72. Yagizа has joined

  73. lovetox has joined

  74. dezant has left

  75. msavoritias has joined

  76. jgart has left

  77. sonny has left

  78. sonny has joined

  79. test1 has joined

  80. test1 has left

  81. sonny has left

  82. sonny has joined

  83. marc0s has left

  84. marc0s has joined

  85. sonny has left

  86. phikoen has joined

  87. nephele has joined

  88. sonny has joined

  89. paul has joined

  90. jubalh has joined

  91. wurstsalat has joined

  92. Alex has joined

  93. marmistrz has joined

  94. malthe has joined

  95. nephele has left

  96. marc0s has left

  97. marc0s has joined

  98. marc has joined

  99. marc0s has left

  100. marc0s has joined

  101. spectrum has left

  102. nephele has joined

  103. nephele

    xml namespaces is one reason I don't like using xml much, conceptually having just a second nested element if neccesary would work too, but namespaces have yet another way to represent the same conceptual data in it : /

  104. mac has left

  105. MattJ

    Namespaces aren't quite the same as just having another element, because they allow you to identify elements and prevent conflicts when people extend

  106. nephele

    They are not exactly the same, no, but conceptually there is not that much difference

  107. marc has left

  108. jubalh has left

  109. malthe has left

  110. kikuchiyo has left

  111. atomicwatch has joined

  112. marc has joined

  113. spectrum has joined

  114. jubalh has joined

  115. pulkomandy has left

  116. pulkomandy has joined

  117. nephele has left

  118. atomicwatch has left

  119. atomicwatch has joined

  120. marc has left

  121. nephele has joined

  122. marc has joined

  123. goffi has joined

  124. kikuchiyo has joined

  125. sonny has left

  126. sonny has joined

  127. nephele has left

  128. sonny has left

  129. sonny has joined

  130. nephele has joined

  131. nephele has left

  132. pulkomandy has left

  133. pulkomandy has joined

  134. sonny has left

  135. sonny has joined

  136. sonny has left

  137. sonny has joined

  138. pulkomandy has left

  139. pulkomandy has joined

  140. kikuchiyo has left

  141. sonny has left

  142. sonny has joined

  143. kikuchiyo has joined

  144. Martin has left

  145. Martin has joined

  146. sonny has left

  147. sonny has joined

  148. sonny has left

  149. sonny has joined

  150. sonny has left

  151. sonny has joined

  152. Yagizа has left

  153. homebeach has left

  154. Matrix Traveler (bot) has left

  155. Server Stats Discoverer (traveler bot) has left

  156. Server Stats Discoverer (traveler bot) has joined

  157. Matrix Traveler (bot) has joined

  158. homebeach has joined

  159. marc has left

  160. lovetox has left

  161. lovetox has joined

  162. 9lakes has joined

  163. debacle has joined

  164. 9lakes has left

  165. pasdesushi has joined

  166. emus has joined

  167. goffi has left

  168. goffi has joined

  169. malthe has joined

  170. Kev has left

  171. Kev has joined

  172. Ge0rG has left

  173. Ge0rG has joined

  174. paul has left

  175. paul has joined

  176. nephele has joined

  177. 9lakes has joined

  178. goffi has left

  179. goffi has joined

  180. goffi has left

  181. goffi has joined

  182. goffi has left

  183. goffi has joined

  184. goffi has left

  185. goffi has joined

  186. malthe has left

  187. Kev has left

  188. Kev has joined

  189. antranigv has joined

  190. hiran has joined

  191. goffi has left

  192. goffi has joined

  193. marmistrz has left

  194. marmistrz has joined

  195. sonny has left

  196. sonny has joined

  197. sonny has left

  198. sonny has joined

  199. antranigv has left

  200. antranigv has joined

  201. marc has joined

  202. qrpnxz has left

  203. qrpnxz has joined

  204. qrpnxz has left

  205. qrpnxz has joined

  206. goffi has left

  207. antranigv has left

  208. Kev has left

  209. Kev has joined

  210. Kev has left

  211. debacle has left

  212. Kev has joined

  213. sonny has left

  214. sonny has joined

  215. antranigv has joined

  216. antranigv has left

  217. Kev has left

  218. hiran has left

  219. Kev has joined

  220. homebeach has left

  221. Matrix Traveler (bot) has left

  222. Server Stats Discoverer (traveler bot) has left

  223. Server Stats Discoverer (traveler bot) has joined

  224. Matrix Traveler (bot) has joined

  225. homebeach has joined

  226. qrpnxz has left

  227. qrpnxz has joined

  228. marc has left

  229. marc has joined

  230. qrpnxz has left

  231. qrpnxz has joined

  232. Kev has left

  233. Kev has joined

  234. marmistrz has left

  235. jubalh has left

  236. Ge0rG has left

  237. junaid has left

  238. junaid has joined

  239. test1 has joined

  240. malthe has joined

  241. test1 has left

  242. Squeaky Latex Folf

    It's nice knowing where some features in a stanza come from

  243. hiran has joined

  244. Squeaky Latex Folf

    Do you know how hard it is to get search engines to find what you're looking for?

  245. Squeaky Latex Folf

    Especially if you don't know the name of something

  246. marc0s has left

  247. marc0s has joined

  248. malthe has left

  249. hiran has left

  250. lovetox

    i hate when the data you search is the name of the tag

  251. lovetox

    like in https://xmpp.org/extensions/xep-0108.html

  252. lovetox

    i find that bad design

  253. goffi has joined

  254. lovetox

    under the assumption that every element is exendable, this means i have to iter the childs, then compare the found tag name against some kind of allowed list

  255. Zash

    treat it as an enum?

  256. lovetox

    yes but thats actually not what i want in an extendable protocol

  257. lovetox

    someone maybe wants to introduce a new element

  258. marc0s has left

  259. marc0s has joined

  260. lovetox

    long story short, this makes things unnecessary error prone

  261. marc0s has left

  262. marc0s has joined

  263. lovetox

    instead do <activity> <general>relaxing</general> <specific>reading</specific> </activiy>

  264. lovetox

    this way i dont need to iterate through childs, i can just tell, get me that element text

  265. marc0s has left

  266. marc0s has joined

  267. lovetox

    it does not matter what other client stuff into this, it will never alter my way of finding what i need

  268. SouL has left

  269. lovetox

    and its perfectly extendable if someone wants to put some new general activity which is not in the list the XEP defines, i can still take it and present it as an activity

  270. MattJ

    I know what you're saying, but that's also harder, you can't just stick arbitrary text in there to "extend" it

  271. lovetox

    on the other side if i find a new child which is not in my list, i dont even know if the goal was to extend the lists of activitys, or if this is some completely different shit

  272. MattJ

    You wouldn't get an unknown child in the same namespacr

  273. MattJ

    You wouldn't get an unknown child in the same namespace

  274. MattJ

    That's the point

  275. lovetox

    you mean everything in that namespace is an activity

  276. Kev has left

  277. marc has left

  278. MattJ

    Everything defined as an activity, yes

  279. marc has joined

  280. lovetox

    .....

  281. MattJ

    Extending it would use a new namespace (as shown in examples)

  282. lovetox

    thats not the same thing

  283. Kev has joined

  284. lovetox

    <activity> <relaxing/> <notanactivity/> </activity>

  285. MattJ

    That's illegal

  286. Zash

    That would be an error.

  287. lovetox

    i can treat this as an protocol violation?

  288. MattJ

    Yes

  289. lovetox

    ok thats good

  290. lovetox

    that makes things more sane

  291. MattJ

    Just get the first child of <activity> that's in the XEP's namespace, it will always be one of the ones defined in the XEP

  292. MattJ

    If not, it's invalid

  293. MattJ

    Ignore stuff in other namespaces

  294. lovetox

    sadly not MattJ, because there is also a <text> chid

  295. lovetox

    the xep forces you to Iterate

  296. Zash

    Something like `getChildSetNS(Set<Name>, Namespace)` would be nice

  297. MattJ

    Unfortunate

  298. lovetox

    from a implementor view, i want things i want to query a specific thing, not go start searching for something

  299. emus has left

  300. Kev has left

  301. Kev has joined

  302. Kev has left

  303. Kev has joined

  304. Apollo has joined

  305. sonny has left

  306. sonny has joined

  307. SouL has joined

  308. me9 has joined

  309. kikuchiyo has left

  310. jubalh has joined

  311. kikuchiyo has joined

  312. Kev has left

  313. Kev has joined

  314. Kev has left

  315. Kev has joined

  316. junaid has left

  317. junaid has joined

  318. Neustradamus has left

  319. atomicwatch has left

  320. PapaTutuWawa has joined

  321. stuart.j.mackintosh has left

  322. stuart.j.mackintosh has joined

  323. sonny has left

  324. sonny has joined

  325. sonny has left

  326. sonny has joined

  327. dezant has joined

  328. marc0s has left

  329. marc0s has joined

  330. kikuchiyo has left

  331. homebeach has left

  332. Matrix Traveler (bot) has left

  333. Server Stats Discoverer (traveler bot) has left

  334. Server Stats Discoverer (traveler bot) has joined

  335. Matrix Traveler (bot) has joined

  336. homebeach has joined

  337. Yagizа has joined

  338. Kev has left

  339. Kev has joined

  340. marc has left

  341. marc has joined

  342. jonathan has joined

  343. al has joined

  344. kikuchiyo has joined

  345. sonny has left

  346. sonny has joined

  347. dezant has left

  348. dezant has joined

  349. 9lakes has left

  350. flow

    lovetox> i find that bad design it is bad design

  351. Kev has left

  352. Kev has joined

  353. MattJ

    What's a better design?

  354. selurvedu has left

  355. Martin has left

  356. Martin has joined

  357. al has left

  358. spectrum has left

  359. lovetox

    i put both into attributes

  360. lovetox

    then you can still extend the <activity> tag with childs in other namespaces if you want

  361. lovetox

    or as i said before, define elements and set the values as data of them

  362. Apollo has left

  363. spectrum has joined

  364. lovetox

    i dont understand why the custom extension which is an example in that xep needs to be a child of a specific activity

  365. Kev has left

  366. lovetox

    like its a custom extension anyway not defined anywhere so what does it matter if its a child of a specific activity or just the <activity> tag

  367. Kev has joined

  368. malthe has joined

  369. atomicwatch has joined

  370. MattJ

    The idea is that it's not an additional activity, but a more specific one of the same type

  371. Zash

    What if you're doing 3 things at once!

  372. MattJ

    So if you understand the specific one, you can use that. If not, you still see the outer one

  373. 9lakes has joined

  374. PapaTutuWawa has left

  375. pulkomandy has left

  376. pulkomandy has joined

  377. Martin has left

  378. Martin has joined

  379. Kev has left

  380. lovetox

    MattJ, simply move the name of the activity into an attribute would work then

  381. lovetox

    <activity xmlns='http://jabber.org/protocol/activity'> <general name="inactive"> <specific name="sleeping"> <hibernating xmlns='http://www.ursus.info/states'/> </specific> </general> </activity>

  382. Kev has joined

  383. lovetox

    i would prefer that probably

  384. lovetox

    <activity xmlns='http://jabber.org/protocol/activity' general="inactive" specific="sleeping"> <hibernating xmlns='http://www.ursus.info/states'/> </activity>

  385. malthe has left

  386. marc0s has left

  387. marc0s has joined

  388. Martin has left

  389. marc has left

  390. marc has joined

  391. Martin has joined

  392. Martin has left

  393. marc0s has left

  394. marc0s has joined

  395. Martin has joined

  396. Apollo has joined

  397. marc0s has left

  398. marc0s has joined

  399. emus has joined

  400. Kev has left

  401. kikuchiyo has left

  402. Kev has joined

  403. marc0s has left

  404. marc0s has joined

  405. marc0s has left

  406. marc0s has joined

  407. selurvedu has joined

  408. marc0s has left

  409. marc0s has joined

  410. jgart has joined

  411. marc0s has left

  412. marc0s has joined

  413. kikuchiyo has joined

  414. malthe has joined

  415. moparisthebest has left

  416. marc0s has left

  417. marc0s has joined

  418. moparisthebest has joined

  419. qrpnxz has left

  420. qrpnxz has joined

  421. marc has left

  422. dezant has left

  423. marc has joined

  424. Kev has left

  425. Kev has joined

  426. Syndace has left

  427. Apollo has left

  428. selurvedu has left

  429. Apollo has joined

  430. sander has left

  431. marc0s has left

  432. marc0s has joined

  433. dezant has joined

  434. sander has joined

  435. PapaTutuWawa has joined

  436. xecks has left

  437. marc0s has left

  438. marc0s has joined

  439. marc0s has left

  440. marc0s has joined

  441. pasdesushi has left

  442. pasdesushi has joined

  443. malthe has left

  444. debacle has joined

  445. marc0s has left

  446. marc0s has joined

  447. marc has left

  448. marc has joined

  449. selurvedu has joined

  450. goffi has left

  451. inky has joined

  452. dezant has left

  453. inky has left

  454. inky has joined

  455. me9 has left

  456. selurvedu has left

  457. dezant has joined

  458. Kev has left

  459. Kev has joined

  460. Kev has left

  461. aram has joined

  462. Yagizа has left

  463. sonny has left

  464. sonny has joined

  465. aram has left

  466. sonny has left

  467. sonny has joined

  468. sonny has left

  469. sonny has joined

  470. sonny has left

  471. sonny has joined

  472. sonny has left

  473. sonny has joined

  474. sonny has left

  475. sonny has joined

  476. sonny has left

  477. sonny has joined

  478. sonny has left

  479. sonny has joined

  480. sonny has left

  481. sonny has joined

  482. sonny has left

  483. marmistrz has joined

  484. sonny has joined

  485. sonny has left

  486. sonny has joined

  487. marc has left

  488. marc has joined

  489. sonny has left

  490. sonny has joined

  491. sonny has left

  492. sonny has joined

  493. sonny has left

  494. sonny has joined

  495. sonny has left

  496. sonny has joined

  497. sonny has left

  498. sonny has joined

  499. pulkomandy has left

  500. pulkomandy has joined

  501. goffi has joined

  502. pulkomandy has left

  503. pulkomandy has joined

  504. Neustradamus has joined

  505. Neustradamus has left

  506. spectrum has left

  507. marmistrz has left

  508. Neustradamus has joined

  509. pulkomandy has left

  510. pulkomandy has joined

  511. pulkomandy has left

  512. pulkomandy has joined

  513. spectrum has joined

  514. sonny has left

  515. sonny has joined

  516. sonny has left

  517. sonny has joined

  518. goffi has left

  519. atomicwatch has left

  520. sonny has left

  521. sonny has joined

  522. rom1dep has left

  523. rom1dep has joined

  524. atomicwatch has joined

  525. jonathan has left

  526. dezant has left

  527. antranigv has joined

  528. antranigv has left

  529. antranigv has joined

  530. me9 has joined

  531. dezant has joined

  532. antranigv has left

  533. sonny has left

  534. sonny has joined

  535. msavoritias has left

  536. nephele has left

  537. antranigv has joined

  538. marc has left

  539. marc has joined

  540. me9 has left

  541. marc0s has left

  542. marc0s has joined

  543. atomicwatch has left

  544. malthe has joined

  545. sonny has left

  546. sonny has joined

  547. sonny has left

  548. sonny has joined

  549. malthe has left

  550. sonny has left

  551. sonny has joined

  552. sonny has left

  553. sonny has joined

  554. sonny has left

  555. sonny has joined

  556. sonny has left

  557. sonny has joined

  558. sonny has left

  559. sonny has joined

  560. selurvedu has joined

  561. SouL has left

  562. malthe has joined

  563. sonny has left

  564. sonny has joined

  565. marc has left

  566. marc has joined

  567. sonny has left

  568. sonny has joined

  569. SouL has joined

  570. paul has left

  571. sonny has left

  572. sonny has joined

  573. marc0s has left

  574. marc0s has joined

  575. sonny has left

  576. sonny has joined

  577. xecks has joined

  578. Sam has left

  579. Sam has joined

  580. pasdesushi has left

  581. pasdesushi has joined

  582. sonny has left

  583. sonny has joined