The World According to Marc
-
.NET Logging Framework
A few days ago I made mention of a .NET Logging Framework I had been using (and still am, and still loving).
There was one small change that needed to be made to the source in order to compile it under .NET 1.1. There is a warning generated by LogSocketReader.cs about an obsolete TcpListener method call (@line 164). I figured I’d just post the code fix here and save someone 10 minutes looking for the solution.
The fix is to change the call to:
System.Net.IPAddress ipAddress = System.Net.Dns.Resolve("localhost").AddressList[0];
TcpListener = new TcpListener(ipAddress, Port);
-
Tom Brady
The best QB in football might not have made it to the Pro Bowl, but he did get invited to the State of the Union.
-
Logging
I was poking around for a logging framework today. I wanted something very easy to use. Anything too difficult and people would just revert to Debug.WriteLine and MessageBox debugging pretty quickly. The idea here is to make it so painless that using the logging framework would be every easier than the normal methods.
I looked at log4net but my head began hurting within moments. It looked very flexible, but it was just too much work to implement and use. I’m not saying it was insurmountable, but it was more complex than I wanted.
What I ended up using is the .NET Logging Framework from TheObjectGuy. It was very simple to setup, even easier to use. I don’t think it is quite as flexible as log4net, but it does everything I needed (and more). Within minutes I had it logging my application to the Event Log, Email, and outputting a .log file.
The documentation on the other hand was a bit sparse. Nothing too bad, but it could/should be a lot better than it is. And there isn’t a single sample of how to use it (the only sample is a log reader, not something I really care about). It is simple enough however that these two issues don’t really impede very much.
-
Install on Demand
Can we please put a stop to this Install on Demand madness? I know it is very cool that it will install some template only when I need it. I understand that this is very slick. I get it. But please stop it!
Every time I start Visio 2003 it asks me for the CD-ROM. I have no idea why, but it wants it. The problem isn’t that I lack the CD, it is that I have too many of them (MSDN, Action Pack, Retail…). And not one of them has the damn file this thing wants. The best part is that if I click “Cancel” it loads Visio anyway. If this file is so damn important than how does it run at all? It acts like my 2 year old, passionately demanding something that it has absolutely no need for. And sometimes, also like my 2 year old, it needs to be told “no” (or in this case, “cancel”) multiple times before it gets the point.
Hard drive space is cheep guys. This technology may be cool but you are 5 years late bringing it to the table. With the price of disk space these days, just let me install the whole damn thing and leave me be already!
I need to find a wall to bang my head against…
-
Houston, Here We Come!
-
Vault 2.0 Beta Released
I tossed on my “Reckless Early Adopter” hat today and put up the beta release of Vault 2.0 into our live environment.
The biggest change from my perspective is the much improved Diff/Merge utility. Within an hour we had a merge issue that under the old version would have produced immense headaches. It had really reached a point around here that the term “Needs Merge” would strike terror though our collective hearts. But with 2.0 we were able to merge the files together in seconds. It was so easy in fact that it almost felt like I was cheating.
The other notable change is web based access to the repository. This isn’t much of an issue for us as we are still in development. But once we release we expect our top-tear support staff will really get a lot of use out of it. And it also gives non-developers access to design documents that we keep under source code control.
Overall, I’m extremely pleased with the new version. If you don’t have source code control, or are looking to change SCC providers, then you really should check out Vault. The only negative thing I can say about SourceGear is they are destroying my perfectly good and strongly held cynical view of development tool companies.
If you’re interested in trying out Vault 2.0, read this post on Vault’s support forum. One word of caution however; even though I have had no issues so far, it is still very much in beta. Use in production with extreme caution.
-
Patriots Sold Out
-7 degrees Fahrenheit and the Patriots still sell out? Man, I live around crazy people up here!
Oh course if anyone has a ticket to spare I'll be more than happy to be insane along with them.
-
Usability Professionals' Association
If you are interested in usability then UPA is worth a look. It is full of valuable information on why usability matters in software design and how to improve it.
The UPA supports those who promote and advance the development of usable products, reaching out to people who act as advocates for usability and the user experience. Members come from across the broad family of disciplines that create the user experience. We invite you to network in our community.
[from UPA's web site]There is a lot of information there. I'm still going though it myself.
-
Usability FAQ
There is a pretty well written FAQ on software usability and its benefits over at UserDesign. Oddly enough I find the site to be pretty difficult to navigate.
-
Uprooting Trees
There was an interesting post to a thread over at Joel on Software today.
Software must be one of the few endeavors where the art of creative destruction is neglected.
Landscapers uproot dead trees; architects remove walls; civil engineers tear down old bridges. Even acorns have to rot before they can germinate and grow into a trees. But programmers are loathe to clean up after themselves. They'll rarely remove an old, obsolete, or wrong feature because, Lord forbid, a customer may complain. After all, it doesn't hurt to leave it in, does it?
Well, no, it wreaks havoc on your UI. New users will reject your clunky old app. "What's with all this cruft? This app makes no sense!"Alyosha`
Friday, January 09, 2004I think Alyosha is quite right. Too often we find features lingering in software (specifically commercial software and even more so in vertical software) that should be either rolled into other functions (i.e. feature consolidation) or removed entirely.
This is something we have struggled with ourselves for the last few years. And while I’m proud to say we have uprooted our share of trees, not all of them were good decisions. Determining how much use any one feature gets from end-users is very difficult and near impossible with widely distributed commercial applications. And lets just say I’ve had my fair share of rude awakenings when a version goes into beta.