skysight-inc/HackerNews huggingface dataset:
React uses an imperative style, not declarative - when one uses this.items.map(item => <li>{item.name}</li>), this is imperative, not declarative. You are describing the DOM with imperative language - JSX cloaks what is truly an imperative nature. This is made more clear with the non-JSX equivalent. When one uses an if else-if else, while, switch, or other similar control flow statements, one departs from describing, to imparting the details of the implementation. The only part declarative about JSX is the conversion of certain code into valid text/attribute values/etc. into the HTML, which I'd hope is a minimum requirement of a useful templating language.

Angular's templating is clearly declarative since one is not making a statement about how it arrives at its result, but purely describing it and leaving the implementation elsewhere. Something like <ul><li *ng-for="#item of items">{{item.name}}</li></ul> leaves the iteration implementation away from the view completely. Every piece here is descriptive, not something more.

It should be noted that Angular 2's DOM model uses an AST under the hood, just like React - fundamentally they are the same in the virtualization of the DOM. Angular 2's templates are not true HTML either, but is closer to HTML than React is in its syntax. It does limit what you can do, but that is the purpose of templating languages - it limits what you can do to increase readability, increase consistent patterns, and steer users away from dangerous usage. That is an argument aside from declarative vs. imperative templating, and more emotional than useful.

Now, both approaches have obvious flaws - both styles are easily (and often) abused, but both also have simple conventions to keep it clean. Imperative construction (ala React) requires one to carefully organize the control flow to avoid convoluted template construction. Declarative construction (ala Angular 1 + 2) requires one to avoid tossing too much in a singular template. What is easier to work with, that is not for me to say as an absolute, but IMO carefully organizing the control flow in template construction requires more mental overhead to avoid constructing the template in a hard to read fashion, and yet still involves the same ultimate basic strategy of having to create separate components to avoid overly complex templates, which is what one has to do with declarative template languages, but without the mental overhead of accidentally abusing control flow in its construction.
I'm guessing (and really, just guessing) that they did a lot of surveys and found that a majority of their customers were using the flight plans, and moving over distances rather than spending a lot of time hovering. If that's true, a winged model makes all kinds of sense.
Nvidia announces ‘supercomputer’ for self-driving cars at CES 2016
SharePoint lets you glue together a lot of business process with (gasp) paid software. Somewhere in Idaho there's a five person dev shop who's really, really worried about making the tool for production companies that have to deliver 30 second radio spots in 40 languages. And somewhere in Burbank there's a couple production companies happy to pay them $1200/seat each for ten people instead of hiring a bunch of devs to rig up or whittle down some open source stuff. Unsurprisingly, the open source crowd neither likes nor understands this tradeoff.

SharePoint is sort of a mess, but it's precisely the kind of mess that WordPress is: it's big and dumb and breaks predictably and people know how to deal with it.
But then we'd miss the entertaining statements, like:

“Do not take Stelara if you are allergic to Stelara or any of its ingredients.” (Duh?) - https://www.youtube.com/watch?v=5ZzRAGeXtgU

And many others - http://www.sluniverse.com/php/vb/off-topic/34611-crazy-drug-...
I don't see why we couldn't just add more intelligence to the roads to make it easier for cars to navigate.

Before we didn't have tar roads with road signs and traffic lights, etc. It would be infinitely more feasible to make roads more clever than trying to cram human-like driving intelligence into car AI.
Just curious – are these important factors?

By that, I mean, is the current Parrot offering water proof, and do they float? If they aren't and do not, I doubt this will deter buyers who would otherwise be buying a quadcopter from Parrot.

Who offers a water proof, floating drone?
It seems like Redux + React is clearly going to win out. What am I missing?

Yes the ecosystem is constantly changing right now but the oscillations are getting smaller not bigger. In my opinion Redux is the highest level and most intuitive, just like React was for the view when it came out. It's only a matter of time.
There's no guarantee that a single-payer would cost any more to you out-of-pocket than your insurance premiums. In fact, being able to draw against bonds and general taxes suggests to me that it'd do better.

In fact, giving the sheer amount of bloat the entire billing apparatus of hospitals, the machinations of health insurers, the weird regulatory captures, and whatnot of the current system, I don't think it's unreasonable at all to at least give it it's day in court.

Your writeup to me basically reads as a "Fuck you got mine" libtertarian approach to healthcare, and one that frankly falls flat on its face if you acknowledge even the slightest personal responsibility to one's civilization or even to one's older, more enfeebled self.
Unfortunately, your situation must be specific to Oregon. I'm in Washington, and the closest plan we could get to what we had pre-Obamacare went from a $2500 deductible to $6300 with a premium increase of around 40-50%.

In my opinion, the problem was never the unavailability of insurance. The problem was (and still is) the out-of-control pricing of medical care -- $5000+ for non-sterile gloves [1] is a bit extreme.

[1]: http://www.rd.com/health/wellness/wildly-overinflated-hospit...
databricks has a page that describes the pitfalls: https://databricks.gitbooks.io/databricks-spark-knowledge-ba...

I don't know if the OutOfMemory exception can still occur in recent versions of Spark, but the performance impact of groupByKey is very real.
Still waiting for first class Heroku support.
Interesting, that does seem connected to your unlimited plan. I do not have unlimited data and I was not automatically enrolled.
That's a good point, I think I should of said "Dynamic" for lack of a better word. Interactive, it needn't be.
Everlane is letting customers decide how much to pay
For beginning writers, it's the perfect place. If you write well, it's likely you'll be approached by syndication squads, and those relationships can help build a support network for marketing future pieces and building an audience.

With that said, I've never had as much luck with native Medium traffic as much as on my first post, so I've since had to become much more clever at finding readers. Once you know how to properly distribute longform content, platform becomes less important.

I'll continue to use Medium though, because the design is incredible, the writing experience (but not the editing experience!) is a pleasure, and there's always a small, reliable amount of native traffic I'll get from Medium readers. And to me, the opportunity that a piece might go "Medium viral" is way more valuable than the downside of not being able to plaster my posts with popups.
Three Ways to Test Your Digital Products
Quantifying Shield Strength, or "How Happy Am I in My Job?"
Google Project Wing: https://www.youtube.com/watch?v=cRTNvWcx9Oo

Transition Robotics Quadshot: http://transition-robotics.com/
Reading another post[1], it appears that the drone will reject maneuvers that could crash it.

"During the flight, the autopilot prevents any false maneuver which could bring the flying wing down."

[1] http://www.theverge.com/2016/1/4/10711178/new-parrot-disco-d...
Unless building a taste for long lived techs as opposed to favoring the newest reinvention of old ideas is part of the learning process?
Yup I have a blog on Blogger, it isn't the best, it isn't the worst. It is a lot better than other services that I have used in the past that eventually died off. I am really there only because I was there yesterday, but like others I also have been thinking of moving, but haven't done anything yet. I do want to give thanks to Google for buying them and letting them just get better over time rather then every few months trying to figure out a growth monetization strategy that ultimately would kill it.

You might be right, perhaps it isn't every few years, but if a service only lasts on average 9 years, but you have n services how often will you be forced to migrate something? I feel like I don't have too much, but once or twice a year I have to migrate some data (free and what I pay for) and while when I was younger and had lots of free time it was fun to be forced to migrate to the shiny new thing, now it is just time I would like to not have to waste for what will ultimately (usually) be very little improvement to the core offering.
From my understanding among people I know it does not work even close to that way in Canada. It's one of those things that's definitely up to the actual implementation.
4 will happen sooner? Doubtful. Get out of US cities. People love their cars and as such, mechanics just like plumbers and electricians are going to be around for years.

There will not be a predominance of consumer owned self driving cars in my lifetime, despite what Tesla, etc. think. Just like how most rail transit in the US makes little sense due to lack of density, the autonomous car won't appeal to everyone due to lack of use, want of control, etc. As such, mechanics will be around for a long while.

People buy vehicles like Toyota Tacomas and will own them for 20+ years. I see that not changing with the 2016s, despite all the announcements of every major automotive company working on autonomous cars.

Maybe in major cities in the US (maybe) and maybe in parts of Europe.

But I don't see it. It's about as farcical as door to door delivery by drone with Amazon. Looks great in theory, practice (and practicality) not really once you dig into it.
This is what the entire known Universe looks like in a single image
Since most unconventional ideas tend to fail (because people have thought for a long time about what would be good, and over time those things have often become conventional), it is a useful heuristic to go with conservative, conventional ideas. I think this totally fits in with "wisdom of crowds".

Of course, this also means you won't generate that once-in-a-million super great unconventional idea. But then again, I think that's the point. If you try to generate the great unconventional idea, the base rate of failure is so high that you should not have so much hubris as to believe you actually can do it, and most often you should admit that what you think is a great unconventional idea really probably can't do any better than whatever conventional wisdom would choose.

I think my view on this is not popular because everyone wants to believe in the idea underdog -- the idea that was spurned by conventional wisdom but proved itself regardless and made someone famous for executing upon it.

That's great and all, but in the same way that putting all of your money on a single stock is a bad strategy, failing to average across ideas embraced by conventional wisdom is also (often, but not always) a bad strategy.

On a different note though, there is a lot of value in your comment even connecting it back to the "wisdom of crowds" stuff. One of the issues with "wisdom of crowds" is that the aggregated average tends only to be better whenever there is a sufficient variance of opinions in the crowd. This way, there is not systematic bias in everyone's thinking, meaning that the average too will have that bias. The more variation, the more that each participant's particular way of being wrong will contribute to "canceling out" the errors, leaving the average in a good position.

To me it suggests that when unconventional ideas do hit it big, it is because they are highly related to some source of demonstrable bias in conventional wisdom, and by removing that bias, such ideas can actually improve upon whatever is the current state of conventional wisdom.

But most of the time, it seems we only hit upon these bias-based improvements by accident because tons and tons of people keep trying (and failing, often to their personal detriment) to commit to unconventional ideas that aren't articulated in terms of any demonstrable bias, and it ends up basically being an idea lottery to see who happens to hit the "jackpot" idea. That's what makes conventional wisdom appealing as an alternative, steady expected return with low risk, but it's also what means it will never lead you to the next big thing.
I'm a developer with a background in design. In my career I've built and maintained UI component frameworks in SCSS and React, built web apps, and collaborated with designers and product owners to improve the app's UI and UX. As the builder of these products, I'm usually the first one to actually experience the them, so I'm in the strongest position to notice problems and suggest improvements.

So, yes, there is such a thing as a UX/UI developer/engineer.
How to Sell Globally? Exclusive Workshop
Some notes:

- Alphanumeric means letters and numbers, not at least a letter and a number. Your password form allows "&^%$&(^%$^&3a" for example. Alphanumeric would mean it only accepted characters in abcdefghijklmnopqrstuvwxyz0123456789.
- Why does the form restrict me to 56 characters?
Certainly we can, and we will. It will probably roll out in some Michigan cities (and has), San Francisco, Austin, and a few cities.

Then... we wait. How long until Idaho has instrumented cities?

What about construction areas? What about parades? Even with Vehicle to infrastructure communication you will still need AI.
Google Play was poorly made

https://play.google.com/store/apps/developer?id=itdisplayswh...
> I will buy a quality laptop that isn't disposable and run Linux again.

you have a model to suggest ?
Bayes's Theorem: What's the Big Deal?
Wow. I feel like an idiot.
My wife is using a 2009 15" MBP with SSD and original spinning HD moved to the opti-bay, and maxed out RAM -- same upgrades for me except I have the late 2012 MBP 15".

The trackpad is one of the main reasons I love the mac book pro's -- the PC laptops all have such crap trackpads I just can barely stand the computer at all--on my mac I never use an external mouse -- ever. I think the stupid / dirty / lame reason Apple switched to the retina MBP's is that they are easier to force people to upgrade.. super difficult to upgrade hardly anything, super lame..

I use VMWare Fusion like crazy and its awesome.. with a fast quad core CPU, SSD, and ~8-16GB of RAM, VM's are awesome on the MAC.
Productivity is the new fascism.
> $100k per year per patient, life long?

It doesn't cure anything. It just slows down the cancer for some time, so, "life long" isn't that long. It's kind of a race of patient against patent.
He is not arguing "categorically". You are simply misunderstanding. No strawman. Sorry.
"The following day, a train journey presented what I expected to be a perfect opportunity to get some work done with the aid of a smart pill. I was wrong.

I became distracted - more so than normal. While the drug made me focus, it was on the wrong things - such as playing video games on my smartphone."

That's because of something called the Yerkes-Dodson curve which basically says if your body is not aroused enough then your performance decreases, and if it's overly aroused then you can't focus on anything. This applies to well-learned tasks or other things that depend mostly on cognitive abilities (differently shaped for different types of tasks). It sounds like the author didn't need to take modafinil because he was already good at concentrating on things and taking it just put him on the far end of the curve and destroyed his performance.
pcwalton works on a web browser engine, which I'd say is at least as "complicated" as a database engine. He's already stated the benefits Cargo brings to Servo's development (as compared to working on, say, Gecko) elsewhere. What makes you think a package manager wouldn't be useful for a database engine which may want to, just as an example, provide a web server for queries or administration? [1][2]

(Honestly, I'd rather call Cargo a "project manager" , because it does far more than manage packages -- it builds your project and its dependencies, too. Having a completely standard way to build applications and libraries is an enormous win over C++. The discovery and management of a project's packaged dependencies is of secondary importance to me.)

[1]: http://docs.basho.com/riak/latest/dev/references/http/
[2]: https://www.rethinkdb.com/docs/administration-tools/
And solving the actual problem would be much easier with test cases than an algorithm. This is made ever more important if the original implementation is "complex and likely to have subtle bugs" since that implies that anyone reading the comment is likely to miss 'seeing' important edge cases.

A really simple way to solve this would be to move the simplified algorithm to a test suite which iterated over some important edge conditions and validated that the simplified algorithm and the refactored code agreed. That would preserve the simplified code, but in a much more useful form where automated testing could be done against it.
AMD Unveils Polaris GPU Architecture
Random personal anecdote. When I was a teenager, my family took a trip to Europe. This was summer of 1999, IIRC. Anyways, near the end of the trip, when we were in Italy, my dad came down with a cough and sore throat. Rather than try to gut it out for another week and then have to fly back to the US sick, we decided to try to find a doctor.

After consulting with the front desk at our hotel, we were directed to a small clinic a few blocks away. Being that it was evening, we were surprised they were open and even more surprised to be seen reasonably quickly (it was less than an hour, less than I usually wait at a clinic here in the US).

We were seen by a doctor who conducted the very typical medical exam. We mimed our way through it, and a prescription for an antibiotic was doled out. When we went to pay, we were waved away. "No money" they said, in broken English. They also gave us simple directions to a nearby pharmacy where we could get the prescription filled.

We walked over to the pharmacy, presented the pharmacist with the prescription. After waiting a few minutes, he came back with the pills. There was a cost for this, but I remember it being very cheap. Like a couple euro.

The whole thing, from start to finish, was less than 3 hours and only cost us whatever the antibiotics cost. Frankly, our biggest problem with the whole experience was the language barrier. Dad knew some French and I knew extremely basic Spanish and could puzzle out most things given enough time, but nowhere near close enough for a complex interaction such as seeing a doctor in Italian.

Fast forward 17 years (this happened to me last week). I'm visiting family in Tennessee and come down with the same sore throat and cough.

First, I have to find a clinic that accepts my out-of-state insurance. Then, I have to get there when they open because experience with these things has taught me that if I'm not there when they open I'm waiting a few hours. Fill out the 5 pages of forms. Pay a $30 co-pay before I even go back to see a doctor. And then STILL wait 2 hours to be seen. After the same cursory exam, the same prescription for antibiotics is doled out.

Walk down the road to the pharmacy and get it filled, waiting 45 minutes. Another $10. The whole thing from start to finish was probably 4 hours and cost me $40 out of pocket. No idea how much they billed my insurance yet.

The experience we had in Italy made a big impression on me. Even as a 17 year old, I walked away from that experience wondering why our system in the US is so broken. Surely we can do better.
Basis electronics tutorials
"one gets the uncomfortable feeling that neither author actually cares about the message they’re sending, nor about the trials and tribulations of their readers, but about exploiting the patterns of their readers for viral loops."

No irony there, given that medium.com probably has the most HN submits repeated multiple times a day.

One wonders if that's the reason they add random gibberish at the end of URLs -- to escape automatic dupe-checking of URLs and maximize pageviews.
Why too much evidence can be a bad thing
Power Posing: Reassessing the Evidence Behind the Most Popular TED Talk
It is hard to believe because it isn't true. In the U.S., the government-run health care systems are the most efficient systems, far better than the private insurers.
Yea when they killed the 15" MBP with matte display, I pretty much freaked out since I was planning on buying it as my main computer from the remainder of my life if Apple continued to exist as a company.. instead, I am now trying to figure out what to do next.. I've been thinking about getting a new computer, but really don't want to buy a non-apple piece of junk that has a super crappy battery or trackpad or display.. those are things apple just does a great job with and are so critical to the normal use of the device, and most other vendors do a terrible job with..
This drives me crazy. I walk in and want to pay cash, but they won't treat me because I have to show proof of insurance because they have no idea what they will charge when the bill is generated.
"Current uber and Lyft fleets" -- they made a conscious economic decision. Maybe think about reality of life, a commute, family, etc.

A friend with an incredibly smart 7 year old still has a messy car. Her daughter, despite the ability to read and understand things well above her age, is a 7 year old. The car is a mess.

When it comes to these pie in the sky utopian scenarios, I wish people on HN would step outside and actual observe every day people.
In theory (maybe not true) the lowest quality one should have the lowest price point. In a sample of 3 it seems fairly likely.
-a: Start the daemon if it isn't running.
'': Little trick so you can launch it without a filename.

Ha, if only. From the bit on `-a` in https://www.gnu.org/software/emacs/manual/html_node/emacs/em... :

Specify a command to run if emacsclient fails to contact Emacs. This is useful when running emacsclient in a script.
As a special exception, if command is the empty string, then emacsclient starts Emacs in daemon mode (as emacs --daemon) and then tries connecting again.

`emacsclient -a vim` will run vim if it can't connect to a running daemon.
I have been to S&W and you are right to be concerned - I have had care and billing issues. That's why BCBS with HMO to me was preferable to S&W PPO even though I hadn't read through their "PPO" plan to the level of detail that you did.
Warner Bros. sues “HD Fury” over boxes that can copy 4k video
As another data point, this 12" Retina Macbook running only a 1.1Ghz Core M processor had absolutely no troubles navigating the site (in Safari).
> Isn't he saying that the problem is that economic inequality is seen as the cause, not the effect? I think that's in line with all of the points you brought up.

The distinction is helpful; thanks. My first point is that it's a cause, according to a lot of research.