• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle


  • whats_all_this_then@lemmy.worldtoLinux@lemmy.worldDo you use aliases?
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    5 months ago

    Oh boy, my time to shine:

    • mkd - Create directory and immediately cd into it
    • dei - docker exec -i
    • dps - docker ps
    • mdocker - Switch to minikube’s docker context
    • n - nvim
    • n. - nvim .

    Node package managers

    Exampes use pnpm but I have them for yarn, npm, and bun too

    • pi - pnpm install
    • pd - pnpm run dev

    fzf stuff

    • sdh - Search home directory (directories, recursive)

    Meme

    • fuckyou - git push --force
    • nano - nvim

    Misc

    createpgdb - Create a postgres db on the given container with the given name

    Usage: createpgdb "postgres container" "db name"

    I have similar ones for dropdb and pg_dump. Here’s the command:

    f() { local __user; if [ -z $3 ]; then __user=postgres; else __user=$3; fi; docker exec -i $1 createdb -U $__user $2; unset -f f; }; f'
    












  • On I 100% agree with you here. But here’s my (and I think a lot of people’s) logic:

    It’s slightly different in the case of YouTube. The shop isn’t putting Karen (and everyone else) under a microscope the second she walks into the store, and using that data to tailor what she sees in their other branches so she’s more likely to buy. They’re not creating what’s effectively a gigantic influence market out of the data, and I don’t think you are doing that to your clients either (although to be honest, I’d be pretty impressed if you were).

    YouTube is free because “we are the product”. They’re harvesting our data whether we block ads, skip ads, watch ads, or pay for premium (as far as I know, please correct me if I’m wrong). It may not be profitable on its own but it sure as hell is bringing value to Google’s other services. All the while, it’s actively getting worse for end users (more and more ads, no more dislikes, not respecting video quality choices as well as it used to, hiding quality settings behind obtuse menus on mobile, no home page without watch history…)

    Ultimately, “line no go up big like last year grug mad” is what matters to Google’s shareholders and what ultimately drives their decisions. I firmly believe that we’d still be having this conversation if YouTube somehow making a profit with ad blockers on, so fuck em.