Archive for 2009

Programming for Health: A Reflection

Tuesday, August 11th, 2009

I’m on ‘staycation’ –annual leave from my normal day job at Natcoll. Staycation because I’m not actually vacating where I am: I’m still at home in Wellington.

I’ve been volunteering at Catalyst IT working with Brenda Wallace to work on projects of her choice. She assigned me to work on Laconica (an open-source version of Twitter that works in a distributed fashion). In order to do so I’ve had to learn a little about many different technologies, like PostgreSQL, the weirdness of Apache+PHP on MacOS X 10.5, and overall, how to checkout and contribute code to an open source software project with Git.

I’ve now had three code merges into Laconica, albeit very minor ones, mostly fixing bugs.

I don’t even use Laconica. (Twitter is working just fine for me, thanks.)

But I feel great.

Computer programming is something some have described as the most complex thing humans have invented — it’s all abstract, there are few corollaries to it in nature. Probably the only thing more complicated is quantum mechanics (but that is, in fact, nature).

My job is to explain, demonstrate, and encourage people who have never programmed a computer in their life (let alone their VCR) to create rather complicated things we call websites.

Why have I enjoyed contributing patches so much to an project I don’t use or much care about? A couple of reasons:

The Zone

The elusive Zone has many names; Wikipedia refers to it as “flow“. It’s that state of being you get when they’re so intensely focussed in the task at hand that time and reality become irrelevant because you’re so energised and focussed and involved at what you’re working on, and having good success at doing it. You come away feeling elated and energised that you’ve completed something of value.

I haven’t been in The Zone for nearly four years. I’ve been teaching people how to program for nearly four years now, and nary the mind to knuckle down and flex my coding muscles. I’m too worked up with office politics, helping my workmates with the technology, and thinking that I wasn’t good enough to be in the industry.

Learning

It’s good to know that I can do it, though to do it professionally, I’d just need to learn more about the processes involved.

I’ve had to learn how to use Git, how to create PostgreSQL users and databases, and submit my finished code to the project administrators for merging with the mainline version of the program’s code.

I don’t normally get to be a learner. I’m a full-time teacher, and what I have to learn is usually because I need to teach it.

It’s nice to learn things for me and me alone. I may never get to teach what I’m learning here, but what I’ve learned is helping fulfill me (more on that later)

That old adage “Those who can, do. Those who can’t, teach”. It’s lies.

Actually I’m a tutor, but that’s just a particular kind of teacher. Not meaning to blow my own horn, but according to my student evaluations I am actually a really good tutor. Sure, I have my weaknesses, but overall, apparently I rock at it.

And I really enjoy teaching. It’s rewarding when the metaphorical light-bulbs turn on above the student’s heads. Some of them slowly brighten, some just pop on, and some of them shine more powerfully than others, but the lights do turn on. To know that a learner now understands one of the most complicated things there is to know,

I was at Wordcamp New Zealand here in Wellington over the weekend, and Nicki Gemmell was talking about using blogs at primary schools around New Zealand. She related how uploading an image to a blog was something a principal got excited about: “I uploaded a photo to our school blog today; how cool is that?!”.

As a programmer who has written photo upload functionality, I forget how far I have come and how valuable the skills I have really are. The challenge of teaching people to do things is fun and rewarding. Teaching students to do this even more complicated stuff is the same but even more challenging.

Teaching programming, from my own experience, is the ability to communicate the concepts and foster the understanding and use of them. I was told by a trainer there were four levels of competency:

1. Unconscious Incompetence – you are unaware that you don’t know how to do X.
… awareness brings:
2. Conscious Incompetence – you are aware that you don’t know how to X.
… learning brings:
3. Conscious Competence – you can do X, and you are thinking about it when doing it.
… practice brings:
4. Unconscious Competence – you can do X, but you do not have to think about it when doing it.

I say that there’s a fifth level: where you have become once again conscious of what it is you are competent at. And that’s the level where you’re ready to teach it.

To be able to teach, you must be able to learn, and then go further so you can show others the way.

Those who can teach, do teach.

People

Okay, I’ll be honest: being around Brenda and the other like-minded geeks at Catalyst IT has been a really energising experience. Being able to vent frustration at code and technology, bounce ideas off each other and have fun while doing it has been great.

But working on Laconica and spending some time reading other peoples code and improving it, and learning the technical, and social aspects of doing so has been fun and very enlightening.

My motivation for staying a teacher has been pretty simple: Hell is other people’s work. Most of the employment in the industry has been creating websites for companies; wish fulfilment for others. I could change the world one organisational website at a time, or I could change the world 20 web students at a time.

But working on an open source project has let me use my programming skills to directly improve, ever-so-slightly at this stage, the lives of people around the globe. By making the software they use better.

Having that sense of purpose in what I are doing is really important to me. I don’t want to just be working to collect a pay check: working to live. And I don’t want to be living to work either. I just want to do what is worthwhile while I’m alive: live life to the fullest. Use the abilities I have to do things worth doing.

I am a teacher. I am a programmer. I’ve been neglecting the programmer side of me.

“Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends – commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. Larry O’Brien and Bruce Eckel

My Tweets for 2009-08-10

Tuesday, August 11th, 2009

My Tweets for 2009-08-09

Monday, August 10th, 2009
  • The pancake layer @photomatt was talking about (!) http://twitpic.com/d7uhq 12:00:33
  • "iTunes 9 will *finally* include the ability to visually organize and arrange your iPhone/touch apps." http://bit.ly/xd0IK (via @dalmaer) 14:06:01
  • my life as a real-time internet blogger is educational and draining -> http://translationparty.com/tp/#751453 22:27:14
  • decided not to goto catalyst today, think strained my tweet tendon. also Monday + me could make things tough for @br3nda & team, do not want 08:34:00

My Tweets for 2009-08-08

Sunday, August 9th, 2009
  • Examples of BuddyPress installations: GigaOM Pro http://pro.gigaom.com/ and TastyKitchen http://bit.ly/OAOeW (bt) #wordcampnz 10:22:55
  • Applause for Anthony Cole @anthonycole. Q&A now (bt) #wordcampnz 10:23:41
  • Q: BuddyPress builds on WPMU and WP and MU are merging, will this affect BP? A: Don't worry too much, it should be fine (bt) #wordcampnz 10:24:24
  • Q: Why use BuddyPress? A: for small network/community, bunch of friends. WPMU is wordpress.com + small # of code chgs (bt) #wordcampnz 10:26:10
  • Q: Can I make buddypress completely private? A: not complicated, use plugins or functions to do it (bt) #wordcampnz 10:26:36
  • Q: is it secure? A: Yes, GigaOM is using it [so you know it's good] (bt) #wordcampnz 10:27:46
  • Next up is Chris Lipscombe from Ground Zero talking about "Business Fundamentals: Getting it right in order to make it big" (bt) #wordcampnz 10:29:06
  • To do deals, get yourselves a business to do your deals. Get your head around GST. You need a biz to get investors (bt) #wordcampnz 10:30:13
  • Most important thing of your business is to start making money and to get cash flowing through your business (bt) #wordcampnz 10:30:53
  • getting money coming in is not the same thing as making a profit, just know where the money is coming from (bt) #wordcampnz 10:31:58
  • Two kinds of plan: #1 strategic plan: long term, where you want to be, what you're selling and where to. doesn't involve $$.(bt) #wordcampnz 10:34:23
  • strategic plan is how you want to look, business plan is how you are going to make money. (bt) #wordcampnz 10:34:30
  • capital is something you chew up and spit out, that is normal (bt) #wordcampnz 10:34:50
  • buddys are good business partners, but often it may be your employees who share the ideals of the business (bt) #wordcampnz 10:35:26
  • sometimes it could be channels and communities, it could be key customers (bt) #wordcampnz 10:35:45
  • plan for growth: what is the thing that will kick start your business? what do you need to do to grow customers, capital? (bt) #wordcampnz 10:36:31
  • prepare yourself to deals: difference between ownership, management, governance. when small biz, easy to blur this. (bt) #wordcampnz 10:37:18
  • oops, was dual tweeting, sorry followers, have fixed this. 10:38:14

Jakob Nielson rides again

Wednesday, June 24th, 2009

Just had this one come through the wire:

Jakob Nielsen’s Alertbox, June 23, 2009: Stop Password Masking

Usability suffers when users type in passwords and the only feedback they get is a row of bullets. Typically, masking passwords doesn’t even increase security, but it does cost you business due to login failures.

This sounds like Nielson kicking up publicity. This is shorter than his normal articles and he hasn’t backed this one up by mentioning his latest rounds of usability tests. He’s often got really good points, but this is one that I have issue with.

Nielson has forgotten that the reason password masking exists is if you type it out but don’t submit the form right away, then it won’t be on the screen for a long length of time for passers-by to ‘shoulder-surf’. The form could be really really long and/or you might be a really slow typist.

Padlocks and deadbolts keep honest people honest. The same goes for password masking.

Not to mention that password masking is visual shorthand reminder for the personal habits of “you should remember what you right in this box, cos even you won’t see it” and “no-one else should see this but you”. If we removed this ‘tell’, what would become of the culture of ‘protect your password’?

Think of where, other than web sites, that password masks get used. ATMs, EFTPOS machines, computer software, the Operating System uses it. Western culture is conditioned to this design pattern, and I speculate that the only people who have trouble remembering passwords are the ones who were born before 1980.

I guess a compromise would be to have the field in plain text when it has focus, switching to a password mask on blur…? Not a difficult solution.