local fedia alt of @e-five

  • 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: October 29th, 2023

help-circle


  • A 404 just means it hasn’t been added to the instance yet, I just added it now by doing https://fedia.io/search?q=!asktransgender%40lemmy.blahaj.zone (though it’ll need a local subscriber to get updates)

    On my list is to try to make it clearer on how to add remote magazines. In regards to whether that message means it was a local or remote delete for remote content… From my experience the only time I’ve seen deletes federate is when it’s a remote instance A moderator acting on a remote instance A user post. Meaning if a remote Instance A moderator acts on a remote instance B user, it does not federate.

    OsaErisXero mentioned the issue for fixing that in the thread, but for some reason my reply didn’t federate, so that’s why I’m posting from your local instance





  • Thanks, was able to get the logs for the error happening with some help. Seems to be related to their “allowlist” changes to lemmy (at least that’s the error being thrown back). I’ll try to track down in the code, as I believe I mentioned before I believe it sends a request to unfollow to remotes even when you aren’t following, and make a patch soon™. (For jerry, this is an mbin bug, so feel free to move this to the mdev mag if you want or it can hang out here but isn’t specific to your instance)



  • I don’t completely disagree, hopefully the PR I linked, once complete, will make it a lot more obvious to people when this scenario occurs. I think from an instance owner perspective, they wouldn’t want to constantly be paying the overhead on communities no one has an actual interest in viewing (edit: this isn’t worded well, so forgive me, obviously people may want to view it but not have it show up in their sub feed, so perhaps another action item is a way to split subscription lists, which I think was already requested), as it has a very real financial cost to them. But I will keep this in mind, I meant to investigate how lemmy works (whether they also require a subscriber, I mean they do because this is how AP works but they might make a fake user or something, I never had a chance to look, but I’d be curious what tools they have to stop incoming messaging for when an instance owner wants to save bandwidth)


  • I mentioned in the adjacent post but if you do see magazines acting oddly, it could be there are no local subscribers. Hopefully we get a UI fix in soon with the PR I had mentioned, because it’s a bit of a bad user experience now. (I noticed world from lemmy world on debounced’s instance was getting no posts, or rarely a post with no likes, and subscribed, and suddenly everything came in fine.) So probably a good idea for people, if you want to see posts from somewhere, make sure to subscribe.

    (This was technically always true, but a while back admins were auto subscribed so a magazine would always have 1 subscriber. That changed, and that change was even backported to kbin by ernest, so it should be like that back in kbin too for new magazines.)




  • Everything about your post is slightly indicative to me of javascript failing, for some reason.

    So many actions taken, upvoting / boosting / replying, do javascript actions. However, all of these things have fallbacks in the case either: javascript hasn’t fully finished loading on the page yet or javascript requests failed.

    For instance, if javascript had failed when I clicked reply to your message, instead this page would’ve loaded for me https://fedia.io/m/fedia/t/552719/Request-for-errors-on-fedia-io/comment/3937344#add-comment but since it worked, all it did was add a text box under your reply

    As I said this is true for all other actions, so when you vote or boost there are also http GET routes that handle those requests.

    It’s hard for me to guess more than that, it could be the JS is loading a bit slow and you click before the page finishes loading, or it could be a different error like maybe the request fails. There might also be something else involved, I’d have to double check but mercure might involve itself in dynamic page updating as well… Do you happen to notice if pages are still loading when you take actions, or in fact just browse with javascript disabled? There’s also that, last I checked, all the JS files had defer on them so don’t block page loads, which is what makes this more likely to happen. Whether that’s good or not, I can’t say, it’s been like that since I first looked but might require more research to know whether it can be split between JS that should block page load and JS that can be deferred



  • Just to follow up on this a bit I took a look at the code to try to understand why this has always been a problem in /kbin/Mbin. It seems like from cursory reading it will try to send out unsub/unfollow requests on blocking magazines/users even if you aren’t subbed or following them. Assuming this is accurate, this has some benefits to make sure the remote removes you, but has the downside of calls to the remote needing to be working in order for a block to happen. I’ll try to take a look at making it only send those unsub/unfollow requests if you currently are according to local and see if that makes sense to others



  • Hmm… looking at their instance list and stuff, I get the feeling they might consider fedia an “inactive” instance (based on the information being out of date), which is a bug lemmy has where after upgrades it marks instances as inactive and never updates it again. I will try to get in contact with their admins to confirm

    Edit: quick edit, speaking with another german instance owner they said they have the same problem with feddit.de right now and have already spoken to the admins and already taken steps to reset active state but it isn’t happening, perhaps more debugging is needed or maybe this is the lemmy federation issue people have been discussing

    Edit edit: they say they’re waiting for https://github.com/LemmyNet/lemmy/issues/4288#issuecomment-1879052639 to be merged which looks hopefully soon


  • I wouldn’t exactly say mbin is behind kbin, as things have diverged much since the fork. For example, mbin has moderators from lemmy, and lemmy shows mbin moderators. As of latest, mbin gets moderator reports from lemmy (and maybe the other way, I didn’t closely review that PR), things like sensitive groups are marked correctly, subscriber and follower counts come from source… Still, there’s a lot of work to do for the user experience, many people have made that clear lately, so I’m hoping mbin will be able to gain the contributors needed to make the changes people want to see

    Also, yea a lot of /kbin tweaks won’t work. I do want to make an eye toggle button to make visible all nsfw on a page, but that might be hindered a bit due to infinite scroll (as well as a user setting to just have it shown by default). In the meantime though, it’s just the structure of data changing from javascript to css, so it’s always possible to do. I wrote a tampermonkey script able to do so as an example:

    // ==UserScript==
    // @name         Mbin tweak
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @description  Unhide NSFW entries automatically
    // @match        https://fedia.io/*
    // @require      https://greasyfork.org/scripts/12228/code/setMutationHandler.js
    // ==/UserScript==
    
    checkThem([].slice.call(document.querySelectorAll('input[type="checkbox"].sensitive-state')));
    
    setMutationHandler(document, 'input[type="checkbox"].sensitive-state', checkThem);
    
    function checkThem(nodes) {
        nodes.forEach(function(n) { n.checked = true });
    }
    

    based on this answer on how to check all checkboxes on a page



  • if there’s anything people can help with don’t hesitate to ask in matrix!

    One thing I wanted to raise to your attention was asdfzdfj’s change to persist logging for docker setups which might make it easier to debug if your logs aren’t persisted between container restarts

    I mentioned in matrix but just in case since it’s a bit of a gotcha for people that run in docker:

    as a headsup for anyone running docker, there was a recent change to persist storage of logging just merged. it requires creating a directory and changing permissions on it. the admin guide was updated here but you may need to mkdir -p storage/logs and sudo chown $USER:$USER storage/logs where you run docker from by next sync/release

    this may or may not be relevant to you depending on if sync’ing would change your compose setup