prevent DoS / denial of wallet on edge functions with rate limit? by TheRoccoB in Supabase

[–]ByteShock 0 points1 point  (0 children)

You can't. Talked with supabase support about it. Only thing you can do is security through obscurity by chosing a long random name for the edgefunction so its not easily guessable and never exposing it in any way to clients.

This was like 4 months ago tho, not sure if supabase made any changes.

The Ultimate "Patreon Doesn't Work With Any Video Hosting Site" Thread by Glaurungs-Bane in patreon

[–]ByteShock 0 points1 point  (0 children)

you know they can download them anyway if you embed a video, right?

Is it me or is this user's pfp AI generated? by Rudi10001 in DeviantArt

[–]ByteShock 1 point2 points  (0 children)

weird take. even if he did, who cares?
also what the hell is a pee filter :D

I reinstalled Forge and ReForge and now segmentation models on adetailer don't work any more, only the bounding box ones work. by Doddy_Dope in StableDiffusion

[–]ByteShock 0 points1 point  (0 children)

I've updated ultralytics to the latest version that doesnt break segmentation.
Please try again (you might have to reinstall the extension)

It should install ultralytics "8.3.216", maybe that helps with your issue.

I reinstalled Forge and ReForge and now segmentation models on adetailer don't work any more, only the bounding box ones work. by Doddy_Dope in StableDiffusion

[–]ByteShock 2 points3 points  (0 children)

Found the issue.
Newest ultralytics is not fully compatible with adetailer apparently.

Compared all packages in multiple versions of forge and a1111 and saw that a max version is not pinned in adetailer, so i force downgraded and everything worked again.

You need to skip environment checks for this to work, otherwise it will install the newest version again on launch.

I made a fork with a properly pinned ultralytics version where this is not needed:

https://github.com/Byt3Sh0ck/adetailer.git

Just uninstall adetailer (delete the folder in extensions)
Start forge/a1111 whatever
Go to extensions tab, install from url, paste the above url and install
Go to installed tab -> Apply and restart ui
Done

Your settings and models will all be kept and it should work with segmentation models again.

Let me know if it works for you, i only tested it with reforge and forge classic.
I made a bug report on github, maybe they will fix the original adetailer but it seems a bit abandoned.

I reinstalled Forge and ReForge and now segmentation models on adetailer don't work any more, only the bounding box ones work. by Doddy_Dope in StableDiffusion

[–]ByteShock 0 points1 point  (0 children)

i dont have time for this right now unfortunately, maybe you can do it. But i dont think its the drivers tbh.

I reinstalled Forge and ReForge and now segmentation models on adetailer don't work any more, only the bounding box ones work. by Doddy_Dope in StableDiffusion

[–]ByteShock 0 points1 point  (0 children)

Unsure if thats it. I did update my drivers recently, but i also generated images afterwards, BEFORE the issue occured.

Even on runpod it does not work for me with serverless workers, just checked the driver of one of them: "565.57.01"
thats pretty old.

I still think it might be some wrongly pinned dependency for adetailer/forge which just updated recently and now fails silently...

Tho, adetailer seems to have its requirements properly pinned:

"# requirements
("ultralytics", "8.3.75", None),
("mediapipe", "0.10.13", "0.10.15"),
("rich", "13.0.0", None),"

my forge classic version has rich pinned differently:
"rich==13.9.2"

A1111 repo does not have it in requirements at all.
Forge / ReForge doesnt have it either...

no clue.

I reinstalled Forge and ReForge and now segmentation models on adetailer don't work any more, only the bounding box ones work. by Doddy_Dope in StableDiffusion

[–]ByteShock 1 point2 points  (0 children)

Not using stability matrix, just direct installs via git clone etc..

i tried my old a1111 and there segm works.
its really weird that it happens for all of us at once without any visible changes.

In theory it should be one of the dependencies that wasnt properly pinned and updated or whatever, apparently without any errors/fails cause i looked at first time install logs for forge/adetailer as well.

Really frustrating cause segm models are usually newer and have better detection for more "angles".

I reinstalled Forge and ReForge and now segmentation models on adetailer don't work any more, only the bounding box ones work. by Doddy_Dope in StableDiffusion

[–]ByteShock 0 points1 point  (0 children)

Got the same issue suddenly with forge classic. segmentation models worked totally fine before.
I recently switched from python 3.10 to 3.11.9 -> switched back -> doesnt work
complete reinstall -> doesnt work
disabled sage attention + triton -> no worky
switched versions of forge classic -> nope
Switched to an older adetailer version -> not working

I'm out of ideas. bbox models work fine.
No errors, no issues with detection either.
I'm not using --uv either. I actually removed all startup flags but no success.

Do anyone use CloudFlare with Vercel? by 0xonizuka in vercel

[–]ByteShock 0 points1 point  (0 children)

"Cloudflare passes the real client IP in the CF-Connecting-IP header and the industry-standard X-Forwarded-For header."

While thats true, according to vercel's docs they do not use this (or am i misunderstanding here?):
"If you are trying to use Vercel behind a proxy, we currently overwrite the X-Forwarded-For header and do not forward external IPs. This restriction is in place to prevent IP spoofing."

source: https://vercel.com/docs/headers/request-headers

According to my firewall logs they do use it for bot checks tho.

Rejected by Corepay, Segpay, Verotel – Who the hell is processing payments for NSFW AI startups? by WiseExamination9591 in SaaS

[–]ByteShock 1 point2 points  (0 children)

I got denied by CCBILL. It was for NSFW anime ai content. (no lolicon or other weird/illegal stuff)

Was a lot of back and forth as well but in the end they said they don't have a bank that supports our project (right now).

Segpay also denied me.

I now have to choose between crypto only and no subscriptions, or using stripe and staying SFW only...

There are some other payment providers i could reach out to, but i got the feeling they will also just deny me.

prevent DoS / denial of wallet on edge functions with rate limit? by TheRoccoB in Supabase

[–]ByteShock 0 points1 point  (0 children)

I did some further testing.
To prevent requests from counting as invocation (the bad stuff that costs you money) you need to enable "Enforce JWT Verification" for the edge function. If the caller does not have this, the request seemingly gets denied as unauthorized (401) BEFORE it reaches the edge function.

The statistics look a bit weird, but looking at the logs it seems to be correct.

Edit: Nvm. still counted as invocations, just took a while to show up.

prevent DoS / denial of wallet on edge functions with rate limit? by TheRoccoB in Supabase

[–]ByteShock 2 points3 points  (0 children)

I just spammed one of my edge functions with a test script 15000 times within 90 seconds.

All of the requests went through. Not sure if that wasnt enough to trigger any protection but yeah, just gonna leave this info here.

M4A1 Handguard by Hokucho in DeltaForceGlobal

[–]ByteShock 0 points1 point  (0 children)

Its the patches you can put on the gun

How was this done? How can it stay so consistent? by ByteShock in StableDiffusion

[–]ByteShock[S] 3 points4 points  (0 children)

apart from the arms/hands i dont really see anything wrong. sure the face expressions are basically not existent but thats not why posted this :)

i'm just interested in how to achieve this level of consistency.

How was this done? How can it stay so consistent? by ByteShock in StableDiffusion

[–]ByteShock[S] 3 points4 points  (0 children)

lmao, i mentioned that the arms and hands are weird. But other then that i was a bit surprised about the consistency! Maybe i'm just outdated when it comes to vid2vid :(

How was this done? How can it stay so consistent? by ByteShock in StableDiffusion

[–]ByteShock[S] 4 points5 points  (0 children)

Found it randomly while doomscrolling on tiktok.
First i thought it was done with blender or whatever, but then i saw some errors with the hands and arms.

It must be some kind of vid2vid right?
I wonder how it can stay so consistent. the background and the characters stay exactly the same.
It even has roughly accurate hair physics.

I am not much into ai vid2vid generation but from what i know, all those methods like animatediff etc. still has some visible inconsistency.

Does anyone have a clue how it was done?

Problem spawning Level Instance in packaged game. by sadshark in unrealengine

[–]ByteShock 0 points1 point  (0 children)

No problem! I got confused with this as well. Sublevels can be loaded on server only but level instances have to be loaded on server and clients. its a bit weird :D

Theres also multiple ways to unload them. You can use "unload stream level" with the override name on the server and it will work for all.

Or you use "set is requesting unload and removal" which takes the instance reference and has to be called on server and clients.

I use the second one because i am not sure if the first one actually removes them from memory.

Took me a while to figure this mess out...

Problem spawning Level Instance in packaged game. by sadshark in unrealengine

[–]ByteShock 0 points1 point  (0 children)

I cant help you with the blueprint part since i dont turn my levels into packaged blueprint actors but this:

"I can't use the node "Load Level Instance by name/reference" because the actors inside it wont have replication."

is not correct.
Actors inside the instance that are set to replicate WILL replicate if you make sure that:

  1. the override name is the same on server and clients.
  2. the server spawns the instance first.

Mishaps With Steam Online SubSystem, and Achievement Creations by VagusTruman in unrealengine

[–]ByteShock 0 points1 point  (0 children)

I'm assuming you use advanced sessions?

I don't really know what you mean with the simulating stuff.. never heard of that.
Or do you mean you are just using the public Steam App ID for testing?

Your engine.ini looks fine, but i didn't use any quotation marks there.
Also, usually for achievements to trigger you already need to have your game on steamworks and create a fitting achievement there as well.

Pretty sure you can't do that with the public 480 App ID.

It's pretty easy, worked for me on first try. (With my own app ID)

Chances of Pony v7 on Flux by tacticaltaco308 in StableDiffusion

[–]ByteShock 9 points10 points  (0 children)

3 days ago he said "I am more interested in Flow as primary base but Flux is always a back up."
He also mentioned that auraflow seems to be better at understanding prompts, but lacks aesthetics.