cass24

joined 3 months ago
[–] cass24 1 points 3 months ago

sksksk something so simple-- Thank you so much! It is working as intended now. ♥

[–] cass24 1 points 3 months ago

We have a local cinema that offers bookings for events here, too. There's a lot of behind the scenes jank to get through that many people don't even bother.

[–] cass24 1 points 3 months ago (1 children)

$5 movies? Where is this, I'll be there right away. (most of the cinemas in my country start at like $10 USD per ticket...)

[–] cass24 3 points 3 months ago

It's like this in Australia, too. Sometimes cinemas here have a couple of arcade machines off to the side in the foyer, but that's about it.

[–] cass24 2 points 3 months ago* (last edited 3 months ago) (1 children)

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.

[–] cass24 3 points 3 months ago (1 children)

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.

[–] cass24 9 points 3 months ago

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.

[–] cass24 1 points 3 months ago* (last edited 3 months ago)

Suggesting theaters are going to check people for a full stomach before entry is absurd stuff that should probably stay in the bounds of black mirror-esque science-fiction works.

1
submitted 3 months ago* (last edited 3 months ago) by cass24 to c/perchance
 

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:

output = [sentence]

sentence
  [pinyin.sentenceCase] [pinyin.sentenceCase][pinyin]
[–] cass24 -1 points 3 months ago* (last edited 3 months ago)

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.