skysight-inc/HackerNews huggingface dataset:
Speaking as someone who has hired H1-B's in the past, there really do seem to be two tiers. There's the companies/organizations that are truly abusing the system and then there are the traditional tech companies who are happy to hire anyone qualified, no matter where they are from, and pay and promote them the same as other employees. They also sponsor green cards. Competition between these employers has gotten to the point where they mostly all do the sponsorship immediately, too, reducing the time the person is "stuck" in the job to around a year (not great, but not horrible -- most people are "stuck" in their job that long so that they will at least vest some of their stock-based compensation).

One example: I hired an engineer who I'm going to anonymously name Bob. Bob was at Yahoo and on an H1-B. Yahoo was his first employer in SV, he had gone to CMU. He interviewed reasonably well, not amazingly, but had experience and interest in a specialty that many people aren't interested in. At the time we were trying to take a team of these people from 2 or 3 engineers to 20, so we were pretty excited. Bob also got an offer from Netflix. Netflix, if you don't know, gives offers that are basically "all-in" -- you can take the entire offer as cash, or you can parse it out and use some of it for health care, stock, etc -- your choice. The end result is that matching Netflix offers is very expensive. We mostly matched the Netflix offer (we felt our stock was going to have more upside -- which ended up being very true). I had to do extra work for this person to get them hired above and beyond what I'd have to do for an American. Then I had to do even more work to get the employer part of the green card process started. I had to help them navigate getting required documentation from Yahoo. Bob got promoted on a similar schedule to other people and as far as I know is still happily employed, now with a green card application that will transfer with them to any other employer they move to.

I would have _happily_ hired locally, and in fact most of the people I hired for that team were US citizens, Bob was one of 3 H1-Bs. He was from India, another was from Singapore, and the third was from France. They were all very talented engineers and any company would hire them in their specialty in a heartbeat.

I find it hard to say the workers in either of the two camps are particularly exploited (at least once they're in the country -- I've read ugly things about how they go into debt to be able to get these positions in the first placed). They are being paid fair market value for the work they are doing. The money they're making is far in excess of what they earn elsewhere -- that's why they go through the lengths they go through to get these jobs in the first place. If they have the ability to get hired at a more traditional tech company, that company will take over sponsorship of their H1-B with very little complication -- demand is effectively infinite for good engineers who are happy to work.
If that encryption works as good as other DRM and copy-prevention schemes, I'm sure it will protect the machine for at least 72 hours.
What do the majority of web apps need, to compete with native apps? 99% of them definitely DO NOT need to be native.
MANY MARKETING TOOLS AND Not ONLY
They obviously lose so little that it's not worth the cost of upgrading the software.
Happened to me. Now, my Debug web.config file has a setting that directs all outgoing email to a local "SpecifiedPickupDirectory".
Apport, gstreamer, Tracker/Baloo, Chrome/Chromium/Epiphany, ASLR isn't just GNOME. It seems investigation started on Ubuntu (Unity 7). It affects multiple desktops and as others notes, also Baloo.
As you may already know, a way that is done (1) is by choosing a 'basket' of products, for example "that what a typical family of four spends its money on", and periodically updating that (e.g. by replacing cable tv by a Netflix subscription).

That's similar to the way the components in the Dow Jones industrial are updated to reflect the average US industrial fund (https://en.wikipedia.org/wiki/Historical_components_of_the_D...)

(1) it isn't really possible to do it at all, but it is done that way, anyways.
Model railroads are interesting little altars to civilization and economics. Railroad expansion, popularity, and use were a by-product of the industrial revolution. And to build a small part of that in your basement demonstrates how those pieces go together.

Personally, it can be a great broad spectrum application of engineering, history, art, programming, electronics, and machining.
Slot machine outcomes are controlled by programs called pseudorandom number generators that produce baffling results by design.

goddamnit wired. You're as bad as IT World. I don't know why I keep reading your trash.
Through the (Rose Colored) Looking Glass: Adventures in Trumplandia
Maybe your 40+ folk are not that qualified then? Or maybe the demand for their specific skillsets is not as high as you assume it to be? The attitude itself is pretty telling already. Market sets the demand, not your hopes, wishes and wet dreams.

Either way blaming on their employment issues on legal immigrants is just another form of the immigrant xenophobia thats up for display more and more under the Trump administration.
If we could deal with Japan and Germany, why not China? What makes China more comparable to Iraq and Afghanistan?

Edit: Since I'm getting downvoted there's obviously some issue with the question which I'd love to hear. What makes the situation more comparable to our recent quagmires and not more "traditional" and, in my mind comparable, situations with Germany and Japan?
Yes. Extrapolating anything from a single comment is going to be rife with inaccuracy.

To bring it back around, there are a lot of people who say things like "It's not as bad as it might seem at first" or "yes, at first you struggle, but then it becomes second nature, keep at it!" but I don't see anyone completely dismiss outright the difficulty up front. I've heard some people say that they thought it was going to be harder than it actually was, based on people trying to set accurate expectations.
10/10 would back this
There's a big difference between denied re-entry and delayed re-entry.

Delaying a re-entry application 3 months is hardly what passes for "unreasonable" in government circles. The fact that cases can still be reviewed and approved faster if necessary makes this even more reasonable legally.

> (e) Notwithstanding the temporary suspension imposed pursuant to subsection (a) of this section, the Secretaries of State and Homeland Security may jointly determine to admit individuals to the United States as refugees on a case-by-case basis, in their discretion, but only so long as they determine that the admission of such individuals as refugees is in the national interest -- including when the person is a religious minority in his country of nationality facing religious persecution, when admitting the person would enable the United States to conform its conduct to a preexisting international agreement, or when the person is already in transit and denying admission would cause undue hardship -- and it would not pose a risk to the security or welfare of the United States.
While this is pretty cool, it would be hard to make it generalize without adding lifetimes or something (feel free to lift that concept off Rust!)

While the post gives the example as a simple struct field thing, that example itself isn't where it actually becomes important. It becomes important when you have structs holding pointers to the interiors of other structs, and more complex reference-returning semantics. I illustrate this in a particularly complex situation in http://manishearth.github.io/blog/2015/05/03/where-rust-real...

But yeah, D is getting there :)
> I like something as it is

> people are proposing to change it

> that's why I want to destroy the thing I like

see how silly you sound?
One of the greatest non-free books, IMO, is 21st Century C and I cannot recommend it enough.

http://shop.oreilly.com/product/0636920033677.do
You're right, it does seem unhelpful (just eat/smoke/<insert vice> less!).

What is the proposed alternative though? Most people need a general rule they can follow to help them (read: can't afford a nutritionist/doctor). If it's a willpower issue, then we need to solve that, but just saying "Oh eating less won't help me" is just as bad.
I'm the rare person who never used Perl 5 but is trying to learn Perl 6. I haven't progressed beyond very simple scripts, but it's interesting. I especially am interested in the grammars, so I'll try to find a task where I'd get to explore them.

I have no plans to try and ship software written in it.
Rounds aims to expunge 'offensive' Native American laws
Maybe the person that wrote it no longer works there. Maybe the code in question doesn't have good test coverage or documentation

These are not valid excuses for a company the size of Microsoft.
It's not bandwidth that is restricted by our terms of service it's...

SECTION 10: LIMITATION ON NON-HTML CACHING

You acknowledge that Cloudflare’s Service is offered as a platform to cache and serve web pages and websites and is not offered for other purposes, such as remote storage. Accordingly, you understand and agree to use the Service solely for the purpose of hosting and serving web pages as viewed through a web browser or other application and the Hypertext Markup Language (HTML) protocol or other equivalent technology. Cloudflare’s Service is also a shared web caching service, which means a number of customers’ websites are cached from the same server. To ensure that Cloudflare’s Service is reliable and available for the greatest number of users, a customer’s usage cannot adversely affect the performance of other customers’ sites. Additionally, the purpose of Cloudflare’s Service is to proxy web content, not store data. Using an account primarily as an online storage space, including the storage or caching of a disproportionate percentage of pictures, movies, audio files, or other non-HTML content, is prohibited. You further agree that if, at Cloudflare’s sole discretion, you are deemed to have violated this section, or if Cloudflare, in its sole discretion, deems it necessary due to excessive burden or potential adverse impact on Cloudflare’s systems, potential adverse impact on other users, server processing power, server memory, abuse controls, or other reasons, Cloudflare may suspend or terminate your account without notice to or liability to you.
They presumably mean in the literal sense of "seizing as territory / spoils of war".
I strongly agree with this. Rust has been a pleasure to learn, and I've been using it for everything from small scripts to even some minor web-dev. That said I do think there are areas in which using Rust is legitimately not a great idea. For example, I needed to convert a URL path into a filesystem path, and my code looks like this:

let mut basepath = PathBuf::from(path_arg);
for component in req.url.path() {
basepath.push(percent_decode(component.as_bytes()).decode_utf8_lossy().into_owned());
}

Granted -- each part of that makes a lot of sense, and I think it would be to Rust's detriment for things not to be that way. But when my focus has to be on rapid development rather than exacting precision, this sort of verbosity can get in the way.

Personally, I have been using Rust anyway because I am trying to shift my development habits away from rapid development and towards exacting precision, and to this end Rust has been a godsend. But I can easily understand why this verbosity may push someone away. I do note, however, that verbosity is not the GP's complaint here.
The mere thought of having a streak of luck would make winning illegal.

Where I live, many bars have 8 line slot machines that are ostensibly "For Amusement Only" but they pay out when people win (and if they know you).

If you win too much, you'll be banned from playing.
The simple solution is actual democracy: one person, one vote. Whoever wins the popular vote wins the White House.

Now if only we had a president in office who lamented what a travesty the electoral college was, and how it should be done away with ...
This is the issue.

Some weird corner of the law gets ruled on, but it has odd implications for the rest of us ... questions and concerns abound ...
I've had no issues with tree structures:

enum BinaryTree {
Leaf(i32),
Node(BinaryTree, BinaryTree)
}

But perhaps there are some operations you are doing on the tree that are more difficult?

Also, what kind of undirected graphs do you find yourself writing? I'm curious, because I rarely if ever find myself needing a graph.
Ask HN: What could journey84.com have done to avoid crashing?
Last night https://journey84.com site crashed immediately when the Super Bowl ad linked to their site. What infrastructure decisions should they have made to make sure the site not crash?

- Is it even possible to purchase an Amazon EC2 or other cloud instance large enough to handle traffic from the Super Bowl? Which instance would they have needed?
- They linked their video to YouTube. Was that the best decision?
- What else could they have done to avoid crashing given that they were expecting millions of immediate concurrent visitors?
They are already slow steaming on many routes. Ship owners aren't idiots; they have software to perform constrained optimization calculations to figure out the steaming speed which will maximize profit on each leg. This is based on fuel price, crew wages, asset depreciation, delivery contracts, etc.
Search ads is still growing. Isn't Google all about free services but invasive ads paid by businesses
Joel Spolsky makes important points in the article. Disregarding them because you don't like the web site that they're posted on is fallacious reasoning.
That seems strange to me. Its not like the west cut of oil from Japan for no reason. Japan was fighting a war with China. They were not willing to give that up and escalated the war.

Capitalists (as in profit seeking companies and people) seem to have very little to do with it. That is a political decision on the highest level.
Whoever argues that H1Bs are paid handsomely, have a look at this data disclosure for 2016 H1B wages (137 MB) from DOL. You can find all the details of companies that exploits the workers with some MS Excel wizardry.

https://www.foreignlaborcert.doleta.gov/docs/Performance_Dat...

The companies exploit a loop hole called "Pay Ranges" if you see the excel columns - WAGE_RATE_OF_PAY_FROM & WAGE_RATE_OF_PAY_TO, rather than a single absolute WAGE, the companies can legally pay any salary in that range.

That's where Mr Trump needs to "patch" the system, raise the minimum WAGE_RATE_OF_PAY_FROM.
> these guys have the technical prowess to reverse engineer the game/PRNG, but they didn't have the sense to slow down their pace,

Based on the article, it sounds like these guys were more like mules, than they were the masterminds. 90% of the money was sent back... And they rely on this remote system to figure out the next state. This software possibly could be run directly on the phone, but instead they want to keep a tether on the mules.
I don't live in Russia or China. I'm not worried about their governments not liking me.
Yep, I had the 500 too. They called the updated chip Fat Agnus.
> The cost of renting a home is about the same as the interest on a mortgage.

What's your source for this? I've rented in and around the Boston area for 10 years now, and my husband and I just purchased a home last week. Our rent for a 975 sqft 2br apartment on the seventh floor of a large complex out in the suburbs was $2,100/month. No balcony, no yard, no storage, although utilities are included. We definitely weren't getting a good deal, but our rent had increased from $1800 over the last 3 years.

Our house is in a better location (more convenient to public transportation, better schools, "cooler" restaurants), much bigger (1410 sqft, 3br/1.5 bath, office, plus unfinished basement with 6'6" ceilings, attic, front and back decks, backyard, 2 car detached garage), and our monthly costs -- INCLUDING taxes and estimated utilities are $3,200/month. Renting a house like this would run you $2400-$3400 month, if Craigslist is any indication (searched for 3br full houses in the same neighborhood as ours -- near a college, lots of rentals).

So, yes, we're on the higher end of rent, and we have to do our own repairs, but the costs of rent are paying for far more than just interest on a mortgage. The tax benefit is nice icing on the cake, but it barely factored into our decision to buy, rather than rent.
> It's the US' problem to find what to sell. And only the US can solve it.

Well there's the problem of China not respecting copyright or any type of intellectual property. And that's not just a problem for the Facebooks of the world, they are stealing our agricultural and industrial knowledge as well. And while it's not officially sanctioned by the CCP, it's unofficially encouraged.
A war between the US and China is most likely to result in a stalemate. China may not have the capabilities to threaten continental US possessions to any degree, but it does have the ability to deny amphibious invasion. The coast of China would be an active war zone, with neither side able to move with impunity.

Beyond that, it's hard to say what would happen without knowing who would be involved in the way, which depends a lot on how the war was started. The main land routes into China are either via Russia (unlikely to permit staging of US troops), Kazakhstan (ditto), Kyrgyzstan via Tajikistan and Uzbekistan (aka the Silk Road, and dubious due to enough tensions between those countries), Burma (again dubious permission), Vietnam (which might prefer to try to remain neutral), and North Korea (which would only happen in the context of a North-South Korea war). The passes over the Himalayas from Pakistan, India, and Nepal are insufficient quality to maintain an armed front. Recall the difficulties of supplying Chinese forces in WWII.
WeWork [1] has done this pretty well and is already open around the country.

https://www.wework.com/
Poalim Startup Week – State of FinTech
They other key tip off to get someone assigned to you is your betting patterns.

It's well known that when you're counting cards, there is always a swing to when the player has an advantage. If you're upping your bets when you have the advantage, and then lowering them when the house has the advantage, they'll usually stop you from playing at the blackjack tables and either ask you to leave, or tell you to play something else where they have the advantage, like slots.
Why not? You make the claim that nothing important should be done in JS, but why not? You established your opinion, then gave the evidence to support it, rather than the other way around. I'm curious to the actual reason you find that JS should be avoided, and what, specifically, the other languages give to the solution that JS is lacking in.
That's cool. Could I bother you for more information on how to do this? I'd like to try that for where I live.

Thanks
Neil Gaiman's commencement speech at The University of Arts. Intended for arts students, but it's by far the most inspirational speech I've ever seen

https://youtu.be/ikAb-NYkseI
>regardless of where they fill a seat

But this seat-filling is important. A person who is hired for a job shipped abroad is not living in the US, paying taxes in the US, buying groceries, spending money, etc etc. A non-American brought into the US is participating and contributing to the economy just as any American worker is.
ZipRecruiter, Booking.com, Duck Duck Go, and Craigslist are still building new things in Perl 5. It's out there still, you just have to hunt for it. Here's a site that lists Perl projects and companies:
http://www.builtinperl.com
But that's my point - the question in this trial wasn't whether the State can use closed standards as law, but whether someone can violate the copyright of these standards just because the State refers to them in the law.

Frankly, the idea that you can sue people or charge them with a crime, for a law they have to pay to read is insulting to everyone, and very clearly not constitutional.

My point exactly! They should be suing the State for doing that! Not trying to invalidate some company's copyrighted standard.
Six Best Practices for Securing a Robust DNS Infrastructure
>“Trade is about trade of values. Trade of culture,”
Not sure what Mr. Ma means here, considering the barriers the Chinese have erected against foreign culture, e.g. The Great Firewall.

The increasing intrusiveness and paranoia of major US institutions - e.g. NSA and Google -- suggests the US is also running a value trade deficit with China.
It is bad not only because it predates C99, but also because virtually any example consists of a couple of global variables/fixed-size arrays, a couple of badly named functions which operate on the globals and use some very "descriptive" names of the local variables. This book was born in an era when the modern understanding of "good code" was barely honored at all.
Just use a compile-to-JS language if you don't like JS.

Traditional web sites don't necessarily need JS (although it often makes them better), but web application most certainly need JS.
I believe some folks recommended the examples on Rosetta code for getting a feel about Perl idioms to me. http://rosettacode.org/wiki/Category:Perl_6
Curious how they screwed this one up - did they just have no proper random source? Nothing like modern operating systems use, like disk latency? If you're in the business of doing random numbers, you'd think you'd embed a cheap hardware based random number generator, even if it was extremely limited, just to seed a CSPRNG.
Your not including the always-rising cost of housing into your argument.

When you buy a mortgage in the US, the payment and interest is fixed. Even taxes are, occasionally, protected from market inflation. When you rent a home, you have absolutely none of those protections. Rental costs go up, nearly every year, for the rest of time immortal.

Even if there is no tax benefit to home ownership, I would always choose ownership, because it's the only way to protect myself against extreme housing cost increases. (And before someone says "that's just NYC and SF, live somewhere cheaper" I'm already in small-town Midwest US, even here 10-15% yearly rent increases are common).
Jack Ma says the darnest things. What is happening now is the (almost) same thing that happened as a prelude to Opium War(s). China want people to buy their stuff, but the other way around only through tight control from China. That's not how trade works. Of course, opium war had such a perverse blowback from the English via India that it's not possible in this day and age, but who knows. One thing is sure, something is going to happen. My bet is on (slight) collapse of economy from within China and then opening up their economy a bit more towards everyone else. This will happen after the currency war. I don't see any actual combat conflict happening. But, who knows.
Bangalore Valley!
If you satisfy the points under this grid -

http://www.cic.gc.ca/english/express-entry/grid-crs.asp

and your documentations are correct, 6 months is the SLA.
Oops just woke up
Here the only binary program you need installed to scale the image is curl. If you want to do it yourself, you need a whole bunch of image processing libraries installed. Because of that, you'll probably end up separating your image processing logic onto its own host on your internal network, anyway. Then you're back to where you started, making an http call to an external service. Unless latency is a critical factor, an image scaling API is attractive because you do not need to waste development time setting up (and scaling) your own image processing environment.
I have no idea what the the truth is, but it seems that members of most groups will anecdotally tell you they need more resources or support.