December 2010
14 posts
The year that was!
I would remember the year 2010 for the books that I read. I read some amazing books, some where pretty late, nevertheless they were great. Thanks to the New York Public Library, and the one hour commute.
I see 2010 as a missed opportunity. I have around 10 pet projects that I am to finish off. Hopefully it gets better in 2011.
Hope I get a decent good Android Tablet next year. I have been...
The Car 2.0
The problem facing tomorrow’s cars is that Petroleum is depletive and non-renewable. The savior could be an alternative source. The biggest problem though is to rescue the car from its petroleum origins. There are two things that need to be done.
1) Remove the Engine
This seems to be a tough task, however this is easier than it seems to be. Think of electric engines. They occupy less...
The 3 steps to improv
Improv “is a form of theatre in which the improvisational actors/improvisers use improvisational acting techniques to perform spontaneously”. The spontaneousness is practiced by using/following various maxims. These maxims are helpful for our life too. Below are some maxims which are really helpful.
1. Say Yes
Improv starts with saying yes to everything. By saying no, you block. You...
The Success Experiment
László Polgár user her three daughters in an experiment. The experiment was to prove that exceptional performance could be attained through successful practice, from a very early age.
László wrote a book entitled “Bring Up Genius”. In the book he makes for the case that Genius are made, not born. In klara, he found a wife who was ready to participate in this experiement.
...
Efficient Loops In Javascript
Something interesting with loops in js.
for(i=0;i<divElements.length;i++){}
The above loop is inefficient. That is because in js the length property is a live query to the DOM structure. Hence it takes time to retrieve it. Couple of ways to address:
1. Cache it
Store in a variable before the loop as follows:
var cachedLength = divElements.length; for(i=0;i<cachedLength;i++){}
2. Think...
Must read Programming Books
These are some of the must read programming books, suggested by Stack Overflow:
Code Complete
The Pragmatic Programmer
Structure and Interpretation of Computer Programs
The Mythical Man-Month: Essays on Software Engineering, Anniversary Edition
Refactoring: Improving the Design of Existing Code
Design Patterns: Elements of Reusable Object-Oriented Software
Introduction to algorithms...
List of Freely Available Programming Books →
A mega list of free available books. That is so much knowledge!