Category Archives: Programming

When Safari 5′s Reader feature fails

Safari 5 is awesome and one thing that sticks out is the Reader feature. It basically identifies some pages, for example: news pages on BBC, and allows user to produce a better, enhanced page with same text but much readable … Continue reading

Posted in Programming | Tagged , | Leave a comment

Jquery, JSSpec and an elegant timepicker

Time selection via web has always been those grey areas where one does not really find good solutions. With the advent of Jquery, there are plethora of date selection javascripts out there. However, time selection has not received similar treatment. … Continue reading

Posted in Javascript, Programming | Tagged , , | Leave a comment

Bundler and Rails 2.3.8

Life as a “Rails Developer” is a pretty smooth sailing and Bundler just makes it ever better. Rails 2.3.8 is the newest version from the Rails team. Don’t get me wrong, I love to hack my way through Rails3 but … Continue reading

Posted in Programming | Tagged , | 7 Comments

Virtues of a Bad Programmer

In contrast to my earlier post. I am no expert to judge people based on their programming skills. I am a n00b myself. However, I do try and move away from the n00b junction all the time. Anyways, these are … Continue reading

Posted in Programming | Tagged , | Leave a comment

Kernighan’s law

As per Kernighan’s law: “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” What that means … Continue reading

Posted in Programming | Tagged | Leave a comment

Virtues of a programmer

Laziness – The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don’t have to answer so … Continue reading

Posted in Programming | Tagged , | Leave a comment

Facebook, Facebooker gem and ssh-tunnel

Well, it was long hours of endless frustration and little fun, I tell you. That is how I spent most of my saturday trying to follow the instructions to create a ssh-tunnel so that I could test facebook application as … Continue reading

Posted in Programming, Rails | Tagged , , | Leave a comment

Ruby 1.9

I was looking for the hash syntax in Ruby 1.9 as I could recollect that it has changed but did not remember it exactly and discovered this site that has all the changes in Ruby 1.9 in one place and … Continue reading

Posted in Programming, ruby | Tagged | Leave a comment

I love metaprogramming

I have almost finished the 80% of ruby metaprogramming course and I am loving it. Really, writing a complete class without writing the code below. This is so old way of writing code…nah just kidding. class People end Also, declaring … Continue reading

Posted in Programming, ruby | Tagged , , | 1 Comment

Bugs…

Bugs are inevitable in any piece of software and we all are aware of the fact that developers cut corners to make the software work. As far as hacks go unnoticed they can be referred to as calculated risks. Bugs … Continue reading

Posted in Experience, Programming | Tagged , | Leave a comment