BluePower

joined 9 months ago
MODERATOR OF
[–] BluePower 2 points 2 weeks 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 2 weeks ago* (last edited 2 weeks 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 2 weeks ago* (last edited 2 weeks 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 1 month ago* (last edited 1 month 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 1 month 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 1 month ago

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

[–] BluePower 2 points 1 month ago* (last edited 1 month ago)

It's text2image since the framework was originally used to create customizable text-to-image generators I think.

[–] BluePower 2 points 1 month ago

Thanks! I appreciate it! 😃

I'm going to do a few more updates and release a few more things before heading to the "revival" plan and eventually the big Generator Manager update.

[–] BluePower 1 points 1 month ago

Nice! I didn't know this was a problem with the engine, not just the template.

[–] BluePower 1 points 1 month ago

Oh, nice to know! In image contests in Casual Perchance you put your image submission like this in the comments of the contest's post.

[–] BluePower 1 points 1 month ago

There isn't much changed from the outlooks, but if you look closely there is only one "Start Learning" button below the example code section, there is no video tutorial section, there is no instruction on how to embed a generator (which I guess is still not a thing at that time) and there is even no "try this example" button that redirects to this example that was also linked in the old page somewhere nearby.

 

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 3 months ago* (last edited 3 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 5 months ago* (last edited 4 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.

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

Time for another trailer about the big Generator Manager 2.0.20.1 update! I have just started planning and getting to work on building the changes for the big update very soon, from the latest Preview update, and I hope that this goes well enough so that I could finish it in basically a few days from now. But there are three more off-Preview changes I want to mention here: new backgrounds and accent colors (of course), new sidebar items, and finally, the introduction of dark mode for the very first time ever!

And there's just so many more coming out for the huge update...

 

Since the new backups feature was released, which adds an ability to create restore points of generators in a case I accidentally closed a tab while the generator isn't saved yet. But I sometimes work on updating generators through a logged-out session or, when creating a new generator (hitting the new button in the navigation bar and it opens up the minimal template), which is in an unowned generators session (only save and account buttons in the top-right).

And so, I'd need that feature to work on these kinds of environments, so I don't ever have to worry losing all the work there, especially when creating new generators.

 

This is a pretty interesting topic to talk about. Whenever I feel want to bring a generator to the top of the generators page, hoping for a few people to click on them through the page, I always feel like the only way is to save the generator and made some tiny changes if possible. But, what if I don't want to actually change any of the content in a generator, and still be able to save it?

Well, I know there's now a system where if you edit a generator and then undo/edit it back to its exact original/saved state (basically reverting it) Perchance will auto-detect that and the save button will go back to the saved state. This is a great feature honestly, but it's still possible to do the trick but the generator's content needs to be different from the original state, at least a character off. For example, adding an unobtrusive space around the lists code, or moving the list items up or down (Ctrl+Shift+Up/Ctrl+Shift+Down) and then saving right away.

But what do you think about this?

view more: ‹ prev next ›