Preheat the oven to 350°F. Grease a 9 inch round cake pan and line the bottom with parchment paper.
In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
In a large bowl, beat the softened butter, brown sugar, and granulated sugar until light and fluffy. Beat in the eggs one at a time, scraping down the bowl as needed.
Mix in the sour cream, sourdough discard, buttermilk, vanilla extract, and almond extract. The mixture may look slightly curdled at this stage.
Add the dry ingredients and mix on low speed just until combined. Scrape the bottom and sides of the bowl with a spatula, then spread the batter evenly in the prepared pan.
Bake for 30 to 40 minutes, until the center is set and a toothpick inserted into the middle comes out clean or with a few moist crumbs. Leave the cake in the pan and keep the oven at 350°F.
While the cake bakes, prepare the frangipane. Beat the softened butter and sugar together, then mix in the eggs, almond flour, almond extract, and vanilla until evenly combined.
Spoon small dollops of frangipane across the hot cake. Gently spread into an even layer and sprinkle with the sliced almonds.
Return the cake to the oven for about 10 minutes, or until the frangipane is set rather than wet. Add baking time as needed to cook the topping through.
If desired, broil for 1 to 2 minutes to toast the almonds. Watch constantly and remove the cake as soon as the almonds are golden.
Let the cake cool in the pan. You can glaze and serve it directly from the pan.
Whisk together the powdered sugar, honey, vanilla, and 2 tablespoons of milk until smooth. Add more milk a little at a time to reach a drizzling consistency. Drizzle over the cooled cake, slice, and serve.