-
Savoita
> nicoco: > matrix is decentralized in theory, in practice the flagship server has most user… I was able to self-host Tuwunel (a Rust implementation of a Matrix server) in like... two or three hours? Mind you, I don't use Docker, and do it all scratch (usually called "bare metal", which is a bit extreme for downloading a binary and writing a Systemd service). Additionally, Tuwunel has a *lot* of configurables, and I always go through each one when I set up a new app, so that took quite some time. And hooking it up to OIDC, because I'm pretty new to Keycloak. ↺
-
Savoita
It is probably heavier (resource-wise), though. I am running it on a 2C+2GB VM, and it's currently using about 65% of that. I'm not sure how much of that is cache, though, because I am using its built-in DNS caching.✎ -
Savoita
It is probably heavier (resource-wise), though. I am running it on a 2C+2GB VM, and it's currently using about 65% of that. I'm not sure how much of that is cache, though, because I am using its built-in DNS caching, and Matrix naturally (at least, with joining large rooms) involves a *lot* of DNS lookups. ✏
-
Savoita
It is probably heavier (resource-wise), though. I am running it on a 2C+2GB VM, and it's currently using about 65% of that. I'm not sure how much of that is cache, though, because I am using its built-in DNS caching, and Matrix naturally (at least, with joining large rooms) involves a *lot* of DNS lookups, along with a lot of other cache-able data. ✏
-
Savoita
A benefit of Matrix over XMPP would be a superior network effect, I think. I was loathe to download and make an account for a chat client I am going to use for only a single room (because no other project uses XMPP). But, I really appreciate Gram's efforts, and I will try to contribute back at some point, so it was worth it to me. For others, it's impossible to know. Obviously, the same could probably be said for Discorders moving from that to something like Matrix, but I am under the impression that Matrix has a lot more users than XMPP (conjecture), so it's less likely to be a barrier. At the end of the day, it is always a trade-off. I have enjoyed running my Matrix server, though, so I thought I would provide some input.✎ -
Savoita
A benefit of Matrix over XMPP would be a superior network effect, I think. I was loathe to download and make an account for a chat client I am going to use for only a single room (because no other project uses XMPP). But, I really appreciate Gram's efforts, and I will try to contribute back at some point, so it was worth it to me. For others, it's impossible to know. Obviously, the same could probably be said for Discorders moving from that to something like Matrix, but I am under the impression that Matrix has a lot more users than XMPP (conjecture), so it's less likely to be a barrier. At the end of the day, it is always a trade-off. I have enjoyed running my Matrix server, though, so I thought I would provide some input. ✏
-
ashleytg
Today at 2:44 AM: > "chat is easy, let's make a new protocol!" seems fun
-
nicoco
Savoita, good for you. FWIW, I maintain a matrix client (more acurately an XMPP/Matrix gateway) so I'm not radically against Matrix ;-). I do like the idea of lightweight software though. Prosody (XMPP server) for slidge.im hosts 2 public rooms with about ~100 participants, a 2 smaller ones like this one, has currently 354 active server-to-server connections and 17 client-to-server connection (=local active users) and btop looks like this for this process:
-
nicoco
https://chat.slidge.im:5281/file_share/01a167cf-b59a-7452-ad11-25afed8070b7/2731e3ed-adb5-4dc9-9c7a-b8ff34c70519.png
-
nicoco
I think that if we move to matrix, we'll probably end up with a room on the flagship matrix.org server because maintenance is not a walk in the park, but I might be wrong. I met the tuwunel maintainer at FOSDEM last year, she's cool! She basically had no clue about how XMPP worked and from our quick chat, she was surprised that it was so simple and lightweight. Matrix was born during the peak blockchain hype, and their federation approach is blockchainily over-engineered IMHO.
-
nicoco
About network effect, I think for discord it would be true, for matrix over xmpp I think the difference would be anecdotical. The ratio between active participants and number of members of matrix rooms is ridiculous. Snarky me would say it's a marketing move because BIG NUMBERS = GOOD. :P
-
krig
I like keeping it simple as much as possible, and at least for now this is purely a hobby project and more network effect mostly means more bug reports to worry about 😅 maybe I’ll change my mind the day I try to make a living off gram…
-
krig
I have been keeping an eye on awebo which is a zig-community project to replace discord for video/audio chat mainly. Maybe it wouldn’t be impossible to get it to also support XMPP for text chat. I have no idea. But I like zig and the people working on it
-
Usman2
@krig @koru Any updates on PR #640
-
krig
I have looked at it but as a mac user don’t feel confident to merge
-
krig
would need to find time to test on linux.. or some help reviewing
-
Usman2
Koru was going to review, i guess he didnt
-
koru
Usman2, hi! Testing now.
-
Usman2
Thanks, hope it gets merged before 3.4 release. Since this requires a new version. Otherwise it will be incorporated in 3.5 sadly. I see that version bump has happened for 3.4 already
-
usman3255
Broken intalls for Linux users for the entire 3.4 cycle...yet again. Ugh
-
koru
Don't worry about that, 99% of users using package managers anyway, I think...
-
Usman2
@koru i have rebased docs, please check and approve
-
Usman2
The patch affects and fixes packaged Linux installs as well
-
krig
it won’t be two months to the next release :)
-
Usman2
@krig CI is done I think
-
dedrick
i love the 3.4.0 update, its like half the size of the 3.3.0 exe on windows
-
dedrick
thank you and contributors for the hardwork
-
krig
Thank you!
-
olive
hihi, been a gram user for a bit, as someone who has generally preffered using notepad plain text editors for writing programs Gram feels like it sits in a nice middle ground, giving me IDE features when I want them.
-
olive
(went to do me irregular recompile update and forgot how to use cargo again so checked the README and noticed an XMPP room mentioned - rare to see that so as someone who doesn't use much but XMPP I just had to join ;)
-
koru
Yeap, adding XMPP note wasn't mistake.
-
krig
Hi and welcome :)
-
koru
Some news about Gentoo package: we now can install gram and gram-bin simultaneously, but shell completions work only with source-based ebuild, and build using LLVM 23. Still testing.
-
GnarlyOtaku
I forgot rust uses llvm
-
Usman2
Greetings, just tested the Linux install fix for 3.4.1 , and the tarball installation works as expected with full installation. Can someone please confirm .rpm,.deb , arch and all other installation methods. At least on my end its working as expected.
-
Usman2
Did a clean install of gram, with 3.4.1 , tarball installs correctly with corrent installation entries
-
Usman2
@krig i just reread the tarball installlation section, and i may have been a little too detaily in that. Feel free to shimmy down that whole segment with details like hicolor icons etc or make it in your own writing style. This whole section, reads a bit off: From Tarball If a tarball is available for your architecture at the Gram releases repository: Download the install.sh script. Run the script. ./install.sh This downloads and installs the latest Gram release to $HOME/.local. The installer registers the application launcher under share/applications and copies the bundled icons into share/icons/hicolor, so menus and running windows can resolve Gram's icon. With --prefix, the command symlink and our installation are installed under that prefix instead. For a system-wide installation, use the --prefix argument: ./install.sh --prefix /usr/local ./gram-linux-x86_64-VERSION.tar.gz Replace VERSION with the release version. A nonstandard prefix must be included in the desktop's data search path for its launcher and icons to be discoverable.
-
krig
Sure, I’ll take a pass at that
-
krig
Great that it works! And thank you for being patient
-
Usman2
a link would have been better instead of a whole copy lol. whatever Also, please note that the prefix methodd IS NOT FULLY WORKING. It is noted in the PR notes. Please confirm that from the PR details as well as notes of what is and is not working. Some users may complain about that. I merely added some missing pieces, it is still todo
-
Usman2
you can or not do that. previously the prefix instructions were still written even though not working i think. so its a whatever. just giving a headsup if ur gonna edit the description of that section
-
krig
hmm OK 😅 Well, I guess I’ll see. Maybe it’s better to have less info than wrong info, haha
-
Usman2
lmao.