• 0 Posts
  • 201 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle
  • AnyOldName3@lemmy.worldtoLemmy Shitpost@lemmy.worldGaysadilla
    link
    fedilink
    arrow-up
    14
    arrow-down
    2
    ·
    5 days ago

    Cultural appropriation is something like McDonald’s advertising a new Indian burger and it’s just a beefburger with some chillies in it, i.e. someone’s attempting to gain from a bastardised caracature of the culture that wouldn’t be something someone from that culture would participate in. Right wing pundits intentionally misrepresented it as things like eating a traditional dish from another culture to make it sound stupid so people would dismiss it, and then people who’d only heard the misrepresentation but wanted to do the right thing or at least appear to be doing the right thing started acting like it was immoral to participate in any culture you weren’t born into.


  • Premature optimisation often makes things slower rather than faster. E.g. if something’s written to have the theoretical optimal Big O complexity class, that might only break even around a million elements, and be significantly slower for a hundred elements where everything fits in L1 and the simplest implemention possible is fine. If you don’t know the kind of situations the implementation will be used in yet, you can’t know whether the optimisation is really an optimisation. If it’s only used a few times on a few elements, then it doesn’t matter either way, but if it’s used loads but only ever on a small dataset, it can make things much worse.

    Also, it’s common that the things that end up being slow in software are things the developer didn’t expect to be slow (otherwise they’d have been careful to avoid them). Premature optimisation will only ever affect the things a developer expects to be slow.



  • I think it’s possible that loot boxes (and real-world equivalents like trading cards) don’t violate existing anti-child-gambling laws, but if so, that’s a flaw in those laws that needs to be fixed rather than an indication that they’re totally fine and should be allowed to exist in their current form. They cost money and give an unpredictable reward where different options have different perceived value, so they’re quite clearly gambling to anyone who defines it based on its characteristics rather than an individual territory’s specific legalese.


  • They stock things they make more profit on. If the margins on sugar water are much higher, then they don’t need to sell as much to make it worth stocking it instead of juice. If the margins are higher because consumers are unaware they’re being sold a cheaper-to-manufacture product for the same price because the packaging is deceptive to anyone who hasn’t been told they have to look or is in too much of a rush to have time to look, then shops end up full of sugar water that few consumers actually want.





  • AnyOldName3@lemmy.worldtoProgrammer Humor@programming.devTOML
    link
    fedilink
    arrow-up
    49
    arrow-down
    2
    ·
    25 days ago

    TOML’s design is based on the idea that INI was a good format. This was always going to cause problems, as INI was never good, and never a format. In reality, it was hundreds of different formats people decided to use the same file extension for, all with their own incompatible quirks and rarely any ability to identify which variant you were using and therefore which quirks would need to be worked around.

    The changes in the third panel were inevitable, as people have data with nested structure that they’re going to want to represent, and without significant whitespace, TOML was always going to need some kind of character to delimit nesting.


  • I reckon it depends on how warm someone’s home is and how good their circulation is. If I don’t have shoes on indoors, then for half the year it feels like my feet have been stabbed because they get so cold (slippers are not enough), but I don’t wear the same shoes indoors as outdoors. I suspect that if we set the heating higher and the house wasn’t constructed in a way that makes the floor always much colder than a few inches above the floor, this wouldn’t be a problem.











  • OED:

    1. totally or partially resistant to a particular infectious disease or pathogen.
    2. protected or exempt, especially from an obligation or the effects of something.

    Merriam Webster

    1. : not susceptible or responsive

      especially: having a high degree of resistance to a disease

    2. a: produced by, involved in, or concerned with immunity or an immune response

      b: having or producing antibodies or lymphocytes capable of reacting with a specific antigen

    3. a: marked by protection

      b: free, exempt

    So unless you pretend that MW’s 2b sense is the only valid one, the immunity is immunity.

    If you have a sample of HIV at 37°C in blood, but with all the immune cells removed, it’ll still all become inert after around a week simply due to chemical reactions with other components of blood etc… It’s pretty comparable to a population of animals - if you take away their ability to reproduce, they’ll die of old age when left for long enough even if you’re not actively killing them.

    Edit: fat-fingered the save button while previewing the formatting