Hi, I’m Shauna! I’m a 37 year old transgender woman from Ontario, Canada. I’m also a Linux enthusiast, and a Web Developer by trade. Huge Star Trek fan, huge Soulsborne fan, and all-around huge nerd.

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

help-circle







  • It’s definitely an edge case by say you’re in ~/ and you run a script like ./code/script.sh then it thinks the current working direct is ~/ rather than what is probably intended which is ~/code/. If your bash script uses full paths like /home/$USER/code/ then it will still run correctly regardless of the current working directory that the scrip was run from.


  • ShaunaTheDead@kbin.socialtoMemes@lemmy.mlHonestly
    link
    fedilink
    arrow-up
    50
    arrow-down
    2
    ·
    edit-2
    11 months ago

    In most European countries you need a 4 year university degree in criminology to become a cop. They have the same standards for average police officers as we in North America have for Federal law enforcement. So while it’s certainly true that some European countries have shitty cops, the ones with stricter barriers to entry have slightly less shitty cops.

    Here’s an interactive map although it does seem to be missing a fair bit of data for Europe. The USA has the most abysmal Police training time at just 500 hours of training between being a civilian and being a Police officer.

    edit: lol whoops I never actually posted the link earlier. Here it is: https://worldpopulationreview.com/country-rankings/police-training-requirements-by-country


  • You need to learn bash scripting. Also, there are a few default files that the .bashrc uses which can be helpful to compartmentalize the custom things you do to it so that it’s easier to undo if you screw something up. To do that, just add this to the bottom of your .bashrc

    if [ -f ~/.bash_custom ]; then
        . ~/.bash_custom
    fi
    
    

    What that will do is check if the .bash_custom file exists and then run the .bash_custom file in your home directory and apply anything in there. Also, you can call the file whatever you like, but bash does have some defaults that it will check for and run them without editing the .bashrc at all. It’s kind of hard to find a list of the the files that it automatically checks for, but I know that .bash_aliases is one of them, and I think it checks .bash_commands as well, but I’m not entirely sure. Either way, you can force it to check your custom one by using the code above.

    Then you can create the file and add any custom things in there that you like. For example, I like to frequently update through the terminal but running sudo apt update && sudo apt upgrade && sudo apt autoremove && flatpak upgrade was a bit tedious and I wanted a bit less feedback so I made a custom alias for my personal use.

    alias update='echo "Updating packages..."; sudo apt update -y &> /dev/null; echo "Packages updated."; echo "Upgrading packages..."; sudo apt upgrade -y &> /dev/null; echo "Packages upgraded."; echo "Cleaning up packges..."; sudo apt autoremove -y &> /dev/null; echo "Packages cleaned up."; echo "Updating flatpaks..."; flatpak update -y &> /dev/null; echo "Flatpaks updated."'

    Which hides most of the text from updating and just gives me feedback on what it’s currently doing if I don’t really care to know all of the details. So now I just run update in the terminal and plug in my password and it updates and upgrades everything in a human readable way.

    There’s a lot that can be done with bash scripting, like editing files, iterating over files and directories, setting environment variables. It’s basically a full programming language so the limits are mostly your imagination.


  • ShaunaTheDead@kbin.socialtoMemes@lemmy.mlalternative to trees
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    1 year ago

    Guys, it’s not one or the other. We can have trees and algae tanks. Trees can still offer all of the benefits they do like shade and beauty while algae tanks can be used to increase fresh oxygen. Algae is much better at absorbing CO2 than trees and providing clean air which is a big problem in a busy city.


  • TLDW: James Somerton is a gay man and a YouTube content “creator” who has recently been outed as a plagiarist by Hbomberguy and Todd In The Shadows. He primarily steals content from other lesser known queer content creators which just makes his plagiarism all the more insidious.

    He has also strangely been proven to be guilty of spreading pseudohistory in which he changes details of historic events.

    He has also been accused of a Patreon scam by making a (now deleted) video pleading with his subscribers on YouTube that he can’t make ends meet and he’ll have to stop making videos if he doesn’t get more Patreon subscribers. He got 1200 new patrons from that video. He apparently immediately purchased an $8000 camera afterwards which people describe as a “bizarre purchase” for someone who was just in financial dire straits. Also, there was no evidence of him having suffered a drop in subscribers that he claimed was the reason for his financial situation.

    He has also been accused by YouTuber and Nebula creator Jessie Gender of transphobia. She says that James Somerton has gone out of his way to erase any queer content creators who were not cisgender gay men, and that he intentionally misgenders other transgender content creators constantly.

    It seems like the inciting incident for all of these YouTube and Nebula content creators to go after him was James’ application to become a Nebula content creator. I suppose they started gathering evidence to provide against his membership and they ended up finding so much that they created these videos and levied formal accusations.

    Here’s a slightly more in-depth read from Wikitubia for anyone interested in reading further: https://youtube.fandom.com/wiki/James_Somerton#Controversies



  • ShaunaTheDead@kbin.socialtoMemes@lemmy.mlEverytime
    link
    fedilink
    arrow-up
    11
    arrow-down
    4
    ·
    1 year ago

    The thing is that if someone is bothering you, then you need to go to the teacher. If you set a precedent that one kid is bothering you, then the teacher is more likely to believe you if you ever snap and hit your bully they’ll be more understanding. But if you never say anything and then suddenly snap, then obviously it looks from the outside like you’re the bully.





  • ShaunaTheDead@kbin.socialtoMemes@lemmy.mlEverytime
    link
    fedilink
    arrow-up
    33
    arrow-down
    6
    ·
    1 year ago

    I currently work part-time as a bus driver and I just wanna say that it’s incredibly hard to determine who is right or wrong when you didn’t see what happened and you’re just going by what each kid says. If you only see the tail end of a fight, you might wrongfully think the kid retaliating is the bully. 99% of the time it’s easier to just separate the kids and/or punish them both equally since it’s impossible to determine who the victim and the perpetrator is. It sucks, it feels really bad, but that’s the reality of the situation.