fabian_drinks_milk

joined 1 year ago
[–] [email protected] 2 points 1 year ago (1 children)

I am already trying it and I am still no expert. How I understand flakes is that it is a file with inputs, like nixpkgs and other flakes or repos you might depend on and some outputs that can be things like a nixshell with packages and environment variables, custom packages and configs like your NixOS configurations and home manager. When you use your flake for the first time, by entering a nix shell with nix develop, building a package with nix build, rebuild your NixOS system with nixos-rebuild --flake .#, etc, nix will generate a flake.lock file that stores the hashes of all of your inputs and thus pinning the input versions. This means that if you ever run any of those commands again, you should get the same result because the inputs are pinned and the same version. If you want to update, you just run nix flake update and it will regenerate the flake.lock file with new hashes for the newest version. The advantage with flakes is that it is fully reproducible, even if one of your dependencies changes, because the hash is specified and centrally managed in the inputs of your flake.

Nix flakes can be used for your NixOS system by adding the nixos configurations in the outputs of your nix flake and adding the dependencies like nixpkgs to the inputs. You can also combine it with home manager by either specifying it as a separate output or adding it as a nixos module inside the nixos configurations output. You just copy your existing nixos and home manager config to the folder with your flake and reference them inside the flake.nix. If you added home manager as a nixos module, you only need to run nixos-rebuild switch --flake .# and it will automatically rebuild both your NixOS configuration and home manager configuration. You can then backup the folder with your flake and configurations by uploading them to GitHub for example.

The best resource I found was this 3 hour video by Matthias Benaets: https://youtube.com/watch?v=AGVXJ-TIv3Y&feature=share7

[–] [email protected] 20 points 1 year ago (1 children)

I recently asked Bing to give some code on a pretty undocumented feature and use case. It was typing out a clear answer from a user forum, but just before it was done, it deleted everything and just said it couldn't find anything. Tried it again in a new conversation and it didn't even try to type it out and said the same straight away. Only when given a hint in the question from what it had previously typed, it actually gave the answer. ChatGPT didn't have this problem and just gives an answer, even though it was a bit outdated.

[–] [email protected] 8 points 1 year ago

Just give everyone the time they need to create a complete product. Some of the greatest masterpieces take the longest time to develop. I don't want games that are rushed to launch all buggy and finally get into a working state after months of fixes.

[–] [email protected] 26 points 1 year ago

I think the equivalent would be to make a copy of that room without paying.

[–] [email protected] 5 points 1 year ago (1 children)

I only have it enabled for social apps when someone actually is talking to me, but I just don't understand why there are notifications for these recommendations or suggestions from some algorithm.

[–] [email protected] 4 points 1 year ago

Sadly the only way to contactlessly pay with your phone is Google Pay, Apple Pay or maybe Samsung pay at least where I love. And I don't trust any of those companies. There is no other open source standard implementation and you can't even just use your bank's app.

[–] [email protected] 3 points 1 year ago

There are really people out there using React for their static portfolio website. I think JavaScript frameworks are fine if they compile into a minimal bundle with lazy loading, incremental server rendering, etc. As long as you don't ship unnecessary JavaScript with a full virtual DOM and slow down your page.

[–] [email protected] 9 points 1 year ago

I though the official response was that they couldn't fit one without making the phone larger than it already is and that it was a hard decision.

[–] [email protected] 4 points 1 year ago (2 children)

Mine already runs CalyOS so there's that.

[–] [email protected] 9 points 1 year ago

Yeah same here. The micro SD slot is inside after you remove the battery.

[–] [email protected] 7 points 1 year ago

Yamaha makes audio products: Pianos, Speaker systems, motorcycles...

[–] [email protected] 2 points 1 year ago

Thanks, I have a French exam in less than an hour. Wish me luck! (No, I did not get the choice to stop with French until now. This is my last French exam.)

view more: ‹ prev next ›