skysight-inc/HackerNews huggingface dataset:
In 2014, according to killedbypolice.net, the number of recorded killings by the police was 1111 [1], which would mean you have about _21 times_ the odds of being killed by police in a given interaction than they have of being killed by you. I haven't found any statistics on assaults from the police, so its hard to compare apples to apples there.

I'm not saying it's not more dangerous to be a police officer than the average occupation (I think it goes without saying that we expect it to be a dangerous job). But it's important to put these numbers in global terms as well. The assault rate according to those stats was 9%, with a 28.3% injury rate from assaults. To put that in perspective, assuming injury rate remains constant (which doesn't appear to be the trend, it appears to be going down), that means you have about a 39.7% chance of serving 20 years and ever receiving an injury from a criminal. For a normal occupation that would be high, but for the police that doesn't seem especially dangerous. Especially considering that about 80% of those injuries are from "Personal Weapons" (aka, getting punched).

Weather or not its an explanatory factor in a statistical sense, I don't know, but personally I can't see how that justifies some of these incidents.

[1] http://www.killedbypolice.net/kbp2014.html
It is more like an alternative to cmake. gypkg has a fancy way of managing dependencies. It is not like npm however, since there is no default registry/storage for dependencies.

Please let me know if I can answer any other questions!
I'm concerned about the "voting" feature. Years ago we had a downvote feature. Basically, downvoting lead to a big decline in the quality and level of discussion going on.

pg removed it because it was leading into a trend of people downvoting comments because they disagreed with them, not because the comment in question wasn't making valid points.

And if the collapse feature could be moved to the left, woot!
That's exactly what he said: that they don't work towards great outcomes.
I disagree. The point is that by creating a law which you by extension are asking the police to enforce, you are inherently increasing the number of times that the police will negatively interact with people.

The cigarette tax is interesting because this exemplifies a corporate entity/state which wants to protect its revenue at the expense of a person lower on the ladder trying to address a simple market situation, it's not one that I or you deal in, but this guy obviously did.

By making it illegal, the police must enforce the law. The guy then breaking said law is faced with a hard choice when dealing with the police in that situation, which is that he is going to be at a minimum fined or possibly worse. For a cigarette, which all sane people would say, "seriously?"

Our goal should be to have police enforce laws that we care about, and laws that actually matter. It reduces the chance for potential abuse of the law. Remember that most poor people are forced to work and live in more public areas, where richer people have more private property that shields potentially the same or worse incursions of the law from the police.
I notice when I navigate to /hidden there's a link called "hidden" that shows in the header with all the other main links, but it doesn't show anywhere else.
Here's a weird question. https://www.facebook.com/NationalMallNPS/photos/a.3795806520... Pokemon Go is designed to not only augment places where people already are but also to direct them to other places. My friend just ran down the Ninatic/Google connection. Can the app be used to direct people away from polling places and/or to congest areas around polling places?

To wit, would anyone be interested in tracking (I can do it for at least some locations) the locations of gyms in comparison to polling places? (I haven't used the app; can one get a location of gyms?)

[lol. let me clarify my interest would be in thwarting rather than harnessing this possibility.]
Yeah cause having a little card in their pocket stops people from driving in an unsafe fashion

Also seems to assume license testing is standardized with rigorous instruction regarding safety.

Some states don't require anything more than successfully completing a multiple choice test about signals and signs many folks end up ignoring anyway, and a brief on road exam.

People go in and drive safely for the 20 mins their subjected to a road test and sink into bad habits all the time.

I personally saw a wobbly 75 year old man with shakey hands (he updated his signature wearing coke bottle thick glasses) and a cane get his license renewal rubber stamped

Feeling safer already.
lol. Please tell me more about how Nordic people never established any colonies. The countries that made all the colonies are Nordic colonies in and of themselves.

https://en.wikipedia.org/wiki/Normans
That's what my parents said 20 years ago... hasn't died yet
And let me guess, you built your own rubidium decay device, as most do :)
Loggers, pilots, taxi drivers, refuse collectors, athletes/coaches/umpires all have rates of mortality that are higher than that of a police officer. Millions of jobs put workers at more than double the risk or even two orders of magnitude more risk than that of an officer.

For example, in 2011 and in California, the rate of mortality was 4.9 per 100k. The national average that year for all occupations was 3.5 per 100k.
One suspects if they got rid of their own expensive courts and police forces they might not need the fine revenue. :/)
You're obviously implying something here, make it explicit. Explain how the military is "voluntary". Explain "how it plays out in reality". Your implied arguments are a waste of space.
I know of a Business Analyst/manager who use databricks.com spark setup to understand/query & generate visualization from their data.

I remember them saying that the various integrations to data sources that databricks provides was convenient.

With Azure BI (https://powerbi.microsoft.com/en-us/) & Amazon QuickSight (https://aws.amazon.com/quicksight/) the market or such tools is getting competitive. I think your tool might be useful for small and medium businesses.

I would love to chat with you just to understand what you are up to. If you want, you can contact me using the alias email from my HN profile.
yeah, looks like the hackernews community is slightly racist
It's true, and it happens, not just in Big Companies.
> And the vast majority of Americans in the US have only one culture: the American one.

I don't think there is one unifying American culture. There are some common cultural elements, but there are fairly distinct regional (as well as racial/ethnic) cultures in the US.
> However the important difference is that they allow you 10 seconds to recover.

Not always[1].

1: http://www.badlefthook.com/2014/3/9/5486930/canelo-vs-angulo...
Thanks for your work.
Ask HN: Best reliable domain provider with a dead simple interface
I'm looking for a new domain name provider. I know domain names are a commodity. I want one that has a dead simple user interface. Please don't recommend NameCheap.
This is amazing. The video avoids too technical language, and basically explains the whole process of reverse engineering. I think this is the best explanation of reverse engineering I've seen in a long time.
Kinder defends itself after 'dangerous carcinogens' found in chocolate bars
They already did. In many industries, they made paying your labor every other Thursday obsolete.

Of course, since labor doesn't own said machines, they didn't exactly reap the benefits.
I'm using it only to hide obvious spam from the newest page that is already [dead]. It is boring to review the newest page later and see again all the spam. I hope this help me to find a the good stories.
Is anyone able to navigate this at all? I'm looking for Pedro Domingo's machine learning course.

https://class.coursera.org/machlearning-001

I know there are others but I really like his method of teaching, and can't seem to be able to find an archive of it.
Ok, I have seen the phrase "serverless" a few times recently. Can someone explain to me what it is (as I am pretty sure it involves a server - it runs on AWS ffs) and why I should want to use it?
And most importantly, is it web scale?
Guys, guy, can you look beyond what you see today? Filling gas is merely an MVP. The goal at the minimum is to manage every car post purchase

Gas is merely a way to start the relationship between the car and the owner.

car servicing is a massive low hanging fruit after the gas one. Presently my car is over a month due for servicing, I'll happily pay 15% more to get someone come do it where I parked it.

My suggestion to the founders would be to test switching between "refuelling" tagline and "serving where you are" and see which converts better. I believe too many people who need the second will dismiss you on seeing the mundane first.

Best of luck!
No need for key handoffs https://news.ycombinator.com/item?id=12073211
Are you talking about our present reality, or perhaps about some alternate universe in which good lawyers are inexpensive?
I think the worst part is that the fake hype works :/
Accusations of astroturfing without evidence are not allowed on Hacker News. Please don't do this again.

Also, you've been posting quite a few unsubstantive comments. Please don't do that; it's not what this site is for. If you read https://news.ycombinator.com/newsguidelines.html and https://news.ycombinator.com/newswelcome.html, you'll get a better idea of what we're looking for here.

We detached this subthread from https://news.ycombinator.com/item?id=12070518 and marked it off-topic.
Dive into GHC: Intermediate Forms
I was a total Webjay fanboi! I loved to let other people find new weird music for me...

I remember you being pretty knowledgeable on the "scene" back then -- what would you recommend today to do what webjay used to? Spotify is very curated and doesn't feel spontaneous at all, whereas Youtube is an unbrowseable cauldron of shit.
One thing that I find annoying is that when you get down-voted you have no idea why ... If your post is opinionated you can figure out it's a silent "I disagree", yet, without any reasoning. So you learn nothing.
Definitely agree, the collapse should now be prefixed and the voting should be moved elsewhere.

This design was the minimum change possible (which has a value, but usually a net negative one).
First-ever restoration of vision achieved in mice
Great book! Also, go read jOOQs blog: https://blog.jooq.org/
The problem of course being that an Open DRM is a fanciful oxymoron. DRM requires keeping decryption secrets from the user while allowing them to decrypt; if the user knows the algorithm to how those secrets are kept then the user knows how to access those secrets.

It's certainly interesting to imagine what an Open DRM standard might look like. It's probably something more like a "blockchain" than existing DRM.
One of the most useful options in Firefox is the checkbox "Allow pages to choose their own fonts, instead of my selections above"[1], also available as browser.display.use_document_fonts in about:config. When this is unchecked, Firefox will ignore all fonts specified by web pages and just use the much-more-likely-to-be-reasonable choice of default font you have made; and you can then disable web fonts, which will make pages load faster.

I don't think allowing websites to use specific font names in CSS was ever a good idea. It would have been better to limit them to predefined family names, which would map to fonts the user could customize. In any case, this allows me not to care about the whims of website designers and to always have text in a readable font. Only one issue: one of the unfortunate trends in web design is to use web fonts for icons. Not allowing websites to specify different fonts from the default also happens to break the icons. This isn't enough of a big deal for me to disable the option, but it's an annoyance worth knowing about.

[1]: https://clbin.com/bFSlHF.png
Shooting back? So law enforcement shot first?
Yes[1].

If you're still not convinced, ask Publius[2].

[1] https://www.indexoncensorship.org/2014/01/five-activists-pun...

[2] https://en.wikipedia.org/wiki/The_Federalist_Papers
The type definitions in flow are pretty much the same iirc. Also decorators is already an ES proposal, the only concern was the order of application of decorators vs declaration, they've been applied pretty consistently.

As to the additional checks for non-null types, I'd say that async/await would be far more welcome at this point... it's one of the few reasons that those using TS are still running their output through babel after.

Personally, I'm not a fan of TS, but can see why others would like it... I'm pretty good with ES2016 + Stage-1 via Babel...
Yes. I'm not sure if I need to re-log in the app or not though. Maybe if it didn't freeze and I didn't have to re-log then it might have left the access revoked. But it seems that once I re-log the full access goes back into effect.
SQL Pocket Guide. Thin, small book. No fluff. Just syntax and solutions for all the major vendors. If I could only have one book while developing it would be this one.

https://www.amazon.com/SQL-Pocket-Guide-Jonathan-Gennick/dp/...
Would you consider adding custom color settings for the background and font colors? You offer color settings for the top bar, why not for the rest of the site?
ah, damn. I've been baited as the kids say.

hook, line and sinker.
> Which problem do you expect to be fixed first?

Demilitarizing the police takes building a coalition for a single, focused, legislative action. Preventing all new, and eliminating all existing, legislation that you aren't willing to have the state kill to enforce requires a lot more.

So, I'd say that demilitarizing the police is a lot easier.

> Every new crime can be fought right in the legislature here and now. Who can demilitarize the police?

Demilitarizing the police can be fought right in the legislature, here and now, too.

EDIT (to respond to yours):

> [EDIT:] Are police unions, bar associations, and armaments manufacturers just going to sit out the session in which you get your miraculous "just do the right thing ok cops?" law passed?

I don't see bar associations particularly likely to oppose demilitarizing police; OTOH, police unions are often opponents of efforts to decriminalize minor offenses that are useful as pretexts (and often are sponsors of new criminalization of this type.) So, is it easier to build a coalition to beat them on one point, or thousands?
I followed your testing instructions on your comment. Test passed.
TLDR (or TLDW*)?
I think you can search for column names by querying the information_schema to the table schema (at least in postgres)

select
table_name
from
information_schema.columns
where
column_name ilike '%foo%';

see https://www.postgresql.org/docs/devel/static/infoschema-colu...

For searching for items with '%foo%' in all tables and columns, yeah i think that you're probably right.
http://stackoverflow.com/questions/5350088/how-to-search-a-s...
You can make more engineers, but there are at least 100 international corporations with software development offices in India, plus Tata, Symphony, etc. in line ahead of Samir's App Dev Shop to hire them. They've got recognizable brands, lots more money, and more stability.

Plus it takes good general education to be a good software developer. Once you get outside of first tier Indian universities, it gets thin pretty fast.
It just means you don't have to worry at all about managing the servers, using thing like AWS Lambda which handle it for you. Generally these services will scale up and down for you as well.
I don't think it will do any harm. If 100 people comment on something I'm not interested in, it's rare indeed that my opinion would change to find it interesting. Granted, all this means is that I'm part of the target demographic for the "hide" feature. I like it. Although it's going to play havoc with my super-advanced self-discipline system, which is the break at the end of page 1!
I agree with most of your points here. But regarding malware, even without malicious intent, if the large amounts of apps are made without much thought to security, number of malwares and security risks would definitely go higher
It's just marketing hype. As you noted there is no such thing as serverless. It is another architecture that forces you to use AWS Lambda and API gateway and a few other services to glue everything together. The idea being that if you are just shuttling bytes back and forth then the overhead of the traditional deployment is too much and you're better served with what looks like an event bus with some transformers sitting in the middle.
The whole thing is based on unrealistic expectations. People work somewhere in the Bay Area, or launch a startup there; it's one of the most expensive areas in the country, maybe the world. Then they don't want to pay enough so that there is no shortage of employees.

So then the talk turns to bringing in H1Bs who will work for the low end of the "prevailing" (Ha!) salary.

Why don't these companies cut to the chase and just open an office in India? Or have the entire operation there?

Or are some of them actually not trying to change the world by delivering better toast to your door, and they just want to live in the Bay Area?
Has anyone successfully and painlessly used Lambda+API Gateway in production as their main backend? It appears Lambda has many limitations, but I see rather mature frameworks such as Serverless (formerly JAWS) being promoted here, and now Amazon is also working on their standard framework.

It would be great to just use CDNs and this; get all benefits of using a PaaS with IaaS-level costs only!
Banking Through Rose-Colored Glasses
I never heard about "Cheryl's Birthday" puzzle until today, but back when I was at the university I heard about a different (and in my opinion, more elegant) version:

Instead of day and month the two person involved must guess two natural numbers. One knows only the sum of the two numbers, the other only the product, but the dialog between them is exactly the same.

It's been a number of years so I'm not sure about the details; I think the numbers were strictly positive, but I don't know if the first to talk was the one knowing the sum or the one knowing the product.
AWS Lambda is cool and all, but aren't people doing the math on this? Lambda seems like a really expensive way to deliver almost anything. Likewise, the AWS API Gateway is expensive, but at least provides some additional capabilities. Lambda seems like its profitable niche would be very small; limited computing environment, very high cost (relative to almost every other way to host an API), and having to learn a whole bunch of new APIs and processes to make it all spin.

Am I missing something?
A new replies counter next to threads would be very nice to have.
Now it’s easy to see if leaked passwords work on other sites
Yay! Been waiting for collapsible comments for ever! Thanks!
Looks like there is an unvouch for vouched comments too, or was that there before?
I agree with Chuck, by the way. "stories" is much less clear than "submitted". Perhaps in the theme of verbose clarity, "submitted stories" would be a good label?
It means it runs using AWS Lambda and allows access via the API Gateway... it's literally in the second sentence with links to explain what those technologies are.

Lambda's are just units of code that run only On-Demand and without having to manage one or more EC2 instances or a container platform.
>2. Banning popular communications platforms like Slack, Google Chat, Skype

What? Who would do this?
> They're not acting as judge/jury/executioner, they're defending their lives.

Often, in the cases that become national controversies, in cases where the specific facts do not present a reasonable fear of imminent danger.

Police taking reasonably necessary action in defense of self or others is not particularly controversial.
What sort of fool would put themselves into a position where they need to "defend their lives" on account of some schmuck selling cigarettes?
Can you elaborate on 'everything is broken'?
You mean the 'hidden' label in white? That's just there to tell you what page you're on. All pages have it (or should have), whether or not they're normally linked in the top bar.
You're not. You're paying to play it more efficiently. I could spend 30 minutes collecting 8 Pokemon (lets say that gives you 3000XP) or I could use that same 30 minutes to collect 16 of them and double my XP on top of that (giving you 12,000XP). This lets me play the game faster. You aren't buying anything other than the ability to do more with less time.
You can take the larger view that your co-workers' children will one day pay your Social Security. That seems like a huge net plus for you.

But seriously, the remarkable part of your comment is your HR department. If someone in HR hears a valid complaint about fairness and then tells you to read the "don't be a whiny bitch" parable in the Bible, you should be able to get away with murder at that company. Why not clock-in a 4:50PM and call it a day after 10 minutes per said parable.
It's definitely not as elegant as Scala or Haskell, but I think their justification is very reasonable. The current implementation is maximally compatible with existing usages of tagged unions (e.g. Redux actions), because it allows you to choose whatever discriminant you like ('type', 'kind', whatever). Keeping very close to JS seems to be a core tenet of TypeScript and is quite valuable in my opinion. It means they can adopt new ECMAScript syntax without clashes and also ensures that newbies have a smaller learning curve. Also, they can always add in some syntactic sugar later if they want to!
Why am I this happy about a very tiny change to HN.
Interestingly there was already one from the Guardian but HN didn't bring me to the original post!
These countries now all have bail in legislated
Because driving with a busted taillight is illegal? I've had a similar situation where I had an electrical problem and the taillights were out in my car. (Brake lights still worked). Got pulled over and cited for driving without insurance. The original investigation into a minor traffic violation escalated to a bigger infraction, and a bigger fine.

It's a very common police tactic to start with a minor infraction then investigate to find any further violations. This isn't wrong, and is actually good police work. But it can be easy to abuse if applied with a racial bias, or some other prejudice. (And which is why independent police oversight is a necessity. Not just for high-profile killings, but also for monitoring how law enforcement operates in the community in small ways).
For other people's interest - there is a "Reddit New Comments Highlighter" chrome extension that does that for non-gold users.
I wouldn't say they crushed Sony and MS. They sold a lot of Wiis but not a lot of games per console.
I agree with you and it seems to be a semi-proven model with https://www.yourmechanic.com/ being the leader in that sort of thing atm.
The suit had merit. Raise your salary to $1M+ but don't pay out any money to shareholders and suddenly 40% of a booming company isn't worth very much.
Sorry if I'm misunderstanding you, but are you implying that (a) the CEO announced this salary increase to deflect any negative reaction to this suit, and (b) that denying any ulterior motive supports that theory? Both points seem shaky to me, unless there's more compelling evidence than the circumstantial timing.
I would like to see these type of free cert programs offered by Google and other tech leaders in the US. I assume they might be but maybe its not publicized?
if you follow the links within their articles you will find the hard evidence.

even crazy people sometimes talk about true stuff too.