Least Recently Used or in short LRU is an performance optimizing algorithm. LRU algorithm is widely used in software programming as well as in hardware instructions (e.g. CPU). In many case, in programming, we may want to cache some data from physical disk, for example database and files, but we cannot load all the data into memory due to the memory limitation on the server … [Read more...]
Archives for 2009
JSP: How to Declare Methods and Inner Class in JSP
JSP itself is just a plaint text and will be translated into Java source file (actually a servlet), compiled into class file and only interpreted at the end during runtime. All these happen at the backend. When the whole JSP is translated into Java source file, all the HTML codes will be translated and source lines in <% %> tag will be included in a function of the … [Read more...]
WordPress Theme: How to Enable Gravatar in WordPress Theme
Gravatars are Globally Recognized Avatars. An avatar or gravatar is an icon, or representation, of a user in a shared virtual reality, such as a forum, chat, website, or any other form of online community in which the user(s) wish to have something to distinguish themselves from other users. … [Read more...]
Gmail: How to Search Your Email Quickly in Gmail
If your are using Gmail as you email client, how do you search all your emails from your girl friends with keywords "I love your" for a certain date range for the received emails? … [Read more...]
Sitemaps: Submit Sitemaps to Google Webmaster Tools
Submitting your website's sitemaps to Google Webmaster Tools is one of the way to give Google information about your site. Creating and submitting a Sitemap helps make sure that Google knows about all the pages on your site, including URLs that may not be discoverable by Google's normal crawling process. … [Read more...]
