skysight-inc/HackerNews huggingface dataset:
I have been granted a TN visa, can CBP take it away from me without cause when I cross the US border?
hi Peter, thanks for doing this. Does buying real estate property in US help towards Greencard in any way?
Without necessarily naming the company/actors:

- What is the most messed up scenario that you have seen where a founder got ripped off?

- What about the other way around?
also, can one apply for Green card lottery while they are on TN visa?
http://www.cnn.com/2016/10/18/politics/project-veritas-actio...
Ah yes, the eminent moral authority of PayPal.
If we're not coming to your city/school this fall and you'd like us to visit next year, you can tell us here: https://docs.google.com/forms/d/e/1FAIpQLSf87KZD8Ugj2Iy-ewFh....
Hi Peter, thanks for answering questions!

Could you please comment about changing employer after obtaining employment-based Green Card?

It's considered to be safe to work for current employer for at least 6 months after getting GC. However there is no such legal requirement and there's the AC21 Act.
Also I've heard about 2-year period after getting GC: if applicant worked less than 2 years for sponsored employer, he/she should prove his intent to work permanently. After 2 years USCIS should prove lack of intent.

However it's still looks like a grey area.

Thanks
Satellite Image Segmentation: A Workflow with U-Net
If someone has:
- a full-time job in a foreign country (say, Germany) that sends him in the US on a 2 months mission,
- a part-time job in the US (1 day per week), which let him work from Germany but also in the US under a part-time O1 visa (accepted).

How should that person enter the US for the 2 months trip? Under an VISA waiver B or O1 part-time?

Thank you so much for your time.
Contrary to popular belief, gambling is not illegal under US law.

In fact, certain types of gambling (horse racing) are explicitly protected by federal law, and generally gambling laws are up to the states (online gambling of all kinds is perfectly legal in NV and NJ).

Betting online on horse races is explicitly legal in 30+ states, and not explicitly illegal in several more. Certain jurisdictions disallow online betting on horse races if you live within some radius of a local horse track.

[Edit: to clarify, some forms of gambling are explicitly disallowed across state lines, but that ban does not have any impact within state lines]
Ok thanks and this makes sense, a leadgen tool for BTB sales.
That's too broad a question; you'd need to specify "front-end developers" in the context of their primary focus, first.

Are they game developers?
Are they working on enterprise apps?
Are they working on lead-gen landing pages for marketing companies? Data visualization? Accessibility-focused?
etc...

Front-end is becoming increasingly specialized to a degree.
I don't know the job market there. I was stating a hypothetical; I should have made that clearer. Given the post-doc situation, if another country were to dramtically increase funding for positions, America would see a brain drain.
Yep, Python is still king for machine learning.
I like that, Albert Bartlett, in this excellent video:

https://www.youtube.com/watch?v=F-QA2rkpBSY&feature=list_oth...

says something like:

Well, you have 2 columns. On the left one the nice ways to solve the problem. On the right one the nasty ways. The good news is that nature will always find a way to solve the problem. The bad new is that if we don't use the solutions from the left, nature will use the ones from the right.
So a person who writes web apps prefers JS over Python. Cool. Pick the right tool for the job. If your job is writing client-side-heavy web apps that share code between the client and server, then JS might be a better choice than Python.

Look, writing programs that respond to HTTP requests with HTML is not rocket science. You can do it in JS, Python or Ruby and be very productive. If you hate yourself, you can do it in Java, Go or whatever else and trade server performance for development speed. If you really hate yourself (or are Amazon circa 2004), you can write your whole website as a C++ static binary.

My theory is that the endless proliferation of JS libraries, frameworks and language revisions are because lots of smart and talented developers are employed to build websites - but building websites is just not that technically interesting, so they express their creativity by creating new tools, frameworks, package managers and ES revisions. It's a symptom of boredom.

But my one bit of career advice would be don't "Leave X for Y." Don't tie your livelihood and career to a single X or Y. Learn how to use a variety of tools and pick the best one for each job. Any big project will require using a few different tools and really valuable developers are the ones who can navigate that entire landscape intelligently.
What floors me is how no one has disrupted this field yet. I have seen a few ground zero startups trying to disrupt healthcare. Make it more effecient, cut out fraud, etc but so far no one is making a dent.

Why is it so hard for some smart young folks to come along and hammer out solutions to accomplish less fraud, easier, and faster to use systems etc?

It seems like it's really REALLY hard to bust up this abortion we call healthcare in the US.
This is a perfect use case for cryptocurrencies.
Yeah, it's almost like there's a market for an all-digital decentralized monetary system that does not suffer from flawed and ever-changing human morality judgments, and is only so happy to work in the place of human-driven entities.

"The Net interprets censorship as damage and routes around it." -John Gilmore

Banks: Whatever legal business you turn away, you basically give away to crypto; and once it's there, it will never come back. Decide carefully.
the fundamental issue here is that paypal is actually following russian anti-gay laws
Come to think of it ... of the apps I use regularly, none of them is actually essential to my life.

Not like coffee.
> Isn't sexual identity / orientation protected as well?

Nope. As I understand it, sexual orientation is not officially a protected class[0]. Seems like it should be, but it isn't.

[0] https://en.wikipedia.org/wiki/Protected_class
This is going to totally appeal to all the Europian patriots (in that parallel universe)

The single char variables would look like: €A €B €C €D €E €F €G €H €I €J €K €L €M €N €O €P €Q €R €S €T €U €V €W €X €Y €Z of which €U is totally the coolest.

Keep up the good work!
Retro-innovation: Features we miss from long-gone tech products
A global depletion of oxygen could be caused by global warming (2015 study)
To me it's a non-starter to ask app developers pouring time and effort into apps to take money off the table because of the opinion of a minority. So since the numbers show almost every top grossing app on multiple aggregators is free, it's not really an actionable request from my POV as a developer.
Amazon's last laugh will be when the average consumer gets used to their innovative "checkout-less shopping experience" and forces the smaller B+M retailers to license the technology or risk going out of business.
Is this exodus even remotely close to the net influx of talent coming from other countries? If not, it really can't be called a brain drain.
FWIW My understanding is that (non-educational, etc) sexual content tends to have a much higher chargeback / dispute / resolution cost. It's always about the dollars and cents I guess.
>You could also be able to shrink the suffering and enormous expense that accompanies cancer, heart disease, dementia, and all the other plagues of growing old.

No. It could at best defer the health costs. We need to stop being passive about this and embrace the idea of (1) life extension technologies for those who want, (2) assisted suicide for those who don't.

When this philosophical shift happens we can get much more serious about life extension research and mental well-being (purpose; reasons to live) and reduce the vast expenditures on palliative care for those who are merely waiting around to die.
> We are using a deep learning algorithm to improve the detection.

No, you are not.
Programmers are terrible at naming things and we copy each other's mistakes.

In the real world you filter water to get the water. In most programming languages filter() is more like a strainer or colander.

My guess is you ran into someone stubbornly insisting on the meaning of the word filter despite all evidence.
good guy "0day hunter"

> has 4-byte arbitrary global write primitive

> uses it to change arithmetic
But Syria wouldn't be somewhere you want to live regardless of what organisation the anarchists st up there. That's because of the climate and the war in the region, both of which are out of the control of Rojava.

It just doesn't make sense to judge by that metric. What more do you expect Rojava or any government of any ideology in the region to do, other than to fight ISIS?
How are those things mutually exclusive?
The horse has LONG left that barn since the "public accommodation" doctrine of the Civil Rights Act. Should Christian bakers be able to refuse catering a gay wedding?
Porn would change the status of their merchant account to 'high risk' which means higher fees. Gambling is illegal in many jurisdictions. Guns may be their own decision.
Show HN: StorySnacks – narrate bite sized stories – made in Elixir/Phoenix
Who supplies the capital and what do they get out of it?
Empirical Analysis of Password Reuse and Modification Across Online Service [pdf]
Virtual LAX with Real World Air Traffic, ATC Audio and Real Time Weather [video]
Extensions show you all the technologies used on a website. It does not redirect you to this page.
However, if you click on a particular technology from the extension, you'll be taken to the respective tech's page which has a small description and list of websites using it. We hope this is useful.
So the solution to the Fermi Paradox is that nobody ever learns from their mistakes?
Disclaimer: I'm a PP employee.

While it's complex (and I don't fully understand it all myself), the simple answer is risk management / fraud. Adult content tends to be extremely risky from a fraud and legal compliance perspective and companies like PayPal (and Stripe, and Google Checkout, among others) choose not to do business in this arena because the risk / reward model just doesn't justify it.

Specifically, subscriptions to sites that offer digital adult content are not allowed per ToS:

https://www.paypal.com/us/selfhelp/article/faq569
I don't think this is a productive game to play.

If there's not enough money then why is academic pay better in the US than almost anywhere in the developed world?
> The U.S. is risking an academic brain drain

He got a good offer from his home country. Isn't that a good thing that he gets to go home to his country and contribute there? he fact they can spare $250k for him to buy a house and $1M in grant money says a lot about China.

Having been in academia for a bit, it seemed there was an oversupply of PhD in some fields. There are just not going to be enough university teaching positions and not enough Googles or Teslas or other companies needing that many employees with such advanced degrees.

He mentions it's Trump's fault. Let's criticize Trump but not sure if attaching it to this particular case makes it productive. I think they meant this H1-B overhaul

http://www.npr.org/2017/04/18/524569185/trumps-latest-execut...

Another Axios reporter seems to think the update to H1-B overhaul is mainly targeted at abuse by India-based staffing companies like Tata, Wipro and HCL

https://www.axios.com/changing-h-1b-rules-computer-programme...
That's a GREAT quote.
On the topic of good practices for FPGA design, does anyone have a recommendation for an online course that covers this or similar material?
But your lambda example would be more clear if collections functions supported chaining. You can add a small comment if you want to be explicit.
This way the code reads linearly, you don't have to wonder why a "square" function and "is_even" function are defined before you see how they are used.

# square even numbers
range(11)
.filter(lambda x: not x % 2)
.map(lambda x: x ** 2)

However such a chaining API is not practical in python, because lambda syntax is voluntarily crippled to one expression only.
I'd put an asterisk next to #4 for now. On a couple ruby/rails apps we've built you listed the backend tech as cowboy/erlang. I saw your comment above about how hard it is to be accurate with thousands of frameworks but rails? We're using jwplayer, segment, and facebook (all of which you correctly detected, woohoo!) so maybe that is confusing things?

[edit] to be fair other options I tried don't detect the backend at all. This is a single page app with rails api so I get that might be harder than a rails app with server rendering and full page reloads.
https://www.paypal.com/us/selfhelp/article/faq569
Hi, it's just a blog, not a paid job. Not a lot of effort went into it. I'll take a look when I have a chance (it looks fine on my MBP and several others).
*face-palm
Unfortunately we only get the one free gift of fossil fuel energy accumulated over millions of years.
What is the archive format and can I export all my data?
I got rid of my car and moved back to "as safe a part of the city" so I could so I could do my part. The bus ride is 30 minutes each day to work -- the same as my previous commute from the suburbs. There's nothing really wrong with the bus infrastructure itself in my city. People just don't want to ride it because of the type of people it attracts (believe me, I hate it). But if you ride it during working hours you should be able to avoid most of these types of people. Anyway, I'm doing what I can for the environment but is there anything else that can realistically be done?
Which to be clear, is a language design mistake. Go would be a much more productive and friendly language if errors would just have stack traces on them when they're created. There's no reason to have the poor developer adding dozens of debug prints all over his (and sometimes third-party) code manually into every place that could have returned the error just to try and discern where it comes from. Or grepping for strings in the error message, or throwing darts at printouts of the source. That's just a massive step backwards from what we've had since the 80s and 90s. I know Go prides itself on being simple, but really the errors are too simple and we're all worse off because of it.
You know what? If you aren't ready to invest in infra you are out for the buck and worth a damn. I won't even mention cloud in a meeting anymore. It is plain fraud.
I'm sorry, I'm not a native English speaker, and sometimes I fall into these mistakes.
I think what threw you off is my incorrect punctuation, as I should've wrote it as

> Is it not rude to start reading a book while you are having a lunch with someone? Why is the phone any different?
The biggest thing payments processors are concerned about is fraud. Certain lines of business are risky because they simply result in more fraud, plus there's a whole other level of restrictions enforced by the banks themselves. I don't know what the exact reasoning was behind the ban in the article, but there are entire teams dedicated to developing risk models that attempt to identify merchants that will end up resulting in a loss before it happens.

Payments processors like PayPal may just be middlemen between banks, but if the merchant owes the bank money and is suddenly nowhere to be found, the processor is the one who takes the hit.
Not necessarily. Apps like this tend to make a huge portion of their revenue from "whales" who spend crazy amounts of money: http://www.adweek.com/digital/infographic-whales-account-for...

I'm sure the anchoring effect helps too, of course.
Now that I've been reflecting on it, I seem to recall what you are talking about. Stepping up the ladder of abstraction...

Sorry, it's been a while since I watched it.
Is your fitness club growing or dying?
The more data we give FaceBook, Google, Amazon the more powerful they become. There is a good chance we don't even realize we are giving them data due to agreements in place between companies. I can totally seeing Facebook buying genetic data from 23&me, or family tree data from ancestry and using that to recommend people.
That's what I've heard, but I just want to check some of my assumptions.
What do you consider "fasting"? No food at all? What about drinks like coffee/tea? How about water?

Just curious about fasting, need to get into it.
Her point.
hi Peter,

I am on a L-1 visa. Is there any law against sub-letting my rental i.e. can I receive any income other than my job, when on a L1 visa. Thanks for your help.
We've got specific exceptions written into law for the things society deems appropriate.

Thats a lot different than 'allow everything with no judgement'
Ask your friends, but I'm assuming that the cake baking cases that they argued about referred to sexual preference being a protected class. Political mindset is not a protected class.

Assuming someone will ask, "Why do we talk about what is (law) rather than what could be (ideals)", you're perfectly fine to hold the ideal that political beliefs should not be discriminated against. But you probably aren't happy with just believing in an ideal, and so you want to know why political belief is not a legally protected class like age, religion, sex, race, etc. This means we have to include real world considerations, including legal history/precedent and the realistic implementation of law, when arguing whether political beliefs should get legal protections.

To make a quick initial argument, I think political belief is hard to protect because it is nearly indistinguishable from any kind of belief. At that point, how sensical is a legal system after it becomes impossible to discriminate on any kind of assertive opinion?

The line is already difficult and blurred with religion (which is protected because of centuries of prior belief and political situations), as we see in the case of a religious baker refusing to bake for gay customers. I'm not saying there's an easy or happy answer to this and similar disputes, just that protection of political beliefs would make things even worse without much benefit.

The other thing to consider is that as someone who has political beliefs and wants to assert them, you have the entire U.S. political system to participate and effect the change you want. But being political is not necessary when following a religion, and in some religions, it's outright antithetical. These folks would have little recourse to petition politicians and lawmakers.
Same experience here as a Director of Front-End Development. Worse than not only hiding that they're coming from a bootcamp, they're positioning their exercises as actual "work experience." Granted, this appears to be a few of many bootcamps instructing their classes to do this, but it's definitely something on my radar these days when I'm looking to hire. Also--and this is an egregious oversight in my opinion--many of the portfolios are nothing more than a lightly modified (if that) Wordpress site, using a select few "popular" templates; usually the templates that tell people what level of experience they have with each technology, etc. If you want my eye, you really need to take the time and initiative to build it independently using what you learned.

Agreed, however, that internships and apprenticeships are a great first step coming out of bootcamps, but I don't believe that's the expectation being set when they're admitted. The reason I usually have to pass on bootcamp grads is that, working in a client-focused environment on tight deadlines, time spent training someone up from a narrow view of the industry to what we need is at a very high premium; CS grads coming in as Juniors have anecdotally worked better to that end.

Apprenticing at a product-focused organization with high competency in managing expectations is where I see most bootcamp grads excelling.
So then I guess my takeaway is then that there's great and poor working expectations and conditions in both areas. I found the US to be a highly negative experience and don't wish the stress on anyone. Being able to go home at night and not have to be on call or work overtime because it's expected is a great relief. I'll take that over a 100k salary any day. And certainly over my middle income job in California. However since I'm in tech I also get free choice essentially. We in this industry have it pretty lucky in that our skills are easily transferable across borders.

I am an American that found peace and happiness in Europe however because I am American you are right to say I'm biased. You don't live in a place all your life and not notice the negatives more.
> If I see something that is both "free" and "in-app purchases", it already greatly reduces the chance I'll even bother to download

If a free app starts out with limited functionality for trialing, with a (one-time) in-app-purchase to unlock the full features, is that a good thing or a bad thing?

Follow-up: if it's a good thing, how should the app developer make it clear that it's not crapware? (asking for a friend)
Still no official macOS 2.9 build

https://download.gimp.org/mirror/pub/gimp/v2.9/
Insuring that we don't make the same mistake again? Development would be slower if you have to start with renewables, but it's not blocked entirely.
I was expecting it to go in a different direction also. But mostly based on the price of coffee. I don't know anyone in my professional/social circle that drinks coffee that costs less than a dollar. I think its time to start equivocating $5.00 purchases with a cup of coffee.
https://www.manilaprinciples.org/
As far as I have ever found in the literature, redlining was an outcome of financial risk calculations, not based on discriminatory racial ideology.
Articles claiming it is the first have no more reason for being written after this one.
The standards for paper and envelope sizes [1] are so ingrained in me that it's almost like metric vs. imperial. They're ISO standards, though based on German standards, and being able to instantly know roughly how big a paper size is, is very convenient.

E.g. A4 almost the size of US Letter, but from there we know if you take an A4 sheet, turn it 90 degrees and puts another one above it in the same orientation, you have A3. Repeat for A2 and so on. Or fold an A4 in half and you have A6. Meanwhile an A4 sheet will fit in a B4 or C4 envelope without being folded, or in a B5 or C5 envelope folded in half...

[1] https://en.wikipedia.org/wiki/Paper_size#International_paper...
This video is amazing and should be mandatory reading before one is allowed to offer their opinion on anything remotely related to exponential growth.
The number of people that do is quite small as a percentage of users who do it, but quite significant as a percentage of revenue for the company selling those packages. Free-to-play is just like the alcohol and gambling industries, a large fraction of revenue comes from a small fraction of players.
This comment is slightly OT, but this post prods at something I've been thinking about lately. Pessimistically, most programming is just writing a CRUD app with a layer of business logic over the top. Why haven't we been able to abstract or at least vastly accelerate that? Does anybody have any related reading/longform articles on this idea?
Ting costs just a little more than this, but I had amazing customer service when I was with them, and pretty good coverage. They were super helpful with porting over from Verizon and back to them a few years later. Back in 2013 when I started with them they would help you look on eBay for a compatible used phone, but I can't find that on their website today.