all 15 comments

sorted by: hot top controversial new old
[–] 25 points 10 months ago

I'm so tempted to repost this

  • source
  • [–] 17 points 10 months ago (3 children)

    I wish crossposts would link to the original by default instead of having their own comment section

  • source
  • hideshow 3 child comments
  • [–] 7 points 10 months ago* (last edited 10 months ago) (1 child)

    That is a bad idea. Cross posts aren't a special type of post. Your instance simply checks the URLs of posts and finds other posts with the same URL. That is how cross posting works in Lemmy.

    https://github.com/LemmyNet/lemmy/blob/6f45f801cc0582b14360fd52737cbad3a98b7250/crates/api/api_crud/src/post/read.rs#L90

    [...]
    
      // Fetch the cross_posts
      let cross_posts = if let Some(url) = &post_view.post.url {
        SearchCombinedQuery {
          search_term: Some(url.inner().as_str().into()),
          post_url_only: Some(true),
          type_: Some(SearchType::Posts),
          ..Default::default()
        }
    
    [...]
    

    Piefed seems to do the same thing

    [...]
    
    new_cross_posts = db.session.query(Post).filter(Post.id != self.id, Post.url == self.url, Post.deleted == False,
                                                            Post.status > POST_STATUS_REVIEWING).order_by(desc(Post.id)).limit(limit)
    
    [...]
    

    I also found this weird hardcoded ap id in the function that "calculates" cross posts in piefed for some reason:

    [...]
    
    if self.community.ap_profile_id == 'https://lemmy.zip/c/dailygames':
                # daily posts to this community (e.g. to https://travle.earth/usa or https://www.nytimes.com/games/wordle/index.html) shouldn't be treated as cross-posts
                return
    
    
    [...]
    

    !dailygames@lemmy.zip

  • source
  • parent
  • hideshow 1 child comment
  • [–] 14 points 10 months ago*

    IIRC that extra PieFed code is because the daily games that get posted to that community were constantly being collapsed into crossposts. It really hurt the visibility of the most recent post, kind of defeating the purpose of the community.

  • source
  • parent
  • [–] 11 points 10 months ago (3 children)

    So what’s the problem? The post gets visibility and interaction if it’s good with eyeballs on it. Lemmy doesn’t have a “reputation” system like Reddit. Votes don’t matter, and you’re not monetizing it.

  • source
  • hideshow 3 child comments
  • [–] 15 points 10 months ago (2 children)

    But the post on the big instance is not helping the small instance grow, which is why they put it there. Over-centralization isn't desirable.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 10 months ago (1 child)

    Like it’s a Stargate mission.

  • source
  • hideshow 1 child comment
  • [–] 4 points 10 months ago (1 child)
  • [–] [S] 3 points 10 months ago

    I’m on PieFed we already have that.

    The goal is to help smaller comms and instances get exposure and avoid everything being on .world. This does not help with that.

  • source
  • parent
  • [–] 3 points 10 months ago

    This is why there’s no chance there will ever be an even population of instances. It was never going to happen

  • source
  • [–] 1 point 10 months ago

    I love boycotting the big problematic instances too!

  • source