skysight-inc/HackerNews huggingface dataset:
> 72% of internet users said they looked online for health information in the last year

This is incredible, but in my view, the problem is that people are usually looking for answers, which they can't be given due to lots of regulations. And no one wants to spend $100 or more on a doctor visit for a concern that turns out to be absolutely nothing. Yet oftentimes that's the only choice people are, essentially, given. Not only they have to spend money, but also time. And they only get information from one source (a doctor they visit).

That's why we created http://coinmd.org
We've got some bad publicity and some good publicity, which, I think, is a good sign in general. But I honestly hope that projects like ours will flourish, as they open up opportunities to lower the cost of healthcare and make it accessible to virtually everyone in the world.
Personally, the cavalier attitude towards data integrity displayed by the MySQL folks circa the last time I used it in anger (~1998?) made Postgres a simple choice for me. The specific problems I had then are undoubtably fixed, but the initial culture of "return possibly bad values, fast!" seems like it is still causing problems.

I've had issues with Postgres in the past, but it's trustworthy software developed by a trustworthy team.
That's just as true without Nix. I've worked somewhere that applied changes to its clusters by building debs; all you need is something that regularly executes apt-get and you're golden.

(Of course, whether something's a good language for expressing particular kinds of tasks is another question)
The other options are unaware and impotent.

The President, at this point, should not be unaware of the CIA spying on the Senate. We know it now, and we aren't privy to a daily classified briefing. So Obama no longer has this particular excuse.

As for impotent: if the CIA is operating independently of all three branches of Government, then it is operating outside of the Constitution of the United States. It is then the sworn duty of the President to address this issue.

If he is incapable of doing this duty, then we no longer live in a Constitutional Republic.

The duty of this nation's citizens would be, at this point, unpleasant to consider.
Why is 2048 so addictive?
As a techie , I dreaded making sales calls. I hated my accent, I hated my voice and I dreaded being rejected.

Then recently someone on HN mentioned this book "Go For No" by Richard Fenton and Andrea Waltz. I have it on my kindle and it changed my attitude towards sales. I have yet to get traction with my bootstrap but I am learning more with each conversation. Rejection is so much more informative than A/B testing you web page.
I was about to moan about it being US only but then I found the $25 pledge to build your own! Much better. Backed!.
Right, sure, but remember that you can be beaten to market and in market by anybody selling quack advice that plays better to what people want to here.

The quality and veracity of a lifestyle product is largely unimportant.
Lovely! Creating something like this was my initial reaction after seeing 2048, too :-)

An ideal mini-project and good PR for an entry level AI dev. Or, indeed, for a post-exit AI dev...
No ability to switch between sitting and standing? No thanks.

Sitting all day is bad. But so is standing. Switching between both is best.
> Source please.

BOOBS.
The only way for politicians to act is for them to be personally harmed. They don't represent us, they represent themselves.

Same thing with Angela Merkel, she didn't even address the Snowden documents until they showed that her phone had been tapped, every German except her? No problem!
Storing the key is easy, you put it in your app's private data folder. Which is where the database should have just been stored in the first place, and not on the public SD card.

You could also have a user-supplied passphrase with email recovery. Or any of a dozen other best practices that exist. This isn't exactly a new problem, there are plenty of solutions that are far superior to rot13 (which is basically all this is)
To me entertainment is very simple. The person who offers the entertainment presents a value. It is up to me whether or not the entertainment is worth the value. If it is, I'll pay the price, if it is not, then I will move on to one of a million other options. It's really that simple. If you don't like the deal that is offered then move on to the next one. I have no automatic right to any of the entertainment created. It is no different from any other transaction.
awesome game. I love the math

2 * 1024 = 2048
4 * 512 = 2048
8 * 256 = 2048
..
1024 * 2 = 2048
20480 <-- minimum points

is there a elegant formula to get to the minimum required points?
I got one from someone, can't see how to edit this on my phone? Thank you!
Anywhere in the app-private data dir, ie Context.openFileOutput().
Ask HN: How does one build apps like Brackets and Popcorntime? 
Hello everyone!

After ready about Popcorntime app, I've got interested in building desktop applications that are based on javascript and nodejs(?). But reading the code didn't really give away any tips on how to start.

I don't really know where to start, So I would like to get some pointers where to look, what to read, what to watch etc.

Are there any frameworks? How is the window built? How does the app communicate with the OS?

Examples:
https://github.com/popcorn-time/popcorn-app https://github.com/adobe/brackets

Thank you.
You definitely could. In fact my Ikea standing desk is essentially the same thing. Lack end table with a shelf as a keyboard tray and an extra monitor riser on top. Set me back less than $25.
I think that the scoring system can be improved. This AI wins with a lot less moves than me, hence it gets lower score for a solution "smarter" than mine.
Quite innacurate and narrow. Many movies don't make the weekend. You will see them at some stores for 1 dollar one month later. It's not the users who kill the industry.

Actually, in this era more and more tv shows are made because they're a better format than movies and because they're attracting people to consume or pay services. Movies will never dissapear, only the worth making movies will make it and that task would be decided, not by people, but by a middleman.

There's more and more music today than ever, and it doesn't cost 20 dollars or require to be in an store to be accessible to anyone.
That they do. In fact for a recent company I worked for, Salesforce was pretty much the inspiration for the entire company with some added sector-specific stuff.

So they built Salesforce basically...

Totally insane but it sort of works.
> So I don't think it is fair to call it just a retail business.

Fair enough, I was actually assuming it was basically similar to my wife's pottery business. She has a retail location (studio space) but a good portion of her revenue comes from what would be the equivalent of wholesale sales. She does field trips and after school programs. The two compliment each other, and while you can survive with just a retail location (most of her industry does) ... the fact that all but two of the local pottery shops have shut down in the last three years suggests how difficult that is.

> As with any business you need to do your planning first, prepare for an extended period without profit, etc going in (and have capital investment of your own to make it work).

I'm pretty sure that is the gist of what I was trying to say. The original comment, and the general theme of comments like this, suggests that all you need is enough "balls" to just do it. I'd suggest that most people who actually start businesses to change careers do it because they don't know what they're in for. Anecdotally that seems to be the case from everything I've heard since I first started thinking about running a business. In that context I stand by my assertion that opening a business _simply because_ you're tired of your old career is foolhardy.
> the insecure /sdcard partition is the place where most of the storage is in nearly all Android phones.

/sdcard and /data are on the same partition these days, you should just be using the app's private folder if the data is sensitive in the slightest. Which in this case it clearly is, and it's not even large data.
The Essence of Reynolds
This is absolutely at the root of the problem. Getting rid of the paperwork will just increase their bottom line.
But really who cares. Nothing is going to change
Well, unless we decide that we don't want the NSA reading TCP/IP headers.

As we've seen in recent commercial data breaches, the collection of a huge amount of data makes a tempting target. The potential abusers of that data, in this case, is not only identity thieves, but foreign governments and "rogue" US employees. Although I'm finding it hard to remember what "rogue" means anymore.
Show HN: PhishSensor – Keep Phishing Away from Your Servers
I left it out on purpose, because DOS was a Microsoft platform as well.
I can't imagine why people chuckle when someone cries, "You're infringing on my copyright!"

Copyright is an artificial construct, as antiquated as the buggy whip. Those who make their living around it should investigate other plans.
The guy was a reporter who made racist jokes and comments about people he was supposed to be covering, and subsequently got fired for it. And then, surprise, no one else wanted to hire him to do reporting. [1] "deserves" is a strong word, but actions have consequences.

[1] Until now, I guess?
Flappy Bird Creator Dong Nguyen Speaks Out
This was probably done to persuade the people complaining about porting their codebase to OpenGL (and hence Linux / SteamOS).
Yes. Software company works to commoditize hardware, news at 11. (This has been MS's strategy since MS DOS days, as outlined in Spolsky's piece.)
It looks like it doesn't take more than a 4x8 sheet of plywood. Could this be cut with an inexpensive router? If so, the materials and router would probably be like $40 + $80 = $120?
Why can't I find it from inside XBMC ?
Source? I'd never heard of this guy before.
Apologies is this is already made clear on the site -- struggling to load at the moment.

Does anyone know if this dataset has already been pre-filtered by some computer vision algorithm to weed out the uninteresting images? If not, is there any way to get hold of the data directly so we can process it offline?
Chrome Web Store gets new publishing and monetization options
>> "person who's had white-collar job for years doesn't get how difficult service jobs are"

Or, sitting at a desk for 8 hours a day is really, really easy compared to having to actually DO something at a service job.
Its not always winning, but it does sometimes win. Is this game even winnable with every possible prng seed? I wouldn't be surprised if there were guaranteed-loss states.
I accept that the market drives down the wages of service workers, but their working conditions are just outrageous to me. Automation and optimization has turned retail into a hellish job. On demand scheduling, zero tolerance policies, wage theft, etc. Its MBAs and programmers making a buck by burdening the people who are least equipped to find a job doing something else.

See also: http://www.thenation.com/article/177377/holiday-crush ("A woman from the agency hands each of us a time sheet. For the sign-in, she tells us to write 8:30. 'I know you were told to be here at 8:15,' she says, anticipating a protest that never comes, 'but that was just to make sure you got here early.'").
The whole last section of the article on "seven virtuous habits" corresponds 1:1 without attribution to Steven Covey's "seven habits of highly effective people."
Store it in private and keep a copy on WhatsApp's server if the internal storage is lost during an upgrade (I'm assuming Android apps can't sniff each other's packets, can they?). It's not secret-from-whatsapp, they can read your messages regardless. Then the data in external storage would be comparatively safe from other apps on your phone.
If you are using activerecord it really doesn't matter. You have a "the database is stupid and shouldn't do anything so we'll write a buggy ad-hoc database in ruby on top of it" layer on top of the database, which pretty much precludes using the database effectively. If you want to actually use the database, here's some reasons postgresql is a better choice than mysql:

strict treatment of invalid data

mysql views with aggregates DISTINCT GROUP BY HAVING LIMIT UNION or UNION ALL Subquery in the select list are too slow to be useable

mysql has no check constraints

mysql has no conditional/expression indexes

mysql only has broken geospatial support

mysql has no full text indexing on innodb tables

postgresql has an extensible type system (and booleans!)

postgresql has sequences

postgresql has table inheritance

mysql triggers don't fire on cascaded actions or replication

mysql has no window functions

mysql can't set default values to be a function (there is a workaround for only dates, and only one per table)

postgresql has schemas

postgresql has a transactional DDL (you can roll back an alter table)

rollbacks in mysql are incredibly slow, and if you cancel one it can corrupt the table

mysql limit can't accept variables!?

mysql subqueries are limited: can't modify and select from the same table

mysql stored procedures can't have default args

mysql functions (and thus triggers) can't use prepare/execute, so no dynamic sql

mysql functions can't be called recursively

mysql triggers can't alter the table they are being called against

mysql stored procedures can't be called from dynamic sql (prepare)

mysql can't log error producing queries

mysql slow query log has a resolution of seconds
Yup. Liked the article which states that be successful in life while being happy. Interesting! Don't know how one could achieve that though.
Security tech budgets rising, says new study – SC Magazine UK
NARRATIVE SUMMARIES OF ACCIDENTS INVOLVING U.S. NUCLEAR WEAPONS 1950-l980
Actually, if any would've been bothered to read the article, this is not consumer-grade technology. This is targeted at very special uses inside datacenters.

So we're talking apples and oranges here.
It's well known in sales that attractive females have a huge advantage. This is because male buyers will instinctively spend more to show off their power.

Attractive men still have an advantage over unattractive men in terms of persuasion and intimidation.
Session Nightmares With Rails
Granting that there are problems with PostgreSQL partitioning, that doesn't invalidate the claim unless MySQL partitioning does these things better and doesn't have other, worse problems. I'm not making any claim as to whether this is the case, but you didn't address it.
People have been using similar technology to stream football games, which are as 'Prime Time' as things get. I don't see an issue.
Responsive Website Builder Webflow (YC S13) Raises $1.5M
Perhaps, but that's true for streaming audio...I don't really do that much. When I do, it's mostly SomaFM, who I've supported over the years. For streaming video, artists are getting compensated, though Hollywood accounting is likely screwing them to some extent. But they've opted into to that system and there's no real way for me to otherwise compensate that they'd make much more.
Discovering Our Community Work
Are there any studies demonstrating this? I've always wondered about the long term effects of standing at >4 hours at time.
It sounds like you're thinking he suggested just greedily taking the best possible move. But that's not what he suggested; he suggested evaluating the actual distribution of the opponent's moves and making the move with the highest expected value.
CBS also has the worst NFL presentation. Their broadcasters and production quality is so far behind Fox and NBC, not to mention ESPN.
Apparently there are a few options for doing this:
http://bitwhich.com/2013/12/12/best-dvr-without-cable/

I do use an antenna at home but have not tried any of these DVR options. As an aside, it's funny to me that many people (not you) have seemingly forgotten that broadcast TV exists, or are surprised that it's an HD digital signal.
Would someone be willing to share with me their impression of Senator Feinstein?

I mostly can't stand her. There may an issue or two where we are aligned, but of the things she has been very vocal about, and the things I'm particularly passionate about, we are pretty much diametrically opposed.

The most obvious example would be the extent to which she is notoriously "anti gun" while I am a staunch supporter of private firearms ownership.

Overall, she comes off as mostly pro-big-government, and I'm a radical anarchocapitalist / voluntaryist type who wants all but none of the kind of "government" we have today. So I don't think she'll be on my Christmas card list, or vice-versa, anytime soon.
http://www.politico.com/reporters/JosephWilliams.html

Apparently, Politico doesn't remove biographies of people they fire (he was fired two years ago).
Offtopic, but: what's an example of a situation where using rm -f is bad compared to rm in practice? That is, an example where rm would save you but rm -f would make your life upsetting?

On topic: idempotency may be a red herring in this context. Unfortunately filesystems are designed with the assumption that every modification is inherently stateful. (It may be possible to design a different type of filesystem without this assumption, but every filesystem currently operates as a sequence of commits that alter state.) So installing a library or a program is necessarily stateful. What do you do if the program fails to install? Trying again probably won't help: the failure is probably due to some other missing or corrupted state. So indempotency won't help you because there's no situation in which a retry loop would be helpful. That is, if something fails, then whatever operation you were trying to accomplish is probably doomed anyway (if it's automated).

I think docker is the right answer. It sidesteps the problem by letting you create containers with guaranteed state. If you perform a sequence of steps, and those steps succeeded once, then they'll always succeed (as long as errors like network connectivity issues are taken into account, but you'd have to do that anyway). EDIT: I disagree with myself. Let's say you write a program to set up a docker container and install a web service. If at some future time some component that the web service relies upon releases an update that changes its API in a way that breaks the web service, then your supercool docker autosetup script will no longer function. The only way around this is to install known versions of everything, but that's a horrible idea because it makes security updates impossible to install.

It's a tough problem in general. Everyone agrees that hiring people to set up and manually configure servers isn't a tenable solution. But we haven't really agreed what should replace an intelligent human when configuring a server.
First, a paper from 1993? This isn't news. If the paper were a person, it could vote.

Second, a quote: "... there are good reasons to believe that its results are more credible than those of conventional reviews and to conclude that well-developed psychological, educational, and behavioral treatment is generally efficacious."

Yes -- we can agree that people prefer talking to a sympathetic listener over staring at a wall. But without an effort to craft and then test a theory about the value of talking to other people, and whether talking to a therapist differs from talking to a bartender, it's not science, it's anecdote. This was true in 1993, and it's still true today.
I've got enough O'Reilly books around to make that without any Ikea bits :)
Honestly, the more I tinker with Android, the more I'm terribly disappointed in Google. I mean, around Android 2 we were all excited by the potential of a first-class big-money supported open-source OS to really shake up the industry. It had so much potential.

Now? Well, it still has a lot of potential. Even Google seems kind of embarrassed by it, compared to the Chrome brand.
I mean, do you think that the job conditions described are meant to be a punishment for his misdeeds as a journalist? Because I think you'll find that many people who did not do such things also labor under them.
> only in geographic locations where we offer our service

It sounds like they offer their service anywhere if you use the right VPN.
It wiggles from left to right. You can see it from 1:44. The monitor constantly wiggles when the guy is using his mouse. This is bad design.
Docker share  (like Vagrant share)
10 tips for getting the most out of your accelerator days
Personally, I was more disturbed by the Director of National Intelligence perjuring himself before Senate committees and getting away with it.

This I actually expected, and I think Feinstein did too; she seems really upset at her staff being threatened.
Google switched to the isolated storage model (on the sd card) for KitKat - http://source.android.com/devices/tech/storage/. Google has content providers so if an app wants to share data it can do so https://developer.android.com/guide/topics/providers/content.... If you really want to do something unsafe like allow direct file access to any folder then that is a reason to root your Android phone. Then using an app like SuperSU your can grant root permission to an application.
"Then he hit a button, and Flappy Bird disappeared. When I ask him why he did it, he answers with the same conviction that led him to create the game. 'I'm master of my own fate,' he says. 'Independent thinker.'"

Good for him. The world needs more people with this attitude.
Postgresql is generally faster than mysql. Fitting it onto an embedded system is either memory or storage constraints, but postgresql is equal or better in both those regards so I can't imagine what problem you had. Replication is dead simple with postgresql as well, with the added bonus that it doesn't randomly die and require manually intervention to get it working again.
I'm not sure how to put my finger on it, but the problem that causes a regular appendicitis patient like to me to emerge from an American hospital with a $54,000 bill is one that needs solving.
the only solution is rubble.

burn it all to the ground.
This is tangential, but I have a Geekdesk (http://geekdesk.com/) and would find it very hard to go back to a normal sitting desk.
Well, this is Sony open-sourcing an until-now internal tool. Which means that up until now their only interest was to satisfy their own developers. Who are most likely on Windows.
When I visit the cinema, it's usually for the experience, and less to do with catching a new release. For example, I wanted to go see Gravity this week. I could torrent the movie, but I heard good things about Gravity in theaters. Nonetheless, all the theaters within an hour drive stopped playing it, so I'm out of luck.

They should allow people to buy and stream new releases online. Then, I think they should use theaters for a mix of new movies, and old movies. Run themes, have 80s week, or classic horror movie week, or Star Wars week, or Hitchcock week.
There's a minor typo below the HTTPS section. It should be TLS not TSL ;)

Edit: By the way, it was a nice article. I especially liked the tcpdump explanation.