THE NOTEBOOK / TYLER RHODES
Technology
Programming, systems, and learning by building.
2021
A Refactoring Project in Python: Music CD List, Part 3 of 3
The third and final entry about refactoring a simple Python program to be more Pythonic. Mostly a review and no code is shown.
Read the articleA Refactoring Project in Python: Music CD List, Part 2 of 3
The second post in a series on code refactoring in Python. Implementing the collections.abc interface and further abstracting the storage for the Music CD List program.
Read the articleA Refactoring Project in Python: Music CD List, Part 1 of 3
The first post in a series on code refactoring in Python. The code goes from bad to kind of okay? I mean it has unit tests at the end...
Read the article
2020
2019
Clojure: Sequences, part 2
An in depth look at lazy sequences in Clojure: how to use them, and how they work.
Read the articleClojure: Sequences, part 1
Sequences are a key abstraction in Clojure, and represent a way to lazily iterate over a collection. The sequence abstraction allows for a common way of processing collections which extends across a number of collection types.
Read the articleClojure: Destructuring and Optional Arguments
Destructuring in Clojure is something that shows up frequently in code, and to the beginner Clojurist can be difficult to decipher. Being a beginner Clojurist myself, and getting tired of having to look it up everytime, I'm…
Read the articleSecond Clojure Program - Hugo Front Matter Editor
My second program in Clojure, where I put together a short tool to edit the front matter of my blog posts.
Read the articleFirst Clojure Program - Tetris Clone
I wrote my first Clojure program, which is a clone of Tetris. The post covers my experience developing it.
Read the articleSQL Server Data Storage
This post goes into a little bit of detail about how SQL Server stores data on disk. Quite a bit of it is drawn from the book ‘Pro SQL Server Internals’ by Dmitri Korotkevitch, with other notes from Microsoft’s documentation…
Read the articleWindows Kernel Synchronization
The primitives offered by Windows for thread synchronization are kernel objects. These objects, created using their corresponding Win32 or .NET APIs are managed by the OS, and make up the fundamental building blocks of…
Read the articleProcesses and Threads on Windows
I’ve been reading “Concurrent Programming In Windows” (CPIW) and wanted to turn some of my notes into a post to explain processes and threads in a high level which may be of use to an application developer.
Read the articleConcurrency Basics
Programming with concurrency is something that’s easy to get started with and can be difficult to do effectively and bug free.
Read the article
2018
SICP - Lists, Accumulate and Flatmap, part 3
In the third post of this series on lists in Scheme and SICP we are going to take a look at the flatmap procedure. In chapter 2, flatmap is made use of in a number of examples and in some of the exercises, so it’s worth taking…
Read the articleSICP - Lists, Accumulate and Flatmap, part 2
In the second post in the little series on lists, accumulate , and flatmap we’re going to take a closer look at accumulate , and some operations on lists that we run into during SICP.
Read the articleSICP - Lists, Accumulate and Flatmap, part 1
The first chapter in SICP deals with computational processes and how to build procedures. The second chapter is about data abstraction, and how to represent different types of data using Scheme. It introduces the idea of…
Read the articleMux and DMux - "forking"
For those of you unfamiliar, the Nand2Tetris course is a project based course available on Coursera. In the course you build a basic computer platform, known as “Hack,” which can run programs written in its machine language.
Read the articleHigher-Order Procedures
While programming there are many situations that arise which call out for different abstraction techniques. Different languages emphasize different techniques for designing programs, whether it be functional, object oriented,…
Read the articleGetting Started With Scheme
I’ve just started to get my feet wet with Scheme. My reasons for learning Scheme descend from my desire to learn more about implementing interpreters and the fact that two books on this subject make use of Scheme for their…
Read the articleAn Infinite "Loop" in Scheme, or, Applicative vs Normal-Mode Evaluation
Getting started with Scheme, and SICP (Structure and Interpretation of Computer Programs) introduces some terms and ways of thinking about code that you don’t always run into while programming in a language like C#.
Read the articlePlanning to Build a Blog Commenting System with Lambda and DynamoDB, part 2
After planning I decide not to implement a custom commenting system using Lambda and DynamoDB. It would be a lot of work.
Read the articlePlanning to Build a Blog Commenting System with Lambda and DynamoDB, part 1
I write about planning to develop a commenting system utilizing AWS Lambda and DynamoDB.
Read the articleMessin With Lambda
Well I finally found a little time to play around with AWS Lambda using Golang. It wasn’t painless, but it wasn’t terrible once I started to get the hang of it. I’m a beginner at both Lambda and Golang for the most part, and…
Read the articleA Hugo Blog on AWS
I’m running my blog on AWS using only static content that I use Hugo to generate. I’ve got my own domain, DNS, SSL, CDN, storage, and automated deployment setup and the expected cost is about 5 dollars a month.
Read the article