The main things that stand out for me is that they did not attempt to measure how much chocolate people consumed, nor the type of chocolate consumed. They simply measured the number of times a week "chocolate" was consumed (which could have been a large variety of things). The other main point is that they mention that there was a significant reduction in alcohol consumption in the groups that ate the most chocolate, however they did not try to correct for this. Just scanning through the data they present, I don't think it is possible to tell if the increased cognitive performance is related to chocolate intake, or a lack of alcohol intake.
So, it is an interesting paper, but I wouldn't go out and start eating chocolate because of it.
More importantly though...why is it bad that unpublished research is linked to on HN. I'd rather read it and make up my own mind than wait for it to go through a review process. The topic at hand is at least tangentially related to core HN content, too as eating chocolate might make you a better programmer/entrepreneur.
[1]: http://www.scimagojr.com/journalsearch.php?q=29994&tip=sid&c... It has a (whatever you think of these is another matter)