Sunday, March 16, 2008

The Pros and Cons of Heavy Weight Lifting in Gym

Weight training improves the functioning of your immune system, lowers your resting heart rate and improves your balance and coordination. It puts stress on your bones and builds bone density. Research shows that it is associated with improvements in muscular strength and endurance and psychological well-being. It has been proven to have a positive affect on insulin resistance, resting metabolism, blood pressure, body fat and gastrointestinal transit time, factors that are linked to illnesses such as diabetes, heart disease and cancer.

Weight lifting is even more important as you get older. You will start losing your strength in 50s and even more so in your 60s and 70s. Weight lifting can make a difference in quality of life and you can increase the amount that you can lift and have strengthened your core significantly.

Weight training is a great way to get your whole body in shape. One of the advantages of using weights to work out is the way that you can strengthen your whole body. Another advantage of using weights to keep fit is when you are using these weights and your body is standing still. Your bones in your body are becoming active as they are trying to support you as you are doing the exercises. So you are in effect working out the entire body every time that you use weights to exercise.

Risks ?

But, it carries a certain risk. Injuries can happen if you neglect technique, ignore advice about warm-ups and cool-downs, or forget to use a spotter. The trick is to follow the rules and never work through pain. Before you start training, you should be checked by your doctor to make sure it's safe for you to lift weights. Start out slowly so that your body gets used to the increase in activity. Before you head for the weight bench, you should warm up your muscles. After finishing your workout, cool down by stretching all the major muscle groups to avoid injuries and keep your muscle flexible.

If you cannot keep complete control of your body when you are working out, then you are going to pull or even tare a muscle in your body. Also using heavy weights when you are not ready will always cause an injury to the part of your body that you are exercising. Always remember to start off small and then move on when you feel perfectly ready to do so.


After doing heavy weight lifting in gym for quite a few years, what happens if you stop it suddenly?

If you stop your workout then will loose muscle since your body will not need it anymore. Since you are loosing muscle and also not expending energy lifting the total calories your body burns each day to live will go down so if you keep eating the same amount you will gain fat. This is why you see a lot of pro football players and other athletes get fat when they quit because they don't work out like they used to but they still eat like they used to. Other than that nothing will happen.

So if you are planning to stop your workout then you should also reduce your food intake appropriately otherwise all those extra calories will be converted to fat. As long as you can control your eating habits there shouldn't be any problem in stopping your workout.
When you start your muscle workout again you will gain the muscle back very very quickly.


Overall weights are a good way to work out. Millions of people use weights to do a daily work out. After one or two weeks you can start to feel your body becoming more and more toned. You can also feel the muscles in your body start to bulge a bit more then before. However safety will be the major concern to remember when you are using your weights. You must remember to stretch all the muscles in your body before you attempt to exercise your body. You have to get your heart pumping and when you are done remember to warm down so that your body knows that the workout is over. Warming down will prevent trapping any Lactic Acid in your body.


Further information:
http://ezinearticles.com/?expert=Andy_Eaton
Benefits Of Building Muscles, Toning Up
Weight Training - Advantages And Disadvantages
Dumbbells - Advantages and Disadvantages
News paper articles


Happy workout :-)

Thursday, March 06, 2008

setuid and setgid bits for executables

setuid and setgid are access rights flags that allow users to run executable file with the permissions of the executable's owner or group respectively...

When any user runs an executable file that has either of these bits set, then the system gives the user the identity of the owner (or group) of the executable.

If an executable has the setuid bit set then when any other user runs this executable the effective user ID of the process will be switched to the user who owns this file. If gid bit is set then the process will be executed under the group of the file.

In a similar way.. if sticky bit is set on a directory then files inside the directory can be renamed or removed only by the owner of the file, owner of the dir or the root..

chmod u+s executable - set the setuid bit.
chmod g+s executable - set the setgid bit.
chmod u+t directory - set the sticky bit or directories

Numerically...

chmod 4777 executable - setuid and read/write/execute for everyone.
chmod 2777 executable - setgid and read/write/execute for everyone.
chmod 1777 directory - set sticky bit and read/write/passthrough for a directory.

Further info:
http://en.wikipedia.org/wiki/Setuid