skysight-inc/HackerNews huggingface dataset:
About 3-4 years ago I was working on an open source cloud platform for a company deploying a public cloud. There was a particular error that sometimes happened in our production environment where a rebooted VM would come up but couldn't connect to the network.

We tracked it down to a race between two services in the data plane. It turns out the VM controller wouldn't wait for the network controller to unplug a virtual interface before requesting the interface to be plugged back in. There was a lack of co-ordination happening. However it only happened when the network component was under heavy enough load that it would take too long to respond before the VM service finished rebooting the VM -- usually it was fast enough and the error wouldn't appear.

I managed to model this interaction at a high level in TLA+. From there I had suspected that the error was in the mutex locking code in the async library this system depended on so we refined the model pretty close to that implementation. As I recall we found that the mutex code wasn't the culprit -- a fine result. We ended up implementing some light-weight co-ordination mechanism to ensure that the VM service waits to acknowledge the progress of the network service.

Since then I've continued to use TLA+. I find that programming languages are insufficiently expressive enough to describe high-level interactions between other processes, network events, and humans.
If you're thinking to build a new bank, here's my ideal requirements: near home and open on weekends, possibly also near work (it shouldn't be open all days), that accepts password with no special chars, that doesn’t have security questions but instead fido2. And ideally where you primarily interact via async emails or chat.
Biden says he's open to breaking up Facebook [video]
I fly. During critical phases you should be assuming something bad will happen and prepare for it. At least on the pilot end of things, we don’t like surprises so we put our ducks in a row for when shit goes sideways. The reason planes don’t fall out of the sky all the time is assumption of and preparation for failure. It’s why planes have redundant systems and it’s why our emergency checklists are memorized.
Given fixed inputs of soil and water, extracting more usable crops is strictly better than extracting fewer.

I think you may be stuck in the naturalist fallacy.
I hope quantum entanglement (QE) it will be achieved. It's hard to have QE now between billions of chips to achieve an internet without wires/delay, but between 2 chips one on board of the tiny spaceship and the other here on Earth to have instant communication without having 4 years delay is totally feasible right now. I know, I'm a dreamer :)
Fair enough, good points. Will keep that in mind when writing.

As for "splitting hairs over minor issues" I disagree; the difference is not trivial as explained over here: https://news.ycombinator.com/item?id=19905418
I don’t mean sequentiality of events I mean sequential steps in the process. All of the side effects of my button press happening in order.
If you’re trying to say that’s an implementation detail instead of design elements then I’ll counter that by that yard stick, the difference between email and Slack are just implementation details.
> it is very rare that I get to cut my rage loose, and let it flow. Mosh pits are the only place I can think of where this is an acceptable form of self expression.

At the metal shows I've been to, it's precisely the guys trying to "cut [thier] rage loose" that you want to avoid. Moshing, like football, should be about a physical form of communal fun, not expressing anger and aggression; otherwise you get safety problems.
Right, but those gravity wells might make that water rather irritating to get to relative to water contained in comets or other Oort Cloud objects.
Ok. What did you mean by "isn't even recommended anymore?"
BLAS/LAPACK is fortran, not C.
>Imagine sending out a command to the bus and not knowing when it'll get processed. Perhaps under a second, perhaps next week. You can't expect a reply at that point because the service that sent it may no longer be running.

That's because this is missing the point of a message bus. Namely, communication with a message bus is meant to be one way, there is not supposed to be a response. If you want a timely response, you should set up a loadbalanced autoscaling microservice that maybe hooks into some large backend store.
Thanks for that. Priors updated.
A bunch of intelligent adults with access to data, the facts, and a lot of free time?

Yes.
Problem is, retraining programs are generally ineffective, between 0-15% according to some sources. So transitioning workers from job A to job B is really more of a pipe dream than a reality.

It’s also partially why calls for UBI and other alternative solutions are gaining traction nowadays (although, atm only one person is running on that platform for President in the states)
Indeed, worth remembering that (Reuters, I think?) published a scene-by-scene account of the tape in "Collateral Murder" before Wikileaks ever did.
Yeah, there's a cottage industry of security firms who sell exploits to the U.S. government directly or indirectly through big defense contractors. Many, and I personally have assumed _most_ (but without checking), are American firms.

And, frankly, the Israeli industry has much to gain by advertising their prowess in order to bolster their IT security bone fides internationally. American firms are probably more discrete, so tabulating widely published exploits by country of origin wouldn't be a great metric to determine which country is doing the most work crafting exploits.
Well, maybe but the time it takes for the next generation to get in power, and actually start making changes, it might be too late for many many cities of the world. In times like this, isn't it more responsible to not have children?
If you say everyone should do something, but you are _unwilling_ to do it first, it's hypocrisy.

Hypocrisy from leadership (whoever they are) robs people of motivation and compassion towards both the subject and the message. (ie, climate change)

There are many examples in history where individuals stood up for a belief and lead the way to change.
Upton: A Web Scraping Framework (2013)
I thought I took that into account: the compensatory damages were $55mil. One thousand lawsuits lost (assuming 90% victory rate and 10k original lawsuits) times $55mil ea is $55billion in losses. With their current debt and income, they seem to be out of business.
All networks have vulnerabilities, regardless if they're connected to the internet.
Is there anybody here who doesn't install apps on their phones? I just use it for browsing and email.
Some context: t' Hooft the man is treated with great reverence among physicists for his many impressive accomplishments and deep physical insight, but the overwhelming majority think he is dead wrong on quantum mechanics. Even among the small number of nonconformists who would describe their primary work as on the foundations of quantum mechanics, his position is a distinctly minority one.
I will assume the downvotes are from those dastardly Oxfordians, so comfortable in the shadows...
You mean colonizing and occupying its own land. That would be like saying the Choctaw are occupying Florida.
Capitalism Is Snacking on Itself
Here's the Koch study btw: https://www.mercatus.org/system/files/blahous-costs-medicare... and if you read anything past the first page the study is a fairly scathing indictment of the current system, indicating not only would everyone be covered but it would actually likely lead to a net decrease in spending.

Here's the study that showed Medicare and Medicaid control costs better than private insurers: https://www.modernhealthcare.com/article/20190211/NEWS/19021...
The obvious question the article doesn't address is why insurers are willing to charge low prices for policies to hedge funds that could provoke a default. The insurers lost a huge amount of money in the example, and you'd think they'd try hard to avoid that.
> Luckily, lay people are qualified to make those judgments. Whenever I have seen an actual jury at work, I have consistently been impressed by the degree to which folks can absorb the information presented at trial.

Having been through a jury trial for patent infringement, I saw nothing of the sort. My company was defending, and the plaintiffs dismissed every juror who had anything more than a high school degree. They were incapable of understanding any nuance in the engineering or math, and so they sided for the home team (the plaintiffs managed to get jurisdiction in their home town).

If you like, call it sour grapes because my company was on the losing side, but I think the majority of jurors are completely unequipped to understand basic science, mathematics, engineering, software, medicine, or technology.
Here is an example of how to create a problem.

You rebase your private branch off of a shared master and pull in other people's commits. Someone else pushes out their rebased version using force. More commits are made on top of the other people's commits, including reversing some bad commits. You try to rebase off of the shared master.

In your last rebase, you are trying to replay all of the commits in your history that are not in the remote history. However git does not understand which local commits are from you and not pulled in on the previous rebase. It therefore tries to play them on top of the remote master if it can make sense of them. Which means that you bring back the reversed commits. You might find conflicts in code that you have not touched. You resolve them as best you may. And now you've got the definitive version of what happens, and no way with the screwed up history to figure out why it is going to go wrong. Then you force commit because that is how a rebase flow works..and everyone is screwed.

I agree on branches diverging too far. Merge early, merge often.

If you never run the command to git bisect, you should try it. What it's for is finding the random commit that recently broke a piece of functionality that nobody realized would break. Because nobody realized it, the log messages will say nothing useful. And you don't need to figure out where the change is - just write a test program for the breakage, run git bisect, and look at the offending commit.
Doesn't everyone know that Monsanto had questionable ethics?
A comparison which doesn't lessen the pain for those 50,000 mostly well-paid people in any regard what-so-ever.

Those jobs are often not easy to replace financially for the people working them. It involves uprooting their families, or being away for weeks at a time, working in the natural gas industry or similar, and they still don't make more than they were making in coal. I grew up around coal country Appalachia. Making $50,000 per year in a coal mine in the early 1990s, anywhere in Appalachia, was a financial godsend for those workers. I knew a lot of families that it provided a solid middle class life for, people that otherwise were going to be stuck working low wage jobs in those regions, if there were any jobs at all (and it was a hard, dirty, unhealthy, dangerous job; they all knew that).

A typical Sears worker has plenty of other opportunities at comparable or higher pay. There isn't a shortage of $13-$15 / hour jobs in the US, particularly in the locations where most Sears stores operated historically.
Generating Poems with GPT-2
Caves of Qud is amazing! It's awesome to see it linked here
The effect the article refers to probably lasts hours to a day.

The doses that FtM transgender are taking are higher than the normal male range, I'd estimate.
I don't think it's just the target demographic. I think this desire for self-expression was always there, but game producers/developers have only recently fully embraced the idea.

I have gamer friends (~30 years old) who joke about "Fashion Destiny" (referring to the video game series) and so on, except that they clearly really do care about the cosmetics because the availability of certain cosmetic pieces will get them to go back into the game and grind out 50 hours of gameplay, or cough up $X for Overwatch loot boxes, or pre-order, or buy the battle pass, etc.

It never gets to the point of bullying because we're 30 years old and we all carry guilt over the frivolity of dumping money into virtual cosmetics. But if you want a bunch of 30 year old men to talk about accessorizing like it's Sex and the City, just throw us into an in-game winter festival with cosmetic loot boxes.

With Fortnite, I think there's a problem where the winner to loser ratio is so small in each round that win/loss and other performance metrics become meaningless, so there isn't some sort of reckoning in the form of the end-game scoreboard. With games I used to play (as opposed to the ones I play now), the shit talking mostly got settled when the other person outplayed you. Or vice versa.

On the one hand I think the Fortnite dynamic helps to keep the game accessible, but on the other hand for lack of a clear direction (getting good at the game) players get a bit more cosmetic.
Please stop writing these kinds of comments that only further flame wars here. Thank you.
Nice little bit of anti-Semitism there
Why is "Apple devices" not a separate market when it comes to apps? Apps made for Apple devices can't be used on other devices without changes.
If we are being honest, this isn't being installed to "improve the livelihood of warehouse workers", it is being installed in anticipation of improving the bottom line for Amazon's shareholders. There may be benefits or detriments to the workforce along the way; considerations like the "wellbeing of the workforce" are effectively given a weight of zero in these decisions.

People's values can and will diverge on whether the bottom-line driven approach described above amounts to an ethically defensible system, but we shouldn't be under illusions as to how decisions like this are made.
I'm working on a 1.6Ghz CPU and compile times are a frustrating several seconds.
How California Is Fixing Angeles Crest Highway After Landslide
I love how you’ve been convinced that Russia and China are naughty and Israel is somehow too good to be shady.
I make a lot of design decisions not based on what I can understand but on what I’m willing to teach/support.

And I’ve never even witnessed someone teaching event thinking to people, let alone mastered that skill myself. People either self teach event based thinking or struggle. In a teamwork situation that property is a huge con. I have no interest in creating an underclass of developers so I can look good because I’m the only one who can fix certain problems.
ELI5. Can you retrofit coal generators with natural gas?
That's good but there are many existing coal companies that could make up for the missing coal. https://www.eia.gov/coal/annual/pdf/table10.pdf
Apple releases iOS 12.3, macOS 10.14.5, watchOS, tvOS updates
Pretty much spot on - the "architects" of the world colluded in driving humanity to misery and despair by encasing people in hollow concrete spaces.

What I don't understand is how this came to be?

In the Soviet Union, for example, all resources come from the single source, so the distribution of funds becomes politicized and all kinds of crazy shit can fester simply because the group promulgating said shit was better at politicking (see: Lysenko). All universities then have to teach the same stuff. Groupthink. Monoculture. I get it.

But how did the western world succumb to this? Surely there are different architectural schools? Different funding sources? What is going on the minds of the people who are writing checks for all these modern Paris buildings [1]?

[1] By the way, the author forgot to include the Mitterrand library in his list of peace crimes in Paris: https://www.20minutes.fr/societe/diaporama-7866-bnf-20-ans
Could you elaborate on how you would approach getting to the root cause of the resentment? And then once you have identified the cause, how would you go about dislodging that?
You can’t forget about Ember. It’s still going strong. It’s in widespread use and drives some major projects. It’s just not terrible, so people don’t constantly talk about it or rewrite things in it or replace it, generating a churn of blog posts about itself, it’s out there quietly getting stuff done for a lot of people.
> - Money doesn't create happiness ( and what they don't mention: being short on money makes unhappy, my 2 cents)

I had this exact conversation with my uncle and dad the other day. It was basically along the lines of, "Those who say money doesn't make you happy have never been low on money trying to meet bills." Perhaps we're really cynical, but I feel this is a good point that many things don't address (though I am aware of the studies that show money does increase happiness, up to a point, around $75k USD if I remember).

That said, "Money can't buy happiness, but it can buy the things that make me happy."
GUI operating system from scratch running on an Arduino (2018)
Life is a constant stream of potential causes of resentment. Gratitude is not just a palliative for resentment, but also a preventative against future resentment. If you're heavily focused on how grateful you are for the amazing life you live, you will be less likely to fall into a cycle of resentment about the setbacks.
Glass is still a terrible insulator, even if it is more efficient than what it used to be.
Expressing gratitude to another, or mindfully thinking about things you are grateful for in the moment, is a recognized technique that has been shown in studies to increase people's self-reported level of contentment. I'm surprised they don't cover journaling, another low-cost, low-effort practice that has been shown to improve subjects' self-reported level of contentment with life.
Absolutely not true, I’m afraid. I’ve architected or worked with message bus architectures in large-scale medical payments processing systems, as a central broker for a national-level telecommunications company, multiple Fortune 500 consumer-oriented companies with complex sales workflows, and so on. This doesn’t obviate the need to be clear on producer-consumer relations, as you point out, but that’s a governance issue, not a technical architecture problem, and one that is at least as severe with API-only architectures.
I find that it depends a lot on what you're doing. The real problem with WSL is I/O latency.

It's acceptable for relatively infrequent file access, but will eat you alive if you're doing anything that involves lots of random file access, or batch processing of large sets of small files, or stuff like that.
Your ability to solve leetcode problems fundamentally determines your job prospects, just as being attractive/rich/famous fundamentally determines your dating prospects. Whether or not this is a fact to be lamented, it's still a fact. Trying to get a job without doing leetcode is like trying to get more dates without being more attractive. Doing leetcode is how you get a job.

Here's a formula for stable job prospects: walk into the interview, in 30 minutes solve the challenge that most candidates can't finish in an hour, spend 15 minutes talking knowledgeably about your solution, then spend 15 minutes shooting the shit and building rapport with the interviewer. Your pass rate will exceed 95%.

To consistently pull that off, you have to do leetcode.
Relationships with intense difficulty are rewarding and memorable?
My understanding is yes - but many coal plants are otherwise at the end of their natural lives.
> uprating them to critical was overlooked (which would have forced a lot more testing of them).

Was this "overlooking" accidental or designed specifically to ignore the forced testing? This is the question that might be hardest to answer, but would justify criminal charges for the deaths in my mind.
https://hackernoon.com/how-it-feels-to-learn-javascript-in-2...

Lots and lots and lots of people.
Not clear whether you consider this a good thing or a disgrace?
The audio overlay with the transcript is always amazing.

https://www.oyez.org/cases/2018/17-204
I used to work on MyFord Touch at Microsoft and this was a constant discussion. "Why do we have such terrible touchscreens, when Tesla has such great ones?"

I think Tesla made the right decision because while it's certainly costing them a lot of money to deal with, the screens in most cars (especially back then) were so bad that it probably would have been worse for their brand.
> I dont think there has been much change in the javascript world in the last few years that hasnt been strictly beneficial.

Take a look at Svelte 3.

https://svelte.dev/blog/svelte-3-rethinking-reactivity
Sure - but in the case of sex, the equivalent is a written agreement to have sex while asleep at at a specified time and place with a specified person.

Your cab fare metaphor is a very misleading illustration of this.
Not at all, many EU countries produce such tools, some even commercially sold.
Are You Going to KubeCon Barcelona?
They probably would, I mean the whole point of Microsoft being in the hardware game is to lift the quality of their hardware partners right?
Your understanding is correct.

“The most likely candidates for a coal-to-gas conversion are 50-plus year old units, less than 300 megawatts in capacity and generally early generation sub-critical utility boilers – the least efficient, most costly to operate and with the lowest overall capacity factor in the coal fleet,” he wrote. “Most plants west of the Mississippi River built in the 1960s or later aren’t as attractive as candidates for fuel switching since they are often larger, more efficient and tend to burn Powder River Basin coal, a cost effective fuel with a more favorable emission profile than the bituminous burned by many eastern plants.”

Sidenote: Power River Basin coal is that which is mined by the company this article refers to as having entered bankruptcy.

https://energynews.us/2017/02/24/midwest/conversion-to-natur...
Read the Wikipedia entry on Stuxnet [1] for more details.

> Stuxnet targets SCADA systems and is believed to be responsible for causing substantial damage to Iran's nuclear program. Although neither country has openly admitted responsibility, the worm is believed to be a jointly built American/Israeli cyberweapon.

[1] https://en.wikipedia.org/wiki/Stuxnet
What options does a Safari user have to prepare for war on the web?
I don't believe it to be orthogonal. There is a deeper philosophical question that has barely been touched on what search engines should return in response to user queries, which also applies to surfacing news. In the past with Alta Vista, word matches were the heuristic and it was extremely obvious as to how to measure the quality of the result. Now you've got very abstract heuristics, such as intent of the user, trustworthiness of the source, whether the source is healthy and good for society, the correctness or honesty of the content, how much revenue will be made with particular set of results, etc. and the public is being left out of the discussion as to which heuristics are important to apply.
Also: the boring front-end developer recognizes that large single-page apps can have significant front-end performance issues, which is why so many "modern" web apps are unbearably slow & memory-intensive.
I have one of these yellow screens on my Model S. Tesla told me twice over the past 3 months they would be replacing it under warranty very soon. I'm disappointed to hear they're walking this back.
Gratitude could certainly be incorporated into a religious or spiritual practice, but it's not inherently a spiritual concept.

The way I was taught to use gratitude to enhance my well being was to consciously think about the things I'm grateful for a write them down. That's it.
Game of Thrones – Season 8 Episode 5 S08E06 Download
I mean.. technically everything in AR is lines drawn on a screen right?
It's not clear to me if you're right, but I would rephrase the issue this way:

If there's a vulnerability in Whatsapp, the injected code should only affect Whatsapp.

Otherwise, it's (also) a vulnerability in iOS.