Perchance - Create a Random Text Generator
⚄︎ Perchance
This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.
Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)
This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.
See this post for the Complete Guide to Posting Here on the Community!
Rules
1. Please follow the Lemmy.World instance rules.
- The full rules are posted here: (https://legal.lemmy.world/)
- User Rules: (https://legal.lemmy.world/fair-use/)
2. Be kind and friendly.
- Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)
3. Be thankful to those who try to help you.
- If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)
4. Only post about stuff related to perchance.
- Please only post about perchance related stuff like generators on it, bugs, and the site.
5. Refrain from requesting Prompts for the AI Tools.
- We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (
text-to-image-plugin
andai-text-plugin
) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?" - See Perchance AI FAQ for FAQ about the AI tools.
- You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
- We will still be helping/answering questions about the plugins as long as it is related to building generators with them.
6. Search through the Community Before Posting.
- Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.
view the rest of the comments
The main way to make the ad smaller is for me to do more work optimizing the AI model inference/server code so they don't cost so much, but each time I do that I have a habit of upgrading the model to a more powerful one (or allowing more concurrent requests) and keeping the ad the same size to be able to fund it 🤷
btw there is a fullscreen button on /ai-chat if that's the generator you're talking about here. If you're talking about a specific generator you should specify that in your post, since perchance is a platform for making generators - there are many pages, and each one has its own interface.
I think I now know your gender. :D
As for ads, yes it often refreshes the application even when we do not have an adblocker. Due to the recent protest in my country, I think it could be due to; a slow network, or a restriction. My country have restricted access to many websites, and I think it could contribute to why the application cannot display ads, I still lean towards the slow network scenario.
Also, I think you should use also use the
dvh
unit for as well, since in mobile, there is an issue where the application does not account for browser specific UI. I could show you some screenshots, but I don't have any. :\And to avoid confusion, this is how I use the
dvh
unit.Does this happen when ads are shown, or have been shown? Or only when there haven't been any ads shown since the page was loaded? And if you then refresh the page, do ads sometimes show up, or do ads never show up? Does it depend on any factors that you can deduce - e.g. using mobile vs wifi, or different device, etc.? Any clues here would be helpful, because I'd really not like these issues to affect people who are earnestly trying to help fund the AI models, but ads just aren't available for whatever reason. Seems like quite a few people have this issue - maybe related to geography in part.
Can you explain this a bit more? Or try to get a screenshot next time it happens? I don't really understand
The CSS
dvh
unit stands for "Dynamic Viewport Height." It represents a portion of the height of the viewport, which can adjust dynamically as the viewport changes size, such as when a user groups tabs together in mobile, or resizes the window. It will take those elements into accounts as well when changing size.Since the browser support is not solid, many people declare it after declaring a normal
height: 100vh
rule. You can understand it greatly via this short video.About the ads, I will need a little time, I will experiment with it and see what I can find. For now, I know that almost every user with an unstable network is affected by this.
Also, I was creating a script to interact with Perchance via the NPM Puppeteer module. But whenever Perchance was loaded, all the UIs were gone, or at least supposed to be gone. I wanted to learn a bit about this.
The only problem it gave was that it was hard to login to my account via Puppeteer. The core reason I am using Puppeteer is so that I can push updates directly from my terminal. What do you think about that? There certainly are applications that can connect to a GitHub.
After looking into it a bit, it seems it only happens if there are network disturbance, which would prevent the ad from being displayed and which is interpreted as an ad blocker preventing the ad from being displayed.
For the AI chat generator-it only refreshes when I have an adblocker enabled-but this only appeared this week, I never had this occur before. Perhaps that's why it's so jarring. I mean I honstly don't know, your product is great and I understand you can't do this on your own dime. It's just annoying particularly on mobile, it seems to interfere with typing a bit too (maybe that's because my chat got too long)