Archive for May, 2011

Windows 8

Mary-Jo Foley reports that Windows 8 ARM won’t run legacy applications, and Windows 8 x86/x64 will run legacy apps through a “Windows 7 Mode”.


James also told shareholder meeting participants, as The Register reported, that there will be two classes of Windows 8 PCs: Ones running x86/x64 chips that will be able to run legacy applications, and ones running ARM processors that will not. The x86/x64 version will include a Windows 7 mode, she said, that will enable this legacy-app support

This could mean great things for “Windows 8 approved” applications, as MS could pull out a lot of the legacy support in Windows. There are things in the win32 API that have been there since Windows NT 3.1 way back in 1993. Pulling those out could make startup, shutdown, application loading, and general UI responsiveness much faster. Of course, this requires developers to get on board with making their apps “Windows 8 ready”, but I don’t think that will be a problem for most of them. And if they’re made available in the rumored Windows App Store, then users will have an easy time finding them. I wonder if MS will require the rumored “AppX” framework to be used, or if any old win32 app can be upgraded.


Case sensitivity in code

May 17, 2011 1 comment

Another thing that VB has spoiled me with is its case-insensitivity. I’m working on a small project in C# and I’ve had to retype almost every method call because I never hit the shift key. Is there a real argument to having a case-sensitive language? Do I really want to be able to have two different objects called object1 and Object1? Talk about confusing!

I think VB has an undeserved bad reputation.

Dabbling in C#

May 14, 2011 3 comments

So I’ve been strictly VB since starting at Lancaster Labs five years ago. Some of that must have worn off because I’m finding C# a little odd. What’s up with the code needed to wire up an event? VB is definitely easier for this.



Public Event SomeEvent(sender as Object, e as EventArgs)

Public Sub DoSomething()

RaiseEvent SomeEvent(Me, EventArgs.Empty)

End Sub



public event SomeEvent(Object sender, EventArgs e);

public void DoSomething()




private void OnSomeEvent()


if (SomeEvent != null)

SomeEvent(this, EventArgs.Empty);



Same result in the end, but which is more readable? I think the VB.

So that’s how it works…

Just read a nice blog entry by Joel Spolsky on character encoding.

Flyers off-season moves

The Flyers looked like they couldn’t win the Calder Cup in the playoffs this year, so here’s what they need to do.

1. Trade Carter for a starting goalie. Carter is great during the season, but disappears during the playoffs. He should bring enough attention to get a game-stealing goalie. It would also give Bobrovsky another season to really mature into the great goalie that he has the potential to become.

2. Take the captaincy from Richards. Similar to Lindros, he’s a good player, and a physical player, but he’s not a leader. Who to give it to? Some might say Pronger, but I’m going to go out on a limb and say give the C to Carcillo. That man plays with fire every game and seems like he’d be a great motivator in the locker room.

3. Put Zherdev on the first line and put him on the power play. He toughened up his game during the playoffs and he has the potential to be a 50-goal scorer during the season.

4. Trade Hartnell for a bag of pucks. He’s slow, he falls a lot, and he can’t hit the net.

5. Make Ian LaPerriere the defense coach. I saw nobody going down to block shots this playoffs. Ian lost his career to blocking shots. The defense needs someone to motivate them into performing better.

6. Trade Leighton. His back is injured, he lets in soft goals, and having four goalies is ridiculous. Maybe get some draft picks for him so the Phantoms can climb out of the bottom of the AHL.

7. Make a decision on Backlund. I feel sorry for the guy.

8. Make a decision on Boucher. With Bob and unknown #1, the Flyers have nowhere to play him. He’s a great guy and deserves to play somewhere.

Categories: Sports