skysight-inc/HackerNews huggingface dataset:
Facebook, Twitter, and MySpace join forces to challenge Google
JavaScript Testing with Mocha
Step-by-step instructions on how you can get started with Visionmedia's Mocha testing tool.
Is there a better document somewhere about redis idioms?
I don't agree that using the unary plus operator is a best practice for string->number conversions. Best practices should advocate maintainability and clarity - in this case parseFloat is the better choice for obvious reasons. Just be aware that parseFloat and unary + aren't exactly equivalent: parseFloat("10x") === 10, +"10x" === NaN.

And no, JavaScript is not a "non-typed language." AFAIK JavaScript is both dynamically and weakly typed. Being in the latter category does mean that it will implicitly convert values to other types in certain scenarios.
http://en.wikipedia.org/wiki/Children%27s_Online_Privacy_Pro...

The tldr is that it's a notoriously difficult law to comply with unless (1) your site has limited userbase or functionality, or (2) you delete children's accounts on sight.
I think the people who has the right to negotiate is the one who has the skill to do the job being offered. Because you know your capability, definitely, you should know what is your value in the market.

Anyway, article is interesting.
Why Installing Security Apps on Your Mobile Phone Isn’t Enough
As neilparikh already commented it does take POSTed data, you can use it as such:

curl -d "$(cat test.rb)" http://hastebin.com/documents

Which returns:

{"key":"kixuxorico"}

Meaning you can find it at http://hastebin.com/kixuxorico

If you wanted to be slightly more complex, you could define a quick bash function such as:

haste() {
curl -sd "$(cat $1)" http://hastebin.com/documents |
sed -e 's/{"key":"/http:\/\/hastebin.com\//' -e "s/\"}/\.$(echo $1 |
sed -e 's/.*\.//')\n/";
}

or in a single line:

haste() { curl -sd "$(cat $1)" http://hastebin.com/documents | sed -e 's/{"key":"/http:\/\/hastebin.com\//' -e "s/\"}/\.$(echo $1 | sed -e 's/.*\.//')\n/"; }

Then use it as:

haste test.rb

Which returns:

http://hastebin.com/momawevota.rb
I think this would be very doable using iFrames. Not sure how well the live-preview sites would look inside of an iFrame, but it is an intriguing layout. I'll look into it!
I'm curious, do you use a library to generate the pronounceable URLs?
I've noticed this as well. I've dealt with it by flat out banning any user or page that has nothing to do with HN. I will flat out never look at it again.

Now granted they could probably care less and I probably never would have looked anyway, but it works for me.
Since you can be compelled to turn over a physical key via due process, why can you not also be compelled to turn over a digital one?

I know this is rare, but in my opinion it's best to reason about the digital world by explicitly ignoring any analogies to the real world. Rep. Watt said during the SOPA committee hearings that we need parallels in the virtual world to the physical world. I couldn't disagree more.
TrueKnowledge's answer to Siri, Evi, Arrives
> I don't think I've known a single person since the late 90s who doesn't on at least rare occasion download or otherwise acquire unlicensed music.

That may be a matter of definitions. While I wouldn't say I have any unlicensed music, I might if you count my YouTube cache file.
Holy shit. You'd think someone at Google would be evaluating hosting mail in a datacenter outside the US, at least for the accounts in question.
If you look at them, they're just consonant-vowel pairs. Did I misunderstand what you were talking about?
Microsoft says botnet kingpin worked for antivirus vendor
It's not testimony. Even confessions can't be used against you if not given in the form of a testimony.
Barcodes
Code UPC the official site. We deliver UPC Codes and EAN codes instantly to Amazon Merchants worldwide. UPC codes for only $1.99. The official Code UPC testimonial page. Find out what our customers are saying about our upv codes and service.
It would be wise of any developers to give their new language a shakedown on smaller, less important projects before staking their whole business on it.

Of course, if it turns out to work amazingly well and they can port all their old code (or interface with it) with relative ease, there's no reason not to jump ship from the hellfires of C++ compilation. They've had major issues with that lately, after all.
Ceci n'est pas une pipe. Reasonable people are sophisticated enough to understand that there is a difference between using a sentence as a password, and believing that sentence to be true.

On a related note, I once looked into changing my middle name to an executable implementation of RSA, so that my passport would be a non-exportable munition. (No go.)
Hackers manipulated railway computers, TSA memo says
ThemeForest was scraped using a simple PHP script that fed the data through a regular expression to pull out the data. I used Baobab[1] to create the hierarchical nested-set model for categories.

Another PHP script provides the JSON API interface. It takes category ids and spits out JSON for the client-side script to consume.

The script itself is predominantly jsTree (the navigation on the left) and jQuery Masonry (the elements in the middle).

I have a 512 Linode acting as the origin server, with CloudFront providing most of the static assets (gzipped scripts, css, images, etc)

[1] http://www.sideralis.org/baobab/
Ever right-click, Save As on an image you didn't have the rights to?

Ever copied and pasted an article published by someone else, and saved it to a file?

During your online conversations, have you ever written something negative about another person?

Do you have any data that you are contractually obligated to keep a secret, possibly relating to agreements signed with employers or clients?

Note that even data in your browser cache can be used against you[1].

Under a microscope, everyone is a criminal.

[1] http://news.cnet.com/Police-blotter-Child-porn-in-Web-cache-...
And we have Ada.
Indeed. The trouble is, even besides the question of fabrication ("Can we make good 1nm transistors?"), processors have hit a wall. Processors have stayed at roughly the same frequency for the past... how many years?

Without a huge process breakthrough to kick up the frequency, the only ways to speed up processors besides parallelism are incremental optimizations and algorithmic improvements on the part of the architects, and I'm betting they don't have a bunch of 10-fold improvements hidden up their sleeves.
Why You Should Create A Facebook Page
What are they basing the well known part? If it is only online or celebrities then I think it is still problematic.
That's a pretty slick site. To be honest, I think they pulled it off better than I did. Thanks sharing it!
You're always low-balled at first, but if their low ball is in your acceptable range, you know you can ask for more.
Collision in the Making Between Self-Driving Cars and How the World Works
Sure, on appeal.
I use truecrypt to encrypt lots of legitimate stuff. All my financial data is on a truecrypt volume on DropBox. And I suspect that folks with something to hide wouldn't find it hard to hide trucrypt itself.
Thinking about Norwegian Cruise Lines For Your Trip
Information of Norwegian Cruise Line, Norwegian Cruise Line ships and Norwegian Cruise Line Reviews.
helping homeowners
We are focused on helping homeowners who are in financial distress by guiding them through the challenging process of selling their homes when they are worth less than they owe.
I'm skeptical that different configurations could provide exponential improvements down the road. Architecture will always be limited by the speed of the clock, and in lieu of flops, the speed of the gates.

(I am also skeptical that latches and/or stateless design will replace flops any time soon)
If I'm not mistaken, there's no limit on contempt of court. A... stubborn judge could keep you detained until you're no longer in contempt.
Referrals do sound like the best option given the constraints, I just wish I could control it a bit more.

Unfortunately, the POA is the proper legal consent. It's the biggest turn-off when I am explaining the service to a potential client.

Thanks for the feedback
As pyre explains, it sounds like the federal government followed due process as it is laid out in federal law. Perhaps they didn't follow what you think is fair "due process," but that's a different matter.
how do you negotiate equity?
Source? Not trying to be snarky, just would like more details. What counts as testimony?
Get paid instantly: Introducing Book It Now and Instant Invoice
Order of magnitude does always mean base 10. I was using "orders of magnitude" in base 2, the same base as Moore's law.
By using the terminology "break the law", you seem to be intentionally disregarding the fact they have not been convicted of anything, and the assertions they even did anything illegal are questionable at best given they complied with DCMA takedown notices. That they may or may not have been aware of infringement is your next response, but irrelevant since DCMA deals with response to requests, not awareness. Sites are not required to be copyright police independently determining which user backups are legitimate fair use of rips of CDs they own and which are not. YouTube is certainly aware of misuse of their site, something they capitalize on by organizing and directing users to content they know perfectly well is unlicensed such as the Beatles catalog.
Let's look a little bit further down the road, say 100 or 200 years. If the computer is implanted in my head, can you compel me to give you the data in it? What if the computer is made partly of cells? Just how tightly integrated do I have to be with the storage device before it's part of the private, protected sphere of my personal consciousness?

I don't mean to be frivolous. As we become ever more dependent on cloud storage and mobile devices as extensions of our memories and our capabilities, we're eventually going to have revisit the legal boundaries of our personhood.

My communications with my attorney are subject to attorney-client privilege. It's almost like the attorney is considered to be a subprocess of me when he is thinking about my problems. We correctly see it as being in the public interest to allow me to communicate with my attorney without hindrance. Why shouldn't my communications with myself be given the same privilege?
What was their reason for declining the name change?
Ask HN: When does the Summer 2012 YC batch application process start?
At best, company policy will prevent those terms from being negotiated because they're standardized.

If you frame your counteroffer as “I would take this job if you gave me $X more base salary or Y more vacation days”, then the guy across the table can decide which option is more offensive to company policy. It’s not your job, as the applicant, to decide in advance what terms the employer will accept. Your job is to communicate what you want until you either have a deal or feel comfortable walking away from the table.

At worst, you're just going to look like an entitled asshole from day one if you try to get special treatment.

Personally, I have better things to do with my time than count up how many days off each of my co-workers have taken and compare them with the numbers in the employee handbook.
Love this Kevin .. very creative!
I don't follow. You are saying because the software industry has a larger cap it has been trying harder? Or something?
10 plugins de WordPress para Fotógrafos
One of the first games I wrote as a teen was a (as simple as it gets) text based simulation/adventure dealing with horse races (I read The Difference Engine at that time). Even though it wasn't sophisticated at all, it felt interesting (and good) to play one's own game (and to think about the story and how to develop it further).
CEO Invests Another $500K In CrowdOptic’s “New Social Medium”
Watch The Grey Online Free
Watch The Grey Online film making is by Masanobu Takayanagi under Liddell Entertainment, Scott Free Productions, and 1984 Private Defense Contractors studio. The motion picture is distributed by Open Road Films which is scheduled to be shown on the 27th of January, 2012.
andbang.com is new (i found it on HN) and dead simple. it's what i use most. podio is great if you need something more powerful and customizable.
normally i feel like i'm a lot more relaxed about privacy than most people on this site, but holy crap. the top voted comment is currently suggesting that facebook open up their entire site to google indexers?

google can do personal search on g+ because they maintain the permissions database for g+ content and won't show private stuff to the wrong people. how do they do that for facebook?
The key generation is swappable. Currently I have implemented "random" and "phonetic" but this would be a neat (and easy to add) addition. I'll look into it.
Buy to Let Mortgages
As a mortgage brokerage, we have the contacts, the expertise and the resources to source the best buy to let mortgage suited to your property, investment strategy and circumstances. We know this sector inside out. And our expert personal service is second to none.
Practical Common Lisp - http://www.gigamonkeys.com/book/

The Little Schemer

The Reasoned Schemer

The Seasoned Schemer
Karl, since this is already written in Markdown, have you thought about putting it on Leanpub? Our books are in Markdown, and we generate PDF, EPUB and MOBI. We support variable price and a minimum price of $0 if you want, so readers can pay whatever they want as long as it's your minimum price. Royalties are 90% - 50 cents per copy. Finally, readers get automatic updates if you post new versions etc.
The problem with this approach is that it implies relevance to the domain.

If I link you to http://hastebin.com/daqasujoko.rb you're thinking either "that's a ruby file" or "that's a URL".

If I link you to http://hastebin.com/foodcatsphone.rb you're thinking "what does this have to do with food, cats or phones?"
Agreed here; it's one of the things that continues to make Flickr so useful.
Yeah, agreed. I've personally taken to ensuring that no bullet points make it into any presentations I provide. When I made the "switch", I found my presentations were much better. The clarity of a single term vs. bullet points cannot be underestimated.
Who Owns the Color Red?
Note: Though I work on Chrome, I'm not on the UI team, so this is really just my personal opinion. I don't have much say in these areas.

Hastebin should change their shortcut keys to something that isn't already in use by the platform.

Overriding the established meanings of Ctrl+N and Ctrl+S is rude to users who rely on them.

This is no different than a Mac application (for example) implementing special behavior in cmd+tab or cmd+~. You'd be confused.
I haven't read through COPPA, but I believe that Google, as a US company, has to abide by COPPA restrictions, regardless of where they're storing data. (It might even apply to non-US users...) As the user above pointed out, COPPA is really, really hard to 'get around.'

Some verification / disproving would be welcome.
> Do you really think that MegaUpload generated 175MM from a few users signing up to a paid account

No, I think they made money from a LOT of users signing up for paid accounts. I know lots of people that did so, Megaupload is widely used by professionals in the video, music, graphics and games industries for transferring and distributing large files at low cost legally.

I find it highly unlikely that those engaging in illegal activity went in and gave their traceable credit card information to get accounts for illegal activity. That may have happened, but it seems obvious that users doing illegal stuff, particularly those involving stealing things because you don't want to pay, are not highly likely to be creating easily traceable financial connections between their illegal activity and their real identities.

File sizes are large nowadays and millions of people and teams work remotely. There is a tremendous need for locker sites with large file capabilities, reasonable usability, and low cost. Megaupload provided a good technical solution and price to a strong need in modern business and this is why they were successful. People paid them because people have large files they need to work with and distribute. Completely separately from illegal use.

Any company that allows uploading of material is going to have this problem. Legislation such as DMCA was supposed to protect business from copyright violation liability when the infringement was committed by third parties as long as they followed the takedown process. Now we find that DMCA does no such thing, and businesses are beginning to shut down or drastically limit file hosting services. This is creating serious problems for tens of thousands or more of legitimate users and is harming legal businesses that benefit from locker file hosting services.
"He said the All Writs Act, which dates back to 1789 and has been used to require telephone companies to aid in surveillance, could be invoked in forcing decryption of hard drives as well."

I respectfully disagree, even if his opinion is correct under the law. A defendant should never, ever, be forced to assist in his own prosecution, and being forced to decrypt the drive would be doing exactly that.
Wouldn't that give RIM an even smaller market share? They've already been working with Android and Android apps. They should just go full Android and focus on enterprise apps and services to differentiate.
Shorter Version:

It does not matter whether the government forces you to do something (e.g. open a combination lock), as opposed to providing information (e.g. tell them the combination). The deciding factor is whether there is an invasion of your mental privacy inherent in the government compulsion. Whether you disclose the combination or open the lock yourself, the contents of your mind are being used to incriminate you, so your Fifth Amendment rights are being violated. This is distinct from the government demanding the key to a safe, or even taking a blood sample from you against your will, both of which are purely physical impositions.

===

Longer Version:

If the police have a warrant to search your documents, that does not mean that they can make you provide the documents to them. They can look through your stuff to find the documents, but if the police cannot read them, that is their problem.

However, a grand jury can subpoena documents from you, in which case you will be compelled to provide them. In this case, you can invoke the Fifth Amendment privilege against testimonial self incrimination as it relates to the production of documents. To the extent that the act of producing the documents requires you to use the contents of your mind, the act of production cannot be used to incriminate you. So, on one hand, your Fifth Amendment right will not protect you if the police already know that the documents exist and all of the information that is contained in them. However, if the police do not know exactly what documents they are looking for and what the documents say, then the information found in the documents cannot be used against you in court, nor can it be used to find other incriminating information.

See U.S. v. Hubbell, 530 U.S. 27
(Supreme Court case from 2000)
http://supreme.justia.com/cases/federal/us/530/27/case.html
Why not just write code that isn't reliant on a particular framework, and write wrapper "plugins" for each?
I've learned that, as a rule of thumb, recruiters are damage and should be avoided. They are almost always more hassle than they're worth, and the chance of any recruiter ping/interaction leading to a good, paying gig is much less than if you can deal directly with a potential client, directly with a potential hirer and decision-maker. They suffer from middle-man effects, and they look for proxy signals rather than the actual substantive things they should want. They also want a big cut. And they are almost always very technically ignorant and incapable of judging what things are important, whether a person is qualified, etc. And they can "fish you", and by that I mean they tell you they have something, but it's really just to get your resume and other facts about you, put into their database, and then nothing ever happens except maybe a series of future contact attempts about gigs that just happen to have a few buzzwords in them, but you otherwise very clearly would not be interested in or available for. Again, this is my rule of thumb based on experience with most of them. I also think their profession, at least in the software industry, is going to die out, due to all the cheaper, better, smarter alternatives to sourcing and vetting.
Unfortunately this includes substrings which aren't at all phonetic, like "qo". It would be nice to see a generator for actual pronounceable 'words', with consonant clusters, etc.
Because many "pirates", especially the more competent ones, are motivated in part by the sheer immorality of the copyright extensions (or so many have claimed here on HN and a few other places I frequent). In many ways, copyright enforcement is in a similar place to the enforcement of Prohibition at the end of the 1920s, where otherwise law-abiding citizens willingly broke what they considered bad law.
language detection is a bit broken. Both documents I tried were wrongly detected. ascii text was read as .vbs, and a rails controller was read as .py.

I see in the comments I can just change the suffix to get different highlighting, but just thought I'd mention this.
I would go even further than this... If you are given an opportunity to state a number first, go for the ridiculously high, especially in the context on "we simply must have a number to get the ball rolling". Patrick suggests that you say "Okay, lets fill in $1.00 and then come back to it later" - Wrong! "Lets fill in $1,000,000... etc" is the way to go.

The reasons are best explained here: http://en.wikipedia.org/wiki/Anchoring
Is Lion Server suitable for home use? Ars investigates
Across 4000-some users? What if it's Richard Branson? Isn't he a plausible user? Only way to fix this is add code to the circle compiler that checks for the G+ ID in public comment field here. That catches on virally, and the data gets cleaned. It's been done before for other HN groupings elsewhere.
Android Kinect Projector Interface w/ System Access
I don't understand why LAN DHCP address assignment is so slow. RTT to the DHCP server is almost always in the single-digit millisecond range, so why does DHCP often take multiple seconds? Can someone explain this?
Relevant to this article is a blog post written by a Stanford Student taking the machine learning class:

http://pennyhacks.com/2011/12/28/stanford-free-classes-a-rev...

HN discussion here:

https://news.ycombinator.com/item?id=3399976
Well, it's a lot sooner than you think. Flash 11 already has the unreal tournament engine ported.

http://www.youtube.com/watch?v=UQiUP2Hd60Y
Unless you're using <script> as a ghetto <template> node (e.g. handlebars) or for WebGL. But yeah, nobody cares if you write JS without @type.
>They should just go full Android and focus on enterprise apps and services to differentiate.

What enterprise apps and services will make their version of Android a must-have for enterprises that is worth 10/mo per device? Fighting with Android OEMs for marketshare will erode their margins in a cut throat market. Just see how HTC is struggling now. Not to mention no one knows how Google buying Motorola is going to mean for Android OEMs. Atleast with MS's history, there is no danger of that.
I also think it mostly means the president won't see anybody's penis.
MPAA CEO feels "hurt"