It's allowed here now because banning foreign nationals from traveling to the US has an impact on industries that are associated with foreign workers. Say, IT, and engineering.
The leading Republican candidate has been constantly talking about these types of bans yet discussion on HN was not allowed during a time where perhaps discussion could have prevented Trump gaining power.
Now we are in "cure" mode. It would have been better to prevent this from taking place.