My Adventures in Blogging

Thursday, May 04, 2006
Resharper 2.0
I’ve been trying the Resharper 2.0 beta at home, in order to present it to my study group. I’m currently using Resharper 1.5 at work, and have become very dependent on it. The refactoring and cross reference features are fantastic, better than what’s built into VS 2003 (at least the cross reference features. It’s easy to be better for refactoring since VS 2003 has nothing there).
Resharper 2.0 add tons of new features, including a “Test Driven” style unit test runner built into VS (who needs Team System
). I highly recommend the tool; anyone using VS for .NET development should look into it. You can find it at http://www.jetbrains.com/resharper/.
5/4/2006 9:02:53 AM (Pacific Daylight Time, UTC-07:00)
development

Wednesday, May 03, 2006
Star Spangled Banner Nonsense
I can’t believe that I’m writing about this. Up until now, I’ve ignored the whole “Star Spangled Banner sung in Spanish” pseudo-controversy, because its extremely dumb (knowing the history of the Star Spangled Banner itself).
But, since I’m reading other lame comments on the topic, I feel compelled to add my own.
The lyrics of Hawaii’s state song (state anthem, if you will) is in the Hawaiian language. This makes sense, especially since it was written by King Kalakaua (the Merry Monarch
) in 1874 and was the kingdom's anthem from 1874 to 1893. There’s also (several) English translations of the song, but (as far as I’m aware of) its always sung in the native Hawaiian. Is this “unamerican”? I don’t think so, and I doubt that any (rational) “natives” (that is “locals”) of Hawaii would think it was. It just makes sense that a place with a non-English tradition as long as Hawaii’s (a tradition that predates the United States of America) would have a non-English anthem.
I say if folks want to sing the Star Spangled Banner in Spanish, French, or Serbo-Croatian, let ‘em. After all, they’re singing our song (all of ours).
5/3/2006 5:46:31 PM (Pacific Daylight Time, UTC-07:00)
politics
Presidential one-two punch
That’s right: the category is “TV”. So, this is about those “great” presidents, Bartlet and Allen.
The ending of the West Wing is pretty bittersweet for me. At the start, this was a great series, one of the best on TV. But, it fell on hard times a few years back, and (from my thinking) never recovered from the firing of Aaron Sorkin, the creator of the show. Granted, the writing is still some of the best on TV, but its still a far cry from what it once was. And, I’m sorry, but Matt Santos was an embarrassment of a Presidential candidate. And Josh Lyman has no business either running a campaign or being chief of staff. It was pretty clear that Arnold Vinick was the better man for the job, and then he only lost because of a cheap “writing stunt” of a nuclear accident in his home state. At least Santos is shaping up to be a better President than he was a candidate; I guess he learned that from Bartlet. Josh is still a piece of work. The show keeps trouping people through that would obviously make a better Chief of Staff than him (heck, Donna would make a better Chief of Staff!), but because its the finale, the “story” has to end with him in that job I guess. On the one hand, I’m sad to see a good series end. On the other hand, I’m relieved that I won’t have to watch the train wreck that will be the Santos administration.
On a happier note, it looks like Commander in Chief will also be going bye-bye. Yay! Hooray!
Now, don’t get me wrong. I was looking forward to this show when I first heard about it. It has a great premise: First female President. Gains office through succession. Nice. It reminded me of an old movie, The Man, about the first black president, who gains the job through similar means (in his case, he was President Pro Tem of the Senate; we weren’t ready in those days for even a black Vice President). It had lots of potential. But, the producers of the show turned an interesting concept into a Good vs. Evil show where “Evil” equals “right wing” and “Good” equals “not right wing”. The show is basically a left-wing fantasy show that has very little in common with the real world. I’m soo glad that its going away.
5/3/2006 3:41:02 PM (Pacific Daylight Time, UTC-07:00)
TV

Tuesday, May 02, 2006
Here we go again
Microsoft Watch is reporting that the Gartner Group is postulating that the consumer edition of Vista will be delayed until Q2.
Now, first of all, I don’t think this will happen. For those fogeys out there that remember the Windows 95 launch, it was reported late in the game that Microsoft had huge memory problems with Windows 95 that would cause a significant delay, and that didn’t happen. Also, it’s pretty clear to me that the VS 2005 release should have been delayed until it was both stable and complete; it wasn’t (its still not either; I’m waiting for SP 1 due out this summer).
Secondly, I don’t think the average customer cares about Vista anyway.
But, I think the following will happen:
1. Microsoft will “make” their current “release date”. Quality will probably suffer, and maybe some features too, but it will be “released” in January 2007.
2. Due to the quality issues and missing features I mentioned above, Microsoft will get really horrible press over the release. Frankly, it would be next to impossible for MS to get good press. Let’s face it: the press enjoys a good MS-bashing article: it sells copies.
3. At some later date, MS will release SP1, which will be what they should’ve released in the first place. Consumers won’t care (except those unlucky folks who were stuck with the released Vista when they bought new computers), but the press will then gush all over Vista, saying what a great product it is and how everyone should move up to it.
Why do I think that this is how it will go? Because this is how it all went in the past.
5/2/2006 4:18:09 PM (Pacific Daylight Time, UTC-07:00)
technology

Monday, May 01, 2006
May Day
…
I just looked down at my desk calendar and noticed that today is “Early May Bank Holiday” in Ireland. So, “Happy Irish Early May Bank Holiday!” Boy, those Irish sure can name ‘em!
On a related note, as all Hawaiian school children know, May Day is Lei Day in Hawaii (this is a song that school age children get to / are forced to sing at Hawaiian school pageants. So, to all you readers, Happy May Day. May all your May Days be Lei Days
.
5/1/2006 10:42:17 AM (Pacific Daylight Time, UTC-07:00)
general

Wednesday, April 26, 2006
At Last!
I was all set today to (finally) send some e-mail to the OSCON (Open Source Convention) organizers, complaining about a lack of open source .NET coverage, and lo and behold, there’s a “Windows” track in this year’s conference. Not exactly what I wanted, and I don’t know how they can call it a “Windows” track when it includes two Mono sessions. Okay, yes, Mono does run on Windows, but come on; its a Linux technology. Microsoft does an adequate job of providing a .NET implementation for Windows; you might have heard of it.
Anyway, it looks like this year I’ll be attending OSCON, especially since it’s in Portland
…
4/26/2006 9:34:25 AM (Pacific Daylight Time, UTC-07:00)
development
Unit Tests, Code Coverage, Cruise Control, etc.
I don’t think that its any surprise to the folks that know me that I advocate unit testing. Two of the big problems involved in unit testing are: making sure that your tests are up to date, and making sure that you have adequate code coverage.
For C# developers, NUnit is a great resource for unit testing. Based upon the original JUnit test framework, NUnit has surpassed its parent in a lot of ways. Anyone doing professional programming in C# (or VB for that matter) should be using it.
To handle coverage, there’s NCover; also a great tool. Unfortunately, NCover’s results appear textually.
Well, this has now changed. There’s a new tool available called NCoverExplorer that provides a GUI front end to NCover. Version 1.3.3 even provides a way to add its coverage summary to Cruise Control’s web page.
As an aside, CruiseControl.NET is also a great tool. It provides continuous integration for .NET projects and works with both Subversion (for source control) and NAnt (for automated builds). It helps to solve the first problem mentioned above: making sure your tests are up to date. The way that CruiseControl.NET works, every time someone checks changes into Subversion, it gets those changes and automatically does a build. The build process can also include automatically running the suite of NUnit tests. Finally, it publishes the results to a web page. There’s also a monitor application that the developers can run locally so that they’re notified of the “health” of the build at all times. It’s amazing how much this helps to keep development on track.
To recap, here’s a list of tools that any professional C# developer should be using:
1. NUnit
2. NAnt
2. Subversion
3. CruiseControl.NET
4. NCover
5. NCoverExplorer
4/26/2006 9:11:40 AM (Pacific Daylight Time, UTC-07:00)
development

Tuesday, April 25, 2006
Microsoft does it again
Well, the folks that gave us such brilliant product names as Microsoft.NET (search for THAT on the internet) and Windows DNA (what the heck does that mean???) have decided in their infinite wisdom to rename the Monad shell to”Windows PowerShell”. What a stupid, stupid name. When will the powers that be at Microsoft wake up and realize that their marketing people are idiots?
4/25/2006 11:23:20 AM (Pacific Daylight Time, UTC-07:00)
technology

Friday, April 21, 2006
God
Lately, Scott Adams (of Dilbert) has been on a God/religion jag. His latest question/statement is (edited): do you believe in (1) Psychics? (2) God? (not a multiple choice, this is a two-parter.)
The Psychic thing I’ll leave alone.Scott seems to want to draw parallels between the two, and that just muddies the waters further.
As far as belief in God goes, this is an interesting conundrum. If someone believes in God, this is pretty straightforward. They say “yes, I believe in God, and here’s what I believe about God…”. Now, if someone says that they don’t believe in God, they then have to define what they don’t believe in. This generally goes something like “I don’t believe that God is an old, white man with a long flowing beard.” or “If a benevolent God exists, why is there so much strife in the world?”.
So, here’s the thing: what if we defined God to be “the force that causes the Earth to revolve around the Sun”. Now, who “believes” in God? Perhaps someone could argue that they don’t believe that this force is God, but then how is their opinion relevant when they’ve already said that they don’t believe in God?
So, the way I see it, people who believe in God have defined God in a believable (at least to themselves) way. People who don’t, have defined God as something not believable. So, its less about “belief” and more about definitions, and a “desire” to believe.
4/21/2006 9:52:15 AM (Pacific Daylight Time, UTC-07:00)
general

Wednesday, April 12, 2006
Looks like TiVo's not dead yet
As those of you who read this rag regularly should know, my original DVR maker, ReplayTV, is on the way out (they’ve announced that they won’t make hardware anymore but still are making software for Hauppage. sheesh).
TiVo just signed a 3 year extension to their deal with DirectTV. I suspect that DirectTV will end up owning the company, and folding their technology into the main company. That seems to be the trend in DVR’s now, providing them as part of service rather than as a 3rd party product. I’m now renting a Comcast DVR, and am fairly happy with it. Lots of nice features that ReplayTV didn’t have, though some are missing (no skip ahead, no way to say “just record this program on certain nights”, etc). But, by and large, I’m okay with it. And I know the non-technical people who have one, like my sister (except hers is from Time Warner), love them.
Wave of the future, baby.
Too bad ReplayTV pissed off the rest of the industry (with commercial skip) and so couldn’t forge the kind of deal that TiVo did with DirectTV.
4/12/2006 8:45:19 AM (Pacific Daylight Time, UTC-07:00)
TV