UK Premiership footballers are lazy, overpaid, whining twats…

There is nothing more annoying than a albeit skilled footballer (soccer player for all your yanks ūüėČ getting ¬£90,000 per week whining about their 40 odd regular game season being too long and too tiring.¬† Here is my message to you – for ¬£90K a week you should be playing EVERY FECKING DAY!¬† Stop your whining and realise that in real sports such as say the NHL you have a play a regular season of 82 games, yes 82 – more than you would ever play even with cups and champions league fixtures slapped in.¬†¬† Not only do they play 82 games regular they are in some cases cross a few states which in travel terms is more than you will travel in the UK in a whole season.¬†¬† Oh as well as their regular season of 82 and if they reach playoff/stanley cups that is another 3 (or is it 4) more fixtures which are BEST OF 7…so yes you overpaid whining twat that is possible 15 games or so…¬†¬† It is perhaps also the more challenging physically of sports than your beloved kissball as well….do you hear them whining?

So, get up, straighten your silky shorts and stop whining….lazy arse gimps.

Advertisements

So true…it makes me cry with laughter…

http://reddot-cms.blogspot.com/

Using IIS 6.x Native Content Compression

Over the past few days,¬†I have been discovering that we had a shit load of data¬†being shipped¬†around the network¬†etc when a page¬†was requested via our CMS.¬† I decided to look into¬†using HTTP Content Compression to help speed up the client page loads and also to reduce bandwidth.¬† I was researching a few products, especially httpZip which seems to be the choice of the pros, but in the end I decided on trying out native compression which comes with IIS 6.x.¬† Microsoft didn’t make it easy to just switch on and bam you have compressed content so hopefully this will help you get started on how to get it all working etc.

1. Open IIS Manager

2.¬†Right-Click on Web Service Extensions select “Add a new Web Service extension”

3.  Extension Name = HTTP Compression (or whatever you want as long as it makes sense and identifiable)
     3.1 Click Add to add the Required File
     3.2 Locate C:\WINDOWS\system32\inetsrv\gzip.dll

Well, you would think that was it, it’s not…lovely..so we continue.

1. Right-Click on Web Sites

2. Select Service Tab

3. Check the following; “Compress Application Files” and “Compress Static Files” within the HTTP compression section.

Again, you would think that was it…..well nearly…now we need to get down and dirty with the IIS Metabase….strap on some protection and here we go..

1. Stop IIS Admin Service and its associated dependencies.

2. Open the Metabase.xml file (C:\WINDOWS\system32\inetsrv\Metabase.xml)

3. Search for “gzip” in the file and stop when you reach the <IIsCompressionScheme> node.¬† (there are actually two of these nodes and a plural node.¬† You can safely ignore the plural node for this as we are concentrating on the two singular nodes here).

4. Change the HcDynamicCompressionLevel to level 9 – it has a scale of 0-10 but a highest level of 10 can kill CPU etc and Level 9 Compression is alledgedly as good as 10 with less load on the CPU so use that.

5.  The next step is to add what you want to be included within the compression stream by adding the available file extensions (not MIME types) to the HcFileExtensions node.  They entries are seperated by CR/LF and 3 tabs.  An example entry can be seen here:

<IIsCompressionScheme¬†Location =”/LM/W3SVC/Filters/Compression/deflate”
¬†¬†HcCompressionDll=”%windir%\system32\inetsrv\gzip.dll”
¬†¬†HcCreateFlags=”0″
¬†¬†HcDoDynamicCompression=”TRUE”
¬†¬†HcDoOnDemandCompression=”TRUE”
¬†¬†HcDoStaticCompression=”TRUE”
¬†¬†HcDynamicCompressionLevel=”9″
¬†¬†HcFileExtensions=”htm
   js
   css
   jpg
   gif
   xml
   html
¬†¬†¬†txt”
¬†¬†HcOnDemandCompLevel=”10″
¬†¬†HcPriority=”1″
¬†¬†HcScriptFileExtensions=”asp
   cfm
   aspx
   dll
¬†¬†¬†exe”
 >
</IIsCompressionScheme>
<IIsCompressionScheme¬†Location =”/LM/W3SVC/Filters/Compression/gzip”
¬†¬†HcCompressionDll=”%windir%\system32\inetsrv\gzip.dll”
¬†¬†HcCreateFlags=”1″
¬†¬†HcDoDynamicCompression=”TRUE”
¬†¬†HcDoOnDemandCompression=”TRUE”
¬†¬†HcDoStaticCompression=”TRUE”
¬†¬†HcDynamicCompressionLevel=”9″
¬†¬†HcFileExtensions=”htm
   js
   css
   jpg
   gif
   xml
   html
¬†¬†¬†txt”
¬†¬†HcOnDemandCompLevel=”10″
¬†¬†HcPriority=”1″
¬†¬†HcScriptFileExtensions=”asp
   cfm
   aspx
   dll
¬†¬†¬†exe”
 >

In the above example, there is probably no reason or worth in trying to compress GIF/JPG as they are already compressed, but I was testing here and thought…feck it, your smart enough to realise this and would have ommitted them anyway ūüėČ

OK, in all reality that is it……..erm “Hold on Feersum!!!!, my website isn’t serving pages anymore?!”¬†¬† Oh yeah! your damn right…man,you’re sharp…. here’s the info you need….

You need to restart the IIS Admin Service and its associated dependencies and to be safe run an iisreset from a Command Prompt.

If you have followed all of these steps like the little lapdogs you are, your site will now be serving Compressed Content to the masses and hopefully, nay willfully be serving faster content and page loads to your minions.

Once thing I couldn’t get working, or couldn’t see it working from logs etc was “is it compressing my dynamic content such as¬†ASP(.NET)/CFM etc?”; the answer seems to be it wasn’t – event though I told it to, and if you want that capability you will have to use httpZip or alike which actually has that capability in built especially for ColdFusion and problems related to <CFHTTP> and <CFSCHEDULE>.

So folks that’s it, hope you find it useful!!

Happy compressing ūüėČ

 Feersum.

… I’m A Funky Skull And I’m A Scorpio

Hats off to Adobe on the recent announcement and immediate release of the ColdFusion 8 Beta. I have seen ColdFusion Editions come and go and I must say that this release certainly does look to be the √©crous du chien. It has so many of the features which I have been longing for since CF made the transiton to Java such as Server Monitoring, IDE Debugging, Ajax support and .NET “Integration” – I would still like to see an Adobe ColdFusion .NET edition as I think BlueDragon/New Atlanta had a stroke of genius with their .NET edition and it would do wonders for CF if Adobe took that plunge directly from the horses mouth. For now though I am more than chuffed at the ability to access .NET Assemblies directly via CreateObject()…..coolio.

I will post more on ColdFusion 8 as the weeks go on and my in depth, and now out of NDA, work permits…. for now though, CF has never been stronger and I’m lovin’ it. It has, and I think always will, rule the RAD Web Application Development world for it’s ease of use and unprecedent power.

Forza ColdFusion…!!!!

She’s the Cheese and I’m the Macaroni

Well, after countless jiibing of friends and family for blogging useless drivel about what they did last weekend etc (you know who you are); I have finally started to join this Blogging malarky.  I will try, and beat me down with a sharp stick if I deviate, to keep this blog firmly in the realm of IT and general interest.  There is more to come, so do pop by once and a while to add all the necessary abuse and praise (*delete as appropriate).