skysight-inc/HackerNews huggingface dataset:
Disclaimer: I was born and grew up in China in the first half of my life and been calling USA home the second half. And I am fortunate enough to be the first generation who grow up during the PC era and Internet era.

With the high likelihood of getting massively down voted given the predominant sentiments here, I am still going to to play the devil's advocate. So here it is: I am applauding Facebook's plan to enter China to connect 721+ million people(netizen count is not 1 billion as some of you claimed, see [1]. Population is 1.4 billion and a little over half of that have access to Internet.) and their pragmatic approach to get to that goal.

So you may ask why I am applauding FB bending over backwards to the censorship (which btw I don't agree to). Considering these:

1. Majority of the rules people here disputes in Chinese media censorship laws are political related[2]. But Facebook is NOT a political platform per se. So to me, by entering the Chinese market, it makes sense to put aside some ideology disagreements as a trade off to serve and connect the 721 million people who otherwise wouldn't have for a slew of FB services. And it's probably making a lot of economic sense for FB as well.

2. The tech-savvy few who will always be able to access the uncensored Internet anyway, so by agreeing to the local laws of censoring on one social platform does not significantly impact the freedom of speech. In fact, VPNs are popular and becoming the norm for younger generation who access information, which was dubbed as "climbing over the wall"[3]

3. Any company or mission claiming "organize the world's information" or "connecting the world" but fail to service half of the world is a joke. And yes, Chinese Internet users are accounted for that half[1] of the Internet world. By retreating or not entering(or getting involuntarily banned for that matter), they are doing a dis-service to the Chinese Internet users due to lack of absence[4].

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

[2] http://www.hrichina.org/sites/default/files/PDFs/State-Secre...

[3] https://en.wikipedia.org/wiki/Internet_censorship_circumvent...

[4] https://books.google.com/books?id=V1u1f8sv3k8C&pg=PA313#v=on...
Couldn't anyone comment on the pros/cons of using Flask? Currently I've been using DRF and it's been serving my needs pretty well. I'm curious if there's anything to be gained from Flask.
Are you even trying to understand what other people say, or trying to sound good by attacking straw men?
Lots of people will say not to use Django because ORMs don't scale. In my experience, if you don't use an ORM you end up writing one (and doing a poor job) in the early stages of a project. Usually this happens because you're changing things quickly and favoring iteration time. You don't know what you're building yet, so you can't choose the super optimized solution. Once you need to scale things can become specialized and it's easier to go that route because you have a better idea what you're building.
Creeping Progress in Pledge to Cut Calories in Sugary Soda
Can FireEye up the cyber security ante through Microsoft partnership?
Show HN: Index HN comments you upvote
Great thats exaclty what I always wanted to know about.
I'm sure I'll buy the book! I always wanted to know howto implement an own little scripting language which could be used inside Go projects.
I think he meant to say that people think Obama is ineligible (birther claims).
Studies have shown that arguing with extremists makes them more resolute.

Also not doing business with them isn't silencing them they are just as free to pursue their mission tomorrow as today.
It very much depends. The ORM in Django is one of the better ones, and very powerful. If it doesn't suffice it still offers query wrapping. Of course, if you need to process all 1 bazillion records in application code, then you're going to take a huge speed hit with any framework/ORM and language. Processing data at the storage site (the DB server) is simply very, very efficient.

When lots of objects are loaded then annotations usually improve performance greatly, since they avoid the "for x in y: query_database" execution, instead executing a single query with allr equired data.
We tried threejs (and babylonjs as well) for a WebVR project targeting mobile devices a few months ago. Suffice to say both are extremely unoptimized and crippled from the ground up with architectures easily wasting at least half the CPU every single frame.

They can both be made orders of magnitude faster simply by focusing on cache misses, branch predictions and data packing. But I don't see it happening without full rewrites in both cases.

We ended up writing a simple proprietary WebGL/WebVR renderer from the ground up - our scenes dropped from 18-20ms of CPU time to a very stable 0ms (and we made them much bigger as well.) Even the GPU time saw a big performance boost because we were using normalized integers instead of floats to reduce the vertex stream's bandwidth.

They're both good libraries to learn 3D and toy around with, but they're clearly aimed at beginner programmers with no or next to no experience in 3D graphics programming. Such a requirement goes directly against raw performance which requires loads of non-beginner friendly techniques.
Well, you're probably going to be looking for something other than Python in the first place if latency is such a major issue. Python can be fast enough to handle most use cases, but really low latency is not one of its strengths.
This post about Django vs Flask might help you decide to use Django or not:

https://wakatime.com/blog/14-pirates-use-flask-the-navy-uses...
This can be partially fixed by printing the code on a tshirt.

https://www.wired.com/2000/08/court-to-address-decss-t-shirt...
> "Terrorists and serious criminals will always seek to avoid detection."

So, if you don't want the government to see your thoughts, you're a criminal.
You used onload, the suggested was onerror,

Maybe it doesn't work because the page is already loaded so the onload is never run.
Making Hard Choices: The Quest for Ethics in Machine Learning
Headlines like this along with the MSM's latest push to define "fake news" is pretty worrisome.

Even if you don't agree with Breitbart or other outlets, it's frightening to think we could soon be in a world where entire stories are categorically dismissed or accepted based on their source, rather than their individual content.
The short answer was because people did not want him to win. The supposed issue was his nation of birth, thus the 'birther' term. https://en.wikipedia.org/wiki/Barack_Obama_citizenship_consp...
Hi! We're releasing the Mind Map really soon. We included it in the video because we weren't expecting so many people to see it before we released it :D
People believe he is born outside the country, also that he is a Muslim and has an agenda to destroy America.
Just today Brietbart published articles pushing climate change denial and brigading Amazon reviews of a book because the said author disagrees with Donald Trump. How does one reason with such an obstinate worldview?
I hope you can see the irony in suggesting that any argument you disagree with (isn't "good") is "pseudo-sociological abstract bullshit".

The "alt-right" is not a great example of a rational "movement". The hyperbole about Clinton is/was similar to some of that used against Trump and their apparent champion (Trump) was repeatedly proven to have lied and seems unable to present a consistent response on many issues - Climate Change, Obamacare, whether Clinton will be investigated, removing any conflict of interest he may have, his foreign policy, his economic policy etc.
> mv = pq is very well tested

I presume you mean that m is usually positively correlated with p over some unspecified time horizon?

A problem I often find with economic truisms is that they tend to carefully ignore the time component. Over a short enough time horizon this is clearly untrue. Over a long enough one it's pretty much tautological. Market theory has a similar property.

> if you print too much money, you will get inflation

Again, usually. Hasn't really been happening over the last few years in the US and Europe. Presumably we just wait for some arbitrary long period until inflation starts to rise again? Does the theory tell us how long?

So it's not that economics can't make predictions. It's just that they're often not useful predictions. It is quite good at postdictions, of course. The utility of which is at least a tad suspect.
Why do firms agree to blackmail?

In some extremely shortsighted view the cost to settle might be lower than the cost to fight it. Surely the cost to settle them all is more expensive than the cost to fight now.

This is the exact same logic as a "don't negotiate with kidnappers/terrorists" stance. Once you negotiate with one you give validity to those tactics and others will try.

Giving in to either kind of blackmail makes it impossible to profit in the long run. This is exactly why Newegg fought and crush patent trolls and why HTC and Samsung should do the same.
It hasn't anything to do with Boycotting. It is just that some advertisers don't wanna pay to have their adverts shown next to those gross discussions.
I've spoken to people who seriously believe he's a secret Muslim born in Kenya. The fact that our president-elect spent years pushing this completely fabricated lie to further his own ends didn't help.
How about seeking alternative sources of revenue. Start your own ad exchange if you like.
I think you are mixing two different (although very related) terms.

We did evolve by eating meat. The archeological and even biological evidence for that is quite strong. Eating meat (more specifically fish) allowed for the necessary proteins for brain increase.

But we seem to have evolved to eat as much as possible, thereby, we evolved to be omnivorous.

The difference here is between by what diet we did evolve and to what diet we evolved to. But the by part is purely biological in nature, the to part is also a sociologic one, since it depends, amongst other factors, on the use of fire to cook.
Correct. I better change the post before I get down-voted.
Prominent liberal writers receive govt hacking warning from Google
The embargo on South Africa in protest of apartheid worked. I don't see why something similar wouldn't work here. Breitbart is first and foremost a business, and they have lots of employees on staff pushing these messages of hate that need to be paid. If their income stream dries up it makes it much harder to continue doing what they're doing.
I refer to the leap in it self, not the actual chip with that comment. There is for sure better things today :)
The Ninja build tool
That sounds like a bad recruiter. A good recruiter will know roughly how long the process takes at each company and try to time things so you have multiple applications ending around the same time. This way you get multiple offers. Multiple offers means they can get you a higher salary. Getting you a higher salary increases their commission.
Because after one of his comments, in a matter of less than one minute, I got 9 down-votes in every single comment, even in totally unrelated threads.

All the comments that were still possible to down-vote were down-voted but only a single time.

Plus he explicitly admitted to using sock-puppets to circumvent posting throttle.

Edit: So he made a script. Every new comment I make is immediately down-voted.
Figuratively speaking, Django gets you from zero to 60mph in 2.4 seconds. Getting from 60mph to 100mph takes 20 seconds. Going above that takes a lot more time.

Lacking details, it seems like your app could be a good candidate for Django.

For me, the main appeal is the Django admin. It gives you a great way of interacting with your data with minimal effort.
> AppNexus has not given examples.

> But a spokesman said a "human audit" of Breitbart had flagged several articles that had caused it concern because of the language they had featured.

I'm not even a Breitbart reader but this strikes me as a ridiculously dangerous standard to use. "Human audit" is also my new favourite term for forming an opinion.
Sorry if that was too snarky. I guess my point is there obviously isn't one correct tactic. The people who run ad tech (or any other) businesses have a very binary decision: either they allow someone to be a customer or they don't.
A protocol to have the site sign a certificate provided by the browser on signup/authentication would be nice. A UI to allow signing of pending certificate signing requests would allow you to authorize additional devices on demand, or revoke certificates/access for other devices.

Some services allow you to do this today with device-specific passwords.
Madison Square Garden Alerts Customers of Year-Long Payment Card Breach
Most US "charity" ends up in Israel too. Best to think of them as if they were an entirely US-funded university you then have to pay to use the services of.
Clickbait becomes pointless if all the ad networks ban them
I'll give you a neutral answer for a neutral question.

You must be American-born to be eligible for president. With the exception of the "(truly) first generation Americans" which could be citizens since nobody was yet natural born [0].

This is what the birth certificate controversy/conspiracy [2] was about. Obama's father [1] is Kenyan so there was some belief he was born in Kenya, not a "natural born US citizen" and thus illegible for position as the POTUS.

[0] https://en.wikipedia.org/wiki/Natural-born-citizen_clause

[1] It might be his mother, but I remember it being his father. It's one of the parents, but not both.

[2] https://en.wikipedia.org/wiki/Barack_Obama_citizenship_consp...
Most people live where solar makes sense, and that's only going to be more true as a) more people are born in those locations, b) more people move to those locations, c) those locations expand as solar gets cheaper, and storage becomes cheaper.

The UK is surprisingly far north. It's always surprising to me what North American places line up with European ones. Luckily for northern Europe, they have lots of other renewable resources to make up for the lack of sunshine.

I think possibly your opinion on Solar is a bit too UK-centric, since it's already very competitive in other locations, particularly anywhere that air-con is commonly used since that electric load is correlated with solar activity.
Not wasting customers marketing budgets == Silencing ?
I'm with Sean Carroll here. Extraordinary claims require extraordinary evidence (Bayesian reasoning).

http://www.preposterousuniverse.com/blog/2015/05/26/warp-dri...
Are you familiar with Xml and xsl/xslt? They took this concept a long, long way.
It's also far too easy of a target. Everyone is hypocritical to some extent. Falling short of your ideals is part of being human.

I like Neal Stephenson's take on it, quoted here:

https://news.ycombinator.com/item?id=1305966
> 3) You get to practice Python!

Not really. You mostly write Django and need to go really far before hitting any non-superficial Python feature.
The precursors of the "ministry of truth"
It's too late to edit my own post so I'll just reply again. I went ahead and started work on the Weather Underground API. It generally works so far, and will automatically use the WU API if a WU API key is provided.

Work in progress:

https://github.com/a12k/reallySimpleWeather/tree/wundergroun...
Django has excellent documentation. Whether you're a beginner or an expert, it is appropriate. That is to say: there are good tutorials for starting out and there is good reference material for going deep.

As others have mentioned, Django is opinionated and I think they get it mostly right.

I use Flask myself, in part because I wish for my data modelling language to be a separate part of my stack, but my use of Flask is heavily influenced by Django's philosophy.

I am the primary developer of Flask-Diamond, which attempts to adapt Django's opinionated choices to Flask. However, I would still recommend that most people start with Django.
I've set up CircleCI to auto deploy to S3 and invalidate Cloudfront cache whenever there's a push to master on a Github repo. Once setup, it just works.
Never fading, always accessible (2001)
Well, I couldn't describe a better use case, even if I tried. Check out the free sample, which shows how to build a lexer/scanner/tokenizer.
I learned this when I created a classified website and I tried switching from a Add Post link to an add post button. My click through rates plummeted. I also remember having issues switching from a list of category links to a dynamic menu.
You mean "conscience"
"Economics can accurately predict that if you print too much money, you will get inflation."

Not really. Hyperinflation it's normally associated to a supply problem, for instance the archetypical examples: the Weimar Republic and Zimbabwe (see http://bilbo.economicoutlook.net/blog/?p=3773 for a detailed explanation.)

Anyway, I agree that good economics it's useful and can explain and predict frequently.
Market forces at work...
IMO, there is growing dissatisfaction with a system whose outcome is in opposition to the popular vote on a regular basis. It's not a question of playing by the rules, but a more fundamental will of the people question.

The problem with our system is it's so open to manipulation. If for example some of those tech hubs relocated to Florida they could dramatically change election outcomes. And the idea that moving voters is this important really defeats the entire concept of democracy.
Only german, yes. They explain on https://wiki.uberspace.de/philosophy:englisch why (in german): it boils down to too much work, not being sure of being able to adequately support in english, having servers only in germany and fearing legal implications of having an english offering.

With google translate and maybe a bit of help from a german speaking friend (and a bank that supports wiring money to a german account without problems) that is probably still manageable, but not ideal.
> This doesn't seem like a good thing.

Yes. You can stand towards Trump as you want, but he deconstructed the media in a textbook example of the Socratic method, for which we all should be a bit grateful.
White nationalism can still create and post content to the web. But there's no responsibility for other companies to financially support them.

If a company like Breitbart cannot survive without Google's ad network, the onus is on them to figure out they can support themselves. Especially if supporting white nationalism undermines Google/Facebook's ability to hire and retain their own employees or impacts their reputation in a negative way.
This is another thing that Stripe nails. Out of the box it comes with a Test mode and you can easily use this to test your webhook implementation.

Another way to handle this is to create and maintain a mocking tool that will generate requests.
Do you think the people who buy ads or run ad networks have an obligation to patronize businesses they personally find objectionable?
Who gets to decide what 'hate' is?

Breitbart claims it isn't: Breitbart responded saying it "has always and continues to condemn racism and bigotry in any form".

The exchange refuses to say what triggered their action:
"We use a number of third-party standards to determine what is and isn't hate speech, and if we detect a pattern of speech that could incite violence or discrimination against a minority group, we determine that to be non-compliant and we simply won't serve ads against it," AppNexus's spokesman Joshua Zeitz told the BBC.

"I'm not going to put the examples out there because I'm not going to engage in a tit-for-tat on what is compliant."

The article lists some headlines that they consider somewhat questionable, but you can easily google similar headlines focused on other groups from sites like the Huffington Post; e.g. "White People Are Too Dumb to Know They're Racist". Do you think we will see similar action taken against those such sites?

Breitbart got its big start, I believe, from the atrocious hoaxes itperpetrated on ACORN, NPR, and other organizations to destroy their reputations unfairly. It has come a long way; it's now simply a very biased news organization that sometimes does decent reporting on undercovered topics.

Yes, it is every ad network's right to refuse to associate with Breitbart or anyone else for that matter. But is this really the direction we, as a society, want to move in? Do we want ad networks taking activist stances about news websites? Do we want everyone to have to pick a side? Do we want people's careers destroyed for holding relatively mainstream opinions that happen to contradict the majority opinion?
Long time since I read the book, but did the precursors of the "ministry of truth" really start in corporations?
I found the paper very instructive. Could you explain what's so different today compared to 2004?
The paper specifically says ISP can do 100% paid transit, or 100% peering , or anything in between. If the actual ratio transit/peering is different today, how does it invalidate the paper?

The paper raised some good points that can be useful when discussing net neutrality, and also "Facebook Basics" kind of offers.
Please tell me you're joking?!
What Snapchat Might Learn from Facebook
it's incredibly surprising that this isn't the top answer.

even a hardware token like a yubikey or CAC has a bunch of problems and they are by far the "best" way to do something like this.
No, we're just staying in a world where if you want to benefit from other companies' infrastructure/investments you have to play by their rules.
I do appreciate what you mean by this, and I'm sure most people would agree that recently we've seen particularly abject failures of the left wrt. engaging with these issues. But I'm not convinced that there is an 'argument' to 'refute'. We're not talking about a coherent disagreement between well-informed parties. In fact, some groups seem to actively embrace ignorance – see Michael Gove's 'people have had enough of experts' nonsense.
> it's frightening to think we could soon be in a world where entire stories are categorically dismissed or accepted based on their source

I think this is an inevitable consequence of a world where anyone with a domain name and a vps can start a "news" website. It takes more effort to debunk a fake news story than it does to write it.
Haven't we always lived in that world? Nobody really treats all sources exactly equally, and many people dismiss certain categories of sources as not worth looking into. Depending on the person, this might be outlets they think of as mainly peddling conspiracy theories (Infowars, etc.), it could be outlets they see as too right-wing to be worth looking into (e.g. Breitbart), outlets they see as too left-wing to be worth looking into (e.g. World Socialist Web), etc.
From the article:

> Ben-Peretz remains confident his company can crack even the newest iPhones.
> state reform rather than federal?

Yes, for sure. Here in MA we did pioneer state support for marriage equality, and we also pioneered individual-mandate health insurance (now known as Obamacare).
> Many non-human animals are territorial. Is that nest a community nest, or does it belong to a specific group of birds until they're done with it?

Territory is very different from property. Territory is something you defend. Property is something society agrees to defend for you.
With authors like Milo Yiannopoulos posting articles like "Why There Ought to Be a Cap on Women Studying Science and Maths" I would say they dug their own grave. If we really have to explain or justify why this is bad journalism maybe it shouldn't be considered journalism at all. I'm ok with that, but there should be open discussion and some methodology behind the future of journalistic classification.