XSF Discussion - 2023-03-29


  1. Guus

    The website at xmpp.org is unresponsive to me.

  2. jonas’

    wfm

  3. Guus

    won't work on on phone or desktop

  4. jonas’

    can you provide the output of `mtr -4 --report xmpp.org` and `mtr -6 --report xmpp.org`?

  5. Guus

    oh, does work if I do not use my ISP but a mobile network

  6. jonas’

    then I blame your ISP

  7. Guus

    ack

  8. Guus

    I cannot resolve xmpp.org at all, it seems.

  9. Trung

    ISP(s) and DNS are the MIM

  10. Zash

    One DNS NS is currently borked, but the other one was fine last I looked

  11. jonas’

    .. and how recursors handle that differs

  12. Guus

    ... do we have statistics of our website? Do we see a notable drop in traffic?

  13. MattJ

    We don't

  14. MattJ

    I expect we would see a drop though, yes

  15. MattJ

    IPv6 is broken, for example

  16. MattJ

    The DNS and mail server is entirely unreachable

  17. Zash

    count web server log lines per day?

  18. Guus

    That might have gone up with lots of errors. :)

  19. Zash

    Probably only noticable for silly people like me, running their own resolvers

  20. Guus

    well, my ISP isn't liking this either.

  21. Zash

    given 2 weeks of logs, I don't see any drop

  22. MattJ

    It certainly *shouldn't* be an issue. And if it is, it at least shouldn't be permanent. Handling this kind of failure is supposed to be one of the primary features of DNS :)

  23. MattJ

    The IPv6 issue on top of things probably isn't helping though

  24. Guus

    shouldn't be != isn't

  25. Guus

    ralphm / intosi : I think we share the same ISP (Freedom). Are DNS lookups for xmpp.org working for you?

  26. ralphm

    Not fair for me, because one of the name servers is in my garage

  27. ralphm

    But ns1.xmpp.org is unresponsive

  28. ralphm

    And I think that host is in our own infra, as the IP address is in the XSF range

  29. MattJ

    Yes, there have been a number of infra issues this week, I don't know if this one is related or something new. I've emailed Jerry and folk (since the mailing lists probably aren't working)

  30. intosi

    @Guus: I don't use their resolvers, so wouldn't know.

  31. intosi

    A quick test seems to suggest it's resolving them, but a query that triggers a fetch takes a moment, probably because it tries ns1.xmpp.org first.

  32. MattJ

    Will it break anything if I take ns1 off the domain? The secondaries will still be happy to sync from it when it comes back?

  33. intosi

    It shouldn't break anything.

  34. intosi

    The secondaries will sync once the master becomes back.

  35. intosi

    * comes.

  36. moparisthebest

    Can always set up a free secondary like https://freedns.afraid.org/secondary/ or https://dns.he.net/

  37. MattJ

    ns1 removed

  38. moparisthebest

    Is .org one of the ones that requires 2 name servers? Some tlds do

  39. MattJ

    We have several

  40. Guus

    xmpp.org is back for me.

  41. MattJ

    Great

  42. Guus

    Has anyone ever dealt with a scenario where entities are subscribing to a pubsub node that is expected to exist in the future, but isn't yet?

  43. MattJ

    Options: 1) auto-create the node with some defaults (that's an optional feature defined in XEP-0060), 2) reject the subscription request (node doesn't exist, after all), 3) some weird thing where you pretend the subscription succeeded, as if the node exists

  44. MattJ

    (3) sounds like what you're thinking, but it really doesn't seem sensible to me

  45. MattJ

    No technical reason it can't be done though, like a kind of waiting list thing

  46. Guus

    I didn't know about the auto-create option

  47. MattJ

    At the point where you're storing a list of "future" subscribers, and telling them that their subscription worked, you might as well just create the node

  48. Guus

    I was thinking about the same thing. I'm not sure if there are requirements around ownership etc

  49. Guus

    I'll see where I get with auto-create. Not even sure if Openfire supports it.

  50. Guus

    Thanks

  51. Peter Waher

    There is a technical reason for not allowing subscriptions to nodes that do not exist: A persistant subscription needs to be persisted. Typically, such subscriptions are removed, if the node is removed; that is the means to clense the database. If there’s no node, no such mechanism to cleanse the database would exist. There would also not exist rules for how/when/how many such subscriptions would be allowed, and by whom. You would therefore create a machanism to completely fill the database with nuisance subscriptions to nodes that do not exist, efficiently taking the server down. If subscriptions are not persistant, they would have to be kept in internal memory, and the same applies there: You would create a mechanism to deplete the internal memory of the server.

  52. singpolyma

    > At the point where you're storing a list of "future" subscribers, and telling them that their subscription worked, you might as well just create the node I see the logic here, but allowing random people to cause a note to be created feels Really Bad

  53. singpolyma

    > At the point where you're storing a list of "future" subscribers, and telling them that their subscription worked, you might as well just create the node I see the logic here, but allowing random people to cause a node to be created feels Really Bad

  54. MattJ

    That's why it's optional, and the other specified approach is to simply return an error

  55. Peter Waher

    Basically, allowing random people to create random nodes creates the same vulnerability: Ability for malicious actors to create nuicanse nodes, and take the server down.

  56. intosi

    auto-create is a feature that's used for PEP, for instance. Doesn't mean there can't be ACLs involved.

  57. pep.

    Does autocreate mean the creator is the owner?

  58. Guus

    Not all XMPP server instances operate in an open-federation chat model.

  59. intosi

    ^ What Guus said.

  60. MattJ

    Oh, I may have misremembered. Auto-create in XEP-0060 only talks about auto-create on *publish*, not subscribe

  61. MattJ

    Prosody, however, supports both

  62. intosi

    M-Link only supports that on publish.

  63. MattJ

    pep., in Prosody's implementation subscribers triggering node creation does not make them owner, no. The node doesn't have an explicit owner, in that case. Typically owners/admins of the service have access to it.

  64. Zash

    Didn't we change how that works?

  65. MattJ

    Did we?

  66. Zash

    We store recipients outside of the pubsub service, which gets used on publish, at least for the +notify type of implicit subscription

  67. MattJ

    Ah, for PEP, yeah

  68. Zash

    Oh, were we only talking about generic pubsub?

  69. MattJ

    I don't know. I was :)

  70. Guus

    I was too. Is it true that MQTT-like implemenations of pub/sub do not take into account the existence of a topic? Maybe driven by having no persistency, making a 'subscription to a topic' almost like a filtering operation?

  71. Peter Waher

    this is true

  72. Peter Waher

    you don’t create topics in MQTT

  73. Peter Waher

    You can create random topics, fwiw

  74. Peter Waher

    subscription is a filtering operation

  75. Peter Waher

    (subscriptions can include wildcards)

  76. Peter Waher

    You can use random topics, fwiw

  77. Peter Waher

    example: You can publish sensor data to topics of the type Sensor/ID/FIELD/VALUE, and then a client can subscribe to Sensor/+/Temperature/+ to get all temperature sensor values. ID can be any random value

  78. Peter Waher

    Value could be floating point values for instance

  79. Peter Waher

    (in this example)

  80. Peter Waher

    (Perhaps the Value-part of the topic in this examples, make little sense, but nothing prohibits it, unless you publish a lot of meta-data there for different values)

  81. Guus

    Ok, thanks.

  82. Guus

    That's helpful. Does anyone know why such a mode of operations does not seem to be built into the XMPP spec for pub/sub? Does that have to do with leaning more on persistent data, in XMPP-world?

  83. Peter Waher

    I’ve tried to lift in such issues, many years ago however. Interest in other than IM-based-technologies was limited…

  84. Peter Waher

    (in these groups, I have to add; many other groups exist that use these technologies. They just don’t discuss them here. Pointer for those who wonder why companies keep quiet about using XMPP.)

  85. MattJ

    Why do they?

  86. MattJ

    > Does anyone know why such a mode of operations does not seem to be built into the XMPP spec for pub/sub? I don't see anything in the spec that prevents this mode of operation, should an implementation desire to support it

  87. MattJ

    auto-create on publish makes node awareness optional, PEP uses the subscription filter model heavily

  88. Peter Waher

    In May of 2014 (soon 9 years ago) I made a study of the differences (strengths/weaknesses) between XMPP and MQTT, and tried to create interest to improve XMPP with extensions of things lacking in XMPP, but that existed in MQTT. (This includes Quality of Service and queue-ing, for instance, but also other adjacent areas. Let me know if anyone is interested in reading results.) Interest was low from the XSF group, which focused(-s) mainly on IM, rather than viewing XMPP as a more generic transport protocol for multiple use cases (other than IM). (Interest is/was higher in other groups, who wish to stay more agnostic to overlying use cases).

  89. MattJ

    The XSF is an open group. If the XSF is focused mainly on IM, it's because more IoT folk did not join it.

  90. moparisthebest

    "the XSF" isn't a group with a focus at all

  91. moparisthebest

    Individual members of the XSF have different focuses of course, but anyone can join with their own

  92. pep.

    That's what I've always found sad about the XSF :(

  93. moparisthebest

    Hard disagree, that's what's great about the XSF, a major strength

  94. pep.

    You disagree that I find this sad?

  95. MSavoritias (fae,ve)

    well obviously it has a focus as it is obvious here

  96. moparisthebest

    Hehe, well I disagree that it's a sad thing

  97. MSavoritias (fae,ve)

    from people being uniterested in the study i mean

  98. MSavoritias (fae,ve)

    and because most of the xeps are focused on messaging

  99. moparisthebest

    *members individually* have interest and focus, not the XSF

  100. MSavoritias (fae,ve)

    we can pretend its not but that doesnt help the conversation

  101. Peter Waher

    And still, MQTT (mqtt.org), representing an inferior protocol (in how it is being used in reality) has had much more success in promoting its ideas and technology, compared to the XSF (xmpp.org)… To understand why, first you need to be interested in figuring out why, and analyze the problem openly, and self-critically, without coming to premature conclusions… Self-criticism is not the forte of this group unfortunately, and therefore improvement in this field is difficult/impossible.

  102. moparisthebest

    I pretty much despise iot things, why would I have an interest in improving them? Other people might be interested in iot and not interested in personal chat, we can all be XSF members and work on different things and share work on the overlap

  103. MSavoritias (fae,ve)

    > And still, MQTT (mqtt.org), representing an inferior protocol (in how it is being used in reality) has had much more success in promoting its ideas and technology, compared to the XSF (xmpp.org)… To understand why, first you need to be interested in figuring out why, and analyze the problem openly, and self-critically, without coming to premature conclusions… Self-criticism is not the forte of this group unfortunately, and therefore improvement in this field is difficult/impossible. yeah. there seems to be a lot of self reinforcing mindsent sadly...

  104. Trung

    imagine your car have a JID and you send a text to turn on the air-con before you leave the house 😁 that'd be cool

  105. moparisthebest

    The premise that the XSF should have a singular focus at the expense of others is frankly absurd, we are a volunteer org

  106. moparisthebest

    Trung: no, cars shouldn't be connected to the internet at all ever :P

  107. MSavoritias (fae,ve)

    well volunteer doesnt mean we are not focused :)

  108. Trung

    oh rite sorry hahahahaha

  109. Peter Waher

    Trung: We are involved in exactly such projects. Also, allowing the car to pay for parking automatically… XMPP in the back-end.

  110. MattJ

    Peter Waher, if you want more IoT in the XSF, you need to participate in the XSF, you need to encourage others in your space to participate in the XSF. That's about it.

  111. MattJ

    We have an iot channel on this server and you're not in it :)

  112. MSavoritias (fae,ve)

    well sadly thats half the work

  113. moparisthebest

    If no one is paying me I'm not going to focus on iOT in my free time, if they try to pay me I'll try and find another job :P What's wrong with focusing where you want to focus personally?

  114. MSavoritias (fae,ve)

    the other half is xsf being open to it and promoting such stuff

  115. Peter Waher

    MattJ: I did that, and retracted proposals as there was little interest in this group. It’s greater elsewhere.

  116. MSavoritias (fae,ve)

    as pep. has said also many time

  117. MattJ

    MSavoritias (fae,ve), the XSF is open, as I said

  118. MattJ

    The XSF is the people who participate in it

  119. MattJ

    The XSF is not some mythical being behind a curtain

  120. moparisthebest

    Things will have overlap and collaboration is great and is what the XSF is for, but it having a focus outside that is absurd

  121. MSavoritias (fae,ve)

    of course not. i didnt say it was

  122. Zash

    Nothing says you _have to_ do it in the XSF

  123. Peter Waher

    Examples: * https://xmpp.org/extensions/xep-0323.html * https://xmpp.org/extensions/xep-0324.html * https://xmpp.org/extensions/xep-0325.html * https://xmpp.org/extensions/xep-0326.html

  124. MSavoritias (fae,ve)

    but being open is half the work as i said

  125. Peter Waher

    (and several others)

  126. Zash

    If you wanna publish XEP-like things trough other means, that is also allowed.

  127. MattJ

    If nobody with IoT interests or expertise participates in the XSF, the XSF does not have any IoT expertise or interests

  128. MattJ

    MSavoritias (fae,ve), and who do you expect to do the other half of the work?

  129. Peter Waher

    The point is: It is a volunteer organization. A lot of energy goes into writing proposals. You only spend that time and energy, if the recipients is interested in receiving the message. The alternative is to wait for a better opportunity (times change, and so do interests), or find other communities, more interested in these fields.

  130. MattJ

    That's fine. If IoT folk are gathered elsewhere, that's the best place to reach them, indeed.

  131. MSavoritias (fae,ve)

    > MSavoritias (fae,ve), and who do you expect to do the other half of the work? collectively :) how do we expect people to contribute xeps and their time if we are not proactively helping in that direction

  132. MattJ

    MSavoritias (fae,ve), step up and get us engaged in IoT then

  133. moparisthebest

    Peter Waher: has anyone written a XEP the XSF has said "no we aren't interested in that" ? Not that I've seen

  134. Peter Waher

    This is why other groups and technologies are more successful. It is also why XMPP is not mentioned in commercial settings: There’s no benefit of doing so, or be associated with it unfortunately (or they would have promoted it).

  135. moparisthebest

    MSavoritias (fae,ve): I've also never seen anyone not help with anything asked

  136. Trung

    Thank you for sharing your interest Peter Waher. I'm looking forward to try your XMPP client.

  137. Trung

    Thank you for sharing your interest Peter Waher. I'm looking forward to trying your XMPP client.

  138. Peter Waher

    moparisthebest: Yes, many times.

  139. moparisthebest

    If iot folks don't want to be involved in the XSF fine, if they do great, it's no problem that needs addressed either way imho

  140. moparisthebest

    Peter Waher: example?

  141. Peter Waher

    moparisthebest: Many, from many years ago. The latest is recent, when you also were active in the group. It concerns content-type declaration of messaging content (such as Markdown). Resent a previous proposal (that was never accepted, even to Experimental for discussion) to the XSF editor a couple of weeks ago; no interest, not a response. It is not badly formed. The problem is that members of this group work against the interests of others, because they see no personal interest in the proposals, and therefore also restrict the possibilties for others, who do see a potential. Lack of ability to accomodate different use cases, reduce the benefit of a standards body. You don’t have to agree to implement all standards, just allow the XSF, as a body, to standardize interfaces as a means to improve interoperability in those fields. Today it’s all or nothing. (cf. IETF, W3C, IEEE and others, that accomodate different use cases/interests in different working groups and different standards, even opposing standards, for the benefit of those that wish to interoperate accordingly). Only parties interested in the corresponding use case would have a meaningful say in if that standard is well defined (or sufficiently defined) or not. If you take Markdown as an example: An interoperable way of transmitting Markdown is useful for those that want to do so. Those that make a decision NOT to use Markdown (for whatever reason) don’t need to implement it. But, as the XSF is defined now, they can also work against those that wish to use it. I.e. for a standards body to be more generic, it should accomodate stake-holders to vote on specific proposals, and decrease the ability of non-stake-holders to restrict such use. The latter only leads to fragmentation, which is what is happening to the XSF and XMPP-related technologies.

  142. pep.

    "moparisthebest> Peter Waher: has anyone written a XEP the XSF has said "no we aren't interested in that" ? Not that I've seen" Nobody representing the XSF said that ever, probably. But not saying "we're not interested" doesn't mean you're interested either.

  143. Kev

    I (Editor) replied to that mail, Peter, asking you to confirm whether the protoXEP was unchanged since last submission so I could just reforward to Council, and told Council that it was inbound. So it wasn't ignored.

  144. Peter Waher

    Ok, interesting. Do you have a time-stamp? From what e-mail was this sent?

  145. Kev

    (content-type)

  146. Kev

    I've been desperately shit at keeping up with Editor stuff, but that one ball I didn't drop :)

  147. Peter Waher

    That is some positive news

  148. Kev

    Should have been from my Isode account, I think.

  149. Kev

    But if you just say "Yes, it's unchanged", now I'll ask Council to deal with it.

  150. Peter Waher

    to the same mail I sent it from? Or an old e-mail address?

  151. Peter Waher

    I did not change anything, just resent the earlier proposal

  152. Kev

    (Or if it is changed, I'll commit etc.)

  153. Kev

    I just hit Reply All.

  154. pep.

    moparisthebest, that's typical liberal thinking. "We're not preventing something from happening" thinking it's people's fault if they don't come for the thing. As opposed to actively doing stuff encouraging this something to happen.

  155. pep.

    And that's generally what I don't like around here

  156. moparisthebest

    Peter Waher: glad to see it's not still happening at least, please speak up if it does

  157. Peter Waher

    Kev: No isode-mail in any of my mail accounts. Can you please resend, to see if I get it this time?

  158. moparisthebest

    pep.: sorry I don't understand that at all, if there's a problem I want to know about it, if people don't feel like submitting specs I literally don't care

  159. Kev

    Peter - I'd rather just answer it here and save time, if we could :)

  160. Kev

    Oh FFS.

  161. Guus

    Kev, Peter Waher: I am unsure if we are having generic mail issues at the moment, and if this prevents you from reaching out to eachother over mail, if that's what you are trying to do now.

  162. Kev

    So the issue is that I did 'reply all', which unhelpfully, with Editor's mailing list configuration, seems to reply to editors@ twice, and to the sender not at all.

  163. Kev

    So, sorry, the mail went to the Editors' list and never to you.

  164. Guus

    Oh, that is not very helpful indeed.

  165. moparisthebest

    Wait... It wasn't DNS ? 😳

  166. Guus

    I really don't know. I think I heard someone mention mail too, but I might be wrong.

  167. Peter Waher

    Kev: If possible, please resend, or send anything. I want to make sure there’s nothing wrong that prevents me from receiving messages from you.

  168. Kev

    See above :)

  169. MSavoritias (fae,ve)

    > MSavoritias (fae,ve), step up and get us engaged in IoT then thats not how it works though is it? As i said theoretically a group being open doesnt mean anything if it practically doesnt "elevate" and do effort to have such contributions. See women in tech for example. Which people seem to think its fixed to just be "open"

  170. MSavoritias (fae,ve)

    also not really a nice way to engage the convo with its your responsibility :)

  171. moparisthebest

    Stop inventing problems

  172. MSavoritias (fae,ve)

    > pep.: sorry I don't understand that at all, if there's a problem I want to know about it, if people don't feel like submitting specs I literally don't care well you will care when all the devs leave for matrix or other ventures ;)

    💯️ 1
  173. singpolyma

    XSF is mostly about specs and not devs or users AFAICT? But also that's just down to what members perceive as the purpose I guess. If we all do something else the org becomes something else :)

  174. MSavoritias (fae,ve)

    > Stop inventing problems just want to add as my last message in this that me saying we are not encouraging things and getting the response that I am "inventing problems" is insulting. and what i was pointing out too :)

  175. moparisthebest

    Still don't care, I'm here to improve XMPP for communication between my family, if it benefits others great, if not I can still use it

  176. jonas’

    moparisthebest, I also think your response is inappropriate.

  177. jonas’

    moparisthebest, I also think your response ("Stop inventing problems") is inappropriate.

  178. jonas’

    you may disagree about the importance, but please don't dismiss concerns of others like that.

  179. jonas’

    (<https://xmpp.org/extensions/xep-0458.html#sect-idm45396429693776> is relevant)

  180. moparisthebest

    "XSF needs to attract iot devs" "XSF needs to attract contributions from X" these are the "newly invented problems" I was referring to, if that's what you want to do as an XSF member, great, but pretending it's a problem the XSF as a whole should address is, again, as I said before, absurd

  181. jonas’

    moparisthebest, I fully understood that, and my response to your response was phrased with that in mind.

  182. jonas’

    you may disagree about the importance, but don't dismiss such contributions like that. that's patronizing, presumptuous and overall unkind and I'd like to not read such stuff here. thanks.

  183. Trung

    > So, sorry, the mail went to the Editors' list and never to you. Hey guys, I think the problem has been solved 😁

  184. moparisthebest

    Sorry I didn't mean it to come off that way

  185. Peter Waher

    Thanks Trung, for noticing that; missed that part. Thanks Kev. BTW: Nothing changed from the original proposal.

  186. Kev

    Thanks very much.

  187. moparisthebest

    MSavoritias (fae,ve): again sorry for that, you are doing excellent work over at joinjabber etc, I didn't mean that aimed at you as much as the general: > See women in tech for example. Which people seem to think its fixed to just be "open" Which I have never bought into. imho being open is enough and if people don't want to participate fine. It's of course valuable to find out if there is a problem preventing them from participating, hence my question to Peter and such, but otherwise I see no reason to go out of the way to involve anyone who isn't motivated to be involved... And that's what I should have said instead of accusing anyone of creating problems... :(

  188. MSavoritias (fae,ve)

    apology accepted :) I get it we have different perspective in this. As i said being open is half the work for me.

  189. moparisthebest

    For me the cool thing about XMPP/XSF is the overlap, pubsub was kinda iot-ish, but then it found uses for im encryption, and blogging, etc etc so it's actually good we have different focuses individually and can collaborate here anyway, again, in my opinion :)

  190. MSavoritias (fae,ve)

    i agree

  191. stpeter

    @emus I’ve created https://wiki.xmpp.org/web/Board-Meeting-2023-04-05 - you and others should feel free to edit it.

  192. stpeter

    (I am not sure how to modify the official XSF calendar - perhaps @ralphm can enlighten us.)

  193. pep.

    "imho being open is enough and if people don't want to participate fine." yeah exactly that's the issue. This isn't helping at all those who do want to participate, if no care is given to the question. Anyway as I said at first, I've always found this sad about the XSF. (And it's not like I haven't tried to push for change, and also why JJ is a thing)

  194. moparisthebest

    I haven't seen that though, how can you fix something when you have no evidence of it happening, cannot reproduce... In fact I've seen only the opposite, people encouraged to participate, as members or not, people offering to help with specs and all that too

  195. pep.

    So don't say "we're just open and that's enough" if it's not the case? Even though I do think plenty more could be done

  196. moparisthebest

    I think that's all part of being open no?

  197. moparisthebest

    Open isn't "you can join but we'll flame you, noob"

  198. pep.

    "open" also isn't "we unlocked the door, good luck opening it"

  199. pep.

    Or rather.. sorry, that's what it sounds like to me when you say it

  200. Daniel

    IoT is so 2010. What we need is ~block chain~ the metaverse

  201. Peter Waher

    Might be of interest to ponder, in how good-faith, bad-faith and pretense affect our discussions. These are old concepts, old problems, that have been solved many times before, and that need to be re-solved every time an organization tries to include people with different interests to cooperate, especially if the goal is cooperation for working together for a “common good”. https://en.wikipedia.org/wiki/Good_faith

  202. Peter Waher

    Might be of interest to ponder, in how good-faith, bad-faith and pretense affect our discussions. These are old concepts, old problems, that have been solved many times before, and that need to be re-solved every time an organization tries to include people with different interests to cooperate, especially if the goal is cooperation for working together for a “common good”. https://en.wikipedia.org/wiki/Good_faith

  203. Daniel

    Peter Waher: fwiw I think the content type xep has a good chance at being accepted as an experimental xep under the current council

  204. Peter Waher

    Thanks for the info

  205. Peter Waher

    Might be of interest to ponder, is how good-faith, bad-faith and pretense affect our discussions. These are old concepts, old problems, that have been solved many times before, and that need to be re-solved every time an organization tries to include people with different interests to cooperate, especially if the goal is cooperation for working together for a “common good”. https://en.wikipedia.org/wiki/Good_faith

  206. Peter Waher

    Might be of interest to ponder, is how good-faith, bad-faith and pretense affect our discussions. These are old concepts, old problems, that have been solved many times before, and that need to be re-solved every time an organization tries to include people with different interests to cooperate, especially if the goal is cooperation for working together for a “common good”. https://en.wikipedia.org/wiki/Good_faith

  207. Daniel

    The arguments brought forward against the XEP in 2016 are valid but I think council has shifted more towards 'handing out xep numbers to give people a stable location to work on something'

  208. Peter Waher

    It would be good to reiterate those when the XEP is published, so they can be addressed.

  209. Daniel

    The most valid one (imho) are the undressed security issues around and multiple contents and what happens if they don't have the same meaning. (when your markdown version says something completely different then your plain version) and different users thus get shown different things

  210. Daniel

    The most valid one (imho) are the undressed security issues around multiple contents and what happens if they don't have the same meaning. (when your markdown version says something completely different then your plain version) and different users thus get shown different things

  211. Peter Waher

    This is correct, as you mention. Same problem exists with all Internet Content-Type’s and MIME-types BTW. And, there are efforts that are worked on, some partially solved, but in other layers (i.e. not transport layer). So, a security note would be good to add.

  212. moparisthebest

    Which is imho a huge problem but the same as xml:lang in plain XMPP :'(

  213. Peter Waher

    For the interested. In the Markdown case, you have this effort: https://commonmark.org/

  214. Peter Waher

    For the interested. In the Markdown case, you have this effort: https://commonmark.org/

  215. Daniel

    > Which is imho a huge problem but the same as xml:lang in plain XMPP :'( Yes the same problem is built into xml. But that doesn't mean the security considerations should skip over it

  216. Peter Waher

    But there are other content-types of course that can be used. Playing with the idea of a LaTeX-compliant client for scientists, for instance (Content-Type application/x-latex BTW).

  217. moparisthebest

    100% needs security considerations yes

  218. Peter Waher

    etc.

  219. Peter Waher

    The idea is that Content-Type is a well-known and well-recognized means to annotate the syntax and semantics (albeit not always to a 100😵 of content (text-based and other), and it would be good to incorporate that base into XMPP messaging.

  220. Peter Waher

    The idea is that Content-Type is a well-known and well-recognized means to annotate the syntax and semantics (albeit not always to a 100% ) of content (text-based and other), and it would be good to incorporate that base into XMPP messaging.

  221. Daniel

    Peter Waher: having a content Type and having multiple contents is not the same thing. One could (theoretically) just have the 'first case' where content type is just an annotation to the body

  222. Peter Waher

    (then users/developers can choose which they prefer, and still maintain a level of Interoperability, just as browsers maintain interoperability with web pages, etc.)

  223. Daniel

    This is not council advice. Just saying

  224. Peter Waher

    Daniel: Yes. But multiple embodiments of the content makes interoperability easier, as you can provide multiple formats of various complexity to multiple clients, without the need to check what they support (which would be the case in pubsub for instance, or muc)

  225. pep.

    fwiw, Atom allows something like this (text / html) and it's used in microblog already

  226. Peter Waher

    (cf. copy-paste that uses this method to put various copies of the same content in the clipboard, using different encodings, allowing the recipient to choose the best option)

  227. Peter Waher

    pep: yes, exactly. And e-mail. It is common in cases where you don’t know (or want/can know) what the client expects/is able to present.

  228. pep.

    Peter Waher, Not entirely sure what you mean though. In this case would you propose every format that ever existed?

  229. Peter Waher

    cd. Content-Type multipart-alternative (for e-mail)

  230. Peter Waher

    cf. Content-Type multipart-alternative (for e-mail)

  231. pep.

    Or maybe we can agree on plaintext / xhtml-im :)

  232. Peter Waher

    pep: No, it would be at the discretion of the sender to choose. Many things would factor in. And over time, it would probably change. We send plain text, html and markdown for instance, in chat messages or social messages.

  233. Peter Waher

    when it comes to data we could send a textual representation (html & markdown also) for human consumption, and XML dito, for machine reception

  234. pep.

    Peter Waher, well the idea behind xhtml-im isn't to send "markdown", it's to send something that maps to other input formats

  235. Peter Waher

    You could also use RDF for instance, in graph-cases

  236. pep.

    (and outputs..)

  237. Peter Waher

    pep: this proposal is not against xhtml-im. We use it together with xhtml-im (in the case for Content-Type text/html). Instead, it is a means to enrich the possibilities with multiple variants or content types.

  238. pep.

    Same reasons why you use <em> or <strong> to convey meaning instead of a visual cue

  239. Peter Waher

    We use XML (machine-readable) for that

  240. stpeter

    Didn’t we deprecate XHTML-IM for security reasons?

  241. Peter Waher

    there are problems with injection unless a strict check is implemented, yes.

  242. stpeter

    Right.

  243. pep.

    Peter Waher, I guess I don't see what else you want to convey

  244. pep.

    (other than rich text information, which xhtml-im already does)

  245. Peter Waher

    Just responding to what I interpreded as comments or questions regarding the proposal.

  246. pep.

    stpeter, still useful and used though :)

  247. Peter Waher

    Just responding to what I interpreted as comments or questions regarding the proposal.

  248. stpeter

    How many clients actually implement strict checking, though?

  249. Daniel

    One

  250. stpeter

    I suppose that’s better than zero. ;-)

  251. Peter Waher

    I know of two, but not sure they are the same you’re thinking of Daniel.

  252. Daniel

    I was thinking of poezio

  253. Zash

    Does mod_xhtmlim count?

  254. Peter Waher

    Still, prohibiting/discouraging HTML (for example), because clients do not perform sufficient checks, is like prohibiting/discouraging images in e-mail just because there are many e-mail clients that do not properly check that encoded images are in fact images, and not executables. It is better to change client, if it has apparent vulnerabilities, and no support or development that will fix them; this results in better and richer clients over time. The first option results in poorer clients, and migration towards other technologies, where this is solved.

  255. stpeter

    I see your point.

  256. singpolyma

    Peter Waher: fully agree. Any nontrivial UGC app has to deal with xhtml sanitization somewhere, every framework has tools for it

  257. singpolyma

    I don't implement the checking "to spec" I rather use the sanitization built into my framework which I would use for a feed reader or anything else

  258. moparisthebest

    Millions of developer hours on character sets, encoding, and markup, no use case not met by ASCII, they have played us for fools 🤣

  259. moparisthebest

    We had multibyte emojis in my day too, looked like this: :) :D :'(

  260. Seve

    Peter Waher: I personally think that's the right mindset to move forward, totally agree