• 10 Posts
  • 412 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle

  • I am not sure, but in Nix I declare the desired state of installed packages and configurations in an obscure language and the package manger takes care of that, right?

    The package manager is only one (very important) component of the system that applies your configuration, but otherwise this is a good description, yeah.

    Now the module declare reasonable default configurations? Like http server starts on system start and serves on port 80?

    Obviously, it depends on each individual module, but so far, I’ve mostly been fine with the defaults. Typically, it doesn’t modify the configuration, unless you explicitly specify a configuration value, therefore using the defaults that the software normally uses.

    Now you lost me at the Home-Manger. I can declare stuff in my home folder. OK, so for user-wide configuration? For packages and configuration in the user space? Or what?

    It’s for user-wide configuration, so what would generally be stored in dotfiles. For example, you can configure the search engines in Firefox. Or the panel layout in KDE.

    Home-Manager can also install packages, which is useful, because it can also be used standalone on other distributions. And in particular, you usually want to declare that a package should be installed and what user configuration it should use, all in one place…





  • Not if you never get your application into production…

    Insert tips head GIF here.

    I wish this was as much of a joke as I’m pretending. It’s so common for software projects to get cancelled that lots of tooling differences are just in terms of how long they let you not deal with long-term problems and how violently they do then explode into your face.

    For most of the development lifecycle of a GCed project, you’re gonna ignore memory usage. And if you’re lucky, it can be ‘solved’ by just plonking down a thiccer piece of hardware…


  • Yeah, it’s easy to underestimate how big of a leap it is from a toy application to real-world usability. Not just in terms of security, but also:

    • useful error messages
    • logging / monitoring
    • configuration
    • building a distribution
    • deploying in a reproducible way
    • documentation
    • integration with existing infrastructure
    • data migration strategies
    • etc.

    This adds a lot of complexity, so you’ll need to learn additional complexity to be able to deal with it at all:

    • modularization
    • version control systems
    • software specifications (via unit/integration tests)
    • team communication
    • helper tooling, like package managers, linters etc.

    Learning about all this stuff takes years, especially if no one in your surroundings has much experience with any of it either. Professors don’t have the time to gain or retain this experience, since they already have a different full-time job.

    My advice would be to get students to do internships or to take a job as a working student in a company/organization. Sometimes, these can be shitty for the students, but they can often provide significantly more real-world context than college ever could.





  • Ah, interesting. I went from garbage-collected languages where thinking about ownership might be useful for keeping complexity low and occasionally comes up when you manage lists of objects, but ultimately isn’t needed, to Rust where well-defined ownership is enforced by the language.

    So, I wasn’t aware that ownership is even as concrete of a thing in other languages…



  • Ephera@lemmy.mltoaww@lemmy.worldSelfie
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    Yes, let’s call it “good eye” and not “damn, you really had this meme burnt into your terminally-online brain cells to the point where you’d recognize this random internet cat from a different picture”.
    That is a much better name, yes, haha.


  • Ephera@lemmy.mlto196@lemmy.blahaj.zoneSometimes rule
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    2 days ago

    I feel like it’s a reasonable amount, if that’s the primary taste you want, which doesn’t instill a ton of confidence in me that hubbi actually likes the taste of eggs that much.

    Like, there’s healthier foods that carry this taste better, namely tomatoes. For proteins, a classic combination is white beans in tomato sauce…