skysight-inc/HackerNews huggingface dataset:
Although it's not a feature that appeals to everyone, modern PHP (5.4+) has nearly any sort of syntactic/structural feature one would want in a programming language, except enumerations[0]. After using them in Scala, traits are also a nice plus to have in PHP. I do use PHP less than I used to, opting for Python more as it has more uses than PHP does (PHP can be used with GTK or CLI, but no thanks) outside of the web.

There are also quite a few good libraries and frameworks out there for PHP, although they're hard to find if you're not already experienced in PHP and can filter out the horrible ones by reading their code. Compared to Python, the task of finding quality code is generally harder from all the existing stuff out there holding on to bad hacks from PHP 5.2 and before (as well as long time PHP developers abusing such bad hacks out of habit).

Also, in PHP, trying to do anything event related with server to client notifications[1] comes down being an ugly hack[2] unless you want to use some third party PHP extensions like libevent[3] or offload to another language/service you could have just written everything in to begin with. PHP is just not built for anything unconventional like that and makes your life a headache if you ever find you need it at some point. Screwing with all of that is way more of a pain than just using Python with Tornado or Twisted, using Node.js or something like Play 2.0 with Scala. For what it's worth, the MySQLi native driver/api supports non-blocking async queries to the DB at least now and the native PostgreSQL API does as well (albeit the PgSQL API is not Object Oriented and I resorted to wrapping it a class that mimicked the MySQLi Object Oriented API for consistency).

[0] http://marc.info/?t=132988607800003&r=1&w=3 (lots of futile rants about it here). Basically comes down someone rejecting enum because they claim it's "redundant" (though PHP has plenty of previously accepted redundancies) when you can fake them with classes (which is not true as you cannot use them in a switch [without faking with toString()] and cannot use them without instantiating an object). The other excuse is it would introduce "strict typing creep" to PHP, which is silly, since you can already type hint on functions by including a the class or array type in each parameter (and will even throw an error if using the incorrect type). Excuses are not surprising though, given the news the past month of how toxic the core developer mailing list is for PHP.

[1] http://ajaxpatterns.org/HTTP_Streaming

[2] To implement in PHP without event listeners, you have to use some sketchy third party php based http servers instead of fcgi+fpm for those parts or fake it with an infinite loop + sleep and use nginx + http push stream (http://wiki.nginx.org/HttpPushStreamModule)

[3] http://php.net/manual/en/book.libevent.php
Ah, but now you are talking about expanding government (which can't do anything right) and taking from people what they've rightfully earned by being superior people and "working harder." And if you believe in supply-side economics, preventing growth which would trickle down into food for those children. Some people consider that a violation of their human rights too.

I don't. I think a little socialism is healthy. But I defy you to solve this without screwing over at least one large group of voters. If that were possible, it probably would have been done already.
What makes a coder to a rockstar-coder?
just a quick question. see above.
Also check out fwknop[1]

[1] http://www.cipherdyne.org/fwknop/
That is not necessarily any less catastrophic.
> But seriously, human beings, lacking omniscience, require strategies to work around their blind spots and keep moving forward.

That' a very benign interpretation of what happened, and one that is naive of the nature of financial regulation. Specifically, you can't just rename "insurance" to "derivatives contract that pays out like insurance but with unregulated capital requirements (and please ignore the word 'insurance' - it has consequences)" and expect to get away with it.

Regulations are written to apply to everything that behaves like the regulated product. The people writing CDS knew exactly what they were doing. They just assumed they were so smart they would not be left holding the bag. Which is what everyone participating in a fraudulent scheme thinks.
The people you vote for when you want lower taxes (Republicans) are not going to cut budgets for wars and spying, they're going to cut "redistributive" programs for "welfare queens."

Libertarians might get it done, but there's a serious bootstrapping problem in getting enough people to vote for them that they have a chance. For now, every vote for a libertarian is thrown away to idealism where it could at least be doing something.
This is pretty neat - a quick tests seems to show that it works fine:

# Get a few libraries etc. In particular we need
# dev packages for python, and libjpeg
sudo apt-get build-dep zope2.12
sudo aptitude install python-virtualenv
mkdir plone-test
cd plone-test
virtualenv -p python2.6 --no-site-packages --distribute py2.6-venv
./py2.6-venv/pip install -U distribute
mkdir buildout
cd buildout

Then set up a buildout.cfg, I think this is pretty minimal:

[buildout]
extends = http://dist.plone.org/release/4.3.2/versions.cfg
versions = versions
parts =
zeo-master
zeo-slave
plone-master-client
plone-write-client2
plone-slave-client
plone-read-client2

# This is a client that can write to the database
# note that the admin login is set to: admin:admin
[plone-master-client]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 7000
zeo-client = on
zeo-address = ${zeo-master:zeo-address}
eggs =
Pillow
Plone

# This is "traditional" Plone clustering:
# additional write client front-end - *single* db backend
[plone-write-client2]
recipe = plone.recipe.zope2instance
user = ${plone-master-client:user}
http-address = 7002
zeo-client = on
zeo-address = ${zeo-master:zeo-address}
eggs = ${plone-master-client:eggs}

# This is a client on our read-only slave. We
# cannot write (eg: edit contet, define sites)
# through this - but it works for reading
[plone-slave-client]
recipe = plone.recipe.zope2instance
user = ${plone-master-client:user}
http-address = 7001
zeo-client = on
zeo-address = ${zeo-slave:zeo-address}
eggs = ${plone-master-client:eggs}
read-only = true

# We can cluster clients on the read-only backend
[plone-read-client2]
recipe = plone.recipe.zope2instance
user = ${plone-master-client:user}
http-address = 7003
zeo-client = on
zeo-address = ${zeo-slave:zeo-address}
eggs = ${plone-master-client:eggs}
read-only = true

# Our standard read-write zeo-backend
# note that we can see some simple statistics
# on http://127.0.0.1:8110
[zeo-master]
recipe = plone.recipe.zeoserver[zrs]
replicate-to = 127.0.0.1:8101
monitor-address = 127.0.0.1:8110
zeo-address = 127.0.0.1:8100

# Sample config for read-only slave zeo
# Note that all run-time info, data etc
# is stored under "var2" as opposed to the default
# "var" for our zeo instance above.
[zeo-slave]
recipe = plone.recipe.zeoserver[zrs]
zeo-address = 127.0.0.1:8200
replicate-from = ${zeo-master:replicate-to}
var = ${buildout:directory}/var2
read-only = true

Get bootstrap, bootstrap and install plone:

curl -O https://raw.github.com/buildout/buildout/2/bootstrap/bootstrap.py
../py2.6-venv/bin/python bootstrap.py
./bin/buildout # This will take some time, make a coffee

Start up the parts:

./bin/zeo-master start
./bin/zeo-slave start
./bin/plone-master-client start
./bin/plone-slave-client start
./bin/plone-read-client2 start
./bin/plone-write-client2 start

Now, you can open http://127.0.0.1:8110 to look at some stats from the
master, and create a site with one of the read-write-clients, eg:
http://127.0.0.1:7000 -- and watch the changes appear on the
read-only-client: http://127.0.0.1:7001.
They suppress the beeps on the 15 in San Diego. It used to beep at the single tolling location when there was only one (and read many other times for traffic flow / variable toll calculation) but they eliminated it now that there are 10+ points where it is read to determine distance traveled. The only place it beeps in SD is on the 125.
To expand on the uniqueness of the experience of suffocation: Suffocation is apparently the only experience that can produce fear in patients without an intact amygdala. In a recent study (http://www.nature.com/neuro/journal/v16/n3/full/nn.3323.html), researchers administered a mixture 35% CO2 and oxygen to three patients with bilateral amygdala damage and who could not recall experiencing fear in any decades for decades prior. All three had panic attacks. While it's thought that the amygdala contains CO2-sensitve chemoreceptors as this article states in the first paragraph, this behavioral result shows that other brain areas do too, and activation of these chemoreceptors is sufficient to produce fear even without the brain's "fear center."
The content that is advertising supported largely didn't exist before the ads came along, or was provided by entities that were burning through initial capital while seeking a revenue model.

Much of the kind of content that was sustainable before all the ads came along is largely still available without ads after the ads came along to support other kinds of content.
Search Engine LEADERSHIP
Some more links:

https://github.com/plone/plone.recipe.zeoserver
https://pypi.python.org/pypi/plone.recipe.zeoserver
Who exactly are "they"? Other than someone with a blog post saying whitelist this ip and claiming "no monkey business, promise!" No time/interest to vet them.

Also, did their webpage get hacked and that ip changed?

Will someone with access to their machines network succumb to maliciously using or selling access to this widely whitelisted ip?

Seven years from now will that ip still be theirs?
drivebyacct2, you're hell banned
I think education is definitely ripe for disruption.

There's a lot of "but it's always been done that way", and teachers' unions are very quick to play the "think of the chilllllldrun card". Lots of entrenched bureaucracy and budgets that people don't want to lose.
Grocery stores are hard to get to in an urban environment in America.

Also, it's hard to have time to cook when you're working two jobs.
'share this' isn't really a problem; getting government products to the people who paid for them is a good thing. The lack of an open and widely-used social networking interface probably is.

From another perspective: If the 'share this' button had only "e-mail" as an option, I doubt it would bother anyone.
No it's like hiding the safe so that 99.99% of attackers don't know you have it and break into your neighbors instead.
I didn't. I was what they call a "functional" addict, hooked on heroin. I have been off heroin and on suboxone for a year, after being addicted since I was 16. I held down a normal life, achieved a lot, and still used.

I stopped because of existential issues. I decided that having a chemical have that much power in my life, even if I kept it somewhat at bay, wasn't worth it. That was a very personal thought and decision.

What you will find, is no two addicts are the same, and broad generalisations don't hold very well. That's something that good councilors accept and work with :)
Macros, closures and unexpected object retention
I was :) I even ran a startup while I was using. Heroin is not a drug that discriminates.
Hey guys... let's make a programming language... for non-programmers! Pretty wacky, eh?

It should also look like natural speech.
There is certainly much good intention, more than is given credit for, in most government agencies. The reason I don't want to fund them to a great extent is that the bureaucracy of almost any large entity causes serious problems in inefficiency. I'd not want IBM running our government, and I don't want our federal government running our government.
Math generally isn't even recursive. When it is, it is only so as a byproduct of its declarative nature. You don't usually deal with instances, but the set of all possible valid instances.

That said, I really don't see the point of making programming look more like math... the deep distaste most people have for the abstract symbol manipulations therein, and the clear favoring of instances and examples, seems to pretty effectively point towards the opposite direction.
The government spends about $10,000 per year per child on public education.

http://www.npr.org/blogs/money/2012/06/21/155515613/how-much...

That's $120,000 over k-12 (not including pre-school). Is $120,000 and 12 years not enough to teach every kid entrepreneurship and coding?

As I wrote in another comment, the current education system is 19th century stuff and it's amazing a lot more people aren't astounded why it still exists.
I wonder how long before saltstack adopts this? Something tells me not long at all.

[1] https://github.com/saltstack/salt
The basic premise sounds good...
There is not demand for an infinite number of web programmers or web startups. Teaching every child to program just drives down the value of programming skills.

You have not solved the risk or capital problems.

Yes, there are a lot of problems with the education system. Wake me when you find a way to fix it that actually works in a sustainable and scalable fashion.

Punishing teachers for teaching students who don't give a shit because there is no good reason for them to give a shit just decreases the number of teachers willing to work in poor districts.
Root servers simply serve the content for the root zone, ICANN generates the contents of the root zone and signs it using an elaborate system of trust: http://dns.icann.org/ksk/
Fair point. I think it would be a cool lab for intentional communities and alternative living models, but I think there would also be a security risk and possibility for freaks.

There are some cool people who are broke and want to live communally, but there are also some people who do that because they don't have their lives together.
1984 is a work of fiction and has no bearable application on the world of today, and furthermore there is no philosophical literature dealing with being monitored while in PUBLIC. This isn't about privacy when you're in a place no one else is, this is about how incredibly naive it is to think when you're in public, no one's allowed to look at you.

Do not transform this into a privacy debate, because I'm not saying you don't deserve privacy. Don't ruin this discussion by getting all fanatical on me...
>>Why in the hell are these people "producing" children, if they aren't 100% certain that they'll be able to support them for the years until they are old enough to stand on their own feet?

A variety of factors, primarily two:

1. Poor people tend to have poor education, and are rarely if ever taught about things like birth control.

2. Poor people also tend to be very religious, and in America at least the main religion is anti-birth control.
...and any CA outside the US is compromised by China, India, UK, etc.
Surely a virologist can be considered more reasonable about related matters of personal than the general public (who cannot even be trusted to immunize themselves or their children, and cannot be trusted to trust modern medicine instead of roots some hippy pulled out of the ground behind their shed).

Bruce isn't a nutter. I don't think many people would actually argue otherwise.
Memo to Lovers
or a fireplace near
Android is open enough that Nokia could likely cobble up a very decent speculative port of AOSP plus gapps and scare the crap out of anyone not familiar with android porting, making them think a deal was immanent. Nokia's handsets all use recent Qualcomm chipsets, so I would not be surprised if they demo'ed the whole product line running Android just to stampede Microsoft into this deal.
I guess you were asleep during the "parallel construction" revelations.
It's not always a nightmare. Sometimes it's quite enjoyable.

I remember going to sleep with a headache at one point and experiencing sleep paralysis. My headache was translated to black and white flashes of light. Or another time when I heard music.

Being unable to move isn't really that big of a deal as long as you are in a comfortable position. Eventually the paranoia and the sense of another presence sets in, but up until that point it can be fun.

If you try to go right back to sleep, you'll probably end up in the same state. Standing up clears sleep paralysis.
When I found the site a few years ago it was all dandy.

Now you can blatantly tell the power users are getting paid to censor certain information in the biggest subreddits. Not only that but the power users are seriously creating 20+ accounts each in order to keep it that way.

Unless the reddit admins actually take a seriously look at whats going on with the power users reddit is done for within another year or so
It's possible that installing malware on a machine could be legal if the police have a warrant to wiretap that specific machine. However, in this case, they indiscriminately pushed malware to thousands of users on that site, many of whom were probably not doing anything illegal. So how does this not violate the Fourth Amendment?

The Fourth Amendment says: "No Warrants shall issue, but upon probable cause, supported by Oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized."[1]

[1] https://en.wikipedia.org/wiki/Fourth_Amendment_to_the_United...
FBI admits what we all suspected: It compromised Freedom Hosting’s Tor servers
Same story is of my senior Amol Bhave. He attended the Circuits and Electronics course from MITx, but when he found that they are not going to offer Signals and Systems course (the next in the series), he himself built a platform with course material from OCW. And, he got in MIT Class of 2017.

[1] http://www.ft.com/cms/s/0/c5a4b932-924c-11e2-851f-00144feabd...
Yeah, I've had it happen to me once or twice while waking up in the middle of a lucid dream. I knew what it was so it wasn't all that scary, though if I hadn't I think I would have freaked out.
I was a Cobian user but ended up switching to Crashplan for my Linux machines. Crashplan looks similar to duplicati so check that out. It does email alerts too.
Ok, but what would need to happen to demonstrate that global warming is not happening? If the warming stopped or reversed over a 5 year period? 10? 20? 50? Never?
I don't understand why you think this is unusual. At least in the areas I've lived in (LA, Silicon Valley, San Francisco, Seattle, …) it's been very common.
Depends what you're going to use it for. I ultimately picked the MBA instead because I need music software (Ableton Live).
Agh. Time to be an insensitive East Coaster for a minute...

At what point do we start expecting members of society to toughen up or start considering their sensitivity/anxieties symptoms of psychological issues requiring clinical treatment?

An iPhone app for catcalling?!?!?!

Let me lead this debate right off with: yes, I understand there are instances of street harassment that occur which are tragic, illegal, senseless, violent and I firmly agree all of those should be stopped.

But for the sub-tragedy-level issues of 'street harassment': really?!

Here's a solution: Empower yourself!

If you're worried about physical harassment, carry a taser/pepper spray/knife/gun. Start working out. Take a self-defense class.

If you're worried about psychological harassment, take a good hard look at yourself and your life and work on your self-esteem, see a therapist, work out (two birds, one stone, with that). Figure out how to look in the mirror and be confident in what you see, no matter what others say (it may be hard, I know, but no one can do this for you but you).

Do all of those things, and you'll surely walk around with far less fear of 'street harassment'. In fact, I'm fairly confident the majority of people with such anxieties who employ the above tactics will find much help for their problems.

Encouraging people to use an iPhone app to remedy this will only perpetuate the cycle of helplessness in society.

Put bluntly: do you think some drunk idiot on the street who's catcalling you cares that you're writing him a bad Yelp review on your iPhone app? No.

Does an iPhone app fortify your psyche or physical security? No.

I'm totally sympathetic to unchangeable things people suffer from in life (physical disease, psychiatric disabilities). But to the extent that is possible, you should always seek to empower yourself. And an iPhone app does nothing (long-term) to empower your psyche or physical security. (And promoting it as a solution does nothing but further weaken society, as whole.)
names are no different from any other form of user input in this regard. Any time you include user input in a document you should follow it with a direction override character to restore the text direction, just in case the user changed it. You could also strip these characters out, but some people really do want their name to show up backwards, and for that to be consistent across all cases.
It's interesting the article mentions "being ridden by the witch" as a phrase from southern Americana folklore. It dates back a bit further than that, and is literally where we get the term "hagridden" from.
This is quite funny. I learned about JSFuck in 2012 when I took some of my fellow students to a JavaScript meetup in Hamburg. JSFuck has since developed to be a kind of running gag among the students at our computer science department when it comes to things with a high WTF factor.
Technically FISA only allows surveillance of foreign nationals or powers in association with a terrorist investigation[1]. No idea how closely this is enforced.

HOWEVER, there is plenty of other legislation enabling the NSA to spy on non-US parties in different circumstances.

[1] http://en.wikipedia.org/wiki/Foreign_Intelligence_Surveillan...
"Standing up clears sleep paralysis."
There's a bit of a paradox there :)
List of ICFP'13 accepted papers, with links to preprints
Interesting question. However, I think you've got it backwards. What right does the government have to track individuals? That's what we should be asking.
We wouldn't be punishing teachers, just get ridding of a system that doesn't work. Salman Khan has a proposed a better one where schools are essentially libraries/babysitters that any child can go in and learn a self-directed curriculum.

There is an 'unlimited demand' for programmers skills because of demand ran out, there would be no work left (we'd have a singularity/post scarcity) - programmers automate work.
Yeah, something like an updated Intercept would work, I'd like it more if it were an up-slider/pop slider, not a side-slider.

Motorola has some pretty impressive side-sliders too, but I liked my Nokia up-sliders (Nokia 5200 and N86).
I'm not saying that these aren't good points, just that gp's comment about lube was out of place. They aren't trying to fuck you.

And we're not talking about a literal software-implemented whitelist, just a "it probably isn't worth investigating or sending complaints" whitelist. That makes the seven-years point less important.
I would honestly like to see more on the topics like this. As I've come to gain more and my responsibility and prestige within the organizations I'm affiliated with, I've found clothing can be a particularly effective tool in shaping the course of interactions with other people. Showing up in an outfit that reflects how you wish to be treated can be far more effective than anything you can say to that point.
From the data I've found, this is incorrect. The average US household spends 4% of it's pretax income on gas, whereas the average British household spends around 10%

http://www.eia.gov/todayinenergy/detail.cfm?id=9831

http://www.thisismoney.co.uk/money/cars/article-2127644/Worl...
And how does one do that?
Maybe I'm dense, but I don't get how this helps to avoid "street harassment". It just seems like a way of reporting "someone made me uncomfortable" to people that can't really do anything about it. Yay.

I just don't get the point of it.