skysight-inc/HackerNews huggingface dataset:
> It is not expected that updating npm will kill the complete system it is on... It would be expected to have some deploy failure of some sort.

"It is not expected that" is the definition of unexpected behavior, which is the very reason why we use staging servers. So your message is essentially "I didn't use a server meant to check for unexpected behavior, because I didn't expect that behavior to happen". Well, yeah, that's the point.

Also, I'm really not sure what your smiley is trying to convey here, and of all the possibilities I can't see one that's positive and contributive to the conversation. Really un-needed, please refrain from doing that.
OP is talking about wasting 300MB for each Electron-based app you install.
Convert Arbitrary Audio into a Self-Contained Unix Command
A nitpick about notation:

For me, "Shadowbanning" or "hellbanning" means that the post of the user/site are [dead] but the systems lies to the user and to nim/her show the post as alive. And the only way to notice is to logout or get another computer and check the post from there.

Killing the post form an user or site automatically, and showing to the user that the posts are [dead] is not shadowbanning. I call it "autokilling" but I'm not sure that it is he official name.

Almost all the recent case/discussions of similar cases were simply autokilling. In the initial times of HN it was more common to have hellbanned users, but it's very rare now. Moreover, I remember a comment of dang where he said that they were considering to remove all the hellbanning and only use autokilling. I'm not sure if they finally made that change.
Looks like this is actually built on top of puppeteer.
See the "Note" under "Installation":
https://github.com/yujiosaka/headless-chrome-crawler/blob/ma...
Index types and how indexes are used in ArangoDB
Bosch just wants to have press releases that contain the word "blockchain". It doesn't make the technology any less broken.
dpkg won't allow one package to overwrite a file from another unless you pass it --force-overwrite, which is not the default.
There are longer wavelength amplification by stimulated emission of radiation (LASER without the L for light) devices but there are technological limitations like cavity size (often larger) and lower power. An example used in astronomy is the MASER: https://en.wikipedia.org/wiki/Maser
The US seems to have a higher rate of people sleeping rough than any other country outside of, possibly, Sri Lanka.
Actually you're answering your own question, rebuilding staging server is like nothing compared to having issue on production.

it's lesson and reminder to everyone out there, be careful.

When dev env broken, alpha skipped, staging unusable, then test on production, you sure like to live on the hell.
Sorry, but that's complete nonsense.

A plastic shopping bag weighs about 5 grams. Plastic product packaging does not weigh 1kg, not even close.

Second, the shape does matter. Bags are especially bad because they are large, thin and soft, they're easier to be carried away by wind or water, and easier for animals to get tangled in or mistaken for food.
The best way to understand graph theory is in a continuos setting. When you approximate a linear pde with finite differences, you can write the discrete set of equations as a linear system with sparse matrices. Sparse matrices are just graphs. And the natural matrices associated to this graph (adjacency matrix, incidence matrix, transposed incidence matrix, etc) correspond to the natural linear operators on your space (laplacian, gradient, divergence, etc.).
I suspect that "success" requires getting most of the way on existing infrastructure, especially to the degree that "self driving" is mostly for people who are well-off financially for a significant period.

That said, we redo intersections because they have a lot of accidents all the time. I'm not sure why intersections that self-driving vehicles have particular problems with would be any different. I can also imagine having some sort of RF "beacon" that gets used for construction sites and the like to flag drivers that they need to take over manual control in a mile or whatever.
asm.js never added threads, which is a far bigger performance issue than fine-grained manual memory allocation is.
Is this not an insanely low bar? How can we take this paper seriously? We are talking about brain alchemy and more than 80% of the trials under consideration have a moderate to high risk of bias?!
Well, they break down into small pieces that everything ingests.
Interestingly enough this doesn't include Hacker News Classic, one of my favourite frontends: https://news.ycombinator.com/classic
Java FX is a decent solution as well. It's just not cool.
It's only theater if you measure by kilograms.

If you instead care about "items" or "visual cleanness of the river that all the plastic gets blown into", it's a very different matter.
I’m a little unclear as to what you mean. Winternitz (W-OTS) is a hash-based digital signature scheme. ChaCha is a stream cipher for symmetric encryption. Do you mean a Winternitz signature digest encrypted with ChaCha, or are you proposing a ChaCha derivative hash function, like Blake?

In either case, I don’t see what it gets you to use the post-quantum signatures anyway, then add the overhead of ChaCha.
> There is no upper limit on the score of a comment, but the minimum score is -4 points.

According to the The Unofficial Hacker News FAQ [1] this is only partly correct, but I don‘t feel like testing it.

[1]

> I’m at -4 for a comment and still my karma is dropping, how come?

> HN is ‘subtle’ in that not everything always is what it seems. Votes are not always counted and those votes that are counted are not always displayed. So even though your vote count for that comment shows as -4, in actual fact it may be much lower. Take your lumps, analyze why you got those downvotes and if you feel they were justified then try to do better in the future. A side effect of the votes still being counted past -4 seems to be that people tend to delete their comments with a much higher frequency than in the past to cap the damage to their karma.

https://jacquesmattheij.com/the-unofficial-hn-faq#badcomment
http://ieeexplore.ieee.org/document/6851424/?reload=true
This 1000 times. Running npm as sudo is a terrible terrible idea. I remember creating a slack channel in our team called 'never run npm with sudo' and ranting in dramatic fashion to try and overcome the effect of the printed advice which npm used to output in most failure situations to 'try re-running the command with sudo.' This tended to cause developers new to the ecosystem to re-run the command with sudo and create lots of problems for themselves -- in addition to being an extremely bad security practice.

Honestly -- I think npm should be updated to exit without doing anything if it detects its run with root privileges ...
Detailed explanations are good. As is a conversational style. But consider that all jokes and asides that are meant to be conversational can get in the way of a beginner understanding your point, because they are beside the point.

I recommend reading blog posts by authors you like who have a conversational style with an editors eye. How often do sentences not have any relevant information? How often do they actually try for a joke? It's often less than you might think. The style often comes more from tone and word choice. I think a great model is Julia Evans: https://jvns.ca/
So, it's similar to Facebook Messenger rather than to Signal?

(Actually I think Messenger might support E2EE group chats, but I'm not sure.)
My takeaway/TL;DR: OpSec is harder vs. AI (ever-vigilant pattern matching) than humans.

But it did drift into discussing a more offensive AI than passive monitoring done today.
dpkg will throw a fit in the same way.
I'm sorry but that people can't figure out where to put `sudo` is not a usecase for using sudo...

Instead of running `sudo npm start`, have `scripts.start` have the value `sudo node index.js` if you want.

But then again, I'm not "most folks", I try to think when I am the root user and don't run third-party code willy-nilly when I am.
The relevant link, unfortunately it does not list the potassium in mg - https://www.coca-colaproductfacts.com/en/products/powerade/s...
I agree with everything you've said. My experience comes from trying to replicate science that simply isn't reproducible in ways that are not possible to understand from reading a publication. Others I've worked with have similar experiences

These disappointing experiences with imperfect science has led me to acknowledge, as you have, that the system is not ideally set up to facilitate good science. In industrial science (pharma companies) it is better as it is harder to hide from bad science but still not perfect

I don't fault researchers for not doing perfect science. In many cases funding / resources are not sufficient to allow for exploration of all avenues. Pressure to publish is real. And as you say, independent replication seldom happens as people have incentives to spend time on other things. That is what I mean by a "luxury": if you are fighting for scarce grant dollars, or you are fighting for scarcer tenure, you can't always afford to do work like this. So there is a lot of suboptimal science. It is a sad state of affairs, but I can't blame the researchers for how the system works.

If it was as easy as writing robust software tests and having someone else run your code on their computer, there would be little excuse for bad science. But it's harder than that. I see how you can think of that as a cop out, but to me it just seems like the reflection of an imperfect reality
if you have not read Mechanics from cover to cover and solved all the exercices, you have not lived
That was my first thought as well. Accurate navigation from footpod data that could eliminate or at least drastically reduce gps usage would be a gamechanger for watch battery life.
Reading the comments on this article make me realize how unserious most engineers and software developers are taking this.

These threats are real.

The weaponization of everything is actually happening. Since I wrote about it a month ago (Self-Crashing Cars) a number of people have reached out including people with actual insight into the military aspect of it. Militaries around the world are getting ready for true AI enabled weapon systems and there building deterrence strategies for mass casualty cyber attack (including nuclear weapons response), whether its from hacked industrial plants or cars it doesn't matter. They're actually talking about the weaponization of cars at the Munich security conference.

We need to stop burying our head in the sand and write to our politicians about this threat. I know it sounds crazy but it's real.

As an aside, my main complaint about the people that truly understand this the inability / unwillingness to accept that the act of subverting systems capable of mass destruction via cyber attack amounts to cyber weapons of mass destruction. We need to assemble all the work / treaties / regulations / research we put into securing nukes into securing AI / robotics and for the identical reasons. We know how this ends otherwise. We need wide-spread government funding and we need to communicate what these things are in language that our governments understand. Not saying something that is true just because it sounds weird is counterproductive.
Look at what Apple did with HomeKit. [1] Pretty damn awesome.

They really thought things through (can I add another "th" word in here?).

[1] https://developer.apple.com/homekit/specification/
My favorite little-known HN feature (not even mentioned on this link!) is the noprocrast mode. You can set in your profile to be locked out of HN for a set amount of time, after another set amount of time on HN. Prevents procrastination :)
How a Bulgarian Swindler Made a Fortune Spoofing Streams on Spotify
Other methods being poorer doesn't make your method objectively better. You're probably right on low-hanging fruit, all depends on your threat model I suppose.

Don't password managers have 2FA, and alternate phone numbers?
I used to be just as sceptical as you. (And I still am about traditional game theory.) But then I stumbled into evolutionary game theory, which seems much more robust. Have you read anything about it? What's your take? Apparently ESS has been used to model cancer very fruitfully.
Most != all, and it doesn't take much plastic to really mess up an ecosystem.

Specifically in north Taiwan's case, I recall learning that a portion of the trash in the ocean comes from China via ocean currents, but there's still a significant amount coming from Taiwan via accidents (trash spilling, vessels losing it, etc)
Guess that was a joke.
I owned in Broomfield. It's the burbs. It .. well not for a 20 something single dude. Otherwise very nice.
Thank you Max!
Well done.
Depends on the type of plastic bag. If we're talking Walmart grade plastic bags then those are not going to hold 20 pounds. You'd be lucky to hold 10 pounds with those terrible bags. Safeway bags, thought? Those are crazy thick and strong and could easily handle 30 pounds.
> Now I've heard it all - a company with a seven hundred billion dollar market cap can't afford it. Come on. They can absolutely afford to do native Windows / MacOS / Linux cross platform. They're lazy/don't want to.

That’s a straw man argument. The parent said that Linux development might not be worth the cost. They didn’t say anything about the ability to pay.
Well, to be fair, Rust's toolchain "speaks" cross-compilation natively. I haven't found any other toolchain with such a well-designed cross-compilation experience.

The piece seems to have been a bit over-simplified for non-technical readers, though.
Dissecting Kubernetes Deployments
So wait, shouldn’t your argument be that the plastic bag bans don’t do enough and therefore we should ban/price other kinds of plastic too?
A ban is effectively an infinite fee.

A small fee seems like a good halfway point between having no fee and an infinite fee.
Good public transport systems provide even better benefits for points 1 (accidents involving subways are probably still going to be rarer than for self-driving cars), 2 (you don't even need fossil fuels for subways / trams), and 5. Arguably you don't lose much on point 3 either, except that you may have to walk a few minutes to/from the nearest stop (which is probably good from a public health standpoint anyway).

I agree that this only applies in cities though, and public transport may not help much in rural areas.
The Essential Guide to UI Engineering (Part 1)
SpaceX tried to catch its rocket nosecone with a giant net – and just missed
And continue to see, long after the early adopters can't.
"Ouroboros: A Provably Secure Proof-of-Stake Blockchain Protocol" ?

(https://eprint.iacr.org/2016/889.pdf

https://news.ycombinator.com/item?id=13134363

https://www.reddit.com/r/ethereum/comments/52qfwl/provably_s...)
I've also noticed this and would like to know more. I feel like this didn't happen on HN 5 years ago, but it does now.

I always wondered if maybe it keeps track of who has voted on your submissions in the past, and only gives you karma if the voter hasn't voted on you before.
#4 please! The days of GAIM/Pidgin felt like the golden age of chat apps, at least as far as the user experience was concerned. Just one centralized app could manage all the disparate protocols without ads or millions of analytic scripts tracking every mouse movement. And it barely took up system resources.

Also, you'd be surprised how fast 4gb gets used up by the time the OS, the browser, and various Electron apps take their cut. I can't browse the web while having Slack and Spotify open or things start thrashing. I think it's past the point of ridiculousness when a simple chat app takes more memory than a full featured IDE like IDEA.
Assuming that sites don't block archiving (Vice and its sub-brands like Motherboard were doing this quite aggressively for a while, so there's basically no public record of what their articles used to say), and assuming the Internet Archive themselves can't be convinced to remove the archived copies.
Dead reckoning is exactly as described in that pull quote, but the problem is that when you integrate, e.g., accelerometer readings to get velocity, you also integrate its bias, which varies over time, and in the case of MEMS sensors will cause very significant errors.

The solution described in this article significantly improves on that by using the pressure data on foot strike as an observation to estimate the IMU's biases and correct the IMU-only position and attitude.

EDITED TO ADD: In many inertial navigation systems - presumably including this one - dead reckoning will still be used as a fallback in the case where corrections fail (i.e., no GPS or insufficient pressure data)
ORS: The medical advance of the century (1996)
As a user of both, I'm excited that Coinbase finally has a competitor. The fees alone on Coinbase, not to mention transfer times, are getting too ridiculous in my opinion.
Looks like a duck, acts like a duck. Google lives and dies by their advertising revenue, they made have decided that engineering is a core component that creates all that advertising revenue but it's still just a means to and end
There's nothing that limits rpm/deb to distribution. Anyone who publishes a tarball with software, can publish rpm/deb as well. Many do.

Hence my "or otherwise bundled..." note.

But you're still only thinking in terms of packages that are bundled and installed via the system tool. Anything not installed via that tool can typically do whatever it wants if its scripts run as root, and anything that is installed via that tool typically won't be aware of anything that wasn't and will happily write all over it with no mechanism for backing up what was there before or reverting a breaking change.

The point is that relying on some voluntary convention like this isn't good enough. A modern OS should enforce mandatory restrictions on all installed software. We should be able to do things like checking exactly what is installed, or uninstalling something unwanted with or without also uninstalling any now-unused dependencies or any configuration data, and we should be able to do these things reliably, safely, and without any requirement for the software itself to be "well behaved" in any particular way.
Well, if we're guessing, surely developed nations produce an order of magnitude more waste in general. Just like the average American consumers more energy than everyone else.
Yeah, and it's nice that there's an eternal record of every edit, and other people can contribute via pull requests.
Big Energy Confronts an Unfamiliar Power: Competition
Why do people feel the need to update especially on production servers? Shouldn’t production servers be updated only when necessary?
The FCC’s order gutting net neutrality is now official
> Starting with California, Massachusetts, Missouri, Montana, and New Hampshire
> I don't see how GPS is a "nice to have". How does an entity know to get from A to B without some sort of navigation assistance?

GPS ≠ navigation assistance. You can infer where you are on a conceptual map from reading your surroundings, especially signage. Getting a latitude/longitude estimate from the GPS network and trying to match it with an overly precise and possibly out of date map isn't the only way to infer your current position. It's only useful when you don't already know where you are, and computers are good at precisely remembering the path they took from the last known observed reference.

Plus, self-driving cars need to be aware of their surroundings, and not solely rely on blindly following a hyper-precise map as a prescription of the road details ahead. Having the local observations become the canonical precision knowledge, and keeping the map as conceptual knowledge of how roads connect places, implicitly gains a lot of this sort of benefit.
“Some puzzles for libertarians” treated as writing prompts for short stories
No, it’s that a cheap compact unit can be used accurately by using an understanding of the foot-planting gait of a human to remove low frequency drift in that cheap unit.

The whole concept is that, using a foot, which is only moving quickly or still, you can filter out the the low frequency component of all of the signals. These sensors are relatively accurate under movement and large signals, just not so much when stil, since their signal strengths become relatively low to the offsets and noise in the system.
Homebrew it is!

$ sudo brew

Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
While as a developer I find this super interesting, as a system administrator this makes me cringe. We don't have a lot of resources for servers, and I end up spending a disproportionate amount of time banning IPs from bots running poorly configured tools like this, which aren't rate limited and crush websites.

I'm grateful that "Obey robots.txt" is listed as part of it's standard behavior. If only scrapers cared enough to use it as well.
I'm on an HSA. The hospital would have gotten nothing from the insurer, and I would have had to pay the whole bill, if I hadn't hit my deductible. If I'd just been to the ER and not been admitted, I would have probably had to pay for it all.

I have it on good authority that saline IV bags are dirt cheap. The hospital used a machine to control the delivery rate, but that cost should have been amortized over hundreds or thousands of patients. The nursing labor involved was negligible, not more than a half-hour for the whole stay.
The article you are commenting on explains it in great detail.
I didn't understand why at first until I started reading dozens of books and papers suggested here that have precision in their writing, now I too can't stand an overly written article or book. The Art of Computer Programming vol 1 contains an excellent introduction to graph theory where Knuth converts a program flow chart into a graph to discover free subtrees.The dry humor there doesn't try to be too obvious, and every sentence is carefully written for precision.
fee-less market orders? Does this provide an API? I guess this offers an alternative to Coinbase for the casual buyer, but looking at gdax, it seems like 99% of volume is bots tracking price at larger exchanges.

I'm curious to see how arbitrage will play out with this.
The author here, Heather Sher, is a radiologist with trauma experience. Her point is that AR-15 weapons use high velocity bullets whose impact causes extraordinary damage when compared other weapons. AR-15 weapons with large magazines can inflict enormous damage. She argues that the ban on assault weapons should be reinstated (it did mitigate shootings) and that the ban on studying gun violence as a health issue should be rescinded. Small asks in the light of the trauma she observes they have caused. I agree, but I think we need to go further.

As for Slansitartop somewhat snarky comment, I agree that we should consider banning SWAT teams use of AR-15 assault rifles. In fact, I believe we should disarm police in general and only allow the use of weapons in special circumstances.
An Early Employee's Field Guide to Workplace Arguments
That's my question too, why is the straw in every day life necessary?