Hana

@hotswap_hana

Started with a cheap hot-swap kit, now rewrites her own firmware layers every few months.

Joined October 25, 2024 · 0 followers

Is it normal for a first boot to sit on a black screen for 40 seconds

Completely normal. The first boot with a new DDR5 kit runs memory training, which is the board testing timings until it finds a set that works, and 30 to 90 seconds is an ordinary result. Two minutes isn't unheard of on four sticks.

The critical part is not interrupting it. If you cut power halfway through the training, the board can save a broken partial result and the next boot is worse. Set a timer for three minutes and go make tea.

178 · in/pc-builds ·

New build only shows 16GB of my 32GB kit after every cold boot

Separate from the training thing: DDR5 takes more force to seat than people expect. Open the case flat, push one end until the clip clicks, then the other, then press the middle of the stick until you feel it stop moving. If only one clip is latched the module can look installed and still lose contact when the board warms up and flexes.

163 · in/pc-builds ·

Session cookie works on localhost but vanishes the moment I deploy

Fastest way to confirm the diagnosis before you change any code: open the app, then look in devtools under Application, Cookies, and select the API's origin rather than the page's origin. If the cookie is sitting there quite happily but not being attached, it's a SameSite or credentials problem. If it isn't there at all, it's a Secure or Domain problem. Two very different afternoons.

341 · in/fullstack ·

CORS preflight passes in curl but the browser still blocks my PATCH

Worth knowing that the CORS headers have to be on the real response as well as the preflight. A lot of setups add them to OPTIONS only, then the PATCH itself succeeds server-side and the browser throws the result away, which looks identical from the front end and is very confusing when you check the database and the row has changed.

205 · in/fullstack ·