XSF Discussion - 2021-09-19


  1. bung

    > I wrote: > Isn't private group conversations on Xmpp spoken without verification? > I think some things need to be clicked on. Is there such a issue?

  2. Sam

    bung: I'm sorry, but I don't understand your question. What do you mean by "verification"? Verification of what?

  3. bung

    > Sam wrote: > bung: I'm sorry, but I don't understand your question. What do you mean by "verification"? Verification of what? XMPP requires you to verify the key of the user you are talking to.

  4. mjk

    bung: that's a general requirement, not xmpp-specific. Otherwise you don't know who you talk to

  5. bung

    > mjk wrote: > bung: that's a general requirement, not xmpp-specific. Otherwise you don't know who you talk to The question here is whether the cryptic conversation is ready.

  6. bung

    Do you need to click on something or not?

  7. Sam

    Are you talking about a private MUC using OMEMO?

  8. bung

    > Sam wrote: > Are you talking about a private MUC using OMEMO? Yes

  9. mjk

    You mean can encrypted communication be established without verification? Sure, it helps against passive attacks

  10. Sam

    I'm still not entirely sure what the question was, but I think the answer is that most (all?) OMEMO implementations use a method called trust-on-first-use. They trust the keys a contact sends, and its up to you to mark them as verified or not. So yes, you'd have to click something if you want lots of little green lock icons, but if you don't everything should still work fine.

  11. bung

    > Sam wrote: > I'm still not entirely sure what the question was, but I think the answer is that most (all?) OMEMO implementations use a method called trust-on-first-use. They trust the keys a contact sends, and its up to you to mark them as verified or not. So yes, you'd have to click something if you want lots of little green lock icons, but if you don't everything should still work fine. Can I use it without marking?

  12. bung

    But encrypted

  13. Sam

    Yes

  14. Zash

    There we go https://github.com/xsf/xmpp.org/pull/964#issuecomment-922464835

  15. mjk

    Looks neat Zash. How does it look in a narrow window though? ;D

  16. mjk

    In other news, my one-byte patch is finally here! https://github.com/xsf/xeps/pull/1106

  17. Zash

    mjk, https://github.com/xsf/xmpp.org/pull/964#issuecomment-922470850

  18. mjk

    Ah, so it does reflow the table... if push comes to shove

  19. mjk

    s/table/whatever-this-is/

  20. Zash

    The actual XEP table doesn't deal with it of course...

  21. mjk

    It's pretty viewable on mobile anyway

  22. Zash

    https://cerdale.zash.se/s/670GESAng33Jbmpe/UZjAbHoFTuWpyaiFfiJPSA.jpg

  23. Zash

    Perfection

  24. Zash

    Oh, it didn't re-render the shortcodes? Hrhrhrrr

  25. Zash

    Seems it doesn't deal well with accessing from a different device 🤷️

  26. Zash

    Seems `hugo serve` doesn't deal well with accessing from a different device 🤷️

  27. Sam

    it caches some layouts and doesn't rerender, I forget what

  28. Sam

    It's very annoying.

  29. Zash

    Ah well, I feel like it's Good Enough for now. It can always be incrementally improved later.

  30. mjk

    > Perfection I say yes (not counting the listlessness)

  31. Zash

    No-CSS is best CSS!

  32. mjk

    Ah, that. I almost didn't notice. I meant the literal seeming lack of list-like rendering in the second and third lists

  33. Zash

    I tried using definition lists

  34. mjk

    Ah, that. I almost didn't notice. I meant the literal lack of list-like rendering in the second and third lists

  35. mjk

    And that's their default style?

  36. mjk

    Html :shrug:

  37. Zash

    yes, except in bootstrap undoes everything nice about them unless you add some class I can't find anymore

  38. Zash

    I like how https://prosody.im/doc/developers#core is rendered

  39. Zash

    But that's Bootstrap 3 and xmpp.org is Bootstrap 5 apparently, and now I don't know anything anymore

  40. Sam

    uggh, I didn't notice we were using bootstrap. It's gotten so bad. I volunteer as tribune, err, I mean, to purge bootstrap and create the tine stylesheet with a few dozen styles that's all we need.

  41. Sam

    (but seriously, if people are game I will do that later in the week when I have a day off)

  42. wurstsalat

    Zash: for access with other devices you can run hugo with address bind to 0.0.0.0

  43. Zash

    Ah yes, the "I'll just create a tiny stylesheet with a few rules" trap. And before you know it you've developed another 10kLOC CSS framework.

  44. wurstsalat

    I'll have a look at the column response in the evening, but that should be easy with the grid system breakpoints

  45. wurstsalat

    > (but seriously, if people are game I will do that later in the week when I have a day off) Please don't

  46. Sam

    I have literally never had that happen. I have seen it happen when people don't know how css works. I'm no expert, but I've never had that happen.

  47. Sam

    Anyways, this can be simplified and I'm willing to do it and maintain it if someone is willing to merge it.

  48. Zash

    🤷️

  49. MattJ

    I would rather use Bootstrap (or any other actual project) than begin maintaining our own CSS framework

  50. Sam

    I do not want us to maintain a framework either. That would be bad.

  51. Sam

    I just think that for a small site like ours there is no point to using a framework at all.

  52. MattJ

    The benefit of frameworks is that they are tested across browsers and documented. Fidding with CSS rules for everything you want to do is far more annoying than just looking up e.g. the grid documentation for your framework.

  53. MattJ

    I'm not particularly a fan of Bootstrap, but I think that all but the simplest of sites benefit from using an established project

  54. MattJ

    I don't think ours is a trivial site, it has tables and menus, we want columns, and we want it to be responsive

  55. Sam

    I disagree, it is trivial to make things work across browsers these days. Everything supports grid and flex layouts. The browser issues that used to necessitate frameworks are more or less gone for simple sites.

  56. moparisthebest

    > it is trivial to make things work across browsers these days

  57. moparisthebest

    These sound like famous last words

  58. mjk

    Well, probably not, as long as the set of browsers consists of "latest firefox and latest chromium" :)

  59. Zash

    ITYM "~latest firefox and~ latest chrome ~ium~"

  60. mjk

    Nah, things aren't that bad with ff these days

  61. wurstsalat

    > I don't think ours is a trivial site, it has tables and menus, we want columns, and we want it to be responsive Exactly. There is more than you might see at a first glance

  62. Sam

    I don't think that's true, bit maybe I'll do it and be proven wrong.

  63. mjk

    Sam: that's the spirit

  64. wurstsalat

    Why though? It works fine doesn't it?

  65. wurstsalat

    We now have something where people can come with an idea, look up solutions in the docs, put together existing building blocks, and have something up and running in minutes.