skysight-inc/HackerNews huggingface dataset:
If the reply link is missing on a comment (it does that after the comments get to a certain depth of nesting) then click on the comment's "link" and you'll get a text box you can reply into.
The same goes for a lot of stats about America. But who notices Israel's massive per capita tech industry?
Perhaps a start would be not naming months after dead early roman emperors
I believe Java, PHP and C++ are the most common platforms for sites built between 10 and 5 years ago, with the exception of Douban.com (where I work) which is Python.

There is a lot of scaling issues and challenges, and some discussion about it during tech conferences. I attended a QCON in Beijing last years and half of the talks where about just that. If you have more precise question you can PM me.
I found it helps clear up your naming habits and avoid short names, which are a major source of opaqueness in code.
Heroic Women
Wouldn't a websocket middleware solve the issue? Client starts a socket and passes the id through HTTP to the Django app. When something happens in Django, the event is piped through the previously created socket and the problem is neatly solved. Could even have some sophisticated publish/subscribe mechanics in here.
yes, china's growth is in large part a brute-force effect. because it encapsulates growth, the size of the economy, and our existing knowledge (i.e. korea and japan are waaay smaller than china), this (d3) graph

http://www.nytimes.com/interactive/2013/04/08/business/globa...

summarizes the situation better than any of the one-dimensional stats from the article.
Only if you consider 17 cases in the past year "massive" and no cases in the last 3 months.

http://www.polioeradication.org/Dataandmonitoring/Poliothisw...
I'd argue that that's a feature. You're asking for decreased code comprehension and bugs when you start using identical variable names everywhere.

I have noticed a lot of "Issues" in the CoffeeScript repo from angry hackers that were mad that CoffeeScript forces them to code with some modicum of responsibility (no drop-throughs in switch statements, no var shadowing, etc.). Doesn't make sense to me why people would blast JavaScript for letting you do stupid shit then get butthurt when a solution takes those same problems away.
That would be true if there wasn't a very vocal swath of developers that won't even use a CS project out of prejudice, much less contribute to it. I don't know why that religious war came to exist, but it's the unfortunate reality.
> it assigns characteristics based on race alone.

By that standard, saying that black people have dark skin is racist. I could say all sorts of things about different racial groups that nobody would find offensive except guilty white people who know nothing of real class struggle.

You don't mess with a black girl's hair. Asians are more family-oriented than most. White people tend to be higher-minded in ways that often look out of touch. Latin culture idolizes a certain ideal of the strong male patriarch. Africans are extremely practical.

These statements are uncontroversial and I discovered them through direct interaction with the cultures in question. It's once you start organizing these observations into a racial narrative that purports to explain why one race is 'better' than another that your motivations become suspect.
No one sta[r]ts a company with the intention of creating jobs.

Sure they do. Many founders would like their companies to pay them at least a working wage.
Fair enough, however, when I reread the post it says:

"They use a trove of data generated by Gallup, a polling firm, from its World Poll. Gallup asked respondents around the world to imagine a "satisfaction ladder" in which the top step represents a respondent's best possible life. Those being polled are then asked where on the ladder they stand (from zero to a maximum of 10), and how much they earn."

Not quite the same thing I said, but it still introduces a bias. The people are asked to first imagine what a "10" -- that is, their ideal, imagined happiness -- before rating their happiness. It is essentially still the same mechanic, imagining a happiness before putting your "actual" happiness against that scale.
Is it correct to class this as malware? I get that the portmanteau is "malicious software" and hijacking your Google search results isn't the friendliest thing to do but I think this is closer to "adware" than "malware".

Although the author seems like a bit of a di- ...fficult person, maybe we should coin the term "dickware" to cover this sort of software.

EDIT: I missed the keylogging bit, thanks to everybody that pointed it out. Adware + Spyware = Malware.
Internet Activists, Aaron Swartz's Life, and 'The Day We Fight Back'
C and Java also have a similar syntax.

Most of the Self people were Smalltalk people before, so you could see Self as being heavily inspired by Smalltalk in its syntax and image-based persistence. However Squeak is still Smalltalk while Self is a full successor language (you could say Morphic was backported from Self back to Smalltalk).
To me, the problem of free riders is irrelevant if you end up spending less on quality software; hopefully others will step up and help pay for improvements but it seems unlikely that this will become an issue that significantly tilts the competitive balance.
With one billion brain interested, he can still train 50 million (actual retention numbers are closer to 5%) new people every semester. That’s still a lot more than the Ivy league.

As to Friedman… Well, this is HN, a polite society, so let me skip that part.
Target Confirms Point-of-Sale Malware Was Used in Attack
What's the point of writing code in a functional way to end up with something that is completely unreadable?

I'd rather have code written in simple, well factored functions and classes and easy to reason about, than having to deal with such a mess of functional code.

Don't get me wrong, functional code can be very elegant and clear, but the example provided here is a huge turn off to me.
> ... where all sites that collect or retain data on me, must register ...

Aaaand we're done. They don't. Anyone can break the rule at any point.

If it was a service making those operations easier in any way - great. If it was making them more transparent - great. But if you're big enough to need to handle complex data storage cases, you probably don't want to send people to a 3rd party so they can change their preferences.

It's also a gold mine for people who hack accounts. Get one password, login to this service - get a complete list of services the user registered to. (and most likely to which the user set the same password)

Sorry - as a user, I'd probably like it, but I don't think it provides much, without a buy-in from a lot of service providers and some reason why they'd want to do it...
Nothing happens on mobile safari, looks like the button is not clickable?
I didn't explain what I meant very well.

What I had in mind was that for a white English speaker, the 'black' names would probably sound foreign and unfamiliar, but non-English names from white countries (e.g. Norway, Iceland, Sweden) would also sound foreign and unfamiliar.

The question I was curious to answer was, are the people who are assessing resumes responding to an impulse (conscious or unconscious) of:

- "hmm, that name sounds black" or

- "hmm, that name sounds unfamiliar and foreign"?

With the former, it sounds like racism, with the latter, it sounds like generic suspicion of foreigners, concern about English communication ability, etc.

Maybe it's an academic point because in a US context, there are probably more people with "American Black" names that sound unfamiliar to white, English-speaking Americans, than there are Norwegians or Icelanders with similarly unfamiliar names.
Kinda strange how your pretentious sarcasm is completely wrong and ignorant. Red states have a large voting base that votes Democrat. They're among the poorest groups in America.

http://themonkeycage.org/2012/11/14/richer-people-continue-t...
I notice the authors don't actually talk about accuracy. It's 1,000x faster, but what is gained or lost in terms of accuracy?

We can build a spelling corrector which is accurate most of the time and much faster than the Faroo implementation:

def corrections_for(word)
return [word]
end

P.S. I added a gist here with some reformatting because I found it hard to read the code on the author's site:

https://gist.github.com/fj/8393399

The raw source is here:

https://gist.github.com/fj/8393399/raw/7d4acd14db21dd0c7d802...
Startup idea: comment litigation insurance.
Yeah, but as opposed to data corruption, your data will throw an error when you try to read it. It's just a different failure mode. In production, SSDs will often accept a write, take a sync/flush (acknowledge they've been written to durable storage), and when reading them back, they will not return the same data that was previously written out to them.

Mirroring is also part of ZFS, but it's not ZFS magic. My preference is the Dynamo / Hadoop / layered approach in which the application is aware of multiple underlying storage devices, and is written in a way that's defensible to underlying device failure.
I doubt they would feel sad about their technology being adopted by a mainstream language used by millions of developers vs. a research experimental language that many outside of research haven't even heard of before.
The more interesting blog post that actually describes the algorithm is here: http://blog.faroo.com/2012/06/07/improved-edit-distance-base...
After reading the FB blog post, it seems like this article is somewhat misleading. Yes, Facebook is removing "Sponsored Stories", but only because all ads will now include social context; in essence, all ads will become types of "Sponsored Stories."

It's only pro privacy because users will be able to opt out of allowing companies to use their likeness in ads. But really, what this really means is that all Facebook advertisements are going to be what "Sponsored Stories" were. No controversial features are being removed, they're being actively pushed by Facebook.
If this were a Federal case rather than a state case, then Hadeed's lawyers could fulfill that role. It is quite common in civil cases for the lawyers for each party to be given access to confidential information of the other party, and they have a legal and ethical obligation to keep it confidential. That includes not sharing it with their client.

If the lawyers see that the reviewers were actually customers, and so a defamation suit against them is not justified on the available evidence, the lawyers would have an obligation under Rule 11(b) of the Federal Rules of Civil Procedure to not proceed.

Rule 11(b) says:

-------------

Representations to the Court. By presenting to the court a pleading, written motion, or other paper—whether by signing, filing, submitting, or later advocating it—an attorney or unrepresented party certifies that to the best of the person’s knowledge, information, and belief, formed after an inquiry reasonable under the circumstances:

(1) it is not being presented for any improper purpose, such as to harass, cause unnecessary delay, or needlessly increase the cost of litigation;

(2) the claims, defenses, and other legal contentions are warranted by existing law or by a nonfrivolous argument for extending, modifying, or reversing existing law or for establishing new law;

(3) the factual contentions have evidentiary support or, if specifically so identified, will likely have evidentiary support after a reasonable opportunity for further investigation or discovery; and

(4) the denials of factual contentions are warranted on the evidence or, if specifically so identified, are reasonably based on belief or a lack of information.

-------------

Lawyers take great care to follow 11(b).
Wow, I had noticed the clickjacking of my Google result links (to ecolink) but had no idea who/what was doing it. Very glad this mystery is finally solved! Thanks for posting this.
Presumably some of that effort is responsible for the JVM begin chosen to host other languages.
Show HN: Chrome Extension to Download Your Play Store Reviews
Ask HN: Would you reach out to the competition?
Pardon the deliberately vague post. This is about two teams with very complementary skills that are tackling the same problem and are at a very early stage. One team knows about the other and is considering whether and how to approach them for a possible team merge.

We are working on a product that takes a lot of passion to put to market because there isn't a successful precedent out there that it will work. It takes a lot of attempts at translating real world processes to the web but it will remove a tremendous amount of friction and add a ton of value if we get it right. Others have done tangential products and failed in the past, so no slam dunk by any means. I've recently discovered another team that is seemingly trying to solve the same problem. I think they are approaching things wrong from a strategy standpoint, but they may eventually learn better. Both of our teams are at a really early stage. Both teams have worked on the idea for more than a year and both of us are in Beta. They are in private, we less so. I think my team has a better brand, better traction, and a product-market fit somewhat established already because of that. The interesting part is that if combined, our teams have perfectly complementary skills and we are about to be living within an hour of each-other. The other team has also slowed down their promotions for some reason and is either redoing their product or giving up soon. So I started wondering: Should we combine efforts to solve this massive problem? Should I reach out to them? How would you do that? Would you even do it? It would be a very risky proposition and it would be a difficult conversation, because any information exchanged could be used against either of us. At the same time, I think if combined the joint team (of three founders) would be unstoppable. What would you do? How would you protect both teams?

P.S.(Please, don't seek out the other team.)
just want to drop another vote against against significant whitespace...

i find it slows down my coding because rather than coding & then quickly tidying i instead have to obsess over this tidying at every step or the code won't work in the first place. I find it more efficient to do the code grouping as a "post-POC" task (or when things are starting to look confusing) and to leave the visual look to my discretion. I feel like whitespace languages are kindof subliminally forcing you toward 1 code style. There are some complex functions that look better to me certain ways -- specifically in cases where a group of commands are essentially executing one simple function. Once they work they can be forgotten & the programmer can de-emphasize them in some way according to taste

anyway, I am not a CoffeeScript guy. I've been avoiding it and waiting for Dart or something like that to take hold, since I'd like to see some serious language benefits if I'm going to have to introduce a compilation step. It's one of those things I remain slightly bitter about because some shops judge you for not being into it (as well as Sass, Haml) even though they offer negligible benefits for many projects. That said, I can imagine cases where CoffeeScript would offer significant benefits (they are right there in the tutorials) but I haven't really found those types of situations too much in the wild (tons of array math etc.), and if so they can often be simplified via jQuery or the like anyway.

So yea if it works for you, great, but I am glad whitespace syntax is not de-facto in the js world. I think js should remain as Java is -- other languages can be built on top of it with their own syntax types but developers still have the choice to ignore these supposed advancements & cherry-pick the ones they like (in my case progress in pure js + Dart will be where i focus my learning).
Also relevant: a big question is how CoffeeScript is going to deal with ES6 and the overlapping syntax between ES6 and CS, which may involve breaking backwards compatibility or leaving out ES6 features.

https://news.ycombinator.com/item?id=6078969

jashkenas > So in general, what I'd like to see mainline CoffeeScript do, is adopt useful ES6, ES7, and ES8 features, as soon as they land in enough platforms/browsers to be widely useful (yield may be at this point already, or very soon), and to continue to try and find a pleasing minimalist syntax for writing and reading them. If this means taking the ES* syntax wholesale, that's fine. If it means minting a new (and hopefully, but arguably, nicer) syntax, that's fine too. And if it means breaking backwards compatibility, that's also alright, as the compiled lowest-common-denominator JS output will still be perfectly compatible with the new stuff.
As for how companies work in the meantime, there are packages out there that can do the basics; in the CAD space, I've been able to achieve a fair bit with OpenSCAD, believe it or not. I chose this package because it feels more like programming shapes than drawing them with a mouse, but I wish that it had more features. As for requirements and bug patches, there are already companies out there using business models that are some variant of having "customers" pay specifically for features they want and also pay to expedite patches for bugs that affect them.
There is other evidence, though. For instance, C# is currently #5 on the TIOBE programming index [0].

[0]: http://www.tiobe.com/index.php/content/paperinfo/tpci/index....
Anyone who has maintained Makefiles will have a strong opinion on semantic whitespace.

Maybe not opinion, but reaction. Generally involving visceral fear or anger.

It's not that it's always bad, every hour of every day. It's that one time, at 1am, when you shouldn't be working but you are, something doesn't behave properly, and it turns out Bob the Intern re-indented a block of code to use tabs instead of spaces[1], but you couldn't see it because your editor is configured to use four spaces per tab and your coding standards dictate four spaces per level of scope.

[1] Why are you using spaces anyway, you complete and utter savage?
OK 50 million. Friedman still stands corrected. (Me too, but at least my percentages are within the same order of magnitude.)
It also keylogs your key strokes in the browser. Sounds a bit like malware to me.
That's not legal in CoffeeScript either. I just tried it on the CS website and got the message "ERROR ON LINE 1: UNEXPECTED POST_IF".
This is a trite and stupid meme that needs to die. Let's look at Alabama, for example. You see those darkest counties? They overwhelmingly vote for Democrats at the national level. The same is true for Mississippi and other southern states. (I'd have to look at data for outside the region since I'm less acquainted with the politics & demographics of other parts of the country.)

Now click the other map that shows absolute numbers of people living below the poverty line and you will find the majority of people in poverty live in either so-called blue states or Democrat strongholds within "red" states.

Now crawl back to Reddit with your sanctimonious and paternalistic drivel.
It's inserting fake search results and running a keystroke monitor. To me this isn't even a close call; of course it's malware. I would also say that any developer who would do this simply can't be trusted; if he will do this, he might do just about anything else. He doesn't seem to have any regard for others.
He said it was capturing keystrokes... so most definitely malware. In fact, is this not "Spyware" ??
I'm kind of uncomfortable with the degree of hagiography surrounding Aaron Swartz these days.
Well, take--for example--the number of degrees awarded: do those students know anything of actual value? Are they able to solve problems, or did they just get a piece of paper?
Well. According to Ugly duckling theorem[0], any classification algorithm is biased. It's not about finding an unbiased system, it's about which side should be preferred by the system. Specific to the discussion about network surveillance, it's about which group of people should be protected: The mass majority or the minor elite/politicians.

If we have limited resources to control speech, I would argue that those resources should be mainly used on to government/politicians. Because they have much more power over the others.

Piracy, drugs, child porn, online gambling, blocking these things online is supposedly by the people through direct or indirect votes. (NOTE: I'm not talking about the facts in the U.S. or any country. I'm talking about how things should work.) The things blocked in China, on the other hand, are only decided by the government, not the people.

> In either case you need enough staff to monitor for such illegal content.

Until there's a clear definition of "illegal". As I mentioned, Chinese government can shutdown any website at their will, without any warranty. No need to say that the government is not voted by the people, which by itself is illegal.

0. http://en.wikipedia.org/wiki/Ugly_duckling_theorem

EDIT 1: add another graph to clarify my point.
Excuse me? Do you know how close we are to eradicating polio? Eradication. Nobody will ever die or suffer from polio again, forever. This will save millions of lives over the years, more people than Bin Laden could ever kill. We are so close to this goal, and to put it in danger just because we have a grudge against someone is beyond irresponsible.

http://www.polioeradication.org

372 cases last year.
Did you read the flaws section?
The Economist article actually conflates two happiness metrics, happiness as measured by emotional well-being and happiness as measured by life evaluation. Money buys happiness as measured by emotional well-being up to a point (that point being $75K for US residents), but higher income continues to increase life evaluation.

More details can be found in Daniel Kahneman's 2010 study, "High income improves evaluation of life but not emotional well-being"(http://www.pnas.org/content/107/38/16489.full), where he uses the results of 450,000 Gallup poll responses to analyze the effects of income on both happiness metrics.

Kahneman defines emotional well-being as "the emotional quality of an individual's everyday experience—the frequency and intensity of experiences of joy, stress, sadness, anger, and affection that make one's life pleasant or unpleasant." Life evaluation, on the other hand, refers to the thoughts that people have about their life when they think about it."

In the study, emotional well-being is captured via series of yes/no questions of the form "Did you experience a lot of stress yesterday?" or "Did you smile or laugh a lot yesterday?" The goal is to assess their emotional well-being on the previous day. Life evaluation is measured by asking respondents to rate their lives on a ladder scale from 0-10, where 0 is “the worst possible life for you” and 10 is “the best possible life for you.”

The data showed that for individuals earning below $75K, logarithmic increases in income (i.e. doubling one's income) positively correlate with scores for happiness, enjoyment, and smiling and negatively correlate with scores for sadness, worry, and stress. At $75K, you have enough to pay life's bills and still have discretionary money to go out and spend time with friends. The effects of income on emotional measures saturate at $75K because money no longer becomes the limiting resource for achieving more happiness, even though life satisfaction continues to rise when plotted against log income. "We conclude that high income buys life satisfaction but not happiness, and that low income is associated both with low life evaluation and low emotional well-being," Kahneman writes.
"Architect": Someone whose paygrade is above that of "Senior Developer / DBA / etc."

They did not know what other title category to give me ;)
That might be new. We definitely had a bug in earlier versions of Trello due to that, so it stuck out in my mind as one of the places that Python did it better.