Home | Techie Talk | Story Time | About | Contact

Wednesday, January 21, 2009

Symptoms of Poor Planning

Symptoms of software development with poor planning :

1. You ll have hardly one week for the code freeze but still 3/4th of the Do To list are yet to be started.
2. Even after working for several hours nothing seems to be like working.
3. Your family members say you are not spending enough time with them.
4. Even the most friendly Boss will start his Coo-Coo status update queries.

Right from my childhood I have this problem. Be it an examination or the last day for submitting the assignments or the project deadline, I always suffer at the last minute.

Learn from the mistakes of others; You won't live long enough to make them all.

@pratheeswaran

Labels: ,

Friday, January 16, 2009

How to Truncate Windows file to zero Size?

Deleting (or) Truncating a Windows File to zero size (especially when the file is in use) is not an easy task in Windows. One will have to close the application (which is using the file), modify the file and then restart the application again.

Just to make this boring task simpler, I have written a c program that will truncate windows file to zero size, even if the file is being used by some other application.

Nothing complex in this code, I have used the "_O_WRONLY | O_TRUNC" options to open the file, which will set the file size to zero.

The absolute path of the File, should be given as the argument to the program.


#include
#include
#include
#include
#include

int main(int argc, char* argv[])
{
if(argc>1)
{
int fileHandler;
fileHandler = _open( argv[1], _O_WRONLY | O_TRUNC );
if( fileHandler == -1 )
{
printf( "\nOPERATION FAILED\n" );
}
else
{
printf( "\nOPERATION SUCCESS\n" );
_close( fileHandler );
}
}
}


Labels: , , ,

Thursday, January 08, 2009

PriceWaterHouseCoopers???

Once upon a time, not so long ago, there were "Big Five" accounting firms. Arthur Andersen was one among them. Others in the list were Price WaterHouse Coopers, Deloitte Touche Tohmatsu, Ernst & Young and KPMG.

Them when the Enron scandal broke in the year 2001, this Arthur Andersen firm, who were auditing Enron's accounts then, was found guilty of the financial scandal. Later they voluntarily surrendered their CA license and went out of business. Thus the number was brought down as "Big Four"

Now after the Ramalinga Raju's confession and the Satyam Computers scam, the Price WaterHouse Coopers who are auditing Satyam's accounts, are under the same threat. The Institute of Chartered Accountants of India (ICAI) has already issued a show cause notice to the accounting firm. If proved (whats more to get proved!??) PwC will have to face the same fate as Arthur Canon.

Though the accounting firm says Satyam auditing was done with regular Auditing Standards and were supported with appropriate audit evidences, I personally feel, atleast few people in the PwC must have been aware of this fraud.

Its really sad to see how a mistake (ofcourse a big mistake) by very few people, can bring down the reputation.

A lesson for everyone...

Labels: , , , ,

Wednesday, January 07, 2009

Ramalinga Raju and The Satyam Scam

Today's sensational news in the Indian IT industry and the Indian Share market is the resignation of Ramalinga Raju from the Chairman post of Satyam Computers.

The Satyam shares which were already going down (after the World Bank ban), fell tremendously after this news. The price of a share in the morning was about Rs. 180/- and in the evening its just above Rs 35/-

In his resignation letter to the board, Ramalinga Raju had admitted that the Satyam's balance sheets was inflated to Rs. 5040 crores, which was actually very less.

The letter says, how all the attempts to fill this fictitious assets with real ones failed and then comes the punch line - According to Raju, none of the other Board Members had the knowledge of the real situation.

Poor Raju. In every board, whenever a problem comes, there will be one scape goat and in this issue, its Ramalinga Raju. Even without any SEBI/CBI interrogation, Raju have come out himself, admitting his faults - (though there was no other gentleman option for him). Not many in our country have this courage. In that aspect, Raju is a gentle man.

If at all that Maytas acquisition had happened smoothly, Satyam wouldn't be in this bad condition.

by the way, I can surely tell Satyam is not the only company with this problem. If SEBI audits all company's books - there will be many more Satyams. Even bigger ones might exist.


Labels: , ,