Vista
Something to know about the new Hyper-V beta
Just installed the new Windows Server 2008 RC1 with Hyper-V beta and, after adding the Hyper-V role, created a new virtual machine. Trying to start this machine gave a message that the hypervisor was not started. This is not uncommon but is almost always the result of either having a host CPU that doesn’t support hardware-assisted virtualization or hardware-assisted data execution protection (DEP) or having these features turned off in the BIOS.
Not so in my case. The hypervisor kept failing to start giving some ominous error that its internal logic had failed. After some poking around I noticed that I had a mass storage controller that did not have a driver installed and was not functioning. It was my SATA controller and since my system was operating in IDE mode was essentially not being used. Still, I disabled the controller and restarted the system.
This time the hypervisor started up correctly and I was able to install the VM. Just a little FYI. If your hypervisor fails to start, make sure your host hardware is all setup and working correctly.
Vista SP1 RC1 installed
The system seems faster to me but then again I don’t have alot running right now. It just seems more responsive. We’ll see how it goes with network file copies, etc. I haven’t measured boot time just yet but it wasn’t really a problem before so I can’t imagine it’s a problem now.
Install took less than the 1 hour warning although not my much. Maybe 35-45 minutes including the reboot-applying updates cycle.
NCover 2 on Vista
For those of you who are using the new NCover 2 on Vista there is something you need to be aware of. The installer runs the registration wizard at the end of the installation but does not run it elevated. The wizard accepts your key and gives you a successful registration message but any attempt to run any of the binaries will fail with a ‘not registered’ message.
To solve this, just run the NCover registration wizard as administrator. All components of NCover should work once this is done.
KISS #5
This will be my last entry for a few days (probably more like a week). I’m the scoutmaster of troop 440 and we’re attending summer camp next week so I will not have much time available to email and blogging. However, KISS #5 happened last night while I was activating my kids Vista computer.
The whole idea is that any message, error or otherwise, needs to be understandable by the average user. This is the main reason why Linux will not get any serious traction on the desktop. The gear heads that use it can’t stand to dumb down the interface of their baby and the current Linux desktop experience is just to complex. If the user has to know what a swap partition is or that a file named ifconfig even exists, then it’s too complex. But I digress.
So last night Katie (my daughter) tells me that her computer is broken. Thinking that’s odd since I just built it, I asked her what it’s doing. She says it’s telling her that she needs to activate it. No problem. I go upstairs and activate the computer (activation might be a KISS entry at some point but not this time). While I’m there I see an icon for Age of Mythology on her desktop. That’s a terrific game that my son plays on the same computer. Knowing that she never plays it and the icon was placed there because the game did an ‘all users’ install, I drag the icon to the trash.
Bam! Kiss, right on the mouth.
Let’s skip past the fact that it stupidly asked me if I really wanted to throw it away and fast forward to the next dialog which was a UAC prompt asking for my password. Huh? I’m logged in as Katie, looking at Katie’s desktop, and throwing away an icon that is sitting on Katie’s desktop. And I’m not allowed to do it. How in the world can my 11-year old understand this kind of crap. It’s hard enough to get her to understand why I had to move Sims into her profile directory to get it to run (it was attempting to write back to the program files folder).
This utterly ridiculous. I realize that the game ran as admin and therefore the icons created by it are owned by admin however a user should have complete and total control over their own desktop. If I want to throw away something sitting on my own desktop, Vista should have nothing to say about that.
And that, my friends, is KISS #5. See you next week.
KISS #4
This is really too easy. Finding stupid and idiotic things about Vista is really just too easy. This installment is not about any type of GUI but rather with the lack of secure inter-machine remoting capability.
Here at MySQL we have several Windows virtual machines setup to perform builds and tests of both our server code and our connectors. Our builds are automated to be sure but our build engineers still need to “shell” into a remote box to perform some functions. As any reasonable group would, we use ssh authentication for both our Linux and Windows boxes. The problem, of course, is that no edition of Windows has shipped with a secure shell server or client. Our build team is left with only a few alternatives and they have chosen to install cygwin on the Windows boxes. Considering that cygwin has only recently become stable on 64 bit systems, this was shaky at best.
Now I realize that ssh networking is cutting edge technology <grin>, but Microsoft either doesn’t realize that no one is using telnet anymore or they are delusional enough to think that no one really needs to shell to a remote command prompt. Either way, it’s KISS #4. Here’s to you, Microsoft. Keeping it simply stupid.
KISS #3
So Vista has this “great” new feature called UAC which allows a user to run as a standard user until he or she needs elevated permissions at which point the system will prompt either for an administrator’s password or for your consent if you are already an administrator. Everyone seems to generally hate it but we seem to be stuck with it. In any case, that’s not what this post is about.
Those of you who are software developers know that we often need to set environment variables for ourselves. We use BitKeeper for source control so I need a BK_USER environment variable. I also often need to add things to my path. So what could be wrong with this? Oh, let me count the ways.
First, environment variables for the currently logged on user are not properties of the computer. Computer properties would be computer name, description, performance settings, etc. However, the first way you get to the place where you can set environment variables is by right clicking on the computer icon and selecting properties. You can also get to it by going to your control panel and choosing the System and Maintenance area and then the System area.
Second, getting to the area where I can set my environment variables requires no less than 4 mouse clicks (assuming UAC is active) and one screen flash due to UAC. Nasty.
Third, because the area where we set environment settings is tucked inside a dialog that is also full of system wide settings, we must suffer through UAC just to set our own environment settings. Let me say that again. Your account must be elevated to administrator level to set your own environment settings. Keep It Simply Stupid.
KISS #2
Well, I’m already behind but managed to find time to get KISS entry #2 out. This is a fairly easy one and one that I’ve blogged about before. Consider this screenshot of my installed programs.
Applying the KISS principle to software installation (as Apple generally does) would mean that a single icon would indicate that a piece of software is installed and dragging that icon to the trash would either complete the uninstall or at least start the process. But, as we’ve already discovered, Microsoft believes in the secondary KISS meaning (Keep It Simply Stupid). The installation of Visual Studio 2005 does not produce a single icon but instead we get a whole series of things that are installed.
What in the heck is 64 bit Prerequisites? Sure, I know technically what it is but why on earth is it a separate item here (and please don’t give me some lame answer as it coming from a different group and being it’s own MSI). Am I really anticipating uninstalling or upgrading that item in isolation. I don’t think so. Microsoft treats this list as a hard list of actual components that are installed rather than a nice, user-friendly list of applications that are installed.
Microsoft could easily have made it possible to double click an application icon in this list and see a list of components that make it up. That list for VS 2005 might have included the prereqs, the remote debugger, the J# redist package, etc, etc. It’s really quite comical to read the setup instructions for new beta builds of Visual Studio and see that you have to remove previous beta bits in precisely the right order or things might not work right. The list of things you have to manually remove is huge.
The whole idea behind software package management is that you can at least attempt to remove any package and, if it succeeds, your system is still in a usable state. Try removing the 64 bit Prerequisites. It will genuinely attempt to uninstall even though doing so would leave Visual Studio still installed but crippled.
Simply stupid.
Apple understands – KISS #1
This is a post I’ve been thinking about for nearly a week. It started about the same time I downloaded Safari for Windows. I’ve never used Mac OS X for any extended period of time but I’ve tried to study how they develop their features. Coming from the Windows camp, I can tell you that neither Tiger nor Leopard really does much of anything that Vista doesn’t do. And I’m not the only one thinking this either. However, that really is not the point. It doesn’t matter how advanced a piece of software is; it only matters that the software does what the user expects and be easy to use. Both the designers and developers at Microsoft need to reread that last sentence again. Want some examples?
1) Take a look at this post by Scott Hanselman. I dare you to find any dialog box in Mac OS X that looks like this.
2) Take a look at these option pages from Safari and IE7.
I realize that IE7 has more capabilities than Safari (add-ons, etc) and thus more options, however this first page of each browser’s options dialog just shows the difference in thinking. The only thing I can do directly from this dialog in IE7 is set my home page. With Safari, I can do tons of things. I can set what browser is default, what search engine is default, what my home page is, where my downloads go, etc, etc. Microsoft shows a complete inability to try something radically new in user interface design.
It seems that Microsoft is just one letter away. Instead of Keep It Simple Stupid, they must think it stands for Keep It Simply Stupid. With that said, this post starts my 10 days of Microsoft UI stupidity.
It has to be intentional
I’m sitting here at the end of the MySQL Conference 2007 waiting for “Orcas” beta 1 to uninstall. Yes, I know I should have used a VM but that’s not the issue. The issue is that I’m missing a great closing keynote on Yahoo Pipes while I wait for setup to “generate setup script”. Folks, it’s been doing that for 30 minutes!
I’m running Vista Ultimate on this Inspiron 6000 but I know these absurdities are not limited to lower end hardware. I’ve got a dual-Opteron box at my house and uncompressing zip files is a joke. Right-clicking a 30 meg zip on my home system (SATA, 2 gig RAM, dual Opteron) often takes at least 10 minutes to tell me that the rest of the uncompress will take another 20. Enter 7-zip stage left and the same uncompress is done in about 90 seconds. I’ve code for almost 20 years and I can tell you that I would have to work very hard to write code this bad. It has to be intentional!
45 minutes – still generating setup script.
Before I left on this trip I needed to copy the Orcas ISO over to my laptop. Both machines are on my home network but the ISO is 5.5 gigs so I knew it would take some time. After showing me a “Calculating time required” dialog for nearly 1 hour the dialog simply vanished. No file copied, no error, no apology, no smoke afterward. Copying files on Vista is simply broken, whether it’s across a network or local. On many occasions I’ve emptied my recycle bin (that had only one item in it) and stared at a “Preparing to recycle” message for 20 minutes. Hello! I’m recycling a single 2k file and you have to think about it for 20 minutes. No wonder we’re the butt of the world’s joke.
55 minutes – still generating setup script.
Yes, Vista does some good things. Yes, the things I mention here can and will be fixed. But for now, my best advice to Vista users is to not copy files. *grin*
1 hour – finally got the script written. Now doing the uninstall.
Testing Windows Home Server
I was fortunate enough to be invited to beta test Windows Home server. This is the new Microsoft product that looks to provide centralized storage and backup for the ever-growing number of home networks. I have been too busy to do much with it so far but here’s what I can tell you so far.
- The connector will complain that it can’t install on Vista x64. To fix this, simply move the .DAT file that is on the connector cd to your desktop and change it’s extension to .MSI. Then, open an elevated command prompt and run the MSI file. It will install without trouble. I did notice some oddity about shared folders so I’m not guaranteeing that it works perfectly but so far it’s been ok here.
- At first it seems like a lot of noise about nothing when you see the shared folders appear on your desktop. I was thinking “crap, I can do that with XP”. Well, not so fast. These shared folders support a technology called Folder Duplication. This is like software RAID only much easier to setup. As you copy or modify files in that shared folder, WHS will make sure that a copy of you file exists on other physical drives in the computer. That way, if one disk goes down, you can just stick in a new disk and WHS will suck it into the disk pool. Not rocket surgery (thanks Jim!) but nice.
- It’s a stripped down build using the Windows Server 2003 code base. Things like the control panel are missing but you can install hard drives that are not part of the disk pool and you can install applications (though there is some concern that they might interfere with WHS). I installed a couple of printers, one of them a multi-function OfficeJet. I then proceeded to use the scanner wizard to scan in some photos.
- IIS is present so you can install a web site to view your photos or video while away from home. I really would like to see Microsoft include a default web site with gallery functionality with the final product.