# Friday, August 22, 2008

One of my friends in Denmark has been working on something quite special over the past few days and I thought it was time to share. I'm really blown away by the "quick job" he did with this.

And one for the fellas

Friday, August 22, 2008 2:55:26 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Monday, August 04, 2008

iPhone 3G next to BlackBerry PearlI've had my iPhone for a couple of weeks now so I thought it's about time I posted my thoughts. I'm one of their targeted enterprise users and have come over from a BlackBerry, which although I was worried about always working, actually resulted in me being able to leave the office without worrying there was an all important email awaiting my return.

So how have I found the switch? In a nutshell as I kinda expected -I miss a few of the features on the BlackBerry but on the whole have found it to be Fairly painless. I like aspects of the iPhone such as the application resources but get a little frustrated at silly things like no copy and paste, having to reformat my entire address book or not being able to insert numbers. I suspect somewhat that there are gestures I'm missing so feel free to point me in the right direction (even if it's "wait for the next update")

I've not had a chance to try out the push aspect of the iPhone yet but I'll get around to that shortly, hopefully that'll save some of the battery life! At the moment I think I'm getting about 5 hours talk time out of it but I tend to have it sitting in charge most of the time.

My likes/dislikes of the iPhone so far

So lets start with the positive:

  • The App store
  • The GPS
  • The easy-to-use silent button
  • The community (yes I know it's a repeat of the App store, but this is where the iPhone really comes into it's own)
  • The ability to easily integrate with other applications i.e. LiveTimer, Flickr and Twitter
  • It's easy to use
  • The calling plan

And now the negative:

  • No copy/paste
  • No forwarding your contacts over email/bluetooth/sms etc
  • No way of marking all emails as read -this is a serious oversight
  • You have to format your telephone numbers in Outlook from: +44(01234)123123 to +44(1234)123123
  • When not on 3G it takes an age to download emails
  • The phone often crashes when refreshing your email list (or just hangs)
  • There's no search facility for your emails
  • The contact list isn't as easy to use as the BlackBerry's (you could do everything from one place, with the iPhone I have a tendancy to call people when I want to text them etc)
  • Sometimes, it randomly (and secretly) connects to a WiFi signal -usually The Cloud/OpenZone which is a real irritation because if you don't notice you don't get any emails until you turn Wifi off. Really if the connection times out on WiFi it should fall back to 3G.
  • .the fact that if you turn off WiFi because of the above, you've got to remember to turn it on again (and I nearly always forget!)
  • How some applications drain the battery when you set the phone to sleep
  • There's no auto text
  • Crappy call history - missing duration for each call time etc
  • No scale based email polling option i.e. "If an email exists on the server, check again in 1min, if not, check in 2mins etc)
  • The keyboard sometimes freezes when typing fast(ish)
  • The lack of backward compatibility with iPod accessories (i.e. car chargers)
  • The fact that you can't set it to backup once a week instead of everytime you plug it in -that's a royal PITA as I plug mine into two computers everyday sometimes forget to click the cross to cancel the backup

And for fairness, the in between:

  • The keyboard doesn't allow you to select the most suitable one for the task in hand
  • The phone doesn't always rotate i.e. in emails -which I find really irritating
  • There's no "Trial" option to software, I know it's not much but I don't really want to waste £5.99 if it's a crappy app.

Although the positive are far outweighed by the other aspects of the phone, I'm sticking with it for the moment because unlike all of the phones I've used in the past, it's easy to update and I think Apple are going to fix a lot of the more obvious oversights such as "Mark all emails as read". Then again Apple may not be the saint that everyone makes them out to be. (I'm disappointed I missed out on NetShare for instance).

Long and short of it is I think the iPhone is a nice move away from the BlackBerry but there are still a few areas that they really need to catch up on.

Monday, August 04, 2008 7:40:52 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [3]  | 
# Friday, August 01, 2008

I've been an advocate of buying goods online for quite some time now but have been astounded at the level of service received recently that leads me to believe that buying online is slowly removing the benefits of buying in a store.

A little background: My camera broke (again) the other day. I've returned this model to Amazon before and wasn't aware that if the item has a problem again, they don't replace it, they just refund the cost. An interesting policy -especially as my problems were not related, but a nice surprise.

As I packaged up my old camera to return (a very painless process I might add) I got looking around for a replacement. Checking out the online reviews, I found my 3 favourites to pottered off to Jessops to check them out. The lady at Jessops was very helpful, pretty much confirming everything I had read online. So it came to deal time, I don't mind paying a little extra in store to get the item the same day and to do a little bartering.

Today was not to be my day though, it turns out the only one left in stock was the show model, normally a good way of getting some extra money off but not this time, it wasn't for sale. Bare in mind this was Saturday, the fastest they could get me the model I want (a mainstream camera not overly in demand) was Wednesday! So off I went home and bought it online on the Sunday. It arrived Tuesday at 9:15! What an exceptional service (thanks UK Digital Cameras).

Then, on Monday evening (around 2100) I ordered my new number plates from Demon Plates expecting them to take a few days to be made and posted (so they should have arrived today) but instead, they arrived on Wednesday! Amazing.

Don't get me wrong, I think stores have a place, its's still nice to pop into a shop and pick up the items you're interested in. There's definitely still something in feeling the item before you buy but service wise online stores are really starting to take over.

All I can say is keep it up guys, you're doing the industry a great service! I hope our ecommerce website owners are as efficient.

Friday, August 01, 2008 11:00:22 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
# Monday, July 28, 2008

I've been wondering for a while how Google has managed to find a couple of hidden pages. Although they were securely locked down we noticed a few rejected GoogleBot requests in the audit logs. We put this down to the users having a Google toolbar installed but today we got an error from the new Avant Garde hair salons site that's just gone into beta testing which got me thinking.

This particular link is hidden behind a form post and within a jQuery call (to track an action) so not something the GoogleBot has easy access to. I know they're getting more clever but not *that* clever! We started getting the errors shortly after adding the final Google Analytics code so the only conclusion I can come to is that they're not just registering the URLs for reporting purposes but they're also using them to crawl additional pages.

Does anyone know if they use the URLs tracked in Google Analytics to find new pages? All I can say is if this is the case, you better make sure your "secure" pages check the access permissions on a page level!

Monday, July 28, 2008 2:19:41 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Friday, July 25, 2008

Exactly a year ago today I posted a little application that output the sites in IIS to a text file and as a few days ago Lars asked for the source, I thought it would be a nice thing to release it exactly a year later.

I didn't plan it that way, it just happened! Cool :)

Identify IIS Sites and Log File locations for WWW and FTP source

using System;
using System.DirectoryServices;
using System.IO;
using System.Collections;

namespace IISSites
    class Program
        static string fileToWrite = String.Empty;

        static void Main(string[] args)
            fileToWrite = String.Format("IISExport{0:dd-MM-yyyy}.txt", DateTime.Today);
            if (args != null && args.Length > 0)
                fileToWrite = args[0];

            SortedList www = new SortedList();
            SortedList ftp = new SortedList();
                const string FtpServerSchema = "IIsFtpServer"; // Case Sensitive
                const string WebServerSchema = "IIsWebServer"; // Case Sensitive
                string ServerName = "LocalHost";
                DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc", "Domain/UserCode", "Password");

                foreach (DirectoryEntry Site in W3SVC.Children)
                    if (Site.SchemaClassName == WebServerSchema)
                        string LogFilePath = System.IO.Path.Combine(
                            "W3SVC" + Site.Name);
                        www.Add(Site.Properties["ServerComment"].Value.ToString(), LogFilePath);

                DirectoryEntry MSFTPSVC = new DirectoryEntry("IIS://" + ServerName + "/msftpsvc");
                foreach (DirectoryEntry Site in MSFTPSVC.Children)
                    if (Site.SchemaClassName == FtpServerSchema)
                        string LogFilePath = System.IO.Path.Combine(
                            "MSFTPSVC" + Site.Name);
                        ftp.Add(Site.Properties["ServerComment"].Value.ToString(), LogFilePath);
                int MaxWidth = 0;
                foreach (string Site in www.Keys)
                    if (Site.Length > MaxWidth)
                        MaxWidth = Site.Length;
                foreach (string Site in ftp.Keys)
                    if (Site.Length > MaxWidth)
                        MaxWidth = Site.Length;
                OutputIt("Site Description".PadRight(MaxWidth) + "  Log File Directory");
                OutputIt("".PadRight(79, '='));
                OutputIt("WWW Sites");
                foreach (string Site in www.Keys)
                    string output = Site.PadRight(MaxWidth) + "  " + www[Site];
                if (ftp.Keys.Count > 0)
                    OutputIt("FTP Sites");
                    foreach (string Site in ftp.Keys)
                        string output = Site.PadRight(MaxWidth) + "  " + ftp[Site];
            // Catch any errors
            catch (Exception e)
                Console.WriteLine("Error: " + e.ToString());
                Console.WriteLine("Press enter to close/exit...");

        static void OutputIt(string lineToAdd)

            if (!String.IsNullOrEmpty(fileToWrite))
                StreamWriter SW;
                SW = File.AppendText(fileToWrite);
                Console.WriteLine("locationToOutput is Null or String.Empty please supply a value and try again.");
Friday, July 25, 2008 3:52:37 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
# Tuesday, July 15, 2008

As it's my Birthday today I thought I'd post a silly ditty. I'm currently altering Protx's old ASP.Net library to accommodate their changes in regards 3D Secure and while reflecting some of the code came across an enum with their number representations as Hexadecimal strings. I needed to convert these to decimals so thought I'd share a quick and easy way to do it.

Open up Window's Calculator (Windows Key + R then type in calc) under the View menu select "Scientific". Press the F5 key to switch over to Hex entry. Type in the value after the 0x and hit F6

Simple, easy and will help you convert all those Hexadecimal strings (ones that look like this: 0x01 or 0x1a).

Right, time for a coffee :)

Tuesday, July 15, 2008 10:25:56 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [2]  | 
# Thursday, July 10, 2008

We've been setting up the page's title using ASP.Net for quite some time now, we tend to word it: Product Name | Category | Site Name as this IMO is the most comprehensive naming convention (though the pipe (|) gets converted to a space for the bookmarks).

When editing one of our sites today though I noticed that the title was resorting to Avant Garde hair salons -which was setup as the brand's name. Looking into it I found that if you set the <title> tag within the page or master page, ASP.Net doesn't override it from the codebehind so watch out!

For those of you who don't know how to set the title of your page from codebehind it's simple:

this.Page.Title = "Put your title here";
ASP.Net | C#
Thursday, July 10, 2008 11:57:57 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Wednesday, July 09, 2008

This is one of the most bizarre stories I've heard in a while, you really can't make it up. http://news.bbc.co.uk/1/hi/england/norfolk/7496923.stm

Wednesday, July 09, 2008 12:51:02 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Saturday, July 05, 2008

I've been re-working our new SVN structures recently as I'm now starting to understand how it works but one of the issues I had was trying to move the files/folders from a previous SVN directory.

PowerShell is great if you understand it (which I'm also learning) so I thought I would share this little script with you. It just loops through the files/folders and removes all those named _svn. I found this script from Wyatt Lyon Preul and he complained about the length of the script, but from what I can tell you can condense that down to:

gci $folder -fil '_svn' -r -fo | ? {$_.psIsContainer} | ri -fo -r

I'm not that great with PowerShell yet but I hope that helps someone :)

WARNING: As ever, incase I'm wrong (it happens!) test that on a folder first that you don't worry about losing!
Saturday, July 05, 2008 4:25:32 PM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
# Thursday, July 03, 2008

This started out as a response to a comment and then I thought it might be better as a post in it's own right.

In his comment David Conlisk said:

First off Tim very well done on providing some excellent information on the site. I've just spent my first afternoon as my own boss reading your business start-up advice and it's been excellent (it's called research, not slacking off!)

One question I would ask you about this post is what about market rates? I am going from being a contractor on an hourly rate to being a limited company. I never considered working out a base rate like you've done, instead I spoke to as many people as possible in the marketplace to gauge what the rates are and I price accordingly. Of course this works fine for more corporate clients, but I doubt I could charge smaller companies similar rates. Let's hope I can make a good enough impression on my corporate clients to keep that kind of work coming in!

Keep up the good work,


Hi David,

Thanks for your kind words, I'm glad to hear you found it of use.

In regards market rates, it's one of the oldest debates in the book AFAIK and has a rather unhelpful answer of "You should charge what you feel comfortable charging". I'll try to improve on that a little as it's always hard but in essence it's true. Basically from experience I would keep it as simple as possible, have as few rates as possible for all clients, just make sure you feel you're worth the rate in your own mind.

Although you need to keep an eye on the "market rates", you'll find your rate will determine the type of client you work with. Being the cheapest on the market is not necessarily a good thing. One advantage of offering a freelance service to other development companies is that we get to see what happens when your prices are rock bottom -take it from me, more often than not, it's more hassle than it's worth. When you have someone going el-cheapo all the way you often find they're overly picky about every aspect and require a lot more management time (that's not to say those paying higher rates aren't, I guess you just notice it more).

As long as you're reasonable with your rates, clients who are willing to pay your rates, will use you (they may complain a little but it's unlikely) but at the end you'll both be happy with the work produced. As long as you believe in yourself -and your rates, this will be conveyed to your clients so if you know you're value for money you will be able to justify it to any client (corporate or otherwise). It's up to the client to decide whether you're value for money.

Believe it or not the service industry is not the only industry to set it's fees and then get them negotiated on -Stacey used to work in Debenhams a few years ago, for those of you who don't know what Debenhams is, it's a large department store in the UK, they sell items for a set fee, everyone knows this but regardless of this she still had people trying to negotiate on the fee. Be open to negotiation but don't be silly about it otherwise the client may always expect a discount of that level (so stick to no more than a 10% variation).

Don't worry about having clients not use you because of your rate, as long as you're around the market rate there will be a client for you. At the end of the day, you can't realistically expect to service every prospect that comes through your doors -sometimes you just have to say "sorry that's the price".

I'm not saying charge £1,000ph when the market rate is £10ph as that's just silly but I would say your base rate shouldn't be cheaper than the market rate or more than 3 times the market rate (unless your service really is that good and you're bogged down with work [I did have a link for here about an ?SEO company charging $1,000ph and still being too busy but I can't find it atm], in which case go for it!).

Tip: How do you find out market rates? That's simple, find a couple of companies who offer similar services, to a similar client base who are a similar size to you, call them up and just ask them what their daily rates are. Call 10 or so companies and you should have a few prices to compare :)

Another tip: Always ask for an rough idea of their budget -even if it's just a range, this will give you a good idea of they're realistic or not.

And one more: Don't forget your rates don't need to be fixed. If you find you're too busy, increase your rates a little, if you're too quiet (whereas everyone else is really busy) then you may need to look into how you market your business, your presentation skills and finally possibly reducing your rates.

A word of warning: I would avoid dropping your rate "for the nice client" as the majority of times you'll end up regretting it, either because it gets out of control and you get frustrated because "you're doing them a favour" whereas they feel they just negotiated your service rates down (and so should be getting the same level of service. Remember, it's business, you don't need to do anyone a favour, charge what you feel is fair for your time and you'll always enjoy your work :)

On the flip side of this, if you're lucky enough to get a large corporate, make sure your rate is their market rate as we've lost work for being too cheap (and in my eyes we were already overcharging for the workload).

It's easy to be busy and cheap, but being a busy fool is no way to live!



Thursday, July 03, 2008 8:36:01 AM (GMT Daylight Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  |