Lemmy

12524 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 5 years ago
MODERATORS
351
 
 

Did anyone else have to block the meme communities cuz that’s all they see? 😂

352
 
 

As an enthusiastic supporter of Lemmy, I am eager to contribute to the project. However, I hold strong reservations about writing a single line of code for a project hosted on a Micro$oft server. While I have created a few issues on GitHub, I firmly believe that my contributions could be significantly amplified if there were a mirror of Lemmy that utilized Forgejo hosting outside the United States. I would be absolutely delighted to have the opportunity to contribute more actively to this incredible project if such an alternative hosting option were available.

353
 
 

hello, does anyone know if there is a bot to automatically post to certain Lemmy communities from an RSS feed?

I found this: https://github.com/Ategon/Lemmy-Mega-Bot but it says it is not compatible with Lemmy's new API.

354
 
 

I'm toying about with writing a client in Rust.

Example code online uses the API endpoint https://lemmy.ml/api/v3/post/list, and when I go to this link in a browser, it doe indeed load data. However, when I try to load it from a program, it gives me a 403 Forbidden. Does anyone know why this could be?

(code)

355
356
 
 

Due to variable subject length and these items being part of the same line as the subject they get pushed around a lot which makes them hard to see find when scrolling through history.

Would be nice if these links / scores where at the front of the subject OR the "next line" to be consistent.

357
 
 

Is there a way to upload videos on Lemmy? If there is no native way to do it, are there any good services where we can host the vidoes and link it here?

358
 
 

I think for a while leading up to the recent session stealing hack, there has been a massive amount of positivity from Lemmy users around all kinds of new Lemmy apps, frontends, and tools that have been popping up lately.

Positivity is great, but please be aware that basically all of these things work by asking for complete access to your account. When you enter your Lemmy password into any third party tool, they are not just getting access to your session (which is what was stolen from some users during the recent hack), they also get the ability to generate more sessions in the future without your knowledge. This means that even if an admin resets all sessions and kicks all users out, anybody with your password can of course still take over your account!

This isn't to say that any current Lemmy app developers are for sure out to get you, but at this point, it's quite clear that there are malicious folks out there. Creating a Lemmy app seems like a completely easy vector to attack users right now, considering how trusting everybody has been. So please be careful about what code you run on your devices, and who you trust with your credentials!

359
 
 

Just from a performance perspective, when your feed is being retrieved, I can only presume that the more communities you're subscribed too the more intensive the query is?

At some point does it not get prohibitive? Is there a limit on the number of communites one can subscribe to.

If true, I see this as a good reason for user created multi or meta-communities. This way, I can look at a feed of only a subset of communities at a time which should lessen the load on the server, and also be a better interface because I honestly don't want all of the communities I'm interested in being fed into a single feed.

360
 
 

PLEASE excuse the compression.

361
 
 

When viewing a feed or a community, you can view either the posts or the comments.

These comments are presented in a flattened "Chat room" style structure with replies and parents disconnected.

Having always thought that kbin provided a microblogging interface like mastodon, I've only recently worked out (though I might be wrong) that it's actually a microblogging-like view of conversations in their communities.

That is, it's a "comments" view that isn't flattened but retains comment threads. Which is something we could do here.

Not entirely sure we would want it or that it should be done, but my immediate reaction is that it might actually be nice, especially for getting a sort of "birds eye" view of what's happening in a relatively focused community.

The unit of such a view would be, as I see it, top level comments to posts, presented with all replies in a indented/hierarchical format. Which is exactly the same as the view of the comments to a post, including all of the sorting options at the top.

So, a "threaded comments" view of a whole feed or community would simply be the merge of all of the comment views of all posts in the feed or community.

This seems viable (without knowing the technical details of implementing it).

Thoughts??

362
 
 

Something small that has been annoying me about Lemmy. I keep clicking posts I think are images that are actually just links and get redirected, when I go back everything has changed.

Sorry if this is not the best place for feedback. Thanks for reading.

363
 
 

Over time, Lemmy instances are going to keep aquiring more, and more data. Even if, in the best case, they are not caching content and they are just storing the data posted to communities local to the server, there will still be a virtually limitless growth in server storage requirements. Eventually, it may get to a point where it is no longer economically feesible to host all of the infrastructure to keep expanding the server's storage. What happens at this point? Will servers begin to periodically purge old content? I have concerns that there will be a permanent horizon (as Lemmy becomes more popular, the rate of growth in storage requirements will also increase, thereby reducing the distance to this horizon) over which old -- and still very useful -- data will cease to exist. Is there any plan to archive this old data?

364
 
 

I've been thinking about how great this feature would be. I don't know how Lemmy's codebase could handle it, but this just makes sense to me and would solve the big issue of community fragmentation.

In general the idea is that when you open the comments section of a given post, it should fetch all other comments from crossposts (ones with the same link). Since Lemmy already keeps track of crossposts by linking to their threads, it's just a matter of fetching those comments and showing them in conjunction with the comments in this community. When you reply to a comment that's federated from another community, your reply will go over there.

Also, from what I understand, copies of posts and comments are stored in the instance's local database, so it shouldn't be very expensive to fetch these comments from different posts, right?

How viable would something like this be? Are the Lemmy devs considering something like this?

365
 
 

That's three major instances that have gone down in the last couple days. Clearly u/spez is trying to kill lemmy.

366
 
 

The Lemmy.world hack made a good opportunity to explore other instances out there. Found one based in my area. Back in action!

367
 
 

DO NOT OPEN THE "LEGAL" PAGE


lemmy.world is a victim of an XSS attack right now and the hacker simply injected a JavaScript redirection into the sidebar.

It appears the Lemmy backend does not escape HTML in the main sidebar. Not sure if this is also true for community sidebars.

EDIT:

the exploit is also in the tagline that appears on top of the main feed for status updates, like the following one for SDF Chatter:

EDIT 2:

The legal information field also has that exploit, so that when you go to the "Legal" page it shows the HTML unescaped, but fortunately (for now) he's using double-quotes.

"legal_information":" ![\" onload=\"if(localStorage.getItem(`h`) != `true`){document.body.innerHTML = `\u003Ch1\u003ESite has been seized by Reddit for copyright infringment\u003C\u002Fh1\u003E`; setTimeout(() =\u003E {window.location.href = `https:\u002F\u002Flemmy.world\u002Fpictrs\u002Fimage\u002F7aa772b7-9416-45d1-805b-36ec21be9f66.mp4`}, 10000)}\"](https:\u002F\u002Flemmy.world\u002Fpictrs\u002Fimage\u002F66ca36df-4ada-47b3-9169-01870d8fb0ac.png \"lw\")
368
 
 

I would like to propose replacing up and down voting on comments with emoji reactions. Since Lemmy doesn’t have a consequential karma system, I don’t believe the gamification of comment upvotes helps engender a discussion with a diversity of opinions. Instead of a binary choice, we will be able to express a far greater range of reactions. I see emojis as being especially helpful as a replacement for downvotes since it will help the author understand why the reader disagrees. While I agree that replying instead of downvoting is a better choice, it’s not realistic for everyone to have the time to do so.

For posts, voting serves a useful purpose in creating a curated list of most popular posts in each community. This is important for people who don’t have time to follow all posts in their subscribed communities.

369
370
 
 

I made a guide on how to go from zero to hero: Self hosting a lemmy server. All you need is an old pc, a thumb drive, and some time.

Please let me know if there are errors. This is the first draft. Thank you!!!

371
 
 

I wrote a Python script that takes your Lemmy credentials and outputs your subscribed communities to an OPML file. The script can also take an OPML file as input and subscribe a user to all of the communities listed in the file.

The motivation behind the script is to allow users to:

  • easily follow their subscribed communities from an RSS feed reader;
  • back up their subscribed communities in case their account is lost or they want to migrate to a different instance; and
  • share their subscribed communities with each other, thus facilitating discoverability of communities.

Hopefully people find it helpful. More information in the README.

372
23
Leomard (geddit.social)
submitted 2 years ago* (last edited 2 years ago) by vintprox@geddit.social to c/lemmy@lemmy.ml
 
 

A fusion of leopard and the looks of Lemmy logo. It is the part of new macOS application for browsing Lemmy, !leomard@lemm.ee.

Artist: vintprox

This work is licensed under a Creative Commons Attribution 4.0 International License.

373
 
 

Pretty much all of these subs show no content or content from 3 years ago and the activity is 1 user per 6 months. They don't even change if i refresh the page. Why are they considered trending?

374
 
 

I'm inclined to say it happens to comments that are too long but I'm not sure it's the only case where it happens. It seems the API simply returns a 400 error with "invalid_body_field" as the response. The web UI however just displays an infinite spinning wheel with no helpful error message.

375
 
 

Hello! I'm the developer of Summit, one of the Lemmy apps.

I want to be able to mark a post as read using an API call.

I understand that fetching the post itself using the account JWT will mark the post as read for that account, however this also fetches a lot of data.

Trying to be as server friendly as possible, what is the least resource intensive way to mark a post as read and nothing else?

Also if there is a better place to ask this, please let me know.

view more: ‹ prev next ›