nutomic

joined 4 years ago
MODERATOR OF
[–] nutomic@lemmy.ml 1 points 14 hours ago* (last edited 14 hours ago)

If there are still problems you should open a new issue. We cant leave issues open forever because they go stale and dont account for new features. By the way we are planning to implement multi-communities.

[–] nutomic@lemmy.ml 3 points 15 hours ago (1 children)

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 16 hours ago (3 children)

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

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

 

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.

[–] nutomic@lemmy.ml 2 points 1 week ago

This would be neat to generate forum avatars, to show something similar to your real face.

[–] nutomic@lemmy.ml 3 points 1 week ago

The post yes, but not the comments at depth > 50.

[–] nutomic@lemmy.ml 7 points 1 week ago

No the max comment depth is generally lower now. However this doesnt affect comments created before upgrading.

[–] nutomic@lemmy.ml 16 points 1 week ago (1 children)

Changing post.url from varchar(512) to varchar(2000) really messed up database performance so lemmy.ml became unusable. Turns out that column statistics are removed when the type is changed, so we had to run analyze as part of the migration. Seems like a bug in postgres.

https://github.com/LemmyNet/lemmy/issues/4983#issuecomment-2446945046

[–] nutomic@lemmy.ml 12 points 1 week ago

Dont think I did, it was really a team effort. And in the end the working solution was suggested by @phiresky@lemmy.world, thanks for that!

[–] nutomic@lemmy.ml 11 points 1 week ago (2 children)

It will be rejected by the api (or by federation).

[–] nutomic@lemmy.ml 5 points 1 week ago (2 children)

Correct, I suppose the ban button could be hidden from the ui in that case.

[–] nutomic@lemmy.ml 3 points 3 weeks ago (2 children)

The average peasant in medieval Europe would certainly never see an African person in his lifetime.

 

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.

13
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

11
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

 

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.

 

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

 

/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.

 

This community is currently unmoderated because the only moderator has deleted his account. For this reason the community is currently locked until new mods are added.

To apply as /c/politicalhumer 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.

95
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

view more: next ›