Jeff Key

It works on my machine

Sponsors

My Job

My stuff

Old stuff

Useful Stuff

January 2005 - Posts

Windows Compute Cluster Edition supports x64 only
The past few months have been very interesting for 64-bit Windows. First, Microsoft decides that XP Pro 64 will only support x64, and now Windows Compute Cluster Edition will RTM with only x64 support. The former was a surprise, but not entirely unexpected, considering that Itanium's place is in a rack and not a desktop. The cluster news is borderline shocking. I can't wait to see what's next.
Posted: Jan 24 2005, 06:27 PM by jeffreykey | with no comments
Filed under:
Favorite Visual Studio 2005 feature of the day
I've had a lousy week, so I thought I'd spend a bit of time in VS 2005 to boost my spirits[1]. I haven't done much in it since the early CTPs, and things have come a long way. I'm incredibly happy to see that a number of improvements center around simple time-savers. One of the first ones I ran into was this:

Context menus on controls in the designer list all of their ancestors.

Can I get a "heck yea"?

Clicking on ancestor controls can be a real pain sometimes. The property browser's dropdown is helpful, but you need to have good names, otherwise you need to figure out if you're looking for "groupBox8" or "groupBox12". The context menu below is for a TextBox in groupBox3, which is in Panel2 of bottomSplitter and so on.




[1] To cap it off, I had a rather lengthy widom teeth pulling session today and the painkillers they gave me are only killing the pain. What's up with that?
Accessibility Domains and you
Sometimes I forget nested type accessibility rules (can containing classes access private members of the nested types?). I recently stumbled upon a nice reference:

C# Language Specs: 3.5.2 Accessibility domains

Included is a great little example at the bottom that serves as a nice quick reference:

In the example

public class A
{
public static int X;
internal static int Y;
private static int Z;
}
internal class B
{
public static int X;
internal static int Y;
private static int Z;

public class C
{
public static int X;
internal static int Y;
private static int Z;
}

private class D
{
public static int X;
internal static int Y;
private static int Z;
}
}

the classes and members have the following accessibility domains:

  • The accessibility domain of A and A.X is unlimited.
  • The accessibility domain of A.Y, B, B.X, B.Y, B.C, B.C.X, and B.C.Y is the program text of the containing program.
  • The accessibility domain of A.Z is the program text of A.
  • The accessibility domain of B.Z and B.D is the program text of B, including the program text of B.C and B.D.
  • The accessibility domain of B.D.X and B.D.Y is the program text of B, including the program text of B.C and B.D.
  • The accessibility domain of B.D.Z is the program text of B.D.

Posted: Jan 15 2005, 12:54 PM by jeffreykey | with 2 comment(s)
Filed under:
Coolest ticket selector ever
I don't know how many times I've blindly purchased seats in theaters I've never been to after failing to make sense of the convoluted seating charts. The Chicago Symphony Orchestra's implementation is fantastic: The view of the seats from the stage, and it shows the view from a section when you hover over it.




After picking the section, it shows you the seats in the section. Pick from the available seats and you're done. Bravo!

Posted: Jan 13 2005, 05:48 PM by jeffreykey | with 3 comment(s)
Filed under:
More Posts « Previous page