In my opinion, the second type is not investing. It's speculating.
"An investment operation is one which, upon thorough analysis, promises safety of principal and an adequate return. Operations not meeting these requirements are speculative."
-Ben Graham, from chapter 1 of The Intelligent Investor