[-] nutomic@lemmy.ml 3 points 13 minutes ago

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 4 points 15 minutes 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 7 points 28 minutes ago

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

[-] nutomic@lemmy.ml 5 points 1 day ago

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

51
submitted 3 weeks 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.

13
submitted 3 weeks ago* (last edited 3 weeks 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 3 weeks ago* (last edited 3 weeks 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

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

15
submitted 1 month 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 1 month ago by nutomic@lemmy.ml to c/announcements@lemmy.ml
21
submitted 2 months ago by nutomic@lemmy.ml to c/privacy@lemmy.ml
61
submitted 5 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.

14
submitted 5 months ago by nutomic@lemmy.ml to c/politicalhumor@lemmy.ml

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

167
submitted 6 months ago by nutomic@lemmy.ml to c/lemmy@lemmy.ml
27
submitted 7 months ago* (last edited 7 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 87 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 207 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 86 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 74 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 80 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 87 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 99 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