News for hackers. Stuff that matters.
Re:GNU Social - diaspora already has a clone that's usable a... by martey on Thursday August 19, 2010 @08:12PM (#1619092)
It wouldn't be trolling if you actually explained why you thought PHP was not appropriate for this project. The developers already covered the reasons why they are using it in the FAQ - http://www.gnu.org/software/social/faq.html :

Why are you using PHP? Ruby/Python/Perl/A GUI in Visual Basic would be better!

Better for who? Look at the success of phpBB and Wordpress -- PHP is pretty much everywhere, and while maybe your favourite language is more elegant, PHP is largely ubiquitous.

Re:GNU Social - diaspora already has a clone that's usable a... by kentnl on Thursday August 19, 2010 @08:21PM (#1619112)
Mostly negative personal experiences.

But that aside, saying "its everywhere" is in my opinion the /poorest/ argument in favor of anything technical.

MySQL has their slogan as being the "Most popular Open Source database", which, by comparison to PostgreSQL's slogan "The most advanced Open Source database", awful.

If you're popular AND good, thats fine, but being popular alone is a poor metric.

Re:GNU Social - diaspora already has a clone that's usable a... by mattl on Friday August 20, 2010 @01:52AM (#1619640)
I'm not making the argument from a technical perspective, but from a cultural one. Culturally, this stuff works best if there are bazillions of instances out there, not thirty.

PHP offers that, and I don't think I can name anything else that I can say that about.

Re:GNU Social - diaspora already has a clone that's usable a... by Joeboy on Friday August 20, 2010 @04:15AM (#1619838)
IMO if this thing is worth anything the value is in the protocols, not the code. I hope you're envisaging other implementations.

On vaguely which subject, is there some documentation of the protocols anywhere? I had a quick look on the site and couldn't see anything like that.

Re:GNU Social - diaspora already has a clone that's usable a... by mattl on Friday August 20, 2010 @09:15AM (#1620287)
Re:GNU Social - diaspora already has a clone that's usable a... by ebiester on Thursday August 19, 2010 @09:37PM (#1619223)
That depends. Are you running it on a shared host? PHP is one of the few you can guarantee to be there. That makes it cheap to run a small instance.
Re:GNU Social - diaspora already has a clone that's usable a... by randombit on Thursday August 19, 2010 @09:07PM (#1619183)
_Look at the success of phpBB and Wordpress_

Look at the number of horrific security holes in phpBB and Wordpress. Every other release or so fixes some new flaw.

Re:GNU Social - diaspora already has a clone that's usable a... by lallysingh on Friday August 20, 2010 @12:37AM (#1619522)
PHP doesn't do enough to encourage building maintainable software. The vast majority of code I've seen "in the wild" grows from a thin, simple layer of logic & SQL queries into an insatiable maintenance monster.

Note: I'm holding back a lot of language nerd rage, so I'm keeping this post very short.

Re:GNU Social - diaspora already has a clone that's usable a... by AlexMuir on Friday August 20, 2010 @03:22AM (#1619766)
So use a framework. Php's problem is that it doesn't come with an structure. The plus is that you can use any framework that works for you. I use http://www.yiiframework.com and it has shaved 70% off my dev time.
Re:GNU Social - diaspora already has a clone that's usable a... by sanswork on Friday August 20, 2010 @01:23AM (#1619597)
PHP doesn't make it any more difficult to write maintainable software it just makes it easier to not write it.
Re:GNU Social - diaspora already has a clone that's usable a... by mattl on Friday August 20, 2010 @01:53AM (#1619642)
Take a look at the code, it's well structured.
Re:GNU Social - diaspora already has a clone that's usable a... by technomancy on Thursday August 19, 2010 @08:48PM (#1619158)
> PHP is largely ubiquitous.

Easy to deploy, but hard to find skilled hackers who will voluntarily work in it.

Re:GNU Social - diaspora already has a clone that's usable a... by mattl on Friday August 20, 2010 @01:55AM (#1619645)
Maybe some people will stick their noses up at working on PHP. I'm not super excited by those people, and I think its a shame when talented developers get embittered into language wars, but I can certainly understand why they happen.

I tell everyone working on GNU social that we're going it for the betterment of the world, not their own personal situation. That means running it everywhere.

Re:GNU Social - diaspora already has a clone that's usable a... by adharmad on Thursday August 19, 2010 @10:16PM (#1619297)
What about facebook?
Re:GNU Social - diaspora already has a clone that's usable a... by prodigal_erik on Friday August 20, 2010 @12:56AM (#1619552)
Facebook has too much legacy code to switch from PHP to anything sane, but I don't doubt many of them would like to. The Quora guys promptly adopted Python after leaving.
Re:GNU Social - diaspora already has a clone that's usable a... by there on Thursday August 19, 2010 @11:19PM (#1619426)
it's probably going to be hard to get facebook developers to work on gnu social though :)
Re:GNU Social - diaspora already has a clone that's usable a... by koenigdavidmj on Thursday August 19, 2010 @10:47PM (#1619366)
They get props for compiling the bloody thing to C++.