XSF Discussion - 2023-03-23

  1. the_internet_does_not_forget


  2. pep.

    Is the link safe to click? The URL domain tells me it is, the nickname not so much

  3. flow

    it is

  4. jonas’

    it is

  5. pep.


  6. edhelas

    > https://larma.de:5281/upload/nKUu3uHLCS1FC3kM/Screenshot%20from%202023-03-22%2018-35-42.png type="image/blurhash"

  7. larma

    edhelas, thumbhash is the new hot thing https://evanw.github.io/thumbhash/

  8. singpolyma

    larma: scroll up ;)

  9. Zash

    new hot thing? Hype??? I'm opposed!!!!

  10. Daniel

    Uh that looks nice

  11. singpolyma

    Yeah, I'm considering adding support for it to our existing blurhash support

  12. jonas’

    it does look quite nice indeed

  13. jonas’

    ah they were smart about number of components in luma vs. chroma and thus can get more detail in the same space?

  14. larma

    Especially they don't have the issue of random oversaturation that i super annoying in blurhash

  15. larma

    Especially they don't have the issue of random oversaturation that is super annoying in blurhash

  16. larma

    And: Alpha!

  17. goffi

    that make me think, we don't have anything to transmit this kind ot data with XMPP, do we?

  18. goffi

    could be nice to have a field for that in XEP-0446

  19. MattJ

    > <singpolyma> No. I just use a sims thumbnail element with type="image/blurhash"

  20. singpolyma

    Yeah, even if it's a low quality one, it's still a thumbnail

  21. goffi

    ah sorry I haven't followed all the discussion. It's fine this way indeed.

  22. goffi

    it is yes

  23. jonas’

    and a data URI inside?

  24. singpolyma


  25. jonas’


  26. singpolyma

    For blurhash I don't use b64 because it is ascii but I use encode. For thumbhash it is binary so I would use b64 data uri

  27. goffi

    then, it could be nice to have this documented somewhere (like XEP-0264), so we're all on the same page.

  28. jonas’


  29. jonas’

    also sensible

  30. Daniel

    Just for my understanding. None of these hash mechanism contain aspect ratios, no? So I would always need to include the original file dimensions to render it nicely?

  31. jonas’

    Daniel, thumbhash does

  32. Daniel

    Oh interesting

  33. singpolyma

    Thumbhash does, but thumbnail element contains a width and height anyway

  34. Daniel

    > but thumbnail element contains a width and height anyway Yes that's fine. I was just thinking about omemo media sharing or what ever that aesgcm xep is called

  35. moparisthebest

    Nice explanation https://blog.cryptographyengineering.com/2023/03/23/remarks-on-chat-control/

  36. larma

    thumbhash doesn't really include aspect ratio, you can derive an approximation of the aspect ratio

  37. larma

    Daniel, the more I think about it, the better I like the idea to just put a XEP-0446 element in the second line of omemo media sharing. If it makes you feel better, you could prefix with `data:text/xml,` 😉

  38. Daniel

    I could probably get in board with that

  39. larma

    Main reason being that we can also transfer filenames that way (which typically are lost today with omemo file transfers)

  40. Daniel

    Yes I got that

  41. Daniel

    I'll need to check if `data:text/xml` is compatible with current Conversations...

  42. singpolyma

    Eventually the solution is SCE right?

  43. Daniel