XSF Discussion - 2017-11-23


  1. Guus

    > I will execute the random selection then on the next Euro Millions draw which is this Friday, November 24th 2017.

  2. Guus

    longest drumroll ever?

  3. Alex

    ;-)

  4. dwd

    Guus, If I thought we'd have got there in time, I'd have suggested the UK lottery draw last night.

  5. Ge0rG

    that would've been very close.

  6. Ge0rG

    BTW, sorting people by their name is an inherently unfair process.

  7. Guus

    dwd: oh, the timing doesn't matter much. I'm just glad we were able to come up with a way to resolve this in the first place.

  8. mathieui

    Ge0rG, maybe hash the name + the date and then sort the hashes?

  9. Guus

    Why are we grouping people by name?

  10. Ge0rG

    2648f46ed83b89a922e3a74aa5500dee: that's an awesome idea.

  11. dwd

    Ge0rG, I don't think it makes any difference how people are ordered, the point is that the order must be decided upon and fixed in advance.

  12. Ge0rG

    dwd: you are absolutely right, in the context of the tie resolution

  13. Guus

    we're basically ordering them in a circle, not in a prioritized queue.

  14. Ge0rG

    my remark was rather related to the typical ordering of studens in a class, when the teacher decides whom to ask for homework

  15. dwd

    Ge0rG, For voting, the memberbot randomizes the order each time you vote, as well. We've run into that one before, as you can tell...

  16. Ge0rG

    dwd: right. It confused me the first time I mistyped my vote and had to recast, but it's logical.

  17. Ge0rG

    dwd: I'm also pretty sure I read about it on the ML

  18. Guus

    Ge0rG: my best friends mum used this for job application. Uses her maiden name normally, but used her husbands family name "Aa" to put herself quite literally on the top of the stack :)

  19. Ge0rG

    Guus: was the name really "Aa"?

  20. Ge0rG

    that's like all the "1-2-3 plumbing" and "aaa services" in the yellow pages.

  21. dwd

    Guus, 'My surname? Yes, it's "a". Lowercase.'

  22. Guus

    the family name uses https://en.wikipedia.org/wiki/Tussenvoegsel, but otherwise, yes, Aa (and in the Netherlands, we don't use tussenvoegsels for ordering names).

  23. Guus

    dwd: just for kicks, we once looked up to see if his family really was amongst the first in the phonebook. Turns out that there really are people with "A" for a surname.

  24. Guus

    naturally, I've declared my friend a loser and moved on.

  25. Ge0rG

    Tussenvoegsel is a very interesting word.

  26. Guus

    Yeah, filling out (some) Dutch names in international forms is fun.

  27. Ge0rG

    it's also fun to be called Georg Lukas. People make witty remarks about lightsabres, darthvaders etc. all the time

  28. Guus

    I'm always annoyed when things like address book applications list my family ("der Kinderen") under "d" instead of "k"

  29. Guus

    Yeah, double wammy with your last name also being a common first name.

  30. dwd

    Guus, So I now learn that you are meneer Der Kinderen but Guus der Kinderen. And you're collated under "K" in Dutch, but "D" in Belgian.

  31. Guus

    dwd, that's correct.

  32. Ge0rG

    Guus: yeah, that too. "What's your name?" -- "Lukas" -- "So what's your last name?"

  33. Alex

    we can formalize the tie resolution process in a XEP or other document, to have it in file when it happens again, also ties which involve more than 2 applicants

  34. Guus

    Alex: we can, but do we need to put in the effort? It worked out pretty well this time, without the added documentation.

  35. Alex

    Guus: agreed

  36. dwd

    Alex, Ideally, we'd publish the algorithm in the run-up to an election, so we could crank it through quickly.

  37. dwd

    Alex, But in fairness, it's happened twice in XSF history, so maybe Guus has a better idea.

  38. Guus

    not sure if "not doing anything else" qualifies as an "idea"

  39. mathieui

    I like how the hash discussion for 0392 oscillates between "not too old stuff, it will get deprecated and removed" and "not too recent stuff, it won’t be available in java"

  40. Zash

    For a use case where md5 would be fine

  41. mathieui

    indeed

  42. Zash

    Or like crc32

  43. dwd

    I think it's reliant on low collision, so MD5 is probably the right level.

  44. mathieui

    the worry is more that md5 is deprecated in many places, and may be removed somewhen

  45. dwd

    Predictable collision is fine. Even a second preimage attack wouldn't be a problem.

  46. dwd

    mathieui, Doubtful. MD5 is used in a lot more places than just crypto. But if people are worried, SHA-1 will be with us forever, basically.

  47. mathieui

    yeah

  48. dwd

    Although I like the fact is says "SHA-1 ... as defined by zlib".

  49. Zash

    dwd: Will it?

  50. Zash

    git was mentioned on the mailing list, but I think both git and hg are looking at phasing it out

  51. Flow

    Zash, git is looking into phasing out sha1, hg is looking into phasing out itself ;-)

  52. Zash

    2/10 would not be trolled again

  53. vanitasvitae

    Just read the ejabberd release post. That made me thinking, is there a link type "share via xmpp", which clients can open and which carries a predefined body, so the user only has to select a recipient?

  54. MattJ

    vanitasvitae, https://xmpp.org/extensions/xep-0147.html#actions-message

  55. MattJ

    I think the "select a recipient" part is trickier though

  56. Zash

    Has Firefox killed that social plugin architecture they had?

  57. Zash

    Wherein you had installed some pice of JS that would handle "share this" events.

  58. MattJ

    you could do that in Javascript (sorry Zash)

  59. waqas

    Unfortunately I doubt it

  60. Zash

    MattJ: This was 100% pure JS only plugins

  61. Zash

    You could have a sidebar and share options.

  62. Link Mauve

    Hmm, XEP-0277 doesn’t say anything about a sharing URI, the closest is https://xmpp.org/extensions/xep-0277.html#location

  63. vanitasvitae

    Yeah, looks like thr recipient is always fix.

  64. MattJ

    Ha, just read the ejabberd release post. They stole our certificate configuration approach ;)

  65. Zash

    Huh?

  66. Zash

    MattJ: The one we talked about but haven't gotten around to implement yet?

  67. MattJ

    "Introductin certfiles option": "The option is supposed to replace existing options ‘c2s_certfile’, ‘s2s_certfile’ and ‘domain_certfile’. The option accepts a list of file paths (optionally with wildcards “*”) containing either PEM certificates or PEM private keys. At startup, ejabberd sorts the certificates, finds matching private keys and rebuilds full certificates chains which can be used by fast_tls driver."

  68. MattJ

    ignore my typo

  69. Zash

    We just pick something based on file names

  70. Zash

    "just"

  71. dwd

    Zash, It's in hardware on a load of Intel CPUs, and in use in a zillion places as a general hash. It's not very good at it, actually, but it's there.

  72. Zash

    Wait, {xep 313} says WHAT?

  73. Bunneh

    Zash: Message Archive Management (Standards Track, Proposed, 2017-02-22) See: https://xmpp.org/extensions/xep-0313.html

  74. Flow

    doesn't look like xep277 registers 'node' the querytype, it's even missing in xep277 § 11. Or am I missing something?

  75. Flow

    arg, node even clashes with https://xmpp.org/extensions/xep-0050.html#registrar-querytypes

  76. Link Mauve

    Flow, hmm, it should be at the ?pubsub query type: https://xmpp.org/extensions/xep-0060.html#registrar-querytypes

  77. Link Mauve

    That’s where it’s registered.

  78. Flow

    Link Mauve, then there is a '?pubsub' missing in xep277 § 2.1?

  79. Link Mauve

    Seems so.

  80. Flow

    Link Mauve, https://github.com/xsf/xeps/pull/545

  81. Link Mauve

    edhelas, goffi, ^

  82. goffi

    Flow: this would be a bad idea: 1) the URI is without "pubsub" action in XEP-0060 (the URI is not specific to microblog) 2) we have already tons of URI in the wild without the "pubsub" action 3) the "node" variable is enough to know that it's a pubsub URI (but even if it's not used for something else, it could be, so that's not great I agree)

  83. goffi

    and if we were adding and action, I would prefer to have "blog" or "microblog" instead of "pubsub", this would avoid retrieving items to know what's the node is about.

  84. goffi

    an action*

  85. goffi

    https://xmpp.org/extensions/xep-0060.html#impl-uri

  86. goffi

    (final standard)

  87. goffi

    oups draft sorry

  88. jonasw

    Zash, crc32 doesn’t work

  89. goffi

    "node" is used actually, I've missed the comment abose. That's unfortunate, XEP-0060 should have used an action but it didn't. Anyway command use an action, so we can still differenciate.

  90. jonasw

    you need a few hundred bytes of random input before crc32 starts to work as a proper mixing function

  91. jonasw

    (tried that)

  92. jonasw

    at which point it seemed to me that SHA-1 is a more sensible alternative, than something home-brew based on a crc32 variant

  93. jonasw

    dwd, yes, the incorrect reference to zlib will be going away soon, when I can comfortably type again

  94. Zash

    Crypto hashes does come with all that random pre-input data, so sure.

  95. jonasw

    exactly

  96. jonasw

    so crc32 isn’t quite sufficient by itself

  97. jonasw

    md5 would probably be fine, too

  98. Neustradamus

    Good to see discussions/changes on XEP-0277!

  99. Flow

    goffi, ahh that thing can come without an action. i've changed the PR https://github.com/xsf/xeps/pull/545

  100. MattJ

    Grr, MIX

  101. Zash

    Grrr?

  102. MattJ

    I kinda assumed it didn't use type=groupchat

  103. waqas

    Yeah

  104. Zash

    I kinda assumed it would

  105. MattJ

    The semantics are so different, isn't a MIX joined from your bare JID?

  106. MattJ

    Why would you want groupchat routing rules on that?

  107. Zash

    MattJ: They don't matter because the server needs to be MIX-aware

  108. Zash

    I assume

  109. MattJ

    I confess I'm way behind on MIX

  110. MattJ

    All I'm saying is, I was surprised by this

  111. Zash

    I'll be basing all my MIX-related statements of what I overheard while people were gathered around a whiteboard drawing it up a few years ago

  112. Zash

    While intoshi, ralphm and I were cutting up XEP 60 into pieces