skysight-inc/HackerNews huggingface dataset:
I think he did that already - isn't this more about a government pretending that all the country's woes are caused by the wealthy, rather than all the people that are out of work? [by this I mean lack of taxes, not some other problem]
It actually looks easier than this. There appears to be only 30 possible values for the slider. Send a random number between 0-29 and you have a 1 in 30 chance of being right.

In reality you can probably remove the extreme values as it is unlikely to be 0-2 or 27-29, so you have a 1 in 24 chance. Those are pretty decent odds if you compare them to a regular 6 letter CAPTCHA where a random guess would have a 1 in 26^6 chance of being correct.
Do the cost/benefit analysis.

"Real problem now that affects by income" vs "unknown future risk."

You need to know the chance of a problem and the severity of that problem. My hunch is that in this case "Real problem now" is the worse option for a rational observer.
Pure hype. It's interesting how a technology that is in fact revolutionizing manufacturing (CNC milling) gets very little attention compared to one that will, by all reasonable accounts, only ever be useful for prototyping or very limited production runs of small objects. A CNC mill in every house would be much more disruptive than a 3D printer. It would give people the ability to make actually useful objects (door knobs, hinges, car engine parts etc.) out of materials (wood, metal etc.) that are far more abundant, strong and cheap than 3D printer substrates.
I agree, he would only have caught that if he were unit testing his UI, and usually doing that is more trouble than it's worth.
A fine line between stupid and brilliant
Google is your friend. You will usually find something about those things by altering the following

best machine learning site:stackoverflow.com "closed as not"
You think the kid who thought threatening his mom with a knife was acceptable wouldn't tell a petty lie?
For Whom The Bell Tolls? It Tolls For TV...
First criticism - I have to create an account with you guys to see if there is anything of interest to me in my part of the UK.

Any chance of finding some way of indicating the density of local suppliers before I sign up?

I would prefer to use OpenID or OpenAuth to creating yet another username and password combination plus I have no way of telling if you will keep them secure.
Cache: http://webcache.googleusercontent.com/search?q=cache%3Astore...
I like your landing page.

Maybe you should have titled it Ask HN: Review our startup, Farmly.net - buy fresh food in the UK (or something along those lines).

Plenty of guys from the UK here (I'm not :) ), good luck !
And despite of so many words, I don't care about political problems of USA.
Disarming citizes is the frst step to genocide.

I trust my neighbor more than the governemnt we elect - just 60 years ago, America rounded up our ethnic Japanese citizens and stuck them in concentration camps. What would gave happened if the war didn't go so well for us in the Pacific?
Ah. I have just noticed that the bug allows remote code execution from just visiting a malicious website.

That does rather change the balance somewhat.
Doesn't pass my smell test either. I suspect perhaps there are some jiggered parameters in the model.
I hear this from developers around me quite a bit. Almost always, the issue is not that you've lost interest in programming, but rather that you're discovering that what you are passionate about isn't programming at all, and that programming was simply a means to or a part of whatever it is you are actually passionate about; whatever it is that will actually make you happy.

For me, it was product development and design. I started writing code in middle school, and I really loved it. I pursued computer science in college, and while I did graduate with my b.s. in c.s., it was during college that I hit a similar slump. Over time, I realized it wasn't writing code that I was passionate about. In high school, I had to write code to implement product designs and different ideas that I wanted to innovate on. Programming was a means to what I was actually interested in. Now, I work developing products (not code), and designing UI's, and I love it. It took me a while to figure out that this is actually what I love, but once I figured it out, I was always in love with what I do. (Not just in love with what I do when it happens to be plugged in to what my strength, unbeknownst to me, actually was.)

I urge you, and anyone else hitting the same slump every now and then with writing code to think about when writing code is actually fun. What sets those times apart? When is it most enjoyable? Is there a pattern? Is it when you are also doing the design? Coming up with new features? Leading a team? Designing a developer tool or API?

Your strength and passion may lie elsewhere, and going through this thought exercise may help you uncover it.

Of course, I could be totally wrong; your situation may be completely different. Feel free to get in touch if you want to bounce around a bit of conversation surrounding this. My email's in my profile.
...or if your list is almost already sorted, but in that case better to use insertion sort instead.
If you reach the point where in-memory values are an issue, you have already lost.

If I can pull the in-memory password value out of your program, I also have access to inserting my own code into your process to prevent any hashing attempts you may make on that memory. Once memory safety comes into play, all bets are off, and all security is irrelevant, as all your security is simply data in memory as well.

The reason we don't store plain text passwords to disk is because stuff on disk tends to be backed up and placed in positions where it has a chance to be read by others. Storing plain text passwords is not actually a security problem in itself if you can guarantee safety of those plain text passwords - but so far, such guarantees tend to be very false.
You don't really need to be descended from a pilgrim. Most people who immigrate have a higher tolerance for risk than those who stay behind. Going to a strange land, with new rules, is very risky and challenging. Some people find ways to mitigate that risk, like marrying an American and then coming here. But it is still a huge life changing thing where you don't really know the outcome.
GitHub is unlikely to be blocked because of this - many projects and pages associated with the Firewall already exists there. Just Google

site:github.com great firewall of china

And anyway, if you're serious about surfing the net from inside China you'd already have a proxy or VPN set up.
The company I work for (an online retailer) had no meaningful VCS until after I joined and introduced Git.

Aside from the obvious software collaboration benefits, it's been particularly valuable this week when we have had to manage multiple different releases for the gifting season (promos, merchandising etc) across all six of our sites. All of our post-Christmas sales are all waiting in branches to be deployed.
chisq.test (arbre,simulate.p.value=TRUE)
Wow.. this certainly sounds like a big leap, but I think that this will not succeed during the next 10 years. This would allow an whole army of remotely controlled drones with realtime sensor data and high definition video to operate within a quite large area. How many UAV:s operating within the same area can be nowadays handled simultaneously through one "command center"?
When Less is More (in P = NP proofs)
The 5 Myths of Big Data Analytics
chisq.test([14,25,1,8,25,4,7,15,23,6,0,5,26,8,6],simulate.p.value=TRUE)
I'm sorry, but I've gotta ask: Was that supposed to be a joke about R-pi sites often being unable to handle heavy traffic -- or is the store actually running on R-pi's?
Attention for what, though? Also, you are probably better off without a TV :-)
Only because new people entered the country and dragged the median down.

http://www.chrisstucchio.com/blog/2011/immigrants_simpsons_p...

Consider a nation with Steve (income $50) Bill (income $50) and George (income $100). The median is $50. Now suppose Steve's income remains the same, Bill's goes up to $60, and George's income goes up to $150. The median has gone up to $60, right?

However, suppose during this time, Jose (income $30) and Hector (income $40) immigrated. The median is back down to $50 even though every single person saw their income go up.

The longitudinal data I link to demonstrates that this is exactly what happened (albeit with different numbers).

(Note: this is an argument against drawing conclusions from Simpson's paradox, not an argument against immigration.)
Travis CI: A Few Numbers
Love the design of your page.

However, I shouldn't have to signup to see if there is anything useful beyond the signup page; to see the actual content. You've lost me right there. I'd bet if you let the content show before a signup, you'd get far more (and far more meaningful) signups.
RVM can really bite you if you are not careful. And it can really mess things up https://github.com/wayneeseguin/rvm/issues/1234

Right now I am looking for an alternative on my servers, because I need different Ruby versions across projects.

It is very interesting history following the development of RVM, to Rbenv and now also Chruby. It seems like 37signals is going the way of Rbenv.

It will be interesting to follow. It seems like a really fundamental problem, that need to be solved for us to build good software.
The author of the article needs to be reminded a bit as to how Java works and as to what "good practices" are.

I'm sorry but when I stumble upon such obvious mistakes I can't take such an article seriously:

"Integer boxed = 0; // i.e., boxed = new Integer(0);"

No, that's not how it works. Values between [-128..127] are guaranteed to give back cached instances: there's no object creation here.

"on a 64-bit JVM you can double the size of every pointer"

No, no and no. 64-bit JVMs do offer compressed pointers precisely to not 'waste' countless bits that are always going to be set at zero.

"...in fact boxed has the advantage of also having a 'null' value which can indicate an unset value."

Having objects which may or may not be initialized is not necessarily a very good way to code.

What's next: using NullPointerException as flow control?

Since Jetbrains / IntelliJ IDEA introduced their @NotNull annotation (years and years ago) I've been using it religiously and can hardly remember what a NPE is in my own code (it's another matter when using poorly designed 3rd party APIs of course).

But what else do you expect from a "game programmer" who writes professional games in Java? Because we all know Riot Games, Blizzard, etc. all write their games in Java without using primitives right?

And, from a performance standpoint, we all long for Java 10 which may not give access to primitives anymore right?
I thin that's "when stackoverFlow goes bad."
I admit that is something I also worry about, should we ever have a second kid.
Perhaps the "1 megaton" nomer is for what encounters our atmosphere, not necessarily what impacts our surface.
It looks like it allows a bit of leeway too - you can submit two stops either side of the 'correct' value and still be allowed through. So that's a 1 in 6 (5 in 30) chance of a random guess being allowed.
Add a Message Above or Below the Post Editor
Exactly. Like every proof ever: "It is easy to show that..."
Depending on the size and culture of the team you're working on, I think that requiring detailed commit messages can't really hurt that much. My problem with playing fast and loose with commit messages is that if you have no standards at all, or very loose standards, when things slip a little bit you can end up with utter garbage -- like a string of commits on a feature/topic branch all with the message '...' which are next to useless (not made up).

If you have even slightly stringent standards in place, then when things slip it's not the end of the world. If someone forgets to include the ticket number of a bug or feature, but has relatively detailed commit messages, the messages are still useful. I'm not advocating rejecting pull requests because commit message formatting is off (lines > 80 chars or no short description for the first line, etc), but just paying attention to the stuff that really matters.

I think of commit messages like emails to my colleagues. I wouldn't write junk emails that had poor grammar and spelling, or emails that required you to have unreasonable amount of context to understand, and I don't do that with commit messages either.
Is it only me or is Yourstory.in down?
Does HN have caching issues?
HN seems to have some server side caching issues lately. When im logged out, I cannot see some comments. When I log in, I see them. Its not a client side caching issue.
> Not like the super-rich will see much of a difference in their lifestyles anyways.

As a thought experiment, would you approve 75% tax on your income right now? I would assume you do OK by Western standards but not quite rich yet. However even with 25% of your earned money your lifestyle is going to be lavish, say, by sub-Saharan standard of living.

Point is, doing good by poor people's standards is not really an aspiration wealthy people have. They have money, their lifestyles are costly. E.g. Depardieu is an avid gourmet, other people collect expensive cars they ride on weekends, yet others plan personal missions to Mars, and so on.

Yes we all are indebted to society, but taking most of income away is doing nothing here than killing incentives for big earners, and it's not like the money they stopped earning would suddenly appear among city poor.
Ask HN: *Absolute beginners* guide to JavaScript
Hi guys,

As the title suggests, I am after the absolute, most introductory, basic and low-level resources for learning JS. Assume I know nothing at all.

I recently picked up a copy of _JavaScript: The Good Parts_ but that still assumes some prior knowledge. I am from a design and CSS background, but if I were to rank my JS on a 1–10 scale I’d say it’s a firm zero.

Are there any books that have stood the test of time? A decent series of blog posts? I’m wanting to learn about core programming/scripting stuff, rather than ‘how to make xyz with JS’, so any resources that introduce JS as a language rather than a ‘look what you can do with JS’ would be superb. I want to ‘get’ JS, not just use it.

I appreciate this is a very demanding question, and one you no doubt get all the time, but: where would someone with zero JS knowledge look to start learning how to do JS properly. I would also assume I’d need to do some language-agnostic learning too, about core programming principles…?

Thanks so much for any/all advice and insight!
H
Avoid the "Rational Trap"
Having used Dropbox for a couple of random personal projects a few years back I can honestly tell you it's not a good idea. It's better than nothing but Github is free, there's absolutely no good reason not to be using source control.

It's simple things like not having more than a month's changes or having commits you can roll back as a group.
I really enjoyed this, especially the line "Life’s too short to spend so much of it in between the places you truly want to be." So, so true.
The audio alternative for this one is a voice that says, 'Move the slider right' or 'Move the slider left' and 'using the arrow keys'. The problem is that it would be easy to use a machine to process that. Especially since the correct location makes the voice say something completely different from 'move the slider'
Author here, just saw this pop up.

The engine isn't really in a released state yet and doesn't have a numbered released yet (darn lack of docs), but it's been used internally for a number of projects, most recently:

http://www.html5gamedevelopment.org/StateofHTML5GameDevelopm...

A rewrite of a couple of the parts (particularly scenes and some UI components) is a work-in-progress.

The primary goal of the engine is to be a small, modular, very JavaScript-like and to have a full test suite for the core parts of the system - http://html5quintus.com/quintus/specs/SpecRunner.html (this will help verify cross-browser behavior)

Forgot to add, this Engine came out of a book I wrote, and the examples for that book all run on Mobile: http://mh5gd.com/
I like Chris Siebenmann's blog. He writes daily about unix sys admin on a university network, mainly using Solaris, RHEL and ZFS.

It's interesting to see the tools he uses and the problems he encounters, useful when you do some amount of admin on your VPS.

http://utcc.utoronto.ca/~cks/space/blog/
Like others have said. I want to know if there's any local suppliers before signing up.

This isn't useful to me because I'm not in the UK currently, but my father would be interested, so I wanted to see if there's anything near him before I send him the link. Not interested in signing up to find out and plus I'd have to enter a false (my Dad's) postcode to do so.
Ditto that line.
I think that most people mean inventing own primitives by "don't roll your own crypto". Side channel attacks on software implementations on software implementations of cryptography are certainly practical, but often not significant for overall security of the whole system (as either there are simpler attack vectors or the system has to be already partially compromised for the attack to be possible).

Amounts of home-grown algorithms (pseudo-"asymmetric" algorithms optimized for simple hardware or small messages), misused algorithms (RC4 without IV, mostly), otherwise secure protocols implemented with parties transposed around (many proprietary RFID and other authentication token protocols authenticate reader against token, not other way around) and plain weirdness in many even newly designed commercial cryptosystems today is still more significant that any kind of sidechannels caused by careless implementation.
The largest issue seems to be that Ruby implementations other than MRI have to replicate its bugs in order to be considered a 'Ruby'. A language specification/design would help to solve that problem.

I for one would like to see a focus put on cleaning up the standard library (gem-ifying much of it?) rather than a design committee.
Information processing origin of life
Check Eloquent Javascript http://eloquentjavascript.net/
Even more frustrating when the email hasn't come through after 10 minutes
But does it actually sell the Raspberry Pi??
Very nice introduction indeed. But there are tons of good introduction to the lambda-calculus available for free in any languages that have a computer science degree taught in. And a lot of them goes into a lot more details in particular on typed lambda-calculi.
Eloquent JavaScript might be what you are looking for: http://eloquentjavascript.net/

It's available for free online or you can order a hard copy.
First sentence: "Asteroid impacts are among the most feared of natural catastrophes."

Maybe I'm being picky, but I don't think that this is actually true.
If you lead a horse to water, show him how to drink
Somehow I found your nifty app marketing page. Ok, I'm sold - your app is just the elixir I need. Only one problem, how in the hell do I get it on my phone?

What is this 'app store' thing that takes me to some obscure page when I click it and then tries to open some desktop application that I don't even have installed? I've never even plugged my phone into my computer once - I didn't know I was supposed to.

Developers - non-technical people don't understand the app download process. Make it easy. After clicking that button, explain how the user can download the app with bullet points and pictures.

Option one: Via iTunes/Google Play/Zune on your computer. Don't forget to show them how to download the desktop software as well.

Option two: Via the app store icon on their phone. Give step-by-step instructions. Show them what term to search for. Remind them how to find/reset their Apple ID and set payments up as well.

Bonus option: Enter phone number to send download link.

In my observations there are large numbers non-technical people who own an iPhone/Android/WP8 who can afford the monthly cell and data fees. These people have buckets of money to spend - but - they have no clue how to download an app. Take a look at their phones - they haven't downloaded a single app. Make it easy for these people, please.
I agree with what others have said, and on the signup front, I think a facebook login might be a good idea. You could then pull the location info that you need, reducing the info the user needs to put in to practically nothing. Authorise facebook and start buying almost immediately.
No, not really. Run the same example from the article with a quadratic speedup and see how scalable it is.

56 bit DES should be nervous. 256 bit AES, not so much.

There is a tiresome often repeated quantum computing meme or anti-pattern where QC is a magic implementation such that "my magic can do anything I can dream of". Well no, not really. Oh it could be powerful, maybe even implementable, but not limitless.
Thanks for this Ernie. I've been considering a job far from home because I like the people and the organization. The job role is a step down from where I am in my "career path" and leaving all of my family, separating my son from his extended family, are real issues for me.

Optimizing for happiness, put in the context of actual real-world happiness, is a strong point. I'll keep praying about it...
You saw the "probably", right?

And do you really own no posters or branded decorations of any kind? I mean, that's conceivable, but definitely not usual.
That was sort of an accident but I left it that way as I'm working on a "enchancement" tutorial that makes it more like a standard platformer and adds in particle effects, etc.
Thanks very much. We've renamed the post to clarify what we do.
Is this a fact? That does seem to be my impression after trying a 'ls -l /dev/exynos-mem' on my own Galaxy S running CM7, but I'm otherwise unable to conclude if there is still a vulnerability.
They don't even have to do that; a 1/29th chance of success is plenty for the scammers.

This is Yet Another Complete Crap CAPTCHA. It isn't solving the problem of prevent real spammers from sending you real spam, it's solving the problem of looking enough like a CAPTCHA to think you're getting somewhere. Or in this case, selling you something.

Also, at least the spiral one I got is flat-out solvable; run "find edges", run a search for the characteristic slope relationship of the lines at various points in the images... would probably take a decent computer vision student about four hours, tops. That hardly even qualifies as trying.
Basically anytime she isn't the center of attention. Like if I'm trying to talk to my wife. Although to be fair it's actually more cute than it sounds.

Also I like curling up in the sofa after my daughter has gone to bed and watching a good movie far too much to consider getting rid of the TV.
The issue you mention was a duplicate and was fixed already.
It is vitally important to recognise the complexity and uncertainty in deciding on these kinds of big issues. There will rarely be clear winners, and evidence is almost always partial and flawed.

BUT as a non-American citizen I can't understand why you would allow citizens to own semi-automatic weapons. The only purpose of these weapons is to kill other people (or hold the threat of such). Why not allow weapons for hunting (rifles, etc.) but criminalise anything allows you to simply hold down the trigger and count.
That's a weird one. We're using Mailchimp to handle signups right now & it looked like they went down briefly just now. Should all be fixed now :)
Check out some more examples that use the engine and all run on mobile here: http://mh5gd.com/ (all but the first are built on an earlier version of Quintus from the book)