Error proofing communication content is a vital part of any trade. Even people with strong grammar and spelling skills tend to make poor mistakes. Word processors like MS Word make help but they are not available every time, for example when one starts typing in notepad or other applications. You do not want to open an application which is slow to start and hogs memory just for doing a simple spell-check. The process of manual re-checking contents can be painful, however there are myriad of tools available that can make this process less laborious. Here’s a dash of such tools: Continue Reading
It is not a recommended practise to have libraries placed in Tomcat’s lib directory to access classes in a web application. However, there are cases when you may want to flout this practise. Tomcat’s class loading mechanism will not allow you to do so since the web classes and the lib classes are loaded by different class loaders. The workaround in such a case is to use a custom bootstrap loader. This loader should be used to load all the application specific classes.
An example of a custom bootstrap loader is given below. Continue Reading
After having tried out various review methods like direct review, reviews over email, pair programming etc, I have found that a combination of tool-assisted code review and direct review (on an as needed basis) works out to be the best in terms of efforts spent and quality of the output.
SmartNBear.com:Pros and Cons of Four Kinds of Code mentions the pros and cons of the various types of reviews.
My first experience with Crucible by Atlassian was a bit unnerving. However there were many obvious advantages that I quickly noticed:
- Making a comment right where it make sense. i.e. near a particular line of code. This is a killer feature.
- Enforcement of workflow
- Close integration with Perforce (since we use Perforce) Continue Reading
Backup has been on my mind, since I started blogging on WordPress. No blog owner wants to go through the pain of losing his ideas and re-creating his writings again.
After a night worth of efforts, here’s a simple script to backup a WordPress.com hosted blog in two ways.
- Mirroring the entire blog site
- Using the “Export” feature of WordPress.com to export the blog site to a local xml file.
This is a WordPress-only feature. The xml file can be imported in WordPress.com. Continue Reading