Prepare the baking pan by oiling it generously—I used a 9-inch springform pan, but a deep 10-inch pie pan or a 9-inch cake pan would work too. A 9-inch pie pan would be too small. Preheat the oven to 350ºF.
Place the cranberries and pecans in a small bowl. Add 1/3 cup of sugar and toss everything together until the nuts and berries are evenly coated with sugar.
Gently melt the butter—I usually heat it over low heat until it is almost melted, then take it off flame and stir it gently.
Put the flour, 1 cup of sugar, the eggs and the extracts in a medium bowl. Mix together using a hand mixer, then add in the melted butter. The batter will be pretty thick.
Pour the nut and berry mixture into the prepared pan and distribute it evenly, then scrape the batter on top. Spread it around evenly and smooth the top.
Finally, scatter the remaining sugar on the top. As it bakes, the sugar will melt and form a lovely translucent white coating that crunches as you eat it. Alternatively, instead of regular white sugar, use coarse or sanding sugar, which will look more sparkly and textured.
Set a timer for 35 minutes. The cake is done when it is slightly pulling away from the sides of the pan, the top is golden brown, and a tester inserted near the center comes out free of crumbs. Cool it for at least half an hour, or let it cool completely, before serving straight from the pan. This is great with a bit of vanilla ice cream or a blob of whipped cream, or simply on its own.