In a medium mixing bowl beat butter with an electric mixer for 30 seconds. Add granulated sugar, brown sugar, baking powder, and baking soda; beat until combined. Beat in the egg and vanilla. Beat in as much of the flour as you can with the mixer. Using a wooden spoon, stir in any remaining flour. Stir in cereal or oats, coconut, and dates or raisins.