skysight-inc/HackerNews huggingface dataset:
The city of San Francisco did not give Lopez-Sanchez (the alleged murderer) sanctuary in the same way as described in the article. Immigration and Customs Enforcement was free to detain Lopez-Sanchez at any time while he was in San Francisco, and then deport him.

What San Francisco did was refuse to comply with the ICE request to detain Lopez-Sanchez, because he didn't have a violent record and because ICE did not get an arrest warrant. In situations like this, ICE apparently does not want to go through the process of getting a warrant, preferring instead to treat local law enforcement as an extension of federal immigration enforcement.

But in the U.S.'s federal system, it is not the responsibility of local law enforcement to simply do whatever the feds them to do. The responsibility of SFPD is to the people of San Francisco, not to ICE. Obviously in this case the result was horrific, but up to this point the policy was in place because the City believed it better served the needs of the people of San Francisco, and the people apparently agreed.

There's obviously a good case to be made for local police departments to comply with ICE requests. On the other hand, I find it disturbing that ICE could simply order my local police department to detain me (a US citizen) without getting a warrant, just on their say-so. As someone with a strong respect for the U.S. federal system, I found your comparison to medieval sanctuary to be cheap and inflammatory. Hence my earlier comment.
But the OP title is misleading, this isn't function overloading at all. It's macro overloading. Subtle but important difference. For example, you can't pass the OP's "add" around as a function pointer. You can't declare its prototype in an outside file (leaving the linker to link it in) without putting its full definition in said outside file. Etc.

It also gives, IMO, better error messages than C++. If we take OP's code and change a and b from int to long, we get:

test.c:20:24: error: controlling expression type 'long' not compatible with any generic association type
printf("%d\n", add(a, b)); // 3
^
test.c:16:28: note: expanded from macro 'add'
#define add(a, b) _Generic(a, int: addi, char*: adds)(a, b)

This is better than the situation in C++ where it would say the function does not exist, and then go through every function with that name (possibly quite a lot) and say why each one doesn't work.
What is this in response to? I couldn't find it listed anywhere in the article.
You might as well shoot somebody if you are going to try to land a drone with c4 on their head
I think a measure of independence is very appealing, especially if your career so far has involved sitting in a cubicle doing uninteresting work for other people.
How Academia does not resemble a drug gang:

1)Drug gangs don't have an excess of lazy administrative support staff.

2)Drug gangs actually have to deliver some drugs at some point.

3)The politics of drug gangs are less vicious and there is better teamwork.
It's good to hear it was of use to somebody :)

I know you can use a map in Nginx to do what you ask for, as long as you have a list of domains already: http://nginx.org/en/docs/http/ngx_http_map_module.html#map. I can only imagine it also being possible to make fully dynamic, I just don't have a clear way of doing it in mind right now.
Marissa Mayer’s radical options to save Yahoo
You can use the $host variable

See: http://nginx.org/en/docs/http/ngx_http_core_module.html#var_...
And: http://stackoverflow.com/a/15414811

Always be careful with user input though.
Want to experience life in someone else’s shoes? Early invitations available
The React world embraced WebPack after a modularity-kerfuffle back in January[1]. Pete Hunt followed that with his webpack-howto repo [2] which kind of turned the tide.

I really like Gulp/Browserify/Watchify/BrowserSync, but I'm starting to feel left behind and need to give WebPack an honest try.

[1]: http://blog.namangoel.com/browserify-vs-webpack-js-drama

[2]: https://github.com/petehunt/webpack-howto
Most employees produce a little more to their company's bottom line, on average, than their salary+overhead. They allow the surplus to go to the employer in exchange for certain benefits -- such as security, consistency, and division of labor. A lot of people would rather make $50,000 with a 4% raise every year than make $60,000 on average but with occasional dry spells, the constantly-looming threat of not being able to find new clients, and the annoyance of having to manage your own research/dev/sales/marketing/insurance/taxes/licensing/misc paperwork.
Our startup is giving users the opportunity to learn by experiencing life in someone else’s shoes. I am not able to share more details yet, but I'd be happy to answer any questions you email to me at vedad.me@gmail.com
Thanks for the read, just finished. The most interesting thing about this post for me is that what he's saying seems like it should just be common sense -- of course that's the way things are, it makes a lot of sense and is a very logical way of thinking about it.

That's kind of what bothers me about it. It IS obvious and logical... so why hadn't I considered it as clearly before? Why is everyone so narrow in our focuses after graduating college? I don't know, and quite honestly it bothers me. It's a good read, but I can't shake this slight feeling of anger and frustration; I almost want to blame the school environment and society, but I feel that's naive` and not where to place the blame?

Feeling pretty mixed right now, haha.
Python, and its various libraries including Pandas, and odo.
Probably has to do with the current booming environment for starting a technology business. It is fairly easy to start a technology related business, of course it is probably harder to actually succeed.

Software development is also a very creative process, which means people who engage in it on average are probably going to have many ideas of their own that don't necessarily fit the interest of their employer.
Make doesn't work on windows. Its not cross platform, while Node, and all technologies built on top of it, are.
> There can be no benign purpose for those exploits.

I agree, but as can be seen in the post by Netragard linked in the article:

www.netragard.com/exploit-acquisition-program-shut-down

Business can still rationalize and excuse their behavior by pretending that they're actually doing the morally right thing

> The need for 0-days is very real and the uses are often both ethical and for the greater good. One of the most well known examples was when the FBI used a FireFox 0-day to target and eventually dismantle a child pornography ring. People who argue that all 0-day’s are bad are either uneducated about 0-days or have questionable ethics themselves.

I loathe this viewpoint, for at least 3 reasons:

- "Keys Under Doormats": you keep the 0day secret to target pedophiles, but other people will be affected by it as well

- It's using the usual cheap rethoric of figthing pedophilia to defend some business interests

- You're either with us (the spotless knights), or against us... "People who argue that all 0-day’s are bad [...] have questionable ethics themselves "
I think what you are trying to express, in your own quixotic way, is that the phrase "murdered for taking a stroll" belies the complex causes of the murder.

And he's a "troll" because he justified this conversation-prompt with a genuine value-add
No, I said that the former was explicitly permitted. Whether it violates the section of the policy you quoted is therefore irrelevant. But you appear to be asserting that the phrase "associate it with the Trademarks" has something to do with trademark law, which doesn't seem clear.
This sounds interesting. Have you written about your ideas?
You don't get to just arbitrarily play sounds when I visit your website on my phone, sorry. Yeah, Apple are real dicks for that one.
There's a big 'X' in the upper right corner of the box you can click to make it go away.
This won't be fixed without a constitutional convention. Either a constitutional convention, or a state-invoked Article V convention would be necessary. Congress won't fix this as it attacks the source of campaign funding.

We need to make several changes to our constitution. These
are the most pressing must-implement changes:

1. Only allow the government to provide money to candidates.
2. Get rid of the electoral college for the election of the President and replace it with election by popular vote.
3. Only allow natural persons to get the bill of rights protections.
4. Guarantee the right to vote to all natural or naturalized US citizens 18 years of age or older, and prevent states from implementing obstructions to voting such
as voter ID, testing, and permanently barring ex-cons from voting.

These amendments would be nice to have:

1. Establish constitutional controls against rent-seeking and regulatory capture the expense of the free market.

2. Enact banking regulation at the constitutional level.

3. Control lobbying at the constitutional level.

I'm not optimistic about getting these amendments into the constitution. The Federal governement is too powerful, and will probably self-coup to protect its interests.
You do it by transforming the world enough that "making a living" becomes a fundamentally different sort of operation. Hang in there, we're all in this together.
A Leap of Faith That Lead to a $1M Theme
They each have their strengths. If you're in Enterprise production, or scientific computing, you'll want RHEL or at least a distro based on that. Most enterprise, cluster and scientific software, as well as some hardware, is best-supported on RHEL-based distros, and the stability of these distros means few surprises during the disto's supported lifetime.

If you're hosting your own web apps on commodity servers, more into VMs and containers, or you are more concerned with tracking current versions of languages, kernels, and other software than you are with long-term stability, then Ubuntu can work well.
Only library-wise: the reason for _Generic <tgmath.h> is missing, <complex.h> exists but can't be used. Some lesser used and sometimes useful C99 language features/changes are still unimplemented. Even excluding features C11 made optional (for good reasons) like VLA or complex.
I know many (older) devs who don't want this.

They go to office, code what they get told, cash their (senior) pay-check and go back home.

Some have the abilities and ambition to do their own thing. Some don't have the nerve to meddle with the business stuff.

I understand both, the "I want it all!" and the "I just want to build things and be left alone!"
I think I agree with you. I see a market for camera bypass bugs as more evidence that the whole market is ethically bankrupt. I've always thought that --- high prices for exploits are premised on the idea that they aren't being fixed by vendors! --- but this is a lurid and disturbing detail.

Of course, it's also possible that, like the Netgear CSRF RCE, this is a bug posted with a high price as a a trial balloon, and nobody actually buys them.

(For what it's worth: I also think the idea that serious enterprises need zero-days to test their security controls is also pretty silly. I know it does happen, but I think the causality is mixed up; I think it happens because the markets exist, not the other way around.)
You should fix the URLs that it generates when you perform an action. It completely spammed my history. [0]

0: http://i.imgur.com/xO89UFB.png
TechCrunch is one to talk. Their writing might be more knowledgeable but is still characterized by magical thinking on tech when it comes to Big Names and Buzzwords.

The WaPo editorial board has taken a stance which large businesses that specialize in high tech products have already publicly opposed. In this particular disagreement, the technologists' position supports that of Valley firms, so TC can namecheck Diffie, Rivest and Schneier to argue their case.

Wake me up when TechCrunch starts echoing Schneier about the surveillance economy fueling the internet.
8 Anecdotes about John von Neumann
This is a dupe of https://news.ycombinator.com/item?id=9906107 with a more linkbaity title.
[Remember to add the http://www to trigger the URL link detector.

Edit: for the lazy

http://www.reddit.com/r/AskHistorians/comments/24aibx/how_hi...

http://www.reddit.com/r/AskHistorians/comments/3e3etn/what_w... ]
Perhaps your research didn't lead you to an answer, however I feel like the bower/browserify isn't that big a bridge to cross. A tool like literalify[1] will allow you to 'require' globals. If you wish to require bower components, browserify-ing them isn't going to work quite well simply because normal javascript adds globals while commonjs has you explicitly get what you desire. As for CSS, there are ways to [2] inject it on the fly. Though at that point your making your bundle much larger than it needs to be.

[1] https://github.com/pluma/literalify
[2] https://github.com/substack/insert-css/blob/master/index.js
Blurry is an easy blur library for Android
Would having and raising children more intelligent than oneself count?
So we have to make sure nobody with the means to perform such an attack would ever have the motive. That means better social equality, better access to healthcare, etc.
Both true - but once you own someone's router, one could (hypothetically) social engineer the target into downloading an alternative SSL cert (like you would do yourself when setting up a debugging proxy for HTTPS traffic). As soon as they do that, it's all cleartext. I've been able to convince various (non-technical) house guests and (technical) coworkers to do this in the past, so I imagine it'd be possible on a wider scale.
Unix much?

My biggest hesitation about WebPack is that it does too much and duplicates so many other tools. If I'm already using Gulp to watch files and BrowserSync (love!) as my local dev server, why do I need WebPack when I'm only going to be using one of its abilities? Isn't this bloat?
Ask HN: What earbuds do you use? I need help
I wear over the ear headphones a lot, Beyerdynamic T70P.

For earbuds I use the Apple Pro in-ear with small ear pieces. The Apple ear pods don't fit. I have tried the $150 Beats ear buds and they didn't work in my ears.

The problem is I am breaking the jack of the Apple Pro in-ears. Twice now I have cracked the jack off. I am not sure how it is happening.

Can anyone recommend a sturdy pair of ear buds that have small in earpieces like the Apple Pro in-ears?
To be fair, a similar pattern might be present in other industries as well, e.g. finance, food services, manufacturing, etc. I think the point the author is trying to make though is that academia is uniquely like a drug gang, but I'd don't see anything to justify that. My guess is that you'd find something like this in every large and hierarchically-organized system. That's not to say this is a good way to do things though...
I recommend reading the notes section and better yet the following blog entry before one decides to use _Generic with less trivial types:

https://gustedt.wordpress.com/2015/05/11/the-controlling-exp...
http://www.bothsidesofthetable.com/2014/10/12/the-authoritat...
http://avc.com/2014/07/the-pro-rata-opportunity/

those 2 should give u a good overview
> The 2004 Madrid bombing killed 191 people and wounded 1800 without requiring neither suicides nor drones

Shakers in the 18th century made some of (in my opinion) the most beautiful wooden furniture with simple hand tools. But each piece took ages to produce and finish.

Now we have power tools and inexpensive stains and finishing products that dry quickly. The output of a legion of Shaker craftsmen can be matched by a single moderately skilled woodworker today.

Similarly, the fact that attacks were successful without drones doesn't mean that cheap, commonly available drones can't make it easier to do lots of damage. Nobody says you need these items to make a successful attack, just that they have the potential to make a bad attack much worse. Not to consider this while implementing countermeasures is irresponsible at best.
Could be interesting, but the description is far too vague.

If giving more details ruins the whole thing, it suggests the experience is probably too shallow.
i LIKE my funny hat, thank you very much.
Is it just me, or was that not enough information to make that conclusion?

There could be a lot of people sharing their password with people outside their household, and not sharing it with their household.

Also netflix subscribers could have a different average household size than the general population.
Interesting approach, this is how I do it:

cc -std=c++14

No preprocessor necessary! Also it checks the type of both arguments.
A few years ago it was a popular (unproved) idea in particle physics that the neutrinos were Majorana particles and so the neutrinos and the antineutrinos were the same particle. Has that expectation changed? Does this experiment disprove it?
Isn't Facebook pinned? Google is.

Obviously, if you can trick someone into running an EXE, it's game over, but that's true whether or not your router is owned up (95%+ of the Internet sites people visit can be used to stage this kind of phishing attack.)

Someone who knows more about organized crime than I do can tell me whether or not people actually harvest logins from compromised routers. CSRF RCE definitely belongs to the class of attacks that can be deployed en masse with very little effort, so it's at least sort of plausible.
"Getting to that point definitely takes capital"

That's not correct. There are all sorts of distribution channels that do not require capital like trade shows, blogging, guest blogging, affiliate programs, and app stores.
Because the day to day doesn't do it for me after so many years. The day job doesn't provide the opportunity to play around with new technologies, learn new skills (business, marketing, hell.. accounting. I've never touched those!). I'm not even complaining about that, I get that the business runs much more smoothly without changing languages, frameworks, methodologies every few months. That's fine.

I want to start my own business because I want to be challenged. It's not about the money (although I wouldn't mind success). It's not about getting away from the day job, I'd be happy to continue there unless this thing hit the roof (although the chances are slim). I just want to push my abilities to their limits and then push a bit more.
10 Tweets Not to Tweet If You Want to Keep Your Job
I'm a Windows phone fanboy, but the OnePlus One really made me want to try an for once android, sadly I had just bought a windows phone at the time, but this time I'm gonna get the OnePlus Two for sure, their phones look great and their pricing doesn't seem insane like many other phones be it android, windows phone or iphone.

Can't wait to get my hands on the OnePlus Two :)
I can't speak for Kubernetes, as I haven't tried it, but we've just started the migration to using Mess/Marathon for infrastructure management.

Following this course will give you a solid foundation for debugging issues, and as has been mentioned, the logs are surprisingly useful for that task. Once we got the packages installed on the cluster, we tested various ways we could imagine it failing (application failing, docker container failing, image restarting, image dying, etc.) and found it pretty intuitive to fix most issues. Sometimes, the fix is necessarily outside of dcos - you'll need to set up an autoscaling group to ensure you always have the proper number of nodes running. You'll need to set up VPCs to ensure your public/private slaves are actually public and private. You'll need to tag those instances as they're launching so Marathon will know they're public/private respectively.

Assuming your team is pretty ops-savvy, I'd say dcos is surprisingly simple to manage and debug, and this advanced course does a great job of walking you through the entire stack of technologies used.
Just to let others in on the reference, Levitt is the co-author of Freakonomics, a book that popularized, among other concepts, research showing that the average drug dealer gets terrible payment for the risk they take, and only stays in the business due to unrealistic hope of one day becoming one of the few drug lords that make insane amounts of cash.
With a few exceptions, any content created by the US federal government is in the public domain.

https://en.wikipedia.org/wiki/Copyright_status_of_work_by_th...
Supporting HTTP/2 in Warp
"the Fed could release a newDollar and only accept a certain amount of oldDollars"

2/3 of oldDollar cash is stored outside the US by people who mostly can't enter the USA without visas etc.
And those will be pissed royally.

It would be not wise choice to piss off more people than your own population, however not never done by the USA.
Building software for your own builds your obsession for the thing you created. Its your baby. The side project quickly morphs into obsession because of the dopamine release that comes from seeing your creation work.
Right, that's the promise.

The reason I want to do this is that it's great to throw your money into a single high-spec machine, with fast processors, lots of them, lots of RAM, quiet fans, SSDs, etc., and all your VMs are able to share in the benefits. Plus you have far less hardware to manage.

Also, I find it vastly easier to work with Windows when the backing store is abstracted away into something like LVM where I can easily snapshot and rollback and change it out, store it on a RAID array maybe, and all Windows thinks is it's dealing with a bog standard C drive.

Plus, there's a it's-just-cool factor. Cool to have one awesome machine and three monitors, three keyboards and three mice coming out of it, running different desktop operating systems simultaneously, etc. It's like the mainframe got reinterpreted for modern home use.

The trade off is that often much fiddling is required to make it work. Lots of motherboards have hidden gotchas. Consumer Nvidia cards can be somewhere between a hassle to impossible to get working (with KVM currently an exception to this, though I'm guessing that will turn out to be short-lived). Going with AMD means using their drivers, and on Linux I've always had problems with them. (Though if you don't need high-end 3D on your Linux VM, you could grab a cheap Quadro off eBay and that'll work without difficulty.) And if you have a big hardware problem like a motherboard failure, all your systems are down, though that's true for any kind of VM setup.
Increases the absurdity, which increases the chances someone will notice the flaws, instead of blindly integrating useless platitudes.
This looks really cool.

Do you have any speed comparisons vs traditional autocomplete methods?
So it looks like the NYTimes isn't going to win a Pulitzer on this one?
This also is probably more focused on degrees in the humanities, where it is more common practice to have to a read a few books a week for a course, rather than a few chapters a week from a text book.
Handling Data in Node.js Using Datalib
Seems to be in response to an op-ed from October 2014 - https://www.washingtonpost.com/opinions/compromise-needed-on...

EDIT: In a similar vein, WaPo also published this, though not from their Editorial Board https://www.washingtonpost.com/opinions/apple-and-google-thr...
Agneed: Weak PO or weak product management will sink you.
The Chinese did this in the late 50's with sparrows; they managed to bring them close to extinction in a (spectacularly failed) attempt to increase crop yields.

https://en.m.wikipedia.org/wiki/Four_Pests_Campaign