skysight-inc/HackerNews huggingface dataset:
I'll true it up for you, it is actually worse than you describe.

If you are absent > 6 months you could end up with your green card status listed as 'abandoned', but even if you come back every 6 months that is no guarantee at all that it will not be listed abandoned.

The golden rule seems to be to be more than 6 months per year in the USA, preferably substantially more than 6 months to avoid ambiguity.
Education at this level is a "who can survive the most unpleasantness" competition. High school students work their asses off to get into highly selective colleges. Highly selective college students work their assess off to get into highly selective grad schools or employers (investment banking, consulting, prestigious tech companies). Students of highly selective grad schools work their asses off to get into the vanishingly few secure, living-wage jobs in their fields.

At each stage, the purpose is the same - to prove that you are more deserving than your peers of a seat in the next stage, because each stage has fewer seats than the last.

If you value your present well-being over advancement (and therefore future well-being), don't put yourself in a competitive educational environment with the goal of "winning" (i.e. high GPA). If you have certain career tracks in mind, sleep deprivation, poor mental health, and low quality of life in the short and medium terms are table stakes.

I enjoyed my time at such a place once I had a good relationship with a tech company (now my employer) and no grad school ambitions. My friends headed for the sciences could not have optimized for their present happiness without giving up their dreams.
Broken_Hippo is correct. "why I came in here" means "you seem to have come in here wanting to doubt it, even though there's very little reason to do so." It seems very disingenuous.
There's a lot of academic work on Vehicle Adhoc Networks (VANETs) - https://en.m.wikipedia.org/wiki/Vehicular_ad_hoc_network has some sources. We discussed it a little at university in a module about mobile/sensor nerworks, it's definitely an interesting research area.
I find this argument by Alan Kay to be the most eloquent one yet on this subject:
https://youtu.be/ubaX1Smg6pY?t=5099

The whole talk it good
I could move to lesswrong, but then I'd miss all the posts on deep learning and functional programming :0
Obama or any of his predecessors campaign on drone strikes because Muslims? Anyone think Obama carried out drone strikes in order to attack Muslims? Or carried out drone strikes in order to exploit xenophobia for self-interested political reasons?
So what? Don't be outraged because we weren't outraged enough before?
Yes, indeed! Thanks for pointing that out. I actually saw that when I was cleaning this up a bit for release and couldn't make up my mind.

I mean I'm not modifying args or kwargs now but if I did later, I could shoot myself in the foot in a not so obvious way. But on the other hand, I don't know a succinct way to express these default values. I'd probably go with `args=None, kwargs=None` and then `args = args if args else ()`.
You have to be smoking crack to say that with a straight face. Flagged as trolling.
racist homophobes

They used to call Trump also an anti-semite in the same sentence. Now he is down to just a racist and homophobe. Have I missed something?
We is the first person, plural personal pronoun (nominative case) in Modern English.
>In other words, things that great engineers need to care about :)

Really ? I feel like most cutting edge engineering is done in building distributed systems, ML, high performance computing, etc. Micro optimization is where it was last century.
Ask HN: Where is the next destination for skilled immigrants?
After Trump and Brexit, Where should immigrants go ?
> So if it can be any arbitrary text stream, how do they ensure composibility?

You got the composability thing wrong. The tools are composable because you
feed them on STDIN or in command line arguments. You still need to do plenty
of work to convert one format to another, and that's what awk, grep, sed, and
other tools are for. The only two common (and just common, not universal)
things are to split fields on whitespaces and to split records/entries on
newline.
Irrelevant troll.
Yawn, another "expert" lecturing on C/C++ in a trendy gray on gray design.
OK I got calmer, but then I got stressed out! the blue circle is not in the center of the black ring.
People who care deeply enough about civil liberties to go to jail for it are rarely the type to seek or acquire much power.
Further, it appears that after a year your green card is by statute no longer valid for reentry into the country. You don't lose the green card, but your reentry has to be special-cased by CBP or a consulate.
Congrats, relocation packages are rare these days. The last time I needed to move for a job (from VA to FL) I had to foot the bill myself (of course, this was the company that at one point stopped buying office supplies and made us bring in our own pens).

That said, $30,000 is pretty decent, though I've only moved within the US, so I'm not sure of the costs associated with moving from Canada.

The one relo package I've received during the course of my career reimbursed the cost of moving my household goods (we rented a 'POD' and a couple of helpers at either end of the move), gas/mileage for the long drive, per diem for meals, and up to X nights in a Hotel. It didn't cover things like rental deposits, costs associated with setting up utilties/services, DMV fees in the new state, etc. All in all, it probably covered about $15-$20k worth of moving expenses for a coast-to-coast move.
And Tesla had encouraged that perception.
> Second, it's not "Muslim". Muslims from all other countries (some of them pretty large, e.g. Indonesia and Pakistan), will experience no change in their ability to enter the US.

I think that's an overly positive reading of what's happening. If this were an order from a president without a history for explicitly calling for muslim bans, you might be able to read it that way. I think it'd be very debatable even then, but in this situation it's imo a pretty clear step. Not mentioning "muslim majority" in the text itself is just an attempt to make it harder to legally challenge the order (establishment clause and that).
> why didn't you do this rallying call before he got elected

Before the election, the reported probability of him following through on those actions was 1/3.
Now it is 1.
would you want to lose your job because your boss said something they shouldnt have? or just something that ~50% of the population disagrees with?

because the companies you are thinking about boycotting very likely have ~50% of their employees who have similar political positions to you. you're hurting them too.
Winning elections and peaceful protest are not breakdowns of political process. They're part of it. As are waiting and acceptance/apathy. What separation has come about that hasn't been violent?
Sounds short-sighted. You assume they continue to sell the same number of devices per quarter. I argue the quarterly number declines with outdated specs. Taken to the extreme, 40% profit margin on 1k sold units is nothing compared to 30% of a million sold units. Also, how hard can it be to put new CPUs and more RAM in? You don’t need a design team for that.
One other important thing, especially when trying to persuade someone ambivalent or even in favor of this insanity: appeal to their self-interest.

People who don't see a problem with ethnically cleansing the country of people based on religion or nationality are by definition selfish, immoral and hateful. Thus, as disgusting as this is, you will not persuade them by making appeals to the humanity of the people they hate.

Fortunately, even if one adopts a purely utilitarian "whats-in-it-for-me-view" approach, this policy still makes no sense: rather than "protecting" us from the vanishingly rare occurrence of terrorism, these laws inflame tensions between the west and the entire Islamic world. ISIS thrives on division and Trump has just became their all-time greatest recruiter.

Americans all across the world are now in fact placed in more -- not less -- danger thanks to this racist, hateful, Islamophobic and un-American law.
Make America Great Again! Suck it Sam Altman.
Hah, software development as we know it would be dead in 2017 if those two died. Not that I disagree on safety issues around these languages but it's at the core of all os, vm, jvm, and all the other vm type things (not even mentioning all the mobile stuff)
Instead of using random numbers and adding/subtracting, you could use random primes and multiply/divide. If the deletion is doubled, the random prime is no longer a factor of the product and you ignore it.

Of course, You need to be able to store a very large number :)
The TIOBE benchmark suggests the opposite. C and C++ are still the 2nd and 3rd most popular languages in 2017. If anything there are more popular languages in common use today than in 2010, causing a dampening effect on all other languages.

> Safe systems languages attack C/C++ where they are strongest

The killer feature of C and C++ is that they're here to stay and they don't break or go obsolete every 5 years. Java has a similar competitive advantage. If you port all your systems code to Rust and Rust disappears or changes the language in 5 years, you're screwed. With C, C++, or Java, you know that isn't going to happen.

C and C++ continue to have an obvious performance/cost advantage over Java as far as memory use goes.

Systems people care about security, but performance is essential. Rust looks really promising for a C++ replacement, although it's unclear to me if the performance is there yet. It may be too complicated to replace C.
I don' think that's quite right. It's not a backwater without economic output. Dems and esp Reps would try to woo the new state given the relative equilibrium in electoral college votes as well as in the senate.

Sacto really pays little attention to "Jefferson" They care much more about the noisy areas like SF and LA. Looks at how Sacto manages water rights. It's all about the cities. A Jefferson might become more assertive about their water and the rights to it.
So, he just declared he will violate the Posse Comitatus Act?
Your magic numbers don't seem to guarantee consistency either, multiple faulty exchanges and the file could be gone forever: maybe random numbers happened to be the same, or the sum of substractions during faulty exchanges got to 0, or there was an overflow, etc.

Distributed algorithms are not easy, but for this case there are proven solutions, look up how Riak deletes records for example, with "tombstones" and "reaping". Basically you have to think in terms of CRDTs and have a log of operations, a versioning scheme, a synchronization, etc., all of which help you to make sure that no operation is applied twice anywhere and that in case of faulty communications nodes can synchronize and apply missing operations. This gives you consistency, eventually, and a reliable way to know when files can be physically deleted. Or, you know, just use Riak.
I think the most prominent examples would be: Nazis (obviously), Stasi / DDR / GDR, Chile (Pinochet) and the dictatorship in Argentina; but in the last century there were many more examples, be it in South America, Africa or eastern Europe.

Wikipedia has a list of historical secret police: https://en.wikipedia.org/wiki/List_of_historical_secret_poli...

--

Current examples that are still alive and well could be the various GCC states, but especially Saudi Arabia there; the UK and the US to some degree each (both are obviously full-blown surveillance states at the very least; and it can be reasonably argued that (divisions of) the FBI and some other agencies qualify as a secret police) in the western hemisphere; Russia.
>> Worth mentioning, 30 seconds would feel like an eternity inside a car.

Would it, when the car is driving for you and you're free to putter about with a phone or laptop or book?

I always figured that this would be one of the greatest benefits of autonomous vehicles - perhaps the car isn't as aggressive as the human it's driving it would be, or as quick to get "unstuck", but the human won't care too much because they're too busy on their phone. In most cases, what's a few extra minutes when you're no longer actually driving the car?
Tile Mate – The Anything Finder
Empirically, it wasn't 50/50, not even among the percentage of the population that actually voted.
Your two goals are somewhat in opposition. This is hard enough to achieve with a) non political discussion in b) a small-ish group.

It is theoretically possible, but you would need to take an incredibly hard line about certain kinds of behaviors. Politics tends to actively encourage taking sides (pick your party, pick your candidate, etc), so this would likely remain an uphill battle for all eternity. But there is a lot to be gained by fostering genuinely civil discourse between people with very different views and backgrounds.

I have a long history of promoting the ability for people to share diverse views in online discussion. So, I know how that happens and how to make it happen. I don't do as much of that as I used to, because it makes me a target, benefits other people and seems to mostly bite me in the ass. So, based on personal experience, I will say it can be done, but it is incredibly hard.
...and can you transfer data from one server to another without downloading it locally?
I pretty much avoid it, even on sites that need it for wordpress you can use SFTP instead with the use of the wp sftp plugin
I have a couple coworkers from Iran. Would you be willing to look them in the face and explain to them how they're banned re-entry into the country?
> History is a harsh judge.

So are keyboard warriors on Hacker News. Did you vote for Obama? Are you partially responsible for his drone strikes?
An electron at rest has 511 keV of energy, which is ~10^6 times the energy of visible light (~1 eV), so from energy considerations alone it has more than enough to "create" a photon. Accelerating electrons are a great source of light via Bremsstrahlung and synchrotron radiation.

This is the fundamental reason why electrons can't orbit the nucleus in a classical sense (and why we know the Bohr model is incorrect). The atom is a quantum object and as such it does not behave in a classical manner. You can describe it heuristically as an electron 'orbiting' the nucleus but that is not what's actually happening. The very concept of a path or trajectory does not have any meaning for quantum objects, which exist in probabilistic quantum states.
> You still have to profile and test carefully.

I wish more software provided appropriate metrics for performance analysis in live systems. I've seen people blaming the CPU or the disk or the database or the network for issues, but when you actually look at the graphs, the CPU is mostly idle, IO is almost nonexistent and the database sees a few dozen selects per second at worst, but somehow the problem is not in the software... And it's really difficult to get people to believe otherwise when all you have is data from around the software itself, not from inside it.
Basic human rights are not up for debate. Women and children fleeing a war should not be turned away. In the US, we believe everyone deserves life, liberty, and the pursuit of happiness.
"Pull onto the freeway leaving the San Francisco International Airport, and you recognize the California from the movies: palm trees..."

Palm Trees?

Sure you are not at LAX? ;)
Qucs is trying to emulate Keysight's ADS software. It is mainly RF focused, but can do a lot more. ADS is awesome. Qucs has great potential, but needs some work. It is still useful, though.
> was back when Obama and Clinton armed extremists

Why did you leave out Bush and Bush?
From /r/sysadmin discussion earlier today:

Stratus servers are nuts; got to rip an old one up a long time ago, it had individual batteries backing each hard drive, dual mumble kilowatt main PSUs, etc, etc. all in support of a set of Motorola 68020 cpus and 128mb RAM in 1990 or so.

https://www.reddit.com/r/sysadmin/comments/5qo1rs/booted_up_...
I could live a very happy life being kicked out of all Peter Thiel's circles. Actually, where can I sign up for that?
`That's it!
Repeat for as many times as you need to calm down.`

hmm.. you could apply that to anything
Well, at least I hope this puts rest to one particularly galling argument made by some Trump supporters: "If you take Trump literally, you don't understand him."

(...Well, one can hope, can't one?)

Never vote for a politician if you can't take him literally. He might mean it literally.
> Did you vote for Obama?

No.

> Are you partially responsible for his drone strikes?

No.

Try again.
Iranian MIT student goes home over break, denied return for spring semester
I got offered $3000 in reimbursable expenses, plus a free rent for a month, a couple of years ago.

The free rent allowed me to provide my future landlord with a previous address and a landlord reference.

When I was looking for a place, many places asked me to provide 1 to 3 months of rent as a deposit, because of a lack of a credit score. However I found a nice location that didn't have that requirement.

Taxes and rent are high in California. In that sense, working in another state... in a city like Seattle, allows you to keep much more of your money.

Then, I would interpret it as "up to $30,000". So keep the receipts/invoices.
Got it. That's helpful. So Cruise/GM are 4G'ing a Level 3 vehicle?
Interesting! I will have to take a deeper look at BlitzDB. I don't know much about MongoDB (so probably wouldn't be a good maintainer) but the sample code looks good. I can't tell how it handles nesting though.
What is completely consistent with Republican policies for decades, however, is tax cuts that overwhelmingly favor the wealthy, while supporting a regressive tax (which is what a tariff is) that will disproportionately impact the poor and working middle class.
It's not modernist to me, in my opinion it dates back to the 1st century. And refugees generally aren't "on our dime." They get jobs.
We're looking for Ubuntu 17.04 wallpapers right now
When I did it many years ago, I was resident until my move out date and then I was a resident in the USA. You basically file 2 'partial' tax returns. I was a student with no assets although, so you will need to look into how Canada's departure tax effects you: http://www.cra-arc.gc.ca/tx/nnrsdnts/ndvdls/lvng-eng.html

Definitely talk to an accountant.
13 Steps to a LinkedIn Profile That Generate Leads
CVE-2017-3792 – Cisco TelePresence MCU Affected by a Remote Code Execution Issue
There is a difference between high and low concentrations of CO2 and reactions. In high concentrations you get similar effect to lack of oxygen (as it completely replaces oxygen in the air), in low concentrations it prevents the HbCO2 from unbinding (only 7% of CO2 in air is enough to do that IIRC) and causes silent death. There are stories of miners sitting down for a lunch and never standing up again because of that.
Modern middleware for Node.js
PSA: please delete your Dropbox accounts.
I guess it depends on what the definition of refresh is. What do I want the button to do when I press it, as a user? I guess only refreshing the main html, and not cached resources is an OK design, as long as shift+refresh still refreshes everything.
This is demonstrably untrue, the people you're talking about enthusiastically voted for a millionaire celeb.
Roger was an inspiration to me. Now he's dead.
In a case like this I'll certainly optimize for reimbursable expenses. It doesn't really make sense for me to replace stuff on my own dime if I can move it on someone else's.
Czechoslowakia.

https://en.wikipedia.org/wiki/Dissolution_of_Czechoslovakia

Unfortunately we have Yugoslavia as counter example, it started off well but ended up extremely bloody.
A CO monitor will set you back $235.

$235 sounds (relatively) expensive.
I recently replaced the 3 CO alarms in my flat - they cost me around £23 (29 USD) each [1].

[1] http://www.toolstation.com/shop/Electrical/d190/Carbon+Monox...
The "free market" is not free. Never has been, never will be. The promotion and dissemination of human knowledge is not restricted to business and STEM degrees, the value derived from them can't always be quantified as something so childishly simplistic as dollars and cents.
It's probably the fact you still haven't finished the degree. Requisitions tied to Univ level requirements etc. Even if they don't say anything, hr at companies of Amazon caliber will most likely discriminate you on that.
Python 2.7/3.6 implementation of the Language Server Protocol
If you have access you can probably disrupt or modify things when the need arises (making this kind of system even more pointless for their declared purpose than they already are).
It's a hell of a lot more likely to have some effect than not calling at all!
> fictional terrorist

lolwhat?
There's another way to get magnesium that doesn't involve the digestive tract, avoiding any laxative effect. Epsom salt baths. Magnesium is well absorbed through the skin this way, and the digestive tract is not involved.
This is not as true for the Mac Mini, not even the latest generation. Although not plug and play, the hard drive in these machines are serviceable with a basic kit you can buy off eBay and clear instructions from iFixit. The Mac Mini referred to in this post moreover is 'over six years old', making them a little easier to service.
I'm no immigration lawyer - just a greencard holder who's been through a couple of adventures in the process. There's a decent summary here:

http://lawandborder.com/risk-abandoning-green-card-abroad-6-...

Key things: 6 months absence can be a factor in challenging your status as a Lawful Permanent Resident. 12 months absence means your green card (the actual document) is no longer valid for re-entry but it doesn't automatically make you a non-LPR.

Customs and Border Patrol can deny you entry, as we've just seen, on the basis executive action, legally questionable or not. But they can't take away your LPR status - only an order from an immigration court judge can do that.

A lot of this is cold comfort to any LPR caught up in this and unable to re-enter right now - but there is a process and the status itself is not so trivial to take away. The call to help organizations who provide legal aid to such people (and refugees and other visa holders) seems like the right thing to me, it's probably the most immediate need.
Show HN: Guess Trump's Tweets
Oh, I missed your actual question: I don't have a problem with it at all. Sam has some political opinions personally which I disagree with (and so do most other people, in different ways), and as long as they're clearly personal and not organizational views, great.

In the case of immigration, that's clearly a YC position as well -- if you look at the percentage of YC founders who are immigrants, immigrants in early employee roles, and international markets, it would be negligent for YC to not be pushing for sane immigration rules. While the status quo isn't great, either, it's quite reasonable to criticize changes which also don't make things better. SOPA/PIPA, spying, etc. are all critical issues for YC and other groups of tech companies. Stuff like 2A, abortion, etc. isn't, even though a lot of people care about those.
$30k is very solid.[0] The majority of relo packages are in the $10k range for non-exec employees. Relocation packages, in general, have been on the decline since 2008.

I would suggest doing a little more research on the tax implications of moving. The only major expense you can write off is what you pay the moving company. Everything else is counted as regular income and taxed. This can especially bite you with the USA's confusing AMT tax system.

Also, try and get the move done prior to May. Prices will go up 20-30% and availability will be a lot tighter for moving companies

[0] co-founder of https://www.movebuddha.com/