skysight-inc/HackerNews huggingface dataset:
As someone who spent most of their life in the UK, allow me to explain why you are utterly wrong.

> There are likely a greater portion of unarmed criminals in the UK. Since their potential victims are also unarmed, that means that they are at the mercy of physically dominating criminals.

It's certainly true that most criminals in the UK are unarmed, but the "physically dominating" bit is way off the mark because most criminals are not physically dominating - anyone can be a criminal - the factors driving people towards crime have nothing to do with physical stature. This means that the majority of criminals are actually not particularly threatening, I have a friend who was mugged and simply picked up his assailant and threw him over a wall, another just laughed in the face of the teenager who threatened to mug him and walked off. Pepper spray and some knowledge of self defence will make you well prepared to handle the vast majority of criminals in the UK.

> Practically speaking, a person with a 6" knife can do far more damage to a person and have a higher likelihood of inflicting a mortal wound than someone with a .38 revolver.

First of all, knifes are also tightly controlled in the UK, though obviously smaller knifes are not particularly hard to come by. No doubt a skilful knife wielder can do a lot of damage to a person, but most criminals also are not skilful. At all. An inept gun wielder of any physical stature can effortlessly kill someone from yards away, in an instant. It's so easy, a toddler can do it. Also it's a lot harder to accidentally stab someone than to accidentally shoot them. Furthermore, those so inclined can (and do) learn how to fendoff a knife attack - you can't do that with a gun attack.

> my entire point is that more restrictions means that it's in the best interest of an armed criminal to obtain the most effective firearm possible.

That's completely backwards. You could hold up pretty much anywhere in the UK using a fake gun or an air rifle. There's absolutely no need for criminals to have actual weapons when their victims and the police too, are unarmed, because they pose no threat. Contrast this with the non-restrictive environment in the US where an unarmed or poorly armed criminal risks being shot by their victim, a responder, or the police. I live in the US now and my local ATM has an armed guard for crying out loud. That's an incredible incentive for criminals to turn up very well armed.

> rates don't really factor in to this thread

Oh but they do, because criminals with guns don't just wave them around for show: they use them. The per-capita homicide rate in the US is 5x higher than the UK and that difference is almost entirely composed of gun crime [1]. Take a moment to think about that.

So in conclusion, the U.K. is much, much safer because criminals don't have access to lethal weapons that are effortlessly easy to use and the statistics spell this out as clear as day.

[1] http://www.bbc.com/news/world-us-canada-34996604
Webserver process vs. multithreading
You shouldn't need to choose. MySQL's InnoDB engine supports compression, and not only does it use less space on disk, it's actually faster to read and write. I don't see why journald can't implement something similar.
I can definitely see the potential of awkwardness, especially if you know the neighbor already, etc. But like Airbnb, I think reviews go a long way to ensuring good quality in the long run.
I am much more afraid of non-state actors that would get access to back doors than state actors. The people at the NSA might not be angels but they have some sense of ethics and some controls, other people out there don't. What if someone like Snowden or the Walker brothers get access to it and make it open source or sell it to ISIS?
I can think of many scenarios where the client needn't send anything back, notifications being an immediate example; I haven't dabbled with either, but I imagine reasoning about EventSource is probably a little bit easier than WebSockets.
"It turns out that most people would put together a Rails app with more lines on their Gemfile than lines of actual code they wrote. Worse"

- how is this worse then rewriting the wheel? write code only when you must
The on-demand apocalypse?

Well, knowing Techcrunch they're probably overreacting, but this is a prediction I can get behind.

Maybe now VCs can invest in companies that don't rely on questionable labor tactics in order to deceive themselves and others into thinking that they're unicorns.
great content, most annoying music ever!
LuaJIT 2.0.4:

3.67user 0.01system 0:03.68elapsed 99%CPU

rustc 1.9.0-nightly (74b886ab1 2016-03-13) (-C opt-level=3):

5.18user 0.00system 0:05.20elapsed 99%CPU

Switching to BTreeMap gives me:

4.36user 0.00system 0:04.38elapsed 99%CPU

Using u8 as the key (last_digit0*10 + last_digit1) instead of a string:

4.18user 0.00system 0:04.18elapsed 99%CPU

I tried preallocating the vector of primes and it didn't help, strangely enough.

Replacing the floating-point sqrt with squaring in the comparison does bring it a bit lower:

4.04user 0.00system 0:04.05elapsed 99%CPU

I don't know how to bring that number lower without using a sieve, perf reports that most of the time is spent in:

86,31 │ div %rbx

I've also just noticed that the Lua and the Rust code don't give the same results, but I can't easily tell why.

Oh! The largest prime is 0x00ec4bab, so they can be stored as u32. Final Rust result:

2.33user 0.00system 0:02.33elapsed 99%CPU

Code: https://gist.github.com/eddyb/51a92fa2edf20d6e23fe
Umm the page literally jumps up and down when viewed from my phone.
This thread is a honeypot. Also buying any iPhone made after 2015.
Why not? Deals can easily fall through in early stages. "Last minute" basically means the details were pretty much hammered out, everybody was just about ready to sign, then something happened to scuttle it.
Nothing that I use day-to-day comes to mind for your desired use case, however I did want to say I think this is a great idea, and provided you don't run into licensing or other legal issues, on the surface at least it has the possibility to result in some revenue for you.
Wonder if I can use my Mac Osx license on the windows version ? I rarely login into windows but, never know.
Startup health research commercialization grants: SBIR Technology Transfer
Monitoring Made Awesome Part 1: Metrics Collection
The US military is primarily designed for one task: dominating other nation-states militarily. It struggles with heavily armed insurgent populations.
Im curious of application. So, hypothetically, they can infinitely scale the net force required to number of robots. However, the movement speed stays at < meter/hour.

Is the next step ensuring absolute precision? What about terrain with minimal friction to hold on to? How does the "ant" "latch on" to arbitrarilly shaped /sized objects? Is it possible to lift the objects onto wheeled bots to enable accelleration or are we trapped at slow speeds?

Its important to note that currently these robots pull but do not push. So for high precision heavy objects movement I think if space, more specifically, when I want to dock my shuttle at a doace station. Unfortunately, only pulling will cause acceleration that would still need to be offset somehow. So, i am not exactly sure where else to gigantic objects need to be slowly and precisely moved by tiny little robots.

That being said, Im excited to find out
> if (false) 23 else null

Why isn't the type of this expression Null?
Yeah, it's pretty common with code that uses the builder pattern as well. I also like to use it with rust combinators e.g. https://github.com/skeuomorf/conshash/blob/master/src/lib.rs...
But that has to be cultural reaction as well. The UK was subject through the 80s/90s to a persistent, genuine, armed terrorist threat in the form of Irish republican and unionist terrorism. If the reaction of the population of Northern Ireland and England to that had been to demand that they be allowed to arm themselves, I don't think we'd have ever reached an end to the Troubles.
They want someone who uses asynchronous programming in coffeescript to build a blog and use shit load of preprocessors and if the library was just released on HN they expect you to use it in production and deal with it.

Don't do these take homework projects. Don't work for free.
That's cool! Have you ever tried them before?

I looked at them once before, and there's nothing super close to where I live (would need to drive to pick it up), but I'd definitely consider using it if there was someone who cooked within walking distance of me.
Yes I noticed that too. It was using a significant portion of my monthly mobile data limit (roughly 60mb of 500) that I actually removed the "mobile data" permission. Which is highly inconvenient.
I've been using this polyfill for years in production with success: https://github.com/Yaffle/EventSource
How SmartDraw moved its application to the cloud
Being the best ranked player != playing well beyond humans. When the AI can play 1,000 games and never lose that's well beyond people.

Granted, chess AI is basically at that point right now. But, go AI has a ways to go.
I think if it really takes off and the shared memory parallelism works well it could end up being a pretty potent part of software delivery.
My initial reaction was for software with a flat memory footprint, so it really doesn't require garbage collection. Our application could be written in C, if we weren't web developers who are working in JavaScript.

No one wants to do web development in C++ honestly, but they would like the performance.
If you just want a list of contributors' emails, you can just run git log --pretty=format:'%ae' | sort | uniq
Given the crushing that AlphaGo did, I don't believe your statement about humans having near perfect play.
Actually I think the current practice is to label pretty much everything terrorism. Part of the perpetual crisis strategy used to justify the militarization of police forces.
> The ROI on that life decision is also ridiculously low.

How are you figuring the ROI? If you're not factoring in opportunity cost, then you're not even considering it as an investment.

I make well over $100/hr doing contracting work. I can get a good meal delivered for $15. I highly doubt I could cook a decent meal in 9 minutes, and that's assuming ingredients and training are free (time and cost-wise).
Google has doubled Chromebook bug bounty to $100,000
I remember reading that comment about Google... even though a ton of people at Google use Homebrew. The question is, what would would you be writing at Google? Would you be reversing binary trees? Would you need to instantly know which sorting algorithm would be most efficient at the drop of a hat? or would you be building more tools like you already have. The one thing that isn't immediately clear from your GitHub is if YOU wrote the code and HOW you wrote the code. I'm not defending worthless practices like asking you all kinds of CS riddles that the interviewer doesn't even remember... but I am saying that there are reasons to test your ability to reason through a legitimate problem. Because of this, I am a huge fan of this style of interviewing: "We have a problem... tell us how you might approach solving this. What resources would you use? Why?"
Abc-nepremicnine
I am surprised that a search for "math" only turned up one result in this thread, about car accidents vs terrorist victims.

Isn't it true that encryption legislation or policy is sort of irrelevant next to the very clear math that says encryption will always be ahead of decryption? Even in a (hopefully avoidable) dystopia where encryption is illegal, would that really stop technology companies from continuing to do what they've always done?

John Oliver has a great segment[1] where he notes that the majority of cheap, available encryption applications aren't even US-based, and so it becomes nigh-impossible for our (or any) government to stop any pedestrian from encrypting.

[1] https://www.youtube.com/watch?v=zsjZ2r9Ygzw
AH, but you couldn't get any investors for that.
Servo is a research project by Mozilla as a part of their Rust programming language. It gives them a "real world" app to build in Rust, so they don't end up doing ivory-tower designs that don't work well in real apps.

Despite the way some news articles might write about it, Mozilla does not intend this to be a new browser for regular people - It's an extension of their new language, and R&D.

Over time, Firefox may incorporate components written in Rust, potentially including parts from Servo, but AFAIK there is no timeline for that.
The TSA performs a very meaningful function. If you want to fly in the US, you have to submit to their probing. This is an important part of maintaining the terror, which serves many useful political functions. We'd put up with a lot less incursion on our liberties if they stopped feeding the terror.
I have tried hiring. Many times. As recently as yesterday.

Using a combination of (semi-)rigorous personality profiling (time constrained), and mapping the abstract problem domain of their prior work to the problems I actually have for them to work on, it's been possible to align new people with the work such that they're intrinsically motivated, and make sure all the bases are covered for the necessary roles (hacker, inventor, finisher, watchdog, etc.) to carry a very large greenfield project from start to finish.

I've never once given a cute riddle, puzzle, or coding challenge as a part of the interview process, and actively dissuade others from doing it as well.
Here's another story on it, including a video

http://www.gizmodo.com.au/2016/03/watch-100-grams-of-robot-p...
Videos of the demos below:

https://www.youtube.com/watch?v=HbZxCHr7Lu8

https://www.youtube.com/watch?v=uxE2SYDHFtQ
I don't think that graph makes much sense.

The labels "Grand Master", "Master", "average club player" apply to Chess, not Baduk; and the vertical dimension in the graph seems arbitrarily chosen.
The Hottest Startup Vying for Hype at SXSW 2016
Shouldn't be. Data's already there.
Invoice Platform Built of Stripe/PayPal
Because the type "Any" is the least upper bound of Int and Null. http://ktoso.github.io/scala-types-of-types/#unified-type-sy...
Have you tried dask? It already has dataflow programming built in for numpy arrays, out of core and custom structures.

http://dask.pydata.org/en/latest/
Nowadays I hear that exact sound… at McDonald's. In Russia, they use this sound at their kitchens to signal that something's ready. Or something. You can hear it when you're ordering.
Self-Driving Cars Won’t Work Until We Change Our Roads – And Attitudes
All that makes sense, thanks for the details.
I use "plain" Debian on my servers when possible.
Personal preference, mostly. Not really a fan of Ubuntu Server.
If you do stuff like building infrastructure, creating efficient health care systems (because you can do stuff for all the people lowering the price and having a bigger positive effect on overall health) you actually make it better for startups, cause they can use the infrastructure, need to pay lower wages (because health care and infrastructure are cheaper/taken care of).

If you use tax money on education you also have a positive effect for both startups and poor people.

You also even out the divide between new and and established companies, established companies having non innovative advantages, such as brand names, maybe their own "infrastructure". So you even get rid of companies that try to keep status quo and have innovation stall.

The sad thing is that currently some governments/parties/politicians create inhuman, even counter productive productive competition between humans while at the same time have companies be cartels and monopolies and more importantly create counter productive anti-competition laws such as intellectual property, to a degree really awful patent systems, brand protection stuff, etc.

It's kind of destructive in regards of innovation and progress.
The hashing optimization isn't necessary as using String at all is wasteful - my code ended up being simpler, but in the end the largest gain came from replacing u64 with u32 - see https://news.ycombinator.com/item?id=11290955.
Google Online Security Blog: Securing the Web, Together
My understanding of the API in iOS is that once the user has granted access to the "Address Book", the app can read every entry in there.
Even better, take those results through something like Mailgun email validation REST service, and you've got valid emails: https://documentation.mailgun.com/api-email-validation.html
Handful of Biologists Went Rogue and Published Directly to Internet
For some information, it is unfailingly buttery smooth even on integrated graphics hardware from one generation before Intel HD graphics. I.e. a lenovo Core Duo machine from 2006 I dug out of my closet the other month. This is all probably thanks to Wayland being properly composited to begin with; they just need to scan out part of the final framebuffer texture.
Because even a just-in-time compiler is slower than native performance quite frequently. A just-in-time WebAssembly compiler can be guaranteed to be as fast as V8 in practice.

Branch prediction on a CPU can be quite helpful, but if a program stops hitting the same branches it can impact performance. The point of a just in time compiler is that it compiles on the fly, which does take a certain amount of time. That could be loading time for your application.

In any case, the purpose of this development would be to design something that is faster than V8. And I'm specifically speaking of compiling with inferred types or from asm.js or TypeScript, not embedding a VM or a garbage collector or an emulator.

This compiler might only accept programs that would be faster.
I think you would want to see how it does when compiled to LLVM IR to answer that question.

Also keep in mind that webasm doesn't include a garbage collector. If typescript relies on one, it will need to be compiled to webasm as well.
"probationary period" has no real legal meaning in almost all US states.
I would argue it contributes to huge bloat. People pull in huge powerful libraries to format a single date. In addition, a vulnerability in a library you pull in could compromise your application. Even deeper, a sub-sub-library (i.e. one you didn't even add yourself) could have a vuln that affects you.
I think the bigger problem is more related to how outside services are being negativiely impacted (up to and including crashing) by delays in writing to disk, and have no choice in the performance/safety trade off.
The denominator has no relevance to how selective your hiring process is. Your process does not become more exacting and precise simply because you received more applicants.
How Plaid's API Brings Finance into the 21st Century
Fascinating algorithm. I wonder how many Signal users it would discover in the ~500 typical contacts, given one starting contact.
This is actually both. And yes, you can run your own instance. Just be sure to share your derivative work too :) I am not ready with step-by-step manuals on running this, but the source is very simple so you can easily get the idea
I think you misunderstand what WebAssembly is about.

As I understand it, it's little more than a binary serialization of JavaScript ASTs. In which case, no, you don't need to ship your own GC with it.

I mean, you could always write a JavaScript interpreter in JavaScript, and then compile that into WASM, in which case, yes, you'd ship your own GC. I don't see why you would feel the need to do that for real world applications, though.
I'm not saying anything about any particular shooting, I'm saying that's the relevant difference.
Yep. Cory Doctorow has talked about this: how the universe "makes it easy" to secure communications because mathematically, it's really easy to encrypt (verify that a number is prime) and really difficult to decrypt through hacking (factor a huge prime number).

And because of that, outlawing encryption is really outlawing math, which is ridiculous. Math is a universal API everyone has access to simply by existing. You can't outlaw math.
Greenkeeper.io Enterprise partners with npm
In many ways, I see these projects as a stand-in for the kind of comprehensive professional exams taken in many other fields.

As developers, we often take a 5+ hour whiteboard interview on some of the fundamentals of CS, but presented as challenging problems. We may also have to do a take-home "project" which can be viewed as a "practical" component of a comprehensive.

I don't object to this per se. What I dislike about it (as I've mentioned on HN before) is that we take these exams without the protocols that evolved over centuries in exam-heavy institutions (universities, professions) to safeguard against abuse ensure the process is fair and decent to the people taking the exams.

The exam must not be capricious, it must be relevant and consistent across candidates, it must be created and assessed by competent members of the profession, there must be an associated study path, the content of the exam should't be a huge surprise to the candidate, candidates are provided with feedback should they fail.

And, perhaps most importantly, the process of taking and passing the exam provides the candidate with a certain stature, a lasting credential that is widely respected in the profession. The candidate doesn't have to re-take this exam over and over every time he or she interviews (in many ways, that is the point of the exam).

In many ways, I feel that programmers experience the downsides of this sort of professional entrance exam but without the positives.

I'm glad to see this discussed on HN, because I really do think that software "interviewing" as entrance-exam is one of the things that eventually drives people out of the field (or causes them never enter it in the first place). It's not a good thing for our field.

I'm not saying it's an easy question with an easy answer, just that our current approach is failing.
To me, the current career phase seems to clearly be academic, i.e. a masters and internships. I'd think that extreme flexibility in regard to the company for an internship would allow more focus on an internship outside of embedded software. My recommendation would be to be entirely upfront with companies about wanting to "broaden" your experience beyond embedded (i.e. in the cover letter).

Anyway, my take is it might be worth considering no internship over an embedded systems one if the goal of the masters is to get out of embedded since that would be consistent with the longer term career goal. It might also be worth working toward post degree employment outside of embedded sooner rather than later.

Good luck.
No. Everyone interviews this way. The very most marketable candidates leverage personal brand and connections to dodge a lot of it, but you have to be good at sales to do that.
Really important point as this gets to the supreme court.
Not knowing what is on the phone is my point. The FBI is asking for a method to access information on a specific device that impacts all devices of the same type. If there is not a stated reason for positive action, this seems to be unreconcilable with the FBI dismissing concerns about this being a violation of the fourth amendment.

However, I don't know enough about the law to know if probable cause means to take action regardless of the outcome of that action. That seems to be slippery slope toward justified constant mass surveillance.
Canons? Now I've gotta look up the CDC numbers on canon deaths for last year. I wonder how many died from grape shot vs cannister rounds?
every few months someone discovers that either a) there are e-mail addresses in git commits!!! Public!!! or b) You can put ANY e-mail address there and commit code as SOMEONE ELSE! and it seems the general reaction always is: "Yeah, that's how it works." That stuff is just to easy and obvious to be that interesting...

Now what are appropriate ways to use that data, that's an interesting question.

related: https://github.com/ghtorrent/ghtorrent.org/issues/32 (Ghtorrent archives the public timeline of GitHub)