jdev - 2021-05-30


  1. gutuning has left

  2. gutuning has joined

  3. xecks has left

  4. kikuchiyo has joined

  5. debacle has left

  6. marc0s has left

  7. marc0s has joined

  8. Kiwi has left

  9. Kiwi has joined

  10. Kiwi has left

  11. gutuning has left

  12. suohua has joined

  13. moparisthebest has joined

  14. marc0s has left

  15. marc0s has joined

  16. gutuning has joined

  17. suohua has left

  18. suohua has joined

  19. suohua has left

  20. alexbay218 has joined

  21. şişio has left

  22. şişio has joined

  23. suohua has joined

  24. suohua has left

  25. suohua has joined

  26. suohua has left

  27. gutuning has left

  28. gutuning has joined

  29. xecks has joined

  30. suohua has joined

  31. suohua has left

  32. suohua has joined

  33. suohua has left

  34. gutuning has left

  35. gutuning has joined

  36. şişio has left

  37. şişio has joined

  38. xecks has left

  39. kikuchiyo has left

  40. xecks has joined

  41. kikuchiyo has joined

  42. Yagizа has joined

  43. xecks has left

  44. debacle has joined

  45. gutuning has left

  46. gutuning has joined

  47. xecks has joined

  48. marc has joined

  49. wurstsalat has left

  50. xecks has left

  51. kikuchiyo has left

  52. marc0s has left

  53. marc0s has joined

  54. kikuchiyo has joined

  55. marc0s has left

  56. marc0s has joined

  57. xecks has joined

  58. jubalh has joined

  59. Kiwi has joined

  60. Kiwi has left

  61. şişio has left

  62. kikuchiyo has left

  63. marmistrz has joined

  64. marc0s has left

  65. marc0s has joined

  66. marc has left

  67. alexbay218 has left

  68. şişio has joined

  69. gutuning has left

  70. gutuning has joined

  71. xecks has left

  72. kikuchiyo has joined

  73. Guus has joined

  74. goffi has joined

  75. marc has joined

  76. marc has left

  77. suohua has joined

  78. wurstsalat has joined

  79. marc0s has left

  80. marc0s has joined

  81. gutuning has left

  82. kikuchiyo has left

  83. kikuchiyo has joined

  84. marc0s has left

  85. marc0s has joined

  86. SouL has left

  87. marc0s has left

  88. marc0s has joined

  89. marc0s has left

  90. marc0s has joined

  91. SouL has joined

  92. pulkomandy has left

  93. pulkomandy has joined

  94. xecks has joined

  95. SouL has left

  96. marc has joined

  97. marc0s has left

  98. marc0s has joined

  99. marc0s has left

  100. marc0s has joined

  101. marc0s has left

  102. marc0s has joined

  103. marc0s has left

  104. marc0s has joined

  105. marc0s has left

  106. marc0s has joined

  107. marc0s has left

  108. marc0s has joined

  109. floretta has left

  110. floretta has joined

  111. suohua has left

  112. marc0s has left

  113. marc0s has joined

  114. gutuning has joined

  115. floretta has left

  116. floretta has joined

  117. marc0s has left

  118. marc0s has joined

  119. pulkomandy has left

  120. pulkomandy has joined

  121. floretta has left

  122. floretta has joined

  123. moparisthebest has left

  124. floretta has left

  125. floretta has joined

  126. moparisthebest has joined

  127. marc0s has left

  128. marc0s has joined

  129. paul has left

  130. paul has joined

  131. marc0s has left

  132. marc0s has joined

  133. suohua has joined

  134. gutuning has left

  135. suohua has left

  136. suohua has joined

  137. asterix has left

  138. asterix has joined

  139. SouL has joined

  140. marc0s has left

  141. marc0s has joined

  142. marc0s has left

  143. marc0s has joined

  144. SouL has left

  145. debacle has left

  146. debacle has joined

  147. kikuchiyo has left

  148. kikuchiyo has joined

  149. suohua has left

  150. xecks has left

  151. xecks has joined

  152. freyskeyd@jabberx.net has joined

  153. freyskeyd@jabberx.net

    Hello

  154. SouL has joined

  155. freyskeyd@jabberx.net

    I'm experimenting things with XMPP and I was wondering how can I implement the CORE RFC in an iteration way. I mean, the RFC is huge and I don't want to miss something.

  156. freyskeyd@jabberx.net

    I tried to check how other library/server did it but no clue. I would love to validate my experiment over time to check if it's still compliant with the core rfc. I don't really know how to start :)

  157. Zash

    Good question. Assuming you've heard the "use a library first!" rant and are determined to implement your own, I'd imagine you'd start with a basic stream parser.

  158. SouL has left

  159. jubalh has left

  160. jonas’

    Implementing the XML Stream described in the RFC is a good first start indeed.

  161. jonas’

    there are fun pitfalls to be found there

  162. freyskeyd@jabberx.net

    @Zash Yes that's what I am doing for now. But I don't have any tools to validate if I'm compliant to the CORE rfc. It's just my interpretation and I'm not confortable of claiming that my lib is compliant if I can't test it :s

  163. Sam

    freyskeyd@jabberx.net: nothing is ever really fully compliant; we all just interpret it and discover the incompatibilities as we go and then try to fix them as best we can :)

  164. marc0s has left

  165. marc0s has joined

  166. Zash

    Neither do we. Welcome to the eternal "we should have a test suite" discussion 🙂

  167. freyskeyd@jabberx.net

    @jonas’ I tried to take babystep on the RFC and implement all the way but I keep refactoring my code every chapter to match the need behaviour which is a lot of time wasted.

  168. Zash

    The RFC being huge is a good thing, even if it makes it tough to read. Better that it's explicit and exhaustive than leaving us guessing what to do (yet we do that anyway...)

  169. freyskeyd@jabberx.net

    Do you have any resource that can help me on implementing such things?

  170. jonas’

    no

  171. jonas’

    welcome to the game of reading and implementing standards :)

  172. SouL has joined

  173. jonas’

    I implemented a XMPP-specific subset of XML 1.0 a few weeks bcak

  174. Zash

    Best we can offer is other implementations

  175. jonas’

    for fun and experimentation. I thought I knew XML 1.0 from my year-long experience with XMPP, but oh boy was I wrong

  176. jonas’

    I still discovered a bunch of edge cases nobody knew of, and had to take the pickaxe at parts of the code multiple times to do stupid things the standard demands :)

  177. freyskeyd@jabberx.net

    I'm trying to implement server part of xmpp here: https://github.com/Freyskeyd/xmpp-rs

  178. Sam

    heh, every time I say "I really know nothing about XML" people are all like "how do you work on XMPP then?"… now you see what I mean :)

  179. freyskeyd@jabberx.net

    it's still really messy and have no real documentation :'(

  180. Sam

    Best advise I can give you (just in general, this isn't anything XMPP specific) is to always document as you go; it will make development way easier once things start to get bigger :)

  181. freyskeyd@jabberx.net

    I can open a stream and bind a resource but I need to implement the authentification part

  182. freyskeyd@jabberx.net

    @Sam yes, I did that on first but I was removing and adding stuff so many times that I forgot to do it

  183. pulkomandy has left

  184. şişio has left

  185. pulkomandy has joined

  186. Zash

    Authentication is another thing best done by using a library.

  187. Zash

    Even if SASL PLAIN looks really simple.

  188. freyskeyd@jabberx.net

    Now I'm focused on splitting logical aspects and trying to base my tests on the rfc to validate it, but it's hard^^

  189. freyskeyd@jabberx.net

    @Zash I'm planning to use a preexisting lib for SASL but it's more about how to handle the different authentication and how to deal with the whole session based in my current implementation

  190. şişio has joined

  191. SouL has left

  192. suohua has joined

  193. SouL has joined

  194. floretta has left

  195. floretta has joined

  196. xecks has left

  197. SouL has left

  198. suohua has left

  199. suohua has joined

  200. marc has left

  201. marc has joined

  202. floretta has left

  203. floretta has joined

  204. eta has left

  205. eta has joined

  206. xecks has joined

  207. suohua has left

  208. debacle has left

  209. Guus has left

  210. debacle has joined

  211. eta has left

  212. eta has joined

  213. paul has left

  214. paul has joined

  215. gutuning has joined

  216. pulkomandy has left

  217. pulkomandy has joined

  218. theTedd has joined

  219. theTedd

    How to implement XMPP: 1. read the RFC, digest it, and get some sleep; 2. read the RFC again noticing the parts you overlooked, digest it, and sleep; 3. sketch out a rough implementation, sleep; 4. throw away your first sketch and sketch a new implementation, cross-reference this with the RFC, sleep; 5. start writing code; 6. throw it all away and use a library because you value what little sanity you have left; 7. (smugly tell yourself you *could* have implemented it if you wanted to, but there wasn't time, and even though you are using a library, you totally understand the details of how it all works.)

  220. jonas’

    freyskeyd@jabberx.net, you may be interested in https://docs.rs/rxml/ which I started specifically to deal with XMPP XML on the server side. The goal being to not even have code for features which could be problematic (such as DTD or entity references)

  221. Sam

    Oh nice, I've started this same sort sort of thing a few times but haven't really gotten anywhere; I'll have to read through this. Thanks for the docs.

  222. qrpnxz

    lol tedd

  223. gutuning has left

  224. jonas’

    might be that search.jabber.network ran with an rxml-based parser for a while ;)

  225. xecks has left

  226. xecks has joined

  227. suohua has joined

  228. dezant has joined

  229. freyskeyd@jabberx.net

    @jonas’ I already have a working parser and stream :)

  230. paul has left

  231. paul has joined

  232. jubalh has joined

  233. suohua has left

  234. suohua has joined

  235. debacle has left

  236. jubalh has left

  237. jubalh has joined

  238. marc has left

  239. gutuning has joined

  240. COM8 has joined

  241. suohua has left

  242. suohua has joined

  243. pulkomandy has left

  244. pulkomandy has joined

  245. COM8 has left

  246. gutuning has left

  247. theTedd has left

  248. marc has joined

  249. marc has left

  250. suohua has left

  251. paul has left

  252. paul has joined

  253. marc0s has left

  254. marc0s has joined

  255. pulkomandy has left

  256. pulkomandy has joined

  257. marc0s has left

  258. marc0s has joined

  259. gutuning has joined

  260. marc has joined

  261. wurstsalat has left

  262. mac has joined

  263. mac has left

  264. mikeye has joined

  265. şişio has left

  266. şişio has joined

  267. marc0s has left

  268. marc0s has joined

  269. mac has joined

  270. wurstsalat has joined

  271. mac has left

  272. pulkomandy has left

  273. pulkomandy has joined

  274. pulkomandy has left

  275. pulkomandy has joined

  276. Guus has joined

  277. Guus has left

  278. paul has left

  279. paul has joined

  280. gutuning has left

  281. gutuning has joined

  282. Vaulor has left

  283. alacer has left

  284. SouL has joined

  285. pulkomandy has left

  286. pulkomandy has joined

  287. Alex has left

  288. alacer has joined

  289. Alex has joined

  290. Vaulor has joined

  291. pulkomandy has left

  292. pulkomandy has joined

  293. floretta has left

  294. floretta has joined

  295. floretta has left

  296. floretta has joined

  297. gutuning has left

  298. gutuning has joined

  299. paul has left

  300. paul has joined

  301. floretta has left

  302. floretta has joined

  303. SouL has left

  304. SouL has joined

  305. şişio has left

  306. floretta has left

  307. floretta has joined

  308. SouL has left

  309. SouL has joined

  310. şişio has joined

  311. Alex has left

  312. Alex has joined

  313. marc0s has left

  314. marc0s has joined

  315. SouL has left

  316. SouL has joined

  317. eta has left

  318. pulkomandy has left

  319. pulkomandy has joined

  320. marc has left

  321. marc has joined

  322. marc0s has left

  323. marc0s has joined

  324. pulkomandy has left

  325. pulkomandy has joined

  326. eta has joined

  327. marc has left

  328. SouL has left

  329. SouL has joined

  330. pulkomandy has left

  331. pulkomandy has joined

  332. debacle has joined

  333. gutuning has left

  334. gutuning has joined

  335. gutuning has left

  336. mac has joined

  337. marc has joined

  338. SouL has left

  339. SouL has joined

  340. mac has left

  341. SouL has left

  342. SouL has joined

  343. mac has joined

  344. mikeye has left

  345. mac has left

  346. gutuning has joined

  347. mac has joined

  348. mac has left

  349. mac has joined

  350. gutuning has left

  351. mac has left

  352. mac has joined

  353. marc0s has left

  354. marc0s has joined

  355. jubalh has left

  356. mac has left

  357. jubalh has joined

  358. floretta has left

  359. floretta has joined

  360. nephele has joined

  361. Yagizа has left

  362. mac has joined

  363. nephele has left

  364. mac has left

  365. mac has joined

  366. gutuning has joined

  367. pasdesushi has joined

  368. pasdesushi has left

  369. marc has left

  370. mac has left

  371. marc has joined

  372. jubalh has left

  373. Kiwi has joined

  374. marc0s has left

  375. marc0s has joined

  376. gutuning has left

  377. gutuning has joined

  378. gutuning has left

  379. omighty has left

  380. sonny has left

  381. sonny has joined

  382. sonny has left

  383. lovetox has left

  384. sonny has joined

  385. omighty has joined

  386. alexbay218 has joined

  387. lovetox has joined

  388. gutuning has joined

  389. sonny has left

  390. sonny has joined

  391. sonny has left

  392. sonny has joined

  393. jubalh has joined

  394. marc has left

  395. asterix has left

  396. asterix has joined

  397. gutuning has left

  398. gutuning has joined

  399. marc0s has left

  400. marc0s has joined

  401. goffi has left

  402. mikeye has joined

  403. mikeye has left

  404. mac has joined

  405. asterix has left

  406. asterix has joined

  407. mac has left

  408. mac has joined

  409. Sam has left

  410. Sam has joined

  411. debacle has left

  412. wurstsalat has left

  413. gutuning has left

  414. gutuning has joined

  415. dezant has left

  416. dezant has joined

  417. FireFly has left

  418. gutuning has left

  419. şişio has left

  420. Vaulor has left

  421. dezant has left

  422. dezant has joined

  423. gutuning has joined

  424. mac has left

  425. alexbay218 has left