skysight-inc/HackerNews huggingface dataset:
I recently found that AngularJS has supports for promises. I replaced some of the callback code to use promises and it's a lot more readable.

Callbacks:

Backend.CallA(param, function() {
aDone = true;
if (aDone && bDone) { doC(); }
});
Backend.CallB(param, function() {
bDone = true;
if (aDone && bDone) { doC(); }
});

Promises:

var promiseA = Backend.CallA(param);
var promiseB = Backend.CallB(param);
$q.all([promiseA, promiseB]).then(doC);
http://web.archive.org/web/20131217174220/http://www.hackers...
TrollingMotors.net Auction Follow-Up
objcloud.com is available, why not go with that?
My Chinese girlfriend bought Bitcoins and she heard the news on the radio, while driving to work.

She wasn't too concerned. Surprisingly she seems to really understand the disruptive nature of cryptocurrency.

She is a fashion designer, by the way, and I never really explained Bitcoin to her - she just bought in.

Disclaimer: She used to be some kind of Age of Empires II master nerd back in the days. Trust me - I never saw anybody playing that game like her. I was humbled...
>> There are a number of competing apps for rides (or they would be built quickly to compete) and cars could freely undercut Uber.

That's one possiblity. Another is that network effects would allow Uber (or Lyft or whatever) to dominate local markets since drivers and riders would flock to the most popular. The barrier or new entrants is going to get pretty high if Uber can snap up enough drivers.
Usually pairing seems to work great to get you through things that seem like they're a slog. So you don't have to pair through everything, just the hard and boring bits. It helps to timebox it, and say it's going to be (e.g.) an hour long session to prevent it from taking forever and help focus. Even if you're not done, chances are you'll have made good progress. So, schedulingwise, it's a bit like a meeting.

The largest benefit I see is that having someone with you is like having more than double the focus and vigilance, since you're both there to help each other out and you'll both tell each other when you're leading yourselves astray, which doesn't happen when programming individually.

Pair-design also works great.

I think it's harder to be as productive in code review (and I think they aren't mutually exclusive anyway) because people tend to focus more on nitpick changes like style issues, and miss the larger design stuff.
I'm torn how to feel about this. I've been developing with objective-c on iOS for several years now, and to say this as gently as I can ..it's not my favorite language. I want to play devil's advocate for a moment and ask some tough questions (these may go away in a request/response scenario where the app isn't running continuously):

* How does Objective-Cloud handle circular references (will memory leaks be a problem?)

* Is there a way to cut down on boilerplate (having to declare member variables, accessors, synthesize them, and understand the differences between var = _var, self.var, static class vars, etc?)

* Any plans to port to other platforms (Android) and if so, will it still use objective-c?

* How do you sandbox binary code (will security be a problem?)

* Will you allow third party binaries/libraries to be uploaded with the code (or will everything be open source/code only?)

To be fair, I believe that this style of development may be the future. Perhaps we need a wrapper around pure C because it doesn't do enough to promote inter-module communication, and C++ dropped the ball on that.

I'm just concerned because objective-c is ideologically different from, say, Boost, D, or Go. It focusses more on patterns than abstractions and simplicity over correctness. I've found it nearly impossible to build an app in obj-c above a certain size that's guaranteed to run indefinitely, stably and without leaks. And I've found that large obj-c projects often lead to spaghetti code and repetition, because of a lack of understanding about things like delegates, inheritance, using notifications instead of nesting code, etc. Some aspects of obj-c are quite brilliant (like queuing tasks on the main run loop) but others like manual memory management are antiquated.

But kudos for this effort. I'm curious how this plays out.
The Maturation of schema.org
Does pocket follow all of the Next links and build an ebook for you?
He didn't say Facebook was a failure, he said it was a failure as a social network site, which is 100% true if you want social network to be a vehicle for genuine human connection (instead of superficial self-promotion).
You'll notice that the triangular composition shots had three figures on three different levels in the shot, when most shots with a single figure in them had their head at basically the same level, right below the top of the frame. If the default placement for a character's head is near the top of the frame, it would indeed be a conscious choice when placing three head in a shot to make them at three different levels.
We are as civil as we are financially afforded.
Is instagram as monetized ad the FB feed?
The red gear is held in place via the axle, and isn't free to rotate because of the crescent shaped portion on the drive wheel. The spoke on the drive wheel catches the driven wheel before/simultaneous to the crescent rotating out of the way and freeing the driven wheel to move.
>Something else I just thought of while typing this is that this would make an awesomely sci-fi means of information storage. No need to remember a password, we've encoded your gut flora with your private key!

Was the first thing that occurred to me too. Talk about steganography.
The link provided in the article [1] shows the MIT/NJ distinction far predates any conception of agile development.

[1] http://www.dreamsongs.com/RiseOfWorseIsBetter.html

And sorry for the downvote, that was accidental.
Who said PHP was a good tool? I'm responding to the parent comment asserting that being a better programmer won't help you, which is clearly not true. All our tools are deficient to a greater or lesser extent, and part of what defines the skill of a programmer is working with the tools you have, working around their deficiencies, and resisting the urge to engage in architecture astronautism.

If you have a choice, sure, don't use PHP. But if you don't have a choice, PHP won't stop you shipping a quality product.
What was your revenue model? If you were doing it again, would you try to do it lean / w/o VC money?
To be fair, the Trollop gem is probably my favorite CLI library.

Somewhat creepy example linked off of article:

https://github.com/icebreaker/girlfriend
The new fee structure seems more regulatory related. They did it overnight without warning, and right after the reported closed-door meeting. OKCoin the second largest CNY exchange followed suit and started charging fees. This would have been a great opportunity to capture market share if btcchina had made the decision without outside influence.
I believe Wordpress have stated that they regard Wordpress themes as derivative code of Wordpress, and the PHP of a theme should therefore be GPL, else constitute a copyright violation:

http://ma.tt/2010/07/theme-are-gpl-too/
http://markjaquith.wordpress.com/2010/07/17/why-wordpress-th...
Follow up from: https://news.ycombinator.com/item?id=6733680
Not sure what it is with me, but if have no daily obligations and don't force my self to go to sleep at night, I always end up reversing my sleep schedule. Been that way even through high-school, summer vacation comes and I'm there watching tv or playing video games until 5-6am and then I crash and wake up for lunch at 1-2pm. Somehow, the peacefulness of the night is soothing, even my mind seams clearer. Also, sometimes my mind is racing, and I won't go to sleep even if my body is tired. Usually, at that time before crashing, I feel so close to having all the answers.
The Use of Light in Cinema
Yeah, it's excessive, do they really need the TV rights?
"Elsevier gives NOTHING to the author except the promise of publication and distribution"

The "status" of publication has a demonstrable market value, so I'm not sure why we are debating this.

I know it sounds stupid, and it's a case of {pschopaths>incompetents>losers}, but in reality the author's "careers" and "reputations" are on the line. And the academics are in the Losers bucket here. The grant-writers and tenure comittees take the title of "incompetents". And yes, the Elseveiers very much psychopaths.
Accidental racism is still racism, but this isn't even accidental.
If you have a problem with a double Dutch sandwich, then lobby for fixing that, but don't hose a hard working farmer and his family by nailing them with a 40% estate tax. There are a lot of millionaires who have paid taxes on every penny they've made.
I'll defend analdiffist on the grounds of it being a pretty clear Arrested Development reference, while remaining accurate (A professional twice over: an analyst and a diffist.)
Great post.

We use Gerrit code review, with side-by-side reviews. I.e. the developer pushes to Gerrit, then sits down with the reviewer and walks him through the code. 99% of the bugs are found by the original developer -- after he is forced to explain what he did (and why) to a colleague. I think that this gets you at least some of the benefits of both approaches.
Give it a go sometime. It's the most fun I've had at a job.
True. Are we talking about auctioning beanie babies or dialysis treatments? I expect that folks would be much more accepting of the former than the latter.

(To be clear, I'm not saying that Uber rides fall in the same category as dialysis treatments, just that folks are more sensitive to "unfair" pricing as the product or service gets more essential.)
Whoops. Didn't mean it that way (or read the post long enough to figure out where or who in the world it was referencing).

We're all apes anyway, not monkeys.
Always a little suspicious of 'crack' and 'chronic'. I understand the clean use of the name but the vernacular use of each...
So you're posting your hypothetical anecdote because you're upset that the LA Times didn't interview you?

What unrepresented party to this story do you think you belong to? People who are upset that uber isn't around to serve them? Again, this is entirely dependent on circumstances that you haven't made clear. Maybe Uber and their pro-market pricing think that you're in a region they can't make a profit in, and therefor will never be an option for you anyway.

Are you just in the class of people who are upset that taxis aren't available in bad weather in your area? Again, do you live up on the top of a mountain? Are you hard to get to? Again, it's not clear.

It just sounds like you're unhappy with your local taxis, and support unrestrained market policies, which frankly, isn't interesting or relevant to stories about Uber, their places in existing market places, and whether they're serving their customers well with surge pricing.
Could someone elaborate on this?

> Craigslist C&D’d us (they didn’t want our users linking to their Ridejoy ride offers or requests)

If I understand it correctly, CL sent C&D to ridejoy because someone was posting ridejoy urls on CL? That's absurd if that's the case.. so how was it?
Fair point. I elaborated more above. Think we are missing each other's next move in the reply delay chain.

Sure the real world is not a perfect free market. Regulations and laws can be a huge hinderance to new market entrants...Uber ironically has felt that pain a ton with local taxi unions and laws
I don't know but it will eventually become Lisp.
Did you give the screaming guy a ride anyway?
The typical journal paper costs over $1000 to publish. If the publisher truly provided no value then the paper would still be sat in a PDF file on a laptop - that's clearly not the case. If we're talking about open access where that author pays then peer review, editing, and the publishers reach is still of value.
The Brookings Institute reports relies on accounting information that is suspect[1] and it looks like the route is a money loser when capital costs are taken into account[2]. The Inspector General's report is one of those nasty reports that show some manipulation.

1) http://www.oig.dot.gov/sites/dot/files/Amtrak's%20New%20Cost...

2) http://cs.trains.com/trn/b/fred-frailey/archive/2011/05/13/i...
This is likely a side effect of the fact that there is no "peer-review" process in the form of a pull request or maintainers etc. to publish a gem to rubygems.org. Can such names can also be observed with PyPI etc. which have a similar low-barrier publishing mechanism?
This is different from other package distribution channels like your operating system's default package/portage manager.
Homebrew I believe accepts pull requests, Ubuntu solves this problem by introducing an additional step where the end user has to manually add the ppa repository to apt before being able to install packages.
The Watchmen, although technically a comic book Alan Moore tackles a lot of complex existential issues.

Also, The Myth of Sisyphus by Albert Camus. How does one find meaning in life in a meaningless world?

www.goodreads.com has a lot of great reviews/suggestions as well
Anecdote: In France, the system sold me a ticket for a non-existent day. I knew I was returning to Paris on a Saturday, so to buy my ticket I clicked on Saturday the 24th of May on one of those typical select-a-date web map UIs you've all seen. Except that the 24th of May was Sunday - I didn't double check my purchase against a calendar.

So on "Saturday," ticket in hand, I was evacuated from my seat and had to stand for a couple of hours - of course everyone pretended not to speak English - and I suppose I should be grateful I wasn't defenestrated into the French countryside.

Earlier, at the small station, I had let a woman who was obviously in a hurry pass ahead of me to buy a ticket. She said to me "obviously you are not a French man." :-)
Sure, but my question was in the context of the OP definition of "pair programming culture" as "a team that does nearly 100% pairing ... The day-to-day experience of programming is that of a day-long conversation with your pair"

I'm curious how other things that are intrinsically non-pair activities fit in.
"But there’s something off. He’s not productive. He’s not a culture fit."

I've interviewed at a company before for about a week. 4 interviews later they tell me they won't go through with me for undisclosed reasons. This was before I had seen the company or anyone besides the immediate people interviewing. I then asked just to see what the company layout was like and they gave me a tour of the offices.

Jesus fucking H christ, everyone was the same. It was all 20-25 year olds, glasses, beards, tshirts, jeans, all white males. If that's ever a reason to not hire someone or even fire someone it's not a company you want to work at in the first place.

If the word "culture" is in any sentence when you're hiring/firing me, I'm punching you right in the fucking face (not actually though) and leaving. It's basically saying "for some arbitrary reason we're going to fire you, but we don't really know why and neither do you, bye!" Sorry for not having a beard, thick rim glasses, and not liking the same N64 video games as you.

I'm probably just bitter though.
Recently: "The map and the territory" by Michel Houellebecq. It's certainly not the kind of book that you'd think is inspiring in a literal way (ie. would make you want to go and achieve things etc.), but it's just such an extraordinary piece of literature that reading it shows how much a person (a writer in this case) is capable of when he applies himself.
Slightly related. This was one of my favorite assignments from my algorithms class on coursera. We implemented part of bzip compression and decompression.
http://coursera.cs.princeton.edu/algs4/assignments/burrows.h...
http://wwwdelivery.superstock.com/WI/223/1557/PreviewComp/Su...
> Off-topic: how did this organization get a .edu domain name? Are those no longer restricted to degree-granting institutions?

Your "no longer" suggestion has the time wrong. The restriction (originally to four-year degree-granting institutions) wasn't instituted until 1993 and wasn't really enforced until sometime thereafter (and the exact parameters have changed several times since) and continuously registered pre-existing domains were grandfathered. The Exploratorium has had a .edu domain since sometime in the early 1990s.
The noble behavior of stoning people to death based on tribal affiliations doesn't really require dignified descriptions of the people.

Urban Dictionary barely mentions the word monkey may be racist. It's 3x more likely to be slang for girl parts.
Slightly off-topic but the new HTML5Rocks site is much more responsive and easier to read.
Herman Miller Aeron. Cost me $800, which may be considered expensive. It is about 14 years old and working great making it rather cheap.
What are the advantages of compiling to ES5 instead of using --harmory?
>> I was swayed by Stefan Molyneux's Philosophical arguments for Individualist Anarchy. The only sticking point I still have is the question of wage labour, which I am opposed to

Good job so far. Next, you need more knowledge of economics: http://mises.org and you'll get around to reaching full sanity :p
Interesting... In a correctly working market wouldn't the end result be that competitors prefer to lower their fees too and then offer other guarantees (security, etc.) in order to keep clients and to bring in new clients?

Or is the bitcoin exchange market a "winner takes all" market?

And if they "win" and start charging a fee, wouldn't it immediately open a new opportunity for someone to come up with a platform with lower fees?

(honestly asking... Btw I'm european and I'm on Bitstamp for trading Bitcoins)
Ha! We flew from Paris to Dublin a couple of years ago, but the "Paris" airport was actually in Beauvais, about 80 km north of Paris. The bus ride from Paris to the airport both took longer and cost more than the flight to Dublin.
Max Welling's comments on the NIPS Zuckerberg visit
Amazon success is a strong indicator: RESTful APIs don't really matter. You can build a very successful business without focusing on the format of your APIs, as long as you build something valuable.
The Extended Phenotype by Richard Dawkins.
Yahoo acquires PeerCDN as it builds out its content strategy
Have you tried setting

Q.longStackSupport = true

? This is invaluable for debugging (although it does slow things down a lot, so don't use it in production)
The irony is that Bitcoin is supposed to be a replacement for cash. Technically, it should be the most liquid thing out there.
I get the sentiment, but don't you think punching someone in the face is a bit too much?
He is referring to TED talks innovative things. Many innovations are impossible to wrap up in a nice way, since doing so would delude why it is an innovation. Check out what happens when the maintstream talks about the latest cancer cure for instance.
"Cross-platformness". Someone who wants to use your library and doesnt use harmony won't have to start his node process up with `--harmony` which is sort of a win I guess
Based on dart and typescript, it'll feature static typing.
The Danger of Turning Cynical About Silicon Valley
What a load of bull. The best part:
"Take the threat out of it".

Yeah. If the employee does not realise the threat imposed by a PIP then he/she is an idiot and should be fired immediately.
In the submitted article, two callback methods are usually provided (one for success and another for failure). Is that possible when using generators? If so, what does that look like?
Google Zeitgeist - what did we search for in 2013
I will not be surprised if this implies a transition from leadership by authority to leadership by democracy. I will also not be surprised if natural leaders emerge and small factions start to form around them.
Specifically, he pointed to problems with having two separate virtual machines, both trying to clean up computer memory through a process called garbage collection and both trying to control Web page elements through the browser's Document Object Model (DOM) interface. "Two runtimes sharing the DOM adds both bug habitat and a performance tax," Eich said. That's an objection Apple has raised, too.

Why have two garbage collectors sharing the DOM? Couldn't one construct a bridge that synthesizes Javascript under the covers to access the DOM and also maintains a reference for the separate Dart GC for the Dart object trying to access the DOM? This would mean that the native Javascript GC wouldn't have to be aware of Dart at all, apart from the presence of some special Javascript objects that don't get collected by it. Then, when the Dart side is done, and the Dart objects go away, remove the "special" flag from the JS bridge objects and let them be collected normally. (There are a few more wrinkles than that, of course.) Performance would be slower for non-native Dart VMs, but it should be possible to leave Javascript GC mostly untouched.
Good but can you yield from the global scope? if not you still need to write at least a function.

The hardest stuff in JS is that :

function F(){throw "error"}

try{setTimeout(F,1000)}catch(error){ console.log("error")}

we cant catch async errors outside the async callback , will generators fix this ? ( by the way , that's why you should never throw any error yourself in js ).
I think you missed the part about village justice, that's an excellent way to get your shop burned down and not have any effect on society. Might feel good for awhile, especially if its not your shop, but a talking to might be a lot more effective WRT social change.
What a great application of machine learning. Amnesty International now has decades of Urgent Actions, as well as data on what happened after. Maybe humanity can finally start to learn from the past with the aid of machines.
Uber tried to use surge pricing in the aftermath of Sandy in NYC, and was basically forced to pay the drivers the extra surge prices out of their own pockets due to the PR fiasco that ensued.

http://blog.uber.com/2012/11/01/hurricane-sandy-pricing-upda...

Of course, this was only the aftermath. I am very skeptical that for hire taxis are a good way of saving lives in an emergency.

I personally totally buy the economic argument for surge pricing. But they have a very PR problem of convincing people that it's useful and beneficial to everyone.
The guy has an issue with the name Nokogiri?

Anyway, not to be "that guy", but this same article was posted over a year ago https://news.ycombinator.com/item?id=3577590 and the post itself is over two years old. Would it be too much to ask folks to search before posting?
Help Crowdfund Liberty.me
Especially where in the USA you lucky if you have a duopoly. The one thing the uk did right was local Loop unbundeling.

And as a BT.A shareholder and ex employee I must admit to enjoying the fact that buzby is kicking that nice Mr Murdoch in the nads in football
I've been following these for most of the rounds, and Go has been improving impressively. Whether that's because of improvements in the language itself or a more zealous crowd sending pull requests, I don't know, but it made me want to try go, so I did. It's not as comforting as the scripting (PHP, Python, JS) languages I'm used to. Having no REPL and having to think about types takes a bit more getting used to than I thought (arrays vs slices/maps, and having no REPL). I find having a quick build script (mine's in vim) so you can compile+run and go back to the code quickly helps a lot. Also, http://play.golang.org/ isn't too shabby either.

It would be fun to see this project (https://github.com/TechEmpower/FrameworkBenchmarks) become more and more popular, with formidable developers squeezing out performance from their framework of choice.