Schwim Dandy

Raised by a clan of non-binary Amish tech moguls in the heart of Silicon Valley, Schwim gained fame in the ranks of the underwater Scrabble circuit.

  • 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2025

help-circle

  • reason 1: There was no true “YouTube Exodus” for any form of peertube to grow, while lemmy and mastodon got exodus’s because they were easy to use, less costly for instance mods and many more

    The real reason is that Peertube is proudly unintuitive, complex and user-unfriendly if you’re comparing it to Youtube. While Lemmy and Piefed have done a great job in providing a home instance and simulating the browsing experience of Reddit, Peertube has failed in every measure to provide a video watching experience for videos you actually want to watch.

    Simply joining and creating a subscription list is a comical exercise in futility. After browsing through the instances you’re supposed to choose from, you’ll find that most of them will deny your registration “because we cater to creators” so you can fuck right off if you want a login to create your sub lists and be part of a community under.

    If I had to choose Peertube to handle my video watching pastime, I’d simply quit watching videos.


  • Lemmy: Ban a User Who Has Not Posted or Commented

    These instructions use Lemmy API v3, documented for Lemmy 0.19.x. No post or comment from the target user is required.

    Requirements: Bash, curl, and jq. Run the commands locally. Never share the moderator password or login token.

    VERSION NOTE These commands use the v3 API’s remove_data field. Newer API documentation uses remove_or_restore_data; do not mix the two schemas.

    1. LOG IN AS THE MODERATOR

    In a Bash terminal, run the following. At the first prompt, enter the full HTTPS address of the instance where the moderator’s account lives, without a trailing slash.

    read -r -p “Your account’s instance address (including https://): " INSTANCE INSTANCE=”${INSTANCE%/}"

    read -r -p "Moderator username: " MOD_USER read -r -s -p "Moderator password: " MOD_PASSWORD printf ‘\n’ read -r -p "Current 2FA code, or Enter if not enabled: " TWO_FA

    LOGIN_RESPONSE=$( jq -n
    –arg username “$MOD_USER”
    –arg password “$MOD_PASSWORD”
    –arg otp “$TWO_FA”
    ‘{username_or_email: $username, password: $password} + (if $otp == “” then {} else {totp_2fa_token: $otp} end)’ | curl -sS --fail-with-body
    -H ‘Content-Type: application/json’
    –data-binary @-
    “$INSTANCE/api/v3/user/login” )

    unset MOD_PASSWORD TWO_FA TOKEN=$(printf ‘%s’ “$LOGIN_RESPONSE” | jq -er ‘.jwt // empty’) unset LOGIN_RESPONSE

    If this produces an error or no token, STOP rather than continuing.

    Login documentation: https://lemmy.readme.io/reference/post_user-login.md

    1. LOOK UP THE TARGET USER’S ID

    Enter their fully qualified account name, in the form @username@instance-domain.

    read -r -p "Account to ban (@username@instance-domain): " TARGET_USER

    curl -sS --fail-with-body --get
    “$INSTANCE/api/v3/resolve_object”
    -H “Authorization: Bearer $TOKEN”
    –data-urlencode “q=$TARGET_USER” | jq ‘.person.person | {id, name, actor_id}’

    Check that actor_id identifies the intended account, then note the numeric id.

    1. LOOK UP THE COMMUNITY’S ID

    Enter its fully qualified name, in the form !community@instance-domain.

    read -r -p "Community (!community@instance-domain): " TARGET_COMMUNITY

    curl -sS --fail-with-body --get
    “$INSTANCE/api/v3/resolve_object”
    -H “Authorization: Bearer $TOKEN”
    –data-urlencode “q=$TARGET_COMMUNITY” | jq ‘.community.community | {id, name, actor_id}’

    Check the community’s identity and note its numeric id.

    Both IDs must come from the same instance receiving the ban request. Do not copy a user ID from their home server and combine it with a community ID from another server. The lookup above avoids that problem.

    Object-resolution documentation: https://lemmy.readme.io/reference/get_resolve-object.md

    1. SUBMIT THE COMMUNITY BAN

    This is the step that actually bans the account. Enter the IDs obtained above.

    read -r -p "Target person’s numeric ID: " PERSON_ID read -r -p "Community’s numeric ID: " COMMUNITY_ID read -r -p "Ban reason: " BAN_REASON

    jq -n
    –argjson person_id “$PERSON_ID”
    –argjson community_id “$COMMUNITY_ID”
    –arg reason “$BAN_REASON”
    ‘{ community_id: $community_id, person_id: $person_id, ban: true, remove_data: false, reason: $reason }’ | curl -sS --fail-with-body
    “$INSTANCE/api/v3/community/ban_user”
    -H “Authorization: Bearer $TOKEN”
    -H ‘Content-Type: application/json’
    –data-binary @- | jq .

    This requests a ban with no expiry and leaves existing content untouched. Check the response for errors and confirm the ban in the community’s moderation log.

    Community-ban documentation: https://lemmy.readme.io/reference/post_community-ban-user

    REMOVING EXISTING DOWNVOTES

    The example deliberately uses remove_data: false.

    • To request data removal, change it to true before submitting.
    • On versions containing PR #5810, banning with data removal also removes that person’s existing upvotes and downvotes in the community, not only downvotes.
    • It also removes their posts and comments in that community, if any.
    • Do not assume an older 0.19.x installation includes that change. A merge into the development branch does not establish that it is installed on a particular server.

    PR #5810: https://github.com/LemmyNet/lemmy/pull/5810

    1. CLEAR THE TOKEN WHEN FINISHED

    unset TOKEN



  • I definitely understand why it’s a negative in a community but the mechanics just aren’t in place with the two platforms to handle serial downvoting. I will say that it’s discussed a ton and there’s active work on the Piefed side of things to handle the issue in the code. Currently, a ton of instance admins have to dig through and share db data to find where it’s occurring and that only works after a user makes a report so that there’s a starting point to work from.

    Of the two platforms, I can tell you that Piefed is working harder to handle these types of malicious use-cases so if you’re pondering a community creation or move, consider planting it on an instance running that platform.


  • Some post sorting filters such as “top week” take into account upvote count versus downvote count. Serial downvoters reduce the community discoverability enough for me to consider it worth moderating. I care quite a bit about providing the safe space I provide with that community, and people deliberately reducing its discoverability are a problem for me.

    As an admin on both a lemmy and piefed instance and getting to see the bells and whistles running the backend of each, I can promise you that the way both determine active communities are comically rudimentary and that you are not losing traffic due to the way they handle that metric.

    I understand you don’t want to disallow the capability, it was merely offered as an option since you consider the issue severe enough to warrant banning users that don’t actually use your community.

    Either way, I will ask the crew in the developers matrix if there’s a way for you to ban them, if someone has a method to do it, I’ll respond here and let you know.