Archive of posts from
2020
-
Ginger Cumin Rubbed Rib Roast
31 December 2020
I scored a rib roast from a local butcher shop whose owners were
retiring. It was a beautiful 6lb chunk with an amazing fat cap on it.
This is how I cooked it, and what I made with the leftovers.
-
Interactive Breadth First Search in a Grid
20 December 2020
Breadth first search(BFS) is a very powerful and useful algorithm for
exploring graph like structures. A BFS searches it’s nearest neighbors first
before moving on. It’s main use is to find a path using
the fewest hops. Here we use it to explore a grid that can be modified
by a user. In this grid, we have verticies (the grid boxes), and edges
(the box north, south, east and west).
-
Yetris Review - A Fantastic Terminal Tetris
08 December 2020
Yetris is a very cool tetris clone for the terminal. It features
colors and a neat interface with lots of levels. I really enjoy playing
it, but I always forget the name of the program, so I’m making a post so
I don’t forget what’s it called.
-
Advent of Code Input Getter
03 December 2020
I wrote a bash function to get my daily Advent of Code input. It
assumes that you are in a directory ending in the pattern year/day,
where year is the year you’re doing the problems. Here’s the code
-
What I like about Love2D
29 November 2020
I recently decided to revisit game development. I decided to use the
Love2D engine, because the API is rather beautiful in it’s
simplicity. The graphics are treated as a pixel buffer to which I can
draw lines, squares and circles to. It has 2 core functions for me to
work with, which I like. All in all, it reminds me a lot of QBasic,
which I learned in high school. I’ll link to my repo at the end and
provide appropriate links at the various points.
-
Atlantic Pie
22 November 2020
I made some Atlantic pie recently with a few modifications. I think it
turned out pretty good. I basically followed the New York Times
recipe. I wanted to make something using saltine crackers. This turned
out to be way easier than expected.
-
Using jq and bash for JSON processing
06 November 2020
This is a lightning talk I gave to the CPLUG November 2020 meeting on how to use jq with bash for dealing with JSON in modern tooling.
NOTE: use the space bar to scroll.
-
Inspecting All Running Docker Containers
29 October 2020
I just discovered how to run inspect on all running docker containers.
-
Dr. Stone - Arithmetic Battle
26 October 2020
So I’m watching Dr. Stone, and in the science demonstrating
contest between Senkū and Chrome they have a final battle over who knows
more math. This is a list of some of the math I think Senkū would have
used to crush Chrome or at least some math tricks I think are really
cool. I know that it doesn’t go down like this, but I like to think it
could have possibly went down a couple different ways and might have hit
on these. It’s obvious in the manga that Chrome only knows Arithmetic,
but these are some cool tricks that could’ve been applied.
-
Lights Out Game
29 July 2020
Shown below is a lights out kind of game. Scores are not tracked or anything
it’s just something meant for fun. The goal is to get the board either completely
lit up or completely black. It inverts the color of whatever you click on and those directly adjacent squares. Those squares directly to the north, south, east and west.
-
A Lazy Way to Collect Runtime Stats About Running Docker Containers
23 July 2020
So I was recently messing with Docker to keep up on my skills, and I
wanted to see how much resources were required by each container over a
given time period. So I came up with the following command to run in the
terminal to collect it.
-
Getting a Knockoff Arduino with CH340 to Work With Arch Linux
27 February 2020
I recently bought a very cheap Arduino nano clone off of eBay. I was
having an issue where my computer would recognize the Arduino, I could
watch the serial connection using the serial monitor(It had an ASCII
printing program on it from the factory), but I couldn’t
flash it with a new program.