• 0 Posts
  • 74 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle





  • I just updated to the newest Ubuntu LTS, which puts pip into system managed mode so you can’t easily install packages outside of a virtual environment anymore.

    If you (or anyone who stumbles upon this comment in the future) run into this problem, the new recommended way to install yt-dlp through pip and keep it in your path and up to date is via pipx (sudo apt install pipx). The syntax is a bit gnarly for pre-releases, so I figured I’d post an update:

    To install the nightly: pipx install --pip-args '\--pre' "yt-dlp[default,curl-cffi]"

    To update the nightly: pipx upgrade --pip-args '\--pre' yt-dlp

    I alias the update command and run it before every download session.

    (You may need to delete your old yt-dlp binaries before it’ll let you install the new one - use type -a yt-dlp to find them.)








  • It’s the lack of flow.

    When I’m good at something, I can switch my brain off (even for mental tasks like programming; it’s weird how ADHD works) and happily do it for hours.

    When I’m working on something I’m not good at or am new to, I need to stop every few minutes to think or research and that gives my ADHD brain an opportunity to attack.

    When I’m medicated, I can maintain that flow state with nearly any task - just with zero control over which task gets priority.







  • Spec Ops actually did have choices where you could be good (or at least less bad), but ironically people missed them because they didn’t think being good would work.

    For example, at one point you’re being harassed by an angry mob of locals. A lot of players simply shot them because a lifetime of experience with shooters told them that no other input would be recognized. But in actuality, if you fired warning shots at the ground or over their heads the civilians would flee without incident.