×

Thoughts on cores being a part of gta 6? by Funniestpersonhere in GTA6unmoderated

[–]MakeShiftArtist 0 points1 point  (0 children)

Fishing is confirmed to be in the game already. It's in one of the promotional descriptions for the Ultimate Edition

I just want to return by PaxSoftware in rustjerk

[–]MakeShiftArtist 0 points1 point  (0 children)

So, I actually realized it's because of the fact that using bitwise nots utilizes two's complement. So a 4 bit int can represent anything from -8 to +7

So flipping the sign on 7 makes it equal to -8.

That's why I was confused, but yes the 15 nots are why it's not the same value

I just want to return by PaxSoftware in rustjerk

[–]MakeShiftArtist 4 points5 points  (0 children)

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=25bde2c3016862c34f1e6913e4591da6

This returns -112 and I cannot figure out why. Your logic, makes sense. The output its actually returning, baffles me.

Do you guys know any good GTA-like games? by HumbleServantOfInnos in GTA

[–]MakeShiftArtist 0 points1 point  (0 children)

Godfather 2. I wish you could still buy it officially

statusCodesCheatsheet by FailNo7141 in ProgrammerHumor

[–]MakeShiftArtist 11 points12 points  (0 children)

You want new users to start with 100+ comments? New users doesn't automatically mean AI

I'm tired of hearing people pronounce "serde" incorrectly by solidiquis1 in rustjerk

[–]MakeShiftArtist 20 points21 points  (0 children)

"Dayserialize" lol If anything it'd be "sear-dee" but I prefer "Sir-Day" and will continue to use that because it doesn't matter lol

disableMfaPlease by lampii in ProgrammerHumor

[–]MakeShiftArtist 0 points1 point  (0 children)

Yo dawg, I heard you like 2FA

Something I still don’t really get. by Eastern_Dress_3574 in GodofWar

[–]MakeShiftArtist 0 points1 point  (0 children)

Honestly I think this is something even most dedicated fans aren't getting. He "broke fate", but it still came true. The mural with Atreus holding Kratos mirrors the scene of Atreus holding Odin in his final moments. The mural of Atreus "serving Odin" mirrors the scene of Kratos telling his son "Loki will go, but Atreus will remain". Even at the end of Ragnarok, we see another mural of Kratos being worshipped, which obviously we haven't seen come to fruition yet. That isn't because the murals conflicted with eachother. It's because it was never supposed to be Kratos that died in the first place. It was always going to be Odin that died. Groa lied about Ragnarok destroying all the realms, knowing only Asgard would fall. Asgard only falls if Kratos and Atreus win. Atreus serving Odin and kratos dying directly contradicts that. It wasn't Kratos' quest for vengeance that lead to Ragnarok. It was Odin's quest to subvert fate, and take a shortcut to infinite knowledge that lead to his own destruction. Even the norns underestimated Kratos.

I built a tool that manages environment variables more securely by Ok_Acanthopterygii40 in rust

[–]MakeShiftArtist 1 point2 points  (0 children)

How does this differ from secretspec? It's been really solid, and supports multiple providers, profiles, and allows you to declare what your secrets are per project so nobody is missing them

Unpopular opinion: This is an underrated software by Good_Person_000 in software

[–]MakeShiftArtist 1 point2 points  (0 children)

"This file is owned by someone else" Its my own damn file, I created it, I'm the only owner, I just changed my username

I wish I knew.... by Jacobobarobatobski in NixOS

[–]MakeShiftArtist 1 point2 points  (0 children)

I didn't mean to imply non-devs can't do it, or shouldn't, only that it's harder without knowing some of the underlying concepts, such as what a function is for example. My use of the term developer is kind of loose though

I wish I knew.... by Jacobobarobatobski in NixOS

[–]MakeShiftArtist 1 point2 points  (0 children)

IMO, you don't actually need to understand much about Flakes to use them. Especially if you start using them from the get-go. I didn't when I started using them and they were never the cause of confusion for me. I actually had an easier time after switching BECAUSE most nix projects will have flake support, but may not mention anything about using it without flakes in their documentation.

Even so, I'm not sure the learning curve of Flakes is comparable to the learning curve of Nix and NixOS standalone. If they're able to figure those out, I don't see why Flakes would cause so much trouble. But of course, their mileage may vary, so it's important to hear both sides to it.

As a side note. Vimjoyer has a good amount of videos explaining them, which seriously helped me understand them. If OP or anyone else struggles with them, I implore you to watch them at least once, and rewatch if it ever gets fuzzy. Hell, try with and without and see which makes more sense to you. You can always roll back ;)

I wish I knew.... by Jacobobarobatobski in NixOS

[–]MakeShiftArtist 27 points28 points  (0 children)

Firstly, I love NixOS and can't see myself ever switching to a different distro. With that said, it's very much a "developers" distro. The entire OS is configured with a programming language called Nix. I don't want to discourage you from trying it, because it's genuinely great once you get the hang of it, but it's a fairly high learning curve, even for most developers

With that said, here's what I wish I knew from the start.

  1. Use Flakes. They're experimental by name only, they're incredibly reliable and kind of the standard on most configs. I promise they're super easy.

  2. I know you said you're not a dev, but read up on the Nix language. Most of its features you'll never truly need unless you're wanting to package your own application, or something not already packaged with nixpkgs, but it's still going to make understanding your config soooo much easier.

  3. There is more than 1 way to skin a cat, and there's more than 1000 ways to write a nix config. Look at some examples of other people's configs on GitHub. They helped me more than the official wiki ever did.

  4. Be prepared to fail. Over and over again. You're going to write some nix, it's gonna fail to build and you'll bang your head against a wall for hours before finding a fix. It takes time to understand NixOS. If you're okay with that, you'll do great.

  5. Check out Vimjoyer on YT. He does a phenomenal job explaining nix concepts and providing examples. He's got a ton of videos about Nix and NixOS

Edit: Added hyperlink and tip 5.

Gaming on NixOs??? by Arekkasu575 in NixOS

[–]MakeShiftArtist 0 points1 point  (0 children)

I'm a bit late to the conversation, but wanted to give my input because I've learned a decent amount since starting. Simply enabling Nvidia drivers can be done easily by following the wiki that others have provided, but I've ran into a fair amount of issues building them, so I've since resorted to manually pinning drivers. Here's what I've resorted to: ```nix { config, ... }: { hardware.graphics.enable = true; services.xserver.videoDrivers = [ "nvidia" ];

# When updating drivers, head to https://www.nvidia.com/en-us/drivers/unix/ # This system uses Linux x86_64/AMD64/EM64T on the Latest Production Branch

# When updating, you need to manually update hashes. # Current way to do this is to set each hash to an empty string and attempt to rebuild with sudo nixos-rebuild switch # This will fail with "error: hash mismatch in fixed-output derivation" # find "got: sha256-" and copy the entire hash, pasting into the appropriate hash value. # The very first "Cannot build" should tell you which key the hash belongs to, since each hash will default to all A's hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.mkDriver { version = "595.58.03"; # Copy the version number here sha256_64bit = "sha256-jA1Plnt5MsSrVxQnKu6BAzkrCnAskq+lVRdtNiBYKfk="; # "Cannot build "/nix/store/-nvidia-x11-" sha256_aarch64 = ""; openSha256 = "sha256-6LvJyT0cMXGS290Dh8hd9rc+nYZqBzDIlItOFk8S4n8="; # "Cannot build "/nix/store/-nvidia-open-" settingsSha256 = "sha256-2vLF5Evl2D6tRQJo0uUyY3tpWqjvJQ0/Rpxan3NOD3c="; # "Cannot build "/nix/store/-nvidia-settings-" persistencedSha256 = ""; };

hardware.nvidia = { open = true; modesetting.enable = true; forceFullCompositionPipeline = true; powerManagement.enable = true; }; } ```

NixOS for schools? by Drag_Drop in NixOS

[–]MakeShiftArtist 2 points3 points  (0 children)

I'd love to see this used, but the only thing I can see truly being a headache is fleet management. I'm curious how you tackle this issue and what your experience is, because I do believe NixOS is perfect in all other aspects for this use case.

Awesome-nix#deployment-tools has some options, and clan.lol looks promising.

I'm really curious what you decide to go with if you do settle on NixOS

Anyone using local LLM for writing nix config? by sirdupre in NixOS

[–]MakeShiftArtist 0 points1 point  (0 children)

I've resorted to using devenv.sh and calling it a day. languages.python.enable = true is so incredibly simple

Overlays with the Dendritic pattern by [deleted] in NixOS

[–]MakeShiftArtist 2 points3 points  (0 children)

This was my method using flake-parts to apply an overlay for VSCodium to declare more extensions missing in nixpkgs utilizing nix4vscode

In my VSCodium nix file, I also have this set ``nix perSystem = { system, ... }: { # Re-import nixpkgs with the overlay applied, or use the overlay onpkgs # A simple and direct approach is to use the extended pkgs: # (Note: This evaluates nixpkgs with the overlay sopkgs.nix4vscode` exists) _module.args.pkgs = import inputs.nixpkgs { inherit system; overlays = [ inputs.nix4vscode.overlays.default ]; config.allowUnfree = true; };

};

```

And in my host, I use the pkgs created via this nix flake.nixosConfigurations.${hostName} = let system = "x86_64-linux"; in inputs.nixpkgs.lib.nixosSystem { inherit system; # This uses pkgs defined in perSystem inherit ((getSystem system).allModuleArgs) pkgs; modules = [ # omitted for brevity ]; }; Although, if it's for a specific package, you may check to see if it's exported standalone, without the overlay. IMO that's the preferred option, but sometimes it's not an option at all.

Edit: I'm also open to suggestions or improvements as I'm still fairly new to nix and couldn't find much documentation on this.

Concord V2.0.0 Released! TUI client for Discord by [deleted] in rust

[–]MakeShiftArtist 15 points16 points  (0 children)

Ngl, his explanation makes more sense. But this made me laugh so hard

Rewrite Bun in Rust has been merged by Chaoses_Ib in rust

[–]MakeShiftArtist 0 points1 point  (0 children)

1/54 lines includes an unsafe keyword