I’m a DHSB

In keeping with my post about a month ago on Learning C#, I figured I’d post my programmer personality type.

My programmer personality type is:

DHSB

You’re a Doer.
You are very quick at getting tasks done. You believe the outcome is the most important part of a task and the faster you can reach that outcome the better. After all, time is money.

You like coding at a High level.
The world is made up of objects and components, you should create your programs in the same way.

You work best in a Solo situation.
The best way to program is by yourself. There’s no communication problems, you know every part of the code allowing you to write the best programs possible.

You are a liBeral programmer.
Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We’re not writing on paper anymore so we can take up as much room as we need.

I’m not entirely sure that this is always true, but it generally seems pretty accurate. For example, I’m not always sure that I’m a Liberal programmer. Sometimes the Doer in me conflicts with the Liberal in me, and the urgency of getting something done requires that I don’t provide copious amounts of white space or comments. I gotta get it done, so those get left out.But in general, I’d say this is pretty accurate. If I have all the time in the world, and the project at hand is merely for my own pleasure, I’d say I’m a DHSB.

In life, as in programming, I’m a Doer. Life and work are about tasks. “Get ‘er done” and I can move on.

In college, I only learned Object Oriented Programming (OOP), unlike my Computer Science minded colleagues who were busy learning esoteric things like Assembly and Scheme. I wasn’t really exposed to any other programming paradigms, except for things like CSS, HTML, and SQL, which are declarative languages. So in this regard, I’m definitely a High level coder.

I’ve never programmed in the context of a team–all of my programming has been a solo venture, so it’s definitely true that I work best in a Solo situation.

That about covers it. What about you?

New Wedding Slideshow

I’m not sure to what we owe the pleasure, but Lynn has posted a new slideshow from our wedding on his blog. Maybe it was an updated slideshow to go with the new blog, or maybe it was just because he had photos of us lying around, or maybe it’s because he wanted to show off his SlideShowPro skills. In either case, it’s a win for us, and a very nice slideshow.

It’s simply amazing to me how a bit of music added to pictures gives such a new dimension to them. It makes them that much more real, tangible, and memorable.

Thanks, Lynn!

Lynn’s New Blog

If you’ve read my blog for any reasonable length of time (say greater than a month or two), you’ve heard me mention our wedding photographer, Lynn, before. Well, he has a new blog and domain name called I am LKC. I love the new layout, and if you look carefully in the sidebars, you’ll notice that Charlene and I are featured rather frequently. I wouldn’t say prominently as it’s kinda subtle, but we do show up three times. Technically, Charlene shows up three times. One of the pictures is of her and her bridesmaids, so I don’t show up in that one. But it’s cool.

I’m flattered we showed up at all.

The one major bummer is that since he migrated his blog to the new domain name, it broke all my old links to our engagement, wedding, and wedding slideshows that Lynn posted. I guess I’ll either have to go back and fix them, or maybe Lynn can get them redirected. (Please let it be the latter.) They currently just redirect to his main page, not the actual posts themselves.

The new layout is totally Lynn, so he definitely hired the right guy to do it. Congrats, Lynn.

Learning C#: Chess Part 1

Visual Studio and Chess

In my spare time, I’ve decided to relearn C#, and for your reading pleasure, I’m going to blog about it along the way. I’m really rusty, and I haven’t used C# seriously and consistently in years. I learned it a few years ago, like back in the era of Visual Studio .NET 2003 and Visual Studio 2005, aka, the era of .NET 2.0.  Those are pretty “ancient” technologies; now we’re up to Visual Studio 2008, and .NET 3.5. Visual Studio 2010 has no official release date, but it should be out soon, and .NET 4.0 was announced in September 2008.

In any case, I’m also resurrecting an old love of mine: playing chess. When I was in junior high, and even into high school somewhat, I loved playing chess.

So how am I combining these seemingly different amusements? Well, I’m going to attempt to use C# to write my own chess game. Frankly, I have no idea what I’m doing, and it will certainly be a journey of trial and error.

My first thought was to create an abstract class called Piece, which could be inherited by all of the pieces: pawn, rook, knight, bishop, king, queen.

public abstract class Piece
    {
        string name;
        public const int BLACK = 0;
        public const int WHITE = 1;
        int side;

        abstract public void Move(int rows, int columns);
    }

My second thought was to create a class called Board that encapsulates an 8×8 matrix/array that will hold the pieces, just like a real chess board.

public class Board
    {
        Piece[,] BoardArray;
        public Board()
        {
            BoardArray = new Piece[8, 8];
        }
    }

We’ll see how things work out, and I’ll keep you posted as things progress. I’ve already run across an issue in the first day. I originally wrote the Piece class to contain the location of the particular piece. Every piece inherited that field, and was going to “keep track” of where they were on the board. But then I decided that it would be better for the board to keep track of the piece, so I had to strip out all of the position information from my Piece classes. Oh well. That’s trial and error programming for you.

If you’ve got any thoughts or hints, feel free to leave them in the comments. Otherwise, my primary reference sources will be Safari Books, the MSDN, and everyone’s favorite search engine.

New Theme

My old WordPress theme, Rounded Transparent, was getting a bit long in the tooth. I decided it was time for an update. Truth be told, I was getting a bit tired of the way images were being handled in the posts. I didn’t like the fact that the text wasn’t wrapping properly around the image:

screenshot

I probably could’ve mucked around in the CSS and figured out why it was doing that, but I didn’t really want to spend the time.  And since I’ve had this theme for over a year, it was time for a change regardless.

So how did I solve this minor crisis of site identity (notice I didn’t write “my identity”)? I did a search on the WordPress Themes site and found iNove.

And that is what you’re currently viewing in all of it’s clean and modern glory.

I’m still trying to figure out whether or not I really like the right side navigation, but I figure I’ll give it a try for a while, and if I don’t like it, I’ll find something else.

In the mean time, enjoy!

Happy New Year!

We’re merely an hour away from the new year.  So happy new year, and here’s to an amazing 2009!  It doesn’t seem that 2009 could be any worse than 2008, but I suppose only time will tell.

In any case, 2009 is looking to be a great year for me. The wedding is only 59 days away, and rapidly approaching. Then it’s off to my honeymoon, and the beginning of the rest of my life with Charlene. As far as what the rest of the year holds, I have no idea. Hopefully, Charlene and I will still be employed, and who knows given the condition of the real estate market and the fact that mortgage rates are their lowest since 1971 (over a decade before I was born), we might even be buying our very own house in the next year or so.

May God be glorified in me in the next year!

(As a side note, this post is my 200th blog post since I started using WordPress as my blog engine. I’m so glad I switched from my archaic HTML/PHP based blog I had been using. This software is so much easier to use, it’s almost ridiculous. But here’s to the next 200 blog posts.)