XSF Discussion - 2021-04-05

  1. Sam

    It's the time of the week for pestering about the XMPP Office Hours again! This week we have "Cryptographic Identity: Conquering the Fingerprint Chaos" by Paul Schaub (vanitasvitae) on Tuesday, 6 April 16:00 UTC

  2. Sam

    See you tomorrow

  3. MattJ

    If it's anything like the blog post about signatures it will be a fun talk :)

  4. Sam

    Indeed, I'm really looking forward to it!

  5. marc

    Will the talk be recorded?

  6. vanitasvitae

    Probably, but not sure if it will be released.

  7. vanitasvitae

    The talk is intended mostly to be a discussion starter, so I'm not sure if there is much gain in publishing it later on

  8. vanitasvitae

    But we will see how it goes

  9. Sam

    It could be an interesting discussion starter for people who can't make the time slot too even if it's not a formal talk :)

  10. lovetox

    Sam, what kind of parser did you do for the styling

  11. lovetox

    i just tried to do alot of regex and matching

  12. lovetox

    but i feel this is not the most efficient approach

  13. Sam

    lovetox: it's not a regular language so you literally can't use regular expressions to match it.

  14. Sam

    This could use some serious cleanup, but I hand rolled one which you can find here: https://pkg.go.dev/mellium.im/xmpp/styling

  15. lovetox

    ok so i need

  16. lovetox

    to do something like the xml parser

  17. lovetox

    just not for xml

  18. moparisthebest

    When you tell people they can't use regular expressions they usually take that as a challenge

  19. Sam

    *sigh* fair enough. I promise that I can prove that it's impossible (with real regular expressions, not with the non-regular extensions, I dunno about those).

  20. Sam

    I'm sure you can get close enough, but it won't technically be compliant depending on how much that sort of thing matters to you.

  21. Zash

    PCRE to the rescue!

  22. Sam immediately looks for expressions using backtracking and DOSes that client

  23. Zash

    You underestimate the power of PCRE!

  24. menel


  25. Ge0rG

    > "RegEx" is pronounced /ɹəˈɡɹɛt/ https://twitter.com/IISResetMe/status/1378555177553309699

  26. emus

    The XMPP Newsletter March 2021 https://xmpp.org/2021/03/newsletter-03-march/

  27. emus

    There are two toots - if anyone of the members who have access to XSF Twitter, can tweet those, that would be really helpful! It is fine if you strip some text to get it into a tweet. No. 1: https://fosstodon.org/web/statuses/106014601189961843 No. 2: https://fosstodon.org/web/statuses/106014616154672452

  28. moparisthebest

    emus: great work once again thanks so much!

  29. emus