XSF Discussion - 2018-10-29

  1. jonas’

    Ge0rG, you still need that ibr-detection-script?

  2. Ge0rG

    jonas’: it'd be great to run my old xmpp.net list against that, to remove invalid/dead servers from the yaxim list

  3. Ge0rG

    I'm pretty sure I don't need 100% Conversations Compliance.

  4. jonas’

    Ge0rG, https://paste.debian.net/hidden/aa6f149c/

  5. jonas’

    returns 0 if offered, 1 if not offered, 2 on error

  6. jonas’

    also prints something to stdout if offered

  7. jonas’

    (and nothing if not offered)

  8. jonas’

    takes only one argument, use with xargs to batch-process a long list

  9. Ge0rG

    jonas’: awesome, thanks!

  10. jonas’

    e.g. cat list_of_old_domains | xargs -n1 -P8 -- check_register.py | sed -r 's/^(\S+)\s.+$/\1/ > new_list_of_domains

  11. Ge0rG

    jonas’: running it from the aioxmpp git directory isn't sufficient for it to find the aioxmpp library?

  12. Ge0rG

    ModuleNotFoundError: No module named 'aioxmpp' :(

  13. jonas’

    it should be sufficient

  14. jonas’

    fire up a python interpreter and try to import aioxmpp from where you are

  15. Ge0rG

    ModuleNotFoundError: No module named 'pytz'

  16. Ge0rG

    this I can fix

  17. jonas’

    probably that then

  18. Ge0rG

    The moment when you realize that you can't determine whether a MUC is non-anonymous, because your MUCUser object can only remember one status value.

  19. edhelas


  20. Ge0rG

    jonas’: that rabbit hole is deeeeeeeep... `ImportError: cannot import name 'opentype'`

  21. jonas’

    work around it by firing a disco#info whenever you get status updates!!k

  22. jonas’

    Ge0rG, zeheck?

  23. Ge0rG

    from pyasn1.type import opentype

  24. jonas’

    different opentype probably

  25. jonas’

    install pyasn1 from repositories and uninstall what you installed via pip

  26. jonas’

    apt install python3-pyasn1{,-modules}

  27. Ge0rG

    jonas’: I have the apt versions installed

  28. jonas’

    make sure you don’t have pip versions installed, too

  29. jonas’

    python3 -c 'import pyasn1; print(pyasn1.__path__)'

  30. Ge0rG

    Le Sigh. I had it installed as user, not as root.

  31. jonas’

    wait a month or two until you can apt install python3-aioxmpp/unstable ;-)

  32. jonas’

    or just give me the list

  33. Ge0rG

    I'm almost there! ...I hope...

  34. Ge0rG

    ModuleNotFoundError: No module named 'aioopenssl'

  35. jonas’

    pip for now, upload to debian is still pending

  36. Ge0rG

    of the 116 domains on my old list, only 37 do IBR according to the script

  37. jonas’

    no warranties something something

  38. Ge0rG

    shall I rerun and diff?

  39. jonas’

    I would be extremely surprised if it was non-deterministic

  40. flow

    Ge0rG, would be interesting how many domains would allow trivial account creation (no-captcha, etc.)

  41. Ge0rG

    flow: indeed. I'd need to filter for that anyway because yaxim only supports trivial account creation

  42. Ge0rG

    I wish we had an easy mechanism to populate a data form into Android widgets.

  43. jonas’

    can’t be that hard

  44. Ge0rG

    You could do awesome things with that, like in-MUC polls etc.

  45. Ge0rG

    interactive bot UIs

  46. Ge0rG

    or even interactive text games.

  47. MattJ

    Isn't it a massive mistake for this example not to include publish-options? https://xmpp.org/extensions/xep-0223.html#example-3

  48. peter

    MattJ: well, the next example shows that, no?

  49. MattJ

    It does, but isn't the whole point of that XEP to encourage, or rather enforce, the use of publish-options?

  50. Zash

    Safest to assume that someone is going to look at only that example and make all the wrong assumptions based on it

  51. MattJ

    iirc some clients were found to be leaking bookmarks by not including publish-options

  52. peter

    I see your point; pull requests welcome.

  53. MattJ

    I just wanted to make sure I wasn't missing something obvious

  54. peter

    You're not! :-)

  55. MattJ

    I just opened the XEP to copy/paste an example publish with publish-options, and that was the first example I looked at :)

  56. peter

    I can't remember why we wrote it that way, but adjusting it as you recommend seems like a good idea.

  57. MattJ

    Ok, I'll add it to my todo

  58. peter


  59. peter tries not to think about his todo list ;-)

  60. Ge0rG

    MattJ [19:20]: > Ok, I'll add it to my todo That is kind of a no-op for the next year, right?

  61. MattJ

    Depends on the priority :)

  62. Ge0rG

    I've got a bunch of to-do items on various XEPs... 😣

  63. jonas’

    peter, talking about your todo, how’s the cleansing of conference.jabber.org coming along? :)

  64. peter

    jonas’: replied via email

  65. jonas’

    nice thanks

  66. lovetox

    its weird indeed, if i read that example i expect that afterwards is described why this is NOT a good idea

  67. lovetox

    for example because the autocreate feature assumes server defaults and these do not fit the usecase

  68. lovetox

    but instead it just says nothing about it, like it is intended to be one step in the workflow