roymosby.me

There's a Cost to Performance

Posted: Wednesday, Jan 24, 2024

During one of my engagements, I spent a lot of time taking in the language and tooling which our clients were using. I was left to wonder about the decisions that had been made about their software over their product's lifespan.... Continued...

Moving to a Digital Garden

Posted: Thursday, Jan 18, 2024

I figure that sharing my thoughts or creative endeavors as they evolve is a good balance between screaming into the void every time I need a new job and me just simply living my life, too busy to publish... Continued...

Island counting challenge

Posted: Tuesday, Sep 28, 2021

A coding that I faced recently during a technical interview was called the island counting challenge. It goes by several other similar names- island hopper, number of islands challenge, etc. What it amount to is that the testee is is supposed to find the number of islands in a text-based grid. Continued...

Hosting and Domain Management

Posted: Sunday, Sep 12, 2021

There has to be a mechanism that makes the connection between a URL and the server hosting a site. This is where Domain Name Services play the part of match-maker. Continued...

Accessors in JavaScript

Posted: Saturday, Sep 04, 2021

Aside from data properties, objects also have another category of properties called accessors. These are methods referred to as "getters" and "setters" that allow the program to retrieve or set a value Continued...

Finding and stopping stray server processes

Posted: Saturday, Aug 28, 2021

When running servers or services from the terminal, it is often nice to know how to shut them down manually in case things go wrong or you lose a terminal window. Continued...

Getting Up and Going with React and Bulma (and Sass)

Posted: Monday, Aug 16, 2021

I've been a fan of Syntactically Awesome Stylesheets, SASS, for some time now and have found it a useful tool in my projects. Going forward with React I wanted to continue using SASS and adopt a library suitable to jump start my styling. Continued...

7 Fundamental Tips To Learn Programming

Posted: Tuesday, Aug 10, 2021

To be honest, I had several false starts in the infancy of that interest. Since then, I've gained experience in "learning how to learn". I have distilled my approach to into 7 tips that anyone can use to learn how to program. Continued...

Making Change Problem, Part II

Posted: Friday, Aug 06, 2021

This is the second part of a 2-part blog post on the coin problem. My goal with this second post is to decrease the computational expense of my original solution. Continued...

Making Change Problem, Part I

Posted: Saturday, Jul 31, 2021

When approaching a problem, it may be tempting to work within the constraints of the examples given. While a solution may arise from that looks correct, you may be leading yourself astray. I recently worked through the change problem which is an example of this. Continued...

Memoization in JavaScript

Posted: Thursday, Jul 15, 2021

Memoization allows a developer to cache responses from a computationally expensive function. The memoized function only has to be run once with a given input. If ran again with the same input, the result is pulled from the cache rather than recalculated. Continued...

React Router: Handling 404's on Dynamic Routes

Posted: Sunday, Jul 04, 2021

Namespaces provide a means to logically group and re-route controllers within a Rails app. Setting up a namespace consists of defining the namespace and then... Continued...

Professionalizing your github account

Posted: Wednesday, Jun 30, 2021

As I have become more serious in my pursuit of a coding job, that username has been much on my mind. While it's not an embarrassment, it is a distraction. Continued...

Code Re-use (Keeping it DRY)

Posted: Monday, May 31, 2021

I wrote a little over 1250 lines of code. This number is not notable except that it could have been much larger had I not found ways recycle some parts.... Continued...

Creating Space (Working with Namespaces)

Posted: Sunday, May 02, 2021

Namespaces provide a means to logically group and re-route controllers within a Rails app. Setting up a namespace consists of defining the namespace and then... Continued...

Dealing with multiple table relations

Posted: Sunday, Feb 14, 2021

To design my object relation model, I have to consider two types of data in RecipeSwap: users and recipes. I also have to determine how those two types relate to each other. Continued...

A recipe for a ruby CLI tool

Posted: Sunday, Jan 10, 2021

With your own project, you are handed some basic requirements and you need to figure out these behaviors that satisfy them. Because of this, unless the task is blaringly simple, it is best to approach it in a formulaic manner. That is where the recipe above comes into play. Continued...

Why software engineering

Posted: Friday, Dec 18, 2020

While I may be a little older than the typical person transitioning into software development, I am driven by the notion that everyone is on their own journey. Mine has taken me through a 20-year military career in signal and to nearly 15 countries. I am not ready to stop yet either. Continued...