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?

  • perchance@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 months ago
    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.

    • kljafgg9r0@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 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)

    • Cocell@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      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.

      • perchance@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 months ago

        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

        • Cocell@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 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.

        • Cocell@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          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.