BluePower

joined 1 year ago
MODERATOR OF
[–] BluePower 1 points 6 months ago* (last edited 6 months ago) (4 children)

Same with some of my generators/plugins too, even my generator hub page has a blank thumbnail. (Here's a link for testing)

[–] BluePower 2 points 6 months ago* (last edited 6 months ago) (1 children)

Here's my solution so far - create a variable that'll hold the generated types in and then change the code of the sentence list to never use any of these already-generated types:

// Create a new "takenTypes" array variable to store the already generated types
takenTypes = [[]]

sentence
  [takenTypes = [], ""]You find yourself in {a} [d=description.selectOne] [b=biome.selectOne].<br> As the area is [d.singularForm.lowerCase], [td = typesdescription.selectOne, uniqueReturn(td)] type 'mons are rather prolific. That is in addition to the [removeDups(others[b]).selectUnique(2).map(x => uniqueReturn(x)).join(" and ")] types that live in the [b] already. <br>Oddly enough, there also seem to be some [s=removeDups(stragglers).selectOne, uniqueReturn(s)] type 'mons in the area as well.

// Returns a new list that does not contain the entries already shown in the output
removeDups(list) => return list.selectAll.filter(x => !takenTypes.includes(x));
// Adds the entry into the "takenTypes" variable so they never show up again in the same output
uniqueReturn(i) => takenTypes.push(i); return i;
[–] BluePower 2 points 6 months ago* (last edited 6 months ago)

The Coalescing Lights of the Crystaboard Realm

"When every single path of success and decision has been accomplished together, the lights of Crystaboard will coalesce and unite together, creating a strong and immeasurable bond that powers the light for the spirited realm."

DetailsGenerated with: txt2image-generator

[–] BluePower 2 points 6 months ago* (last edited 6 months ago) (1 children)

Well, personally I have never really been using generated images commercially or on a few of the popular social medias outside of image contests on the sister community and other things, but Stable Diffusion (that powers Perchance's text to image plugin) has a kind of policy that explains how you should post (or redistribute) generated images online at Section III:

https://github.com/Stability-AI/stablediffusion/blob/main/LICENSE-MODEL

(Here's a comment from a related thread on the sister Casual Perchance community)

[–] BluePower 2 points 6 months ago* (last edited 6 months ago) (1 children)

Can you give a more detailed explanation (and what you have tried so far)? You can message me if you don't want to post it in this thread.

[–] BluePower 2 points 6 months ago

Just some context, this error seems to only happen if you put that style snippet into the list panel, not the HTML panel (I know you might have found the solution already).

[–] BluePower 2 points 6 months ago (4 children)

You can put it anywhere in the HTML panel and it'll work fine, but I do recommend putting it at the bottom of the code like so:

[–] BluePower 2 points 6 months ago* (last edited 6 months ago)

How about "Light Art" - anything that can be possibly made out of light (e.g., a glowing neon globe that is supposedly purely made of light.).

[–] BluePower 2 points 6 months ago* (last edited 6 months ago) (8 children)

Found an easy temporary solution for this; try adding this into the HTML panel and see if there's any effect:

<style>
  .goto-plugin {display: inline-block}
</style>

Anyways, time for a bug report @[email protected]: It seems like the text is cut off when the font plugin is combined with the goto plugin in some devices due to force-inline styling by the latter.

[–] BluePower 1 points 6 months ago* (last edited 6 months ago)

Turns out this also happens in one of my oldest generators, Power Hangman, and not just in the Generator Manager. Someone in the comments of that page reported this quite recently, so I just fixed that generator to use the var i solution instead of let i. I should probably create a post on the Perchance community about this so everyone can have a catch.

In short, multiple let declarations on the script tag in the HTML would now cause an error in the generator. I haven't encountered these errors before, so if you happen to experience that same error as well, let me know!

[–] BluePower 1 points 7 months ago

Try fully reloading the generator by clicking on the "reload" button at the bottom-right corner to temporarily fix the problem. I'll ping @[email protected] so they can have a heads-up on this one.

[–] BluePower 1 points 7 months ago

Mention the server like this: @perchance @lemmy.world (remove the spaces in-between so it would be an actual ping).

4
submitted 7 months ago* (last edited 7 months ago) by BluePower to c/[email protected]
 

Yes, that's right. I found a very old version of the Perchance welcome page dated back on August 12, 2018. It was very basic, and Perchance was even still considered in beta at that time. When you look at the source, though, it might be a little modified, but the overall structure of the page is still intact.

6
submitted 7 months ago* (last edited 7 months ago) by BluePower to c/[email protected]
 

Quick bug report, when I was playing with the testing panel, I tried to get to the very bottom of the long word list output by pressing Shift+Down on the output container, which pushes the entire container down that causes the input section to be cropped and really hard to get back in. The only ways to temporarily fix this issue is to press Shift+Tab while selecting the green output text thing, or just select the input box manually and type something on it.

Here's a short video demonstration on how I was able to catch the bug:

Link to video above

 

Haven't posted anything on the community for a while. Just popped this question on mind several days ago whilst considering to upload wallpapers from my generator hub page into the upload page to avoid something like this.

I've been wondering what's the biggest file size you've ever uploaded to the Perchance Upload page in your experience (and is the maximum file size/daily allowance really depends on how long the user has standing on the site)?

 

I recently made a new Mastodon post describing about my current recovery state and what I've been going through right now. Posting this on Lemmy as well for better reach.

 

I'm briefly back again! 😃 I want to post this to highlight some sort of event happening with my generator hub page, as well as how I was able to fix it.

So, pretty recently, my Generator Manager was suddenly entirely broken for a few days. The DevTools console threw these errors, and I was confused for a moment thinking it was me constantly editing the list code that it breaks the entire functionality of the generator hub page.

That is, until I recently quickly hatched a simple solution to fix it before going to update the generator statistics for this week. I replaced the use of let i to var i in some of the code of the HTML panel, and it worked fine again! (I've just learned the difference between them btw)

The reason it was left broken and wasn't fixed immediately is that I just haven't had time to fix it due to, as usual, the post-recovery business. (Although I might plan to go back to Perchance slowly and regenerate my spirits to release some new projects and stuff here on this community! 😄)

 

Another time to say, "long time not posting on this community", but here we go!

There is one question I've wanting to ask about the recent update about the dark mode on the main/official Perchance pages: is there a way to disable them only for the pages (i.e. keep the pages in light mode without having to turn off the dark mode completely)? Most of the time my eyes just don't get comfortable enough reading the text in the dark mode.

I'd also suggest putting a button to toggle the dark mode on/off just like we have on the Hub on these pages.

3
Silly Error (sh.itjust.works)
submitted 9 months ago* (last edited 9 months ago) by BluePower to c/[email protected]
 

Jokes aside, when I was playing with the markov name generator plugin example, I've discovered another way to throw custom errors, this way through a custom message that would appear as a "syntax error".

There's also a way to throw more customizable errors shown on this post: https://lemmy.world/post/17746310

Oh, and here are more of these custom errors but in different appearances:

 

I made a "mini name generator" section in my view counter experiment page several days ago, displaying generated names consisting of mixed sets of words and names using the beautiful markov name generator plugin and I've been liking the results so far.

Also, could be some sort of teaser for the future name forms in my name generator in a future update! 😉

 

So in https://perchance.org/ai-text-to-image-generator (and other t2i-based image generators) you could choose an art style and then a few dropdowns come below the prompt description textbox allowing you to choose any additional effects (or built-in modifiers, I should say) to be added to the prompt.

Well, I've found a bug on these. When I choose one that has a dropdown menu (for example, "Professional Photo"), the dropdowns did come out, but when I reload the page, the option I chose earlier retained, however the dropdowns did not come out as if the default option was selected.

I also tested if this bug happened on other t2i-based AI image generators too, such as https://perchance.org/furry-ai and https://perchance.org/ai-image-lab, and it also did the same, so this is most likely a bug within the t2i framework.

 

Haven't been posting in this community for a while, but I'm here just to share a tip (I think there hasn't been anybody asking for this here yet) that someone on Discord has suggested on. This only works on computers with developer tools though, and I think you could do this in Firefox too.

Here's how to do it:

  1. In https://perchance.org/upload, open DevTools Console (Ctrl+Shift+I > Console tab) and then select "embed" in the dropdown at the top of the console:

  1. And then type in localStorage.previouslyUploadedFiles. It'll then give you a JSON of the upload list that you can copy the given string provided to a text file and transfer it to another computer you'd want to access the uploads for.

  1. Right click and select "Copy string contents" ("Copy Message" in Firefox). Then, paste it into a text file somewhere that you can transfer through a media like a USB to be transferred into the other computer.

  2. In another computer, repeat the first two steps above, and then write this:

localStorage.previouslyUploadedFiles = [upload list content from the text file]
  1. Replace the [upload list content from the text file] part with the contents from the text file you've just transferred, and then hit Enter. This will magically set the upload list to the one you have in your primary computer.

And that's it! The upload list isn't synced though, but at least could be useful for keeping stuff in. Feel free to add something missing here if you like! 😊

4
Latest BluePower news (self.casual_perchance)
submitted 10 months ago* (last edited 10 months ago) by BluePower to c/[email protected]
 

So I've been inactive for a full week, but at least I'm back here for now! There are some serious things I want to talk about just to keep your eyes out on the generator updating journey, especially with the ongoing huge 2.0.20.1 Generator Manager update development.

Last week I've just experienced one of the most devastating events of my entire journey with my personal device I usually use to work on the managing and updating generators and also off-Perchance side projects. A big incident happened where my personal device somehow got blue-screened for a while and then after turning it back on, after a while, it just bricked up and stopped working while I was working on the Preview update (coincidentally with the mass worldwide Windows outage that happened at the time) and had to be repaired for several days. I wasn't able to do much other than constantly checking and updating the generator hub page on mobile during that time.

Sadly, all the data inside was lost for good, and was pretty much unrecoverable, including all the off-Perchance side projects that I've been working for many days on. I then became disappointed and demotivated for a while knowing all the data on the old hard drive on the device was lost due to the event.

That's when I decided to spend most of my time with the repaired device to restore and rebuild everything to a state used to be before it was lost, even though it'll not be exactly 100%. And that's where I'm going to spend most of the time doing that, going onto the big recovery business, using most of my mind on rebuilding all the side projects I've ever spent my time on and doing other important stuff for a couple weeks.

Luckily enough, I've already backed up my unfinished Generator Manager update code, so I don't have to struggle re-writing each of the lines ever again! I've also backed up some of the raw files for the generator trailers, so I don't have to create the trailers from scratch. But once everything's back to normal again, I can finally spend more time exploring some good stuff on Perchance and continue working on the huge 2.0.20.1 update (I'll be posting a new trailer once I'm ready for that).

But don't worry, I'll not going to fully go out of Perchance, I'll still be revisiting the site whenever I wanted to. And see the moments my generator hub page reaching 30.0k views and congratulating it, speaking of which, I'll be planning something else for the milestone... (here's a progress bar for now!)

So that's all I have to say! I hope this goes well and quick enough that I can start working on the Preview update again in no time. 😌

Bonus question: Has everything changed on Perchance recently during my full-week break? I've wanted to check actually, but I was too lazy to do it because of the business.

 

So I've just been working for the huge update for the Generator Manager since a couple days and I wanted to share one thing I've been working on in the middle of the making, that is the new error handling method on the generator hub page. Instead of just throwing the error onto the DevTools Console, it also throws the error into the Perchance error box inside the generator hub page, so it is much more convenient to see what's wrong with that feature in case I'm changing on something. And that is a custom Perchance error I just created.

This is accomplised using __perchanceError(), and I understand this is likely a "private" function or something that isn't guaranteed to be "backwards compatible" for long (as I understand that), but I wonder if this function was available for wide use and documented somewhere in the advanced tutorial, it'd be very good for someone to learn about. You can also put HTML into the custom error text to add some neat formatting to it.

This will be limited to the handling of generator cards and the recently updated section for now but in future updates these will be expanded to pretty much every single feature on the generator hub page.

view more: ‹ prev next ›