Switching Mac OS X from Windows

In the past I have mostly used Windows as my main operating system. Some times I have used Ubuntu, especially as file server with ZFS port of ubuntu. I had tried it on my work laptop but it was very unstable mainly due to 3D Nvidia drivers used for composite desktop effects.  Later I have used

Read More

Clone a Postgresql Database

May be there are more efficient ways of doing this, but I could only found following procedure: 1) Create a new DB    createdb -U db_user new_db_name 2) Dump data from original DB   pg_dump -U db_user -Fc original_db_name > dump_file_name 3) Restore to new db    pg_restore -U db_user -d new_db_name dump_file_name

Using ActionBarSherlock with IntelliJ IDEA

  “Usage” section of ActionBarSherlock only give you how to configure it with Eclipse. It is a little bit different for IntelliJ IDEA. Download ActionBarSherlock zip file and extract it next to your application module which will make use of ActionBarSherlock. Select File->Import Module from IntelliJ IDEASelect library folder under ActionBarSherlock folder and import it as

Read More

Enterprise Software Licensing Considerations

If you will purchase an enterprise software like database, application server you have to consider several factors other than functionality of the software. With the virtualization and multicore servers you have to carefully consider combination of Vendor-Software-CPU Architecture-CPU Core Number-Virtualization Solution. Virtualization:Not all vendors welcome virtualized environments. Virtualization has two consequences. The first one is

Read More

Rest vs SOAP

Are there any analogy between SOAP vs Rest based web services and Entity Beans vs hibernate? I big telecom company is investing heavily on SOAP based web services as they guided by Oracle. I still could not identify any case  where they are using WS-security, WS-transaction or similar features that are not exist in rest based

Read More

Ubuntu 11.10 and Brightness Problem

On some labtops (for example some of sony F series labtops) brightness levels may not work after installation. Keyboard shortcut works and indicator shows brightness is increased or decreased but brightness of the monitor does not change. In my case solution was adding highlighted line below to /etc/X11/xorg.conf file (depending on your system you may add

Read More