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

help-circle
  • I mean, B does make some amount of sense, if you realize that it’s supposed to give you the maximum among the parameters (so you’d normally call it as Math.max(5, 3) === 5).

    Well, and you can call that with zero parameters, because you can spread an array into it, which might have zero length. And then given these conditions, and if you don’t want to throw an error, then -Infinity is kind of the least bad remaining option, as it’s likely to generally work with the rest of your logic.



  • I also have basically only my personal experience to go off of (from studying computer science), but I never had to plug hardware into my laptop. Printers were available over the network and the one time we worked with hardware, they had dedicated lab PCs there, which had the necessary software pre-installed.

    From what I’ve heard on the internet, that’s quite a common theme. Lots of hardware equipment is ridiculously expensive, so you don’t go buying new equipment when accompanying software doesn’t work on newer operating systems anymore. Instead, you keep a PC around with that old OS and the software, specifically for operating that hardware.






  • I guess, kinda? In my head, a Verein is definitely more of a hobby/socialising thing, but I do have to say that “club” certainly doesn’t feel impactful enough. Like, Germany as a whole would fall apart, if you took the Vereine away.

    For example, the Red Cross is an e.V. here. There’s e.V.s that support the local voluntary firefighters (although those are also organized by the municipality). We’ve got big-ass nature preservation e.V.s that do really important work in suing awful corporations. Local sports organizations and orchestras and whatnot are also organized as e.V.s. And perhaps the most relevant in this community is the KDE e.V., which helps organize/assist the wider KDE community.

    So, yeah, some of them definitely do work that one might expect from a charity…



  • Ephera@lemmy.mltoCyanide and Happiness@lemm.ee2025-05-14
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    But are there many scenarios where you don’t already need that anyways, just for writing out the digits of a number in the given base?

    I mean, I can imagine a scenario where you might talk about base 420 on a theoretical level, without explicitly counting up until 418, 419, 420 (as e.g. Ϡ, Ϣ, 10). But honestly, you could even still refer to that as “Base 419” and it would still be fairly obvious what you mean, since you are using multiple digits rather than just one. I guess, you could also write it as “Base 4199” (so with a subscript 9 to represent what we normally call “Base 10”), if you want to be precise about it.






  • You got any bell peppers on hand?

    I do think the tomatoes could work, too. Maybe kind of caprese-style as a side, so with balsamico vinegar and tofu. If that vegan feta isn’t too strong, it could also work instead of the tofu.

    I could also imagine going all-in on veggies, so bell peppers, tomatoes, cucumber, maybe some salad, all mixed together with a bit of vinegar and maybe caraway, and then you can losely mix that into the quinoa. Some chickpeas or beans would also work with that, in terms of protein.




  • Ah, damn. There’s folks out there who either like C or dislike Rust for whatever reason and they’ll always try to caveat what you say about this topic, so I made sure to only list facts. That’s why I got kind of angry when I thought you were still trying to caveat it, without spitting out whichever fact you thought was wrong. 🫠

    Any particular part you didn’t understand or just too much tech mumbo jumbo in general?