Tuesday, December 30, 2014

How to turn off WhatsApp messages getting stored to iCloud from iPhone

If you are using WhatsApp messenger on iPhone you might have noticed the data getting automatically backed up to iCloud. If you prefer to turn off this feature, follow the steps below:
  1. Go to Settings -> iCloud.
  2. Select Documents & Data.
  3. You can see WhatsApp listed below.
  4. Turn off the feature.
If you do not want to turn off this feature, but like to delete the data occasionally, then follow these steps:
  1. Go to Settings -> iCloud.
  2. Select Storage & Backup.
  3. Select manage Storage.
  4. The list of all stored data is displayed.
  5. Click WhatsApp Messenger.
  6. Click Edit to the top right corner.
  7. Click the Delete All that appears.
  8. Confirm Delete All.

Tuesday, December 23, 2014

Railo error - java.lang.UnsatisfiedLinkError - when using C++ based CFX tags.

Railo does have a hidden link to add C++ based CFX tags. To enable it, use the following link.

http://localhost:8888/railo-context/admin/web.cfm?action=resources.cfx_tags&enable=cfxcpp

Just add the tag name and path of DLL and you are good to go.
We had to use a C++ based custom tag for our application and everything was fine on our development servers. But when we tried this on Live, we are presented with a Java error.

The message is "com.naryx.tagfusion.cfx.CFXNativeLib.processRequest(Ljava/lang/String;Ljava/lang/String;Lcom/naryx/tagfusion/cfx/sessionRequest;Lcom/naryx/tagfusion/cfx/sessionResponse;Z)V"

The error says "Railo 4.1.1.009 Error (java.lang.UnsatisfiedLinkError)" and we first thought it was an issue with the CFX tag compatibility with the version of windows. But on closely checking we can see that the Railo version on Live was 4.1.1.009 and that on development is  4.2.1.008.

To confirm the error, we took the express edition of Railo 4.1.1.009 and tried to replicate the issue.
Of course the error popped up. So, we applied the patch 4.2.1.008 on the express edition and the error is gone.

So we applied the patch on the Live version and that fixed the error.

Monday, September 22, 2014

Crude Oil - Dollar and Economy

Disclaimer: This is not a post from an Economic or Financial expert. I am just scribbling my view on something that I feel may happen.

We are dependent on the price of Crude Oil and the US Dollars. The price of our day to day items depends on this. Recently when the Dollar appreciated, the price of Crude Oil went down. The OPEC announced they will reduce the output of Crude Oil soon. 
Okay, everyone wants money. Fine. So what does that mean. 

Let us think that the price of Crude Oil is not going to appreciate (fracking and utilizing other green techs) and the Dollar also stays same. Then the OPEC reduce the output to increase the price, but the prices does not change. 
They OPEC need money for their day to day affairs as us. When they reduce the output their profit will decline. They cannot go on for ever with reducing the output to appreciate the price. 
They will have to increase the supply, which will reduce the price further. So they need to produce more and reduce the price further. 


What a beautiful dream that we get petrol as cheap as water!!! It can happen, even if we are not going with alternative fuels. 

But, we should reduce usage of the fossil fuels to save our environment. Use public transport as far as possible, walk/cycle to work, pool the car the take your friends on the weekend outing. :-)

Keep yourself healthy and save the world.