Jim's Blog Ramblings about novels, comics, programming, and other geek topics


Psychoanalyzing a programmer

Google AdSense

Last week, I came across a few articles written over at Lispy.Wordpress.com. The first article was titled "Do you know any programmers that exibit these personality traits...?"

I’ve been observing an unusual programmer friend of mine for some time now. He has such a strange combination of potential and incompetence that its hard to tell if he is just lazy or if he has a “light” form of autism or some other disorder.

He goes on to list several dozen traits for his "friend". A couple days later, he follows up that article with one called "How to Get the Most Out of Your Eccentric Programming/Genius." Here he makes a few more observations:

They will pick up a rare set of skills on their own just for the fun of it– skills that aren’t or can’t be taught in schools. They aren’t attracted to the field of computing because of the money (though that doesn’t hurt) but are terrified of getting stuck in a job where there’s nothing left to learn. People in other careers speak of a “seven year itch” phenomenon, but these guys have a “two year itch.” These guys will change jobs not so much to get a raise… but to keep from getting bored.

The next day he followed up that post with one titled "Hey... You forgot to tell us how to get the most out of this guy!"

To get the most out of your nutty self-obsessed right-brained wanna-be mega-geek: let him solve problems his own way. Let him develop tools/abstractions that help him hide the sort of details and menial tasks that sap his strength. Force him to get up and go exercise or relax. Don’t hold a nebulous unfinishable to-do list over his head to guilt trip him– he will come down off of his creative high and beat himself up for being irresponsible and may even shut down emotionally.

Overall, the three articles are pretty lengthy with tons of comments. I don't think that the general information presented here could apply to any particular person, since he is talking about a single person and at some parts he generalizes and assumes quite a bit. It's still an interesting read for anyone.


Free eBook on Data Structures and Algorithms

Google AdSense

The Data Structures & Algorithms book was written by by Granville Barnett and Luca Del Tongo and posted over at DotNetSlackers.com.

The first draft preview is available in Adobe PDF format and is 97 pages long. You can download the book here. The book uses pseudo code, and a C# version of the code can be accessed via the DSA CodePlex site.


Things that annoy programmers

Recently, I wrote that all of those non-used "using" statements and the source code documents that didn't automatically reformat themselves annoyed me. Well, this week Kevin Pang wrote post called Top 10 Things That Annoy Programmers.


Clean up your source code

One of the minor annoyances that I encounter is having multiple "using" statements at the top of my class files that aren't in use. Prior to Visual Studio 2008, there wasn't a real easy way of figuring out which ones are in use and which ones aren't in use without deleting one and then compiling, then undeleting it if it doesn't compile, etc.


Using Microsoft Log Parser 2.2

Recently, I was asked to put together some statistics to count the page views for a certain set of pages within a corporate web site. Unfortunately, we aren't using anything nice like WebTrends for web stats.

However, I did remember an old Microsoft log query tool that I thought might do the trick without needing to install anything on the web servers. So, I headed off and downloaded Microsoft Log Parser 2.2.


Custom Route Constraints (ASP.NET MVC)

I was having some issues with my ASP.NET MVC routing learning application and came across Stephen Walther's post explaining how to Create Custom Route Constraints.

Stephen's code worked almost perfectly until I needed to use more than one "NotEqual" constraint in my route. If you attempt to use Stephen's code as such, then you'll get the error message indicated below.


How to be a happy work-at-home developer

For the last year or more, I've been mostly a work-at-home developer. Over the last eight months or so, I've pretty much been a full time work-at-home developer. So when I noticed Ryan Farley's post titled "The Work-at-Home Developer's Guide to Happiness", I was curious.


Batman: The Dark Knight (Movie Review)

I've seen a few bad and a few good movies since my last review, but I've skipped over them since most of my reviews so far have just been focusing on comic book movies.

Growing up, I didn't collect many DC comic books other than maybe a couple collector or special edition Superman comic books (I was/am still a mostly Marvel fan). I enjoyed the DC movies and TV shows (such as Batman with Adam West), but I really wasn't too informed about the DC universe other than the cartoons, TV, and movies.


Creating an OpenSearch Provider

4Guys From Rolla wrote a nice article titled "Helping Visitors Search Your Site By Creating an OpenSearch Provider". Scott Hanselman of Computer Zen also blogged about this a few days ago on his post named "Adding OpenSearch to your website and getting in the Browser's Search Box".

One of the nicest features of modern browsers like Mozilla Firefox and Microsoft Internet Explorer is the search bar in the upper right corner. With this tool you can quickly search any number of websites without having to first visit their search page.

-- Scott Mitchell, 4 Guys From Rolla .com