skysight-inc/HackerNews huggingface dataset:
I'm kind of shocked no one seems to have researched the authors of Your Brain on Porn. While I think their stuff is interesting, I am very skeptical, especially considering their past work and their general views on sexuality. I read their Cupid's Poison Arrow book and it's not just porn they think is bad for you, it's orgasm in general. Their book teachers a method of orgasm-free sex and sexuality that is supposed to improve the longevity of your relationship. I don't really think Marnia or Gary have much qualifications in the science of sex or addiction, but they wrap up their arguments in scientific-sounding language. I am familiar with such things because I grew up Evangelical and they used the same type of arguments for their views on sexuality.

For a better perspective on issues relating to having an addictive personality, I recommend The Compass of Pleasure by neuroscientist David J. Linden for understanding reward-theory that dominates the psychology research now.

I don't doubt that some people have legitimate problems worsened by pornography use, but I would say that they would benefit highly from seeing a therapist rather than following some of these more shaky theories. I've known young men who are thinking they have issues with dopamine, when in reality many of them have issues with shame, anxiety, and communication. I do believe porn addicts exist, but I think it is worth getting diagnosed by a professional who can rule out other causes.
Going Offline with Maven
I agree with you and flagged the article.
Why do I need an 80$ device to check my heart rate? What ever happened to a watch and checking your pulse with a finger? Breath rate? A watch and monitor your breathing. Blood oxygen level? A $20 device on Amazon.com. This is overpriced and not that useful. Am I the only one that does not want to update my friends facebook feed with my personal health metrics?
(sorry hijacking post a little)

I find it hard to take any argument against such things(video games, guns, movies ect) seriously when these arguments taking place only happen when it is politically advantageous for politicians.

If these arguments being made are valid then they should be made anyways. These are not small issues, but issues that go down to the base of our society. If they are not valid enough to be made on there own ground why should i take them seriously when they are projected into the limelight by a tragedy?

Note I am not saying that i am for or against any of these arguments just stating that if they are valid then they should be able to be viewed in there own context. Of course we have to take recent(any and all) events into account but it must be done so with a clear head. Much like the current outrage regarding Aaron Swartz, is it a tragedy, absolutely, but to go out instantly and call for someones head is irresponsible and illogical.

Rash decisions lead to only more mistakes.
Quora doesn't work with mobile browser, they require installing app
I learned the lattice method in the 5th grade in 1981 here in a US public school. I loved it and used it for years afterward. I didn't realize until I was in high school that it wasn't part of the curriculum but only something my teacher thought was useful.
Which stack is better for more complex user interfaces?

We have a dashboard app that must integrate data from several models into a single display that allow users manipulate the parameters to each specific model independently.
The Red Rain cell claims (even with a question mark to indicate tentativeness) seem particularly bold. It's not difficult to imagine circular structures forming abiotically, and given that there are much likelier explanations for the red rain, I remain unconvinced.
> C++ code can quickly get unruly and ugly without diligence on the part of the programmers. To see how bad things can get, check out the STL source code. Microsoft's and GCC's[5] STL implementations are probably the ugliest source code I've ever seen. Even when programmers take extreme care to make their template code as readable as possible it's still a complete mess. Take a look at Andrei Alexandrescu's Loki library, or the boost libraries—these are written by some of the best C++ programmers in the world and great care was taken to make them as beautiful as possible, and they're still ugly and basically unreadable."

Finally, a guru dares to call a spade a spade. Header-only, template-only C++ programming is a mistake! After 1995 C++ Standardization took the wrong path and lost contact with real world developers. The glorification and idolization of 'STL programming' was in sharp contrast with programmer's needs. Today in C++ there is a chasm like in no other language between the 'official language' and what programmers need and use day in day out.
The short answer is I, and I'm sure tons of other people, do not need another way to talk to each other, we're doing just fine. There have been so many offering with almost that exact wording that its become a cliche.
I am a dropout. So, yes I would hire someone like me.
Tim Sweeney of Epic also praised functional programming few years ago http://www.st.cs.uni-saarland.de/edu/seminare/2005/advanced-...

I don't know what's his stance on the subject since though.
The design of the iPhone 5 isn't up to scratch, IMO. The black model especially looks like something the janitor from a Hitachi research lab.

The iPhone 4, on the other hand, was a design classic.
This project is nothing new and must have been mentioned on HN before. Why is HN allowing duplicates these days?
We've taught hundreds of beginners new to Rails, and we've found that beginners want to learn about all the alternatives - it's like they have to survey the entire landscape before starting. No matter if we're teaching TestUnit or Rspec, someone will ask about the alternative. It's so easy to get side-tracked into evaluating alternatives and just get overwhelmed with the options.

What we've found works is this:

1. Beginners need a curated stack by someone they trust. "Here, this is the stack to learn from; stop wasting time evaluating and get started."

2. Learn about the people, personalities, and community that make the tools. Understand the reasons for their creation; keep up with the conversations.

#1 from above gets beginners unstuck, while #2 will allow them to slowly evaluate different pieces of the stack over time. It's important to understand the "why", not only the "how".

For our courses, we use a mix of the two stacks. For our intro to Rails course, we use: erb, sqlite in dev and postgres in production, fat models and skinny controllers. For our intermediate course, we use haml, rspec, postgres. And finally, for our advanced course, we use "outside in" BDD with Cucumber and introduce the concept of service layers.

We've found this to be a great approach to introducing newbies to the "37 Signal stack" and growing them into the "Prime stack". The goal is to let them figure out their own preferred stack over time, and be productive no matter which stack is in front of them.
rspec has some redeeming qualities that were luckily ported to minispec, especially the let-syntax. Once you grok how it works, its a very nice way to setup complex test data that has minor differences.

assert, in my opinion, has the distinct advantage of being immediately recognizable as a special thing while should reads kind of informal.
Apple 'cuts order for iPhone 5 parts' after weak sales
That's weird. It doesn't for me.
I submitted this because Branch is now open to the public, instead of private beta.
Node, Heroku and the joy of coding
Thank you, I forgot about the flag link. It is not just this article, I've been noticing a trend in general about the non-programming, non-startup subject matter of many of the articles that have been gaining popularity.
You should go to a hackathon, they are a great experience. I have been to ~5 so far and I have worked with people of varying skill sets. Everyone is generally willing to help you out.

You'll meet great people, see how other people approach problems, hear really interesting ideas and be introduced to new technologies.
Show a video or at least a sample published with it.
Yes, I contradicted your assertions that

a) it is MIT and JSTOR that have primary discretion in whether a criminal case moves forward (it is the government's sole discretion)

b) MIT and JSTOR are in fact responsible for bringing criminal charges (they are not - they can only bring civil charges)

c) that the prosecutor is responsible for the severity of the penalty and/or the defendant's emotional response to that penalty

My disagreement with your third assertion was more implicit so let me clarify a bit.

First, it is not the prosecutor's job to question whether a law's penalties are in proportion to the crime it proscribes when deciding whether to bring a case. Discretion over the severity of the punishment is left to the sentencing phase of the trial if the defendant is convicted, and it is highly likely that Aaron's sentence would not have been the maximum had he been found guilty (a fact I am sure his lawyers made him aware of).

Second, under what reasonable standard can a prosecutor be held personally responsible for the emotional state of the defendant? Should it be acceptable for criminal defendants to pressure prosecutors into dropping cases by threatening self-harm or suicide in the hopes that a public outcry will harm the prosecutor's career? Try to ignore for a moment that the defendant in this case has your sympathies. Would you accept that tactic from a serial killer or rapist?

It may be that the law itself is unnecessary or counterproductive. I'm certainly open to the argument that at least publicly funded research ought to be open to the public. Yet it is still the law of the land. From the facts of the case, Aaron committed an obvious crime and behaved as though he knew it were a crime. The potential price of civil disobedience is that you will in fact end up punished for it. In the end, his story (like Rosa Parks and others before him) may end up bringing about the change he wants. But to say that the prosecutor abused her authority or was personally responsible for his death is an emotional response without basis and runs counter to the very idea of a criminal justice system.
>A problem with this analysis is that Swartz was charged with fraud.

That's what I'm saying. We should change the definition of "computer fraud" and other felonies so that they no longer cover what Swartz is alleged to have done.

Computer fraud should cover breaking into Amazon's order processing system and modifying the database so that they ship you $50,000 worth of jewelry without you paying for it. What Swartz allegedly did is more accurately characterized as something like excessive use or (for entering the network closet) physical trespass, for which the maximum penalty should be a modest fine along the lines of a speeding ticket. There should exist no felony charge available for prosecutors to use whose text can be legitimately said to cover his actions. All felonies should require extremely serious harm, such as personal injury or death, physical damage, or depriving others of extremely high value property explicitly for the purpose of personal financial gain. In all other cases there may be an offense but it should not be a felony, and we can work to have the law changed to reflect that.

I understand that even if we do that, it may be possible for prosecutors to file totally fictitious charges against their targets, but in those cases at least in theory it should be trivial for the defendant's lawyer to win quickly with a motion to dismiss, unless law enforcement is going so far as to fabricate evidence and the like, which is a different class of problem.

>It may very well be that the problem here is lack of funding for prosecutors and the courts; that we should give them more money, instead of playing a futile game of whack-a-mole when problems like this happen, so that we can make saner decisions about prosecuting people and not immediately push every case into a tragic game of chicken.

I agree with this as long as you concede that the only way it will be possible is to drastically reduce the number of accused somehow. If we prosecuted significantly fewer criminals (for example because we repealed many of the unnecessary laws that they are now prosecuted under) then we can easily afford to spend more resources on each case. I don't think the alternative will be possible: Spending significantly more per case without significantly reducing the number of cases would be prohibitively expensive, because there are currently so many people accused of serious crimes.
After 2 years, he is still in prison without prosecution. How legal is this?

How legal were the action the US gov were responsible for which Manning bravely exposed?

I don't think the US judiciary has a fixed concept of legal. The US became a plutocracy and either you are influential or not.

Thus the legality of your actions seem to depend often on this belonging and to which group the "victim" belongs.

Daniel Ellsberg did something quite similar and branding him a criminal is the wrong narrative! At least he got a trial. Manning not so much.

The US have a Whistleblower Protection Act sure, but one shouldn't care about his own well being.
I was born and raised here in Pinellas County with Scientology World headquarters. I still live here in Tampa, and I've known a variety of Scientologists, and done business with the Church.

They've been this way since before I was born; this is nothing new. I have yet to see a news article accurately report on them, their beliefs, their activities, or their crimes, which are legion.

The St. Pete. Times used to war with them regularly for years; not once did I read an article that didn't have numerous sloppy mistakes that basic research would have caught.

They really are a religion: they think they're saving souls and the World, and anything they do is worth it; the ends justify the means. Since the World hangs in the Balance, and they're the warriors on the front lines, they're above the law.

What's worse is a lot of their minor techniques are quite effective, especially on drug addiction and the like, which convinces many people that they're the One True Path.
It's a page of 9 short comments, but 8/9 are are elided after the first few words. Is the new way of talking to each other sentences where you can't see the end?
For 5 years I lived in a house in Los Angeles, where one of the previous residents had been a member of Sea Org - almost 10 years before we moved in. We would receive a piece of mail addressed to him from Scientology almost every single day we lived there. Posters, letters, DVDs you name it. We'd collect the mail and pile it on the floor as entertainment for friends. They probably sent close to $200 worth of mailers to that house every year. People from Scientology would come to the house asking for this guy, and we'd tell them he hadn't lived there in years. They'd return, leave handwritten notes on the door. In the storage area under the house were boxes of his family's clothes and belongings, I wouldn't be surprised if they had just abandoned their things and fled. Scientology is no joke.
Understanding human psychology/behavior is very important to startups; It's a big part UI/UX design, pricing strategy, etc.
Multiple Ruby gems vulnerable to XML/YAML parsing vulnerabilities
The board was not very big, but since every movement would broadcast the entire board to all players, it would add up. I didn't bench exactly how bad it was, but as I was adding data to it I could feel the game slowing down. You have to keep in mind that at that point every movement would make the server send the whole board, and in that game you'd move constantly.

Thanks for the tips. I don't think I'll continue developing this game, but if I get some time I was thinking about doing something cross devices (iPhone / Desktop). I don't know how yet, we'll see.
Moving Beyond Social: Emotional Media To Power The Warped Tour
THat's very cheap!
Petition to De-fund the ITU
He's not accused of overusing JSTOR's systems so much as he is accused of intentionally copying their whole database so he could deliver them to file sharing networks. That action would have seriously harmed JSTOR.
I wonder if pg has considered revisiting the phrasing here. In some ways I suspect the much broader "anything goes" acceptance of topics has had a spillover effect in lowering the quality of comments as well.
I wonder why. Could you please elaborate?
Please comment on the gist with any additional libraries (public and patched vulnerabilities only please). I'll keep it updated.
What do you find so disagreeable about collecting variables at the top of a function? For the most part, I like having all the variable declarations at the top, so it's easy to see what names are in what scope.
I think calculators for interest calculations makes a lot of sense. I'd be pretty impressed by students doing P(1 + r/M)^N without a calculator, though I suppose you could do repeated tedious multiplications of P*(long decimal number). We definitely used calculators for that 20 years ago.
>could you detail how you are using jruby to offset evented systems on node.js ?

Simply because JRuby has real threads over MRI's GIL, and the JVM has a time-proven Server VM that has a very good JIT. I also leave open the option to drop to 'bare' Java.
As the OP mentioned, it's a craft of balancing CPU and memory. In my case I don't mind the extra threads memory and context switching overhead.

> If you are using scala, which async framework are you using - I have heard it is basically scalatra vs spray.io

My Scala use case is with Storm, as mentioned in other reply. You can call that "backend" processing, instead of using it with a Web framework.
I think Betteridge's Law of Headlines clearly applies to this one.
Actually, this method is one of the most efficient ways to multiply in software. It's called the "Comba" method in that context, and is efficient for multiplying 32x32 words or smaller, due to cache effects and function overhead required by more complicated algorithms. Over about 32 words on many architectures, the algorithmic advantage of the Karatsuba method wins out.
The expectation of politeness as a meaningful social norm does not apply to con artists.
A bizarre one that affects Microsoft DreamSpark, (and probably others) is that they silently escape characters in your password. Apparently they do this using two different methods depending on whether you're logging in or changing your password, so if it gets escaped one way, it might not be escaped the other way, and then you can't log in.

Consequently I don't think you can include brackets in your password if you want it to work. The front-end apparently isn't aware of this limitation, so they'll happily let you do it.

Code re-use: a very good idea.
Good introduction to Backus-Naur Form (BNF), Extended BNF (EBNF), Augmented BNF (ABNF, a la RFC 5234) and the typical extensions. Not earth shattering, but a good reference.
What's odd is that the C++ community fetishizes these techniques so much. I mean, when faced with problems that require running code at compile team, the lisp community's answer was "ok, just include an interpreter and run your lisp code at compile time with eval-when". The C++ community first insisted that there was never a reason for doing so and then said "ok, but instead of writing code for compile-time execution using C++, we're going to create an nightmarishly complex and crippled language that you'll use instead; it will be so painful that you'll be proud of implementing factorial".

And now a whole new generation of programmers can gaze at the horror of Modern C++ metaprogramming and conclude that metaprogramming is bad....
Carmack's comment acknowledges as much without being ungracious to the author.
JSTOR: where does your money go?
... computation != mathematics.

This is exactly why giving calculators to children who have not yet mastered any method of multiplication is bad.
> The Manifesto was from an era when the hardware you owned was practically a useless toy,

I'd argue that's what we're moving towards.
"Such filings are routine when a defendant dies before trial."

When I saw this, I stopped reading. I'm tired of media piggybacking on events to get page views. This isn't news, this is routine.
Good idea, but I think for a 'show HN' there should be actually more to show than just some slogans.

Any plans for cross-platform publishing? Google Play has magazines now as well (as does Amazon): https://play.google.com/about/magazines/index.html
I got into Branch early; in their public beta stage. Being said that let me confess that I didn't spend much time on their site: mainly coz it's TL;DR
I don't know about others but I personally found all of their conversations a bit boring and too long to read, follow, understand, then 'ask to join', then wait for someone to accept me into the branch, then I get the notification, yay..I go there then I'm like..."What did I wanted to say?".

So I thought why not write a TL;DR comment on their Hacker Street entry.
My questions are:
1. Why should I go to Branch when I can do my conversations on Google+ communities, Facebook groups, pages, messages, etc? Or maybe on Whatsapp (for private group chat)
2. I don't think that persisting a conversation is really a motivating factor for anyone. I don't really care if I had a good short lived healthy conversation on Facebook with some friends or with some strangers on my Facebook page/ Google+ page.
3. I think creating a board on Quora is a better option, mainly because you can converse with strangers who might add valuable insights to your discussion.
4. I cannot edit or delete anything on branch.com. Why?
5. Lastly, I think if I create a branch and invite Morgan Freeman to it, there's a slim possibility that he'll comply to my request. So why not stay with my friends on FB, fans on Google+?
We're not going to be "stuck" with 1.9. Use 2.0 for a smaller and faster library on modern browsers and 1.9 to continue to support old IE versions.

http://blog.jquery.com/2012/06/28/jquery-core-version-1-9-an...
"Our goal is for 1.9 and 2.0 to be interchangeable as far as the API set they support. When 2.0 comes out, your decision on which version to choose should be as simple as this: If you need IE 6/7/8 support, choose 1.9; otherwise you can use either 1.9 or 2.0.
...
If your web site needs oldIE support, and we expect most sites will need it for at least another year or two, you can use IE conditional comments to include version 1.9 only when visitors are using oldIE:"
Yougotposted.com Website Raises Complex Legal Issues
Thank you for taking the time to address the HN community even at such a time like this, this means a lot to us. I am so sorry for what you as a mother have to go through. My prayers are with you and for your family.