In the last weeks Lemmy has seen a lot of growth, with thousands of new users. To welcome them we are holding this AMA to answer questions from the community. You can ask about the beginnings of Lemmy, how we see the future of Lemmy, our long-term goals, what makes Lemmy different from Reddit, about internet and social media in general, as well as personal questions.
We’d also like to hear your overall feedback on Lemmy: What are its greatest strengths and weaknesses? How would you improve it? What’s something you wish it had? What can our community do to ensure that we keep pulling users away from US tech companies, and into the fediverse?
Lemmy and Reddit may look similar at first glance, but there is a major difference. While Reddit is a corporation with thousands of employees and billionaire investors, Lemmy is nothing but an open source project run by volunteers. It was started in 2019 by @dessalines and @nutomic, turning into a fulltime job since 2020. For our income we are dependent on your donations, so please contribute if you can. We’d like to be able to add more full-time contributors to our co-op.
We will start answering questions from tomorrow (Wednesday). Besides @dessalines and @nutomic, other Lemmy contributors may also chime in to answer questions:
Here are our previous AMAs for those interested.
When will anyone be able to click the following /c/books And see an agglomeration of all “books” communities on all federated server? I don’t mean multireddits Thanks!!
Thanks a lot for the work you do! How do you get by with such a limited amount of funds? How sustainable is your financial situation if donations don’t pick up considerably?
I live in Spain, the cost of living here is much cheaper than Germany or especially the United States. I also dont need luxuries, and have enough money saved to last for a while. If donations are not enough I could always work for some company, and spend less time on Lemmy.
How would you improve it?
a way to filter out posts that have no engagement or comments from others would be helpful since the larger instances flood my feed w hundreds/thousands of news links that flood out the discourse on lemmy.
That would means the disappearance of /new once enabled. It should be a smarter algorithm that gives you just a few of them to vote on and do your part on sorting. But that also means your feed is no longer strictly chronological.
/scaled already seems to this and it helps with the posts themselves and, yes, shows posts out of chronological order; but helps a lot with seeing posts that would ordinarily get drowned out with /new.
i was proposing the same thing as /scaled, but with comments and/or votes instead of just the posts themselves since /scaled doesn’t seem to work with the comments feed.
Do you plan on moving away from GitHub to something else like Forgejo?
Once its mature, I personally wouldn’t be opposed to moving issue tracking off github and into a federated one like forgejo.
Do you plan to introduce some kind of post tags into Lemmy, preferably something that will behave like Hashtags on Mastodon and other activitypub platforms? I know that Lemmy has been embedding community name as a hashtag for a while now, though having tags that can be populated by users would help discovery greatly.
Lemmy is not for microblogging, so I dont think hashtags make sense.
Well they don’t have to show up as hashtags to users on Lemmy, they can show up as their own designated tags you add to the post on creation of editing. Just some form of post tags to indicate the category of a post (could even be specific to communities like subreddit flairs) but they would show up as hashtags on Mastodon, similar to how Lemmy already embeds a hashtag of the community into posts.
I am new to Lemmy, so haven’t really looked into if the following is possible but can I create groups of communities with a similar topic across multiple instances?
https://piefed.social/ has topics and feeds (user managed multireddits)
No questions right now. Just wanted to say thank you for your hard work.
I know y’all catch a lot of shit and get hammered with requests/demands, so I wanted to let you know that your work is greatly appreciated.
Thanks for dedicating your time and energy to making a non-corporate, federated social environment possible.
Being on Lemmy has been a breath of fresh air.
Thx! Really appreciate it, and I’m glad someone thinks its worthwhile work we’re doing.
+1 on registration experience being the #1 issue.
Would also be cool if we could stop 404/500ing deleted posts and instead display some indication it has been deleted. See https://en.m.wikipedia.org/wiki/Principle_of_least_astonishment.
Thanks for Lemmy! 💙
We have gone back and forth a few times on how deleted content is returned by the API, its very tricky to get right.
The right answer is letting the user decide. The second answer is the user will scrape every post on every server on every hour so censorship becomes impossible. Sorry but instance owner and moderator empowerment over the users turn lemmy into reddit with extra steps.
I’ve read the Github issues. While I could agree there’s some nuance to it, black-holing the entire thing as though it never existed is a bummer.
What’s something you wish it had? What can our community do to ensure that we keep pulling users away from US tech companies, and into the fediverse?
One of the biggest issue at this point is probably the registration experience. There are quite a few occurrences on [email protected] of users not sure whether their email has been validated or not, and at the moment they really need to look out for the toastify notification on their first try, later attempts won’t show it.
Most recent example: https://lemmy.ml/post/27607055?scrollToComments=true
If there could be a way to inform a user saying “your email address has been validated, please wait for an administrator to activate your account, you can reach out to them at xxx”, that would be great.
I’d need more detail here. If registration emails aren’t being sent out correctly, we need to handle that.
These two posts should provide more details
Youre right, I also noticed some other problems while testing registrations:
- https://github.com/LemmyNet/lemmy/issues/5547
- https://github.com/LemmyNet/lemmy/issues/5548#issue-2949361836
For the email validation it could also make sense to send out another email saying “your email has been validated”, so its not only shown on the website.
This generally goes against security best practices as it can be used for attempted user enumeration. A better version would be “we’ll send you an email with your account status if this user exists” but obviously that results in a fair amount more complexity (and cost) to implement
I am not suggesting users being able to enumerate other users, just that the unique link that is currently used for email verification would be more explicit than just the one time toastify notification
Old user, haven’t been active recently. Where’d all this growth come from?? Another reddit refugee situation?
[email protected] started to ban people based on upvotes
[email protected] movement has motivated people to look around for European alternatives to Reddit
Blaze means the website Reddit, not the community they linked
Oh indeed, giving the community can help people read more about it.
What Is the airspeed velocity of an unladen swallow?
African or European swallow?
I don’t know that.
[gif that lemmy imageproxy refuses to show for some reason]
Turns out the size limits for animations that we set on lemmy.ml also apply to proxied images. I would think its only for local uploads. Removed the limits now to get it working. Thanks for letting me know.
Allow < 1MB sound files
42
Now there’s a frood who really knows where his towel is 👍
What have been the biggest challenges with the project over the years, both in terms of technical and non technical aspects. I’d be interesting to hear a bit of retrospective on how has the stack’s been working out, and what surprises you might’ve run into in terms of scaling and federation. What recommendations you’d make based on that and what you would’ve done differently knowing what you know now.
The stack is great, I wouldnt want to change anything. Postgres is very mature and performant, with a high focus on correctness. It can sometimes be difficult to optimize queries, but there are wizards like @[email protected] who know how to do that. Anyway there is no better alternative that I know of. Rust is also great, just like Postgres it is very performant and has a focus on correctness. Unlike most programming languages it is almost impossible to get any runtime crashes, which is very valuable for a webservice.
The high performance means that less hardware is required to host a given number of users, compared to something like NodeJS or PHP. For example when kbin.social was popular, I remember it had to run on multiple beefy servers. Meanwhile lemmy.ml is still running on a single dedicated server, with much more active users. Or Mastodon having to handle incoming federation activities in background tasks which makes the code more complicated, while Lemmy can process them directly in the HTTP handler.
Nevertheless, scaling for more users always has its surprises. I remember very early in development, Lemmy wasnt able to handle more than a dozen requests per second. Turns out we only used a single database connection instead of a connection pool, so each db query was running after that last one was finished, which of course is very slow. It seems obvious in retrospect, but you never notice this problem until there are a dozen or so users active at the same time.
With the Reddit migration two years ago a lot of performance problems came up, as active users on Lemmy suddenly grew around 70 times. You can see some of that in the 0.18.x release announcements. One part of the solution was to add missing database indexes. Another was to remove websocket support, which was keeping a connection open for each user. That works fine with 100 users, but completely breaks down with 1000 or more.
After all there is nothing I would do different really. It would have been good to know about these scaling problems earlier, but thats impossible. In fact for my project Ibis (federated wiki) Im using the exact same architecture as Lemmy.
The stack is overall amazing, but not perfect. Waiting for the Rust code to compile is sometimes very annoying, but I wouldn’t want to use a different language. And we had to implement somewhat complicated things that existing Rust libraries did not do. For example, I made the “i_love_jesus” library so Lemmy could have cursor pagination that uses indexes well and allows bringing back the “back” button, we have a few custom QueryFragment impls because of diesel’s limitations, and we have a custom migration runner to do fancy stuff (see crates/db_schema/src/schema_setup.rs).
Being a Lisper, the idea of waiting for the compiler is very jarring. :)
Oh, to be able to develop Lemmy with something like SLIME or Geiser, now that would be a dream. Too bad the CL’s library ecosystem is so much worse than Rust’s.
Clojure has a lot better story in that regard living on the JVM, but the overhead of using the JVM is a downside of its own. It’s a good platform, but definitely not what you’d call lightweight.
Yeah, if I was building something production ready in Lisp, Clojure would be my choice even though I prefer CL. Ecosystem is ultimately king.
I made the “i_love_jesus” library so Lemmy
Could I ask if there’s any meaning behind that name?
Nothing related to the library. I love Jesus. I’m Catholic and a little silly. Also my GitHub profile picture is Jesus.
2nding @nutomic, that I’m really happy with the stack.
The one that seems really magical to me, is diesel. With it we get a compile-time-checked database, that’s tightly integrated to the rust objects / code.
Every single join, select, insert, etc is checked before lemmy is even run, and it eliminates a whole category of errors resulting from mismaps.
Its made adding columns, and changing our data structures so much less error-prone than when I lived in the java-world.
Whenever we find that we’d want to do things differently, we usually do a refactor ASAP so as not to keep rolling spaghetti code. We’ve had to do this many times for the federation and DB code, and even have 2 major refactors that also add features ongoing. But luckily we’ve been able to stay in the rust eco-system for that.
As for UI, leptos didn’t exist when I built lemmy-ui, so I went with a fast react-like alternative, inferno. Its showing its age now, so @sleepless1917 is working on lemmy-ui-leptos, which hopefully will supercede lemmy-ui.
Dunno if I’m too late, but here goes. My question is about federation between instances.
On PeerTube an instance follows another instance and then federates every channel and videos available.
On Lemmy, the user can follow a specific community and then that community will federate with the users instance.
How about being able to, either as the instance itself or a user, to follow an entire instance and have it federate everything?
An example. I have a user on Lemmy.wtf, but I am also very interested in the communities at Feddit.dk. I never know when new communities have been created in Feddit.dk, unless I go directly to Feddit.dk and look. If I could subscribe my instance to Feddit.dk, then all furrier communities would be visible to me automatically.
If something like that isn’t possible, then what about being able to browse other instance’s communities from my own instance?
We have an issue discussing non-local community discovery here.
My vote there is to extend our lemmy-stats-crawler to crawl communities also, host that file somewhere, and build in a scheduled job to refetch and populate missing communities periodically. Its centralized, but if that file is unavailable, it wouldn’t break anything.
Not quite what you asked for but the unofficial Lemmy Federate tool may help. Some clients also allow you to browse other instances local feeds.
How are you?
A bit tired because my whole family is half sick. Luckily the kids are still okay to go to school.
Otherwise Im excited for this AMA, because I rarely have such direct conversations with users about Lemmy. The discussions on Github are usually quite technical.
Not bad, the swiss chard and spinach I planted recently are sprouting, so that’s got me excited.
Spinach is a finicky bastard in my experience, take good care of it
I like Lemmy a lot, but when you share a URL it’s just an ID number. Compare that to Reddit, where you can get a lot more information on what you’re about to look at just from the URL alone.
https://lemmy.ml/post/27659153 vs
https://old.reddit.com/r/AsahiLinux/comments/1jg3vlk/progress_report_linux_614/Are there any plans to make Lemmy URLs more meaningful?
Another issue is that post links are instance-specific, since the post ID isn’t the same across instances.
ex: https://lemmy.ml/post/27659153 is https://lemmy.ca/post/41237641 on Lemmy.ca
There are external tools like https://lemmyverse.link/ and some browser addons to alleviate those issues, but it’d be nice if this could be addressed at the source if doable.
And I dream of a
lemmy:\\
protocol handler one day.It will be a feature for Lemmy 1.0: https://feddit.org/post/5390705
Until then https://lemmyverse.link/feddit.org/post/5390705 ;)
I even discovered there was a new one today because the creator wasn’t aware of Lemmyverse link x)
Potentially, using some sort of predictable hashing to get the same id across instances might also help in the detection of duplicate links so that they can be aggregated in a single place (sort of what was suggested at point 2 here).
I fear this could be too much of a breaking change though.
We won’t add UUIDs or any “universal” sort of identifier, but universal links are still possible without them.
Seems like a good time to introduce a breaking change, jumping from 0.19 to 1.0.