skysight-inc/HackerNews huggingface dataset:
>>Google’s effort to keep its search engine relevant in a world of mobile apps just got a boost from a big rival.

I see this as facebook leveraging mobile search more than google leveraging facebook to keep search relevant. But I guess that is a matter of perspective.
While it is essentially a zero-sum game, there are many alternatives to "make up that revenue." Those include printing money, reducing expenditures, etc.
Daniel mentions in the comments [1] that this is a binary build and implies that it's not meant to be hotlinked to.

[1]: http://daniel.haxx.se/blog/2015/11/16/the-most-popular-curl-...
The latest UX challenge: designing for personalization
Even if the intentions are good, I would prefer that no malware be intentionally served from cURL's official site.
We live in an "austerity-era" where government budgets continually expand. Apparently a mere reduction in the rate of growth qualifies as austerity these days.
CompletableFuture implements Future, so the get method is an implementation of Future.get [1].

Anyway, the major difference is that Future.get throws 2 checked exceptions, InterruptedException and ExecutionException, while CompletableFuture.join does not throw any checked exception. Instead, it wraps any exceptions in CompletionException.

[1] https://docs.oracle.com/javase/7/docs/api/java/util/concurre...
I think jbooth is talking more about forced verbosity such as

Map<String, Customer> customerMap = createCustomerMap();

where in other less verbose languages you find

val customerMap = createCustomerMap();

Always seeing the definition of a value in the current function context is actually very nice for maintainability, but does give Java the reputation of being overly verbose.

Stuff like getters/setters on all values in a class are awful though and are both a code smell and unnecessary. They break the OO principles and should not be there in the first place. It's good that Java makes those 6 screens worth of getters and setters awful - they are awful. For objects which are used solely for transfering state, check out Google's AutoValue ( https://github.com/google/auto/tree/master/value )

However if you do see a class that is 6 screens of just getters and setters then you know exactly which class you need to fix.
> You are not guaranteed to see all the postings and you can't "save them for later".

Actually, Facebook does have a "save post" feature.

> But it seems to work, at least for the bigger part of the population.

Yup, it's a pretty suitable news/reader replacement.
There was a RadioLab podcast about this story a few months ago (I believe it was RadioLab). Margaret was asked about the reports of sexual contact between her and Peter. Her response was, if I can paraphrase, that Peter would get distracted during the day because of his sexual urges. This would slow down the training Margaret was trying to do and therefore she would... fulfil his urges and Peter would then start to complete his training again.

This article fails to mention a few important details that I'm sure the BBC documentary will. The lead researcher was very much into drug culture and Margaret said in the podcast that he gave drugs to some of the dolphins (not Peter) hoping that it would "open their mind" and help with the language development. I don't remember clearly, but I'm not sure if the podcast mentioned the timeline of the experiment. I was surprised to read it was only 10 weeks.
It's just a very complex topic. IIRC, there's a user called ReallyNicole on AskPhilosophy, who specializes in Moral philosophy, and makes really good breakdowns about it periodically. Try to seek them out.

As far as HN is concerned, though, I think you should focus on this statement by my parent:

> Progress is just change that the writer agrees with.There is no objective morality and the ""long arch to justice" is just a random walk.

I don't think this is a good comment, or good attitude to bring into political discussion. You may not be able to pin down the notion of "Love" or "Art" or even "Game" to a definition, but they are still "real" enough as far as Philosophical Realism is concerned (here is where Wittgenstein may be useful), to discuss. To make quippy comments about how "there is no progress" seems to me like a cheap argumentative ploy in favor of a "fuck you got mine" life philosophy.

The idea that women's liberation and the abolishment of slavery are "arbitrarily" positive things, and that we may like them exactly as likely as we may not via some senseless quirk of history, seems pretty asinine and lazy.

I am a scientist, and I feel like sciency analogies to philosophical concepts are almost always dodgy, but I will try anyway: To me, it seems similar on some level to say that, because the particles of gas in a room could be here, or could be there agglomerated on a corner, there is no meaningful way in which we can talk about the temperature of a room. Truth is, some combinations and permutations have been observed to be way more likely than others, way before we could meaningfully articulate the underlying mechanisms with anything rigorous.

This doesn't mean that the radically opposite conclusion is true either. You could go all the way against "there's no arc of justice", and become a Fukuyamaist or a Spanish Inquisitor: "there is an arc of justice, and it bends towards this". This is not a necessary outcome of Moral Realism though. Moral realism, to me, basically seems to say, that ethics and morality is not a "nonsense" discussion topic (again: Wittgenstein).
Designing an Intel 80386SX development board
It's interesting that all of the classic board games --- chess, checkers, go --- are NP-hard. I think there's something about NP-hard problems that attracts us, and it's fascinating how experts seem to understand the gestalt of a board position without enumerating the oucomes.
These questions often depend on how much time you are willing to spend making things fast. OCaml has an extremely predictable performance curve, which is nice when you are writing code that has to run fast. In turn, productivity is good because you don't get into situations where you have to rewrite code to make it faster in many cases. Even for brute-force algorithms, it tend to run fast enough that it would work well.

Over F#, OCaml provides a module system. This helps programming in the very large.

Over Haskell, OCaml provides a module system, and strict evaluation. The latter is a contended point, but proponents of OCaml claim it leads to memory/execution predictability. In Haskell (GHC) you often have to turn on optimizations in order to understand how your code will perform in reality, whereas byte-code interpreted OCaml acts just like natively compiled OCaml space wise, but is roughly 10 times faster in execution speed.
> There is a difference between something that is legal and something that is illegal but difficult to prove. You seem to be conflating the two issues.

Law is a mix of legislation and case law. If there isn't case law something might be considered to be not valid by tax authorities, but valid by the people doing it.

This is the grey area between normal tax planning and illegal tax evasion.
Use git-archive or curl: gzipped source code is always smaller than a full versioned repo…
As someone currently hiring for a mid level popularity language (ruby) I find that we don't have as many applicants as we'd like and that many people who apply have ruby on their resume but have never done an actual project in it.

We also do javascript and, despite its popularity, we also get quite a few applicants who have it on their resume and have never used the language for anything useful.

Personally, my opinion is just hiring is hard. It is a very valid point though that if you are not willing to hire remote (which my company is not) you are very limited when trying to hire for less popular languages. Alternatively just train people, but that can be expensive.
Yeah! Them people that don't share our hobbies and choices can get fucked, right? I mean transitioning to linux is so easy and relearning a new ecosystem so painless. Them scam victims deserve whats coming for them!

I also agree that malware devs are dumb. Instead of using that curl download in a way they know works, they could just add a p2p module to their malware, open up a few ports on infected machines and hide all that from av. Easy right? I mean them archive urls change all the time! And updating that via the cc is just too unelegant!
Conversion via Twitter
I upvoted you for the "this is free markets gone right" part, but I have no idea where you're seeing "a tendency of HM toward libertarian and free market approaches". Every time the issue comes up, I'm seeing about 90% comments against it. Maybe I'm reading the wrong threads :)
That's pretty much how it is, though with the way some governments work chances are that it would just lead to more squandered money and no reduced taxes for the ones making up the deficit. I've yet to hear of substantial tax decreases that were not carefully designed to be 'neutral' for the taxman. Every decrease in one tax was always offset by an increase in another or an entirely new tax.
I suggest you to read this (http://stackoverflow.com/a/31638988/2304450) very good stack overflow answer, you'll find some interesting introduction to inline styles if that's what you were looking for.

A different approach could be to pass a `classScope` string props down to the components, and each component then applies it to the classes it uses (Example: return (<div className={this.props.classScope + "inner-div"}></div>); ). This way we could achieve better css selector scoping, at a cost of a slightly more verbose code when using a component.
There's a lot of crappy things that are 100% free market. Oligopolies come to mind. Just because it's a free market solution doesn't mitigate the negative experiences this person created for the other bidders.
AirBnB for People: Rent Friends by the Hour
[IANAUKTL]

That would appear to run directly up against the Ramsay Principle.[1] Specifically, if a company does a series of pre-ordained business transactions with no commercial purpose, specifically with the goal of reducing their tax burden, Inland Revenue can look at the whole transaction and assess payment based on what would have happened otherwise.

A similar case happened in the US with Gregory v. Helvering[2], with the out-of-context quote from Judge Learned Hand in the predecessor case (Helvering v. Gregory[3]) saying roughly the same thing as Lord Clyde.

[1] https://en.wikipedia.org/wiki/Ramsay_principle
[2] https://en.wikipedia.org/wiki/Gregory_v._Helvering
[3] http://www.leagle.com/decision/193487869F2d809_1591/HELVERIN...
Playing the game isn't NP-hard, rather the task of deciding whether a level can be completed or not is NP hard (in fact, NP-complete for Super Mario Bros. and PSPACE-complete for Zelda games).
One could argue that good programming languages self-select good programmers. And that there are not that many good programmers in the first place.
While "a few winners and a whole fuckin' lot of losers" applies anywhere, the difference, the article says, is that in this case the losers have a lot more potentially malicious power over consumers, and you never want to be standing next to a desperate dying animal.
A two year look at the sales of chart-topping iOS title, a Dark Room
This is very true. I'm from Argentina and visited Italy earlier this year. Naples felt very much like Buenos Aires, and a lot of people understood me even when I spoke in spanish.
Such tendency exists, depending on your timezone.
Zenefits CEO responds to rumors of company's struggles
> Russians

Let me doubt this. There are a lot of individualist (esp. in large cities like Moscow and St.Petersburg), but they seem to be somewhat outnumbered by an awfully large number of Russians who consider government as having ultimate authority. I think we can well try to compete with many eastern countries in this regard.
No service plan is required. I think the software is even more aggressively bonded to TracFone service than is usual though.

(TracFone is the company behind many of the phones at Walmart: https://en.wikipedia.org/wiki/TracFone_Wireless )
Also, you can get way more competent answers on reddit (/r/reactjs) or on stackoverflow :)
Show HN: Modern-standard, linting rules for babel/es7 projects
Are you looking for image stitching, something like this?
http://ramsrigoutham.com/2012/11/22/panorama-image-stitching...
What is a coder's worst nightmare?
Amazon Fire 7" can be bought at 5 * $50 with 1 free so $44 each with good quality and warranty terms.
There's the Internet.org thing, which billed itself as bringing the Internet to poor people but actually only had a few partner services available. So "the Internet" was replaced with "Facebook and partners". http://arstechnica.com/business/2015/04/facebooks-internet-o... https://en.wikipedia.org/wiki/Internet.org
Well, there is only so much you can do before you simply run out of subtle options and resort to sledgehammer methods that irritate a substantial portion of the public. We're getting there. It's not there yet but even family members have now installed ad-blockers because of a re-targeting campaign gone bad. Of course that will lead to ad-blocker evasion and so on but in the end it does not look as if we all have the same goals here or if there is any respect between the various parties and that can't end well for all of them.
Funny how you don't quote the Ramsey Principle which comes decades after Pullman Motor Services and thus has primacy.
What NES games aren't NP-hard? I don't think complexity class is useful for games analysis.
This is very well presented! However, I was hoping to see minis too. Micros were just a side-light during the 70s.
Ah, east coast skiing: Roundtop's local(ish) to me, but I don't think I've skied there. Snowmaking truly is an incredible undertaking (and the epitome of first world problem), but the product doesn't compare to the real thing.
What the world eats (2014)
On a side note, there are a lot of hoops to actually work with 18F. I don't blame the guy for just wanting to do a project and move on with his life.
The differences are two-fold:

(1) There are multiple competing distributors who compete for your business. On the other hand, Facebook holds a monopoly on the time spent on its page and is incredibly dominant.

(2) Distributors don't typically compete with producers, but Facebook does. It also has "owned" content (friend's updates, videos, etc.) which it can serve without giving any traffic to media producers. This gives it a much stronger negotiating advantage.
Show HN: OpenCV-CFFI / Real Time Facial Recognition in Python
Ultrathin Graphene Could Improve Night-Vision Tech
Microsoft Is the Top Go Developer on GitHub
Microsoft and Code.org will use Minecraft to teach kids the basics of programming
The reason it's seen as adversarial is probably the same reason that Congress has an approval around 20% or so. It's not the fact that you're giving up money per se, it's the fact that you're giving up money to people you can't stand to do things you're morally opposed to and have no recourse to redress.

I'd like it if taxes were earmarked by the people filing their returns. Say that there's a number of categories that you can assign percentages to.. defense, education, etc. An unpopular war? The people withhold defense funding. You get the idea - a lot more representative of the will of the people.
I thought your comment was funny, and thought "well maybe the downvoters are being a bit too trigger happy"; but I think it's right to downvote. HN needs to stay vigilant about the quality of content offered- we've all see the slippery slope online communities tread on. Please keep comments on-topic and providing interesting insights to the post at hand. HN will be a better place for it.
Thanks! The seemingly simple technique actually took many iterations to get a good balance between security and view ability.
You could make it harmless but not a valid cURL, also. Something that just prints to the screen that there's a good chance it was downloaded by the original malware and points you to a page on haxx.se where you can get the real version.
Yep. Mitt Romney made some as gov of Mass, trying to lure biotech.
No. Two cameras will be on a line and fixed. They will be triggered at the same time. There will be overlap. So is it possible to take the images from both cameras and superimpose them to create one image?
https://twitter.com/sheerun/status/666050273538924545

Bower development hasn't stopped, instead the (single!) maintainer is asking for resources to continue development:

"Bower needs resources for its maintenance. Please fill Support Declaration (http://goo.gl/forms/P1ndzCNoiG) if you think you can help."

(from the Bower readme)
> Do you really want to join a company after only 3 hours of conversations?

Right on! The more conversations with individuals in the organization actually works in your favor. You'll be able to compare and contrast priorities, vision, work flows, etc... Getting team buy-in is an important consideration for managers.

If the time commitment is a real issue for you-- share that with them. See if they're amenable to a Skype/phone conversation instead.
Finance prediction is just a game of pure chance, a random walk.

Thing is, the game is rigged and when the big players loose, we all pay the bill.
Walmart is selling a $10 smartphone
Well the problem is self correcting. People will stop giving quality bids if they don't think that there is any profit to be made because a bunch of volunteers have destroyed the market. There is no problem here. Only that anyone bidding should be aware that they won't get properly compensated for their work and time.
Another death knell for the Web? Find out next week!
It's a "Show HN" article. From the "Show HN" rules:

> Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.

https://news.ycombinator.com/showhn.html

There is nothing even remotely inappropriate being done here, except for your comment, which violates the self-same rules:

> Be respectful. Anyone sharing work is making a contribution, however modest.
Is it a Canaletto or a Bellotto? Don’t ask an art historian
Do you have any context? I googled and couldn't find any.
More importantly, the power usage typically is/can be a few orders of magnitude less, especially when you can control the power state of the IC and wake it up with an external interrupt. I have a weather monitoring station that works off of two AA batteries for 12-16 months at a time.
> Productivity gains by well tested vast number of libraries and frameworks far far outweigh gains due to language features

I see this argument all the time. I don't know if the type of software development I do is special (I doubt it, it's fairly standard business software), but the amount of time I spent on business logic dominates total development time.

Past a certain fairly low threshold of core libraries (HTTP, JSON, CSV, database bindings, standard stuff like that), the amount of time libraries can save you is dwarfed by the cost of refactoring all that business logic.

On the other hand, if the language is so niche as to lack the basics, you can find your entire development budget spent on building functionality other languages offer out the box. I don't think OCaml is that niche...
I grew up skiing roundtop's sister resort, ski Liberty. Their resorts are really amazing at snowmaking, and all of their facilities for snowmaking are state of the art. Perhaps even crazier is that they can afford it, but by being the closest resort to DC, they'll gather insanely long lift lines on a decent winter weekend.

Edit: I wanted to add that the results of their snowmaking, after it's been groomed, is actually pretty enjoyable and a lot higher quality then any fake snow you'll find in the west. Last winter when I was suffering from no snow in the PNW, I was seriously jealous of the mid-atlantic's snowmaking abilities.
Using Apple HealthKit to care for patients with Type 1 diabetes
Lua.vm.js
It seems to make more sense for the logo itself to link to the explanation of the actual license. (e.g. http://www.gnu.org/licenses/agpl-3.0.en.html ) I agree with parent posts that it is a confusing distraction to have some other link also present on the page. If GNU wanted to put such links on their license pages, they could. Now they just have a logo and a link to TFA.
What is your initial impression?
I encourage you not to do this. If you want to make a statement, do it through your vote or by volunteering. By charging extra to the military, you actually join the camp with all the corrupt defense contractors who overcharge for everything. Clearly by your statements this isn’t who you want to be aligning yourself with. As a veteran, I hate defense contractors and believe the system is broken. When mercenaries get up-armored humvees before our soldiers do we have a problem, not to mention the fact we are using mercenaries. Don’t join this group through what seems to be good intentions.
Interesting, but note that's for today -- Google is the top Go developer this month: https://github.com/trending/developers?l=go&since=monthly
Not a very good infographic at all. More like a stylized table.
This is a fallacy - we all have to direct our time and resources as we see fit, and it is not feasible or reasonable to expect everyone with a keyboard to contribute in some way to the downfall of ISIS.

Besides, given that we live in the information age, the legal treatment of the software that controls our world is Kind Of A Big Deal.
Just because someone said "free market" doesn't mean you are obligated to recite the generic Litany Against Free Markets. The specific point here is that in a free market you are welcome to decide to volunteer to do something. Nothing about "free markets" prevents it. If you judge yourself to receive more utility from volunteering, then go ahead and do it. No central organization will stop you.

The idea that free markets "obligates greed", in a particular cartoon-villain sense of greed, is propaganda, not what the theory actually says. (Now, we can have a very profitable discussion about whether and where it enables greed, or perhaps structurally encourages it, and some interesting conversations on whether "encourages greed" is even necessarily always bad. But there is no way in which one is obligated to greed, such that you are somehow betraying some sort of ideal if you decide for your own reasons to act altruistically.)

I'm sort of amused at the number of people getting peeved about this. This person is volunteering to work for nearly-free for government civil service... if you are anti-capitalism or anti-free market and think people should be doing more for and with government... isn't that exactly what this is?

Are we really going to try to spin "someone volunteered to help the government with something" into "free markets are evil"? It seems to get rather into the "doth protest too much, methinks" domain.
I'm curious about Dodd-Frank and the mutualization of swaps. It seems like that could have some serious implications but this isn't something I know enough about. As I understand it, Treasuries have been attractive because no one thinks the US Government is going bankrupt. It sounds like now under Dodd-Frank, people don't care if JPM or the like go bankrupt either (implied guarantee?) Can you suggest avenues for learning more about these changes?
You're doing fine; thanks for sharing!
Zenefits launches payroll