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.

[–] 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 2 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 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

[–] 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 2 points 4 weeks ago

With pleasure :)

[–] nutomic@lemmy.ml 4 points 4 weeks ago* (last edited 4 weeks ago)

You're welcome :)

[–] nutomic@lemmy.ml 36 points 4 weeks ago (4 children)

What a shame, I spent a lot of time working on syncthing-android (probably around four years). But in the end I stopped for the same reason, it's very demotivating to be so reliant on a corporation like Google which is entirely indifferent or even hostile to open source apps. Every year with the new Android version there are new required features or mandatory changes to implement, and if you don't comply they don't allow publishing new app versions. That's not a big deal for commercial apps with fulltime developers, but it's a lot of work for small apps maintained by volunteers. And it's never anything that would benefit syncthing-android or it's users, just busywork that takes away from bug fixes and feature development.

The good thing about open source is that someone else can always pickup and continue the work. Google's shenanigans were what drove me to server administration and backend development, which finally led me to work on Lemmy. The experience with syncthing-android definitely taught me a lot about how to run a popular open source project.

 

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.

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

Right I will also have to make a template with these common parts of the release announcement. Instance blocking is not implemented yet, but it uses the same federation library as Lemmy so that will be easy to add when its needed.

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

Thank you, fixed!

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

Thank you, fixed!

12
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

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

3
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

-1
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?

view more: next ›