skysight-inc/HackerNews huggingface dataset:
>If the Supreme Court decided tomorrow that anything the NSA does is unconstitutional then the laws would either be rewritten immediately or the government would challenge the ruling and force the justices to change their minds.

not really, the supreme court has no way to enforce its decisions so the other branches can completely ignore its rulings if they wish.

see: brown v. board of education, some districts completely ignored the rulings and didn't desegregate until 15 years later.
Ask HN: T-Shirt Printing API?
Hi!

I am looking for a T-Shirt printer with a good API. Ideally, I'd like to have them store my payment information. I'd like to be able to submit orders—a size, a digital image, and possible a shipment address—via an API.

Any ideas? I'm looking at Printful (https://www.theprintful.com/dashboard/default/intro) and they look interesting.

Thanks!
Ask HN: What is something you believe that nearly no one agrees with you on?
The subject was war. You started talking about your USA hatred.

I asked for examples after the cold war (stupid of me to feed the trolls).

You don't have anything relevant here either, so you list cases that are 40+ years old...

This is a common pattern -- you can excuse anything (including burning food on the stove) with that a bad dictator had common interests with USA 50+ years ago...

It is seriously funny when left wingers blame that all communist countries are dictators on USA.

As I noted already, the non-communist dictators in that part of the world are gone since a long time. So Batiste would almost certainly be gone too. If Cuba implemented human rights, left governments in West Europe would take care of them.

>>Communism isn't worse than anything no matter how bad.

Oh my, I hope you are trolling.

I've seen this before. If I e.g. mention millions of dead repeatedly, you will do a "no true scotsman" variant. Or some more strange logic. I know the QED anyway, all the dead are USAs fault...

Enough.
what surprises me most is that we are almost taught to believe some magical market, the internet puts on a suit for you and becomes a generous publisher who puts our software besides console games in video game stores.

what I realize now is that there's no such magic, it's hustling, constant hustling.
React's rendering looks really awesome, but I'm missing the bit that binds application data to views.

e.g. in KnockoutJS I can just use observable arrays and properties and never have to call `setState()` on anything. What's the equivalent for React?
Sorry if I misinterpreted your post.

In any case, I fail to see why our government needs to spend as much money as all other countries combined on our military. I don't think we need boots on the ground when there is little real threat to people inside the USA. I am in favor of almost all of our military being redeployed back inside our country.

I saw a statistic last week that bathroom accidents kill 100 times more people in the USA and EU as terrorism.

The fake war on terrorism is just another way to give our tax money to the ultra-rich who do make money on forever wars.
How does such cuntery based on paper-thin fact-checking and high doses of bullshit get anywhere near HN?

I'm more disappointed in HN readers than the bell-end who wrote this crap.

Outrage-fuelled stuff like this makes me angry because such mendacious behaviour makes a mockery of serious concerns about /actual/ censorship and the activities of the state in controlling the Internet. The author shouldn't be allowed anywhere near a keyboard.
Building an open source router to battle Cisco (2006)
> I'm just going to throw this out here: only about 10% of nurses are male.

I think this is partly caused by the fact that men and women have a different natural tendency to enjoy nursing. (Honest question – is this belief politically incorrect?) If you completely filter out cultural effects, the tendency to incline to a specific profession will differ between genders, at least very slightly (that's just statistics). Of course, the very hard question is how big is this difference.
This is hiring spam. Please delete this and add it to the "Who's Hiring" post which is posted on the first of each month.
You've managed to make the same point I've just made, but without the angry swearing. I salute your coolheadedness, sir.
I wish I was a Microsoft marketing exec so I could take credit for this idea.
Not always worth the effort of switching back and forth. I stopped using FF when it was a slow memory hog. I've heard good things about it recently, but I have no real incentive to switch back.
https://www.shirts.io/
A newsletter like the startup digest.
Heroku: The TOP5 legit use cases.
Six reasons why I recommend scikit-learn
It would only run at about 1 Hz, though, so about 3000 million times slower than existing machines. They would be effectively useless.

Maybe you need to think harder about what you're asking for, and why.
If you mean the filter: most of the support is from Conservative voters, especially the older voters and parents. Labour and the Conservatives support it, I think many Lib Dems oppose it.

A few years ago I would have said the same thing - "If they did this here, Brits would go mad!" - I think everyone wants to believe that about their country, but when it comes to it people are surprisingly accepting.

Also, it's worth noting this article is wrong: no government filter in the UK is in place yet, this was an ISP's own filter.
Your closing question really seems like the wrong one to ask to me. The bottom line is that some people do learn to code and come here nevertheless. Why on earth do they want to, and why is it that their reasoning isn't equally applicable for the complementary set of women-(and-men) you speak of?
I use React and like it a lot. The biggest issue it has right now is there is no good way for a component on one branch of the tree to get information to a component in another branch. You have to talk to your parent components by having them attach a function as a property, and this simply doesn't scale to large or even medium sized applications.
>> turmoil and cost be damned

Sure, as long as it's Not in your backyard...
My statement was in response to someone who thought we should give more money in foreign aid, which I would be in favor.

Your statement is simply a complaint that really has no relevance. Are you in favor of giving more in foreign aid, to help build schools, etc?
I misinterpreted your answers. My question was under the assumption that the government wouldn't know about you being illegal until you tried to do something related to immigration. At which point the USCIS would know after doing their due diligence. I guess that was a bad assumption to make.

Under that assumption, trying to think of answers isn't any better than a random guess. And I was asking the question for that specific situation, even if it's unlikely, just to know how things could potential be. Furthermore, in the case the government doesn't know about your staying illegally, you would be the same as any random non-citizen trying to immigrate to the US, and it's fairly safe to say that the task is non-trivial (paperwork-wise). In that case, it would still be helpful to know if a founder-but-can't-tell-government would have any advantage at all.

Not every question can be answered by just thinking hard enough, especially those related to laws - that's why there is a whole profession dedicated to it. And it will serve you well to be more careful before going passive-aggressive.
>> It may not be obvious to you, but there is a huge amount of uncertainty about the actual amount and severity of differences.

Is severity the right word here? It seems like you entered the conversation with this implication that heterogeneity was a bad thing - but I can't tell whether this was accidental.

>> Combine that with the fact that most studies conducted in these areas have a huge bias in one way or the other and are designed to mostly further the agendas of certain interest groups, or in the absence of that: to make for interesting headlines in popular magazines.

That's interesting if it's true. However, it's the sort of allegation that reminds me of this acquired derogatory meaning which the term "conspiracy theory" took on. May you expand? Is this just a feeling you have, or do you have concrete samples from the scientific world, or even somebody that shares this view who may be trusted on matters such as this?
Wow, thanks for the incredibly thoughtful answer. That's a lot of useful experience to digest. I too am optimistic about IHaskell and where that all heads, especially in an IPython Notebook style UX with inline charts and such.
setState is equivalent to an observable. The only problem is that it's specific to the component you're working in, you have to get that information to others manually.
> The fashion world has massively outreached to men in recent couple of decades. Axe and chest shaving and all that other metrosexual stuff.

I mean men working in fashion, not being marketed to. And Axe is not fashion, thank you very much.

> And the lack of male teachers is a persistent concern in the education world...

Show me the equivalent of "Rails Girls" or "Girls Who Code" for male teachers or fashion designers. For example, the list of sponsors on this page (http://www.girlswhocode.com/about-us/).
I'd love to have this data! Anyone have it handy? Google doesn't seem to be helping me.

I also agree that deeper cultural understanding can only help, not hurt. I particularly wish all 7 billion of us had the opportunity to spend a year traveling the globe and live with different peoples.
You are correct, the IQ results are similar, but it is the differing biology and how it may affect career choice that is of interest (I am in no way implying that these differences make one gender intellectually superior to the other any more than I would argue for the superiority of Turing or Church).ther, some algorithms are more desirably expressed in one or the other.

I supplied information (without sources, but you appear to know google well enough) that there exist differences in human biology and hypothesize that these differences may offer explanation for observations of human behaviour. If a lack of absolutely irrefutable causal data is your only objection, then I suspect that the realm of psychology is not for you as such evidence is practically non-existent in that field.
What do you mean by "(this is expected)" with A&A?
I wonder if React’s algorithm could be used to implement support for ‘operational transformations’ on DOM trees?

OT is the technique used for collaborative editing, etherpad-style. Current implementations don’t work with conventional DOM’s: Etherpad has its own model of plain text with an additional ’attribute pool’. Libraries like http://sharejs.org/ only know to deal with plain text and JSON.

I would love if I could implement a collaborative editor that hooks into an existing HTML element on the page, in the way contentEditable allows for in single-user apps.

cf https://github.com/share/ShareJS/issues/1
Introducing BooTV: A Paywall Publication for Dogs
Their ambition isn't limited to the song meanings / annotations market. They wouldn't have raised $15m on that. Look at how they're branching out. PoetryGenius, NewsGenius, etc. They want to annotate the world's information.

That's a huge market and with RG's excellent execution so far (everyone has missteps - remember that), it warrants a $15m bet.
Planting moles in foreign organizations is the explicit purpose and core competency of foreign intelligence agencies. It's only inside the US where that activity is (supposed to be) forbidden.

You should assume that the US intelligence community is already doing this to foreign tech corporations and has been forever.
A capital idea, my friend! But I'll do you one better: why not just wrap up the entire program inside a function called "main"? Clearly that would make all syntax discussions moot, now and forever.
Best comment in the thread. So we should concentrate on development of 'guardian' and 'intelligence' drones, and leave the offense part to the soldiers on the ground, right?
I've done most of my practical work in Python, recently picked up Pandas (and am starting to increasingly grow fond of the ggplot port to Python and some of the R packages that I find make ridiculously complicated things as simple as they should be.) Thanks also for the link to the paper.
You're conflating coding with the culture behind it. And even the culture isn't uniform, it's divided into many different subcultures.

For all intents and purposes, there's nothing stopping a woman from learning how to program, contribute to open source and engage in community. A lot of people, male and female alike, operate under a pseudonym. Unless you're a celebrity, it's generally smarter for plenty of reasons, including risk management (something contemporary feminists don't seem to comprehend) and OPSEC.

Even if you do use your real name and explicitly denote your sex as female, you'll still survive. You certainly aren't immune from trolling. No one is. But frankly most cases of "harassment and vitriol" I've read about (on the Geek Feminism Wiki, for instance) tend to be mostly about offended sensibilities.

This isn't victim blaming. It's being realistic.
This model usually works pretty well for smaller components (see http://facebook.github.io/react/blog/2013/11/05/thinking-in-...)

For larger ones, we provide lifecycle hooks so you can set up these subscriptions manually. In componentDidMount() and componentWillUnmount() you can subscribe/unsubscribe to some sort of messaging system, and when you receive the message call setState(). Usually you only need to do this in a few places and the regular React dataflow will carry you the rest of the way.

Does that make sense? We should probably write up this technique.
Maybe the Heroku trouble?

http://news.rapgenius.com/Lemon-money-trees-rap-genius-respo...
Poor password rules are a red flag. If their password code is this bad, how bad is the rest of their code?
> There are plenty of initiatives to get more men into nursing and teaching and fashion.

Show me the equivalent of initiatives like "Rails Girls" or "Girls Who Code", or "Github's free private repos for women" for male teachers or nurses. A halfhearted list of platitudes from a Dean at ASU and an NYTimes article != actual effort. Look at the list of sponsors on this page. http://www.girlswhocode.com/about-us/ and show me something even remotely equivalent for nursing, or fashion.

> Even if there weren't, why does that matter? It has nothing to do with this industry's problems. We don't need every other industry to be fixing itself before we do.

I might turn that around and say, "Well, if other industries, specially female-dominated ones aren't rushing to be inclusive towards men, is there a rational reason why we should be making these extra efforts? Or is it to satisfy the whims of writers like Nitasha Tiku who wouldn't know tech if it danced naked in front of her wearing a tea-cosy labelled Tech?" The fact that female-dominated industries are often perfectly comfortable being female-dominated industries is an indicator that it might be counterproductive to ignore male coders in a sexist effort to recruit more female ones.

> That's not even touching on your victim-complex of an argument about men coding. You must be pretty deep in that bubble.

What bubble? All I'm saying is that, as a low-income Asian person who learned to code, I am not a particularly privileged or rich person. Yet I have had zero initiatives helping me, or encouraging me to code. I have seen several people in a similar position. On the other hand, plenty of girls with high-income parents are babysat and helped by initiatives like Rails Girls et al. This is reality. Not sure why you think it is a complex.
I agree that some people, us included, are saavy enough to read news sources from around the world and make reasonably informed decisions based on a variety of sources.

However, the US corporate news is largely a propaganda machine and the vast majority of US citizens get their news in propaganda form.

Don't believe that? Do an experiment: identify a few news stories on Fox News, MSNBC, etc. and then spend some some on Google News reading coverage for these stories from a variety of other countries. I do this a few times a month for news that I am interested in, and it is an eye opening experience.

The authors of "Dollarocracy: How the Money and Media Election Complex is Destroying America" spoke at Google last fall when I was consulting there. They roast local and national news as being very biased and not covering things that people really should know.
>It's about freeing that process from the gatekeepers who control it and extract rents from the labor of others.

And do you think these gatekeepers are going to relinquish their power quietly? There are many ways that the entrenched powers can stall or even kill bitcoin. One declaration by China saw a loss of 50% of bitcoins value in a day or so. The claim that bitcoin is disruptive to the system is vastly overblown. Guns still rule in meatspace as well as cyberspace.
Or just set up a custom search engine in Chrome, eg:

chrome://settings/searchEngines

search engine: rapgenius.com

keyword: rg

url: http://rapgenius.com/search?q=%s

Then just type rg<tab> in the omnibox and search for whatever you want, and get taken to rg's serp.
Common charger for all mobile phones on the way in Europe
Sometimes music transcends language - see opera & theatre, or even just gangnam style.
I'm sure some exec already has.
What prior beliefs? That observed behaviour may have a reason beyond "privilege" which cannot be disproved? (for proof I refer you to the mantra that "privileged people cannot realize they are privileged" which makes an accusation of privilege indistinguishable from a self-serving accusation from the perspective of the accused)
Not quite.

One person says, "We deliberately handle women with kid gloves. A under-qualified woman has a better chance than an under-qualified man."

A feminist activist responds, "But you still hire more men! Therefore, it's almost a given that you're biased against women in other ways. Fix it."

The original person says, "Wow. We just can't win with you people."
Ok cool. So RG is way better than songmeanings.

That doesn't change the size of the market.

That is, unless you think the quality or features are so good that it will increase the size of the market. In that sense, I don't think RG is groundbreaking enough IMO.

Songmeanings has been around for over a decade. If the market demand was really there ($15mm investment worth), they would naturally gotten some funding, or enough revenue, to improve their product and soak the $ potential out of the market.
I'm really not going to participate in a cherry picking contest on PL syntax and while my experience has show that Lisp is not for everyone, I'm quite surprised at the hostility shown towards it by you and other people on this page.

I'm not quite sure whether it is just plain trolling or traumatic experiences with Lisp at college. (The latter which I can understand since being allowed to only use a very limited part of the language to solve convoluted problems can be quite off-putting.)
Exactly. Lavabit example is 100% clear: one user is enough for three letter agencies to get the court request for all the private keys.
Well, the problem -- though not necessarily the specific problem here -- is that "the government did something unconstitutional" is not enough to make a lawsuit. The deeper issue is whether someone has "standing" to sue, and federal courts (and especially the Supreme Court) have a history of using that to sweep inconvenient issues under the rug when they don't want to make a decision.

For example, a standing-based argument against an NSA surveillance lawsuit might admit that, if someone were able to sue, they would certainly prevail on constitutional grounds, but then dismiss the suit anyway because the person suing can't demonstrate they've been harmed by the government action. If the only way you can find out that the action took place is through an illegal disclosure of classified information, for example, it may be there's no evidence you can legally present in court to show you were harmed (this is a variant of the "you weren't supposed to know you were targeted" argument).

And that's without getting into the thicket of sovereign immunity (which is not the state-secrets doctrine, but rather the idea that you can't actually sue the government directly unless the government lets you; instead you have to find some specific government official who you can argue exceeded constitutional authority. Good luck doing that when everything that's happened is classified).
>presumably without asking their employees.

Why even bothering inserting that comment? I'm constantly surprised at people across all walks of life (poly sci masters student, journalism professor, fellow MS employees) that find Chromebooks to be extremely useful and portable given their price. Offhanded comments like that make you look... well... presumptive.
30 years is plenty of time for the interests of a demographic to shift.
> The difference between the NSA spying on an American and a foreigner is that only the foreigner has a government that can protect them from the US government.

Pakistan is a nuclear power and even they don't have a government that can protect its people from the US government.
Upon re-reading our posts I think, you think, I disagree with you, more than I actually disagree or intend to appear.

There are some name game disagreements where Germany wanted to pretend to be in the colonialism game despite a totally laughable achievement level (a hundred years ago it was considered cool, not like now at all) and Russia ran the provinces of its empire much like Britain ran its colonies, other than the ocean in the middle, look at Finland for an example. Or the name game that modern world trade is not called colonialism.

So the argument that we can't have a WW3 because we have world trade, is incorrect because at WW1 time they had almost the same thing but called it colonialism and everyone but Germany was heavily into it and that didn't help prevent war very much (and yes yes OK OK Germany achieved the most pitiful level of colonialism of all the European powers, not none at all, but it rounded to zero compared to every other European power)
> I don't know why the gender imbalance exists

Well it depends what age group you're talking about. He says the gender imbalance in 20 somethings is due to a gender imbalance in teens (which just assumes that time spent in your teens is predictive of career choice and skill level), and he doesn't know why the teen imbalance exists, but it needs to be fixed.

I don't see how that's over explaining. If you didn't study math or science in highschool, you probably won't be a physicist either.
That could be their goal, but it's a lot easier said than done, especially in markets that haven't been executed before.

For example, Rdio tried to do Vdio with video and look how that turned out.

Off the top of my head, I can't even think of one company that expanded to different categories successfully. It's difficult and really rare.
You can very easily do this by combining Object.observe() (or a polyfill) and calling forceUpdate().

However we've found that this sort of data binding is suboptimal since it encourages mutation which forces you out of some great perf optimizations (like the Om stuff, and Object.observe() has its own performance penalties). And thinking about your data flow a little more explicitly makes it easy to follow where updates are being triggered from (so a mutation in one part of your app doesn't accidentally trigger updates all over the place).

Most of the time doing this explicitly is a little more typing up front but is worth it for larger apps from a performance and maintenance perspective. If you start building with React you'll find that your data model flattens out as you go down the view hierarchy so this becomes less of an issue.