Archive for October, 2011

MY FAULT

Posted: October 20, 2011 in Opinions, Thoughts
Tags: , ,

Well well well, this post was long pending in my mind and somehow I was reluctant to post it. But what’s the point in giving an advice and you yourself not following it? 😉

Let me take you back to one of those real bad days (not horrible though!) in my life where IT WAS MY FAULT!

My office is in ITPB, usually I take ITPB buses to office, but today as I had to collect my Home Loan provisional certificate to apply for Tax exception, I thought of taking bike to office. I even took one of my friends with me to drop him at his office near Dommalur.

He was late, I was late, so I was driving crazily. And as usual, it lead to some bad moments. First, I narrowly escaped an accident with a Car just after Hosmat hospital signal, but it wasn’t my mistake alone, even that car driver was in hurry! My friend was terrified and asked me to slow down. But I was having full faith in my driving, or you can even call it as over confident! 😮 And again, this over confidence lead to a worst moment later.

His office falls after my bank where I had to collect my document. There was no U turn nearby the bank, but there is some bicycle mark on the median where, I think, bikers take U turn to reach the bank.  So did I and then, suddenly dhadd dhadall..! Another biker who was going towards Marathalli bridge came faster than I expected and he hit my bike on the back side, I managed my bike and didn’t fall but he fell down exactly in the middle of the road. My heart stopped for a moment, thinking about the bad things that might have happened but when I stopped and looked back, he was very much fine, there were some scratches on his bike, and one indicator cover was broken, but nothing much to him. Uffff! I let a sigh of relief. [ That’s why I said it’s a bad day, not horrible tough]

But he was furious at his best and started shouting at me. I parked my bike, went to him quickly and asked him to ‘get the bike outside the road first, later we can talk.’

Now you can imagine the blasting that I might have faced at this moment. The people gathered around two of us were ready to beat me. The first thing I said was “It’s my Fault and I am really sorry!”

(more…)

On a random day at a random time, I got a random forward mail with the above title, and yes it caught my attention at first sight. And I couldn’t stop myself from sharing the facts here in my blog!

One-Two-Three

One-Two-Three

Letters A, B, C and D do not appear anywhere in the spellings of 1 to 99.
Letter D comes for the first time in 100 (Hundred)

Letters A, B and C do not appear anywhere in the spellings of 1 to 999.
Letter A comes for the first time in 1000 (Thousand)

Letters B and C do not appear anywhere in the spellings of 1 to 999,999,999.
Letter B comes for the first time in 1,000,000,000 (Billion)

And….

Letter C does not appear anywhere in the spellings of entire English Counting! 😮

A very interesting read!

What Killed Waterfall could Kill Agile.
Robert C. Martin
20 Nov, 2010

In 1970 a software engineer named Dr. Winston W. Royce wrote a seminal paper entitled Managing the Development of Large Software Systems. This paper described the software process that Royce felt was appropriate for large-scale systems. As a designer for the Aerospace industry, he was uniquely qualified.

He began the paper by setting up a straw-man process to knock down. He described this naïve process as “grandiose”. He depicted it with a simple diagram on an early page of his paper. Then the paper methodically tears this “grandiose” process apart. In the end, Royce proposed a far more nuanced and insightful approach, leaving the reader to giggle at the silliness of the “grandiose” model.

Royce’s paper was an instant hit. It was cited in many other papers, including several very important process documents in the early ‘70s. One of the most influential of these was DOD2167, the document that described the software development process for the American Department of Defense. Royce was acclaimed, and became known as the father of the DOD process.

There was just one problem. The process that DOD2167 adopted was Royce’s straw man! Apparently the authors of DOD2167 did not actually read Royce’s paper; because they adopted the “grandiose”, naïve process that Royce’s paper had derided. To his great chagrin, Dr. Winston W. Royce became known as the father of the waterfall.

Though Royce railed and fought against it, the snowball was in motion. It kept on growing as it rolled down the mountains of software companies and industrial countries. Year by year the waterfall gained in popularity leaving it’s father to wonder about the justice of the universe and whether there was intelligent life on Earth.

By the middle of the 1990s, the waterfall process dominated the world of software. The field of Software Engineering was defined by it; and by the catalog of analysis and design documents that Architects, Designers, and Analysts were expected to produce. Coding was a detail – the least important part of the process. If you wrote your documents well, and drew all the necessary diagrams, then you were doing it right. You were an engineer. The code could be left to the unwashed minions in the cellar.

This attitude created a schism in the technical community. There were the elite Architects, Designers, and System Analysts who did the real engineering by satisfying the first two phases of the waterfall. And then there were the grunts who actually had to make everything work in the final phase. When the project got behind schedule, it was the grunts who worked overtime. When the project failed, it was the grunts who bore the blame.

(more…)

I have a friend who keeps bugging me for small small scripting solutions, and every time I enjoy helping him just because all those times I learn new things in Unix. But I never thought of capturing these things anywhere. Then I thought of putting them in my own blog, here! 🙂

Coming to the recent question he asked me, he wanted to capture the common entries in two files.
Say, file1 contains following entries:
AT010
AT013
AT015

And file2 contains:
AT011
AT012
AT013
AT014
AT015

How do I find the common lines? Simple, use comm command.
$ comm -12 file1 file2
AT013
AT015

Smooth, isn’t it? 🙂
But what if the files are not sorted? Then comm can’t help you alone, you need to take help of another command sort.

Consider the above files are not sorted, then:
$ sort file1 > new_file1
$ sort file2 > new_file2
$ comm -12 new_file1 new_file2

would give the same result as above.

(more…)

Here is a good piece of article that I got as a mail forward. A good read in deed, enjoy! 🙂

Written on September 22, 2008 by Subroto Bagchi

Those who were tracking the events happened in Banking industry during last week must have got the experience of watching a thriller. These events not only show Dos and Don’ts as far as Leadership is concerned but also gave us a different perspective and made us a little bit matured and wiser. Don’t you think so ??

I pass through this very intersection every morning with so much ease. Today, the pace is skewed. There is a sense of disarray as motorists try to push past each other through the traffic light. The light here always tests their agility because if you miss the green, you have to wait for another three minutes before it lets you go past again. Those three minutes become eternity for an otherwise time-insensitive nation on the move.

Today, there is a sense of chaos here. People are honking, skirting each other and rushing past. I look out of my window to seek the reason. It is not difficult to find because it is lying strewn all over the place.

A tomato seller’s cart has overturned. There are tomatoes everywhere and the rushing motorists are making pulp of it. The man is trying to get his cart back on its four rickety wheels and a few passersby are picking up what they can in an attempt to save him total loss. Though symbolic in the larger scheme of things, it is not a substantive gesture. His business for the day is over.

(more…)

We are hearing about 2G scam and the developments happening in this case. But there are some people who doesn’t know what the exact issue is. One fine day I thought of reading about this and found a beautiful article in in.com, a part of which I am pasting here.

What is 2G?
Simply an abbreviation for second generation wireless telephone technology. In January 2008, 122 new licenses for the spectrum were issued to eight operators by the telecom ministry. However, when the auction of 3G services only two years later in 2010 fetched the government a whopping Rs 67,719 crore, questions began to be raised about why the 2G spectrum licenses hadn’t been auctioned off at market rates but at prices dating back to 2001.

Who were these operators?
Unitech, Swan Telecom, Loop Telecom, Videocon Telecommunications, STel, RCom, Vodafone Essar and MTS. Of these, Unitech and Swan received licenses despite having no prior experience in the telecom sector. Further, Swan Telecom who purchased the license for Rs 1537 crore, sold 45% stake to UAE-based telco Etisalat for Rs 4200 crore, and Unitech who purchased licenses for Rs. 1661 crore, sold 60% of the stake for Rs. 6200 crore to Telenor Asia. The hugely underpriced allocation of licenses is now believed to have caused the exchequer a loss of Rs 1.76 lakh crore.

How did the scam come to light?
Politician and leader of the Janata Party Subramanian Swamy first shot off letters to the Prime Minister demanding that action be taken against Raja after the corruption over allocation of the 2G licenses became apparent. Following inaction by the UPA, Swamy filed a criminal complaint with the Supreme Court and later suggested that the spectrum be reauctioned.

(more…)