skysight-inc/HackerNews huggingface dataset:
In a world where some police forces don't use polygraph lie detectors because they are deemed too inaccurate, it baffles me that people would make an arrest based on a facial recognition hit from poor quality data.

But no, its AI, its magical and it must be right.
Yeah, facial recognition can be useful in law enforcement, as long as it's used responsibly. There was a man who shot people at a newspaper where I lived, and when apprehended, he refused to identify himself, and apparently their fingerprint machine wasn't working, so they used facial recognition to identify him.

https://en.wikipedia.org/wiki/Capital_Gazette_shooting
> The virus can also induce the production of proteins known as chemokines and cytokines, which can trigger an immune response that might also kill the cells, according to the study8 published in Cell Stem Cell on 19 June.

I wonder if there's anything we routinely give to people that might trigger a similar reaction that would explain the rising rates of type 1 diabetes worldwide?

Probably nothing. These autoimmune conditions obviously can't be caused by things that intentionally trigger increased immune responses. https://www.cdc.gov/vaccinesafety/concerns/adjuvants.html
He wasn't arrested until the shop owner had also "identified" him. The cops used a single frame of grainy video to pull his driver's license photo, and then put that photo in a lineup and showed the store clerk.

The store clerk (who hadn't witnessed the crime and was going off the same frame of video fed into the facial recognition software) said the driver's license photo was a match.

There are several problems with the conduct of the police in this story but IMHO the use of facial recognition is not the most egregious.
Astronomers found an Earth-like exoplanet orbiting the solar system nearest star
My dad used a Tandy Dreamwriter for many years to write on while working as a travel journalist, well into the 2000's.

Small, Z80 based, with a few lines of text on the screen and powered by AA batteries. Other journalists used to laugh at the 'old guy with the Fisher Price computer', but the instant-on and distraction free typing was a definite advantage. Pretty nice not having to worry about a fragile, expensive laptop while out in the jungle or whatever, too.
Facial recognition is a solution to a problem we don't have. It is the smartwatch of ML.
I think what he's saying is from a production standpoint, the new feature is feature-flagged, and that feature flag has the feature disabled. From a test environment standpoint, you can then enable that feature flag/combination of feature flags, test until your heart is content, and only enable in prod if things go pear-shaped. And if they do, well...it can be as simple as turning that feature flag back to disabled, unless state changes prevent that.
It's not a question of whether people have empathy. It's a question of whether they're going to fire you from your job or boycott your business if you aren't actively celebrate the cause de jure in the approved manner.
Tell HN: Flood.io Security Breach
Email -

What Happened?
---
On 21 June 2020, automated systems detected a security breach of services provided by Tricentis Flood. We took immediate action to contain the breach and have since been carrying out further investigation, remediation and notification measures. The incident is reported on our Flood incident status page: https://status.flood.io/incidents/gsw7vx8cqxk5

This incident is also closely related to last week's strategic Cyber attacks on Australian authorities and businesses: https://www.abc.net.au/news/2020-06-19/foreign-cyber-hack-targets-australian-government-andbusiness/12372470

We believe the purpose of the attack was to steal customer data and, credentials that allow Flood to orchestrate load testing infrastructure for customers through third-party cloud providers. These credentials are used by a subset of Flood customers who utilize our 'hosted' grid infrastructure.
You're right, installing any new browser asks you to select a default browser again, but puts the current default browser at the top of the list.
Another reason that it's absolutely insane that the state demands to know where you sleep at night in a free society. These clowns were able to just show up at his house and kidnap him.

The practice of disclosing one's residence address to the state (for sale to data brokers[1] and accessible by stalkers and the like) when these kinds of abuses are happening is something that needs to stop. There's absolutely no reason that an ID should be gated on the state knowing your residence. It's none of their business. (It's not on a passport. Why is it on a driver's license?)

[1]: https://www.newsweek.com/dmv-drivers-license-data-database-i...
I too am curious about the internal motivations of people who work for Facebook. Something I've noticed about myself is that I would be okay with working for a US defense contractor, ie a company which makes machines that literally kill people, yet I could not picture myself working at Facebook. I struggle to square this morally, because I also believe that defense contractors have a greater net negative impact on society than Facebook does, but there is something "icky" to me about Facebook.

I used to commute with a group of folks from Facebook, Oracle, and Amazon, and none of them seemed to have any moral qualms about their employers. My buddy from Oracle invited me to apply to work on his team, and in explaining why I couldn't consider working at Oracle, I mentioned some recent terrible thing Oracle had done in the open source community. His response was that Amazon contributed even less open source (which I believe is true). So I think in the end, the internal justification is "Yeah, maybe I'm contributing to something immoral, but it's less immoral than X & Y".
Probably could replace "Facebook" with just about any company in that sentence. Having to uphold "company values", live by some boss's petty rules, take HR initiatives seriously, etc, is pretty much universally frustrating.
This explains a lot about your username!
Ask HN: Do you expose your Kubernetes API servers publicly?
Case statements are an anti-pattern. The proper way to implement that design pattern is using either dispatch dictionaries or plain-old polymorphism.
Ask HN: Is there an ORM as good as SQLAlchemy for TypeScript yet?
I've seen TypeORM, slonik, sequelize-typescript. TypeORM seems the most widely used, but looks a little Java-like and has over 1800 open issues. SQLAlchemy has a tenth as many.

Has anyone used a SQL library with TS and found it to be highly robust, powerful, ergonomic, and well-typed?
And as a side benefit, if they can decloak critical sites like facebooksucks.whatever, they can harass enemies with expensive, frivolous lawsuits more easily.
Am I the only person who has a problem with this headline, "Ad Boycott of Facebook Keeps Growing" am I overreacting here or others feel the same?

For me at the face of it's not incorrect, but it feels to me a certain deliberate wordsmithing is used to create a sense of growing momentum.

What we don't know if these advertisers represent 1%, more or less than x% of Facebook's ad revenue. I do understand FB will not provide that info, but some real journalism and follow up from said companies could have gathered us the amount this boycott means. After all this suppose to be NYT.

They do touch on this number, "smaller businesses that make up the bulk of its eight million advertisers have been considering their options"

However, again they are carefully crafting their words in a way that it's not inaccurate but showing a larger problem.

Instead of saying "one agency that manages 20 clients", or "we have heard from some advertisers" using "one agency", or "some advertisers" they are saying "advertisers" which to some readers will read as a lot of advertisers or a universal movement among advertisers.
What a depressing time to be alive. The end of privacy, police brutality, dysfunctional dystopian governments, fascism on the rise, and tech companies brainwashing everyone so they can get away with dehumanizing everyone in the name of profits.

Also massive inequality, rising productivity, declining real wages, increased debt, global warming, and a complete lack of opportunity for most people.
I've been working for a Ketamine Clinic the past few months, and it's fascinating to learn about (bunch of good resources here: https://www.fargoketamineclinic.com ). While it can be incredibly addicting, it's also opening new research into solving depression. Because it works differently than traditional antidepressants by targeting the NMDA receptors and binding to them to increase glutamate, it could vastly help people with treatment resistant depression. The problem is that with high doses like this article suggests, it can be dangerous. So it's a complicated area.
Is Surveillance Inevitable?
If you read the article, you’ll learn the only method of getting data off the device is via usb connection to a host computer.
If you can put as much weight on Linux as possible, that will help it happen.

We've made massive strides in the last 2 years, but we need everyone who is Win7 Main to at least run Linux for some games to get used to the differences and to get the numbers up. This will help bolster the efforts of all those who are switching from 'some usage -> dual booting', 'dual booting -> Linux main' and 'Linux main -> leading edge'.

If all take one step forwards then overall the scales start to tip!
What's in a Name? – Keynote by Dave Cheney at Go Get Community Conference
Writing Non-Trivial Macros in Rust
Nice list. To really communicate the point that immigrants contribute to the US economy, might be a good idea to include rough US employment numbers on the image itself instead of when clicking into each one, since the bulk of the rhetoric around immigration is "jobs" focused, especially US jobs (global jobs might be seen as outsourcing/not relevant)
I find it so funny that Facebook hides behind "freedom of speech" when in fact what they do is the exact opposite.

When everything you saw was cronological, you could make that argument. I write a message on my wall and everyone who follows me can see it if they scroll down far enough. Most importantly, the only criteria used was the time it was submitted which I think everyone can agree is fair.

By prioritizing certain posts based on what the algorithm thinks will make you stay on the site longer, they are prioritizing, thus interfering with free speech. When I post something, my message will have a lower chance of reaching some of my followers. How can facebook justify tipping the scales for one type of message over another and call it free?
What really sucks about all this is that they're actually ruining the credibility of lighthouse audits this way; what has been for years the best all-in-one automated performance+accessibility analysis tool for any web app/site and is now being used to promote some random new image format no one wants to care about.

You spend all this time improving your stack, reducing your app bundle size, convincing your company on the benefits of server side rendering, improving your devops, getting your manager to see these measurable benefits by running lighthouse audits themselves etc...

Then all of a sudden it turns out that the main tool you used for this has been turned into a.. a fking ad platform.

I apoligise for this emotionally charged rant, but seriously though, is that how you plan on getting developers adopt your dubious new standard, by p*ssing them off?
This is amazing! Love that it's text based and the output looks great.
Digital Security Helpline
Cool! Can you use the json as input?
Federal court rules hospitals must disclose their prices
True but the defendant is still financially, and in many cases professionally, ruined.
Setting file handlers are still allowed IIRC but yes, the default browser API doesn't work anymore and pops up a "select a default browser" widget.

IIRC no browser currently force-selects a default browser via private API, except for new Edge if you had old Edge as default (since old Edge is uninstalled at the same time).
If you mean at best irrelevant for the company, that’s certainly not true — friends of mine (and myself!) absolutely make purchasing decisions based on the moral reputation of the company.

Sure, but people like you may make up a small or negligible part of total revenue. And, like the Hollywood actress who was astounded that Nixon won because "nobody I know voted for him", you may overestimate how many people are like you. I've heard the phrase "go woke, go broke" thrown around.
OK, there may be some pressure (which I still doubt the long term effect of - Twitter is a great way to amplify things that extreme views that aren't particularly real world), but as those are expressions of free speech and the free market reacting to those forces, I'm still confused on how this leads to some sort of dystopia where liberalism is dead and the people's party decides how everything happens. It seems more like public opinion has shifted and people are wailing against the changing times. It's not as though a "Red's Communist Emporium" would have flown in the 60's.
When The US Marines in the Pacific requested arms, everyone was thinking tanks, airplanes and ships. Instead the request for hypersonic missiles, laser cannons, and --> cyberweapons <-- surprised everyone.

https://github.com/mozilla/standards-positions/issues/214

For me, security is assigned to someone else if I can just use the browser. I take it seriously as it can kill us all. It would be nice to build apps which work without any data bill. Old phones have value. I thought of ultrasonic audio, or using the camera so I don't need to prompt the user to turn on a wifi hotspot, for true peer to peer without any internet, like a walkie talkie. When I talk to anyone serious, they get a smirk and say, "Congrats. You just invented 5G". There are battery concerns, and the hardware is always going to win over a browser device to device beaming library abstraction layer.

No server, first class offline, and device to device with no internet are all very different. P2P concepts tends to spread murky across all three. No server means someone else runs a backing service for you, a websocket, or an interval build to a CDN, or in this case seeding a torrent. First class offline means your user sees the same thing if there's no network. When network is available, something like app sync or background sync updates everything.

Those two really don't matter anymore because mobile carriers. When are you really without a data signal?

I found better progress with just building apps for people. React's useState and useEffect to a websocket with runtime typechecks and local storage in a bundle of about 100 kb. No server either and is a joy to program.
I've been doing Java for almost a decade but JS for the last 3 years. I still get good work on Java but it went from about 80% of my work to 5%. It does sound like the grass is greener.

And my salary was never near as high as yours, even after purchasing power conversion. The only companies that pay that well here are, surprise, hiring Node.js developers.
Rust enums aren't like C style enums. They are a kind of algebraic data type: a sum type. Sum types haven't, until recently, been very well represented outside of functional programming languages. In haskell for example you might have a function that accepts a sum type, and to handle it you pattern match each variant and provide an implementation for that variant.

This is pretty core to functional programming languages like haskell, and its very similar to how rust behaves, and is omnipresent much like in haskell. For example, rust does not have exceptions, but repersents errors via the `Result` enum which is analogous to Haskell's `Either` data type. In order to access any value wrapped in an Result you must pattern match on it and explictly handle the possibility of an error.

All of this comes from functional programming languages, but they are starting to become common place in mainstream languages.
The Next Phase: Apple lays out plans to transition Macs from x86 to Apple SoCs
Singapore itself employs a surveillance apparatus against its citizens so I'd expect the cultural norms there may be affected by that.
Google Blew a Ten-Year Lead
This is true, but in this case it was months between updates (in the early days of Google).

I take a pretty broad view of ML, but there certainly is a difference in degree if not principle.
In general the article is woefully imprecise. Yes, Rust does support higher order functions and other aspects of functional programming, but closures can have side effects. There is no concept of referential integrity in the language (I wish there was something like a “pure” keyword). Don’t get me wrong, I love Rust, but in the scheme of things, it’s a very imperative language.
Show HN: Boarding Party, a Terraform Based Cloud Installer
The facial recognition software is badly flawed in this dimension. It's well established that the current technologies are racially biased.

Who decided to use this software for this purpose, despite these bad flaws and well established bias? The buck stops with the cops.
Flood.io Security Breach
Letter from GoDaddy CEO on Layoffs
As soon as I saw it was audio only, i left the site. Why do sites do this? How many people actually stick to the page and listen to that?
I'm sure it makes sense to someone well-versed in Rust syntax, but to an outsider like me that code looks like the kind of "line noise" that made me switch from perl to python.

The procedural 'if x.len == 3 and x[0] == x[1]' seems a lot clearer as to what is actually being tested.
More generally, trying to learn the whole language -- for almost any language -- is usually a waste of time.
Not a chance. Frame # check is an easy thing to do here and if someone's new bike gets stolen it is a sure thing that will get reported to insurance / police.

But new bikes get stolen to be chopped up for parts regularly. Joke on the subject: The bike theft report form for the Netherlands contains a field labelled: "Where did you steal the bike yourself?"
Hardware is a useful abstraction.
Yep it is. The article mentions that.
Note though there is quite a regression between MongoDB 4.0 and MongoDB 4.2 too.
I blame TV shows like CSI and all the other crap out there that make pixelated images look like something you could "Zoom" into or something the computer can still understand even if the eye does not. Because of this, non tech people do not really understand that pixelated images have LOST information. Add that to the racial situation in the U.S. and the the inaccuracy of the tool for black people. Wow, this can lead to some really troublesome results
As if I needed more reasons to avoid Windows 10. The level of user hostility emergent from this OS is absurd.

The shame is I want to love it. The engineers made some great improvements under the hood. But the product decisions are a disaster. It's like an out of control dog with an owner that just doesn't care, who shits in the middle of your meticulously maintained PC and pisses your privacy all over the neighborhood.
I think the problem is that LOTR is long, dull and badly written to the trained eye. (As a kid, I read it five times... including the appendices.)
No one has a problem with anyone making nazi groups planning hate crimes illegal. My biggest concern is Facebook deciding who is a "nazi" and what constitutes a hate crime. My belief (backed by scientific fact) that biological sex is real and immutable is enough to have me branded as a "nazi". The statement "males are not females" is enough to be considered hate speech. Saying, "males are not females" could be a hate crime.
Posting paywalled-articles in HN should be highly discouraged...
Digital minimalism!
Windows 8 gets a lot of flak, but I always remember looking at it and thinking that something in Microsoft's DNA had changed. It seemed a risky design move for an outfit seen as risk-averse.

And I really like the 2017 iPhone SE in my pocket right now, but I loved the Nokia Lumia 920 I owned a few years ago, before a long drive in a torrential downpour destroyed it. The (live) tiles were one of the things I loved; bigger tiles worked better for my stubby fingertips.

I held out for as long as I could in hopes of a Surface Phone being released before finally buying the iPhone. The Duo is a nice bit of hardware, but it's Android, which I have never liked.
> For post-Tolkien fantasy with little or no Tolkien influences or tropes

There's perhaps no direct borrowing of names and character types, but by George R.R. Martin's own attestation, he sought to write a story with a scope approaching Tolkeins but disposing of Tolkiens idealism and dualism. He was deeply influenced by Tolkiens writing, and sought to correct it's flaws.

https://www.tolkiensociety.org/2019/09/george-r-r-martin-i-k...
AFAICT That kind of agreement should be void for being one sided; not sure if it has ever been tested in court however.
Not even close to the same thing. People aren't very reliable witnesses either, But they are pretty good at identifying people they actually know.

It's also poor practice to search a database using a photo or even DNA to go fishing for a suspect. A closest match will generally be found even if the actual perpetrator isn't in the database. I think on some level the authorities know this, which is why they dont seed the databases with their own photos and DNA.
And security!
As usual, there is a way to disable this if you can apply GPO or registry tweaks.

GPO: After installing[0] the Edge Group Policies (because of course they aren't included with the installer!), set the "Automatically import another browser's data and settings at first run" policy to "4: Disables automatic import, and the import section of the first-run experience is skipped". This works on any version of Windows 7 or later. Note that if you already enabled the "Hide first-run" policy, Edge will take it upon itself to import from the user's default browser anyway without asking, so you'll still have to set the other policy as well.

Registry: Go to Computer\HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Edge, create a new DWORD called "AutoImportAtFirstRun", and set it to 4. Auto import will not happen when Edge (Chromium) is launched for the first time, and you won't be asked about it during setup.[1] If you want to disable the first-run wizard entirely, create another DWORD called "HideFirstRunExperience", and set it to 1.

If you've already opened Edge (as described in the article), these policies being applied will not clear your browser of already imported data. You'll have to delete your Edge profile (edge://settings, -> profiles, delete) to get rid of it. If you haven't installed Edge, note that new Edge becomes mandatory in version 20H2, so you'll want to set the policy now before you get overtaken after a system update.

Guess this is another thing to add to the "new-install checklist"...

0: https://docs.microsoft.com/en-us/deployedge/configure-micros...
1: https://docs.microsoft.com/en-us/deployedge/microsoft-edge-p...
If it's really not that important then perhaps they could afford to stop doing it?
I love these kinds of posts, if anything just because when I look at the github page and then the language breakdown, I get to ask "What the heck is reason?" and go find out!
NPR's text-only article served to me:

https://text.npr.org/s.php?sId=882683463
Yes, emacs navigation keybindings are native in Apple UI.

e.g. ^A ^K to clear an input line
The Causes of War
WSL gives you Python 3 with an apt install, and homebrew can replace the default 2.7 with Python 3. Using Python on Windows without WSL is a bit harder, but it's really just a package install and explicit `python file.py` call in a command window.

I don't believe that any of these are onerous enough to justify calling them "Horrible [to] set up".