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

help-circle

  • Ephera@lemmy.mltoWikipedia@lemmy.worldGangue
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

    Apparently, this word got borrowed from French gangue, which borrowed it from German, where it’s called Gangart.

    I am German and after looking at the German translation, I was a bit surprised that they’re so similar. Well, that’s why. 🙃


  • Ephera@lemmy.mltoich_iel@feddit.orgich🐧🆚️🪟iel
    link
    fedilink
    Deutsch
    arrow-up
    1
    ·
    edit-2
    4 hours ago

    Snapper ist das Snapshot-Programm für btrfs aus der *SUSE-Ecke, also ja, gibt es durchaus. Snapshots könnten sich aber so langsam gerne mal als Standard durchsetzen, so dass man das Feature nicht mehr “irgendwo finden” muss, sondern das auch für Neueinsteiger einfach immer verfügbar ist.



  • Some notes from an experienced dev, which might not matter for a small project like that, but well, they help dealing with complexity:

    1. When building a project, the first larger goal should not be an MVP, but rather just a “vertical slice”. So, you would not start by building addition, subtraction, multiplication, division and then the UI, but rather you’d start by building only division and then a UI for that.
      Once all of that works together and you can actually perform a division from the UI, that’s when you can tackle addition, subtraction and multiplication. The benefit is that you don’t write a ton of code only to realize that you need to write it in a different way to make it work with the UI.
      Why specifically division? Because it’s the hardest. For example, you probably want to report an error when the user divides by zero. Therefore, you want some way of passing errors to the UI. If you started with addition, you might not have realized that.
      It should also be said that you don’t have to ignore that you’ll need to write three more calculation functions. It is a good idea to take them into consideration for how you structure your code, but you just don’t want to invest a ton of time into implementing them, when you don’t yet know that your architecture works.

    2. With a simple project like that, it’s possible to try to plan it out in full, but in larger projects, that’s rarely a good idea. You want to plan the next few steps and have a vague idea of where you want to end up, but you’ll typically gain a much better idea of what the following steps should be once you’ve completed the first few steps.
      In particular, your (or your customer’s) goals might change, or you might realize that you forgot a crucial step. Or, well, in reality it’s probably just lots of detail changes to your plans, because you just had no idea what it would really look like until you had that vertical slice in hand.


  • One thing to understand here is that it mostly depends on the “desktop environment”, which is basically the GUI of the system. (Imagine you could have the Windows XP GUI on a Windows 11 PC. Or the macOS GUI on a Windows 11 PC.)

    Distros intended for desktop use will typically come with a certain desktop environment by default, so to some degree, you can talk about the distro, but yeah, there’s just gonna be a strong correlation with their default desktop environment.

    To my knowledge, GNOME and (recent/Wayland versions of) KDE have good support. Most comments here imply these two desktop environments, so for example Ubuntu, Fedora and POP!_OS are typically GNOME, whereas Kubuntu and Nobara are typically KDE.

    Some folks here also mention Linux Mint and LMDE working well, which use the Cinnamon desktop environment, so I guess that works well, too. Cinnamon is somewhat based on GNOME.
    Well, and Elementary OS’s whole shtick is its Pantheon desktop environment, which is also based on GNOME.

    So, basically, as Elementary’s Pantheon is its own thing, there’s no guarantee that it’ll work, but I would not be surprised.
    As someone else already said, you can use a Linux Live USB to try it out before installing. You should be able to just follow along the installation instructions of Elementary OS and shortly before you actually install things, you should find yourself in Pantheon and can try it out.







  • Ephera@lemmy.mlto196@lemmy.blahaj.zoneRule ;)
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 day ago

    I mean, we did also end up in the timeline, where conserving the planet Earth is somehow the progressive stance, even though the Earth was kind of important in the past, too. So, I think it’s rather that these labels are nonsense, and conservatives just allude to a (fictional) past when it fits their preferred narrative.



  • I mean, it’s kind of the whole point of this article, to explore why they felt it was a good idea to try to create a programming language. Bashing other languages and coming up with reasons why none of the existing ones would do, is kind of the whole point. And they do self-reflect and admit that their reasons were ultimately not good enough from a purely objective point of view.


  • Yeah, I do have to remind myself every so often that even though I might feel uncomfortable with the way other departments work, they do get the job done and know their problem space better than I do, so chances are they’re using the right tool for the job. Or rather they’re in the right field, where their preferred way of working works well.



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

    Lifehack for cooking spaghetti in a tiny pot like that:

    1. Take however much you want to cook out of the package and hold it in one bundle in your hand.
    2. Set it down vertically in the middle of the pot.
    3. Now, let it go with the tiniest amount of spin. With a bit of practice and luck, it should fall outwards in all directions, forming a spiral of spaghetti.
    4. Once the spaghetti become soft, you can start pushing them inwards into the water much sooner, because they’re not at such a harsh angle to the wall of the pot.

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