For the cookies: In the bowl of a stand mixer fitted with a paddle attachment, beat the sugar, butter, vanilla, and almond extract ... gradually add the flour, baking powder, and salt.