Rust dev, I enjoy reading and playing games, I also usually like to spend time with friends.

You can reach me on mastodon @sukhmel@mastodon.online or telegram @sukhmel@tg

  • 0 Posts
  • 67 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle








  • lad@programming.devto196@lemmy.blahaj.zoneLoona rule
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Better start with this book, Rust will feel natural after that: Learn you a Haskell for the great good by Miran Lipovača

    But you are right, it is better suited for one things and worse for other. It’s not strictly functional, though, and most likely when it will have been maturing for as long as C++ or at least C# it will also have tools and features that make it better suited even for game development



  • You may take a look yourself at the repo while I will try to describe it below.

    I use nix-darwin on top of nix installation to manage most of system settings and build.

    I am not quite sure now, but I think, I remember having to do xcode-select --install, can’t quite remember if that was part of workaround for issues or part of normal process. Oh, and there were some discoverability issues with bin directories, I had to work around them by adding extraInit to zsh that includes binaries into PATH. This might be based on my poor skills in configuring everything, though.

    Some of the packages needed are installed from nixpkgs, but some are installed by brew based on configuration.nix so these have to be upgraded in brew and don’t get upgraded upon rebuild (it looks like the intended way would be to wipe them on each rebuild, but that would take longer)

    I develop in Rust, so I also use rust-overlay instead of rustup to manage Rust and nixpkgs-cross-overlay for cross-platform builds. Build scripts also create docker containers descripted with nix in our case.

    There were regular issues with Nix installation upon macOS updates, requiring me to either add back Nix to zshrc or completely reinstall it (the latter was not necessary, likely), but those seem to be fixed, as of now.

    I think you will have less trouble managing reproducible machines with Nix, but I also think that it will require a bit more than just copying config and running Nix. There will also be issues of installing some software and packages locally, that will allow the developers to break builds across the machines when one have something locally that other doesn’t, but this can be mitigated by processes and getting them acquainted with Nix, at least it did it with me 🌚





  • I second using the safe razor, albeit I would recommend using different ones for face and balls. The reason is that I assume that an ideal and universal razor may not exist, the ones I tried are usually either better suited for the body, or more comfortable to apply to the face, that is if we exclude those that are equally bad for everything.

    Regarding the dulling of the blade, it may greatly depend on the brand and quality, so some experiments are required ¯\_(ツ)_/¯


  • lad@programming.devto196@lemmy.blahaj.zoneRuletai
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    That’s either in right-click menu or under settings (gear icon on the top right) of game page in library. Same place you can use to hide the game from yourself if you’re done with it or it’s just some crap you no longer want to see.