Preheat your oven to 350 degrees, and line a large baking sheet with parchment paper. In a medium bowl, whisk together the flour, baking soda, cream of tartar, and salt. Set aside. In a large bowl, beat together the butter and sugar until light and fluffy. Add in the egg yolks, vanilla, and almond extracts, and beat until combined. Slowly add in the flour mixture and beat until fully combined.