jdev - 2021-06-04


  1. stpeter has left
  2. şişio has left
  3. mac has left
  4. mac has joined
  5. gutuning has left
  6. gutuning has joined
  7. alexbay218 has joined
  8. Kev has left
  9. Kev has joined
  10. şişio has joined
  11. dezant has left
  12. dezant has joined
  13. stpeter has joined
  14. mac has left
  15. mac has joined
  16. gutuning has left
  17. gutuning has joined
  18. alexbay218 has left
  19. asterix has left
  20. asterix has joined
  21. raghavgururajan has left
  22. raghavgururajan has joined
  23. gutuning has left
  24. gutuning has joined
  25. asterix has left
  26. asterix has joined
  27. stpeter has left
  28. jubalh has left
  29. alexbay218 has joined
  30. Kev has left
  31. Kev has joined
  32. Kev has left
  33. Kev has joined
  34. dezant has left
  35. marc0s has left
  36. marc0s has joined
  37. dezant has joined
  38. şişio has left
  39. belong has left
  40. şişio has joined
  41. Yagizа has joined
  42. gutuning has left
  43. gutuning has joined
  44. paul has joined
  45. DebXWoody has joined
  46. mikeye has joined
  47. Vaulor has left
  48. SouL has left
  49. floretta has left
  50. goffi has joined
  51. Vaulor has joined
  52. SouL has joined
  53. floretta has joined
  54. wurstsalat has joined
  55. Kev has left
  56. Kev has joined
  57. lovetox has left
  58. floretta has left
  59. floretta has joined
  60. lovetox has joined
  61. belong has joined
  62. alexbay218 has left
  63. Alex has left
  64. Alex has joined
  65. mac has left
  66. marc0s has left
  67. marc0s has joined
  68. marc0s has left
  69. marc0s has joined
  70. Guus has joined
  71. marc0s has left
  72. marc0s has joined
  73. omighty has left
  74. Guus has left
  75. t7 has joined
  76. gutuning has left
  77. marc0s has left
  78. marc0s has joined
  79. t7 has left
  80. marc0s has left
  81. marc0s has joined
  82. marc0s has left
  83. marc0s has joined
  84. mikeye has left
  85. gutuning has joined
  86. sonny has left
  87. Psypass has joined
  88. Guus has joined
  89. debacle has joined
  90. Psypass has left
  91. gutuning has left
  92. floretta has left
  93. şişio has left
  94. Guus has left
  95. şişio has joined
  96. mikeye 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. FireFly has joined
  104. marc0s has left
  105. marc0s has joined
  106. xecks has joined
  107. marc has joined
  108. mikeye has left
  109. gutuning has joined
  110. floretta has joined
  111. gutuning has left
  112. Kiwi has joined
  113. marc0s has left
  114. marc0s has joined
  115. xecks has left
  116. xecks has joined
  117. mikeye has joined
  118. mac has joined
  119. gutuning has joined
  120. floretta has left
  121. floretta has joined
  122. xecks has left
  123. xecks has joined
  124. mac has left
  125. Wojtek has joined
  126. Wojtek has left
  127. Wojtek has joined
  128. Wojtek has left
  129. gutuning has left
  130. gutuning has joined
  131. debacle has left
  132. Wojtek has joined
  133. moparisthebest has left
  134. dezant has left
  135. dezant has joined
  136. x51 has joined
  137. Sam oooh, fuzz testing my message styling parser and I found an interesting one. The string "````" makes a good test. I believe it should be the start of a pre-formatted block with "`" as the info string, but my parser somehow spits out that it's the end of a preformatted block with the info string "`" but also a separate plain token "`". None of which makes any sense and I have no idea how it's even possible :)
  138. mikeye has left
  139. gutuning has left
  140. Sam oh no, not a start one because it has no \n. Still, it shouldn't be an end one without a corresponding start one.
  141. Zash Fuzz all the things!
  142. pulkomandy has left
  143. pulkomandy has joined
  144. jonas’ parser hard
  145. Ge0rG Sam: are you documenting all those cases somewhere in machine-readable format?
  146. Ge0rG maybe a bot that would send all those messages to a requesting client?
  147. Zash maybe some kind of grammar?
  148. Sam Ge0rG: I'm not updating it regularly, but yes, I've got all my tests as a JSON blob other libraries can use if they want
  149. jonas’ Zash, no, it’s so super simple and edge-case free it doesn’t need a grammar!!!k
  150. Sam I'll add these and stick it up somewhere again after I've gone through all the interesting cases the most recent fuzz stuff found. No crashes, thankfully!
  151. Sam This is a bug in the parser; a grammar probably wouldn't have helped here.
  152. Sam But if you want to write a grammar, be my guest, it would be nice to have.
  153. jonas’ no, a grammar for such a language is needed, but a PITA to write
  154. Sam Right, that's why I'm not doing it :)
  155. Sam Oh nice, looks like that's the only issue it found, I'm not sure why it marked the rest as interesting. Time to bug fix!
  156. gutuning has joined
  157. marc has left
  158. Sam Oh no, re-read the spec, I was right the first time. No \n required.
  159. mac has joined
  160. goffi has left
  161. pulkomandy has left
  162. pulkomandy has joined
  163. goffi has joined
  164. gutuning has left
  165. goffi has left
  166. goffi has joined
  167. Martin has left
  168. goffi has left
  169. Martin has joined
  170. goffi has joined
  171. goffi has left
  172. moparisthebest has joined
  173. marc has joined
  174. pulkomandy has left
  175. pulkomandy has joined
  176. Guus has joined
  177. goffi has joined
  178. pulkomandy has left
  179. pulkomandy has joined
  180. Guus has left
  181. mac has left
  182. gutuning has joined
  183. Wojtek has left
  184. mac has joined
  185. pulkomandy has left
  186. pulkomandy has joined
  187. pulkomandy has left
  188. pulkomandy has joined
  189. pulkomandy has left
  190. pulkomandy has joined
  191. marc0s has left
  192. marc0s has joined
  193. mac has left
  194. mac has joined
  195. pulkomandy has left
  196. pulkomandy has joined
  197. marc0s has left
  198. marc0s has joined
  199. stpeter has joined
  200. mac has left
  201. mac has joined
  202. selurvedu has left
  203. mac has left
  204. floretta has left
  205. floretta has joined
  206. xecks has left
  207. floretta has left
  208. floretta has joined
  209. mac has joined
  210. Zash has left
  211. asterix has left
  212. asterix has joined
  213. sonny has joined
  214. marc0s has left
  215. marc0s has joined
  216. marc0s has left
  217. marc0s has joined
  218. gutuning has left
  219. gutuning has joined
  220. Wojtek has joined
  221. xecks has joined
  222. Zash has joined
  223. Alex has left
  224. Alex has joined
  225. selurvedu has joined
  226. jubalh has joined
  227. sonny has left
  228. sonny has joined
  229. Alex has left
  230. Alex has joined
  231. Martin If I want to check whether there are errors reported (e.g. sending to a non-existing JID) for messages sent by go-sendxmpp. Would be be checking for error replies while sending until one second after sending the last message sufficient? I'd like to find a good compromise between not missing error replies due to closing too early and having a loooong timeout which makes go-sendxmpp look like it's hung. :D
  232. gutuning has left
  233. selurvedu > hung Martin, you could do that in async fashion if you have a way to match the error replies to the messages you sent.
  234. mac has left
  235. Martin It is already a goroutine. Right now I don't match them to a message as I don't know about the message IDs as I don't generate them myself but let the library do it.
  236. gutuning has joined
  237. Martin My question is more how long shall I wait for error replies after the last message is sent.
  238. jubalh has left
  239. sonny has left
  240. gutuning has left
  241. sonny has joined
  242. debacle has joined
  243. sonny has left
  244. sonny has joined
  245. selurvedu Well, as a person with unstable internet connection, I can say it's higly variable.
  246. Holger I would probably just not wait. Plain XMPP <message/> semantics is fire and forget.
  247. Holger If the users wants some kind of acknowledgement, add optional code for that.
  248. mac has joined
  249. Holger E.g. stream management, so you can check whether the first hop was successful. For later hops, it depends; for MUC messages you could wait for reflections; for 1:1 messages, you could wait for XEP-0184 delivery receipts.
  250. marc0s has left
  251. marc0s has joined
  252. Holger But having a timeout to wait for an error sounds wrong to me.
  253. alexbay218 has joined
  254. pulkomandy has left
  255. pulkomandy has joined
  256. Martin I also thought sendxmpp tools are just fire and forget, but some people already complained it didn't work and it turned out they had a typo in the receivers JID. :D
  257. Martin I really don't want to implement smacks or such. So I thought just checking whether there are error replies would be an easy to implement "good enough" solution. :D
  258. Holger I would at least make such a behavior optional though. I could imagine other users being annoyed of unnecessary delays (when using this in the context of larger scripts) ...
  259. Martin Seems reasonable.
  260. Holger And you do open the 'it works sometimes' can.
  261. MattJ Yeah, go for acks before timeouts
  262. Holger The latter is true when waiting for ACKs as well, but 'timed out waiting for an ACK' is more intuitive feedback than 'timed out waiting for an error, so maybe we're fine'.
  263. MattJ If you get an error before the ack, handle that
  264. moparisthebest I use sendxmpp as a sendmail replacement, and that was 100% fire-and-forget
  265. jonas’ Martin, stream management + waiting for the message to be acked would be good enough. you might not even get errors on jid typos, domain typos may cause errors only minutes after
  266. jubalh has joined
  267. pulkomandy has left
  268. pulkomandy has joined
  269. Martin Ok, then I'll have to look how much effort the smacks stuff will be. :)
  270. Martin Thank you all for your input.
  271. mac has left
  272. Kiwi has left
  273. Kiwi has joined
  274. Sam has left
  275. Sam has joined
  276. gutuning has joined
  277. marc0s has left
  278. marc0s has joined
  279. Yagizа has left
  280. stpeter has left
  281. marc has left
  282. marc has joined
  283. gutuning has left
  284. Wojtek has left
  285. goffi has left
  286. dezant has left
  287. gutuning has joined
  288. dezant has joined
  289. Alex has left
  290. Alex has joined
  291. Kev has left
  292. marc has left
  293. gutuning has left
  294. gutuning has joined
  295. goffi has joined
  296. marc has joined
  297. sonny has left
  298. sonny has joined
  299. sonny has left
  300. sonny has joined
  301. xecks has left
  302. xecks has joined
  303. sonny has left
  304. sonny has joined
  305. sonny has left
  306. sonny has joined
  307. sonny has left
  308. sonny has joined
  309. xecks has left
  310. xecks has joined
  311. mac has joined
  312. jubalh has left
  313. mac has left
  314. şişio has left
  315. şişio has joined
  316. Kiwi has left
  317. xecks has left
  318. xecks has joined
  319. gutuning has left
  320. DebXWoody has left
  321. DebXWoody has joined
  322. mac has joined
  323. belong has left
  324. belong has joined
  325. şişio has left
  326. jubalh has joined
  327. gutuning has joined
  328. dezant has left
  329. marc0s has left
  330. marc0s has joined
  331. xecks has left
  332. şişio has joined
  333. dezant has joined
  334. jubalh has left
  335. DebXWoody has left
  336. Guus has joined
  337. goffi has left
  338. goffi has joined
  339. Guus has left
  340. goffi has left
  341. goffi has joined
  342. Zash has left
  343. gutuning has left
  344. gutuning has joined
  345. Kiwi has joined
  346. mac has left
  347. xecks has joined
  348. marc0s has left
  349. marc0s has joined
  350. mac has joined
  351. xecks has left
  352. xecks has joined
  353. jubalh has joined
  354. asterix has left
  355. asterix has joined
  356. mac has left
  357. asterix has left
  358. asterix has joined
  359. gutuning has left
  360. gutuning has joined
  361. pasdesushi has joined
  362. Zash has joined
  363. pasdesushi has left
  364. pasdesushi has joined
  365. pasdesushi has left
  366. pasdesushi has joined
  367. marc0s has left
  368. sonny has left
  369. sonny has joined
  370. pasdesushi has left
  371. pasdesushi has joined
  372. sonny has left
  373. sonny has joined
  374. pasdesushi has left
  375. pasdesushi has joined
  376. pasdesushi has left
  377. pasdesushi has joined
  378. pasdesushi has left
  379. pasdesushi has joined
  380. pasdesushi has left
  381. pasdesushi has joined
  382. marc0s has joined
  383. mac has joined
  384. xecks has left
  385. pasdesushi has left
  386. pasdesushi has joined
  387. pasdesushi has left
  388. pasdesushi has joined
  389. pasdesushi has left
  390. pasdesushi has joined
  391. asterix has left
  392. pasdesushi has left
  393. pasdesushi has joined
  394. pasdesushi has left
  395. xecks has joined
  396. marc0s has left
  397. marc0s has joined
  398. pasdesushi has joined
  399. lovetox has left
  400. pasdesushi has left
  401. gutuning has left
  402. gutuning has joined
  403. pasdesushi has joined
  404. xecks has left
  405. xecks has joined
  406. pasdesushi has left
  407. pasdesushi has joined
  408. pasdesushi has left
  409. pasdesushi has joined
  410. pasdesushi has left
  411. pasdesushi has joined
  412. wurstsalat has left
  413. xecks has left
  414. xecks has joined
  415. marc0s has left
  416. marc0s has joined
  417. mac has left
  418. mac has joined
  419. xecks has left
  420. pasdesushi has left
  421. pasdesushi has joined
  422. xecks has joined
  423. alacer has joined
  424. x51 has left
  425. gutuning has left
  426. alacer has left
  427. pasdesushi has left
  428. marc has left
  429. marc has joined
  430. marc has left
  431. sonny has left
  432. sonny has joined
  433. marc has joined
  434. sonny has left
  435. sonny has joined
  436. debacle has left