Wednesday, June 09, 2004

One of the guys in my user group is hoping to share a room at DevTeach. If anyone has a room and is looking to split the cost in half, just comment on this post.

Wednesday, June 09, 2004 6:28:39 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

With the ongoing debate between UML-types and XP-types, does anybody think, as I do, that by introducing Whitehorse which (from my limited experience with modelling - so I could be misinterpreting it) embeds modelling into Visual Studio and introducing Team System which (from my limited experience with XP since I work alone) embeds XP practices into Visual Studio, that Microsoft is now catering to both types of programmers? Which of course is the safe and smart thing to do, rather than tout one practice over the other.

Wednesday, June 09, 2004 10:56:09 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

So you're in the locker room (let's say you're a guy and it's the men's locker room). There's sweaty Steve Ballmer standing 6 feet away getting ready to take a shower. You are the only two guys in the locker room.

What do you do?

Ignore him?
Say “hey, pretty impressive lifting I saw you doing out there, dude”? (well, you might want to skip the “dude“ part...)
Ask him why the hell there are so many different image editing applications from MS?
Tell him you think it's time you got a g*-d* raise?

Luckily a quandry I'll never be in. But if you're Duncan Mackenzie (or some other MS employee working out at the corporate gym), you definitely have to worry about stuff like this. Read what Duncan has to say on the topic.

Wednesday, June 09, 2004 9:56:58 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

via Sonu Kapoor-

“US Patent No. 6,748,582, granted and assigned on Tuesday to Microsoft, covers the use of a "task list" in a software-development environment.”

Here's the article

Wednesday, June 09, 2004 8:22:56 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Tuesday, June 08, 2004

It seems like that sometimes, doesn't it! Well, here finally is the Smart Client Developer Center on MSDN. It took Microsoft a long time to come to this definition of Smart Client and it looks like they're stickin' with it! See if you can define Smart Client before going to look at their definition. If you are close then they are getting the message out properly now.

Tuesday, June 08, 2004 9:30:14 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Evan Feldman just started a blog and already jumps into the deep end to address a big question we all have about TabletPC's - who the heck is their target market. He has an explanation of what they are thinking over there in the TabletPC hallways of Microsoft and sums it up with this interesting statement:

those who are evaluating Tablet’s today aren’t necessarily the target user and thus don’t see the value and promise in the platform, but instead are looking towards all the cool things that the technology could do rather than the simple and mundane tasks that it actually enhances.

I think I'm going to add that quote to my deck for my tablet pc talk at DevTeach.

Evan, by the way, is now a user research manager for the Mobile PC Team  but he started the user research group for Tablet PC and says that his “charter is to understand the needs, usefulness and usability.“

Tuesday, June 08, 2004 9:21:27 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Clemens scooped it!

Kimberly Tripp's blog went live today and it already has a bunch of great content! It looks like she has finally buckled under the pressure! Her first post - “I can't not blog anymore“ - says it all.

Tuesday, June 08, 2004 9:08:17 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Scott Watermasysk writes about the using statement in VB.NET Whidbey pointing out that “using ... end using” will also immediately dispose of the resource you created with “using”.

Brand spanking new concept to me - since I have not even used enough C# to know that it already exists there (which I figured out *after* I read Scott's post).

This makes me realize that I need to understand dispose a lot better than I do because outside of explicitly closing ado.net connections (in cases where they are not implicilty called - as in a datadapter.fill), I don't really call Dispose outside of my infrequent work with unmanaged resources.

So google this: “when to call dispose .net” and you will find all kinds of msdn articles (this one is for interop though which is not so novel), interesting posts by Paul Wilson, Patrick Steele (who basically constructed the using construct all by himself in vb.net!) and others, articles on Code Project and more.

Tuesday, June 08, 2004 8:55:51 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

When I initially proposed a Design Considerations for Tablet PC Development talk for DevTeach, I did not realize that it would be the only TabletPC talk for the whole conference.

But since it is, I have shifted the focus to more coding against the TabletPC SDK. I will still spend some time talking about Why Tablets? Why develop with the SDK? and Design Considerations. But the bulk of my presentation will now be looking at what is in the SDK, what you can do with it and how.

Tuesday, June 08, 2004 2:07:41 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Ziff Davis' DevSource is having a great Utility Programming contest with a grand prize of a trip to VSLIve NY. The contest entries have until June 11th to be submitted.

Here is a description of the contest

Ziff Davis Internet challenges you to write a software utility that runs on a current Windows operating system. Your utility should help simplify, automate, secure, and streamline one's PC experience.

The utility can do nearly anything you like, though we'll give extra attention to software that does something especially useful, elegant, and innovative. We want to hear from you!

Esther Schindler, a writer who is working with DevSource, noted that so far not one of the entries was written by a female developer. Why is that? Are utilities too geeky for chicks? We just thought it was a curious thing.

Tuesday, June 08, 2004 2:01:36 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Rich Turner from the Indigo team is here with his arms waving and feet stomping to attempt to stop the spread of the malformed idea that the push of SO means the death of OO.

OO is *absolutely* relevant, useful, valuable, important, vital and positively NOT deprecated and obsolete. I don’t know where this message came from, but it is NOT true. 

He points out the problems with OO and explains that SO complements OO.

Read more here

Tuesday, June 08, 2004 12:46:54 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Mike Gunderloy shares a pretty unpleasant tech support experience with Compaq that was enough to render him a permanent non-customer of HP and Compaq. Recently Dell pulled a good chunk of it's outsourced tech support back into the U.S. where they could have more control over it. From Mike's posting, it sounds like Compaq could benefit from the same move.

Tuesday, June 08, 2004 12:08:53 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Dave comes up with a very interesting theory on the developers who have written the auto-check out programs for grocery stores.

Tuesday, June 08, 2004 11:11:50 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I just ordered some memory from Crucial. The chips were $259 each. I selected 2, filled out my billing and shipping info and then when I looked at my shopping cart, the price of the chips was suddenly $23 less for each chip. I opened up the site in a new browser window, drilled into the same memory, and indeed, the prices had just been dropped! (I actually asked them what had happened.) Lucky me by 5 minutes!

Tuesday, June 08, 2004 10:00:46 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

One of the drawbacks when buying a new computer is paying for an operating system that you already own. Dell has a series called the “N” series that they really devised for Linux, etc. users but is a great option for people who already own an OS. I just ordered an OptiPlex this way. I only ordered it with the base 128MB of RAM though since it is a lot cheaper to buy my memory from Crucial.com.

Tuesday, June 08, 2004 9:27:46 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Monday, June 07, 2004
Monday, June 07, 2004 8:35:02 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Brian Dear was approached by an editor/publisher/whetever of the San Diego Reader about publishing a straight months' worth of his blogs as an article. It is coming out soon. Here's how it happened...

Monday, June 07, 2004 5:37:41 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Because I had to write a DistinctRows function last night, today I looked at the May bits of VS2005 to see if they had addressed this really obvious need, and indeed they did! Hooray hoorah!

OverLoads Public Function ToTable( _
 ByVal distinct As Boolean, _
 ByVal columnNames() As String _
) As DataTable

Here's the quick hack I wrote last night if you want to use it. It sorts the table on the keyfield then walks through it grabbing every row where the value of the key field changes and stuffing it into a new datatable that is returned. No rocket science. Just another one of those things I wonder why I had to write the code.

(note - the int32_key is in there as a reminder in case I need to create another one for non-int keys)

Public Function DistinctRows_Int32_Key(ByVal dt As DataTable, ByVal keyfield As String) As DataTable
  
Dim newTable As DataTable = dt.Clone
  
Dim keyval As Int32 = 0
  
Dim dv As DataView = dt.DefaultView
  
dv.Sort = keyfield
  
If dt.Rows.Count > 0 Then
    
For Each dr As DataRow In dt.Rows
     
If Not dr.Item(keyfield) = keyval Then
       
newTable.ImportRow(dr)
       
keyval = dr.Item(keyfield)
     
End If
   
Next
 
Else
   
newTable = dt.Clone
 
End If
 
Return newTable
End Function

Monday, June 07, 2004 1:31:18 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

At Sea World, there were 3 caricature artists lined up doing drawings of people. Each artist had a very different style. For example, Steele Price got the “Hollywood movie star” artist. I sat for a pic with Renee Rieser and we got the artist that every politician fears - well, thank goodness we don't have big ears. We got the “exaggerate everything” artist. I have never been unaware that I have a large nose... but those teeth and that little dangling chin! LOL! Well, I guess I smile a lot. Anyway, Renee and I are reversed when standing with the pic (and the artist who is holding it). The drawing on the left is Renee and the one on the right is [supposedly] me :-)

Monday, June 07, 2004 8:02:42 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
Monday, June 07, 2004 7:33:20 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  |