skysight-inc/HackerNews huggingface dataset:
This might make me a bit of a freak, but the one thing keeping me from trying out Fish for real is decent vim bindings. I know Fish has vim bindings, but I found the feature support pretty lackluster and the behavior of some keys like 'e' to be inaccurate.

I know some folks say that vim-style editing is overkill for a shell where you're often just submitting one-liners, but it saves so much time for me to be able to just jump right into the middle of a previous command and change one word without holding down arrow keys to get there.

Granted, it's been awhile since I looked into Fish's vim mode, so maybe it's improved. Last time I checked, it sounded like it just wasn't a priority, since Fish's selling point is the intelligent autocomplete and such.
Did you get a better deal out of the new gig personally?
Terrible article. Yes it bounced back off of the lows but it’s still not close to profitable and well under the IPO price. Most of the employees got burned and have not recovered.
The U.S. housing market crash is officially here
Ok but what the heck is that font?
every home has a roof, and none of them are cheap to replace. it's a small factor difference in amount you're financing.
Silly title and framing aside, the alternatives being reported on are really exciting. Some sound implausible, but the goal is good. I'm particularly intrigued by attempts along the lines of Tim Berners-Lee's Solid protocols. It's not, as WSJ frames it, because the evil monopolies are hacking our elections or whatever. But it is a path towards open protocols. It's a shame the journalist butchered such an interesting and important topic in order to exploit the anti-big-tech zeitgeist.
That’s still different? AWS has CloudTrail that lots all actions
No it was caused by poor grid management at First Energy. If your high voltage lines start to sag because you don't know how to distribute your load and you don't maintain your right-of-way because all you want is profit that is what you get. Ohio is now bailing these idiots nuclear plants out on its citizen's dime, along with coal plants that should have been shut down years ago.
I've had this sneaking but hard to articulate suspicion that datacenters, bare metal servers, VMs, operating systems, containers, OS processes, language VMs, and threads are all really attempts to abstract the same thing.

You want to run business code in a way that's protected from other business code but also able to interact with other business code and data in a well defined way.

I also have this sneaking suspicion that new generations are re-inventing the wheel in a lot of ways. If you have minimal containers running on a hypervisor how is that different from processes running on an operating system? You have all these CPU provided virtualization instructions to protect guests from each other and the host from the guests but there's no reason those instructions couldn't have been developed to protect processes from each other. You have indirections to protect one guest from accessing another's storage but there's no reason processes couldn't have the same protections (and they do in many operating systems). Why container orchestration and overlay networks instead of OS scheduling and IPC?

I'm sure people in academic computer science have already published many a paper about this but it feels different seeing it from inside an IT organization where people don't seem to apply the lessons from older technologies to newer ones and we end up in this constant churn of reinvention which, as far as I can tell, is mostly a way for people, both in management and in the trenches, to keep their jobs, at least until you're "too old to learn new things" and pushed aside.
Not OP, but I find myself attempting to tab-complete Fish commands all the time. It's just how I've been conditioned by every other auto-completion interface I've ever used.
I've tried both Skim and fzf, and in my experience fzf has a much better fuzzy matching algorithm so that's what I'd recommend using. Plus it supports true color configuration fwiw.
The profit model for utility companies is to build new power plants, power lines, and substations, and charge their rate payers for that build ("rate base" it). Then they get a cut of their expense as profit. If too many people build solar, the utility can't build new infrastructure and charge everyone for it. And, they now have to manage balancing solar production with electricity usage, which means hiring new analysts which can't be rate based.

So, of course they are hostile to it. Personal, distributed solar cuts their profits and increases their costs. But, because their profit is based on charging customers for building new electric infrastructure, it lowers the costs for all of their customers when a group of people preempt that by installing solar on their homes.

It is good for everyone when rich people buy solar; the air gets cleaner, and electricity becomes cheaper. So some states, like California, compel them to facilitate solar via tax credits and other regulations.
The Case for C++
The CIA is not politics though. Politics require highlighting. You'd be surprised how little the CIA highlights of what it's doing, and what that costs. Contrasted against the military, which tends to highlight almost everything of what it's doing, and what that costs.

And 10 billion over 10 years is what? Maybe 3 to 5% of Amazon's yearly revenue? You really want to be at the epicenter of the shitstorm that will happen if the project goes over budget and you still haven't delivered anything anyone in the DoD actually uses? (Maybe I shouldn't have said "if the project goes over" but "when"?) Especially being a big tech firm nowadays?

And you're gonna step into all that unnecessary drama for access to a 10 year / 10 billion project?

I don't think so. Not for a billion a year in revenue when you're already sitting at over 230 billion a year in revenue. (Or even just the over 30 billion a year that AWS alone is sitting at.)

Admit it man, politics being what they are these days, particularly for big tech firms, it's just not worth it.
Runs smoothly on iPad Air 3
A few interesting claims by Yukon Huang, former World Bank director of China:

In the last few years, CPC aims to equalize urbanization growth and have set internal migration to limit tier1 cities growth.

However in reality, major Chinese cities are less dense than comparable tier1 cities elsewhere. Major urban centres density in particular have decreased 20% in the last 10 years. I believe this accounts for the substantial number of shadow migrants. Minor Chinese cities are much more dense than comparable cities elsewhere.

Apparently traffic planning is done by the military in major cities, there's a conspicuous absence of one way streets and other planning blunders leading to congestion. I'm not sure if it's blunders or prioritization different goals, after all regardless of who plans, there are competent traffic engineers working at the highest level. China's airspace is also largely planned by the military and constrained to extremely narrow flight corridors leading to all sorts of inefficiencies and widespread delay. Hence popularity of high speed rail. Regardless there's still a lot of urban optimizations to be made. He is one of the few that thinks large Chinese cities should be larger.

It would be interesting to see how China implements these new urban policies with constraints of existing urban development. Wonder if they'll run into the same development woes as other large cities. On the other hand Chinese superblocks are sufficiently large and dense that they should easily sustain mix-use revitalization. Selfishly just waiting for some movement on arcologies.
delta – Heuristically minimizes interesting files
This article leaves me with more questions than answers after reading it. Has the author written a TUI for lobste.rs in another language before? How was the experience different by using Rust? Where there any "Aha!" moments during this exercise which makes the author think that Rust could replace other languages in their daily work?
Right, so it went from a very popular phone to THE MOST POPULAR PHONE.

It was aleeady a success. Then it became a world beater.
Photovoltaics (PV) is not a new technology. It’s been in production-state since the 50’s and powering percentages of some countries for at least the past ~5 years.

Adopt the existing, proven and cost-effective implementation of PV (~3’ x ~5’ aluminum framed panels).

Waiting on Elon to figure out boutique solar so the affluent can all install it first and drive mass adoption (decade?) stalls PV development as much as the US tariff on Chinese-made solar!
An empirically falsifiable prediction on the benefits of psilocybin on aging
I’m of the opinion that the scariest words to a startup founder/employee should be “exit below the liquidity preference”
Abortion is also a very interesting example of tactical voting: https://news.gallup.com/poll/235469/trimesters-key-abortion-.... Just 28% of people support making abortion in the second trimester generally legal, but every state allows second trimester abortions. (Recent laws have not yet taken effect.)

So legal with restrictions is a middle ground, but there is a ton of debate and tactical voting within that middle ground.
I think that's a very narrow view of research. There are many private for profit entities that don't publish their findings because they'd rather capitalize on their findings.
You don’t really have to be “rich” to afford this roof. It’s a totally sensible investment that actually pays for itself between 10-20 years and you can use a loan to finance it. It’s also very sensible for new home construction which is also traditionally financed via a mortgage.
Given it applies to everything they post it seems, could also be that the user set the flag to apply this to all their posts automatically. (I don't think there is a way of telling the difference)
Well I don't believe that's what he intended.

It seemed he was trying to argue about the double slit not being evidence of wave particle duality.

I tend to agree, the notion of matter being in two places at once is nonsense.

Also I agree with the author that the majority of people tend to point to the double slit as some type of proof.
Says the person that probably prefers tertiary "anonymous" sources from MSM propaganda versus the primary sources of misconduct that Veritas revealed.

Anyone that dismisses journalism by Project Veritas because it exposes unethical behavior by propagandists and counters their agenda should be entirely condemned.
This kind of conspiratorial thinking is precisely the problem. There is a constant avalanche of papers being published on interpretations of quantum mechanics, in my mind, too many. To believe that Sean Carroll is the only person thinking about this is frankly insulting.

This is comparable to hearing one C++ developer speak, then getting the impression that they are the only programmer in the world who uses a strongly typed language, and that there's a conspiracy to cover up strong typing.
The original paper can be found here: https://arxiv.org/abs/1910.07291

Abstract:

> Since its formulation by Sir Isaac Newton, the problem of solving the equations of motion for three bodies under their own gravitational force has remained practically unsolved. Currently, the solution for a given initialization can only be found by performing laborious iterative calculations that have unpredictable and potentially infinite computational cost, due to the system's chaotic nature. We show that an ensemble of solutions obtained using an arbitrarily precise numerical integrator can be used to train a deep artificial neural network (ANN) that, over a bounded time interval, provides accurate solutions at fixed computational cost and up to 100 million times faster than a state-of-the-art solver. Our results provide evidence that, for computationally challenging regions of phase-space, a trained ANN can replace existing numerical solvers, enabling fast and scalable simulations of many-body systems to shed light on outstanding phenomena such as the formation of black-hole binary systems or the origin of the core collapse in dense star clusters.
The motivation was purely electronic text, though OCR is good for text for mathematics it may not be that good. And it is fun typesetting the books you love!
How expensive is it to parse numbers from a string in C++?
That's a very Chinese story in a way and reminded me of the movie "Crazy Stone" [1]

[1] https://m.imdb.com/title/tt0843270/
> ‘Inclusivity is one of the Students’ Union’s founding principles.’

Don't make me laugh. To outright ban clapping to avoid triggering a minority is like banning free-speech to favour the offended minority. This move sounds totally extreme to favour a few 'triggered' participants who could just simply wear earplugs to reduce their sensory input which allows them to still participate.

You might as well ban whistling, shouting and cheering then, since that happens allot in graduation ceremonies, pubs, sport stadiums and concerts. This just isn't practical, but if it is practical to roll this 'policy' at other student unions at Oxford University, then this just creates problems rather than solves them.
Total subsidies for this stuff are in the low $billions. Really it's not that much money overall (the EV market is still small, and the other stuff is all still noise), and wouldn't go far if spent for infrastructure.

FWIW: newly built dense housing is actually cheaper than the more typical sprawl. In fact it's much cheaper if you factor in (heh) infrastructure savings due to the reduced road and utility lengths.
Yeah, but if MS wants that headache, why not let them have it?

Politics nowadays are just way too unpredictable and destructive. Just best not to be anywhere near it when, say, cost overruns on this project happen and you still haven't delivered anything the DoD is actually using.
Someone accidentally hitting someone with a car and someone intentionally doing so are very different things. The key is what evidence you have to show one or the other. If there is evidence someone hired a hitman then I don’t see how that can be muddied. The person intended to murder someone.

I’d also like to see a source on your claim about consciousness. I’m not sure how decisions and actions can just come to us and then we can purposely add a motivation afterward (but not before?).
I didn't realize it wasn't refundable. However you don't need to make much to pay $7500 in taxes. I don't make enough to buy an electric car and I pay three times that.
$2 Test Identified Bird Shit as Cocaine. Cops Keep Using It to Arrest People
> First, that basically everyone was pulled off working on Energy to deal with Model 3 issues because they were do or die for the company

Well that, and because SolarCity was hemorrhaging money
There he is!
New chemical vaccine helps plants repel pathogens
You can't infinitely nest those.

Fish [that] fish eat eat [food].

That works because the second "eat" is in the present indicative. But you can't stack those. With three "eat"s, the second one needs to be followed by an object, not another verb.

That's why the buffalo sentence works: Buffalo(n) [that other] buffalo(n) buffalo(v) [themselves] buffalo(v) buffalo(n).
https://news.ycombinator.com/item?id=21363156
Then you're on a slippery slope of judging the intentions

I mean, who hasn't spent more than 40x the average disposable income in their country on a hitman just to jump out at the last minute and yell "IT'S JUST A PRANK BRO"?
Game Quest – Space Shooter [video]
You can do that with normal solar panels, or with these

I recommend using project sunroof to see if doing so would make you money. They analyze your roof size and tilt, trees around your property, etc. For free.

https://www.google.com/get/sunroof
The amount of times I've used APIs claiming to be RESTful but actually aren't consistent... If you use something like Prisma you don't need to worry about the boilerplate or having to maintain consistency when creating a GQL API.

I love the ability to browse introspection via playground most of all.

My two annoyances right now are: lack of input unions and lack of recursive fetching for tree/node based resources
I’m not sure that is a useful number. Don’t most of that 64% own only a fraction of their home? How many homeowners are not paying off a mortgage?
Or ‘grep foo file.txt’
You _could_ ask a service like Google Safe Search

Just in case you didn't follow any of the previous HN discussion of how that's done

consider the URL https://accounts.example.com/tmp/badmojo.exe

You (Facebook in this case) run a hypothetical method SafeSearch('accounts.example.com') and also SafeSearch('example.com') and SafeSearch('accounts.example.com/tmp') and SafeSearch('accounts.example.com/tmp/badmojo.exe')

SafeSearch(string) is defined as, you do SHA(string) and that's your hash, you compare the start of this hash to a huge list of prefixes that Google provides, which you fetch updates for every few minutes. If there's no match, fine, done. If there's a match you ask Google OK, I saw this Prefix you sent me, what hashes should I be scared of? Google gives you a list of hashes with that Prefix. If your hash in this new list, the original URL was scary, warn users not to visit, otherwise continue what you were doing.
He contracted with someone to commit a murder. That's doing something. This makes him part of a conspiracy to commit murder.

The article doesn't specify what Ling was sentenced for. I assume it's for this conspiracy, but it may have been for other crimes the police learned about after Ling admitted to being a career criminal (unless this was their first contract). If you tell the police you're a murderer, they'll likely try to get you for it.
Usually the action is a crime and the intent scales the crime. If you accidentally kill someone due to negligence that is manslaughter. If you intended to do it that is murder.
riding a bike is already dangerous, riding with headphones is doubly so
Well, it isn't news. It's PR.
Being “edgy” is just a way Of being a bully or bigot under the pretense of a joke. It’s not a new thing, just a new term for “dog whistles”.
CVE-2019-11043 exposes Web servers using Nginx and PHP-FPM to hack
We know we can't quickly replace all gas combustion engines on the road today with batteries because of material supply constraints alone. However if the goal is to reduce carbon emissions by vehicles by 90%, we can probably get there by replacing 95% of all gas-only vehicles with plug-in hybrids, which require a small fraction of the amount of battery material than fully electric cars require. I'm probably off with my estimates, but I believe they're in the ballpark.
An voluntary or involuntary manslaughter conviction may be less severe a sentence, but it's hardly getting away with it.
This is vastly moving the goalposts of the discussion. The point is 64% of Americans are dealing with issues like deciding when to replace their roof, and what material to replace it with.
Moral of the story:
Pay a decent price and then pay someone else to kill the killer. In most countries you have an idea how much it takes to kill a person, with prices varying depending on the target and degree of law enforcement. If word is out that there's a contract on X...you're screwed since you might be #1 on the list of said person's enemies
I'll probably get downvoted into oblivion here as I'll attempt to defend Google, but they have recently added a bug bounty program for extensions that violate user privacy:

https://security.googleblog.com/2019/08/expanding-bug-bounti...

I recently received a nice bounty for reporting a VPN extension, with nasty privacy violation, using this program. I understand that El Reg will get their clickbait here, but the situation isn't nearly as bad as described.
Not sure what your “chain of transformations”, “rearranging, substituting, etc.” refer to. IMO is never about painful and tricky computations; if there’s such a problem it’s really a failure of the Problem Selection Committee. IMO is all about elegant problems in elementary mathematics that require unusual insight (which does tend toward usual when you’ve seen enough of them, but there are always surprises), spark of genius if you may. The best problems tend to be blissfully obvious in hind sight.

While you may argue that, for instance, for elementary number theory there are only so many theorems and tricks you can perform, and in fact you can compile such a list right now (which obviously won’t work for combinatorics), brute forcing your way by applying every trick to every degree of freedom of a problem will probably lead you nowhere.
I just checked to make sure: yup, I still see all of my wife’s devices in Find My. So it’s not broken out of the box. You did see the new Devices tab at the bottom, right?
Without remarking on the substance of this post, I just wanted to say I enjoyed the writing style and the design of this post tremendously. I was actually quite surprised by how much I enjoyed it haha.
Threads are not the same because they are separate computation in the same address space.

At some point though, permissions to disk, network, screen, input devices, etc. need to be an integrated part of computing for anything that runs more than one program.

Take a look at QNX though, at some point it will be reinvented and heralded as a breakthrough, 40 years after it happened the first time.
I absolutely agree. We tend to forget that nothing is still in our universe.

Everything to the smallest quanta oscillates. The only way to get something to stop moving is by freezing it. You need to hit absolute zero to stop movement completely, I don't believe we have even observed absolute zero.

If you think about it, absolute zero shouldn't be possible. There are an infinite amount of degrees between 1 and 0. Aren't we only limited by the sensitivity of our equipment?
Is there a case where strict liability laws are a better option? It seems like a bad thing to me that leads to less just outcomes.

Case in point, whistleblowers are tried under the espionage act using strict liability. It doesn't matter why they did it, if it was harmful or beneficial, only that they did it or not.
Yes you can switch to the regular grid and yes you can sell back your power in most states ("net metering"), though that often just manifests as a credit for your night time electricity usage.

38 states, DC, and Puerto Rico allow this.
https://www.seia.org/initiatives/net-metering
Because current model of processes frankly sucks. If I give you random binary would you run it? You can talk about sandboxing, lecture about permissions and principles of least privilege. But that still doesn't answer the question: can it run hostile code without having side effects on the rest of the system? Other than the newer web tech initiatives like WebAssembly/JS sandboxing, there do not exist any other technology that allows easy compartmentalization with somewhat reasonable security isolation out of the box for existing server code. Containers are not perfect, and hypervisors/unikernels are a pain to deploy on commodity cloud services but we are slowly getting there. (Also if you notice, newer generation of operating systems like Android, iOS, Fuchsia are moving towards strong sandboxing with every single thing locked down where possible. There is an impedance mismatch between the Unix model and current demands. You can't migrate overnight so you build technologies to work around it. From far away, Windows and Fuchsia are very similar, but Windows have to contend with decades of code compatibility needs even if they want to start shoving everything into a locked down app)
India already got 100% toilet coverage https://swachhbharatmission.gov.in/sbmcms/index.htm
Is it though? When the money that could be going to solar roofs is mostly just going to the rent seekers?
> insisting on spending more on the military than the rest of the world combined.

While the US military expenditures are ridiculously high, they're only ~34% of worldwide expenditures: https://en.wikipedia.org/wiki/List_of_countries_by_military_...
In what world is $42k the cost of a new roof?