jdev - 2020-09-01

  1. kikuchiyo has left
  2. kikuchiyo has joined
  3. adiaholic_ has joined
  4. adiaholic_ has left
  5. adiaholic_ has joined
  6. Lance has left
  7. test2 has left
  8. adiaholic_ has left
  9. adiaholic_ has joined
  10. allie has left
  11. allie has joined
  12. adiaholic_ has left
  13. adiaholic_ has joined
  14. pulkomandy has left
  15. pulkomandy has joined
  16. Lance has joined
  17. test2 has joined
  18. Wojtek has left
  19. adiaholic_ has left
  20. adiaholic_ has joined
  21. Lance has left
  22. adiaholic_ has left
  23. adiaholic_ has joined
  24. adiaholic_ has left
  25. adiaholic_ has joined
  26. adiaholic_ has left
  27. Yagizа has joined
  28. test2 has left
  29. adiaholic_ has joined
  30. adiaholic_ has left
  31. Lance has joined
  32. mac has joined
  33. test2 has joined
  34. adiaholic_ has joined
  35. Lance has left
  36. adiaholic_ has left
  37. adiaholic_ has joined
  38. adiaholic_ has left
  39. adiaholic_ has joined
  40. adiaholic_ has left
  41. adiaholic_ has joined
  42. adiaholic_ has left
  43. adiaholic_ has joined
  44. Test has joined
  45. Test has left
  46. adiaholic_ has left
  47. adiaholic_ has joined
  48. DebXWoody has joined
  49. DebXWoody has left
  50. adiaholic_ has left
  51. adiaholic_ has joined
  52. waqas has left
  53. adiaholic_ has left
  54. adiaholic_ has joined
  55. mac has left
  56. adiaholic_ has left
  57. adiaholic_ has joined
  58. adiaholic_ has left
  59. adiaholic_ has joined
  60. paul has joined
  61. adiaholic_ has left
  62. adiaholic_ has joined
  63. adiaholic_ has left
  64. adiaholic_ has joined
  65. Vaulor has joined
  66. Lance has joined
  67. wurstsalat has joined
  68. adiaholic_ has left
  69. adiaholic_ has joined
  70. lovetox has joined
  71. test2 has left
  72. Lance has left
  73. test2 has joined
  74. adiaholic_ has left
  75. adiaholic_ has joined
  76. sonny has left
  77. sonny has joined
  78. sonny has left
  79. adiaholic_ has left
  80. adiaholic_ has joined
  81. lovetox has left
  82. adiaholic_ has left
  83. adiaholic_ has joined
  84. mac has joined
  85. sonny has joined
  86. adiaholic_ has left
  87. adiaholic_ has joined
  88. adiaholic_ has left
  89. adiaholic_ has joined
  90. sonny has left
  91. sonny has joined
  92. adiaholic_ has left
  93. adiaholic_ has joined
  94. sonny has left
  95. adiaholic_ has left
  96. adiaholic_ has joined
  97. mac has left
  98. adiaholic_ has left
  99. adiaholic_ has joined
  100. Lance has joined
  101. adiaholic_ has left
  102. adiaholic_ has joined
  103. adiaholic_ has left
  104. adiaholic_ has joined
  105. adiaholic_ has left
  106. adiaholic_ has joined
  107. Lance has left
  108. adiaholic_ has left
  109. adiaholic_ has joined
  110. adiaholic_ has left
  111. adiaholic_ has joined
  112. mac has joined
  113. adiaholic_ has left
  114. mac has left
  115. sonny has joined
  116. sonny has left
  117. test2 has left
  118. debacle has joined
  119. test2 has joined
  120. DebXWoody has joined
  121. flow debacle, i'd probably simply mimic the pattern of xep335 for csv and init files, and i'd potentially add an 'id' attribute to the element, which identifies the payload in case there are multiple payloads of the same kind (akin to data form's FORM_FIELD, but not within the payload)
  122. flow debacle, i'd probably simply mimic the pattern of xep335 for csv and ini files, and i'd potentially add an 'id' attribute to the element, which identifies the payload in case there are multiple payloads of the same kind (akin to data form's FORM_FIELD, but not within the payload)
  123. Beherit has left
  124. sonny has joined
  125. Beherit has joined
  126. kikuchiyo has left
  127. debacle flow OK, sounds good. In my case there will be only one payload, so this is easy.
  128. kikuchiyo has joined
  129. kikuchiyo has left
  130. pep. Don't forget to namespace :)
  131. kikuchiyo has joined
  132. kikuchiyo has left
  133. kikuchiyo has joined
  134. sonny has left
  135. kikuchiyo has left
  136. kikuchiyo has joined
  137. kikuchiyo has left
  138. kikuchiyo has joined
  139. kikuchiyo has left
  140. kikuchiyo has joined
  141. kikuchiyo has left
  142. kikuchiyo has joined
  143. kikuchiyo has left
  144. kikuchiyo has joined
  145. kikuchiyo has left
  146. kikuchiyo has joined
  147. kikuchiyo has left
  148. kikuchiyo has joined
  149. adiaholic_ has joined
  150. ralphm has left
  151. ralphm has joined
  152. test2 has left
  153. debacle MattJ Why does a container for JSON exist, but not for other text types? Does "XEP-1521: Text Containers" make sense? <text xmlns="urn:xmpp:text:0" type="text/csv"> Aaron,Titus Andronicus The Abbott of Westminster,Richard II Lord Abergavenny,Henry VIII </text> With type = (whatever boils down to text in the MIME universe), maybe defaulting to "text/plain"? Or would people start to use it for multipart "application/vnd.ms-powerpoint"?
  154. jonas’ debacle, you could also go with standard <body/> and set Content-Type via XEP-0131
  155. Kev debacle: The reason for JSON containers was that lots of people shove things in body that really shouldn't be there, and it's usually JSON.
  156. Kev And there was a hope that by providing a XEP, libraries would support it and it would be as easy to do something that was less wrong as it was to do the wrong thing.
  157. sonny has joined
  158. Kev *really* the sensible thing to do is to use your own element in your own namespace when shifting stuff around that's only understood by your own application.
  159. jonas’ that’s true
  160. pep. So the obvious solution is to convert everything to JSON and use 335!
  161. sonny has left
  162. Kev ...it's less bad than shoving things in the body :)
  163. jonas’ noooooooooooo
  164. pep. :D
  165. pep. debacle: I imagine you use slix? it's quite easy to create a custom container based on the 335 module
  166. pep. Change the NS, the tag name and you're almost done
  167. pep. you can even do validation directly in there if you want
  168. pep. (just as the 335 slix module does)
  169. flow there's also xep432, but it's specific to json. I do wonder, just like debacle, if this shouldn't be applied to other text types
  170. debacle pep. libstrophe! ;-)
  171. MattJ The problem is that CSV is a terrible idea for interop
  172. debacle Not much worse than JSON ;-)
  173. MattJ JSON at least has just the RFC and the version everyone uses
  174. debacle RFC 4180. But anyway, this is about legacy/proprietary applications. It's not the scope of XMPP to fix them, I assume.
  175. Kev It's 432 I was thinking of, thanks flow.
  176. MattJ Honestly best to just use a custom element in a custom namespace
  177. Kev ^
  178. MattJ I was going to ask about 432 recently
  179. pep. I still don't get 432 :/
  180. Zash has left
  181. pep. Why..
  182. debacle kev MattJ I see. At least, that is easy.
  183. MattJ It's renamed and vastly simplified (I approve), but now it's just a wrapper around JSON containers that adds a datatype field and disco
  184. pep. Yo dawg I know you like containers so I put a container in your container
  185. MattJ Is it needed? Or better to add these to JSON containers?
  186. MattJ The original UDT was too specific and extensive, but the current XEP doesn't seem so
  187. pep. funnily the shortname is still udt
  188. Zash has joined
  189. lovetox has joined
  190. debacle OK, I will combine 0295 and 0335 then ;-) <json xmlns="urn:xmpp:json:0"> { "type": "text/csv", "data": "Aaron,Titus Andronicus..." } </json>
  191. pep. :x
  192. pep. Why
  193. debacle (kidding)
  194. pep. Ah sorry..
  195. Lance has joined
  196. Lance has left
  197. sonny has joined
  198. debacle has left
  199. wurstsalat has left
  200. wurstsalat has joined
  201. sonny has left
  202. DebXWoody has left
  203. adiaholic_ has left
  204. adiaholic_ has joined
  205. adiaholic_ has left
  206. adiaholic_ has joined
  207. sonny has joined
  208. debacle has joined
  209. paul has left
  210. paul has joined
  211. sonny has left
  212. sonny has joined
  213. flow pep.> I still don't get 432 :/ I think the idea was that xmpp client libraries provide a common API to get/set the textual data
  214. sonny has left
  215. flow compared to custom elements, this would have the advantage that you don't need to fidle with whatever you need to do to plug support for those custom elements into the library you are using
  216. flow so I see a certain appeal in that
  217. jonas’ the textual data? ITYM CDATA or JSON data
  218. jonas’ (and even CDATA I would find confusing, because the point would be to take JSON, not strings, via the API)
  219. flow hmm? textual data / char data, should be the same here
  220. flow on the xmpp library api surface it's just strings/textual data/character data
  221. jonas’ I sure hope not
  222. flow if the string is json, csv, or whatever does not matter to the string representation
  223. jonas’ then it’s no gain
  224. pep. flow, and that would already be out of spec for 432 as I understand it
  225. jonas’ on the API surface it should be JSON
  226. flow pep., yes, iirc the first version of the protoxep for xep432 was different
  227. flow that UDT (?) thingy
  228. pep. I'd rather teach devs how to use the library rather than having them use a one-size-fits-all thing that doesn't fit all
  229. flow that would allow your library to provider setters/getters like setter: setPayload(Stanza stanza, Type type, String id, String payload) → setPayload(stanza, Type.CSV, "my-data", "foo, bar, baz") getter: String getPayload(Stanza stanza, Type type, String id) → getPayload(stanza, Type.CSV, "my-data")
  230. flow that would allow your library to provide setters/getters like setter: setPayload(Stanza stanza, Type type, String id, String payload) → setPayload(stanza, Type.CSV, "my-data", "foo, bar, baz") getter: String getPayload(Stanza stanza, Type type, String id) → getPayload(stanza, Type.CSV, "my-data")
  231. Beherit has left
  232. jonas’ flow, but not in '432
  233. flow jonas’, I know, I think that was one goal of UDT
  234. jonas’ ok
  235. flow pep., again, that strikes me as something that does not exclude each other
  236. flow Smack has had JiveProperties since nearly 20 years now, and from what I can tell it is very well accepted by the users, as it allows to transport arbitrary data easily, without having to fiddle with adding custom extension elements
  237. flow I was that involved in UDT, but I think I liked the idea. not sure why it got cut down to json only
  238. flow I was not that involved in UDT, but I think I liked the idea. not sure why it got cut down to json only
  239. Beherit has joined
  240. debacle Btw. I wonder, whether this structure is correct? <iq id="1" type="set"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <publish node="mynode"> <item> <json xmlns="urn:xmpp:json:0"> {&quot;foo&quot;:123} </json> </item> </publish> </pubsub> </iq> It works well, at least, but that does not mean anything.
  241. jonas’ lgtm, but I always get confused by pubsub nesting
  242. debacle jonas’ That's why I ask ;-) But it seems things end up in PEP as intended.
  243. jonas’ then it’s probably ok :)
  244. sonny has joined
  245. sonny has left
  246. sonny has joined
  247. Lance has joined
  248. sonny has left
  249. sonny has joined
  250. sonny has left
  251. Lance has left
  252. sonny has joined
  253. sonny has left
  254. esil has joined
  255. adiaholic_ has left
  256. adiaholic_ has joined
  257. sonny has joined
  258. sonny has left
  259. sonny has joined
  260. sonny has left
  261. lovetox has left
  262. adiaholic_ has left
  263. wurstsalat has left
  264. wurstsalat has joined
  265. adiaholic_ has joined
  266. adiaholic_ has left
  267. adiaholic_ has joined
  268. adiaholic_ has left
  269. adiaholic_ has joined
  270. adiaholic_ has left
  271. adiaholic_ has joined
  272. adiaholic_ has left
  273. adiaholic_ has joined
  274. sonny has joined
  275. adiaholic_ has left
  276. lovetox has joined
  277. adiaholic_ has joined
  278. adiaholic_ has left
  279. adiaholic_ has joined
  280. adiaholic_ has left
  281. adiaholic_ has joined
  282. sonny has left
  283. adiaholic_ has left
  284. adiaholic_ has joined
  285. Lance has joined
  286. test2 has joined
  287. adiaholic_ has left
  288. adiaholic_ has joined
  289. adiaholic_ has left
  290. adiaholic_ has joined
  291. adiaholic_ has left
  292. adiaholic_ has joined
  293. adiaholic_ has left
  294. sonny has joined
  295. Lance has left
  296. test2 has left
  297. adiaholic_ has joined
  298. sonny has left
  299. adiaholic_ has left
  300. adiaholic_ has joined
  301. edhelas has left
  302. edhelas has joined
  303. adiaholic_ has left
  304. adiaholic_ has joined
  305. adiaholic_ has left
  306. adiaholic_ has joined
  307. adiaholic_ has left
  308. adiaholic_ has joined
  309. adiaholic_ has left
  310. adiaholic_ has joined
  311. Guus has left
  312. larma has left
  313. Guus has joined
  314. adiaholic_ has left
  315. sonny has joined
  316. larma has joined
  317. sonny has left
  318. sonny has joined
  319. sonny has left
  320. Guus has left
  321. Guus has joined
  322. Lance has joined
  323. marc0s has left
  324. Zash has left
  325. Zash has joined
  326. adiaholic_ has joined
  327. adiaholic_ has left
  328. adiaholic_ has joined
  329. adiaholic_ has left
  330. adiaholic_ has joined
  331. DebXWoody has joined
  332. serge90 has joined
  333. adiaholic_ has left
  334. adiaholic_ has joined
  335. Lance has left
  336. adiaholic_ has left
  337. adiaholic_ has joined
  338. adiaholic_ has left
  339. adiaholic_ has joined
  340. adiaholic_ has left
  341. adiaholic_ has joined
  342. adiaholic_ has left
  343. sonny has joined
  344. sonny has left
  345. adiaholic_ has joined
  346. Lance has joined
  347. adiaholic_ has left
  348. adiaholic_ has joined
  349. sonny has joined
  350. adiaholic_ has left
  351. adiaholic_ has joined
  352. jonnj has left
  353. adiaholic_ has left
  354. adiaholic_ has joined
  355. adiaholic_ has left
  356. adiaholic_ has joined
  357. jonnj has joined
  358. goffi has joined
  359. adiaholic_ has left
  360. adiaholic_ has joined
  361. sonny has left
  362. Guus has left
  363. Guus has joined
  364. marc0s has joined
  365. adiaholic_ has left
  366. adiaholic_ has joined
  367. lovetox has left
  368. adiaholic_ has left
  369. Wojtek has joined
  370. adiaholic_ has joined
  371. lovetox has joined
  372. jonnj has left
  373. adiaholic_ has left
  374. adiaholic_ has joined
  375. adiaholic_ has left
  376. adiaholic_ has joined
  377. sonny has joined
  378. adiaholic_ has left
  379. adiaholic_ has joined
  380. adiaholic_ has left
  381. adiaholic_ has joined
  382. test2 has joined
  383. adiaholic_ has left
  384. adiaholic_ has joined
  385. sonny has left
  386. sonny has joined
  387. adiaholic_ has left
  388. adiaholic_ has joined
  389. sonny has left
  390. sonny has joined
  391. adiaholic_ has left
  392. adiaholic_ has joined
  393. adiaholic_ has left
  394. adiaholic_ has joined
  395. jonnj has joined
  396. sonny has left
  397. sonny has joined
  398. sonny has left
  399. sonny has joined
  400. sonny has left
  401. goffi has left
  402. Yagizа has left
  403. adiaholic_ has left
  404. adiaholic_ has joined
  405. sonny has joined
  406. lovetox has left
  407. sonny has left
  408. sonny has joined
  409. sonny has left
  410. sonny has joined
  411. lovetox has joined
  412. sonny has left
  413. DebXWoody has left
  414. adiaholic_ has left
  415. sonny has joined
  416. sonny has left
  417. debacle has left
  418. sonny has joined
  419. sonny has left
  420. sonny has joined
  421. debacle has joined
  422. sonny has left
  423. serge90 has left
  424. sonny has joined
  425. rion has joined
  426. rion If anyone uses QCA for cryptography, I just added DTLS support there. So basically ready for Jingle stuff.
  427. sonny has left
  428. Zash /react najs!
  429. sonny has joined
  430. jonas’ react.js?
  431. Zash I'd rather not
  432. sonny has left
  433. test2 has left
  434. test2 has joined
  435. sonny has joined
  436. lovetox has left
  437. sonny has left
  438. sonny has joined
  439. Vaulor has left
  440. waqas has joined
  441. paul has left
  442. test2 has left
  443. debacle has left
  444. rion has left
  445. SouL has left
  446. test2 has joined