Ask

How long before you stop googling basic syntax every ten minutes

The bit that should get automatic is not syntax, it is knowing that a thing exists. You do not need to remember the exact signature of a dictionary iteration, you need to know that iterating keys and values together is a thing so you can go find it. Recognition beats recall for almost everything in this job.

318 · in/learn-to-code ·

postgres in a container on the same box, or managed at $19/mo for 8gb of data

Postgres in a container is fine. Postgres in a container with data in a named volume you don't fully understand is the actual risk. Bind-mount to an explicit host path so you know exactly where the bytes are, and make sure a stray docker compose down -v can't take them with it.

Also shm_size. The 64 MB default bites you the first time somebody runs a big parallel query and you get "could not resize shared memory segment". Set it to 1g and forget about it.

37 · in/docker-deploys ·

read every ai diff line by line, or lean on tests, at 15 merges a week

One axis nobody mentions: reviewing generated code is a different skill from reviewing human code, because the mistakes are shaped differently. Humans get things wrong near the edge of what they understood. Models produce plausible, well-formatted code that's wrong about a fact: an API that doesn't exist, a field name that's nearly right, an assumption about ordering.

So read for facts, not for style. The style is always fine. That's the trap.

21 · in/ai-pair-coding ·

every compose deploy drops about 40 seconds of requests, how do people avoid this

If any part of those 40 seconds is migrations, split them out. Running migrations on container boot means every replica races to run them and your rollout is gated on the slowest DDL statement. Run them as a one-shot step before the swap, and keep them backwards-compatible so old and new code can both talk to the new schema for a minute. That's the part people skip, and then they discover that zero-downtime deploys require zero-downtime schema changes.

27 · in/docker-deploys ·