My Favorite Chocolate Cake and Frosting

I cannot take any credit for these recipes. I am posting them here so that I don’t have to comb the internet every time I want to make them. This stuff is life-changing.

Beatty’s Chocolate Cake

 
Ingredients
Butter, for greasing the pans
1 3/4 cups AP flour, plus more for pans
2 cups sugar
3/4 cups cocoa powder
2 teaspoons baking soda
1 teaspoon baking powder
1 teaspoon salt
1 cup buttermilk, shaken
1/2 cup vegetable oil
2 extra-large eggs, at room temperature
1 teaspoon pure vanilla extract
1 cup freshly brewed hot coffee

 
Directions

Preheat the oven to 350 degrees F. Butter two 8-inch x 2-inch round cake pans . Line with parchment paper, then butter and flour the pans. (Or, put cupcake liners in a muffin pan.)

 
Sift the flour, sugar, cocoa, baking soda baking powder, and salt into the bowl of an electric mixer fitted with a paddle attachment and mix on low speed until combined. In another bowl, combine the buttermilk, oil, eggs, and vanilla. With the mixer on low speed, slowly add the wet ingredients to the dry. With mixer still on low, add the coffee and stir just to combine, scraping the bottom of the bowl with a rubber spatula. Pour the batter into the prepared pans and bake for 35 to 40 minutes (~20 minutes for cupcakes), until a cake tester comes out clean. 
 
Cool in the pans for 30 minutes, then turn them out onto a cooling rack and cool completely.Place 1 layer, flat side up, on a flat plate or cake pedestal. With a knife or offset spatula, spread the top with frosting. Place the second layer on top, rounded side up, and spread the frosting evenly on the top and sides of the cake.
 
 
Super-Fluffy Frosting
 
Ingredients
5 Tablespoons Flour
1 cup Milk
1 teaspoon Vanilla
1 cup Butter
1 cup Granulated Sugar (not Powdered Sugar!)
 
Directions
In a small saucepan, whisk flour into milk and heat, stirring constantly, until it thickens. You want it to be very thick, thicker than cake mix, more like a brownie mix is. Remove from heat and let it cool to room temperature. (If I’m in a hurry, I place the saucepan over ice in the sink for about 10 minutes or so until the mixture cools.) It must be completely cool before you use it in the next step. Stir in vanilla.
 
While the mixture is cooling, cream the butter and sugar together until light and fluffy. You don’t want any sugar graininess left. Then add the completely cooled milk/flour/vanilla mixture and beat the living daylights out of it. If it looks separated, you haven’t beaten it enough! Beat it until it all combines and resembles whipped cream.