nutomic

joined 5 years ago
MODERATOR OF
[–] nutomic@lemmy.ml 2 points 6 months ago

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

[–] nutomic@lemmy.ml 2 points 6 months ago

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

[–] nutomic@lemmy.ml 7 points 6 months ago

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

[–] nutomic@lemmy.ml 15 points 6 months 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 11 points 6 months 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 6 months ago (2 children)

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

[–] nutomic@lemmy.ml 7 points 6 months ago (2 children)

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

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

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

[–] nutomic@lemmy.ml 1 points 6 months ago

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

[–] nutomic@lemmy.ml 2 points 6 months ago

Maybe there never was a real Jesus.

[–] nutomic@lemmy.ml 4 points 6 months 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.

 

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 7 months ago* (last edited 7 months 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 7 months ago* (last edited 7 months 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.

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

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

Link to PR

31
submitted 1 year ago* (last edited 1 year 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 ›