skysight-inc/HackerNews huggingface dataset:
The few very, very excellent developers I know are not on LI, and keep away from it. Why? Because they're so good they will probably never need such a tool, finding work was never an issue.

I think you're actually shooting yourself in the foot, and as someone else mentioned - you're actually missing out on the very best developers out there by taking the shortest, easiest path to recruiting.
How to do it in python in case anyone is wondering:

import requests
import json

url = 'http://data.crossref.org/10.1017/S0022112061000019'
headers = {'Accept': 'application/citeproc+json'}
r = requests.get(url, headers=headers)
meta = json.loads(r.content)
# meta is a dictionary of metadata, e.g. meta['DOI']
Awesome job. Would be really cool to see something like this for legal citations as well.
> Not that we would, but should the US and China engage in endless WW2 style battles of attrition, the larger economy wins that engagement. Because at the end of the day the ability to replace assets trumps any initial tactical advantage.

I don't think it is quite this simple. You could argue that the country that can sustain the higher defense budget will win [1], which is actually the United States. Reason being that China's population is 4x that of the United States, so significant parts of GDP need to just go to keeping everyone alive.

[1] In the past; these days the US' technology superiority over China is so large that short-term budget changes still couldn't give China the edge.
If you're wanting that, host ad banners locally and use CPA/affiliate links instead. The additional benefit to this is that Adblock doesn't block them unless you name the div id or url 'advertisement'.
this is exactly what it is. They can still target ads and understand your preferences and behaviour.
I'm starting a bank and need HN's help. Anyone who donates £1000 will get a 3 years of free banking when we launch. Contact me at couldntevenbearsedregisteringadomainnamebeforesponging@gmail.com.
Isn't it moot? The bugs have mutated already. Closing the barn door after the cows have left...
I mean ads that use JavaScript to automatically open app stores without the user actually clicking on an ad, just by viewing a page.

I'm seeing this practice increasing and spreading. It must be effective.

I've seen it on some big web properties. The other day I was browsing the Guardian and boom, iTunes opened. If spent some time afterwards on my PC and Fiddler duplicating the views using a faked user agent to watch the redirects and cookies. It is slyly done. Normally it only happens once per session. They drop a cookie so that they don't persistently annoy the user, just once in a while.
How I Used ActiveRecord#serialize with a Custom Data Type
British Spy Chiefs Secretly Begged to Play in NSA's Data Pools
That's a great spot to be in Steve, I'd love to chat :)
I don't know how you plan to live in a world where outside its hot enough to melt lead.
Why not just let the apartment complex or home owner put rules in the lease that specify what kinds of behavior will result in eviction? I don't even see the need for specific rules against short-term rentals, because those don't inherently cause problems to anyone. If you're concerned about noise, just have a rule about noise.
Wikipedia: where truth dies online
Regulation isn't really the limit there. Regulation is the mechanism that implements the limit. The limit comes from the combined views of the citizenry about what sort of place they'd like their city to be.
Toolkit for managing jQuery Deferred/Promise objects inspired by Twitter Futures
Well, USA still has world's biggest debt - that is something!
Cartwheeling spider and the robot it inspired
Not everyone is so sanguine about the effect of the FDA's action. For example, NY Times food writer Mark Bittman:

http://www.nytimes.com/2013/12/18/opinion/bittman-the-fdas-n...

In California, though, there is much stronger action stirring in the state legislature, although it will need far more public support to become a possibility:

http://www.sfgate.com/health/article/Ban-sought-on-animal-an...
This is a lot of pedantic "correction". My basic point remains

(1) If I source the ingredients to "kale salad" at retail, it doesn't make the budget.

(2) If I eat 1/2 of it for dinner, its not a meal.

You can argue all you want about caveats, but people in the market for $4/day food are going to be reading for things at face value. I understand the market is not people like me--but then again, I've actually food-costed somewhat extenstively. One of the lessons of that exercise is that making a nuturtionally unsound "meal" is trivial and doing it "cheap" is even moreso. Brushing aside the major constraints of the exercise is missing the point.

The comment about parmesean is also telling. Retail for fresh parmsean--which I assume is $10--is more realistically higher. And 4 oz split 2 ways is 2oz/head. While you might "gag" at this, its not uncommon for a risotto finish to be 1/oz a person. And decent product is quite fine to eat 'straight', its quite normal actually. Parm is actually a generous assumption here because its protein density is so high per/oz. But that is precisely why it is a costly ingredient.

Lastly, pantry items are not "lost"--another mis-understanding. The issue is that they have spoilage and a cost-of carry that is not insignificant. A pro-kitchen can cost these out as overhead. A consumer kitchen on a real budget needs to pony up the working capital, and then needs to keep a speadsheet of inventory to re-use the ingredients. EG, we have 3/4 of a anchovies pack and 1 egg white now in the fridge...where does that go? In a resturaunt it will get used with 100% certainty...and most trained chefs will easily find a way manage that. Most people trying to slog out $4/day migh not have a plan for what to do with "pantry leftovers" in the same way. This is quite common affliction for people who don't cook regularly--eg college students, people with irregular schedules--etc. This is another reason why many avoid "scratch" cooking altogether as a strategy to "save money", because of food wastage issues.

Lastly, fresh ingredients are in fact quite expensive. How many calories are in an 8oz container of mushrooms? 100? for $2? A jar of Pickles? A $4/day book needs to average 500 calories per dollar. Whilst this is easy with starch, and with flour/bread, its not so easy with other types of "fresh food". Proteins and decent vegetables in particular.

Lastly, in any kind of urban environment this is doubly so. Outside of chinatown or the mission, even at farmers markets, the prices for fresh foods are typically marked up quite a bit more than preserved foods. Again, this issue is not faced by a resturaunt cook, but it is faced by the home cook who has to pay transit/taxi or time to go shopping to source ingredients in a way which makes efficient use of working capital.

None of this is personally directed at the author--it's more the nature of this exercise is that many published works in this class take certain amounts of privledge for granted.
Funny considering one of the original kings of user generated content is Youtube, which is owned by Google, and presumably runs Google ads.
I'd go a step further - at some point, there will be NO possible new antibiotics to develop or design. At the core, the concept of antibiotics depends on bacteria having a sufficiently different metabolism than our own cells, so that some compound disrupts internal processes of bacteria without affecting the similar process of 'good' cells. We have found a couple such metabolic pathways, and have various drugs targeting them. The problem is that once bacteria become drug-resistant, i.e., mutate so that they use a bit different chemistry, most likely more similar to our cells (obtained from our own DNA?) - then you can't do that anymore.

Perhaps there are some new antibiotics to be found, perhaps there aren't; but in any case there's an end of the road somewhere. After that, only radically different mechanisms would work - vaccines, phages, nanobots, something else, but not antibiotics.
Electronic spine to be implanted in paralyzed man
Hooray, now it can join URX[1] and DeepLink[2] in this "making links actually do things" space. Of course, being the free, open source option I do hope this prevails, but it amazes me the lengths we've had to go (URX even raised $12m) in trying to get the iPhone to do what Android has been able to do for years. Parsing URLs really shouldn't be this difficult.

[1] http://urx.com/

[2] http://www.deeplink.me/
Mysterious Kidney Disease Slays Farmworkers In Central America
Consider The Alternatives – AVC
> It takes what would otherwise be rental units for SF residents off the market and instead provides them to tourists. So my opinion is that yeah, that hurts the residents of the city.

By lowering the supply of long-term rentals, it would drive the cost up, which would incentivize the production of more long-term housing.
People are already dying from simple infections - about 25,000 people per year die in europe from anti-biotic resistant infection.

> The European Centre for Disease Prevention and Control estimates that antimicrobial resistance (AMR) results each year in 25 000 deaths and related costs of over €1.5 billion in healthcare expenses and productivity losses.

http://ec.europa.eu/health/antimicrobial_resistance/policy/i...
Nothing survives uncontrolled reentry. It isn't detonation that's at issue; its melted bomb parts falling like rain across large swaths of a continent.
"People tell us"

People don't tell you anything, they don't have a way to do it. Facebook just does whatever it wants without caring about the users, lets cut the BS.
Yes I have - this is an attempt to fully flesh out that idea for public schools
Climbing the tallest mountain in the world?
Right. The fact that people consider this plausible is Bad News for Google.
Having your dream baby
Please point to a single climate model that predicts air temperatures will rise to 300+ degrees celsius.
Not talking tiny reactors here; talking tons of the stuff.
I don't like using var in that way, because it seems like you're declaring two distinct variables. In your example, I'd much prefer:

function make_dot_product(dim) {
var dot;
if (dim === 3) {
dot = function(a, b) {
return a.x * b.x + a.y * b.y + a.z * b.z;
};
} else if (dim === 2) {
dot = function(a, b) {
return a.x * b.x + a.y * b.y;
};
}

return dot;
}

This also makes it clearer what happens if neither dim is neither 2 nor 3.
The Economist blog content tends to be pretty lightweight and casual, a little daily snack in between the weekly full-course meal of the print edition (whether or not you read it on paper).

I'm a bit torn. On the one hand, the fact that China was the world's biggest economy until 1890 wasn't very significant in terms of its influence on world history. I don't mean this in a Eurocentric way, but in terms of the fact that China stayed largely within its own borders and wasn't in intense technological competition with the West; the size of the economy was largely a function of its huge population, which remains somewhat true today.

On the other hand* population can't be the whole story, or India would have a similarly-sized economy. Chinese GDP per capita may lag behind the west, but there is no question that the country has profited hugely from becoming the modern 'workshop of the world.' These profits must be set against the negative externalities of chronic pollution and a increased internal political pressures, but it's impossible to ignore China's enormous strategic advantage in this area.

How they will leverage this is another question, as the country is facing an intense demographic squeeze that will leave it with a disproportionate number of elderly people within the next couple of decades, but without a strong social safety net or high levels of education. Obviously China's leaders have no intention of allowing the country to enter a Japanese-style economic stagnation, but how they will address that challenge is anyone's guess.

* Harry Truman once demanded that he be sent a one-armed economist who would supply him with one opinion instead of two.
I think its important to not lump all american schools togethor. I went to a public school in a relatively affluent suburb and i feel that i got a really good education. Now I can say with confidence that my experience is way different than one from LA or New York or Texas.
This. Ran into this very issue when I was implementing promises in Mithril ( http://lhorie.github.io/mithril ). This really makes promise performance a much uglier beast than it needs to be.

I took a less conventional road there: I deliberately violate the A+ spec and let surprises like the ones in the article example happen, in order to get good performance without hacks/bloat. Typically, promise resolution is usually done asynchronously anyways (otherwise, why bother using promises?), so this caveat would only be a problem in some serious case of misuse.

In any case, surprises are fixable in application space (i.e. just move lines of code around), but performance degradation due to some deep implementation detail in the promise API / browsers not playing ball is nearly impossible to fix unless you switch to a non-conformant promise library (in which case, you'd have to fix the surprises anyways - assuming you had any cases of misuse to begin with).
Edit: not sure why you're being downvoted, I upvoted fwiw.

Yeah I agree, I'd like to see this studied more in depth, because I also don't find the hotel industry to be unbiased in the discussion.

It is not supposition because it happened to me: someone in my building was Airbnb-ing their apartment and the building had significant damage to public walk ways, parties thrown on roof til 4am on week nights etc.

If you look through my comment history you'll see I'm, admittedly, completely biased because of that.

Again, as you said, I'd love to see a study.

I think it would be totally reasonable to also have a public place where I could see all units in my building that are currently being short-term leased, as well as a place to complain.

I don't think all out illegality is the only response here, but Airbnb (and VBRO etc.) are not handling this properly yet.
You should introduce a Bibtex format too if you have to rope in the academia crowd.
> TDD was supposed to ensure more correct software at the cost of some overhead (perhaps 30%?) by making sure every unit had its tests written ahead of the code.

Not exactly. Remember that TDD came from Extreme Programming, and the radical idea of Extreme Programming was "embrace change:" the idea that you could accept—no, desire—requirements changes after you started programming.

At the time, all software design was supposed to be done in advance; to do it any other way would lead to madness. The (fictional, it turns out [1]) "cost of change curve" said that a change in requirements would cost 20-150x as much if made after coding began, and thus all requirements had to be nailed down in advance.

XP said, "what if we could flatten the cost of change curve, so that the cost of a change is just the cost of implementation, regardless of when the change is suggested?" That's the whole raison d'être of XP.

The cost of change curve was flattened by using evolutionary design. The way you got evolutionary design was with four practices: pair programming (to improve quality), simple design (to avoid painting yourself into a corner), refactoring (so you could change the design), and... TDD. So you could refactor safely.

TDD is about enabling change. The quality benefits are also valuable, but not the main point. That's why TDD'ists care so much about fast tests—you need quick feedback when you're doing design refactorings.

[1] Laurent Bossavit investigated the literature for the source of the cost of change curve claim and determined that it was based on people graphing their opinions, not empirical data. Over time, those opinion graphs were assumed to be based on real data, but they weren't. https://leanpub.com/leprechauns
One reason would be that the housing market is bad enough without converting a bunch of housing stock into virtual hotels.

But more directly answering your question, what you're talking about is coming up with a good set of regulations for virtual hotels. That's hard. We often solve similar problems through zoning. E.g., we don't come up with a zillion little regulations on exactly what should be allowed in an industrial area versus a residential area. We just put compatible sorts of use together, and then mainly trust that people will work it out.
Big Ole Asterisk for this by the name of PPP (Purchasing Power Parity)

PPP is very useful to make comparisons about standards of living and affordability of different regions, but it's pretty much useless in measuring a nation's total economic output for global comparison.

While it's useful to say somebody making US$10k a year in China has the same real purchasing power as somebody making US$50k in the US and US$70k in Germany it's totally meaningless when comparing country's economies on a whole against each other.

China is still a very very long way away from overtaking the US or the EU (if you count that as a country which people seem to do) in actual real GDP.

This whole "revaluation" is some of the biggest bunch of click bait trolling I've ever seen. Appeals to the uneducated masses though I presume.
> short-term rentals have a negative effect on neighborhoods because they change the incentives of the people living the house from those of a neighbor to those of a visitor.

So what? People aren't friendly enough to their neighbors? Is this really worth regulating? If there's a specific concern, like tenants not maintaining the property or being too noisy, why not just require tenants to take care of the property and have a noise policy?
Spot on. Isn't the issue that a leopard doesn't change his spots. Facebook has historically shown a blatant disregard for user's privacy.

They store everything even when purporting to have deleted it and privacy is contrary to their underlying core business.

Privacy and Facebook is an oxymoron
Mountain View (for obvious reasons I guess): Google Express.

But really, what difference is there over just extracting the functionality of local courier into a stand-alone global service with an web presence, API, support, backoffice fleet management/dispatching and so forth? All FedEx and UPS have to do to compete with this is send drivers into stores.
Over the years, Facebook has dabbled with a bunch of different ways of apps requesting/handling user permissions and data.

This is not, actually, the first time Facebook has enabled this level of granularity, as far as users being able to grant permissions piecemeal.

It used to be (not sure if it still is) that an app could request one permission here, one permission there, at various points in its application flow. But with each request (in which you could bundle a bunch of different permissions) it was either an "all or none" decision for the user.

This new approach just makes things a little easier, because you can present all of the permissions and data request up front and let the user pick and choose what should be granted.

I think this Facebook thing is really going to take off one day.
And in fact, I would argue that a law which is not consistently enforced is by definition not a good law.
Houses being Built with 3-D printers
Agreed. Must have missed the difference in URL.
I think a lot of the skepticism here is drawn from the experience people have with companies that are culturally very different from companies like Google. Those companies are intensely management-driven, heavily siloed, and have very little internal inter-departmental communication that doesn't go through a layer of management. Difficult questions never get asked because management doesn't want to make waves or risk their fiefdoms. Documentation is hidden by access controls. Employees keep their heads down and do what they're told.

Bay Area tech companies such as Google are culturally very different from this. The silos largely don't exist, and management is not used as a way to funnel and control communication. Internal candid dialogs of surprising vigor can be found about any controversial issue. People are not afraid to ask pointed questions to high-ranking people. Policies and documentation are widely accessible.

It is, quite frankly, unthinkable that something this wrong and this blatant, involving thousands of people, would be allowed to happen for years in a culture such as this. And in a company like Google, "asking around" is indeed productive and would result in open and honest responses.
Rat out your Airbnb-using neighbors, win cash rewards
For collaborating on general JSON documents, you ought to check out ShareJS; it is a great library.

However, for more complex tasks like rich text editing (at least richer than what markdown supports) you'll need to have an implementation tailored for the task.
Facebook is never going to see that as a problem.
That's nice and simple. It also covers my case: after my mom died, I went and spent a summer back home. It was great to be able to rent my place out here to cover the cost of renting a place there.

And I think there's a good incentive there. I was very choosy about who I let stay, because I was letting them into my own home. I didn't want anybody stealing my books or breaking my things. For a unit set up as a virtual hotel room, I expect people would be less careful about guests.
Target Moves To Chip and Pin Cards To Boost Security – Slashdot
> why would you hire a web developer that didn't have their own domain?

As stated in my other comments, I'm in the not-Linked-In camp. But still, I must take issue with the above. I happen to own a number of domain names, but I don't have a personal site at the moment. That's simply because I don't need one. At the moment, I successfully rely on other signals of my trustworthiness as an engineer.

When would I want to create a personal site? If I worked on many small projects for many small clients, I'd constantly be in a sales cycle, so I'd have a personal site for that purpose.

So in answer your question: "why would you hire a web developer that didn't have their own domain?" I'd hire such a web developer if she were qualified, quite simply. If she lacked a personal site because she had to practical reason to create one, I wouldn't hold that against her. I'd think it reflected well on her judgment of priorities.
Kicking people out of a store is a really poor analogy. AdSense is a business relationship (governed by contract terms) between two professionals, that may operate over the course of months or years or even decades. During this time one party offers services (displaying ads) in exchange for monetary compensation from the other party, under established rules.

Arbitrarily terminating an account immediately before the payout date - after services have already been rendered - without any recourse or information is not 'kicking someone out of a store you own', it's fraud. Plain and simple. Companies like Google and PayPal mistreat and defraud customers like this because they know they can get away with it - they're too huge and well-lawyered to ever get punished for breaking the law.
No problem, I wrote a script to fetch it for those uncomfortable with CVS.

https://github.com/LibreSSL-Portable/libressl-portable/blob/...
What's scary about that is that your advertisers' perception seems to be hurting your business, but for something that (by all reasonable imagination on my side...) shouldn't actually be true.

I'd love to see if we can help debunk your advertisers' fears.
Ask HN: How can I learn English?
Im going to NYC for three month to launch my startup and need to improve my English.

Any startup doing something interesting on language learning?
I'm using asoftmurmur now. I think it is the best noise generator out there. Who cares what the code looks like?
Free Minecraft modding class in Oakland, Sunday May 4
For the sanctity of the business world we live in I sure as heck hope it's not true.