• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. best way to go about with a script that seems to need both bash and python functionality

      Gonna try and put this into words. I am pretty familiar with bash and python. used both quite a bit and feel more or less comfortable with them. My issue is I often do a thing where if I want to...

      Gonna try and put this into words.

      I am pretty familiar with bash and python. used both quite a bit and feel more or less comfortable with them.

      My issue is I often do a thing where if I want to accomplish a task that is maybe a bit complex, I feel like I have to wind up making a script, let's call it hello_word.sh but then I also make a script called .hello_world.py

      and basically what I do is almost the first line of the bash script, I call the python script like ./hello_world.py $@ and take advtange of the argparse library in python to determine what the user wants to do amongst other tasks that are easier to do in python like for loops and etc.

      I try to do the meat of the logic in the python scripts before I write to an .env file from it and then in the bash script, I will do

      set -o allexport
      source "${DIR}"/"${ENV_FILE}"
      set +o allexport
      

      and then use the variable from that env file to do the rest of the logic in bash.

      why do I do anything in bash?

      cause I very much prefer being able to see a terminal command being executed in real-time and see what it does and be able to Ctrl+c if I see the command go awry.

      in python, you can run a command with subprocess or other similar system libraries but you can't get the output in real-time or terminate a command preemptively and I really hate that. you have to wait for the command to end to see what happened.

      But I feel like there is something obvious I am missing (like maybe bash has an argparse library I don't know about and there is some way to inject the concept of types into it) or if there is another language entirely that fits my needs?

      6 votes
    2. What the death of Cohost tells me about my future on the internet

      Cohost.org, an independent social media blogging platform, will be shutting down as early as next month. A lot of users are talking about how their time on Cohost changed the way they think about...

      Cohost.org, an independent social media blogging platform, will be shutting down as early as next month. A lot of users are talking about how their time on Cohost changed the way they think about what an experience in an online community can be like in the modern age of the internet. People saying that they'd rather move forward with spending more time offline and with their hobbies than chasing the next social media site after Cohost's closure. I tend to agree.

      After checking an old forum recently that I used to frequent in the heyday of internet forums, I found it filled with racist fear-mongering that is left unmoderated after the driving force of the community passed away half a decade ago. I wonder how much of the spirit of the old web we can realistically rekindle. If you're on Tildes, you probably know everything about the faults of giant social media platforms like Facebook, Twitter, or Reddit. Heck, the poor quality the YouTube comments section was a meme when YouTube was new. It was never good on those sites. Just tolerable and everybody was there so you kind of had no choice. Now, many of those platforms are self-imploding.

      Cohost, like Tildes, created an atmosphere where you didn't feel like you were committing a moral wrongdoing by not immediately spewing scalding hot takes about current events, drama and conflicts. You were encouraged to write text that wasn't throwaway garbage. You could have meaningful conversations about issues and find an audience. Cohost was not without its flaws. People of colour in particular recently shared experiences of racist harassment on the site that was purely handled by moderation. But overall the takes I'm reading now is that most people will be able to look back on their time on Cohost fondly. I've seen people calling it "the Dreamcast of websites".

      Cohost was a social media site that was a joy to visit for me and didn't put me on an edge by interacting with it. I could write posts, long-form posts without pressure to hit out another one-line zinger while a topic "is still relevant". I didn't see endless chains of subtweets that deliberately avoided explicitly mentioning the drama they were commenting on, lest the hate mob find their comment. I didn't get into that kind of unnerving cycle of "I don't know what this post is about, but the infrastructure of this social network suggests it's a moral failure to not chime in on the topic de jour, so I better get going and scan vile tweets for an hour to find out what's going on".

      And before you say that this is only a Twitter problem, I have had pretty much exactly the same experiences on Mastodon and especially Bluesky. I feel the same in over-crowded Discord servers where it's very difficult to keep track of what's been talked about and what the current topic of discussion is. I feel the same on the few active forums that still exist, like resetera, where there's just posts upon posts that you're kind of expected to read before you chime in into a thread.

      So where to go from here? I'm thinking about setting up my own proper blog, maybe hosted on an own website. That way I can continue to create long form posts about topics I want to. And bring back a little more of the spirit of the old internet. Cohost is dead, but there's no going back to me to doomscrolling. Today I set my phone to aggressively limit my daily usage of Reddit & Mastodon. I said the following when Twitter crashed and burned, but this time I'm not desperate, but genuine when I say: It's the end of the world as we know it, and I feel fine.

      30 votes
    3. Tildes Minecraft Survival Weekly

      New Thread Server host: tildes.nore.gg Dynmap: https://tildes.nore.gg Playtime Tracker: https://tildes.nore.gg/playtimes.html Tildes website extension (shows online status & location): Firefox...

      New Thread


      Server host: tildes.nore.gg
      Dynmap: https://tildes.nore.gg
      Playtime Tracker: https://tildes.nore.gg/playtimes.html
      Tildes website extension (shows online status & location): Firefox (Desktop and Android) - Chrome
      Verification site: https://verify.tildes.nore.gg
      Patreon: https://www.patreon.com/TildesMC

      The server operates on a soft whitelist. Anyone can log in and walk around, but you need a Tildes account to gain build access.


      New Thread

      27 votes
    4. Is WoW: The War Within worth it for a mostly solo player?

      I thought I should ask this question here, as I value the input of users here more than strictly WoW-focused places. A brief summary of my relevant likes and dislike. Love solo-friendly MMOs, e.g....

      I thought I should ask this question here, as I value the input of users here more than strictly WoW-focused places. A brief summary of my relevant likes and dislike.

      • Love solo-friendly MMOs, e.g. ESO and GW2
      • Haven't played WoW much but love Warcraft's lore, and been a fan of it for over 2 decades
      • Dislike competitive group content and mandatory structured raiding

      Basically, I am mainly interested in solo content, and story and lore.

      The price of the expac is a bit pricey in my country, so it's a significant monetary expenditure if I choose to buy it. However, nowadays I have exhausted my enthusiasm for the other MMOs mentioned (and a lot more others I haven't mentioned). I've also heard a lot of good things about the solo-friendly nature of this expac. But I still have my reservations, as WoW players tend to hop on a bandwagon rather easily, especially at the start of an expac.

      So, the question stands: do you think it's worth it?

      4 votes
    5. Crossposting on Tildes, general thoughts?

      It seems like the last real discussion about the subject was about 6 years ago I am mostly wondering what the thoughts now are on crossposting something in different tildes groups. This was...

      It seems like the last real discussion about the subject was about 6 years ago

      I am mostly wondering what the thoughts now are on crossposting something in different tildes groups. This was inspired by a few things. Last week I was unsure where to post something and ended up posting it in the most topical tildes group even though previous posts that took off were posted in a different group. Meaning that people that are subscribed to ~comp but not ~life might have missed the post even though they might be interested.

      Then there is this post. I was about to post the same link before realizing it was already posted. The post in question is posted in ~games, I would have posted it in ~tech. I feel like the overlap between ~games and ~tech subscribers likely is a bit bigger, but also here I feel like people might potentially be missing out.

      I realize this might not be the biggest issue, the majority of people on tildes seem to be subscribed to all groups. But it still, it tickled something in my brain and this is the second time in a short period that I find myself thinking about this.

      Ideally, in my mind, this would be solved on a technical level where you can post something in two groups with a consolidated comment section. However, I don't see this happening in the sort term.

      Tags sort of cover this, but given they can be anything and quite numerous, browsing through them is not something I personally would ever use or actually address this.

      The second-best solution, and the one I'd like to discuss, is to simply cross post and in one of the posts leave a comment linking to the other post to consolidate discussion a bit.

      Am I overthinking the issue? Probably. :) But overall, what are peoples thoughts on allowing cross posts between groups? Any real downsides besides double entries in the listing?

      22 votes