[-] nutomic@lemmy.ml 3 points 4 days ago

If you install with ansible it should be included by default. You can check if your nginx config contains the cache lines. There is also a line you can uncomment to see the cache status with each request.

https://github.com/LemmyNet/lemmy-ansible/blob/main/templates/nginx.conf#L71

[-] nutomic@lemmy.ml 4 points 4 days ago

Did you try to setup caching? That could reduce server load a lot.

https://github.com/LemmyNet/lemmy-ansible/issues/195

65
Lemmy v0.19.7 Release (join-lemmy.org)
submitted 1 week ago by nutomic@lemmy.ml to c/announcements@lemmy.ml

What is Lemmy?

Lemmy is a self-hosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Changes

This is a small bugfix release with the following:

  • Fixing cors origin wildcard. by @dessalines in #5194
  • Fetch community mods synchronously by @Nutomic in #5169
  • Move aggregates to replaceable_schema, fix error (fixes #5186) by @Nutomic in #5190

Full Changelog

Upgrade instructions

There are no breaking changes with this release.

Follow the upgrade instructions for ansible or docker.

If you need help with the upgrade, you can ask in our support forum or on the Matrix Chat.

Thanks to everyone

We'd like to thank our many contributors and users of Lemmy for coding, translating, testing, and helping find and fix bugs. We're glad many people find it useful and enjoyable enough to contribute.

Support development

We (@dessalines and @nutomic) have been working full-time on Lemmy for over five years. This is largely thanks to support from NLnet foundation, as well as donations from individual users.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. A recurring donation is the best way to ensure that open-source software like Lemmy can stay independent and alive, and helps us grow our little developer co-op to support more full-time developers.

52
submitted 1 month ago by nutomic@lemmy.ml to c/announcements@lemmy.ml

Here is our regular update that explains what we have been working on for the past two weeks. This should allow average users to keep up with development, without reading Github comments or knowing how to program.

stevenvergenz

SleeplessOne1917

Nutomic

Support development

@dessalines and @nutomic are working full-time on Lemmy to integrate community contributions, fix bugs, optimize performance and much more. This work is funded exclusively through donations.

If you like using Lemmy, and want to make sure that we will always be available to work full time building it, consider donating to support its development. Recurring donations are ideal because they allow for long-term planning. But also one-time donations of any amount help us.

1
submitted 1 month ago* (last edited 1 month ago) by nutomic@lemmy.ml to c/rust@lemmy.ml

This release contains numerous bug fixes and minor improvements. Thanks to Kalcifer for reporting many of these.

  • LaTeX formatting is now supported to handle mathematics (thanks Silver-Sorbet)
  • The editor now has a live preview of rendered markdown
  • Better layout for edit history
  • Fixed user links in edit history
  • Edits are now correctly sorted by date
  • Removed maximum width for page
  • Render markdown titles smaller than page title
  • Disable markdown plugins for url shortening and smartquotes
  • Resize article edit input based on length

More details and download

10
submitted 1 month ago* (last edited 1 month ago) by nutomic@lemmy.ml to c/fediverse@lemmy.ml

This release contains numerous bug fixes and minor improvements. Thanks to Kalcifer for reporting many of these.

  • LaTeX formatting is now supported to handle mathematics (thanks Silver-Sorbet)
  • The editor now has a live preview of rendered markdown
  • Better layout for edit history
  • Fixed user links in edit history
  • Edits are now correctly sorted by date
  • Removed maximum width for page
  • Render markdown titles smaller than page title
  • Disable markdown plugins for url shortening and smartquotes
  • Resize article edit input based on length

More details and download

[-] nutomic@lemmy.ml 71 points 1 month ago

I only stopped there for transit on a flight to Mexico. Just before boarding my flight I was told that I need a visa for the US, which is extremely weird because normally airports have transit zones where you don't need any visa. But apparently the US is special, so you actually have to enter the country before going right back into the airport. This nonsense made me miss my flight.

Also I remember in the airport there was a security guard doing nothing but shouting nonstop that it's not allowed to carry water. Why not simply put up a sign?

1
submitted 1 month ago by nutomic@lemmy.ml to c/rust@lemmy.ml

We also have documentation to setup the dev environment: https://join-lemmy.org/docs/contributors/02-local-development.html

If you have questions, feel free to ask here, in the relevant issue or in matrix.

1
submitted 2 months ago by nutomic@lemmy.ml to c/rust@lemmy.ml

Which of these code styles do you find preferable?

First option using mut with constructor in the beginning:

  let mut post_form = PostInsertForm::new(
    data.name.trim().to_string(),
    local_user_view.person.id,
    data.community_id,
  );
  post_form.url = url.map(Into::into);
  post_form.body = body;
  post_form.alt_text = data.alt_text.clone();
  post_form.nsfw = data.nsfw;
  post_form.language_id = language_id;

Second option without mut and constructor at the end:

  let post_form = PostInsertForm {
    url: url.map(Into::into),
    body,
    alt_text: data.alt_text.clone(),
    nsfw: data.nsfw,
    language_id,
    ..PostInsertForm::new(
      data.name.trim().to_string(),
      local_user_view.person.id,
      data.community_id,
    )
  };

You can see the full PR here: https://github.com/LemmyNet/lemmy/pull/5037/files

135
submitted 2 months ago by nutomic@lemmy.ml to c/announcements@lemmy.ml
21
submitted 2 months ago by nutomic@lemmy.ml to c/privacy@lemmy.ml
63
submitted 6 months ago by nutomic@lemmy.ml to c/opensource@lemmy.ml

/c/opensource is currently unmoderated because all the existing mod accounts are inactive.

Thats why we are looking for new moderators. To apply as mod, reply below indicating what would make you a good moderator for this community, and mention any previous mod experience you have. You should be registered on lemmy.ml and have previous posting history.

100
submitted 6 months ago* (last edited 6 months ago) by nutomic@lemmy.ml to c/lemmy@lemmy.ml

If you write a plugin, let me know how it goes!

Link to PR

174
submitted 6 months ago by nutomic@lemmy.ml to c/lemmy@lemmy.ml
32
submitted 8 months ago* (last edited 8 months ago) by nutomic@lemmy.ml to c/asklemmy@lemmy.ml

The names of previous Lemmy versions were all very boring and repetetive. We need something much more creative. Any ideas?

[-] nutomic@lemmy.ml 110 points 8 months ago

I find it very questionable that you publish this sort of hit piece against Lemmy without even bothering to ask for a comment from our side. This is not how journalism should work.

Effectively you are blowing the complaints of a single user completely out of proportion. It is true that we didnt respond ideally in the mentioned issue, but neither is it okay for a user to act so demanding towards open source developers who provide software for free. You also completely ignore that this is an exception, there are thousands of issues and pull requests in the Lemmy repos which are handled without any problems.

Besides you claim that we dont care about moderation, user safety and tooling which is simply not true. If you look at the 0.19.0 release notes there are numerous features in these areas, such as instance blocking, better reports handling and a new moderator view. However we also have to work on improvements to many other features, and our time is limited.

Finally you act like 4000€ per month is a lot of money, however thats only 2000€ for each of us. We could stop developing Lemmy right now and work for a startup or corporation for three or four times the amount of money. Then we also wouldnt have to deal with this kind of meaningless drama. Is that what you want to achieve with your website?

[-] nutomic@lemmy.ml 212 points 1 year ago

That instance list is built completely automatically by a crawler, no one approves instances before they are listed. In this case it was removed as soon as we became aware of it. Next time please make a pull request like that one, its much more effective than complaining.

[-] nutomic@lemmy.ml 72 points 1 year ago* (last edited 1 year ago)

Wow lots of questions here.

  • Im doing well, its exciting to know that so many people like the software Ive worked on for the last years. The first month after the migration was really stressful, but by now its calmed down a lot. Plus there are many contributors now which are helping a lot.
  • Unfortunately the user donations are just barely enough to pay our salaries, by my calculations the income from Liberapay, Patreon and Open Collective is around 4000 USD per month. Luckily we still have some NLnet funding left, and should be able to work on those milestones now that things have calmed down. I hope the user donations will increase so that they can pay us proper salaries. Maybe even hire additional people, but that seems very optimistic now. It would also be good if we could find other funding sources besides NLnet, as its not clear if they will fund us another year.
  • I think the "breaking bugs" were really minor considering how we had to constantly rush out performance and security fixes. This should get better as we dont need to make emergency fixes, and have more time to let the community test release candidates before making the full release.
  • Supporting downgrades means that someone has to test them and report/fix problems. We dont have time for that, but feel free to do it.
  • Like I said, our recent releases had urgent performance/security fixes so we didnt have enough time for testing. We also didnt find out about these problems until later. Part of the problem is that keeping up with issues is almost a full-time job on its own, so I rarely read them anymore. If you see something important reported, do let me know.
  • No concrete plans, but I definitely think that admins are the main actors who should have a voice in development. Its impossible for us to listen to all the individual users, because there are too many and they often dont have the necessary technical knowledge. If you have some ideas how to facilitate communication between devs and admins, let me know.

Are we almost done? Nope, only halfway. Will answer the second half a bit later.

[-] nutomic@lemmy.ml 87 points 1 year ago* (last edited 1 year ago)

I dont follow /c/worldnews so I dont see much of that. Also hexbear is federating now, so it might easily swing back the other way again.

[-] nutomic@lemmy.ml 75 points 1 year ago

Haha youre a very curious one :D

  1. See https://lemmy.ml/comment/2348893
  2. It sure isnt perfect, partly because Mastodon makes no efforts to be compatible and expects everyone else to cater to their way of doing things. Regardless, the fact that you can interact between different platforms is a huge improvement over current social media platforms. And Im certain that interoperability will only get better over time.
  3. Its already happening, look at Kbin combining the concepts of Reddit and Twitter into one. Or mitra which adds cryptocurrency integrations. There are probably others which Im unaware of.
  4. Sure usability needs to improved, this will happen naturally over time as more users join and suggest improvements.
  5. Its really genius because it combines the best aspect of centralized (simple login with username/password and an admin who manages technical stuff) with those of p2p (no central point of failure). Real p2p is great in theory, but it requires way too much technical knowledge for the average user, so its unlikely to ever gain mass appeal.
  6. Personally I think the Fediverse is really the future of social media, so it will grow whether we want it or not. And its much healthier than the corporate platforms with their tracking, advertising and manipulating algorithms, so the more people leave them behind, the better. I dont see a way to influence this growth, we just need to adapt and deal with it.
  7. Basically my previous reply, I dont know enough about journalism to give a more specific answer.
  8. The biggest and proudest was definitely when tens of thousands of Reddit users suddenly came here, and most of them actually liked it. Cant say there was anything bad or embarrassing, the experience for me is really positive.
  9. It feels great, I never expected this when I started contributing to Lemmy.
[-] nutomic@lemmy.ml 81 points 1 year ago

Account migration is not in the works, and I consider it very low priority. Unlike Mastodon, Lemmy isnt focused on individual users, so it doesnt matter much if you start posting from another instance one day. If its important for you, you can always put a link in your profile to your other accounts. I would rather implement a way to export/import account data. Thats much simpler and can also be used as a backup in case your instance goes down.

[-] nutomic@lemmy.ml 88 points 1 year ago

I definitely didnt expect it, nor did I expect that there would suddenly be more than a dozen different apps. But its not a problem, the more choices users have the better. Those who like such clients can use them, thout it affecting anyone else. Plus monetization of apps could potentially help to fund development of Lemmy itself.

For instances with ads its pretty much the same, more choice for users. But I really doubt that model can have any success considering how many free instances are around which are run by volunteers. Defederation should be unnecessary assuming that ads are only shown to local users.

[-] nutomic@lemmy.ml 100 points 1 year ago

That particular improvement is actually mine. Lemmy was storing a lot of federation data which was completely unused so I removed it. However the 80% improvement is actually overstated, because not all data was migrated to the new table. So the db will grow a bit bigger over time, but still much smaller than before.

Phiresky made a lot of other sql optimizations which make Lemmy snappier and reduce CPU usage on the server. We don't have any benchmarks in that regard, but server load on lemmy.ml has gone down a lot since upgrading.

view more: next ›

nutomic

joined 4 years ago
MODERATOR OF