jdev - 2024-06-25


  1. rom1dep

    Wasn't there a plan for out of band histories retrieval? I keep finding it silly how clients behave while catching up histories across many rooms

  2. moparisthebest

    That's a job for a 3rd quic stream 😉

  3. rom1dep

    moparisthebest: please pitch me this whole quic thing

  4. moparisthebest

    rom1dep: it's TLS except you can keep the same connection open across network changes, ie wifi to LTE to different WiFi etc, and as an added bonus you can open multiple independent streams inside the same secure connection for free

  5. rom1dep

    But I don't see how that would make things better in that case?

  6. moparisthebest

    The case where head-of-line blocking delays the real-time stanzas where you are being sent a bunch of old ones?

  7. moparisthebest

    Head of line blocking affects 1 stream, so you have a stream open for real time stanzas and a seperate one for catching up on history (and maybe even a third for joining 1000 MUCs)

  8. rom1dep

    Ideally I would see clients fetch "bundles" containig all the histories, from all servers the user is connected to

  9. moparisthebest

    That's what they do now

  10. rom1dep

    I mean, that would get rid of the pagination

  11. moparisthebest

    It sounds like you are saying "open another connection to grab history" ? Which is also what I'm saying :) except with quic it's free

  12. moparisthebest

    You still need pagination no matter what

  13. rom1dep

    I was thinking along the lines of a single http-upload zip with "everything from XMPP.org since XYZ"

  14. rom1dep

    So you would import whole domain's histories at once and not page by page room by room

  15. moparisthebest

    Everything since... Is pagination

  16. rom1dep

    Ok, sure, I mean you get one page instead of dozens, is the point

  17. moparisthebest

    You can do that now

  18. moparisthebest

    I mean it's always gonna be by room because XMPP muc is by room, there's no link between rooms on a server like IRC or so

  19. rom1dep

    > You can do that now aren't you limited by stanza size? Is "now" an efficient way to dealing with long histories? (My empirical experience says no) > I mean it's always gonna be by room because XMPP muc is by room, there's no link between rooms on a server like IRC or so Couldn't we negotiate this at domain level?

  20. rom1dep

    > You can do that now aren't you limited by stanza size? Is "now" an efficient way to dealing with long histories? (My empirical experience says no) > I mean it's always gonna be by room because XMPP muc is by room, there's no link between rooms on a server like IRC or so Can't we negotiate this at domain level?

  21. jjj333_p (any pronouns)

    > What I would like to see happen next is the deprecation of that configuration protocol, and a replacement that allows you to 1) configure retention on a per-account basis, 2) request a manual purge of the archive one thought ive had, is the possibility for mam retention time to be configured on a per muc. unsure if this is at all related but it seems sensible to me

  22. jjj333_p (any pronouns)

    kinda tangential to disapearing messages

  23. singpolyma

    > The case where head-of-line blocking delays the real-time stanzas where you are being sent a bunch of old ones? You want to make sure mam is fully synced before you start getting real time stanzas anyway

  24. moparisthebest

    why? I think you want the opposite

  25. moparisthebest

    my arm has been cut off and I'm bleeding out, must call 911... oh better wait for MAM to sync first

  26. singpolyma

    Assuming your client had crashed right before you cut your arm or something

  27. singpolyma

    Normally you shouldn't need mam sync at all because we have smacks

  28. moparisthebest

    don't disconnect or restart prosody or anything before serious accident... noted. but why not just sync mam on a different stream? :/

  29. singpolyma

    Sure but I still want mam sync done before live messages come in for consistency reasons. So I know I have all the messages etc

  30. moparisthebest

    why not just back fill ?

  31. singpolyma

    If you're very careful with your deduping it can be done that way

  32. singpolyma

    But it's much nicer to just not have dupes

  33. qy

    > Normally you shouldn't need mam sync at all because we have smacks but cheo will always sync after a crash or oom-kill, right?

  34. singpolyma

    Yes

  35. singpolyma

    Though I'd like to fix that

  36. rom1dep

    > my arm has been cut off and I'm bleeding out, must call 911... oh better wait for MAM to sync first Considering the amount of data being passed around, it's a real shame that there is any waiting at all

  37. jonas’

    moparisthebest, why bother with QUIC? you can just open multiple streams to a server. don't even need to enable stream management on your MAM sync stream, saving resources, and you don't need to send initial presence so that you won't be bothered by incoming messages on that stream either.

  38. jonas’

    (ofc. you could somehow multiplex that with MIX, but it doesn't need XMPP protocol extensions beyond "oh and when you get a second QUIC stream, treat it like another XMPP stream. maybe allow SASL EXTERNAL to re-use the auth of the first stream)

  39. jonas’

    (ofc. you could somehow multiplex that with MIX, but it doesn't need XMPP protocol extensions beyond "oh and when you get a second QUIC stream, treat it like another XMPP stream. maybe allow SASL EXTERNAL to re-use the auth of the first stream")

  40. moparisthebest

    jonas’: quic is just free multiple streams with only 1 TLS overhead, which is more important for servers than clients But the connection roaming is super important for clients

  41. qy

    only if you ignore smacks

  42. jonas’

    moparisthebest, sure, but it's not a _requirement_

  43. jonas’

    binding this type of stuff to QUIC is not sensible

  44. jonas’

    binding this type of stuff (using secondary streams) to QUIC is not sensible

  45. jonas’

    making it more efficient using QUIC *is* sensible

  46. moparisthebest

    yea I'm not saying you can only do this extra stream stuff with QUIC, only that it makes it free

  47. jonas’

    FSVO free

  48. flow

    midly interesting XMPP usabilty story: someone one 404.city contacted me with a valid request via 1:1 message, I replied and got in return: xxxxxxx@404.city: modify: Messages from strangers are rejected

  49. flow

    now the persion will never know that I tried to reply

  50. flow

    now the person will never know that I tried to reply

  51. jonas’

    yeah

  52. jonas’

    404.city is notoriously and well-known bad about this.

  53. jonas’

    this used to be(?) the case even for the abuse contact, fwiw :)

  54. flow

    I wonder if something can be done about this

  55. flow

    at least, the 404.city user should become aware that they can send messages to me, but that my response won't be delivered to them

  56. jonas’

    good luck

  57. flow

    he