Posts by Chris Rodriguez

@Chris Rodriguez

Christopher Rodriguez

10 years fe
Santa Monica, CA chriseugenerodriguez.com Joined October 2026
505 Points • 23 Badges • 4 Connections • 4 Followers • 4 Following

Posts by Chris Rodriguez

Chris Rodriguez • • in Articles • 3 min read
Prerequisites Basic familiarity with CSS overflow values and the distinction between layout vs paint. A component that must not become scrollable cards, badges, decorative wrappers. Implementation decision Keep overflow: clip on the wrapper to as...
post-cover-33253
Chris Rodriguez • • in Articles • 2 min read
Prerequisites An observable component implements getBoundingClientRect. A load function loadFn that starts the fetch or image decode. Familiarity with IntersectionObserver options: root, rootMargin, threshold. Implementation decision Use three le...
post-cover-33023
Chris Rodriguez • • in Articles • 3 min read
Prerequisites PostgreSQL with row-level security enabled and permission to CREATE POLICY on the target table. A session identity available as currentuser or equivalent that you can compare against the row’s owner column. Implementation decision Us...
post-cover-32943
Chris Rodriguez • • in Articles • 2 min read
Prerequisites: running in a secure context HTTPS and code that may run in multiple same‑origin contexts two tabs, a tab + worker, or multiple workers. Familiarity with async/await and the principle of keeping critical sections short. Implementation ...
post-cover-32597
Chris Rodriguez • • in Articles • 2 min read
Prerequisites Familiarity with the CSS box model and box-sizing. Basic knowledge of ResizeObserver and getBoundingClientRect. Implementation decision Choose a property by the diagnostic question you’re asserting. If you care about the inner usable...
post-cover-32436
Chris Rodriguez • • in Articles • 2 min read
Prerequisites You should be comfortable with CSS basics overflow, writing modes and know where to edit the scrolling container and its children in your stylesheet. Familiarity with scroll-snap-type, scroll-snap-align, and the difference between phys...
post-cover-32433
Chris Rodriguez • • in Articles • 2 min read
Prerequisites PostgreSQL knowledge: transaction isolation levels and explicit locking. Team decisions: whether your codebase can implement client-side retry loops and keep lock order stable. Implementation decision you’ll make Classify the confli...
post-cover-32144
Chris Rodriguez • • in Articles • 2 min read
Prerequisites You control the service image or can add a lightweight wrapper and can add a healthcheck that exercises the real readiness condition. You use Docker Compose v2-style dependson conditions support varies by Compose implementation/versio...
post-cover-32008
Chris Rodriguez • • in Articles • 4 min read
Debug the retry decision before trusting the migration The useful starting point is the failed path, not a successful rename. This article includes a Node-memory model of an IndexedDB-style migration. It lets you inspect the source store, destinati...
post-cover-31659
Chris Rodriguez • • in Articles • 3 min read
Prerequisites Familiarity with OpenAI function calling or Structured Outputs and JSON payloads. A server-side request boundary where model proposals functioncall or structured output JSON are parsed before business logic runs. Implementation decis...
post-cover-31559
Chris Rodriguez • • in Articles • 2 min read
Reproduce the two click boundaries Open the parent, then use More options to open its sibling child. First click Parent action: only the child closes. Reopen the child and click Background action: both close. The difference is the click target's re...
post-cover-31278
Chris Rodriguez • • in Articles • 2 min read
Prerequisites: Node.js streams basics write/drain, pipeline, async iterators, and objectMode transforms. Implementation decision: keep the Transform narrow — it performs the per-chunk transform and manages an internal cancelled flag + cancel error. ...
post-cover-31125
Chris Rodriguez • • in Articles • 2 min read
Prerequisites Basic Dockerfile multi-stage knowledge build stages, COPY, RUN Familiarity with your package manager’s cache path npm, Yarn, pip, etc. Implementation decision Use a small configuration helper that enforces Docker’s documented option...
post-cover-30992
Chris Rodriguez • • in Articles • 1 min read
Prerequisites Basic familiarity with CSS container queries and the container-type and container-name properties. Ability to inspect DOM and computed styles in the browser devtools. Implementation decision If your rules include block-axis queries ...
post-cover-30906
Chris Rodriguez • • in Articles • 3 min read
Prerequisites Node.js v22 or later AsyncLocalStorage as documented in v22 Familiarity with async/await and Promises Implementation decision Choose AsyncLocalStorage.runstore, callback instead of a shared mutable variable. The implementation uses ...
post-cover-30694
Chris Rodriguez • • in Articles • 2 min read
If a feed prepends new rows while someone is reading older ones, inspect the scroll container before adding JavaScript to adjust its offset. Chromium may already be compensating for the inserted height through scroll anchoring. A transform on the rel...
post-cover-30510
Chris Rodriguez • • in Articles • 2 min read
If your Node tests are green but callers still need casts, you’re mixing two different guarantees. A Node test proves what the function did when executed: the values returned, whether the input was mutated, and which inputs throw. It does not and can...
post-cover-30509
chevron_left