Saturday, June 18, 2011

Another Project

Well, I've been away from this blog for a while and I'm getting antsy to try something new. I'm looking for something that will incorporate some new stuff, but that also includes meat-and-potatoes coding and testing.

Here's what I came up with.

A few years back, I moved to a new town. For a while, I was in a hotel and then I hadn't had cable set up, so I had no internet at home. (This was before free wi-fi everywhere.) So, I went to my local library.

My library had a bank of eight computers for public use. People came in, waited for a free one, and then could use the computer for up to an hour.

While standing in line, it occurred to me to wonder whether eight was the right number of computers, whether an hour was the right amount of time, and how you could figure that out.

So, what about an application that simulates this setup so we can compare different inputs?

The system will either generate input (people lined up) for the seats according to certain settings or read that data in. Using the same input data allows us to change the other parameters, such as the number of computers and the use time.

My plan for this will be:

  • Spec out the problem in more detail.
  • Determine the type of input and output to be created.
  • Plan out individual classes and methods.
  • Write code and write tests.

I'm going to start this as C# in a text file, as I did for the winding clock project. Once it's working and the bits have been tested, I'm going to move it into a dll as a cmdlet, as I described in the last posting.

This is a fair-sized project. Since I can't work on it every day, I'm going to make a point of keeping all my work here, in the blog. (Except for the code, I mean.) I'll include designs, planning, and status here.

And I'll end each post with my "Next item" -- the thing I will do when I do the next post.

So, next item: Specify input and output types.

No comments:

Post a Comment