nutomic

joined 4 years ago
MODERATOR OF
 

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.

[–] [email protected] 2 points 1 week ago

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

[–] [email protected] 3 points 1 week ago

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

[–] [email protected] 7 points 1 week ago

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

[–] [email protected] 17 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

[–] [email protected] 13 points 1 week ago

Dont think I did, it was really a team effort. And in the end the working solution was suggested by @[email protected], thanks for that!

[–] [email protected] 11 points 1 week ago (2 children)

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

[–] [email protected] 3 points 2 weeks ago (2 children)

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

[–] [email protected] 1 points 2 weeks ago

Some people get faith and hope from Christianity. Or Islam, or Buddhistm or others. Nothing wrong with that.

[–] [email protected] 1 points 2 weeks ago

Maybe there never was a real Jesus.

[–] [email protected] 0 points 3 weeks ago (1 children)

Do you think all of lemmy.ml is a single person? In this case its just the decision of a single moderator, nothing to do with admins.

[–] [email protected] 0 points 3 weeks ago

With pleasure :)

 

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 [email protected] to c/[email protected]
 

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

1
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

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.

100
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

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

Link to PR

view more: next ›