skysight-inc/HackerNews huggingface dataset:
I believe that Filecoin is from early 2014, same as Sia and Storj.
We're investigating
What if one of them hurt you seriously, say causes paralysis? Would that be OK, because of course it could have happened anyway?
3. When you need to work with a 2 code base the learning curve won't be big at all. Whereas if you start with 2 and then move to 3 you will have to unlearn a bunch of stuff which is just a waste of time. Start with 3 and then learn just the differences in 2 when/if you need them.
It is both, though!

If you're using Cucumber (and not Spinach or Turnip) you need every (mechanically) different step to be (verbally) unique.

So they need to be descriptive enough to distinguish them from something not quite the same. They don't necessarily need to be descriptive enough to mechanically identify every button and selector used in English language, but they should not be so ambiguous that you could choose a different way and reach a different result.

The coolest thing I found is the ability to compose step definitions. So in my customer-level Gherkin, let's say I have some two-man workflow built around activities managing employee users, I can ultimately say:

"When I disable a user"

and I can implement this as

When(/^I disable a user$/) do
step "I select the user \"example user\""
step "I enter a termination date of today"
step "I select a termination reason of \"fired\""
step "Review Form is clicked"
step "Submit is clicked"
step "I log in as HR"
step "I pull up the submitted activity"
step "Complete is clicked"
step "I log in as Payroll"
step "I pull up the submitted activity"
step "Complete is clicked"
end

and I still haven't written a touch of Capybara or Ruby, but I've decoupled the business rule from the mechanical process.

This is the greatest power feature of Cucumber, in my opinion.
How should we preserve video games?
> Errr, they literally describe this as the case?

Yes, that's why mcherm is saying that he agrees with the open letter having been written and published.
The IoT: a means for a tangible, intelligible future. Are you ready?
Exactly, and nevermind the automation that has been taking place in the last 5000 years or so. Gutenberg's printing press displaced the monks who manually copied bibles -- should printing presses be taxed to parity with human labor, so that printing one page of a magazine costs $100? I find it bizarre that a guy as bright as Gates would support such an unworkable idea.
It's hard to say how much of what Gates says/does is truly what he believes or is a branding exercise for legacy purposes. The robot taxation seems like populist appealing nonsense...
"The cost of an education is already free though. If you cannot learn from those resources, perhaps you are not cut out for the fast-pace world of automation anyway"

This is a good point, except that what's actually expensive is the credential. The stranglehold of the universities on the credentialing process would have to be broken (also, at a higher level, the stranglehold of the accrediting agencies on the accrediting process).
this comment is so erroneous. the fact that it's the top comment is really demonstrating how toxic HN has become as a community.
Here's two basic definitions of robot:

"A machine that resembles a human and does mechanical, routine tasks on command."

"Any machine or mechanical device that operates automatically with humanlike skill."

So, I would say that none of your examples even come close to fitting that description. We can also assume it would be rather easy to determine if a machine fits the robot definition and should be taxed.

Also, if the government could find a reason to justify taxing hammers that take taxable jobs away from workers that pay income taxes, you can be sure they would implement such a tax.
I have no idea if what you're saying is true or not but it seems to be a huge claim with hardly any substantiation.
The Recently Discovered Cloudflare Bug Could Affect Bitcoin Users
It's written in C, which is part of the problem. I'd be very interested in a similarly-featured webserver (reverse proxy, mostly) which is written in a memory-safe language.
Can you show me the "support" that any of these people have lent to racists since entering the White House? Or any proof that Trump has "concordant views" with racists? If you have it, I think the world would be interested in seeing it. I certainly would not have put Bannon anywhere near the government, but I think Trump judges people more on their business abilities than on any alleged views.

The fact that Trump wants to partially enforce long-standing immigration laws does not make him a racist or someone that lends support to racists, and neither does the mere observation that the vast majority of large-scale terrorist acts happen to be committed by people from specific parts of the world. If that is all you've got, your argument isn't going anywhere.

This is the problem with all of the Trump criticism. It's all innuendo. If there are facts to make a case, then make it and people will support it. Right now all I see is a President that is enforcing some laws. You know, like the ones he has to swear to uphold when he takes office.
AirText: What Google Should Have Built for Android
What if that industry is automated because the jobs are dangerous? What if it's automated because having robots do the job allows for more precision, which in turn can save lives (ie medical devices)?
I feel like I'm in prison or an insane asylum when I have to use my Mac or iOS devices after enjoying the freedom that I have using Windows all day.

I could go very far into detail here and list all of the extremely annoying limitations that I run into, but instead I'll respond to your vague complaints with my own. Apple quite obviously wants absolute control over their device and their software whereas Microsoft lets me to do whatever I want with my computers and my software.

I have to have a Mac to make iOS apps, but as soon as those are no longer a thing I'll toss all my Mac stuff straight into the garbage.
I see places in some code bases where instead of a comprehensive comment there is just a SO link.

I guess that professional software companies may, as part of their QA processes look for such comments.
It would be more useful if there was a way to see sites that actually were using the Cloudflare features that caused this bug. A large number of sites use Cloudflare, but few should have been affected by this bug:

> When the parser was used in combination with three Cloudflare features—e-mail obfuscation, server-side excludes, and Automatic HTTPS Rewrites—it caused Cloudflare edge servers to leak pseudo random memory contents into certain HTTP responses.
https://arstechnica.com/security/2017/02/serious-cloudflare-...
I'd love to see some evidence that big bounties correspond to more exploits being found. In my experience, they tend to result in an increasing number amount of crap for your security team to sort through.
Hiring Entry-Level Software Developers in Rhode Island
If you read the "Beyond Corp" doc, there are also certificates involved.
Sure you need to be critical - but in both directions.

If you want to see the government trying to hide things, just look at Sylvester in Cologne and how long it took officials and the german TV channels to report/acknowledge what happened. If this information hadn't spread on Facebook, who knows if we would have ever known.

I am Austrian and until the migration crisis I've never felt misinformed. (BTW: Austria took more refugees per capita in than Germany) But this crisis changed that. It seemed the public media didn't just report, they wanted to persuade people to the right course. This is also about subtle things and therefore hard to prove: According to statistic refugees were about 70% male, but who was almost exclusively on the frontpage? Only women and children.

I can handle dubious or stupid Twitter/Facebook comments and chit-cat about what refugees supposedly did. The shocking thing was that public media was so one-sided. It is no coincidence that the name "lying press" got popular at this time. IMHO this was a general feeling that people had. That they didn't get the full story.
The Stauffenberg plot is pretty much evidence that assassinating somebody protected by a large force is really, really, hard.

Not because that plot itself failed. But because it overshadows the truly impressive number of other attempts at Hitler's life, all failed: https://en.wikipedia.org/wiki/List_of_assassination_attempts...
I have much schadenfreude for the all the idiots that voted for Trump because they thought he be pro-legalizing it.
Where I come from, there's no need for firearms or other weapons.
likely a result of its questionable legality, since cigarettes are a perfectly valid reason to smell like smoke.
I was pretty sure they were actually. http://www.bbc.com/news/world-europe-34131911

Edit: I misread this chart... a lot. Syrians are the largest group but not the majority. Never mind!
Why are so many questions about the background of people displaying knowledge in this thread? That is what I'm finding disturbing.

I don't know anything about nerve gas, but do know about a couple topics that I suspect would trigger the same people, and it creeps me out that people become suspicious about someone for simply knowing something.

Probably worth keeping in mind that not a few people put cryptography in the same "military secrets" bucket.
I can't believe he is trying to link Opioid usage with Marijuana.
How to make your React Native app respond gracefully when the keyboard pops up
Couldn't you just do something like:

def flatten(x):
if isIterable(x):
for y in x:
yield from flatten(y)
else:
yield x

Well, technically this is a generator, but it's easy enough to put its result in a list.
Tax them e.g. 50% of their revenue. And give them a tax rebate that is the sum of the salary for the human employees. That would be a big incentive to employ humans and still they can make good profit.
I quote one of our lead IA guys: "The purpose of IA is to try to dodge the work and laugh at the person who gets stuck with it."

I envy you for being in an acquisition organization that gets all this. Mine doesn't.
Question answered. https://security.googleblog.com/2017/02/announcing-first-sha... dated February 23, 2017.
Why tax any of that? What's wrong with a consumption tax? You buy something, you pay a tax. Everything gets taxed equally and the government no longer gets to pick winners and losers based on the relative political power of the entity being taxed.

The way it works now is that taxes are used to manipulate behavior rather than simply collecting money to provide services for citizens. Income taxes provide too much power to governments.
If you ask me but 11K deaths via gun (homicide!) are way too much
Except for the reduced tax revenue for the government, nothing changes at all.
The default is pillage and plunder, not capitalism. Capitalism is what arises when you have a government that prevents people from pillaging and plundering, but does little else.

The question of who is an economic agent is exogenous to capitalism.

What changed to make people say "Hey, we're failing to treat slaves as economic agents"?

In the US, a bunch of religious crazies decided to force their biblical interpretations on everyone else. For a while they used politics and small scale warfare (e.g. running around ad night and chopping people's heads off) to push their morals on everyone else, on slavery and other issues like drinking and polygamy. Eventually the limited wars erupted into a total war for dominance, which they won.

I'm less familiar with European history so I won't speak about that.
Does Apple really need or care about the "Pro" market?

It seems like all of their priorities are related to everyday consumers (beats headphones, air buds, several new phone models every N months, etc.).

Why would apple waste their engineering man-hours building products for any market except the common consumer who aspires to be part of the wealthy crowd?
Rocket Internet’s Zalora is retreating from two more countries in Asia
It's odd that the status pasted in the parent has disappeared from https://status.cloud.google.com/ , as the page seems to be designed to keep event history - but it's not in the history. I can still find it in Google's own cache, though - in the snapshot of the page as it appeared on Feb 24, 2017 11:19:38 GMT.
You didn't tax robots, you just increased corporate tax and lowered tax on salaries. Not saying it's a bad idea, but you're affecting lots of other things than robots with that proposal.
> The reward includes a t-shirt, it isn't a mere t-shirt. You also get "12 months of CloudFlare's Pro or 1 month of Business service on us" (~$200). The reward is also not tiered.

I've never put any of my sites behind Cloudflare precisely because I never had faith their WAF would always be bug free and I'm not comfortable with their MitM position.

Getting me to use your service on a time limited basis falls more under the category of "try-it-so-you-buy-it" marketing ploy than a real bonus to me. It benefits Cloudflare more than the researcher for that reason since if they use it, they'll be invested continuing to "help" Cloudflare since they'll be dependent on it.

I'm sorry, I just don't buy that is anything but a marketing ploy wrapped up as a bonus.
I think the implication was that in Ireland, it's never not raining.
Show HN: Best React Native books in 2017
Read the wikipedia entry ;)
My XPS 15 has been a nightmare. Endless driver problems. Build quality isn't even close to what Apple delivers.. lots of false trackpad hits too.

I'm a little conflicted about my next Apple purchase as well, but for me, the XPS 15 hasn't been the answer.

Just one experience amidst many, I know...
I'm from 18F, and I'm now a "contributor", but only because they accepted my pull requests. :)
Looking at active Android clients your claim might be correct (although I assume it is not 99%), but if he actually went out and bought a new "premium" phone which I assume most here would do it is most likely updated.
Just so it's clear, NSA is technically part of DoD. (Though it's a bit like FBI's relation to DOJ, they operate very independently.)

Also, the DoD CIO has had, since ~2003, this excellent FAQ supporting open source:

http://dodcio.defense.gov/Open-Source-Software-FAQ/

But as people on this thread and elsewhere will tell you, that hasn't resulted in widespread support at DoD for open source.
ok, what about train-less cities ? i can list 10s of them in third world countries ..
On the need for a C# Renaissance
It says the first projects will be released once the license agreement is finalized, so at the end of March.
probably not atropine, a more reversible drug like physostigmine might be better.
One more tricky one that I was asked upon :
When is the only case that 2+2=5 ?

Any answers ???

Ofcourse the answer baffled me
UN rape statistics is unreliable source? It's creepy how lot of people downplay rape in this thread.
Yeah but not having a bite for a few days or even a week just simply won't be the cause
Ask HN: Advice with systems design
I am a junior programmer and would like to implement a couple personal projects, would love to get advice on some architectural aspects. Is there a place on the internet where experienced software engineers are willing to share advice on design/architecture matters?
I'm not sure if HN is one of those places, but if it is, here is an example of the kind of questions I have:
How do I bootstrap a web and Java application that keeps track of a number of parameters that each accumulate values over time, then I need to display graphs with those values and most importantly, determine correlations between those parameters. I'd love to re-use some existent Java frameworks for all this, but especially the correlation part. Thank you!
Diabetic and former Diabetes genetic researcher here.

To paraphrase an old mentor, curing diabetes in mice is kind of the sport of the field. It's been done a number of times. Mice have some abilities to regrow tissue we don't. It's unclear how well various mouse models for diabetes mimic the human phenotypes.

I am very hopefully for this line of research in general but I expect any cure in humans will be more complex and perhaps also deal with somehow suppressing the immune response that destroys the Beta cells in type 1's like myself. For a type 1 the best I'd expect something like this to be able to achieve is a temporary return to the "honeymoon" period where the pancreas still produces enough insulin to make small adjustments but supplemental insulin is required.

On a personal level i have found that diet can have massive effects on my diabetes management. I may try a diet like this (with the advice of a doctor in adjusting insulin to handle it well etc and with the realization i may need to break the diet to treat low blood sugars etc). Edit: I also use a continuous glucose monitor which helps greatly with avoiding low bloodsugars while changing diet/activity levels and recommend one to any other diabetics.
I believe this is the paper about the declining labor and capital shares mentioned in the article http://home.uchicago.edu/~barkai/doc/BarkaiDecliningLaborCap....
2016 Security Breaches: The Reality from the Predictions
As has been mentioned elsewhere on HN, those 3 features were capable of triggering the bug. Once triggered, potentially any Cloudflare-enabled site could have been affected.
I use Lastpass because I believe it is as user friendly as it can get. They did have a security incident a few years back, but the way the handled it & the transparency & humility they showed was enough for me to trust in them. Please read about it. Also it is free. The mobile version is not free.
Is iOS really that much better than an updated stock Android? Even if you find differences, they are not as big as you make it sound.

Comparing stock iOS with some old unupdated cheap phone with bloated Android is not fair.
What's your goal here? Right now it just sounds like you want to use a bunch of cool technologies.
you're a bit aggressive : I use it daily and it definitely works (but I work with it : no games, almost no 3D, just PyCharm, git, LibreOffice, firefox, irssi and claws mail on openbox WM; scanning/printing a document from time to time nothing fancy)

Latest problem I had were with the printer driver (Brother HL-1110 which doesn't seem to know that this printer has much less memory than advertised)
clearly you haven't been in too many third world countries :)
try getting a reliable yellow taxi driver in those countries who WON'T try to pull a trick on you :) they exist, but are a minority (or at least not a majority)
Alphabet's Waymo sues Uber for allegedly stealing self-driving car secrets
I guess this has something to do with the new feature of sending money through Gmail?
the gov should tax algorithms instead.

think how many librarians (or other occupations) are made obsolete by google.
The inability to customize webpack was sometimes a pain point for me. There were a few things I wanted to do that would have been much easier if I could just play around with it. Fortunately, they've added the ability to get yourself a webpack config!

https://github.com/angular/angular-cli/commit/7ac0d05

http://www.dzurico.com/angular-cli-with-the-super-powers/
at most they've said that they'll "be looking into it", not that they were going to start cracking down tomorrow. I'm a pot user and even I think the title is a bit sensationalist.
I totally agree, but that doesn't really affect my point.
Why should the owners of a business have any control? Just let the employees manage it!
> reverse harassment

I am genuinely confused as to what you're trying to refer to with this term.
> After all, if it turns out that us "automation Luddites" are just wrong and there is some panacea to our woes - will we have lost anything by trying to come up with means to protect the people?

I get it. There's nothing wrong with protecting people. It's a good task for humans to take on. Protecting people from the ravages of heartless capital is a moral imperative!

The issue at hand is perhaps one of costs. What else might those resources have been used for? Very few things are free. To complicate matters further, pursuing the goal of protecting people has been known to lead governments into ill-informed policies that do great harm despite intentions good and pure. Democracies are known to be vulnerable to populist ideologies, whether they are good ideas or not.

I suppose that's a long-winded way of saying we might lose a lot and should step carefully.
Revenue is not profit. Just because company brings a lot of revenue does not mean they can afford to hire people. This would essentially make it pointless to own a company.
I should clarify that my experience is pretty narrow in the python space. The comment was based on my (recent) experiences in the land of jupyter notebooks -- first using matplotlib and then switching to bokeh and finding the api to be more straightforward.
On one hand it's always cool to see increased adoption of open source, but it strikes me as more than a little subversive for the DoD to adopt an open source methodology. I can't help but see the appropriation of an inherently equitable and socialist means of sharing innovation (FOSS) by a violent, exclusionary, and globally oppressive regime to be a step in a very wrong direction.
Knew it was coming, but still kinda annoying right in the middle:

https://josharcher.uk/categories/lpthw/
> There's an implication here that there is some form of organized political desire that you are acting to further -- and that you are deliberately planning to further that effort.

In that case, I would argue that this attack fits your definition of terrorism.

The political ideology is white nationalism clothed in Islamophobic garb.

The immediate political desire is, in the attacker's own words, "get out of my country!"

It's hard to argue that killing someone (and by extension making people like them fear for their safety) is not a deliberate and planned way of getting "them" -- both the individual and the group that individual supposedly represents -- out of your country.
https://forum.sia.tech/topic/21/sia-vs-storj-vs-maidsafe

(I am the founder of Sia)

Sia's key distinguishing feature is that it's the only platform today which is fully/properly decentralized. If the MaidSafe devs today disappear, I believe all the servers running MaidSafe go with them. If the Storj team disappears, payments stop entirely and anyone using the Storj bridge (most of their users) will not be able to access files. If the Sia devs disappear, everything will continue to work as it currently does (though, bugfixes and feature adds will stop)

Sia distinguishes in two other major ways as well. First, we are the only platform that allows hosts to put up collateral - if a host loses your data, they don't just lose revenue they also lose collateral money that they put up as a promise to keep the data safe. Second, Sia is the only network that gives you full control over which machines your data ends up on. This is good if you want to run a CDN, need to comply with data laws, or have some other reason for favoring a particular region or set of hosts.

I encourage you to dive deep in the technical details, I think you'll find that Sia is pretty far ahead of everyone else.
> This guy has a very stranger way to promote his job.

Making and promoting a controversial rant, then a couple months later making news by reversing his position? That's pretty much Zed's m.o....
Just out of curiosity : do you know what's "the thing" in, say, China or India ?