skysight-inc/HackerNews huggingface dataset:
Not really what you are after but the first thing I do with a windows machine is to install cygwin to make it usable. It sports a nice terminal and then you can ssh from it.

Also I've developed a win32 program on windows and since I'm used to the UNIX way of doing things.

So why not. I wouldn't use it for a server if I've needed node.js I'd spin up an additional VPS.
"For starters, you're assuming that the US government and it's intelligence agencies always understand the actual consequences of their actions and are always successful"

I didn't assume that at all.

In fact, I'd agree with that assessment.

But the purpose of US involvement in the M/E is not to 'destabilize' - it's the opposite.

Even out of pure self-interest - the US gains from a stable M/E not a 'unstable one'.

If you were Exxon - would you rather a stable political regime with which you do business? Or one that is changing all the time - wherein it's so dangerous oil deals are impossible?

Do you know how many deals US Oil companies got in Iraq?

ZERO. Nada.

100% of Iraqi Oil is extracted, and exported by local entities - and European, Russian and Chinese companies.

The US got nothing out of it - granted - some Oil 'services' companies got some decent contracts.

It's contrarian and unjustified to indicate that the US wants to engender instability in the region.

"I'm no ME expert but your understanding of the history of these nations is incredibly shallow. "

Save your ad hominem for Huffpo :)

"The powerless are not the cause of the world's problems."

The US is not the creator of terrorists.

Terrorists (and their ideologies) are the cause of terrorism. Some of them are powerless, some of them are not.

The Middle East is rife with natural resources, it's 100% their own fault, collectively, that the ME is mostly a craphole (despite some pretty nice things) and so many of them want to leave for Europe and North America.
Testing React Applications with Jest
Your code is not the same as my code and you're probably new to C++. I suggest trying two changes:

1) Replace max("a", "b") with max("b", "a"). Run it, look closely at the result, and be enlightened.

2) Replace max("a", "b") with max<string>("a", "b"). Run it, look at the result, and be enlightened in a different way.

As a small hint, your code invokes unspecified behavior, while my code invokes undefined behavior.

If this exercise doesn't put the fear of C++ into you, then I don't know what will :-)
I've not read any explanation as to why it is that way, only that it is. Such is life.
Are you an employee (W-2) or contractor (1099)? In the latter case there is an expectation that you have multiple "clients". In either case, if this happened to me I would talk (as in, in your next 1:1 meeting or phone call), not by email, to communicate that at this point I need to keep my options open but if that ends up happening then it sounds great -- and also my hourly rate at that point will change to $(22 + X).
WordPress 4.7.2 Security Release
Why is it surprising that nootropics exist? Half the good people in tech are on them. And there's nothing fucking wrong with that. "My body, my choice", as the slogan goes.
No, cancer does not have standardized treatments. The remission rates vary greatly depending on the hospital and even on the doctor.
That may be true but the message from grep shows that $! wasn't expanded by the execution evironment.

BTW i get

# Print "hello world".
# Hint: There are many ways to print text on
# the command line, one way is with the 'echo'
# command.
#
# Try it below and good luck!
#
bash(0)> printf "hello world"
Internal Server Error
bash(️)>
The foundation of a more secure web: Google Trust Services
I just completed the first version last month for an art show. I'm preparing docs to share for it now.
Ever since I discovered the last ingredient to reverse engineer the Big Mac, (the magic sauce [0]), I haven't returned to a McDonald's...

Now, from time to time, I just do "Big Mac parties" with friends and family, and with €12 ($13) I can get the ingredients for 5 homemade "McMenus"... You can't beat that even with all the automation of the world. xD

[0] http://www.tesco.com/groceries/product/details/?id=292462714
This is a fantastic idea! Can't wait for it to go live :)
Novartis, mentioned in the article would be one. Companies that partner with those like Novartis would be some more. The needs would be both "data-ish," running databases and studies, as well as medical device control software. Lots of breadth and depth, start looking around.

Follow press releases from company to mentioned company would be one way to start looking.

Another way would be to ask the FDA: https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn...

Searching in that form for "immunology" in the Panel field yields 500 results, and lots of companies.

That link also points to other databases.
True that. More of an annoyance then with my phone lighting up with an SMS notification that I didn't need. Reminded me to disable SMS 2FA and stick with the authenticator app.
Meanwhile every single one of the 9/11 hijackers would be allowed by Trump to enter the USA.

Decent people in the world are simply more likely to boycott the US as a result of xenophobic "America First" actions like this[1]. As you said, it's the USA's loss; the world is a big place.

[1] On top of the already established bullshit, described in threads like this:

https://news.ycombinator.com/item?id=13453189
It's an off application transaction.

The kid's parent or an agent (e.g. alumni donor) calls admissions to endorse or negotiate. This happens even if your parents are "famous" and you check the [x] for legacy applicant because the admissions team is screening tens of thousands of applicants.
What makes Rails a framework worth learning in 2017?
> Temporary ban on immigration [...] I have never been more hopeful about the future!

I was curious about you -there are not many that support your positions in HN- and I checked your past comments. You seem to be an immigrant too, as you define yourself as a "Valley startup expat". If that's the case, how can you support a ban on immigration -even if it's temporary- being an immigrant yourself? Don't get offended, I'm genuinely curious.
yea that's not good advice, but "don't rely on overstuffed dashboards" is good advice.

you should only have simple dashboards (and alerting) for KPIs and end to end checks. Everything else should be instrumented and debugged using a real time sorting and slicing tool, esp if you have a complex system (microservices, distributed system, polygot persistence).
Tech Gardens in Boulder: Leadership and Authenticity
They are some sort of magical wolverine regeneration source. When you have a fertilized egg the first thing it does is start multiplying. But once you have a little cluster of cells they start making decisions (using bits of DNA to communicate) about what they should turn into - a skin cell, a bone cell, a brain cell or whatever. The trick with stem cells is to harvest them and keep them on ice just before they start making decisions. Then you transplant them into an injured body and they're all like 'hey ho, looks like I'm surrounded by nerve cells here so I'm gonna be a nerve cell too' (if you injected them into a spinal column) or 'woot, looks like I'm in a community of liver cells, I'm gonna turn myself into a liver cell' etc. etc.

The biggest problem is that you'd like a whole tank of stem cells that you could dip some injured person into and have them come out fully repaired, but getting stem cells to multiply without turning into anything in particular is a challenge so we have to cultivate them in very small quantities and it's relatively slow and expensive to do that.

I'll have a pilsener, please.
Let's please not comment like this here.
Use GitHub to authorise access to your server
Other than amphetamines and caffiene, what would these 'half of tech'be on?
In the context of formal tournaments, people would likely be more accepting if there were separate competition classes.
I'm not sure it would be reasonable. To do that without deanonymising people would be an awful lot of work, and at the end if it lead to faster results, that would seem to be ripe for timing attacks to I.e. Figure out if anyone is browsing stonewall.org on your LAN
The one moral problem I might have with procuring stem cells from newborn infants (and it's not religious), is they get it from the placental cord - and new research shows that leaving the placental cord on the baby until it falls off is the best practice. You can lose valuable blood by cutting it off.
Thank you for giving such a comprehensive answer.
Not so. Where do you get the idea the homeless people don't have phones? Also, you obviously don't go to many public libraries.
That's easy to apply to a common-sense law like "Don't cut other people's limbs off without their permission".

It's not so easy to apply to a law written in terms of concepts like "two employees of the same company", because "company" is itself something that only exists as a legal construct and "employee" already has a specific legal meaning that's significantly different from its common-sense one.
For a more in-depth analysis of these kinds of effects, see:

http://web.stanford.edu/~skatti/pubs/usenix13-copysets.pdf

The authors basically try to determine "if all data is replicated to N nodes, how can we minimize the probability of data loss when a random N nodes go down at once?" There are some really interesting tradeoffs that arise in the process of answering that question.
It’s not about percentages, it’s about numbers. We don’t actually go out of our way to support it on pages and we don’t tell other departments to test in it, but if you’re building a pattern library it makes sense to do the hard work up front. In terms of graceful degradation, yep. In our current patterns project we’ve dropped all JS for IE7 beyond the HTML5shim.

Our support schedule is at https://www.gov.uk/service-manual/technology/designing-for-d...
The "Subject 1" and "Subject 2" sections of the paper both speak of persistent malignancy in bone marrow.
> I just said that some plants are among the most nutrient dense foods available.

To be honest, that's not what you said. You clearly stated that the most nutrient rich foods are plants, which is false.

> "Plants" covers a diverse group of foods, some of which are the most nutrient rich available to us.
Modafinil and nicotine. Cocaine too, I imagine, although that's more a sales guy thing.
Scientists use stem cells to create human/pig chimera embryos
The pendulum swings both ways, and right now it is swinging faster and harder than ever before in this country. When it swings back, in a tsunami of the unrelenting rage and profound hatred for the other side, there will be blood. That is the future.
It's interesting. I was just consulting with a new doctor yesterday about my back pain. We went off on a tangent and he was telling me he knee was so bad with cartilage damage that it would hurt for over a month, leaving him limping, after attempting to run or play sports. He did some stem cell injections in his knee and it's all better now. Not sure how long ago he did that.

It's really cool technology. I can't wait to see where it goes in the next few years!
Give Me a MySQL and Make It Snappy
Unless we're talking about different things, cache manifest is an HTML 5 feature designed to enable websites to work offline. That's quite different from HTTP-level caching, which would be applicable to any files/resources and designed primarily with performance and bandwidth savings in mind. I might be unaware of some relevant HTTP 2 features, though.
There's party affiliation in some local elections, but the elections themselves are not necessarily expensive.
> I find C++ today to be far simpler, more expressive

That is logically impossible, since it hasn't removed anything.

The myopic mantra "just don't use what you don't like" breaks down as soon as you work in a team, where you don't dictate what other's cannot use (let alone what code they inherit).
> For Iran I have high hopes. They started the fundamentalist bullshit

Please try to learn even the slightest thing about this subject before you make statements so confidently. Wahhabism started in Saudi Arabia in the early 20th century and spread due to Saudi oil money in the 30's and 40's. Meanwhile Iran was a pluralistic society right up until 1979.
I'm fascinated by how it looks almost confusingly similar to Mail.app. Of course a lot of apps use a three-pane layout, but most seem to deviate from the standard UI one way or another. I don't mean not to criticise it - it definitely makes it fit right in as a native Mac app, but it makes me interested in your thinking behind it.
...and wanting some other, probably less trustworthy org to know what the traffic looks like
You might want to look into AMIC for your knee.

http://www.geistlich-pharma.com/en/orthopaedic/therapeutic-a...
Yes, but also just things around granting people social permission to run. It's not crazy to suggest that social permission is a bigger obstacle for most elected offices than money is.
10 Years in Startupland
The US has lost its status as a “full democracy”
There isn't a submission for which a reply like this is acceptable. Please (quietly) flag stories that you feel don't belong on HN.
Maybe, but for most people cancer in the future vs being dead or paralyzed now is an easy decision. I'm not aware of such an elevated risk, just saying that it would be an acceptable trade-off in many circumstances.
Great question. It was for a few reasons. A lot of YC is still what happens during the batch (Tuesday dinners, office hours, demo day, etc), and we felt those were things that could benefit us. As well, a lot of VCs aren't used to "manufacturing" startups, so we felt that having the YC stamp would provide some nice validation and hopefully make conversations with investors better. Also, YC just naturally pushes you to work so hard for the 3 months your in it that we felt it would also be a net positive. At the end of the day, we determined that if we went through YC and continue to do well, it would be worth it, and if we end up failing, YC won't be the reason.
Mexico Destinos paquetes turisticos
Oh wow, 2.4 is out next week? I thought we're stuck with 2.3 for a long time. Top 1 daily Hacker News submission incoming.
As you noted, this story was posted months ago. According to STAT in a report published just a week ago, funding for stem cell research in California has essentially been squandered.[1] The issue isn't whether stem cell research can be done (it can)[2]. It's whether we should fund the research through taxes.

[1] https://www.statnews.com/2017/01/19/california-stem-cell-age...

[2] http://www.cnn.com/2013/01/07/justice/stem-cell-appeal/
It's interesting that this article is months old (from September 2016) and is only now on the front page of HN. I suspect that it has something to do with our desire to argue the benefits of stem cell research to the new administration.

I continually find it depressing, distracting, and unuseful how quick some are to immediately attribute everything to overt politics. Why some submissions catch on when has so many variables. We're quick to see patterns, amplified by our own biases. Other than skywriting, I'm pretty confident that clouds aren't shaped to be animals or faces. The data for submissions is available via a couple APIs. If you want to ascribe politics as playing a role in this post making the top page now, you can try to back it up with some actual evidence and make your claim substantial.
Hey $70,000... Not a bad chunk of change considering you only had to give up one beer(maybe two)/appetizer per month.
In the EIU's ninth annual Democracy Index, the number of full democracies around the world fell to 19, from 20 the year before. America’s downgrade puts it at 21 in the rankings, below Japan and even with Italy.

http://www.eiu.com/public/topical_report.aspx?campaignid=Dem...
That would be a huge step in the right direction. I actually think we should do the same thing for athletic competitions.
Looking forward to episode 3!
Well, we had to start somewhere, and macOS is what our team knows best. If there's enough interest, we'd love to support other platforms (including Linux).
It looks like it may be possible to grow new cartilage. I'm not sure if it's the low quality type you are referring to though.

https://www.samumed.com/pipeline/default.aspx
What do you mean by "successful career"? What does that look like? Merely employed? Maximizing salary? Moving into management? Starting your own company?

At this point, with the skills you have, you should be very easily employable in this market. You could get a job at a big company, and sit quietly for 40 hours a week. You'll learn what you need to learn (which at big companies, is mostly internal), and have plenty of time to read, watch movies, have a family, or whatever else matters to you.

What the hell are you working yourself to death for, anyway? What are you afraid of?
Thanks. Some of the critiques I've been reading about in other news articles are saying that this is just the polished version of the same results. Interesting to hear that either the competing researchers or the news outlets reporting this are wrong.
DHH on Why Rails Is Still Worth Learning in 2017
This is handy, having a list of all the positions in one place with their filing deadline!

However, it is showing me a lot of "Next Election" times that were last year. I guess the data needs some cleanup.

Also, President seems to be missing. :)
I didn't even know that submarines no longer use classical propellers. I was surprised when I read it on Wikipedia and then again when I noticed that this is not unique to the Astate-class while trying to find images of hydrojet submarines. You can see this in the way I worded my comment, I guess it was pretty obvious to you.
looks like voodoo uses maker bot replicaters where-as shapeways uses higher end machines.

https://www.shapeways.com/blog/archives/41-our-machines-part...
How the debugger.html got into the flow
This isn't necessarily about proving other programs. It is about showing that at a very fundamental level, formal logic (as studied by logicians) and typed programming languages (as studied by computer scientists) are actually the same thing, but written in different ways.

The basic idea is that there every typed programming language is analogous to a mathematical logic system and that

* programs are analogous to logic statements (theorem)
* a program's source code is equivalent to a proof of the theorem.
* type-checking a program is equivalent to checking if a proof is correct.
* Executing a program is equivalent to simplifying a proof.

If we restrict ourselves to the sort of type systems in mainstream languages the logic statements that the types can express are somewhat limited and not very interesting. The proofs as programs analogy really starts getting interesting when you have a very powerful type system...

One place where you see these powerful type systems is in the proof assistants for people who want to formalize mathematics. It turns out that writing proofs on these proof assistants is surprisingly similar to programming in a typed functional language! It is kind of interesting because all that you care about is that the program you write (the proof) type checks (is valid), and you don't actually ever run it.

Coming closer to the software development side of things, some of these proof assistants can be used to produce formally verified software. Basically, what they do is that instead of throwing away the programs (proofs) that you write, they compile them down to executable code.

This is not something that is very applicable to the general software population though since formal verification is a niche thing. It also doesn't help that these tools are currently super clunky to use and have a steep learning curve involving lots of difficult math.
Imagine investing $1000 in something with a 1 in a million chance of success (just for example). For that to be a rational bet, the payoff would need to be a billion dollars.

Oil rig workers, foresters, soldiers and police have guaranteed pay instead of a very small chance of very great rewards.
> I disagreed with your assertion that they are the only people who will contribute substantially and therefore the only people whose educations matter.

Wrong. I did not assert this. I asserted that resources should be focused on improving the abilities of the group most likely to be in key positions in the future.
That's the whole point. You have to manually do those things. It's not that you can't do them, it's that if you tell someone "Just run curl ... >> ..." without the validation part they can get hosed. Even in a script you need to be careful about it because a non-200 HTTP response still gives a zero (i.e. success) exit status.
Being the canary in the coal mine isn't exactly a win. It's important without being powerful.
It's possible that Mail.app was a source of inspiration, and that we often found ourselves asking, "Oh, that's like <feature> in email. How do other apps do it?"
just today i was fantasizing about a self-driving autonomous office coffee machine. basically a roomba that brews coffee. perfect for hardcore introverts.
I wouldn't personally recommend backing up and restoring 2FA secrets; there's a reason that the printable backup codes you get are one-time-use. But if you're going to do that, don't bother with hardware tokens. I mean, use them if they make you feel cool (I'm not being derisive; there's value in feeling better), but understand that you're effectively turning your hardware token into a software token by doing that.

My point is not that backup and restore is intrinsically evil; it's a legit security/usability tradeoff. I think most people should use software tokens.
I'm not sure professional athletes need more encouragement to ruin their bodies for our entertainment...
I'm worried at this point that I'd be repeating a comment I've made on this branch of the thread, so can I ask if you have any questions about those responses?
The story behind the original Apollo space suits is great[0]. All the top aerospace and defense contracting companies were bested by a Playtex (the bra and girdle company), which had more experience designing high performance clothing than anyone else in the 1950's and 1960's much to the embarrassment of the ex-military space flight types. Add in the designers breaking into offices to steal back their own designs to make the suits and I can't figure out why this never made it into a movie.

[0] https://www.wired.com/2011/02/pl_spacesuits_showdown/
Hence my original comment about genetics playing a part of what we can and can't eat and wildly differing views on what it takes to lose weight.
Aircraft Carrier USS Enterprise to Be Decommissioned
There's certainly value in being mindful of the Holocaust, and of the great capacity for evil, even if banal, inside of us all, and to acknowledge and fight against it each day. But I remain unconvinced that calling those I disagree with over legitimate policy concerns Hitler is either a) fair or b) particularly useful.
Exec order could nix EU-US data flows, strips privacy rights of non-US citizens
"If I were human, I believe my response would be ..." https://www.youtube.com/watch?v=HGMObdYRJHs
Sure, you can add an oracle for axiom of choice and you're done (note that AoC -> Excluded Middle). A proof is then "constructive" in the same way (e.g. Can be also written as a program, there).