skysight-inc/HackerNews huggingface dataset:
> For one-line text entry, support readline bindings (^W, ^U, ^Y, ^B, ^F, etc.)

Better yet, don't try to emulate readline--just use readline itself.

> spawn $PAGER to show text and $EDITOR to edit text.

If you're old school enough, honor $VISUAL and fall back to $EDITOR if it's not set.
As a heavy user of Closure Compiler and a fan of CoffeeScript, I love love love the potential here.

@jashkenas -- any thoughts/concerns with this? How likely is it to hit main branch?
€135,000 revenue per day (!) makes them a huge indie developer. To pretend otherwise is completely absurd.
Shouldn't this be handled by ordinary links with protocols?

"mailto:" is a protocol that is interpreted by the user agent, to launch the user's preferred mail client. We could also have "share:", to launch the user's preferred way of sharing things.

So why not this?

<a href="share:http://sample.com/url/">Share this</a>

It's a bit odd to have the protocol wrapping what looks like another protocol, but it's legal. One might even have the convention that an empty share means the current url. Then it would be just

<a href="share:">Share this</a>.
So, instead of watching the terms you type into Bing, it watches the terms you type into the address bar. So if you put "apple" instead of "apple.com", the DNS server will redirect you instead of sending NXDOMAIN and letting your browser handle things (either failing or searching with your configured Google/Bing/etc engine).

When I first saw the headline, I thought the DNS server was reading my URLs, which would have been really interesting because it's impossible :)
Plenty of others have predicted the rise of unemployment in proportion to increased automation, and they've been wrong before.

Have they? In the long term, definitely, but in the short term, a sharp increase in automation is sure to have an effect on the amount of human labor required. Isn't a normal cycle that technology begins to replace workers but then those workers retrain and then get new types of jobs and recover their employability? It seems we're currently doing a poor job training existing workers and future workers, if anything.
Infographic: What Are You Doing When New Ideas Happen?
how wide a search area is the job search? is relocation an option?
not sure what a .pac file is, but yes, this is how it works.
to see who is user x all you have to do is graph.facebook.com/x.1,2,3 are not active for some reason(anyone knows why??) but the rest from 4 to 10 are

4:Mark Zuck
5:Chris Hughes
6:Dustin Muskovitz
7:Arie Hasit
8,9 Dont Work
10:Marcel Laverdet
11:Soleio Cuervo
12 Doesnt Work
13 Chris Putnam (wtf?...i thought he joined facebook much later..hmmm interesting!)

anyone care to finish up to 20!!
Ask HN: Web development framework comparison
Which one is better? Candidates are:

Vaadin

SproutCore

Cappucino
Ask HN:What's on your list of good programming principles?
I'm trying to set up a list of good programming principles to give to new employees.

Of course, there are things like DRY (Don't Repeat Yourself), etc.

I just wanted to tap into the collective wisdom and experience of HN to see what you guys think are the top programming principles.

Note that this is intended for non-CS majors, i.e. engineers who code as part of their work, so even if some things are obvious to CS majors, still list them here if you think they are helpful
KFC, of course. http://www.inquisitr.com/20827/nobody-does-potholes-like-kfc...
Google blames a Human for its Robot Car Accident
This is something I keep circling around. The host doesn't seem like a thing you could encrypt, because the intermediaries need to know where to send your packets. It seems like https encrypts the headers: http://stackoverflow.com/questions/187655/are-https-headers-...
but does this include the Location header?
If government wants to create jobs, they need to encourage businesses to create new value (by paying them to create that value). Employers will then hire people to create the value (and pay them (after skimming enough profit off the top to make it worth the effort)). The problem is, of course this requires the government to spend more (not less) which seems strongly against the current momentum.

I'd suggest the modern version of the Depression era work programs and/or the 60s space race. Perhaps something launching a major technological leap in robotics (which ironically would exacerbate our job "problem").
I don't use Facebook. And whenever I go to a site that requires Facebook credentials to comment, I just don't comment. It does not bother me because that is a choice I made in not using Facebook as my online persona. But that is the truth to all this. I do not blame Facebook for their design of the service, I am the one to blame for not wanting to adhere to them. And I get to live with the consequences.
How do they know that I actually fit in that department and not in Marketing? Like... I never put who my employee was or my profession..

EDIT: Oh, I did put my profession. Stupid me.
Apple iPhone 5 Design Spotted In China
Thanks for asking. He's been searching in the Bay Area and in the Dallas / Fort Worth metroplex primarily. Relocation is certainly an option; in fact, we would both love to live in the Bay Area, and it's a good chance that I could find rewarding work there. We're willing to spend time living apart if that's what it takes, but obviously that's not our first choice.
Last I heard, that "you're a pirate :(" message was the entirety of the DRM. It will still let you play the game.
Modularise

Abstract

Code, test, revise, functional test, Load test, Performance test

Peer testing

Comment

Simple is beautiful
"Respect mah authori-tah!"
> proxies can unwrap HTTPS

They cannot get at the plaintext without a certificate warning (or installing a certificate in the user's browser beforehand).
Facebook caught on, to some extent, as a type of dating service.

I'm Zuckerberg's age and watched Facebook grow while I was in college. For a large majority of people, during the .edu restricted times, it was mainly a way to check if you might have a chance with the girl in your Statistics class.
I prefer - over _ over smashingwordstogether. There are the benefits of readability and not needing to intermittently press the shift key. Also, you might prefer

bind 'tab:menu-complete'

or to assign that to a different key. This allows you to quickly cycle through valid options so you are not playing "what's the next letter?" games.
Judge to Oracle: "proceed with caution before overreaching again"
Ahhh! I'm scared of the stock exchanges witch!
That sounds like a bug - from what I'm told by a recruiter, you should be able to apply again by now. You can also start the process by emailing the address in the text at the bottom of job once you click on "Apply for this position".
I've thought about this a lot. The problem for me is how much money to bring to the table - you would have to get some kind of credit or show up in Vegas with a lot to even attempt it. Also, most tables have max bets (~$3000 for a $25 table) so you would have to start at a high stakes table just in case.
I understand not wanting to use your real name everywhere. Do you not want to use services like Facebook or Google+ or you would use them if they allowed pseudonyms?
Your understanding is incorrect. This is the reason SSL is incompatible with virtual hosts (see http://en.wikipedia.org/wiki/Server_Name_Indication)
Ask HN: trying to use Kickstarter for Design for Hackers Book tour
The HN community has always been a big help to me in the past when I wasn't sure what to do, so hopefully this will be a similar case.

My book, Design for Hackers: Reverse-Engineering Beauty is due out in about one month. I've been preparing for launch with various ideas, one of them being a Kickstarter campaign to help fund a book tour, which would start in September. Only problem is, Kickstarter rejected my first campaign. When I asked why, they said, simply:

> Kickstarter is primarily focused on creative arts projects, not the marketing of books or other products -- look around the site and you'll see what I mean. I understand what you're looking to do here, but it isn't what we're focused on.

But when I look around, I see there have been several other book tours funded by Kickstarter:

* Live, Work, and Play Like a Liberal: http://www.kickstarter.com/projects/280586197/justin-krebs-living-liberally-book-tour

* The Internet of Elsewhere: http://www.kickstarter.com/projects/1731685895/the-internet-of-elsewhere-european-book-tour

* Urban Scouts Book Tour: http://www.kickstarter.com/projects/13979723/urban-scouts-book-tour

But, I noticed that these campaigns focused more on the overarching mission of the books, rather than on the books themselves. So, I revamped my proposal, in the form of this video: http://www.youtube.com/watch?v=5WGNCk4ClzU

I submitted this about 5 days ago, and haven't heard a thing from Kickstarter since. They got back to me quickly the first time, but I feel like they may be ignoring me.

So, I'm not sure what to do. It would be great to have a campaign, not only to help fund my book tour, but to get the word out about my book. So, I guess amongst my questions are:

* Have you done a Kickstarter campaign before? Is there anything I should know?

* Any ideas on why they may be rejecting me?

* Any feedback on my video?

* Is there another platform I should be using? Should I just dig in and spend several thousand dollars funding my own tour?

Thanks for your help!
The Industrial Revolution was essentially what you're describing.
I think the author of this article forgot that online gambling is illegal. Or at least, it's illegal for (US) banks to process money coming from gambling websites.
I think HN still tends to reward quick posts over more thoughtful ones. As humor is quicker to post, it will come to dominate (i.e. HN will become Reddit) without this important check/balance in the culture.
I'm guessing that 600,000 represents penn, but I am just guessing based on the numbers and what others have written.
Scumbag article:
Highly provocative title; zero practical information.

I know negative comments are frowned upon but I just wish these knock-off quasi-zen bullshit articles didn't bubble up to the HN twitter bot so often. I'm irritated because I took the time to read this assuming that the author was going to deliver something useful and that wasn't the case, it was just a bunch of hot air. "Succeed by not failing." Very good.

I'd like to give the author full marks for marketing. Provocative title, slick design, little substance... he ought to get a job at Wired!
Yeah, right?! Why so serious?

Now, seriously talking. A joke doesn't hurt a discussion. Laugh and move on. Or even better, keep making jokes.
Here's a link to my current proposal video for easy clicking: http://www.youtube.com/watch?v=5WGNCk4ClzU
If you say so. Anyway, I guess I'll get back to my day job of writing patents.
Yeah. This is police harassment, plain and simple. Piggies!

Also: http://www.kingcounty.gov/courts/SuperiorCourt/judges/cayce....
The Martingale strategy is perhaps the most likely reason that casinos have table limits. The strategy works exceedingly well if 1) you have an unlimited budget (or unlimited credit) and 2) don't have table stakes to worry about.

It's possible, but highly unlikely that you can find a high roller casino that won't enforce minimums, and has very high maximums (which would allow you to start with $1 bets, for example), but even with that, you're likely still limited by budget.
In an economy like this, you might be in for a rough ride only having two preferred places that are already popular for job seekers. I do wish you and yours luck.
The HTTP request itself is encrypted, but the IP packet (including the source and destination IP addresses) is not. SSL/TLS is application level encryption, and if you wanted to encrypt the actual packet, you need to switch to something like IPsec, but even then you need some sort of routing method (which I can't remember).
I thought it was implying that if you are the type of person to find that link you could be in the engineering department (ie it isn't dynamic)
i think jquery can deal with a straight json response, but i may be wrong.
Study: Will You Abandon Facebook in Favor of Google+?
JSONP is a way to consume a feed from a willing website on a different domain name. I say "willing" because the feed must be presented in JSONP -- there is no way for you to alter a JSON feed into a JSONP feed without using some sort of proxy.

Because you'd need to use a proxy on your domain to convert the feed to JSONP, you would then lose access to the client's cookies for the target domain. That basically means that no, you can't use a JSONP request to defeat the same-origin policy.
It breaks down when you need to pass rich data. Images, videos, and JSON for example.
I don't think they forgot that. There is a big world outside of the US that CAN gamble and bet LEGALLY online. Using Betable (http://developers.betable.com/developers/signin), game devs can reach the massive Ex-US audience (remember, 60% of Zynga's traffic is outside of the US), and monetize them >100X better (traditional online casinos generate about $300/month per player on average) than they currently do using virtual goods, virtual currency, etc.
I was referring to the long term, but you make a good point. Asimov posited that increased automation would temporarily increase unemployment but that the net benefit would always be positive. He thought that automation would allow human beings to focus on more interesting and rewarding jobs.

The unspoken assumption is that these more interesting jobs are plentiful enough to support the displaced workers assuming that they're willing to train and transition into a new kind of job. Is this the case today? Are the "higher" jobs plentiful enough? The question is not rhetorical; I'm asking because I can't say. I work in software development and my perspective is limited.
Ask HN: Simple multi-currency bookkeeping on a Mac - impossible?
I am looking to cut the monthly expense of PulseApp (which doesn't handle multiple currencies too well, anyways) and move to a downloadable app for my business bookkeeping. I have CAD and USD currency accounts that I need to track, and need to be able to generate income/expense reports that span both currencies and handle exchange rates properly (on the date of the transaction).

Any suggestions?
:-). I knew I was in for this comment when I wrote this. But it fits so perfectly, I could not help it. I guess I am getting old. :-). Moonlighting is the TV show that made Bruce Willis famous. His character David and Maddie (played by Cybill Shepard) constantly argued about different issues but the subplot of every argument was their sexual attraction to each other.

Another example would be the relationship between the Marquise de Merteuil and the Vicomte de Valmont in Dangerous Liaisons.
I commented on this blog post a long time ago here on HN. So did many other HNer.

Whatever you might think about Closure, please do not make up your mind about it from this article. The author does not seem to be an experienced javascript developer (at that time).
I disagree. This doesn't give you the alibi, since you have to be there in the same room to drop it. With the wireless mechanism, you could never be in the same room as the victim that day. You might never be within 50 feet of the victim. You might not be spattered with blood, but you might leave physical evidence of your presence at the scene. Logs can be electronically erased, which you can't do with metabolites of poison in the bloodstream.
No magic numbers

http://stackoverflow.com/questions/47882/what-is-a-magic-num...
I'm glad he mentioned the "Silence trumps noise" point.
I like to call the idiom "no news is good news".
Tell me only when I need to know something (like a failure); "-v" is always there if I need it.
It feels uncomfortable to get no output at first, but once you get used to it there's much less to read.

It's rather like the Plan 9 convention of programs returning strings instead of ints when then terminate; an empty string means success, a non-empty string contains the error message. I wish other OSes had adopted that.
Actually, it's the judge and the prosecutor who are on the hook more for this use of Cyberstalking (and likely ultimately terrorism laws) to umask a critic using their First Amendment rights.

The prosecutor is at risk for losing their qualified immunity, since he is using his position to commit a civil rights crime.
Logs are lifesavers. If you have to figure out what the hell your code is actually doing, you're much better off if you know there's a detailed log in place to search. Theoretically you can get the same information by attaching a debugger, but logs are so much easier to use that it's really no contest.

It's much better to log too much information than too little. Filtering a crowded log file for a specific piece of information is a very tractable problem, whereas finding that same information in an empty log file is obviously impossible. You're even better off with a proper logging library that has different levels, because that can do a lot of the filtering for you.

All too often in my career, I've had to track down a bug only to find that the piece of information I need just isn't in the logs or is otherwise swallowed up (for instance, if an exception is wrapped improperly in another). This is a pain in the ass, because it usually means that I have to not only debug a problem but now I have to guess how to recreate it as well. If there were a greppable string in a log file, I'd at least have some idea where the code got to before the problem surfaced, but without that clue, I'm just going on app behavior. Seriously, log everything you can, because you never know what piece of information will save someone hours of debugging later.

tl; dr - log everything you can because it may very well save your ass down the road.
You're looking too deep into the details.

As long as your product serves a need, does it in a unique way and does it well, then it doesn't matter what day you launch your SaaS project because it will grow organically.

If you REALLY want an answer then I would pick either a Tuesday or a Thursday. Mondays, Wednesdays, and Fridays are the days that news sites use to do "mass" updates on the latest and greatest.

Remember, it doesn't matter as long as your product has what I described above. Good luck! :)
How did Linux bonding not work? Did you try balance-xor and did you set miimon and arp_interval to something besides the default 0?
Yeah. It would have been easier if we had both graduated at the same time. Now, we have less maneuverability. Thanks for the wishes.
Agreed! It would have been even more helpful if the unit tests showed both the expected result and the actual result. Now I had to guess at what the problem might be (which led to me giving up on the last problem).
I feel for you. My wife watches "Real Housewives" series and I now know way too much about those people. :-)
The common usage of 'art' is a lot more nuanced that what you are trying to make believe with a clinical definition.

"skill acquired by experience, study, or observation" - does that mean that when I learn to butcher a pig by watching youtube videos of it, it becomes an art? Of course not. "art" implies some form of subjective addition to it, usually for a "higher purpose", not just functional (I'm not trying to come up with a definition of "art", as whole libraries have been written about it, I'm just stating that you implying that anything that is learned in some form is an "art" does not correspond to the common usage of the word).
Not likely to hit the main branch, as it requires everyone who uses the language to also to use the Google Closure library, as well as the Closure compiler. But as a fork, I think it's brilliant.
The Best Strategy For Big Innovation: Knowing Your Limits
well, at least they didn't do that to him

http://www.youtube.com/watch?v=1ljYNgLnpxM
Are you a patent lawyer? A programmer? Both? I'd love to hear your own perspective on this.

For background, my previous job was in a small group of researchers and programmers at NVIDIA. The company had a history of hardware patents but had been pushing more and more for supposedly defensive software patents when I joined. Partly in response to the infamous Creative patent on a robust technique for stencil shadows which had "coincidentally" been filed right after NVIDIA's Cass Everitt had given an invited talk at Creative on that very technique which he had discovered (and John Carmack later independently rediscovered). Anyway, for most of us in DevTech, at least half our time was spent on pure research and prototyping. A colleague in that group, Ignacio Castano, wrote a blog post on programmer responsibility and software patents that you might find interesting: http://www.ludicon.com/castano/blog/2010/11/software-patents...
...except that almost every table in existence has something that messes up the system. Usually it's an upper limit on the amount you can bet (called a "table limit"), which puts an upper bound on the number of successive losses you can win back.

The wikipedia article[1] covers this relatively well under "An alternative mathematical analysis."

The short of it, though, is that everything at a casino is there to put the odds in the house's favor. They spend enormous amounts of time and money on researching this very problem, and their entire business depends on carefully walking the space between their patrons having a good time and winning a mint.

[1] http://en.wikipedia.org/wiki/Martingale_(betting_system)
On the internet ... yes it will. The freedom is simply there.

Hell, even in the real world you have all this freedom. When I introduce myself as Swizec in real life, nobody questions anymore whether that's my legal real name or not. They just take it that that's what they are supposed to call me.

Pseudonymity is a much more real concept than people are willing to admit to themselves. In fact, at this very instance, everybody in the world is pseudonymous. Most just choose not to exercise this freedom.
It was a side note and not part of the argument.
Perhaps this will prompt a substantial reorganization of society. Ideas like the http://en.wikipedia.org/wiki/Basic_income_guarantee might actually gain traction.

Marshall Brain's novel http://www.marshallbrain.com/manna1.htm is one recent exploration of similar ideas.

But personally I'm sceptical if this will actually happen in the near future. As long as we don't have "Strong-AI" there are many jobs only humans can do well and a lot of those jobs don't require extensive education (nanny, nursing home attendant, customer service etc.)
It's an optional mode via command line, no? Opt-in won't require anyone to use closure.
In other words, they store every request you send, but it's okay because they only store geolocation data to identify you with.
I work part-time as a test prep tutor. One of my friends once suggested that I should try to convince parents to give me extra money, which I would then offer to pay to the child if s/he would teach another student of mine a few things...

It's hard to deny that teaching something (well) forces you to learn it well. Has anyone heard of this being implemented meaningfully in a classroom anywhere?

Also, I loved this line:
"This is a problem we all face all the time, when we are expected to explain something. (Wife asks, 'How do we get to Valley Forge from home?' And husband, who does not want to admit he has no idea at all, excuses himself to go to the bathroom; he quickly Googles Mapquest to find out.)"
Perhaps Money4 is what you're looking for?

http://www.jumsoft.com/money/
Why India Is "Geek Nation"