aka freamon@lemmy.world, freamon@feddit.nl, and any username from lemmon.website

This account is currently parked, and I’m using https://piefed.social/u/andrew_s

  • 9 Posts
  • 139 Comments
Joined 1 year ago
cake
Cake day: July 17th, 2023

help-circle
  • No settings page (as far as I’m aware), but you can use the API to get everything (posts, comments, etc):

    step 1: get login token -

    curl --request POST \
         --url https://lemmy.ml/api/v3/user/login \
         --header 'accept: application/json' \
         --header 'content-type: application/json' \
         --data '
    {
      "username_or_email": "2br02b",
      "password": "YOUR-PASSWORD"
    }
    '
    

    step 2: use login token (big long string starting with ‘ey’) to get data -

    curl --request GET \
         --url 'https://lemmy.ml/api/v3/user?username=2br02b&page=1' \
         --header 'accept: application/json' \
         --header 'authorization: Bearer YOUR-JWT'
    

    Increment page number until you have everything. source: https://lemmy.readme.io/reference/get_user





  • Regarding the ‘Unresolved questions’ part, the ActivityPub activity for Reports is:

    {
      "actor": "http://ds9.lemmy.ml/u/lemmy_alpha",
      "to": ["http://enterprise.lemmy.ml/c/main"],
      "audience": "http://enterprise.lemmy.ml/u/main",
      "object": "http://enterprise.lemmy.ml/post/7",
      "summary": "report this post",
      "type": "Flag",
      "id": "http://ds9.lemmy.ml/activities/flag/98b0933f-5e45-4a95-a15f-e0dc86361ba4"
    }
    

    From this page. I imagine it’s up to lemmy where this actually gets sent (in the sense that if a community has 1 moderator, it goes to 1 inbox, but if it has 2 moderators, it goes to 2 inboxes).










  • Part of the problem is how much wider on average cars have got, making it less viable to park next to the curb or with just 2 wheels on it. Another part is that both members of a couple are more likely to be working and needing separate cars, and if their kids can’t afford to move away, than that’s an extra car too. Additionally, councils have convinced themselves that not lowering carbs to allow for extra driveways is promoting public transport use, ignoring how unviable that often is.

    Cars with all 4 wheels on the pavement annoy me, but it’s become so normalised that drivers have looked at me, like me walking on the pavement is an irritating obstruction to where they have every right to be. I think the police in some areas allow you to upload a photo to report them, but it’s not something I’d do 'cos it’s a complex problem and fines aren’t the solution.




  • The short answer is that you have to ask blahaj.zone to resolve it. lemmy.ml has it as post id 11470168, but it’ll be different for other instances - whatever the next number was in their database when the post was announced.

    You get different answers depending on whether you’re logged in or not though.
    From endlesstalk.org, I can search for that post in the web-ui: Communities -> paste the post url into Search -> Change the Type from ‘communities’ to ‘posts’
    Alternatively, using the API, I can resolve it with
    curl --header 'accept: application/json' --header 'authorization: Bearer MY_LOGIN_TOKEN' https://endlesstalk.org/api/v3/resolve_object?q=https://lemmy.ml/post/11470168

    I’m not logged into blahaj.zone though, so it won’t resolve it. The web-ui only gives me this post as one that mentions the thing I’m searching for, and the API returns ‘not found’




  • programming.dev changed how active users are calculated on their instance to include voters as well as posters & commentators. It’s a massive difference - programming_humor went from about 700 monthly active users to about 7000, for example.

    Viewing communities from other instances from programming.dev’s perspective will give a figure that includes voting activity.


  • Yeah - this community, like some others, only supports ‘undetermined’ (aka unspecified) as a discussion language. You can see by running:

    curl https://lemmy.kde.social/api/v3/community?name=kde | jq .discussion_languages

    This gives an array with just ‘0’ as a value. Most other communities would give an array like [0,37] (for Unspecified and English), or [0,47] (for Unspecified and French), etc.

    It can be fixed by a moderator - going into the community’s settings and using the CTRL key with the mouse to click both Unspecified and English.