Posts

Showing posts from March, 2010

Windows XP hibernating taking too long

Image
My Windows XP machine suddenly started taking very long time to hibernate . It was working fine and I was puzzled with the situation. I had not installed and apps and suspected virus infection. But then I remembered disabling "Enable write caching on the disk' for my hard-disk few days ago. I enabled the option. Bingo. Problem solved. Steps: Right click on My Computer -> select 'Properties' Select the 'Hardware' tab from the Pop-up window. Select 'Device Manager' and from the 'Disk drives', right click your hard-disk -> select 'Properties'. In the 'Policies' tab, check the 'Enable write caching on the disk' and click OK.

Adobe released ColdFusion builder.

Image
Adobe released ColdFusion builder. See the link  http://www.adobe.com/products/coldfusion/buy/#cfb It comes lot of facilities and support for ORM with ColdFusion 9. You will also get a complimentary copy of Flash Builder 4 Standard with this version.

Using .jar (Java Archive) file with ColdFusion

Image
" Java is running under the hood of ColdFusion and it is easier to use Java / Java Archives" with ColdFusion. I have been hearing about this since I have started studying ColdFusion. So I decided to take a look at it. I have studied Java only during my course and does not have much experience with it. Now, with the help of Eclipse , it is very easy to create a Java project and export it as archive.

Backup and restore settings, DSN from your ColdFusion server

Image
When you have to re-install the Operating System or re-install Adobe ColdFusion server in your machine, you think of the tedious task of having to re-do all the settings and create the datasources again. Using the ColdFusion Archives available in the ColdFusion Administrator, you can backup and restore the settings from your ColdFusion server. The settings are stored as .car files and can be used to port the settings.

Analyze ColdFusion code for errors and code compatibility using ColdFusion Administrator

Image
ColdFusion Administrator gives the facility to analyze your code for compatibility with current version of ColdFusion and also for errors. To start the Code Analyzer, go to ColdFusion Administrator (should be available at http://localhost/CFIDE/administrator/index.cfm) and go to 'Debugging & Logging' -> 'Code Analyzer'.

Avalanche Breakdown (Semiconductor)

Image
IBM researchers invent a device that uses light to help computer chips to communicate. What I found interesting in this is the phenomenon of Avalanche Breakdown in Germanium . From Wikipedia : "Most of the time, the electron and hole will just move to opposite ends of the crystal and stop. Under the right circumstances, however, (ie. when the voltage is high enough) the free electron may move fast enough to knock other electrons free, creating more free-electron-hole pairs (ie. more charge carriers), increasing the current. Fast-"moving" holes may also result in more electron-hole pairs being formed." That is, in Germanium, an incoming light pulse frees a few charge carriers that, in turn, free others until the original signal is amplified many times. More details: http://www.nature.com/nature/journal/v464/n7285/full/nature08813.html http://domino.research.ibm.com/comm/research_projects.nsf/pages/photonics.index.html http://en.wikipedia.org/wiki/Avalanche_b

View debug/log information inside Eclipse with NTail

Image
Implementing Debugging and Logging functionality in your application will help you a lot when tracing the details of an error - while developing and also after deployment. There are lot of libraries out there like log4j , which you can integrate with your app for easier log management. Log4j/log4net have the provision to either log the information to a file or send email . So, will it be helpful if you can directly see the logs in Eclipse that will get updated whenever the log file gets updated ? Using NTail, you can achieve this. The content of the log file will be shown in a window inside Eclipse which will automatically get updated. Steps:

Crystal ball juggler at Oberon Mall, Kochi, Kerala

Image
I saw an amazing maneuver of crystal balls at the show in Oberon Mall, Kochi. I had my digital camera with me and recorded some moments from the show. See them below.