Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CA
cass24 @lemmy.world
Posts 1
Comments 9
A woman brought her own snacks to Despicable Me 4. Then the police arrived
  • The police were called for trespass after the patron(s) refused to leave for violating the rules. There's a difference.

    Hanging around in the foyer to try and argue the point is not leaving.

    Obviously it was excessive, but they're still within their rights to have someone removed.

  • A woman brought her own snacks to Despicable Me 4. Then the police arrived
  • You can choose not to go to the cinema. The options here aren't "accept or disobey".

    You can entirely remove yourself from the situation, given the fact no-one is forcing you to go into their private premises.

    Unlike actual fascism in a country where escaping the government is, at best, uprooting your entire life. Or worst, illegal / risking your life / impossible.

  • A woman brought her own snacks to Despicable Me 4. Then the police arrived
  • If you have a private property and someone refuses to leave after being asked to leave, that is trespass and they may call the police for it.

    I personally think it's ridiculous to escalate this situation over food, of all things.

  • SentenceCase not recognizing accented letters

    Firstly, I apologise if this was already asked. I'm not familiar with this website and the search seems quite glitchy.

    Anyway, I'm trying to make a generator that will (amongst other things) create a basic Chinese 'name' in pinyin. Without tones is no issue. With tones, well, there's a problem.

    I can get all lowercase outputs just fine, and when the first letter is not accented, its also just fine. But if the first is accented, the output skips the accented letter and then capitalizes the SECOND letter.

    For example,

    >tè áobǎ

    Becomes this:

    >Tè áObǎ

    When I actually want this:

    >Tè Áobǎ

    I'm sure there is probably some fancy pants way to check if a letter is the first in the word and then substitute for the right letter, but, I am new to perchance, and my current searching hasn't yielded any results on how this could be done.

    Something like checking the first letter of the sentence case against a list of symbols, then using the substitute? (I'm not a coder, and I don't know how to do this!)

    my current code, barely worth even sharing: ```pinyin = {import:getpinyintones} output = [sentence]

    sentence [pinyin.sentenceCase] [pinyin.sentenceCase][pinyin] ```

    3
    Study Finds Consumers Are Actively Turned Off by Products That Use AI
  • The less technologically literate shout "AI is theft!"

    Conspiracy theorists whisper of "government surveils" and "brain hacking chips"...

    As a result, those who don't understand new technology become fearful of it.

    In itself, "AI" is a total buzzword.