jdev - 2026-01-29


  1. jjj333_p (any pronouns)

    anyone seen the maintainer of https://www.npmjs.com/package/stanza ?

  2. jjj333_p (any pronouns)

    domain that their chat is hosted on now points to the login for some sketchy ai app

  3. jjj333_p (any pronouns)

    no commits in a year

  4. jjj333_p (any pronouns)

    alternatively where are the docs for https://github.com/xmppjs/xmpp.js?tab=readme-ov-file

  5. jjj333_p (any pronouns)

    found it https://github.com/xmppjs/xmpp.js/tree/main/packages/client

  6. jjj333_p (any pronouns)

    i keep running into ```xml <stream:error> <undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-streams"/> <text xmlns="urn:ietf:params:xml:ns:xmpp-streams">Client acknowledged more stanzas than sent by server</text> </stream:error> ``` 🤔

  7. jjj333_p (any pronouns) retracted a previous message, but it's unsupported by your client.

  8. moparisthebest

    bad smacks impl?

  9. jjj333_p (any pronouns)

    oh ig if we'll discuss it ill post it again instead of retracting ```xml <stream:error> <undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-streams"/> <text xmlns="urn:ietf:params:xml:ns:xmpp-streams">Client acknowledged more stanzas than sent by server</text> </stream:error> ```

  10. jjj333_p (any pronouns)

    i fixed it by removing this that was in the sample code:

  11. jjj333_p (any pronouns)

    https://downloadable.pain.agency/file_share/019c0901-30b7-7f11-a498-6ee3e5d3d9ba/9768de77-f056-461d-92ae-f4712ff1ed4c.png

  12. Link Mauve

    jjj333_p (any pronouns), just so you know, a lot of the XMPP community is currently at XMPP Summit in Brussels, you might not get much help these few days. :)

  13. jjj333_p (any pronouns)

    ah gotcha

  14. jjj333_p (any pronouns)

    one of these days maybe ill be able to go to such events (i may move to germany)

  15. Link Mauve

    Where are you located currently?

  16. jjj333_p (any pronouns)

    hawaii 🙃

  17. jjj333_p (any pronouns)

    it costs like $250 just to go between islands, and im a broke college student

  18. Link Mauve

    Oh wow.

  19. jjj333_p (any pronouns)

    i also dont live on oahu which is the island that any events in hawaii happen on

  20. Link Mauve

    It costed me about 30€ to go from my place to Brussels by trains, about 600km.

    😭 1
  21. Link Mauve

    It cost me about 30€ to go from my place to Brussels by trains, about 600km.

  22. jjj333_p (any pronouns)

    its beautiful out here, but the price you pay is isolation... I plan on doing a masters in germany or the like though. probably offtopic for this room lol

  23. vpzom

    Is there a standard process for detecting URLs inside XEP-0393 messages? How should that interact with the styling tokens?

  24. lovetox

    393 defines no syntax for urls

  25. lovetox

    so .. the styling syntax rules apply to urls the same as to all other text

  26. vpzom

    ah true I guess that's fine since they still show up

  27. vpzom

    actually, is it even possible for a link to cross the style boundaries given the whitespace rules?

  28. jjj333_p (any pronouns)

    > actually, is it even possible for a link to cross the style boundaries given the whitespace rules? in theory urls can contain spaces, one of those weird grey areas

  29. theTedd

    in the form of "%20" which browsers might choose to display 'nicely'

  30. jjj333_p (any pronouns)

    gajim breaks the xep0066 embed if the url contains spaces (because i guess the url doesnt match the way its parsing the body?) even though if you copy paste into firefox it loads as expected

  31. jjj333_p (any pronouns)

    > in the form of "%20" which browsers might choose to display 'nicely' ive pasted links with a normal ` `

  32. theTedd

    Yes, but the browser does the conversion for you

  33. jjj333_p (any pronouns)

    curl also handles it fine as long as you put the url in " so that the shell doesnt eat it

  34. vpzom

    I think if a user puts a space in a message, then it's reasonable to assume they don't mean it to be part of the URL

  35. jjj333_p (any pronouns)

    perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed

  36. luca

    You won't be able to find anyone agree on how a URL should look https://daniel.haxx.se/blog/2022/01/10/dont-mix-url-parsers/

    ❤ 1
  37. jjj333_p (any pronouns)

    perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed, and then even further beefing with even if both url and body contain a space then theyre not considered equal and it doesnt embed

  38. theTedd

    aka People try to be clever instead of following the spec

  39. luca

    Maybe read the blog? It does mention "the spec", or lack thereof

  40. theTedd

    I did. It mentions RFC 3986 and 3987, the latter is for internationlized urls

  41. theTedd

    The issue is that everyone writes their own parser differently, based on what _they_ expect/want

  42. singpolyma

    > perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed, and then even further beefing with even if both url and body contain a space then theyre not considered equal and it doesnt embed Who you calling everyone 😉

  43. singpolyma

    There are also several specsbwith several versions and not all the same. None allow spaces though

  44. moparisthebest

    > I did. It mentions RFC 3986 and 3987, the latter is for internationlized urls yes the 2 specs no one follows

  45. moparisthebest

    the XMPP equivalent of mixing 2 url parsers is mixing 2 xml parsers, which has resulted in really nasty vulns in the past https://project-zero.issues.chromium.org/issues/42451378 too bad we are all still doing this

  46. jjj333_p (any pronouns)

    > Who you calling everyone 😉 tbh i assumed cheogram did since my understanding is its based on conversations

  47. jjj333_p (any pronouns)

    i just assumed it would be inherited

  48. lovetox

    > perhaps, tbh im still beefing with everyone following the conversations decision of if body != url then dont embed, and then even further beefing with even if both url and body contain a space then theyre not considered equal and it doesnt embed Gajim has a option to preview all images

  49. lovetox

    also without 0066

  50. jjj333_p (any pronouns)

    > Gajim has a option to preview all images lovetox, it seems to be either autoload all content or it doesnt embed at all. I dont want to have to open firefox every time but i also dont want every image ever downloaded, especially with there being no automatic pruning