skysight-inc/HackerNews huggingface dataset:
I had to fix my Dad's iPhone. His email stopped working and he could't download apps.

His email was broken because he changed his email password and instead of changing the password stored on his phone setup a second account to the same email box. Yeah that was a fun one to try and figure out.
8 Ways To Save On Your Kitchen Remodel
Don't conflate things that are different.

The libertarian two axis view of politics is still far too simple, but it's a start: plenty of people who rail against "big government" support the drug war, while plenty of people who like redistribution are adamantly against it.*

As long as you don't get that point, you're working with a seriously limited view of politics.

* If you really want to blow your mind, there are people who like redistribution, hate the drug war, and also think the government should significantly decrease its economic regulation.

Edit: slightly nicer phrasing.
Analytics data is the currency of internet industry and it will remain like this.
<input name="lccp_cap_val" value="12323" id="txtCaptcha" type="hidden">
We already know why cancer rates increase with age: cancer is a result of several cumulative cellular mutations. Obviously, the chance of these mutations all occurring in any given cell increases with the number of cell divisions that occur, i.e. the length of time the person lives.
Thanks a lot! It takes a lot of sacrifice, cant say I recommend this volume of work though.
Think of a manned Moon mission as more of a propaganda piece for the Mars-exploration party.

The Moon is days of travel time, whereas Mars is months of travel time. Round-trip communication delay to the Moon is seconds. Delay to Mars is minutes. Pieces of the Moon can be returned as souvenirs. Delta-v for returning bits of Mars is ridiculous. People can SEE the Moon with the naked eye, even in urban light pollution. Mars requires a map of the sky and a pair of binoculars, at least.

The Moon is important because it motivates the nonscientific people of Earth to support more productive forms of space exploration research. It reminds people that this is not only a very small world, but the only one we have. And it creates a seed economy with a shorter possible cycle of iterations than a few missions clustered around the same 3-month launch window every 780 days. There is some merit to having regular shorter missions to a closer target, so that when that window comes around, you have people with steady jobs and experience around to run the longer missions.

It isn't just about the scientific benefit. You also have to consider the human factors. Nobody wants to train for years to be unemployed 90% of the time, waiting around for the next time someone needs some specific skill. The thing about Moon missions is that they can be done with resources that would otherwise be mothballed and rusting, or used once and discarded.
"What's the point of being a human walking around the moon?"

"Much of the reason for sending humans to the moon was as a politically motivated show of technological superiority."

Haha, you answered your own question. Sending a "probe" would not one-up China's Jade Rabbit. Frankly, I welcome another "Race" rather than another "War On...". China is ramping up and the US cannot keep their edge by standing idle or privatizing cosmic exploration, IMO.
Very good and timely question, but I smell a selection bias. Regular exercisers probably just logged in to vote, and couch potatoes probably just hit the back button.
pretty cool portfolio for your age ! Did you use C#/XNA for your 2 games ?
Which tutorial did you use, and how much supervision did you get? I'm asking because I'm trying to teach game programming to my son and he's 13 and I would like for him to do most of it as opposed to me doing it for him.
nah don't think of it that way. its better to exercise moderately unless you have some specific goal in mind. i have an addictive personality, and bodybuilding has been my way to satisfy that in a more productive manner.
They do generate it using js and Math.random :)

<body onload="DrawCaptcha();">

......

<script type="text/javascript">
//Generates the captcha function
function DrawCaptcha()
{
var a = Math.ceil(Math.random() * 9)+ '';
var b = Math.ceil(Math.random() * 9)+ '';
var c = Math.ceil(Math.random() * 9)+ '';
var d = Math.ceil(Math.random() * 9)+ '';
var e = Math.ceil(Math.random() * 9)+ '';

var code = a + b + c + d + e;
document.getElementById("txtCaptcha").value = code;
document.getElementById("txtCaptchaDiv").innerHTML = code;
}
</script>
does masturbation counts?
I just wanted to say thank you for this comment. I'm reading the paper because of it. Can you please point me to your other favorites that are good + accessible?
The Whole Internet: User's Guide and Catalog (1993)
Wow, you've certainly been productive! How was your experience with the Microsoft Store and getting apps approved? What language did you write all the games in? How much code got reused between the games (I noticed a number of them appear to be skins on top of the same underlying concept).
Maybe if we didn't have the absurd excuse of "the tyrant is evil, but at least he'll die someday" we would be more inclined to do something, instead of sheepishly obeying and letting time pass.
Does anyone know of a list like this for other types of developers? Like a back-end development position etc. I really also like the link out to the Github page with a much more extensive list of questions.
Started out as a short asthmatic kid. Did a little bit of running in high school, but didn't get serious about it until halfway through college, when I joined the running club to try to apply some implicit social pressure to keep up with it. Got into road racing and didn't stop. Once I got up to doing one full hour of cardio regularly, after a couple of months it was like breaking through a wall, and I was able to go from 6 miles to 12 miles in only a few months. Getting from 3 miles to 6 miles took four years. At some point a few years ago, I realized I didn't need to use my inhaler before running anymore- my lung capacity increased to overcome the inefficiency. I did a marathon in 2010 (Tokyo) and have tried to maintain an active lifestyle since then, with usually a race or two a month (5k - half marathon). Finally broke a 20-minute 5k a couple of months ago. Three years now with a standing desk (Ergotron workfit). My motivation is to try to be as healthy as possible.
Some people say it's misguided to pull your data out of the US, because it's within US law to spy on foreign communications; there's supposedly some irony in that you make it more likely to expose your data outside the US.

But as we've seen, the NSA does not distinguish between US and non-US communication; they spy on everyone, everywhere, with the exact same technologies and practices.

In addition to traditional espionage within and without the US, the NSA legally compels US companies to hand over data; they don't have to go to any extraordinary lengths to get data, just compel it.

So you should at least make them work for it, and take your data outside the US. Added benefit, there is at least a theoretical chance of improving technology, practices and law outside the US to the point that mass surveillance is no longer economical. But it will always be legal for the NSA to compel data from US companies.
> non-professional programmer (even woman)

What the fuck is wrong with you?
Good job! Have you look into Android apps? You will have a bigger audience. I am assuming you are using C# as they are Windows Store apps if so Java will be very similar for you to switch too.
Awesome!

What you're learning from doing so many different things will serve you well in the future. Out of all of these different apps, one will either catch your attention, or others and you'll have a chance. Keep moving!

Continue to cultivate and live live in a mindset of creativity and possibility, and be wary of doubt worshippers/haters who are busy doing nothing :).
is there any way to make docker vm stop/start persistently like a normal virtualization (virtualbox, vmware)? last i checked the only way to do that was to run a command that never ends, which i thought was pretty inelegant. this tad annoyance is making me stay away from docker, until they improve this area a bit.
linkbait.. not OS X.. in a VM
I made the basic structure with scirra's construct 2 ( www.scrirra.com ), but I made the rest with JavaScript, HTML, and CSS. To learn those, I got some books. O'reilly has some really good books if you know the basics.
Three Battle Tested Ways to Install PostgreSQL
I'm starting to teach myself Android development after a semester of Java - can you recommend any tutorials or tools?
Relive your 2013
With regards to Bad Rule #3, "Avoid >= and use <," if I saw

if (speed < 100) ... else if (speed > 99)

in code, my only response would be to question the author's sanity.

But then, I question the sanity of C standards committee members all the time, specifically regarding his actual complaint related to Bad Rule #2 and unspecified-width integer types[1].

[1] http://www.netrino.com/Embedded-Systems/How-To/C-Fixed-Width...
It is mostly made with JavaScript. I really liked making apps on Windows 8 because I can use languages I already knew from making websites.
> plenty of people who rail against "big government" support the drug war, while plenty of people who like redistribution are adamantly against it.*

Because no one actually cares about "big" or "small" government, they care about using the government to impose their beliefs on other people, whether those beliefs are conservative or liberal in nature. Both liberals and conservatives are actually for "big government", it's just that conservatives also lie about being for "small government". Liberals want the government to take money from the rich and give it to the poor, while conservatives want the government to wage war on drugs (read: ethnic minorities), other countries, women's rights, etc.

But in the end, it's those with connections that are able to skim money off the top of all these transactions and laugh all the way to the bank. Obama allocated $607 billion for defense-related spending last Thursday - $30 billion more than was in the recent budget deal passed by Congress. So actually, the "liberals" are also supporting the military-industrial complex too.
That was an awesome read, thank you for mentioning it.
Seems like if you used processes to implement components and had a master process to respawn when a "component" dies then it is just assert() vs perror().

That's hand waving past any shared state but if you need that I suppose you use threads (I'm not a thread fan but I have to believe there is a thread_assert() that kills just that thread).
You're engaging in the same question begging as the scientists in the linked piece. If we accept for the sake of argument that manned moon missions further the cause of manned Mars missions, that still leaves us without a justification for manned Mars missions.

Manned Mars missions aren't any more "productive" than manned Moon missions. Both are terribly inefficient from any scientific or commercial perspective.
We have a number of sites in the UK for reporting crime which are supposed to be anonymous. The best known is Crimestoppers UK [1] which tells you you can "Contact us anonymously with information about crime". All these sites use Google Analytics and some also add Facebook tracking codes too.

None of these sites point out that Google, Facebook, etc can easily ID you and while you may be anonymous to the site operator you aren't truly anonymous. I've contacted Crimestoppers and the local police to ask about this and got nowhere. The bottom line seems to be that the police and Crimestoppers have absolute unshakable faith in Google and are comfortable outsourcing crime victims' privacy to an American advertising company.

[1] https://crimestoppers-uk.org/give-information/give-informati...
Python on KS: These guys are doing a great job.  Definitely worth supporting.
http://www.kickstarter.com/projects/721054906/real-python-advanced-web-development-featuring-dja
I used JavaScript to make the apps. The only thing that was difficult about getting approved was making it support touch and keyboard inputs. Other than that, it was pretty easy.
Well done. Keep going and creating stuff. Be sure to talk to your users as well.

Wish you the best.
>How the hell is James Clapper still in office?? Isn't what he did so obviously perjury?

Yes, what he did clearly meets the statutory definition of perjury. He's still employed by the government because our officials, elected and appointed, are almost completely unaccountable to the public due to the political process being broken down by a corporate-controlled media and corporatocratic (see: Mussolini) system of government. The law is no longer equally applied - wealthy, important, and powerful people are "too big to fail", while even the most urgent concerns of average proles is generally beneath notice of those in charge. The only exception to this is when the proles' concerns become so widespread that a movement forms and majority demand for democratic change might result. In these cases a number of pacification strategies are adopted, like co-opting the proletariat movement with well-spoken placebo change agents who offer strong messages of hope, and have absolutely no intention of following through with them, or discrediting the movement by airing the dirty laundry of those movement leaders who cannot be corrupted or co-opted.
(And, by the way, in English a-z0-9 is 36 characters)

Hahaha, whoops. Thanks for catching that. log(36^13)/log(2) is 68, so the idea was correct, but I should've caught the typo.
"Most countries are representative democracies, and it's more difficult for leaders to go into a war."

That maybe was true before, when the "democracy" craftsmanship wasn't mastered well enough. Now, I'll never bet against a government's ability to sway, at least for a while, the public perception in whatever direction, no matter how misplaced it might be. And to start a war, "for a while" is all it takes! ...Saddam's WMD?

"I think the "nation state" is dying."

Reality check - ask the Palestinians why do they want so bad a "palestinian" state when there already is an Israeli one in place? Or for that matter ask a Jew the the same question - is it that important to have an Israeli state?
So in other words you have high metabolism. A lot of other people do not, so it's just a bit arrogant to say exercise is 'a fad' just because of your anecdotal experience.
Jesus, this is impressive.

When I was fifteen, I'm pretty sure my main accomplishment was hitting level 40 in Halo 2 matchmaking.

You will probably get lots of valid and actionable advice about branching out to new platforms, focusing on one or two apps, or trying something new -- but more than anything else, keep building things! You've clearly got a ridiculously high level of aptitude and passion.
Either way, it seems pretty obvious they don't actually care about security but do care about the appearance of security.

And viewing the source it looks like they have multiple head and body tags.
This is so ridiculous. From the fire station to Harvard to Goldman, hiring and admissions in the US are overwhelmingly influenced (i.e. it "makes a difference") by who you know.

What are we trying to prove with this witch hunt in China? That we are such a pure and law-abiding democracy? After Snowden, you'd be a fool to believe any of that.

This kind of thing really hurts American companies doing business overseas, while accomplishing nothing useful.
As a development lead, we recently abandoned our plans to migrate to Python 3. Here's a short summary of why:

To begin the migration, we needed to move from Python 2.6 (which is the default on our CentOS6 production boxes) to Python 2.7. This transition is actually rather hard. We can't use the packages provided in CentOS base or EPEL, because they are all complied against Python 2.6. To re-produce all of our package requirements would require us to either build new packages of the compiled libraries (such as MySQL-python, python-crypto, PyYAML, etc), or load down our production environment with a compiler and all of the development libraries.

Migrating from Python 2.7 to Python 3 would have required a nearly identical effort (there's not a lot of Python 3 packages for CentOS, in particular the packages that we need for our application).

Frankly, it's just not worth that effort at this time. Python 2.6 is the default environment, there's solid package support for it, and it just plain works. We'll make that dive when Python 3 becomes the default for CentOS (scheduled for 8 or 9, IIRC), and probably not before.
On the other hand, leadership positions strongly attract psychopaths and sociopaths, and at least some segment of the population will think, eh, I'm going to live for 500 years, I can afford to give President Palin a mere four year chance, and next thing you know we're launching missiles at who knows who for no particular reason, or they're launching missiles at us.

My point being a 500 year lifespan allows a "survival of the craziest" to likely result in truly awful people naturally ending up in positions of leadership. Every nutcase having his 4 years of fame instead of just some of them, or just 15 minutes of fame for some of them.

It could be really bad. And not just politically, imagine the typical CEO psychological profile under centuries of those selection pressures instead of mere decades.

"if they knew they'd actually have to live with their treatment of the environment"

Imagine a 500 year old hoarder.

This whole discussion is enjoyably ripe with possible sci-fi or fantasy novel plots, very interesting.
I also have a little bit of (indirect) experience with software dev for ATMs, although it was in south east Asia. They were running Windows XP, and once you opened up the case you could just plug in a keyboard and mouse.
From what I remember, don't want to be specific for obvious reasons, the screens in the ATM program are defined by a configuration file which is distributed from a central server. If you could intercept or modify that configuration, then you could get the atm to show whatever you want without having to reverse engineer the whole software.
Size is irrelevant. When you declare your mission is a 'war on drugs' you're going to end up losing, plain and simple. Meanwhile, very, very large government programs like the NHS do well and provide healthcare to millions in an affordable way with great outcomes.

There's something very lazy about arguing about government size. Its just dumb simpleminded platitudes that libertarians pat each other on the back for, but don't really say anything.
After seeing this I went to see if AngularJS had anything built in to mitigate JSON hijacking and they do. It will strip ")]}',\n" off of json responses if included from the server.

http://docs.angularjs.org/api/ng.$http#description_security-...
> and does not happen any more frequently to women than to men

You might as well be stating the world isn't round, or the sky isn't blue, or any other plainly obvious fact that has been proven countless times. Of course, you'll say sexism in the industry really doesn't exist, and ignore the thousands of women detailing their experiences[1] on the subject, so this isn't really for you. This is for the random reader who might not be as pigheaded and oblivious.

> When people constantly make a huge fuss about imaginary misogyny

Did "imaginary" suddenly change meanings? Because either it did, or your head is so far in the sand, you've been ignoring some of the most[2] recent[3] incidents.[4] If you haven't been paying attention to the programming and tech community, you really shouldn't be speaking about it, you know? It just makes you look like a jackass, and you wouldn't want that, right?

[1]: http://www.chicagonow.com/wild-side-chicago/2013/09/sexism-i...

[2]: http://www.npr.org/blogs/alltechconsidered/2013/09/11/221052...

[3]: http://www.slate.com/blogs/xx_factor/2013/09/10/pax_dickinso...

[4]: http://www.thebolditalic.com/articles/3895-ignant-halloween-...
You might be interested in PhoneGap (http://phonegap.com). You use HTML/CSS/Javascript to build the apps, and then Phonegap compiles them to work on multiple platforms, such as Android, iOS, Windows Phone, and more.
The problem for JP Morgan is that they're in this position in the first place. If they have so little value to offer as a company that they must rely on nepotism then they are ultimately doomed one way or another.
You are your brain - Why is neuroexistentialism so disturbing?
So what they're doing in general goes in the direction completely opposite to what the broken windows theory would suggest... It seems really weird to me - it's one thing to try to be friendly with someone who's already planning a crime and something completely different when you're providing both incentive and funding for new crime (pawn shops).
> I find simply lifting weights gets too boring and I lose interest.

I find it hardly boring when I actually lift. I mean, if it's hard (as it's supposed to be), I may be overexerting, but I'm certainly not bored. I also found that bringing a book to read in between the sets helps a lot - before I had been just lounging around the gym for 3-4 minutes every time after doing a set (that was a bit boring).

I also found that for me, lifting is a great complimentary exercise to do in the evening (shortly before going to bed), while the main exercise of the day should be some kind of a cardio workout/sport.
So, this article is not biased at all ... It's pretty shoddy reporting/editorializing. These zany anecdotes are pretty outlandish but why is there only one or two sentences per anecdote? Surely, in this anti-Obama rant, we could hav some details?
Kudos for learning to program at such a young age. It'll give you a leg up when you decide to get a job or start a company and need funding. However, I'd suggest taking some time and working on the quality and originality of the apps over the sheer number of apps that you can churn out in a year. A number of the apps seem almost identical. You want to get known for high quality apps and not as someone who just fills the app store with small apps.
Publish Now, Judge Later
"But in the real world, I've worked with dozens of leaders and professionals, and I don't think I've ever seen someone with an over-delegation problem"

Couldn't agree more. I actually think our brains tend to over inflate the transaction costs, not ignore them completely.
I bet it stops spam though, at least for a while. I've seen captchas that literally just say "Type the word 'whistle' in the box".

They work because spammers often don't target specific sites but just run generic bots.

As soon as you throw something, even trivial, in the way, the spambots give up.

It wouldn't work for a high-value target of course.

If Indian Railway is a high-value target, then maybe they're just trying a 'dumb' solution and keeping an eye on spam to see if they need to put something cleverer in place.
Unfortunately, medical technology is not even remotely advancing exponentially.

Which is why we desperately need the government to get the boot off the necks of potential innovators and customers.
What makes someone a great programmer?
I've read a lot of article on the qualities of bad programmers, but never anything on the opposite. I've talked to a few people, but no one can give definitive, objective qualities or attributes that makes someone a 10x programmer.

The only thing I've come up with is a desire to constantly improve. It may manifest itself in different ways (e.g. side projects at home, reading), but always has the same goal.
got into triathlons last year. Love the structured training required and the varied sports. Believe it or not I have become even more productive at work even with a 10-20 hour a week workout schedule. My time management skills and energy levels are at an all time high.

I was 6'2" and 235 when I started endurance training (was a 12+ hour a day programmer before). Now down to 185 and in the best shape of my life.