Modern XMPP project discussion - 2024-04-18


  1. contrapunctus

    I can't seem to find any XEP for polls in XMPP.

  2. contrapunctus

    Nor for voting to promote/demote MUC members to/from roles.

  3. Link Mauve

    > 12:04:21 fugata> jonas’: Why's everyone so bothered by that? Round, square, rounded square...I don't really seem to care 🤔 When I last worked on making GTK fast on my phone, the single biggest performance cliff was caused by having round things.

  4. Link Mauve

    For instance a texture blit would be one shader instruction, but a texture blit with round corners would be like 150+ instructions.

  5. Menel

    But this is Googles general design choice

  6. Link Mauve

    On my phone, writing a theme with mostly no border-radius made most applications go from struggling around 20 fps to being smooth 60 fps.

  7. MSavoritias (fae,ve)

    > Nor for voting to promote/demote MUC members to/from roles. *yes*. i would be very intersted in alternative community governance schemes besides 2 owners like this room

  8. MSavoritias (fae,ve)

    and it includes polls

  9. MSavoritias (fae,ve)

    if anybody is working on one i mean

  10. contrapunctus

    Link Mauve: Thanks, I didn't know there was a performance hit. Nobody ever mentions it when complaining about round/square/rounded square, so I figured it was purely an aesthetic preference.

  11. pep.

    > *yes*. i would be very intersted in alternative community governance schemes besides 2 owners like this room Would be nice to have indeed

  12. rom1dep

    > Link Mauve: Thanks, I didn't know there was a performance hit. Isn't that stuff hardware accelerated and barely measurable?

  13. Link Mauve

    It is hardware accelerated and very measurable on slower GPUs.

  14. jonas’

    and square corners look better, too.

  15. jonas’

    :P

  16. rom1dep

    jonas’: true, but only when you add drop shadows! /s

  17. MattJ

    contrapunctus [13:35]: > Nor for voting to promote/demote MUC members to/from roles. I did this via a bot in some channels I used to run. Worked well enough, but could be made nicer.

  18. contrapunctus

    MattJ: Cool! What steps did you take to prevent abuse of the voting process?

  19. MattJ

    It was a long time ago, but IIRC there was a threshold for the amount of time you had to be present for, before you could participate in voting

  20. MattJ

    If there was other stuff I can't remember

  21. pep.

    There could be so many ways to do this. Unsure how to integrate it in the protocol :/

  22. MattJ

    I do recall that I started porting it to work server-side in the early Prosody days

  23. MattJ

    Basically it would tell everyone they were an admin, so they could use normal MUC syntax

  24. MattJ

    But the actions would only occur if enough people performed them

  25. pep.

    That's a good start I guess, but yeah, who gets to be admin and why, that would probably require tweaks per room that use this kind of module..

  26. pep.

    And it should be possible to change whenever $people decide they should :P

  27. contrapunctus

    > It was a long time ago, but IIRC there was a threshold for the amount of time you had to be present for, before you could participate in voting MattJ: Ah, that sounds like a good way.

  28. Menel

    BRB, generating some sleeper accounts 😉

  29. ru_maniac

    hi all we've recently began using Dino for our company's IM, made our own fork, and invested some time into MacOS build which was neglected for a while i would be very interested in any feedback from Mac users, if there are any: https://github.com/mxlgv/dino/blob/master/BUILD_MACOS.md

  30. ru_maniac

    and my apologies if this is a bit out of the scope of this MUC

  31. Link Mauve

    ru_maniac, instead of doing notifications using a plugin, wouldn’t it be better to implement it in glib so that GApplication in any program can use native notifications on that OS?

  32. ru_maniac

    if there's any better way to do so - please let me know, this is my primary goal here, to gather feedback I've only two devs whom have Macs, so I rely specifically on their estimations

  33. Link Mauve

    ru_maniac, this issue is the only one I can find about notifications on macOS: https://gitlab.gnome.org/GNOME/glib/-/issues/2988

  34. Link Mauve

    Are you sure they don’t already work?

  35. ru_maniac

    I'll check with devs on the team, so let me put a pin in that

  36. Link Mauve

    Also it might be better to build a .app/.dmg file instead of requiring every user to install brew, but I don’t know much about this OS to give any further guidance.

  37. ru_maniac

    dmg is already in the works, we want to put that into our existing CI

  38. ru_maniac

    brew is a temporary solution, I hope

  39. Link Mauve

    Cool!

  40. ru_maniac

    btw, we already have pkgbuild for arch/manjaro and deb packages for ubuntu 22.04+ and the like will be available starting with the next release, alongside windows version

  41. ru_maniac

    (windows build is available now as well, it's deb that's hanging behind)

  42. Link Mauve

    Oh, you don’t plan on merging your changes back upstream?

  43. ru_maniac

    the reason for the fork is that upstream devs weren't that interested in our changes

  44. ru_maniac

    after seeing how they've treated our first PRs, we've decided to fork off

  45. ru_maniac

    I'm not blaming anyone here, don't get me wrong, but they seem not really that interested in accepting PRs

  46. ru_maniac

    I would be thrilled if upstream project would cherry pick stuff from our fork, but for now it is what it is

  47. Link Mauve

    Makes sense.