skysight-inc/HackerNews huggingface dataset:
I think that Musk is trying to be diplomatic. I think he's fully against this measure because:

1) As I know Tesla does hire foreign engineers

2) He, himself is an immigrant to the US, and he was - if not an actual illegal alien, at least in a gray area immigration wise - at some point while building x.com
> My comment was about things staying the way they were, not only immigration.

No, your comment was originally why people who live a certain place don't learn the language of the migrants, not the other way around.

This has nothing to do with the point of the original comment, which is about immigrants failing to assimilate. If you move to another country, you should expect to become familiar with both the language and the social mores, and use the social mores in interactions with the people who were already there before you, or get treated poorly by the people who were already there.

Most countries don't want to get colonized again.
I really like majority voting algorithm to get majority number in array which appears more then half of the elements, Its the most simplest and elegant algorithm i have studied

http://www.geeksforgeeks.org/majority-element/
http://www.cbc.ca/news/alain-philippon-phone-password-case-p...

For more sources google canada phone password. Tons of results.
Yes, I was talking about other radiation, eg: UV. That said, 5m of rock is way overkill for UV rays since they're blocked by opaque objects. It would be perhaps more helpful in its ability to weather small meteor impacts that routinely burn up in Earth's atmosphere. I understand that Earth's magnetic field is the primary defence against charged particles (eg: solar flares), but in saying that it's necessary to note that Mars' magnetic field is substantially less than Earth's, so rock would help there too.

What I was trying to say in a round-about way is that it's not the atmosphere option that the parent postulated, because 5m of rock wouldn't, in my mind, produce enough of a secure boundary to contain an atmosphere in it. I could be wrong there, though - maybe it is secure enough in the right sediment!
All the pitchforks in that thread failed to put things in perspective: complex UI extensions like TreeStyle and Tab Groups are used by ~0.00025% of all FF users. The majority of popular plugins can be built with the new APIs.
The author of this material is definitely on my free beer if I ever meet them list. I've learned a lot about geometric mapping, hexagonal pathfinding and lots of other fascinating nerdy stuff from his articles over the years.

They are good enough I keep my own archive copies just in case the site ever goes away.
Maybe it's just a matter of which conferences I attend, but my impression is that "conference attendees per capita" is highest for the USA, lower for Europe, and much lower for Asia. If you want to be closest to people in general you'd probably aim for somewhere around Nepal (mind you, it doesn't have very good connectivity for air travel); but being closest to conference attendees is probably going to be between the USA, Europe, and Asia... in other words, Canada.

(As for the cost, when I said "cheaper" I meant in terms of the cost of conference facilities, food, and hotels. Obviously the cost of travel will depend on where someone is starting their trip.)
> This policy is misguided and evil from the ground up. If this program had been in place twenty years the number of terrorist attacks it would have prevented is zero.

So what did you say when Obama temporarily (6 months) banned refugees?

http://www.wnd.com/2017/01/2011-obama-paused-iraq-refugee-pr...
How good are query optimizers, really?
I think you have a blind spot here.

When you were a youth, being in the world and meeting an authentic person didn't have quite as much competition as it does today.

It's like saying you're not concerned about the environmental impact of cars because we can always choose good old reliable walking instead.
Musk is a CEO of multi-billion dollar companies, disengagement for 4 years is not a thing, not with the US government.

An activist can tune-out and entrepreneur has to adapt.
Do universities that don't have to rely on the money they get form international students have the same incentives as US universities?

From what I read that's a major consideration for US universities why they want to attract foreign students. For German universities that would only be of marginal concern, even if/when they take some money from foreign students it's just pocket change and not nearly enough to finance the institution to a substantial extend. Sure they still have an incentive, but it's much less and not monetary.

I think, that's what I get from what I've been reading in comments over the years.
It VHDL as implemented at the time was broken, at least as of 2010. [0] VHDL 2008 support would have definitely had a positive impact on the VHDL source code (making it smaller and more comprehensible). There were so many 2008 features I wished to use but simply couldn't. With the slow pace that FPGA toolchains progress, I'd imagine the situation isn't vastly better today.

Luckily I read [1] and realized that VHDL can be written in a better way, even with old toolchains. This 2proc style is so much easier to debug than typical RTL syle. It was unfortunate that the 2010 era Quartus II toolchain did not optimize my behavioral code well. The CPU caches were the worst offenders, which isn't too surprising. Tons of enormous, almost certainly inefficient, muxes really pushed the LE limits on the FPGA and my patience during the very long synthesis time.

[0]: https://github.com/jevinskie/mips--/tree/master/project4/sou...

[1]: http://www.gaisler.com/doc/vhdl2proc.pdf
Well, Mexico and Chile also have visa free entry into Canada now, so it would actually be a net improvement for Latin American countries as well (and I see no reason, specially with the current government, that Canada could not eventually negotiate visa-free transit with Argentina and/or Brazil next)
I think "no parallelism and shared objects" was one of JS best design decisions, as it really fits the event-driven (and thereby callback-driven nature of the target systems and avoids lots of errors. I can't count how often I've seen illegal accesses from callbacks in Java in C#, partly because the people didn't even knew that the callback would not be invoked from the main thread.

I don't think that web workers and the shared arraybuffers will make that worse. It's a tiny loophole that let's one exploit parallelism for a number of very specific use cases. For the average UI it's far too complex to use, since it does also not directly allow sharing objects but only byte arrays, which means users would need to care for serialization. So the possibility of misuse is low.

For a specific set of applications (audio/video processing stuff, game engines, thinks that are cross compiled from C++) it could be an important building block that allows to exploit parallelism there. And I think in these use-cases the implementors would more likely know what they are doing when the shuffle bytes around.
Although AWS is making progress, I doubt that they'll be able to take over the entire HPC space[1].

First off, if a research group does not have access to a data center[2], then AWS and GCP are the way to go. Just off the cuff, I'd say to go GCP unless you have big memory or specialized hardware needs, then go AWS.

Other than that, AWS (and GCP) are great if you need to quickly spin up something to investigate the usefulness of new technologies: If you're not sure if a GPGPU or ASIC is going to work for your code, then test it at AWS. But, if you plan on doing _a lot_ of computing, then once you've done the validation, it's typically worth investing in the hardware so you can run it locally.

Another reason, related to hardware, is that some places have better treatment for capital costs (like computing hardware) vs. regular expenses (like AWS and GCP time). If AWS could come up with a GAAP method for capitalizing AWS time, then that would help them out alot.

MPI is mentioned alot in the article, and it's definitely an issue that affects the more "traditional HPC" crowd, but there's something else: Alot of clusters use Infiniband, for storage access and also for MPI (and other inter-node communication). Infiniband is not just high-bandwidth (single-link EDR is 25 Gbps, 4x is almost 100), it's also _very_ low-latency (less than a microsecond). The filesystems used over IB are similarly highly-performant (like Lustre).

The speeds (and, just as important, the latencies) in HPC data centers are amazing, much better than what you get with 10 Gbps Ethernet. People who have experienced that want to keep it. However, IB is a different type of topology than Ethernet, which doesn't work as well with the "your X can land anywhere in an AZ" nature of AWS.

I'd also suggest that AWS get involved in SLURM development. Don't take it over or absorb it; work with SLURM developers to get it to work naturally with AWS.

So, unless (or until) AWS can address those issues, there's still a big place for on-prem HPC!

[1] For anyone who might reply "AWS isn't thinking to take over all of it", I would say, in the backs of some people's minds, I bet they are.

[2] "Data Center" could mean a rack or cage at a colo facility, but I am _not_ referring to a small server room or closet; you typically need more power and/or cooling than those rooms can provide.
There are many projects started some 10 years ago with Cyclone III FPGA and vendors do not want to scare the folks working with the same Quartus since then.

I wish I could simply synthesize my algorithms from C code instead writing that VHDL or Verilog code. SystemVerilog is a bit better, but the company does not allow using it.
Musk is saying "find a face-saving way for Trump to substantively repeal the order without saying that nor making it sound like that to his supporters".
I've been screwed by taxi drivers more frequently than Uber drivers. I've had taxis take me on garbage routes, pretend their card reader machines are broken, and add destination fees when I was clearly in a hurry. They read me well because I bent over and took it rather than fighting it because I was busy.

An entire industry that thrives on screwing people at inopportune times deserves to die IMO.
I'm surprised how the solution doesn't have the hashmap implementation of it, which gives out o(n) and is much more simple. But the algorithm is interesting though!
I was trained for the culture wars in home school
> What do I do if as a normal user

That really depends how "normal" the user is.

If you have basic HTML/JS/CSS skills, you can try to minimize the testcase - https://css-tricks.com/reduced-test-cases/

If you don't, you can always contact the website author and inform him about performance problems and ask him to get in touch with us. He does have access to the whole website and could help us get a temporary account for us to investigate.

If you have more knowledge and curiosity, you can even use our performance devtools to generate a profile. It's actually fairly easy - just start recording in the performance tab and do what you would normally do that is slow.

Then file a bug and attach the profile.

This will give us an insight into what takes so much time. It may not be enough, but sometimes it is, and in those cases we are able to "peak" into what your Firefox is spending so much CPU cycles on.

It's not perfect, but it's better than nothing :)
You've got that backwards. The foundation owns the corporation.
A true vacuum is literally impossible. It's not a category that can exist in nature, because particles aren't actually little balls that bounce around. Every volume has some probability of a particle being in it in the great universal configuration space. It can have an expected number of particles < 1, but never zero.
W00t! W00t! Can't help but admire the Swiss. Their embracing of capitalism and the closest thing to laissez-faire should be emulated by all.
Mathematician Proposes Blocking Tsunamis with Sound Waves
Lady Liberty on Life Support
Ask HN: Twitter-esque for developers?
I stumbled across a twitter-like application for the dev community a month or two back, but can't remember or find it. Does anyone know what it is?
At ${PREVIOUS_JOB}, I changed offices and discovered my window wasn't the only thing I lost in the move: SSH sessions kept dying with MAC errors. It happened with multiple computers with different NICs and running different OSes, so it wasn't computer-related. I tried swapping the patch cable, but that didn't change anything.

On a whim, I took the faceplate off the box containing my (100 Mbps) Ethernet and phone jacks and discovered both drops were provided over a single four pair cable originally installed in the late 1980s. More alarmingly, the outer jacket of the cable had been cut off about a foot from the punchdowns on the backs of the keystone jacks, and the entire foot of conductors emerging from the jacket were all untwisted and balled up in the box.

Cutting off about 10 inches of each wire, twisting the pairs back together, and punching the wires back down onto the backs of the jacks fixed the SSH problem...
I find the DC3/skew algorithm for linear-time suffix array construction mindblowingly clever!
At least in the UK international students are a big chunk of a decent university's income. Tuition fees for UK residents are capped, while there's no limit to how much a good university can charge Russian oligarchs to educate their children.

There are some issues around that, specifically with business departments being disproportionately well funded, but it does mean that other departments also have more money to work with than they would otherwise.
It's become increasingly clear in part several weeks that flagging posts and comments is just another way of downvoting them. Accordingly, I've personally started downvoting and flagging any comment I strongly disagree with just to balance things out. I realize perfectly well that this makes me part of the problem, but if you can't beat 'em...
Interested in collaborating on a VR/AI prototype?
Recent research from Greenlight Insights suggests that over 70% of consumers are interested in using virtual reality technology for immersive travel experiences. At the same time, the youthfulness of the VR industry means that there is a lack of compelling travel content that early VR adopters can enjoy. RealmSurf would like to address this issue by leveraging artificial intelligence.

If you are interested in collaborating on a prototype platform that brings AI infused VR experiences to a global audience, visit the RealmSurf website and leave your contact details.

Regards

www.realmsurf.com
Actually it's not as bad as it looks at first glance. At least on OpenVMS, you normally use it like sed, and its not much worse than writing some regex, normally.

Granted, writing a text editor in regex sounds awful.
I expect they did know, but it'd be an interesting exercise to not tell either development team if they were writing the "real" or the "backup" software, and just swap them around to keep people on their toes.
How much of that is a product of it being much more expensive for someone from Asia to travel to US conferences? I'm in the often forgotten pool of people who can't just expense conference travel with their employer, and that means I don't even consider conferences outside Europe as they'll be prohibitively expensive.
None of them have any features in addition to what we get from Google/Bing/Yahoo/Yandex.

Searx seems to have categories such as music, science, news, social media and so on which is better than nothing.

What I currently do is: (site:blogspot.com OR site:livejournal.com OR site:wordpress.com) <query>

Blog search gives me pages written by people: fans, amatuers and sometimes professionals; I miss such pages and perspectives when I do a general web search in Google. Above search, however, excludes self-hosted blogs and other hosting services. For forum search I just add something like phpBB|vBulletin|Invision to the query which is a hit or miss. I also have Google CSE created from my 500+ RSS feeds which gives very good results.

Earlier Google used to have both these features and it is annoying to see they remove useful functions. I just hope someone comes up with a search engine for blogs and discussion forums.
Also I heard part of the reason is that those systems are trivially maintainable on-site; if something breaks, you take out a soldering iron and a box of spare capacitors, and go fix it.
> they scale based on the number of trolls

Low-level trolling has almost zero cost on wikipedia, you don't even need an account. Especially for articles that are largely politically uncontroversial and "done". So they probably catch most of the vandals, and use their process to stop maybe the top 20% of political kooks. But when some random adds dubious information to a long-tail article, it can hang around for years.
Innovation thrives on the rule of law, independent courts and neutral arbiters of contracts, habeas corpus and due process, the right to a lawyer, and the right to uncoerced testimony.

Consider Jethro Tull, the farmer. In 1700 he was 26 and he was taking over the family farm. He hired some local hands to seed the fields that spring. As had happened for thousands of years, the workers took bags of seed and cast handfuls on the ground. Jethro Tull became angry, because there were patches of ground that had too much seed, and other patches of ground that had too little seed. He went over to the workers and asked them to be more careful. But they proceeded as before. Tull became more angry, and went to speak with them again. But they still ignored him, and kept doing their work in the traditional manner, as they had since they were children, and as had their parents before them, and their parents before that. Tull was in a rage, but saw he could not change how the workers did their work. Instead, he decided to build a machine that would plant seeds at regular intervals. This was the beginning of the Agricultural Revolution.

https://en.wikipedia.org/wiki/Jethro_Tull_(agriculturist)

But now ask, why did this happen in 1700, and not in 1680 or 1660 or 1500, for that matter? Was Tull simply smarter than any farmer that had ever lived before that time? Or was their a new legal system on his side?

In the time of Tull's father, England was still burning witches. The last great spasm of irrational fear and witch burning swept over Britain in the mid 1600s. But then Britain passed the Bill Of Rights, in 1688. Now everyone had the right to a fair trial, and a right to a lawyer, and no one could be tortured into confessing to a crime, such as witchcraft. And Tull belonged to the first generation of entrepreneurs in history knowing that they could depend on the rule of law -- the government could not take arbitrary action against him, but was constrained by its own processes. Therefore Tull could shatter tradition, and do completely new things, without the threat of being burned as a witch.

I could cite an endless number of examples. Galileo made brilliant discoveries in an illiberal nation, and was put under house arrest, Newtown made discoveries in a nation of laws, and he became a national hero. Simply knowing that laws will be enforced fairly defeats a lot of the kinds of evil scheming that spring up under authoritarian regimes.

"Freedom" is an empty word. When talking about the kinds of environments that cultivate innovation, it's best to try to be specific about that environment. History teach us the raw ingredients: the rule of law, fair and independent courts, habeas corpus and due process, the right to a lawyer, the right to uncoerced testimony.
Web Audio Designer
I'd like to correct the quote:

Donald J. Trump is calling for a
total and complete shutdown
of Muslims entering the United States
until our country's representatives
can figure out what is going on. [1]

That's why the current order has set duration of 90 days, and it's announced that subsequent immigration from the affected seven countries will be allowed, subject to tougher vetting.

[1] http://www.cbsnews.com/news/donald-trump-calls-for-total-and... - first hit in Google search.
http://syncstop.com/
R* tree for indexing spatial data [1]. Also, if you enjoy spatial data structures, you can't go wrong with Samet's[2] _ The Design and Analysis of Spatial Data Structures_ and Applications of Spatial Data Structures_.

1: https://en.wikipedia.org/wiki/R*_tree

2: https://www.cs.umd.edu/~hjs/design.html
That does appear to be the case
"I want to see how you approach solving problems"- Is almost always bullshit.

One person I knew at work had a question he used to always ask in interviews. One day while discussing this I asked him to show me some working code for his question. He struggles for a while then gives up(Note, this is his own question). Then he repeats the same trite - "We are just testing their approach".

And I was like "Oh sure, Their approach towards something whose answer you don't even know, to evaluate against."
I think you just answered your own question (?) Tell them about the maintenance costs, the difficulty of adding new features or the foreseeable impossibility of finding programmers who know COBOL.
Suggestions on the vetting process will have a potentially greater effect. The obvious goal is the person(s) should on average be a net benefit to the United States. What that means is what needs to be hammered out and it's unknowable if that's the standard. More basic tests like freedom of speech are what I want to be used.
It should be productive. When you make a mistake, you should be able to admit it, fix it, and live with it, and if Trump had any leadership ability, he would do just that. And gracefully.
It's a statistical thing I suppose. 2^32 is 4 billion. So the chances of a garbled packet happening to have the same CRC as your original packet are 1 in 4 billion. Ultimately no system is completely impervious to unlikely freak collisions. For example even if you duplicated each packet there is still a chance your original and duplicated packet could freakishly be corrupted in exactly the same way. Having said all that I suppose a 64 bit CRC would get you a lot closer to monkeys typing Shakespeare territory.
I was always thought it was a greedy way of doing a breadth first search.
What kind of information do they offer to advertisers?
When Big Data Isn't Enough
Reverse Supply Chain; Can it improve sustainability?
Programming motherf***er
Fitbit to cut 5% to 10% of workforce and miss earnings guidance
Of course you can. Which means that you're using container primitives with chroot. Which is fine, but if you're going to do that I would recommend using pivot_root and mount namespaces -- which are more secure because there simply is no mapping above / in your namespace (chroot doesn't do this but pivot_root does). This means that there is no way in the VFS layer for you to resolve paths above your root (unless someone bindmounts something in or similar).
I am Donald Trump
No.

No one is required to ship a DRM module. You don't need a DRM module if you don't want to watch Netflix.

The spec defines a standard interface to these modules. This is not worse than NPAPI.
Astronomy used this for very long time. Most advanced is Healpix: http://healpix.sourceforge.net/

I really like how fast it is. For example irregular area size of Greenland at 1 meter accuracy only takes a few hundred MB. One can do joins and unions, on such areas on modest laptop.

Disclaimer: I send a few patches to this project.