> If a USB device identifies itself as a keyboard, the system shouldn't accept its keystrokes until that keyboard has typed the user's login password.
Wireless presenters often identify themselves as keyboards so that they can "press" the arrow keys to move forward or backward. How are you going to type your password using such a device?
I have lived on $20k/year when I was in grad school. I was also into body building, so my staple diet was rice, chicken, eggs, and veggies. If I was pressed for time, I would go for whole roasted chickens which I found quite tasty and full of protein. Other good sources of cheap protein I loved were greek yogurt and cottage cheese.
Canada's Express Entry system for skilled immigrants gives you more points if you attended college in Canada. Giving priority to people who have already integrated into the society makes perfect sense to me.
HPC software like MPI has been using these kind of tricks for years to achieve sub-microsecond (often as small as 0.2-0.3 us) latency for inter-process communication.
The problem is enforcing such a policy when people inevitably end up having babies without a "permit". What do you suggest should be done to those parents and the kid? Fining them doesn't help, neither does throwing them into prison. Putting up the baby for adoption would be tantamount to the government stealing your kid and I don't think you can convince people to stand for that.
NRA has donated a maximum of $9,990 to any politician[1], a rather small amount considering the huge cost of running a campaign. In 2016, the total political contribution of the NRA was roughly $1.1 million[2]. In the meantime, gun control proponent Michael Bloomberg alone has contributed $20 million to Democrat senate candidates[3] in 2018 and is planning to contribute $80 million to house candidates[4] for the midterms. Even if you hate the NRA and what they stand for, claiming that they are buying up politicians with money seems far from the truth.
A cynical explanation would be that Amazon has looked into it but have decided that it is more beneficial to promote Chinese crap over quality products, precisely because they break more often (more replacements sold) and more people buy low priced crap than high quality products that cost more (more earnings for Amazon).
USCIS considers pretty much everything that results in monetary gains (other than investing) as "working". Even renting your own house counts as working, so people on H1B can't do that either.
A great improvement to that would be an option to silently reject all suspected spam calls and send them to the voicemail. This has been suggested many times on Google's product feedback and suggestion boards but for some reason they have not gotten around to doing it. The hard part of detecting spam calls is already there; all it should take is adding a couple of new check boxes.
Definitely not a free market. If the government didn't guarantee student loans, the banks would have been a lot more conservative in giving out loans. In fact, this is easily the biggest factor in the rapid rise in tuition.
Maybe I'm stating the obvious here, but "inserting a king" is absolutely an act of deregulation in this context. Because earlier there would be only one supplier of electricity (the government) but now anyone would be able to sell electricity for a price that they see fit.
Now, socialists claim that since the government is not profit driven, it would keep the prices low. On the other hand, capitalists say that even if the supplier seeks profit, there would be competition which would lead to innovation, better service, and lower prices. Of course, pretty much none of our systems are fully on one side or the other which complicates things. For example, telcos did not build the entire internet infrastructure out of their pocket, they received significant amount of government funding.
I am genuinely curious to find out which number or percentage you'd consider a reasonable number or immigrants to admit each year, and how you arrived at that number. Are there any published studies that have tried to calculate this?
> We live in concentrated environments because walking down the street is a higher quality of life than needing to travel tens of kilometers to buy necessities. A smaller house is easier to maintain and clean.
I see this sentiment often on HN, but so far I have not seen strong evidence to support it other than anecdotes. Have there been studies that show that most people would prefer to live in dense cities if employment wasn't a major deciding factor?
One could argue that self-defense is also an "intrinsic quality" of people and guns are the means to preserve that right. Of course, protecting the right to own guns wouldn't have been necessary if they were never invented. But once they were, restricting the right of the citizens to own them and giving the government monopoly on the capacity to use such force could be considered a violation of the "natural rights" of mankind.
I am always impressed by the UNIX tools because of their simplicity and yet how easily you can build powerful systems due to their composability. But what I find even more amazing is that they "got it right" so many years ago. We have progressed so much in our understanding of computing and human-computer-interaction, but not many tools that have come out recently can claim similar success.
24/26 core CPUs have been in the market for quite a while. The caches generally look like this: each core has 32KB instruction + 32KB data cache (L1) and 1MB L2 cache. All cores share the 30-40MB L3 cache and the 4/6 memory channels.
In my experience, cores getting blocked for instructions is not commonplace. They can block waiting for data if the computation is memory-bound.
Since we are just speculating, I hypothesize that not sharing a land border with relatively poor countries has something to do with it. Australia does take in immigrants, but since most of them come legally they can pick and choose. They don't get the huge number of illegal immigrants USA deals with. This is not a diatribe against immigration, I'm an immigrant myself.
I think the original question (what are some limitations of your favorite language) is similar to other questions that asks the interviewee to justify their choices. While I am not convinced it makes a great interview question, the ability to justify your choices with technical details is often a good indicator of how well/in-depth you know your craft. Often it doesn't matter what you choose, as long as you can show that you did the due diligence and articulate why you chose that.
One of the major issues not often discussed is the "powermods", or the small subset of users who are the moderators of a huge number of subreddits. They can and often do enforce their biases on multiple unrelated communities. Reddit's moderators selection process ensures that they cannot be replaced even if a majority of the community don't support them without creating a brand new subreddit.
It can be helpful to view in-house employees as workstations and contractors as AWS. Employees can take more time to find, train, and manage while contractors can be hired (and fired) rather quickly.
There are a whole lot of treatments different from emergency care. In many of these cases, the patient does not need to go to the hospital immediately and can take the time to go through various options and choose the one suitable for them. In India, almost all private hospitals will provide you with a reasonable estimate of the costs including surgery, medicine, etc. Patients can and do shop around for the hospitals that fit their budget and any other criteria they might have. Of course, they can not be 100% accurate as complications do arise. But they don't need to be, because small differences average out and a reasonably accurate estimate is a far better option compared to no estimate at all.
Have to disagree with the article. The author claims "Back when targeted ads didn’t follow me around the internet, I still somehow found what I wanted to buy." What's different about the job market or the housing market, the two examples the author used to claim targeted ads are so terrible?
IMHO I'd rather see ads that are customized for me, because the probability that I'd find them useful is much higher than some random ad. Of course some people are going to disagree with that, but that is not a strong justification to ban all targeted ads.
Maybe they just don't see the value in losing weight? People smoke and drink despite being well aware of the associated risks, what's so different about food?
Absolutely true. Embarrassingly parallel problems are generally not the most interesting, because you can just throw compute power at it until it is solved. Most applications running on actual supercomputers are communication bound.