skysight-inc/HackerNews huggingface dataset:
worked for me. tldr: Facebook apps were leaking the access token via the android log cat which is accessible from any app installed on your device.
Yes, it's technically a high-risk investment, but realistically it's essentially zero risk as the loss of $27 in his case probably would have had no consequences.
I don't know about the US, but I live in Canada, where we have very little to no corruption. By contrast, my wife comes from one of the world's most corrupt nations, which I have visited. A few factors I've seen:

- Wage disparity. In corrupt nations government officials are poorly paid. In a place like Canada, they make a liveable salary, with good job security for unelected (ie. service) workers.

- Enforcement of laws - our police force is well-paid, and politicians are subject to the law like any citizen.

I think the biggest difference is culture though. Maybe because of our immigrant roots, there's a culture of working for what you have. Not breaking the rules. Canadians are hesitant to break even social norms that aren't law. Maybe because of how we're brought up, we've learned to respect the 'social contract'.

Even my wife, who grew up with corruption being a part of everyday life (in her country something as simple as getting the police to respond to a crime in progress requires bribery - many communities have gangs that keep the peace in the absence of the police), had quickly adjusted to Canadian life (even when I met her I didn't know she was an immigrant), and sees the benefits of following laws, even when they're easy to break.

And another theory that may have weight - the weather. Where I live it's winter for half the year. As I write this our city is a cold, snowy wasteland. Survival means cooperation. It's quite possible that this spirit of cooperation has been instilled in the culture, preventing widespread class-conflict, and cooperation between immigrant cultures that normally wouldn't get along in their home countries...
The same argument applies equally to authoritarian regimes. Maybe sneak doesn't want to live in a society that enforces these rules, but simply has no other alternatives. Telling someone who criticizes their society to either take it or leave it is immature, and if such an attitude is widely adopted by the society as a whole it will simply cease to improve.
@vikaveri: Since plugging in the cable is my only interaction with my phone charger, I don't think it's unreasonable to say that improving that makes it better. It is literally the one thing the cable does.

Whether it's worth the cost is another issue, but even ignoring the other advantages Osmium brings up, it's a better connector.
Ask HN: easiest way to charge credit cards on website?
My friend has built a physical product he wants to try selling, and is creating a basic mock-up website. However he has no idea how to charge credit cards for pre-orders.

What is the easiest way he could drag-and-drop code into his site to integrate this functionality?

Hopefully responses will be useful for others as well. Cheers.
Giving power away is a hard thing for humans in general. It's difficult enough even for parents when their children grow up.
No, jpgvm said that Javascript is "utter crap" that no one would care about if not for the fact that it's implemented in all current browsers. She/he never said anything about it being useful. My point, which appears to have gone over your head, is that you can't dismiss one of the key aspects of Javascript's value and then call it "utter crap".
Actually it does. The more or less equivalent substitute to "communicating on the internet with Facebook" is "communicating on the internet without Facebook".

Facebook is a subset of Internet communication just as driving is a subset of texting scenarios.
Depends on whether XP outlasts the H.264 patents (currently 2028 but they like to keep adding new patents to these pools to extend the time they have lock in for).

So I'd say it's 50/50.
1. Scalability is a solvable technical problem. Also, there are many ways to implement fast micro payments outside the blockchain and make all IOUs resolvable within a day thus preventing all sorts of fraud (e.g. fractional reserve banking).

2. Governments will die off without ability to have "budget deficits" via money printing. No one would vote for politicians because they wouldn't be able to build stuff "for free" by borrowing money from your unborn children.

3. Owners of Bitcoin have all incentives to adjust the protocol to fix all bugs and implement all useful features to not lose their wealth. Not a problem for Bitcoin and not a problem for anyone else either. Even if Bitcoin is replaced by Bitcoin2, it won't change things for the fate of the governments.
Not only that but he obviously hasn't heard of begging the question when he says:

3. Jim is released but doesn’t improve his habits and has another heart attack
This is a very popular topic in development economics, and there's a rich literature looking at India specifically and developing countries more generally, but there isn't one definitive theory on the origins of corruption. Here's a quick primer from the World Bank that goes over a number of potential causes: http://www1.worldbank.org/publicsector/anticorrupt/corruptn/...

Outlining a few, in no particular order, that are probably relevant to your comparison between the US and India (although I don't know India as well):
1) Public sector employees in the United States are relatively well compensated, such that they don't need to supplement their income with bribes, and the fear of losing their job is a significant deterrent.

2) There are laws that prevent politicians from firing civil servants and giving the jobs to their supporters (this was not the case 200 years ago), so patronage networks are less powerful.

3) There are relatively effective checks on large scale corruption through independent layers of law enforcement agencies and a separate judicial system.

4) The state has relatively less control over the lives of ordinary citizens, so there are relatively fewer opportunities to extract rents.

5) There is a very engaged, sophisticated civil society in the US with interests in keeping the rules of the game consistent and fair. Significant corruption will cause a significant backlash from these stakeholders.

6) The institutions in the United States are more established, and have spent more time developing the necessary checks, balances, and management norms that keep them free from corruption.

7) Cultural norms play an important role. There is a theory that knowing the rules of the game and consistently applying them is more important than the level of corruption. In many countries, corruption is simply "the way things are done."
Now do it with puppies!
I hope it is US only for now, as it found no eligible books in my case.
Surveillance and Countermeasures: A Public, Online Quasi-Course
Still not input range support?

laaaaaame
How do you stop patient's from deleting health information they deem 'not important' or 'too embarrassing'? I think it is important that health professionals keep their own records of patient health.

Although, I do agree software in hospitals is NOT user friendly!
I think the thinking here is that the sender may not be able to compute the byte size of the object a priori. Think HTTP chunked encoding.
Some people have been waiting for personal augmented reality since they were children.
A person holding to this position will have no problem with a woman wanting to cut off a finger or remove a toe, but as soon as you consider the unborn to be a person that has a body, every right given to someone with a body would be extended to the body in the womb.

Not trying to start any debate (I promise), but I would say it does solve the issue with abortion, because there is a human body in the womb, and would therefore have rights protecting it from being killed.
Moderate Exercise Not Only Treats, but Prevents Depression
AFAIK this has been a problem for well over 2 years now.
Poll: Do you use antivirus software?
[win] yes
[win] no
[mac] yes
[mac] no
[linux] yes
[linux] no
Spending a Day in Santiago, Chile
You said it yourself: android is perceived as cheaper. The new middle class in China are practicing conspicuous consumption, and one of the ways they do that is by preferring luxury imports like louis Vuitton and apple.
I clicked expecting to see a really tiny version of the Kindle :)
There is definitely a hack :) You should join the #docker channel on irc (freenode) and ask for keeb or jpetazzo, they can help you out. If they don't, someone else probably will. People are very nice and useful there.
> As a side note I love how 80% of the comments here are about the number of books available as a pissing contest versus any real discussion for the merits of the idea. For shame.

I think a lot of us (at least I did) expected that a good portion of past purchases would be eligible for this service but we're finding that only about 3-5% are.

We're just sharing information.
The false claim is that anyone in attendance mistook Kennedy's statement to mean anything other than "I am a person from Berlin." It is equally false to claim that Kennedy misspoke or made a gaffe in this speech. Only later was this double meaning of the word 'Berliner' pointed out by comedians.
Interesting.

They don't seem to be adding enough content to justify this IMO.
> So... that's looking like a wise investment.

Article claims it was "the first real-world bitcoin transaction". Without those first few transactions from enthusiasts, bitcoin may well not have taking off. And those 10,000 wouldn't have been Laszlo's only bitcoins. So from that POV, maybe it was a pretty wise investment :)
Why I built transcode.io
I think Amazon Matchbook is a brillant idea. I love using my kindle when I am out and about, but prefer the paper format when home. I also enjoy the feeling of having a hard copy, that nobody can claim back, or put DRM on.

When matchbook will become a reality (ie. more editors will join the program, and more recents books will be added), I will happily use it.
[other] yes
Show HN: Android widget to force you to focus your life
DoD Lawyer: "Your honor, let the record note Exhibit A: the Guantánamo Bay Suggestion Box. It is made available to facility guests every third Thursday of the month, between 8 and 8:07am."
Mustafa Kemal Atatürk.
I would say "The ones who like poverty are not poor"
Fixed! Thanks for the tip!
[other] no
The human touch of your everyday sales.

I don't know what this means. I manage a small sales team. We use salesforce.
And if you prefer to learn by practice, here's an awesome online tutorial: https://www.docker.io/gettingstarted/
They are not. My 5s didn’t include one. (Not that I need it. I have literally zero Micro USB cables and wall warts.)
While I agree mostly with you about direct democracy, there's a catch: direct democracy needs an informed electorate. But then, if the electorate is informed, it won't vote for the current crop of representatives anyways.

I guess the driver behind the success of direct democracy isn't the fact that voters can vote directly; it's the fact that voters actually have to think before casting their votes.
I'm not trolling, it is a harmful business model that antagonizes their users. We will disagree, and that's fine.
I've worked in the Health IT space for 15 years and agree with you that it's a mess. But your POC site doesn't really show anything or explain how you're going to solve the problems you described. How is this information shared with physicians? How is it made available when a patient shows up to the Emergency Dept? All of the information you displayed should be condensed to one page. What is the point of knowing if a patient missed their meds three weeks ago? You can't berate a 75 year old for missing their meds. What you're recording isn't as useful as you think.

The problem population today is elderly patients with chronic conditions, either landing them in the hospital constantly or requiring regular visits to specialists, labs and pharmacies. This population does not use smart phones. So the burden is on the physicians and hospitals to track the information and coordinate care.

The whole idea of Accountable Care Organizations (What you described as "The New Model") is to coordinate care. ACOs are pilot projects, most just barely starting up. So the reality is only a fraction of the population in the US will be affected by these organizations. The big workflow change is really for the nurses who gather the information, not the physicians. The goal of ACOs is to improve outcomes. ACOs receive bonuses if the can improve outcomes for the same cost or less that is being paid for the same population today.

Also as a FYI, everything you described as Obamacare (ACOs / EHRs) was actually developed and funded in 2009 by ARRA, not last year in the ACA / Obamacare.
I know a guy who still runs FF3. It's really incredible how fast Mozilla can push out new releases now!
It's helpful to remember that the British took very different methods of governance among different colonies at different times. They very much used different means depending upon the local situation and what they were trying to get out of a colony. Also colonies that were populated by British people (US, Canada, etc.) have a very different cultural and social heritage than the colonies where Britain showed up in a pre-existing society with established norms.
10 Time Management Tactics That Work
Thanks! It has been a crazy ride, and it doesn't look like it's going to slow down any time soon!
Wow. So, basically, Facebook says: "You're locked out. If you want to stay a Facebook user, you must provide your government issued ID, or else - get lost."

This is a glimpse of the future, if we let it slide. The Internet giants can amend their ToS as they see fit and you will have to comply or get out. And for many people getting out is not an option when all of their immediate circle is already on it. So they endure humiliation in order to stay in, as well.

There must be legal restrictions on this type of behavior.
> There's a bigger dependency management problem where you need to distribute source code to users of tools rather than distributing compiled code.

At first I nodded my head to myself, but after thinking about it, I'm not actually sure that's true.

You can still have dependencies with binary distribution (if using dynamic linking etc). apt, yum, etc, were invented to deal with this right?

And it can still be a nightmare if you have two different things on your system that need different versions of the same dependency -- even a binary dependency. Have you tried to deal with two different binaries that need different versions of libxml? It can be nightmarish.
Stripe [1] seems to be a favorite around here. I don't know much about their competitors and a quick search of the archives didn't turn up the flamewars I remember seeing, but I do know a lot of the Stripe team and I can vouch that they're all top-notch.

[1] https://stripe.com/
The Aha Moments That Made Y Combinator Possible
I was thinking the same. And with Treehouse gaining some ground at their old $25 rate, it seems like a strange time to be doing it. Unless they're somehow really struggling to pay people to create content.
Delian - love the initiative!

There are a few basic assumptions underlying your vision that may be useful to flush out further (I can tell you that, from similar experience, what you are going to bump in to is a fundamental lack of desire from the majority of the system to see change).

1. You are betting that Obamacare will actually drive the system towards "accountable" care -- we are a long way off from this unfortunately. I won't rehash it all here, but many ACOs are turning back from the model: http://www.hhnmag.com/hhnmag/HHNDaily/HHNDailyDisplay.dhtml?...

2. You are betting that patient engagement in their own health will be high, particularly for the high cost, at risk patients. This has been historically proven not to be the case. High touch intervention + technology works (i.e. take a look at the Diabetes Prevention Programs now being run digitally by organizations such as Omada) but technology by itself has had a pretty low hit rate with driving meaningful patient engagement for the at risk populations. For some reading on the challenges of adherence, check out: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1661624/

I really do think we need more people working on these problems, so keep at it, and if I can help at all please let me know!

(drop me a line at andrei@humanapi.co)
To the contrary, pointy sticks can be quite dangerous.
Many of the "legal ramifications" are legal priveleges. Your spouse can visit you in the hospital and be listed on your insurance policy. If your spouse is not legally recognized as your spouse then those benefits will be prohibited to you. Many other favorable incentives such as tax benefits rest solely on what the state thinks of your relationships, and not what you think of them.

In some jurisdictions, the state can decide that you are formally and legally married even if you have never filed for a marriage license[1].

Like it or not, what the state thinks about your relationships can impact your life enormously.

[1] http://en.wikipedia.org/wiki/Common-law_marriage
> So $27 is probably the price of a meal in an expensive restaurant.

That wouldn't qualify as an expensive restaurant in any Western country, let alone Norway (one of the most expensive countries in the world). $27 in Norway would get you about three Big Macs. A nice restaurant would be well north of $100 ($250+ if we agree on what nice is).
> You can have a polygamous marriage all you want

No, you can't. It's illegal in most states (see how the "Big Love" family had to move due to pending prosecution in Utah).

> you can be as gay as you want.

Not if you're male - sodomy is illegal in many states (despite a Supreme Court ruling that pretty much shuts them down) in the US, and many other countries entirely [1].

> [The law] has nothing to do with any morality associated with the relationships.

Laws are derived from the morality of their times. The laws against murder, and exceptions thereof, are based on what society believes is wrong and right.

[1] http://en.wikipedia.org/wiki/Sodomy_law
This.... is so not true I don't even know what to say.
That seems to be coming along nicely but it looks like almost nothing made it into IE11 - so doesn't that mean we missed the boat for a few more years? I want to use this stuff so badly already. Gah.
I believe 'session' and 'session cookies' are different things here.

IMO It's a rather poorly described change.
But the discussion isn't about complexity, the discussion is about "smallness" and prototypes are definitely small. They are just "bags of properties" like all JavaScript objects. They just have the special function of being automatically applied to a new object's "__proto__" property when using new. Compare that to Java, where Classes are not objects themselves, they are blueprints for creating objects. But the distinction there means if you want to reason about Classes you need a special form in generics.
1. Bribery absolutely exists at the lower levels of US agencies, it is just less prevalent than it is elsewhere. The people at the DMV or IRS are not going to blatantly ask for a bribe, but from time to time you can hear news of some low-level worker being arrested for accepting payments for illegal transactions.

2. Auditing is strong. It is hard to spend "off the books" money in the US, except in very tiny amounts. This is such a serious problem for criminals that the mafia has been known to play the lottery as a form of money laundering.

3. Government salaries are sufficient for the things bribes might buy elsewhere: your own apartment, a functioning car, the cost of children, an occasional vacation, etc. The incentives to take bribes are lower here.

[EDIT: Also worth mentioning is that the incentives to give bribes are lower. You do not need to bribe anyone to get a passport, a plane ticket, permission to buy or sell a car, etc. It is only when you start looking at things that most people never deal with that you will start seeing bribery: permits to build large buildings, exemptions from environmental rules, etc.]

[EDIT: Example for point 1:

https://www.nydailynews.com/new-york/eleven-arrested-driver-...]
Whats terribly wrong with http://tools.ietf.org/html/rfc7049#section-2.4.1?
What we need is strong fundamental protections of "rights", which no representatives can overrule.

Direct democracy can be far worse, since when the majority becomes fickle and wants to kill someone (such as Socrates) who is there to stop them? And worse, it's usually the VOCAL ACTIVIST minority that goes and votes or intimidates others, such as the nazi party.

Thinking direct democracy will solve everything is naive. Here are some links:

http://en.wikipedia.org/wiki/Public_choice#Special_interests

And by the way getting 25% of people to vote is not easy, without fines being imposed on the non-voters. Facebook wasn't even able to get 3% of people to vote, and that was online clicking a button.

Publius (federalist papers) wrote about democracies that they: have ever been spectacles of turbulence and contention; have ever been found incompatible with personal security or the rights of property; and have in general been as short in their lives as they have been violent in their deaths. (Federalist 10)

The founders of the USA are kind of like the writers of the initial codebase and the protocol for amending it. Before there was programming, there was ... legal constitution writing.
Migrate to a Open Source social network instead then.
SHARE EVERYTHING, WITH NOKIA BEAMER
Gumroad (www.gumroad.com) is super easy.
My girlfriend is a big fan of both kittens and cupcakes. This would be perfect for her, too bad it’s not in Amsterdam.

Over the summer Uber had some cool stuff here. You could hire a boat with friends, and the ice cream truck of course.
Alternatively, you could wait for the folks over at PortableApps to update: http://portableapps.com/apps/internet/firefox_portable
I didn't ask which are "better", I asked which are better at being both functional and object oriented at the same time. I can accept Lua, but the others I really need a good argument for.
> I've removed it again, sorry; this is not the way to fix the problem. Mostly all you're going to do is stir up bad feeling (especially with that attitude) and end up getting the article title protected from recreation.

You can say whatever you like, but due to such policies (e.g. rm-ing article about Django EDMS, I stopped donating to Wikipedia!
I thought I recalled that match was going to be free?

Even so, of all the books I've purchased, they've only found matches for 2, which is very disappointing.

Would like to see more titles available so going forward, I know whether I should go back to buying paperbacks/hardcovers or keep buying for the Kindle.
Why is this news? I don't remember seeing a "Chrome r30 released" thread.

Aren't minor updates not a big deal when a vendor is doing rolling releases?