skysight-inc/HackerNews huggingface dataset:
Of course, the police will find a way to weaponise them. In the end, the Police will justify its weaponisation by saying things like “it is for Officer’s safety” or “It neutralises a ‘threat’ without putting a officer’s life at risk.” Similar avenues have been taken already to justify small police stations owning fucking tanks in USA. A more realistic route, I’m willing to wager on, is that Military will do it first and it will handed down to a Gestapo Force near you! Er, I mean Police Department!
What's the reason to link to AMP instead of the actual page? It's not like the Telegraph can't stand HN's hug of death.
Ask HN: What is your best passive income?
Any side projects.
Tesla CEO Musk Says Company Is Flattening Management Structure in Reorganization
The one time I worked with a management consulting outfit, the team had a very sharp partner, a fairly inexperienced but sharp associate, and another associate who... wasn't so sharp.

I wouldn't overestimate the value of the dedicated research they do. In my experience, the research was mostly interviewing and getting educated about a market and technology that the product managers, etc. were already familiar with.

It felt like sort of a waste of money but it did validate pretty much what we were doing anyway. They created some elaborate financial model which was fairly useless but which was the sort of thing internal business staff liked.

Net net. It was probably useful from an internal political perspective (which is always a consideration) even if it didn't deliver any particularly novel insights.
I was just illustrating a point. She’s not an enthusiast at all. Software is strictly her job and she’s doesn’t care about it outside of work.

It baffles me because my initial reaction to someone like that is to think they’re not good. But she’s really good. She’s able to pick things up on the job fast and is extremely focused on her work. I OTOH always need to use my personal time to learn things and have trouble focusing, despite being a tech enthusiast.
Except when it comes to Obamacare and Medicaid.
There are links to Epicurean and Taoist philosophy.
Agreed; it's completely anti-biblical. This is explicitly addressed in John 9, that sometimes bad things happen to people and it's not because they're evil or because they deserve it. Arguably one of the most important central tennants of Christianity is "you are not a good person, you don't deserve grace any more than anybody else does, and God loves you in spite of that."

Yet somehow there are huge portions of Christianity that take the complete opposite lesson. It's like if there was a sect of the Open Source movement that went around telling people "the best thing about Open Source is that nobody can use your software unless you give them permission."
The law is weird all around... the NBA originally supported it. It was sponsored by NJ Senator/former NBA player Bill Bradley. It gave NJ a 1-year window to legalize sports gambling and be grandfathered in... which they declined to do at the time.

The NBA now supports it. Trump supported repealing it while campaigning but the solicitor general opposed it at the supreme court...
For folks who just want a FaaS platform that comes with all the batteries included:

https://StdLib.com

For folks who already have AWS infra and want the benefits of Lambda without the pain of API Gateway or Cloud Formation:

https://arc.codes
Apparently, because I don’t know what you’re talking about. 30 years ago we were celebrating a vigilante who threw a criminal off a building in revenge for the death of his parents. [1]

[1] https://en.m.wikipedia.org/wiki/Batman_(1989_film)
Entropy gives the impression of irreversible time, as well.
12,000USD..... Holy sh*t that is good money for just having a RPie running!
Would you mind sharing an example?
I was wondering how long it took to write such content rich article, then I saw this:

> Hours spent on this article to date: 230.56.
Cryptocurrency ban in Zimbabwe not stopping Golix ICO
There was a period maybe around the election in 2016 when it was a very frequent topic of conversation. That may have been spurred by the Obama administration's announcement that they'd stop using private prisons for detention of illegal immigrants at the border. Hillary I believe said she'd do the same if she became president. As a result there was a lot of talk about it.
Fuse is free and open source
>Victims of rape sometimes, years later, admit that they lied.

Sometimes they lied, sometimes they identified the wrong person, sometimes they were coached into it by someone else. Ex-wives frequently accuse their ex-husbands of rape, and also evil parents sometimes coach children to allege the other parent of molestation.
previously: https://news.ycombinator.com/item?id=16946900
> Should we initiate a recall? Take the number of vehicles in the field, A, multiply by ...

Did you pick that example because of the Ford Pinto case? In case you didn't know about it, that's exactly the cost/benefit analysis that Ford did when they discovered that the gas tank on the Pinto would rupture if the car was hit from behind at 31 mph or greater. Here's the infamous internal memo:

http://lawprofessors.typepad.com/tortsprof/files/FordMemo.pd...

Look at Table 3 on page 6. Paying $200,000 per death would cost $49.5 million. Strengthening the tank at $11 per car would cost $137 million. Clearly it was cheaper to pay settlements on the deaths.
...and outdated, as it's 2018 now and XEP-0387 exists.

Actually, most of this FAQ is severely outdated, XMPP already catched-up in most of these points. Some clients are lagging, sure, but that's just a matter of time for Matrix to suffer from the same issue.
I agree that it's the opposite of Christianity, at least in that in the RCC catechism good things happen to bad people and vice-versa, at least here on earth. The books get balanced in the hereafter. That's why the meek will inherit the earth and the rich enter heaven only by pushing camels through needles
Show HN: DuckRails – easily mock API endpoints (docker image available)
I'm the CTO at ProcessMaker and so I might be a little biased. Our customers use our ProcessMaker BPM product if the workflows require human intervention through forms/email other interactions. The reporting tools assist in monitoring and dealing with circular chains.

If you are a developer and want to develop your own system around a workflow engine, we also have www.processmaker.io which is a workflow engine in the cloud. So all the infrastructure hassle is taken care of for you and you communicate via an api to build out your workflows and execute them. I feel like that's better described as an orchestration engine however it supports task assignment to people. An approach like this works well with microservices since it can act as a microservice orchestration engine with a more human workflow approach.

Both of these approaches can be long running (some customers have year long processes running).

Let me know if you want to know more details, happy to share.
> Similarly, 'game' and even 'fowl' are sometimes not included, with 'meat' reserved for the slaughter of domesticated animals.

The article explicitly discusses meat, fowl, flesh, fish etc as different things.
This is true, and yet, this article has none of those problems. In fact, to me it was an interestingly fresh perspective on the purpose of Null, and how explicit Null is just one possible approach to a consequence of programming languages that's ultimately unavoidable. And even explicit Null has huge variety in how it might be implemented, and that how your program interacts with the language's decisions around how to deal with Null/Maybe/Optional should be part of your design process and style decisions.
> The most successful solutions are ones that do not require quality or diligence from the practitioner.

Until it goes "Boom". In production. With real $$ on the line. And that's where the CTO/VP of Eng recognizes that his developers don't actually understand how their system works and hence can't bring stuff back up in minutes or even hours .
People probably don't know what you're talking about. Happened to walk through it a couple of days ago on the way to something I wanted to see. It was... different and somewhat weird in the context of the medieval wing in general.
> and does so in a way that encourages personal growth, integrity, and compassion over moral nihilism as a response

I appreciate you including that. When media does trend towards "reality is complicated" very often it feels like to me its ending with the lesson 'everybody hurts everyone so just get used to it and stop classifying anything as wrong or right.'
Right! Although, the precise holding in this case actually gets at the opposite (more unusual) situation.

It has already been established that the federal government can't compel states to enact laws or enforce federal ones. [1] (The "federal" drinking age is OK because, IIRC, it was not actually done through direct compulsion, but by conditioning the grant of federal highway funds.) The interesting thing in this case is that the Court has also concluded that the federal government can't forbid a state from enacting a law. Of course, the federal government can still enact its own laws (subject to the Constitution's usual limits on federal power), which would preempt state law. This was a weird case where the federal government tried to do the former but not the latter.

[1] For example, https://en.wikipedia.org/wiki/Printz_v._United_States
I think the O(row * col * light_count * dist) algorithm could be optimized to run in O(row * col * light_count).

The idea is, imagine the light is coming from the left, and our height map consists of a single row that looks like (0,5,2,7,1).

By using the angle of the light, we can compute from left to right whether the current point should be visible. We only need to store the last point that was also visible since that is the only point that can block us from this light source. For the given example, at point of height 2 we only need to care about the previously visible point of height 5. If 2 isn't visible, 5 remains the "highest" point, if 2 is visible, 2 becomes the "highest" point, there is no danger that 5 will block something beyond two since 2 wasn't blocked. So at each point we only have to check with one previous point, not all.

If the light isn't coming from exactly the left side, then we can tranform the image so in such a way that the light is now from the left. This transformation will take O(r * c) time per light.

Total complexity: O(transforms + visibilityChecks + mergingResults) = O(l * r * c)
> Plus, XMPP can be used for great amount of stuff non-IM related, while Matrix seems very focused around its IRC-like use case

I don't really agree here. While Riot is focused on a IM use of Matrix, Matrix itself is open enough to be usable in any use case requiring a payload to travel from A to B. You could think of Matrix use in IoT, social networks, forums, etc. Some people even made a working PoC of a blog using Matrix, and I heard some others are also working on building a system to bypass information censorship using Matrix as its only back-end.

I don't know XMPP enough to state which spec is wider than the other, but what I know is that Matrix isn't limited by what Riot or other Matrix-based IM clients can do.
We may long argue who should prove what and why, pointing to existing successes or failures. For me it's more interesting to figure out if the idea has merit, as to me merit is a hint to value.

Bitcoin whitepaper state goals rather clearly, and the problems outlined there aren't going anywhere far right now. So the question is, can cryptocurrencies provide a solution? I'd say it's too early to say.

Bitcoin looks like a much more serious idea than this article to me. On that level of analysis approaches like "come on people... etcetera etcetera" seem somewhat half-baked. The imagination jump which creators of cryptocurrencies made is much more significant and deserves a better review. The article is a good reminder that we need to think more here.
https://en.m.wikipedia.org/wiki/Ethnic_issues_in_China
Zarine khan Hot Photos
Thanks, I will correct it soon.
This extension was inspired by Alfred on MacOS.I vaguely heard about Ubiquity addon, but I haven't used it.
I work in facial recognition, where the application is treated as a sensor, and it must interface with an unknown infrastructure. Faced with this uncertainty, we chose what the author here calls "fat binaries" - our single application is pure C++, fully self contained with a complete HTTP/REST Server included. No dependencies. We publish both Linux & Windows versions, and find superior flexibility and performance over those using Docker / standardized VM technical strategies. Our running application sits in 500K of RAM, runs performance circles around anyone we are compared, and easily can be added into containers or VMs soas to be compatible with clients Docket/Container/Standardization strategy. However, we can just as easily be run on a Raspberry PI, an Intel Compute Stick, or even right on the paltry 1MB hardware inside an IP camera. Try that with Docker.
>I cannot imagine how a person, peddling such a contract, could possibly sleep at night.

Simple: because they're evil, psychopathically twisted and demonically evil, just like you said.

And the government officials who agree to these contracts are just as demonically evil.

I really think that estimates by mental health professionals that psychopaths are only 5% of the population are probably far, far too low.
Yeah, I don't know. The biggest Mirai traffic spike involved a pretty simply volumetric GRE attack; GRE is its own IP protocol, so I mean it's trivial to filter but also lots of middleboxes won't even forward it in the first place. There was some confusion about how bad the Mirai attack was because the propagation code for Mirai, independent of the DDoS attacks, managed to crash some routers.

It's definitely not the case that all DDoS attacks can be reliably cleaned up in an ISP scrubbing center.
The site in question on that bug is CPU heavy on all platforms
> Also, be careful with the word meat in old texts

Reminds me of the barnacle goose.

https://en.wikipedia.org/wiki/Barnacle_goose#Folklore

Folks in the middle ages had some confused ideas about where the adult geese came from (thinking they started life as barnacles!) and thus meat from this one particular bird was approved to eat on fast days.
I don't think you can for environments with continuous exposure - http://www.rstahl.com/fileadmin/Dateien/tgus/Documents/ExPro...

usually there is a requirement not to use any relays that have physical contactors and other similar parts.
The "tough on crime" crowd doesn't think things through this much. All they care about is punishing people.
I'm having a chuckle at the idea of the mantle becoming dangerously polluted and causing protests, environmental protection laws, etc.
Exploring Progressive Web Apps to Enhance EBay’s Mobile Experience
Tesla to undergo management reorganization, Elon Musk aims to flatten structure
Yeah, you’re spot on. The world is becoming an increasingly scary place.
Global food crisis triggered cultural shift towards junk food, say researchers
Mine gives an alarm when you take the key out of the car already. "key not detected" or some such.
It's certainly an interesting judgement.. Whereas Congress can "regulate" and not at the same time. Long story short, it looks like more gambling is in.

And the longer view, is more people will be impoverished with more easy to obtain gambling. Sure, a few will win it big, and they will be flaunted out for the city/state/US to see. But on whole, more people will be harmed with this.

But I'm sure it shovels money around sufficiently, making the GDP look like it grew by a .1% Good 'ol "Parable of the Broken Window", at it again.
TIL: I should be using Mutt.
Based on the title, I was nearly convinced that this would be about Arthur Whitney (author of the K and Q programming languages)
Sorry I don't check hackernews for replies frequently.

That bug refers to high cpu load on that page. On that page it is due to the animation being driven from javascript.

If a simple CSS animation causes high cpu usage please file a separate bug with an attached test case.
> The only way I can think of making this sound and well-typed, is that null supports any fields and any methods, returning always null. This doesn't fit well how many of the languages actually do.

This is what Clojure does to an extent - in Clojure, it is called nil-punning and implicitly handling nil values by using the functions that return null on null input makes the code concise and is considered idiomatic practice. In other Lisp dialects, this is even more common, as far as I know.
This is basically how it worked in colonial America. They didn't have prisons (they were considered cruel and inhumane punishment), so instead they had swift sentences: public humiliations, floggings, brands, and executions. After their sentence, if they survived, they could return to life instead of rotting away in a cell for years. They only had gaols for waiting until a trial.
Show HN: Kind and Green News – HN for animal welfare/rights, clean meat/tech
> per drinking ages...

It is worth noting that alcohol regulations might be a bit of a special case. It not merely a federal crime but is unconstitutional for a corporation or individual to transport alcohol into a state in violation of the laws of that state.
Mark Elf sounds like a name (in fact there is a famous guitarist with this name). I assumed that the purpose was to misdirect us so that there was an "a-ha" when you discovered the real meaning of the words, a-la a garden-path joke.

I might be reading too far into it though, apparently the story _was_ originally published as MARK XI[0].

[0] http://mporcius.blogspot.ca/2014/05/three-stories-by-cordwai...
I’ll sell you mine for $1000. OK?
The bit about logic was mostly in response to the previous article that argued that we shouldn't use Null because logic doesn't have Null. But that's not true.

This author is ultimately making the point you are making, which is that there's a concept that every programming language has to grapple with. Some call it Null. Some use more formalized means.
On Android, the OpenKeychain app suits my needs just fine on the rare occasion I need to encrypt/decrypt on mobile, though I've never used its email integration... Apart from that I have basically the same workflow. I wrote a GUI program once to play with Clojure + Apache Pivot that lets me copy/paste text into the program's text fields and gives a dropdown of public keys (or an option to add a key), that's sometimes a bit more convenient. I can also explicitly manage whether I add myself as a recipient or not, lots of email clients seem to automatically encrypt to the sender's key as well so they can read it later.
Currently membership is invite-only. Please don't hesitate to ask for an invite. Just let me know the username you would like. Looking to grow the community!
Wondering if biphasic sleep was involved with those schedules -- but it is not obvious to us now?
https://en.wikipedia.org/wiki/Biphasic_and_polyphasic_sleep#...
"Historian A. Roger Ekirch has argued that before the Industrial Revolution, interrupted sleep was dominant in Western civilization. He draws evidence from documents from the ancient, medieval, and modern world. Other historians, such as Craig Koslofsky, have endorsed Ekirch's analysis. According to Ekirch's argument, adults typically slept in two distinct phases, bridged by an intervening period of wakefulness of approximately one hour. This time was used to pray and reflect, and to interpret dreams, which were more vivid at that hour than upon waking in the morning. This was also a favorite time for scholars and poets to write uninterrupted, whereas still others visited neighbors, engaged in sexual activity, or committed petty crime. The human circadian rhythm regulates the human sleep-wake cycle of wakefulness during the day and sleep at night. Ekirch suggests that it is due to the modern use of electric lighting that most modern humans do not practice interrupted sleep, which is a concern for some writers. Superimposed on this basic rhythm is a secondary one of light sleep in the early afternoon."
To be honest, I am getting a bit sick of both the TV Series and the book series.

The TV Series started off excellently, and I think they've cast some excellent actors. Unfortunately, some of them just grate on my nerves. I'm just not convinced by Steven Strait's performance - the character he plays (Holden) is supposed to be a shortsighted idiot a lot, but Strait comes across as more of an emo kid.

The changes in the storyline, while I can understand some changes needed to be made due to the different medium, the whole current storyline in the season is just confused and the motivations of most of the players are unconvincing at best.

With the book series, I think I'm one or two full books behind, because I just lost interest. The Philipe+Father storyline could've been interesting, but instead it was boring.

Instead of focussing on a few main aspects, it's fragmented into dozens of storylines about all sorts of inconsequential and otherwise unimportant characters, and I feel like I need to carry a reference guide with each character's backstory to-date on me to be able to follow everything.

While I'll be sad to see the TV Series die, this will be mainly be because I doubt I'll see Shohreh Aghdashloo or Wes Chatham play roles quite like those again.
Modpacks and worlds for minetest are a bit tricky, since you need the right version of all the mods for things to work properly, and sometimes newer versions of minetest break old mods, so there is definitely some manual labour involved in setting up a nice modern server where everything just works. It can be frustrating finding a subgame or mod that you want to use but hasn't been maintained and is broken.

The whole thing can't be too hard, because my kids running Debian were able to download and install dozens of subgames and mods to their computers and self-host for their brothers. All I had to do was show them how to unzip, move and (if required) rename folders.

The directory that mods are placed in will effect how it is loaded. It would be redundant to write it all out here, so check the wiki [1].

The best place to find out what the newest mods are is the forum [2], specifically the mods forum

For a good game (essentially a modpack) to start with, try Mineclone [3]. It tries to create a Minecraft clone, and is very active. My kids were also obsessed with Lord of the Test[4] for a while

[1] - http://dev.minetest.net/Installing_Mods

[2] - https://forum.minetest.net/viewforum.php?f=46

[3] - https://forum.minetest.net/viewtopic.php?f=50&t=16407

[4] - https://wiki.minetest.net/Games/Lord_of_the_Test
In some cases, it's even possible to link statically against musl libc. Granted, this is easiest to do with an Alpine Linux VM or container.
There is no prison industrial complex in The Netherlands, as all prisons and jails are owned by the government. There is no incentive to increase the inmate population. I wouldn't call it an American problem, but there is definitely a very large difference between the American and European approaches to imprisonment. If you're interested in learning more, check out Breaking the Cycle (https://www.youtube.com/watch?v=NuLQ4gqB5XE): it compares a Norwegian high-security prison to an American one. Main takeaway: if you imprison people in order to make them better persons, threat them as actual human beings; punishment is not the primary incentive of imprisonment.