skysight-inc/HackerNews huggingface dataset:
I understand tariffs aren't good when taken alone, but what else can you do to put the US on an even playing field? We want to have strict environmental laws, which make manufacturing more expensive and then companies move to where there is no EPA so we lost jobs and new laws are a net negative for the environment.

My opinion is that there should be tariffs to make up for the differences in laws anywhere without similar laws - if you want to pay workers pennies a day no problem, but you're going to pay the difference on the way in. China might let you destroy their local environment but you'll pay for the effects of your pollution on the way in.

Trade deals should come with negotiations that will help us with our global warming problem at the very least - if you want to have a trade deal you'll need to match or beat the regulations we follow or the tariff will reflect an approximation of the difference in cost.

I think that it is a bit problematic that the majority of those for free trade also want policies that discourage domestic manufacturing like an increase in minimum wage and increased environmental regulations.
sign off ,tune out , and relax people .

If you think Facebook or twitter has some secret knowledge others don't have , or don't have yet . You are sheep being lead to the slaughter .
In a popular vote, candidates would spend a proportionate amount of their time in large states like California, Texas, and New York.
In a nationwide election for President, candidates would campaign everywhere—big cities, medium-sized cities, and rural areas—in proportion to the number of votes, just as they now do in only a handful of battleground states.

A successful nationwide presidential campaign of polling, organizing, ad spending, and visits, with every voter equal, would be run the way presidential candidates campaign to win the electoral votes of closely divided battleground states, such as Ohio and Florida, under the state-by-state winner-take-all methods. In the 4 states that accounted for over two-thirds of all general-election activity in the 2012 presidential election, rural areas, suburbs, exurbs, and cities all received attention—roughly in proportion to their population.

The itineraries of presidential candidates in battleground states (and their allocation of other campaign resources in battleground states, including polling, organizing, and ad spending) reflect the political reality that every gubernatorial or senatorial candidate knows. When and where every voter is equal, a campaign must be run everywhere.

With National Popular Vote, when every voter is equal, everywhere, it makes sense for presidential candidates to try and elevate their votes where they are and aren't so well liked. But, under the state-by-state winner-take-all laws, it makes no sense for a Democrat to try and do that in Vermont or Wyoming, or for a Republican to try it in Wyoming or Vermont.
Breathe. Exhale. Repeat: The Benefits of Controlled Breathing
I think that political purges in the workplace are a bad idea. The U.S. should have learned that lesson in the 1950s, when people lost their jobs for being communists.[0]

This kind of discrimination would be illegal in California, where "political activities or affiliations" are a protected class.[1]

However, Grubhub seems to be based in Chicago[2], and political affiliations don't seem to be protected under Illinois law.[3]

Political affiliation is also not a protected class under Federal law.[1] Perhaps it should be.

[0] https://en.wikipedia.org/wiki/Hollywood_Ten, https://en.wikipedia.org/wiki/McCarthyism

[1] http://www.nolo.com/legal-encyclopedia/california-employment...

[2] https://en.wikipedia.org/wiki/Grubhub

[3] https://www.illinois.gov/ihrc/Pages/default.aspx
VirtualBox works fairly well. Not that I would want to use it as a primary desktop environment that way.
Are you able to have a functioning linux installation with a razer blade, without doing too much sorcery? For example, this is the case for plenty of Dells that I have tried.
I have never used a razer blade, but I have been through the forums and it seems that having linux work properly is not that straightforward.
Separate ideology (or whatever happens to be the object of bias) from identity, and you're halfway there. People are much more amenable to changing their minds if their identities aren't at stake. For example, most people can discuss the pros and cons of F-150s and Silverados fairly rationally; those with the Calvin pissing logos, not so much.
Huge doses of probiotics have done wonders for me.
Now, a presidential candidate could lose while winning 78%+ of the popular vote and 39 states.

With the current state-by-state winner-take-all system of awarding electoral votes (not mentioned in the U.S. Constitution, but later enacted by 48 states), it could only take winning a bare plurality of popular votes in only the 11 most populous states, containing 56% of the population of the United States, for a candidate to win the Presidency with less than 22% of the nation's votes!

But the political reality is that the 11 largest states, with a majority of the U.S. population and electoral votes, rarely agree on any political question. In terms of recent presidential elections, the 11 largest states have included five "red states (Texas, Florida, Ohio, North Carolina, and Georgia) and six "blue" states (California, New York, Illinois, Pennsylvania, Michigan, and New Jersey). The fact is that the big states are just about as closely divided as the rest of the country. For example, among the four largest states, the two largest Republican states (Texas and Florida) generated a total margin of 2.1 million votes for Bush, while the two largest Democratic states generated a total margin of 2.1 million votes for Kerry.

In 2004, among the 11 most populous states, in the seven non-battleground states, % of winning party, and margin of “wasted” popular votes, from among the total 122 Million votes cast nationally:
* Texas (62% Republican), 1,691,267
* New York (59% Democratic), 1,192,436
* Georgia (58% Republican), 544,634
* North Carolina (56% Republican), 426,778
* California (55% Democratic), 1,023,560
* Illinois (55% Democratic), 513,342
* New Jersey (53% Democratic), 211,826

To put these numbers in perspective,
Oklahoma (7 electoral votes) generated a margin of 455,000 "wasted" votes for Bush in 2004 -- larger than the margin generated by the 9th and 10th largest states, namely New Jersey and North Carolina (each with 15 electoral votes).
Utah (5 electoral votes) generated a margin of 385,000 "wasted" votes for Bush in 2004.
8 small western states, with less than a third of California’s population, provided Bush with a bigger margin (1,283,076) than California provided Kerry (1,235,659).
I've made a similar list for economists. It included a list of practical applications of ML. Developers can get a sense of what the discipline can do before jumping in.

APPLIED MACHINE LEARNING CASES

## Business

1. Kaggle, Data Science Use cases. An outline of business applications. Few companies have the data to implement these things. https://www.kaggle.com/wiki/DataScienceUseCases

2. Kaggle, Competitions. (Make sure you chose “All Competitions” and then “Completed”.) Each competition has a leaderboard. When users publish their solutions on GitHub, you can find links to these solutions on the leaderboard. https://www.kaggle.com/competitions

Industrial solutions are more powerful and complex than these examples, but they are not publicly available. Data-driven companies post some details about this work in their blogs.

## Emerging applications

1. Stanford’s CS229 Course, Student projects. See “Recent years’ projects.” Hundreds of short papers. http://cs229.stanford.edu/

2. CMU ML Department, Student projects. More advanced problems, compared to CS229. http://www.ml.cmu.edu/research/data-analysis-projects.html

3. arXiv, Machine Learning. Drafts of important papers appear here first. Then they got published in journals. http://arxiv.org/list/stat.ML/recent

4. CS journals. Applied ML research also appear in engineering journals. https://scholar.google.com/citations?view_op=top_venues&hl=e...

5. CS departments. For example: CMU ML Department, PhD dissertations. http://www.ml.cmu.edu/research/phd-dissertations.html

## Government

1. Bloomberg and Flowers, “NYC Analytics.” NYC Mayor’s Office of Data Analysis describes their data management system and improvements in operations. http://www.nyc.gov/html/analytics/downloads/pdf/annual_repor...

2. UK Government, Tax Agent Segmentation. https://www.gov.uk/government/uploads/system/uploads/attachm...

3. Data.gov, Applications. Some are ML-based. http://www.data.gov/applications

4. StackExchange, Applications. http://opendata.stackexchange.com/questions/3346/examples-of...

## See also

The original article: https://antontarasenko.com/2015/12/28/machine-learning-for-e...

A related list of cases: https://www.quora.com/What-are-some-practical-applications-o...
My understanding is that this is a near-term effect, just like the current climate effects are. Mixing into the deep ocean happens on hundreds-of-years timescales and will eventually absorb everything we're emitting today without significant net Ph change.

So, it's really bad, but not irreversible or unmitigatable (again, from the "human extinction" angle).

And as far as the "billion people" thing goes: yeah. Disruption is unavoidable. Nonetheless there is sufficent arable land to feed the world, and alternative ocean-sourced proteins exist (jellyfish, say) that are unexploited for historical reasons.

Which, too, is really bad. But not apocalypse-level bad, just mass extension bad.
Because of the time zones in the United States and the electoral college system, if certain states on the east coast are called for Candidate B and it is then concluded that Candidate A has no path to victory, that might depress turnout in the western states who are still voting.
That's trivially possible in the Go version because you paid the cost of adding explicit error handling upfront.

It takes more effort to wrap a handler for a specific exception because there was no need originally to write a handler in that place.
I agree that Pence is a concern. His influence on this topic on the admin remains to be seen. I strongly hope he does not have enough say to take us backward.

Trump's answers in those interviews don't sound much different from the ones we heard from Hillary or Obama back when they could not favor gay marriage either --but they've moved on and it looks like Trump has moved on (still, what he might do as policy is unknown, for now).
You're seriously saying that generically? All languages should simply have them? Not so sure you should dismiss the context like that.
Ruby 3x3: Matz, Koichi, and Tenderlove on the Future of Ruby Performance
Office UI Fabric’s robust, up-to-date components are built with React
> If you want to set a breakpoint on the error then I guess that's not possible in your form.

You can just macroexpand ? and do that (although I don't know that there are tools doing macroexpansion currently).

> I don't know what ? really does

It's really nothing special, `a?` simply expands to:

match a {
Ok(val) => val,
Err(err) => {
return Err(From::from(err))
}
}

> also if the funcitons throw exceptions instead of returning errors in other languages

?
Office UI Fabric Components
No worries, it happens.

What worries you about it? What things need to be "handled in a systematic way"? Are you just generally opposed to any new syntax in languages or something?
It's all the same stuff, man. Rust just:

* makes you be explicit about call sites which throw

* makes it easy to reify fallible computation (so it can be stored in e.g. a Future)

For instance:

fn foo() -> Result<Value, IoError> {
let x = a()?;
let _ = b();
if someCondition {
return Err(IoError::Whatever)
}
return c(x).unwrap();
}

is just

Value foo() throws IOException {
x = a();
try {
b();
} catch(Exception e) { /* TODO: ERROR HANDLING? */ }
if (someCondition) {
throw new IOException();
}
try {
return c(x);
} catch(Exception e) { abort(); }
}

This is made especially clear by Swift's model which is pretty
much exactly the same as Rust's, but makes it look like exceptions:

// RIP typed errors
func foo() -> Value throws {
let x = try a() // "rethrow"
try? b()
if someCondition {
throw "Oh No IO!"
}
return try! c(x)
}
AI curated feeds are, of course, not the free flow of information, rather they are blind algorithms looking at what one's "friends" like and what you've previously liked and then feeding you more of the same, creating filter bubbles and fracturing society, while allowing nefarious actors opportunities to game their inherent naïveté.

Closer to the free-flow of information was USENET, and even though it was eventually overrun by trolls and spammers, filtering was largely human driven and unsophisticated, via their news clients, and one had little choice but to look at contrary opinions, and even to debunk some of the totally false junk, which is now hidden from view or buried at the bottom of long threads, left for the "true-believers".

I've been reading parts of the "alt-right" (deliberately breaking my own filter bubble) for many years, and although I despise what they stand for, I do agree with them on one thing..human ability is not evenly distributed. Of course they use this point to advance a racist agenda, but the fact remains that many people of all backgrounds are just not smart enough to deal with the "free" flow of information. They lack the intelligence to deeply introspect on their own biases and to understand that what they are being fed is garbage aimed at manipulating them. The sooner geeks (and those with a "small l libertarian" streak) accept that reality, the safer[1] the world will be.

[1] in a literal sense, now.
Make trees, and put those in the ground.
$150 isn't a very good status symbol.
Hey, you can take the words out of my mouth. I like IntelliJ as well.
>If "ethnic cleansing" doesn't qualify, then pick your own terminology and TELL ME WHAT I SHOULD SAY TO MY KID ABOUT THIS.

It's called illegal immigrant deportation. An ethnic cleansing would involve removing all people of a certain racial background. Calling it an ethnic cleansing would not only not cover all illegal immigrants (not even those coming only from Mexico, please look at the Mexican president before making another racist statement like that which I'm sure you did not intend, and I mean that) but it would end up covering a huge amount of legal immigrants, many of those who voted Trump explicitly because of his immigration policies.

I don't know how old your son is, but if he understands what the law represents, you should approach the problem by making him understand that his friends' family came into the country knowing that they would be doing a bad thing that is punished by law. That does not mean that his friend or his parents are bad people, but that they made a mistake and they have to go back to their country for a while until they first ask for permission to live in the US, and then they can come back.
It's not really a mistake. Just coding preference. For example: do_A()?.do_B()?.do_C()?. With the one line statement like that, when weird things show up, I don't really know if it's caused by bugs in do_A, do_B, or do_C. The linear layout of Go code lets me go through each do_X call line by line and setting break points is also easier. The problem here is when I need to investigate the chain do_A()?.do_B()?.do_C()?., I may have to rewrite that statement.
Why not try the truth?

"Son, most people in the world don't have the opportunity you and I have. You see we live in one of the wealthiest nations on the planet and we are very lucky to be here. So, it is only natural that people who are not from here wish to come here. We used to make this easier for them, but over the years that process became so expensive and cumbersome that some of them decided to simply walk across the border. Now they were technically breaking the law when they did that, but it is understandable given the lack of opportunity where they came from. As the law stands they are here illegally.

Now, the Republicans tell their voters that they wish to deport these people, often that doesn't happen because they want them to stick around and work on their farms and factories.

On the other hand the Democrats claim they want to help these people, but right now a Democratic president has deported record numbers of them for some reason.

The truth is these people don't get a vote in our society, so the politicians simply don't care about them. Both sides use them as a political tool to advance their ambitions, and that's wrong. Grow up to be better than them."
Looking back, Apple seems to have had 3 major product materials: beige plastic, white plastic and aluminum.

I wonder what’s next.
If you have enough abstraction capability (HKTs, for example), try! is also redundant... and you can instantly generalize to anything that isn't necessarily a `Result` but has the same general structure.

By special-casing now, one almost-certainly[1] closes the opportunity for future consolidation.

[1] I say almost because it's not necessarily a done deal, but migration gets exponentially harder the longer a language has been "out in the wild". GHC/Haskell has gone through a similar upheaval in the last 1-2 years and it wasn't pretty... but ultimately it seems to at least have survived, so there's that.
React components for building experiences for Office and Office 365
Nuclear annihilation should not be discussed as if it lies entirely in the past, either. There are thousands of warheads ready to be fired on a moment's notice. MAD didn't disappear with the fall of the Soviet Union, people just stopped paying attention to it.
Why give them an artificial task? Let your candidates bring their own pet projects or let them show their portfolio of projects and discuss about it. Designers, Artists, Photographers always have a portfolio of their work. Why shouldn't programmers have one, too. And no programmer is shy when talking about her/his own projects. See also https://blog.codinghorror.com/a-programmers-portfolio/
See my other comment; https://news.ycombinator.com/item?id=12924880
I do not, no, and I would suspect that it'd be a non-starter if it did require it.
In order to be acceptable to the general public you need to represent a wide array of contradicting opinions. If your propaganda is too bland it will be rejected in increasing numbers and turning up the volume then will only make people close their ears. I don't think it is easy to run such a system but I do think it works pretty well most of the time.
Good point. Also, the cult of personality or celebrity. Arnold Schwarzenegger, as an ineffectual governor, demonstrated that you need more than just celebrity to get things done.
I'm sure you think it's hilarious to play at this - but you just wait until it becomes acceptable on national TV to call for people's murder like in ex-Yugoslavia or Pakistan. That's where even your joking is heading if you are just tossing this shit out on HN.
Your Android example has strange quotes on the .createBucket(...) call -- line 9
Reminds me of the excellent windows torrent client of the same name [1]

[1]https://github.com/Eoinocal/Halite
In our bubble we see waves, Apple is just seeing huge sales numbers.
LOL, whats it going to do run as a NPO and take donations from its users and no ads? Cmon Zuck, I dare ya because you know that is the only way to "fix" this...fix your bottom line.
Absolutely not, they are not the same. Without generics, the compiler can't make any guarantees on the soundness of your code. Go will accept code that's inherently broken and that Java will simply refuse to compile. I like to catch such errors as soon as possible.

As for saying "they are the same once the code is running", well, duh, of course, but it's completely useless by then.
That depends. MacBook Air 2012 11 inch is one of the best machines I have ever seen for Linux. In fact Linus himself used one for some time, which he praised. It's a very standard Ivy Bridge machine, also extremely silent.

Everything just works with a stock kernel. Only minor caveat is that the wireless card has bad range. But also in Mac OS, so not sure this is a driver fault. Easy to fix, I use an external Atheros from Alfa which has incredible range and is great for pen-testing.

Apart from that, the only annoyance is that the battery does not emit ACPI discharge events. But very few laptops do this, apart from some ThinkPads. (I would love to know which do! These are really useful to set up udev sleep rules instead of polling the battery on a tiling window manager & no-desktop-environment setup, but it is a feature rarely documented.)
You're forgetting about language pads and shenanigans.
> The risks of ineligible people voting, or people voting twice, have been repeatedly shown to be virtually nonexistent

How someone like Bruce Schneier can be so ignorant to facts?
I dont understand. I've never seen any other political forum so filled with bullying and hate. No one is discussing anything. It is alarming because it IS uniquely toxic.

(disclaimer: I dont spend much time in any political forums. Can you link some if I'm wrong?)
The logic seems to be 'If I hit a sedan, I'll be better off', which ceases to be meaningful if the other person is driving a truck, or you hit a tree.

Great if you hit a Prius though.
Is it possible to work remotely?
Linux isn't, either... Otherwise, it's great!
C++ templates, sure

C++ templates! I keep on running into places where I'm debugging, then I find myself in a maze formed by template overuse, then debug around that instead.

just having parametric polymorphism

I think that could be workable in Go. I can imagine how debugging that would be straightforward.
Of course Phytoplankton was always the biggest contributor to oxygen. Jurrasic was the age when flowering plants were first coming into being, to suggest that these plants could compete with plankton in oxygen production in any meaningful way seems absurd.

And more importantly what plankton we are taking about here isn't for me to address, it's something that would have been addressed in the paper were it worth anything. Are we talking about diatoms, cyanobacteria and dinoflagellates?

The biggest contributor to oxygen would be cyanobacteria, to think they can survive these billions of years and all these mass extinctions and temperature fluctuations and then stop working because of a 6 degree increase is also nonsensical.
To be honest I'm not sure why you'd really want to do that. For a developer OS X gives you everything that linux offers that you would need, with the advantage of a better GUI. I only ever use linux on servers these days. OS X is a much more usable client-side OS for a variety of reasons.
>>Will the world come up with a plan to actually curb carbon emissions as much as we need to? Remove carbon?

>Not in time. Unless the plan involves some form of genocide. But even genocide probably won't be fast enough without weapons of mass destruction.

Well, we're on track to address that problem. Russia is stepping up their nuclear programs, America has a man with little self-discipline in charge of the final decision, India & Pakistan really dislike each other, Iran is ignoring the nuclear treaty, and I'm sure Israel has a few nukes to spare as well.

On the upside, the following nuclear winter will mitigate some of the greenhouse effects for a while, so we've got that going for us.

> The good news is this: under status quo we can probably expect to live reasonably well in our lifetimes.

That will be until roughly 2050, when things will go somewhat pear-shaped. So if you're younger than, say, 35 right now? Ooops. Sorry.

> I think humanity is slowly coming to an understanding that the planet really was a zero-sum game all along

Alas, it also understand that after they're dead, things don't really matter to them. And so we're in a race to extract maximum value in our lifetimes. We're pretty much doomed.