THE NOTEBOOK / TYLER RHODES
Topic: programming
From the notebook, collected by topic.
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
2019
Clojure: Sequences, part 2
An in depth look at lazy sequences in Clojure: how to use them, and how they work.
Read the articleEmacs/CIDER Notes
My notes on using Emacs.
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 articleBook Review - Programming Clojure
A book review of Programming Clojure, by Aaron Bedra, Stuart Halloway and Alex Miller.
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 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
Learning Python, Part 2
My progress slowly continues on my path to learning Python. To help me in this task, I purchased a few books, the first of which I’m working through (slowly) now. That book, Learning Python , by Mark Lutz, is a massive tome on…
Read the articleLearning Python, Part 1
Starting to learn Python...
Read the articleSICP - 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 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 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 article