jdev - 2020-03-26

  1. allie has left

  2. debacle has left

  3. kikuchiyo has left

  4. aj has left

  5. lovetox has left

  6. lovetox has joined

  7. moparisthebest has joined

  8. DebXWoody has joined

  9. DebXWoody has left

  10. DebXWoody has joined

  11. kikuchiyo has joined

  12. rion has left

  13. rion has joined

  14. moparisthebest has left

  15. paul has joined

  16. Neustradamus has joined

  17. Neustradamus has left

  18. wurstsalat has joined

  19. kikuchiyo has left

  20. kikuchiyo has joined

  21. Guus has joined

  22. Jeybe has joined

  23. pulkomandy has left

  24. Jeybe has left

  25. Jeybe has joined

  26. pulkomandy has joined

  27. Jeybe has left

  28. Jeybe has joined

  29. asterix has joined

  30. Jeybe has left

  31. Jeybe has joined

  32. goffi has joined

  33. Jeybe has left

  34. Jeybe has joined

  35. Jeybe has left

  36. Jeybe has joined

  37. Jeybe has left

  38. Jeybe has joined

  39. kikuchiyo has left

  40. kikuchiyo has joined

  41. pulkomandy has left

  42. Jeybe has left

  43. Jeybe has joined

  44. Jeybe has left

  45. Jeybe has joined

  46. lovetox has left

  47. pulkomandy has joined

  48. Marc has joined

  49. kikuchiyo has left

  50. Jeybe has left

  51. Jeybe has joined

  52. Jeybe has left

  53. Jeybe has joined

  54. kikuchiyo has joined

  55. Jeybe has left

  56. Jeybe has joined

  57. Jeybe has left

  58. Jeybe has joined

  59. asterix has left

  60. asterix has joined

  61. kikuchiyo has left

  62. debacle has joined

  63. Zash has left

  64. Jeybe has left

  65. Jeybe has joined

  66. Zash has joined

  67. kikuchiyo has joined

  68. Zash has left

  69. Zash has joined

  70. pulkomandy has left

  71. Jeybe has left

  72. Jeybe has joined

  73. kikuchiyo has left

  74. Jeybe has left

  75. Jeybe has joined

  76. pulkomandy has joined

  77. Jeybe has left

  78. Jeybe has joined

  79. debacle has left

  80. kikuchiyo has joined

  81. asterix has left

  82. asterix has joined

  83. Jeybe has left

  84. Jeybe has joined

  85. Zash has left

  86. Jeybe has left

  87. Jeybe has joined

  88. debacle has joined

  89. Zash has joined

  90. Jeybe has left

  91. Jeybe has joined

  92. Jeybe has left

  93. Jeybe has joined

  94. Jeybe has left

  95. Jeybe has joined

  96. kikuchiyo has left

  97. kikuchiyo has joined

  98. pulkomandy has left

  99. lovetox has joined

  100. asterix has left

  101. asterix has joined

  102. Jeybe has left

  103. Jeybe has joined

  104. Alex has joined

  105. Jeybe has left

  106. Jeybe has joined

  107. pulkomandy has joined

  108. lovetox has left

  109. Jeybe has left

  110. Jeybe has joined

  111. Jeybe has left

  112. Jeybe has joined

  113. pulkomandy has left

  114. pulkomandy has joined

  115. Jeybe has left

  116. Jeybe has joined

  117. Jeybe has left

  118. Jeybe has joined

  119. asterix has left

  120. asterix has joined

  121. Jeybe has left

  122. Jeybe has joined

  123. asterix has left

  124. asterix has joined

  125. Jeybe has left

  126. Jeybe has joined

  127. lovetox has joined

  128. Jeybe has left

  129. Jeybe has joined

  130. rion has left

  131. rion has joined

  132. Jeybe has left

  133. Jeybe has joined

  134. asterix has left

  135. asterix has joined

  136. Jeybe has left

  137. Jeybe has joined

  138. Jeybe has left

  139. Jeybe has joined

  140. pulkomandy has left

  141. Jeybe has left

  142. Jeybe has joined

  143. Jeybe has left

  144. Jeybe has joined

  145. asterix has left

  146. asterix has joined

  147. asterix has left

  148. asterix has joined

  149. Jeybe has left

  150. Jeybe has joined

  151. pulkomandy has joined

  152. Jeybe has left

  153. Jeybe has joined

  154. Jeybe has left

  155. Jeybe has joined

  156. Jeybe has left

  157. Jeybe has joined

  158. Jeybe has left

  159. Jeybe has joined

  160. Jeybe has left

  161. Jeybe has joined

  162. Jeybe has left

  163. Jeybe has joined

  164. asterix has left

  165. asterix has joined

  166. Jeybe has left

  167. Jeybe has joined

  168. Jeybe has left

  169. Jeybe has joined

  170. Jeybe has left

  171. Jeybe has joined

  172. Jeybe has left

  173. Jeybe has joined

  174. Jeybe has left

  175. Jeybe has joined

  176. Neustradamus has joined

  177. Neustradamus has left

  178. pulkomandy has left

  179. pulkomandy has joined

  180. Jeybe has left

  181. Jeybe has joined

  182. Jeybe has left

  183. Jeybe has joined

  184. pulkomandy has left

  185. Jeybe has left

  186. Jeybe has joined

  187. lovetox has left

  188. Jeybe has left

  189. Jeybe has joined

  190. pulkomandy has joined

  191. moparisthebest has joined

  192. Jeybe has left

  193. Jeybe has joined

  194. Jeybe has left

  195. Jeybe has joined

  196. Jeybe has left

  197. Jeybe has joined

  198. pulkomandy has left

  199. pulkomandy has joined

  200. asterix has left

  201. asterix has joined

  202. Jeybe has left

  203. Jeybe has joined

  204. Jeybe has left

  205. Jeybe has joined

  206. Alex has left

  207. Jeybe has left

  208. Jeybe has joined

  209. pulkomandy has left

  210. pulkomandy has joined

  211. Jeybe has left

  212. Jeybe has joined

  213. asterix has left

  214. asterix has joined

  215. asterix has left

  216. asterix has joined

  217. Martin has left

  218. Martin has joined

  219. pulkomandy has left

  220. pulkomandy has joined

  221. Jeybe has left

  222. Jeybe has joined

  223. Jeybe has left

  224. Jeybe has joined

  225. pulkomandy has left

  226. Jeybe has left

  227. Jeybe has joined

  228. Jeybe has left

  229. Jeybe has joined

  230. Jeybe has left

  231. Jeybe has joined

  232. pulkomandy has joined

  233. pulkomandy has left

  234. pulkomandy has joined

  235. pulkomandy has left

  236. pulkomandy has joined

  237. tsk has joined

  238. Jeybe has left

  239. Jeybe has joined

  240. goffi has left

  241. goffi has joined

  242. Alex has joined

  243. Jeybe has left

  244. Jeybe has joined

  245. pulkomandy has left

  246. pulkomandy has joined

  247. kikuchiyo has left

  248. kikuchiyo has joined

  249. asterix has left

  250. asterix has joined

  251. Wojtek has joined

  252. Jeybe has left

  253. lovetox has joined

  254. asterix has left

  255. asterix has joined

  256. asterix has left

  257. asterix has joined

  258. alexis has left

  259. alexis has joined

  260. tsk has left

  261. lovetox has left

  262. pulkomandy has left

  263. pulkomandy has joined

  264. asterix has left

  265. asterix has joined

  266. pulkomandy has left

  267. pulkomandy has joined

  268. Martin has left

  269. Martin has joined

  270. sonny has left

  271. lovetox has joined

  272. Martin has left

  273. asterix has left

  274. asterix has joined

  275. Jeybe has joined

  276. pulkomandy has left

  277. Martin has joined

  278. goffi has left

  279. goffi has joined

  280. pulkomandy has joined

  281. pulkomandy has left

  282. pulkomandy has joined

  283. sonny has joined

  284. alexis has left

  285. pulkomandy has left

  286. Jeybe has left

  287. pulkomandy has joined

  288. Jeybe has joined

  289. Jeybe has left

  290. lovetox

    little offtopic but i dont know an appropriate room for the question

  291. lovetox

    at work i browse with firefox, it always tells me that it does not recognize the CA of the cert, but the cert seems to be installed as root cert on my maschine so firefox is fine with it

  292. lovetox

    the cert is obviously from my company

  293. lovetox

    does that mean they can intercept and read all TLS traffic?

  294. Zash

    Sounds like a MITM TLS proxy.

  295. Zash

    Then yes, those can read all your TLS traffic.

  296. lovetox

    hm i guess its their right, i use their hardware, but annoys me a bit

  297. asterix has left

  298. asterix has joined

  299. pulkomandy has left

  300. flow

    I am pretty sure they do not have the right if you fall under german jurisdiction

  301. Ge0rG

    flow: they are allowed to do so if you are not allowed to use the PC for private purposes

  302. asterix has left

  303. asterix has joined

  304. Alex has left

  305. lovetox

    in Austria they can read all you do

  306. Alex has joined

  307. lovetox

    they are just not allowed in some circumstances to make it a offical reason for a lay off

  308. pulkomandy has joined

  309. asterix has left

  310. asterix has joined

  311. asterix has left

  312. asterix has joined

  313. Jeybe has joined

  314. asterix has left

  315. asterix has joined

  316. Jeybe has left

  317. Jeybe has joined

  318. asterix has left

  319. asterix has joined

  320. Wojtek has left

  321. Wojtek has joined

  322. Jeybe has left

  323. Jeybe has joined

  324. rion has left

  325. rion has joined

  326. pulkomandy has left

  327. Jeybe has left

  328. Zash has left

  329. Zash has joined

  330. tsk has joined

  331. pulkomandy has joined

  332. SouL has left

  333. SouL has joined

  334. Martin has left

  335. Martin has joined

  336. Jeybe has joined

  337. Jeybe has left

  338. Jeybe has joined

  339. pulkomandy has left

  340. pulkomandy has joined

  341. tsk has left

  342. Jeybe has left

  343. Jeybe has joined

  344. Jeybe has left

  345. Jeybe has joined

  346. paul has left

  347. Jeybe has left

  348. Jeybe has joined

  349. goffi has left

  350. Jeybe has left

  351. Jeybe has joined

  352. pep.

    When reading a stanza/xml element, is there a case where one would want to know the declared prefixes ever? apart to determine what's the "default" NS for the current element. With this I mean "bar" for <foo xmlns="bar"/> or <ns:foo xmlns:ns="bar"/> are technically equivalent and there's no reason for the higher-level application to be aware of the difference, right?

  353. Zash

    Not that I've encountered.

  354. pep.

    You'd want to set a custom prefix I guess for special cases like stream:stream, or for debugging maybe

  355. pep.

    (even though 0044..)

  356. DebXWoody has left

  357. lovetox has left

  358. Zash

    I don't see how anything is improved by spamming namespace prefixes like that.

  359. pep.


  360. lovetox has joined

  361. Zash


  362. alexis has joined

  363. moparisthebest has left

  364. pep.

    yeah I guess the version thing is meh. I'd say it's a contrived exapmle just to show support

  365. pep.

    In practice you probably wouldn't generate this, that's not really smart

  366. alexis has left

  367. Zash

    You did say 'when reading'.

  368. pep.

    Ok. Well that confirms what I was asking anyway

  369. pep.

    You don't need to know

  370. Zash

    When serializing there might sometimes be some benefit, like not having to have the xmlns twice in errors

  371. pep.

    what do you mean

  372. Zash

    <iq id="dawsdfRgbxBQAfF6" type="error" to="me" from="borkborkbork"> <error by="my server" type="cancel"> <remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/> <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Server-to-server connection failed: unable to resolve service</text> </error> </iq>

  373. Zash

    Observe how the error condition and text elements have the same xmlns. And it's not the shortest one ever.

  374. pep.

    sure but prefixes are not important here right

  375. pep.

    NSs are

  376. pep.

    hmm I'm not sure I understand sorry

  377. Zash

    It's verbose and a pain to read.

  378. pep.

    Sure, and you can deduplicate that

  379. pep.

    We're not talking about the same thing

  380. pep.

    That's not the layer I'm currently worried about :)

  381. Zash

    <error by="my server" type="cancel" xmlns:e="urn:ietf:params:xml:ns:xmpp-stanzas"> <e:remote-server-not-found/> <e:text>Server-to-server connection failed: unable to resolve service</e:text> </error> Would be fewer bytes and easier to read.

  382. pep.

    What I get from this is there is no need for the application to know about the prefix

  383. Zash


  384. Zash

    Not unless it wants to be annoying and really enforce that the <stream:stream> has that exact prefix.

  385. Zash

    ... which IIRC is required by the standard

  386. pep.

    yeah, I have an idea for the API

  387. pep.

    That'd be an extra step, by default I'll just not ask for prefixes

  388. Zash

    If you wanna serialize the input back exactly then I guess you wanna keep it

  389. pep.

    And they will be generated

  390. pep.


  391. Zash

    But if you're a server routing stanzas it might be more efficient to keep the actual input

  392. Jeybe has left

  393. Jeybe has joined

  394. Jeybe has left

  395. Jeybe has joined

  396. paul has joined

  397. alexis has joined

  398. alexis has left

  399. alexis has joined

  400. Jeybe has left

  401. Jeybe has joined

  402. Kev

    We were recently looking at this and came to the conclusion that the server should be preserving prefixes etc. I forget what led us there.

  403. Jeybe has left

  404. Jeybe has joined

  405. pep.


  406. pep.

    But preserving prefixes is different from not exposing them to the user of my library anyway

  407. Kev


  408. lovetox has left

  409. alexis has left

  410. Jeybe has left

  411. Jeybe has joined

  412. alexis has joined

  413. Jeybe has left

  414. Jeybe has joined

  415. Jeybe has left

  416. Jeybe has joined

  417. Jeybe has left

  418. Jeybe has joined

  419. Jeybe has left

  420. allie has joined

  421. paul has left

  422. moparisthebest has joined

  423. moparisthebest has left

  424. moparisthebest has joined