I've just published Loaded Projects to the Visual Studio Gallery.
The inspiration for this extension was having to deal with solutions that contained a lot of projects (from 50 to 150 and beyond). Often you know that many of the projects aren't relevant to the particular feature or bug that you're working on and unloading those projects can give you a big performance win. Visual Studio will be more responsive and the time to build and debug will be shortened.
The problem comes when you need to move to a different area of the solution. You now need to reload some of the previously unloaded projects, but also unload some others that are now no longer significant. Wouldn't it be great if you could save a record of all the unloaded projects so that you could reuse it again later?
Enter Loaded Projects!
Click on the 'Loaded Projects' item in the context menu after right-clicking on a solution.
A dialog window appears, from which you can save the current set of loaded/unloaded projects as a new profile,
select an existing profile and load that, or choose to delete a profile you no longer need.
If you like the extension, please write up a review on the gallery page.
I've put the source code up on GitHub, so make use of the Issues page to submit any bugs or feature requests, and of course pull requests are always welcome.
The extension initially just supports Visual Studio 2012. If there is enough interest then it should be pretty straight-forward to back-port it to to 2010 too.
Our Media Center PC has been running reasonably well since I built it way back in July 2008. Wow – almost 5 years old – actually that probably explains the state of the remote control (currently being held together with duct tape!)
Anyway after successfully upgrading my laptop and reprovisioned desktop (formerly the Hyper-V/Homeserver) to Windows 8 I decided I'd update the Media Center as well.
Upgrading was relatively painless in itself. I took a backup of the Windows 7 install (just in case) and then did a fresh install of Windows 8 x64 and then activated my free Media Centre license. I'd previously been running 32 bit Windows 7, but didn't anticipate any problems.
One interesting side-effect of using the 'English (British)' install of Windows 8 was that some of the terminology in Media Centre was slightly different. What was called "original air date" was now "original date broadcast"
And predictably, "Program Details" became "Programme Details" (though because that was now wider than the pop-up menu, the text would scroll side-to-side so you could read all of it!)
So that was all well and good, but there were a few things that didn't work so well.
Presumably because of the new Windows 8 start screen, there is no longer a setting to make Media Center start at Windows Startup (kind of handy for a dedicated Media Center PC). The workaround for that was to create a batch file that is run via a scheduled task triggered at login (a bit of a hack).
The other problem that became quickly apparent was that despite Windows 8 generally having a better reputation for performance than Windows 7, in this instance it seemed that there were some specific problems. Audio for live TV was consistently getting out of sync with the video. I suspected that the hardware may be struggling to keep up with pushing the data around. Only 2GB of ram and using the original on-board video adapter might be an issue.
I thought I'd try replacing one thing at a time, so swapped in a newer video card (borrowed from the desktop box). This seemed to solve the audio sync problem, so I went and purchased a separate card – an nVidia GeForce 630 card. Installing this was straight-forward, but then revealed a new problem. For some reason the video output from the nVidia card was too wide for our TV. Despite using HDMI and setting the screen to 1920x1080 (the same resolution as the onboard ATI video card was using), I couldn't get it to shrink. Unfortunately our TV didn't have any controls to change the size of the picture either.
The next problem became evident later on. Almost every day the first time the Media Center PC was turned on I was greeted with a "This computer has unexpectedly restarted" message. Searching the event log revealed a consistent errors such as:
- The computer has rebooted from a bugcheck. The bugcheck was: 0x0000009f (0x0000000000000003, 0xfffffa8001cc2880, 0xfffff80007108b30, 0xfffffa8007050360). A dump was saved in: C:\Windows\MEMORY.DMP. Report Id: 012813-315480-01.
- Windows failed to resume from hibernate with error status 0xC0000001
- The system firmware has changed the processor's memory type range registers (MTRRs) across a sleep state transition (S4). This can result in reduced resume performance.
Initially the errors related to 'Sleep' so I switched over to using Hibernate but as you can see that didn't improve things.
After enduring two weeks of this I decided enough was enough. After doing another backup (so that I could give Windows 8 another try when some of these issues might have been resolved), I dropped in the Windows 7 Recovery CD and restored back to Windows 7 (taking out the nVidia card at the same time).
So while Windows 8 has been great for the other computers in the house, I think we'll stick with Windows 7 Media Center for now.
For the past few years I've always taken part in the community challenge ride which is part of the Tour Down Under. Sadly it wasn't to be this year. A couple of weeks ago I was out with the Mud, Sweat and Gears guys on a training ride and somehow managed to injure my back on the final ride home.
While not as bad as when I quite badly hurt it a few years ago, it still has meant time off work and a fair bit of lying down to give it a chance to improve.
It was great weather for riding today. I'm disappointed I missed out (not to mention the Tanunda bakery too), but hopefully I'll be in a healthier state for next year's ride.
There I was about to enjoy a nice sleep-in on the first day of my holidays on Monday when the doorbell rang. It was a courier delivering a nice thankyou present from Microsoft for helping test out and provide feedback on Visual Studio 2012.
Opening up this large box revealed a smaller gift inside
It's a shiny glass cube with writing etched in the middle of it..
And it turns out this is a nice match to a similar present I received a few years ago for testing Visual Studio 2008 (which means I must have missed out 2010). The 2012 version is an identical size, but has one corner bevelled off so it can sit on that corner. The new cube also has the latest rendition of the Visual Studio logo.
Putting them together, yes they are the same size!
Because people will even dance to some guy trying to play the 'cello..
Always nice to have enthusiasm when you're doing a sound check
This year we visited our friends across town who were organising a Christmas Eve service at Playford Uniting. I was also able to be part of their band playing a few Christmas carols.
And even made the Channel Seven news. Over the 3 evenings that this runs there's probably a few thousand people from the local community (and beyond) that come and experience sights, sounds, smells and tastes of Bethlehem. It's a great atmosphere and lots of fun too.
Because the cactus that flowers at Christmas is in flower..
and the flowers came out first in the morning on Christmas day this year too.
Because the table is set for Christmas lunch..
Because Narelle cooked up a storm..
Because the pudding is ready..
Because Mum & Dad gave me a new Super Soaker!
So it turns out that the CFS actually recommend having one of these around the house. If you did have a bushfire go through then then a key thing is to put out any spotfires in gutters or roof spaces once the main fire front has passed. They reckon a super soaker is good as you can pop your head up through the manhole into the ceiling and squirt any smouldering embers that might have found their way inside.
The other benefit is that it means I can now compete with my son's soaker he got as a LobsterPot Christmas present a couple of years ago (thanks Rob!)
Because it is a chance to take a breath..
Borrowing from the theme of Pete's message at the Christmas Eve service. After a busy and in many ways difficult year this year it is good to have a couple of weeks off and take a breath (or two).
Time to spend with family. Time to sleep in (maybe). Time to do a bit of riding in preparation for the Tour Down Under in a few weeks. Time to reflect on the year that was and the year that is to come. Time to appreciate the extraordinary gift that is the real reason for celebrating Christmas.