News for hackers. Stuff that matters.

Ov3rload

Re:In search of the perfect URL validation regex on Thursday August 06, 2015 @08:25PM (#10020329)
Why would you ever use a regex to do this, apart from experimenting?

This would be much easier to do with a context free grammar or any decent parsing library.

Re:P = NP [pdf] on Wednesday December 04, 2013 @06:19PM (#6851240)
There are many proofs, you can find some of them here:

http://www.win.tue.nl/~gwoegi/P-versus-NP.htm

Like all famous problems, P vs NP attracts a great number of people, mostly amateurs, that want to try to solve it. Most of those proofs are not peer reviewed, all of them are probably wrong.