Category Archives: software development

Importing Subversion Into Git

Over the years I’ve accumulated some Subversion repositories. I used Subversion to control the source code I wrote for my masters courses. These repositories are sprinkled around a couple of computers I own. Now that I have accounts on GitHub … Continue reading

Posted in software development | Tagged , | Leave a comment

Using git instaweb on a Mac

Today I discovered git instaweb. This is a very cool feature that allows you to instantly view your local repository (the one in your current working directory) in a web browser. It was incredibly easy to setup on my Mac. … Continue reading

Posted in Mac, software development | Tagged , | Leave a comment

Doing Code Reviews with GitHub

For many reasons, I really enjoy using git and GitHub for my current project. Today I’ll highlight one reason: code reviews.

Posted in software development | Tagged | 3 Comments

Install git-extras for windows cygwin

I recently discovered git-extras when searching to see if the brew package manager (for Mac) had a package for git > brew search git

Posted in software development | Tagged | Leave a comment

Brainmess Description

It occurred to me that since the links I’ve provided so far include a NSFW word, I should take the time to describe the Brainmess language on my blog so readers need not click on those links. This description is … Continue reading

Posted in software development | Tagged | Leave a comment

A Basic Compiler – A Great Refactoring Opportunity

Years ago (2006) I wrote a compiler for TI BASIC, the dialect of BASIC that I learned on my TI 99/4A (many many years earlier). This is an “ancient” computer language and one of the first that I learned. (I … Continue reading

Posted in software development | Tagged , , , | Leave a comment

My First Greasemonkey Script

Link Github Commit to Pivotal Tracker Story I’m using Github and Pivotal Tracker. You can easily configure Github to notify Pivotal Tracker of commits. Once you have done that, then whenever you want to commit something that is related to … Continue reading

Posted in software development | Tagged , , , , , , | Leave a comment

Brainmess: Extract Tape Class

Last time I worked on extracting out the methods related to fetching instructions and jump instructions into a Program class. I’m going to use a similar pattern today to extract out methods related to the tape. Currently the tape is … Continue reading

Posted in software development | Tagged , | 1 Comment

Brainmess: Extract Class Program

Today, I’d like to address the issue of “data clumping” in the original implementation of Brainmess. (See all previous posts: testing, explanation and extract methods.)

Posted in software development | Tagged , | Leave a comment

Brainmess: Extract Jump Methods

Today, I’ll start to refactor the Brainmess program. In the first post I gave an “all-in-one” solution. Next I added some automated tests to give me some confidence that I don’t break anything during the process. The last time that … Continue reading

Posted in software development | Tagged , , | 7 Comments