skysight-inc/HackerNews huggingface dataset:
A weapon can be triggered without it being intentional, see the goldsboro incident. The bomb went through three of four arming sequences as the plane carrying it broke apart, it's considered luck the fourth and a subsequent detonation did not occur.

> “Until my death I will never forget hearing my sergeant say, 'Lieutenant, we found the arm/safe switch.' And I said, 'Great.' He said, 'Not great. It’s on arm.'”
https://en.wikipedia.org/wiki/1961_Goldsboro_B-52_crash#Bomb...

Also what you are describing is "One Point Safety" in which an external explosion or fire can cause a nuclear detonation. This is mostly true for the current US arsenal, but wasn't in the past. It's one of the main reasons why the Little Boy design was so poor for safety, it only required one (preferably intentional) explosion
I have seen this opinion many times, in real life and online. I would say that if you have no users then yes, tests are optional. However, once you have users that have certain expectations about how the system behaves, then you need automated tests to at least do your regression tests for you.

In terms of unit tests, the audience stops being the users, and starts being other developers. Good unit tests should do more than just check that a function/method works as expected, but provide a list of examples of how to use a method as well as noting the return types/exceptions/etc for other developers.

Using the author's example that even after writing Selenium tests the application is still buggy. There are several issues in just this one example:

1. The application may be buggy, but did the business know about the bugs?

2. If the business knew about the bugs, did users work around the problems or did they avoid certain features altogether?

3. When the UI changes, yes, your Selenium tests may be expected to break. If a user expects to click "Next" and you changed that label to be ">", the test breaking is a sign you need to communicate something to the user either through change-logs or training.

At the end of the day, tests exercise and lock down behaviour of code. Whether behaviour and functionality is desirable, correct, or worth locking down is not a technical problem. Furthermore, your tests themselves are code, therefore some care must be taken to ensure your tests are valid too.
Not surprising as california also has one of the lowest minimum wages in real terms. For all this talk about progressive politics and a 15/hr minimum wage, 'backwards' states in the south have real minimum wages well above 15 CA USD/hr. Some even surpass 20/hr. Mean while California wages would be the equivalent of around $3.50/he in their terms.

So much for progressive politics
Shopify Payments is Stripe on the back end though, what rules do they put on top?
You also have a problem with precision. A test with a 100% pass threshold is a really poor estimator of an underlying failure rate; at best it can bound it, but you really do care about the precise underlying odds of failure.
An Interactive Demonstration of Vector Field Flow, Divergence and Curl
More information can be found on the github page:

https://github.com/rohanp/vectorfield

Edit: A really cool one to try is `Math.cos(y), Math.sin(x)` (from the README)
That remark about Jews is quite horrible. And it definitely is not just "critique of cultural influence". He calls them without guts, without self respect and claims them to be "irreconcilable". From that quote alone, it makes sense to talk about that too.I did not knew he was that much racist before.
Get some religious leaders to declare it blasphemy and you'll have a big group of boring old humanity for quite a long time.
This is the most mind-bendingly deluded post I've seen on HN in a while.

> individuals coming together, learning new things, and working towards a common goal

the common goal here is being an asshole

> if this was a nazi flag, would you feel the same way?

Shia's flag said "he will not divide us" it was a message of unity that someone took down to replace with the representation of an administration with actual white nationalists as advisors.

> it's a bit ironic that you bring up an attempt to shut down free speech, when that's exactly what shia did

Yelling into someone's livefeed is free speech in a public place, but continuing to follow them and ultimately trespassing onto private property is harassment. Free speech isn't yelling whatever you want whenever you want. It's freedom from the government oppressing your speech.

>would you feel the same if it was a nazi flag?

This again? Seriously. Here's a challenge for you in the future: try to make a sound argument without simply throwing the word "nazi" in.
I missed that small but important tidbit in section 2.2, now I see it. But then in section 4 they mention mDNS. Which confuses me, because L2 switches will definitely learn MACs on mDNS traffic.

It also brings up another question I have which is what about roaming? And what about setups where there are L2 switches between radios and the devices that handle the 802.11 authentication? How does randomization affect learning in those environments?

In general I would have appreciated more discussion on on how randomization affects L2 switches and the protocols I mentioned. Either that, or ask someone at Google why Android behaves the way it does.
Lol wut?? Last time I tried to call the state, they disconnected me after waiting for twenty minutes, because the 'lines were too busy'.

I'd rather keep my money thanks
Not only is the material made from water, sugar and heat instead of oil (compared to synthetic fabrics), but it also comes from a known genetically encoded template. That genetic template can be varied by an atom here or an atom here with the the flip of a genetic bit. It can even encode additional biological functionality into the fabric itself.

Recombinant silk is a pretty cool platform upon which an entire industry can rationally and rapidly tune the properties of new fabrics.

Play with the protein, ADF3, orb-weaver dragline silk https://serotiny.bio/notes/proteins/adf3/
from Dan's original paper: http://onlinelibrary.wiley.com/doi/10.1038/msb.2009.62/full
Except that there are no suitcase size nuclear weapons. This is nothing but a scary myth.
Last I knew, the zfs-fuse codebase hadn't been updated since before feature flags were added to any of the OpenZFS targets, so it's not a particularly well-supported solution...
https://s-media-cache-ak0.pinimg.com/736x/00/86/b4/0086b4581...

No man, who has endeavored to carry out a coursework where many hands were needed, but has been well-nigh appalled at times by the imbecility of the average girl - the inability or unwillingness to concentrate on a thing and do it.

Slipshod assistance, foolish inattention, dowdy indifference, and half-hearted work seem the rule; and no man succeeds, unless by hook or crook, or threat, he forces or bribes other men to assist him; or mayhap, God in His goodness performs a miracle, and sends him an Angel of Light for an assistant.

You, reader, put this matter to a test: You are sitting now in your school library, teammates are within your call. Summon any one and make this request: “Please get books on Mercury".

Will the teammate quietly say, “Yes, sir,” and go do the task?

On your life, she will not.

We have recently been hearing much maudlin sympathy expressed for the “down-trodden denizen of the sweat shop” and with it all often go many hard words for the men in power.

Nothing is said about the employer who grows old before his time in a vain attempt to get frowsy ne’er-do-wells to do intelligent work; and his long patient striving with “help” that does nothing but loaf when his back is turned.

In your pitying, let us drop a tear, too, for Calvin, striving to carry
on a great enterprise, whose working hours are not limited by the whistle, and whose hair is fast turning white through the struggle to hold the line in dowdy indifference, slipshod imbecility, and the heartless ingratitude which, but for their enterprise, would be getting an F.
Black market drug manufacturing creates adulterated, weakened, or counterfeit drugs that usually are transported as contraband surrounded by foreign substances like gasoline.

During Prohibition alcohol was manufactured to include methyl in the final product just to maim, blind or kill anyone desperate enough to drink it.

Prohibition does not make drugs hard. It makes them dirty.
Do you really find it easier writing React without JSX, compared to just adding the JSX transpiler?

I completely understand the overwhelming-ness of the JS ecosystem, but JSX is the one part I don't think I could live without.
Ask HN: How is Uber losing money?
ELI5. I don't quite understand where their money goes. I feel like once they got their applications, servers, law trouble resolved/done, they shouldn't have had any trouble. But by all accounts they are in a bad situation (financially and others ways also). It seems like something that should be able to run with some maintenance but not enough to lose money?
For library code, yeah, I just TDD by default and I doubt it slows me down. Might speed things up. End-to-end tests... those are expensive, slow and brittle. Often necessary, though.
I can't believe that in 2017 we still need to discuss if the benefits of tests outweigh their costs.

Anyway, the article seems like a brain-storming session from the author, so I am not sure that I need to answer all the points. Those that stick out

1)As other people said already you always write a unit test against a spec. If you have no spec, then unit tests are not really helpful. When you prototype something you don't need unit tests. Most startups also would not need a vast test suite in their early stages

2) The company that had only UI tests forgot to make them resistant against ui changes. I don't know the tool they were using but most GUI tools support the Object/pages pattern. If the UI was changing so much that even that was not enough, then they did not have spec (see point 1)

3) A/B testing is not unit testing because by definition you don't have a spec (if you are still trying to find if A or B are ok)

4) Code review is not unit testing because you will catch only obvious stuff.
Code review is more about the structure of the code than its correctness. It far easier to judge correctness by automation than by visual inspection.

Basically I would suggest you to remove the word "unit" from your blog post title.

Unit testing has a very clear definition and you are confusing it with code reviews, A/B tests and other unrelated stuff

google also "the testing pyramid" for a sound model of unit testing. The tax preparation company would do fine to follow this.
Uber Gears Up to Block Bid to Form a Union in Seattle
Tennessee appears to have the concept of "Castle Doctrine" which says that "your home is your castle" and gives you a lot of latitude in what you can do to protect yourself and others but it doesn't extend to property. More the specific requirement is usually the belief that you (or they) are in immediate physical danger.

Attacking someone for stealing a flag from your property will probably land you in jail or worse.

Ref: http://nashvilleattorneynow.com/criminal-defense/nashville-c...
Online Demo of DeepWarp: Photorealistic Image Resynthesis for Gaze Manipulation
I'm sure glad people like you aren't able to hold us back anymore. This sounds a lot like the old religious authorities burning scientists.
Remastering the one Beatles album finally made it great
You say "At the end of the day, tests exercise and lock down behaviour of code." That's exactly why tests can be expensive! If your UI is changing rapidly the tests try to lock things down when they shouldn't be locked down.

Sometimes you want stability. Testing for stability is worth doing then. Sometimes you can't have stability, and automated tests are just an expense.

It all depends on situation and goals.
>In most parts of Europe, PayPal is pretty much unheard of

Thats depends a lot on the country though. Not accepting PayPal in Germany would probably be the same as not accepting credit card in the US. In the UK however only offering credit cards might work.
Thank you for the feedback and we'll be working on it!

FYI, many people do use SpiderOak exclusively from the command line. It's fairly scriptable.

Here's the command line options: https://spideroak.com/faq/how-can-i-use-spideroak-from-the-c...

Also, the source code for our other products (Encryptr, Semaphor) is published. SpiderOakONE was first developed in 2006 and open source business models were not so popular at the time. It's been much harder than I thought it would be to make SpiderOakONE open source but one glorious day we will get there. https://spideroak.com/solutions/semaphor/source
Think like a bronze medalist, not silver
Git checkout -b 2017
Reddit used to do stuff like this until the Boston Bombing. A bunch of volunteers created a big effort to try to identify the bombers from photos and videos of the event. The media reported on some suspects they came up with before it had any confirmation from authorities or anything. And ended up falsely accusing innocent people of being terrorists. Then there was a big backlash against reddit for even trying to do what they did.

Now the community really frowns on stuff like that. The admins created much stricter site wide rules on posting personal information.
They're just jockeying for a lawsuit for marketing purposes.
Effective UI tests use the page pattern and should be resilient against minor UI changes.

https://martinfowler.com/bliki/PageObject.html

There are several testing tools that support this pattern.
> Please travel more.

Last year alone I went to Chile, Sweden, Romania, Czech Republic, Germany, Belgium, and Ireland. Don't make assumptions about people and things you don't know. Have I traveled more than you?
I second this. Very Google Reader like.
Fwiw I've successfully shared my luks-encrypted usb3 zfs-formatted disk to Windows pro on my Surface 4 via a hyper-v vm running Ubuntu and samba. It won't work for all external drives - you need to be able to set the drive as "offline" in device manager under Windows in order to pass it through to the hyper-v vm (and sadly this doesn't appear possible with the sdcard - I had hoped to install Ubuntu on the sdcard and have the option to boot from the sdcard and also boot into the same filsystem under hyper-v).
Bitcoin Surges Back Above $1200, Erases ETF-Denial Losses
That is awesome, thanks for letting me know!
As long as you get a free raspberrypi and free electricity.
There are now very effective treatments for psoriasis to the point that most patients can be clear or nearly clear of the disease. These range from UVB light therapy to drugs such as methotrexate and ciclosporin and a growing number of monoclonal antibodies such as adalimumab. Clearly these treatments do have some small risk attached so there is a trade off between how greatly the psoriasis is concerning you and the (small) potential for side effects. You can discuss this trade off in detail with your dermatologist.

COI: Dermatologist
The Penny Must Die
Three arguments in favor of governments and taxes:
1) Taxes are what makes a currency valuable (if you don't believe me, try printing your own money, or using Monopoly money, to pay for something)
2) Governments provide currency (also, see above). Look for the lowest interest rates on financial instruments, and you'll find governments.
3) Governments enforce property rights.

No taxes, no currency, no economy to speak of (see: anywhere without a functioning government).

I don't get how some on the internet live and breathe in a government-sponsored property and currency regime and rail against the government part of it, but want to keep the property and currency.
We had it a few months ago (see https://news.ycombinator.com/item?id=12164728) but now there seem to be a demo available online.

Sample result: http://imgur.com/a/nyG4Z

Abstract: http://sites.skoltech.ru/compvision/projects/deepwarp/
Treading that line is the art of the science, to be sure, and I've found that the right amount of testing is the amount that will allow you to continue moving fast, even after hitting traction. Technical debt will slow you down, and just because you've hit traction doesn't mean you no longer have to stick and move to keep traction and be successful.

What's worse, failing fast in spite of your tests, or squandering your traction because your technical debt slowed you down?
Not true at all. Python3 evolved in leaps and bounds in the last few years gaining many essential features for a modern programming language. Things like async/await, new frameworks showing up all the time shows a growing ecosystem. The fact that Google prefers Go is understandable and does not mean that python's importance is diminished in any way.
ChristopherM, this mirrors my journey/experience as well.

I never took diet quite seriously and dismissed most anecdotal connections between gluten, grains, sugar, etc. and health.

But at 40 yrs old, and after nearly two years on an autoimmune paleo and anti-fungal diet, I've never felt better.

I wish more people suffering with autoimmune conditions were aware of this natural approach to healing and recovery.
Are infrastructure projects a lot cheaper in Japan, South Korea and Singapore? I honestly don't know. I know they have better rail infrastructure, but those societies also pay higher taxes and make rail infrastructure a higher priority.
What the other poster is describing is more commonly called "ducking". https://en.wikipedia.org/wiki/Ducking

The secondary audio (background music) automatically lowers when the primary audio (narration) is active. It allows the narrator to talk over the background music without being muffled by the music.

An automated way to do this is in audio production is by using the sidechain input of a dynamic range compressor. https://en.wikipedia.org/wiki/Dynamic_range_compression#Side...
It seems to me that one crucial factor is what you might call "the destruction of the gatekeepers". In politics, you had systematic lying that was intended to deceive people, and lies led directly to Brexit in the UK and Trump's election in the USA.

There's a reasonably good account in "Donald Trump breaks the conservative media" http://uk.businessinsider.com/conservative-media-trump-drudg...

In the health field, we've seen systematic lying by the tobacco industry and the sugar industry, and quite a lot of deception (some no doubt sincere) in the food industry. The "gluten free" craze is one example.

There's a (possibly apocryphal) quote attributed to GK Chesterton that says "When men cease to believe in God, they don't believe in nothing but in anything."

When people cease to believe their governments, their doctors, their honest fact-checked newspapers and so on, they are easily exploited by snake-oil salesmen.
Unlikely to be successful. Once the officer does it under the color of the law (however insane the law is) or at least believes so, he is pretty much immune both from prosecution and from self-defense provisions. All people have equal rights, but some are more equal than other.
This this this. I really see this as the core of my job, career even. Build reliable systems out of unreliable parts. Hardware fails, software has bugs, people have bad days. Yet we still make insanely reliable stuff.

Until you actually launch the missile, it should be ok to do nothing.

People will invariably fuck up. The system needs affordences to handle those inevitablys. Ideally a drunk commander shouldn't matter, matter much anyway.
Wouldn't _MaximumValueUntilOverflow_ be a good variable name if the IDE has variable name completion?
I don't have the study handy and I don't feel like digging, but I seem to recall longitudinal comparison of IQ scores over long periods of time (something like 30 years) showing a correlation of around 0.7 or so. That's more than a standard deviation, though given the nonlinear scaling of IQ scores I couldn't say exactly how many points it equates to. One study in a shorter period showed swings as high as 21 points on tests performed by the same group. Clearly IQ can change, we just don't know how to control the process.

To the extent that you end up deriving your pleasure and livelihood from abstract symbol manipulation, IQ is important. IQ does matter a lot when you're first learning to do something, but as you master tasks the importance drops. A study on the correlation between chess performance and IQ showed that IQ only predicted chess ability in novices.

I agree that some people have natural proclivities that better match the structure of society. That is an unfortunate side effect of diversity under a fixed system.

I am not arguing that IQ isn't important, but is possible to improve it (regardless of our knowledge as to the process) and beyond a certain basic level it is much less important than creativity - a fact that is only going to become more true with computer automation.
> There doesn't appear to be a consistent theory as to why we aren't all dead from nukes.

Probably because launching a nuclear attack doesn't benefit nation states, if other nation states also have nuclear weapons. Also, all large high GDP nation states currently have intertwined economic dependencies, which also makes it less likely they would be inclined to launch nukes at each other.

Obviously, at the moment, North Korea stands out as a potential exception here, but they have nowhere near the number of warheads or industrial capacity to even play on the MAD doctrine level - they're certainly far from becoming anything like the next USSR.

So the only really remaining scenarios that could lead to a nuclear attack (barring massive changes in the current geopolitical order) would be that some non-nation-state actor, perhaps with fanatical motivations, gains access to a nuclear weapon. Although, in this case, without the state infrastructure to actually launch multiple warheads at the same time, it's unlikely that such an attack would be in any sense civilization-ending (even though it would certainly be very devastating, of course).
It's completely absurd. What kind of "justice" system allows blatant stealing and abuse with no repercussions whatsoever? What kind of "justice" system criminalizes de facto not de jur the carrying of cash? What kind of "justice" system incentivizes lying, framing, and not solving crimes that aren't tied to large sums of money, like murder, rape, and assault, by police?
Notepad++: We are in a fucking corrupted world
What do you use nowadays?
You seem to have missed the fact that it wasn't a Nazi flag.
Considering how little a Pi consumes, you might notice the electricity cost after a few years.
A far-right conservative political blog on the front page of HN, you've got to be shitting me.
You are halfway there. Before prohibition in America the go to drinks were beer, cider, and wine. When prohibition came into play people were charged NOT on how much alcohol they had on them but on the volume of the alcoholic beverage they had. Punishment for a pint of whiskey == punishment for a pint of beer.

So in other drug markets where it was a naive measurement (weight volume) that ignored the active ingredient drug importers and venders are incentivized to create stronger and stronger products as a hedge against getting busted.

Anecdotally a friend in Saudi told me that beer from the informal markets costs more than Johnny Black.

So while you are correct that quality does fall often in illegal markets arguing that they have no effect on the potency of drugs would be wrong
Oh good grief. These are the same people that were up in arms a few years ago when the use of the confederate flag was in the news. It's hypocritical to say the least.

And yes, I would feel the same way if someone did it to a Nazi flag or a confederate flag. I don't actually care that much about the specific political ideologies. But the increased tribalism and decreased tolerance for freedom of opinion is terrifying. It is disgusting and we shouldn't be celebrating it.