skysight-inc/HackerNews huggingface dataset:
The react test utils work in combination with jsdom. For example, TestUtils.renderIntoDocument will use jsdom as the document.

There is a facebook-sponsored test framework called "jest" that is more akin to mocha or jasmine, but of those three frameworks it is the worst in my opinion. It's absurdly slow, poorly supported, and it mocks all imported/required modules by default which causes me more problems than it solves.
Your critique is well received. The Apache Kafka project has support for the Java clients and the non-java clients will be developed and available in a federated manner. At Confluent, we are focused on providing first class non-java clients that are API and functionality compatible with the java clients. Forthcoming releases of the Confluent Platform will include a C/C++, python and node.js client. Stay tuned http://www.confluent.io/developer#download
Show HN: Responsify.js
Right here, right now I'm at a dev group meeting and someone just spoke to me about how they just fielded a child pickup system using QR codes.
Everybody in this thread is talking about the ethics of this in terms of our obligation to the airlines. But what about your obligation to yourself?

I'm not saying I wouldn't do this -- I probably would -- but deception in general makes me uncomfortable, and whether you think this practice is justified or not, it's clearly based on concealing intentions. That sort of thing should at least make you pause.

As a side note, I've noticed that people seem to get confused about this, in general. A cheating spouse will come up with all sorts of reasons that their behavior was justified, without ever addressing the core offense: they weren't honest about it.
Did you just ignore Vista to pretend the article and your post make sense??? wow....
Do you end clients really write to all nodes?

I know pretty much no application for which this is the case.
Great stuff. I was hoping somebody would integrate source code cross referencing with Git. Hopefully Github will integrate your tool with all their repos and it will be seamless for end users.
I agree. The price of the thing should depend on the parameters of the thing and the buyer's willingness to pay the price, and not other factors.

That said, I thought ticket prices were regulated by the IATA?
That's a great point. I think a mistake a number of interviewers make, and maybe they aren't used to the idea of interviewing for a position, is that they aren't interactive enough in their questions.

In this case, it sounds like the founders made a bit of a mistake. Even if they were able to find someone who could explain things to them more directly, like they wanted, during the interview, it doesn't mean that the candidate is more qualified for the job.

In general, communicating with management or founders won't necessarily be the same as communicating with engineers.

For me, I had an interview about a year ago with Google and they were basically so uninterested in asking questions that they didn't learn anything useful about me, so it wasn't surprising that I was rejected. Sometimes interviewers don't realize that it's a two-way street, and that they need to be just as interested in hiring a candidate as an interviewee is excited about working for them.

And I think if you're serious about hiring someone that you should be excited no matter what, especially if you know they're qualified.
Exactly. There's no game you can play that'll win every scenario because you can't possibly know how the person on the other side of the table will be judging you.

I made this realization a while back and decided to make two changes to how I approached interviews:

- Be myself. This sounds simple but it's harder than one would think. Most people are trained to put on faces and airs in these situations, most guides will tell you how to act, dress, etc. Ignore all that. If they don't like the real you they're not going to like you long term. There are some people who will ding you for not acting all prim and proper in an interview situation, but do you want to work with them?

- Flip my mentality around. They're the ones that need the selling, not me. This ties together with the first point but it is a key mentality change. It's easier to just be yourself and stay calm if you can think about the interview in terms of you interviewing them.
A Storied Bookstore and Its Late Oracle Leave an Imprint on Islamabad
I'd say the Python library I used was borderline unusable, we stopped using Kafka (it was just a trial period, wasn't rolled to production yet) because of limits in one of the most popular Python interfaces. The interface worked well enough, the API was good, but they didn't (and the bug tracker seemed to imply they wouldn't) support synchronizing reads across processes for the same group. What's the point in a distributed synchronized log if you can't do synchronized distributed reads of the log?
Show HN: The Hawaii Project – A personalized book discovery system
Just add A.I. Next wave of startups looks awesome
"For his father, books were more than just a business, Mr. Saeed said. One of the penitent former book thieves who dropped in was Suleman Khan, the vice chancellor of Iqra University, in Islamabad.

“He came to say that when he was a child, 6 years old or so, he stole an Archie comic book and my father saw him,” Mr. Saeed said. “He said he was afraid he was going to get slapped, but my father said, ‘This is good that you like books. So every day you can take a book but keep it in mint condition and return it when you’re done so I can still sell it.’”

And then the vice chancellor said, “Everything that I am now, I owe to your father.”"
I support the FSF financially (and sometimes using their licenses) but I think that this article is a little bit off in the criticisms about updates.

I use OS X, Ubuntu, and sometimes Windows 10.

I want security updates as often as they are released.

I don't often use my Windows 10 laptop but when I do the first thing I always do is to update the system and anti-virus definitions.

I also frequently check and update OS X and Ubuntu.

I happen to trust Apple and Microsoft to perform automatic updates, but that is my personal decision.
AMD is only doing it because they're at the rock bottom. They had no problems trying to push proprietary standards when they had (or thought to have) the market dominance to get away with it – Nvidia's proprietary CUDA was only the response to AMD's (failed) proprietary "Close To Metal" API, there was the failed HydraVision, the TruForm tessellation API, ATi manipulated the Shader Model 2 specification process in their favour to intentionally cripple Nvidia, … and so on.

Of course, that all happened more than two years ago, so nobody remembers any more.

(See also how they're suddenly public darlings for their cheap CPUs… now that their CPU aren't competitive. AMD had no problems charging $1000 or more for FX CPUs back when they could actually beat Intel.)
Doesn't look hard to me -- are you being confused by the big cloud of dust? That's mostly caused by the last-second retrorocket.
Show HN: Excavator – view, search and analyze your container logs as a service
That observation is correct. Currently, people misuse stream processing systems like Storm and Samza for data import/export. This is an overkill. Kafka Connect is focused on providing scalable and operational connectors to various systems using Kafka as the underlying transport mechanism.
CRISPR enabled “gene drive” could potentially stop malaria transmission
That's an interesting license and the first I've seen of what I call open-source proprietary outside the dual-license model. I've been encouraging developments in this area given the problems of proprietary and OSS licenses in isolation. Additionally, people seem to have a false dichotomy where proprietary has to be closed/bad and OSS open/free/good. Wrote here, with security focus, that this wasn't the case:

https://www.schneier.com/blog/archives/2014/05/friday_squid_...

Elaborated briefly on my goal here with an old example:

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

Your license appears to meet many of those requirements. Curious about several things, though, that I figure you could give some straight, English answers to. ;)

How did you come to letting it depend on a user count rather than some other criteria? That's unusual and even reminds me of commercial licenses.

Does the license create a specific amount at that point or allow extortion where locked-in clients are hit with large amounts later?

Is the author able to terminate the project in a way where users are left with a dependency they no longer have access to?

I know you accept modifications under a CLA or something. Let's say, though, you didn't want to distribute some substantial changes. Basically, a fork is in order. How does that work? Do they just assign the whole fork to you where you can optionally offer it to others? Do they keep it onsite? Does it not happen at all? Prior discussions taught me forking is something that should have definitive answers in new OSS licenses.

The ability to make things disappear, get overpriced, or turn to shit arbitrarily are among the largest risks in proprietary OSS projects. So, interested in seeing your company's take on those.
Yes, I'm not happy with this article's title. Basically I thought that Mailjet made a brilliant choice in open sourcing the process of crafting their API documentation[1], and Best Buy has decided to follow suit.

[1] https://www.mailjet.com/blog/introducing-new-mailjet-api-gui...
As a ten year (now-cured) Java/J2EE developer, I whole-heartedly agree with you that Eclipse is a bloated, slow piece of crap.

IntelliJ is much better, very quick and responsive. It's actually a great demonstration of how Java apps don't NEED to be slow PsOS. I'm an iOS guy and didn't know about Android Studio, and the prospect of going back to Eclipse has kept me from even thinking about Android dev. Now I might well give it another try.
Can't tell ... if trolling ... or serious.

Even Apple has gotten around to selling a stylu^H^H^H^H^H Pencil for your tablet; Microsoft has been _pushing_ theirs for years, and Samsung uses it as a differentiating factor on their smartphones.
> While I wouldn't characterize him as having a "soft heart" either, I never got the impression that he's so simplistic as to want to retaliate in any situation.

Of course not, that's why the Russians initially tried to deescalate by publicly attributing the downing to Syrian rebels, not Turkey; however, now that Turkey has made that impossible (for which, given the recent series of Russian intrusions since the campaign in Syria began, they had pretty strong domestic reasons), the Russian leadership's room to deescalate while maintain an image (particularly a domestic image) of strength is narrowed.
Google Wants to Text Message You with Holiday Shopping Deals
Headless Content Management for Node.js Websites (Express + Jade)
I upload a file to one server. Memory flips a bit before it is flushed to disk, and then the file is replicated to other servers.

Now every server has a bad copy of the data.

Or even more fun: I do an OS update and something is slightly corrupted -- enough to harm data being processed, but not enough to crash applications. Fun!
The first thing I think when reading the headline is that friends paradox on social networks. Feels like that. But I don't know if these paradoxes are interrelated.
Between this reaction, and the distinct penis-shape of the BO rocket, I 'd be willing to admit there is a lot of billionaire antagonism here. Hopefully we ll benefit from it.
That's because those free market capitalists are (at best) hypocrites or (at worst) stupid. Obviously capitalism relies on regulation - of property rights, IP rights, contract laws, bans on fraud and insider trading (although opinions are mixed on that last one), ...
The Biggest Startup Meltdowns of 2015
Completely. While playing a complex classical piano piece I used to perform jumps with my hands "blind" - without looking at the keys. The trick (apart from lots and lots of practice) was the sidelong glance to eye up your target moments before moving your hands. That way both hands can perform jumps at the same time (and you dazzle onlookers :)
Regulation is part of a free market, but governmental regulation is not (i.e., regulation imposed by a monopolistic entity).

There are many forms of private governance and regulation that protect consumers. That's not to say free markets are utopias, but believing that governments are the only source of regulation is incorrect. In fact, in many cases private governance is far more effective (e.g., the private regulation Uber is subject to is stronger and more efficient than the governmental regulation traditional taxis are subject to).

See "Private Governance" by Edward Stringham for some good examples of market governance in action. The book received the following review from Peter Thiel:

"Stringham dispels state-worshipping fiction with historical fact to show how good governance has preceded Leviathan, ignores it when necessary, and can surpass it when it fails."
Here's a more pop-sci explanation of this form of bias from the new york times in case anyone sees these comments. http://www.nytimes.com/interactive/2015/07/03/upshot/a-quick...
I think everyone has mentioned it but fuck airlines, the shit they pull on a regular basis means they are void from any form of sympathy, especially from a consumer.
If only another billionaire would try to one-up bill gates in eradicating disease...
> Asia, Africa, and S. America are loaded with natural resources, yet the booms did not happen there

They are also loaded with people. America was a free-for-all (except the American Indians, of course, who were overpowered by superior technology).
We had cooler clothing styles in the 80s, though.
In general, you are right, but in this specific case, there was something deep that I learned from the experience.

You shouldn't change everything in response to every setback. In general, that is called "oversteering." But sometimes a thing happens, and for you specifically, there is a lesson that you recognize speaks to a larger issue.
That was my take on it.
> "I'm a little shocked that this is considered newsworthy in athletics"

Something that is common sense isn't automatically accepted as scientifically significant.
I had two RAM chip failures last year (notebook, PC). It took a while to figure out what the root cause of weird issues was (only one of several chips was faulty). Windows inbuilt RAM check tools failed to recognice the issue. Mem64+ CD found the defective RAMs - interestingly the memory chip inverted the data which caused weird side effects. The RAM is definitely more expensive than 3 years ago. I would prefer ECC RAM, sadly Intel prefers to deliver that vital function only to server CPUs (Xeon).
> Regulation is part of a free market, but governmental regulation is not

Until someone comes, holds a gun to your face and takes your sandwich. Then you'll be thankful for government regulation.

I'm absolutely certain that the government's (attempt of a) monopoly on violence is one of the most crucial aspects of free markets. Another is contract law.
Dell Foundation Services installs root certificate and private key
All evidence is to the contrary. The companies making the most profit on software are licensing it somehow while others that are at least successful are using plenty venture capital with SaaS. So, both are the best choices and the use of a proprietary license preserving FOSS-style freedoms is interesting.

Strange how much negativity proprietary OSS gets on HN vs cool, proprietary, closed tech.
The article is about ethics. Capitalism is orthogonal to ethics. There are things that are allowed under law and market economy that are unethical, or just plain douchy.
Awesome. I love these games and played a lot of them as a kid. Managed to solve a few too.

In the early 00's, I ended up with one of those little HP Palmtops running Windows CE. Could not figure out what to do with it, until I found it would run Frotz.

So I packaged up a few of the good ones, not too tough, and put in in the car for the kids. They actually played 'em. One would run the palmtop, reading it, and everyone would suggest options. They got through a few long trips doing that. Today, a phone would work much better than that old Palmtop did.

Somebody should make the voice input for these dead simple.
I've noticed a pattern activities or hobbies that've been around at least a few decades: you ask "which X should I buy?" and the answer is often, "DO NOT buy common 'consumer' stuff—either pay 5 times as much for one that isn't terrible or buy ANY model from the mid-eighties or earlier and refurb it, at a total cost of ~1-2x as much as the new garbage"

Part—not all, but part—of the supposed increase in quality of life due to cheaper goods is because entry level quality has dropped, for certain categories of goods.
> I wonder why Putin is trying to give Turkey an exit out of responsibility.

Because doing so would allow Putin to look strong against those who did the shooting down by redoubling efforts in Syria against the rebels, while that doesn't work if Turkey is seen to be the one that did the shoot down. Putin doesn't want to give Turkey an out so much as Putin wants to give Putin an out.
Chinese engineers rebuild Sanyuan Bridge in only 43 hours
Ticket Books – books as subway tickets
Ahh, the circle of life continues.

RMS produces an opinion piece -> everyone denounces it as extremist -> some time passes -> something horrible happens that proves RMS was right (like the NSA disclosures) -> everyone freaks out at what's happening -> some more time passes -> RMS produces another opinion piece -> repeat
Maybe they didn't really need the capsule to touch down at a lower speed since it can withstand this, so they save a bit on cost with smaller parachutes?

Not really sure if this item alone would make any difference, but if they do plan on putting humans instead, I too would hope it doesn't land as hard as the capsule seemed to.
And here I thought someone besides Mark Burgess was writing on Promise Theory...
Yeah, I was going to say that, but we tax dividends at the same rate as capital gains if you hold the stock long enough (for a year). They were going to change that, but according to Schwab they still haven't.
Thanks for checking out Sourcegraph! The way most people use Sourcegraph is as a self-hosted git host. It takes about 5 minutes to install: https://src.sourcegraph.com/sourcegraph/.docs/getting-starte....

Sourcegraph.com is currently a demo of the product on open-source repositories, and our public code analysis workers are bit backlogged right now due to increased load, though it looks like your project was successfully processed now and it's picking up the Go code: https://sourcegraph.com/github.com/mattermost/platform.
> It really depends if the rest of NATO will go to war over Turkey. I fibd that...perhaps not so likely

Failure to do so -- particular against Russia -- would have fairly catastrophic consequences for NATO's credibility, and therefore for relations between the core of NATO and its Eastern European members and partners.
The idea that cosmic rays are responsible for DRAM failures seems laughable. I'm surprised anybody ever thought that.

I worked in a DRAM fab; I saw how it was made and tested. It's a month-long process involving dozens of machines. Particulate contamination, watermarks, process variation -- there are tons of things that can go wrong. And then testing. There's just no way to test thoroughly enough to catch all of the possible issues with timing and crosstalk. Not to mention electromigration and dielectric breakdown. You can do burn-in, but it's not going to catch everything. We even know which die are most failure-prone (usually edge die, due to process uniformity issues.) If they pass test, they get shipped!

Of course these issues are manufacturing related.
You don't have to add anything to the DRAM chips for ECC. It's just another chip on the DIMM to store the extra ECC bits. It's the memory controller that puts the pieces back together.
One difference is that it was clearly distinguishable military action.

The second difference is that the pilots were killed by ground forces on Syrian territory - this is equal to the killing of POWs. The rescue copter was also shot at.
JSON API Apps with Lotus (Ruby)
Hold on a second. You can't just claim XP had longer support except for all those "continually updated OSes" and still have a point left! The submission is not FUD, if it is then please point to any fact it gets wrong.

Why are there are so many defensive anti GNU comments here? Do these actual facts that correctly paint Microsoft in a bad light really upset that many Microsoft users / workers / proprietary software proponents?

Also, what is with legitimate comments being ghosted on this site?
Open source is about the source being open plus certain benefits. Free and open source software, a la Richard Stallman, is a totally different thing with a philosophy akin to how a virus operates.

A glance at fair.io shows an interesting attempt to provide OSS under a proprietary model. Many businesses are fine with whatever gets the job done with main benefits of OSS being reviewing, extending, or just fixing things. A proprietary license allowing that has real value.

Curious, do you write comments like this whenever Google, Amazon, deep learning, etc closed-source tech with benefits are mentioned on HN? How they're insanity and not worth further discussion because the whole stack isn't FOSS?
> You can pay someone else to isolate and secure your XP installation as well (for the minimum amount of stuff you need in there). Put it in a VM, behind a firewall, secure it, prevent unknown services from running in it, etc.

Of course, you can also pay someone to do the same for a free software OS. You might even have more options for safely isolating it. I suspect the main point is that you have options, e.g. you don't simply have to isolate it (that may not work depending on how you use the software), you could also maintain / fork it.

In theory, with enough money, I'm sure you could also pay MS to maintain it for you or (as I've seen done once or twice in the business world) simply buy out the company and have them support it, but it seems like the cash barrier required to getting those things done could be lower than self-supporting the software in many circumstances.
Or that common. It's also something that will be forgotten. Just because we knew at age 10 the secret to success in something, doesn't mean we knew it (consciously), or that we'll know it at age 30 or 40. Getting back into athletics these past couple years, there's a lot that I remember doing well as a kid that I struggled with greatly even though I'm stronger and faster now than I've ever been. Slowly details that I internalized and forgot 20 years ago are coming back to me.
Fair, and true. Also, on second reading, I think "shocked" far over-states my emotions on the matter. Bewildered is perhaps more appropriate.

I think the discord comes from the disconnect that the common sense had not already been scientifically validated. "Eye on the ball" is so pervasive at every level of sports, and with the funding, I perhaps (naively) assumed that sports science was more advanced than it was, leading me to the (incorrect) assumption that this was scientific canon masquerading as common sense, and not the other way around.
Beautiful font! I can't read the language, but have done some software work in the middle east, and Harir looks much cleaner to my eye than the helvetica knock-offs in arabic.

If you want a real challenge in il8n, try ensuring that all the ligatures are correct in generated PDFs.
Eulogy for Rdio
Efficient Firewood Harvesting (1992)
How Wufoo users can enhance lead engagement