Exceptions in .NET

Hunting for best practices info on creating custom exceptions, I came across a post titled Systems.Exception and System.ApplicationException. I found the article pretty useful, but the comments were even more enlightening.


Configuring multiple files in web.config

I was hunting for information on security settings in web.config files when I came across this link.  I had no idea you could pull external files into web.config. The first part of the article has a decent example for dealing with connection strings.


Battle on Teaching Evolution Sharpens

I first read about the Discovery Institute in a Wired magazine article last October. At the time, I considered the piece rather alarmist. Seeing this piece in the Post months later prompted me to consider the issue more fully. One quote from a minister in the story stands out:
A prominent effort is underway in Kansas, where the state Board of Education intends to revise teaching standards. That would be progress, Southern Baptist minister Terry Fox said, because "most people in Kansas don't think we came from monkeys."

This is entirely the wrong reason to revise teaching standards. Even though I'm a Christian, and have faith that God created everything, the idea that what gets taught in science class should be decided by majority rule is a disturbing one. The intent is not to create better students, or develop their critical thinking skills, but to use political power to impose beliefs. When Christians get into these battles over what should be taught, it seems to me that faith is left out of the equation. For all the doubts that Terry Fox and others have about evolution, the proposition that God created heaven and earth is even more difficult to prove. I'm not even sure that such a thing should be provable, otherwise, what need would we have for faith? People who pursue these kinds of curriculum changes seem not to understand that science and theology have fundamentally different goals.

This quote from a mother in Wichita, Kansas was interesting:
"If students only have one thing to consider, one option, that's really more brainwashing," said Duckett, who sent her children to Christian schools because of her frustration. Students should be exposed to the Big Bang, evolution, intelligent design "and, beyond that, any other belief that a kid in class has. It should all be okay."

Beyond the feeling of some people who aren't Christians that Christian schools are a form of brainwashing, there are other problems with her statement. Schools don't have infinite amounts of time to teach any idea that comes down the pike about the origins of life. Our schools need to teach the things that will turn out thoughtful, functional individuals. Teaching a bunch of other stuff chosen by popular consensus (instead of validated through a process that imposes some objective standards) simply doesn't accomplish that goal.

The passage I found most disturbing in the piece was this one:
Fox -- pastor of the largest Southern Baptist church in the Midwest, drawing 6,000 worshipers a week to his Wichita church -- said the compromise is an important tactic. "The strategy this time is not to go for the whole enchilada. We're trying to be a little more subtle," he said.

It disappointed me that a pastor with this kind of following would openly acknowledge the intellectual dishonesty of his approach. If he wants creationism to be taught in school, he should spend his efforts building and supporting private Christian schools that will do it. This stealth approach of trying to force it into public schools is wrong. Christianity should not be compulsory.

I appreciate the approach of the Christian schools my parents sent me to from elementary school through high school. In each one, my classmates and I learned evolution in our science classes. We had Bible classes for learning about God, creation, and other theological issues. Before we could graduate from high school, we all had to take a course in world religions, so we wouldn't be ignorant of faith traditions outside our own. I think that sort of division is necessary and appropriate. Those classmates of mine who went on to graduate studies in biology and chemistry, medical school, and professional lab work or medical practice are great at what they do because of that division. It certainly hasn't made them less Christian, or less sure of their faith.

When I went to a public university, this kind of upbringing made me better able to share what I believe with others, made others more comfortable sharing their beliefs with me and asking me more about them. I didn't feel any pressure to compromise what I believed in (and still believe in). I wish more Christian schools would take that approach.

Fixing the C# IssueTracker SDK Beta

My boss wanted to use it to track issues with projects we develop internally and for clients. So I downloaded it, installed it, and began testing. So far, any problems we’ve had have been the result of missing database tables and/or stored procedures. What’s odd is that I’ve been able to find create commands for all the missing database objects in CreateDatabaseObjects.sql (located in ..ASP.NET Starter KitsIssueTrackerSetupDBScripts). I guess there’s something wrong with the script, because every other aspect of the setup seemed to work just fine.

Here’s a list of what I’ve had to add manually so far:

Tables

IssueTracker_IssueAttachments

Stored Procedures

IssueTracker_Project_CloneProject IssueTracker_IssueAttachment_GetIssueAttachmentsByIssueId IssueTracker_IssueAttachment_CreateNewIssueAttachment IssueTracker_IssueAttachment_GetIssueAttachmentById

I also replaced the query in the stored procedure IssueTracker_Issue_GetIssuesByProjectId with the query of the same name from the Access database. It referred to a view named IssueTracker_IssueStatus that wasn’t in the database or CreateDatabaseObjects.sql.

If you’re interested in trying out this application yourself, C# and VB.NET versions of it are available at asp.net.


Giant Steps, Animated

Came across this via Scobleizer (who came across it via Tim Bray). It's a recording of John Coltrane's "Giant Steps", with animation set to it. If you like jazz, the music is great. It makes the animation more interesting in the same way that soundtracks enhance movies.

"Free" Project Management Software

I was looking for information on the right way to modify the ASP.NET Issue Tracker starter kit to handle Windows Authentication. One of the things Google search returned was an app called Gemini that does a similar thing. Up to 10 people can use the version they offer for download before they start asking for money. Considering the way the current IssueTracker installation is behaving right now, I’m beginning to wish I’d found Gemini earlier.


Mac OS X Address Book

Once I got over trying to import a CSV file into it (silly me), getting contacts out of my Yahoo address book into the Mac was easy. I exported it as a Netscape address book. The Mac OS X Address Book imports those files (.ldif) very easily.

The mini has landed

The Mac mini I ordered online back in February finally arrived tonight. The only real problem I’ve encountered so far is that it had trouble detecting my Linksys router from upstairs. What I’m not certain of is whether this was because I had MAC address filtering enabled initially. Once I disabled that and set everything up closer to the wireless router, Internet access worked fine.

Software installs were very simple. For the most part, I’d just download a file and drag it to the applications folder. Very easy, very clean.

I still have plenty of configuration work left to do though. If the mini can’t access the Internet wirelessly from a distance, I may spring for an Airport Express to see if that will boost the signal enough. If I can get a DVI cable, Bluetooth keyboard and mouse for less than the Airport Express, it may be worth it to hook it up to my HDTV & stereo instead.

Networking it with my Win2K server will be another challenge.

Update: I moved the mini upstairs and turned everything on again. Now it’s connecting wirelessly with no trouble at all.


"Free" Project Management Software

I was looking for information on the right way to modify the ASP.NET Issue Tracker starter kit to handle Windows Authentication. One of the things Google search returned was an app called Gemini that does a similar thing. Up to 10 people can use the version they offer for download before they start asking for money. Considering the way the current IssueTracker installation is behaving right now, I’m beginning to wish I’d found Gemini earlier.


Why Your Broadband Sucks

A good column by Lawrence Lessig on a problem with Wi-Fi access in the U.S. In short, lobbyists are spending money to convince lawmakers to prevent municipal governments from competing with broadband providers instead of actually providing broadband. The really eye-opening stat in the piece is that our country is 13th in broadband deployment. Given how long it took me to get broadband initially, I can believe it.
When the free market is clearly not working in an area, government stepping in may not be a bad idea.

White House Turns Tables on Former American POWs

I came across this story late, but it has to be one of the most bizarre and sad stories I've read in awhile. It's worth subscribing to the LA Times website to read the whole thing, but in summary, this is what's happening:

2002: 17 POWs from the 1991 Gulf War filed a lawsuit against Iraq for the torture they endured from Iraq troops at the now infamous Abu Ghraib. They're allowed to do this by the Anti-Terrorism Act of 1996.

2003: Judge Richard W. Roberts awards them $653 million in compensatory damages and $306 million in punitive damages.

Soon after this, the Bush administration argues the case should be thrown out. Why? Reasons include:
--President Bush had voided such claims against Iraq because of the current occupation
--This Scott McClellan quote: "These resources are required for the urgent national security needs of rebuilding Iraq."

When the case goes to the US Court of Appeals for the DC circuit, the 3 judges ruled unanimously for the Bush administration and throw out the lawsuit. The case is now before the Supreme Court.


For their sakes, I only hope that the Supreme Court has far more sense than the government on this case.

More Mac mini Ideas

1. Make it a low-cost recording studio.

2. Make it a media center.

I've already got a digital piano at home, so I'll probably try option 1 first. After reading the article, option 2 sounds like a whole lot of work.

Someone already thought of the mini Beowulf cluster idea.

Howard Dean: DNC Chairman

Even though I haven't been a registered Democrat for some time now (switched to independent 5+ years ago), I'm very interested in this turn of events. I hope it means that we'll actually have a two-party system again, instead of a party-and-a-half like we've had for awhile. How he'll play in the South is anybody's guess, but I think a lot of his views will turn out to be more moderate than people expect.

Cult of the Mac Membership++

About half an hour ago, I purchased a Mac mini. If you've read anything in the press about the "iPod halo effect", I'm one of those buyers. Before buying my first iPod in 2003, I hadn't spent a penny on anything from Apple. I was (and still am) a PC user. I still make a living designing and developing software for Windows. I'd barely used Apple machines at all outside of designing yearbook layouts for my high school in 1991 and on occasion during college. But my experience with the iPod has been so positive, when they announced that they would start selling a "headless" Mac, I knew I would buy one. Today just happened to be the day.

Here are the specs: Mac mini 1.42Ghz processor Bluetooth + AirPort Extreme Card 80GB Ultra ATA drive 4x SuperDrive 56k v.92 Modem 1GB DDR333 SDRAM

I bought AppleCare for it as well.

If you’re a Mac veteran, I welcome any tips and advice you have to share.


Gmail Invite Anyone?

Google recently dumped 50 each on current members. I plan to donate some to our troops overseas, but I'll give away one to the first 35 people who e-mail slawrence@gmail.com and request one.

Blog Mapping

I across a Scobleizer post about this and thought I'd give it a try:

my blogmap

An interesting use of MapPoint to say the least.

Three Paper Town?

To the Washington Post and the Washington Times we can add another paper: The Washington Examiner. In this age of the Web, blogs and other forms of electronic media, starting a print newspaper seems an odd choice. From my time as a technology intern at the Washington Post, I remember stories from bosses about how DC used to have four newspapers. The Washington Star was the one they remembered most, since a number of them worked there before it closed up shop in 1981.

From this column by Dave Matsio, it sounds like they want to do something a little different with their opinion pages.

The rest of their website looks pretty well done. We'll have to wait and see if the writing is good. It would be nice if they got lucky and broke an important story or two before the larger papers.

Solution Spheres: How To: turn your Mac mini into a Media Center PC

Some very interesting ideas on what you can do with a Mac mini.

Yahoo! News - NFL Game Broadcasts Coming to iPods

Interesting news for current and future members of the cult of iPod (I'm in the former category). I wouldn't expect to be a huge moneymaker for Audible. Maybe they intend it as a "wedge" purchase to get people interested in buying more expensive audiobooks. It is a nice option for fans who don't live where their favorite teams play.

Forbes.com: When IPod Sales Run Out Of Steam

Not exactly a doom-and-gloom piece for Apple, but it does project a time when the gap between the iPod and other digital music players has narrowed. The only idea that really jumps out in this piece as wrong is the idea that Apple will only be able to compete on price once the gap has narrowed sufficiently.

If there's anything that Apple's history proves, it's that they rarely compete on price. Even with the new mini, it's low cost is only relative to other Apple products. That said, I'm still planning to buy one. Yes, I'm one of those PC users who got caught by the iPod "halo effect" that's been written about elsewhere in the press.