skysight-inc/HackerNews huggingface dataset:
> Sort of like, "As a white person, white people are more important to me."?

Not at all. Because being born with skin pigmentation is not the same as building a community together, that shares local resources and markets.
Dual intent visas are non-immigrant visas for which it is not a violation of the visa terms for the applicant to intend to immigrate at the time they apply for and enter on the non-immigrant visa. (Non-dual-intent non-immigrant visas do not allow this, and immigration officials can and will exclude you from entry with such a visa if they believe you plan to become an immigrant.)

They remain, however, non-immigrant visas, and require a separate application for immigration, which is what allows immigration by the quotas applicable to the basis of immigration under which you apply, not the status under the dual-intent visa and it's quota.
Postgres doesn't use 2Q either, sorry. It's a simple clock-sweep approximated LRU implementation currently.
That's not the point. The point is, what happens to other Americans has greater impact on me, as an American because I live and work in the same communities.

What happens to someone in India will be of less concern.
You can see in advance what company operates each leg. It's not a secret.
Hello guys,

I created an iOS version to help the Swift community to follow the proposals from Swift Evolution. I really appreciate any comment, suggestion or any kind of feedback you provide.

Here, you can find me twitter.com/tholanda
> removeChild and insertBefore on DOM tree are always O(N) operations

It depends. If you insert only one node, I agree you end up doing some O(N) work later in many cases (though not nearly always). If you remove/insert k nodes at the front, in the vector case you do O(kN) work while in the doubly-linked-list case you do O(k+N) work at worst. In the case when k == N the difference is between O(N) and O(N^2).

And yes, this is a problem in practice. We've seen popular web libraries doing this to remove all the kids of an element:

while (foo.firstChild)
foo.removeChild(foo.firstChild);

which will be O(N^2) in a vector implementation.

So the real question is what the amortized cost of an insert/remove is. Unless your web page is flushing out layout after every DOM modification (which is sadly too common), you will only redo selector matching every however many DOM mutations. In many cases "however many" is "thousands".
That is a truly poor application of logic.

It's not about being white, it's about living in the same social and economic communities. You really do not understand why a person might care more about what happens to their literal neighbor than someone half way across the world?

From where I am sitting, you are using race as a way to be deliberately inflammatory. Not a good look.
No, dual intent visas are non-immigrant Visa that don't prohibit entrants from having the intent to apply for immigration under some other provision. (Regular non-immigrant visa prohibit intent to seek immigrant status.)
> The lump of labor fallacy.

This is counter intuitive to average Joe on street but it is super surprising that the learned members of HN who otherwise seem to take interest in startups etc. fail to see the basic economic principles at work.

The only valid concern about immigration I see is about culture. Personally it is natural for people not to like people who are not like them. It is something we should overcome but still understandable.

> General fuzziness in terms of economic thinking

I am not sure how we can have a law that involves things like a "lottery"! US immigration laws violate some basic principles of law making => clarity/predictability/rewards law abiding people/learns from real world data.

H1B/F1 by definition encourages lying. A student can not be truthful when applying for F1. If I say I intend to apply for H1B after F1 my F1 visa would be instantly rejected. Not to mention young people can not predict promise their future that well either.
> but these h1b holders live in your town

Temporarily.
Firefox 53 released today – includes Quantum Compositor for more stable graphics
Please tell me you the ToS for every online service, every time it's updated. The internet-enabled side of industry virtually invented this modus operandi.
What really scares me about the Node ecosystem is bugs like these:

https://github.com/npm/npm/issues/10999

https://github.com/npm/npm/issues/9633

I have personally hit both while trying to build (not even write!) Node software.

The former bug is an example of "broken by design", and it's interesting that it remains open (therefore admitting that it is a problem?), but no solution came yet. Although I believe Yarn doesn't have it - but then why doesn't the entire Node community move to Yarn?

The latter bug is, to me, just insane. Several dozen bug reports (and even more if you google for the error message); and when it shows up, it can be an outright blocker. It was for me - I plainly couldn't build the software that I wanted, and no workarounds helped. And no fix, 1.5 years later and counting.
Pay for YT Red?
This is where it will fail (if indeed it is true).

Privacy is not a massive concern for people, but it is a concern. It's enough of a concern for people to mistrust the brand serving the adverts - google.

Considering how much google relies on its brand, trust is a big part of the reason why people entrust google with their often very private searches.

People don't like advertising for lot of reasons, that's why they use ad blockers and not ad filters.

This is why googles attempt to introduce a block on advertising is like a salesman attempting to stop people from cold calling.
I ran it too! Was so much fun right before the time the internet connectivity expanded past universities.

I ran the BBS because otherwise I had to dial into Chicago (long distance - ha, what a concept!). For me it was much cheaper to just run a multiline BBS, and then read news on my own computer that sat in the basement!
Uber granted right to appeal against ruling on UK drivers' rights
And in async C# - which has the same "amazing concurrency" - it just works. Because the language will take that exception, and wrap it into a faulted task (promise) for you. So the stack may be spaghetti, but exceptions navigate it correctly same as everything else.
> Doing Fido over TCP/IP just doesn't feel the same. It's way too easy.

Do you remember ZMH? Zone Mail Hour? If you had a public BBS, you had to disallow logins during ZMH, so that your phone line was reserved for netmail and echomail delivery.

I was just a lowly point, so I didn't have to bother with that crap. 2:201/274.9 representin', yo.

The funniest part about the star-shaped network was that it was more of a feudal society than a democracy. And of course it devolved into political fights among the lowly nodes and points who thought the stupid RCs and NCs had way too much power over the network and wanted it to become more democratic, but since the coordinators (Did you call them stars in zone 1?) footed the bill for the long-distance message deliveries, it was usually their way or the highway.

Funnily enough, Sweden abolished the concept of long-distance calls sometime in the 90s, which drastically undercut the power of the controllers. :-)
I like how you see positive in this move, but all I can think of is this.
Google will enable ads from google and block everything else. This is their way of killing the competition. I think it is unfair and risky. I don't want google or anybody else deciding what is acceptable ad for me. Even if it is not distracting or passes google's standard of 'good' ad, it should still be my choice that determines if I see it or not.

This is why I'm not going back to Chrome and not going to stop using ad blocker extensions and the network wide ad-blocker at home.
If there's a couple million people on the whole continent, sure. But the park doesn't have the restorative capacity for everyone who goes there to do what you propose which is pretty selfish and ignorant.
Like tracking of user data.
Most (all?) languages have such problems, but the quantities of them are not the same in every language.
Freelancing as a career- My experience of working as a freelance web developer
Brave is already doing this http://brave.com
I wonder if people reacted the same way to the last wave of home appliances - the dishwashers, laundry machines, blenders, food processors, vacuum cleaners, and other machines that must've seemed like horrifying abominations to people used to doing those chores by hand.
Some people dont like this. May i suggest firefox? Not fast enough for you? You could always contribute.
It's not only America, but I suspect that it's because of the expectation of infinite growth, which is a fantasy, because nothing can grow indefinitely.

So the market becomes more competitive, but the shareholders still want their return. So first you get the fat cut off, then you end up with corners cut right up to and over the point of illegality.

Eventually stuff like this incident and much worse happens.
At some point, you have to expect personal responsibility. If there weren't any safety signage at all, then there'd be more sympathy. But when you actively reject safety signage that is there to help you, then you're the one who is rejecting the care of others. In that case, why waste sympathy on those people who took those risks and rejected the a priori help?

This isn't a complex sociopolitical scene like an underclass of drug-users trying to escape from their hellish reality, where cause and effect are hard to disentangle. It's people on holiday assuming that they're special and the safety signage doesn't apply to them. It's pretty straight-forward.
> Antagonizing Russia in the Balkans, France in Morocco, and Britain on the high seas were rather gratuitous moves between 1900 - 1914, driven by Wilhelm II's personality more than by any geopolitical factors.

Wilhelm II was even planning an invasion of America in the late 1800's/early 1900's, an attempt at gunboat diplomacy[1].

[1] https://www.theguardian.com/world/2002/may/09/kateconnolly
SlySoft AnyDVD 7.6.9.5 Crack with License Key Full Version Free
> Why is the USG allowed to ban foreigners from coming to the US if they undercut American wages?

It's in the interest of a nation to implement rules that boost its economy. Wanting foreigners to prosper over your own countrymen is akin to betraying your country. How is this ethical point even a question?
Talk not to me of blasphemy, man; I'd strike the sun if it insulted me.

- Moby Dick
Within reasonable limits. Being pro American doesn't mean being anti everyone else.
Giving everyone the same chance would lower the quality of life of Americans. Why would Americans want to lower their own quality of life?
Ah yes, how to avoid vendor lock-in.

Everything old is new again.
It is if you want firmware updates for your headphone.
Serena Williams Deletes Snapchat Photo Revealing Pregnancy
To be fair, relying on product teams to shut themselves down, in case they've hit a dead-end, probably wouldn't work.
I wonder whats more profitable? Destabilization of major global (read: strategic/tactical capabilities wrt nuclear weapons) belligerents from "internal struggle", or engaging in endeavors that pit such belligerents against one another?

If a rational actor had to pick their poison (if one is maximizing for profit, one needs to live long enough or in a environment that well better support/help realize such), I'd suspect they'd pick the former, then use/co-opt the appropriate the effective popular indoctrination/social dogmas in such respective countries to foster such ends as a force multiplier.

Maybe more drawn out than proxy war to MAD campaign, but less is at risk tactically along the way (setting aside spontaneous break out of ICBM volleys in response to extended amazon 404's for a period of time, or something on such similar level) to achieve relatively similar strategic aims "governments" usually have their eyes on if they are in position of relative power asymmetry they can leverage agaisnt others towards economic gains.
The salary tab seems to say that FB isn't having trouble finding programmers in the US - it's having trouble finding GREAT programmers, while Wipro, et al just want a cheap body.

Huge difference. Nothing to see here, move along.
Seems I'm not alone. 25 upvotes at the moment :-|

Now I'm not against videos, I just want good text (not just transcripts) to be available for people like me.
What would be your choice of DB for a commenting system?
Hello HN fellows - I've "the next best idea" since sliced bread... on how to write a commenting system similar to disqus, spot.im, except better. Would you use an RDBMS (e. g. postgres) or a graph database (e. g. neo4j) to model the conversation threads? I may also want to enable commenters to insert emojis, a very limited subset of html for external links and font styling. It has to scale to tens, possibly hundreds of thousands of simultaneous users, most of which will be posting relatively short payloads via http(s) as comments are almost always limited in length.

Reason I ask is I've heard certain commenting systems use a graph database and others an RDBMS. I've zero experience building commenting systems with either.

Thank you.
> Re: "New Relic doesn’t get it"

Can someone recommend a Nodejs performance monitoring solution that works great?
Can they somehow ensure this 22 orbits in advance (e.g. using Titan's gravity to change the trajectory slightly on each orbit)?
> it's simply not credible to believe there is no more to the strategy than the simple defense mentioned in the article

It would be more fair if Google implemented a micropayments system that would be distributed to the websites a user is using most / where the user wants to tip. Google already has payments integrated through the app store. If they created a new kind of "micropayments sponsored" content category, it would help content producers to earn an income. The monthly amount to be tipped should be capped in total, say, $1/person, not much. Google can still make money by taking a small fee from the micropayments.

"Disable ads and support websites for $1/month". Something like that. It's like getting access to music from a subscription service, but the upside is that surfers get to support their favorite sources.
FRESH MUSIC AND VIDEO: DJ Spinall Ft Olamide – Gimmie Luv
H1B actually is visa that is easier to change jobs, compare with other visa like L1 which is tied to the employer. But u might be right that foreign worker are indeed in general more insecure about their job, thus might stick with the same company longer. But that is marginal edge, foreigner in general is no where close to compete with local in language skill and culture fit, which are all decisive factors in making a hiring decision.
A little from column A, a little from column B. Einstein worked on relativity for a decade, i think. Newton looks to have spent about 8 years sorting out calculus. A professor once said the Fourier transform was worked out over a couple of weeks in a French chateau accompanied by Fourier's lover. I've never found a source other than that prof's story though.

For me, and i suspect most people, when i work on something hard, i have a lot of ideas. most of them suck. some of them are promising but kind of die on the vine. That one sweet answer though, that idea is memorable. i think it's memorable because of the weeks, months, or years spent validating the idea is good enough.
How can a bankrupt airline still be flying?

The whole thing really exposes the cracks and deliberate obfuscation in an industry I thought would be regulated like crazy.
With more automation and containerization, I see the SRE role and dev role coming together, eventually merging into "devops". Today, these roles are separate because they require slightly different skill sets. Maintaining production systems takes up about as much time as developing new features. As it becomes easier and easier, dev will be the ops, even in big companies.
It sounds like the people in the group we're the issue, not the medium. This is the same arguement we have in tech over tor and other technologies that facilitate "bag things". Just because you can't pick good people to go snowmobiling with doesn't mean those who can't shouldn't be able to enjoy the public land their tax dollars help pay for.

I don't even do motor-sports but your puritan, uncompromising, sierra-clubish view of how public land ought to be used is exactly why there isn't overwhelming support for public resources like that.

>only to face such opposition from operators that they gave up.

Having opposition means just about nothing. There's a bunch of pissed off idiots on both sides of any issue.
Graduate of Bozeman Senior High checking in :)
If those competing internet ad companies are the ones that take over the entire page and redirect me to other pages.. Good riddance.

Don't let the door hit you on the way out, scummy ad companies.
Hey! I'm Joe and work on the Relay core team.

These are good questions: why does Relay Modern have garbage collection? Is that just a fancy name for cache eviction?

Let's put aside naming for a moment. Relay stores GraphQL data in normalized form, as a map of global identifiers to records. Each record has an identifier, type, and map of fields to values. Relationships between objects are expressed as fields that "link" to other records. These links are expressed as data structures - an object such as `{__ref: <id>}` - as opposed to direct references to the objects.

Using object references would mean that Relay could in theory let the JS runtime do garbage collection: except that the runtime would only see a cyclic graph of objects for which (typically) at least one root object had a persistent reference (the record corresponding to the root of the graph). In other words, it would do its job and retain all records in memory since they would all be (in)directly referenced from the root object, which would have to be referenced by Relay in order to access the data.

Relay, however, has more knowledge than the JS runtime does about how this data can be accessed: it can analyze the currently active queries against the object graph to determine which records are required to fulfill those queries. This is what the garbage collection feature does: remove records that may not be referenced by any active query.

Note that this has some aspects in common with standard garbage collection in programming language runtimes. There is a mapping of identifiers (memory addresses) to values. Each value may contain links (pointers) to other records (blocks of memory). Because the graph has cyclic references, standard cache eviction strategies - LIFO, LRU, etc - don't necessarily apply as they might evict data that is still referenced.

I hope this helps shed some light on this feature. Questions and suggestions (PRs) welcome!
"All you need to do, is to set up a Rumenian company that invoices your employer and then pays you your salary, free of tax."

Uh, generally speaking one is still liable to pay income tax on payments coming from a foreign company.
You hire junior developers for those roles because you can pay them less and find the people who work well in your environment, get rid of the ones who don't, and leave the rest to decide for themselves whether they can find something they like about the entry-level work (and somehow continue to live on that wage) or go somewhere else once they have more experience on their resume.

I've been through so many long cycles of trying to find someone to fill a developer role where it would have been so much simpler if we could have started with someone who understood the environment and work load up front, rather than finding people who went back to the job search 3 or 4 weeks into it because it wasn't working out (but they were usually smart enough to get another job offer before they quit). I would almost prefer to take someone with little or no programming experience who works in my office with a desire to learn and a strong work ethic and give them the programming job, hire 2 or 3 more people to answer phones on a help desk, and save everyone the pain of reading resumes and interviewing for a developer who ends up negotiating a higher salary, socializing at the help desk from 8 to noon, managing their social media empire from 1 to 5, and either quitting or (somehow) getting fired after a few months so we can start all over again.

Yes, I have to train someone, perhaps even more than I would have to train someone who comes on board with some applicable experience, but the alphabet soup that goes out on my job postings isn't easy to replicate on resumes, and doesn't guarantee that I won't need to review the material with them anyway.
If you were eating the same kind of food in both places, it's a semi-decent proxy.

But most american/european restaurants are serving a completely different kind of food than bangkok street vendors. That's an enormous confounding factor, and how good you feel is quite likely from meal composition and unrelated to safety.
IANAL, but:

> Are there rules that prevent a US class action from including non-American customers?

Yes; purchases outside the US would generally be governed by the law of the jurisdiction in which they occurred.

> How hard would it be to commence a similar class action outside the US?

Depends on the applicable local law; class action might be easy, hard, or not available at all, depending on the jurisdiction.
I was about to post this, then I searched and it was already posted.

The author says the book was being illegally distributed by a CIA agent and then Wikileaks and that you can't trust their copies because it may include PDF zero days. But he is another security guy so, can we really trust his copy?

I just downloaded and started reading anyway :) I think it looks pretty fun. A nice complementary book besides Karim Yagmour's Embedded Android.

You can also buy the original one if you want to have info on Marshmallow and Nougat. Or you can wait until files of another intelligence agency is dumped on the internet :)
Or Brave[1], which already includes a lot of ad blocking and anti-tracking features by default.

[1] https://www.brave.com
I can see how, in this example, using race doesn't really serve to clarify the issue. I definitely understand why a person might care more about their neighbor. In fact, I care more about my neighbors (or my family members). However, that doesn't relieve me of my duty to respect the negative rights of others. For instance, I'm not allowed to murder someone halfway across the world because it benefits my family members. Likewise, I am arguing that I am not allowed to prevent X from hiring Y because my daughter would like the job.
A "SRE" is what happens when you want to pronounce the word "SWE" but can't. For some reason you keep saying "SRE" over and over and over again.

They were overcompensating for the fact that SREs aren't SWEs so hard. It's like "we get it, SREs are wannabe SWEs, stop trying to sugar coat it". 50% development? What a disaster. If half your job is the job that you want and the other half is administrative bullshit, why in the living fuck would you try to make a puff piece about that?

It seems as though from what everyone has said in this thread, that SRE is basically a scam along with DevOps and that the real job people want is the SWE.

I don't like internal memo propaganda pieces by big companies. It's not intellectually stimulating: it's hogwash. Let the truth reign always.
This is one case where the juice was not worth the squeeze.
That's why you use a production manager like pm2
it is apparent that you are annoying others - queue of traffic behind says that

Fun fact: lots of states have something like "if there's more than X cars following you you should pull over and let them pass" in their driver's manuals and driver's ed programs.

>to make the place a nice drive for Tesla owners and cyclists

So basically rich people and a few non-rich people who are really dedicated to cycling. That seems to be a pretty much direct contradiction with the purpose of the national parks.