Projects, Software Developement »

[28 Jul 2009 | 2 Comments]

It was 2 weeks ago now but I had the privilege of giving a 20 minute talk at the £5 App event in Brighton.

My slide deck of the talk will be at the bottom of this post for download if anyone is interested. The event was recorded by Ian Ozsvald and posted on his blog as well as the £5 App website.

I talked about quitting my job and hiring a small team to help develop the websites I had created into something with more quality and could be a commercial success. I wish I had had a little more time as I didn’t get do demo any of the functionality but it was great to be able to talk about them! The websites are http://www.skillbook.co.uk http://www.safetytrainingnetwork.co.uk and http://www.trainingcoursebooker.com .

On reflection there was one point which I wish I had made. I have spent most of my career working for large companies which we can call ‘The Man’ and at the talk I was congratulated for ditching ‘The Man’ and doing my own thing. However this implies that working for ‘The Man’ is a bad thing and this is where I wish I had made the following point.

In my opinion [more]getting experience working for ‘The Man’ is a very valuable as long as you use it in the right way. There is no doubt that the companies I have worked for have exploited my skills to make them money, however I have learnt a lot about how things should be done and taken advantage of the opportunities they had to offer. I have been sent on lots of training, worked with very experience people, worked on large projects, given teams of people to run, worked with new technologies, been show technical best practice and this is only on the professional side of things. Don’t forget that you can earn a very good salary from The Man and have added benefits such as pensions and health insurance, these are all things that I have had to give up to follow my dream. My main bit of advice is to update your CV every year when working for The Man, if you find you have nothing to add to it one year then it is time to move on or up, don’t get stuck in a rut.

So here I am now after spending all the money I had and borrowing as much as I can to finance my websites. They have just started to generate a trickle of income which seems to be building week on week and I am wondering what options I have in front of me to keep my dream going, as I think I just need more time for things to pick up now. I have looked at grants but this doesn’t seem possible, I have spoken to Business Link who were as helpful as a chocolate teapot, I have spoken to the bank who will want the rest of the equity in my house and proof my website can make money, I’ve maxed out the overdraft at the bank of Mum and Dad, do I start looking for an Angel investor – quiet possibly – but do I need to give away equity at this stage? Get rid of my team? NO NO NO – I have a great team and they have to stay and work on the sites. The solution I have come up with is to go back to ‘The Man’ as a contractor. This time it is a large utility company, the pay is good and should cover the salaries of the rest of the team while the contract lasts and in a few months I am expecting the trickle of income to have swelled to a decent stream or perhaps a river, if it hasn’t then perhaps another avenue will be pursued.

My point here is that having had experience in the past working for ‘The Man’ has given me options now to find a new job for ‘The Man’ in the middle of the recession to continue financing my project. You can only get these jobs if you have the right experience so working for ‘The Man’ is not always a bad thing – just always try your hardest, don’t get too comfortable and become stuck in a rut!

£5 App #18 - David Hawes on Safety Training Network from Ian Ozsvald on Vimeo.

 

My slide deck (very basic I’m afraid!!)

ASP.net »

[27 Jul 2009 | 0 Comments]

I have just had one of those weeks where nothing seems to be simple, now finally after countless hours of head scratching I think I have a solution to a problem that has dogged me for over a month now.

I am using an asp:ListView on the Online File Store of my http://www.skillbook.co.uk website (check it out, it’s free to sign up to!!). I decided to explicitly bind my data to the control rather than use the <%# Bind(“”) %> syntax for reasons that are not important. During testing we had reports that when saving an edit of the first item in a page an exception was being thrown the good old ‘object reference is not equal to an object’.

Back on the Dev environment I could not reproduce it. On the internal server I could not reproduce it. On the live server it was falling over like my 5 week old baby trying to stand when I clicked save.

I have found other people with this problem:

http://forums.asp.net/p/1275744/2424258.aspx#2424258

http://www.ureader.com/msg/14254035.aspx

but no solution. With the pressure on to fix this in the live environment I have finally found a solution that seems to work, and I’m afraid that it is phugly code.

With the listView.EditItem == null the answer for me was just to get the item out of the ListView using the index that is sent through as part of the ListViewUpdateEventArgs.

So instead of:

                 ASPxTextBox txtName = (ASPxTextBox)listView.EditItem.FindControl("txtName");

It becomes:

                 ASPxTextBox txtName = (ASPxTextBox)listView.Items[e.ItemIndex].FindControl("txtName");

 

I really hope this helps some people out there!