Andy Peterson

My First Month as a Software Developer


over 2 years ago by Andy Peterson on Atomic Spin.
As with many other college seniors, this year is going to be crazy for me. I have to make a lot of big decisions that will have a huge impact on my life...

Accessing Google Sheets with Ruby and Google Apps Script


~2 years ago by Andy Peterson on Atomic Spin.
For a recent project, I wrote a Ruby script to upload my team’s hours to a Google Spreadsheet. From time to time, I would have to manually edit the...

Help Your Fellow Developers with Well-Worded Error Messages


almost 2 years ago by Andy Peterson on Atomic Spin.
When something goes wrong in my code, I usually try to throw an error with a message telling me what went wrong. I don’t think too much about what...

Elm and Express: A Simple Client-Server Implementation


over 1 year ago by Andy Peterson on Atomic Spin.
When I do a side project, I usually want to spin up something quickly, and most of my projects have some sort of client talking to a server. Recently, I...

Four Tips for Documenting a Legacy Codebase


over 1 year ago by Andy Peterson on Atomic Spin.
Over the past few weeks, I’ve had the privilege of working with Microsoft’s Visual FoxPro. My task was to take a fairly large codebase and document its...

You Should Use Static Dates For Your Unit Tests


over 1 year ago by Andy Peterson on Atomic Spin.
When writing unit tests for time-sensitive features, there are two ways you can define dates: dynamically or statically. When I say “dynamically defining...

Timing Your Queries in Knex.js for Node.js


over 1 year ago by Andy Peterson on Atomic Spin.
While developing web applications, I keep a close eye on performance issues, particularly in database queries. In my latest project, I’ve been using...

Three Tips for a Positive, Effective Team from Casey Watts


~1 year ago by Andy Peterson on Atomic Spin.
I recently heard the excellent talk “A Neurobiologist’s Guide to Mind Manipulation” by Casey Watts at EmberConf. Part of the talk focused on techniques...

Using Higher-Order Functions to Build Queries in Knex.js


~1 year ago by Andy Peterson on Atomic Spin.
My team has been using Knex.js to build database queries for our latest project. To create increasingly complex queries, we developed a pattern to generate...

Naming Things Is Hard


11 months ago by Andy Peterson on Atomic Spin.
When making software, you have to name a lot of things. There are functions, classes, numbers, data models, etc., and they all need meaningful names to...