jdev - 2021-07-06

  1. lovetox has left
  2. kikuchiyo has left
  3. kikuchiyo has joined
  4. asterix has left
  5. asterix has joined
  6. dezant has left
  7. pulkomandy has left
  8. pulkomandy has joined
  9. Kiwi has left
  10. gutuning has left
  11. gutuning has joined
  12. marc0s has left
  13. marc0s has joined
  14. idk has left
  15. idk has joined
  16. lovetox has joined
  17. jgart has joined
  18. mac has left
  19. gutuning has left
  20. Yagizа has joined
  21. sam has joined
  22. sam hi
  23. dezant has joined
  24. Alex has left
  25. idk has left
  26. sam has left
  27. sonny has left
  28. dezant has left
  29. dezant has joined
  30. Yagizа has left
  31. gutuning has joined
  32. Yagizа has joined
  33. marc0s has left
  34. marc0s has joined
  35. gutuning has left
  36. jgart hi
  37. lovetox has left
  38. dezant has left
  39. hardweary has joined
  40. hardweary has left
  41. hardweary has joined
  42. lovetox has joined
  43. paul has joined
  44. scorch has joined
  45. scorch has left
  46. scorch has joined
  47. kikuchiyo has left
  48. wurstsalat has joined
  49. dezant has joined
  50. Yagizа has left
  51. Yagizа has joined
  52. Alex has joined
  53. Yagizа has left
  54. Yagizа has joined
  55. Yagizа has left
  56. debacle has joined
  57. idk has joined
  58. gutuning has joined
  59. Yagizа has joined
  60. kikuchiyo has joined
  61. xecks has left
  62. idk has left
  63. gav has joined
  64. gutuning has left
  65. gutuning has joined
  66. emus has joined
  67. xecks has joined
  68. FireFly has joined
  69. gutuning has left
  70. debacle has left
  71. Alex has left
  72. hardweary has left
  73. asterix has left
  74. asterix has joined
  75. marc has joined
  76. Alex has joined
  77. dezant has left
  78. gav has left
  79. debacle has joined
  80. marc has left
  81. gutuning has joined
  82. rom1dep has left
  83. jgart has left
  84. rom1dep has joined
  85. cassidy has joined
  86. jgart has joined
  87. jgart has left
  88. sonny has joined
  89. marc has joined
  90. dezant has joined
  91. Alex has left
  92. Alex has joined
  93. gutuning has left
  94. scorch has left
  95. gutuning has joined
  96. mikeye has joined
  97. scorch has joined
  98. Kiwi has joined
  99. Kev has joined
  100. Kev has left
  101. mikeye has left
  102. kikuchiyo has left
  103. mikeye has joined
  104. selurvedu has left
  105. dezant has left
  106. goffi has joined
  107. mikeye has left
  108. Yagizа has left
  109. raghavgururajan has left
  110. raghavgururajan has joined
  111. gav has joined
  112. gutuning has left
  113. dezant has joined
  114. gutuning has joined
  115. goffi has left
  116. goffi has joined
  117. marc has left
  118. marc has joined
  119. mikeye has joined
  120. kikuchiyo has joined
  121. scorch has left
  122. Kiwi has left
  123. Kiwi has joined
  124. Kiwi has left
  125. Kiwi has joined
  126. scorch has joined
  127. Wojtek has joined
  128. rom1dep has left
  129. gutuning has left
  130. gutuning has joined
  131. rom1dep has joined
  132. Link Mauve has left
  133. Link Mauve has joined
  134. mikeye has left
  135. gutuning has left
  136. gutuning has joined
  137. asterix has left
  138. asterix has joined
  139. FireFly has left
  140. FireFly has joined
  141. scorch has left
  142. asterix has left
  143. asterix has joined
  144. ConcernedPerson has joined
  145. ConcernedPerson Hey all. What are your thoughts on this (https://news.ycombinator.com/item?id=2069810) and this (https://harmful.cat-v.org/software/xml/)? [Genuinely Asking].
  146. gutuning has left
  147. scorch has joined
  148. asterix has left
  149. asterix has joined
  150. asterix has left
  151. asterix has joined
  152. Link Mauve ConcernedPerson, I think this was what prompted for the creation of this page: https://xmpp.org/about/myths.html
  153. goffi has left
  154. Kiwi has left
  155. asterix has left
  156. asterix has joined
  157. MattJ FWIW this person is pasting this into a bunch of XMPP-related channels
  158. jubalh Link Mauve: thats actually a good read. thanks for sharing!
  159. Link Mauve Ah, I hadn’t seen.
  160. Link Mauve ConcernedPerson, you shouldn’t post the same message in five different rooms, it’s bad practice.
  161. Sam > XMPP is what I cite when I try to explain the "XML mindset". It leads to bad things. It leads to ridiculous overengineering through layered complexity. It leads to a client/server ecosystem where each implementation speaks a different dialect because it's nearly impossible to get the protocol right. Completely agree, but also it's not as if there's anything better and it's already pretty widely adopted so even if there was something better XMPP might still be worth using.
  162. asterix has left
  163. asterix has joined
  164. asterix has left
  165. asterix has joined
  166. mathieui that multi-muc copypasta sounds like a collective invitation to lose time debunking already debunked claims
  167. gutuning has joined
  168. ConcernedPerson Sam: Good point.
  169. ConcernedPerson Link Mauve: I just wanted to gather thoughts from as many people as I can. Some happen be across in those rooms.
  170. Wojtek has left
  171. Yagizа has joined
  172. mac has joined
  173. gutuning has left
  174. goffi has joined
  175. Yagizа has left
  176. Yagizа has joined
  177. goffi has left
  178. gutuning has joined
  179. dezant has left
  180. mac has left
  181. mac has joined
  182. ConcernedPerson has left
  183. dezant has joined
  184. Kev has joined
  185. Kev Sam: I’m not even sure I agree that ‘riduculous overengineering’ is due to XML (indeed, we cut out large amounts of XML because it would be overengineered), that we don’t use our overengineering, or that optional features are because of XML :)
  186. gutuning has left
  187. Sam Not due to technical stiff about xml perhaps, but we definitely inherited 'xml culture'
  188. Alex has left
  189. Kev I’m not convinced I imagine most XMPP devs had little to do with XML before they started working with XMPP (I hadn’t touched it in anger until then, at least).
  190. Kev I’m not convinced. I imagine most XMPP devs had little to do with XML before they started working with XMPP (I hadn’t touched it in anger until then, at least).
  191. Alex has joined
  192. Alex has left
  193. Alex has joined
  194. Alex has left
  195. Alex has joined
  196. lovetox has left
  197. dezant has left
  198. Kev has left
  199. Kev has joined
  200. Kev has left
  201. Sam I don't think whether you were involved in xml or not matters, you can still pick up the xml culture of "everything has to be over engineered and be xml even if it makes no sense"
  202. gav has left
  203. nephele has joined
  204. Kev has joined
  205. dezant has joined
  206. gutuning has joined
  207. Kev I’m not convinced that another encoding would make a significant difference, really, if we ended up still allowing unnegotiated arbitrary extension.
  208. Kev Obviously if you don’t want extensibility, other things are much simpler.
  209. Zash You have data. You squeeze it into a form that fits the data model of whatever your serialization is. You throw it at the wire. You go on with your life.
  210. Sam Except when your serialization format has multiple ways to handle data and it's hard to pick between them, it's so complicated you have to restrict the format to a sane subset of it thereby resulting in more bugs when various things implement that incorrectly because you can no longer rely on the underlying serialization implementation.
  211. Zash Pick a way, write it down, slap the label "XEP" on it and hope it helps.
  212. Sam Anyways, it's too late to go back on XML, I'm just saying that we need to admit we have a problem and that it's extremely difficult to implement even a small subset of XMPP for a simple chat service and we need to actually think about that instead of just pretending it's not a problem.
  213. Zash It's not so bad. I've seen worse. There are other problems that warrant more attention than XML vs JSON rehash #5647
  214. Sam I've seen worse too, but that doesn't mean that we don't have a problem.
  215. Kev I don’t know that it’s really much of a problem. The amount of time I (or any of the teams I’ve worked with) have spent dealing with problems introduced by XML is tiny compared to all the other things that matter.
  216. Zash I really don't think use of XML in XMPP is a problem that warrants the amount of noise that was just created.
  217. MattJ Let's do a rewrite in $flavour_of_the_month, and all our problems will be solved
  218. Zash But let me tell you about mod_rest/jsonmap
  219. Kev With all this said, I *do* think there’s value in jmap-mpp or whatever one would call an IM mapping of XMPP into something JMAP-ish. But not because of it being JSON-vs-XML, but because of it being state-vs-stream.
  220. Zash CBOR!
  221. Zash ...encoding rules
  222. Kev (State vs stream is an ugly way of expressing what I mean, but hopefully it’s not that unclear)
  223. Kev Zash: M-Link uses CBOR...
  224. nephele Hi, i have heard of cbor!
  225. Sam Again though, none of this was even about JSON vs. XML except that I let myself get distracted. It's about the XML mindset that we've inherited and everything being overengineered and having 4 different ways to do every thing.
  226. gutuning has left
  227. MattJ Welcome to any large system
  228. Kev It’s not like even single-entity-controlled systems tend to remain pure once they reach a certain size.
  229. Sam Large systems can be complex, they don't have to have all the overengineering and bad choices we put into everything.
  230. mathieui Sam, could you define "XML mindset"? I still don’t understand what you mean, is it the use of namespaces? elements? attributes? schemas?
  231. Sam Everything must be XML all the time even if it doesn't make sense (ie. XML Schema, rewrite existing things to have an XML encoding, etc.), multiple ways to do everything (some things are attributes, some are elements), and just generally overengineering everything and inserting a million edge cases even when it's not necessary.
  232. lovetox has joined
  233. Sam Maybe sumarized it would be "more features are good and optional bits can't hurt"
  234. mathieui XML schema is… necessary? I mean, json schema is not much more readable, and we need a formal way of expressing the payloads anyway
  235. mathieui (the one criticism that I would put on the xml schemas is that they are underused, if anything)
  236. Sam A schema may be necessary, and I agree they're underutilized. XML Schema is just an example of something that could have been good that the XML community turned into an overengineered mess. I don't care if JSON schema is far worse, that doesn't make what we do good.
  237. Zash has left
  238. Sam There are also at least 3 XML schema languages that I'm aware of, so that also seems to be an XML community mindset thing we've adopted.
  239. Kev has left
  240. Sam Anyways, fine, ignore that particular example then, focusing on one tiny part of the argument isn't helpful. Even if you're completely right and XML schema is fine that doesn't change the point I was making.
  241. pulkomandy I don't understand how the problem is related to xml. Handling forward and backward compatibility is hard and requires a lot of planning ahead for things that may never happen, but I've seen that done with clearly non-xml things, like C++ software
  242. pulkomandy (or even the C++ language itself)
  243. pulkomandy To me it looks like a necessary evil if you want a standardized thing with many implementations of it
  244. pulkomandy Also thinking about the 3 or 4 RFCs documenting http cookies, none of which document what's actually done in the real world by servers and browsers
  245. Sam It's not related to XML. It's related to a mindset we inherited from the XML community.
  246. pulkomandy Well,if the alternative is a "move fast and break things" mindset I think I prefer the current one
  247. Sam It's not.
  248. MattJ I think this mindset doesn't even exist, so I don't know how to participate in a discussion about solving it :)
  249. FireFly has left
  250. mac has left
  251. mac has joined
  252. Wojtek has joined
  253. Kev has joined
  254. mac has left
  255. mac has joined
  256. Kev has left
  257. gutuning has joined
  258. gutuning has left
  259. cassidy has left
  260. Yagizа has left
  261. Yagizа has joined
  262. Kev has joined
  263. Kev has left
  264. goffi has joined
  265. jgart has joined
  266. marc has left
  267. marc has joined
  268. Yagizа has left
  269. gutuning has joined
  270. FireFly has joined
  271. Kev has joined
  272. Kev has left
  273. Yagizа has joined
  274. marc has left
  275. alex-a-soto has left
  276. alex-a-soto has joined
  277. marc has joined
  278. gutuning has left
  279. debacle has left
  280. gutuning has joined
  281. rom1dep has left
  282. rom1dep has joined
  283. kikuchiyo has left
  284. Kiwi has joined
  285. Kiwi has left
  286. qrpnxz has left
  287. mac has left
  288. gutuning has left
  289. debacle has joined
  290. Wojtek has left
  291. Kev has joined
  292. Kev has left
  293. marc has left
  294. marc has joined
  295. gutuning has joined
  296. marc has left
  297. marc has joined
  298. goffi has left
  299. selurvedu has joined
  300. gutuning has left
  301. Yagizа has left
  302. nephele has left
  303. gutuning has joined
  304. Syndace has left
  305. wuuko has joined
  306. wuuko has left
  307. wuuko has joined
  308. Syndace has joined
  309. wuuko has left
  310. wuuko has joined
  311. marc0s has left
  312. marc0s has joined
  313. marc has left
  314. gutuning has left
  315. gutuning has joined
  316. asterix has left
  317. asterix has joined
  318. scorch has left
  319. pasdesushi has joined
  320. pasdesushi has left
  321. Kiwi has joined
  322. xecks has left
  323. scorch has joined
  324. dezant has left
  325. FireFly has left
  326. marc0s has left
  327. marc0s has joined
  328. wurstsalat has left
  329. gutuning has left
  330. gutuning has joined
  331. dezant has joined
  332. gutuning has left
  333. gutuning has joined
  334. scorch has left