Author Archive

Why you should learn programming

March 22, 2012

Mr. McGuire:     I just want to say one word to you. Just one word.
Benjamin:             Yes, sir.
Mr. McGuire:     Are you listening?
Benjamin:             Yes, I am.
Mr. McGuire:     Plastics.
Benjamin:             Exactly how do you mean?

Jump forward almost half a century and replace ‘plastics’ with ‘programming’, and a modern-day Benjamin Braddock might well be as equally bewildered.

Computers have found their way into almost every aspect of our lives and we now carry in our pockets mobile phones with more processing power than the fastest of desktop computers of a decade ago. However, over the past couple of decades, end-consumers of technology have been further and further removed from the inner workings of these machines. Little thought is given to what happens inside the machine when we ‘like’ something on Facebook, click on an icon, use a mobile app or any other function you might use your computer for.

This isn’t necessarily a bad thing. You don’t need to know how the internal combustion engine works to be able to drive a car. You get in the car, turn a key and can go places without giving too much thought to the fact air and fuel is combusted and converted to mechanical energy, somehow, magically, right in front of you under the bonnet. However, the benefits of being able to bend a computer to do what you want, rather than what an existing program thinks you want, can be tremendously useful.

I work on a computer all day but in a non-programming role. Most of my work can be easily done using existing tools: writing a document with Word, editing a website with a Content Management System (CMS), analyzing data using Excel… However, every so often, there’s a problem that doesn’t fit the usual mould that’ll need a bit of a workaround. For example, if something is not sitting quite right on a web page or requires a custom layout not already built into the CMS, I can quickly duck into the page source code and tweak the code to create a quick fix. Likewise, if I want to test out a quick concept using a new technology like HTML5, I can write up some markup and JavaScript and quickly have a working prototype.

I don’t think this just affects me. Most occupations nowadays involve at least some degree of computer interaction, so imagine what you could achieve if you upped your level of computer literacy. It’s an empowering feeling, thinking of something the computer could do to make your job easier and then making in happen. Wouldn’t you love to be able to write a quick script to automate some of the more repetitious parts of your job?

It’s not just about the direct benefits of being able to write your own programs. You’ll be exercising your brain in ways you haven’t before, and you’ll notice an improvement in your ability to:

-        Solve problems

-        Plan ahead and predict issues

-        Deal with complexity.

And the great thing is, it’s never been easier to learn how to program. There are plenty of fantastic and free resources available online:

Looking ahead as computers become even more pervasive in our lives, computer literacy is going to be the new, well, literacy – a skill that all employers will be looking for employees to have. And if you don’t have it, chances are you will be left behind. Or you could become a mechanic. My car keeps breaking down and I don’t have a clue how to fix it.

Five tips on writing for the web

December 5, 2011

Writing that is to be read online is different from writing that will be read in print. Here are a few pointers you can use to improve the quality of the writing on your website.

1. Use the inverted pyramid rule

The inverted pyramid rule means that your content should cover the most important points at the top of the article and as your article continues, the importance of what you are writing about should decrease.Inverted Pyramid

If you have the most important point at the top of the article, skim readers, who may only read the first few sentences, get the gist of what you are trying to get across.

It can be helpful to list all the points you wish to make in an article and sort them in order of significance. This approach can help you plan and structure your text.

2. Be brief

People don’t like wading through long pages of text online, so try to keep your writing as brief as you can. To quote George Orwell:

“Never use a long word where a short one will do” and “If it is possible to cut a word out, always cut it out”.

3. Break up articles for skim readers

People tend to scan pages of text online rather than reading from start to finish. There are a number of ways you can break up your text to make it more ‘scanner friendly’. These include using:

  • headings and subheadings
  • bullet points
  • bold text
  • links.

4. Use the active voice

Using the active voice instead of the passive voice in your writing can make it concise and reduce ambiguity. The active voice is a grammatical term, meaning that the subject of the sentence is the agent of the action. It is probably best illustrated by some examples.

Passive: “The rugby ball was kicked by the boy.”

Active: “The boy kicked the rugby ball.”

Passive: “More information about our products can be found on our website.”

Active: “You can find more information about our products on our website.”

5. Proofread

Spelling mistakes and typos will make your writing (and the business you are writing for) look unprofessional and lazy. Take time to proofread and fact-check your writing thoroughly before publishing it.

Sometimes it can be difficult to spot errors in your own work so ask a colleague to read over what you have written to see if they can spot any errors.

Quick and dirty social media traffic tracking with Google Analytics

August 4, 2011

It’s all about social media nowadays, but how can you tell if your social mentions are driving traffic back to your website? Or are you just shouting into a void?

A quick and easy solution to give you a rough idea of traffic coming from social websites is to use Google Analytics (GA) custom filters. Click on ‘Advanced segments’ in the top right-hand corner of your analytics dashboard and choose to ‘Create a new advanced segment’.

Then, in ‘Traffic sources’ (under the ‘Dimensions’ dropdown), you can type the names of the sites you want to track. Instead of typing in the full domain (e.g. www.twitter.com), it is better to use just catch-all keywords such as (twitter, tweet, facebook). This ensures that traffic coming from sub-domains and web apps is counted in the segment.

Some words to consider as source keywords are: facebook, twitter, tweet, linkedin, wikipedia, dig, reddit. Be sure to use an ‘or’ statement when evaluating the conditions. You can then apply this filter to see the amount of traffic coming from social sites.

A word of warning: this is method is quick and dirty for a reason. It will not track traffic coming from desktop apps such as Tweetdeck or via link-shortening services such as bit.ly or ow.ly.

To get your filter a bit more accurate, you can tag your URLs before shortening them. Google provides a handy tool to create tagged links so they can be tracked by GA.

Unfortunately, it’s not always practical to convince everyone who is going to link to you to use tagged links, so your data is always likely to under-report the actual amount of social media traffic you are really getting.


Follow

Get every new post delivered to your Inbox.

Join 332 other followers