jdev - 2023-11-03


  1. cal0pteryx

    Is there a web tool for checking JID validity against available prep levels?

  2. lovetox

    > No framing is indeed a plus Not for the client. You need to write a stream read parser which makes impl way harder

  3. jonas’

    just use any SAX parser?

  4. jonas’

    that's a solved problem since 2000 or so

  5. moparisthebest

    >> No framing is indeed a plus > Not for the client. You need to write a stream read parser which makes impl way harder You already have one for TCP that'll just work?

  6. moparisthebest

    I agree SAX parsers are the worst and XMPP should have framing itself, but in this context I meant it was more of a drop in replacement for TCP/TLS/QUIC because of no framing

  7. jonas’

    what's wrong with SAX parsers?

  8. jonas’

    (conceptually; I think we can all agree that the java-inspired SAX-interface' API is not great™.)

  9. Guus

    Upi

  10. Guus

    eek.

  11. Guus

    You've not seen true horror until you tried to do anything SOAP with Java...

  12. jonas’

    s/ with Java// really

  13. jonas’

    now that you said Java and SOAP in a single sentence, there is absolutely no way I cannot link https://www.youtube.com/watch?v=Zn6cV6JuCMY

  14. Guus

    I'd not know - I never had to deal with SOAP outside of Java. Presumably the .NET side of things offers support? They always confuse me by trying to remove any reference to standard documents, and roll their own instead...

  15. Guus

    Hehe, yeah, that's a classic

  16. moparisthebest

    Haha how had I not seen that

  17. meson

    jonas’: 😂 thanks for sharing

  18. moparisthebest

    > what's wrong with SAX parsers? They are tricky and have been the source of countless security bugs that could have been entirely avoided with framing

  19. jonas’

    framing has its own issues if it's not handled by the surroudning protocol already (think length field overflows)