Friday, December 22, 2006

Red means STOP!



oh! crap. That is my car. Plain and simple, I am going thro' hell with the insurance company right now. Even though the other driver accepted fault that she jumped the red, with the cop on scene, and the incident report clearly says so, the insurance company "respectfully denies liability"!

Now, after being robbed off my transportation vehicle for the next 2-3 weeks, I have to run around for no apparent mistake of mine!

Update [Nov 11, 2007]: The car is all fixed now - and the other driver was declared guilty by the arbitrator. Yay! I got some of my money back. But, nothing to replace all the turmoil we went through without a car for a month and a half.

Sunday, December 17, 2006

Smoking, a nasty habit - takes away the best from you

Prologue

I took a jogging class this semester at De Anza College, to kick start my healthy living schedule. The assignment paper was to write something health related, something we like and are passionate about. And here it goes:

Introduction

Tobacco smoking is the act of burning the dried or cured leaves of the tobacco plant and inhaling the smoke for ritualistic purposes, or more commonly out of habit and to satisfy addiction. This addictive quality of cigarettes is because of the presence of a stimulant known as nicotine, which is an alkoloid found in the nightshade family of plants (Solanaceae) in it. Smoking, because of its addictive nature, has resulted in many a health problems. Medical research has shown over the years that smoking has resulted in major health hazards in a wide cross section of the society. In this report, a few of the major hazards of smoking are being discussed.

Cancer

I lost my grandmother to tobacco, she suffered from cancer towards the end of her life, and had a painful end. She chewed tobacco all her life, 'cancer' is one of the ill effects of tobacco.
Tobacco is linked to atleast 10 types of cancers and accounts to for 30% of all the cancer related deaths, but yet, one fourth of American lights up tobacco. It is a major cause of cancers of the lung, larynx (voice box), oral cavity, pharynx (throat), esophagus, and bladder, and is a contributing cause in the development of cancers of the pancreas, cervix, kidney, stomach, and also some leukemias. Though lung cancer is a preventable disease, 87% of all the lung cancer deaths is because of tobacco.

Other effects

Though cancer is one of the major causes of deaths, Tobacco, is the major cause of heart disease, aneurysms, bronchitis, emphysema, and stroke, and it contributes to the severity of pneumonia and asthma.
Tobacco is also linked to gum diseases, cataract, bone thinning, hip fractures and peptic ulcers. It is also
been proven that it cases fertility related issues such as miscarriage, stillbirth, infant death and more.

Not to mention the quality of life lost, smokers tend to loose friends. Based on data collected from 1995 to 1999, the CDC estimated that adult male smokers lost an average of 13.2 years of life and female smokers lost 14.5 years of life because of smoking.

Smoking and Depression

Data from multiple studies suggest that depression plays a role in cigarette smoking. A history of regular smoking was observed more frequently among individuals who had experienced a major depressive disorder at some time in their lives than among individuals who had never experienced major depression or among individuals with no psychiatric diagnosis.

Secondhand Smoke

This is one of the major problems I personally have faced, as a kid, I disliked the smell of the smoke, as an adult, I had to tolerate it around me. Friends, boss, colleague, everyone smokes! It is very difficult to confront them while tolerating the second hand smoke, which is causing the same ill effects as described above, may be more, while choosing not to smoke. Among other scary facts, secondhand smoke causes approximately 3,400 lung cancer deaths and 22,700-69,600 heart disease deaths in adult nonsmokers in the United States each year.
To conclude, smoking is a nasty habit. All I can say to a smoker is to 'please quit', and spare me the trouble of secondhand smoke. “I did not pay for the cigarette. I don't want the smoke for free”.

References:

Thursday, December 14, 2006

My first interview - TestGen4Web

Alright, not as big deal as it sounds, Alan decided to ask me a few questions about my experience during my project TestGen4Web,

Before boring you much, here is the link on spikedevnews.

About TestGen4Web:

I am always big on automation, call my lazy, but I hate doing repetitive jobs! Once firefox came out, and was seeing all these wonderful extensions, the idea of TG4W struck me. All I wanted to do was record all the my actions on the browser, and be able to replay them back.

The idea extended to creating automated scripts (HttpUnit, HTMLUnit, php-simpletest) using the recorded actions for nightly testing. Since my company SpikeSource is big on testing and automation, this was a easy business goal too!

After 1 year of successful deployment, here I am the proud owner of TestGen4Web with more than 30,000 downloads. If you are interested, you can download it from dev.spikesource.com or addons.mozilla.org.

I had a lot of help from some of the developers in Europe, and our inhouse UI guru Keisuke Omi .

More information about TestGen4Web on dev.spikesource.com.

Wednesday, November 15, 2006

Firefox 2 vs IE 7 - anti phishing results

Found this on my Mozilla Developer News feed today.

Out of the 1040 known phishing sites tested, Firefox came on top of IE with better results

Mode Sites Blocked % Blocked
Firefox 2 Local List82078.85%
Firefox 2 Ask Google84881.54%
IE7 Auto Check OFF161.54%
IE7 Auto Check ON69066.35%

The text from the post here

As part of our ongoing commitment to security analysis and testing we engaged SmartWare to test the effectiveness of our Phishing Protection feature. Firefox 2 Phishing Protection and IE 7 Phishing Filter were tested using know phishing sites as evaluated by the community at PhishTank. We picked PhishTank as a data source because it is completely independent of the feeds that we use to create the URL block lists. Since IE might either warn or block, either result was counted as a block for the purpose of this test. To make the test as fair as possible we counted only URL test cases where both IE and Firefox were tested within a 15 minute window and switched the order of which browser was tested first. The results are posted here.

More links:

Detailed Test Results

Details on how the test was done

GOT FIREFOX 2 ? NO? GET IT NOW www.getfirefox.com

Monday, October 30, 2006

getting ctrl-forward/backward working on cygwin and sles

I am used to jumping forward and backward a word on the console while typing a command. As the command gets bigger, moving around the command to change things get tougher if you cannot move one word at a time.

I am working on windows cygwin, and i use the cygwin sshd service to give me ssh access to the windows machine, so that i can work from a familiar linux environment! Now cygwin did not allow me to use the ctrl-left arrow and ctrl-right arrow to move around the command.

Here is the solution: Add the following to you ~/.inputrc file

"\e[5C": forward-word
"\e[5D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word

And you should be able to jump words!