Below you will find pages that utilize the taxonomy term “programming”
Blogs
Functional Options in Go and Rust
The Functional Options Pattern is a safer alternative to struct literals, and is commonly used in Go. These are the challenges I encountered when trying it out in Rust.
Blogs
Advent of Code 2022 Day 7: No Space Left On Device
Convert terminal output to tree structure of files and directories
Blogs
Advent of Code 2022 Day 3: Rucksack Reorganization
Set operations on the contents of Elf backpacks.
Blogs
Advent of Code 2021 Day 24: Arithmetic Logic Unit
Finding valid input for an ALU program. Graph search. DAGs. Virtual machine.
Blogs
Advent of Code 2021 Day 15: Chiton
Dijkstra’s shortest path algorithm with a priority queue implemented using
container/heap
.Blogs
Advent of Code 2021 Day 9: Smoke Basin
Flood fill in a more literal sense. Implemented using DisjointSet, also known as Union-Find algorithm.
Blogs
Advent of Code 2021 Day 8: Seven Segment Search
Decoding scrambled seven-segment displays using bitwise set operations.
Blogs
Advent of Code 2021 Day 7: The Treachery of Whales
Introduction to crustacean based optimization methods.
Blogs
Advent of Code 2021 Day 6: Lanternfish
Modeling an exponentially growing population of lanternfish.
Blogs
Advent of Code 2021 Day 5: Hydrothermal Venture
Helping Santa’s submarine avoid dangerous clusters of hydrothermal vents using a line drawing algorithm.
Blogs
Advent of Code 2021 Day 3: Binary Diagnostic
Or how to solve a bitwise operations problem using strings.