5 ounces unsweetened chocolate, chopped
8 ounces bittersweet or semisweet chocolate, coarsely chopped
1/4 pound (1/2 cup) unsalted butter, cut into four pieces
4 large eggs
1 1/2 cups granulated sugar
1/4 teaspoon pure vanilla extract
2 1/2 ounces (1/2 cup plus 2 tablespoons) unbleached all-purpose flour
1/2 teaspoon baking powder
1/4 teaspoon table salt
3 ounces (3/4 cup) walnuts, toasted and chopped
Using a stand mixer with the whisk attachment on medium-high speed, whip the eggs and sugar until thick and light, about 10 minutes. With the mixer on low speed, add the melted chocolate mixture and the vanilla and mix until blended.
With a rubber spatula, fold in the flour, baking powder, and salt and scrape the bowl. Fold in the remaining chopped chocolate and the walnuts. Refrigerate the dough until it has firmed up enough to scoop, about 1-1/2 hours.
Position a rack in the center of the oven and heat the oven to 350 degrees F. Drop the chilled dough by rounded tablespoonfuls about 3 inches apart on ungreased cookie sheets. Bake until the cookies are cracked on top and feel dry on the surface but still soft inside, about 15 minutes. Let the cookies cool on the sheet for 1 minute before transferring them to a rack to cool.
The cookies can be stored in an airtight container for up to three days or frozen for about one month.