Archive · 2022–2024

Notes from a chapter spent learning software in public.

These posts are preserved as personal history. They are snapshots of what I was learning at the time, not documentation I’m actively maintaining.

71

original entries
preserved

2022

01

Binary to Text (ASCII) Conversion

Convert binary to text using the ASCII character set.

29 Sep 2022
02

Compare Two Array in JavaScript - JavaScript Snippets

How to compare two arrays in JavaScript?

26 September 2022
03

Topsy Turvy Numbers

Return all the topsy-turvy numbers between two numbers.

26 September 2022
04

Coconut Communication

Communication is key to a healthy relationship. Learn how to communicate with your coconut in the form of bits.

24 September 2022
05

Convert Characters to 8-bit - JavaScript Snippets

Make a string of characters into 8-bit characters!

24 September 2022
06

Snippet - Diagonal Elements

How to get diagonal elements from a matrix?

22 September 2022
07

Identical Row and Column?

Are any of the columns identical to any of the rows in a 2D matrix?

22 September 2022
08

Working with factorials in Javascript - Alt Facts, Semi Facts

Working with different types of factorials in Javascript

21 September 2022
09

Numbers Up and Down, Ascending and Descending Javascript Snippet

How to get the numbers up and down starting from a number

21 September 2022
10

Super Reduced String

Delete all repeating characters in a string.

20 September 2022
11

Odd One Out

See if all words are the same length except for only one.

19 September 2022
12

Averages Methods - Extending the Math Object

Adding our own to the Math object

16 September 2022
13

Special Pythagorean Triplet

Solve for the product of the Pythagorean triple that sums to 1000.

16 September 2022
14

Game of Thrones Character Titles

tags: strings, map, filter, javascript, ternary operator, regex, push, Edabit, toLowerCase, toUppercase

13 September 2022
15

Know Your Neighbor

Is the number surrounded by pluses?

12 September 2022
16

Does the Triangle Fit into the Triangular Hole?

Will the triangle-shaped piece fit into the triangular hole?

9 September 2022
17

Harshad Numbers

More fun with numbers - Harshad numbers are positive numbers that are divisible by the sum of their digits.

8 September 2022
18

Happy Numbers

Determine if a number is a happy number or not.

7 September 2022
19

Simon Says

Only perform an operation if Simon says!

6 September 2022
20

RegEx Character Classes XII ⁠

A tab and space challenge with Regex?

20 May 2022
21

Working with Numbers and Arrays - Pandigital Numbers

Does this number have all of the digits 0-9?

1 May 2022
22

Working with Nested Arrays

Let's Figure Out to Get the Length of a Nested Array

22 April 2022
23

Milliseconds to Human Readable Time

Convert milliseconds to human readable time with JavaScript

18 April 2022
24

Working with Dates in JavaScript

How to use dates in JavaScript

17 April 2022
25

Two Ways to Solve Seven Boom!

Determine if an array contains 7, with the long way and a more concise way

16 April 2022
26

Is It a Leap Year?

Determine if a year is a leap year using the ternary operator

15 April 2022
27

Wanda

Fun pictures of my dog Wanda!

14 April 2022
28

JavaScript Snippet - Reverse Words in A String

Here's another fun JavaScript challenge with one solution.

14 April 2022
29

Filter the Smileys 😀

Let's start off with some fun JavaScript!

13 April 2022
30

Regular Expressions - Character Classes

Here's one way to use regular expressions (regex) to solve the problem of finding a sequence of characters in a string.

19 April 2022
31

JavaScript Snippet - Test for Automorphic Numbers!

We're going to write a function that will test if a number is automorphic.

13 April 2022

2023

01

How Subnet Masking Works

How does subnet masking work?

04 December 2023
02

What are hooks in React?

What are hooks in React and how do we use them, specifically useState and useEffect?

14 September 2023
03

What is an Algorithm?

A brief explanation of what an algorithm is.

17 July 2023
04

Leetcode 128 - Longest Consecutive Sequence

A solution for Leetcode Problem 128.

12 July 2023
05

Binary Search Tree Breadth First Traversal

tags: JavaScript, data structures, binary search tree, breadth first

10 July 2023
06

Binary Search Tree Depth First Traversal

tags: JavaScript, data structures, binary search tree, depth first, recursion

10 July 2023
07

Leetcode 1 - Two Sum

A solution with explanation for Leetcode Problem 1, two sum.

05 July 2023
08

Reduce Under the Hood

Here is a way to replicate the reduce method.

26 Feb 2023
09

What is a Collection in Javascript?

A collection is a common data structure in JavaScript that you may already be familiar with.

25 February 2023
10

Using React to dynamically create elements

One way to dynamically create elements in React.

21 Feb 2023
11

What are props in React?

A brief introduction to props in React.

19 Feb 2023
12

Mental Models

Learn what mental models are and how they can help you better understand complex concepts.

17 February 2023
13

The Rest Parameter vs The Spread Operator in Javascript

A brief explanation of the rest parameter and distinguishing it from the spread operator in Javascript.

17 Feb 2023
14

Cloning Objects in JavaScript

You can clone objects in JavaScript, but it doesn't work the way you might expect.

15 Feb 2023
15

JavaScript Closures - Multiplier

Keep count of numbers passed in using closure.

15 Feb 2023
16

JavaScript Closures Practice Problems

Keep count of numbers passed in using closure.

15 Feb 2023
17

JavaScript Closures - A Brief Explanation

A brief explanation of closures in JavaScript

15 Feb 2023
18

JavaScript Closures - getCounter

Increment and decrement a number using objects and closures.

15 Feb 2023
19

JavaScript Closures - numCount

Count how many numbers are in a string.

15 Feb 2023
20

JavaScript Closures - Sums

Keep count of numbers passed in using closure.

15 Feb 2023
21

Return an array of unique values

Here are two ways to return an array of unique values.

15 Feb 2023
22

JavaScript Recursion - countDigits

Count the digits of a number using recursion.

14 Feb 2023
23

JavaScript Recursion - findMax

Find the max value of an array using recursion.

14 Feb 2023
24

JavaScript Recursion - Inclusive Array Ranges

Return the numbers between two numbers, including the two given numbers.

14 Feb 2023
25

JavaScript Recursion Practice Problems

Some practice problems and a brief outline on how recursion works.

14 Feb 2023
26

JavaScript Recursion - Array Product Except Current Index

Create an array of the products of all array elements except for the current element.

14 Feb 2023
27

Movie Constructor - OOP problem

Create a movie constructor function!

09 Feb 2023
28

Restaurant Constructor - OOP problem

Create a Restaurant Constructor and create the menu!

09 Feb 2023
29

JavaScript OOP Practice Problems

Some problems you can use to practice Javascript Object-Oriented Programming

08 Feb 2023
30

Student Constructor - Medium OOP problem

Create the Student Constructor

08 Feb 2023
31

JavaScript OOP - Car Rental Simulation

Create Car, Rental and Customer constructor functions that simulate a car rental situation.

07 Feb 2023
32

JavaScript OOP - Stack

Create a Stack constructor function.

05 Feb 2023
33

Leetcode 347 - Top K frequent elements

A solution for Leetcode Problem 347.

03 Feb 2023
34

Leetcode 628 - Maximum Product of Three Numbers

A solution for Leetcode Problem 628.

03 Feb 2023
35

Leetcode 36 - Valid Sudoku

A solution for Leetcode Problem 36.

02 Feb 2023
36

Extending an Object in JavaScript

Here's how you can add properties to an object in JavaScript, from another object iteratively with reduce.

02 Feb 2023
37

Using Closure to Calculate Large Fibonacci Numbers

Here's a way to calculate very large numbers from the Fibonacci sequence using closure/memoization.

02 Feb 2023
38

JavaScript OOP - Bank Account Class

Create a Bank Account Class

02 Feb 2023

2024

01

Backpacking Gear List

A list of gear for backpacking trips into the Appalachian Mountains.

18 July 2024

Undated

01

React State

A note from the original software notebook.

Undated