Thursday, February 19, 2009

VS .NET symbol issue with SP1

OK, there is a question on StackOverflow that I also have.  I’ve narrowed it down, but was a bit limited in what I can post about the problem.  So, here is a blog of the problem.

1) Symbol server set up properly


2) Symbols are being downloaded from MS successfully


3) The Symbol loads properly as shown by the snapshot from the Module view


4)  This is where it gets odd, notice I have 2 System.Windows.Forms trying to be loaded.  The one from the GAC fails.  But the one from my configured symbol directory shows as loaded.


5) Trying to Step Into System.Windows.Forms gives the traditional source code error


I’m assuming the the failed reference in the GAC is what is killing it.  If that is so, is there a way to clean that up?  Feel free to answer here, or directly on Stack Overflow.


Sunday, February 15, 2009

Windows 7 – Favorite Folders poor function design

This is a minor tip that was a little un-obvious to me for about a minute.  It shows that some capabilities in the system are just awkward as hell to use.  I wanted to add my mesh folders to my favorites.  In reality it is simple.  It just wasn’t obvious what was expected.  I actually had to read the pop-up carefully to figure out what it wanted me to do.


So, I did what I think %99.99 of the people will do the first time they try to do this, I only read “Add Location..” everything after that bit was blah, blah, blah.  If you look at the picture again, you will see that I have the Favorites entry highlighted.  What I got was a duplicate Favorites folder in my favorites folder.  So, after breathing a sigh of relief that the universe didn’t explode from the infinite self-referencing loop, I went back and read the menu item carefully.  What it really wants is for your current path to be set to the place you want to add to the Favorites.


Notice the path at the top is now at a folder I created called MESH.  Even though Favorites is highlighted in the browser window.

I doubt I’m alone in thinking that a browse to folder dialog was going to pop-up when I selected the “Add Location in Browser to Favorites” menu item.  You have to parse the menu sentence carefully to comprehend that it means “in this current browser window instance, go to some other folder, select it as the current folder, then scroll back up here and make sure you right click to so you don’t accidently change the folder location to one you don’t want to add.”

Like I said, it is a minor annoyance.  But, when there are 2394879234234 interface points and a lot of them act in non-obvious ways, uncertainty begins to get in the way of using the system.

Saturday, February 14, 2009

Intellisense vs Intellinonsense

99 times out of 100 I am a Visual Studio zealot.  IMO it has been hands down the best end to end IDE for ages.  Sure, it has bloated areas.  There a a million little quibbles.  There are the “less is more” people who argue for some of the more simplistic and light weight editors out there.  I have no problem with any of those arguments.  I’m simply saying that feature for feature, implementation for implementation VS pretty much gets it right.  And where it doesn’t the plug-in gurus take care of business.  VS typically makes it much simpler to implement challenging configurations.  And those previously mentioned plug-in guys make it simple to install and use plug-ins.  The result is a very, very friendly and helpful development process.

Here comes the HOWEVER… NetBeans has made major strides over the last year.  I mean MAJOR strides.  6.5 is really becoming, or I probably should say now is a great IDE experience.  And that brings us to the point of this post.  Javascript intellisense.  VS has been really weak in that area.  There is finally some rudimentary support for it now.  It takes a hotfix and a bunch of twiddly standing on one foot with a piece of tin foil sticking out of your left ear, waving your right hand counter-clockwise while holding your pinky thusly.  This is usually what I think of using the various Java IDE’s when it comes to trying to develop a J2EE app for the various web platforms out there.  It’s the programmers version of poking hot pokers in your eyes for fun and profit.

For the first time ever while using a Java oriented IDE I was truly floored by a simply awesome implementation a feature.  And that would be the Javascript intellisense in NetBeans.  This same setup may be in other java IDE’s, but I haven’t tried this in any of the others yet.  Anyhow, take a look at this snapshot:


There are so many little things here.  In the method signature line it lets us know very clearly which library the method/function is from.  In the doc pop-up at the bottom it tells us which browsers are supported!!  Notice the IE icon is grayed out.  That’s because none of the targeted versions of IE support this capability (supposedly, but that’s a different blog post).


In miscellaneous options you can target which browser versions you want to validate as well as set what version of JS you want to validate.  And the big key is, other than those check boxes, I didn’t have to configure a darn thing.  It just worked.

I know some of you out there are just fine with VI or EMACS and think intellisense is for sissies.  I bow to your superior gray matter validation and signature recognition system.  I however, can’t remember Jack s### or his brother Dave for that matter.  So, this kind of feature is absolute GOLD.

So, come on you VS brain trust dudes.  Let’s get Javascript support corrected in VS as soon a possible.

Monday, February 9, 2009

Windows 7 – Task Manager & Resource Monitor

IMO the Task Manager has been a pitiful and misused utility in the Windows OS series. The information provided on the various tabs was painfully inadequate to get anything other than the most rudimentary picture of the current state of the OS. The good people/person at SysInternals came along and provided, what I believe should have been the actual Task Manager, Process Explorer (not to mention a slew of other useful utilities, ok I mentioned it..).

Along came Vista and the Resource Monitor button on the Performance tab of the Task Manager


No need to picture it here, but the Vista version of the Resource Monitor was/is, hopefully this won’t be to technical for you, ICKY. Limited sizing, cramped data, limited sorting and generally confusing interface. Basically, a very tiny evolution above the modal pop-up.

Windows 7 has actually improved the Resource Monitor significantly. It’s still not up to snuff with the SysInternals tools, but as a stand alone quicky utility it is finally getting useful.

It starts with the Overview tab. Notice the good info about network connections and which files are actually open and being written to. INCLUDING THE FILE PATH!


You can size each pane and size the columns. You also have multiple histogram views. MUCH BETTER.

The CPU Tab gives us Modules and Handles similar to Process Explorer. Plus, a nice filter for the handles.


The Memory Tab has the familiar list of processes and their respective sizes. But it also has a nice little graphic for the RAM snapshot. Keep in mind that the frames are now sizeable and you can choose which columns to display.


The Disk Tab also has useful information that you can filter by application or process.


Last, but not least, the Network tab which actually shows…GASP…some network information. What a shocker. Actual network information available right from an actual built-in, accessible OS tool….Excuse me while I go throw the flying pigs out of my house.


The interface is still a bit clumsy. It’s also a bit cramped, unnecessarily so if you’ve used the SysInternal tools or a ton of other system monitoring tools. I don’t get it. MS owns the tool set. Why don’t they model the new tools on the ones that are done right? Anyhow, minor quibbles aside. There are a few other nice goodies hidden around in the right clicks. Like, Analyzing a process on the Memory Tab. Overall, this is a drastic improvement over what the Task Manager used to be. Another W7 win.

Sunday, February 8, 2009

Windows 7 and the Search Bar

I’ve seen a ton of posts about utilities for “quick launching” applications. I’ve also seen a zillion posts about the pros and cons of the toolbar in Vista vs launch pad on a Mac.

As a Windows user I have long used ObjectDock to mimic the launch pad type interface as opposed to the crappy quick launch that windows has had up to now. I also used SlickRun as a pop-up application launch wizard. The combination of these two apps gave me a lot of what Windows is missing from the app launch standpoint.

However, I have long overlooked our friend the Search function on the start menu. I still use the Search toolbar and indexer on XP at work. That is probably the most overlooked and awesome addition to XP that I can remember. I was mad that they “hid” it in the Start menu in Vista. But, I’m starting to come around to find it useful where it is.

First to use most launchers you have to use the mouse. I used SlickRun specifically to avoid the mouse. Just hotkey, type in a couple of letters and the app I want to run is display, click enter boom. On Vista/W7 you use the Windows key, then start typingsearchbar1

As I typed the word visual, the programs are auto selected. So, without picking up my hands, I type WINKEY+visual+enter and VS 2008 starts. Plus, all of the sub-utilities of VS are available and I can just use the arrow key to access them. This is a very good application access accelerator.

Plus, it shows your e-mail and music and documents that meet the search criteria


Between the new W7 Toolbar and making myself finally use the search function via the Windows Hotkey, I’ve found that I’m very, very happy with my application access options. You can customize what shows up in the results via the indexing configuration. That process will have to wait for another post.

Saturday, February 7, 2009

Windows 7 – Zune memory footprint much improved

With the identical library and podcast configuration, the Zune software uses about half the working memory on W7 than V x64.  My over-all memory footprint is roughly half of what it is in V x64 running pretty much the same app & services.  But, I’ll post on that separately.

The Zune software is much much snappier under W7 .  It takes ~1/2 the working set. 



On Vx64 the working set will continue to grow if I leave it running.  I’ve had it be > 500MB.  I left it running overnight on W7 and it stayed at the 135MB mark.  If I switch to the Now Playing view, the memory footprint does grow, but it stabilizes at a bit below 200MB on W7.   On Vx64 it again adds just about 100% more memory usage than it does on W7 for this same feature.

I have over 20k songs in my Zune library, and I basically just select all and play random.  Doing the select in Vx64 was painfully slow.  Doing it in W7 is just about instant.  I don’t know what they did, but I hope they can continue to improve W7 performance.  But, I also hope they figure out how to get some of these performance enhancements back to Vista.

Windows 7 – BSOD installing video driver

While installing the NVIDIA driver suggested by Windows Update, I got the wonderful blue screen desktop with the enhanced bzzzzzzzzzzzzz audio track.  Worse than the BSOD was coming back into Windows 7 to a desktop with Aero disabled!  Screenshots were created after the problem was solved and I tried to make them look as close to what I was seeing as possible.

no Aero

Ok, no problem right?  Just reset the desktop personalization…..errr….NOPE.  Desktop settings disabled?

Ok, System restore right?  errr…NOPE.  Service not available error.

Then I noticed a very tiny red x in the taskbar.  Clicking on it said “Security Service not available”.  I was also missing networking.  So, pretty much every service that Windows uses was not running.  After poking around, I finally pulled up System Configuration and WOOHOO!!!

no services  

All the checkboxes were un-checked.  Also, in the status column all of the services were “Stopped”.  You can see that they are running in this screenshot.  By, re-enabling them in the configuration file and rebooting, I got everything back to normal.  YEAH!

Evidently, Windows Update disabled services and the BSOD took place before they got re-enabled.  Hopefully, this will help someone else trouble-shoot a scary situation.

Wednesday, February 4, 2009

Windows 7 – Nice little toolbar feature

I don’t know why I didn’t see this before, but when you download a file with IE or copy a file between folders, the toolbar gets a shaded fill that acts as a progress bar for the downloads in progress for whichever app is doing the copy/download.

sshot-3 sshot-2

One of my most hated “features” of IE is the download dialog box.  This improves on that concept a bit.  Hopefully, the download dialog box will die a horrible flaming death like the find pop-up box finally did.