Archive for category Uncategorized

Javascript File API

Javascript File API

Learn how to read and upload files the HTML 5 way


, , ,

Leave a comment

What Hemingway Can Teach You About Web Writing

Some tips for writing content for a website.

101 Books

William Faulkner once said, “[Hemingway] has never been known to use a word that might send a reader to the dictionary.”

Hemingway responded: “Poor Faulkner. Does he really think big emotions come from big words?”

No surprise here if you’ve read my review of The Sound And The Fury, but I stand in Hemingway’s camp on this one. To me, the best writing is clear, simple, and to the point.

That’s why I think anyone who writes web copy, whether it’s a blog, an article, and especially any form of marketing content, should look long and hard at Hemingway’s writing style.

As a guy who spends all day writing for the web, I’ve probably been subconsciously using Hemingway’s style for years. With that, here’s what I think Hemingway can teach you about writing for the internets.

View original post 610 more words

Leave a comment

Changing Programming Landscape

Changing Programming Landscape

, ,

Leave a comment

Building Mobile Friendly Rails App

Building Mobile Friendly Rails App


Leave a comment

The web needs more intelligence

There is tremendous scope for A.I researchers in web development. The proof is shown above! ROFL. This also shows that there is a good opportunity to beat Google.

, , , , , ,

Leave a comment

rvm Gemsets

Lets say that you have two different Rails app. Now these apps would require certain types of gems, and some times these gem requirements could clash with each other. If that happens its better to use a thing called gem sets.

To know about gem sets take a look at this picture.


At the bottom you see the mighty rvm upon which can sit many Ruby installations, these installations can be switched using the rvm use <Ruby_version_number> , but lets say that you have two Ruby applications and for some strange reason you want to use one with older version of gems with one and another needs to use newer set of gems. You may want to  use different set of gems for an application, how to do that?

Well rvm has a thing called gemset with which you can group a set of gems under a name under a particular version of Ruby. This means as shown in the diagram above, note the green  boxes above Ruby 1.8 and 1.9 , you can have nnumber of gems ranginging from g1 to gn. You can name these gemsets any name you wish so that its quiet user friendly to change.

in the future if you think your Ruby / Rails / Sinatra or any other application is faltering due to  wrong gems installed, create a new gem set for it, switch it using rvm gemset commands and hope all things will go right. I am not going to dive deep into it as the rvm gemset has a good documentation here.

, , , , ,

Leave a comment

Another developer chooses Rails

Another developer chooses Rails

Just another Rails success story.

, , , , ,

Leave a comment

%d bloggers like this: