skysight-inc/HackerNews huggingface dataset:
I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Hi all,

We did an immigration AMA a few months ago and thought it might be time to do another. I'll be here for a couple hours to answer your
questions about U.S. immigration. There are countless potential topics, but here's one I thought we could highlight today which is
particularly important given the backlogs and delays in the green card process.

Two ways of getting a green card--the extraordinary ability and national interest waiver routes--are often very good options, and often overlooked because of a misunderstanding about the standards. Clearing up some of the misconceptions could be helpful to those of you in this community who might benefit from these routes to a green card. So if you're interested, ask me particularly about that, but I'll be happy to answer about U.S. immigration in general. As before, I can’t comment or provide legal advice on specific cases for obvious liability reasons because I won’t have access to all the facts.

EDIT: Thank you for participating in this AMA. It was very interesting and enjoyable for me. I hope that it was helpful. I need to sign off now but I’ll be checking in again later today.
One very plausible theory I've seen doing the rounds is that the government never actually expected to have to follow through on that campaign promise. Strategically speaking it was a terrible idea and Cameron was always pretty pro-EU, but he needed the support of the anti-EU faction of his party, so he promised the vote as a sop to them. The theory goes that he didn't expect to get an absolute majority in Parliament and hoped the other parties would "force" him to to not follow through.
Why would you trust a company when you know they only care about you to the extent that it affects their bottom line?

Especially a company like Facebook. Have we forgotten the Free Basics debacle already?
https://news.ycombinator.com/item?id=11970344
I don't consider myself an authority on this, but that's one of the most convincing skimmers I've ever seen. Significant effort went into designing and manufacturing that.
ReSwift: Redux-Like Unidirectional Data Flow in Swift
> How can I trust that they wont try to sneak this in some time in the future?

They will. They'll just have to do it more slowly than they thought.
This is similar to "stack promotion" in Swift (http://fossies.org/linux/swift-swift/lib/LLVMPasses/LLVMStac...).

Objects that can be determined to stay within a local scope get allocated on the stack instead of a heap, so cleanup is very efficient.

The difference with Go is that decision is done at compile time in Swift and in runtime in Go.
It'd be interesting to know how many people get turned away from the US for their social media posts.

Here one famous case from 2012.

http://www.bbc.co.uk/news/technology-16810312

> The 26-year-old bar manager wrote a message to a friend on the micro-blogging service, saying: "Free this week, for quick gossip/prep before I go and destroy America."
If only more people understood this. It's frustrating how often people focus on the moral element of a comparison to the exclusion of the actual point being made.
What do you think about these cases I made up:

"I am sorry officer, I realized that you were coming after me to detain me for stealing. There's no need! I'll just put these back."

"I've been bullying all other kids since years. I've realized that's why nobody wants me as their friend. I will cease the bullying immediately and I'm sure they'll invite me to the big party tomorrow."
I wonder if the raw quality is the important part? Did you eat them raw? I'm curious if maybe roasting them would make them safe
There are millions of non-EU born people living and working on EU soil today, the future will not suddenly change to where UK citizens will not be given the same opportunity to move to the EU than we afford the rest of the world.
This discussion on Hackernews should have happened before the exit and not after, 2100+ comments so far, it goes to say that we all have strong opinions on the matter that might have swayed some of us that can vote in the UK.
> Nit pick: the Roman Empire was founded after the Roman Republic, when Julius Caesar overthrew the senate.

Nit pick: the Roman Empire, in one sense, was founded while Rome was still ruled by the Republic; in this sense, the Empire is the metropole-periphery arrangement with Rome proper ruling as the metropole and the various provinces as peripheries.

In the other sense (the sense of the Empire as a form of government within the Rome rather than the relation between Rome and the provinces), the Roman Empire was founded when Caesar Augustus was granted a variety of lifetime powers by the Senate.

In either sense, it was not founded by (or during the life of) Julius Caesar.
Methyl cyanide, the very common and not particularly toxic laboratory chemical usually referred to as acetonitrile? I've worked with it and never noticed any particular cherry smell, although mostly in a fume hood. Wikipedia also makes no indication of a cherry smell.
What happens if the social media account is set to private? Would the traveller be asked to sign in during the border interview?
the first time i tried the japanese iced coffee method, i ended up with a cup of coffee that had such a strong bitter, chemical taste that i was sure i must have been drinking poison. i later realized it was probably my ice cubes, which came out of those Tovolo king cube molds. after a few months, those molds impart an extremely strong chemical flavor into their ice cubes.

so… long story short, the ice you use matters a lot
I forget the exact amount (it's likely changed), but CA is one state that is subsidizing the rest of the country. It was somewhere in the ballpark of $0.20 received for every $1.00 given.
They're both free now.
It actually was a supermajority of 60 senators that passed it. The House concurred, the President signed it, and five supreme court justices repeatedly affirmed it. These all reflect different cross sections of voting behaviour. A majority of Congress now wants to repeal it, but that majority is checked and balanced by the need to get the President on board as well. I generally dislike how the system favors the status quo, but I think in many cases, it has helped avoid extreme outcomes.
We are in the early stages of having an official docs team; one of the things we want to do is figure out how to encourage better ecosystem docs. Towards that end, right now is the first "doc days": https://facility9.com/2016/06/announcing-rust-doc-days/ we'll be focusing on the rust-lang-nursery crates this time, but will focus on the ecosystem ones in the future!

EDIT: Oh, and I've wanted a good way for Cargo to produce additional, non-API docs through a top-level "docs" directory, but haven't found the time to properly implement it yet :/
I've eaten tons without any issues. By the way, the amygdalin is omni-present - from apple seeds to almonds.

In fact, stressors make us more resilient. So, to broadly discount this as a form of therapy is also unscientific. Often, we oversimplify things and make mistakes this way. How this gets matabolized in our bodies and under what conditions, it's not so simple to know.
Thank you for the context. Headlines like this are maddening; even more so when they lead somewhere with zero additional background.
Sure, I was just kind of brainstorming how much better GCed operating systems could be.

As for RTOS, maybe you eventually could assuming future major improvements and compilers like the Atego JDK, but there is little to gain versus what Ada, SPARK and eventually Rust already offer today.
cortado con hielo

no more words required :)
Google Adds simpler secure login
Aside from the fact that this will not help to legitimately identify terrorists at all, the change is also estimated to cost nearly $300 million annually to administer. Not just useless, but insanely expensive too.

If you want to give them a piece of your mind, you'll have to mail a physical letter to U.S. Customs and Border Protection in DC before August 22.
"Log drain" appears to be a Heroku term of art for something that can receive shipped log data from their infrastructure, so an "HTTP log drain front-end" would be a client; if that or something like it is in play here, it would explain why they don't host the aggregator in the same place as whatever's generating the log entries it ingests.

40 requests/second does sound somewhat low, but that may just be the average rate at which whatever they're aggregating generates log entries, rather than a limit enforced by resource exhaustion.
Just read this yesterday thought it was might help.

https://hackernoon.com/this-is-the-growth-hack-that-got-my-w...
A Rest API's specification for the 21th century
> What if they claim they don't have one?

Lying to federal officials is serious business.

Trying to hide something from the feds is seen by them as a sign you need further investigation. (Obviously they're wrong!)
That's comparing apples to oranges though. China was also huge at the time, and no Europeans were there to screw it over. Yet, they were irrelevant by the turn of the 20th century.

(If you really want something to point fingers at, try the habits that stem from the cultural and religious landscapes. You can't erase millennia worth of those overnight.)
> I don't have high hopes for this algorithm, because my intuition is that transactions aren't common enough to make a big difference.

Every served request by net/http#Server, net/rpc#Server and similar gets its own goroutine. That is to say, its own transaction. Memory allocated within that transaction will be associated with it. Should make a positive difference for server software.
Nah, some of those things went in. I remember seeing a change to keep small string/byte slices' bytes and the smallest size map on the stack sometimes now, for example. https://twitter.com/golang_cls posts a selection of change discussions if you like this kind of stuff. The test/escape_* tests in the Go source tree show what escape analysis is expected to do and not do. Dmitry Vyukov, the author of the doc you linked, worked on a lot of the changes he was talking about; impressed with the range of his contributions (also including the race checker and go-fuzz).
If you don't continue to punish them it sends the message that it's OK to do bad things if you back pedal. This is basically Facebook's strategy on everything including privacy.

Let's say they want to implement some new feature that they know will impact user privacy. They push two steps further than that they really want. Then when users backlash, Facebook takes one step back. Everyone is happy and Facebook gets more than they originally intended. Rinse. Repeat.
"Oh, really? Take a look at Polish GDP growth before Poland entered the EU. You make it sound like it's so simple. The simple fact is that the greatest beneficiary of the EU is Germany because Germany is an export driven market. It needs the free trade zone to sell its products and to access cheap labor in the East on favorable terms. The idea that Germany is the generous benefactor of these countries is absurd. The German economy profits enormously from it. Furthermore, free trade benefits countries who are already rich far more than they benefit those that aren't. The US became an economic power not because of free trade but because of protectionism that shielded its economy from an influx of cheap products from wealthier countries and allowing it to develop (the US is to this day one of the most protectionist countries in the world). The economic power of a country isn't measured by the access consumers have to products. It's measured by its economic base. If Poles have access to every product in the EU at British, French, and German supermarkets while remaining a giant service center for Germany, then it is not a country with a strong economy. It is an annex. It also transfers jobs out of the country which is why resentment against the EU is seen across Europe. The EU, in its current crypto-imperialist form, is dead.
This article would be so much better with an actual recipe, or even just ratios of coffee:ice. Though it has inspired me to look elsewhere to find that information, or do some experimentation in the kitchen to discover it.
> "What does 52 to 48 mean? It means UNDECIDED"

> No. It means 2% more people wanted Brexit.

In traditional arithmetic, 52 is 4 more than 48, not 2 more.
I ate mine raw as a kid - maybe 25-30 kg of body weight and ate maybe 20-30 kernels at once.
Yes! I can! I quickly made a video with super crappy audio quality last time it came up - https://www.youtube.com/watch?v=k-mAuNY9szI

It's pretty poor quality listening but you should get the point. You can send me an email (see my profile) if you wanted to go through it in more detail.
Brits are frantically Googling what the E.U. is, hours after voting to leave it
I use a system like this for tracking drivers and cars in an automotive racing series. I built a system that's hooked up to twilio to send the team a text message with their official pit stop timing.

Sounds like there could be interest in a writeup on this
Ruby K-means implementation which can be easily adjusted to X-means
Actually there is a problem to find X-means on Ruby. This library is awesome because can be adjusted easily. You can redefine calcAverage, calcSum, calcDistanceSquared functions for your needs.

https://github.com/vaneyckt/kmeans-clustering/blob/master/example.rb
Change for change's sake is rarely a good idea. It helps if you have a good idea that things will be better after the change you propose because you can see some causal chain leading to that better situation.
I'm surprised nobody has tried to flash chill it with liquid nitrogen.
Comparison between Rust and D
I have seen the opposite happen quite often: small mom-and-pop place doesn't want to pay Google, so they can only be found with Apple maps. Google maps makes money by squeezing business owners, Apple maps makes money by selling more iPhones.
GC highlight time-memory tradeoff at its worst because GC-based languages typically do not allow programmer to explicitly express his memory model forcing a lot of unnecessary "garbage" to be created. In Ruby all objects that do not fit in a tagged pointer are objects. In Go and Java some types are specifically optimized for being stack-based "value" types that reduces amount of work for GC.

I personally like the "ARC" approach with ObjC and Swift where compiler statically adds and optimizes reference counting routines, promotes objects to stack when possible and requires programmer to manually resolve cyclic references (and Xcode supports nice methods to debug and visualize memory in order to detect unintentional cycles). Accidental memory cycles are rare enough and quite debuggable at a very little mental cost to mark some references as "weak" or "unowned". But the long-term performance and memory exhaustion issues caused by GCs are completely bypassed.
You mean that Napoleon guy, once?
Chrome is not even open source. They can't use it.

If you're referring to Chromium, well, what makes you think it's more secure than Firefox?

Also, don't you think that the developers of the Tor browser are pretty security-aware? That they might make very well informed decisions?
Live Stream of Google Entrepreneurship Summit
Very conservative and paternalistic. Swiss women only got the right to vote in 1971. Is that indicative of a rational population?
Still, what are you talking about?

British youth will have worse opportunities for working in Europe than they now do, and parents who voted to leave will have to explain that to their children.
BTFD
I think of Dockerfiles as a very static piece of code, it urges you to use templates on it.

Just like for a nginx.conf

And 100LOC, well, I've gotten very much used to bash. It is so comfortable when the terminal is your REPL. To tell you the truth my main deploy script is actually 500LOC of bash. It reads top to bottom with a lot of conventions (I was suprised to follow google's bash conventions), and short circuiting abuse.
Here are 2 that he often brings up:

Ivan Sutherland's Sketchpad demo - Object oriented graphics using a constraint based system (https://www.youtube.com/watch?v=6orsmFndx_o)

Douglas Englebart's demo - too many innovations to list, but includes real time collaboration (he demoed in a convention center while the system ran 30 miles away in his lab, connected by a leased line operating at 1200 baud!). People think he just invented the mouse, but the overarching theme in his work was augmenting human capabilities... http://dougengelbart.org/firsts/dougs-1968-demo.html
>>but I specifically like the lack of bitterness that would come about if the waxes in the coffee were melted by the heat and then extracted with the brew.

As a long time coffee drinker, I've realized that the bitterness is what wakes me up in the morning, rather than the caffeine in the coffee. The first sip of coffee is usually enough to bring me out of my morning stupor. It's probably some kind of conditioned response, which would probably be lacking with a non-bitter cold-brew. :P
Why are you scared of refugees and Muslims? Doesn't writing it down show you the insanity of that statement? They are fleeing horror and have a different narrow minded book to that which the locals subscribe. It seems to me that looking different is the key problem.
Why is this emulator so well organized and polished compared to some other emulator projects? They do such great technical write ups, but I'd love to see one about how they manage the project.
The link says he was deported for concealing his involvement with a Nazi death camp on his immigration forms.

Where did the FBI confirm his innocence?
Concurrent queue in C
I guess I am one of the few people on the planet than enjoys using iostreams when I need to use C++. :)

Then again, I never needed to know all their little details.

Yeah implementing string, array and collection types was a kind of rite of passage for every C++ developer, back when the compilers were still trying to catch up with C++ARM.

I believe appealing to the C culture was one of the reasons those types weren't initially available, as C++ was already considered too bloated by the C community even without them.

Nowadays their three major compilers are written in C++.
Lessons Learned from the #api360 Microservices Summit 2016
That's right. Several Italian sweets and liquors contain apricot kernels and/or bitter almonds as the main flavor. Most have the word "amaretto" somewhere in their name. (Amaretto is a diminutive of our word for "bitter")

As you said, with most of those recipes you'll be sooner killed by the alcohol or sugar than by the cyanide.

Moreover, the modern products usually contain benzaldehyde (the actual substance that tastes like bitter almonds, which is non toxic) instead of whole bitter almond or apricot kernel oil, which is heavily regulated due to its unpredictable toxicity.
So now that the transatlanticists (Hilary is one) have lost their EU insider, I suspect Poland will take its place. Given that Poland is a geopolitically strategic country, given Russian aggression, and given that German and Russia are "talking again", it seems that Brexit will prove fruitful for Poland in the long run...if both countries play their cards right. Impeding Polish immigration to Britain can also force a turn of events in Poland that prevent the gov't from relying on immigration to deal with unemployment through long overdue reforms.
That's absurd, there was no referendum if special forces and unlabeled army forces of an invading country is there to "enforce peace" - and the rest of the world doesn't share that naive view and continues to punish Russia for it through trade deals and embargoes, lowering the quality of life of Russians and devaluing the ruble while increasing import costs for them. Tell me, how's that been going for Russia?
Thank you kindly, I will take your comment as a compliment, and also, I am up-voting this comment of yours, as a token of my appreciation.
So the idea, essentially, is that TCP/IP is like a "free form field" where people can write whatever they want, and then everyone is free to create their own structure on top of that, to suit their needs. In contrast to some protocol that accepted only, say, XML? His point, then, is that not forcing such structure was a crucial ingredient in the internet's success?
chromium still has a sandbox
"What the hell did we just do guys?"
And yet in the market for skills provision, we see high prices, nondischargeable debt ... and low return for those supposedly enskilled.

I'm talking of higher education, of course.

My thought for some time has been that we cannot educate ourselves out of this mess. Robert Gordon's The Rise and Fall of American Growth both discounts education as a positive factor and sees debt and access as negatives.
Say, what about the msvcrt from the Wine project?

http://source.winehq.org/git/wine.git/tree/HEAD:/dlls/msvcrt
Someone who purposely enters wrong information in the field could be prosecuted for that reason.

That could be helpful to a prosecutor trying to get a known terrorist where there's not enough evidence beyond a reasonable doubt for the other crimes.
Looks like Wikipedia has us covered:

https://en.wikipedia.org/wiki/Pterosaur_size#Speculation_abo...

From the references, this is a pretty good read:

http://www.scientificamerican.com/article/how-pterosaurs-fir...
All words are made up. "Vitamin" is generally accepted to mean "an organic compound that an organism requires in small amounts, and which it can't replicate itself".

The accepted mapping of vitamin names to actual chemical substances changes over time, and sometimes substances are removed from the accepted list of vitamins. Researchers will choose a name. As more evidence is gathered supporting that substance as an essential nutrient, it becomes a more widely-accepted name.

Amygdalin was apparently investigated as Vitamin B17. Insufficient evidence was found for it as a "vitamin". Its most obvious effect is that it's metabolized into cyanide. It's not widely accepted as a vitamin (by nutrition researchers), but it's still marketed as one because it's easier to sell as a food than if it were marketed as a poison.

Who coins a word, why they coined it, who rejects that definition, and why they reject it are important points.
I've been fairly happy with it... though I'm not a heavy user. I've mostly used it to backup pictures and email.

I use rclone (http://rclone.org/) for my syncing email backups. It also supports a bunch of other storage backends, so it may be worthwhile checking out.

Edit: Rclone works from both Linux and the commandline... so it's extremely useful for serverside backups.
Could you share your recipe/process of cold brewing to someone that never heard about it? Thanks!
I have a O-1, how hard is it to get a EB1A. In what percentage of cases will a O-1 person get a EB1A.
The article was written back in 2012. I hadn't even heard of cold brew coffee at the time, so maybe you were just ahead of the curve.

https://www.google.com/trends/explore#q=cold%20brew%20coffee
Similarly, the word "loanword" (used to describe words borrowed from other languages) is gairaigo 外来語 which is literally 外来 (gairai) "foreign" + 語 (go) "word/language". Japanese is filled with words where you can often figure out the meaning purely from the characters used!
Brexit thoughts
What? Smalltalk80 has #doesNotUnderstand: which allows explicit handling of messages directly so no, it's not a late bound function call.
The protection of badly run farms is a shocker. They are hopelessly ineffective. New Zealander here - NZ dairy facing tariffs because of European inefficiencies annoys me.
It's important to note that he died naturally, and that this Wikipedia article assumes he's innocent despite there behind evidence to the contrary.
I'm wondering if that was part of the test. To make sure people who start could get this working.

Tip: Copy the dylib to /usr/local/lib/libopenal.1.dylib
How much does the whole process cost? As an international founder, that's my only major concern.