skysight-inc/HackerNews huggingface dataset:
Why Willpower Doesn't Work
Have you ever approached fitness resolutions with a “just do it” attitude? Were you disappointed that you summoned up all of the willpower that you could muster in January only to find yourself back to your old ways by March?
The page is actually fairly interesting. It seems to have started with a test where the frog failed to jump out because when it's brain was removed (reminding me of how frogs go deaf when their legs are cut off).

But it does seem that it's a matter of degrees (literally). If sufficiently slow - very slow - the frog may in fact not notice. But it is certainly very slow. It also seems a normal frog will also apparently get bored or restless, and will jump out, not from heat, but because frogs just jump around.

Overall, it seems like a hard thing to test for properly without inflicting some constraint on the frog to encourage it to stay and die.
Dan Kervick: Bitcoin’s Deflationary Weirdness
This is a reasonable argument, but we should pay attention to both the good and bad effects when tallying the value produced by the TSA. After adding up all of the terrorist attacks prevented by enhanced screening (zero?), we should be sure to subtract the wasted hours of people waiting at airports and the deaths caused by increased use of cars for moderate to long distance travel.[0] In the unlikely event that our analysis finds that the TSA saves lives, we should then compare it to other methods of saving lives and be sure to implement only the most cost-effective ones, potentially shutting down programs that are not as cost-effective.

[0]: https://www.schneier.com/blog/archives/2013/09/excess_automo...
More likely it's how management is selling high risk projects. This is actually a good thing. None wants to work on a dozen-people project that might not ever hit production after US$ 3 million were spent. But a "hack"? Oh boy! That sounds sexy.

Deceptive? Sure. But if the overall company culture encourages and rewards risk taking, it shouldn't matter how it's called. As long as when it fails, proper care is taken.
All the TSA has done is ensure that someday a suicide bomber will blow up the security line, and destroy the travel industry at the same time. There is no backup plan once that happens other than picking people up at home in armored vans.
Except death due to terrorist activity is so, so low, as to be virtually unmeasurable. We have better statistics about death's caused by lightning strikes than we do about death's caused by terrorist activity.

If the TSA was needed, I'd probably be a lot more acceptable, but at the end of the day, there is no evidence that suggests they stop terrorists attacks and there is no evidence that they make flights safer.
Roughly - and possibly with some errors ...

It's not a path that we're feeding to the decision problem. The decision problem is when we have a graph with costs on the edges, and when someone says "Is there a solution of cost less than K?" We're assuming we have a way to answer that, and using that to get a solution to the optimization problem.

We need to use that to find the best possible path. We start by finding the cost of the best possible path. Set k=1 and ask if there's a solution. If not, double K and ask again. Repeat until the answer is "Yes".

Now you know there is a solution with cost in the range [0,K]. Set L=0 and U=K. Now do a binary search. Set K = L + (U-L)/2 and ask if there is a solution of cost K. If not, set L=K, if so then set U=K. Lather, rinse, repeat, until U-L is sufficiently small (1 if using integer weights - more care required otherwise).

Now we know the optimum price. Remove an edge and see if there's still a solution. If there is, there's an optimal path without it. If not, the edge is in the optimal path. Repeat for all edges - some efficiencies can be made.
Watch: Hackers use the Wii U GamePad to stream PC games
The American public, and detractors of the TSA in particular, have not forgotten 9/11.

Not all "security measures" are created equal. Reinforced cockpit doors and curb-stomping want-to-be hijackers are both effective security measures, as were metal detectors.

Those are not the security measures that critics of the TSA are criticizing.
Yesterday - The Beatles (feat. Jay-Z)
You can disagree all that you like. What you cannot do is ascribe intention to my posts.

At any rate, I think that you're so focused on the specific case of the OP that you've missed the point of my post. That's fine. I expected contention over my use of the word "programming", and apparently I should have been more pedantic.
Note for readers: I edited my original comment just before Blahah's reply was written, and my edit makes it seem like they didn't read my comment. But in fact they had read an earlier version of it. So I figure I should mention that to avoid confusion...

Anyway, it doesn't matter if his apps are taken down, because growing his skillset is the most important thing, not the apps themselves. No one will fine him or take him to jail, so as long as he's aware that maybe the app might get pulled, then using other people's characters is the best possible thing a young gamedev can do. And plus there's a good chance no one will care.
How was BingoBo's technical solution worked out? (Part I)
> Yes, but the drone attacks are unlawful systematic assasinations that are turning peace time living into hell.

Its not peace time living. Its a war -- on which seems to be permanent and global, which is a problem, but a different one than you describe.

> As there are no declared war zones

Wars -- even the most formally declared ones -- rarely have declared zones. They have declared belligerents.
I don't think the laws can be meaningfully separated from the system. Reasonable laws would simply be enforced unreasonably. It certainly doesn't help that unreasonable laws exist, but fixing that would not entirely solve the problem.
Why would anyone be against that? Both of those things seem perfectly reasonable.

I'm sure there would be a provision for a type of license that would allow a larger magazine if you had a valid reason and very clean record. If you live on a large farm and like to shoot for fun, then maybe a larger magazine would be acceptable. If you live in an apartment in a city, then you don't reasonably need extremely large magazines for your weapons. The law would probably only prohibit the sale of large magazines but grandfather in existing owners, so who really has an issue with this?

And more background checks shouldn't be an issue, as long as there was some sort of process or committee for appeals and exceptions. Someone with a history of mental illness or a felony should probably not be allowed to own a gun. Someone who was wrongfully convicted or had a minor offense that was charged as a felony decades ago might be a candidate for an exception.
Show HN: ImageJS
Okay that was over descriptive. I basically created a chatting platform that used Websockets (so it worked on the web instead of application only) and would send data from a PHP frontend to a node.JS backend (hosted in AWS) via SSL and RSA encryption (I used cryptico.JS to encrypt and decrypt). The node.JS server was running engine.io (base for socket.io).

Also i'm sorry if it came off like I have a big ego!
Google's Eric Schmidt: Mobile has officially won – and now it gets interesting
I am not their customer, but I admire their acceptance of their mistake, "The second mistake that we made was not notifying our customers that use the API"
Not sure how it is in any way illegal.
I'd also done the Queue/threading thing for the longest time. I'd also use multiprocessing some of the time. But it was arbitrary, and I'd have to make sure that shutdown, exceptions etc are correctly handled.

> Yet Another Threading API

concurrent.futures is not yet another threading api. futures is a standard async work/result wrapper, while the process and thread executors are standard executor apis.

> Personally I think multiprocessing is just dopey

Then don't use it. But be aware that it works well for many people. Some of my code scales linearly with multiprocessing and all I had to do was use a process executor instead of a thread executor.
LG’s webOS-powered smart TV set to debut at CES 2014
That'll be the crux. When you can run most/all existing python 2 code under python 3 we'll see the transition. Until then most of us have no plans to even look at python 3.
I don't like Python 3.

Iterators everywhere are incredibly annoying, especially with my development workflow, where I don't put a line of code into a file before I run it manually in the interpreter. When I run a map over a list, I just want to see the freaking results.

Default unicode strings are obscenely annoying to me. Almost all of my code deals with binary data, parsing complex data structures, etc. The only "human readable" strings in my code are logs. Why the hell should I worry about text encoding before sending a string into a TCP socket...

The fact that the combination of words "encode" and "UTF8" appear in my code, and str.encode('hex') is no longer available, is a very good representation of why I hate Python 3.

In Python 2, the rule of thumb was "If it makes sense, it's going to work". In Python 3, this isn't true. Not often, but often enough to annoy. This makes Python "feel" like Java to me.

And worst of all, Python 3 has so many excellent features, like sub-generators, a better performing GIL, etc. These sometimes force me into coding with Python 3. I hate it every freaking time.

I said to myself that with Python 3.4, due to great stuff like the new asyncio module, I'll have to make the switch. It's really sad that this is because I "have to" do it, and not because I "want to".
> If it takes a year of training and preparation by one or more high IQ individuals with several hundred thousand dollars, we'd see almost none. This is why we haven't seen any more 9/11 style attacks even though they were so amazingly effective as a terrorist tool: it's become sufficiently difficult to pull them off after counterterrorism efforts were amped up.

It was sufficiently difficult even before security theater and airline liability reduction measures were ramped up, which is why we didn't see 9/11 style attacks before 9/11.
The damage to all the other governmental institutions (and by extension, citizens) that can benefit from running open source software would be far more extensive than the damage caused to institutions like the NSA. It seems pointless and unenforceable, like Crockford's "do no evil" license.
I just want to chime in and say that Apple has done an abysmal job with backward compatibility, and it's not just due to the enterprise vs consumer market. I would wager that if you looked at the total list of apps ever released for Mac OS, the majority of them would not run today. That's because Apple's primary strategies are 1) innovate and 2) put the user first. Putting the developer first is not part of their profit motive like it would be for say Oracle or MathWorks. So without constant recurring effort, developers and the apps they create get left behind.

Apple frequently deprecates APIs that they endorsed just a few years ago. And they claim that apps can be rewritten to work with new APIs in a few hours, when in reality it can take weeks, months or even longer due to refactoring issues. If you want to be an Apple developer, you will likely be rewriting a portion of your code at some point to run on a new OS release. I was optimistic that the practice might end but history is already repeating itself with Apple insisting on iOS 7 compliance. The kicker is that Apple could have ported a lightweight version of Mac OS to run directly on arm for iOS, but they didn't, and I disagree with it being a performance issue (iPads are orders of magnitude more powerful than NeXT machines, or even the early PowerPCs that ran OS X). They created a vast array of nearly duplicate code prefixed with UI instead of NS. This looks like more of an anachronism every day to me with tablets running at multiple GHz with GBs of ram, when the only major difference between desktop and mobile is the touch interface.

Contrast this with Microsoft, where I am finding very old examples designed for Windows XP that still run today. Now Microsoft is certainly burning its developers with the major breaks in various versions of DirectX, or subtle differences in APIs between desktop/mobile/Xbox, but in my opinion this isn't happening nearly to the extent that it is with Apple.
This is one of the issues I see that need to be corrected. I have attempts at migrating to 3, that failed miserably. One happened to be while teaching my son Python with "Python for Kids" that ended up making the experience difficult and the others that ended up causing conflicts in various OS dependencies.

I have to say, Python is my favorite language still (at least 2.7), and I hope the community can get it back in line. I can see JS, NodeJS and Python being my core technologies, but this issue with 3 is squashing my dream.
You get screened normally when flying intra Schengen.
Many people don't have the funds to defend themselves against the very group that entrapped them. They have nearly unlimited funds to prove they didn't entrap you, while likely you will not. That's why there are supposed to be laws and procedures to prevent this from ever starting, but there are budgets and arrest records to pad.
I'm a developer at Phusion.

Thanks everyone for letting us know. We're working on rolling out a new release right now. A new gem, tarball and binaries are coming up.

In the mean time, you can work around this problem by setting a Date header from your application. For example in Rails you can do:

before_filter { response.date = Time.now.utc }
Well, I don't know the layout of the stations, nor do I have any real knowledge of explosives, so I can't really comment on if they actually helped (more than any normal wall or objects in a room), but if you look at the numbers, 14 and 17 fatalities (with about three times that injured) is near the high end of suicide bombings where the bomb is carried on a person.

Suicide bombings in the middle east over the last 10 years, in comparison, have about a 1:3 ratio of bomber to victims. That's a mean, but the outliers tend to barely break 20. So it's difficult to believe that number was reduced by a large amount.
I wasn't trying to put down his intelligence or smartness. Point is, the apps aren't overly impressive in my opinion and as I said quantity != quality.
For most 15 year olds it would not be an extremely easy task. What's impressive is that someone has gone down such a specialised skill-development route by that age. So both the OP, and you, are impressive.
It's pretty much the same. The security checks are a little bit more lax than TSA but no noticeable difference really. The airports in Finland and Denmark are generally pretty fast at getting people through security, maybe because of pretty low volume.
Interesting thing that is happening right now in South America:

Somebody hijacked some servers from Movistar Peru / Argentina, and are serving a modified file for Google ads / analytics JS.

Here are some hijacked URLs:
http://www.googletagservices.com/tag/js/gpt.js
http://www.google-analitycs.com/ga.js
http://pagead2.googlesyndication.com/pagead/show_ads.js

The LinkBucks script they serve instead: http://pastebin.com/mYYpYDkR

The script basically hooks mousedown on the whole page, and redirects you to http://dca14d4e.megaline.co/url/ORIGINAL_URL
This depressing problem requires a crazy solution. Rewrite Python 3 in JavaScript so it runs on V8, and can interoperate with JS code. ;)
I smoke every day medically as it helps with managing the daily nausea, vomiting, and cramping pain that my IBS presents me. I am very young for most software engineers in my field, and I work at a startup that was recently funded. Before I started smoking daily, I was missing loads of work because of pain. Now, I wake up early every morning to smoke so that I can actually function. Marijuana has not improved my skills as a hacker, but it has enabled me to spend more of my life doing what I'd like to be (programming) instead of dealing with a disease. I can vouch for the therapeutic effects of the drug too, and I know that for some people it is what they need to get things done. In moderate amounts, I don't know how it is fair to say that drugs like Prozac and Riddlin are acceptable for the workplace any more than pot.
Be proud of your work, that's nice ! Keep moving forward ! :-)
Or use something like http://opengameart.org/

Also: http://www.glitchthegame.com/public-domain-game-art/
Jim Rogers: Global Financial System Headed for Collapse
I wouldn't even know where to start :-)
This is encouraging and I think it's great that you are interacting with the community and getting feedback on your work at an early stage. This will help you grow. I guess you've posted this for constructive criticism. You should look at challenging yourself further by finding a problem area that you are passionate about and digging deep into the data structures and the algorithms. Consider when I was 15. I was fascinated with computer graphics and games and wrote a raytracer in C, wrote a doom-like game-engine in pascal. Writing the game logic was always the easy part, dealing with limited memory and optimising for hardware were always a problem. My mates were all building their own graphics engines, dabbling with operating systems development and one kid was playing around with Classes and tree like data structures. We looked at him like he was a god. This isn't a put down but a push. You can do so much more kid and you have a good headstart but try something harder. Post your work here and most will be glad to give a helping hand. Ironically the most talented of us ended up being a musician when he left for University.
Nice work getting things done!

I see your Minecraft and Mario games are "unavailable". I'm sure you'll keep creating your own IP in the future, like you did with the other 22 games instead of dealing with copyright and trademark infringement. Especially if you want to generate some revenue.

I am not a lawyer. But it will be much better for you to keep doing your own thing (like you did with most of your games), than to be taken down by lawyers working for people who's characters, names, or art you "re-purposed".
Being able to "run" it, and the fact that it has a release cycle doesn't mean it's a viable development platform.
I agree that metal detectors aren't invasive in a way that many other screening methods are. I was just pointing out that you can't put a metal detector in the way of reaching every grouping of people. There will always be targets.
private gun ownership deters an order of magnitude more crime than is committed with guns. This is not hyperbole, it is the DoJ statistics.
You are completely (deliberately?) missing my point.

If bribery is the way business is done in China (and many places around the world), then the anti-bribery regulations serve only to hamstring US businesses. From everyone I've spoken to who works in these countries, there is no way to do big business in China, Russia, India, without bribery. Not allowed to bribe? You hire a contractor (i.e. not an "employee") to do your bribery for you. Just creates more bureaucracy for US companies relative to their European competitors.

And if the point of the anti-bribery regulations is to, I don't know, have a more ethical and law-abiding US, then the US Government should start with itself. These regulations (see above paragraph) do not reduce bribery overseas or help to make a better world.
If he said it I believe it. I don't worry so much about Matz and the Ruby core committers breaking things.
That's all very well and good, but it still seems like a useless and inept attempt at a captcha, a problem for which plenty of workable solutions already exist.
You're talking about a population which elected both Bush II and Obama.
I think people are losing a basic grasp of safety precautions in favor of the immediate gratification of easier travel. If we didn't have any checks at all, it would be far easier to disrupt flights and more likely than not increase dangerous occurrences. If TSA is an ineffective means of instituting these safety precautions, then let's propose an alternative solution. Would be much more productive than endlessly harping about how much TSA sucks.
Yes, the op has done fantastic. Perfection is unattainable but a great motivator. You can always get better and should.

This past year you have learned a very valuable skill, pump out product. Now you should reflect upon how well your apps performed in the store and determine if you want to continue with the same strategy, invest time in polishing your projects, or maybe simply review your quality standards.

Great job OP, any parent would be proud, any person should show respect. Keep it up, iterate on your ideas and yourself.
Certainly it can violate any kind of implied discreteness in the search. I would think that you'd need permission, but then it might not work as well. The best you could say is, "I think we both know X, can I ask her about you?"
I don't say they are incompetent. They might have some cost constraints and that is why it doesn't look appealing to you.
Wordle: Elixir Programming Language
This is awesome. And while there's some valid criticism in this thread (regarding quality over quantity & originality), that criticism shouldn't detract from a few points:

* You're averaging a product a fortnight. Whoa.

* You've learned to leverage 3rd party tools to increase productivity / output.

* You've learned to actually -ship- product.

* You made the front page of Hacker News.

All of that is incredibly valuable. Who cares if it isn't written in Java or Objective-C or Haskell or Erlang, so long as your customers love what you're making? (And if they don't love it, at least you now know what to improve on next!)

If you do follow the advice of taking longer to make a higher quality product, don't fall into the trap of becoming a perfectionist and never shipping. It's better to ship something and keep improving it based on customer feedback, than to make something that never sees the light of day.

Did you join onegameamonth.com? If not, you definitely should.
As a non gamedev but a webdev, I completely agree. It doesn't matter, at this stage, if the characters are "original" or if they're borrowed.
This doesn't get you the path itself, it only gets you the length of the path.

Think of it like this:

the decision version question is: Is there a path of length k that hits all of the cities?

The algorithm just has to answer yes/no, it doesn't have to give you the path itself. So you can use binary search to repeatedly ask whether there is a path with length less than k, and home in on the optimal length. You still don't know what the path is.

We assume it would be difficult for the algorithm to make this determination without having actually discovered the path, but the problem doesn't require that it output any such path.

Edit: This is wrong, ColinWright details how to get the actual path from just knowing the length
"Treat people who know less than you with respect, deference, and patience." This should be applied across all aspects of life. It is a very obvious point, if you need to be told this there is something not right.