skysight-inc/HackerNews huggingface dataset:
Compare

doubleCompose binary_func transformation first_arg second_arg = binary_func (transformation first_arg) (transformation second_arg)

vs
doubleCompose (b -> b -> c) -> (a -> b) -> a -> a -> c
doubleCompose (+) f x y = (f x) + (f y)

(also known as the `on` function).
There's hardly any good names for x and y, since they can be anything at all.
If "try and get as much return as you can" is the only input to the decision we are likely not investing but speculating and there is a difference. So if we are speculating here then I think I'd take those three envelopes to Vegas and split them between blackjack, craps and (hopefully) several hours of No-Limit poker. I could use a vacation anyway.
I haven't found a good starting point. The two main contenders I've read in non sequential order:

1. Micheal Heartl's Rails Tutorial.
2. Pragmatic Programmers Bookshelf - Agile Rails 3.2 (4th Edition)

Both are a good start but delve far too much into unit testing with the horrific RSpec. When you're learning something new, you don't want to muddle with learning a DSL on top of things.
Not a huge deal, but it hides the actual author of that line when you're doing a blame. I try to only change the precise lines I need to in a commit, and all of them are relevant to the commit message. That way it's usually a very quick check to see what commit added a certain line.

If I absolutely need to do some tidying in a file, I do it in a fully separate commit so that the change can not be construed to be related to the other feature.
What bugs me a lot more than the meanness in either of those two historical threads is some of the stuff that happened in the last 3 days. That's the part I can not get my head wrapped around. It really bugs me.
Asking that someone own up to their responsibilities or shoulder their own problems is ABSOLUTELY NOT the same as wishing them dead.
These actually have true meanings as Tech jargon. Biz/Marketing love to abuse buzzwords though.
That's your defense? "He didn't know!"? Try that in a court of law.
This is what I consider the sick side of journalism. It does nothing but serve pageviews to TC. What irks me even more is the fact that I had to serve them up a pageview just to see context.

Is there a Chrome extension to (1) disallow me from going to their website and (2) remove their links from visibility on HN?

I've already created a mental ban on their website (because I think it's utter filth), but now I think I need to take a step further.

EDIT - Just realized the article was written by Arrington. Go figure.
I believe there is a meaningful distinction which can be drawn between "prizes that CNET employees might award" and "writing about the rest of the technology world". That said, I suspect that if you're drawing a metaphorical line, than this is the wrong place to draw it.
YC Backed Photo Sharing Service Picplum Loses Cofounder to Twitter
Dell In Talks To Take Company Private
In this context, here's a hint: don't blame the sufferer. You don't tell someone with Multiple Sclerosis to just exercise more or a poor person to just make more money. It's facile and cruel and unhelpful.
> He gave his honest appraisal of what was happening in a current events story on a message board, based on the facts available to us at the time, which included none of the outrageous details that have come to light in the last few days.

So, so true. I mean, it's not like people could have simply, y'know, avoided speculating publicly on another person's case when they didn't have all the facts.

No, don't go trying to direct the flames back at TechCrunch. Ed is consistently one of the nicest damn people on HN, and it's a bit of a shame that he ended up being the example that they pointed to. But, let's not pretend that HN isn't full of people that will wring an ocean out of their hands one day when it's popular and then go right back to slinging insults at each-other the next.

If this article results in a little bit of navel gazing for a few people here, great. I doubt that it will, though.
(1) hindsight is 20-20

(2) the facts as we know then today were not readily apparent back then (even to those that were actively seeking those facts)

(3) Ed has a longstanding history of compassion and care

(4) mistakes were made, but there is nobody to apologise to.

Can we please stop the mobbing? Thanks.
I'm not saying none of them existed, just that isn't what this culture was about. As you said, such types were unwelcome in the community, and I'm pretty sure that isn't what your manifesto was about (but correct me if I'm wrong).
I agree, this is an extraordinarily good idea.
My point is that when you are writing complicated production code, and you are a good programmer such that your rate of features successfully implemented is high, then you will often be going to old code and changing that code to behave somewhat differently than it was before.

When you do this, you want that old code to be like putty. You want to bend it into a new shape without having to break it and start over. Sometimes it really is better to break it, if bending would be too messy or cause problems later or otherwise sets off a red flag in your head. But if you have to break and re-make everything all the time, you won't be a very fast programmer. So you learn how to bend things, elegantly.

And after a while of this, you learn how to write code that is more amenable to elegant bending in the first place. When you type code, you are not just implementing a specific piece of functionality; you are implementing that functionality plus provision for unknown future times when you will need to come back and make the code different.

(To link this more thoroughly to the previous comment: it happens all the time that you write code that is not really about doing stuff, but then you later need to make that code be about doing stuff. Sometimes this is for shipping functionality reasons, sometimes it is just to temporarily insert hooks for debugging. Declaring in advance that this code shall never be about doing stuff is usually a mistake.)
Uh... You shouldn't have to install libyaml from a tarball just because you don't have homebrew. The equivalent of

sudo apt-get install libyaml libyaml-dev

or for you hat-wearing folks

sudo yum install libyaml libyaml-devel

should work just fine.
Don't wait; go to a doctor about this. Unless you don't have insurance.. then you might as well wait til 2014 when you won't have an excuse not to have insurance.
hypocrite.
That'll never happen, right?
1k - launch a online store or market an MVP
2k - poker
5k - stock trading

In some ways this is really the order of things in life. The investments that take the least money require the most work and time. The investments that take the most money are fast but involve more risk.

I tried my hand at each but I can't say one is better than the other for making money.
> Aaron should man up

And now we see the consequences of our society's sexism.

Nobody tells women to "man up".
Totally fucking lame. I can't search for discussions. They hide the popular discussions in the sidebar. All hype, zero value. It's pretty and that's all. $2M in funding, I laughed.

However, I created a scala group: http://branch.com/groups/scala/join/a726238227c
It’s also easy to do in your head, and works pleasantly for numbers in any base, including polynomials.
Yah, even though that scene is growing smaller by the year, the 6502/2A03 ASM geeks are still crunching away... looking for extra space inside NES Rom's to cram some new, cool feature their favorite games would benefit from. Did a little in the mid-00's, was a great time and taught me how a microprocessor works.

So fret not! A good old-school time can still be had in this modern age of new-fangled-front-end-engineers!! (of which I am one)

:)
Why you shouldn’t use Google Voice to receive verification codes
We're all consenting adults. Python gets by just fine on this principle.
It's easy enough to check, has every other case against someone who died been dropped already? Does the DoJ have an API?
I can tell you that Leslie Moonves just sold a lot more Hoppers via the Streisand effect than a CNET Best of CES award would have.
The "Overcommit Memory" issue has bitten me in the past on production, we were running close to the wire on redis memory usage, and Redis' fork that occurs to perisist your data to disk meant that the kernel killed our main redis process.
I've been incredibly vocal about my stance on depression here on HN in the past, specifically that saying things like "man up" is absurd.

Depression, like every other disease on the planet, is not something you "man up" through. It's a disease that happens to manifest itself in the same places that personality does. To a casual, uninformed observer, depression is a choice of behavior.

It isn't. You don't get depression from weakness in the same way that you don't get cancer from weakness.

Depression also kills more people per year than cancer does.

Cancer about 20,000 -- depression about 30,000.

(Highly relevant lecture by a very brilliant neuroscientist: http://www.youtube.com/watch?v=NOAgplgTxfc)

--

That said, Ed Weissman made an inappropriate comment. Every single person here, including me, has made inappropriate comments in the past.

Let's not start the pitchforks and torches just yet, guys.

He who is without sin, and all that.
Couldn't agree more, I used ASP.NET MVC on that website to test-drive the framework. For most projects we use http://www.servicestack.net/ or my own framework http://code.google.com/p/sharpfusion/
I attempted suicide at age 17. I am very clear it was due to social and physical factors, not mental illness. I blogged about that yesterday. I doubt you care, but this accusation of "he was merely mentally ill, the way he was being treated by people doesn't matter" is something I think is pure evil and merely an excuse to say "not my problem" and cover your ass.
Monsanto versus the people
Functional Programming with Erik Meijer
The CFAA is far too big a stick to trust with federal prosecutors. Aside from the case the EFF names, it was also used to threaten geohot [1] when he first released details on the PS3 jailbreak. Sony argued that geohotz's access to his own (!) PS3 constituted unauthorized access to a protected computer and this claim survived a preliminary motion to dismiss.

1. http://www.groklaw.net/article.php?story=20110218181557455

EDIT: I do realize that geohotz's case is civil; in my opinion both the civil and criminal aspects of the statute are wrong.
You're right; his lazy, incurious dismissal of the news article didn't make Aaron kill himself. EVERYONE's lazy, incurious dismissal of the news article and the surrounding circumstances (Myself included; I am ashamed that when I read that article my {unposted} response was "not my problem, good luck dude"), taken in aggregate, made him kill himself.

Ed just has the bad luck to be the most widely upvoted person saying what a sizable majority of the readers here were thinking: "who gives a shit, man up"

Hacker culture has this incredibly harmful idea of perfect self-reliance, that makes it really hard for people to come out and ask for help. Genius ninja hacker wizards aren't supposed to cry. Brilliant wunderkind business masters aren't supposed to fail. People who are surprised that he killed himself so suddenly should remember that this wasn't sudden at all; he asked for help, and he was treated with derision and suspicion and more or less told to go fuck himself. And this is a relatively well-known and respected dude. Imagine how the average nerd/loner feels, seeing that example. "They wouldn't stand up for Aaron Swartz, why would they give a shit about me?" And the answer, every time, is "they wouldn't".

We should be better people, all of us, and this would be a really good time to start.
Having SSL termination on a single box is definitely a big plus; that's how I wanted to do it as well.

Did you miss Haproxy's web ui? Does nginx have any way of reporting if a server is down?
When do you really have a permission to fail?
And you'd never say something like that yourself, amirite?
Not allowing other code in is a bad thing. See my putty reply above.
And you sound like a drama queen. The severity was not conveyed. According to HN users in this thread, it couldn't be for whatever reasons. We didn't know the extent of the trouble. Sure, he was rude, and I don't like it when people are rude, but some people in this thread are making it sound like he pulled the fucking trigger. Give it a rest.
Really? "nothing of the sort"? That's what it seems to suggest.
Sass and Compass in Action
The Joy of Stapling
I guess I am not being clear. I totally advocate confronting con artists. I even agree that there is a moral imperative to call out con artists. I just think it can and should be done in a civil way.

I don't want to hang out at a place where people are yelling, even if they aren't yelling at me.
As you said, you have to find the fine line. In LazyPub's case you have to customize the iOS app and submit it to Apple for the client, so it is kind of a lot of work for a -potential- client not willing to even enter his/her cc.
I too disagree with a posted link, and therefore earnestly believe that it should be censored so nobody can see it.

Sincerely,
the church of scientology
Gives me confidence in going with nginx for LB.

Was the lack of a web ui (like haproxy has) ever a concern? How did you keep track of dead servers behind the LB?
On Aaron Swartz and suicide [in tech]...
SOPA is an example of a law with bi-partisan support that was blocked after technologists outside of the two-party system rallied to block it. http://en.wikipedia.org/wiki/Protests_against_SOPA_and_PIPA
Since we're playing Space Nazi, I like this better:

for (int i = 0; i < in->numVerts; i++)
{
dot = plane.Distance (in->verts[i]);
dists[i] = dot;

sides[i] =
dot < -LIGHT_CLIP_EPSILON ? SIDE_BACK :
dot > LIGHT_CLIP_EPSILON ? SIDE_FRONT : SIDE_ON;

counts[sides[i]]++;
}

Note that emacs will tab-align the table rows properly if you break the sides[i] = line after the = which is why I did it; not sure about vim.
his point is pretty clear @tptacek - he's saying that just because edw519 didnt know the facts - doesnt make it okay for him to have been a caustic douche back then.
Which we don't need, because a bunch of HN commentators handily volunteered to conduct a trial on the spot, right? Forming mobs is really what humans do best.
Aaron did something wrong [/edit: wrong in the eyes of the law: illegal, poor word choice/], something that he knew was wrong and that is an accepted fact, correct? If he did something he knew was wrong then what edw519 said is right, he should "man up" and accept the consequences, as everyone should do when they do something wrong.

The problem is what has come to light since that post was made, it has come to light that Aaron was not being held accountable for his "actions", he was being used. He was being made into an example, he was being turned into a tool to help peoples careers. This is what is important and why we should have supported him.

At the time nobody knew what he was facing, we know now and I'm sure if everyone here could go back they would support him more. Go back to the thread, forget everything you know about the case and situation and read the link (the appeal page on Aaron's website) and then the comments in the thread and form an opinion. It won't match what you're saying here because what you're thinking about now (and holding edw519 to) was not known at the time.
This isn't all that out of the ordinary. Back in 1995 I had the SS visit my family's home due to some of my childish behavior at the time. No fun, and luckily nothing ever came of it, but the SS was involved from the very beginning as far as I know. I never heard from any other law enforcement about the issue.
Agreed. Ed should bear none of the responsibility for what happened to Aaron - this was an unexpected and tragic outcome to a desperately sad situation.

But Ed and others around here do need to take responsibilty for the comments they write - they heavily influence the nature and tone of the discussions around this precious corner of the Internet and Ed was misguided to post in such black and white terms. It would be nice to hear Ed say that he called it wrongly.
It certainly gives me pause.
Highest return? Nobody invests to get the lowest return. What makes it interesting is what your risk aversion is. If you need the highest guaranteed return, you're looking at something with a very low yield and/or a very long timeframe, like a US treasury savings bond. If you want the highest possible return, you're looking at something like a lottery ticket. Between these extremes are most of the interesting investments, but the returns are not astronomical or instantaneous.
You're guessing the rock in question did fall from the sky, but that it was blasted of the Earth previously? Aren't there features of chontritic meteorites that would make it fairly easy to distinguish from an regular rock?

Given the incomplete theories on how cellular life got a start, I don't see why people think evolving on Earth is any more likely than arriving from somewhere else. More time and more planets.
Show HN: Analytics.js for Node
You are fixing the wrong thing -- let's get the results of publicly funded academic research into the public domain. That, as a goal, offers a far greater good for humanity; the potential to save far more lives; and the greatest net benefit to us all.
It does kind of suck to look back and realize that his own people turned their back on him, though. Not very hacker of us, sadly. I remember reading that article originally, and obviously looking back I wish I had taken some kind of action. Didn't have to be money, I'm sure, but something would have been better than basically rejecting his plea for help in a condescending tone.
> You can disagree with something someone does and still feel bad when they die. I don't understand why that is a contrast.

You're not reading carefully enough. The post we're discussing goes beyond disagreeing with what Aaron did. That's not the issue. The expression of contempt - "man up" - and the message that asking one's friends for help is a mistake is troubling.
The federal charges are with respect to unlawful access to JSTOR's computers, not MIT's computers. Furthermore, Aaron didn't have to "spoof" anything. JSTOR tried to ban him from their computers for activities against their terms of service. Orin Kerr's argument is that attempting to circumvent those bans to gain property is wire fraud, which there is a federal law against. So the actually the state is a party.
After just having spent a couple days wrestling with g.raphael.js, I would recommend against it. The documentation is vague and incomplete, the generated graphs are inconsistent (e.g., points placed outside of axes), simple bugs with fixes in pull requests have been sitting for months with no response...honestly it looks abandoned.
Also, maybe check out your diet and do all you can to improve it! I have strong sinus reactions to dairy that prevents me from breathing through my nose when I ingest too much of it. So I would look into reducing meat and cheese (even though I know you're a meat lover! meat.io). Worth a look: http://fanaticcook.blogspot.com/2010/07/sleep-apnea-meat-and...
Why not fix both?
Sounds like someone should implement a blame option for "ignore whitespace - show latest author with non-whitespace changes"!
Exactly. The left can see that USG is the enemy when it is setting fire to Muslim lands. The right can see that USG is the enemy when it is fining, taxing, regulating volitional behavior internally. Both can see USG as the enemy when it is doing the bidding of Hollywood and the RIAA, attacking the internet via SOPA, or bailing out Wall Street.

The job for hackers now is to develop alternatives to allow people to exit USG's sphere of influence. Whether that means emigration to other countries, or longer term projects like SpaceX and seasteading is a tactical matter. But first we need to realize that this government and its enthusiastic enforcers (including especially many of the lawyers and apologists who have brought dishonor upon themselves in these recent Swartz threads) are the problem and the source of much of the world's woes.

We might live in the US, we might live in one of USG's many colonies around the world, but this government is no longer responsive to the people and it does not deserve our custom. It's time to find alternatives.
This question really depends on your risk profile. If you were younger I'd suggest speculating with the 1k and 2k, and investing the 5k in your retirement so you can benefit from many years of compound interest. What're the constraints you're working under?
One cannot not have an opinion if he does not possess the relevant knowledge.
The product is so awesome customers can't have it! I bet they sold a lot of Hoppers today...
which is two days before his arrest.
You're just as capable of hurting people. Maybe you just pushed someone over the edge by calling them scum. Tomorrow, will I get to call you names and talk about how your comment was excessively cruel and vitriolic? Do you know if the person you just blamed and insulted is stable and can handle it?
Do you really see no correlation in the knowledge used to build a religion vs a brand? The outcome is certainly different but your leveraging very similar concepts in both activities.
A taxing talk about taxonomy
An honest appraisal? That is one way of looking at it. Another way is he threw out a giant derogatory 'Meh' to someone asking for help.

Does he bear responsibility for what happened to Aaron? No, but it is also not hard to see how the top ranked comment from a respected member didn't carry some weight in how people perceived Aaron and his situation.

The big take away here is that words matter and maybe if you don't have all 'the facts available' you can give someone the benefit of of the doubt. Or the next time you feel like making a 'meh' post, just say nothing at all.
As I said, I'm happy to assume the best here, and that you're correct.

I _do_ find the need people have to defend the indefensible (namely his original post) troubling, but I suppose it's not my problem...
Meh, can't get excited about them. The hash mechanism, plus the ability to leave out the hash braces, works perfectly well enough for me. All popular languages are doomed to accrete nonessential features until they sink under their own weight ...
I think that the important part in the eternal debate about large vs small government is missed - the real problem is fuzzy government. The one with overly broad and ill defined powers and fuzzy laws. What we need is a precise government where the functions and powers granted to the executive branch are not allowed for discretion, interpretation and overzeal.

Unlike the rights of the constitution that are universal and eternal the laws describe the here and now - so every law should have its built in expiration trigger (10-20 years) - this will ensure that the congress will act to reauthorize it if they like it so much. And because of the limited time they will be forced to triage and some insanities will just expire.
Building custom machines is hardly necessary for the "average" consumer anymore. In Dell's heyday, you could allocate your money toward the components that most-impacted your day-to-day usage. Want a bigger monitor? How about a faster processor? Don't store many pictures? No worry, no need to pay for what you won't use.

Now, for $500 the average consumer can get a computer that meets the vast majority of their needs.
Fair. I can definitely appreciate the DSL argument. Rails has a rickety enough learning curve as it is, and introducing rspec at the outset is certainly debatable.

For what it's worth, I would definitely not consider the rspec syntax in that Hartl snippet to be a particularly legible example. The code provided in another comment is a much better representation of good style, IMHO.
Why is collecting coins in games a problem?