Monday, April 30, 2007
Friday, April 27, 2007
Hoardings - Highway to hell
I am sure everyone of us at some point or the other got distracted to a gigantic poster of a beautiful girl or car or something more interesting (I am not sure what could be more interesting to a man). Yeah... you might ask what is bad in admiring a good advertisement or something creative?
when you are driving in Hyderabad you will be busy searching for any amount of space you get to shove in your vehicle so that you can reach your destination quicker. At the same time you should be careful to avoid autos and public transport buses which stop wherever they like and move from one corner of the road to other as if they are the only ones on the road. Also avoiding open manholes, pits dug out by telephone/water department, broken road dividers, construction going on in between and beside the roads, people walking/crossing the lanes, stray animals on the road.
Just imagine at this point if you come across a beautiful over sized hoarding to which your eyes cannot resist and you just want to glance at it for some more time but you cannot. I am not sure of you but I was in this situation many times. Especially now a days these advertisements are getting so creative that one has to analyze it to understand it, and in the position one will be, it is impossible to do so.
Where driving on such roads in such difficult conditions is a Herculean task, I cannot even imagine what could happen if we lose concentration of a fraction of a second or if our thoughts wander off the road.
But recently new kind of threat came up, one of these gigantic single pole structure came down crashing killing one and causing a lot of damage to property and people. And I have also herd of many such similar structures bent or deformed due to the heavy winds.
Can't Government think for the safety of a common man before giving permissions to such structures? Does it check the quality of the structure before it is put up?. I am not sure.
One thing I know is the contractors who put up these hoardings are filling their pockets big time.
Worse thing happening these days is there are large TV's displayed at junctions which play Advertisements. Imagine if a static picture can be of such diversion how much a motion picture is? These days Government is constructing Walkways on busy roads to cross from one side of the road to another, and even on these huge hoardings keep hanging (On my way to office I cannot resist to see a huge LCD TV advertisement on one of these).
Is Government/Corporation not concerned about the safety of people? Does it only look at the amount of revenue it gets by giving permissions to such hoardings? Is there anyone who can check these? Cant we do anything about it? If you people know any way please let us do something!!
Posted by
Bharani Surineni
at
Friday, April 27, 2007
1 comments
Labels: Hyderabad, My Thoughts
Thursday, April 26, 2007
For those who thought they knew everything!!
Read on............
- The liquid inside young coconuts can be used as a substitute for
Blood plasma.
- No piece of paper can be folded in half
more than seven (7) times.
- Donkeys kill more people annually
than plane crashes.
- You burn more calories sleeping
than you do watching television.
- Oak trees do not produce acorns
until they are fifty (50) years of age or older.
- The first product to have a bar code
was Wrigley's gum.
- The King of Hearts is the only king
WITHOUT A MOUSTACHE
- American Airlines saved $40,000 in 1987 by eliminating one (1) olive
from each salad served in first-class.
- Venus is the only planet that rotates clockwise.
(Since Venus is normally associated with women,what does this tell you!)
- Apples, not caffeine,
are more efficient at waking you up in the morning.
- Most dust particles in your house are made from
DEAD SKIN!
- The first owner of the Marlboro Company died of lung cancer.
So did the first " Marlboro Man."
- Walt Disney was afraid
OF MICE!
- Pearls melt
in Vinegar!
- The three most valuable brand names on earth:
Marlboro, Coca Cola, and Budweiser, in that order.
- It is possible to lead a cow upstairs...
but, not downstairs.
- A duck's quack doesn't echo,
and no one knows why.
- Dentists have recommended that a toothbrush be kept at least six (6) feet away from a toilet to avoid airborne particles resulting from the flush.
(I keep my toothbrush in the living room now!)
- Richard Millhouse Nixon
was the first U.S. president whose name contains all the letters from the word "criminal." The second ? William Jefferson Clinton
(Please don't tell me you're SURPRISED!?!!)
- And the best for last.....
Turtles can breathe through their butts.
Now you know everything :-)
Posted by
Bharani Surineni
at
Thursday, April 26, 2007
1 comments
Labels: Trivia
Wednesday, April 25, 2007
Watson: Debugging from Microsoft
Most of us might have always wondered how a software can be developed to near bug-free entity. When we were working with any Software it was easy for us to curse for all the trouble it creates.....
Read on this article which says that it is a near immposibility to make a software bugg-free...and also details how Watson Team tracks bugs at Microsoft ...
Watson:
People who don’t build software for a living have a quite understandable attitude that you should write your program, fix all the bugs, then ship it. Why would you ever ship a product that has bugs in it? Surely that is a sign that you don’t care about quality, right?
Those of us who work on non-trivial software projects naturally see this a little differently. There are many factors that determine quality of software, and some of them are counter-intuitive. For example, the first thing to realize is that you are not trying to get rid of every bug. What you are trying to do is maximize the known quality of the product at the time you ship it. If the last bug you have in the product is that a toolbar button sometimes doesn’t display correctly, and you fix it, then you ship the product, how embarrassed will you be a little later when you find out that the code fix you took to get the toolbar to display causes your application to crash when used on machines with certain video cards? Was that the right decision? Fix every bug?
The discipline of software testing is one that is rarely taught in university, and when it is taught, it is taught in a highly theoretical way, not in the way that it needs to be done to successfully produce high quality products on a schedule demanded by commercial software.
I often interview university students applying for jobs at Microsoft. They're usually excellent people and very talented, although we have to turn away most of them. One thing that always intrigues me is when I am interviewing people who want to be a developer or tester. If I ask them to write a little code, most of them can. Then I ask them to prove to me that their code works. The responses I get to this vary so widely it is remarkable. Usually people run the example values I gave them through their algorithm and if it comes out correctly, they say it works. Then I tell them, "OK, let's say I told you this code is for use in a firewall product that is going to be shipped to millions of customers, and if any hackers get through, you get fired". Then they start to realize that they need to do a little more. So they try a few more numbers and some even try some special numbers called "boundary conditions" - the numbers on either side of a limit. They try a few more ideas. At some point they either say they're now sure, or they get stuck. So I then ask them if they think it is perfect now. Well, how do you know?
This is a central problem in large software projects. Once you get beyond about 100 lines of code, it becomes essentially impossible to prove that code is absolutely correct.
Another interesting detail here is that people constantly confuse the fact that they can’t find a problem with there being no more problems. Let's say you have a test team of one person, and a development team of 10 (at Microsoft, we have a 1:1 ratio of testers to devs, so we'd have 10 testers on that team). But what if our poor lone hypothetical tester goes on vacation for 2 weeks, and while he is away the developers fix the few bugs he has found. Is the program now bug free, just because there are no known bugs in it? It is "bug free" after all, by the definition many people would use. In fact a good friend of mine who runs his own one-man software business told me once his software is in fact bug free, since whenever any customer tells him about a bug, he fixes it. I suppose his reality is subjective. But you see the point - whether you know about the bugs or not, they're in there.
So how do you deal with them? Of course, you test test test. You use automated tests, unit tests that test code modules independently of others, integration tests to verify code works when modules are put together, genetic test algorithms that try to evolve tests that cause problems, code reviews, automated code checkers that look for known bad coding practices, etc. But all you can really say is that after awhile you are finding it hard to find bugs (or at least serious ones), which must mean you're getting it close to being acceptable to ship. Right?
One of my favorite developments in product quality that is sweeping Microsoft and now other companies as well is an effort started by a couple of colleagues of mine in Office, called simply "Watson". The idea is simple. A few hundred (or even thousands) of professional testers at Microsoft, even aided by their expert knowledge, automated tools and crack development and program management teams cannot hope to cover the stunningly diverse set of environments and activities that our actual customers have. And we hear a lot about people who have this or that weird behavior or crash on their machine that "happens all the time". Believe me, we don’t see this on our own machines. Or rather, we do at first, then we fix everything we see. In fact, the product always seems disturbingly rock solid when we ship - otherwise we wouldn’t ship it. But would every one of the 400 million Office users out there agree? Everybody has an anecdote about problems, but what are anecdotes worth? What is the true scale of the problem? Is everything random, or are there real problems shared by many people? Watson to the rescue.
As an aside, I suspect that some people will read this and say that open source magic solves this, since as the liturgy goes so many eyes are looking at the code that all the bugs are found and fixed. What you need to realize is that there are very few lawyers who can fix code bugs. And hardly any artists. Not so many high school teachers, and maybe just a handful of administrative assistants. Cathedral, bazaar, whatever. The fact is that the real user base is not part of the development loop in any significant way. With 10^8 diverse users, a base of people reporting bugs on the order of 10^4 or even 10^5, especially with a developer user profile cannot come close to discovering the issues the set of non-computer people have.
The Watson approach was simply to say: let's measure it. We'll match that 10^8 number 1 for 1. In fact, we'll go beyond measuring it, we'll categorize every crash our users have, and with their permission, collect details of the crash environment and upload those to our servers. You've probably seen that dialog that comes up asking you to report the details of your crash to Microsoft. When you report the crash, if that is a crash that someone else has already had, we increment the count on that "bucket". After a while, we'll start to get a "crash curve" histogram. On the left will be the bucket with the most "hits". On the far right will be a long list of "buckets" so rare that only one person in all those millions had that particular crash and cared to report it. This curve will then give you a "top N" for crashes. You can literally count what percentage of people would be happier if we fixed just the top 10 crashes.
When we started doing Watson, it was near the end of OfficeXP. We collected data internally for a few months, and started collecting externally for the last beta. We quickly learned that the crash curve was remarkably skewed. We saw a single bug that accounted for 27% of the crashes in one application. We also saw that many people install extra software on their machine that interferes with Office or other applications, and causes them to crash. We also saw that things we thought were fairly innocuous such as grammar checkers we licensed from vendors for some European languages were causing an unbelievable number of crashes in markets like Italy or the Netherlands. So we fixed what we could, and as a result OfficeXp was pretty stable at launch. For the first time, that was not a "gut feel" - we could measure the actual stability in the wild. For follow-on service packs for Office XP, we just attacked that crash curve and removed all the common or even mildly common crashes.
For Office2003 (and OneNote 2003), the Watson team kicked into high gear with more sophisticated debugging tools so we could more often turn those crash reports into fixes. They also started collecting more types of data (such as "hangs", when an application either goes into an infinite loop, or is taking so long to do something that it might as well be in one). We fixed so many crashing bugs and hangs that real people reported during the betas that we were way down "in the weeds", in the areas where crashes were reported only a handful of times - hard to say if that is real or just a tester trying to repro a bug they found. So again we know how stable the 2003 generation of Office applications is - we can measure it directly. What a difference from the guesswork that used to go on. In fact we know for a fact that Office 2003 at launch is already more stable than any previous release of Office ever, even after all service packs are applied, since Windows now collects Watson data for all applications.
Microsoft offers this data freely for anyone writing applications on Windows. You can find out if your shareware application is crashing or its process is being killed by your users often - sure signs of bugs you didn’t know you had. The Windows team will also give you crash dumps you can load into your debugger to see exactly what the call stack was that took you down, so you can easily fix your bugs.
This is an example of what BillG calls "Trustworthy Computing". You may think that's a bunch of hoopla, but in many ways it is quite real - things like Watson are used to directly improve the quality of our products.
Posted by
Bharani Surineni
at
Wednesday, April 25, 2007
0
comments
Labels: Technology
Tuesday, April 24, 2007
Cow Economics I
DEMOCRAT
You have two cows.
Your neighbor has none.
You feel guilty for being successful.
Barbara Streisand sings for you.
REPUBLICAN
You have two cows.
Your neighbor has none.
So?
SOCIALIST
You have two cows.
The government takes one and gives it to your neighbor.
You form a cooperative to tell him how to manage his cow.
COMMUNIST
You have two cows.
The government seizes both and provides you with milk.
You wait in line for hours to get it.
It is expensive and sour.
CAPITALISM, AMERICAN STYLE
You have two cows.
You sell one, buy a bull, and build a herd of cows.
DEMOCRACY, AMERICAN STYLE
You have two cows.
The government taxes you to the point you have to sell both to
support a man in a foreign country who has only one cow,
which was a gift from your government.
BUREAUCRACY, AMERICAN STYLE
You have two cows.
The government takes them both, shoots one, milks the other,
pays you for the milk, and then pours the milk down the drain.
AMERICAN CORPORATION
You have two cows.
You sell one, lease it back to yourself and do an IPO on the 2nd one.
You force the two cows to produce the milk of four cows.
You are surprised when one cow drops dead.
You spin an announcement to the analysts stating you have down
sized and are reducing expenses.
Your stock goes up.
FRENCH CORPORATION
You have two cows.
You go on strike because you want three cows.
You go to lunch and drink wine.
Life is good.
JAPANESE CORPORATION
You have two cows.
You redesign them so they are one tenth the size of an ordinary
cow and produce twenty times the milk.
They learn to travel on unbelievably crowded trains.
Most are at the top of their class at cow school.
GERMAN CORPORATION
You have two cows.
You engineer them so they are all blond, drink lots of beer, give
excellent quality milk, and run a hundred miles an hour.
Unfortunately they also demand 13 weeks of vacation per year.
ITALIAN CORPORATION
You have two cows but you don't know where they are.
While ambling around, you see a beautiful woman.
You break for lunch.
Life is good.
RUSSIAN CORPORATION
You have two cows.
You have some vodka.
You count them and learn you have five cows.
You have some more vodka.
You count them again and learn you have 42 cows.
The Mafia shows up and takes over however many cows you
really have.
TALIBAN CORPORATION
You have all the cows in Afghanistan, which are two.
You don't milk them because you cannot touch any creature's
private parts.
Then you kill them and claim a US bomb blew them up while
they were in the hospital.
IRAQI CORPORATION
You have two cows.
They go into hiding.
They send radio tapes of their mooing.
POLISH CORPORATION
You have two bulls.
Employees are regularly maimed and killed attempting to milk
them.
FLORIDA CORPORATION
You have a black cow and a brown cow.
Everyone votes for the best looking one.
Some of the people who like the brown one best, vote for the
black one.
Some people vote for both.
Some people vote for neither.
Some people can't figure out how to vote at all.
Finally, a bunch of guys from out-of-state tell you which is the
best looking cow.
CALIFORNIAN
You have a cow and a bull.
The bull is depressed.
It has spent its life living a lie.
It goes away for two weeks.
It comes back after a taxpayer-paid sex-change operation.
You now have two cows.
One makes milk; the other doesn't.
You try to sell the transgender cow.
Its lawyer sues you for discrimination.
You lose in court.
You sell the milk-generating cow to pay the damages.
You now have one rich, transgender, non-milk-producing cow.
You change your business to beef. PETA pickets your farm.
Jesse Jackson makes a speech in your driveway.
Cruz Bustamante calls for higher farm taxes to help "working cows".
Hillary Clinton calls for the nationalization of 1/7 of your farm
"for the children".
Gray Davis signs a law giving your farm to Mexico.
The L.A. Times quotes five anonymous cows claiming you
groped their teats.
You declare bankruptcy and shut down all operations.
The cow starves to death.
The L.A. Times' analysis shows your business failure is Bush's fault.
Posted by
Bharani Surineni
at
Tuesday, April 24, 2007
1 comments
Labels: Humor
Monday, April 23, 2007
Photography - from hobby to passion:
I was always intimidated by good photographs and wanted to develop photography as a hobby.
Recently what I wanted as a hobby became my passion. I have posted my first album with the photographs I have taken in recent past.
You can find the album at: http://picasaweb.google.com/bharani.surineni/MyFirstSetOfPhotographs
I am getting ready for the next album. You can see it under "Through my eyes(Pictures taken by me):" section on my blog once I post it.
Posted by
Bharani Surineni
at
Monday, April 23, 2007
0
comments
Labels: Photographs by me
Friday, April 20, 2007
On April Fools' Day 1957.....
As we are still in April, let me introduce to you the best all time April fools day hoax till now.
On April Fools' Day 1957, the British Broadcasting Corporation tried a startling trick on its news show Panorama. Journalist Richard Dimbleby offered viewers a tour of a "spaghetti harvest" in Ticino, Switzerland. "The last two weeks of March are an anxious time for the spaghetti farmer," Dimbleby earnestly reported as a family was shown plucking strips of pasta off trees. "There's the chance of a late frost, which, while not entirely ruining the crop, generally impairs the flavor." The show announced "Thanks to a very mild winter and the virtual elimination of the dreaded spaghetti weevil, Swiss farmers were enjoying a bumper spaghetti crop."
The story concluded, "For those who love this dish, there's nothing like home grown spaghetti." After the report ran, the BBC was flooded with calls from people asking where they might get a spaghetti tree. They were reportedly told to "place a sprig of spaghetti in a tin of tomato sauce and hope for the best."
Check out the actual broadcast archived on the BBC's website (You need the RealVideo player installed to see it, and it usually loads very slowly).
Posted by
Bharani Surineni
at
Friday, April 20, 2007
0
comments
Labels: Trivia


