jdev - 2026-04-14


  1. chunk

    test

  2. taba

    > test ie

  3. chunk

    D:

  4. Sunglocto

    are muc_open and muc_membersonly mutually exclusive?

  5. singpolyma

    I expect so

  6. snit

    considering XEP-0045 explicitly defines the terms open and members-only as antonyms of each other, i assume so too, but i haven't yet properly read through the XEP yet so don't quote me on that lole

  7. lovetox

    Sunglocto: yes

  8. moparisthebest

    are they? 2 different booleans implies they are not mutually exclusive and nothing mentions this in the XEP so I'd say no they are not mutually exclusive

  9. snit

    > Open Room > A room that non-banned entities are allowed to enter without being on the member list; antonym: Members-Only Room. > Members-Only Room > A room that a user cannot enter without being on the member list; antonym: Open Room. what does it even mean if a non-member can simultaneously both join and not join a room??

  10. lovetox

    Where do you read that

  11. lovetox

    I think the text is pretty clear

  12. snit

    > Where do you read that https://xmpp.org/extensions/xep-0045.html#terms-rooms

  13. larma

    > are they? 2 different booleans implies they are not mutually exclusive and nothing mentions this in the XEP so I'd say no they are not mutually exclusive muc_open is not a setting with a boolean, it's a feature that can be in disco

  14. larma

    basically config muc#roomconfig_membersonly=true -> feature muc_membersonly config muc#roomconfig_membersonly=false -> feature muc_open

  15. moparisthebest

    >> are they? 2 different booleans implies they are not mutually exclusive and nothing mentions this in the XEP so I'd say no they are not mutually exclusive > muc_open is not a setting with a boolean, it's a feature that can be in disco 2 different features, meaning they can both (or neither) be returned

  16. moparisthebest

    I agree a MUC returning both or neither would be silly, but when it's possible (especially when not called out in the spec) your code still needs to handle silly

  17. lovetox

    it is called out in the spec

  18. lovetox

    it says its an antonym

  19. larma

    I mean, it's always good to be lax, but they're mutually exclusive, so the server would be misbehaving if they sent both. Reasonably behavior includes making it impossible to join a MUC that has both in its disco result (because if you can't know if it's open or not, better not join at all). However it may be that a room is in a state that's neither of the two

  20. lovetox

    antonym: a word of opposite meaning

  21. moparisthebest

    "antonym" is not normative language

  22. larma

    A room can be in the creating state (between joining a non-created room and sending the room config form), in which case it is neither muc_open nor muc_membersonly. But also it's impossible to join at this state.

  23. lovetox

    moparisthebest, 🙄

  24. larma

    moparisthebest, there is no such thing as "normative language"

  25. larma

    if you're referring to BCP14 keywords, RFC8174 is explict that "Specifically, normative text does not require the use of these key words."

  26. moparisthebest

    all I'm saying is the payload supports both, the spec doesn't make them mutually exclusive via https://www.rfc-editor.org/rfc/rfc2119 or explicitly in any other way, so the answer to "does my code need to be aware of this possibility" is "yes"

  27. moparisthebest

    I would argue the payload shape supporting both alone requires that answer to be "yes" but don't feel like dying on that hill :P

  28. bass.asf

    r.i.p. dying on a hill

  29. bass.asf

    definitely dont go up that hill

  30. snit

    we can always just

  31. snit

    make it explicit in the spec

  32. lovetox

    yes ! lets solve more problems nobody has

  33. bass.asf

    > yes ! lets solve more problems nobody has agree

  34. bass.asf

    when in doubt do this

  35. moparisthebest

    > make it explicit in the spec that's the way, aggressively remove any and all ambiguity

  36. chunkipho

    for the win, no contest

  37. snit

    > yes ! lets solve more problems nobody has it sure seems like a problem if the semantics of a formal specification can be questioned at all, let alone promptly debated on

  38. snit

    if we're arguing against making specifications clear why even have specifications at all

  39. singpolyma

    For fun!

  40. lovetox

    so you argument is, a specification is not clear until you cannot find anyone anymore on the internet who can debate and question it?

  41. lovetox

    i guess the easier way is to declare all specifications unclear and do something else :D

  42. chunkipho

    epic genius idea!

  43. chunkipho throws his papers out the window and runs down the street for no reason

  44. chunkipho

    explicit or no plicit

  45. snit

    > i guess the easier way is to declare all specifications unclear and do something else :D what an odd conclusion to come to. at that point why even try to improve anything when we all know it'll never be completely perfect?

  46. Cynthia

    Let's make XMPP our own way

  47. Cynthia

    For me, I'll be using YAML instead of JSON or XML

  48. chunkipho

    expecting perfection, while hardly realistic, has already been achieved

  49. chunkipho

    xmpp is amazing, you should try it

  50. una

    ¿How do I make a MUC read-only during the night and read-write during the day?

  51. Cynthia

    With a module!

  52. singpolyma

    Yup

  53. chunkipho

    modules for the win

  54. chunkipho

    i have yet to figure out custom modules for ejabberd. that could be a good amount of fun, so long as I can use not erlang o_o

  55. Cynthia

    How big are XMPP stanzas on average

  56. moparisthebest

    seems impossible to answer generally

  57. moparisthebest

    generally accepted max on the public federated network is 256kb if that helps

  58. theTedd

    The vast majority of stanzas are `<presence/>` so the average will tend towards the average size of those (less than 1kb)

  59. taba

    > How big are XMPP stanzas on average smallest of the standard limits of prosody and ejabberd

  60. taba

    ley posted a limit for prosody that secures you against a dos attack

  61. Cynthia

    Is it possible to make a XMPP client for the Sega Genesis with stanzas as big as 256kb?

  62. Cynthia

    Maybe that's a dumb question, but someone managed to make a IRC client for it

  63. taba

    there are xeps for using xmpp's models in constrained environments

  64. taba

    some millitary contractor said to support it i think

  65. Cynthia

    I wonder if that could be useful

  66. Cynthia

    Imagine having an entire client in 64KB of RAM

  67. moparisthebest

    do you want to do TLS on it too or are you ok offloading that?

  68. taba

    xmpp over wireguard when

  69. taba

    would wireguard even fit

  70. taba

    maybe mqtt or some shit?

  71. moparisthebest

    I wrote https://github.com/moparisthebest/kiss-xmpp to use from my 1983 atari ... one day I'll play with writing a native one :)

  72. taba

    holy shit

  73. taba

    xamn