News for hackers. Stuff that matters.
Re:Show HN: Faceless – Open-source version of Secret by arasmussen on Tuesday July 15, 2014 @12:26PM (#8037354)
If you downvoted, feel free to share your opinion on why this is wrong. I could care less about the votes, I want to hear your discussion! Why would you use PHP?

Here's an excerpt from a Facebook engineer explaining why we still use PHP: "The reason Facebook hasn't migrated away from PHP is because it has incumbent inertia (it's what's there) and Facebook's engineers have managed to work around many of its flaws through a combination of patches at all levels of the stack and excellent internal discipline via code convention and style - the worst attributes of the language are avoided and coding style is rigidly enforced through a fairly tight culture of code review"

Re:Show HN: Faceless – Open-source version of Secret by swalkergibson on Tuesday July 15, 2014 @12:53PM (#8037548)
You answered the question yourself. If someone is a wizard in PHP, then they should use PHP. People that get caught up in the decision of what language to use don't ship code. Shipped code > language decision circle jerks.
Re:Show HN: Faceless – Open-source version of Secret by SuperKlaus on Tuesday July 15, 2014 @04:49PM (#8038909)
Exactly! Done > Perfect
Re:Show HN: Faceless – Open-source version of Secret by eropple on Tuesday July 15, 2014 @12:34PM (#8037416)
I'm not a habitual PHP user, and I have perturbed many electrons on why I wouldn't use it for nontrivial projects, but I could slam out something for which I don't care about security or performance in a very short period of time.

Rails, Play, etc. have some friction; Sinatra makes you reinvent a lot of wheels. You really can just fart something out in PHP very rapidly.

Re:Show HN: Faceless – Open-source version of Secret by marco1 on Tuesday July 15, 2014 @12:48PM (#8037509)
It's important to state that I do care about security here, but I don't care about performance that much.
Re:Show HN: Faceless – Open-source version of Secret by federico3 on Tuesday July 15, 2014 @01:28PM (#8037774)
Vulnerabilities in the vm only, not including libraries and frameworks: http://www.cvedetails.com/vendor/74/PHP.html

Feel free to compare it with other languages.

Re:Show HN: Faceless – Open-source version of Secret by tene on Tuesday July 15, 2014 @03:10PM (#8038364)
I'm curious what happened in 2007; why were there so many more vulnerabilities, especially code execution?
Re:Show HN: Faceless – Open-source version of Secret by opendais on Tuesday July 15, 2014 @03:30PM (#8038476)
I downvoted because you make grandiose claims without any real, non-FUD sources beyond you work at Facebook. You just say there are "BETTER THINGS!!!" without listing at least one and why.

1) From a productivity standpoint PHP is pretty hard to beat in general....if you already know PHP.

2) A poor craftsman blames the tool.

3) PHP's inertia extends to the entire ecosystem really, not just the tool.

Re:Show HN: Faceless – Open-source version of Secret by sarciszewski on Tuesday July 15, 2014 @01:19PM (#8037718)
Funny, I've fixed a flaw in the Facebook SDK already, so they aren't that imprevious to making the same mistake :P