skysight-inc/HackerNews huggingface dataset:
Let's break it down into whether it is ethical to reject based on past/present/future employers.

Present employers? Certainly. A number of business schools do this already in the selection process. If you run a gun school and a student comes to you to tell you he is using your training to rob a bank, it would be unethical to teach him. If you are doing training on hacking and you know the student will use this hacking for unethical and illegal wiretapping, it would be unethical to teach him. Again, it is fine to discriminate on what someone is doing.

Future employers? If the candidate is locked into the path - eg, he will use your training to rob a bank, then it would be unethical to teach him. However, as he has not done it yet, and people can change their minds, it would likely be ethical to teach him while also steering him towards the correct path. Ethical or not would depend on three factors: how likely you are to sway him; how much damage he would cause if you could not; and how easy it would be for him to find the training elsewhere, where he would likely not benefit at all from steering.

Past employers? This one is, unfortunately, much harder. If someone is a murderer and has not gone to jail, should you discriminate? If someone is a murderer and has gone to jail but is not repentant, should you discriminate? If he is repentant, should you discriminate? This one is difficult because it crosses the line of 'who one is' and 'what one does'. I'd say everyone will give different answers here based on a huge number of factors. It likely comes down to repentance and acknowledgment on whether what one does was wrong and believable agreement that it will not be done again.
It would be very silly to argue that Adderall is the solution for everyone with ADHD. Some people will experience negative side effects, and those people shouldn't take it. But that kind of experience is incredibly rare.

Personally, I find that Adderall in particular improves my focus, but does little to improve my willpower, so I tend to focus very effectively, but not on the things I need to focus on.
Hopefully others pick up on this fact, but this article must have been written circa-2000. The Canadian dollar hasn't been as low as .69 (mentioned in article) since at least late-2003, as far back as yahoo/google finance go. The latest references are 1999.

I'm also going to disagree with what the author says. I go to an ivy-league school, and there are two things that make all the difference: the caliber of students, and the atmosphere of hard work. Of course there are smart people at every school, as Author writes in describing Honors programs. But the concentration is just incredibly high at Ivys. Any random person you run into or work with is most likely brilliant in some way or other.

Atmosphere of hard work - Being surrounded by many high-achievers, you just can't help but push yourself to work harder, achieve more, etc. As long as you're in touch with yourself to avoid burnout, I love this atmosphere because it pushes me to accomplish more than I would were I surrounded by a bunch of people who just want to drink all day every day (of course there are those students, but they're in the minority.)

That's not to say an Ivy is always worth it. Rather, I think you can't make a blanket statement about whether it's appropriate or not. For some it will be, for some it won't be.
I actually was working on a hash-based solution first, using group_by, but I switched to using just array after seeing the Python version. I didn't really think about the time complexity of the count operation inside the sort_by operation, thanks for pointing that out.

You definitely can do a hash-based solution in a single expression in Ruby. Here's a very ugly and kludgy example that you could probably improve on if you wanted to. I don't think it's n^2 because the group_by just counts the occurrences of each word and returns a hash where the count is the key:

str.split.group_by{|w| str.split.count(w)}.sort_by{|k,v| k}.reverse.flatten.uniq.keep_if{|w| w.is_a?(String)}.take(10)

I'm also trying to work out a better way to do this using "chunk" because although hashes are fast to access, they are not fundamentally sortable, and sort_by returns a 2d array just like chunk does anyway.
(not necessarily symmetric)
You can hardly compare a glut of crappy crypto apps on some app store to the Vietnam War where it took 70,000 body bags on the nightly news (and much higher losses on the other side) to finally get the US to withdraw.

This is basically the ignorant old "NSA has so much data they won't know what to do with it" argument in a slightly different form.

My attitude is that a handful of secure apps is infinitely better than a plethora of bad ones. I'm pretty sure the NSA would prefer the latter.
Still worse, as mandated by the Australian government, won't all internet traffic eventually switch over to the new government owned/controlled FTTP and wireless infrastructure of the National Broadband Network?
YouTube Has No “Second Screen”
> Differentiation for OEMs and operators.

We all know what that means.
No, I'm pretty sure they're going for the "OMG! A lot of mega-pixels, it must be better" crowd.

Most enthusiast photographers will realize 41 MP with a tiny, tiny image sensor is going to be pointless.
You dont understand what is the purpose statement for.
Its not to describe how you make money, its to explain what your company raison d'etre is.
You don't get to pick and choose what your taxes fund; in large part, that's the whole point of taxation.

Sort of. I illegally decided to refuse to pay my taxes to the federal government, and instead payed extra taxes to my state government.

http://izbicki.me/blog/why-and-how-im-refusing-to-pay-war-ta...
>I'm just frustrated by Apple's paranoia

Paranoia?

http://thenextweb.com/insider/2013/06/26/juniper-mobile-malw...
How much were you taking?
Less code is less places to insert bugs and less to read. The majority of time spent "writing" software is actually spent reading the existing code, so "less to read" is really important. "Concise" does not mean "short"; it means "short and clear". Obviously if your short code is opaque or bug-prone then you're defeating the purpose.
I forgot to put the word legal before employers like I did upthread. I'm sorry if that changes your answer and you feel like you wasted your time, because basically what you wrote about illegal employment makes sense to me. Thanks for the thoughtful response.
I'll answer only the first and the last questions (:

Inspiration http://s23.photobucket.com/user/NRGrush/media/ZX-10R%20Custo...

not sure about cupcakes, but blueberry muffins would be my choice, I just assume you are a cupcake manufacturer and perform customer analysis.

As for the rest I should probably write a small blog post to sum up all of that. In short server is ruby on rails, client is mostly emberjs + d3js. I also post updates on StoryLine blog, so check it out, it should give you an idea on progress of things. http://blog.storyline.im/
Interesting. That's not altogether unlike how many non-profits operate today -- by way of largesse from major patrons.

"It's complicated" indeed.
Yeah, but you still have to account for the motor converting electrical to mechanical in the power output.
>If my philosophical opinions are wrong, they'll be wrong because of flaws in the structure of the theory, not simply because the judiciary or anybody else thinks otherwise.

Yes of course, but you haven't offered any justification of your philosophical opinions. Also, you weren't just offering a philosophical opinion. You said "there is no law against murder", which is at least on the face of it a factual statement regarding the law. It's clear in point 1 of this comment, for example, that you were originally trying to make a legal point and not a purely philosophical one:

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

Regarding Kant, I still don't see your point. He doesn't agree with you, and you haven't shown how his metaethical theory supports your views. So why are you referring to him?
The Linq answer is fine for an academic exercise, but it doesn't handle any of the myriad edge cases that pop up when such functionality meets a live product with actual users.

I say this as someone who has built a 'word counter' as part of a commercial product. We tried Linq, but had to abandon it due to speed issues as well the sheer number of edge cases.

"var words = s.Split(' ');"

Example edge case: Words separated by an em, en, or ordinary dash. In the first and second cases, they're two words, in the third, a single word. The basic Split by space function is insufficient for all but the most basic interpretation of a 'word'.

In terms of speed, that 20% becomes significant when you're processing millions of words, not a short Wikipedia article.

Expand the 'word counter' function to become a unique 'phrase counter' and you have to toss Linq out the window.
I'm thinking that before too long there will be WayMir and MirLand shims to let you run wayland-only programs on mir and vice-versa. Then you can run Unity in Mir in XMir through MirLand on Wayland on XWayland on WayMir on Mir on Mir (the international space station).
Rounding. The RDA is 50 grams. So oatmeal's 2g is closer to 2.5g and quinoa's 4g is closer to 3.5g. At least that'd be my guess.
Holy wtf back at you.

For calling the Politically Correct SWAT teams into innocent conversation. Can people say anything that does not annoy the PC crowds anymore?

Yes, in the real world, women drive more food purchases such as this than men. And mostly "upper middle class" women, or, to be more precise, upper middle class wannabes, buy something like balsamic.
"This is my biggest concern with the idea, which I don't see being addressed (checked the entire conversation on this post to date). I don't think having the vote and having the basic income is compatible with each other."

If you have well-enough educated, hopefully reasonable people I don't think this will become an issue. Swiss recently voted down to get more holidays (
http://www.telegraph.co.uk/news/worldnews/europe/switzerland...) and it wasn't even close of getting through. Now this of course doesn't prove anything (we also voted to ban minarets for instance, which definitely wasn't very rationally based), but it shows that people will not just take the short sighted approach only thinking of immediate rewards and instead try take the whole economic outcome into account.
This is a great build-up to making the point that the server farm is where a lot of the expense of software and its support will go. So, you'd want to be a company that could build and support server software and do great integration with every client.
Thanks, had to click 3 links before the OP story gave some insight into what had happened.
Quinoa is very expensive in India.

Indians have been using many millets like Finger Millet, Foxtail Millet, Little Millets, they are rich in proteins, gluten-free and all that.

It is only now that we are using polished white rice and have become highly vulnerable to lifestyle diseases like Diabetes.
from word in text.Split(' ')
group word by word into g
let count = g.Count()
orderby count descending
select g.Key

Under the covers when it is compiled it's turned into a select. That way it it only does N counts, not potentially N log N (for each comparison in the orderby), where N is the number of items you enumerate (so if you .Take() just 10 it doesn't really matter).
Achieving a lot when you have little would leave one to believe that having lots lets you achieve a lot. I'm some respects the US hasn't managed to achieve much at all. Is this what you mean?
that's a good idea, probably will do it in the nearest future. Thanks for the feedback
That's not at all that the PC parent meant by this.

And I don't think it's true either -- that older people are the major buyers of premium groceries. I don't see that many older people when I go into premium grocery stores -- except if by that you mean 35-50.
Probably rounding issues, maybe intentional. Food vendors are known to fudge numbers in the low digits, legally, which result in problems like this when you extrapolate.
What's your test coverage? It's usually not that hard to reach 100% if you have a decent coverage analyzer. Or even if you don't - one easy way is to never write a line of code unless you have a failing test that exercises it.

Changing a function signature is the kind of thing that tests can & should catch. You need them anyway to catch edge cases in the logic and document the code, and then once you've done that you usually get pretty good coverage for free.
empower

That's such an overused word in marketing language. Everybody wants to "empower users", "empower people", "empower customers", "empower clients". What does that even mean anymore? Are we the downtrodden and unwashed without their "family of devices"? Marketing language in itself is something that really grates my nerves, but "empower" is the worst.
Forking is a godsend for using patched versions of inactive user's repos.

In my case, an owner of a library was inactive. I noticed other users had fixed issues I was having, so I pointed my gem file at their repo temporarily until the owner of the root repo finally got back.
At least nouveau is not yet feature-complete. For example, it cannot handle multiple screens, which means you cannot attach a beamer to your laptop.
Joy of Tech on Steve Ballmer's memo
So there's going to be a bunch of carrier crapware, Amazon search results and ads, and no doubt the instability that Ubuntu is known for. No Java/Dalvik, just QML, HTML5 and QT.

I'd rather go with Jolla for a hacker's phone, or just stick to Android. Ubuntu's been dropping the ball alot lately, and their phone project looks DOA...
From reading the grandparent:

"subsistence farmers are net consumers of their staple crop. In order to survive, the poor diversify across a variety of agricultural products"

I don't understand the downvotes for the parent. They are growing other products, or have cash from other activities, and use this to buy the staple they can't grow. If price of staple rises and price of other products and services does not, they can't afford to do this. The beneficiaries are large industrial farmers of the staple. Did I miss something?
How Microsoft is using live data to redefine the Office 'document'
You're right... fixed
In C# that could be:

return new Swimmer("foo")
{ Style = "butterfly"}
.swim();

It is unidiomatic to have Swimmer.swim return 'this', though.

var result = new Swimmer("foo")
{ Style = "butterfly"};
result.swim();
return result;
I have 0.01 as much of a problem with this proposition as with your previous one. That is an excellent heuristic for most people to use.
I think Nokia phones are more "sturdy", exemplified by its cheap phones that just won't break. Apple is more meticulous I'd say. I have a Lumia 920. There are just tiny little seams and creaks that one wouldn't find on an iPhone.
Send your Instagram photos by snailmail to friends and family
Same here. Another option is to offer an option to end/cancel the tutorial next to the "Next" button.
This makes me wonder if software could help. Clippy says "You seem distracted, shouldn't you get back on point?"

(I recognize this comment is unlikely to be helpful, but I'm curious about the state of the art.)
Correlation + plausible based on your knowledge of the world implies causation (obviously to the appropriate degree).

It's the flip-side of extraordinary claims require extraordinary evidence.

Facebook driving Greek debt is implausible and two vaguely shaped curves aren't enough. A formula that predicts to many decimal places over a fair period, prospectively, would be really weird but hard to ignore.

Spanish debt, gold prices or something related on the other hand, would require proportionately less evidence for causation.

This disturbs people because it implies you can get stuck in a pathological view of the world and statistics and evidence won't get you out. Sorry about that.

Edit: And this is pretty the Bayesian Approach. It's just that Bayesian Statistics and Pearl arguments, are themselves just models of the world. You can have others but, even more, you need more of an arguments than "stuff that seems implausible needs more evidence" and all of the more elaborate stuff is going to be specific to a given situation and thus might be applicable to a different one.
If they are really interested in creating amazing products evidently they're working for the wrong company.
I’m reading it now; it is fascinating, because the idea that it’s possible to measure intelligence and used it to predict probabilities for individual and group outcomes is one of the most useful, strongest-supported ideas in all of the social sciences, yet many people either misunderstand the state of scientific consensus (“IQ doesn’t really measure anything, intelligence tests are largely bogus”) or actively try to deny that this is possible for political purposes (“many people are disadvantaged because of low socioeconomic status, but we can equalize everything with more government spending“). Understanding something other people don’t should allow you to gain an economic advantage somehow; there should be sort of arbitrage opportunities to profit from the knowledge differential. For example, many people think having a four-year college degree adds x amount of value because the average college graduate earns y more dollars over their lifetime than the average non-college graduate, and this means that everyone should go to college. But if you understand that a large part of x actually comes from the inherent value in being intelligent, and a large part of the reason students of top universities make better workers is that they were really smart even in high school, not necessarily because a university education is worth what students are paying, perhaps instead of hiring only from top universities, you can hire students straight out of high school based on their SAT scores (yes, the SAT measures intelligence) and train them yourself? Universities use a multitude of signals when deciding who to admit (test scores, essays, reference letters, extracurriculars), so in addition to trying to determine intelligence, they’re also trying to determine other character traits, but The Bell Curve (at least I think this is where I read it) presents some data related to job hiring that shows intelligence is the trait that’s most measurable and provides the most predictive power.
Yes. It's a social critique style comment.

It doesn't have to represent the 100% of the consumers of such products. Just the majority.

And by the unwritten rules of how we talk about such things (in essays and such), they don't even have to be "moms of the PTA" literally. It's enough to be "moms of the PTA"-like, ie. ascribing to belong (and exhibit) the same kind of social characteristics (class, sophistication, etc) as "moms of the PTA".
Five-dimensional glass memory can store 360TB per disc, lasts years
When you're dealing with real-world systems you're always dealing with "probably work with some known probability". The hardware might burn out, or someone might trip over the cable, or a cosmic ray might randomly flip a bit and make your program go haywire. A proven-correct program doesn't help when you can't trust the physical infrastructure it runs on.

Instead, you need to figure out what level of reliability you require and then work out a strategy to get there. Static-checking can be one element of this strategy, since you can use it to eliminate whole classes of bugs. But I've usually found that architectural solutions like canaries, automatic restarts, feature disablement, fallback codepaths, etc. are more effective at reducing errors per programmer-hour spent on them, and when you have those the reliability thresholds for the actual code you write can be much looser. (You probably still want to verify the hell out of the framework code that implements these architectural mechanisms, though.)
Maybe nobody cared because nobody figured they'd be able to retain the data they captured forever, or that eventually governments would acquire enough processing bandwidth to use the captured data in near realtime.

In the age of social media, we do the public outrage thing a lot better these days, too.
They really should. If a bunch of ex-Nokia employees can form Jolla, and not only create a device but create as much interest as they have for it, I don't see what's stopping Ubuntu.

It's fairly easy these days to get a Chinese company to assemble any type of hardware for you, if you can commit do a decent sized order...
That's not entirely accurate; the publishers already knew windowing was stupid and a short term measure. Not every publisher was using windowing. You can read about it on page 25 of the Judje's report.
Nobody cared then and nobody cares now, except for a few IT geeks.

In a 15 - 20 years from now the whole lot will have been mostly forgotten and accepted as normal.

There and more important things in the politics such as gay marriage and immigration. Try watching CNN or Fox News and ignoring technical sites. The politicians want votes, they couldn't give a shit about your privacy.

Australia and the US have been keeping call records (number called and time) for well over 20 years. I don't see how any of this is new(s).

Pine Gap is in Australia not New Zealand, not that anyone really cares. :)

And for the tedious people that want sources;
Look up how General Patreus got busted with his gmail.
Look up the Tampa incident and see how Australia listened into the telephone calls between the boat and Norway(or some such country).
There are loads of incidents that spell this shit out but I need sleep and most people would rather watch a speech from Obama/Bush/Palin/Trump than learn what their government is really doing.
Not to mention that we haven't seen so much blatant abuse of power then.
Difference Between Visual Art and Graphic Design
Establishing connection with the media is essential
What's worse is that they don't even have to do it. They wanted to do this:

http://paranoia.dubfire.net/2010/09/calea-and-encryption.htm...
"One Microsoft: Company realigns to enable surveillance at greater speed, efficiency"
Telstra storing data on behalf of US government
Not bad. I think it would be a little simpler and faster with:

while (cin >> s) M[s]++;
for (map<string,int>::iterator i = M.begin(); i != M.end(); i++) {
S.insert(make_pair(i->second, i->first));
}

But maybe there's a downside to that approach that isn't obvious to me?
Gene therapy trial 'cures children'
I felt the same way, and in the last few years growing up has done much to shift my brain to the next gear. Once I knew what concentration felt like I was able to recreate that feeling and focus. No medication involved.
We were all waiting for you to step up.
Unlike printers, every typewriter had its own individual typing pattern which made it possible to link every document to a particular machine, Izvestiya said.

I thought printouts could also be traced back to individual printers? Leaks didn't start with printers. Just ask people who leaked during the Cold War and even long before then. Leaks go as far back as when text was used for communicating confidential information. Going back to typewriters isn't going to put an end to leaks, especially when leaks having occurring since long before the digital age.
How to fail in a Drupal project: Fixed price contracts
There's also Threema http://threema.ch using NaCl for their crypto (open source). It works on iOS and Android and has a very good UI. Encryption can be verified, for those who care: http://threema.ch/validation/

(I'm not affiliated, I just really like the product and it's the first one I was able to convince family and friends to use)
Because it spoils the interviewers ability to feel smug.