Saturday, September 24, 2011

The number of WaitHandles must be less than or equal to 64

I am working with an Azure project that has contributed a few posts in the past too. Today, I ran into this error where my application would not run locally. Before I push it to cloud I always run my application locally to make sure everything is fine and especially to ensure that no silly mistake will make me push the application to cloud again. 

Everytime I try to run the application it would throw this error "The number of WaitHandles must be less than or equal to 64". I tried to remove parallelism where I used waitAll from my code. Tried setting hard coded values rather then reading properties and stuff but to no avail. 

Friday, July 8, 2011

Microsoft Azure One of the request inputs is not valid

I am working on a Microsoft Azure project and ran into the error "one of the request inputs is not valid" when I tried to extract multiple messages from the queue. I did some searching around to see if I could find a solution to this problem but nothing helped.

Saturday, June 4, 2011

Microsoft Azure Server failed to authenticate the request

Microsoft Azure cloud platform is gaining popularity in leaps and bounds. I was one of the fortunate people to try my hands early on this platform. Although, the coding is a breeze with Microsoft Azure there are sometimes some silly errors that will make your head go crazy thinking about it. There are some issues with development environment vs cloud environment too that make you wonder if there is something wrong on your end or is it the Azure itself causing bugs. The error that I got was "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.". It took me a lot of time to figure it out. This post is dedicated to that problem.

Monday, April 18, 2011

NAS as a time machine gives error - backup disk could not be mounted

If you are here I understand how frustrating it is. I had a Maxtor Central axis 1TB NAS hard disk that I used as a Time Machine with my Mac OSX 10.5.8. You can read my post on how to set up a NAS as a Time machine if that is what brought you here. If you are past that stage and stumbled on the error "backup disk could not be mounted" I might be able to offer you some help because I just recovered from that error.

Saturday, April 9, 2011

How to Install WD Lx TV B-Rad's firmware on your WD TV Live Plus

I bought a WD TV recently and wanted to hack it using B-Rad's firmware. It seems there isn't enough material on internet for this procedure. Therefore, after I figured it out for myself I wanted to share it with everyone who would want to do it.

1) Dowanlod the appropriate firmware from B-Rad's website. Make sure you download the right firmware. The firmware for WD TV Live Plus should only be installed if you have WD TV Live.
2) If it is a zip file unzip it.
3) Copy all of the files from that folder to a USB stick - at the root location, that is not under any folder.
4) In order for your device to recognize the WDLxTV firmware you need to change a file. Open the .ver file and change the version to something newer than what you have on your drive. You get the point right? If the version is older than your current version the device wont bother installing it.
5) Plug in your USB device into your media player and you are done.
6) Stuck at 0%? just remove the USB stick and reconnect.

That is it. You have installed B-Rad on your WD TV. Let me know if you have issues. The username and password both are wdlxtv.

Sunday, February 27, 2011

qsub error - /bin/sh :no such file or directory

I was working with intel MTL Linux cluster recently and ran into this error. I had a shell script that would run another shell script which in turn runs my executable files. I created a script called batchjob to run my shell script.

Invariably, it kept throwing error at me. It said bin/sh no such file or directory. I took me a while to figure out what was wrong. In my first script I used something like
sh args1 args2
There is one issue with this. The file is under a folder called project and the batch server does not know the location. So the first change was to add the directory path. So it became:
sh $HOME/project/ args1 args2
Although, it did help the program still had errors. I was passing a data file as input to my program as args1. I had to do apply the same trick there too.
sh $HOME/project/ $HOME/project/data/exe.dat args2
The other change I made was to remove the line #!bin/sh, you don't have to do that if you are sure the script runs without qsub.

Another issue was to set the compiler variables. So I added the following command:
source /opt/intel/bin/ intel64
 After these changes the script runs just fine. Hope this will help someone.

Tuesday, February 22, 2011

Transfer iTunes Music between two computers or laptops

In a recent visit to Apple Store, I figured out how to move your iTunes music from one computer to another. If you want to transfer songs from your home computer to your work computer it is possible. Also, if you already bought songs you can transfer them to other computer without breaking the law. Follow these simple steps and you are good to go.

Wednesday, January 12, 2011

No upgrade option in Update Manager in Ubuntu 9.04

While working on a project recently, I had a need to upgrade to the latest version of Ubuntu. I followed the following steps mentioned at the Ubuntu help page.
  • Start System/Administration/Update Manager.
  • Click the Check button to check for new updates.
  • If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete.
  • A message will appear informing you of the availability of the new release.
  • Click Upgrade.
  • Follow the on-screen instructions.