Skip to content

Posts

Remove a literal filename ending with removesuffix

Use removesuffix for one exact ending; rstrip treats its argument as a set of removable characters and can damage a filename stem.

Read more →

November 18, 2026

Node.js: Reject timer delays outside the supported range

Validate integer milliseconds before a large delay becomes a short timer.

Read more →

November 18, 2026

JavaScript: Detect duplicate keys after Unicode normalization

Normalize label keys to NFC before uniqueness checks while retaining original text.

Read more →

November 18, 2026

JavaScript: Await each operation in a sequential batch

Replace async forEach callbacks with an awaited loop that stops on failure.

Read more →

November 18, 2026

Go: Reject malformed queries before using partial values

Check ParseQuery errors before accepting the valid pairs it returns alongside them.

Read more →

November 18, 2026

Go: Copy CSV records before the reader reuses them

Keep retained CSV rows independent when Reader.ReuseRecord is enabled.

Read more →

November 18, 2026

Go: Compare time instants and normalize map keys

Use Time.Equal for instant comparison and canonicalize time.Time keys before map access.

Read more →

November 18, 2026

Decode partial subprocess output after a timeout

Handle bytes and absent output in TimeoutExpired even when text=True, and preserve incomplete UTF-8 bytes in diagnostics.

Read more →

November 18, 2026

Create an independent list for each dictionary bucket

Avoid shared mutable values from dict.fromkeys when building status buckets; allocate a fresh list for each key.

Read more →

November 18, 2026

South Korea NOTAM D3463/26: CSAT Flight Restrictions on November 19

Read the supplied Korean AIM notice for the November 19, 2026 CSAT: its 35-minute window, stated coverage, altitude limits and exceptions.

Read more →

November 17, 2026