• 1 Post
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle



  • Limeey@lemmy.worldtolinuxmemes@lemmy.worldCtrl+Alt+T
    link
    fedilink
    English
    arrow-up
    159
    arrow-down
    1
    ·
    11 months ago

    A gui is helpful sometimes, but there’s a lot of cases where there’s no feasible way to make a good gui that does what the terminal can do.

    Right tools for the right job.

    For example, a gui to move a file from one folder to another is nice - drag and drop.

    A gui that finds all files in a directory with a max depth of 2 but excludes logs and runs grep and on matching files extracts the second field of every line in the file? Please just let me write a one liner in bash






  • The search process basically works by looking for the “@” sign in the search term, if the name isn’t found locally, then it uses the apub process called “webfinger” to identify the instance and request the information from it. This process relies on the host server being online, correctly receiving the request, correctly responding, and then your server correctly ingesting that response before emitting the reply to you.

    So if no one on your instance has already gone through this process, then there’s a couple chances for the chain of actions to fail, but once that community is “subscribed” and created locally, then your search without the “@” will fetch the “local copy”. Once that local copy exists, it “announces” itself to the home instance, this then tells the home instance to start emitting all the apub info to your local instance (new posts, comments, votes, etc).

    So I believe what you’re seeing is first the get_communities takes a while to go through all of that. Because of that, while waiting the UI sets the results to “empty” until the actual return comes in, once the results come back and the UI updates the state, you see the community in the list. But until that community is “copied” locally, you can’t manually go that community from your local instance url simply because it doesn’t exist locally yet.

    The issue also comes down to the fact that no instance needs to update. So if you’re requesting a v0.17.x instance community from a v0.18.x instance, the api’s changed and they may not communicate properly to your home instance. I’m sure there are other points of failure too.

    But I believe the lingering “pending” state should be mostly fixed, if you’re using an instance that’s on 18.3 then I don’t think you should encounter that much…

    EDIT: It should be noted, that once you search for the remote community, it will fetch the entire community, including all posts and comments, and populate the cache (which I believe lasts for 3 days as of 18.3 unless someone subscribes to it, at which point it’s effectively “saved” locally). This means big communities might be extremely slow to respond to the apub request





  • I’m in my mid 30’s and I spent A LONG time working out, getting as fit as I could.

    I still hated my body when I looked in the mirror, and I hated every second of the workout. “Post workout” I was so proud, but like, that’s equivalent to drinking so you could appreciate being sober.

    I stopped a while ago and started just trying to eat healthy and focus on other sources of happiness. I’m much happier since!


  • I’m in my mid 30’s and I spent A LONG time working out, getting as fit as I could.

    I still hated my body when I looked in the mirror, and I hated every second of the workout. “Post workout” I was so proud, but like, that’s equivalent to drinking so you could appreciate being sober.

    I stopped a while ago and started just trying to eat healthy and focus on other sources of happiness. I’m much happier since!






  • Limeey@lemmy.worldtoMemes@lemmy.mlRich Lives matter
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    1 year ago

    The rich can only “create jobs” because we have an economic and political system that skews reward toward investment rather than labor. Both are important, but let’s not pretend that anyone can earn a billions without excessive wage theft from the people doing the actual labor.


  • If you think any billionaire “worked” for the amount of money they have, you’re sorely mistaken. It’s a byproduct of a flawed economic system, not their “work ethic.” Not to say capitalism doesn’t have it’s benefits, but it’s the system in which capitalism is allowed to operate that produces inequalities like that.


  • Rich dude created a company that provides submarine tours of the titanic wreckage, except he built it and operated it stupidly (off the shelf “camping” parts, bad weather conditions). Now he’s trapped in the submarine with like 4 other folks where no one knows where they are, and they are expected to run out of oxygen in like 12 hours from posting this.

    Super tragic but like, totally avoidable.