If you enable iptables you may have to disable firewall.
If you enable iptables you may have to disable firewall.
I am also using nixvim. Didn’t know about this fork. I think I like it? It beats manually writing setup configs. But Im not a vim superuser by any means, so I’m sure nixneovim would be equally useful to me.
Use git? Use CI/CD? What do you mean?
Sorry about your troubles. Keep at it, I promise its greener on the other side.
One tip: nix-env installs things ad hoc. Its against fhe whole philosphy of nix, where your system state is defined in files. So don’t ever use that. If you need any generic package, you can add it to environment.systemPackages. If you accidentally installed something that way, its okay. Just know you might get an error if you try installing it both from nixos-rebuild and nix-env. If that happens, just uninstall from nix-env.
Thanks for sharing this codec wiki. Looks like an incredible project.
Futhark is another language with the same goals, executed differently.
You want to look at the registry. Run nix registry list. You’ll see that nixpkgs by default points to unstable. You override this in your config. I’ve done that, where nixpkgs is stable and “unstable” is unstable.
EDIT: heres part of my home manager config that changes this: https://github.com/rutrum/dots/blob/master/users/modules/cli/nix.nix#L15
I think this has to do with flakes. If you run something as a flake it doesnt use channels, which is the alternative. The import is looking for it as a channel on the host machine. With flakes its provided as an input.
It looks like nixinfo is explicitly looking for channels to tell you info, like how neofetch would tell you interesting stats. The same does not apply with flakes. There’s no “default” upstream package base that can queried by the system.
Or you can always spin up a distrobox container and install it there, too.
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.
This is very multipurpose, but if you haven’t heard of gridfinity, there might be modules that would be helpful you home lab, or your home in general.
Not cargo, but I use justfiles in all my projects: https://github.com/casey/just Its great for aliasing project-specific commands like what you have.
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
…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.
But of course…I’m on NixOS now! So much of these configurations and lists of software packages, will be documented forever.
How do you use your computer? Did you really just blow away your OS and jump to one you just heard about? I ask because I spend many months preparing to make the move, and I’m still working at a deficit, since my 4 year old OS had so many hours of tinkering that went undocumented and forgotten. Im still slowly configuring my nixos box. How did you use your computer?
How exactly do you simulate die rolls? Do you actually use a random number a bunch of times and average? Because its 2d6, it has a known distribution. You could iterate over all combinations and use the probably distribution to weight each result. How did you accomplish this?
Yeah when you iterate over cards mutably, you’re borrowing it again at the line cards[id].copies +=… I think. If you’re going to access the card by index there then you loop over indicies at the top lop instead of iter_mut
Cool project! I love CLI widgets like these. I’ve made a couple! Something that would be cool for this project is a way to pipe a script in, like cat script.sh | to-html
and it read the file line by line. But that could be difficult! Last I knew, clap doesn’t make that functionality very easy to validate! Again, great idea and I hope this gets shared with more people.
This is the first time I’m hearing about blessed.rs, thank you. Havent used lib.rs since they closed the source. Thanks for sharing.
I wrote a string case conversion library called “convert-case”. Most people use “heck”. They use different patterns, and different naming conventions. I prefer mine (more features), but it also came out long after heck became standard.
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.
This guy develops on windows