I am currently looking for a Job in London. You can contact me at bjoern dot pollex at googlemail dot com.

I believe that there is some answer to any question. It is not the task of the users here to lecture others or criticize them for laziness or stupidity. There is little educational value in sarcasm.

If a question is badly formulated, one can give advice on how to do better.

If important information is missing, one can kindly ask for it.

Someone else being unfriendly or badly mannered is no justification for being so yourself.

Before posting any question about a problem with your code, please read this (twice).

Favorite Answers

1d
awarded Nice Answer
1d
awarded Yearling
1d
awarded Autobiographer
Apr
14
comment Getting null pointer exception @Resource annotation in tomact 7
@PanuHaaramo: Sorry, I never found a portable solution (one that worked with Tomcat 6 and 7). If I recall correctly (this has been a while back), we ended up sticking with Tomcat 6 because of other reasons.
Apr
13
awarded Good Question
Apr
10
accepted Why is it a syntax error to invoke a method on a numeric literal in Python?
Apr
10
revised Python scope
Fixed broken link
Apr
10
revised Why is it a syntax error to invoke a method on a numeric literal in Python?
Added reference to related question.
Apr
10
asked Why is it a syntax error to invoke a method on a numeric literal in Python?
Apr
10
comment Can't compile lambda when I want to catch something outside
Also, your changed printf is actually unchanged.
Apr
10
revised Can't compile lambda when I want to catch something outside
code formatting
Apr
10
comment Can't compile lambda when I want to catch something outside
Please give us the error message from your compiler.
Apr
9
comment How to stop inner and outer loop using break statement
For your question the way you ask it, you have two options: goto or a function. The more interesting question would be: what is your actual problem (the example you provide looks contrived), and in which language are you trying to solve it?
Apr
9
comment How to stop inner and outer loop using break statement
I agree that in some cases this might be the way to do it. It is hard to give a definite answer without knowing the OPs actual problem. I'd argue that for almost all use-cases wrapping the iteration into a function implementing an algorithm results in a cleaner solution than using goto.
Apr
9
answered How to stop inner and outer loop using break statement
Apr
9
comment How to stop inner and outer loop using break statement
goto shouldn't be used here. This is a text book use case for a function.
Apr
9
answered Why C++ STL map is slow Java' s map class?
Apr
9
revised Different standard deviation for same input from Wolfram and numpy
Unicode mu
Apr
8
revised Unit tests in C++
Updated links, fixed grammar
Apr
8
comment Unit tests in C++
@AndyT: If you replace the version number in the link with release it will always resolve to the most recent version.
1 2 3 4 5