• 0 Posts
  • 129 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle
  • I know, but to me this meme doesn’t make sense to me unless I assume the person reading the math Expression is interpreting its real world application.

    25 / 5 = 5 and nobodies head exploded. That’s just evaluating a math Expression. .25 / .5 = .5 is the same. It’s not a “my brain can’t comprehend how to evaluate expressions” as the meme suggests.

    However, if someone who doesnt do much algebra thought to themselves “I need half of a quarter”, then I could understand why their brain might “hurt” as the meme suggests, for a similar reason why adding 20 degree Celsius water to 20 degree Celsius water doesn’t make 40 degree Celsius wate

    I’m probably reading into it too much, but the meme just doesn’t feel like a “mind fuck that keeps me up at night”. I’m looking for reasons to try and explain it, but it’s just a math expression at the end of the day




  • Software engineering is usually distinct from programming in that it isn’t about the logic behind programming, but about the project management that all software projects typically have in common.

    Besides agile methodology, a lot of software engineering involves creating reproducible environments. While NixOS doesn’t provide anything that much different from tools like Ansible,

    NixOS follows a functional/declarative design paradigm, functional/declarative design paradigms communicate similar logic for solving the same problem. It’s a restrictive paradigm. Consider how javascript is not restrictive, as in, you can code with any design paradigm in javascript, and how it’s ugly for that.

    I also think functional paradigms mirror the natural language closer than imperative paradigms. That’s subjective, but I would still argue Math is a logical language that is a subset of the natural language, and since functions in programming represent a process of doing something, functions make for natural verbs. Meaning, understanding the naming convention for the functions, is a natural naming convention for when I communicate with other software engineers, even when I’m not asking about making configurable/reproducible systems in NixOS

    Or when I look at how to config things like firewall, ssh, vpn servers, user group permissions… it’s a minimalist description that I could communicate to other people configuring even on a debian server

    So, it’s hard because it’s restrictive, but if you’re willing to put up with a learning curve, you get a language agnostic framework for describing computing environments, more or less. Then there’s more advanced stuff with nix flakes, which still doesn’t make sense to me functionally/linguistically, but I’m starting to see the value in parallel package management and the precision in reproducibility they provide by requiring sha256 git commits
















  • Exactly, like ansible.

    Unused packages aren’t typically a problem unless you imperatively change your systems state. Otherwise, If you remove it from your configuration.nix, it’s removed when you switch to your next build. Previous builds/generations keep those versions of those packages, which wastes space, but you can specify garbage collection to remove generations older than a month

    My only complaint so far is the best way to properly make a development shell for a python project is either with a still somewhat experimental feature called flakes, or a 3rd party solution poetry2nix. Im probably going to switch to using docker/podman for python projects.

    On the other hand, pip is the worst package manager, so being incentivized away from it is kind of a plus


  • Man I still suck at NixOS and it has it’s kinks/learning curve, but if you’re tired of tweaking things constantly the nice thing about NixOS is all your little tweaks get recorded into a single file which builds your base OS into your particular configuration. So after you tweak it and get it right, you’ll never have to tweak it again even if you change computers