Finely chop the shelled pistachios in a blender. (We used a small bullet blender for this). Measure out one cup, set aside.
Preheat the oven to 350 F. Grease and flour three 8 inch round pans, add a circle or parchment paper or waxed paper to the bottom of each pan.
In a medium bowl, whisk the flour, baking powder, and baking soda for 30 seconds. Set aside
In another small bowl or measuring cup, add the buttermilk, vegetable oil, vanilla and almond extract. Set aside.
In the bowl of your mixer, add the butter and mix at medium speed until smooth. Gradually add the sugar and continue to mix on medium speed for 3 to 5 minutes until lightened in color and fluffy.
Add the eggs one at a time mixing until the yellow of the yolk disappears.
With the mixer on low speed, alternately add the flour mixture and buttermilk mixture, beginning and ending with the dry ingredients (3 additions of dry ingredients and 2 of liquid). Mix just until incorporated.
Fold in the finely chopped pistachios.
Divide batter between the three cake pans.
Bake at 350 degrees for 22 - 25 minutes or until a toothpick inserted in the center comes out clean or with just few crumbs attached. Let cool 10 minutes and turn out.