Posts
JavaScript: Freeze the nested objects in a small configuration
Freeze each known nested configuration object and verify that attempted updates fail.
November 17, 2026
SQLite: Preserve child rows when updating a parent
See why INSERT OR REPLACE can delete cascading child rows and use an explicit UPSERT for an existing parent.
November 16, 2026
SQLite: Copy rows without losing table constraints
Compare CREATE TABLE AS SELECT with an explicitly declared destination schema before copying production data.
November 16, 2026
SQLite: Aggregate child tables before joining totals
Prevent independent sales and refunds from multiplying each other, without discarding legitimate equal amounts.
November 16, 2026
Reject duplicate ZIP manifests before reading their contents
Require exactly one manifest.txt member, select it by ZipInfo, and bound the returned bytes without extracting files.
November 16, 2026
Node.js: Register event waits before starting the producer
Create all events.once promises before a synchronous emitter can deliver the events you need.
November 16, 2026
Node.js: Keep operation and cleanup failures in one report
Retain both failures with AggregateError while preserving original values for single failures.
November 16, 2026
Keep Python groupby results before advancing the iterator
Store group contents before advancing groupby, and distinguish consecutive runs from totals across all keys.
November 16, 2026
JavaScript: Preserve dollar signs in literal replacement text
Return replacement text from a callback so replaceAll does not interpret dollar substitution tokens.
November 16, 2026
JavaScript: Give each array row its own mutable state
Build independent objects and nested arrays with a factory instead of sharing the value passed to fill.
November 16, 2026