Random: reproducible experiments without secrecy
random.Random(42) creates a separate pseudorandom generator with a specified initial state. It suits reproducible simulations and examples without necessarily changing the shared genera...
Software, devices and technical concepts, explained clearly.
random.Random(42) creates a separate pseudorandom generator with a specified initial state. It suits reproducible simulations and examples without necessarily changing the shared genera...
reduce() passes an accumulated result from one array element to the next.
git reflog records local reference movements, including HEAD. It can help locate a commit after reorganizing work or moving a branch.
Expressions with g or y keep a position on the last match.
The output string remains unchanged.
replaceAll() returns new text with all matches found replaced according to the specified rule.
requestAnimationFrame() plans a function before a next repaint. Smooth motion should account for time, not just the number of calls.
The reader can increase the height without stretching the shape to the side.
ResizeObserver tracks changes in the size of an item. It is useful when the container changes regardless of the window.
HTML can offer different sizes and compositions of an image. This helps the site to match the display to the screen without relying only on visual shrinkage.
git rev-parse resolves and checks Git names. The common example git rev-parse HEAD returns the current commit identifier.
sched.scheduler orders events using a clock and delay function. It is useful inside a program with a defined lifetime.