skysight-inc/HackerNews huggingface dataset:
The executives who decided on the disastrous cost-cutting measures at the Bhopal plant, in the face of numerous warnings about the mortal danger they posed, should have been sent to prison.
I love the ACM and everyone trying to make the effort to preserve our history.

I see it from the perspective of someone working at a fast-moving, Silicon Valley-based software vendor. In that context, I don't see a lot of appreciation for history, in the day-to-day basis.

But it's not because people intrinsically don't care about it. It's more about our daily lives. We not only have to do what we all have to do, but we also have to keep up with the latest if we want to survive here. That line of thinking constantly pushes us forward, and doesn't reward looking at the past.
IIRC its effectiveness was connected to the availability of fat in the rest of the diet, without which vitamin A was not metabolized effectively.
> Nice! Perhaps the problem is that there's too much water on the market, due to the government handing out too much too cheaply?

No, the original design was done by CSIRO, the government scientific arm. AFAICT, is was pretty well done. The problem is entirely political.

The river system is about 3000km long, and passes through 4 states. The state politicians suffer almost no repercussions by white anting the agreement or just wilfully breaking it, but often get lots of kudos from their local constituents by shoving it to the other states and the federal government.

The media has done a number of exposés on farmers violating the agreement with no serious repercussions because the local state politicians - and the states run their respective police forces. It then degenerated into one state saying "if they are going to do that then we will too", aka tragedy of the commons.

But, ask any politician and they will tell you it can only be fixed in a drought, when farmers all over the country are going broke and leaving the land in droves, and it's plain to every one if you want to avoid a repeat there are no other solutions bar a compromise that everyone follows. This is the first country wide drought since the one that gave rise to the original agreement. It will need to go on for a bit longer before some sensible things happen, but we live in hope.

So despite how it's painted in the article, it's really an opportunity to put our house in order.
Our view is that to get performance out of a system (here CUDA), it's better not to start abstracting it right away. So we have CUDAnative.jl and CUDAdrv.jl for fairly low-level CUDA programming, albeit in a high-level language. However, with CuArrays.jl we implement the Julia array interface for CUDA GPUs. That means you can write array code for one platform (CPU using Base.Array) and start using hardware accelerators by just switching the array type (CUDA GPU using CuArray). Of course, real-life applications might still need to use CUDA specific functionality for one reason or another, but at least you can get most of the way without platform-specific programming.
Right in theory except if you look at it holistically nuclear energy does way less harm than competing energy sources. In terms of deaths per terawatt-hour of electricity, nuclear weighs in well below solar, wind and hydro. Even if you include Chernobyl and Three Mile Island and Fukushima. [1] It also generates basically negligible quantities of waste which can be used in different processes or safely stored underground. The total amount of waste produced so far is ~one football field. From the entire history of nuclear energy in America.

Humans are constantly exposed to low levels of background radiation, and surprisingly enough, we show very few negative effects from low levels of exposure even beyond that.

People are much more scared of radiation than they should be.

[1] https://www.nextbigfuture.com/2011/03/deaths-per-twh-by-ener...
Why not state the deadline as a date rather than a number of days?
Getting downvoted because you made sense.
I remember that when my friend got a Google Home almost 2 years ago, I was asking it some questions to explore the limitations. I asked about a certain restaurant chain, and it gave me the information, but then I asked "is there one near me". It listed all places with "one" in the name near me.

I wonder if now it would correctly take the previous context into account. Google has been working a lot on improving their search and assistants to be "conversational". [1] looks like one of the results of this endevour.

[1] https://cloud.google.com/dialogflow/docs/contexts-overview
Shift+PrintScreen. It freezes the screen and lets you draw a rectangle over the area you want to capture.
You can also just put them on rollers and use them inside, which is still better exercise than a stationary bike because it forces you to use your core muscles.
Wonder if their MicroQuanta microsecond granularity Linux scheduler would be useful for other near realtime things like audio or electronics interfacing. I guess the low latency scheduler is a key part of making Snap work in userspace.

https://lkml.org/lkml/2019/9/6/177
Companies like this don't operate for fun. What are they producing that is so toxic, can it be replaced or disused completely, and/or are they behaving significantly worse than other companies fulfilling this demand would be?
Because their intent was to provide a secure service, as is proven by their quick turnaround time well outside work hours.

Despite the lapse, they score high in authenticity, and given their small size, they deserve a second chance. Megacorps probably wouldn't have my sympathy.
Until now I didn't know about flatMap() and flat(). Thanks for this!
This is very frustrating. From what I understand of the publishing industry, the Kindle sales are not counted towards the main NYT best-seller list, so all the focus on the initial launch is around selling the physical copy. This is said to be done to prevent gamification and manipulation, but this still goes on with the hard copies also, where would-be best-selling authors often pay third-party companies to buy a lot of copies of their books from certain bookstores.

Source: A friend of mine who has been trying to get onto the NYT best seller list.
It would be, but the most realistic, specifc claim you could typically make is that some hypothetical feature that probably hasn't even been dreamed up yet would get done in less time than it normally would.

It's a hard sell, and that's precisely why it doesn't get done.
I personally really like ruby’s Array because it lets you pass anything and you can iterate over it:

Array(nil).map ...
Array(“string”).each ...
Array([“a”, “b”]].select ...
Array([]).reject ...
...
Now this whole discussion reminds me of the game Star Citizen. Piles of social money go into it. But in exchange, Star Citizens delivers great demos :-) That's to a point wher I wonder : do people pay for the final product or just ofr the show, the dream it gives them (ie. exactly what you do when you pay for a good movie)...
One viable business alternative for this idea (or a fork of it) would be to use it to have 2 people videochating over the browsing session, where both can control the mouse/keyboard, sort of what you can do with TeamViewer but without needing to install anything on either machine; it would be specially good for teaching, maybe even some sort of tabs for the teacher and each tab is a different student shared session.
In this case we're talking about 5 VMs running php-fpm and no nginx in sight, so these VMs aren't immediately affected by said exploit. Also, these VMs only consume some public, unauthenticated APIs of the company and render the concent into some pretty HTML. These boxes have no persistence, no access to PII and no access to anything you can't get with curl right now.

Worst-Case, they can try sending some spam mails or DDoS-attacks, in which case the hoster would zero-route/force-stop them as soon as that's detected. And then I'd have to rebuild them with ~30 minutes waiting for teraform.

So yes, I'm going to act accordingly. By not bothering on a sunday, because the systems are properly isolated and there are procedures in place.
That's why they need to be super open about their technical stuff. Their experience might nurture others.
What is a proper configuration to avoid that?
Believe you need to link the appropriate shared library -- -ldb or something like that, see https://stackoverflow.com/questions/2628227/berkeley-db-cant...
It is tech debt, it just wasn't taken on as a debt intentionally. It's like going wild with a credit card - it's debt, but there was no rational thought as to what the consequences would be or how it would be repaid.
Probably not as exciting as the other comments here:
I automated the startup routine at my work computer.
It sets up VPN, clears out the HTTP proxy settings, clears the routing table to allow local network access, then starts up Visual Studio, SSMS, Outlook, Firefox, OneNote and some other auxiliary apps.

Other than that, I got consumer-style automation with IKEA Tradfri which responds via HomeKit and Apple shortcuts to me turning off my wake up alarm. And I use shortcuts to send a SMS home with my expected arrival time so my wife knows when she can start with dinner.
Greta Thunberg Meets Our Malthusian Reality
"The former Bhopal plant was owned and operated by Union Carbide India, Ltd. (UCIL), an Indian company, with shared stock ownership by Union Carbide Corporation, the Indian government, and private investors. "
Yeah, since the journalist uses something like signal, it's not like he's saying it has no use.
awk '!seen[$0]++'

awk 'NR==FNR{A[$0]; next} $0 in A' file1.txt file2.txt
This is a possible solution for healthcare in the first world, but not the third world.

"Affordability" makes no sense when these families (families, not individuals) are earning a few pennies a day. The only solution is to give stuff away for free at a loss. No amount of innovation or cost savings can fix the fact that people (and even institutions) cannot afford syringes.

The only real issue in the third world is none other than lack of capital generating opportunities. Anyone who has capital can participate in the global economy and fix their own problems. Anyone who has a job can perform daily labor to earn capital that can fix their problems. The people who get lost - the people stuck in the third world - are offered no opportunities that would enable them to trade their labor for capital. If there were enough of these opportunities, all of these problems would go away.
I don't know that I would ever do this, since O(lgn) space is normally trivial, but couldn't you use a RNG that's based on like the depth and start position of a given "stack frame" of a recursion-less quicksort?

Like to "recurse" (not actually recurse, but pretend) you would increment depth, the update the start position, and calculate the new partition index based on the (depth, start) tuple?

And run that in reverse for going back up the stack.

edit:
Hah. This is fun. There's a variant where you do tricks with the elements of the array to get constant space.

https://link.springer.com/chapter/10.1007/BFb0016252

The idea is that you partition the elements, but then instead of storing the bounds of the left and right sides, you switch the element from the start of the right side with the partition element of the "stack frame" above you. This later serves as a flag indicating the end of the right side, since the partition of the parent "stack frame" is greater than all elements on the right you know you've hit then end of the right side when you see a larger number than the parent "stack frame"'s pivot.
Gatekeeping how people do
exercise is one of the reasons why a lot of people skip on it.

There are tons of possible reasons why someone might prefer a peloton to a road bike, implying one is better than the other is just naive at best.

"Oh but you get free coaching from your peers" oh you mean more people to bikeshed how I exercise and more conflicting information? What's not to like huh
It also has reduced the amount of carbon pollution so who is to say one is right and the other is wrong?
Ah yes, I do agree that I’m just naturally inferior.

Just to confirm that is what you’re trying to say, right? Genuinely would love to understand this POV.
I agree fully. Please consider that the Flutter team are having a hard time keeping up with iOS changes with regards to developer tooling. For example, print() is now broken due to iOS 13 in everything but xcode and while using a debugger/tests is the right solution, it sure is nice to be able to add a print() statement in there for quick and dirty...
It should be quantifiable to within an order of magnitude or so, although possibly not in advance. In my experience the problem is that any individual piece of technical debt is too small for it to seem to be worth the effort for the difference knowing the value would make.
I remember on olympiads one trick that I though was brilliant out-of-the-box thinking was to shuffle input before sorting to avoid worst-case-prepared inputs.
In the past, America was not as unequal as it has become http://archive.is/QYuH9
It's a bit better, but still its strokes are strictly same-width—overall it's a pretty uptight modern grotesque. The goals seem different from mine, I don't really need miniature text.

I'd really like me a humanist monospace font with a bent toward serif-style shapes―particularly, a modulated-stroke font would be cool. Grotesques get really tiring after a while.
How does performing all my browsing on someone else's computer whom I don't know make me more secure?
Not to nitpick but :

>>> This is a serious problems for companies selling software

No. It is a serious problem for companies trying to make proprietary software. That's quite different. The monetary aspect of the question is independent of that. That is, you can perfectly sell GPL programs. What you can't do is prevent competitors and users of reusing it the way they want to.

GPL is a stance against proprietary software, not commercial software.

(now, I'll readily admit that this seriously undermines many commercial prospects, but that's just a consequence)
I wonder though, after decades of study in numerous fields, how much would you actually be able to remember?

No doubt some events in your life might stick around in your mind for a long time, but by your 100th, 300th, whatever year would 50% of it just be a hazy memory?

Or maybe this technology could give you super memory, I mean even currently some people are born with the ability to remember tons of information, but often at the expense of other brain facilities.
Git-Subline-Merge
In the third world, when IVs are not available to treat dehydration, they spoon feed people water. It takes up to two hours, but it's safe and effective.

I did it once for one of my children. He was four and I didn't want him to be subjected to an IV.

Possible solutions include an oral or topical medication to replace the injected medication.

The poor in the US often also need actual affordable solutions that work. That seems to have improved some in recent years.

It won't exist if no one even bothers to try.
>They've always been intelligence targets

...and intelligence cover.
Mach?
We need to invest more in research & safe solutions. Building tools, which by accident can eliminate large piece of humanity and damage nature severly, is not an ideal solution.
That half-life probably applies if the molecular machinery inside each cell does not repair the DNA anymore. DNA repair is a skill that is as ancient as life itself, and thanks to it there are organisms (so far only plants and fungi though) that can live on for thousands of years.
This cool 2012 paper by Michael Nielsen has been posted, discussed, and often undeservedly ignored eight or nine times on HN. There is, if I remember correctly, a follow-on which includes some material contributed by Judea Pearl, which is also worth reading. Turing Award winner Judea Pearl's books and papers are the seminal sources; start with his Book of Why. Pearl's contribution was to show that there are circumstances where it it possible to separate events which are causal and events which are randomly correlated.
Yes. What exactly is the intended purpose of this?
Dow did not own it during the disaster and was not responsible for it. Your post is off topic.
It's really surprising that this and the Banqiao dam failure that killed 230,000 are fairly unknown to the west while Chernobyl is a household name, which killed ~60 first responders and "up to 4000" from early cancer deaths (using conservative linear no threshold models of dose response)

https://en.wikipedia.org/wiki/Banqiao_Dam
Social progress would change slower though. Actually even quoting Max Plank:

> A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it

Aka science advances one funeral at a time
Masterpiece found in French kitchen fetches €24m
We've got an almost hundred year track record being two orders of magnitude safer than solar panels. More people die falling off roofs installing solar panels than from nuclear power. We have invested in safe solutions. It's safe. That's why its so expensive to build plants.

I think for perspective you should consider the single worst nuclear incident in the history of the world, Chernobyl, over the full course of time, will have caused 4000 deaths. Meanwhile, the worst hydro incident, the Bangqiao Dam [1] failure led to 230,000 deaths. 57.5X more deaths, and indelibly changed the landscape. Yet nobody seems to have a problem with hydro. Fear of nuclear is irrational. Respect it, don't fear it.

[1] https://en.wikipedia.org/wiki/Banqiao_Dam
Tangentially related, the Yes Men went on the BBC pretending to be representatives of Dow, taking full responsibility for the disaster, and temporarily wiping $2bn off the market cap.

The man in the video, Jacques Servin, was fired from Maxis after adding an easter egg to SimCopter where groups of shirtless men appeared kissing each other on certain dates.

https://www.youtube.com/watch?v=LiWlvBro9eI
https://en.wikipedia.org/wiki/The_Yes_Men
In order to make it easier to endure any time spent with your partner's family, such as during holidays.
Not OP, but here's my impression:

Loaded up google.com, got hit with a captcaha. Ok, shared IP, fair enough. However the low resolution made solving the captcha more of a pain than usual. Also, the recaptcha fade-out thing took significantly longer than normal, like 20-30 seconds waiting watching the fade out animation.

It also "feels" laggy, but mostly because on hover doesn't work because it's an image and not HTML being rendered in my browser. Page loading is decent, it's definitely noticeably slower than loading a normal page for me but within what I'd expect for a web proxy.

Not being able to double/triple click on text boxes or drag to select text was kinda annoying. Suggestion: maybe add the ability for the browser to have some popular extensions activated, like uBlock Origin?

Browser: Latest FF (70) / Location: Southern US
O'Reilly unavailable due to fires in California
O'Reilly unavailable due to fires in California:

https://www.oreilly.com/index.html
That version of Scrum is horrible, and should be fixed. Scrum switched "commitment" to "forecast" in 2011, and it should be well known by now that you can't compare velocity across teams, or even within the same team out past a couple of sprints.
Also from IBM: Hypervisors/VMs, ancestors of today's containers and SGML, foundation of HTML and XML
In the same vein :

CALL -151

That was the entry point to Apple 2's "monitor" (ie bare bones assembler). Not the most beautiful, but very evocative, gave me a sense of power :-)
Yikessss the 1980's US government quarantining a huge percentage of the gay community... That ain't it.

HIV is not easy to communicate to other people. Education and PrEP have reduced the problem immensely.
I agree, CrossFit is not great but that comment is being a bit over the top.

All of the problems mentioned are manageable. Know your body, take it easy at first (as much as you think you can do as much as the other people), in exercise more is more but up to a point, and don't think the top athletes got there by only doing CrossFit exercises (or only exercises).

(That being said I did have some minor injuries from lifting weights and other sports, it is safe when performed correctly but these minor injuries happen)
Bootstrap, angular, ASP.NET Core MVC, C#, SQL
Cool. Doesn't work at all in FF on Android, but at least I got to read the first two lines and the ‘scroll down’ message.
> Software engineers are not always good at prioritizing the business value side of their work so they aren't trusted there.

This.

Software engineers are focused on the implementation side of things and how today's work will impact their work in the future. Yet, sometimes a quick and dirty solution that takes close to nothing to implement is more than enough to put a functionality in production. Sure, the whole thing will need to be scrapped in the near future when rewriting the feature to meet all design requirements, naturally the quick and dirty solution underperforms, and of course implementing it properly will take 3 or 5x the time. Isn't it obvious that the team is wasting it's time by implementing a quick and dirty solution?

Yet, the quick and dirty feature does shorten the time to market to a fraction of what it would otherwise take to implement properly, and perhaps that is good enough for the project for the time being.
Is HN really the best place for pearl-clutching poverty porn?
> I chuckle to my self sometimes when I see a toddler walk up to a TV or video advert and try touching it a few times, then walk away confused because what they thought was a touch screen isn't doing anything when they touch it.

I've seen in shopping mall little girl standing in front of aquarium, trying to move around fishes with her finger...
Largely agreed, but VMS by no means predates Unix.

Unix was in development in 1969, had a manual released inside AT&T in 1971 and was announced publicly in 1973. The first source license was sold in 1975.

VMS was released in 1977 as VAX/VMS on the VAX series of computers. Before VMS the DEC hardware ran various other operating systems such as RSX-11, TOPS-10, and optionally AT&T Unix (which was developed on the PDP series, first the PDP-7).
This :

http://www.literateprogramming.com/knuthweb.pdf

(actual "code" starts on section C)
I loved Feist's books as a early teen. Never got around to playing BaK, but I've been surprised to see few people talk about Magician for how popular it supposedly was. That book was formative for me and I can't get it out my brain to this day.
Nice try FBI.
A tool like would be a wonderful addition to the PostgreSQL ecosystem!

That being said, this tool won't work well for anything but trivial queries. PostgreSQL query plans have many quirks around CTEs, Loops, etc. that cause problems when trying to determine the true inclusive/exclusive time for each node without forgetting stuff or counting it twice. The only tool that tackles them fairly in my experiences it the good old https://explain.depesz.com/ using it's own Pg--Explain library [1].

I'm currently working on my own version of a tool like the one presented by OP (called FlameExplain), and hope to release it soon.

[1] https://gitlab.com/depesz/Pg--Explain/blob/master/lib/Pg/Exp...
I agree, but PrEP isn't available to them. So what else do you expect them to do?