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

help-circle






  • Ephera@lemmy.mltoScience Memes@mander.xyzHonestly Bizarre
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Excuse me, it’s smoothies that are an abomination, if anything.

    You’ve got beautiful fruit where each bite tastes and feels different, which have long fibers with structural integrity to prevent your stomach from ingesting the sugar all at once, and then you decide:
    Nah, I’d rather have fruit soup, where the whole thing just has a singular monotonous taste. And where there’s nothing to chew. Just sign me up for the retirement home now.


  • Ephera@lemmy.mltoScience Memes@mander.xyzHonestly Bizarre
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    I believe, it’s a US thing. This is a quote from the official Dietary Guidelines for Americans (DGA):

    Other Vegetables: All other fresh, frozen, and canned vegetables, cooked or raw: for example, asparagus, avocado, bamboo shoots, beets, bitter melon, Brussels sprouts, cabbage (green, red, napa, savoy), cactus pads (nopales), cauliflower, celery, chayote (mirliton), cucumber, eggplant, green beans, kohlrabi, luffa, mushrooms, okra, onions, radish, rutabaga, seaweed, snow peas, summer squash, tomatillos, and turnips.

    Source: https://www.dietaryguidelines.gov/sites/default/files/2021-03/Dietary_Guidelines_for_Americans-2020-2025.pdf (page 28)

    I’ve read elsewhere that the reason for the DGA to conflate them, is because mushrooms have comparable nutrients to vegetables. So, from a dietary and regulatory viewpoint, it makes some amount of sense. But yeah, I feel like you could have just had a category “vegetables & mushrooms”.


  • There’s no way they actually checked that it works. It includes code for:

    • XDG
    • GNOME
    • “GNOME_old”
    • KDE

    Verifying this would mean logging into several different desktop environments.

    It’s also extremely fragile code, running external commands and filtering through various files. There just is no good API on Linux for querying whether the desktop environment is using a dark theme, so it’s doing absolutely inane shit that no sane developer would type out.

    Because it’s a maintenance nightmare. Because they almost certainly don’t actually need to solve this. That’s software development 101, to not write code that you don’t actually need. But apparently some devs never got the memo that this is because of the maintenance cost, not because you weren’t able to generate the code up until now.






  • For me, it helped expand my cosmos by leaving things out and looking for alternatives.
    Like, I found out about a world of legumes by going vegan. And earlier this year, I stopped eating wheat for health reasons, and only then started to appreciate the existence of millet, quinoa, amaranth, buckwheat etc…

    I am probably still within the range of “usual” foods, all things considered, but at least I’m breaking out of a tiny subset of those…


  • Yeah, I’m not saying that the term is well-defined or that some usages of the word don’t typically refer to classical algorithms after all.

    And yes, obviously even the currently trending meaning of what “AI” might mean, i.e. generative AI, still involves lots of algorithms, for training, for executing the model, and tons of auxilliary scripts that ideally take over all tasks as soon as the statistical model has decided what to do.

    And yes, maybe non-techies really just don’t care. My post wasn’t supposed to be snide commentary on that. It was more just an “oh fuck, there’s folks that hand out bags of money solely based on whether a program uses a butthole as a logo and says that it’s thinking for its loading times”.





  • A rebase rewrites the history of your branch, so that it’s as if you just branched off and then coded all your changes in one sitting.

    It will go through each of your commits and try to apply them one after another. If something changed on the base branch that conflicts with your changes, it will prompt you to adjust your commit. You adjust it so that looks as if you just coded it on top of the base branch.

    When you have lots of commits on your branch, this can mean that while you’re rebasing, you have to then also change your following commits which happened to touch the same lines as a previous commit. This can mean additional, stupid work.

    As such, a workflow using rebases (“trunk-based workflow”) works best, if you can rebase often and merge back early. You won’t get merge conflicts when merging back, nor merge commits, because you resolved these while rebasing.

    In particular in smaller teams where you have tight-knit communication, this workflow is absolutely stellar. It completely bypasses so many pain points that folks have with Git.
    Merge conflicts are significantly reduced when you merge often and a trunk-based workflow removes the ceremony that typically prevents teams from doing just that.