this post was submitted on 28 Jul 2024
3 points (100.0% liked)

Perchance - Create a Random Text Generator

449 readers
14 users here now

⚄︎ 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.

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 and ai-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.

founded 1 year ago
MODERATORS
 

This update forcing a refresh every 60 seconds is really annoying. I think perchance is incredible, but, ESPECIALLY on mobile it's beyond obnoxious. The ad takes up 1/6 of my screen on mobile, and when I'm typing with the keypad brought up, I have like zero space to actually see what's being typed. Any way to make this less intrusive?

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 3 months ago* (last edited 3 months ago) (2 children)
  1. Do you mean that it forces a refresh even when you're not blocking the ads?
  2. Do you mean that a recent update caused this? If so, when did it start happening? Which browser do you use, and do you have any browser extensions installed?

Any way to make this less intrusive?

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.

[–] [email protected] 1 points 3 months ago (1 children)

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.

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

yes it often refreshes the application even when we do not have an adblocker

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.

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

Can you explain this a bit more? Or try to get a screenshot next time it happens? I don't really understand

[–] [email protected] 1 points 3 months ago

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.

[–] [email protected] 1 points 3 months ago

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.

[–] [email protected] 1 points 3 months ago

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)

[–] [email protected] 2 points 3 months ago

I think being logged in turns those ads off when using AI?

[–] [email protected] 1 points 3 months ago (1 children)

I'm also having issues since the last update. I have deactivated my addblocker and the cookie manager of my browser, made exceptions for Perchance... But I am still not being served adds in the space dedicated to it and the Website acts as if I am actively blocking adds and keeps reloading the page on a timer, making using Perchance too annoying to bother with.

[–] [email protected] 1 points 3 months ago

Creating a Perchance account seems to have fixed the issue.