Wednesday, 8 April 2009

Want to save time? Look for the pattern

In this case I'm writing about software development but I feel this point relates to most areas in life. Most things we do canbe viewed as having common elements that could be described as a pattern. Even crowds which you'd assume should be full of independently minded individuals exhibit behaviour that can be described and predicted. 

My experience of programming has proven to me the value of coding for patterns. Creating helper functions, classes and methods to deal with common patterns has saved me innumerable hours over the years and is the only way I know to be able to create new code or an application that works pretty much straight out of the box and with relatively little effort. 

I'm just writing about it now because I checked out http://en.wikipedia.org/wiki/Design_pattern_(computer_science) and thought it explained the basics really well. I researched this years ago and thought it was brilliant. I'd already been doing it but now had a term to describe it. 

Tuesday, 7 April 2009

Key to survival in business: Create a larger market

Just an idea but I think I'm not alone in this. I've always felt that the best way of ensuring your survival as a company is to make the market larger rather than kill off all competitors.

I feel that in essence that's a key difference in business model between Googles, Facebooks and Flickr's whose products are free and, in some cases open source and Microsoft and Apple who charge for most things and lock in users. 

I feel googles suite of products, in general, focus on enabling us all to do more and get things done faster and better than before. By providing these tools free it's a no lose situation for the customer. Google gains because customers get use to the ease of use with the new technology. Google also gets to try things out, less people complain because their products are in beta anyway. The advantage to all who follow in Googles and others wake is that more and more people are flooding online and willing to spend their hard earned cash. 

All the tools and products these companies are creating and making easy to use help other companies generate further revenue. Much like symbiosis. The point is that the internet has the potential to be, effectively,  unlimited so companies can generate vast fortunes without encroaching on others space. Done properly then each company will contribute a little to making their market larger. Thus if they encroach on others then they should also make the market larger too. 

I dont' mean to bask Microsoft or Apple, they're just doing what companies do. I just like to promote business models that I prefer. I like symbiosis. They don't do that. They both control their markets very tightly and actively discrouage others from entering. I understand why, they do have their reasons. I just feel it's shortsighted and in fact they're shooting themselves in the foot. 

They focus on profit first and serving customers second. Well as other competitors come along, and as progress marches on more competitors are evolving, customers will be less and less likely to put up with those companies that forced their approach on them. It probably sounds harsh but I hear many people complaining how linux and other free and open technologies get less than active support. 

I'm very close to leaving microsoft behind. They're silly licensing and product support approach is just the last straw. Once I've gone I won't be coming back. I don't think I'm alone. My knowledge of how they work will be gone and that's what locked me in in the first place. I never thought they were better than anyone else.

Apple is the same. I never got an ipod despite my wife telling me repeatedly I should. I've got a sony ericsson music phone. Sure they lock you in too but atleast the phones hardware, memory, battery etc, can be upgraded and swapped out. I'm really waiting for Google Android because I'll be able to, in theory, run the same operating system on many devices and benefit from real symbiosis. All my apps will be able to share with each other and life will be easy again.  Until of course Google and others get too big for their boots and start locking us in!!!!

I know that's dumbing down things and also that some have tried this before, created a larger market and then been swallowed up themselves by the companies that began to dominate the market. 

My answer to that would be that this is likely in any market no matter what it's size. If a company gets swallowed up it's like a fish in the ocean. It wasn't looking around and staying out of danger and maybe it didn't develop sufficient defences. 

The idea that inspired this post is that with the advent of the internet I think it's now possible for those with this kind of ethos to survive.  Mainly because it's easier than ever before to create and sustain a market and easier to get customers to shift to your product. Of course it's also easier for them to drop it too. 

So why create a larger market? 
That way there's plenty of room for everyone. Much like a fish tank or an estate for humans. Pack them too close together and restrict food and resources and fights are going to ensue. The stronger will win out. The cunning will survive but eventually size will always win. Yet give them enough space and make food and resources more freely available and they won't have to fight any more. The cost of fighting is high for the community so it's actively discouraged. 

Ok, I know this is a bit simplistic and I'm not interested in delving too deeply. It is my belief though and is a pattern that I feel works in communities, in nature and in business. If business is about profit, that's the food and energy of business. Without it everything stops and shuts down. Well a larger market with more customers than there are providers conflicts aren't so necessary. You'll obviously get companies who encourage loyalty by locking customers in. But customers can also get wise to this and lose faith in those who locked them in. It's not hard to view it as a sign of weakness on the companies part that they weren't good enough on their own. 

Just thought I'd put it out there. Show my hand and see if anyone else wants to show theirs. You see I don't think we're experieincing technical progress. Evolution is occurring in all spheres and business models underpin our lives today. I genuinely believe it's possible to create companies that give back as much as they take and then some. Much like seeds growing in soil can eventually lead to a forest where supporting hundreds of different species all connected to each other but helping each other all the same. 

Everything in balance. It's a dream. Nature has achieved it many many times. I think business and technology both reflect nature, natural selection and evolution. So I think it's only a matter of time before this becomes reality. 

Monday, 6 April 2009

Daily habits: they can make or break you

It just occurred to me that there may be a simple way to explain why daily habits have such a important role in determining both overall health and health from day to day.

I just want to record these thoughts at a basic level while they're fresh. The reason being I think most people get that how they lead their lives determines its quality and length but most don't feel they have much control over it for various reasons. 

To help it's important to start from a basic principle that can be built on. This principle for me is that our bodies are in a process of constant change. The reason ve've been so effective as to dominate the earth and take thrive so well on this planet is, as far as I can see, that we're able to adapt so well to the conditions on all types of land environment. From th hottest and driest, to the coldest and wettest parts of our planets humans have gone there and conquered. Even before this technological age. 

What made it possible?
From what I can see it's because our bodies are continually preparing for the next challenge be it famine or feast or a massive trek to find food our bodies are considering what we're about to face. 

The difference these days is that we don't face the challenges on a day to day basis that we used to. So our bodies don't know get the signals they're designed for. That means they're preparing for different things and thus all these western diseases are kind of the by product.

The essence goes back to understanding what environment(s) our bodies are designed to thrive in and then how to achieve it today. I don't want to live like a caveman even if that's what my body is designed for. For me I want to figure out how to achieve nirvana in the here and now by understanding what makes us tick by referrring to all this history and our place in it. 

Right now I feel it's children that can teach us the most. Time after time I feel that as adults we're overloaded with information about our bodies and how to work with them but much of it is like a joke with no punch line.  I keep feeling we don't know enough yet to put it all together correctly. So all these diets and strict regimes are generally too reductionist because they forget that humans survive in all climates, on different types of food, they live very varied lifestyles yet in all cultures some live past 100. That kind of implies that humans can thrive anywhere and on plenty of difference diets. 

It makes more sense to me that our bodies have a well developed system of dealing with the bad consequences of our lives and that those who thrive the most.  The ones who live the longest with the highest quality of life. Simply follow lifestyles that work in the environment they live. 

Ok, I've not said anything groundbreaking so far. Well I don't think I have but I feel the research reduces everything down to calories and vitamins so we think the answer is there. I'm not sure it's all there. I think plenty of other things must be considered. 

Talking about children they just run around and play and eat kind of what they want. Sure they often eat things they shouldn't but then they soon learn. The point being They don't spend their lives worrying about what they eat. They do lead active lives. They don't live strict lives they work well with their bodies because if they have an urge for food they have it. I generally find that when you're really active regularly it's quite hard to eat so much that you put on much weight at all. In fact you need a bunch of food. Yet you don't actually feel like you do that much because you're body is really used to it. 

Point being when you're a kid without all the burdens of adulthood you just do what your body is designed for. When you become an adult you often stop. Maybe not everything but I bet we can all make a short list of some of the things we did as a kid that were probably good for us that we don't do any more. I wonder how many of these things should be in a recipe for a healthy, happy and productive life. 

  • Laughing regularly
  • jumping around
  • playing for the heck of it
  • just doing nothing and enjoying it
  • not worrying about bigs things that might happen
  • just giving your best, if it's not good enough then figure out why and try again. Not seeing it as failure
  • Enjoying food, eating without guilt

You can probably see. I just feel like life is for living and most kids have got that down. So it's about what they can teach us.

I've kind of drifted from the point of this post. That is that every day our bodies monitor our activity and challenges we face as a clue to what to prepare for. And every day our bodies are remodelling to help us faces these expected challenges. Activity in all its forms is such an important way of telling our bodies what challenges we need it to prepare for. In this way we replicate the challenges our ancestors faced and help our bodies do what they're designed for. 

So what challenges are these and how can they help us. The list I'm going to write is not exhaustive and not some thing I've researched in depth. I'm just putting my thoughts down so I can take a step back and see if this fits the wider puzzle

  • exercise(physical activity): involves making key energy sources limited through icnreased demand for them. Forces the body to be efficient with each. The same goes for water and other nutrients. Exercise, especially intense exercise, is the main time our bodies learn to deal with a huge demand for all the bodies resources at the same time. It also exposes our organs such as muscles to conditions similar to famine compared to the feast they normally have because the resources must be shared among a large muscle mass, organs like the liver, kidney, lungs, heart all have to do a lot with very little. This ensures they reach the top of their game and become strong and able to with stand lifes rigours
  • intermittent fasting. I'm intrigued by this concept because I feel it represents another way of exposing ther body to conditions of scarcity triggering processes inate in us to deal with this. I wonder if it may force us to protect our vitamin and nutrient stores better and be more efficient with what we have. So, much like exercise, could it be a way of maintaing the challenges that our bodies are designed to thrive on, and may even expect in order to thrive.
  • highs and lows (emotional exercise): We're not just machines. I play sports because it gives me joy and frustration. I feel I need both to thrive. In the west we have such easy lives compared to those in the first world.  Yet we often seem to be more stressed. I've noticed how my approach and attitude to events in my life changes dramatically as I experience more profound stress and distress than I had previously. These tought times do actually often make me stronger and give me a different perspective. Much like physical exercise does on my body. It gives it a different persepective on the same challenge. I find that I learn new coping techniques that are better than the old and so I find my life generally feels easier and happier than before. So in some ways this is like an emotional work out. And to be honest I need to keep it up other wise my skills, like any other, will fade into neglect.
  • dreams and reality: (spiritual exercise): I can see where this list is going now :-). Again I love to have dreams but reality keep coming back in and ruining things. I grew up as a dreamer but as I've grown I've learnt how to make dreams become reality. The constant shift between dreams and reality is good as long as you keep working on turning your dreams into a reality. Again it's exercise. It's about developing skills and experience and then maintaining it. 

I may need to add to and adjust the list but I think it's captured the essence. In many areas we change on a daily basis. It's botha  chance to improve and a chance to wither. A chance to get rid of dead wood but also to lose amazing skills. Our minds and bodies have been designed for this and so they know how to keep hold of the good and get rid of the bad. 

Our challenge is to learn how to work with this too so we can get the best out of ourselves. 

Friday, 3 April 2009

using identical twins in scientific research. Does it prove anything?

I've always had an issue with the concept of using identical twins separated at birth as evidence to support any idea that genes determine our personalities. I couldn't lay my finger on it exactly but just because a bunch of people with identical, or very similar genes seem to end up being similar in some ways. It's assumed that must be down to genetics. I still feel that could easily be down to the way societies and cultures treat people according to the way they look.

Thus I often feel that the way we look and our physical characterstics can have a great impact on our interactions with others and ultimately how we see ourselves through others eyes. it's common to see people changing their hair, clothes or body to project a different image. we often find that these kinds of changes do infact change how others view and treat us. So would it be any surprise that two identical twins who essentially look exactly the same would end up acting and thinking in exactly the same way. 

Over the years there have been many movements to ensure that individuals are treated according to their abilities ather than their gender, race, age, size or any other attribute. 

It's really these kinds of reasons and the important and continual impact they have on our lives, that makes me question any real validity in using identical twins to prove genetic determination. That's not to say that it doesn't exist. I just think the methods used ignore all the other variables that exist and are far too simplistic in their approach. 

So why do I even care enough to write a post about it?
Mainly because everything I've learnt in life teaches me about mind over matter. If yu really want some thing you cn normally find a way to get it. yet first you have to have the determination and belief that you can get it. Without that you are leaving it to chance.

Most people I meet still cling to the notion that they just can't achieve a goal for some basic biological reason. it often seem to boil down to genetics. Therefore bringing this view out in the open and questioning it is important because it doesn't happen enough. 

Thursday, 2 April 2009

Google debuts JavaScript playground

OMG this is just fantastic. I am really excited about what's to come with browsers and applications. But here's a couple of demos. I use chrome to browse and just tried them. Wow

How do you measure and improve defect rates?

It's probably been mentioned a thousand times elsewhere. defect rate to me is essential to understand. It's effectively how much time do I spend developing code compared to how much spent fixing it. The essence being if I wrote it right first time then I wouldn't have to keep going back to fix it. I've read many articles before that talk about how to write things right first time. I've put the ideas into practise and by jove they worked. 

But why have defect rate as a performance measure in the first place? 
Well because if you don't make something a priority it often gets forgotten above other priorities. You also have to still make sure this priority gets implemented but essentially I tell people my defect rate is low. This means I have to match that statement in what I do. Yet it gets me other currency. Customers are willing to wait longer for something that works first time than something that's buggy. They chose me over other suppliers because they trust my work no matter what the price. if I say it's going to take longer than they'd like they still accept my terms and don't go elsewhere. Why? because by focusing on defect rat, being honest about it and making it core the customer knows what he/she is getting and they have confidence that when the solution is delivered it will work. 

I've also found that by focusing on low defect rates I began acquiring and developing tools to elicit defects in theory and design before they emerge. I've learnt from experience that a badly thought out plan, one that hasn't been reviewed by enough people who are in the right places will lead to defects. Mainly becuase you'll have to keep changing your plan as the bad design becomes apparent. Thus I prefer to express my interpretation of any clients requests in as many ways as I can given my available resources. That way I've done everything I can to make my intentions clear to my clients. They can see what I am planning to develop and try it out in various ways at their leisure.

This approach encourages discussion, or at the very least insulates me from a lot of liability. By doing this early I've made it clear what will be designed. If a customer comes back very late and asks for changes I then have a strong position to explain this should have been done earlier in the process. A lot of work has been done now and the cost of changing it needs tobe discussed. 

Of course change is common and to be expected. Again that's where you need to plan and built tools and processes into your methods. Every client on every project has asked for changes at different times. If you can't adapt and maintain quality then you need to learn. There are plenty of places to find out how to do this and plenty of different ways of achieving it. But if you don't even accept that change is normal and make adapting to it a priority then you're kind of doomed to failure. Atleast on the defect rate.

so how do you go about ensuring a low defect rate?
That's a big question. I don't intend to go indepth here. The point was to argue why it should be a key aim. In essence it's about understanding the resource you have, the features you're developing and the impact they're gonna have. You've then got to realise the exponential impact of any feature development on everything else. Literally the butterfly effect applied to code. A change in one line in a script in one component could affect the ability to log in elsewhere. 

A low defect rate in practice means being expert and identifying and fixing bugs. Don't let the customer identify them for you. Be good at solving them before they go out. This means you need eyes in the back of your head. Or, in reality tools or scripts that can tell you whenever a bit of code is not working right. Whether it's a full blown set of unit tests or just a simple script that runs through the basics. That's your decision. I'm very practical so I always start with small simple scripts that test key areas that I can run any second I like. 

I then literally test all the time. It's so much  easier to fix a bug when you identify it early. So I want to know the instant I've caused a problem. That means I know that the change or changes I just made caused the problem so I already know where to being looking. 

This also implies that I can roll back and forward my changes to remove and create the problem. That's generally the heard of good bug fixing. 

Any way I didn't want to go on here about exactly how to address defect rates. I jsut wanted to show that I've found that using it as a performacne measure with clients helped me


I should in time link to the other posts I've written on this topic to bring it all together

Wednesday, 1 April 2009

Where would you be if your true knowledge and skills were easy to share?

It strikes me that it's easier than ever to setup a site or system that's effectively the social site for assessment and getting jobs. The premise being individuals have knowledge and skills and they want to show others how good this knowledge and skills are. We normally do this through lengthy examination and assement procedures that take a long time to feedback. I'm referring to the gcse, A level, degree process which takes months for assessment and feedback and has years in between each stage.

These days it's possible to bring this all down to weeks in terms of assessment and feedback. it's also much much easier to retake these assessments. Ultimately taking the pressure off the initial assessments.

So it could be speeded up. But currently we don't renew our qualifications or update them. The degree or A level you got years ago could be seen as irrelevant 10 years later. Particularly if you're in a fast moving field like programming or sports science. Oh, I'm in both, employed in one and interested in the other too.

If the process is much easier it becomes possible to take tests more regularly to provide a picture of how your knowledge and skills are growing. also with so many social sites springing up and gaining popularity it only seems natural to provide a simple place to share this information.

Most everyone wants to have a place where they can easily make their qualifications available to those who they are interested in working with. Whether it's employee to applicant, contractor to business, student to teaching institution. Both sides could do things faster if the info was available when required and easily accessible like on the web.

Whether all the info is stored on one site or aggregated through many providers and mashed together is irrelevant. Each institution that carries out online assessment and feedback could provide mechanisms to share this info with others who request it. The key point being security and privacy issues being dealt with properly.

the big quesiton I feel then is where would you be in terms of your career and your life if this were in place. You'd probably be further along. You'd probably be better informed about your true strengths and weaknesses. You'd also have had more input into the qualifications you put out there and people see you through. so you're more likely to be working in an organisation that fits your skill set.

For organisation you'd be more likely to hire those who fit your needs. You'd be much better able to match the people you employ to the organisation you run.

Both sides would also be better placed to adapt their situtation to changing climates, wants and needs. With faster and cheaper testing and feedback individuals can take the tests that are relevant now and organisations can look for individuals with these skills. All the while building a much rich pool of qualifications from which to draw. The individual no longer has to sift through all their skills and qualifications and guss what the organisation wants. Simlarly the organisation can easily search for the qualifications they need they don't have to rely on the applicant providing them.

It strikes me at the moment, as I've mentioned elsewhere, that with the rise of the internet and everything related to it I feel we're in the dawn of a new age. Ok, new ages are kind of a regular occurence given the pace of change but I do think that the internet provides connectivity between all humans the likes of which we've never seen before. It just provides real time interaction and knowledge sharing that make so many things possible and relatively easy.

So I think many existing markets and entrenched institutions will change dramatically as a result because it'll become much easier to replicate existing processes or even re-implement them in different ways.

A case in point being education and how we assess the learning achieved. For so long we've had a state funded approach with standardised certifications usually conducted through exams and course work and administered by schools, colleges and universities. Exam bodies provide the assessment while schools provide the learning. That's how it's been done. The purpose, I often hear about, for the learning is to prepare people for the jobs, careers and life they will have in future. At some point education wasn't just about skills for jobs but I feel it's swung back to being just so. The concept being the longer you've stayed in education the higher the qualification you obtain. These qualifications are your passport to a career you want.

Because this is a relatively standardised process that is generally well understood by employers it is important to have good qualifications to get where you want to be. That's true to a certain point. But I feel cracks start to appear very quickly in the assumption that this is the way things should always be done.

What if you could sign up to a site that is a one stop shop for assessment. One where you could take a bunch of tests that employers respected. You could take the tests that you wanted to do and effectively put together a cv. Then when you found a position you wanted to apply for you contacted the employer. As part of your application you are able to share your test scores with the employer much like we're able to share things these days through sites like facebook and flickr. You're also asked to take an extra set of tests related to the role you're applying for. You take these tests and also share the results.

The advantage you have is that you can take tests whenever you want. It just depends on how much you can afford and whether there is a test you're interested in.  You can then easily build up a profile of scores which reflect your abilities across a range of skills and disciplines. You can keep updating your scores whenever. You don't have to wait until specific points in time like every few years to get a new updated set. That's how things work now in the UK with gcse's, A level and Degrees etc. The problem is that it's relatively easy to underperform at any particular exam but getting a retry is exceptionally difficult involving a whole lot more studying and effort. Yet there's no real justification for this. Testing has been around for millenia. So have many of the disciplines being tested.

I feel enough solutions are now out there that tests could be retaken much sooner. In fact when I think about it if you were paying for the test yourself then that implies a business model is in place. Business models exist or could be tweaked to support even the most difficult retesting such as essay marking. It just requires some one who has the vision and a bit of effort but in this day and age I'm certain it is possible.

All of us I feel could improve some of our exam results had we been allowed to retake them at some point. I know plenty of people who lost a relative, had their parents divorcing, split up with a girlfriend or something else pretty major around the time of their exams. We all have things going on and we're human. So what I'm saying is the rigid and unforgiving nature of this assessment system makes it ripe for change. think of it another way. Given the chance would you like to fix those few qualifications that let you down. sure now it's probably a little late but if it were a month after getting the result, you still have the knowledge and a place at uni or a job is at stake. For just a few quid you could fix the mistake. Don't you want exam results that reflect your true skill not just what you could do on the day.

Employers can also benefit too. Qualifications become obsolete or atleast poor indicators over time. Sure some one got an A at A level but they're 28 now so that was 10 years ago. Most employers look at recent evidence. Well what if you could keep updating your test scores on team working, communication, software development, accounting, whatever's relevant.

When I was hired for TUI (a massive corporation who own the likes of thompson holidays). They paid for a few tests for all applicants. It meant they had the latest knowledge about their applicants. They could treat them all fairly because a standard score in several areas was set. Those who didn't reach it didn't get an interview. So race, gender, class etc went out the window. They only cared whether you were good enough. Sure TUI chose the testing organisation but that ensured they got the quality they want. Once I was hired I was development manager and so oversaw hiring of developers. I'd been through the testing process now I was part of it from the organisations side. I thought it was brilliant because during the interview I knew these people had been tested and reach the required level. I could then use the info and their CV and probe deeper.

So the applicants got a much fairer test. They got to show what they could do right now. They didn't have to rely on test scores from months or years ago that were out of date. We also got to focus on other areas during interview so we had a more rounded view of the individual.

So I can see the benefits that both individual and organisation would gain from this and also that it could become a wider part of our culture. If individuals could test themselves more and store their results. And if organisations could use these results or ask for other relevant tests then both gain. The main advantage is access to the most recent and relevant information.

As a software devleoper I know it's relatively simple to put this together. If you could be authorised as a certificate awarding body that would signifcantly boost your status but if you couldn't that wouldn't be a killer either.  You could still be build a market and a presence. Providing standardisation of tests would be a challenge but that's possible. it's been done before and could be done again. The main point would be speeding up the process of testing and reporting results. And bringing down the cost of both too.

I could also see that any institution that already has or is building an online based asssesment process would be well positioned to take part in this solution if it became a reality.

Update 20091214
It turns out the the OU is looking into this through the Centre for Outcomes based Education (COBE).
Specifically the Recognising Achievement Project (RAP) is looking into 'recognising learning from non-traditional routes'