Preheat the oven to 325 degrees.
Spread the walnuts on a baking sheet. Toast the nuts on the top rack for about 5 to 6 minutes. Shake the pan about halfway through to ensure that the nuts toast evenly. Take are not to overly color the nuts, as that will produce a bitter flavor. Remove the baking pans from the oven, remove the nuts from the baking pans and allow to cool.
Using a sharp knife, chop the chocolate into rough 3/8-inch pieces and reserve in a cool place. (Like a nightclub. Get it? A cool place? Sorry.) Then chop the walnut halves coarsely.
Fill the bowl of the electric mixer with warm water and let stand for 2 to 3 minutes. Empty the warm water from the mixing bowl and wipe dry with a kitchen towel. (Note: I skipped this step though I'm sure it helps the butter soften more quickly.)
Using the paddle attachment, starting on low speed, cream the butter; as it starts to soften, increase the speed to medium. Cream the butter until smooth, about 1 to 2 minutes, scarping the sides of the bowl down as needed. Add the granulated sugar and the brown sugar, mixing until well blended, about 1 minute.
In a small mixing bowl, whisk together the egg and the vanilla extract. Then add the mixture, in 2 portions, to the butter mixture, mixing on medium speed between each addition.
In a dry, large mixing bowl, stir together the flour, baking soda, and baking powder to combine thoroughly. Add half the flour mixture to the creamed butter, and mix on medium speed for about 1 minute; then add the remaining half and mix until just combined, about 1 more minute.
Add the chopped walnuts and the chocolate pieces and mix just until incorporated. Cover the mixer bowl with plastic wrap and refrigerate for one hour.
Using an ice cream scoop. scoop the dough into 1 1/2-inch balls on to parchment lined cookie sheets and flatten them slightly. (You can sprinkle with sea salt here too, if you'd like.) Bake what you want now, freeze the rest. The cookies take about 15 to 20 minutes and are done when golden brown around the edges.
Allow to cool slightly before eating, if you can manage that.