• 1 Post
  • 33 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle










  • If you want to switch slowly, I would install nix and home manager on your Arch system, and slowly migrate your dotfiles, configuration, and packages into home manager. That will give you a comfortable transition opportunity to learn nix. Then, the last 10% of system configuration you can figure out when you install NixOS, and you can just pull in your home manager config for all your userspace dotfiles and programs. Thats how I moved from Ubuntu to NixOS.

    And yes, you can have home manager just symlink existing config files to the appropriate location. You don’t have to rewrite everything in nix.




  • My old OS is kind of a blackbox, in the that I played with countless tools, and I’m not really sure what I will want to reference later. For instance

    • Configure different wine tweaks for games
    • Playing with Monero and crypto wallets/miners
    • Different VMs for tinkering with OSs
    • Self-hosted software in docker containers, plus volumes
    • All the software tools I used for projects
    • Video game modding: some in linux, some in the “windows filesystem” created by steam with proton
    • Software installed from programming package managers: pip, cargo, npm

    …and on. I played with a lot of things without regard for longevity or preservation. I didn’t even takes notes on what I did most of the time. So I got very worried about just switching OSs without a plan in place. Ultimately, I ended up doing the following to transition.

    1. Started adding flakes to all my development projects. This would let me get my environment well defined before messing with my installations.
    2. Installed nix and home-manager, and started slowly uninstalling packages from cargo/pip/apt/npm/flatpak/appimage/snap and add them to my nix config.
    3. Bought a second ssd so I could preserve the current OS as is (this was much easier than shrinking partitions and install nixos alongside it, but it could have been done)
    4. Finally made the jump, using the NixOS configuration on my laptop as a jumping off point. And I still reference my old OS as is, booting into once in a while to remember where things were. I don’t know if I’ll ever actually wipe the drive. I’m just not sure.

    But of course…I’m on NixOS now! So much of these configurations and lists of software packages, will be documented forever.







  • For more “traditional” or “statistical” modeling (not NN) 100% start with sklearn. It has a plethora of algorithms, and their docs read like a book. You can learn a whole bunch of new methods and techniques from there too. In tandum, you should familiarize yourself with matplotlib, which is the plotting library it uses under the hood (and is by far the most popular plotting library.)

    For deep learning, I’d say PyTorch? Tensorflow used to be standard but its fallen out of favor compared to PyTorch. I don’t use either so I’m nit sure.