skysight-inc/HackerNews huggingface dataset:
C'mon man. You just belittled America with four paragraphs. You don't like America? Fine. Stay where you are. I find it LAUGHABLE that you devote pages and pages of prose to tell me why my country isn't awesome. Seriously, you're an expert right? You DEFINITELY know how things are here.

I know it's fashionable to bash the US on HN, but really, why do people just keep coming here? Why is immigration such a contentious issue? Why do I continue to see posts from people on HN trying to find a way to live or work here? Why is some group trying to anchor a boat off of San Francisco for startups to get around the US immigration system? Why?

Take a look in the mirror. Everything you hate about HERE you have over THERE without the benefit of CHOICE.
Not to mention that using 'self' in a block is just not a good idea to start with. Conceptually a block is not a method, so it doesn't have a well-defined self. Instead we are relying on the lexical scope capturing of blocks. The thing is, the documentation is very clear about what happens when you access self in a block[1]:
"When a block is copied, it creates strong references to object variables used within the block. If you use a block within the implementation of a method:

If you access an instance variable by reference, a strong reference is made to self;

If you access an instance variable by value, a strong reference is made to the variable."

Right. So if you use self or an instance variable, you've just created a strong reference. In Drew's example, as he is relying on the object going out of scope, that will still leave the reference held by the block, which is itself held by the NotificationCenter. As with all reference cycles, the way out is to get the NotificationCenter to stop observing that notification, or as the Apple documentation says, use a local variable that takes the value of self, and use that local variable inside the block. This is the solution that Drew presents as Attempt6, but quite frankly would have been my very first attempt when the test failed. The stuff about __block is a red-herring, and from the documentation goes in the opposite direction that Drew wants, forcing a strong reference rather than removing it.

Drew also gets bitten by NSAssert using self. I would suggest that it is NSAssert that is doing something dodgy here - it's trying to have an implicit self, as though it was a method, when it most definately isn't a method - and Drew just got bitten by the impedence mismatch. Macros - just say no.
Before the inevitable "why do we even have pilots anymore" posts, let me share a story.

The tldr is: we have pilots so there is a trained human for redundancy when the automatic systems fail.

My father was a pilot, first in the military then commercial. He hated flying commercial, "it's boring, most days I'm a well paid glorified bus driver, unless something goes wrong"

He is since retired, but he likes to say "I only earned my paycheck once in my last 10 years flying".

The story goes, they were just over the Atlantic between Maine and Iceland when there was an electrical fire that threw out some of the automation and controls.

His job that day was to manually fly a piece of metal with about 200 people on board to the nearest airfield where they could land safely and do repairs.

Every other day his job was to run checklists, smile, and drink coffee.
an ad with a value.
Seriously? Hello? We are talking about nginx....
How This Freelancer Hacked His Hourly Rate
Show HN: Fully-featured Nil interpreter in less than 1 line of JavaScript
Personally I have an Xbox360 controller for use with my PC and both a Nintendo Wii and DS and I find that it's much easier for me to reliably press diagonals on the xbox controller, than either the DS or Wii controller.
I don't have camera on my pc. It is not the sensor that is worse but the control over it.

Can MS turn it on remotely if hit with an lawful request? Some of these consoles will work their way to places that are of interest for law enforcement.
Indeed, the NSAssert cycle surprised me too.

libextobj is great.
Even ITER won't actually generate usable electrical power - the heat generated by the reactor will simply be used to warm up water.

http://en.wikipedia.org/wiki/ITER#Cooling_systems

Actual power generation will have to wait until the follow up DEMO project, which should actually have fusion powered electrical power generation:

http://en.wikipedia.org/wiki/DEMO
Ask HN: Why do websites insist on breaking the back button
It seems every time I click on a link these days I can't just press back to go the previous page, holding down the back button review my supposed history it shows me the same site a number of times. Is polling breaking the back button?
"Strategy-proof" school lotteries that are fair, efficient and transparent
Right, but even if we can check all the boxes and trust LP, there's still the practical matter of getting everyone to use it. Generally it's going to be easier to convince users to use something that's built-in rather than 3rd party, right?

And one solution, whether it's backdoored or not, is still one target for bad actors to focus on (viruses, spoofing, etc).
Sure, t, i, j and f are much more readable than elapsed_time, row_index, col_index and input_file. ;)
Won't a linear increase function prevent anyone from hiring him in the future?
I wish I could vote this post down, an empty article with no insight that gets it completely wrong in the very first sentence.
In the European Union we have the Data Protection Directive, which means that organisations that store personal data are legally required to protect that data.
The socket stuff is cool, but I believe johnnyfive[0] (and others[1]) have also accomplished what you're describing.

[0] https://github.com/rwaldron/johnny-five

[1] https://github.com/search?q=arduino+firmata&type=Repositorie...
Because of which, your users probably write their password down on a post-it note stuck to their monitor...
There are two views of israeli profiling. One, that its the greatest thing in the world because it is so comprehensive and egalitarian. Then, there is the opinion of most arabs who have had to suffer through it. They tend to think it is just as crappy as any other racial profiling.

http://972mag.com/another-response-to-jeffrey-goldbergs-prai...

Even if you buy the egalitarian story about israeli profiling, it is ridiculous to think that (a) their state of constant war is anything like that in the west and (b) that what they do at airports should be applied to the entire population of the USA.
Example program ("hello, world" is not traditional in the Nil community):

I wandered lonely as a cloud.

Outputs:
> its impossible for me to steal information from out of their brain (so far at least).

It's easier than you think to steal passwords from people. Just ask for it!

http://www.veracode.com/blog/2013/03/hacking-the-mind-how-wh...
Ask HN: A complete guide on how to setup a SUCCESSFUL Adwords campaign
I was wondering if there is a course or tutorial which walks through the setting up of a successful Adwords campaign. I am not talking about the basics, but rather showing an actual production adwords campaign, which was started from scratch. The challenges faced, and then the changes made to turn it into a successful campaign.
I'm missing Pure (http://purecss.io/) in this list. Was it excluded because of the lack of directly included JS?
It's nice to see this up here, I've been a fan of your work since the milkdrop days. Is that when you started making shaders ? I gotta say MD2 was one of the best shader playgrounds i've ever used and it's how i was introduced to shader programming. You should do cinematic special effects :)
I've used 1Password (a popular password manager for the Mac) for several years now. How could you "quite easily" hack those passwords, assuming that's what you're implying?
i'm always torn about this sort of thing. its clearly a case of adopting common and (previously?) incorrect usage because it has become popular - this is characteristic of many differences between 'us' and 'uk' english.

i'm partly torn because it seems fruitless in this particular case. losing the of is surely an optimisation, but i struggle to see the difference in intent. despite the examples by others in comments and such they all work equally well by using the 'correct' grammar including 'of'.

if this does take off i'm sure it will be recommended against heavily in style guides. i recently opened up a copy of that 'famous' ap style book - the defacto style guide for the us press - and was shocked to see how much of the content about grammar and punctuation is stuff that my generation of brits were taught as 'the rules' from quite an early age. again, i'm not really sure if its good or bad...

on the one hand its not hard to just learn the rules and use them... on the other its more convenient to be lazy. the advantage of the latter is ease of use, but the advantage of the former is consistency and clarity. since we write and speak for other people i am inclined to lean towards the former... but when mistakes are common enough that argument is void and i'm inclined to think the other way.

its certainly an interesting area to say the least... i just hope it never gets so far that 'there' is accepted as an alternate spelling for 'their' or 'they're'. :)
It seems to me that the three goals of the algorithm devised by the Institute for Innovation in Public School Choice -- fairness, efficiency and transparency -- are like the three legs of the "project management triangle" -- fast, good or cheap -- in that you can only pick two.
Are IPv6 addresses too small?
I don't think nly was proposing an ideal universe, just an improvement to the current one.

It's not beyond the realm of possibility that browsers might be updated to support some form of Secure Remote Protocol standard. And to encourage web sites to use it browsers could display a little 'padlock' icon similar to the HTTPS icon.
Whenever the bitcoin price hits a new benchmark ($50,$100,$500 etc) there are a bunch of posts saying it will eventually burst.

This one really doesn't provide any insight as to why the author thinks so.
The article was well matched to its topic; like modern video games, its flashy and high tech, but nothing new or interesting.

I had to laugh at the kinect video. The white/beige featureless walls with no human pictures in its field of view, the actors wearing extremely high contrast clothes, the incredible cinematography style smooth and even lighting... My real world experiences with the kinect on a 360 have been super aggravating and frankly I hate the GD thing. Hey, all you need to do, is remodel and redecorate your home and buy new clothes... No, instead I think, F microsoft, my plan will be to not buy another kinect instead, they need my money more than I need their aggravation. Don't get me wrong, its really cool for about the first 15 minutes until it gets super aggravating.

As a disclaimer after the initial newness wore off I tend to use the 360 for living room youtube viewing (you need to disable kinect and voice recognition or miscues will drive you insane) and multi-player minecraft on the same screen at the same time is entertaining. And I play Forza although the review notes the new version has been neutered and downgraded so I don't want it.
On a related note, I've run into a similar problem in C++, but opposite effect. A lambda won't keep my object alive if I try to capture a shared_ptr member, because C++ lambdas, similarly to blocks, by default capture implicit reference to "this", rather than individual instance variables.

http://stackoverflow.com/q/7764564/23643
All legislation would do is put a big layer of ineffective bureaucracy between developers and getting work done.

Get the government involved and it won't be long before you need to fill out 15 forms and hire a lawyer to put your weekend project online. Is that the kind of internet you want?
From Zero to Rabbit in 30 Days
The adobe breach was fairly widely reported, but how many designers have sworn off adobe products? The same thing could be said about Linkedin or Microsoft products in the 90s.
It makes my skin crawl when I see it. I really hope this "because noun" thing doesn't become anything more than the irritating form of humour that it started out as. It is almost as irritating as "on accident".
British Columbia electoral districts: a programmer's take
Being able to filter by browser requirements would be useful, i.e. I need IE8+, what can I use?

edit: here's a filter for IE8+

jQuery(".parent").filter(function(){ return $('.ie', this).data("version") > 8 }).hide()
I suppose it depends on the resolution required. Lower resolution allows you to fly higher, cover more area per picture and thus cover larger areas faster.
Yup, checked it first thing too.
are there any sources we can go for explicitly for making some kind of debugging journal?
echo "this is my pass for $URL" | shasum
Another reminder of Betteridge's law of headlines[0]?

[0] http://en.wikipedia.org/wiki/Betteridge%27s_law_of_headlines
What's the point of the key stretching on the client side, if your stretched key gets sent to the server and is stored in plaintext.

It adds no security.

Server-side salting and hashing is the answer.
My approach to situations when there are no unit tests for existing legacy code is to start by writing a few coarse grained, or basic tests. Just enough to get initial coverage on critical functionality. Then you can add a few more tests over time.

What also works well is to give someone new to the project some initial tasks to write and fill in gaps for missing unit tests and coverage. Just enough to get them productive from the start, but don't task them with writing all the missing tests. I've found that for most developers that it helps them come up to speed on getting their environment configured, looking at the code, and introduces them to your build and version control process from the start.

Ultimately it's going to depend on the project and how hard it is to go back and add the tests.
Hacking the neural network
Hmm. None of the keys work for me. Chrome Windows Version 31.0.1650.57 m
The first step in the SRP protocol is to retrieve the cryptographic salt from the server, so you're essentially free to roam.

This step has concerns of its own though... for one thing the request itself reveals that the username/id is valid, and if you cache the userid / salt pair on the client machine it's vulnerable to snooping by other people with physical access. There are some fairly straightforward tweaks that can be made to the protocol to work around these issues though, since the salt isn't sensitive. In fact, I'm pretty confident storing the salt server side can be eliminated.
Awesome idea, should randomly salt them for users who insist on using the same password for different sites.
How do guests (ehm, inmates?) get access to shared hardware?
Maybe.

That's all anyone can say to "Is the <noun> bubble about to burst?".

If it was, it would have burst already. If it weren't, it wouldn't be a bubble.

That leaves, "Maybe.".
Repeated attacks hijack huge chunks of Internet traffic, researchers warn
I don't think it will, ideally you need to recognise _escaped_fragment_ requests at the server level and respond appropriately.
Edit: Apologies it appears to be my browser doing something unexpected. I haven't used this computer in a while.
Genesys - the birth of a conscious web [fiction]
Is this open source by chance? I'd love to see an un-obfuscated version and the server side code (I'm assuming there has to be at least some?)
Call for papers Percona Live MySQL Conference 2014
Awesome article. Can we see the perl script that wrote it?
CTF365 is Not a Game It's a "Training Platform for InfoSec and the ITC Industry"
8-bit assembler emulator in javascript
It would depend how you're serving the static pages. How did you do a fair comparison of a non-ajax/ajax site?
Ask HN: What Podcasts Do You Listen To?
According to Wikipedia, 835 Nobel Prizes have been awarded. Four people have won two awards.

Winning a first prize is huge. Something like one in ten million people get one.

But apparently winning a second one is easy -- better than one in a thousand get them. The Curie family has six!

(I hope that came out slightly funny and informative)
Being barely within academia today means having access to all the papers released along with many blog posts by PhD's who analyze the results and repercussions of a paper or a discovery.

The only example of out-of-academia, in the real sense, was Ramanujan[1] who was a sort of pure genius out of nowhere and was able to pull out formulas like this [2]. He wasn't constrict by the rigorous need for proof that Europeans were looking in order to accept any discovery for being true.

De Sautoy[3] states that Ramanujan non-formal (western-style) education kept him away from European mathematical achievements and but also away from European fears of inability to attack specific problems (i.e. like Riemann's Hypothesis for example[4]) and that was a good thing.

[1] http://en.wikipedia.org/wiki/Srinivasa_Ramanujan
[2] http://bit.ly/1dh0E5w (Google image)
[3] http://plus.maths.org/content/music-primes
[4] http://en.wikipedia.org/wiki/Riemann_hypothesis
Has HN become the new /r/technology, or something?
Custom Tetris: my GitHub Game Off 2013 submission (AI, multiplayer, network...)
It doesn't surprise me, many founders get carried away with the tide of funding money and associating with VC's that they loose track of their hold and control over a company that they built. Doing that at times you get hit by "Too much is too less" reality.
An introduction on a single page can't go deep!

"This is the whole file, however, most ELF files contain many more elements. Explanations are simplified, for conciseness."
Right, but by the time he makes $3000/hr he can retire.
So this is the All Consuming Void the Compilers warned their creators about?
What if my name is /<.*>/? :(
Just put some tape on it? Make a startup that sells kinect shutters so it can't watch you?
The system will function without Kinect plugged in, Microsoft reversed the always on requirement:

http://www.xbox.com/en-GB/xbox-one/get-the-facts

>Xbox One does not require a Kinect to be plugged in for the system to function.

You can supposedly control the use of your data according to the fact page also.
The entire European Union got one too :-P
We're living in an era of unprecedented airplane safety, as no American airline has had a mainline crash since 2001. I'm speaking largely as an outsider, but it seems probable that the increased automation has helped facilitate that trend.

We all have a desire to romanticize and glamorize the jobs we do and resist the belief we can be augmented by automation and process. Some of the pull quotes from this article seem to indicate that mentality. To wit, "Now that is being in command of a system, of wonderful computers that do a great job — but that isn’t flying."

Just like a good programmer should understand manual memory management even if he or she always will be writing in Python, I sympathize with the need to understand the underlying principles. But can we really say safety is at risk?
The World's Most Powerful People
There are nearly 7.2 billion people on the planet. These are the 10 that matter the most.
Sounds interesting, i'm just wondering how these guys are planning to make money.
I'm personally a fan of Adam Savage's Still Untitled [1] and The Amp Hour [2]

[1] http://www.tested.com/still-untitled-the-adam-savage-project

[2] http://www.theamphour.com
Please keep your autism in check.
At some point N years from now, we're going to be reading the same article, but this time about drivers and self-driving cars...
Killzone is a PS4 exclusive, so the Xbox One won't play it either...
> This step has concerns of its own though... for one thing the request itself reveals that the username/id is valid

Does it have to? Can you not have an implementation that always responds with a fake salt if the username is not valid?
Changing the hash, and therefore the URL, adds a new entry to your history. Lots of sites, even popular ones (looking at you, Skydrive) does abuse this and ruins the browsing experience. I have to remember which sites are implemented this way and keep those on separate tabs.
That's a lot safer than using a weak password. I don't have a citation handy but security researchers often support writing down passwords to encourage using stronger and more frequently changed passwords.
Startups for the Rest of Us (Rob Walling and Mike Taber, largely targeted at people who are pre-product on SaaS), Tropical MBA (eclectic small/Internet business topics), Boostrapped with Kids (two guys with bootstrapped startups), Bootstrapped.fm (two other guys with bootstrapped startups), and a few others, but those are more than enough to match my coffee/gym time these days.
would be nice to see http://susy.oddbird.net/ and http://topcoat.io/ as well
AdBlock plus developing ad free browser for iOS
Which means USD 4.5M

(sorry, I OCD on numbers)
Finally! Someone had to do this.
It was only a matter of time before someone came up with a parody for the X lines of JavaScript posts. Nicely done though.
> You can supposedly control the use of your data according to the fact page also.

I'd trust this to apply to Microsoft's contractual use of the data, but not to the NSA's expansive powers under current laws.
Thank you. In the video they make it sound like he invented it.
It's not that the atmosphere does not protect us. Just not 100%, which shows just how much energy (a tiny fraction of) these particles have. So yes, you get a few atoms in your body blown off by a cosmic ray once every few months or so. In space you can expect that to increase to several times per second (as compared to solar rays, which of course constantly hit).

This was a statement meant to illustrate that so far we haven't really found an upper bound for the energy levels of these particles. Give a particle enough energy and it'll fly right through the planet.

http://en.wikipedia.org/wiki/Cosmic_ray

The interesting thing is that we don't actually know where most of these rays come from (about 1 in 100 million comes from a supernova/black hole/other known powerful event). So something is pretty much everywhere in space, shoots out particles like a particle accelerator, except much more powerful than the ones we can build. Yet whatever is doing this manages to avoid detection by any other means.
Next article on Hacker News: "Hack of Cupid Media dating website exposes xx million fake dating profiles"?
Poison Null Byte and The Importance of Security Updates
"i created my account on machine x, now i can't log in from machine y".
I agree. It also causes my fans to spin up which isn't very relaxing.
Are there any particular challenges, projects or exercises that worked better for you than others? What types of challenges work better than others? Would flossing every night be enough to make you more determined?
One of the reasons why the timeline is so long is that a reactor will have to be connected to a system that can exchange the tritium (and deuterium).
Now, since both are hydrogen isotopes they can diffuse like crazy. Leaks of tritium are bad because it is radioactive (alpha radiation, which is not so bad unless incorporated, but it's a gas, so yeah). Also, some processing like isotope sorting will have to be in the circle.
Right now, all these new technologies are being developed, which takes a lot of work, money, time and PhD students.