Logo

Infinity in technology

about 1 month ago | Oscar Villirreal: Digital Caveman

Ray Kurzweil just faded out from my iPad as I was watching one of his lectures/speaches. He was talking as usual about how fast technology has evolved an will continue to evolve as time passes by. He also talked about the nature of technologies exponential growth and even game some insight into what the future [...]

Why Cycle?

about 1 month ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

cycling makes you sexy

Reason #1.million.one

Why Cycle?

about 1 month ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

cycling makes you sexy

Reason #1.million.one

A weekend with CouchDB, Solr and Torquebox

about 1 month ago | Rocky Jaiswal: Still learning ... Thoughts of an Agile developer

Ok, I am lying it was actually a long weekend and I had something working beforehand (but that was before I knew Ruby or really understood how to write decent Ruby code, I am just a little bit better now). …

Read more »

Configuring nginx with JBoss / Tomcat

about 1 month ago | Rocky Jaiswal: Still learning ... Thoughts of an Agile developer

So you have brought a new EC2 machine. You are a Java / JRuby / Scala developer and you are all excited to put your site out to the world. Problem is your server JBoss / Tomcat runs on port …

Read more »

Merry merry!

about 1 month ago | Queenie Takes Manhattan: Queenie Takes Manhattan

Merry Christmas, everyone! I'm enjoying a cup of coffee in my Christmas cup before heading over to my brother's place to open gifts and have some waffles, bacon and insanely delicious maple syrup.

If you're celebrating today, I hope you and yours have a great one. And, if you're not, you should go see Young Adult. I hear it's truly awesome.

Photo from the early 1980s. My grandparents' living room; my first kitchen.

Rails upgrade from 3.0.7 to 3.1 and asset pipe-lining

2 months ago | Gourav Tiwari: easy_software = Agile.find(ruby_on_rails)

Following my previous blog, I happen to work on another rails upgrade at the beginning of my new project. This time rails 3.0.7 to 3.1. I though, I should document these steps, as it might help myself or someone else in future.

I googled and found a good discussion on stack-overflow. As Forrest Ye gave the right answer, I began the migration step by step, as it is written:
"Edit Gemfile, change Rails gem version

gem 'rails', '3.1.0'

Also adds new gems introduced in 3.1.0

group :assets do
  gem 'sass-rails', "~> 3.1.0"
  gem 'coffee-rails', "~> 3.1.0"
  gem 'uglifier'
end
gem 'jquery-rails'
run

bundle update rails
Then run rake rails:update and resolve conflicts."

I found few conflicts and before accepting them, I tried to understand:

1. config/application.rb:
I paid attention to:
config.assets.enabled = true
config.assets.version = '1.0'
which means you are enabling assets pipe-lining  which is one of the feature of rails 3.1, I accepted the changes.
2. config/environments/development.rb:
config.action_view.debug_rjs = true
which has been deprecated, so this line should be deleted, if you are using rjs in views, debugging is not supported now.
config.assets.compress = false
which means assets compression is off in development, I accepted the changes.

config.assets.debug = true
it means, you can see the assets being loaded in logs. I accepted this change.
3. config/environments/production.rb
I saw again configuration related to asset pipeline:
config.assets.compress = true
config.assets.compile = false
config.assets.digest = true
Simply, accept these changes.

Once this is done, move all assets from public/images, public/javascripts, public/stylesheets to app/assets/ directory. Again, you have to make sure, that you
Include css/javascript links in your layout file like this

<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
Again, it is important to understand the behavior of asset pipeline and how it works. For example, in application.js file, you will have:
//= require_tree .
that means, all the files from assets/javascripts directory will be loaded automatically, as application is being loaded, in hierarchical format. If you do need js files in sequence, mention that above this line, e.g.:
//= require jquery 
//= require jquery_ujs
//= require highcharts
//= require_tree .

Similarly you have application.css file, which will load assets in hierarchy, so override it if needed. 

One important thing I noticed is about images, which are embedded in stylesheets. I had stylesheet.css as:
/*
*= require_self
*= require_tree .
*/
#header { height:20px; }
body {background-image:url(../images/mainBack.png) !important; background-repeat:repeat-x;}
 So, after moving images to app/assets/images directory, I have to remove the relative path of the image:
body {background-image:url(mainBack.png) !important; background-repeat:repeat-x;}
Similarly for all other styles and that is it!

Other side of our Indian History

2 months ago | Niranjan Sarade: InLoveWithNature

Sharing Last Speech by Nathuram Godse :-

JANUARY 30th, 1949 - The Mahatma was assassinated by a man called Naturam Godse. After he shot him, instead of running away, he stood his ground and surrounded. He said, "No one should think that Gandhi was killed by a madman"

One of the best speeches of All time, which is compared to Socrates's speech in his trial. The Judge was astonished by his speech and commented that if India had followed the Jury system of giving judgments, Godse would have been adjudicated as "Not Guilty" by the Jury, cause after the speech, the whole audience was in tears.

This is the speech given by Nathuram Godse in the court in his last trial for the murder of Mahatma Gandhi.

"Born in a devotional Brahmin family, I instinctively came to revere Hindu religion, Hindu history and Hindu culture. I had, therefore, been intensely proud of Hinduism as a whole. As I grew up I developed a tendency to free thinking unfettered by any superstitious allegiance to any isms, political or religious. That is why I worked actively for the eradication of untouchability and the caste system based on birth alone. I openly joined anti-caste movements and maintained that all Hindus were of equal status as to rights, social and religious and should be considered high or low on merit alone and not through the accident of birth in a particular caste or profession. I used publicly to take part in organized anti-caste dinners in which thousands of Hindus, Brahmins, Kshatriyas, Vaisyas, Chamars and Bhangis participated. We broke the caste rules and dined in the company of each other.

I have read the speeches and writings of Dadabhai Nairoji, Vivekanand, Gokhale, Tilak, along with the books of ancient and modern history of India and some prominent countries like England, France, America and' Russia. Moreover I studied the tenets of Socialism and Marxism. But above all I studied very closely whatever Veer Savarkar and Gandhiji had written and spoken, as to my mind these two ideologies have contributed more to the moulding of the thought and action of the Indian people during the last thirty years or so, than any other single factor has done.

All this reading and thinking led me to believe it was my first duty to serve Hindudom and Hindus both as a patriot and as a world citizen. To secure the freedom and to safeguard the just interests of some thirty crores (300 million) of Hindus would automatically constitute the freedom and the well being of all India, one fifth of human race. This conviction led me naturally to devote myself to the Hindu Sanghtanist ideology and programme, which alone, I came to believe, could win and preserve the national independence of Hindustan, my Motherland, and enable her to render true service to humanity as well.

Since the year 1920, that is, after the demise of Lokamanya Tilak, Gandhiji's influence in the Congress first increased and then became supreme. His activities for public awakening were phenomenal in their intensity and were reinforced by the slogan of truth and non-violence, which he paraded ostentatiously before the country. No sensible or enlightened person could object to those slogans. In fact there is nothing new or original in them. They are implicit in every constitutional public movement. But it is nothing but a mere dream if you imagine that the bulk of mankind is, or can ever become, capable of scrupulous adherence to these lofty principles in its normal life from day to day. In fact, honour, duty and love of one's own kith and kin and country might often compel us to disregard non-violence and to use force. I could never conceive that an armed resistance to an aggression is unjust. I would consider it a religious and moral duty to resist and, if possible, to overpower such an enemy by use of force. [In the Ramayana] Rama killed Ravana in a tumultuous fight and relieved Sita. [In the Mahabharata], Krishna killed Kansa to end his wickedness; and Arjuna had to fight and slay quite a number of his friends and relations including the revered Bhishma because the latter was on the side of the aggressor. It is my firm belief that in dubbing Rama, Krishna and Arjuna as guilty of violence, the Mahatma betrayed a total ignorance of the springs of human action.

In more recent history, it was the heroic fight put up by Chhatrapati Shivaji that first checked and eventually destroyed the Muslim tyranny in India. It was absolutely essentially for Shivaji to overpower and kill an aggressive Afzal Khan, failing which he would have lost his own life. In condemning history's towering warriors like Shivaji, Rana Pratap and Guru Gobind Singh as misguided patriots, Gandhiji has merely exposed his self-conceit. He was, paradoxical, as it may appear, a violent pacifist who brought untold calamities on the country in the name of truth and non-violence, while Rana Pratap, Shivaji and the Guru will remain enshrined in the hearts of their countrymen forever for the freedom they brought to them.

The accumulating provocation of thirty-two years, culminating in his last pro-Muslim fast, at last goaded me to the conclusion that the existence of Gandhi should be brought to an end immediately. Gandhi had done very well in South Africa to uphold the rights and well being of the Indian community there. But when he finally returned to India he developed a subjective mentality under which he alone was to be the final judge of what was right or wrong. If the country wanted his leadership, it had to accept his infallibility; if it did not, he would stand aloof from the Congress and carry on his own way. Against such an attitude there can be no halfway house. Either Congress had to surrender its will to his and had to be content with playing second fiddle to all his eccentricity, whimsicality, metaphysics and primitive vision, or it had to carry on without him. He alone was the Judge of everyone and everything; he was the master brain guiding the civil disobedience movement; no other could know the technique of that movement. He alone knew when to begin and when to withdraw it. The movement might succeed or fail, it might bring untold disaster and political reverses but that could make no difference to the Mahatma's infallibility. 'A Satyagrahi can never fail' was his formula for declaring his own infallibility and nobody except himself knew what a Satyagrahi is.

Thus, the Mahatma became the judge and jury in his own cause. These childish insanities and obstinacies, coupled with a most severe austerity of life, ceaseless work and lofty character made Gandhi formidable and irresistible. Many people thought that his politics were irrational but they had either to withdraw from the Congress or place their intelligence at his feet to do with, as he liked. In a position of such absolute irresponsibility Gandhi was guilty of blunder after blunder, failure after failure, disaster after disaster.

Gandhi's pro-Muslim policy is blatantly in his perverse attitude on the question of the national language of India. It is quite obvious that Hindi has the most prior claim to be accepted as the premier language. In the beginning of his career in India, Gandhi gave a great impetus to Hindi but as he found that the Muslims did not like it, he became a champion of what is called Hindustani. Everybody in India knows that there is no language called Hindustani; it has no grammar; it has no vocabulary. It is a mere dialect; it is spoken, but not written. It is a bastard tongue and crossbreed between Hindi and Urdu, and not even the Mahatma's sophistry could make it popular. But in his desire to please the Muslims he insisted that Hindustani alone should be the national language of India. His blind followers, of course, supported him and the so-called hybrid language began to be used. The charm and purity of the Hindi language was to be prostituted to please the Muslims. All his experiments were at the expense of the Hindus.

From August 1946 onwards the private armies of the Muslim League began a massacre of the Hindus. The then Viceroy, Lord Wavell, though distressed at what was happening, would not use his powers under the Government of India Act of 1935 to prevent the rape, murder and arson. The Hindu blood began to flow from Bengal to Karachi with some retaliation by the Hindus. The Interim Government formed in September was sabotaged by its Muslim League members right from its inception, but the more they became disloyal and treasonable to the government of which they were a part, the greater was Gandhi's infatuation for them. Lord Wavell had to resign as he could not bring about a settlement and he was succeeded by Lord Mountbatten. King Log was followed by King Stork.

The Congress, which had boasted of its nationalism and socialism, secretly accepted Pakistan literally at the point of the bayonet and abjectly surrendered to Jinnah. India was vivisected and one-third of the Indian territory became foreign land to us from August 15, 1947. Lord Mountbatten came to be described in Congress circles as the greatest Viceroy and Governor-General this country ever had. The official date for handing over power was fixed for June 30, 1948, but Mountbatten with his ruthless surgery gave us a gift of vivisected India ten months in advance. This is what Gandhi had achieved after thirty years of undisputed dictatorship and this is what Congress party calls 'freedom' and 'peaceful transfer of power'. The Hindu-Muslim unity bubble was finally burst and a theocratic state was established with the consent of Nehru and his crowd and they have called 'freedom won by them with sacrifice' - whose sacrifice? When top leaders of Congress, with the consent of Gandhi, divided and tore the country - which we consider a deity of worship - my mind was filled with direful anger.

One of the conditions imposed by Gandhi for his breaking of the fast unto death related to the mosques in Delhi occupied by the Hindu refugees. But when Hindus in Pakistan were subjected to violent attacks he did not so much as utter a single word to protest and censure the Pakistan Government or the Muslims concerned. Gandhi was shrewd enough to know that while undertaking a fast unto death, had he imposed for its break some condition on the Muslims in Pakistan, there would have been found hardly any Muslims who could have shown some grief if the fast had ended in his death. It was for this reason that he purposely avoided imposing any condition on the Muslims. He was fully aware of from the experience that Jinnah was not at all perturbed or influenced by his fast and the Muslim League hardly attached any value to the inner voice of Gandhi.

Gandhi is being referred to as the Father of the Nation. But if that is so, he had failed his paternal duty inasmuch as he has acted very treacherously to the nation by his consenting to the partitioning of it. I stoutly maintain that Gandhi has failed in his duty. He has proved to be the Father of Pakistan. His inner-voice, his spiritual power and his doctrine of non-violence of which so much is made of, all crumbled before Jinnah's iron will and proved to be powerless.

Briefly speaking, I thought to myself and foresaw I shall be totally ruined, and the only thing I could expect from the people would be nothing but hatred and that I shall have lost all my honour, even more valuable than my life, if I were to kill Gandhiji. But at the same time I felt that the Indian politics in the absence of Gandhiji would surely be proved practical, able to retaliate, and would be powerful with armed forces. No doubt, my own future would be totally ruined, but the nation would be saved from the inroads of Pakistan. People may even call me and dub me as devoid of any sense or foolish, but the nation would be free to follow the course founded on the reason which I consider to be necessary for sound nation-building. After having fully considered the question, I took the final decision in the matter, but I did not speak about it to anyone whatsoever. I took courage in both my hands and I did fire the shots at Gandhiji on 30th January 1948, on the prayer-grounds of Birla House.

I do say that my shots were fired at the person whose policy and action had brought rack and ruin and destruction to millions of Hindus. There was no legal machinery by which such an offender could be brought to book and for this reason I fired those fatal shots.

I bear no ill will towards anyone individually but I do say that I had no respect for the present government owing to their policy, which was unfairly favourable towards the Muslims. But at the same time I could clearly see that the policy was entirely due to the presence of Gandhi. I have to say with great regret that Prime Minister Nehru quite forgets that his preachings and deeds are at times at variances with each other when he talks about India as a secular state in season and out of season, because it is significant to note that Nehru has played a leading role in the establishment of the theocratic state of Pakistan, and his job was made easier by Gandhi's persistent policy of appeasement towards the Muslims.

I now stand before the court to accept the full share of my responsibility for what I have done and the judge would, of course, pass against me such orders of sentence as may be considered proper. But I would like to add that I do not desire any mercy to be shown to me, nor do I wish that anyone else should beg for mercy on my behalf. My confidence about the moral side of my action has not been shaken even by the criticism levelled against it on all sides. I have no doubt that honest writers of history will weigh my act and find the true value thereof some day in future."

Adorable and caffeinated.

2 months ago | Queenie Takes Manhattan: Queenie Takes Manhattan

Healdsburg is one of my very favorite places in all of Napa and Sonoma. It's small and charming, but chock full of excellent shopping, food and coffee. And they decorate the pine trees in the park in the center of town, too. So freaking adorable!

On this trip, we made a stop at Flying Goat Coffee before making a circuit of the town. I haven't made an exhaustive survey or anything, but I feel comfortable saying it's unlikely you'll find a better cup in the area. I had a bittersweet mocha, and it was delightful. Rich and interesting, and not at all too sweet. My friend Jeff had the Mexican version, with a whole host of ingredients that sounded overcomplicated, but actually turned out to join together and sign in perfect, delicate harmony.

And such pretty machines, too.

Flying Goat Coffee
324 Center Street
Healdsburg, California

Under construction.

2 months ago | Queenie Takes Manhattan: Queenie Takes Manhattan

This weekend, I'll be building a gingerbread house! I'll be joined by my friends Caroline and Ellie, and it's going to be a blast, no doubt. Caroline and I used to do these every Christmas, back when we were growing up a block apart in our picture-perfect (especially at the holidays) little Connecticut town.

I'm thinking about doing a pink-and-white house this year, since I have some lovely, sparkly sanding sugars in those very colors. A final decision will be made once I peruse the candy on offer at Duane Reade and Dean & Deluca, but I've already got a copy of my template ready to go! I still work off of the version Caroline's mom Charlotte made 25-ish years ago, and have finally scanned it in for posterity.

Which, of course, means that if you wish to join us, you can check out the template (plus recipes for the cookie and icing/glue) right over here! Just print the images (size large) out on 8.5 x 11 inch paper, and you'll be good to go.

Learning from the masters part 2: three metaprogramming best practices

2 months ago | Pat Shaughnessy: Pat Shaughnessy - Home

Mozart’s Requiem Mass in D minor would be
hard to understand without a translation from Latin

Metaprogramming has always been one of the most intimidating features of the Ruby language – it’s considered very “advanced” and can often be very difficult to read and understand. However, I agree completely with what Russ Olsen said about metaprogramming on this Thursday’s Ruby Rogues podcast: that Ruby metaprogramming really isn’t all that hard to understand, that it is just another moderately difficult programming concept any Ruby developer can learn and use.

Like I did two weeks ago I decided to take a look at the Rails source code, this time to see whether there were any good examples of metaprogramming that I could learn from…

Steve Jobs

2 months ago | Niranjan Sarade: InLoveWithNature

I recently read one Marathi book - 'Steve Jobs:Ek Zapatlela Tantradnya (A Passionate Technologist)' written by Achyut Godbole and Atul Kahate. It's a brief biography of Steve Jobs - about his passion, life, attitude, innovations, revolutions and dreams.

The authors have referred to some of the books including 'Steve Jobs: The Exclusive Biography' by Walter Isaacson for writing his biography in brief while touching some important aspects.

I would like to mention one incident which I liked the most from this book. While Steve was viewing one printed circuit board of the earlier apple computer, he found that few circuit lines were not as straight as they should have been. So he immediately asked the engineers to change its design for making it perfect. His thinking was - 'Internal design beauty is as important as external design. We should strive for perfection.'

From his quotes -
'Design is the fundamental soul of a man-made creation that ends up expressing itself in successive outer layers of the product or service. The iMac is not just the color or translucence or the shape of the shell. The essence of the iMac is to be the finest possible consumer computer in which each element plays together.'

Really a lot of things to learn from him ! Hats off to you Steve !

Take two.

2 months ago | Queenie Takes Manhattan: Queenie Takes Manhattan

A couple of weeks ago, I ventured out to the Sonoma Valley for a friend's 30th birthday extravaganza. Many a good time was had (with many a detail to come), but one of the highlights was revisiting the amazing taco truck I discovered back in 2009, when I visited Sonoma for my 30th.

While the truck is no longer named Angelina's, the food is just as spectacular - and, trust me, we ordered enough of it to be sure of its consistency. Something like 12 tacos and two burritos - not to mention the tlayuda the staff insisted on making us. It's a sort of giant tostada, and it's a popular food in Oaxaca, where the staff come from. It was pretty freaking good, guys, and I wouldn't recommend leaving the truck without ordering one. Carnitas, tomatoes, avocado and cheese adorned a huge, fried tortilla. Between the six of us, it went so fast that I couldn't even get a shot of the thing.

The tacos were stupendous as well, with the chorizo coming out ahead as a favorite. I ate everyone's radishes, since they didn't see fit to do so themselves.

And, finally, the burritos. You have to go supreme, because you need that crema, trust. And make sure to get the lengua. It's rich, flavorful and just a touch on the chewy side of tender, which is exactly what I like in a piece of meat. (I always go sirloin over tenderloin.) While the carne asada burrito was tasty, the lengua burrito brought us to our knees, to the point where we just repeated the word "lengua" at random throughout the weekend.

Lengua. Lengua. LENGUA.

And the winner is...

2 months ago | Queenie Takes Manhattan: Queenie Takes Manhattan

The winner of our Creminelli giveaway is one Tara Bellucci! Tara had the fabulous idea of using the salami on a pizza; I, for one, support this wholeheartedly.

Congrats to Tara, and many thanks to all of you who entered - your salami-riffic ideas were much appreciated! Tara, an email with the giveaway details is headed your way.

Know more about your disc brakes

2 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

Buyer s Guide To Disc Brakes   BikeRadar

The buyers guide to disc brakes and a guide to quieten your squealing brakes from the BikeRadar team.

Good reads!

Related links

Know more about your disc brakes

2 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

Buyer s Guide To Disc Brakes   BikeRadar

The buyers guide to disc brakes and a guide to quieten your squealing brakes from the BikeRadar team.

Good reads!

Related links

Kolar Gold Fields | 300 Brevet

2 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

KGF1

Brevet Summary

Date: December 17, 2011, 6 AM
Start: M G Road Metro Station
End: Silk Board Junction on the Outer Ring Road
Distance: 315 km
Time limit: 20 hours

Visit the IISc Randonneurs site for more details

Kolar Gold Fields | 300 Brevet

2 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

KGF1

Brevet Summary

Date: December 17, 2011, 6 AM
Start: M G Road Metro Station
End: Silk Board Junction on the Outer Ring Road
Distance: 315 km
Time limit: 20 hours

Visit the IISc Randonneurs site for more details

sudo: cd: command not found

2 months ago | Amit Kumar: RubyizednRailified

Ever tried this:



Weird isn't it ?
I checked the "/etc/sudoers" and everything looked normal:
toamitkumar   ALL = (ALL) NOPASSWD: ALL
I have sudo access - which means I have access to everything (thats what my understanding was)
Well, I was wrong.

After thinking for a while I felt - 'cd' is not a program, it is built-in for bash shell. So, I had to do:

sudo -s or sudo su or sudo bash

and then 'cd'.

But be careful, that will open a shell for 'root' user.

Too good to be true! Twitter Bootstrap meets Formtastic and Tabulous

2 months ago | Pat Shaughnessy: Pat Shaughnessy - Home

Today I posted Too good to be true! Twitter Bootstrap meets Formtastic and Tabulous on rubysource.com, a follow up to Twitter Bootstrap, Less, and Sass: Understanding Your Options for Rails 3.1 that I wrote back in November.

Giveaway: Creminelli Fine Meats

2 months ago | Queenie Takes Manhattan: Queenie Takes Manhattan

As loyal readers know, I am a huge (huge) fan of pretty much anything the fine folks at Creminelli see fit to produce. Their artisanal meats are just too good to pass up; I find myself drawn to their display at Fairway more than is probably healthy.

And so, when they reached out to me a couple of weeks ago to offer a giveaway to my lovely readers, how could I refuse? I promptly got down to sampling some of their latest wares, the better to ensure you are all informed about the giveaway for which you're volunteering. You know, just in case. For you, readers. I ate the salami for you.

I'm a simple woman, so the Casalingo, simply cured with salt and pepper, has to be my favorite. I imagine it would best be enjoyed with a plate of fresh and pickled vegetables, and maybe some roasted peppers to boot. A big glass of red wine wouldn't hurt, either.

The Tartufo I think I'll use in scrambled eggs, eggs being ever so delightful with a truffle or two. And lots of white pepper. And maybe some creme fraiche.

And, finally, the Barolo. This one is rich and musky, and demands to be served alongside some hard, salty cheese and a hunk of fabulous bread as part of a late, fireside supper. No, really - it does. It told me so.

My friends, there's no two ways about it: this is some damn fine salami. If you're interested in scoring one of Creminelli's Gourmet Artisan Salami assortments for yourself (you'll get the Tartufo, the Wild boar and the Barolo), here's how you can enter this most excellent giveaway:

  1. Leave a comment below telling me how you'll serve your Creminelli salamis this holiday season (and don't forget to leave an email address) (One entry.)
  2. Tweet about the giveaway using the hashtag #queeniecreminelli. (One entry.)
I'll choose a winner at random on Saturday, so be sure to enter by midnight on Friday, December 16th. Good luck, my porkers!

The fine print: Creminelli can only ship this gorgeous meat to physical addresses (no P.O. boxes), and only to the U.S.

iOS Testing Strategy

2 months ago | Rohan Daxini: void TechFuels()

Recently our team at Kiprosh started using FoneMonkey for Automation testing of iOS apps. FoneMonkey is free and has strong support for both iPad and iPhone devices.


Here are the various tools that we evaluated and shortlisted for iOS testing and then finalized our testing strategy for iOS apps (tools marked in color green are recommended)

Unit Testing
  • Built in XCode based unit testing using OCUnit - (little complicated and requires too many steps to create the unit test, process isn't automated)
  • GTM - Google Toolbox for Mac - (suitable) http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting
  • GHUnit - (most suitable, easy to setup, has GUI, but documentation and other build issues)
  • Mocking - OCMock and OCHamrest

Automation Testing tools and framework

Integration / Automated Builds
  • Hudson with xcodebuild
  • Code coverage (gcovr) with Cobertura XML

Testing Strategy
Finally we formulated following testing strategy for iOS apps
1) GHUnit for unit testing
2) With memory management, we must verify that when allocation fails we get expected return value as nil rather than garbage
3) Automation test suite (using FoneMonkey mostly or Sikuli or DeviceAnywhere)
4) Finally plug all the unit tests and automation test suite with CI using Hudson
5) Integrate often

How to start off the UI of your project

3 months ago | Oscar Villirreal: Digital Caveman

Back in the day one would have to create a series of fixed clases that would help you out through out the construction of your site. Classes that you now if chained with other clases would allow you to create very interesting and cool looking layouts. Today the answer is quite simple use html 5 [...]

Oldie, but goodie.

3 months ago | Queenie Takes Manhattan: Queenie Takes Manhattan

Forgive me for rehashing old content, but nothing beats Gourmet's 2008 holiday issue for sheer holiday inspiration. Luxe, lovely and delicious.

I'm only including a couple of photos here, but you can check out this 2009 Queenie post for the full shebang.

Learning from the masters: some of my favorite Rails commits

3 months ago | Pat Shaughnessy: Pat Shaughnessy - Home

Reading the Rails source code is like looking
at the score of a Bach sonata or partita

In the last month or two, there have been many great commits to Rails. Last week alone we saw: 0306f82 – implements automatic EXPLAIN logging for slow queries and a382d60 – ActiveRecord::Relation#pluck method. There were also many other useful commits that didn’t get so much attention, such as 562583c, 85b64f9, etc., etc. Hearing about all this great work inspired me to take a closer look at the Rails github repo history, to see which commits were the most interesting or creative – commits that would teach me something and help me improve as a Rails developer.

I ended up being surprised! There are plenty of examples of elegant code, cool testing techniques and great new features in Rails if you go and look for them, but what impressed me the most were the small things…

every Monday Bicycling Movie Nite - The Science of Lance Armstrong

3 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

Playing The Science of Lance Armstrong today.

Q: What is a Monday Bicycling Movie nite?
Well, there is a lot of awesome bicycling happening all around the world. We intend to share some of these with you every monday. We start around 7:30pm and wrap up under an hour.

Today, 5 Dec
Time – 7:30pm
WhereBumsOnTheSaddle

every Monday Bicycling Movie Nite - The Science of Lance Armstrong

3 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

Playing The Science of Lance Armstrong today.

Q: What is a Monday Bicycling Movie nite?
Well, there is a lot of awesome bicycling happening all around the world. We intend to share some of these with you every monday. We start around 7:30pm and wrap up under an hour.

Today, 5 Dec
Time – 7:30pm
WhereBumsOnTheSaddle

What I've been up to.

3 months ago | Queenie Takes Manhattan: Queenie Takes Manhattan

Mostly this, which is Thomas Keller's fried chicken from his restaurant Ad Hoc in Yountville. I've been in California for several days, visiting a dear friend and celebrating another's 30th birthday.

I'm in a bit of a fried chicken fog, but I'll be back with far more very, very soon. In the meantime, get your holiday shopping done and leave a comment or two letting me know how your meal planning is coming along. I'm really feeling fancy latkes this year, and can't wait for my annual sticky toffee pudding.

Karan is a Bum @ BumsOnTheSaddle

3 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

We get our second biker a.k.a Employee at BumsOnTheSaddle

karan
Karan ready for some Down-Hill at Turahalli, Bangalore

Karan Bhuta joins us full time after his 2 month stint as an intern. Check out some of his pics as an intern @ BumsOnTheSaddle

Karan, like all the others who spend time/energy here, will be responsible for making sure a small but awesome bicycling startup called BumsOnTheSaddle remains as remarkable as it can be.

Wishing you a fantastic ride Karan.

Visualize our internships

Karan is a Bum @ BumsOnTheSaddle

3 months ago | Rohan Kini: blog@BumsOnTheSaddle.com - Home

We get our second biker a.k.a Employee at BumsOnTheSaddle

karan
Karan ready for some Down-Hill at Turahalli, Bangalore

Karan Bhuta joins us full time after his 2 month stint as an intern. Check out some of his pics as an intern @ BumsOnTheSaddle

Karan, like all the others who spend time/energy here, will be responsible for making sure a small but awesome bicycling startup called BumsOnTheSaddle remains as remarkable as it can be.

Wishing you a fantastic ride Karan.

Visualize our internships