← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. The Hidden Complexity of Barcodes

    # What is a barcode encoding?

  2. Death

    My mum was born 22nd November 1946.

  3. The Skull

    There's a skull on my shelf.

  4. # Definition: Fibonacci Sequence The Fibonacci Sequence is a sequence starting, 0, 1, 1, 2, 3, 5, 8, 13..., and each subsequent number is the sum of the previous two.

  5. Counting the Hard Way

    In this post we'll explore the weird world of alternative base number systems.

  6. In JavaScript: "0" == 0; // true 0 == []; // true "0" == []; // false These three statements demonstrate that loose equality in JavaScript is not transitive and therefore is not a valid equivalence relation.

  7. Langton's Ant is a cellular automaton first described by Christopher Gale Langton in 1986.

  8. Here's a pattern I find myself reusing in a lot of projects: type FormatOptions = { color: string; fontWeight: string; }; const format = ( message: string, { color = "black", fontWeight = "medium" }: Partial<FormatOptions> = {}, ) => { // Implementa…

  9. There's a utility function I find myself adding to almost every TypeScript repo I work on.

  10. Simulating Dice

    In this post I will demonstrate two approaches for simulating rolls of a die of a given size, using only rolls of a die of a different size.