skysight-inc/HackerNews huggingface dataset:
It is your comment that is asinine.

"Mr. Adam had seen posters hung by the management company telling tenants to shut their doors and stay inside in the event of a fire. But Mr. Adam, his wife, his daughter and his pregnant sister ignored the instructions and ran. "Anyone who listened to the fire brigade and stayed where they are, they lost their lives."

If you're consistent, I expect you think the fire brigade is only secondarily at fault for the crap instructions? It was the people's fault for following the crap instructions?

Regulations are a device for division of labor and education. They exist partly to tell us what to do so we don't have to understand everything from first principles.
Yes as my uncle who used to lecture at Warshash (a MM college) said they always crucify the captain
This unfortunately seems to again validate John Boyd's sentiment that a low tech, highly maneuverable, simple and reliable single purpose fighter with a simple gun is a better investment for actually winning a war than incredibly expensive high-tech planes tested by people with clip boards.

Edit: Between 1 F35 for $85 million or 5 F16 for $73 million total my money would most certainly be on the F16s.
Free Dmitry Bogatov
I was part of a team that successfully did inventory in mongo. The cart makes zero difference if Mongo is only storing the inventory. It's fine to atomically change a single inventory row.

Operations that span multiple rows can be safely performed with a bus in front of it.

You can't judge the idea. I don't think you've quite grasped it. I agree the book example isn't great, but that's not the technology's fault.
If that video exists I'd love to see it some day.

Given that the downlink is reasonably stable when OCISLY is just sitting there (with our without a booster sitting on it) I'd love to see them back up on the locally recorded video and then send it via the downlink once the link has restabilized. We're talking about 18 seconds of video here, not hours :-)

I would be interested to hear how SpaceX internally views sharing video with the public. I could imagine a range of feelings from "why waste time showing them" to "an essential part of our marketing and outreach." I personally see it as fascinating stuff that touches on so many interesting questions about rocket design, future space feasibility, and the design limits around cost optimization.
I disagree about mass transit being the way of the future. It's an outdated relic of the 1800s. It's a highly impersonal dehumanizing system that boxes everyone's lives into predefined routes.

I see automated electronic vehicles as the very near future solution.
Regarding "SQL is better suited to this use case because it has transactions" comments:

Before we had 3-tier architectures, people would have designed a shopping cart use-case as a single SQL transaction that would last maybe 10 minutes. The DB would make sure everything stays consistent until the final commit. The GUI would keep an open connection to the DB the whole time.

In the web age, you want stateless services and HA. It means a transaction can't last more than a single web page. It becomes more challenging to design a shopping cart, because the DB can't handle a long-running transaction anymore.

Writing a correct system that reserves the items you put in a shopping cart and doesn't leak items and doesn't sell the same item twice is not easy. A transaction Rollback will not do the cleanup for you, because there's no long running transaction anymore.

So SQL transactions can't help as much as you think.

Mongodb doesn't have transactions, but updates are atomic, which allows CAS and optimistic locking use cases. I agree it's less than ideal when you need to provide ACID behavior, but don't believe it's easy with SQL transactions. It's not.

The author regrets the book's suggestion of putting each object in stock in its own document, and I agree it's probably a recipe for disaster. Atomic updates make this design absurd.

You could easily db.products.update({_id: productId}, {$inc: {inStock: -5}, $addToSet: {pendingCarts: {cartId: cartId, quantity: 5, timestamp: new Date()}}}). This has the exact same atomic behavior as a SQL transaction to remove 5 from the stock and add a new "shopping cart entry" in another table.

(you still need to expire cancelled shopping carts, and you may need a transactional way of completing the order: it's also manageable if designed as an idempotent operation)

Anyway don't over-simplify this use case and believe "a single big SQL ACID transaction would handle the problem". That's just not true.
This paper is published during an era where the dominant global empire is founded and (mostly) run on principles opposite to ethnocentrism, at least internally.

All of the current POTUS' grandparents were born in Europe, and the previous one's father was Kenyan. The most famous entrepreneur of our generation was born of Syrian parents. The wealthiest self-made woman in America according to Forbes (I did have to Google it), Marian Ilitch, had Macedonian parents.

The best strategy in the Iterated Prisoner's Dilemma is tit-for-tat [1]. The winning groups of today have found ways to cooperate-cooperate systematically, overriding the advantages conferred by the behaviour observed in the paper.

[1] It gets more interesting when both sides know how the other thinks: https://intelligence.org/files/ProgramEquilibrium.pdf
Generally I make it for 2-3 people. The following is for one cup.

Ingredients:

1 cup Whole Milk
2-3 Cardamom Seeds
1 Cinnamon (Add a small bark, nail length)
Raw sugar
Breakfast Black Tea (Preferably loose)

Suggested Brands:
Mumtaz Tea (Loose Black Tea) - Available at Amazon

1. Crush cardamom seeds and cinnamon, preferably with coffee/spice grinder, do not use the powder form, lightly break apart the seeds and bark, a few taps should suffice.

2. Place 1 cup of whole milk and spices into a small pot, simmer milk.

3. Add 1 tablespoon of tea. Note that this measurement may be different depending on brand. If you added too much, you can balance it out by adding more milk.

4. Add raw sugar, start with single teaspoon, add more as necessary

5. Simmer for 10-15 minutes, milk will slow turn khaki, once you start seeing microbubbles, tea is almost ready.

6. Use a tea strainer or sieve

Minor note: Many South Asians will add a thin slice of ginger while the milk is simmering. Traditionally served with rusk.
Weird, I think I added support for non-webgl browsers.
But i tested on FF 45, and it worked :O
Someone forgot to read: https://www.amazon.com/Avoid-Huge-Ships-John-Trimmer/dp/0870...
So that makes it ok to take over parts of a country? If so, the Europe should take over parts of the US, Taibet should give up on independence, parts of Jordan should become Palestinian, etc.

Russia on purpose flooded the area with Russians when they last had it, much like China is doing now with Tibet.

You can’t argue this justifies war from another country. If the people vote for (or otherwise self-select) independence and to join another nation that’s very different than a war where the soldiers hide their identity in order to take a region forcefully.
It was already patched. This just makes the world worse.
Damn, that looks sweet. Is there a similar app out there for Android and Ubuntu/Debian?
I can't help but laugh at how much of a euphemism " ... but the meeting went badly." must be.
Awesome. I think I was called by these guys, and I reported them to the FCC via Do Not Call Registry, which I'm on.
Please see http://www.theregister.co.uk/Design/page/reg-standards-conve... :-)
Long-term heat buildup was known in the design stage to be a problem for Eurotunnel.[1] Huge chilled water plants were built to prevent that from happening. It's a surprise, though, that it would be a problem for the London Tube, which has so many connections to the surface.

[1] http://www.nytimes.com/1991/05/01/business/business-technolo...
Good suggestion, thank you! I was already thinking about some way to measure "perceived complexity" of a physical unit - this sounds like a very good try for such a heuristic.
This tune is not, as previously believed, Bach.

Which is not to say that Bach does not have charm. He has plenty.

[Edit: typo]
lock tables
The captain of the US ship was asleep. The article suggests the cargo ship was completely computer-controlled at the time of the incident and for a little while afterwards, until the crew realized what happened. I don't think the two-egos-colliding story works here.

Additionally, the destroyer was hit around the middle of the right side while the cargo ship hit head-on.
10x-ing Your Team: The End of Superstar Developer Culture
Ask HN: What will be the impact of Google's campus on San Jose?
Google is planning of building between 6-8 million square feet of offices and other spaces in the Diridon Station area in San Jose. This will bring up to 20,000 workers to the San Jose area.

http://www.mercurynews.com/2017/06/20/google-san-jose-negotiate-transit-village-downtown/

Around this, other real estate projects started to emerge: http://www.mercurynews.com/2017/06/23/google-village-million-square-foot-downtown-san-jose-tech-campus/

Obviously, if all these come to fruition, the impact on San Jose and the area will be huge.

I live in San Jose, and I overall support the project. I am sure, there will be problems and bumps along the way, but if I had to chose between San Jose with Google and San Jose without Google, I would go with the former.

I am asking HN, what will be the expected impact of this on:
-Real Estate
-Housing
-Traffic
-Transportation
-Crime
-Schools
-Life style (restaurants, activities, art)
-San Jose University
-Character of the area (Latino, Japan Town)
-Other areas that are important and haven't listed

This story repeated two decades ago in Mountain View. What has been the impact there, and what should we expect in San Jose?
Recommending GitHub Repositories with BigQuery and Implicit
Why is it that only the US, but not china, russia, U.K, germany, etc., out of all the strong countries, have these leaks? U.S needs to take a good look at itself and find the reason that their intelligence organizations are like a leaky bucket. It seems as if americans don't care and don't even see it as a bad thing when traitors sabotage entire organizations years of work.

In any other sane country, the outrage against such leakers would be far greater than the outrage against the government for doing its job. If a person was as a big traitor as snowden in my country, you'd see his whole family and friends deny him, he would think twice before doing it not only because of the chance of getting caught and going to jail, but from the actual embarassment and shame from all the people close to him.

Yet look at snowden, acting like he's some hero. Look at all the other leakers. They are barely ashamed. Your society hates the government so much you're turning traitors into heroes. Your security screening process is probably failing hard with so many leaks. How can the US allies trust it when everything leaks one way or the other. Leaking should be considered such a horrible treason the only the most psychopathic person would do it, and the screening should screen those out. But when society views leakers as heroes, and even the president freely leaks other countries intelligence to russia, followed by even more leaks than what he actually said, when it's justified as long as 1 in the 1000 documents they leaked shows some government wrongdoing (and statistically this will ALWAYS happen), they aren't traitors they are heroes. Then you don't need be a huge psychopath to betray your country. You just need some nudge in the 'right' direction.

If any of you think the right approach is to have no secrets (a.k.a. no vulnerabilities. Today it's vulnerabilities, tommorow it's CIA agents identities), you're naive. If you think your enemies will be as righteous as you, you are naive. If you think that if you disclose all vulnerabilities, nobody will have them, you are naive because russia and china will find their own different vulnerabilities.
8 ways leaders can help their teams communicate more effectively
Me too. And we were talking about the slow obscuring of the video and one thought was that it was stuff coming off the rocket covering the lens but a better explanation is that the lens or other material protecting the camera from the outside was melting. If that is the case we'll need sapphire lens covers for future video streams.
Not what i thought. Just as good though.

U v T works very well in motivation and corporate problem solving.

The read reminded me of the birth order book. Tidbits of "factoids" that makes good conversation and can help predict peoples actions and emotions.
I'm not sure what the history of marriage has to do with civil marriage today, it's irrelevant.

You can say the same thing about relationships in general, why date someone if there's a very good you'd break up (most relationships are unsuccessful)? Why be friends with anyone when everyone will eventually die? Why get a dog when there's a 99.9% they will die before you? Why start a business when most fail? See how stupid that sounds? If we don't take risks we never get rewards.

What makes you think divorce requires lawyers? It doesn't unless the two parties can't agree. Seriously, my husband didn't have a lawyer for his divorce and neither did his ex wife. His divorce was a fill-in-the-blanks piece of paper. It was just as simple as can be, the only difference was the 7 Month waiting period. Literally, fill out a 2 page paper, judge signs off on it.

If "domestic partner" and you don't agree on your separation lawyers will have to be involved anyways. Happened to a friend of mine. Not being married didn't keep him out of court when him and his ex girlfriend didn't agree on child support and division of property. Buy a house with your girlfriend and you break up and can't agree on what to do with the house? Court. Have kids together and can't agree on custody? Court.

Medical coverage is irrelevant because employees and plan organizers decide on who their plan covers. Medical decisions can be accomplished with a living will and medical directive. Your "domestic partnership" isn't going to work outside of your city and you could get injured while travelling so you're going to need those anyways. You still need a will for inheritance... So I don't see a single benefit.

After gay marriage was legalized in all states there's exactly a -ZERO- percentage probability that the military is going to start enrolling non spouses. Guaranteed. The military is not in the business of providing benefits to people who are not even trustworthy enough to make their relationship legal.

I totally understand why someone would not want to get married. I can't understand why someone would want a fake "marriage."... but whatever.

Windsor vs the United States was based on inheritance taxes
I've had severe Tinnitus for over a year due to a degenerative disease damaging my hearing and causing hearing loss. It's been hell, and it still is. It's unlikely to get better with time since the disease is known to make progress and worsen things.
No wonder suicide ideation is so high among T sufferers: http://journals.lww.com/thehearingjournal/Fulltext/2016/0700...
I am assuming a system where available inventory is debited when the CC transaction completes.

How do you do that with single row only atomic transactions? And without charging $100 for what the customer thought was qty 3 $25 rakes and qty 1 $25 shovel...but is now something less than that due to concurrent purchases from other customers?
Regulators must be held accountable for the impact of the incentives they create. Setting those up correctly is their damn job.
I know a crypto trader who lost $95k during that GDAX fiasco and I was in a group chat with him while it happened. It WAS his life savings in that he was going to buy a house with it. Started talking about having to find a job.

I've been in crypto for 18 months and at the start put a sizable piece of my networth in WAVES ICO. I missed the ETH ICO even after CTO friend said to get in that ICO but WAVES is up like 2500%+

Now cryptocurrency overall is less than 10% of my networth and I've avoided most ICOs since.
I am pretty sure that in a combat situation this collision would not have happened. It's the routine that is dangerous plus the mentioned "I am bigger" vs. "I am military" both assuming they have the right of passage.
Great talk.

For more on concurrency and parallelism in Haskell, check out Parallel and Concurrent Programming in Haskell [0], deemed as the best book on the subject, also written by Simon Marlow.

[0]: http://chimera.labs.oreilly.com/books/1230000000929
FUCKED UP LONDON AND THE TORY SCUM
Ah, looks like I botched parts of this:

> However, if you could somehow assign a complex amplitude to each state in a classical probability distribution, you would still be limited to manipulating only one amplitude at a time.

This is probably just more confusing. What I should say is that classical probabilities have no physical manifestation that you can directly manipulate - they just denote our lack of information about a system. Amplitudes in quantum systems can be related to probabilities, but they don't represent lack of information. The probabilistic nature of quantum systems is deeper than that: measurements project superposition states onto classical states in a probabilistic way. But before this projection, we're forced to say that the physical state of the system is in superposition. Even more, the amplitudes accociated with each part of the superposition state are part of the physical definition of the state. In this sense, they are more "real" than classical probabilities.

For exponentially large superposition states, there are an exponential number of amplitudes. When we act on the state in certain ways, we update all of the amplitudes in parallel. There is no counterpart to this when acting on classical states, including when you have incomplete information about the state (and thus an exponentially large probability distribution).

> But (especially) for the ones that do, I about the exponentially large set of amplitudes being manipulated in parallel.

Let me try again. The built-in exponential in the physical state (as I described above) helps me see how quantum speedups (especially super-polynomial ones) could even be possible. You're right that there's more to the story than just having an exponentially large number of amplitudes, but it's an important part of the story!
Ah,looks like I botched parts of this:

> However, if you could somehow assign a complex amplitude to each state in a classical probability distribution, you would still be limited to manipulating only one amplitude at a time.

This is probably just more confusing. What I should say is that classical probabilities have no physical manifestation that you can directly manipulate - they just denote our lack of information about a system. Amplitudes in quantum systems can be related to probabilities, but they don't represent lack of information. The probabilistic nature of quantum systems is deeper than that: measurements project superposition states onto classical states in a probabilistic way. But before this projection, we're forced to say that the physical state of the system is in superposition. Even more, the amplitudes accociated with each part of the superposition state are part of the physical definition of the state. In this sense, they are more "real" than classical probabilities.

For exponentially large superposition states, there are an exponential number of amplitudes. When we act on the state in certain ways, we update all of the amplitudes in parallel. There is no counterpart to this when acting on classical states, including when you have incomplete information about the state (and thus an exponentially large probability distribution).

> But (especially) for the ones that do, I about the exponentially large set of amplitudes being manipulated in parallel.

:( Let's try again. The built-in exponential in the physical state +as I described above) helps me see how quantum speedups (especially super-polynomial ones) could even be possible. You're right that there's more to the story than just having an exponentially large number of amplitudes, but it's an important part of the story!
I don't think this was the result of egomania. The destroyer's captain was asleep --it's speculated everyone on the freighter was asleep.

The problem was complacency --that may be somewhat forgivable on the freighter's side, but not on the destroyer's side --it's a warship. It should always be on alert and at the ready. They should never be complacent. The captain allowed his sailors to become complacent.

I am hopeful the navy will not only examine this crew but will also examine the rest of the navy for laxness and failure to perform/dereliction of duties, etc.
So it's a hugely clickbaity title. The article provides no new evidence or even offer any possible causes as to the accident, it just details what happened and wonders why.

We already have a good idea what happened.

1) It was a very dark night, the moon had not yet risen. Even a large cargo ship can be hard to see against a black horizon at night.

2) The destroyer was running without transponder on, as per typical Navy behavior so it couldn't be tracked by unfriendly powers. This meant the automated navigation system on the cargo ship didn't see it.

3) The cargo ship made a significant course change a few miles before the collision, which meant if the destroyer crew had plotted its course prior that change, they might have not realized they were suddenly on a collision course.

4) The cargo ship hit the destroyer from an acute angle, almost from behind. On that heading rules of navigation say it was on the cargo ship to give way to the destroyer, it's possible the crew thought they would.

5) if any of the cargo ship crew were on watch, they could not have seen the destroyer once they were close, given how tall their ships deck was.

6) The track after the collision indicates the cargo ship crew was asleep and the automated navigation system turned at the collision then resumed course, and it took 30 minutes for the crew to take control, figure out what had happened and returned.

7) Allegedly AEGIS radar systems are often tuned to filter out surface traffic so they can be more accurate at picking up air traffic.

8) The fact the captain was asleep in cabin is evidence no alarm was given nor threat detected before impact. Every time the captain goes to bed they leave standing orders to wake them if any ship gets within a certain safety margin.

What is still a mystery is why the crew didn't detect the cargo ship before the collision. Certainly a combination of radar and deck watch should have been able to see the ship. It should have been well lit enough to see once it was close. It should have been signaling it's location with a transponder. Even if the crew incorrectly thought it would pass a minimum safe distance the captain should have been woke and brought to the bridge.
This reminds me of cable internet vs DSL. I was such a DSL partisan. Cable's bullshit, you're sharing speeds with your whole neighborhood, no guaranteed bandwidth, yadda yadda yadda.

But at the end of the day, cable internet ended up being so damn fast it didn't matter. DSL providers couldn't bump the speed fast enough, telcos have to run FTTH to compete with cable, the infrastructure takes too long to arrive, and even with guaranteed bandwidth to the CO, your uplink will be oversubscribed anyway.

I type on gigabit xfinity docsis3.1 that speedtests at 250Mbps.....
You write

> Castile was a law-abiding citizen, with ... no criminal record

I was wondering whether you could explain your definitions of these two terms, "law-abiding" and "criminal record".

In another window, I have open information from the Minnesota courts system about a case where Castile was convicted of a misdemeanor. It appears to me that this case (which is just one of many, many cases) directly shows your claims to be evidently false. I was hoping you may clear up my confusion. Thanks.