jamz.blog

Jamz's Blog

My Links

Archives

Image Galleries

Blog Stats

Friday, March 02, 2007 #

Caching and IIS HTTP Compression

I have resolved to try and blog a bit more about the useful bits of information I find day to day in order to give a bit back to all those bloggers who have led to my own salvation from so many problems.  So here is today's:

Its fairly undeniable that HTTP compression in IIS 6 is a Good Thing.

However an interesting thing I learned today about HTTP Compression in IIS 6, is that once you turn it on by default it rewrites all the Cache-Control headers of your responses.  This is especially bad if you configure IIS to cache the result of ASPX pages and other dynamic content.

The two offending lines in the IIS Metabase are:

  • HcCacheControlHeader="max-age=86400"
  • HcSendCacheHeaders="TRUE"

Which makes your dynamic content cachable by the client for 24 hours.  You might think you can just change those lines in the file, but you would be wrong - IIS keeps the file locked while its running so its a much better idea to use the adsutil.vbs to modify it.

Run these commands and then do an IISRESET:

  • cscript.exe C:\Inetpub\AdminScripts\adsutil.vbs set /W3SVC/Filters/Compression/Parameters/HcSendCacheHeaders "FALSE"
  • cscript.exe C:\Inetpub\AdminScripts\adsutil.vbs set /W3SVC/Filters/Compression/Parameters/HcCacheControlHeader "max-age=0"

This will make sure your dynamic content is not cached on the client, however in the mean-time you need to tell all your users to delete their Temporary Internet Files!

Surprisingly it was an article from Intel that led me to this solution.

posted @ 1:17 PM

Wednesday, February 21, 2007 #

The Microsoft Innovation Centre

In my role at SDM I get to work on a large variety of projects for different clients, but late last year I worked on quite a remarkable project for Microsoft.


I worked at a place called the Microsoft Innovation Centre which is collaboration between Microsoft and Government to try and get the most out of software they have purchased.  It was my first time working on an Innovation Centre project, and it has been the closest thing I have had to working on an Extreme Programming (or insert your favourite new-age programming paradigm here) project.


We worked closely with the Land Services Group to produce an application that together with Microsoft Virtual Earth combined lots of data sources together to let them take a look at their data geographically.

It has the following main features:
• Utilises .NET 3.0 and WPF for a better user experience
• Local Caching Engine allows Microsoft Virtual Earth to be taken on the road.
• Combines many Government data sources together, even overlaying property boundaries using a local custom tile server.
• Flexible display and filtering capabilities
• Utilises Tablet PC features inking and data entry support.

It was a great project to work on and it just in the prototype stages now, but hopefully they pick it up and we can go into a full implementation with it!

posted @ 1:00 PM

Toshiba Tecra A7 - Vista Drivers

It looks like Toshiba have finally released Vista drivers for the Tecra A7!

And hidden amongst them is a Vista Driver Installation Order document ... so remember to install them in the right order folks!

posted @ 2:14 AM

MCPD: Enterprise

After a huge cramming session I have finally got through the MCPD ENterise upgrade exams! I am very much relieved thats all over, and now I feel like a member of the crew (perhaps 1701d style!)

Lots of interesting things in the exam that I can take away and use in my work, the star being the BackgroundWorkerComponent, and the DeflateStream was something I found I didn't know was in the FrameWork :) 

Good luck to all who intend to take 70-553 and 70-554 ... its a fun ride!

 

posted @ 2:07 AM

Thursday, September 21, 2006 #

Review: MINI Cooper vs Honda CRX

I was having a bit of think the other day and I have come to the conclusion that I have had the Honda CRX now for 10 years, and I think it might be time for a change.  This is a very difficult thing as I am finding it very hard to get excited about any affordable car on the market, and even most of the non-affordable ones! 

For those of you that aren't familiar, I currently drive a 1995 Honda CRX, and have been very happy with it for some time.  Its major features are:

  • 4 Cylinder, 1.6 Litre, 125KW Engine, and baing fairly light thats equates to being fairly zippy in the traffic.
  • Targa Roof
  • Nice big boot (to fit Targa roof in)
  • Power stuff
  • Prettier wheels than the standard ones
  • I upgraded the radio to something sensible that plays MP3's with a colour lcd screen.
  • And everything else is stock standard.

My 1995 Honda CRX in Paradise Green

So I guess the real question is - why get rid of it?  Well boredom really I guess. You might ask "Is a good car to own?"  And I would have to say I think it is - however my sample size isn't terribly large.  I got a 1976 Celica when I was old enough, kept it for a couple of years while I made most of the important driving mistakes, then at 19 upgraded to the CRX.  So I have only ever owned 2 cars, and turning 30 this year I consider that to be verging on the abnormal - so its time to have that rectified.

Trying to get excited about another car I thought about what I really want in a car:

  • It has to be charismatic, it has to have a personality.
  • It has to be extreme in some way - not necessarily speed, but something.
  • It has to not be American or French
  • And bonus points if it comes in Green.

I racked my brains and the first thing I came up with was the Mini Cooper S :)

Now, according to the oracle of all car knowledge Jeremy Clarkson from the Top Gear TV show in the UK, the Mini Cooper S is one of the few cars that makes it into "Sub Zero" section on their Wall of Cool empirical rating system.  Take a look here - although this is all about the modified Minis with insane amounts of power that really practically aren't much use if you plan to drive them around town.

So I thought - why not go drive one and find out what its like :)

An overwhelmingly casual guy named Joel from the Adelaide Mini Garage was happy to help me out with a test drive of a mini.  The name "Adelaide Mini Garage" might conjure some image in your mind of some little shed packed with Minis in various state of servicing and maintenance - forget that!  The Mini Garage is the least garage-like building I have ever seen!

A very non garage looking MINI Garage

After signing some forms and going for a quick drive to get me out of the city and into quiet north adelaide - Joel handed over the keys. 

Mini Cooper like the one I drove, except for the californian plates and wheel on the wrong side

The Mini I was driving looked almost identical to the one in this picture, it was a standard Cooper not the more powerful "S" version - obviously Joel had made the quite accurate assessment that I couldn't afford one.  However that didn't stop me from enjoying the experience.  The machine appeared to be plenty zippy, with steering light as a feather and accurate as someone with a much larger library of similies than I.  Even though this car has less power than my CRX - it didn't feel like it.  Where the power in the CRX only really happens when you rev it above 5,300rpm the MINI feels like it has power all the way through. 

This could possibly be an illusion - because one of the finer points I noticed is that the accelerator pedal is not actually physically connected - its a fly-by-wire pedal meaining that all the pedal does is tell the computer what to do.  This may have been the case for cars for many years but its especially noticable on the MINI.

Another thing that was quite different to the CRX was the quality of the gearbox shifting.  The gear lever travel was nice and short, but the action of the MINI gearbox is very sweet.  It makes a kind of solid satisfying thud into each gear.  Once you start the shift and it has figured out which gear your going into - it does the rest for you.

One of the strange things I noticed straight away on this MINI was that it had the Alloy Patina dasboard material that was exclusive COOPER S.  I asked the ever helpful Joel about this and after being amazed that I had done my research, he replied that he had another customer who bought an "S" who decided they didn't want it, and instead wanted the plain Anthracite swapped with this one.  Upon closer inspection it was clearly evident why

Alloy Patina - Actually a print

If you were using the MINI configuration guide, picking dashboard materials - you could be excused for thinking that this is that kind of milled metal surface you see on the top of tables at posh cafe's that sell $5 coffee, after all this is really a BMW.  When I actually saw it in the MINI, it was immediately obvious that this was just actually grey plastic with a print on it, and it didn't take too much observation.  I didn't expect this as it immediately brought the tone down as it looked very cheap.  The idea was great - and if it had been a real veneer of milled metal as the finish (as the picture leads you to believe), that would have looked fantastic.  Looking at it now I guess perhaps "patina" actually is BMW for "pattern" ? :)

The indicator is on the European side - so my first few turns involved putting the windscreen wipers on :( But Joel assured me not to worry it was a good way of engaging the auto windscreen wipers rain detector.  This system is designed to automatically turn on the winscreen wipers when there is rain.  Interesting though this system is, it is not turned on all the time - in fact to engage this automatic system you have to move the windscreen wiper stick down and then back up again.  This is then reset whenever the car is switched off.  Kinda defeats the purpose of having an automatic rain sensing system really, if you have to turn it on every time. *shrug*

I only did one u-turn but was not immediately happy with the turning circle.  It seemed to be really wide, ut this could have been my fear factor at preventing the collision with the opposing curb.  The ever casual Joel kept saying there was plenty of room, and maybe there was - but I didn't want too find out.

Anyhow I thought it was a great thing to drive - and obviously the "S" version would be even more exciting! - However I already found that I was getting to 50k's very quickly and really getting a MINI more powerful that the one I drove would be like getting a pet dog in my tiny apartment.  I would feel obligated to take it for long drives just to give it a walk! 

The other thing is that since this car is really made for taking corners at high speeds, and if your to have any fun with it at all one of the prime consumables will be tyres.  So it seems this is what BMW has set out to make the most expensive.  Since there is no spare tyre on the MINI they have mandated the use of Run-Flat tyres.  These are tyres so completely overengineered that air becomes completely optional, in fact they will run without air for 150km and maybe more.  The downside of this is that each tyre has increased cost of $100.  This could mean that a round of tryes for your MINI could cost you around $1000 upwards!  This kind of thing is a real turn-off and would seriously deplete any enjoyment or satisfaction gained out of safely whizzing round your favourite bend.

Oh well - for these reasons and the fact that I don't have a spare $50k I resolved to keep an open mind to other alternatives.... Like the Toyota PRIUS, which I think I will review next, so stay tuned :)

 

 

posted @ 4:14 PM

Thursday, September 14, 2006 #

Update - TechEd Party on Cybershack

Finally got a copy of the Cybershack segment on the Tech Ed party, fotunately they cut my part down to about 3 seconds, so there is only a small sample of the crazyness I was sprouting to the camera.  Stephen Kennedy was also right there and they cut his bit down do just a couple of words.  So all-in-all the world is probably safer that way :)

posted @ 1:29 PM

Almost Famous!

Okay - Like I said in previous posts, I went to the TechEd 2006 Party at Home Nightclub Darling Harbour where I have vague memories of being interviewed by a TV crew.  Well, I appeared last night on Channel 10 on a show called Cybershack - sprouting my opinions on the question, is geek the new chic?  I had quite a few scotches by that point and was just starting to fire up :)  I will post the footage when I manage to procure a copy :)

posted @ 2:36 AM

Tuesday, August 29, 2006 #

So which Beta Bits do I use?

Okay having attended TechEd I am now looking at getting my hands on some of these new toys - in particular the new Windows Presentation Foundation (WPF) stuff.

I currently run Vista build 5472 on my machine and according the Tom Archer the program manager for the Windows SDK, there are no Visual Studio Orcas bits for the July CTP of Vista! I have installed the latest Orcas bits and at first glance they appear to work - although as expected, no WPF design surface (Cider) but hey.  Didn't much like cider anyhow :) 

 

posted @ 10:15 AM

Friday, August 25, 2006 #

Taking in TechEd

Im here at TechEd Sydney blogging from a computer amongst the many in the blurry picture below.  As with every TechEd I have been to it been a non-stop information absorbtion exercise, but most of the time the sessions give you a good overviewon a topic, and just enough to wonder about how it would all really work in the real world.  Im fortunate this time that the way the product cycle is going that most of the demo-ware they are showing here already exists in betas, or will be RTM in november-ish.  I have mostly been attending Windows Mobile Development and Sharepoint 2007 sessions - and have been pleased with the content.  The good thing about the Windows Mobile sessions is that since they don't have a new product, the contect is all about stuff you can do right now.  The sharepoint stuff is a little more fluffy as Sharepoint 2007 is at Beta 2 right now.

And like all TechEd's its a good idea not to drink too much - but fortunately I got this lesson out of the way on the first night, and I intend on maintaining lessons learned from that experience at the party tonight at the Home Nighclub, cockle bay. 

posted @ 4:28 AM

Wednesday, July 05, 2006 #

TechEd 2006 Sydney

Im pretty chuffed about being sent to TechEd this year!  I will be in Sydney in late August soaking up the all the newest Microsoft stuff!

I'll be there

posted @ 11:29 PM