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

help-circle
  • Ephera@lemmy.mltoich_iel@feddit.orgich🐑🥁🐍iel
    link
    fedilink
    Deutsch
    arrow-up
    5
    ·
    4 hours ago

    Hab vor 'ner Weile im Laden “Ameisen-Buffet” gesehen und dachte, krass, hätte nicht gedacht, dass das schon im Mainstream angekommen ist, dass die Ameisen in Deutschland aktuell hart am Aussterben sind, so dass es genug Interesse an einem Produkt wie dem Bienenhotel nur eben für Ameisen gibt.

    Ja, es war Gift.


  • It’s mainly horrid, because it means you have to code extremely defensively (or I guess, use a different API).
    You can’t rely on new Date("not a date") aborting execution of your function by throwing an error. Instead, you have to know that it can produce an Invalid Date object and check for that. Otherwise a random NaN shows up during execution, which is gonna be extremely fun to try to find the source of.

    I understand that it’s implemented like that partially for historical reasons, partially because it’s often better to display “NaN” rather than nothing, but it’s still the sort of behavior that puts me in a cold sweat, because I should be memorizing all kinds of Best Practices™ before trying to code JavaScript.




  • I mean, for what it’s worth, I’m a seasoned dev and just did a run where I tried to answer everything as it makes sense to me (which is “throws an error” or “invalid date” for all of them) and I also got a score of 4/28.

    …and two of those points were given to me, because the quiz interpreted my answer differently than I meant it.

    In other words, this quiz exists to highlight that JavaScript’s Date functions make no sense.





  • 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…



  • 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.



  • I mean, they do have the infinite money glitch, a.k.a. being owned by Microsoft. If Microsoft’s investors think Fallout 5 will make its money back, it’s more lucrative to get started on it sooner rather than later.

    And it does also need to be said that they can’t keep remastering Fallout titles forever. They need to develop a new title at some point.

    Bethesda Game Studios has so far always only had one game in development at a time, which should be TES6 right now. If they are working on Fallout 5, we’re likely talking pre-production stages. So, it might very well be the case that the two remasters come out in roughly equal spacing before Fallout 5 comes out in a few years.



  • Ephera@lemmy.mltoaww@lemmy.worldSelfie
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 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.mltoich_iel@feddit.orgich🚬iel
    link
    fedilink
    Deutsch
    arrow-up
    3
    ·
    5 days ago

    Geht eher darum, dass er sich dabei benimmt als wäre er der Geilste, obwohl er eben explizit nur der Drittgeilste ist. Z.B. tut er ja auch so, als würde er mit dem Biss prüfen, ob seine Medaille aus echtem Gold ist, obwohl es vermutlich nur eine Bronzemedaille ist…