skysight-inc/HackerNews huggingface dataset:
Interview with Prof Vincent Walsh of UCL, one of the world’s preeminent cognitive neuroscientists. Some interesting points from the interview:

1. You’re only aware of less than 1% of your brain activity, and most creativity happens in the other 99%.

2. If you want to stimulate an idea, you need to give your brain time to go “off-line”.

3. Creativity is not a team sport, and brainstorming is a terrible way to generate good ideas.

4. Execution of ideas is more important than generation, and previous failure helps this.

5. There are no miracle exercises / processes / drugs / brain implants to “turn on creativity” in areas where it didn’t previously exist.

6. However, creativity can be improved by giving people the right exercises, knowledge, experiences and environment.
> And I can’t even figure out how it’s illegal?

Are you a lawyer? If not, have you asked one? What research have you done to try to figure out how it might be illegal? Have you read any laws or legal articles about the subject matter?
This camera has probably has more worth than you...
Excellent idea, thought I'm also not really sure how you'll get it infront of truckers. Perhaps you could take out an advertisement in one of the numerous trucking free magazines/newspapers that you'll find in truck stops on the highway. Though they're often not cheap to advertise in.
No mention of how you get money out of Google Wallet back to a bank?

Edit: US only... figures.
Haskell debugging in Emacs
By Chris Done. Part of haskell-mode: https://github.com/haskell/haskell-mode/blob/master/haskell-debug.el
Navigation is a perishable skill. Overreliance on GPS has been shown to degrade navigation skills and other brain functions [1].

1. http://phys.org/news/2010-11-reliance-gps-hippocampus-functi...
Adobe CEO to Steve Jobs:

I thought we agreed not to recruit any senior
level employees…. I would propose we keep it that
way. Open to discuss. It would be good to agree.

Steve Jobs:

OK, I’ll tell our recruiters they are free to
approach any Adobe employee who is not a Sr.
Director or VP. Am I understanding your position
correctly?

Adobe CEO:

*I’d rather agree NOT to actively solicit any
employee from either company ….. If you are
in agreement, I will let my folks know.*
Do you seriously mean 'good luck proving the salaries were "likely depressed" when during that period the salaries went up' when there were non-recruiting agreements between the top payers? How do you think salaries increase?

It would be shockingly unlikely if salaries were not depressed, and that is what's actually obvious.
Personally, I like my current mediocre code taskings. There's nothing innovative at all about the programs I'm writing for work, and it's fantastic. It's my mental vacation for a few months (they're not small programs, but they aren't difficult either), staving off the inevitable burnout.
It's currently depending on the order of the selected elements to match, but I'm updating it work correctly now.
Salaries, perks, and descriptions of interesting projects you might work on are rarely public information. Quite often the only way I'd find out that I could get a better deal and more interesting work at Company X is if they reach out to me and tell me so. If my current company is blocking this, then I'm being deprived of a very important source of information and opportunities.
Hey can you give me a specific example that's bothering you?
Call me a conspiracy nut, but here's what I believe may have happened:

It's almost a certainty that the US government has spy satellites video recording the entire planet at all times, at a level good enough to distinguish individual aircraft. The US spy agencies probably knew where the plane was right away, but they can't just tell everybody or the jig is up.

So they may have just contacted this satellite company, told them where the plane is, and came up with a technical explanation of how it was located.
The problem is that the selective disclosure and prosecution are very easy to abuse without violating the text of the constitution; especially when the average American commits three imprison-able offences per day, because of the number of criminal laws, and their breadth.[1]

[1] http://online.wsj.com/news/articles/SB1000142405274870447150...
First of all, even if it weren't illegal, it would still be extremely sleazy.

Second, many people who do objectively illegal things (a) are subtle enough about it to leave doubt and (b) rarely will be caught on the totality of evidence that would convict them. If they leave enough of a trail to prove them guilty on the small things they don't care much about, what are they up to that's hidden from view?

Let's take extortion. Real-world extortionists don't say, "give me money or I'll shoot up your storefront." Making it that obvious will put them in jail. Accidents and annoyances occur, with escalation over time. Rumors are spread, often by the extortionist, that the extortionist is taking interest in the business and will demand payment. Someone goes in, hits his head on the side of the door and demands recompense. Or the extorted party is asked to purchase "protection" services. White-collar extortion tends to focus on reputation rather than physical violence, and the services are dressed as some kind of consulting, but it's a similar game. It's hard to convict because most criminals can stay just on the right side of the line, at least in terms of where they leave a record.

Is this a price-fixing cartel? No, not quite (at least, not from what we know). However, if people are being instructed to follow no-poach agreements and terminated when they break them, it's quite likely that these networks of collusion are being used for worse things, like blacklisting. A no-poach agreement denies career opportunities to people who would otherwise have them. without their knowing why the opportunities are not there or even that it is occurring. That's a big deal. It makes it not unlikely that these companies are also blacklisting, say, people who might support collective bargaining for engineers or who otherwise fight for themselves. Shit, I might be on a PITA list somewhere.

Those sorts of probably illegal collusive arrangements exist all over the Valley, especially among venture capitalists who compare notes on prospects instead of competing on a fair market. Indeed, most of what VCs do would be highly illegal (insider trading, market manipulation, pump-and-dump, use of negative rumor to punish and intimidate) if it pertained to publicly traded stock rather than private equity.

This is a major issue. Even if not illegal, it's still sleazy and shameful.
I couldn't care less what language I am using. I care about the quality of the libraries. That's what helps you get shit done fast. And JVM has a shit-ton of high quality libraries.
Use Java when you're paid by the hour.

Use Clojure when you're paid by the project.

Use Haskell when you need to ensure job security.
So if one happens to own or operate an early Patriot battery, wait until the last possible moment to fire it up so accuracy doesn't go to shit. Wow. Engineering maths fail.
My point is that, for Facebook's interests alone, they would rather hire the same engineer in India than in the US because after they move to the US you have to pay them more than if they stayed in India. The effect of immigration reform is that more engineers will move to the US, which is against Facebook's interests.
I agree, I think I'll add a way to expose the solution. The problem with A,B is that it's also looking for one specific order, so I'll make sure both A,B and B,A work! Cheers!
Yep, political correctness is stifling open debate.

For some strange reason, nobody wants to discuss polygamous marriages, and whether they should be legal or not. It would be the height of hypocrisy to support gay marriage but not allow multiple consenting adults to form a similar union. Yet to even raise the issue invites ridicule.

Another thing, I've often heard gay people use the derogatory term "breeders" to slur heterosexual couples with children. Why is this ok? Why doesn't anyone stand up and say this is wrong?
Well, there wouldn't be flights along the Southern route, exactly, since it led nowhere.

So I'm guessing they extrapolated from routes that were in that general direction, like Sri Lanka - Perth.

It's likely there's a lot of assumptions at work in their calculations, but it might be good enough.
"cat -" :)
NASA’s cold fusion tech could put a nuclear reactor in every home, car,
> LOLCODE

Sorry, no. That's just too far. Imagine being handed a codebase of LOLCODE.
Ok, that makes some sense. Unlike their preliminary calculations, doppler could allow for direction. :-)
plate,bento does the trick, but because it's order-specific right now, so bento,plate fails - I'm updating it tonight to fix that issue.
Forget how random the numbers are if your source of randomness is literally being broadcast publicly, it doesn't matter.
Knowing When to Stop (2009)
This. I subscribed to railscasts for the massive, incredibly useful catalogue. Not in particular for the new content every week.

I'm also totally happy to continue to pay. I'm sure we're not in the minority.
The question then: is lying to people kinder than freaking them out with the truth?
What % of eligible young adults actually forgo a smart phone? By eligible, I mean they can actually afford to buy one. I would say less than 5%.

In any system, there are always outliers. This is just one of them.
Never understood the hate towards Java on HN. Java is not perfect by any means but every one of the other languages he mentions in that article (Perl, Python, Ruby, JavaScript) also has their shortcomings. People focus way too much on technology and not enough on the results.

It reminds me of a great post by Coda Hale a couple of years back where he was explaining why he switched back to Java from Scala (which was hot shit on HN at the time):

http://codahale.com/the-rest-of-the-story/

"The world has yet to take me aside and ask me for my opinion of it, and in the past few years I’ve found that it’s far more profitable to build things rather than tilt at windmills."
The adjacent sibling selector `+` can be used to style an element based on the state of a sibling. For example:

input:valid + label { color: black; }

input:invalid + label {color: red; }

CSS Tricks has a tutorial (http://css-tricks.com/float-labels-css/) on this technique for displaying form labels as faux placeholders until the input has content, although it's not quite ready for most site's production requirements.

I haven't found many uses for the general sibling selector `~`, as it matches all elements after the initial selected element. I usually want the preceding elements as well if I'm shooting that broadly, so simply excluding the item with `:not()` is generally a better choice.
Another story to go with the author's story about people who fail a code test because of Java:

At MIT, in 2003, there was a class called 6.171 Software Engineering for Web Applications. The final project was, in fact, to design and make a web application. It was very open-ended and it could be in any language you wanted.

This particular course soon stopped being taught, because a large number of people failed the final project. They could not make an application that functioned in any way by the time the course was over. (Keep in mind: 2003. There weren't really any easy answers to web applications.)

Many people had chosen to do their project in Java, because that's what they had learned and used in the prerequisite course. And in particular, over half of the people who chose Java failed.

(By the way, the course on web applications is now the main project-based course on software engineering at MIT, and it is now taught in Ruby.)
Following up, the main argument is "java doesnt have hashes built in".

Well neither does C, C++ as well. Nor does Scala actually.

There are a lot of good things about Java, namely the JVM, interfaces, great libraries, reflection and code generation, etc, etc. For example libraries like jmock/etc.
I think so. Or something like that. Might be better to use "write" instead of "print", to avoid character encoding issues.
The US certainly has a bloated defense budget, but I strongly doubt that we have satellites constantly trained on the typically empty oceans that cover 70% of the Earth.
A cottage industry was born
Google it myself? You're the one making the argument here; bring your own evidence or STFU.
Misleading, or at minimum not the full picture.

First:
The December changes did make the majority of partners ("Affiliates") have no copyright protection. However there are a few huge mitigating factors: The newly established "Managed" partner status is exactly like the old partnership, full content-ID protection, and how the networks have reacted/changed.

Second:
Many networks are now offering "Managed" status to many partners, if not all. There are indeed some networks who offer managed status to all partners.

Third:
Google has yet to take (public) action against any networks for copyright violations under the new managed system. Until they do networks will continue to treat copyright as a joke and partnerships will remain a cash cow and little partners will remain unsupported.

Source: I'm a YouTube content creator (90k subs, 12m views). Feel free to drop by reddit.com/r/PartneredYoutube if you have any in depth questions, or ask here.
AWS Summit: Sessions to attend for AWS, DevOps and Architecture Fans
Startup Founders need a SMACKDOWN
http://www.reuters.com/article/2014/03/11/us-ukraine-crisis-...
HTML5 Solitaire Game
Built this game using backbone.js, HTML and CSS. Anyone keen to read about how it was made? Any feedback about the game?

Nice wee surprise for people when they win
I have a healthy love/hate relationship with Java - but that's the first thing I thought of too. Alternatively you could read into a byte[] buf and not have any casting.

This is valid JDK 1 code. You only need to read the Javadoc for InputStream and PrintWriter. I think the author needs to check his biases.

Now Javascript... (just kidding).
I've (ab)used apenwarr's redo for a couple big data processing projects, with mixed results.

One was a news recommendation engine. We pulled down and parsed RSS feeds, crawled every new link they referred to, crawled thumbnails for each page, identified and scraped out textual content from pages, ran search indexing on the content, ran NLP analysis, added them to a document corpus, ran classifiers and statistical models, etc.

Every step of the way took some input files and produced an output file. We used programs written in many different languages -- whatever was best for the job.

So a build system was the obvious way to structure all of this, and we needed a build system we could push pretty hard. Our first version used make and quickly ran into some limitations (essentially, we needed more control over the dependency graph than was possible with the static, declarative approach) so we turned to redo, which lets you write build scripts in the language of your choice.

One thing we needed almost immediately was more powerful pattern matching rules than make's % expansion. No problem: invent a pattern syntax and a special mode where every .do script simply announces what patterns it can handle. Collect patterns, iteratively match against what's actually in the filesystem, and then you've got the list of target files you can build. (This already differs from make, which wants you to either specify the targets explicitly up front as "goals," or enumerate their dependencies via a $(shell ...) expansion and then string transform them into a list of targets which are ALSO matched by some pattern rule somewhere...okay you get it, it's make, it's really disgusting.)

Another thing we needed was to say, here's a list of target files that appear in the dependency graph, give me them in topologically sorted order. This allowed us to "compact" datasets as they became fragmented, without disturbing things downstream from them in the dependency graph. Again, this was not difficult with redo once we had some basic infrastructure.

Now, was all of this maintainable, or was it just kind of insane? I think in the end it ended up somewhat insane, and most importantly, it was an unfamiliar kind of insane. The insanity that you encounter in traditional Makefiles is at least well understood. And treatable.

With redo, you can do almost anything with your build. You can sail the seven seas of your dependency graph. It's awesome. It's also terrifying, because there is very little to guide you, and you may very well be in uncharted waters.

But give it a shot anyway. YMMV.
You know, I kind of thought he was joking that Java programmers messed this stuff up.

I was so wrong.

Three things wrong. The first is pedantic: you need to import IOException. The second though is one of those "scream out loud at the universe* questions: why the heck are you calling print() instead of write()?

Finally, do you think maybe you might need to worry about buffering of System.out's stream?
He has a point. Once I used this online technical interview questions. Understanding the submitting output of the program through using java took longer than the Python or Ruby.
What should the solution to Level 19 be? I couldn't get anything with 'nth-last-child' to work for me.
> From the point of view of someone who is against State privileged marriage, this is ass backwards. It's not removing restrictions---it's granting privilege to a larger class of people (at the expense of those without that privilege).

This is a cynical and short-sighted view.

It is cynical because it sees civil rights as a zero-sum game.

It is short-sighted for a closely related reason. Most opponents of gay marriage don't even want to draw a distinction between the religious institution of marriage and the civil institution. In their minds, marriage is divinely ordained, and its earthly recognition in the law is completely natural. "The family" -- meaning their particular conception of what families should be -- is all but sacred.

The gay marriage movement chips away at this belief system in several ways. First, it gives people reason to distinguish between religious and civil marriage; to see that whatever their personal religious beliefs may be, the law is about civil marriage. Also, it presents a picture of marriage as a human creation, rather than divinely ordained. It brings people into contact with unfamiliar family structures. And it makes ideas acceptable or at least debatable that previously were generally rejected. You can see this already with the debate over poly marriage.

In short, if you want to start a singles' rights movement, you should support gay marriage, because emotionally it is moving society in the direction you want, even if it is not yet doing that structurally.
If mediocre code gets the job done faster and it's reasonably maintainable, but you avoid it due to code-idealism, the problem might not lie with the language.
San Francisco Beating Silicon Valley With Growth in Jobs
LOL

I hope to God no one ever was or will be handed a codebase of LOLCODE for a "real" commercial system.

But if anyone ever does, it will sure be fun to hear about it in a blog post.
Cool, I've read good things about grunt but haven't had the time to look into it. Its direct access to the CLI thats the killer for me with make ... and to be frank ... if I was going to script in a third party language it would probably be python and not javascript but each to there own.
I don't know why so many cool programmers hate Java. Sure the library is too big and sometimes is hard to find the proper stream class. Or the Date class is antiquated.

Ignoring that, what I like about java is that my programs are clear, and that once I compile my programs, they just work. I can refactor my code, and the compiler makes sure that I don forget anything. I don't love it they way I loved Perl or C. But when I write Java, I feel confident that my program is not going to break; and even if it breaks a stack exception is going to point me directly to the offending line.

Of course you don't have to use 25 Design Patterns at the same time. But lets not blame Gosling for that, that is the fault of the "Enterprise Architects", I still think you can write good tight java code.
It is only not good for crypto, it remains good for other scientific applications.
Please allow me to paraphrase dfc, "confusing metrology with crypto is for suckers."

To recap; you started this thread with "Who in their right mind would trust anything NIST offers." I responded by pointing out that there is a very talented group of people working on metrology at NIST and that some of these individuals have been awarded Nobels. What is the connection between trustworthy crypto standards and metrology?
Who wins in a war for talent
If that's the actual legal precedent set by these cases, then that's rather a big deal, no? California's limitations on noncompete clauses are quite strict, to the point of making noncompetes mostly worthless, but this is extending that to nonsolicits, and extending it to all 50 states.

Regardless of what you feel about the case I think that's a huge change to the current ecosystem.
Some examples: `plate>apple, plate>pickle` for 16, `apple, pickle` for 17, `bento:nth-child(2)` for 19, `plate:nth-child(2)>apple` for 22.
One thing I like about smartphone is a way better international language support. Those feature phones, at least anything sold in states wouldn't support anything beyond latin charsets, so to me, there is no going back...
It doesn't have to be illegal to be unethical.
In general, at the associate level, no. Partner level positions have varying compensation agreements, so hard to generalize there, but associates generally receive most of their compensation in salary.

This is as opposed to finance, where even associate level positions will generally pay a large portion of total compensation in the form of an annual bonus, tied to the firm's performance. In a good year, these can exceed 100% of base salary after a few years of experience, but this is not the case for any non-partner lawyers I know of.
2014 Digital Activism Award Project uses Rasberry Pi
Try out concepts as quickly and cheaply as possible. It's hard to know what works without real experiments, because idea guys think they've found the Fountain of Youth when they've just inspired people with charismatic snakeoil. Try something, anything already.
Ah! Now I get it. Thanks for the link. :-)
This comment would have been stronger without the second sentence.