skysight-inc/HackerNews huggingface dataset:
>EA doesn't want to run servers for it and prohibits everyone else from doing so

The actual content of EA's letter makes it quite clear they are specifically after the unauthorized usage of their branding and trademark, and the fact that the site hosted the actual Battlefield Heroes game binaries for free download. The letter does not demand the site unilaterally shut down its server hosting. The site's response is arguably a big overreaction by the administrators, and most of the comments here seem to be misreading the events the same way.

There's a potential debate to whether EA should still "own" the right to block distribution of Heroes when there's no other way to acquire or play it, but debating whether or not EA has the right to shut down player-hosted servers is unrelated to the subject at hand. They do have an established right to enforce the use of their trademarks (logos, branding, etc) on a fan site like this.
Yes, of the languages I've tried, C# and Obj-C/Swift have been the ones that did this best. I'm looking for a functional language with a similar approach, but haven't really found any, so failing that, I'll go with a fully statically typed language instead - I'm considering whether to get started with Haskell, Scala or Ocaml/Reason.
Scientists like Ng ought to consider the repercussions of their actions when they decide to aid Chinese companies, and by extension, the Chinese govt with cutting edge research. They are basically collaborating with the enemy that stands against pretty much everything that the west granted them (scientists like Ng who were born here and given the opportunities).
Listen to yourself! So I didn’t see anyone getting beat up by the police? But if I DID see that then it was OK because they were ordered to?
That site has been around a while, and is definitely a joke ;) No matter what you check off to include in the library, the generated file is 0 bytes.
>Thb, most of the interesting work I've seen has come out of Silicon Valley.

Like, social websites and apps?

>What breakthroughs have come from China?

Like tons of actual innovations in hardware, screens, storage, materials science, manufacturing methods, robotics, biology, and other fields?
> the most gullible voters ever, or they were swayed by some other means (targeted advertising)

They were either gullible or gullible?

Or maybe it was a reaction against the "elites". In Michigan 90,000 democrats left president blank on the ballot (Trump won by 10,000).
> ...but anyone sitting here scoffing that China can’t make itself a world leader in a field by simply pouring money and support onto the problem needs a serious history lesson.
They have before, and there is every indiction they will again, here with this.

What are they currently leading?
Show HN: 4chan on the Ethereum blockchain
I think your idea is much better than everything else's, sadly. Yes, some form of tax return bonus would probably be the most effective mechanism.
This webpage is physically painful to read.
Do workers in Shanghai generally live in 3bdr condominiums downtown? Because a 3bdr condo in downtown Chicago would also be nosebleed expensive (though probably not 2.3MM USD expensive) too.
> all that matters if I have enough military power to keep them in the saddle

That's pretty much how most declarations of independence have worked historically. But even if you have enough military power, how much blood are you willing to shed if a full blown civil war breaks out? If there are civilian deaths, it's likely that there would be condemnation and support for the separatists from the international community. What matters is how badly people want their independence and how far they are willing to go for it.
68% also didn't vote to stay. It always gets silly when you try to make arguments about vote percentages based on the entire population because they always work completely in reverse as well.
I don’t live in New Zealand, but I assume this is good for locals. Would love to hear your thoughts if you live there!

I live in LA and I’d welcome it here - not for all “foreigners” but at least to block foreign investors in residential homes and condos (not the actual buildings but the units). I bought a home last year and I put in 36 offers all 5-15% above asking and was outbid by investors on all but one that I ass-backwarded into.

I feel like this is something that would also be welcome in Barcelona with the issues they are having with investors buying up all the housing and renting it on AirBNB.
Tax money will still flow, but it will b administered by other people.

Actually, that is one of the central demands by catalans: money should not "flow" to Catalonia via Spain.
>Well, I'm firing my Nvidia proprietary driver users. Really, I never "hired" them in the first place. The ones who use nouveau are cool in my book. I don't feel the need to call this out in the README.

Upon thinking about this, it's kind of like listing dependencies. I think you should make it clear in the README. I don't think the blog post is relevant in this context, as people likely won't read your blog post before installing Sway (and how would they know to do so, anyway?).
Agree - but there's middle ground here.

I would prefer a "do not link" or archived post for certain domains to prevent clicks on their page.
Learning networking by reproducing research [pdf]
Key competitive advantages of China are their strength in quantitative skills, a huge population, and the hard working and competitive culture of the populace.

An objective measure is PISA results [1]. When comparing with even the best performing US state, Massachusetts, China has many more top performers in Math, as a proportion of population [2].

(In 2015 only four provinces of China participated, but their combined population was 230 million vs Massachusetts's 6.8 million. The math result of Shanghai (24 million pop.) alone would show an even larger gap.)

Since PISA results are scaled such that OECD country's mean is 500 and standard deviation is 100, China's 531 math score implies country mean at 0.3 SD above PISA mean, and US' math score at 470 implies 0.3 SD below mean. If people capable of doing AI research or proper AI implementation need to have math skills at, say, 2 SD above PISA mean, then there will be a tremendous difference in proportion between two populations with 0.6 SD difference.

My back-of-the-envelope calculation, assuming above figures, is the proportion will be about five times as large. But China has more than 4 times the population of the US, so the difference in potential numbers of AI-capable natives could be around 20 times. (Since other provinces may drag down China's mean, it could be a bit less. An opposite influence is increasing wealth and thus more resources devoted to education, both by parents and the state. We'll see soon since China as a whole will participate in PISA 2018.)

Moreover, the Chinese government is pushing AI and programming education into their education system, starting from the primary level [3].

The distinct advantage of the US is that it is the magnet for top talents and ambitious people from all over the world, including the Chinese, so it might continue to lead for a while. However, if the US becomes inhospitable to talents or potential talents, it is clear that China with its quality and quantity of human resources will soon take the lead.

[1] https://en.wikipedia.org/wiki/Programme_for_International_St...

[2] http://www.compareyourcountry.org/pisa/country/usa1?lg=en

[3] http://en.people.cn/n3/2017/0828/c90000-9261282.html
Gzip format has: 10 byte header, 8 byte footer, optional additional headers, and DEFLATE compressed content.

So, yeah, +25 bytes seems reasonable.
Rich regions typically subsidize poor areas, not the other way around. Also, industry in Spain is largely private.
Watch_net: A Simple Bash Function to Watch Layer-3 Stats in Linux
It would seem that amendment has long been ignored. If a state votes to leave the union, it would likely be decided by a federal court as illegal, then go to Supreme Court for them to decide. The problem is that this will take too long, and things will escalate much sooner than they can review the case. For instance: If the people of the state in question refused to pay their taxes to the government they no longer recognize, the feds would attempt to arrest and prosecute. This could very quickly lead to armed conflict, first between those being arrested and the officers of the government, then would expand to include those who support secession. The government would then move to "preserve the union" with the only hammer they own (force) and there we will be. Source: history.
Still with all these hurt feelings etc, what breakthrough work has come of out of China?
In my opinion if the Catalan 2015 election had had more votes pro-independence (in particular for the "Junts pel Sí" party votes, but I can accept CUP votes as well although at the time I was not that sure), it would have been morally claimable.

Or, if they had chosen to go for elections next December where votes unequivocally pro-independence parties where higher than votes for the rest of parties, in my opinion it would have been morally claimable.

In other words, I'm a lot more comfortable with some clear means to count unequivocal Yes votes against unequivocal No votes. If a party has "Independence" in the election program is an unequivocal Yes. If a party does not have "Independence" in the election program is an unequivocal No.

I voted in the referendum but I'm not comfortable with the huge "No show" of No votes on the 1-O referendum. To me, the results of the referendum are not conclusive for such a decision.
? What exactly did the west grant them? They're catching up after decades of communism, and creeping towards becoming a dictatorship for Xi. That will likely negatively impact their growth far more than the actions (or inactions) of the West.
Understandable for Chinese nationals to go back. But for someone like Ng, who was born and educated here, it seems very irresponsible.
There are dozens of us! Dozens! As CS is under physical sciences rather than engineering, we come away with less differential equations experience than those in the engineering tradition, but also much more systems programming. I wouldn’t trade it for anything. Lots of people went to big tech companies - we may just have lower risk tolerance/entrepreneurialism than Stanford.

The graduate rankings for CS aren’t great, but the CS faculty are teachers first and researchers second; this may be to your advantage as an undergrad who is not eyeing a career in academia.

It has 5500 undergraduates, and until the last 5 years or so, less than 100 of them were CS students. So yeah, you won’t see as many of us out in the world as you will graduates of a school with 25k students.

It’s also a global institution in a cloister 7 miles/45+ CTA minutes from the nearest part of Chicago that white professionals set foot in (extremely segregated city); its effect on the city as a whole is going to be muted. People come from all over the world and then promptly disperse all over the world.
>However, outside of Iran few believe this accounts

Few? This is the most mainstream narrative in the parts of Europe I know of.
I would have thought food prices were less seasonally dependent than they are now, on the grounds that out-of-season food simply didn't exist (outside of preserves that were made during a seasonal glut).

An avocado in a British supermarket costs about 90p right now. In season, you can normally get at least three of them for that money. Similar price changes occur for soft fruit etc.

100 years ago (even 50 years ago), your diet, rather than your food budget, would have been the thing that changed with the seasons to match availability.
Americans tend to have difficulty believing that others can possibly have different values. Part of the core of American beliefs is that Democracy is the natural state for all nations; and I'm not sure that's entirely true. It feels like there is a tipping point of population size where an individualistic society just tramples over the tragedy of the commons, and collectivist societies introduce controls and social pressures to prevent it.

I expect World War 3 will eventually be fought over these differences; they are just too irreconcilable and eventually the Chinese are going to feel the need to impose some limits on the US -- likely over environmental issues. China will feel the need to "save the planet from US ignorance" once they feel they have the power to do so, and the US will disagree that they have the power, so China will have to prove it militarily.
I did. I even wrote the magic word a moment later, but forgot it there, and realized only past the edit window.
The international/European response is not set in stone and could wildly vary based on the Spanish response.

That's absolutely wrong. And thinking that Spain will need to fire on civilians is ridiculous. Either wishful thinking or you are ridiculously misinformed.
I found Squad and Planetside 2 to be great heirs to the Battlefield 2 and Battlefield 2142 legacy.

Amazing how Planetside 2 being a free game manages to outclass pretty much any combined arms FPS and is still looking really good visually for 2012 release.
You're under the mistaken impression that people in the U.S. care about what is happening in other countries. At most like 10% care in anything more than a cursory way.
Brexit was made possible by article 50 of the treaty on european union[1]. This article was introduced by the treaty of Lisbon[2] which was approved by the european parliament and ratified by all EU members.

So while only UK citizens got to vote on brexit the legal possibility to exit the union was actually approved by all the EU members. If there was an article in the spanish constitution that allowed for a region to secede under certain conditions we wouldn't be having this discussion.

Furthermore the UK always remained a sovereign state, with its own currency, army etc... It's hardly comparable to Catalunya. The scottish referendum would be a better comparison.

[1] https://en.wikipedia.org/wiki/Article_50_of_the_Treaty_on_Eu...

[2] https://en.wikipedia.org/wiki/Treaty_of_Lisbon
Voter ID, but getting a Voter ID is free, and every district has to have the same opening hours and the same number of voter ID registration places per 1000 citizen.

The issue is that certain actors in the US want to make voter ID mandatory, only registration places in the rich districts, and ensure the poor can never get one via cost/availability, etc.

In other countries, where this disenfranchisement never happened, say, Germany, mandatory ID for every human are laws few object to.
Housing Crisis Could Tarnish California’s Economic Future
Ng was born and educated in the west. That's the point I'm making.
Tokyo waves hello and says, in a friendly but firm tone of voice, that the decision to not built up is political and not based on earthquake-resistant buildings being an engineering technology humanity lacks access to.
How to actually remove pesticides from your fruit
> but not a democratic mandate since the votes were not supported by any international body

> The world cannot understand their will, as they have been executed outside the democratic framework.

So they need permission from other countries to make decisions about their own country? I don't get what you're saying here other than they "messed with the status quo and should get in line". Which is a questionable basis to make such an argument.

Of course other countries are not going to risk destroying their relationship with Spain to back some independence movement. There will never be initial international "support" unless they were clearly being repressed and there were human rights violations.

But not all democratic movements depend on repression to be right, nor should they require that to determine the direction of their own political futures.
Loads to about 90% and freezes. I'm on iOS 10.
I remember having seen this a while ago and having been unable to find it since. Thanks for posting this, its always really cool to see what can be done in such a little amount of space.
This makes multilingualism seems incredibly important (which I think it is)
Origin's Official Guide to Ultima Online [pdf]
How have I never heard of this before?

>Hundreds of years in the future, things are different than what we are used to after humans have colonized the solar system and Mars has become an independent military power. Rising tensions between Earth and Mars have put them on the brink of war. Against this backdrop, a hardened detective and a rogue ship's captain come together to investigate the case of a missing young woman.

SOLD. I know what I'm watching this weekend, thank you!
Hard Coding Concepts Explained with Simple Real-Life Analogies
I think for them it's only about having their own constitution and sovereignty. Another one of their goals might be to stop using the Spanish language, which a big part of the population has done already.

They are perfectly fine with open borders, being a part of the European Union, using the Euro as currency, and even with keeping their Spanish passports (i.e. double nationality).
I was an economics major (also technical) who started his own company in college. Generally it doesn't help, or at least not that I noticed.

Economics is mostly theory about how the world should operate based on certain laws... supply and demand etc. They go through rigorous derivations using calculus and statistics. You might get a top level overview of the driving forces behind an industry, but in a startup that's hardly useful.

Also in microeconomics, you are taught how a prototypical consumer might behave under canned conditions. Not at all representative of the real world.

There's really a single law book for running startups, and the first commandment is talk to your customers. Literally everything else is bs, at least in the beginning stages.
Hi could you post some before and after traces (chrome dev tools recordings) of the site. Performance is nuanced, and the original tweet only helps to put down others (the react team) unfairly.

I think the win here is less about react and more about not running as much javascript on the client. I hypothesize that the traces will show this, but it is impossible to know for sure without them :)

Thanks in advance!
"What you want to do is change the test first to reflect the new, desired implementation". Not sure if you meant this but this is exactly what is wrong with most unit tests that I have come across. They test the implementation and not the interface.

That's why I agree that the focus should mainly be on integration tests. Or at least functional tests. Ideally what you want is to have a system where all the state and logic is in a model (that model can include an external db). The gui should be as much as possible a function of the model i.e. model-view. Then you write the majority of your tests as integration tests against the model and include as many scenarios as you can think of. These tests should reflect the requirements/interface for the system and not the implementation. You should write some gui tests but these should be much less. They just need to verify that the ui reflects the model accurately. You shouldn't be testing scenarios as part of the gui tests.

I have come across too many code bases where the unit tests test that the code is what it is, rather than the code does what it should. Where 'what it should' == 'requirements/interface' == 'something close to integration tests'
And they had uniformed thugs trying to prevent the vote outside many of the polling sites. A 40% turnout is remarkable.
Depends on when you asked them.

And who you ask -- eg. the homeless living in unimaginable slums might give a different answer.

That said, most of the colonies fought hard for getting rid of the British.
Look at the percentage of americans that reject the theory of evolution or climate change, and then give me this argument again.
MM STARTEGY is looking for hard core Database Star
I did (i.e paid) the Pragmatic Studio course and a large part is making a project that mimics a HTTP server and I find it a great way to discover functional programming and pattern matching (doesn't touch Phoenix though).
> If a poor person patented tremendously valuable intellectual property

Challenge for HN: find the most recent three patents which (a) were filed by individuals not an employer (b) those individuals could reasonably be described as poor (c) aren't subject to widespread infringement by a big company. (and (d) is for something actually useful not a perpetual motion machine etc)

I think it might be quite a hard thing to find.
Appnexus is a good competitor to google ads. It provides many of the same features that google ads offers. http://appnexus.com
If the alternative is genocide then I'll take my chances. Asymmetric warfare is a real option and with enough turned generals and armed forces you'd have access to the same high powered weapons and the people could form a militia as well.
So I found [1] which appears to contain the actual text used in the resolution.

> CONSTITUÏM la República catalana, com a Estat independent i sobirà, de dret, democràtic i social.

Which Google translates as

> WE CONSTITUTE THE Catalan Republic, as an independent and sovereign State, of social and democratic law.

It certainly sounds like a declaration of independence. Since the very act of making the declaration is de jure illegal, it's not clear to me that there's a formality that must be observed for this to be made more "official".

[1] http://www.elpuntavui.cat/politica/article/17-politica/12696...
yeah, its crazy how people just dont get that anymore.

'the majority (50.1%) of people feel the way I do, everyone else should have to do as I do because that's how democracies work. we live in a society after all'.
You mean that the tests will depend on the thing being tested? What a crime!

> what if at some point later another developer adds a database call into the static method to do some logging?

Then you have a developer that does not grasp the idea of functions, and how they can help you improve your code. That's a call for education, not for changing your tests.
No, doesn’t work like that, meaning it should actually delete everything. The shell is expanding /* to the list of paths, not rm, and /* does not expand to / at all.

Try adding “echo “ in front of the rm command line to see how it expands. (That, by the way, is often a good idea.)
"Closed and shut" seems to me to be exactly NOT the point of view of science.

If someone came along with another theory that fit observations better than current theories do, would you want science to reject it because that particular subject is considered "closed and shut?"
There is a huge difference between the well educated but for now unemployed Catalan, 28 year old, only child (or with one or two siblings), always well fed, always warm, maybe living with his parents, maybe sharing a flat somewhere, all his life feeling safe, spending his days playing Xbox, surfing the Internet, chasing girls, hanging out on cafes or bars or going to Camp Nou to watch games, going skiing in January, to the beach in the Summer

and then your young, angry Arab man, third son in a family of 5, little education, no girls, no fun, no safety, no future.
Except, Germany previously did allow regions to leave.

There was a huge political situation after WWI about that, but in the end 5 countries agreed to allow the counties in the north of Germany to choose if they want to belong to Denmark or Germany.
Show HN: Draft – A distraction free gist viewer