ScottGu Demos Upcoming MVC Framework for ASP.NET

In a recent gathering of the ALT.NET group, ScottGu gave a demo of the upcoming MVC framework for asp.net.

The article (and video) can be found here.

Lots of people in the ALT community have been working with asp.net and MVC by using one of the OS frameworks out there like Monorail, but I am glad to see that MS is not sitting around waiting on this issue.

Hopefully this will make testing even easier. 

SQL "NOT IN" Will Fail If The List Contains A Null

If you are using the NOT IN clause with a SQL Select statement with SQL Server it will not work if there is a null value in the list.  Say for example you want to do:

SELECT * FROM
Employees
Where
Employee.Id NOT IN
(
   Select EmployeeId from
   Salaries
   where Salary < 100000
)

If the inner select returns a null value then the outer select statement will return no rows.

To try it, just run these 2 SQL statments against any table in your DB.

-- will return rows
SELECT * FROM
sometable
WHERE ID NOT IN (1,2,3)

-- will return nothing
SELECT * FROM
sometable
WHERE ID NOT IN (1,2,3, null)

My Klipsch IPod speakers BRICKED MY IPHONE!

Klipsch iGroove speakers bricked my iphone
Ok so the other night I was working late, and thought to myself… hey, I have some new music on my iphone, why don’t I make use of my Klipsch iGroove speakers (as I had heard that most ipod accessories work with the iphone).

So I walked over to the speakers and dropped in my iphone. It fit perfect, as expected. I hit the power button… nothing. Ok, maybe I need to turn on the iphone. Nothing. Ok, maybe I need to hit the menu button… nothing.

I take the iphone out and try to power it up… nothing. I hold down each button for 10 seconds, and then try holding down both for 30 seconds. Nothing.

The iphone starts to get really really hot (almost too hot to hold) and I realize I am screwed.

So that is the bad part. The good part is that I was able to make an appt with the local Apple store within an hour, and they replaced my iphone with a new one.

So as stupid as it is that you could plug in an iphone into some ipod speakers and it would destroy the unit, it was nice that I was able to get a new phone as quickly as I did.

I will not be using any more ipod accessories with my iphone.

Good Lord… iTunes is a Terrible Piece Of Software

I am about 90% happy with my iPhone, but in order to sync it I have to use iTunes, so I have moved my podcasts and a small subset of my 450GB of mp3s into iTunes to sync it with the iPhone, and I just have to say…. what an awful piece of software.

I mean, it DOES a few things that are nice, like trying to find album art for you, but the usability of this piece of junk is about as bad as any piece of software I have ever used.

I won’t go into it, but it really ticks me off when I am trying to do something sooooo simple and it takes me 15 minutes of screwing around and a few trips to google in order to find a way to do it.

So, in conclusion, iTunes sucks.  Oh, and I hate pretty much all the software on my wife’s new Mac. 

That is all. 

patterns & practices Team Development with TFS Guide

From CodePlex:

patterns & practices Team Development with TFS Guide (Final Release)

Welcome to the patterns & practices Team Development with Visual Studio Team Foundation Server project site! This guide shows you how to make the most of Team Foundation Server. It starts with the end in mind, but shows you how to incrementally adopt TFS for your organization. It’s a collaborative effort between patterns & practices, Team System team members, and industry experts. This guide is related to our Visual Studio Team System Guidance Project.

TeamDevGuide.gif

Download the Guide

Final release is available! Start using the guide today, while we continue to make improvements.

Download the Diagrams

Download the Visio diagrams we used in the guide so that you can modify them and use them to document your own particular environment.