If you cross-post a question on a different site (which is fine), just make sure you give a link to it here.
Here's the link to the same question on Stack Overflow: