skysight-inc/HackerNews huggingface dataset:
Pretend they have first amendment rights to tell you to your face and through their actions that your opinion is garbage and not something they respect.

*adding: I find it amazing some people are up in arms about people getting fired for their opinions, maybe you should direct your anger to "Right to Work" laws anti-union folks have pushed down our throats everywhere?

There used to be a due process before someone was fired, I wonder where that went and who took it away?
Piggybacking on this, if they are employed as an engineer and not explicitly as a founder, can they still be issued a significant (>30%, <50%) nonmajority equity share in a company?
Yes, we do but oftentimes the better approach is simply to refile the O-1 since MTRs can take a while to be reviewed.
Yes, all of the above. Plus, those same sorts of policies keep the US employment rolls lower. More people would be employed if the full time work week was 30 hours (time and a half above that), for instance.
Previous discussion from yesterday based on the original WSJ article: https://news.ycombinator.com/item?id=15092139
Is it possible that the problem isn't publishers or authors, but rather readers and people in general?

I know a retired journalist who worked for 20 something years. When started articles and film pieces used a strategy of jamming as much information in as densely as possible. Towards the end of his career the strategy was making the message as clear as possible so that a few facts could be conveyed accurately and meaningfully.

The average person just isn't ready for dense facts outside their expertise. Things like repetition, dilution and numerous examples make internalizing external information easier.

As a programmer you are probably already an expert at self directed learning and find that method simplistic. How would you want to approach a topic you were inexpert at not planning on pursuing professionally?
>For people who think this is wrong, assuming you accept the premise that they should be investigating rioters, what alternative is there to find out who they are?

Even accepting that premise, which I don't, there doesn't always need to be an alternative. The 4th Amendment appears to require far more specificity than this request allows. Political assembly and protests are obviously protected by the Constitution, and these 200 rioters are considered innocent until proven guilty.

If law enforcement can't get a valid warrant then they should lose. They can go home and polish their batons.

/IANAL
are you looking to sell it?
"For one it makes you stupid. Obviously it interferes with everything requiring effort, from running to sex."

Fasting (one way to alter insulin sensitivity without drugs) has been reported to increase focus and energy. I have been doing intermittent fasting (16 hour fast/8 hour feast, with an occasional 24 hour fast) for the past four or five months (I started logging my results about 3 months ago, but I started before that in an imprecise sort of way). I haven't noticed a significant change either way. I feel fine, with normal levels of energy and the like. I don't think I'm stupider because of it, though I probably ought to do some A/B testing to be sure.

I've never taken metformin, and haven't done any real research beyond reading the article and the Wikipedia page about it, so I don't really know what it does to someone, but as I understand it sounds like your main concern is the effect on insulin sensitivity. But, insulin sensitivity seems to be a major factor in weight and health, and growing evidence suggests that actions improving it also improve general health.

I'm not saying you're wrong, just that I don't think it's reasonable to dismiss it or to assume the most simplistic explanation of how the body works (e.g. glucose makes brains smarter, or glucose makes bodies energetic) is the correct or complete one.
Nope. Violent islamic extremists are just as odious as violent facist extremists, yet the consensus here was to support Apple's position on the security of private communications.
If your plans for an extraterrestial base require building something as expensive as a space elevator, you'll never get the funding. Any plan for human settlement must be splittable into reasonable annual budgets. Being to ambitions is what killed many previous missions.
Why? I mean please elaborate.
The way I see it, there are two types of callbacks - synchronous and asynchronous.

This is a synchronous callback (but callback nonetheless), that takes an array of numbers, and adds its entries:

arr.reduce(function(acc, item){
return acc + item;
});

There's some boilerplate in this, so as per latest JS specs, you can remove all that and rewrite it as:

arr.reduce( (x, y) => x + y);

Then there's asynchronous callback. Most of "callback-hell" stems from these type of callbacks, because you would do "do-this-then-do-this-then-the-other-thing", and nest these one within other.

We realized that callback-hell prevents us from using return or handle errors in a clean & reliable way, so we went to promises.

Then promises turned out to be quite a pain too. Then generators, and now we have settled for async-await.

But in no way that "hell" is acceptable!
I have the same question as well.
A really great podcast on the subject by Tim Ferris (I think it's one of his best).
They also talk about Metformin

https://tim.blog/2016/10/20/my-life-extension-pilgrimage-to-...
Would love to read more about this. A cursory search didn't reveal anything obvious, can you point me in a direction to read more?
Noob question: Looking at your competitors' traffic with SimilarWeb: They have all ok to low traffic, none of them really growing. So it might be a hard business to grow since a lot is SEO driven/organic.

However, Builtwith is selling some plans which also include SEO related features like keyword reports. I understand that some might pay for latter but there is even more competition in that space.

What I don't get: Who should pay for your stuff? It's of course interesting to see other stacks but honestly it's not a crucial thing. My CTOs and I know what they are doing and of course we like to get inspired but yeah, at the end of the day tons of research, years of experience, debate and the individual use case decide our stack and not what some random website does. Same for design-relates stuff, btw to find a font-face is just a Command-Option-I away.

So no offense, but I am just wondering why you start a business which is already there, which is hard to scale and which is hard to get paid for.

Guess I missed something and happy to hear your view.
There's really been minimal change to date. The biggest "change" was killing the startup rule.
Indian Holy Men Do Not Levitate Above Law
Working with designers is hard
At least on Android, I think it does require permissions. The difference is that users have no idea what it is and therefore don't care. It's unfortunate that the list of on-demand permissions doesn't include doesn't include things like local network info (or internet access in general).

I personally give strong NO to any app that requests GPS location and isn't an actual map app, but Google no longer requests confirmation (or even tells you) when apps add new permissions in the same category, so every so often I have to go through my list of installed apps.
Spot on. The direction we are moving hasn't changed in a long time.

The problem is that a bit less than half of the country is opposed to these issues at time. After an election cycle the other half will be opposed and those previously opposed will become silent.
Einstein, von Braun, Musk, Brin.

Immigrants are more than cheap labor.

edit just for a bit more diversity: Madeleine Albright, Schwarzenegger, Ang Lee, Tesla, Fermi, Audrey Hepburn, Sataya Nadella, Jerry Yang, Cary Grant...

edit 2, correction: Ang Lee's Wikipedia page says he's a resident and not a US citizen. Another alien undercutting US labour like James Cameron and Ridley Scott.
Although she seems to be much less caustic than Ray.
trends that began years ago have been intensifying recently
Why? Bulk data about visitors do the Daily Stormer wouldn't be very interesting or useful. I'd show up in such a list, for example. If it turns out that the site was used to plan the violence that occurred then more specific warrants for the planners might be useful, but not a blanket "give us everything" one.
i really don't know because this will depend largely on the legal fees charged and there's a wide range.
An open-source server for social and realtime apps
India had similar code academy type institutions in the 90s (don't know if they still do) and they gave pretty much the same results. A very small percentage who "get it" and could think their way through a logical problem in a logical way; and a majority - those there strictly to find the path to a well-paying job - who could write code to the exact specification you provided, but with no independent thought.

Only difference is that then, the token technologies used for study were out of MS's desktop stack.

Source: worked with lots of outsourcing/offshore partners out of India during that time...

edit: I should also add that in the US the same could be observed: uptick in CS grads who only started out in it for the money, had no real interest in the actual building blocks they were given -- and were predictably uninspired in the workplace.

The percentage of 'good' programmers was higher, but that was only because there was a 4-year barrier to entry vs ~16weeks-1yr for the tech schools in India.
I suspect because it's a complete and utter lie and there's no evidence to support it.
Japan to Test Blockchain for Government Contract System
On crimes and punishments, torture and retribution, deterrence and Beccaria
We are linking gut health to schizophrenia and now ASD. At 51, I eat homemade yogurt, Braggs vinegar, live pickled vegetables, some miso and ground flax seed every day. I just avoid sugars, booze and factory food at home. I have serious seasonal allergies and inflammation common to people who relocate to flowery swampy Washington, DC. I had one round of sinus surgery due to constant infections. I will not be an Olympic swimmer, but strong gut maintenance makes food better and days easier than time wasting doctors, pills and powders. The solutions are too simple and regimen based to weaponize, refine, patent and bottle.
Just in case the author is present in the thread:

Your blog is extremely difficult to read on wide screen monitors. The entire left 50% is basically just blank space. My suggestion is to make the left side maybe 20% width on desktop or less.

Also, regarding the article content:

There really aren't any good reasons presented here about why you moved from Python to Javascript for back-end web development. It seems that you simply prefer Javascript semantics. There's nothing wrong with that, but the title is misleading considering that the bulk of the article is actually about which JS tools you use on recent projects and not why you moved.

Also, could you clarify what you mean by

> Also, there's no acceptable way to pass a function body to another in Python.

Functions are first-class in python and can be passed as arguments to other functions. I'm not sure I understand what you mean with the above statement.

Cool to see someone else has been using Nuxt though.
A Green Card is a visa with permanent intent. A TN visa has temporary or limited intent. At best, such a transfer would signal that your TN was not pursued with temporary intent.

In my IANAL experience as a Canadian who immigrated to the US, you need to transfer to a permanent intent visa like an H1-B from which the conversion to Green Card is more straightforward. Alternatively, marry an American.
Is the startup visa (International Entrepreneur Rule) dead? or is there still hope?
I was going to suggest that the you have to be lobotomized to do something like this then I remembered that perfectly OK folks decide to go to places like North Korea (and come back lobotomized) so now I only suggest that you must be extremely inexperienced to dump python for javascript...I mean js doesn't even have a proper stdlib nor any means for quality control over what gets into the npm archives. No wonder that you have a new library for X in every week just to be forgotten the next month.
I'm glad they're pursuing this. I wish more startups would tackle the problem.
I was expecting this to go in a different direction when I read the headline, which is this: a decision to buy and experience an app does not have a guaranteed ending. The app could easily command more of my attention than I want it to, which--not to get all self-important here--is valued at way more than $0.99. I personally don't buy apps because I feel attention-saturated by the ones I already have. I do buy cups of coffee regularly, though, because I know where they start and end.
I published in Science and Nature during my PhD and other than some prestige and help getting a fellowship I never received any sort of direct payout. I don't think my supervisor got anything directly either, definitely helped future grant applications, however.
I wonder if an expert could chime in on why this land (and carbon) would not be taken up by larger, more developed plant life, such as larger shrubs or trees. It seems conditions would be ideal: fresh, bacteria rich soil, high CO_2 levels and plenty of water.
Yeah, this is just unreadably ugly.
Additionally, icon fonts rely on the PUA to render their glyphs. Given the emoji explosion over the past several years, that PUA is getting harder and harder to assign glyphs to.

I can't be the only one that's visited a site on my phone and found emojis where an icon font glyph was meant to be.

See probably the most famous example: https://www.etsy.com/teams/7720/bugs/discuss/14559563/
Even a private landlord should provide that.
No chromecast support. I don't own a smart tv so my chromecast is the life of my living room TV.
It's kind annoying since I can only watch it on computer or tablet.
YouTube's complicated relationship with the music industry
The thing is that it has been under attack for a long time now, and acting as if some new threat is active is disingenuous and partisan.
Stuff like this is why we need to have more political discussions on HN. If we don't talk about these issues openly and try to come up with solutions, we will look back and wonder how we managed to spend this era of USA's transition to fascism discussing utterly trivial stuff like the latest JavaScript frameworks.

To paraphrase the famous saying, evil succeeds when good men and women do nothing. I have seen this happen in my own country. Don't want to see it happen in the USA as well.
I think that's a simplistic view. For one, it can't be cheaper to import than to train/educate locally. But that doesn't stop the local culture from being detrimental to higher learning.
It's a website created for the sole purpose of promoting terrorist acts at a certain time and place. I think that's enough to say that every individual user account is suspect. I consistently reject government overreach but this isn't an example of that.
Ugh. The writing is so bad.

> a series of trigonometry tables which scientists claim are more accurate than any available today.

Given that we are able to calculate the exact value of any trigonometric function, the above sentence is pretty meaningless. Not to mention, if we wanted to calculate any trig function to some given arbitrary precision, we can do that pretty much instantly these days.

I'm sure this is a really cool find. I just wish they'd be a little more careful with their wording.
In his book "The Beginning of Infinity", David Deutch gives a hypothetical example of a technologically advanced space ship arriving to an empty spot in space, a cube the size of the solar system. It is such an inhospitable spot, and yet this civilization can create everything to live there. There are billions of tons of hydrogen atoms in that "empty" space, hence fusion is harvested, new elements created, etc etc. The point that Deutch is making is that problems are inevitable, and they can be solved by use of knowledge. It's not the end of world, people.
It is outrageous, but the adult thing to do is to control your outrage and channel it with as much rationality, honesty and balance as you can muster. More outrage supports the escalation of more repression from the left and more resistance from the right.

Outrage creates both Marxists and Nazi's, and IMO both are harmful forces if given too much attention and power. I perceive fascism as the enemy, and both the far-left and the far-right are fascist. We should strive for deescalation and respect for the individual over the group.
It's more that USCIS is conducting more site visits but I haven't seen this as impacting the job market for legitimate H-1Bs or the H-1B process.
I think the link is just returning cached result that was already identified with the extension.
I really like chaining Promises in JavaScript. The Python way to do this doesn't seem as powerful (what if you want to inject a parallel set of async operations at some point in the chain?): https://stackoverflow.com/questions/43325501/how-do-i-write-... - JS also supports async/await but the advantage of JS is that you can return promises (or parallel combinations of multiple promises) from inside promises so any link in the promise chain can essentially inject new links in the chain in its own place (so the chain can change dynamically based on the results of previous async operations).

You can build really complex dynamic async chains in JS very easily because of this. It's hard to explain why it's so nice until you try it.

In JS, I can do something like:

Promise.resolve().then(() => {

let innerPromiseChain = serialOperation1()
.then(serialOperation2);

if (somethingIsTrue) {
// Only inject serialOperation3 at the end of the
// innerPromiseChain if somethingIsTrue
return innerPromiseChain.then(serialOperation3);
}
// else return the inner chain without serialOperation3
return innerPromiseChain;

})
.then((resultOfLastSerialOperation) => {

// resultOfLastSerialOperation could be the result of
// either serialOperation2 or serialOperation3 depending
// on the value of somethingIsTrue

// parallelOperation1 and parallelOperation2 will be
// executed in parallel.
return Promise.all(parallelOperation1(), parallelOperation2());

})
.then((parallelOp1Result, parallelOp2Result) => {

// This will be called once the previous parallel
// operations have both finished (therefore the
// whole chain has been processed).

});
It's like Doonesbury, but it came from the 80's: http://imgur.com/82QXoAj
Extended periods of winter darkness maybe?
This is why free to play, apps that offer premium modes, or apps that have social conversions are good models for a digital store. When there is almost no barrier to entry users have good reason to doubt the value of what they are downloading. Hence they want to try it first or hear strongly from a trusted source that it is valuable.
If I see something that is both "free" and "in-app purchases", it already greatly reduces the chance I'll even bother to download because so damned many of these are just terrible experiences. On the off chance I bother to look one step further and preview the "top in-app purchases", I usually see something totally unsurprising like the absurd "$9.99 gem bags" or whatever.

Please, please just start charging for apps again. I specifically search for "pay once and never again" apps now.
The transparent rectangles in the downloadable SVGs are for sizing. When people used apps like Sketch to create mockups, the SVGs weren't sizing properly because Sketch had no way to understand that there needed to be some space around the icon.
Facebook Figured Out a Family Secret and Won't Tell Me How
Again, not correct and a common misunderstanding. One can go from a TN directly to a green card.
Law enforcement has no fundamental right to find criminals. If they can't find a criminal within the law, then the criminal goes free. That's fundamental to how our system works.

"They must do X, because it's the only way to catch the bad guy" is a catastrophically bad argument.
This! The USA is cruel and you could spend years building a life only to be kicked out. You can only get H1Bs from big corporations, and socially Americans treat foreigners with disdain. Canada, Australia, Taiwan, are all countries that at least treat immigrants as humans.
The outrage on this site is more selective than I would have anticipated. If you think your rights have only been eroded over the last few weeks, you've been drinking kool-aid.
They received a preservation order requiring they do not delete the logs for this domain for period of time prior to the inauguration.
You can do the exact same thing in Python, and this is not any new feature:

doubled = map(lambda x: x * 2, nums)

JS it's just not as explicit with what you're exactly doing.
A lawyer once explained to me that there needs to be an employer - employee relationship. Basically, there needs to be a possibility of being fired. So if you have total control of a company the H1B visa would not be possible.
> (my Python is pretty rusty so maybe there's a better way of doing that)

return [x*2 for x in nums]
In most developed nations outside America, a doctor's opinion carries more administrative weight. There may be an administrator, but if a doctor says a procedure is to be done, the payment can generally follow. A doctor is like an officer in that regard.

In America, the insurance company and their payment policies carry more weight than the doctor's decisions. This matters a great deal if you have a traumatic accident and require many surgeries, as happened to a friend of mine. In America, if you have a trauma, you are recommended to get a lawyer immediately to help your medical expenses be handled properly. Think about that... in America, if you get hurt, you need a lawyer almost a badly as you need a doctor. Not because you need to sue the cause, but because you need to encourage the insurance company. There's something fundamentally miserable about that.
Clarity Icons is for any framework. It's just custom elements. So it does not rely on Angular.
The numbers don't agree with your claims
Sorry but I'm not sure what you are asking.
Here are the odds, by country. Rate of legal immigration doesn't seem to be a primary determinate for that country's odds. www.usagreencardlottery.org/green-card-statistics.jsp
People still use Paypal? Abandoned my account 2 years ago, never looked back.
I'm gonna go out on a limb here and take what may be an unpopular position: If you're a financial services firm, you should be forbidden from refusing services to anyone who is not committing an illegal act. Services like PayPal are starting to sound like insurance companies prior to the ACA. If it's not illegal you should not be allowed to turn customers away.
Is the child wrong?

Why or why Not?

Things like taste are subjective. I am thirty something and don't like the majority of coffee and I don't drink beer or wine at all. I had a Mexican Coke (so much better than normal coke) in preference to bitter coffee this morning. Does that make me childish?
That´s sort of what´s already happening.

http://www.ldeo.columbia.edu/news-events/trees-tundras-borde...
But when you request the records of 1.3 million conspirators to riot and commit other terrorist acts, in order to find the 200 who actually did, that's quite reasonable. The stated goal of the website was terrorism (shutting down bridges, checkpoints, etc.). Every single account is quite likely to be evidence of conspiracy.
"About six months after opening, PayPal -- our payment processor at the time -- demanded that we censor some of our users' content (mostly involving people talking about sex, usually fictionally, in explicit terms) that was legal and protected speech but that they felt violated their terms for using PayPal."

Seems reasonable to me.