Tim

Footprints in the snow of a warped mind

Tag Cloud

AJAX (4) ASP (5) ASP.Net (36) Error Reporting (2) Atlas (2) Business (52) Business Start-up Advice (22) Client (6) Expanding Your Business (11) C# (3) Canoeing (4) Canoe Racing (5) Cheshire Ring Race (5) Racing (2) Training (4) CIMA (1) CSS (3) dasBlog (2) Design (7) Icons (1) General (34) Christmas (6) Fun and Games (10) Internet (15) Random (38) RX-8 (8) Home Cinema (2) Hosting (1) IIS (6) JavaScript (2) Multipack (1) Networking (1) Nintendo (1) OS Commerce (1) PHP (1) Press Release (1) SEO (4) Server Maintenance (2) Server Management (5) Software (7) Office (3) Visual Studio (6) Windows (4) Vista (1) SQL Server (10) The Site Doctor (69) Turnover Challenge (1) Umbraco (5) Web Development (32) WebDD (32) Wii (1)

Atom 1.0 RSS 2.0 CDF 

Search

<May 2008>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Recent Comments

Blog Archive

Various Links

Blogs I Read

 Craig's Blog
Craig Hawker's Blog
 Google Blog
Official Google Webmaster Central Blog
 Matt Cutts
Gadgets, Google, and SEO
 Ol' Deano's Blog
My mate Dean's blog on my space, equally as random as mine but not off on as much of a tangent!
 Sam's Blog
Sam is one of my younger brothers studying Product Design and Manufacture at Loughborough, this is his blog :) Enjoy!

Recent Tracks

last.fm - The Social Music Revolution

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

newtelligence dasBlog 2.0.7226.0

Send mail to the author(s) Email Me (Tim Gaunt)

© 2008 Tim Gaunt.

Sign In

Get Windows Live Alerts

 Wednesday, November 29, 2006

Discount codes galore!

Wednesday, November 29, 2006 4:27:10 PM (GMT Standard Time, UTC+00:00)

Ok seeing as I didn’t get my arse in gear with the 40% discount voucher for the Threshers Group and just about everyone had already seen it, I thought I should post these quickly –hope they’re of use for someone:

And don’t forget to get your naughty adult/sex toys from Miss Mays, I’m still waiting for them to get a code over to me but I’ll update you when I’ve got one…

Update: It's finally here, check out Miss Mays Adult Store finally releases discount voucher

Discount codes galore!
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [1]  Trackback Link
CategoriesTags: Christmas

A song about Lovely Birmingham

Wednesday, November 29, 2006 12:18:43 PM (GMT Standard Time, UTC+00:00)

I'm not a fan of YouTube but I was sent this video this morning and it made me smile, I must find out when the choir's next in town...

A song about Lovely Birmingham
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: Internet | Random

Father Christmas of the future?

Wednesday, November 29, 2006 10:45:37 AM (GMT Standard Time, UTC+00:00)

I saw the new Debenhams Christmas advert this morning which featured a young father Christmas dancing around what I can only assume was a modern Santa’s grotto and I couldn’t help wondering whether this will be the way forward for Santa in the future –no more fat old bearded man…

I hope not anyhow, why should he have to go on a diet and trim his beard neatly!

Father Christmas of the future?
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: Random
 Tuesday, November 28, 2006

40% discount voucher for the Threshers Group

Tuesday, November 28, 2006 10:40:21 AM (GMT Standard Time, UTC+00:00)

For those of you who like to dabble in a little festive cheer, I thought I’d share this 40% discount voucher for the Threshers Group. The main catch is you’re only allowed to spend £500 at a time –best get that printer started…

Download the 40% discount voucher for the Threshers Group.

The voucher is valid until 10th December 2006

Update: If you're looking for some naughty fun this Christmas, check out the Miss Mays Adult Store discount voucher

40% discount voucher for the Threshers Group
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: General | Christmas | Random
 Friday, November 24, 2006

Deleting "Ghost" extensions from FireFox

Friday, November 24, 2006 4:18:23 PM (GMT Standard Time, UTC+00:00)

Since updating Firefox to v1.5 I had a number of extensions that I couldn’t remove from the list because they were greyed out, this was somewhat irritating as I had the later versions installed too and so I was getting duplicates (see below)

Firefox Ghost Extensions

Today I decided to see if I could resolve this, it turns out removing these ghost/incompatible extensions is fairly simple:

  1. Close any instances of Firefox you have open
  2. Navigate to %Documents and Settings%\Username\Application Data\Mozilla\Firefox\Profiles\*.default\
  3. Backup the file: “extensions.rdf”
  4. Open “extensions.rdf” in a text editor i.e. Notepad or TextPad
  5. Find the line that starts with: <RDF:Seq RDF:about="urn:mozilla:item:root">

Below is a list of the extensions you have installed, I can only talk about my case but the ones that were greyed out extensions in Firefox were the ones that had a resource value of a URL rather than “urn:mozilla:item:{Guid}”. My file looked like this:

Firefox Ghost Extensions

Simply delete these lines from the file, save it and restart Firefox. All should be back as it should be now…

Deleting "Ghost" extensions from FireFox
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: Internet | Software
 Tuesday, November 21, 2006

A simple tale

Tuesday, November 21, 2006 9:29:34 PM (GMT Standard Time, UTC+00:00)

A man was crossing a road one day when a frog called out to him and said, "If you kiss me, I'll turn into a beautiful princess." He bent over, picked up the frog, and put it in his pocket.

The frog spoke up again and said, "If you kiss me and turn me back into a beautiful princess, I will tell everyone how smart and brave you are and how you are my hero" The man took the frog out of his pocket, smiled at it, and returned it to his pocket.

The frog spoke up again and said, "If you kiss me and turn me back into a beautiful princess, I will be your loving companion for an entire week."  The man took the frog out of his pocket, smiled at it, and returned it to his pocket.

The frog then cried out, "If you kiss me and turn me back into a princess, I'll stay with you for a year and do ANYTHING you want." Again the man took the frog out, smiled at it, and put it back into his pocket.

Finally, the frog asked, "What is the matter? I've told you I'm a beautiful princess, that I'll stay with you for a year and do anything you want.  Why won't you kiss me?"

The man said, "Look, I'm a computer programmer. I don't have time for a girlfriend, but a talking frog is cool."

A simple tale
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: Random
 Monday, November 20, 2006

Prank Caller

Monday, November 20, 2006 2:08:05 PM (GMT Standard Time, UTC+00:00)

I was sent this comedy prank call this morning so thought I'd share it...

Demolition Girl prank caller (DemolitionGirl.mp3)

Prank Caller
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: Random

Vista headaches already –and it’s not even released yet!

Monday, November 20, 2006 10:10:17 AM (GMT Standard Time, UTC+00:00)

I installed a copy of Vista onto a Virtual PC for testing purposes and due to the way this PC is configured Virtual PC always catches me out and sets the default network adaptor as my VPN which means I can’t get any internet connectivity on the Virtual PC, once switched over I also need to change the DNS settings of the PC to work with our router.

The issue I came across this morning though was Microsoft Vista’s activation grace period had expired and there was no way to update the DNS settings to allow the Virtual PC access to the internet to activate my copy which meant I was locked out with no way of updating the network settings to allow validation!

Note: this is just an evaluation copy that you can download from Microsoft so the key won't validate on the release version!

Calling the helpline sorts the issue but it was a 20minute phone call of entering in digits I could have done without!

 Saturday, November 18, 2006

Atlas – AJAX Update issues (Could not load file or assembly Microsoft.Web.Extensions.Design)

Saturday, November 18, 2006 9:52:00 AM (GMT Standard Time, UTC+00:00)

Being a fair way into an application that relies heavily on Atlas I wasn’t best pleased to hear that Microsoft had done the usual comedy act of renaming the framework which would mean we’d have to update a plethora of controls.

Today we bit the bullet and along with a few other changes we already had planned made the switch. It wasn’t as bad as I was expecting tbh but it wasn’t without issues. The first issue we ran into was with Visual Studio’s Intellisense which has gone haywire, the recommended solution is to switch quickly between Design Time and HTML View –something that we can’t do as we’re using nested MasterPages which Visual Studio doesn’t support.

The next issue we ran into was the fact that our onKeyPress TextBox has now stopped working as planned but we’re looking into that.

The main issue that we ran into this morning however was on putting the site onto the server as we were faced with the following:

Server Error in '/' Application.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 97: 			<assemblies>
Line 98: 				<add assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 99: 				<add assembly="Microsoft.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 100: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 101: <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

Source File: **********************************************\web.config    Line: 99

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

The official take on this from the Microsoft guys is somewhat comical (http://forums.asp.net/thread/1455060.aspx):

Hi guys - yeah the problem you're having is because you installed on a machine w/o VS.  All of our machines have VS, so we didn't catch this problem.  On a machine w/ VS, Microsoft.Web.Extensions.Design.dll gets dropped.

Probably the best workaround for this is to go get that file from a machine with VS and either install it (gacutil -f Microsoft.Web.Extensions.Design.dll) or try dropping it into the bin directory, which I believe should also work but I haven't tried it.

 I've been talking with the AJAX team about this, so we're on top of it.  Sorry for the confusion.

Not an ideal fix but at least it works! For those of you wondering where you can find the DLL, look in: %Program Files%\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025

 Monday, November 13, 2006

Making sense of database responses

Monday, November 13, 2006 8:48:41 PM (GMT Standard Time, UTC+00:00)

We're nearing the end of a large system for the lovely people over at Consolidated Communications Management Ltd and we've just come across a nice idea to make sense of database responses. Typically in the past we've simply returned -1/0 for failure and a positive integer (usually an id) of it was successful. The new method should add a little more conformity to our code. We already use a common Database Access Layer which handles the opening/closing of our connection, adding parameters etc but I’ve just added an enum with the common database responses, thought it may be of use to others:

public enum DatabaseResponse
{
    Success = 0,
    Init = -1,
    Found = -2,
    NotFound = -3,
    Duplicate = -4
}

This should cover the common responses from our database however to make it a little more futureproof we'll keep -1 through to -10 reserved for this data level and then start more specific responses from -11 (i.e. BadPassword).

Using it is simple (this is not real code before you ask!):

public bool Save()
{
    DatabaseLayer DBLayer = new DatabaseLayer();

    //Check whether we should be saving or inserting this record
    if (this.Id == (int)DatabaseLayer.DatabaseResponse.Init)
    {
        //The Id's set to initialised only so insert
        //The create method simply inserts the values into the database and returns
        //either the Id of the newly inserted record or our database response
        this.Id = DBLayer.Create(this);

        if (this.Id >= (int)DatabaseLayer.DatabaseResponse.Success)
        {
            //The insert was a success
            return true
        }
        else
        {
            //The insert failed for some reason -you could throw an error 
            //to catch or simply bubble the response upto to the code behind layer
            return false
        }
    }
    else
    {
        //When updating the record don't use the Id to store the response, instead
        //throw it into a temp object and use that so the Id's still stored in the object
        int response = DBLayer.Update(this);

        if (response == (int)DatabaseLayer.DatabaseResponse.Success)
            return true//All's ok
        else
            return false//Something went wrong -it could be the item wasn't found etc
    }
}
Making sense of database responses
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [1]  Trackback Link
CategoriesTags: ASP | ASP.Net | SQL Server

The 300 mile club -I'm finally in!

Monday, November 13, 2006 8:54:01 AM (GMT Standard Time, UTC+00:00)

I’ve been a member of the RX-8 Owners Club since I bought the 8 –a little sad but there’s great discounts and help on the forums so I thought it was worth the £30pa, anyhow, they’ve had the converted 300mile club on the forum for a while which I’ve wanted to get into however as most of my trips are 200miles it means the last bit of fuel is wasted on city driving (not the most efficient) so any attempt was lost.

Stacey and I had our 5 year anniversary this weekend so I suggested a trip to Scotland to celebrate –fancy that, just over 300miles to the hotel (303 according to the sat nav) and some super A roads, not sure what influenced that!

Anyway, on the way up we took a slight detour and got stuck in hours of traffic on the M6, not to mention torrential downpours so I took it nice and easy and I’m pleased to announce I made it into the 300mile club! WOOHOO!! I’m sure I was running on fumes in the end as I went about 35miles on the light.

311.9 Miles to one tank of fuel in the RX-8

What I loved the most though was on the way home we took a slight detour through the highlands to have a bit of a play (testing out what I’d learnt on the track day a few weekends ago) so I wasn't easy on the throttle and by the time I filled up there was only 16miles difference in the fuel economy... What a car!

I know it’s a little concerning being pleased about getting 300miles out of a 50L tank (around 24mpg) but most 8’s can’t make it over 250 let alone 300!

Here are some shots of the car on the trip home (very artsy :P) I'll post some on the Falkirk Wheel and Edinburgh later.

  • Night Shot of the side of our RX-8
  • Reflection of the sky in the wheel arch of our RX-8
  • Reflection of the sky down the side of our RX-8
  • Reflection of the sky in the sunroof of our RX-8
  • Reflection of the landscape down the side of our RX-8
The 300 mile club -I'm finally in!
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: RX-8
 Thursday, November 09, 2006

Setup.exe

Thursday, November 09, 2006 12:59:46 PM (GMT Standard Time, UTC+00:00)

I'm forever downloading application trials to see how other developers write applications, partly out of curiosity but moreover to improve applications we’re developing –seeing what we’ve left out, how we may be able to do it better etc.

I keep a fairly clear desktop but today I booted up and noticed a “setup.exe” file sitting there and I had no idea what it was, I knew it must be something I downloaded to test so I ran it which probably wasn’t the most logical thing to do but hey. Luckily it was something I’d downloaded but it got me thinking, what if it was a malicious script that a virus had placed there for me to click? I wonder how many people would be caught out by that…

Setup.exe
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: Random | Software
 Monday, November 06, 2006

ASP.Net WebException and Error Reporting useful code

Monday, November 06, 2006 6:59:55 PM (GMT Standard Time, UTC+00:00)
Since integrating Phil Winstanley’s error reporting code into our first ASP.Net project we've made a number of useful alterations to the way we use it and I thought we'd take another dive how it's used including riding yourself of spambots, 404 errors and a few other useful methods.

The housing market's gone mad

Monday, November 06, 2006 4:52:11 PM (GMT Standard Time, UTC+00:00)

Matt Smith sent me this today which made me laugh, the housing market really as gone crazy...

http://www.findaproperty.com/displayprop.aspx?edid=00&salerent=0&pid=605998&agentid=04438

£95,000 sounds a bargain to me!

The housing market's gone mad
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: 
 Saturday, November 04, 2006

Free copies of the released versions of Windows Vista and Microsoft Office 2007

Saturday, November 04, 2006 10:58:14 PM (GMT Standard Time, UTC+00:00)

This is still unconfirmed and somewhat word-of-mouth etc atm but if you check out Ian Moulster's blog you'll see his post about Microsoft giving away free copies of the release version of Vista and Office 2007 check out his blog post to find out more.

Hopefully we'll hear more before DDD Day

When an acronym saved my bacon

Saturday, November 04, 2006 12:12:38 PM (GMT Standard Time, UTC+00:00)

Once again playing joker could have got me in trouble while chatting to Doug from 27Seconds last night:

(21:21) Tim™: hold this thought, I've gtg shopping (bitch's come home)
(21:21) Tim™: I'll prob email you over the next few days
(21:21) Doug: Did you really just call S a BITCH?!
(21:22) Tim™: yes

In this case, I was referring to my darling Stacey (see below) so I was (of course) using the well known acronym “Beautiful Independent Totally Chilled Hottie”!

My Princess Stacey

When an acronym saved my bacon
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [1]  Trackback Link
CategoriesTags: Random

Time Breakdown of Modern Web Design

Saturday, November 04, 2006 12:12:12 PM (GMT Standard Time, UTC+00:00)

After the fun and games we had with IE and sorting out an old CSS design for www.technikfloor.co.uk on Friday when I saw this pie chart I thought it was an excellent summary of a modern web designer’s life.

Personally I feel my Teal coloured slice is smaller but hey!

Time Breakdown of Modern Wed Design

Originally posted at: http://www.dangerouslyawesome.com/2006/07/02/throwing-a-wobbly/

Time Breakdown of Modern Web Design
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: ASP | ASP.Net | Business | General
 Wednesday, November 01, 2006

Parsing Apache Log files

Wednesday, November 01, 2006 5:21:16 PM (GMT Standard Time, UTC+00:00)

This is a useful Regex that Craig wrote today, it pulls out various info from an apache log file.

private static Regex __Regex = null;  
internal static Regex _Regex  
{  
    get  
    {  
        if (__Regex == null)  
        {  
            __Regex = new Regex(@"(?<remoteHost>[^\ ]+?)\ (?<remoteIdent>[^\ ]+?)\ (?<remoteUs"
                + @"er>[^\ ]+?)\ \[(?<requestTime>[^\]]+?)\]\ \""(?<request>(?<r"  
                + @"equestMethod>[^\ ]+?)?\ ?(?<requestPath>[^\ ]+?)?\ ?(?<reque"
                + @"stProtocol>[^\ ]+?)?)\""\ (?<statusCode>[^\ ]+?)\ (?<sizeByt"
                + @"es>[^\ ]+?)\ \""(?<referer>[^\""]*?)\""\ \""(?<userAgent>[^\""]"
                + @"+?)\""\r?\n?"
                RegexOptions.Compiled & RegexOptions.IgnoreCase & RegexOptions.IgnorePatternWhitespace & RegexOptions.CultureInvariant);
        }  
        return __Regex;  
    }  
}

Update: Craig's finally started writing about it, you can read the article here: Apache Log Fun

Parsing Apache Log files
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: ASP.Net | IIS

My day at Prodrive

Wednesday, November 01, 2006 4:57:45 PM (GMT Standard Time, UTC+00:00)
All about my day at Prodrive with my shiney new RX-8
My day at Prodrive
Useful Links:  #  digg it!  del.icio.us  Technorati  email it!  Post CommentsComments [0]  Trackback Link
CategoriesTags: RX-8