Sunday, September 28, 2008

Ethipothala Waterfalls - The hidden beauty

It has been over a month since my last vacation at Shivanasamudram, and I was itching for some action. My friend and I decided to go to Nagarjuna Sagar, along with some of our colleagues. I was not too excited about this trip, since I have been to Nagarjuna Sagar more than 4 times before, including once on a bike. Little did I know that this trip would be an experience I wont forget anytime soon!

We took a Qualis, and started late at 8:30 AM from the City. It was almost 11:30 by the time we reached NagarjunaSagar. There were 2 gates open on the dam, which was spectacular. After roaming around at the foot of the dam for an hour, we had our lunch. Unfortunately we realized that the last Ferry to Nagarjuna Konda, an island in the man made lake, leaves at 1:30 leaving no time to catch it. So we decided to go to Ethipotahala waterfalls, about 15 km from the dam.

I have never been to the foot of this waterfall since I were never aware of any path leading there, and due to the warning signs about crocodiles everywhere, we did not venture closeby earlier. However this time a little kid approached us and said that he could take us to the foot of the falls. Initially Raja and Chandra went with the boy, while we stayed back not too excited about it. But they came back and told us that it was a must-see. So we too joined them, and the path was filled with crossing steams with moss covered rocks, making the mini trek very tricky. After about 30 minutes we reached the foot of the waterfall and it was beautiful. The waterfalls falls were filled with water due to the recent monsoon. The scenes were breathtaking. There were huge stones in front of the waterfalls on which we sat, only a couple of meters from the waterfall, with the water spraying on our faces. It was truly breathtaking! We stayed there till 5 PM awed by its beauty. However since this is in a valley, it gets darker much before sunset, so we rushed out of there by going through the same path, which somehow felt little easier on the way back.

We started the long journey back home at 6PM. I had a raging headache at that time. But overall I knew that this was one trip which was well worth it. Some of the pics are available here.

Wednesday, September 24, 2008

Pay your Electric Bill online (in AP)

Tired of going to the E-Seva center and waiting in Q for 30 mins or so to pay an electric bill? Well if you have a Citibank account, you can pay your electric bill without any additional charge. If not anyone can pay their bills at esevaonline. None of this requires you to leave the computer at all. I am mentioning this since many of my friends indicated that you need to register before you can pay your bills online, but that is NOT the case.

To actually pay the bill in Citibank, you need to enter the information given in the bill itself in the form presented in the Pay Utility bills online section. And Citibank transfers the amount to APCPDCL without any additional charge. The only problem with this is that there is no feedback indicating that the bill was successfully paid.

If you are out of city or country, then you can use the website esevaonline.com. Register yourself and create an entry for your electric bill. Then you can check the bill amount online, and pay it through that website itself, or you can login to citibank and pay the bill there. Although I haven't paid the amount using the esevaonline website, I believe it should be reliable.

Tuesday, September 23, 2008

Dollar in the dump

The massive bailout of the financial sector, valued at nearly $1 trillion, is causing a record deficit, which is sinking the dollar. Already investors have started moving away from dollar into commodities. Commodities across the board like Gold, Oil, Copper etc are seeing a massive rally. (Oil price increased by almost $35 to $130, and is expected to go up.) The details of the bailout have also not emerged completely, leading to volatility, which is only expected to get worse.

Dollar's position as a reserve currency will be challenged if the slide continues. China has billions of US dollars in reserves, so if it sees that the dollar value is dropping, it may start dumping its dollar assets in favor of other more resilient assets. Other countries also have substantial dollar reserves. This would release a lot of dollars into the global markets putting much more downward pressure on the dollar. The only reason against that happening now, is that the Euro, the nearest alternative, is also in a pretty bad shape.

To control the drop in dollar, the government has to reduce the deficit. One way is to reduce expenditure, which appears to be nearly impossible due to the bailout plans of Paulson. The other alternative is to increase taxes, which is equally unlikely. A weak dollar will cause much harm to the economy and raise inflation, leading to a very damaging recession.

A positive effect of a weak dollar is that it will increase exports, and make imports more costlier. But this is a long term effect, which wont necessarily kick in, in the short run.

The current bailout, as bad as it is, is the only way to offset much bigger crisis in the American economy. But the loss of confidence in the dollar will take a long time to recover.

Monday, September 22, 2008

TCP Offload Engine support in Linux

TCP Offload Engines (TOE) are customized hardware which handle TCP connections completely in the network card itself, instead of in the kernel. Lately 10Gbps Ethernet cards are becoming the industry standard in the high end server market. A simple rule of thumb regarding TCP processing in the CPU requires 1 HZ of CPU for every 1 bit of TCP data handled per second. This means that a 10GigE card, requiring 10 GHz, can quickly eat the CPU like there is no tomorrow. Even with multiple CPUs and multiple cores per CPU, the impact is significant.

Added to this, IEEE standards are already being prepared for 40Gbps and 100Gbps Ethernet. So in this situation, using TOE becomes inevitable. There are already many TCP functions already being done in hardware like checksumming, LRO (Large Receive offload), LSO (Large Send Offload) etc. But a TOE provides a complete end-to-end solution.

TCP Offload Engines were never a hit with the linux networking community. Linux Kernel Maintainers, esp David Miller, have been against the idea of TOE due to various valid reasons like it reduces maintainability of code, etc. Also the kernel maintainers argue that TOE was only a stopgap solution, before CPU speeds caught up with the loads, citing cases in the past where TOE was implemented even for 100Mbps links. More details about their position can be found in this article - Linux and TCP Offload Engines. This has caused a situation where the 10GigE vendors like Chelsio are forced to maintain the TOE patches to the Linux kernel, out-of-tree. This causes the code to be inherently unstable.

Anyway, the end users do not face any loss of functionality since the vendor provided patches to the Linux kernel can be used to build kernel modules, which provide support for TOE hardware in Linux machines. This is what I like about Open Source. You do not have to be bound by what others think. You leave that decision to time.

Friday, September 19, 2008

Republican VP Sarah Palin's Yahoo! mail hacked

Two days ago, the email account of Ms. Sarah Palin, the current Governor of Alaska, as well as the Republican Vice Presidential Candidate's Yahoo! Email account - gov.sarah@yahoo.com was hacked. The nature of the hack is the well known "forgotten password" of Yahoo! link, which asks for some personal information before generating a new password. For a public figure like Palin, most of this information is not really private... which means the existing security measures need to be looked at in a different light. Even for normal ppl, the information is not too difficult to get, except that there are easier ways like keyboard logging, social engineering etc.

Most services on the web try to escape this predicament, by giving the option of mailing your new password to your email address. But alas this cannot work email accounts itself. It is important that this issue be addressed by Yahoo! and other webmail providers, since there are many people who lose information through such loopholes.

On your end, to reduce the possibility of such attacks, you should give fake information for such email accounts to prevent public information on the website. And you don't have to give the real name of your pet either! And for the love of God, remember that information, since if you forget that, no one is helping you out.

The complete log of emails and information used to hack the account is available at the Wikileaks website.

Thursday, September 18, 2008

A Wednesday - An Exciting Thriller

Generally I have a low opinion of the average run of the mill movies which get released by Bollywood or the other Tollywoods. They generally run on a hackneyed, beaten-to-death formula. But a few of them are gems. "A Wednesday" by Neeraj Pandey is one. It is a gripping thriller about a wednesday when a series of incidents changes the lives of all those involved.

The movie starts with a phone call to the police commissioner of Mumbai (played by Anupam Kher), about 5 bombs placed at various locations in Mumbai. The caller (Naseerudeen Shah) gives extremely detailed instructions about how to release known terrorists. From then onwards, the movie progresses into a gripping thriller, with many twists and turns to a very satisfying conclusion. The tempo of the film is maintained till the end, which is very rare. Most movies lose their tempo after a good start, but not this one. A definite must watch.

Five Stars any day...

Socialism for the Super Rich - Moral Hazards in US economy

The recent bailout of Freddie Mac, Fannie Mae and AIG, by the US Govt to protect the faith in US markets has created a moral hazard. A moral hazard indicates that while you take a risk, the profits from it go exclusively to you, but losses are distributed to parties which do not have anything to do with the deal. This creates a situation which rewards an overtly risky behavior.

The US taxpayers are paying for the mistakes of a few who tried to make a lot of money in the US real estate and mortgage businesses. The Fed by arranging the shotgun marriage of Bear Sterns to JP Morgan a couple of months ago, while assuring at least $30 billion against losses from Bear's trades, indirectly rewarded the overtly risky behavior, by letting the taxpayers buttress the downside of the risks. Freddie and Fannie losses could potentially run into hundreds of billions of dollars. The Fed tried to take a stand by not bailing out Lehman, but the odds were stacked against its favor as the AIG posed a huge counterparty risk to all the financial markets. In the end, the AIG bailout cost the taxpayers $85 billion.

This is not new for the Fed. It arranged the cleaner disposal of Long Term Capital Management (LTCM) Hedge fund after it blew up in 1998, since the fund with $10 billion in deposits and controlling over $1 trillion of the economy through leverage would have brought down the entire global economy.

Moral Hazards have always existed in the world of Hedge funds, where the fund managers gets to take home a large part of any profits he makes. Losses would typically result in him getting fired, but without any monetary damage. This caused the Hedge fund managers to take up increasingly risky trades. Mutual funds were somewhat safer due to strict regulation which limited the riskiness of trades they undertook.

In a free market enterprise the Fed has to let these institutions fail for their mistakes. But they would also cause global economic collapse and cause a lot of harm to the common man. So this is amounting to near blackmail by these firms (a more apt term would be brinkmanship).

Other than the explicit bailouts of Freddie, Bear, AIG etc, The Fed is also implicitly bailing out the other firms by keeping the interest rates extremely low, at a time when inflation is eating into the savings of the common folk.

So who is at fault? The fault is the lack of proper regulation and laws governing Investment banks and financial institutions in general. For example the repeal of the Glass-Steagall act is one such action, which increased the moral hazard since banks can also do investment actions and lose lots of money rendering them insolvent. This would cause the FDIC to dole out money to the depositors from tax payers if the banks fail. This is definitely not the best solution, but can be one solution which can be used to reduce this moral hazard, which if ignored further would result in increasingly worse depressions, as traders start taking increasingly risky trades.

Although it is against the spirit of free markets, the US Govt must be more proactive in analyzing the markets and bring in relevant laws and regulation, instead of waiting for the storm, to pass new laws.