Tuesday, 25 August 2015

7 Easy Ways to Reduce Your Exposure to Formaldehyde

 On June 10, 2011, the National Toxicology Program released its 12th Report on Carcinogens, which added formaldehyde to its list of Carcinogens !


On June 10, 2011, the National Toxicology Program released its 12th Report on Carcinogens, which added formaldehyde to its list of carcinogens, and said it is found in ‘worrisome quantities’ in plywood, particle board, mortuaries and hair salons.
Formaldehyde has long been associated with irritations of the nasal canal, watery eyes, and burning sensations in the eyes, nose, and throat. Symptoms of exposure to formaldehyde can be difficult to identify because they are similar to cold and flu symptoms, as well as sensitivity to other environmental irritants. In some cases exposure may cause nausea, coughing, chest tightness, wheezing, skin rashes, and allergic reactions.
While these symptoms may seem relatively minor in light of the convenience and savings of products which include formaldehyde, this new designation of “carcinogen” should be a wake-up call for consumers to reduce their exposure to formaldehyde where possible.

Common sources of formaldehyde in the home

Formaldehyde is used in the manufacture of building materials and household products. It is one of the large family of chemical compounds called volatile organic compounds or “VOCs,” meaning that the compound off-gases, or vaporizes, at normal room temperatures.
The following materials and activities are the primary source of formaldehyde exposure:
  • Plywood, pressed wood, particle board, and medium density fiberboard (MDF). These products use glues that contain formaldehyde, and are commonly used in home construction and renovations, and to make ‘economy-grade’ furniture and cabinets.
  • Paints, adhesives, varnishes and floor finishes.
  • Household products such as wallpaper, cardboard and paper products
  • Vehicle exhaust from attached garages or from outdoors
  • Smoke from fireplaces and wood-burning stoves
  • Tobacco smoke
  • Cosmetic products such as nail polish, some hair care products
  • Permanent press clothing

How to minimize risks associated with formaldehyde exposure:

1. Establish a no smoking policy in your home.

Cigarettes and other tobacco products should not be used inside the home. There are many toxic effects of exposure to cigarette smoke, including exposure to formaldehyde, and evidence continues to mount concerning the health effects associated with cigarette smoke.

2. Clean chimneys and wood burning appliances.

Make sure fireplaces and woodstoves are in good working condition to prevent smoke from getting into your living environment. Burn only well-seasoned firewood, and keep your chimney clean and clear of obstructions.
To learn how to maintain wood-burning heater efficiency and safety, read our article 6 Great Wood Heating Tips.

3. Keep idling gas engines away from the home.

Engine exhaust contains a number of toxic chemicals, including formaldehyde. If your home has an adjacent carport or garage, be sure the door is well sealed to prevent exhaust fumes from entering the home. Do not idle cars or other gas powered equipment, such as weedeaters, leaf blowers, lawnmowers or snow plows, in attached garages or near open doors or windows. Pay attention to wind direction when using gas-powered machines around the home, especially during summer when windows are more likely to be open.

4. Buy solid wood furniture, or be sure pressed wood products are sealed.

To keep emissions low from pressed wood furniture or cabinets, purchase items with a plastic laminate or coating on all sides. For some building and household products, there are low-formaldehyde options, such as U.L.E.F. (ultra-low-emitting formaldehyde), N.A.F. (no added formaldehyde) or C.A.R.B. (California Air Resources Board) Phase 1 or Phase 2 compliant.
Solid wood furniture contains no formaldehyde, and although more expensive than furniture made using particle board, solid wood furniture will usually last longer than furniture made using glues. Thrift shops and flea markets are good places to find used wood furniture at affordable prices.

5. Increase ventilation during painting projects. Use low-VOC paints.

Ensure there is adequate ventilation during all home painting or varnishing projects, or when installing wall-to-wall carpets using glues or adhesives. Low-VOC and Zero-VOC paints are now readily available at most paint stores, and these paints have the same or higher quality standards of conventional paints.
For a list of Low-VOC and Zero-VOC paints, see our page on Non-toxic Paints.

6. Let new furnishings “off-gas” before bringing indoors.

Allow products that contain formaldehyde to “air out” before bringing them into your home. Open all product packing to expose the products to air as much as possible.

7. Ventilate your home regularly.

Formaldehyde concentrations are higher indoors than they are outdoors, so you can decrease indoor formaldehyde levels by letting in fresh air. Also, high relative humidity increases formaldehyde emissions, so you can use a dehumidifier to reduce relative humidity to recommended levels of 50% in summer and 30% in winter.
The Report on Carcinogens notes that, although workers in manufacturing plants are more exposed to formaldehyde, and thus have higher associated risks, consumers should still avoid contact with formaldehyde where possible.
…formaldehyde is both worrisome and inescapable
Dr. Otis Brawley, chief medical officer at the American Cancer Society, said that formaldehyde is both worrisome and inescapable. “It’s the smell in new houses, and it’s in cosmetics like nail polish,” he said. “All a reasonable person can do is manage their exposure and decrease it to as little as possible. It’s everywhere.”
- See more at: http://learn.eartheasy.com/2011/06/7-easy-ways-to-reduce-your-exposure-to-formaldehyde/#sthash.t2R2aACm.dpuf
On June 10, 2011, the National Toxicology Program released its 12th Report on Carcinogens, which added formaldehyde to its list of carcinogens, and said it is found in ‘worrisome quantities’ in plywood, particle board, mortuaries and hair salons.
Formaldehyde has long been associated with irritations of the nasal canal, watery eyes, and burning sensations in the eyes, nose, and throat. Symptoms of exposure to formaldehyde can be difficult to identify because they are similar to cold and flu symptoms, as well as sensitivity to other environmental irritants. In some cases exposure may cause nausea, coughing, chest tightness, wheezing, skin rashes, and allergic reactions.
While these symptoms may seem relatively minor in light of the convenience and savings of products which include formaldehyde, this new designation of “carcinogen” should be a wake-up call for consumers to reduce their exposure to formaldehyde where possible.

Common sources of formaldehyde in the home

Formaldehyde is used in the manufacture of building materials and household products. It is one of the large family of chemical compounds called volatile organic compounds or “VOCs,” meaning that the compound off-gases, or vaporizes, at normal room temperatures.
The following materials and activities are the primary source of formaldehyde exposure:
  • Plywood, pressed wood, particle board, and medium density fiberboard (MDF). These products use glues that contain formaldehyde, and are commonly used in home construction and renovations, and to make ‘economy-grade’ furniture and cabinets.
  • Paints, adhesives, varnishes and floor finishes.
  • Household products such as wallpaper, cardboard and paper products
  • Vehicle exhaust from attached garages or from outdoors
  • Smoke from fireplaces and wood-burning stoves
  • Tobacco smoke
  • Cosmetic products such as nail polish, some hair care products
  • Permanent press clothing

How to minimize risks associated with formaldehyde exposure:

1. Establish a no smoking policy in your home.

Cigarettes and other tobacco products should not be used inside the home. There are many toxic effects of exposure to cigarette smoke, including exposure to formaldehyde, and evidence continues to mount concerning the health effects associated with cigarette smoke.

2. Clean chimneys and wood burning appliances.

Make sure fireplaces and woodstoves are in good working condition to prevent smoke from getting into your living environment. Burn only well-seasoned firewood, and keep your chimney clean and clear of obstructions.
To learn how to maintain wood-burning heater efficiency and safety, read our article 6 Great Wood Heating Tips.

3. Keep idling gas engines away from the home.

Engine exhaust contains a number of toxic chemicals, including formaldehyde. If your home has an adjacent carport or garage, be sure the door is well sealed to prevent exhaust fumes from entering the home. Do not idle cars or other gas powered equipment, such as weedeaters, leaf blowers, lawnmowers or snow plows, in attached garages or near open doors or windows. Pay attention to wind direction when using gas-powered machines around the home, especially during summer when windows are more likely to be open.

4. Buy solid wood furniture, or be sure pressed wood products are sealed.

To keep emissions low from pressed wood furniture or cabinets, purchase items with a plastic laminate or coating on all sides. For some building and household products, there are low-formaldehyde options, such as U.L.E.F. (ultra-low-emitting formaldehyde), N.A.F. (no added formaldehyde) or C.A.R.B. (California Air Resources Board) Phase 1 or Phase 2 compliant.
Solid wood furniture contains no formaldehyde, and although more expensive than furniture made using particle board, solid wood furniture will usually last longer than furniture made using glues. Thrift shops and flea markets are good places to find used wood furniture at affordable prices.

5. Increase ventilation during painting projects. Use low-VOC paints.

Ensure there is adequate ventilation during all home painting or varnishing projects, or when installing wall-to-wall carpets using glues or adhesives. Low-VOC and Zero-VOC paints are now readily available at most paint stores, and these paints have the same or higher quality standards of conventional paints.
For a list of Low-VOC and Zero-VOC paints, see our page on Non-toxic Paints.

6. Let new furnishings “off-gas” before bringing indoors.

Allow products that contain formaldehyde to “air out” before bringing them into your home. Open all product packing to expose the products to air as much as possible.

7. Ventilate your home regularly.

Formaldehyde concentrations are higher indoors than they are outdoors, so you can decrease indoor formaldehyde levels by letting in fresh air. Also, high relative humidity increases formaldehyde emissions, so you can use a dehumidifier to reduce relative humidity to recommended levels of 50% in summer and 30% in winter.
The Report on Carcinogens notes that, although workers in manufacturing plants are more exposed to formaldehyde, and thus have higher associated risks, consumers should still avoid contact with formaldehyde where possible.
…formaldehyde is both worrisome and inescapable
Dr. Otis Brawley, chief medical officer at the American Cancer Society, said that formaldehyde is both worrisome and inescapable. “It’s the smell in new houses, and it’s in cosmetics like nail polish,” he said. “All a reasonable person can do is manage their exposure and decrease it to as little as possible. It’s everywhere.”
- See more at: http://learn.eartheasy.com/2011/06/7-easy-ways-to-reduce-your-exposure-to-formaldehyde/#sthash.YQKTaBKr.dpuf
On June 10, 2011, the National Toxicology Program released its 12th Report on Carcinogens, which added formaldehyde to its list of carcinogens, and said it is found in ‘worrisome quantities’ in plywood, particle board, mortuaries and hair salons.
Formaldehyde has long been associated with irritations of the nasal canal, watery eyes, and burning sensations in the eyes, nose, and throat. Symptoms of exposure to formaldehyde can be difficult to identify because they are similar to cold and flu symptoms, as well as sensitivity to other environmental irritants. In some cases exposure may cause nausea, coughing, chest tightness, wheezing, skin rashes, and allergic reactions.
While these symptoms may seem relatively minor in light of the convenience and savings of products which include formaldehyde, this new designation of “carcinogen” should be a wake-up call for consumers to reduce their exposure to formaldehyde where possible.

Common sources of formaldehyde in the home

Formaldehyde is used in the manufacture of building materials and household products. It is one of the large family of chemical compounds called volatile organic compounds or “VOCs,” meaning that the compound off-gases, or vaporizes, at normal room temperatures.
The following materials and activities are the primary source of formaldehyde exposure:
  • Plywood, pressed wood, particle board, and medium density fiberboard (MDF). These products use glues that contain formaldehyde, and are commonly used in home construction and renovations, and to make ‘economy-grade’ furniture and cabinets.
  • Paints, adhesives, varnishes and floor finishes.
  • Household products such as wallpaper, cardboard and paper products
  • Vehicle exhaust from attached garages or from outdoors
  • Smoke from fireplaces and wood-burning stoves
  • Tobacco smoke
  • Cosmetic products such as nail polish, some hair care products
  • Permanent press clothing

How to minimize risks associated with formaldehyde exposure:

1. Establish a no smoking policy in your home.

Cigarettes and other tobacco products should not be used inside the home. There are many toxic effects of exposure to cigarette smoke, including exposure to formaldehyde, and evidence continues to mount concerning the health effects associated with cigarette smoke.

2. Clean chimneys and wood burning appliances.

Make sure fireplaces and woodstoves are in good working condition to prevent smoke from getting into your living environment. Burn only well-seasoned firewood, and keep your chimney clean and clear of obstructions.
To learn how to maintain wood-burning heater efficiency and safety, read our article 6 Great Wood Heating Tips.

3. Keep idling gas engines away from the home.

Engine exhaust contains a number of toxic chemicals, including formaldehyde. If your home has an adjacent carport or garage, be sure the door is well sealed to prevent exhaust fumes from entering the home. Do not idle cars or other gas powered equipment, such as weedeaters, leaf blowers, lawnmowers or snow plows, in attached garages or near open doors or windows. Pay attention to wind direction when using gas-powered machines around the home, especially during summer when windows are more likely to be open.

4. Buy solid wood furniture, or be sure pressed wood products are sealed.

To keep emissions low from pressed wood furniture or cabinets, purchase items with a plastic laminate or coating on all sides. For some building and household products, there are low-formaldehyde options, such as U.L.E.F. (ultra-low-emitting formaldehyde), N.A.F. (no added formaldehyde) or C.A.R.B. (California Air Resources Board) Phase 1 or Phase 2 compliant.
Solid wood furniture contains no formaldehyde, and although more expensive than furniture made using particle board, solid wood furniture will usually last longer than furniture made using glues. Thrift shops and flea markets are good places to find used wood furniture at affordable prices.

5. Increase ventilation during painting projects. Use low-VOC paints.

Ensure there is adequate ventilation during all home painting or varnishing projects, or when installing wall-to-wall carpets using glues or adhesives. Low-VOC and Zero-VOC paints are now readily available at most paint stores, and these paints have the same or higher quality standards of conventional paints.
For a list of Low-VOC and Zero-VOC paints, see our page on Non-toxic Paints.

6. Let new furnishings “off-gas” before bringing indoors.

Allow products that contain formaldehyde to “air out” before bringing them into your home. Open all product packing to expose the products to air as much as possible.

7. Ventilate your home regularly.

Formaldehyde concentrations are higher indoors than they are outdoors, so you can decrease indoor formaldehyde levels by letting in fresh air. Also, high relative humidity increases formaldehyde emissions, so you can use a dehumidifier to reduce relative humidity to recommended levels of 50% in summer and 30% in winter.
The Report on Carcinogens notes that, although workers in manufacturing plants are more exposed to formaldehyde, and thus have higher associated risks, consumers should still avoid contact with formaldehyde where possible.
…formaldehyde is both worrisome and inescapable
Dr. Otis Brawley, chief medical officer at the American Cancer Society, said that formaldehyde is both worrisome and inescapable. “It’s the smell in new houses, and it’s in cosmetics like nail polish,” he said. “All a reasonable person can do is manage their exposure and decrease it to as little as possible. It’s everywhere.”
- See more at: http://learn.eartheasy.com/2011/06/7-easy-ways-to-reduce-your-exposure-to-formaldehyde/#sthash.YQKTaBKr.dpuf

Monday, 17 August 2015

Agile - planning poker

This planning poker from mountaingoatsoftware(TM) has proven quite useful in my grooming session when estimating the backlog in JIRA.





link

Windows - Changing password policy/expiry settings


You must be logged on as an administrator to perform these steps.
If your computer is on a domain, only your network administrator can change password policy settings.
You can help protect your computer by customizing your password policy settings, including requiring users to change their password regularly, specifying a minimum length for passwords, and requiring passwords to meet certain complexity requirements.
  1. Open Local Security Policy by clicking the Start button Picture of the Start button, typing secpol.msc into the search box, and then clicking secpol.Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
  2. In the left pane, double-click Account Policies, and then click Password Policy.
  3. Double-click the item in the Policy list that you want to change, change the setting, and then click OK.
    This table lists the password policy settings that are available, explains how each setting works, and provides a recommendation for each setting.



Thursday, 30 July 2015

Uncontrolled format string

Uncontrolled format string[1] is a type of software vulnerability, discovered around 1999, that can be used in security exploits. Previously thought harmless, format string exploits can be used to crash a program or to execute harmful code. The problem stems from the use of unchecked user input as the format string parameter in certain C functions that perform formatting, such as printf(). A malicious user may use the %s and %x format tokens, among others, to print data from the call stack or possibly other locations in memory. One may also write arbitrary data to arbitrary locations using the %n format token, which commands printf() and similar functions to write the number of bytes formatted to an address stored on the stack.

In the example below allow user to input a buffer conaining "% n" will crash the program without
providing a actual variable it's expecting.

#include "stdafx.h"
#include <stdio.h>
#include <stdarg.h>

char bad_buffer[] = "this is a bad formatted string 10% n \n";

void Error(const char* format, ...);
#define  _CRT_SECURE_NO_WARNINGS

void Error(const char* format, ...)
{
    char dest[1024 * 16] = "";
    va_list argptr;
    va_start(argptr, format);
    vsprintf_s(dest, format, argptr);
    va_end(argptr);
    printf(dest);
}

int _tmain(int argc, _TCHAR* argv[])
{
    Error(bad_buffer);
    return 0;
}
a

Sunday, 19 July 2015

How to config tomcat with https

1>download tomcat
2>download java jdk (jre won't cut it), set JAVA_HOME to jdk folder
3>generate a keypair and store it in a keystore(jks) file, say c:\myCer\mycer.jks
either use keytool or use keystore explorer, i have used the latter.



4>pointing tomcat's configuration conf\server.xml :

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" keystoreFile="C:\myCer\mycer.jks" keystorePass="changeit" />

5>restart tomcat

6>
connect to tomcat via https://localhost:8443/

You can see chrome doesn't like it because the keystore and keypair are generated my myself, means its self signed, not trusted by any public CA...



But  if you click on "Proceed to localhost (unsafe)", you will see the tomcat page:


this way any communication will be encrypted (like username/password) 

Ref link and link.

Total visitors since Jan 2012

World Visitor Map