• 0 Posts
  • 102 Comments
Joined 2 years ago
cake
Cake day: June 18th, 2023

help-circle



  • This is why I stopped using Gnome. After every update most of my extensions stopped working. Some took ages to get up to date or were abandoned. And there was no simple way to enable all extensions that the update disabled, having to manually enable them one by one. Maybe that has changed now? It’s been yearsnow… Not that I would go back anyway, tiling managers is where it’s at.



  • Decq@lemmy.worldtoProgrammer Humor@programming.devPeak code reuse
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    2 months ago

    If string return nan, else % 2

    So now you return a number type if it’s a string and a boolean if it’s an integer. How does that make sense?

    The is-even lib exists to sanitize input by throwing an exception which imho is better.

    Edit: having looked at the code better. Apparently it still allows string coercion (boo). It only checks for non integer numbers.













  • I disagree. I love it for a desktop system . The fact that you can just try a package/app out with nix shell -p pkg and it doesn’t mess with your global environment and don’t have to bother to uninstall/clean up is very nice. Also combined with direnv/shell.nix it’s really nice for setting up different dev environments, no need to globally install your dev tools (of course you can also do this without nixos too). Or the fact I can run a test variant of my setup without being afraid of corruption with nixos-rebuild test and it will never be able to fuck my existing setup…

    Of course, configuring everything in a single structure is a bit of work at the beginning. But it’s really not that bad (though the documentation could really use some work) . You can just reuse your existing dot files by just including them without converting them to the nix language. And the fact I can now update and configure all my systems from one place and one structure is amazing, without having to ssh in every machine and remember how it’s configured.

    Now does that mean it’s the final distro? Probably not. But would I go back to a non-declaritive setup? Most definitely never. Maybe I’ll try out guix sometime, but I personally never liked lisp variants as a language. But who knows what else comes along. But imho declarative is the way to go for any setup, desktop or server.