How to delete hiberfil.sys on Windows 2008 or Vista

I was (for my sins) working on a Windows Server 2008 box today. To make it worse it was a VM with very little disk space. In trying to find things to remove I found hiberfil.sys sitting there at 4Gb! I tried to delete it but Windows wouldn’t let me. I then went into power settings, disabled hibernation (or so I thought) and tried to delete it again… still no joy.

Anyway, it turns out the easiest (or only, I don’t know) way of deleting this stupid file (why Windows SERVER would need to hibernate anyway is beyond me!) is to drop into command prompt and run the following command:

powercfg -h off

Easy when you know how, but annoying if you don’t!

Getting Firefox to work with Windows authentication

This is something you are more likely to come across in an Intranet environment, but it is a useful trick configuration to know about. There are 3 settings you need to change in Firefox in order for it to work. Here’s how to do it:

In the address bar, type about:config

You may get a warning message, this is fine.

From the list produced, find the following 3 properties:

network.automatic-ntlm-auth.trusted-uris

network.negotiate-auth.delegation-uris

network.negotiate-auth.trusted-uris

You need to add the server you wish to authenticate to the end of the value associated with the property, so it should read something like “localhost, myserver.com”.

You need to set that for each of the 3 properties and you should be good to go, no restart needed.

Like I said, you are unlikely to need this in an Internet environment, but it is necessary to authenticate with Windows authentication in an Intranet environment.

Sir Richard Branson, stop being greedy!

Before I start, I think Sir Richard Branson is great! As a Brit, I think there are a handful of people that as a nation we can be proud of and Sir Richard Branson is right up there in my book. I have followed his adventures for years, have read his books and I think the man is truly inspirational.

scr_virgin-atlantic-s-flying-without-fear-1.1_120710875That said, while browsing the Apple App Store for iPhone apps I happened upon the Virgin Atlantic “Flying Without Fear” program. I am not scared of flying at all, but I happen to know a few people who are and this app looks great. It covers everything from explaining what all the noises are, the procedures during the flight, the concept of turbulence, right through to what to do if you feel you are starting to panic. Brilliant!

I believe every airline should have things like this. In the grand scheme of things it costs them little to produce and maintain and can be one way in which they can make their potential customers feel welcome and valued, like they actually WANT you to conquer your fear and get on their plane (where you will subsequently pay through the nose for every aspect of your journey).

My problem with this app is they have priced it at $4.99 (£2.99 in the UK). Ok, it is not exactly re-mortgage the house money, but really, this should be FREE. People do not choose to be scared of flying, and as a national carrier, Virgin should be doing more to help those with a legitimate fear of flying. You don’t see airlines refusing to help disabled passengers board the plane, do you? Airlines go out of their way to help the disabled, elderly, and infirm. Why can’t they do the same for those affected by fear of flying?

I have the utmost respect for Sir Richard Branson, but when I first saw this app I thought “great, this is a guy who cares”, then I saw the price tag and was less than impressed.

Yes, I know they are a business and I know there are shareholders to satisfy, but for a company that plans on being one of the first in line to take paying passengers into space, maybe they could break some frontiers a little closer to home first.

I know there is very little chance Mr Branson is reading this post, but if you are… With respect, please don’t try and profit from peoples fears, and most of all, please don’t turn into Alan Sugar!

I want to love Firefox, but….

I made the jump from IE to Firefox as soon as I was told about it and I have never regretted it for a moment. The experience was faster, slicker, more accurate and altogether more enjoyable. This was when tabbed browsing had just been introduced and so that was welcome as well.

Over the years Firefox has grown up. As the market share continues to increase more and more developers are bringing out really cool and useful tools and plugins that make Firefox very powerful, especially for the web designer/developer. I would actually go so far as to say Firefox is now an essential part of my workflow as a designer.

Tools such as Firebug for HTML/CSS debugging, Colorzilla for grabbing a particular colour off screen, and SearchStatus for SEO information are just 3 examples of tools that I would really struggle to do without.

It is not all good news though. The more advanced Firefox has got the more problems it seems to have, especially on the Mac platform. It seems to have got progressively more sluggish and often consumes complete cores of CPU for no apparent reason (albeit more often than not it is Flash related). Stability is not what it used to be, and while all this is going on the competition are reigning it in and in certain areas overtaking it.

If you judge the browsers on a performance basis only then Google Chrome blows Firefox away, mainly in the javascript execution area but also arguably in stability. Firefox doesn’t even come second!

Unfortunately Firefox seems to have cornered the market in terms of plugins in the same way IE forced itself in the market based on being bundled with the most popular Operating System in the world. I say unfortunately because we are now in a situation where one of the best browsers available has a lot of people using it that have nowhere to go and no other alternative. This situation is never good for the end user.

The ideal situation is either one of the other smaller competitors will introduce a versatile plugin system to rival Firefox’s offering, or someone new will enter the fray with another, probably webkit based, browser which will force Firefox to pull its finger out and tidy up its core product.