isolated compounds of formula i : and stereoisomers , enantiomers , diastereomers , and pharmaceutically acceptable salts thereof are described , as well as processes for production , and methods of use of these compounds and compositions thereof for the treatment of diseases associated with abnormal protein kinase activities and / or abnormal histone deacetylase activities including , for example , inflammatory diseases , autoimmune diseases , cancer , neurological and neurodegenerative diseases , cardiovascular diseases , metabolic disease , allergies and asthma and / or hormone - related diseases .