Monday, June 14, 2010

General Motors Weight Loss Diet (Vegetarian Variant)

The following diet and health program was apparently developed for the employees and the dependants of General Motors Inc.
The program was developed in conjunction with the grant from the US Department of Agriculture and the Food and Drug Administration. It was first tried at the Johns Hopkins Research Centre and was approved for distribution by the Board of Directors of General Motors Corporation at a general meeting on August 15, 1995.
General Motors Corporation wholly endorsed this program and is making it available to all employees and families. This program will be available at all General Motors Food service facilities.
It is the management’s intention to facilitate a welfare and fitness program for everyone.

  • Some explanations, and commentary on this diet can be found here.
  • A poll, and questions/comments from people can be found here.
  • NEW: A list of FAQs (frequently asked questions) can be found here. The list is not complete, nor are any answers (except one) answered there. I'm trying to build a list of questions frequently asked on forums here and copy answers to the FAQ page so that it is easier to search for answers.

This program is designed for a target weight loss of 5-6 Kgs. per week. It will also improve your attitude and emotions because of its systematic cleansing effects. The effectiveness of this seven day plan is that the foods eaten burn more calories than they give to the body in caloric value. This plan can be used as often as you like to without any fear of complications. It is designed to flush your system of impurities and give you a feeling of well being. After seven days you will begin to feel lighter by atleast 10 pounds. You will have an abundance of energy and an improved disposition.

During the first seven days you must drink 10 glasses of water each day.

The Diet

Day One

All fruits except bananas. Your first day will consists of all fruits you want. It is suggested you consume lots of watermelon and cantaloupe.

Day Two

All vegetables. You are encouraged to eat until you are stuffed with all the new and cooked vegetables of your choice. There is no limit on the account or type. Avoid oil and coconut while cooking vegetables. Have large boiled potato for breakfast.

Day Three

Any mixture of fruits and vegetables of your choice. Any amount, any quantity. No bananas yet and no potatoes today.

Day Four

Bananas and milk. Today you will eat as many as eight bananas and drink three glasses of milk. You can also have one bowl of vegetables soup.

Day Five

Today is a feast day. You will eat 1 (one) cup of rice. You also have to eat 6 (six) whole tomatoes and drink 12 (twelve) glasses of water today to cleanse your system of the excess uric acid you will be producing.

Day Six

Today is another all vegetables day. You must eat 1 cup of rice today and eat all the vegetables you want cooked and uncooked to your heart's content.

Day Seven

Today your food intake will consist of 1 cup rice, fruit juice and all the vegetables you care to consume. Tomorrow morning you will be five to eight kilograms lighter than 1 week ago. If you desire further weight loss, repeat the program again. Repeat the program as often as you like, however, it is suggested that you rest for three days before every repetition.

You have your system under control now and it will thank you for all the purging and cleansing you just gave it. Even more than a diet program it is good to follow this diet once in a while to clean your digestive system and remove toxic substances that have a accumulated in the system.


Any comments and experiences to share? Please post here.


General Motors Wonder Soup

The following soup is intended as a supplement to your diet. It can be eaten any time of the day in virtually unlimited quantities. You are encouraged to drink large quantities of this soup.

    • 23 oz water
    • 06 large onions
    • 02 green peppers
    • 03 whole tomatoes
    • 1 cabbage
    • 1 bunch celery - add herbs and seasoning as desired.

    This program is highly recommended for women and men above 40 for whom excess weight is especially dangerous.Excess weight for women aggravates arthritis problems and leads to rapid joint decay. Pain and joint deterioration can be lessened by weight loss as weight loss removes the stress on the knee joint. Excess weight is the most critical factor in keeping good health and excess weight is responsible for the most problems including coronary diseases, heart problems, arthritis and cancer among other serious life threatening diseases. Most serious health problems can be avoided by the single function of maintaining an ideal weight. Daily mild exercise of 20 minutes is also essential. Do not tire yourself out, but being regular in your exercise and maintaining an ideal weight goes a long way in ensuring a happy, healthy and long life.

    Monday, May 17, 2010

    Great words

    Anatidaephobia
    The fear that somewhere, somehow, a duck is watching you.
    Bling, Bling
    [see Ali G]
    Chrono-synclastic infundibulum
    A place in time and space where different, yet entirely valid, understandings meet - there by determining a more accurate portrayal of reality. [see Vonnegut, Kurt]
    Mu
    A Chinese word meaning "not yes, not no" or "this does not have any meaning." It could be the answer to the Zen koan, "Does a dog have the Buddha nature."
    Ohmigod
    (Usually in reference to Kenny) [see Southpark]
    Vela
    consellation and supernova remnants

    The Washington Post published a contest for readers in which they were asked to supply alternate meanings for various words. The following were some of the winning entries:

    Abdicate
    (v.), to give up all hope of ever having a flat stomach.
    Carcinoma
    (n.), a valley in California, notable for its heavy smog.
    Esplanade
    (v.), to attempt an explanation while drunk.
    Willy-nilly
    (adj.), impotent
    Flabbergasted
    (adj.), appalled over how much weight you have gained.
    Negligent
    (adj.), describes a condition in which you absentmindedly answer the door in your nightie.
    Lymph
    (v.), to walk with a lisp.
    Gargoyle
    (n.), an olive-flavored mouthwash.
    Bustard
    (n.), a very rude Metrobus driver.
    Coffee
    (n.), a person who is coughed upon.
    Flatulence
    (n.), the emergency vehicle that picks you up after you are run over by a steamroller.
    Balderdash
    (n.), a rapidly receding hairline.
    Testicle
    (n.), a humorous question on an exam.
    Semantics
    (n.), pranks conducted by young men studying for the priesthood, including such things as gluing the pages of the priest's prayer book together just before vespers.
    Rectitude
    (n.), the formal, dignified demeanor assumed by a proctologist immediately before he examines you.
    Marionettes
    (n.), residents of Washington DC who have been jerked around by the mayor.
    Oyster
    (n.), a person who sprinkles his conversation with Yiddish expressions.
    Circumvent
    (n.), the opening in the front of boxer shorts.
    Frisbatarianism
    (n.), The belief that, when you die, your soul goes up on the roof and gets stuck there.

    The Washington Post's Style Invitational also asked readers to take any word from the dictionary, alter it by adding, subtracting or changing one letter, and supply a new definition. Here are some recent winners:

    Sarchasm
    The gulf between the author of ironic wit and the reader who doesn't get it.
    Reintarnation
    Coming back to life as a hillbilly.
    Giraffiti
    Vandalism spray-painted very high.
    Foreploy
    Any misrepresentation about yourself for the purpose of obtaining sex.
    Inoculatte
    To take coffee intravenously.
    Osteopornosis
    A degenerate disease.
    Karmageddon
    It's like, when everybody is sending off all these really bad vibes, right? And then, like, the Earth explodes and it's like a serious bummer.
    Glibido
    All talk and no action.
    Dopeler effect
    The tendency of stupid ideas to seem smarter when they come at you rapidly.
    Intaxication
    Euphoria at getting a refund from the IRS, which lasts until you realize it was your money to start with.
    Ignoranus
    A person who's both stupid and an asshole.

    Friday, April 23, 2010

    Fixing the McAfee Windows XP crash

    YES... I know how to fix the windows XP McAfee crash

    1. Disconnect the hard drive from the machine and connect it to another machine as a secondary drive.
    2. Copy the file "mfehidk.sys" from a non-currupted Windows XP system to Windows/System32/Drivers
    3. Reconnect the drive back and start the OS...
    You all can thank me later :)

    Tuesday, April 20, 2010

    Dynamically add LinkButton to placeholder

    Sometimes you just feel real stupid when you wrote a piece of code which worked and then it didnt 2 months later when you wrote the same thing... here is a small piece of code I wrote to add dynamic linkbuttons to placeholder which call a function when clicked...

    LinkButton filterButton = new LinkButton();
    filterButton.ID = "SomeUniqueID";
    filterButton.Text = "WhateverNeedsDisplayedInHyperlink";
    filterButton.Click += (showFile);
    filterButton.DataBind();
    ShowFileLinks.Controls.Add(filterButton);
    ShowFileLinks.Controls.Add(new LiteralControl("
    "));

    private void showFile(object sender, EventArgs e1)
    {
    //this is your unique buttonID...do whatever you want with it..Prob query the Database
    int btnIndex = Convert.ToInt32(((LinkButton)sender).ID);

    }

    Generate unique strings and numbers in C#

    System.Guid is used whenever we need to generate a unique key, but it is very long. That's in many cases not an issue, but in a web scenario where it is part of the URL we need to use its string representation which is 36 characters long. It clutters up the URL and is just basically ugly.

    It is not possible to shorten it without loosing some of the uniqueness of the GUID, but we can come a long way if we can accept a 16 character string instead.

    We can change the standard GUID string representation:

    21726045-e8f7-4b09-abd8-4bcc926e9e28

    Into a shorter string:

    3c4ebc5f5f2c4edc

    The following method creates the shorter string and it is actually very unique. An iteration of 10 million didn.t create a duplicate. It uses the uniqueness of a GUID to create the string.

    private string GenerateId()
    {
    long i = 1;
    foreach (byte b in Guid.NewGuid().ToByteArray())
    {
    i *= ((int)b + 1);
    }
    return string.Format("{0:x}", i - DateTime.Now.Ticks);
    }

    If you instead want numbers instead of a string, you can do that to but then you need to go up to 19 characters. The following method converts a GUID to an Int64.

    private long GenerateId()
    {
    byte[] buffer = Guid.NewGuid().ToByteArray();
    return BitConverter.ToInt64(buffer, 0);
    }

    The standard GUID is still the best way to ensure the uniqueness even though it isn't 100% unique.

    Wednesday, April 7, 2010

    Firefox issues

    Description

    How do I restore the Firefox Menu Bar?

    This happened

    Every time Firefox opened,I selected the close option on some toolbar and eventually had no menu toolbars left in firefox. Could not right click and restore the menu and felt really stupid being stuck with a bare naked firefox window.

    Solution

    Hit the Alt key to show the Menu bar, then open View > Toolbars and check-mark the Menu bar.

    And now ALL IZ WELL !!!!