perchance

joined 1 year ago
MODERATOR OF
 

Note that the 'auto' checkbox doesn't actually clear variables - it just fully re-executes all the square/curly blocks in the HTML. So if you're doing stuff where your code needs variables to be "cleared"/fresh before the first generation, then you'll have noticed that you actually need to click the 'reload' button (or refresh the whole browser tab) to get your generator back to a completely "fresh" state. But, as the annoying message would inform you, clicking the reload button required saving your generator first. That's not required any more. I should have fixed this about 6 years ago. Took about 15 mins ๐Ÿ˜

 

New plugin: https://perchance.org/upload-plugin

This plugin is like https://perchance.org/upload except in 'programmatic' form. So you can allow users to e.g. upload their generated text with a button click, and get the resulting URL to share with their friend.

It does not require the user to be logged in, but as a result, the daily allowances (based on IP address) and max file sizes are significantly smaller than with perchance.org/upload - see plugin page for details.

As an example of what you can do with it: I just used it to add a feature to https://perchance.org/ai-chat where you can easily share the AI character that you've made via a link.

[โ€“] perchance@lemmy.world 1 points 1 year ago (1 children)

Depends on how big the attack is I think - inbound connection handling is not free, even if you're just rejecting

[โ€“] perchance@lemmy.world 4 points 1 year ago (3 children)

I think Ryan is referring to the usual requirement that the server's IP address is changed if switching to a CDN to avoid DDoS, since otherwise the attackers can usually just bypass the CDN by sending requests to the original IP of the server.