Fascists, Racists, Transphobes, Terfs, Homophobes can fuck off.

  • 0 Posts
  • 133 Comments
Joined 3 years ago
cake
Cake day: February 22nd, 2022

help-circle
  • Damn…this looks really good actually. I’m sad to day I never heard of cohost until now. But I’ll admit I just identify with the founder’s sentiments around the tech industry, and their strict adherence to moral values around how a platform like that should interact with their users. I wish their developers all the best in looking for new work.


  • Damn…this looks really good actually. I’m sad to day I never heard of cohost until now. But I’ll admit I just identify with the founder’s sentiments around the tech industry, and their strict adherence to moral values around how a platform like that should interact with their users. I wish their developers all the best in looking for new work.





  • This. Google is pushing MV3 to single out and neuter the more robust and customizable ad blockers, like uBO. They’re trying to appease their advertising investors by force feeding ads to you and they’re plugging the leaks/workarounds savvy developers have created to block them.

    If Firefox ever gets popular enough, what do you wanna bet money bags Google, their primary monetary contributor, will put a condition on the next round of funding that they stop support for MV2?

    Stay small and crazy customizable Firefox.




  • Honestly, reddit’s search engine is okay, but yeah it doesn’t get as exact as standard search engines because I think it prioritizes keywords from the post title over comments and also prioritizes most recent posts over subject relevance. That said, the old reddit posts are still going to be accessible via standard not google search engines.

    I’ll admit this is somewhat of a bandaid fix, as should reddit keep this deal with google going, eventually this workaround will prove less effective than it currently is.

    This workaround just gets you the newest posts related to your query, and otherwise, for older posts, the search term reddit in search engines is still superior. So I don’t know, it’s the best solution I can think of for now.


  • I’ve posted this elsewhere, but it bears repeating:

    Just use ddg bangs if you use Duckduckgo and you can search reddit directly.

    !reddit search term
    

    or:

    !r search term
    

    It still picks up latest posts related to reddit, it just searches reddit directly instead of searching Bing’s results. It’s that simple.

    You can even use a redirect extension like Libredirect in conjunction with this Duckduckgo feature to redirect your search to a privacy respecting frontend like redlib.








  • I have about 25 or so shell scripts I use somewhat regularly and well over 300 aliases. I actually specifically don’t wrap package manager related scripts for no reason in particular, but many often do.

    My rule for an alias is if the amount of custom flags gets lengthy, and I use it often, yeah it gets an alias. Here’s an example of using yt-dlp:

    alias ytdl='yt-dlp --sponsorblock-remove all --write-auto-sub -f "bestvideo\*+bestaudio[ext=m4a]/best" -f mp4'
    

    For shell scripts, my rule goes that it should probably have multiple features related around a single idea, that way you can use getopts to create custom flags. For example, I have a script that wraps very basic, but commonly used, git commands, chaining the classic add, commit -m, and push behind a series of read prompts, it has -h flags for help -l for a minimal log output, -i to initialize a new repository (even using github api token to remotely create the repo if you want to use github), and -r to revert back changes to a specified commit.

    Generally speaking aliases will get you what you need most of the time in a pinch, but shell scripting is more powerful, versatile, but potentially more time consuming.

    Others have rightly pointed out that these abstractions can sometimes negatively impact muscle memory, but IMHO this only really applies if you work as devops or sysadmin, where you are often responsible for running many different Linux servers, but usually this isn’t an issue if you have access to the internet and can see your saved aliases and/or scripts (but yeah, instant recall of native commands trumps notes every time).

    Additionally, another mentioned using git to keep track of your aliases, which I totally agree with. Whatever you do, back up your aliases and shell scripts, ideally with a git repo of some kind. This not only allows you to take your new scripts/aliases with you wherever you go, but also reference them later in case it’s not possible to use them on not your machine.

    Hope this helps. Bash can be crazy powerful if you take the time to learn it, and aliases are a great entry point to recognizing that potential. Here’s one of my favorites that combines mkdir with cd:

    alias mkcd='{ IFS= read -r d && mkdir "$d" && cd "$d"; } <<<' 
    

    Good luck, and have fun.




  • z3rOR0ne@lemmy.mltoLinux@lemmy.mlFavourite DE
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Honestly my first olkb was the Planck from DROP. A 40% keyboard where the numbers and symbols are each on their own separate layer. The defaults on the Voyager were very clunky IMHO, so I simply switched them to the defaults of the Planck, including moving the home row up one whole row. This left a few spare keys as the Voyager is a 55 key, so I simply added two Super keys instead of one as well as a few other duplicates.

    I’ve also heard of some interesting workarounds for using Vim with Colemack/Dvorak. It is funny, when I first discovered OLKBs, I kept encouraging people to use them, and I still do. Same with Vim. But ultimately I get why people don’t. I’m so used to this workflow now, going back to a standard keyboard feels clunky and slow, and I’d imagine my setup feels awkward and alien to most if not all other people.

    But it’s uniquely mine and I can type 100wpm if I am on a roll with his setup.

    The clamps are a hilarious accident that happened to work for me. I was experimenting with different ways to get that near 90° angle shoulder width apart, and this was the3 soluuon I haphazardly stumbled on.

    Glad you like it/find it entertaining! I wish you well in finding what works for you! ✌️