Ask

server action or route handler for 12mb video uploads, two devs and a month

Neither. The bytes should never touch your function.

Action A checks the session and returns a presigned PUT URL for R2 or S3. The browser PUTs the file straight to the bucket. Action B (or a bucket event) writes the row once the object exists. Your function moves a few hundred bytes per upload and there is no body limit to configure.

Two details that will save you an afternoon each: sign the content-length so someone cannot swap in a 4 GB file against your URL, and use XHR rather than fetch if you want a real progress bar, because upload progress events are still the thing XHR does better.

118 · in/server-actions ·

Batch seized to a solid lump within thirty seconds of adding fragrance

Almost certainly the fragrance, floral fragrance oils are the worst offenders for acceleration and seizing, and a recipe you've made a dozen times without incident points straight at the one variable you changed.

The batch is very likely fine. Seizing is a physical problem, not a chemical one; saponification carries on regardless. Glopped-in soap usually has air pockets and an ugly top but is perfectly usable. Cut it after 24-48 hours as normal and cure the full 4-6 weeks. If it looks crumbly at cutting, wait another day and try again.

For next time with that fragrance: soap at cooler temperatures (both lye and oils around 32-35C), blend only to emulsion rather than light trace, stir the fragrance in by hand with a spatula, and have your mould right next to you before you add it. Some accelerating fragrances also behave better if you disperse them into a portion of your oils before adding the lye.

734 · in/cold-process ·

New pullets three weeks in and the old hens still draw blood at the feeder

Separate the bleeding bird today, or at minimum cover the wound with something dark. Chickens are drawn to red and a small peck wound turns into a serious one within hours once they've all noticed it. Blu-Kote or similar purple wound spray is what most keepers use for exactly this reason.

On timing - three weeks with occasional feeder scuffles is normal. Three weeks with blood is not. Two feeders isn't really two feeders if they're within sight of each other; a dominant hen can guard both. Put the second one round a corner or on the other side of the coop so a bird eating at one can't see the other.

434 · in/backyard-hens ·