Preheat oven to 350°F. Line baking sheet with parchment paper or silicone baking mat.
In the bowl of a stand mixer using the paddle attachment, cream the 8 tablespoons unsalted butter and 1 cup granulated sugar together on medium speed until light and fluffy, about 3 minutes. Add the 2 large egg yolks, 1 teaspoon vanilla extract, and 1/2 teaspoon almond extract and beat until well combined for about a minute, scraping sides as needed.
In a separate bowl, combine 1 1/2 cups all purpose flour, 1/2 teaspoon baking powder, and 1/4 teaspoon salt. Mix into butter mixture until a dough forms. You may need to do the final mixing by hand as the dough will be thick.
Roll dough into teaspoon sized balls and then roll dough balls in the 1/4 cup Nonpareils sprinkles. Cookies will spread a bit as they cook so make sure they're spread about 2 inches a part. Bake in preheated oven for 9-11 minutes and remove when set but not yet turning brown.
Allow cookies to remain on hot baking sheet for a couple of minutes and then transfer to wire cooling rack.
Video
Notes
Store leftover cookies in an airtight container. They can also be frozen.