skysight-inc/HackerNews huggingface dataset:
If you do this

Derived* derived = (Derived*)base;

and then use both base and derived, is that not violating aliasing rules?
>we see the same set of trains, roads, hotels and attractions that they have really got boring

I'd love to see pictures from the acted scenes (subway) over a series of days, weeks, years. The "travellers" who are leaving every day.

Like The Truman Show.
What interests me about the gun debate (if one can call it that), is that there are ways of dying that are considered acceptable risks and ways of dying that are not. If you are driving your kids across town and get t-boned by a drunk driver and everyone dies, that is considered a tragedy. But no one will advocate giving up driving. Something really bad happened, everyone move on with your lives.

Or when a relative dies because of a medical error, they might be rage at the particular doctor at fault, but there isn't a general outcry against hospitals or doctors. Everyone will still urge you to go to the ER at first signs of a serious problem.

But if a lunatic shoots a few people in a public place, then guns should just be banned altogether and there is a general outcry and the POTUS needs to visit the victims to console them.

Maybe someone can enlighten me why the risk of gun deaths is so much less acceptable (to a portion of the population) than the risk of death by automobile.

EDIT: Skiing is purely entertainment. About 41.5 people die a year in skiing accidents[1]. This, too, is considered an acceptable risk.

[1] http://www.nsaa.org/media/68045/NSAA-Facts-About-Skiing-Snow...
Nope, quite the opposite, gun deaths of all sorts are down substantially. Less than half what they used to be.

And Dunblane wasn't a freak incident here's one from 1987:
https://en.wikipedia.org/wiki/Hungerford_massacre

Here's some data. Very clear downward trends since 1997.

http://www.gunpolicy.org/firearms/compareyears/192/rate_of_a...

http://www.gunpolicy.org/firearms/compareyears/192/rate_of_g...

Here's the Australian chart just for good measure:

http://www.gunpolicy.org/firearms/compareyears/10/rate_of_al...

Not to mention that of course "gun crime / illegal possession" went up. We'd just made it all illegal by definition...
Estimated 12.6M deaths by year are attributable to unhealthy environments
I'm not familiar with that institution so I might be committing a blunder here, but their reporting seems incredibly biased for a "research" institution, and I can't help but wonder what methodology they're using to classify their data.

E.g. take this article: http://crimeresearch.org/2016/01/compared-to-europe-the-us-f... . They're mentioning:

- 303 deaths in the EU. This is simply an incorrect result, it counts victims from Norway, which is not an EU member.

- Only 4 mass shootings in the US in 2015. I don't live in the US and I can name at least 6 that made the headlines over here in Europe (e.g. the Harris County mass shooting isn't included).

- Hundreds of victims in France -- which is correct in terms of numbers, but most of them were victims of terrorist attacks, not mentally-deranged students who bought a rifle one sunny morning and started firing around. Most of those incidents barely match their own definition: "four or more people killed in a public place, and not in the course of committing another crime, and not involving struggles over sovereignty".

- A high number of victims for Norway, all of which are due to the Breivik incident. Limiting the debate to the Obama administration has the convenient consequence of keeping Norway's figures high. It would literally be twice as low if it were to include the Bush administration as well; I suspect the figure for the US wouldn't be twice as low in that case.

Besides, the conclusion is highly debatable. It tries to obtain that "US becoming safer compared to Europe" but:

- It does not include data from all European countries

- It "statistically" (i.e. incorrectly) conflates countries with widely differing legislation and enforcement status. This is very blatantly wrong: Serbia, second in that list, has a very strong gun culture and very liberal gun ownership laws compared to other European countries. My Serbian friends can carry guns that are only issued to members of the police and military where I live.

I don't know enough about how things are in the US to challenge that institution's opinions on the US, but their analysis of the European landscape is shaky at best, betrays a very obvious cluelesness about European laws and Europe in general, and frankly, I think the numbers are nicely tuned to give useful statistics.
Obvious answer: Ban toddlers rather than end-to-end encryption.

On a more serious note, the gun deaths in America are a cultural problem (being careless with weapons, not locking them away properly, etc). No ban will fix culture. There are ways of improving the world without bans. I loathe the kneejerk reactions like "someone was harmed by X - BAN IT FOR EVERYONE!". What happened to self-responsibility? Why can't we just educate people and encourage them to train in the safe handling of guns? It's not that hard.
My understanding, and someone correct me if I am wrong, is the 2nd amendment was in no way held to be a generic right for all to bear arms until the 1970s.

The NRA created the gun lobby out of nothing at all.

EDIT: Found some links, it was 1977. here's one: http://www.politico.com/magazine/story/2014/05/nra-guns-seco...
Similarly I've found that talking through some deliberately broken code, and what improvements could be made to it, gives a good idea of what a candidate would be like to work with on real problems. It's more about the discussion than the code changes they come up with!
Hi Hacker News,
BookmarkOS is an online desktop for organizing, sorting, and browsing your bookmarks. Quick origin, I eventually gave up trying to keep my Chrome bookmarks organized and started dragging urls to my desktop and discovered that using a GUI is a great way to manage bookmarks.

For example, can't find a bookmark you opened last week? Click 'View all' and sort by last opened. Also, for me, it's easier to find a bookmark by visualizing where it is versus having to guess with search or tags. And browsing my bookmarks on BookmarkOS is a new habit that I never did before. I'd love to hear your thoughts and feedback on the site. Also, the site is currently on Product Hunt!

Cheers,
Dave
Thank you for this note, I will recommend it to someone close to me who has the same symptoms as described.
Actually, either far left or far right lean control freak.

Hitler and his Fascist ally, Mussolini, were both far-right contol freaks. Josef Stalin and his predecessors were far left control freaks.

People in power like control, contrary to what they might say. Power corrupts, absolute power corrupts absolutely. People want to be elected because of their egos. Full stop. There is no other reason. No one does it because "they love America". They want to latch onto the gravy train and collect a check all the while dictating terms and or furthering an agenda. It's patently obvious to all.
SEX FORUM – SEX FORUM
Actually, some people _are_ paying out that much on games on mobile, but they're doing it by way of in-app purchases rather than up-front licensing.
The problem with the 9x9 board is that it is just too small to allow you to really play go, it turns into a different kind of game. I think it is better to switch to a bigger board. It doesn't have to be the complete board, you can have some intermediate steps. The 9x9 board can be used to teach the absolute basics, but don't stay on it too long, you are probably not training yourself the right way. If your goal is to beat the computer on a 9x9 that's fine, but at some point it doesn't help you in playing the real game. My feeling is that point is reached real fast.
Add emoji support on your Elasticsearch
Catchy v. having its purpose immediately recognizable.
Sure, but the React homepage isn't static content... it has a code editor on it so that you can try out React right there on the page. That seems like a perfectly reasonable thing to want on the homepage of a JS library.
I think most people don't find guns crucial to their day to day lives, but doctors and cars are.
I am more interested to see how a major Rust project holds up when its attack surface gets larger. So the question is when does Servo get added to the Pwn2Own
Just as grep and cat solve different problems, work-sample tests and traditional resume-based hiring practices select for different candidates.

I wasn't arguing in favor of work-sample tests for every company and every candidate, just saying their scope is different (although work-sample tests are more likely to find the untapped potential in the marketplace).
I'm helping hire developers here at HelloFresh and I thought of this a lot.

A surprising amount of people don't maintain a very impressive public profile (me included, tbh). These people need the opportunity to showcase their skills and the only way to do so is by spending some time coding a nice solution.

We try to minimize the candidate's overhead by providing general guidance in the challenges we issue (like "please demonstrate the SOLID principles").

Then we do a code review on the solution, in which we also spend some time. We point out issues, suggest possible improvements and give props on stuff we consider well done. At the end, if the candidate doesn't progress they at least learned something useful. We hope that this way our recruitment process might always be worth the time.
Come and try the UK for a bit. People do not have guns.

If you like, take the time to go through the data and understand why it does not actually fit the reality of the situation here. Don't expect other people to disprove shit data.
Creating Customer Referral Marketing Program
When we hire, after a few phone interviews we give the programmer an in person coding exercise that is very basic. Open a file and parse data, etc... They can use the internet. It's very basic. 80% of the candidates cannot do that. I'm not exaggerating. Maybe I'm missing something here, but it's pretty astonishing to me.
As an aside, I can't find any data to support your second point. There seems to be a great deal of talk how companies can't find the engineering talent for bargain bin prices, this is why the H1B visas are so popular.

The biggest issue on this site, imo, is that we can't take our heads out of our asses and admit that the vast majority of programming positions are brain dead easy. You don't need a rigorous test to vet the developer you're hiring to make what is essentially a CRUD app (and your product probably fits that description). It's to the point where companies with deep pockets (think finance) don't even bother hiring solely CS students anymore. You can take any reasonable motivated graduate, put them in training for 2 months and pop out a budding developer for your tech pipeline. One two punch of competent tech worker, and company loyalty all in a super cheap package.
So, we should all be allowed to own bazookas and nukes and aircraft carriers? Because, if this is about securing the state (either against a tyrannical government, or a 3rd party), rifles and handguns aren't going to cut it.

Or, are you limiting your interpretation to firearms in common use at the time of the Constitutional Convention? In which case, you can turn in your Glock and your AK.

Point being, we already have established restrictions on firearms. These restrictions have held up in court (for the most part).
I understand the upcast (which is certainly legal but it forces the casting code to know the depth of the inheritance hierarchy - as in &derived->base1.base2), but what's the argument making the downcast back to Derived legal C? (I honestly wonder; personally I either compile with -fno-strict-aliasing or trust my tests to validate the build...)
I was one of this vast majority once, so I know how it feels. Eventually though however slowly, but I've gathered enough code samples on my github account, samples that are actually rather unique and at the same time useful and getting starred. It takes time, polishing, sure, but as a result quite a few companies stopped asking me doing coding tasks, so I'd say in the end it's worth it.
Because automobile travel has positive economic and social effects. You can't say the same about mass handgun ownership.
This is a nice release.

I've always been confused about V8 versioning. Breaking changes appear to come all the time in minor versions.

And there's this note from the release:

> Note: The version number 5.0 does not carry semantic significance or mark a major release (as opposed to a minor release).

So what does it mark? Why 5.0 at all then?
Key Metrics for Popular Growth Models
A meta bug in Mozilla parlance is basically the same as epic. It’s a bug that acts as a collection of bugs, that can be closed when all its dependencies are closed but doesn’t have any direct work associated to itself.
I'm not involved in OneGet, I was quoting the article when I said "we renamed...". The article dedicates some paragraphs to the reason for the renaming. tl;dr legal cost-cutting.
In that case, you probably know 100% of your peers, and it would be easy to find their work :)
But the phone has no (additional) prosecutorial value against Farook and Apple itself is not in possession of any evidence or information that has to do with the attack, which seems to be the reason why the FBI is using the All Writs Act.

What i am trying to figure out is if the FBI is saying that there is evidence on the phone of future attacks, or information about co-conspirators, or some other material that would lead to additional action. From what I have read, there is no indication that is the case.

What is it the FBI is gaining by unlocking the phone? Other than a legal precedent.
Grand List of Incident Management Frameworks
You may have not noticed with the current Node.js fad, but README does not
constitute a documentation. README is just a description of the project, along
with some contact information.
Its like asking why frat pledges are paddled when the muscular workout the paddlers get is inferior to the workout they'd get at the gym.

Its just hazing. Same mentality as giving them wedgies or shoving them in a locker.

classic movie quote: "Thank You Sir May I have Another?"
Descriptive Statistics in SQL
Then I guess most of the developers I've worked with should brush up their sandwich-making skills and quit their jobs.
"Mouse shoulder" is the bane of my existence. I also swap hands and try to use keyboard shortcuts as much as possible.
In Korea they also started using the equivalent of Sensei to refer to the AI after game 3 (or 2, not sure). A friend of mine lived there for a while, playing a lot of go with professionals (taught English, learnt Korean and worked remotely) so he knows the vibe there for that.
s/Monsanto/Matasano/
Very true! I find it disappointing that many candidates appear to put little effort in their cover letter. It's a chance to show me you can communicate well, which is maybe the single most important skill in working on a team.
I disagree. There are any number of failed JVM languages, and no non-JVM equivalent of Scala that I'm aware of. The biggest effect of the JVM on Scala was a "free" high-quality (and high-performance), multithreaded, garbage-collecting runtime (contrast with OCaml) which is an engineering-driven decision.
You sound like the kinda person who says "AI will never drive," "AI will never play Go." True there's a lot of hype, which ML experts are concerned may lead to another burst & winter. On the flip-side there's a lot of curmudgeonly nay-sayers such as yourself at which ML experts roll their eyes and forge ahead. What I find is both extremes don't understand ML, they're just repeating their peers. ML is big, and it's gonna do big things. Not "only Go", not "take over the world"; somewhere in between.
In the US, coal power is under 40% of the total generation mix already, and dropping. My car emits less CO2 than a Prius, despite being way larger, heavier, and more powerful, and that will only get better as time goes on. It also emits zero local pollution, which is a pretty big deal.

How much longer do you want to wait? Electric is better now and just keeps improving. It takes a long time to change the makeup of the vehicle fleet (the average vehicle on US roads is over 11 years old) so if you wait until the grid is 100% squeaky clean before you start to make changes there, you'll have to wait much longer before you see benefits.

I do agree that it would be much better to just tax things to account for their externalities and let the market shake it out. But since that doesn't seem to happen much, we have to work with what we can get.
Add to Cart for Apple iPad Mini MF450B
The best thing in Apple iPad Mini is fastest performance speed. it also have lots of features like 16GB storage memory and 512MB RAM with 7.9 inches Display Screen. You can buy it in £305.99 from TRD Electronics.
Tau is too large. We should settle on Pi * 1.5 (or Tau / 1.5), thus making life ... interesting for both Pi lovers and Tau lovers.
Test of elastic smartphone-size perovskite solar cell powering a smartphone
Gun ownership is less about protecting individuals from other individuals, and more about protecting our society from governments that want to oppress it. You could make the argument that no such power exists today, but that's besides the point. Powerful, oppressive, nations have existed before and they could exist again. An armed population is our last line of defense.
You say "incorrect", I say "incompatible assumptions". http://blog.reverberate.org/2014/09/what-every-computer-prog...

(TL;DR: Floating point arithmetic on binary numbers doesn't translate into decimal numbers intuitively, "weird" rounding errors appear.)
You are aware that administrative subpoenas don't need approval right? For example: the FBI takes an interest in me and sends a subpoena to my ISP requesting all opened email older than 180 days. No judge involved. Now one could argue that there is still judicial oversight, it simply occurs after the fact... But like I said, tens of thousands of such subpoenas go out every year - it is pretty unrealistic to think that any serious oversight is occurring.

So it is much closer to "meh, do whatever you please..." but more accurately it would be:

Executive branch: "Yeehaa! Get outta mah way checks and balances, we got bad guys to string up and no time for robe wearing slowpokes!"

Legislative branch: "Sounds like a great idea, white hats can do no wrong."

Judicial branch: "...blank stare...shrug".
Eliminating Delays from systemd-journald, Part 1
I'm sorry, but in a time where the US is killing people on the other side of the world using unmanned bomber drones based on just this international spying, I have a hard time believing that any of this should be "fair game".
Peter Thiel biotech unicorn Stemcentryx value slashed, up for sale
Because guns are expressly designed to kill. They serve no other purpose (ignoring sporting uses, as those are basically a proxy for proving how well one can kill with a gun). There is no reason anybody outside of the military needs a gun to carry out their day to day jobs.

That isn't true of cars or hospitals.
That's what probation periods are for. Use them.
You keep using that word [API]. I don't think it means what you think it means.
It's telling of Swift that Apple feels a need to defend the many weird things they did with it.
Given that performance is not such an huge issue as it used to be I believe that nowadays premature flexibilization is really the root of all evil:
http://product.hubspot.com/blog/bid/7271/premature-flexibili...
Sure, but it's O(n) rather than O(n^2).

Hiring decisions are hard to generalize, because different companies have different needs at different times.
The best candidates are too busy kicking ass and getting lured away with huge sums of money - and not waste time working for free.
Gangstalking is a paranoid delusion.
I'm going through the interview process this week at two different companies. One of the companies I found through an ad on Stack Overflow whereby they publish two programming "exercises/puzzles" with the opportunity to earn $100 for a correct answer to each puzzle ($200 total for two correct answers). While I spent more than eight hours on both puzzles, I found them to be thought provoking and I learned stuff in the process so I don't feel like I wasted any time and I got a check in the mail for $200. My code was reviewed by their dev staff so they had immediate feedback on my programming ability and high confidence to bring me in for an on-site interview. I like this process and consider it worthwhile.
Why not just ask them?

You're on the phone with them, you can ask them if they'd prefer a little challenge to showcase their skills, or whether they'd like to provide a portfolio example instead.

Maybe a bright self-taught college student switching tracks into software would pick #1, a parent switching jobs would pick #2.
This is the latest in a line of articles (and arguments) for that matter that completely fails to address the gun culture we have in the United States. It paints a picture that people who have guns are just these crazy old hicks, ha ha look at them with their silly guns.

First of all in large areas of the country (and around the world) guns can be useful tools of survival or hobbies, including around where I live. We have shooting ranges, gun safety courses, numerous retailers that sell them, and no mass shootings either alongside a healthy and large hunting population. Guns are important here is the takeaway.

It's awfully sad what happened to Jamie Gilt and that toddler is probably going to have some serious issues to work out as they grow up, but let's be clear: she left the gun loaded in an accessible area. That was her choice and now she's paying for it.

Second of all, the problem with this article is that it's basing all of it's arguments in the rational. Guns are dangerous; yeah, we know, they're literal killing machines, that's what they're for. Guns are unnecessary; maybe where you live and we could get by without them too, but we don't want to. We LIKE the guns, that's why we spend large amounts of money on them. In Australia they made big steps in what many consider to be the right direction with a buyback program, but if that was offered here I can honestly say I wouldn't go for it. I bought my guns for a reason; I want them here.

You know a Toyota Camry would probably be much safer and much more economical and better for the environment than a Charger with a V8 engine, but the argument of safety, economy and environment completely misses the reasons I would buy the Charger; it's fun and I like it. And I feel it's an essential part of our freedom to make certain that people are allowed to choose what they WANT instead of what is necessarily the best decision FOR them.

My $0.02.
Perovskite is a cheap, elastic material with great potential for solar cells: https://en.wikipedia.org/wiki/Perovskite_solar_cell
https://www.washingtonpost.com/world/prominent-n-korean-defe...