I would for these causes wish him that is melancholy to impose some task upon himself, to divert his melancholy thoughts: to study the art of memory , or practise brachygraphy, etc., that will ask a great deal of attention .