skysight-inc/HackerNews huggingface dataset:
Can you spot the outliers here?: "where PHP has excelled with projects like Wordpress, Joomla!, Drupal, Magento, Moodle, PHPBB, and so many more.".

Some projects "swing the PHP-way" and they are "retarded" but easy to use and fix and keep with the "fail fast, fail cheap" philosophy. Otoh, things like Drupal or Magento "swim against the tide", are hypocritically claiming to be newbie/weekend-warrior friendly, and basing your project on them lands you over-time and over-budget 90% of the time, ending up costing more than a custom made Rails app - unless you have the rare mystical creatures called "real Drupal (or Magento) gurus" working for you. It's a very weird jungle the PHP ecosystem nowadays, and lots of the creatures in it byte hard!. If you stick to riding a gentle sloth like WordPress, you're fine... but I'd suggest rapidly switching languages and technologies (something like Django + django-cms is almost as cheap and can be deployed even on dirt-cheap shared hosts) as soon as you grow over WordPress level, otherwise something will end up biting you hard!
To be honest, dismantling their military regime, opening their borders and requesting help would be more effective.
apt-get install libapache2-mod-php5, edit create/edit your vhost file, upload PHP files to wherever you pointed the vhost file, reload apache?
Check the video posted by another commenter. The whole thing is worth watching. http://www.youtube.com/watch?v=6wXkI4t7nuc
It will mostly get you deceived. People are rarely open in such way, unless they are of a certain personality type. Being open like this is really the worst thing you can do in the rel business world. Now, I'm not saying you shoe not be honest, but you should definitely plan ahead nd strategize before any meeting.

Though there is one shortcut to getting people to opening their mouths ( and thus give you an advamtge). Find a pain or a pleasure. They will regularly not shut up. But be very careful. Asking directly is not ideal. Make some research beforehand.
I'm new to this problem (so please jump in and correct me if I'm wrong) but it occurred to me that Twitter could require that their most trusted "preferential" clients proxy requests from native apps through their own servers, which do the authentication.

This would be a pain for these clients, but
if Twitter really wanted to do this they could probably justify that it's the price you have to pay for preferential access.

Edit: It just occurred to me that this might just be kicking the can down the road: you would end up with same problem authenticating with proxy server. It would have to be something along the lines where the proxy server itself has preferential access, but the clients to the proxy server do not (e.g. they are rate-limited by the proxy or something.)
I thought that Google was migrating to more towards complied languages, (C++, Java, Go), and away from Python?
apt-get install apache
apt-get install mod-php5
apt-get install php5-pdo-mysql

whatever the packages are - there's about 4-5 core packages (yum/apt/whatever) or other packages like xampp that set up a default environment in about 5 minutes on most modern systems.

There's certainly a lot of configuration that can be done, but getting a LAMP system set up to allow PHP/MySQL to work is trivial these days compared to 2000.

Cue the puppet and chef supporters who would suggest scripted recipes for everything anyway. :)
These two problems are related - I don't mind having the final product in public (it's bound to get there eventually) and thus not having to pay too much (or even use the free tier), but putting everything in public before publication is insane and I doubt it will be used for anything but blog posts for that reason.
I LOVE PEP8. There it is I said it. I love that I can look at Python code I wrote eight years ago and it looks like I wrote it yesterday (apart from the fact I've got better and working with python).

Even better I can look at someone else's code and if they've bothered to follow PEP 8 I am straight in, understanding the code and not their formatting. It removed a cognitive load that in C++ just kills me.

It's bloody great.
It could not be any easier to get a LAMP stack up and running on a fresh server.

$ apt-get install lamp-server
I checked nb before writing bashblog, but it's not as simple as it seems. I actually spent some hours trying to modify it to suit it to my needs, without any luck
Well, I guess it still counts as recent history, but Gorbachev and the August 1991 coup in the Soviet Union - for an example of what happens when you try to be a reformer.

I really don't think it's counter-intuitive? Even a dictator doesn't rule alone, so when there's a change of power, the new ruler needs to assure his immediate subordinates that their loyalty will not go unrewarded and that he's not going to be a reformer and throw them and their fiefdoms under the bus.

If you're a regime big-wig in North Korea you're not dumb enough that you don't know that you're in the wrong - or, at least, that there is absolutely no way you and your family is going to survive having to explain yourself to the public.

So if your boss decides to put the country on the path to more freedom, you have the option of seeking asylum for your and your family in one of the few countries in the world that will take you, and live the rest of your life (a) in fear of angry underlings out for your life (b) in a lot less comfort than you're used to - or to stage a coup, kill your boss and assume power to "protect the revolution against corrupting, imperialist US influences".
Entitlements (not in the Constitution) are twice as large as defense (in the Constitution).

http://en.wikipedia.org/wiki/File:U.S._Federal_Spending_-_FY...
But that work is reused.
Usability Testing for Startups
North Korea warns U.S. of preemptive nuclear strike
Agree with other responses. You may compare Ruby (considering Ruby as your reference) with Python. There are good discussion on Ruby vs Python in HN. One of the threads is at http://news.ycombinator.com/item?id=682101
PHP "out of the box" is very easy, sudo apt-get install php5 mysql-server apache2.
The article isn't loading, but on a related note I just had a brief discussion about standing desks on my site, and finally bought a Geek Desk. If you are wanting to buy one I list 3 good brands here, and also my warnings about them (below) if you are tall.

I'm so excited for it to come in the mail it makes me sick.

http://pineapple.io/discussion/standing-desks
Agreed. As is often brought up in PHP threads, the biggest thing is universal adoption of PHP in web hosting. People learning how to stitch together web pages aren't going to grab a VPS, learn the complexity of managing the server, and use something complex like Rails (where there's a language, a framework, and MVC to learn).

With PHP --> the newbie just has to FTP the files up and it works. Fewer variables to manage, fewer things to learn. You go from 0 to 60 much faster. Now, you probably will go from 60 to 100 much much slower than with a different stack, but that's a different discussion...
Improving Sales Productivity with Android Tablets
Why Open Source Matters, and the Limits of Pivotal HD
Don't deploy with git. Have a build process which isolates your VCS from your deployed code. fab/Makefile/etc. make this easy.
Here is an interesting talk on OAuth by its creator: http://2012.realtimeconf.com/video/eran-hammer
Right, but you're still confused. In these cases, it's not that PHP is a tool for the project, it's that PHP is a part of the project.

Honestly, shared hosting rarely even handles PHP - I don't know many hosting places that will support the code you write. I can't see going to your host and complaining that your site is down because you wrote a script with an infinite loop that's eating up Apache.
That is working on the assumption that the government in question gives a shit about their population.

The problem here is that the sanctions hits a population that is already suffering under the actions of their own government, and has much less of an effect on the regime it is meant to punish.
"I don't think it's nonsense. The things that are wrong with a $1000 minimum wage are the same things that are wrong with a $10 minimum wage. They're just happening to different people"

You don't seem to consider elasticity. Basically, the main argument of the proponents of a higher minimum wage is that the hiring capacity is elastic enough that a raise in minimal wage's benefits far outweigh the resulting loss of jobs.

Saying that raising the minimal wage to 10$ show the same problems than raising it to 1000$ is wrong in that it considers that, at best, the elasticity of the hiring capacity equals 1. However, we can expect it to be false if we consider that the minimal wage has, in effect, went down in the recent years and that it did not result in a hiring frenzy.
I'm curious if the author was able to earn the initial investment in the tools: 200$ RubyMotion + 100$ iOS Developer.
I use OAuth for an application written in PHP, and as such, there's no possible way to trust the client/secret, given that the source is not obfuscated in any way. This application talks to my own server, and the OAuth flow is basically just a way to avoid storing username/password combinations. The client key/secret have to be treated as permanently compromised, so the only thing I use those for is version usage statistics.

The question is, given that your key/secret will be compromised, is there any point in even having it in the OAuth flow?
One thing that I really have to complement Dropbox for is their abstraction layer. It is so much simpler and easier to use than other providers versions of the same API (e.g. Google Drive).
I agree, and I think that means it will be very difficult for any language that requires more understanding of OOP concepts to get started with will have a hard time competing with PHP in this arena.
He could be implying shared hosting is the most common method of hosting. In these cases, they all tend to come pre-configured with a LAMP environment. No setup necessary for CLI scripts.

From scratch, everything is easy to install. I wouldn't say Ruby is any easier to install and setup than PHP. You're talking about installing something like Phusion Passenger on top of Apache. A LAMP stack takes as long as it takes to run `apt-get` or `yum install`. By no means is it 15 minutes; I'd say 5 to 10 with minor Apache configuration and a VirtualHost entry.
Renting a photobooth for SXSW? Buyer beware (pics)
Having a photo booth at a SXSW event can be a blast. But what happens when photo booths fail? [pics]
Good point....hmmmm.....

So you are saying that the "wealth" of the changes in farming is produced by say 5% of the population, and they are the only ones who are really needed. The rest of us get to play a game where we guess the total wealth of the world (ie the food) and assign money to it. Then we split that money somehow (playing starcraft) and give some of it back to the farmers.

I suppose I am now taking econ 101.

I would however suggest that the automation revolution has not finished - the mechanisation revolution may be slowing but software is barely started.
Come on, I hate php with a passion and even I will admit it's easier to deploy than anything else. Go comes close, but still requires writing a service.

With Python, you need to create a service to run your WSGI server and proxy it from your web server. You also need to handle your static files properly. PHP, you just copy everything in there.

Hell, I have half a mind to create a project that will run Python scripts CGI/PHP style (run this file and send whatever it returns), just to make deployment easier for people. I'm not convinced the convenience is worth the cost of this horrible dirtiness, though.
I went for "please sign up on Path and add me as a friend because unlike on Facebook, there are some things that I share which I really sincerely would like YOU (and not every other random person) to see". I've got my family and closest friends on Path now, about 12 people in total, most of whom add content regularly and I'm happy :)

Having said that, as much as I like Path, I do sometimes feel like I'm doing them a favour promoting it so aggressively, and the favour hasn't quite been returned yet.
The bottom line ...

"As currently conceived, Windows RT is a lemon, and users are avoiding it in droves."
Merging Queue, ArrayDeque, and Suzie Q
Glad you did that already, shows class. Like to share your findings? Did you discover something new?
Quasi-nested links - jsFiddle
"Is it maintainable? No"

Anyone who has worked with codebases in multiple languages for any length of time realizes that's a wrong statement. Maintainable is, to some degree, in the eye of the beholder (and often author), but you can write unmaintainable code in any platform. Everyone seems to love RoR - I inherited a Rails 1 app written over 18 months that still didn't work right, and was essentially unupgradeable - every piece of advice from every Ruby person I talked to was "just start over in Rails 2 and port some of the old logic over".

OK - so now I'm talking 'upgradeable' vs 'maintainable'. Try to 'maintain' a Rails 1 app in 2011 - simply searching for how to do certain things in Rails 1 is pretty hard to do, because the docs are wrong/outdated or simply gone.

But hey - "Ruby is maintainable, PHP sucks", right?

Give me a well-thought out Zend Framework app written by a senior developer with experience writing good code vs Rails hacked together by someone with 2 weeks of udemy lessons under their belt any day.
Actually, it is a very useful function. It has usefulness and simplicity. Would you mind to give ROI analysis for your project? This will be helpful to the audience here.
Smart glasses will catch on in the workplace before they do with consumers
Maybe, but even so, learning to use FTP is a heck of a lot easier than learning to use git.
Discover who unfollowed you on Dribbble by Email
Sideload Android apps onto the BlackBerry Z10 the easy way
The terms I've heard for this is "shared nothing" - no state is shared or stored between requests.
I find this article slightly odd. It sounds to me like the author got a raw deal. I've been in this situation before early my career. The old "we want to promote you but can't give you much more money, here's a bunch of vacation days instead". Guess what you do with vacation days when you have no money. Sit at home and be bitter about the fact that you can't afford to go any where. And you look for another job.

> She told me that she wanted to pay me more, but the $2,000 increase, I was already getting paid almost as much as people who had been on staff for many more years than me.

That's an awful reason not to give someone a raise! Politics like this is why so many companies lose good employees. If the author was worth more than the more senior staff, she should have gotten paid more. People talk and there's no real way to keep salaries secret, but who is easier to replace in this situation?

> She more than gave me a fair deal. I stayed with the organization until I was accepted into graduate school. I did not financially benefit from that job in the short term, but in the long term- she put my career in a catapult and shot it forward.

Sounds to me more like she held you back. What could you and the company had achieved had you been properly rewarded? Had to been giving the motivation to take the next step within the company? Keeping you poor sends a clear message that you should focus your efforts elsewhere.
I can't speak for the parent, but i really didn't retrospect at all, infact read the article and just came over here to read the comments. Am not sure what it shows (that my reading habits have become perfunctory or the writing doesn't lend easily to visualization) and so i will shut up. :P
-- as someone else hinted at.
It ostensibly because of the US' role in the Korean War. In reality, it's solely for propaganda reasons.
Could the issues feature of github be used as a micro-forum?
Live & Learn - a collection of quotes and phrases
If you know and enjoy coding in Ruby, you intend to target only iOS, and you don't know Objective-C, C or C++ than RubyMotion is a good investment.

On the other hand, if you want to target iOS and Android you'd better learn Objective-C and Java. An interesting alternative is to use HTML5 and JavaScript if you already have a good background as a web developer.
Yes – as of writing I've sold enough units to pay for the costs a few times over as well as server costs for the custom API I built. Some profits will be reserved for London based charities.
Does anyone know what the search toolbar is they're using? The article claims they tracked 82 million drug related searches.
The World's smallest 1080P Laser Projection Engine
Did the same thing 2 days ago! And cannot stress enough how rewarding the experience was. Although I never heard of Digital Ocean so I chose linode, but I'm also very happy with them so far.
Uh, yeah, do that please.
I don't believe there's any advantage to being irrational or having a temper. Sooner or later someone is going to call your bluff. If you initiate violence, you might get your ass kicked by someone stronger. If you flip out irrationally, they can simply laugh at you as you flail about, or begin ignoring you / avoiding you.

When someone calls your bluff, it's game over. Everything changes from that point forward. Either you can never act that way again, because people will know it's a bluff, or you freak out and do something terrible and then one way or another will be dealt with (police called, go to jail, get put on ignore, get an ass kicking, get nuked to complete annihilation, whatever).

The tragedy here is that America has subsidized North Korea's behavior and ability to exist. We're partially responsible for their regime thinking it can keep doing this, and naturally their threats have to escalate. Their bluff should have been called a very long time ago. It's like taking in someone bullying you, clothing him, feeding him, etc.
You don’t have a Big Data problem.
If you could put more pictures on each refresh, it would be more engaging I think. Also it feel slow.
> It works, out of the box, for people who don't know what they're doing

here's the worst of all the bad reasons right here..
I would note that the article doesn't consider having to install any custom PEAR/PECL packages that your PHP application might require. Sometimes they need to be installed on the command line (as root), or sometimes as OS packages. If you're using managed web hosting, you will probably need to email the administrators and ask them to install the needed packages, and they might refuse.

In this context Ruby on Rails wins because of its standardized Gemfile approach. Every RoR application always specifies the dependencies in a standard way and their installation is always part of the deployment process. PHP has nothing like this.

The same applies to asset pipelines. When your application contains SASS/SCSS or CoffeeScript files, you need to worry about how they're going to be compiled, optimized and deployed. Ruby on Rails also standardizes this so that all you need is the same basic RoR application layout that you generated in the beginning.

So, as long as the web hosting provider supports Ruby on Rails, I think it's currently the simplest way to deploy full-featured web applications. Using PHP will require you to either 1) not use many modern web technologies or 2) build your own deployment processes to support them.
> SMB is better than NFS.

More details would be nice.
And since most people in this world use managed hosting for their website projects thats the right thing to compare with.

Also you have MAMP which is as easy as it comes for setting up a PHP/mysql environment on your computer.

But the strength of PHP goes far beyond this simple point.

For developers it's very very simple to get started. The difference between writing a hello world app and a crm app isn't that big. Weaving HTML and PHP together with JavaScript, CSS, JS easy to learn with PHP.

I wouldn't even know where to start in Ruby or Python. Just too many dependencies before you can even get started.

So yes it's by any metrics it matter true.

Take it from someone who had to teach himself how to do it and have tried to get started with several languages.
They won't support the code; that's not their job. They will restart the server when it goes down, and handle firewalls/security/keep their servers clean of root kits, etc.

Dreamhost, as an example (seeing as I use them), just upgraded all of their servers to support PHP 5.4, which is much better than any of the other hosts I've found. They're cheap, give relatively good support, and have recent versions of PHP available. If there's a problem with PHP or apache, that isn't broken application code, they'll fix it.

With python or ruby, you're on your own.
Looks nice! I like it!
I think there's a lot of factors at work, the search is terrible but there's plenty of app recommendation services now, one of the big issues seems to be that there's now a mindset of "£1.79? That's really pricy" and they'll move on pretty quickly. That's a big barrier and it's not going away anytime soon really, but alternatives like IAP are now getting push back and mobile advertising doesn't seem to be a solid cash stream yet.
This is their PR. You wrongly assume you're the target for their PR-moves.
>Simply not true.
Have you ever tried to install and setup PHP on a fresh server? It's almost as painful as writing code in PHP.

Which is so totally beside the point he makes, that I'm pretty sure you didn't RTFA.

The "market" he describes is NOT installing PHP from fresh on servers.
I don't understand why "low-skilled people can use it" is constantly trumpeted as an upside. If you can't work out how to set up the DB by hand (for example), there's little chance you're going to be able to get through the rest of the job without making a horrible mess which you (more likely your client) will come to regret.

Imagine if we took this attitude in civil engineering, or medical science. Not good. Obviously not every web project is as important as those two things, but "the barrier to entry for foot-shooting is low!" should never be a plus point for a technology. Especially when it's not your foot.

There's obviously a need for a tool for low(er) skilled people to make websites, but perhaps it should be less powerful to match? It should at least have abstractions that don't leak so much.

I'm happy to be lectured to about why this is wrong.
Or, if we disregard costs, C# and use Xamarin's (http://xamarin.com/) products.
I think you may need the caret at the end if you are using apt-get rather than tasksel directly:

$ apt-get install lamp-server^
Sounds like a very fair pricing to me. For 600USD p.a. I can boost my technical qualifications in all directions. Guess I'll use your platform sooner or later!
It turned out to be a bit more than 100 lines when I added it all up :-)

Here's the bulk of the code in a gist, with a little example of usage:

https://gist.github.com/boothead/5108455

Be happy to answer any questions if it's unclear.

The great thing about pyramid that this code might not really indicate if you're not familiar with it, is that you can attach instances of these traversal classes anywhere in your tree and the views will still do the right thing. Likewise, using the model_is predicate lets you override the default json renderer for specific classes if you need to.
Absolutely nothing bad about it.

It's called empowering people.
Adding Twitter Card Support To Your Wordpress Theme
Did you delete your comment? It may have diverged a bit from
the topic, but I found your method more compelling than
using a password managing service.
I like this. I used to have an emacs org-mode set up to edit/publish blog post (sadly just to discover that I haven't much to say in a blog). My set up allowed me to publish "data" content (mostly images) that can be linked into a post. How do you handle this with bashblog?