Business
How to motivate software developers
Jul 5th
I was thinking the other day about the importance of quality software architecture and about how the planning of such software architecture can fundamentally affect the success of a business. Indeed, the benefits of adequate planning are painfully obvious to those who have worked on projects- both badly planned and well planned ones.
The following question then occurred to me: “How does one motivate software developers to do the right thing while they are developing?” As we all know, there is an ‘easy’ way to do things and a ‘hard’ way. At this point it may be useful to use the analogy of building a house to explain my point. The first (easy) option of building a house would be to build it out of wood, with merely satisfactory foundations. The second (harder) option would be to build it out of cement and concrete, with deep foundations. Both options would serve their purpose; however, under extreme weather conditions, (and, in fact, inevitably over time), the first house would start to creak and no longer be able to perform its task, while the second would remain strong.
The same principle applies to software development. The question is thus raised regarding how to motivate the developers in a company (or on a project) to make the right choices; to lay the right foundations; and stick to these principles over time. Importantly, the issue is not simply how to motivate them to work, but rather, how to motivate them to do their job to the best of their ability.
I would argue that there are two major categories of developers. The first kind of developer is a developer who may have needed to make a career choice after school, and who chose IT because it was the option people suggested (s)he decide on. The choice to become a developer was, as such, essentially reducible to the choice to pursue a seemingly “good” job. The second kind of developer, however, is passionate about technology and would most likely be involved in IT regardless of any career potentials offered by the field.
I would not know how to motivate the first kind of developer in this example- I believe that these types rarely elevate themselves to the heights that are truly needed in the industry (unless they transition to the second type). I suppose that the pay-check at the end of each month would probably be enough motivation in most cases, although this is only likely to be motivation to simply show up at work; not to go the extra mile. If a company’s developers are of the first type only, the company or project would almost certainly need a strong architect to set policies and expectations in place, and to make sure that these are carried out.
The real question I would like to address here concerns the issue of motivating the second type of developer- the passionate one. (I believe that I am personally passionate about technology and software development so forgive me if I have related this question to myself too readily). Luckily, I work for myself now, so my motivation to offer excellent client service is certainly present. However, since I have begun to outsource more work, I have also been urged to think back to a time during which I worked for companies, and not for myself. In retrospect, a pressing question for me concerns what these companies did to make me lose interest. What would have kept me motivated? And more importantly, how do I keep my people motivated now? I have identified four issues that may help add clarity to this issue, and these are what I would like to share with you here.
1) Listen to the Senior Developers
At almost every company I have worked, there has been a power-struggle about delivery and priorities, between the top levels of management and development teams. The developers are desperate for time to update the architecture and design of software, while management push only for new features to drive short term sales. In the long term, if these managers consistently win this debate without making any compromises, the software will inevitably fall short, as developers are not able to see their proposals met and the architecture ultimately fails. Technology is ever-changing; and if you are still developing the same way you did five years ago, your competitors are getting ahead of you and your developers will remain frustrated.
2) Keep innovating
Nobody who is passionate about technology wants to do the same thing for three years. They want to do new things; use new tools; use new technology and generally-speaking, innovate. This is not always an easy goal to achieve, but if followed out, it will serve two purposes. Not only will the developers be more satisfied with and excited about their day-to-day work, but innovation will also open up new revenue streams within a business.
3) Give a sense of ownership
By this I don’t mean giving someone a “Team Leader” title and telling them to run with it. I mean genuine ownership. I would suggest that software or technology companies should have an optional staff share plan in place. This would encourage developers to make sure that the work they conduct is sustainable for years to come, since they will benefit directly from the company’s success. Giving staff ownership options will ensure that staff remains motivated on a second account, too: When they leave the company, their software will continue to generate income for them.
4) Financial reward
In most organizations the senior developers are well aware of the kind of money that they are generating for the business. Therefore, if for example, a developer makes your business $10 million in revenue, why not give them a $100,000 bonus? Don’t base rewards on a percentage of their salary- base it on the revenue they generate. This will ensure that developers keep pushing to make your systems perform better, as well as ensuring that they are always available to do so, etc. (This is partially related to my third point, but direct bonuses are also a good way to keep the developer enthused).
In closing, I feel that any business that can develop these principles will create a place of innovation and of performance. And inevitably, this cycle is reversible, too. If for example, I was a developer and the company interviewing me had no passion, I would certainly pick up on that fact, and would no longer be interested in joining the company. If, however, they were genuinely passionate about their jobs, their rewards and their systems, that fact would be obvious to me, too, and would immediately incite me to become involved. Indeed, for a company to portray passion in interviewing potential developers is an invaluable objective, and will ultimately ensure that the right kind of developers enter the business.
If you’d like to share your thoughts on this topic with me, please don’t hesitate to do so. I would love to hear from other passionate guys out there, and to gain insight into what they think may be the motivating factors for software developers in today’s ever-changing, technology-driven society.
Kannel presentation to GeekDinner
Oct 3rd
Apologies for the delay as I promised to have this up the day after GeekDinner
Thanks to all those involved with organizing these events, they are really enjoyed by all. Thanks to the sponsors Delheim for providing the wine for the event.
Anyway, without further ado here is the presentation I gave on Kannel at GeekDinner on Monday the 28th of September 2009.
I hope it provides some insight into the gateway
Technorati Tags: Kannel, GeekDinner
Kannel for Windows – Some Cygwin Binaries
Apr 8th
A customer of mine recently asked me for a windows version of Kannel. Prior to this I had no experience with Cygwin/Windows development at all. It was actually extremely simple to build Kannel using Cygwin (thanks to the Kannel developers for being, well, pretty cool
).
Obviously it’s not the easiest thing in the world for non-developers so I thought I would make it easy for everyone to just simply download some binaries of Kannel and get going.
So with that said, I have built two installers for Kannel to run on windows. I have built against the stable release 1.4.3 and then I have done a CVS snapshot build against CVS dated 2009-04-07.
If you are interested in these, please navigate to my kannel for windows page which I will keep up to date as more stable releases get done.
Just a bit of background of how to build your own versions on Cygwin below:
- Download latest version of Cygwin
- Install, making sure you select the development packages (gcc, automake, libxml2-devel, openssl-devel, etc)
- Download and extract the source of Kannel from www.kannel.org
- Change directory to the extracted source
- Run ./configure
- Run make
- Then if you wish, run make install to install (need privileges unless alternative –prefix was specified)
Easy !
Just as a final note, Kannel on windows should NOT be treated as a production ready piece of software, so this should be used strictly for convenience, testing, development, etc.
As always, if you have any questions, leave a comment or mail me via blog@ddj.co.za
Technorati Tags: Kannel, Windows, Cygwin

Extracting meta-data from SMPP TLV’s with Kannel
Mar 15th
I have been relatively quiet the past few weeks with various operations going on, but seeing as I have a few minutes to spare I thought I would do a quick post explaining how to extract SMPP TLV’s using the new Kannel meta data features which are in the current CVS branch.
These are scheduled for the 1.5.0 stable release of Kannel, so for now you’ll need to do a CVS checkout of the main branch (as described in my previous posts).
I will be demonstrating how to set a test TLV and then extracting this data when a reply is received. Once you have setup your ‘smpp-tlv’ group, you simply need to specify an additional parameter in your smsbox request. This parameter is named ‘meta-data’. The format for this variable is ‘?<bind_type>?<dataset>’ currently the only supported bind type is ‘smpp’ but it was done this way to allow future support.
The dataset argument, is a URL encoded key/value pair string. So for these tests I have configured a smpp-tlv group called ‘my-custom-var’. In order to set this, I need to build a string like this for meta-data purposes.
?smpp?my-custom-var=This+is+a+cool+var
As you can see my-custom-var is set as a URL encoded variable, this will still need to be URL-encoded for submission in the meta-data parameter sent to smsbox.
So just to demonstrate, using PHP how you would build this string, you would use.
$bind_type = "smpp";
$my_custom_var = "This is a cool var";
$meta_data = "?".$bind_type."?my-custom-var=".urlencode($my_custom_var);
/* Now we need to urlencode this string */
$meta_data = urlencode($meta_data);
/* So URL would look like */
/* cgi-bin/sendsms?to=...&from=...&meta-data=$meta_data */
So now, when you set this to smsbox, it will be sent via the smpp bind as a TLV. Easy!
Now on the converse, if your smpp bind returns a TLV in a deliver_sm or other PDU, this will also passed to your URL (if you have configured it. Here below is a basic function for parsing the meta data out of this string.
/* This function will take the meta-data string and return an associative array */
function parse_metadata($var) {
$pos = strpos($var, "?", 1) + 1;
/* Simply stripping out bind type 'smpp', this can be modified if you need it
*/
$var = substr($var, $pos);
$data = parse_str($var, $out);
return $out;
}
/* Example: */
$meta_data = parse_metadata($_GET['meta-data']);
echo "My custom var = ".$meta_data['my-custom-var'];
I hope this helps you with your SMPP TLV requirements. Good luck, don’t forget to email me if you need any assistance with Kannel/SMS, etc and I will do my best to help you as best I can.
Technorati Tags: Kannel, SMPP, TLV, Kannel Support
Kannel Web Configuration Tool
Dec 18th
Following on with my previous themes of making Kannel easier to use for everyone, I have spent some time creating a tool which I think makes it easier to configure Kannel. It is a web based configuration tool which edits Kannel configuration files directly (doesn’t rely on any third party databases etc). I wrote it in PHP to keep it simple.
Current features
- Edit existing configuration files
- Add new configuration groups (smsc’s, smsbox-route, sendsms-user, etc)
- Based on the cfg.def from Kannel CVS 1.4.2 as of 2008/12/18
Features in progress
- Live updates to Kannel without restart for SMPP/EMI and smsbox-route’s (patch of Kannel CVS required)
Coming soon
- User authentication
- Kannel analytics and monitoring
- Audit trails of changes
- Other live updates
I am looking for feedback on the tool and when I believe it is stable enough and usable enough I will release it. You can see the beta of this tool here: http://www.ddj.co.za/kannel-config/web/
Enjoy! Please comment on the blog or email me at kwc@ddj.co.za with feedback.
Technorati Tags: Kannel, Web, Configuration, SMPP
The irony of the gym parking lot.
Apr 8th
I am writing this post because I am completely confused.
People go to gym to exercise right? Do weights, run on the treadmill, take classes, etc?
If they are there to exercise, why on earth do people have to park so close to the front door? Surely a few extra steps wouldn’t hurt, maybe it would be good for people to warm up a little.
I go to gym at the Virgin Active at Tygervalley and on a daily basis my mind is blown by people, who park on curbs, in bushes and all over the place, to avoid taking ten extra steps for a parking slightly further from the entrance. I’m not talking about there being no other parking available, just pure lazyness (or crazyness?).
Am I the only person who sees the irony?
Are we training enough Open Source competent people in SA?
Jul 25th
Working on the “dark side” of development, ie, the Open Source side has many distinct advantages, but it is becoming more and more apparent that there is a major skills shortage in South Africa. In all the businesses I have worked with, one of the recurring problems is finding good open source versed developers and unix skilled system administrators.
The problem as I see it is many of the Universities, Technikons and private learning institutions are still focused on teaching ASP, Visual Basic, Windows Servers, and so on, and the market is becoming more and more saturated with these skills. Where as on the other side of the spectrum there are gaping holes for competent staff.
With that said, if you are one of the few highly skilled PHP/MySQL (don’t be modest now!) developers, please get in touch with me, with your CV and/or some code you have written, so I can point you to some companies who desperately need your skills and are willing to pay for them! Specifically in Cape Town, South Africa!
Technorati Tags: PHP, MySQL, LAMP, Open Source, Developers
A Springbok supporter deep down.
Jul 20th
It doesn’t often happen when you get to take a snap of a die hard All Black supporter, wearing a Springbok jersey. Nevermind the circumstances or reasons, I just thought I’d share with the planet, John Ingram our conference facilitator, wearing, proudly I might add, the Springbok rugby jersey. If you happen to know John Ingram or any of his friends, please spread this around.

Sorry, John
Technorati Tags: Springboks, All Blacks, John Ingram
What is this crap?
Jul 10th
On my way to work this morning my ear drums were raped by what is probably the worst jingle I have heard since the 80s, for a website called RapidInfo.
Well it did its job by annoying me so much that I had to actually check it out, and well, the site look and feel matches the jingle. Where did this crap come from? Who actually paid good money for this and is willing to blow more on radio advertising? Please please PLEASE whoever you are call me to arrange an appointment so I can slap you.
Go check it out and have a laugh, www.rapidinfo.co.za and yes, I am not linking to it because I don’t want to help their SEO.
Oi vei.
Technorati Tags: Total Crap, Money Wasting
Are we giving Google etc, too much power?
Jul 8th
I have been sick the past few days and my mind has had the time to idle away, well, just thinking. Browsing around the internet many of you may see, as I do, the many sites that are using the ‘Google Analytics’ tool by none other than Google to track the statistics of their websites. This in itself is pretty harmless generally speaking, but using the analytics tools Google would have the ability to track your visitor’s from site to site, browsing patterns and what not. I’m not familiar with their privacy policies and I don’t think its in Google’s interests to sabotage their clients, but it is just scary knowing the power they have. Even more scary is the fact that its completely free, and at any given moment it could be switched off, leaving businesses without the necessary marketing tools they have been enjoying up to this point. 
Then I thought about GMail, but more specifically the ‘Google Apps’ offering, which I now host the mail for my own domain (ddj.co.za) as well as phpusers.co.za, also free services, with no guarantees from Google, just leaves me feeling slightly insecure. I would almost feel more comfortable paying, if I wasn’t such a cheap skate :]
The thing that really bothers me about this is, not really the reliance on the servers as much, but just the information that these companies have about me. Google has all my mail, highly personal information (banking statements etc) and Facebook knows everything about me, and all the people I know, and all the people they know. Am I being watched, maybe if I was someone more important :] 
All I know is, if I meet people that work for Google or Facebook I will surely be nice to them, or my mail, money and god knows what else will be at their mercy :]
Technorati Tags: Facebook, Google, Big Brother