Showing posts from December, 2010

Masterchef JQuery

Originally submitted at O'Reilly

4out of 5 I was given an advance copy of this video as part of OReilly Blogger review program.Cooking with jQuery is a three hour video presentation made by Mike Hostetler (President, appentTo) and Jonathan Sharp (CEO, appendto) on 20th July 2010, in O'Reilly OSCON (Open Source Convention) in Portland, Oregon. Mike and Jonathan are both members of the jQuery team and have been involved with jQuery for a long time.

The presentations starts with a quick overview of the jQuery syntax, illustrating the shortcut notation of "$", as well as the best practice of declaring the scripts at the bottom of the page. It then moves on to the jQuery selectors. Once you select, then the next thing would be do some operations on the selected elements. The presentations walks through many of the jQuery operations available. The chaining feature - a speciality of jQuery is explained, as is the distinction between find() and filter().

Some of the new j…

Converting a maven project to gradle

Updated:  13 July 2014

With gradle 2.0 released on 1st July 2014, it was time to relook and update this write-up suitably.  gradle is in active development and has evolved a lot.  It is now the new android build tool.

I had tried using Gradle a few months back without much success.

Last week, I decided to give another shot, after seeing that many popular open source projects (hibernatespring security to name two) were using gradle.

I downloaded the latest version as of date (0.9-rc-3). (2.0 as on 13th July 2014).
Installation is straightforward, since it is just extracting the zip file and updating the PATH to refer to the bin folder of the unzipped contents.

gradle -version

ran without errors, indicating that installation went off fine.
Downloading and installing gradle is straight-forward.  Unzip the binaries to a folder of your choice, set GRADLE_HOME to this folder and add the bin subfolder of GRADLE_PATH to your PATH variable.

On Windows, it would be something like below:

set GRA…

What Innovation is Not

The Myths of Innovation (Scott Berkum, Oreilly, ISBN: 978-1-449-38962-8, 228 pages) is an expanded and paper back edition of the hard back book by the same name by the same author.

I got an early copy of the eBook as part of O'Reilly Blogger Review program.

Unlike conventional books on Innovation, in this book, the author tries to expose some of the popular innovation myths.  This, he does by giving a number of examples, incidents and anecdotes.  The point he tries to prove is that there is no substitute for hard work and grind, that innovations don't happen by accident, that anyone can innovate - not just the Newtons and Einsteins of the world.

After he exposes the myths, the author proceeds to give some practical tips on how to innovate.  He says, do not use the term "innovate" - instead solve problems, implement ideas, cure an illness, and so on.  As the Nike slogan, he says Just Do It.

The book is an easy read.  The author has a comfortable style of writing, perh…