News for hackers. Stuff that matters.
Re:Ask HN: What are your favorite stack overflow posts? by c3534l on Friday September 08, 2017 @03:30PM (#15203282)
I guess this is technically stack exchange, not stack overflow, but the answer to this math question is amazing:

https://math.stackexchange.com/questions/1749853/if-there-ar...

Re:Ask HN: What are your favorite stack overflow posts? by quickthrower2 on Friday September 08, 2017 @06:59PM (#15204578)
That's brilliant. So intuitive.
Re:Ask HN: What are your favorite stack overflow posts? by thecupisblue on Friday September 08, 2017 @02:25PM (#15202755)
Probably this one on sorting socks. It perfectly displays the stack overflow community and the silly seriousness developers seem to have:

https://stackoverflow.com/questions/14415881/how-to-pair-soc...

Re:Ask HN: What are your favorite stack overflow posts? by cpburns2009 on Friday September 08, 2017 @03:11PM (#15203132)
Do you mean other than the famous "RegEx match open tags except XHTML self-contained tags" [1]?

[1] https://stackoverflow.com/questions/1732348/regex-match-open...

Re:Ask HN: What are your favorite stack overflow posts? by quickthrower2 on Friday September 08, 2017 @07:06PM (#15204598)
Great answer but it depends on the use case. If the regex is for manually searching through a "view source" then who cares if finds the odd false positive?
Re:Ask HN: What are your favorite stack overflow posts? by cabraca on Friday September 08, 2017 @03:20PM (#15203198)
Probably this one: "Cycles in family tree software" https://stackoverflow.com/questions/6163683/cycles-in-family...
Re:Ask HN: What are your favorite stack overflow posts? by MartyAghajanyan on Tuesday September 12, 2017 @03:36PM (#15231268)
I like this one

"What is the best comment in source code you have ever encountered?" https://stackoverflow.com/questions/184618/what-is-the-best-...

Re:Ask HN: What are your favorite stack overflow posts? by quickthrower2 on Friday September 08, 2017 @07:08PM (#15204605)
https://stackoverflow.com/questions/6841333/why-is-subtracti...

Shanghai 1927.

I'm sure there is a .Net answer as well similar to this.

Re:Ask HN: What are your favorite stack overflow posts? by mrguyorama on Friday September 08, 2017 @04:32PM (#15203710)
I recently found the following, and it just blew me away:

https://stackoverflow.com/questions/8318911/why-does-html-th...

Re:Ask HN: What are your favorite stack overflow posts? by gtirloni on Friday September 08, 2017 @04:36PM (#15203735)
You can also run queries and find which questions are most upvoted.

http://data.stackexchange.com