Search
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] ```
Anyone know? T>T
I have 100+ characters i actively use on perchance but i never made a account. So, if i make a account now will all my characters stay? or will they be deleted? T>T i have no clue so i turned to the community for help :') plz help-
Filtering list by initial letter results in selectOne errors
Hi all! Total Perchance newbie here, so I sincerely apologize if this is obvious/already been answered. Been having fun tinkering with it, but got this weird bug...
I've got a bit of a scuffed loop set up to select a word for each letter input by the user. However, the output of filterList() isn't happy with my using selectOne
on it, producing an extra two undefined
s for some strange reason. I don't know if it's maybe related to the way I'm filtering the list or some other bug? Anyone know why this is happening/a better way to do it?
Thanks for all y'all's help!
Problems with saving and loading generators on Perchance
![](https://sh.itjust.works/pictrs/image/832d6ad9-c94b-429b-8e8b-3d571a25e45c.webp?format=webp&thumbnail=128)
![](https://sh.itjust.works/pictrs/image/832d6ad9-c94b-429b-8e8b-3d571a25e45c.webp?format=webp)
Update on the issue (and the solution)
It seems like a possible solution (at least to me) is to probably avoid having a generator tab open with so many comment frames at once, as they're constantly filling up the whole TCP connection with requests for listening for new comments every time, which is what's causing the "stalled" problem every time I load and save generators.
See this comment for a reference.
Update 1: Now I've just sort of reproduced this by opening the Comments Plugin tab while one of my generators is saving, and then after the tab is being open and then closed, the saving process just stalled out of nowhere.
---
Recently I was hit by the problem where the saving process just stuck in the background, and when I checked the DevTools Network, there's a lot of stalled connections when fetching a few resources required for the generator page to fully load. The stall eventually ends for a short time (1-30 min), but sometimes even longer (30-60 minutes), and even after that, it's either still hangs on "saving" whatsoever, or it rolls back to the perviously "unsaved" state.
I also got the problem with loading generators too, where it hangs very frequently now, for the same reason, except that I sometimes get an ERR_QUIC_PROTOCOL_ERROR
from the console whenever the generator fails to load after the stalled connections.
Is this maybe just because of the internet connection, my browser, or probably the "cache-busting" issue in the end? I tried logging into my other browser (Firefox) and saving the same generator and found no issues. It also loads generators perfectly fine.
Add an option to delete accounts
No, i wont be leaving. there is a blank account on my main email which i want to delete to allow me to move my main account to the main email.