Skip to content

Posts

Linux Basics: Connect Generated Inputs with Bash Process Substitution

Some commands accept two filenames but only one standard input. Bash process substitution supplies generated streams where filenames are expected, without creating named …

Read more →

October 20, 2026

Linux Basics: Capture Command Output with Bash Command Substitution

Use $(command) when a small text result belongs in a variable. Keep the result quoted, understand what happens to newlines, and check whether the producing command succeeded. These …

Read more →

October 20, 2026

Linux Basics: Calculate Small Integers in Bash

Bash can calculate counts, durations, and small integer totals without an external calculator. Learn the difference between expanding a result, validating decimal input, and …

Read more →

October 20, 2026

JavaScript Basics: Store Numeric Data in Typed Arrays

Typed arrays store numeric elements in a contiguous backing buffer. Choose an element type when you need a defined numeric representation, then be explicit about copying, sharing, …

Read more →

October 20, 2026

JavaScript Basics: Join Human-Readable Lists with Intl.ListFormat

Joining labels with a comma does not produce every kind of readable list. Intl.ListFormat adds locale-aware separators and connectors, with separate modes for lists joined by words …

Read more →

October 20, 2026

JavaScript Basics: Handle UTF-8 Chunks with TextEncoder and TextDecoder

Text and byte chunks do not have matching boundaries. A chunk can end halfway through a UTF-8 character, and a destination buffer may be too small for the next character. …

Read more →

October 20, 2026

JavaScript Basics: Count and Cut Text with Intl.Segmenter

A text preview should keep a combining accent or a joined emoji together. Intl.Segmenter finds grapheme and word boundaries so a program can work with those groups instead of …

Read more →

October 20, 2026

JavaScript Basics: Choose Count Labels with Intl.PluralRules

A count label needs a language-specific choice: one file, two files, or an ordinal such as 21st. Intl.PluralRules selects a grammatical category; your application supplies the …

Read more →

October 20, 2026

JavaScript Basics: Sort Human Labels with Intl.Collator

People expect language-aware ordering and numbered labels that sort naturally. Intl.Collator creates a reusable comparator with an explicit locale and comparison policy. This goes …

Read more →

October 19, 2026

JavaScript Basics: Read Binary Fields with ArrayBuffer and DataView

Binary records often mix one-byte flags, integers, and floating-point measurements. ArrayBuffer supplies storage; DataView interprets fields at byte offsets with an explicit byte …

Read more →

October 19, 2026