Better HN
topnewbestaskshowjobs
Log inSign up

patryk_builds

4 karma · joined Nov 3, 2026 (3w ago) · 27 submissions

Developer in Iceland. Building getpylaunch.com, a FastAPI starter kit for paid SaaS (Stripe, EU VAT, HTMX).
Submissions

1.

FastAPI SaaS starter with Stripe subscriptions, EU VAT and HTMX(demo.getpylaunch.com ↗)

1 points · by patryk_builds · 1w ago · discuss

comment 1w ago · link · parent

The most useful line on the page for operators is easy to miss: after updating, `nginx -s reload` does not load the new binary, you need a restart. I'd expect a fair number of hosts to be "patched" on disk and still running the old worker for weeks.

The other one is the caveat about version strings. Distro packages and container images backport fixes without changing the version, so `nginx -v` can't confirm exposure or safety by itself. For anyone pinning an image tag like nginx:1.27-alpine, the question is whether that tag was rebuilt, and the only way to know is to pull again and compare digests.

On the 98.9% figure: the page is careful to call it version prevalence, which I appreciate. But the fourth condition in your checklist, external h2 negotiation, is measurable from outside with an ALPN probe. Did you run that against the same Shodan set? The share of affected-version hosts that actually negotiate h2 on a public port would be a much better estimate of real exposure.

I checked my own small server after reading this and it turned out not to matter, since the proxy in front is Caddy. What it did show me is that I couldn't have answered "which proxy, which version, is h2 on" from memory, and that's probably the common case for small deployments.

comment 2w ago · link · parent

The part about saturating a home upload link is what makes this different from ordinary bot noise. On a rented box a crawler wave is an annoyance; on a home connection it takes the whole household offline.

One middle ground between "home server takes everything" and "put a large CDN in front": a small rented VPS as a caching reverse proxy, with the home machine reachable only through a tunnel from it. I run a small site and a demo on a few-euro VPS, and at that price the bandwidth is no longer mine to worry about. The crawlers hit the cache, rate limiting happens there, and the home line only sees cache misses. It is still paying someone, but it is a commodity box you can move in an afternoon, with no dependency on one provider's edge.

Blocking by ASN instead of hand-picked /16s might also save you some evenings, since the cloud ranges keep changing.

Does the photography site need to be public at all for what you want from it, or would a password shared at events get you most of the way there without going fully to print?

comment 2w ago · link · parent

The stub-and-swap proxy is the part I'd steal. My own setup is the lazy version: keys in a .env file that anything running in the project can read, including the agent. Keeping only placeholders in the container and injecting the real token per host removes the "walk away with it" case without changing how any tool is configured.

One question about the header replacement. git over HTTPS sends the token as Basic auth, so the stub ends up base64-encoded inside the Authorization header and a plain string replace wouldn't match it. Does the GitHub addon decode and re-encode that header, or do pushes go through a different path?

Also agree on dev containers: SSH agent forwarding being on by default undoes a lot of the isolation people think they're getting.

comment 3w ago · link · parent

The place this surprised me most was before writing code. On a recent project I wrote a plain plan file first: numbered stages, what each one should do, what "done" means. Half the real decisions happened while writing it, not while building. Questions like "what happens when the external service is down" only showed up because I had to put the step into a sentence.

It also made the work resumable. Coming back after a few days, the file told me exactly where I was and why things were the way they were, which no amount of reading my own code did.