Preheat oven at 350°F (180°C).
Spray or butter an 8x11-inch rectangular pan or similar, line the bottom with parchment paper if you want to, or sprinkle with flour and dust off excess.
Take 1 tablespoon of the flour amount and mix it in a bowl with 1 ½ cups semisweet chocolate chipsto prevent them from sinking during baking. Reserve.
In a large bowl, beat 1 cup unsalted butter until creamy and add 1 cup white granulated sugar and 1 cup light brown sugar gradually, beating for 2-3 minutes more.
Add 4 eggs, one at a time, beating well after each addition. Add 1 teaspoon vanilla extract and ¼ teaspoon almond extract, if using, and mix.
Sift the dry ingredients: 3 cups all-purpose flour, 1 teaspoon baking powder, ¼ teaspoon baking soda and 1 teaspoon salt. Add them in 3 parts to the butter preparation, alternating with 1 cup sour cream in 2 parts, which means you start and end with the flour mixture. I have the dry ingredients measured and sift them directly over the batter, but you can sift them first in another bowl.
Mix well, but don't overbeat; mix only until incorporated. Fold in the reserved chocolate chips and 3 tablespoons heavy cream, stirring to integrate with a rubber or silicone spatula.
Pour the cake batter into the prepared pan and bake for 45-55 minutes, or until a cake tester or toothpick comes out clean.
Let cool on a wire rack. If some cake stuck to the sides, carefully run a smooth-bladed knife around the sides before removing it from the pan. Serve at room temperature.