• 2 Posts
  • 914 Comments
Joined 2 years ago
cake
Cake day: September 2nd, 2023

help-circle

  • You used macro_rules, which is not common at all. Most rust files don’t contain any macro definition.

    This code doesn’t even compile. There is a random function definition, and then there are loose statements not inside any code block.

    The loop is also annotated, which is not common at all, and when loops are annotated it’s a blessing for readability. Additionally, the loop (+annotation) is indented for some reason.

    And the loop doesn’t contain any codeblock. Just an opening bracket.

    Also, the function definition contains a lifetime annotation. While they are not uncommon, I wouldn’t say the average rust function contains them. Of course their frequency changes a lot depending on context, but in my experience most functions I write/read don’t have lifetime annotations at all.

    Yes, what you wrote somewhat resembles rust. But it is in no way average rust code.




  • One of the techniques I’ve seen it’s like a “password”. So for example if you write a lot the phrase “aunt bridge sold the orangutan potatoes” and then a bunch of nonsense after that, then you’re likely the only source of that phrase. So it learns that after that phrase, it has to write nonsense.

    I don’t see how this would be very useful, since then it wouldn’t say the phrase in the first place, so the poison wouldn’t be triggered.

    EDIT: maybe it could be like a building process. You have to also put “aunt bridge” together many times, then “bridge sold” and so on, so every time it writes “aunt”, it has a chance to fall into the next trap, untill it reaches absolute nonsense.





  • Theoretically speaking. They should’ve just raised your rates. Since your house is at higher risk than they thought. But should offer a rate decrease if you maintain your surrounding trees.

    Unless that information doesn’t change how risky they think your house is, therefore theoretically “correct” thing to do is what they did, nothing.

    They are insurance companies. They basically bet that you’ll be lucky. They don’t want to lower the risk. Paying insurance companies is what you do when you want to lower the risk, and that would cut into their margins.

    And yes, there are insurance companies for insurance companies.





  • calcopiritus@lemmy.worldtoMemes@sopuli.xyzwhy
    link
    fedilink
    arrow-up
    1
    ·
    18 days ago

    I don’t know what dialect you speak where “Mano” is masculine. In Spain it is feminine, and I’ve never heard anyone say “el mano”. I’ve also never heard anyone say “el manita”.

    I don’t think “ser” and “estar” being different verbs is at all wrong with spanish. They are very clearly different concepts.

    You can be something because it is part of you “I am tall” or you can be something situationally “I am at the library”. What is weird to me is that English uses the same verb for those clearly different concepts.








  • My comment explicitly avoids the “standard” problem.

    A user could have many "theming system"s installed at once, while only having 1 DE. The user ideally would configure only one, and some program should try to translate that system into the other ones.

    Then each app will fetch the list of theming systems the user has installed, and choose whichever the app prefers. And if there’s no match, fall back to a default hard coded theme.