jdev - 2022-02-28


  1. emus has left
  2. oxtyped has joined
  3. oxtyped has left
  4. Martin has left
  5. larma has left
  6. Martin has joined
  7. wurstsalat has left
  8. kfv has left
  9. kfv has joined
  10. SouL has joined
  11. oxtyped has joined
  12. kfv has left
  13. kfv has joined
  14. oxtyped has left
  15. debacle has left
  16. abdullah has left
  17. abdullah has joined
  18. oxtyped has joined
  19. oxtyped has left
  20. SouL has left
  21. Sam Messages with any type that's not one of the defined ones (including a missing attribute) default to type="normal". Is there any reason why I'd ever need to distinguish between type="" and type="normal" even though technically they're the same thing?
  22. mac has left
  23. 9lakes has left
  24. Sam I'm debating whether it's better to unmarshal XML with type="" into "Type: 'normal'" in the struct I'm using or if it's better to leave the struct with the wire value and only consider an empty attribute to be "normal" when doing any sort of pattern matching on the stanza
  25. Sam Having the user be able to do a naive comparison "msg.Type == 'normal'" would be nice, but I have a vague feeling I'll want the wire value at some point for some reason.
  26. Millesimus has left
  27. jalal has left
  28. Millesimus has joined
  29. oxtyped has joined
  30. moparisthebest my gut feeling is that belongs higher in the stack, so that the user can always get at the raw XML
  31. moparisthebest but since I know nothing about your library you should take that with a hefty grain of salt
  32. qy https://xmpp.xa0.uk:5281/upload/azCIolN6-Zwc4coQ/DyqponZW0AEtL8L.jpg
  33. qy (is it still really a grain at that point?)
  34. moparisthebest everything is relative!
  35. Sam yah, I have the same feeling. I can't think of any reason why that would be the case though.
  36. Sam And the raw xml is already lost, my xml library doesn't preserve it
  37. moparisthebest oh, well if that's the case then maybe doesn't matter
  38. moparisthebest from a debugging POV, it's rough if you say "hey I think your client/server has a bug, but since I can't see the raw xml, it might be my bug"
  39. Sam eg. <a/> and <a></a> are indistinguishable.
  40. J Marinaro has left
  41. J Marinaro has joined
  42. J Marinaro has left
  43. kikuchiyo has left
  44. kikuchiyo has joined
  45. Sam Tried to write up all the possible solutions I could think of, and I think I've convinced myself that just doing it at the wire boundary is the best solution.
  46. Sam If we do it during pattern matching it has the issues I already mentioned (plus our stanza matching is modular, users can pull it out and use their own xpath based version, for example, if they wanted and they'd have to know to reimplement this logic there)
  47. Sam If we do something like give messages a TypeAttr() method that returns the normalized type attribute we can compare against that, and still have the original value preserved, but it creates a weird side channel where we decode a message with type="someinfo" and then if we use the same message struct and forward it somewhere else for some reason we send whatever invalid type attribute got sent to us. That feels like some sort of privacy issue waiting to happen.
  48. Sam So maybe just normalizing it when it comes in or goes out over the wire keeps things simple. We won't be able to interface with broken implementations that use their own custom type attributes (and I'd bet those exist), but I'm not sure how important that is.
  49. oxtyped has left
  50. oxtyped has joined
  51. mac has joined
  52. oxtyped has left
  53. moparisthebest is there a list of shame anywhere of all the TLDs that don't support DNSSEC ?
  54. Sam Not specifically a list of shame but https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains has all the info
  55. Millesimus has left
  56. jalal has joined
  57. selurvedu has left
  58. selurvedu has joined
  59. Millesimus has joined
  60. moparisthebest ...but can I parse it with grep >_> <_< thanks Sam !
  61. Yagizа has joined
  62. msavoritias has joined
  63. msavoritias has left
  64. msavoritias has joined
  65. oxtyped has joined
  66. nephele has joined
  67. SouL has joined
  68. nephele has left
  69. marc0s has left
  70. marc0s has joined
  71. jalal has left
  72. rafasaurus has left
  73. rafasaurus has joined
  74. atomicwatch has joined
  75. wurstsalat has joined
  76. pasdesushi has joined
  77. pasdesushi has left
  78. pasdesushi has joined
  79. me9 has joined
  80. Ingolf has joined
  81. jgart has left
  82. oxtyped has left
  83. oxtyped has joined
  84. emus has joined
  85. jalal has joined
  86. atomicwatch has left
  87. atomicwatch has joined
  88. me9 has left
  89. oxtyped has left
  90. kikuchiyo has left
  91. nephele has joined
  92. mirux has joined
  93. nephele has left
  94. nephele has joined
  95. kikuchiyo has joined
  96. nephele has left
  97. marmistrz has joined
  98. kfv has left
  99. kfv has joined
  100. oxtyped has joined
  101. oxtyped has left
  102. oxtyped has joined
  103. mh has left
  104. marc has joined
  105. Millesimus has left
  106. goffi has joined
  107. oxtyped has left
  108. rafasaurus has left
  109. Laura has joined
  110. debacle has joined
  111. mac has left
  112. mac has joined
  113. nephele has joined
  114. pulkomandy has left
  115. FireFly has joined
  116. mh has joined
  117. Alex has joined
  118. Matrix Traveler (bot) has left
  119. homebeach has left
  120. Matrix Traveler (bot) has joined
  121. homebeach has joined
  122. nephele has left
  123. rafasaurus has joined
  124. kfv has left
  125. kfv has joined
  126. marmistrz has left
  127. oxtyped has joined
  128. marc has left
  129. Kev has joined
  130. oxtyped has left
  131. oxtyped has joined
  132. marc has joined
  133. oxtyped has left
  134. marc has left
  135. 9lakes has joined
  136. marc has joined
  137. rafasaurus has left
  138. rafasaurus has joined
  139. emus has left
  140. disgyze has joined
  141. disgyze has left
  142. disgyze has joined
  143. oxtyped has joined
  144. Dele Olajide has joined
  145. oxtyped has left
  146. larma has joined
  147. emus has joined
  148. disgyze has left
  149. kfv has left
  150. kfv has joined
  151. disgyze has joined
  152. disgyze has left
  153. disgyze has joined
  154. disgyze has left
  155. disgyze has joined
  156. disgyze has left
  157. disgyze has joined
  158. disgyze has left
  159. disgyze has joined
  160. disgyze has left
  161. disgyze has joined
  162. disgyze has left
  163. disgyze has joined
  164. disgyze has left
  165. disgyze has joined
  166. disgyze has left
  167. disgyze has joined
  168. nephele has joined
  169. nephele has left
  170. nephele has joined
  171. nephele has left
  172. nephele has joined
  173. kfv has left
  174. kfv has joined
  175. Wojtek has joined
  176. disgyze has left
  177. oxtyped has joined
  178. dormouse has joined
  179. nephele has left
  180. oxtyped has left
  181. mac has left
  182. mac has joined
  183. goffi has left
  184. nephele has joined
  185. selurvedu has left
  186. Millesimus has joined
  187. kfv has left
  188. kfv has joined
  189. nephele has left
  190. larma has left
  191. Millesimus has left
  192. Millesimus has joined
  193. selurvedu has joined
  194. PapaTutuWawa has joined
  195. 9lakes has left
  196. 9lakes has joined
  197. Wojtek has left
  198. Wojtek has joined
  199. Millesimus has left
  200. oxtyped has joined
  201. goffi has joined
  202. oxtyped has left
  203. oxtyped has joined
  204. marc0s has left
  205. marc0s has joined
  206. Alex has left
  207. Alex has joined
  208. oxtyped has left
  209. inky has left
  210. abdullah has left
  211. inky has joined
  212. mac has left
  213. mac has joined
  214. abdullah has joined
  215. dormouse has left
  216. marc0s has left
  217. marc0s has joined
  218. paul has left
  219. larma has joined
  220. dormouse has joined
  221. paul has joined
  222. rafasaurus has left
  223. Kev has left
  224. Kev has joined
  225. xnamed has left
  226. xnamed has joined
  227. rafasaurus has joined
  228. Wojtek has left
  229. Wojtek has joined
  230. nephele has joined
  231. nephele has left
  232. nephele has joined
  233. selurvedu has left
  234. oxtyped has joined
  235. nephele has left
  236. nephele has joined
  237. selurvedu has joined
  238. Dele Olajide has left
  239. oxtyped has left
  240. nephele has left
  241. nephele has joined
  242. nephele has left
  243. nephele has joined
  244. nephele has left
  245. Dele Olajide has joined
  246. jalal has left
  247. Millesimus has joined
  248. me9 has joined
  249. oxtyped has joined
  250. jgart has joined
  251. oxtyped has left
  252. kfv has left
  253. kfv has joined
  254. marc0s has left
  255. marc0s has joined
  256. PapaTutuWawa has left
  257. nephele has joined
  258. thomaslewis has left
  259. nephele has left
  260. nephele has joined
  261. nephele has left
  262. nephele has joined
  263. emus has left
  264. nephele has left
  265. nephele has joined
  266. nephele has left
  267. selurvedu has left
  268. emus has joined
  269. nephele has joined
  270. nephele has left
  271. nephele has joined
  272. nephele has left
  273. nephele has joined
  274. spectrum has left
  275. nephele has left
  276. nephele has joined
  277. jalal has joined
  278. goffi has left
  279. FireFly has left
  280. FireFly has joined
  281. goffi has joined
  282. Dele Olajide has left
  283. nephele has left
  284. spectrum has joined
  285. rafasaurus has left
  286. Wojtek has left
  287. Wojtek has joined
  288. marc0s has left
  289. marc0s has joined
  290. pulkomandy has joined
  291. rafasaurus has joined
  292. oxtyped has joined
  293. thomaslewis has joined
  294. thomaslewis has left
  295. oxtyped has left
  296. nephele has joined
  297. nephele has left
  298. nephele has joined
  299. sonny has left
  300. sonny has joined
  301. nephele has left
  302. oxtyped has joined
  303. goffi has left
  304. oxtyped has left
  305. thomaslewis has joined
  306. thomaslewis has left
  307. rafasaurus has left
  308. nephele has joined
  309. xecks has left
  310. nephele has left
  311. jalal has left
  312. xecks has joined
  313. rafasaurus has joined
  314. jalal has joined
  315. me9 has left
  316. cedar has left
  317. abdullah has left
  318. abdullah has joined
  319. Wojtek has left
  320. Wojtek has joined
  321. oxtyped has joined
  322. COM8 has joined
  323. COM8 has left
  324. COM8 has joined
  325. COM8 has left
  326. oxtyped has left
  327. abdullah has left
  328. cedar has joined
  329. abdullah has joined
  330. marc0s has left
  331. marc0s has joined
  332. nephele has joined
  333. nephele has left
  334. nephele has joined
  335. thomaslewis has joined
  336. thomaslewis has left
  337. thomaslewis has joined
  338. thomaslewis has left
  339. marc has left
  340. nephele has left
  341. nephele has joined
  342. marc has joined
  343. nephele has left
  344. marc has left
  345. marc has joined
  346. abdullah has left
  347. oxtyped has joined
  348. oxtyped has left
  349. abdullah has joined
  350. COM8 has joined
  351. COM8 has left
  352. COM8 has joined
  353. larma has left
  354. COM8 has left
  355. nephele has joined
  356. marmistrz has joined
  357. nephele has left
  358. nephele has joined
  359. nephele has left
  360. nephele has joined
  361. nephele has left
  362. nephele has joined
  363. nephele has left
  364. nephele has joined
  365. nephele has left
  366. nephele has joined
  367. Yagizа has left
  368. oxtyped has joined
  369. nephele has left
  370. nephele has joined
  371. oxtyped has left
  372. xnamed has left
  373. nephele has left
  374. nephele has joined
  375. xnamed has joined
  376. nephele has left
  377. nephele has joined
  378. Wojtek has left
  379. nephele has left
  380. nephele has joined
  381. abdullah has left
  382. selurvedu has joined
  383. nephele has left
  384. nephele has joined
  385. oxtyped has joined
  386. pep. has left
  387. pep. has joined
  388. xnamed has left
  389. nephele has left
  390. nephele has joined
  391. oxtyped has left
  392. nephele has left
  393. nephele has joined
  394. abdullah has joined
  395. nephele has left
  396. nephele has joined
  397. mac has left
  398. thomaslewis has joined
  399. 9lakes has left
  400. nephele has left
  401. mac has joined
  402. nephele has joined
  403. nephele has left
  404. nephele has joined
  405. xnamed has joined
  406. TheCoffeMaker has left
  407. TheCoffeMaker has joined
  408. nephele has left
  409. mirux has left
  410. atomicwatch has left
  411. larma has joined
  412. me9 has joined
  413. atomicwatch has joined
  414. kfv has left
  415. kfv has joined
  416. selurvedu has left
  417. selurvedu has joined
  418. oxtyped has joined
  419. thomaslewis has left
  420. oxtyped has left
  421. msavoritias has left
  422. thomaslewis has joined
  423. thomaslewis has left
  424. thomaslewis has joined
  425. me9 has left
  426. mac has left
  427. mac has joined
  428. emus has left
  429. emus has joined
  430. xnamed has left
  431. atomicwatch has left
  432. xnamed has joined
  433. SouL has left
  434. oxtyped has joined
  435. oxtyped has left
  436. wop001@no-bullchat.net has joined
  437. huhn has joined
  438. huhn has left
  439. wop001@no-bullchat.net has left
  440. oxtyped has joined
  441. wop001@no-bullchat.net has joined
  442. oxtyped has left
  443. Alex has left
  444. marc has left
  445. wop001@no-bullchat.net has left
  446. marc0s has left
  447. xnamed has left
  448. wurstsalat has left
  449. marc0s has joined
  450. Millesimus has left
  451. oxtyped has joined
  452. xnamed has joined
  453. larma has left
  454. oxtyped has left
  455. Kev has left
  456. xnamed has left
  457. Millesimus has joined
  458. Laura has left
  459. marc0s has left
  460. marc0s has joined
  461. goffi has joined
  462. xnamed has joined
  463. marmistrz has left
  464. Millesimus has left
  465. Millesimus has joined
  466. Dele Olajide has joined