Month: August 2014
-
Better use of Memoization JavaScript
Referring to the post Generating Unique Strings (Ids) in JavaScript where we looked at how to generate unique strings in JavaScript. Also I mentioned the performance and memory issues with the approach. So, here we are going to look a much better use or application of Memoization, but we won’t be using it for generating unique strings. We will be…
-
Generating Unique Strings (Ids) in JavaScript
Well, there are tools in JavaScript that allow you to create unique ids or strings. I will be using to two ideas to create these unique strings. Method 1: Memoization The idea is to generate some random string and checking if it has already been generated the recursively generate another one and test again. If…
-
Two Dimensional Arrays in JavaScript
JavaScript does not provide any direct notion of creating multi dimensional arrays as provided by languages like, C and Java. But there are ways to solve this problem and create a multi dimensional array. Below we are trying to create a two dimensional array. The idea is simple and can be applied to create arrays…
-
The College on Mountains-GBPEC
GBPEC (Pauri) – Thats what we or should I say “everyone” calls it. Thats Where I Lived and Learned I don’t need to say how one would feel if one studies at this place, the picture says it all. I (probable most of the college students) still don’t know the person who captured this amazing scene.…
-
Best Resources For Web Developers and Learners
As a Web Developer I have come across some of the best online resources(blogs and websites from very good developers and Organizations) for Self Learners and Enthusiasts about web development. The list starts here: 1.) John Resig: You definitely don’t want to miss his book Secrets of the JS Ninja http://ejohn.org/ http://ejohn.org/category/blog/ 2.) MDN: Every…