nelson

  • 4 Posts
  • 631 Comments
Joined 3 years ago
cake
Cake day: July 22nd, 2023

help-circle






  • nelsontomacOSLinux to Mac transition
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    The biggest sacrifice in the transition is re-learning certain stuff because Mac is very opinionated, while Linux gives you a lot more freedom w.r.t. certain preferences. It’s also a walled garden. Depending on who you are you could find it incredibly frustrating to use.

    Installing/uninstalling applications suck imo. It’s intuitive enough (drag a application to the trashcan). I feel like it doesn’t clean things from startup or background services properly sometimes. As a result you could get an error stating that it can’t find a service from an app that isn’t even installed anymore.

    Alternatively I am very satisfied with the battery life of the apple silicon ( ARM ) laptop I got from work.

    Not sure how well it holds up for gaming ( if you’re planning to do that ).

    The old “there’s an app for that” still rings true as per my latest experience. Certain things are simply not in the OS for a reason that is beyond me. A simple example is window management. Moving an application to a different screen or making it half sized etc… there simply aren’t any shortcuts for it and you’ll need to install an app for something that’s pretty basic.

    I’d advise you to install most of your software through homebrew ( if possible ). Apple is expensive. The peripherals cost more than the average windows/Linux ones.

    Generally speaking, I feel like you lose flexibility and you’re forced into the Mac-way of doing things. This isn’t necessarily bad, but depending on how much of a power user you are, it could definitely generate friction.

    If you do jump to mac I can suggest the following apps:

    Raycast ( as a replacement for spotlight ): override the shortcut CMD+space yourself, more flexible and the free tier is very generous/useable. https://www.raycast.com/

    Amd64 architecture programs won’t run on it unless you use rosetta2. It’s a compatibility layer, keep in mind that going forward you’ll be able to run containers using rosetta2, but pure amd64 binaries might become an issue in the future ( https://developer.apple.com/forums/thread/787530 ). If this makes no sense to you it might also not really be relevant :).

    Homebrew for software installs ( if supported ). You can think of it like a package manager for macos. Like apt and the like: https://brew.sh/ You can use brew to install a GUI if you prefer that ( https://www.wailbrew.app/ )

    Caffeine prevents your mac going to sleep automatically: https://www.caffeine-app.net/

    If you want to manage the menu bar at the top because it has too many icons you can use ice: https://github.com/jordanbaird/Ice

    Moving and resizing Windows using keyboard shortcuts: https://formulae.brew.sh/cask/rectangle

    I’ve also used this to clean up background services and such which are no longer installed: https://www.titanium-software.fr/en/onyx.html It’s worked to remove an error from an app that was no longer installed, but for whatever reason was still registered somewhere.

    Note that there are alternatives. The ones I’ve listed are free, FOSS or freemium where the free tier is good enough.

    You’ll find more as you go along I guess. YMMV if you decide to take the leap.





  • nelsontoSelfhosted*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    I have no clue as I’ve not set this up myself unfortunately. :(

    There are also certain Linux distros have SElinux enabled ( like red hat or fedora ). This could also block docker from accessing the file if it is enabled.

    You’d have to search online how to set a policy in selinux to allow it.

    SElinux does not appear in Ubuntu/Debian based distros.

    Easiest check would be to run getenforce. If it works and it returns 1 it’s enabled and possibly the culprit. You can try running your docker after running setenforce 0. This will temporarily disable it until a restart IIRC. You can enable it again by setting it to 1.

    I wouldn’t recommend disablint it permanently


  • nelsontoSelfhosted*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    I think if the source path doesn’t exist, docker will mount a directory ( IIRC, but not 100% sure ).

    Can you triple check if the path to your wg0.conf file on your host actually exists and that the path is definitely correct?

    stat /home/docker/test/Wireguard/wg0.conf
    

  • It’s nice to see one highlighting the nice things php has gotten over the years… I always felt that the majority of hate it gets is based on php4.

    It’s not perfect. It never will be. But neither are any of the other languages.

    And while there is a ton of crap PHP code out there, I’ve seen my share of garbage in enough language. PHP isn’t even the one I found infuriating to work with either.






  • nelsontoStar Wars MemesMember Star Wars?
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Man Jedi knight games were the best. I still search online to see if there are any new Jedi games like Jedi knight or the force unleashed or Jedi academy.

    Only to be disappointed of course. There never is…

    Don’t get me wrong. The Jedi survivor and Jedi fallen order games are good ( or at least I enjoyed them ) in their own right. But I miss the old ones. The latter ones are more dark souls in play style ( though not nearly as hard to luckily). Maybe it’s rose tinted glasses.

    If I’d replay them now they might not hit that same spot. But still!



  • I bought the steam deck docking station and plugged that into my tv. I’m using a generic bluetooth controller to game from the couch.

    That works fine. I’ve even used it in that setup to stream a game from my PC through the steam link or whatever that was called again.

    That’s a cheaper option, unless you’re missing compute power or support on the steam deck.