Browsing articles in "Blog"

Anything but an Easy Life

Jun 15, 2013   //   by admin   //   Blog, General  //  Comments Off

When buying online, we are told to make sure that the website is secure.  For more about this, go here:

I recently purchased something online from Easy Life Group.  On checkout, I was redirected to another website.  I was using Chrome and everything looked fine.  Note the green padlock, and presence of “https”.  I knew that my connection to the web server was secure and encrypted.

Easy Life Group website

I went ahead and entered my credit card details, and the order went through.

For reasons, that i’m not going to go into here, I decided to revisit the Easy Life Group website, and go through their checkout process again.  This time, I entered a dummy name, address and credit card details.  The credit card number I used was: “123412341234123″, with security code: “123″, and an Expiry Date of: “01/2013″.  See below:

On clicking “Checkout”, the website should, at the very least, have told me that the Credit Card Number is invalid.  It fails the “Luhn Test”.  For more see:  The Expiry Date is in the past, so I should have seen a warning about this too.  Instead, the website happily accepted my credit card details, and redirected me to the “Thank you” page, and told me that my order will be despatched within 15 days.

It was – now – obvious to me that the credit card details were not being validated and processed at checkout, but instead were being saved in plain text in a database, and processed offline.  If the credit card details are stored in a database, then they can be used by anyone who has access to that database.

So, if you are buying something online, put in dummy credit card details first, and see if the order go through.  If it does go through, then I wouldn’t recommend proceeding with the transaction.  Chances are, your details are being stored offline, and processed later.  And once they are stored offline, you have no control over who sees, and more importantly, uses your credit card details.

I raised my concerns with Easy Life, but they did not answer.

Blacknight Cloud VPS Disk Space Woes

Oct 22, 2012   //   by admin   //   Blog, Website Design  //  5 Comments

I purchased one of Blacknight’s Cloud VPS solutions a while back (March 2012).  I used their old VPS options in the past and figured they can’t be all that different.   I was a huge fan of Blacknight, and recommended them to everyone I came in contact with.   So, I went ahead and recommended the Cloud VPS Starter+ package to a customer for a project we were working on.  The page advertised 25GB of free space.  At the time, I thought this was more than enough space to keep the website going for a number of years.  After all, the website and database was just 480MB in size.

Anyways, I received a call during the week from my customer saying that they were running out of disk space.  I was a bit surprised when I heard this.  So I logged on, and sure enough there was just under 2GB of free space left (out of 25GB).  I contacted Blacknight, and a game of email tennis ensued.

It turns out that the 25GB of ‘free space’ is the space before you install the Operating System (Windows Server 2008 R2 Web Edition in this case).  After you install the OS, you could be left with as little as 5GB or 6GB of actual free space.  After windows installs it’s updates, you are left with little or no space.   Saying that you get 25GB of free space is false advertising.

I asked if I could add additional hard disk space, without upgrading the RAM etc.   In a true cloud solution, this should be a simple task. The answer was ‘No’.   They “are looking at the option of allowing extra disk space to be added in the future, but at present that isn’t possible.”  Their response was that if I needed extra space, I would have to upgrade to the next package.  If this is a requirement for you, then steer clear.  Their ‘Cloud’ VPS plans are fixed, so you are forced to upgrade, if, say you need additional hard disk space.

The reason I never had this problem with the old VPS packages, was because they didn’t allow windows updates on the VPS.  Their cloud offering uses different technology, allowing updates to be run on the VPS.  These updates quickly eat up all your space, and means that you are forced to upgrade to the next package.

So, if you were to buy a Blacknight Cloud VPS hosting package today, and just install the OS (without installing anything else), you will eventually run out of disk space (because of the Windows updates) and will be forced to upgrade.  It’s a win win for Blacknight.

I was caught out by this, and many of you out there are probably thinking “Well, duh, you should have known better”.  Well, I didn’t.  I was burnt this time, but it was definitely a case of lesson learned, and it won’t happen again.

These are a few of my favourite things – Part I (Javascript)

Nov 22, 2011   //   by admin   //   Blog, Javascript  //  2 Comments

So, it turns out that I have more than 300 favorites on Twitter. Twitter doesn’t make it easy to categorize or find your favourite tweets. As someone once said – “Finding a tweet is like trying to find a fart in a room full of farts“. I’ve decided to move my favourites here. The motivation for this post is purely selfish. I want to be able to find these easily. If you find them useful too, then that’s a bonus. My first post in this series will list all my favourite Javascript resources – in no particular order.

Moment.js: is a handy dandy lightweight Javascript framework for parsing, manipulating and formatting dates. is a place to have fun and learn all about how to build Backbone.js applications from the ground up. At time of writing, there are two screencast up there – “Backbone.js Quickly” and “Backbone.js on Rails“. You gotta pay for them, but they won’t break the bank at $9 each. I’ve watched and enjoyed “Backbone.js Quickly”.

Backbone Training is a great pointer to a load of useful backbone.js resources – some paid and some free.

List.js: If you want a 7KB cross browser Javascript plugin that makes your plain HTML lists super flexible, searchable, sortable and filterable, then look no further.

DropKick.js: It is generally accepted that styling drop down lists are a pain. DropKick.js is a plugin that makes the job easier, and it plays nice in older browsers.

Money.js is a currency conversion library and it’s just 1KB in size.

Stripe.js is a super simple Javascript API for handling credit card payments. It impressed John Resig, so it must be good!

jQuery boilerplate: jumpstart your jQuery plugin development.

jQuery Performance Tips and Tricks: When Addy Osmani speaks, you should listen. Performance optimisation is a crucial aspect of building ‘snappy’ client-side applications and something which all developers using jQuery should bear in mind. In Addy’s talk, he looks at some of the best practice, tips and tricks for improving the performance of your jQuery code.

Filter.js: is a client side search filtering using JSON and jQuery.

TodoMVC – Developers these days are spoiled with choice when it comes to selecting an MVC framework for structuring and organizing JavaScript web apps. There are so many options, including: Backbone (my own personal favourite), Spine.js, SproutCore 2.0, JavaScriptMVC, Sammy.js, Steve Sanderson’s , KnockoutJS, AngularJS … and the list goes on!

The question then is, how do you decide on which one to use in a sea of so many options? To help solve the problem, Addy Osmani created TodoMVC, a project offering the same Todo application implemented using MVC concepts in most of the popular JavaScript MVC frameworks, so you can select the one you feel the most confortable with.

Recurly.js: Secure, PCI Compliant Transaction forms with fully customizable CSS.

jsPerf: a JavaScript performance playground. jsPerf aims to provide an easy way to create and share test cases, comparing performance of different JavaScript snippets by running benchmarks.

jsFiddle: This is a playground for web developers. It’s an online editor and allows you to write snippets of HTML, CSS, and JavaScript. These snippets can be shared with others, or embedded in a blog, etc.

Douglas Crockford’s jsLint: jsLint is a JavaScript verifier takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location.

Chosen.js: is a JavaScript plugin that makes long, unwieldly select boxes much more user friendly.

BoxJS - package up your JavaScript and make your website faster.

.appendTo Training – learn Javascript and jQuery for Free.

MicroJS - a useful collection of copy and paste snippets for various micro frameworks and JavaScript libraries.

Formly – a form glamorizer for jQuery. Useful plugin to add style and validation to your HTML forms.

Tooltipsy - is a jQuery tooltip plugin for control-obsessed designers. It give you complete control over the CSS, animation and position.

Yet another tooltip plugin – another nice tooltip jQuery plugin.

Learn JavaScript: Mozilla’s overview of materials from various sources. It is broken down into Beginner, Intermediate and Advanced, so you should find something useful here whatever your level.

jQuery UI Map – a Google Maps plugin for jQuery UI and jQuery Mobile.

JavaScript Gotchas – an introduction to the weirder side of JavaScript for developers new to the language.

JavaScript InfoVis Toolkit – the JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web.

MobilyMap - is a jQuery plugin that can create a Google Maps-like, draggable interface from any image. It’s possible to add location-based markers and display information when any of the markers are clicked.

JavaScript from Null – *free* videos series up on Nettuts. If you haven’t already, go check out Nettuts. It’s always the first place I look when i’m learning something new.

Bye bye working from home. Hello Coworking!

Jan 14, 2011   //   by admin   //   General  //  2 Comments

Bye bye working from home.  Hello coworking!So, today will be my last day working from home.  I’ve come to realise that working from home has its drawbacks.  The Oatmeal had quite a funny cartoon illustrating how working from home can be both awesome and horrible all at once.  In fact many of the advantages of working from home are also disadvantages.  I could take any pro and turn it into a con, and that’s not because I’m a “cup is half empty” type person.

Let me explain.  One could say that one of the advantages is that you don’t have to stick to the 9 to 5 regime.  While this is true, I have found that my day could start at 8am and go on until 8pm or 9pm.  The next day, might be a “typical” working day, while the following day could be 10am to 2am.  It is something to consider if you are thinking about home working.  I have found that the close proximity to my office, i.e., the spare room, means that I feel like I am constantly working.  In other words, working, and sticking, to a strict 9 to 5 regime is not all bad.  As commander in chief of an army of one at Solutionware, it is not always possible to stick to a 9 to 5 work day.

I am lucky that my “workplace” is quiet.  Quietness is great for certain tasks.  However, it can be counterproductive at other times.  Sometimes it’s nice to bounce ideas off a fellow colleague.  Sketching out ideas or schemas on a whiteboard is far more fun with 2 or more people!  Working in isolation can stifle creativity.

So!  On Monday, my laptop and I will be moving to AMWorks, a coworking space located in Dublin.  Coworking?  Huh?  My understanding of coworking is that it is a reasonably priced space where like-minded individuals, freelancers, start-ups etc, work independently, but together, sharing knowledge and ideas.  For more check out the AMWorks website.

I went along to AMWorks during the week to check it out.  The place itself is located just off Capel Street, Dublin so it is not a million miles away from the nearest Luas stop.  The office itself is open-plan, and the brickwork is quite interesting looking!  There was a nice vibe about the place.  I made my mind up pretty quickly and signed up for the full time membership.  They have some very flexible membership plans.  For more details, rates and pics go to

As it happens, next Monday marks the beginning of European Jelly Week!  And no, Jelly Week is not a week long festival for jelly loving geeks!  A jelly is a casual working event – where people come together (in a person’s home, coffee shop, or office) to work for a day.  AMWorks are taking part in Jelly Week, on 21st January.  So why not come along!  For more go here.

Exciting times ahead….!

Zen Coding

Dec 16, 2010   //   by admin   //   General  //  Comments Off

I just wanted to share a handy dandy tool with you all. It’s called “Zen Coding“, and the plugin (for Visual Studio) can be found here.  Zen Coding is an editor plugin for high-speed HTML, XML, and XSL (or any other structured code format) coding and editing.

So, what will it do for me?  Well, suppose you want to write some HTML.  You know that the page will have one of the new HTML5 header elements.  The header element will contain a child div called “logo”.  The “logo” div will contain an unordered list called “nav”, and will contain 5 list items.  Each list item will have a class, named after the index of the list item, and each list item will contain a link.  Rather than write all this HTML out by hand, you can lean on the plugin and instead write:


and the plugin will produce the following html:

Zen Coding

Some useful links:

Zen Coding on Google Code

Zen Coding Demo

Zen Coding plugin for Visual Studio

Zen Coding Cheat Sheet