skysight-inc/HackerNews huggingface dataset:
Nope, `doStuff().then(function(value)" != try`

A closer representation would be `try { var value = doStuff()` which has similar verbosity.

ES6 will have generators and "arrow" function syntax. Meaning:

doThing().then(function(value){
//blah blah blah
})
.catch(function(err){
//handle it
})

becomes either:

try {
var value = yield doThing();
//blah blah blah
} catch (err) {
//handle it
}

or

doThing().then(value => /* blah blah blah */)
.catch(err => /* handle it */);

meaning you can pick your paradigm :) Except that the functional one composes slightly better, perhaps.

doThing().then(value => /* blah blah blah */)
.catch(only(ParseError, err => /* handle it */));

vs

try {
var value = yield doThing();
//blah blah blah
} catch (err) {
only(err, ParseError); // argument repetition
//handle it
}
Foolish me. I thought this tweet (https://twitter.com/HackerNewsOnion/status/42071605314074214...) was a joke.
I understand what you're saying, but I don't know how you can say that with a straight face.

I don't think living a life that "isn't so bad" is good enough for the caliber of people that visit HN. And the fact that your country has "sane" and presumably "insane" political areas is creepy :(
Super Mario World re-programmed in-game
Yes, the syntax does look cleaner. I wish the documentation was a little better, but hey, beggars can't be choosers :-)
I actually also really liked that line, it helped flesh the article out to be an impromptu tutorial on using sets in python (which it still is, to a certain extent). I remember reading that sets overloaded some sensible operators a while back, but I really appreciated this reminder.

In other words, very nice of you to highlight it in a comment, as new readers wouldn't have seen it otherwise (as it turns out).
Haha, it's all designed to be poor vantage points for mass shootings :P
The captcha is a joke. You're paying a dollar or less for the game, so because a third of that goes to charity, and you're not willing to give more, then they just want to make sure that there is a human with a soul at the other end. Because all data says otherwise.
FBI Drops Law Enforcement as 'Primary' Mission
Fun article I just read on G forces because I was curious just how many G's an F1 car put someone through:

http://www.telegraph.co.uk/motoring/motorsport/7681665/Formu...
Unlimited Mickey-D's burgers? Flippin' gross, dude.
Can we put a stop to all the irrelevant gender politics articles on HN?
I am a long time Hacker News reader. I have never posted before today (even had to sign up) but here goes:

Hacker News is one of my favourite websites and I am bothered by the way in which certain demographics are poisoning its content with pseudo-tech articles that carry an antagonistic and one sided political message that degrade the overall experience of the site.

I think I can speak for most men here: We very much like females and want to see more in the tech industry, BUT, we're here because of technology. We do not care about gender, race, class, or any of those other things: these are irrelevant to technology. This new age divisionist jargon doesn't jive with the spirit of community, here or anywhere else for that matter.

I do not think a mythology of victimization is a healthy way to be a part of the tech industry and only hurts those females who are genuinely interested in participating. It breeds resentment between individuals who would otherwise be on friendly terms. I believe it causes the very problem it claims to be fighting against: If you go out looking for a fight you will most certainly find one.

I do not believe this is an appropriate forum for these sorts of articles: so can we put a stop to them?
Middle management won't innovate
Ask HN: VPS services both 32bit and 64bit running ubuntu, Mac OSX, etc.
Does anybody know of a VPS service that will let you create 32 bit and 64 bit virtual machines for debian, centos, Mac OSX, etc. I would like to make my product available for different operating systems (both 32 bit and 64bit) and need to compile some binaries for each of them.

The latest debian, unbuntu, OSX, etc. operating system is all I need. Does such a service exist?

Thanks
It's a made up term to explain global warming to the sheeple. Bahhhhhhh.
I have wondered why they're called "extensions" rather than "modules", which I think would characterize their actual use better.
So as a follow up question. What happens if a black hole falls into a super nova? And bonus question: what happens if a black hole falls into a neutron star?
Corporations can be evil, but if 5 corporations competed for consumer dollars, then there would be a lot less screwage happening to consumers. Government laws that disallow competition are the first things that need to change.

Government should be there to protect consumers from price fixing, and that's just about it.
Same here. Tried latest FF, Chrome and IE and all looked blurry. Win 8.1 with a 1080p monitor.
Show HN: Simple memorial sites, my first location independent income project
A buddy and I put up our first SaaS site today... an attempt at building location independent income.

Basically I couldn't find a decent online obituary site creator when a family friend needed one, so I put together this project to help them out. You can see a page a friend created here: http://www.memorydove.com/marleta

Any feedback would be awesome. Thanks!
Then who provides security and bug fixes for that snapshot for the ten years during which a RHEL version is supported? EPEL is basically what you're asking for, but limited to packages where someone is willing to make that commitment.

"RHEL 6 was first released in 2010 and there's still Python 2.6 on that"

Or Python 2.7 or 3.3 can be installed via Software Collections. These have a predictable release cycle- a new version is released every 18 months, and each version is supported for three years.

https://access.redhat.com/site/support/policy/updates/errata...

https://access.redhat.com/site/support/policy/updates/rhscl/
A buddy and I put up our first SaaS site today... an attempt at building location independent income.

Basically I couldn't find a decent online obituary site creator when a family friend needed one, so I put together this project to help them out. You can see a page a friend created here: http://www.memorydove.com/marleta

Any feedback would be awesome. Thanks!
The categorical imperative is strictly weaker: It's possible to use the veil of ignorance to argue against positions nobody is insisting must be made universal.

For example, "In this house, you always clean up": The categorical imperative only works to argue against this if you try to find a way to apply it to every household; the veil of ignorance works simply by forcing the members of the household to be ignorant about who 'you' refers to.
thanks for detail response :). Yea I am planning to add link to original video. I asked question to check if people find it useful or not. I guess I don't have anything to lose as far as I am learning by spending $10/month for Azure. and yes I can always open source it later.
I think mobile is actually the perfect case for this. If I'm in front of my computer, it's not that big of a deal to fire off the five or so Google searches to find the answer to a fairly obscure query.

However, I've never, ever enjoyed doing "research" on my phone. Sure, it's okay for looking up something known on Wikipedia ("what is the population of Hungary?"). But if I have to wait through more than one pageload, squint at too-small text while furiously side-scrolling so I can read a non-mobile site, and continually fix my fat-fingered search mistakes, I'm not going to bother.

And so I think this is great. Most of the time, my curiosity isn't triggered when I'm behind a computer, it's when I'm out and about and far from my laptop.
Your vision has some latency. I think it's a good bet that variable amounts of latency can be accommodated by your perception of reality.
Late followup (actually a repost -- first was lost in the Great HN Crash of Jan 2014), Stephen Breyer's article is "The Uneasy Case for Copyright". Apparently one of the most influential papers on the subject in the past 40 years.

I can't find the original online, but Wikipedia discusses it:

https://en.wikipedia.org/wiki/The_Uneasy_Case_for_Copyright
Problems :

1) How do you get at the value itself ? (Casting ? That's bad)

2) How do you prevent in Maybe<Integer> x; x == null ?

3) How do you prevent someone from extending Maybe<T> ? e.g.

public final class LetsHaveFun<T> implements Maybe<T> {
public boolean hasValue() { throw Exception("Can't touch this");
}

4) (you need a null check in the constructor)

5) (I dislike the autoboxing this uses)
Doom never made me motion sick, but I could only play Hexen for about 10 minutes at a time, and I never get motion sick when not playing a game (been reading in the car on long car trips since I was about 6).
You're taking what he said and swinging it so fully in the opposite direction it makes you look as crazy as him.

Can't we both agree that corporations and governments abuse their power as a matter of fact?
Since CentOS blindly reproduced a product generated by a corporation, I'm having a hard time understanding your argument.
I'm an American. There are some ways in which I like living here.

Would I come here if I were a Swede? Hell no, except for a $300k+ job in banking or the Valley, and only then knowing that I could get on a plane and leave if I got sick. (You can get 100-200k in the EU; at the 300k level, the jobs start getting rarer in the EU relative to the US, which is why Wall Street gets a surprising amount of French, German, and Italian talent-- if probably not as much as The City.)

If you look at the country in totality and taking into account its full history and what it has overcome, and how rapidly it can change itself when needed, the US is a great country. I don't mean to imply that I think it's better than others (I wouldn't begin to be competent in that comparison) and its history is all kinds of fucked up (genocide of native people, slavery, internment of Japanese-Americans) but there's a lot to be proud of, too.

Would I live here if I were born European? Barring an unusually good job offer that couldn't be found elsewhere, no. And any patriotic pride I might be inclined to have as an American (and I don't have much, because this country is full of assholes, too) I would just as much have if I were born elsewhere. Patriotic pride is a weird thing. I'm from rural PA and it makes me smile every time I meet a successful person with a '717' area code, and I definitely take pride in my rivers and mountains (hills by West Coast standards) but I know there's no rational reason for it; people from central PA aren't superior to people from anywhere else in any way.
Right, because a whole country is TexaFlorida and all the inhabitants are Duck Dynasty Honey Boo Boo.
One native ad “unit” to rule them all
Cool things you can do in Julia
I might find it useful if I were able to, say, build playlists from multiple sites or something.
Since when does conquest have to benefit just one party to be called conquest? If Russia and China split the US amongst themselves, would you call it conquest?
Geez, Google, you've limited my passwords to 200 characters. What gives? Microsoft allows passphrases with SAML... though at that point (>200) it might be pass-paragraphs.
WebKit uses Subversion (http://www.webkit.org/building/checkout.html). You can use Git with the WebKit repo, but it's git-svn doing the work...
Australia only has a few submarine connections to the rest of the world, it will always suffer because of this. On top of that it is incredibly low density, even in the big cities. The same reason we don't have an subway/underground or good public transport is the same reason the internet suffers. On top of that Australia has only produced a small amount of content compared to the rest of the world.
> He might have experienced our healthcare. Even if he had insurance, our system is a clusterfuck that makes everyone worse upon contact.

I'm not disagreeing with you I just need help understanding. I get a job. My job offers health insurance coverage, which most do now. I pay a small fee (<$200) per month to get the coverage. If I get hurt I go to a doctor and the insurance covers the costs in full, so long as they accept that insurance. How is this not ideal? What would be better for the tax payer?

> Or, he might be older than 30 and therefore not willing to deal with the puny two-week vacation allotment that is still socially acceptable from US employers.

Outside of tech. I've found within the industry most employers have a flexible vacation policy.

> Or, he might have children who will have to be educated someday, and see that a system that combines astronomical tuition plus fickle nonacademic factors in admissions ("extracurricular" criteria designed to give the privileged a huge advantage) is not good for their future.

Can't argue with this one. I wholeheartedly agree.

> Or, he might have lived in the Red States and be gay. Or, pardon the "he", she might be a woman. Or transgender.

Eh. I'd say this is more based on location within a state. Go to Austin Texas and you'll have a better time than many other states that are "blue".
Thinking as a physics generalist but not an astronomer, I'd describe these things as:

1. Super nova happens near a black hole. Stuff (including photons) that emanate with a speed and direction sufficient to overcome the escape velocity of the system will have happy sailing. Photons at the speed of light, massive stuff slowed down. The rest will be sucked into the hole. The result would be a directional burst that favors photons over massive material.

2. Same as saying that a neutron star falls into black hole.
Again, I still haven't heard any arguments _for_ a life in America other than "it isn't all bad" or "it isn't as bad as Hollywood makes it look".
> I guess it is not reasonable to expect KDE to stop 'being KDE', but I am a little disappointed to see that they don't really seem to have shifted their emphasis anymore in the "lightweight" direction.

What are you talking about? They are modularizing KDElibs into things that can be run outside of KDE. This is a huge benefit for anyone who wants to use KDE tools outside of KDE, which we need these days now that GTK+ dropping the ball by focusing on GNOME. LXDE is merging with RazorQt instead of using GTK+3 for this reason: http://blog.lxde.org/?p=1013
Reddit co-founder and I
Partitioning is the answer. In a repo that size 99% of the history is useless to anyone. You wouldnt manage a database like this so why force SCM down this path?

If they used git with say only the last year of history in it they would be having zero issues.
Ask HN: extendable project management tool for a 20-50 people Internet company?
I have been searching so many project management tools such as Redmine, JIRA....etc.
There are pros and cons for those software.
The redmine seems not so user friendly for a beginner although I think it's worthwhile to get used to it.
The JIRA is more beautiful but isn't free. I'm not
quite sure whether it's extendable or not.
The teambox and trello is beautiful and easy to use, but it seems that they are not good for the size of my company both.
Are there any other goods or view of points?
As an Australia who also has lived in the USA, wtf are you talking about? Yes, the USA is not perfect, but it is an amazing place, with so much support and infrastructure to get anything going. Everything is cheaper, available at all hours, and much better services (I am not just talking about the bars, I am talking about getting stuff done!). On top of that you have a supportive government towards startups, something Australia lacks.
Those are functionally equivalent, in that they both mean branching is not instantaneous.

They are not functionally equivalent. A "bzr branch" with a shared repository will only populate the working tree and does not have to duplicate the repository. It is functionally closer to "git-new-workdir" than "git clone" or "git branch".

To have instant branching in Bazaar, you can use co-located branches.

Branches with their own directories exist for the use case where the accumulated cost for rebuilds after branch switches is more costly than populating a new directory with a checkout or if you need two checkouts in parallel. They also exist in Bazaar for simulating a workflow with a central server and no local repository data.
It is digital and everything can be traced back - almost. But it is still the world of rich and famous. A similar & more severe penalty was lifted off the most popular Indian ecommerce site - flipkart. I remember meeting their head of marketing in 2011 who had no idea of the penalty which hit the site probably 2009-10.

As a user, yes I would like this site to rank up just so RG fans are saying they like RG result in google. But it is so unfair Google sends cryptic messages on webmaster for reconsideration requests but can entertain a direct call and lift off penalty. The least Google could do is to be transparent (fairness is hard)
We need to remove the local legal monopoly protection granted to cable operators and telcos.
What if your network just isn't that smart and well-informed? This works in SF where a lot of people are walking, talking encyclopedias, but what about elsewhere in the world?

This seems like it's going down the same path as Quora.
I would like to piggy back on this post to mention that I'm willing to work for Latte, especially if you also have a shower or food. I'm based in Sydney, Australia and you can find me on LinkedIn.
Citation needed

Seriously.
You comment caused me to pay $25.
Ask HN: How did they get my name?
I signed a petition on this page:
https://secure.avaaz.org/en/petition/Helle_ThorningSchmidt_Prime_minister_of_Danish_Government_Pardon_and_release_Anakata_but_even_more_urgently_provide_him_/

and to my surprise, using only my email address, they pulled my first and last name.

Does anyone know how this is possible? This could be useful to use on website signups pages.
TDD is suitable for routine, predictable projects with predictable, well described in advance interfaces.

For less predictable, more challenging, more unique, more consuming and more intensely creative development TDD is a drag.
And so is plethora of many other buzzwords invented in the last 8-12 yrs.
The health care system is fine if you can afford it. The main problem with American health care is financial, and if you have good insurance (which should come with any good job) it's fine. Not great, but on par with the rest of the first world.

Limited annual leave depends on the job. If you're in software engineering or similar, you're unlikely to have a problem. If you get offered a job that doesn't offer the annual leave you want, either negotiate for more, or just don't take that job.

I doubt your statement that a majority of the US has an extremely high murder rate. Some parts of the country certainly do, but much of the country is perfectly safe. The overall average rate is higher than other first-world countries, but that does not imply that most of the country has a higher rate. Crime is not spread out evenly.

You may want to look into why you understand things that aren't really correct, and figure out how that happened.
If they have the final say on whether you can publish they have editorial control. A request to take down a whole article would be no better in my view. They are entitled to have TOS that do this and apply it strictly (although I don't actually see the breach in this case but we can we assume there was one for this discussion).

I don't like the article and if I was editing a paper or a website I would not publish the article in that form but DO is not a publisher but an infrastructure provider and for something that is not clearly illegal it seems highly inappropriate.

However they have guaranteed that I would not use them for any public facing service or content by stepping in this way (I might consider them for testing, internal or pure compute workloads).
Australian here working for a major tech company with 5 weeks paid vacation, didn't even know 2 was standard in the US :/
Can someone give me an example of why I'd want this?
There are no free speech issues when a company does not wish to be associated with certain kinds of discourse on their servers.

As usual, it's difficult to discuss this when there's no distinction between first-amendment style free speech and the general concept of it and various interim consequences.

A site like Digital Ocean is a general-purpose hosting provider. As a general-purpose provider, their perspective on censorship and free speech is important to anyone who would be a customer of their service. "How are they going apply their ToS?" is a legitimate and important question to any user of their service. Will they be rigorous and fair? Or Will they be biased towards people who complain? Will they be biased towards certain political factions? Will they be biased towards the whims of their executives? When they apply their ToS, what recourse will you have? What is their appeal process like?

In other words, it's a "free speech" issue in the sense of "is Digital Ocean's behavior and policy adequately permissive for the content I want to host?"

This guy clearly crossed a line with the content and tone of his blog post.

How do you 'cross a line' with tone? If I am looking for a hosting provider, I am not looking for one who takes a complaint at face value, then scans my content carelessly trying to get a feel for the 'tone'. I want a specific, incontrovertible infraction that is fair and explained to as precisely as they are able.

Honestly this guy seems like a jerk to me and just from the two posts I've seen I don't like him. But it doesn't matter how I feel, it matters whether he violated the terms of service (both the letter and the spirit).
An attempt to "explain" why is in GP's 3rd link:

http://www.pnaelv.net
I would like to see touch devices start using eyetracking via the camera to infer what you are looking at and enable "ongaze" effects, which would have to be much more subtle versions of onhover. Furthermore, if ongaze, offgaze effects existed, it would be important to allow the user to disable them systemwide (i.e. short-circuit ongaze so it is never trigger).
Are you seriously saying that life in the US is terrible if you're a woman? Do I understand that correctly? Has HN really reached that level of boneheadedness?
Point well taken about the cutting force probably dwarfing external forces imposed by minor tilting.
They should be subject to regulation; they should not be granted monopolies. These are two entirely different concepts. The current system grants them monopolies, and fails to regulate them appropriately. This is exactly the wrong way round. But this is the problem with politicians: monopoly provides concentration of cash, and this can be tapped into far more efficiently from the perspective of political exploitation. Its much easier to garner a donation from a rich individual with concentrated cash, than many individuals. Likewise, its much easier tax a few firms or not with tax {X} in return for special favours. Its much harder to garner the support of the diffuse and middle classes (not to mention, even get/keep their attention). So, this is sort of a classic case of political economy in the instrumental sense...on both sides.
http://www.unodc.org/documents/data-and-analysis/statistics/...

For murder rates, North America beaten by Africa only I believe.
It seems axiomatic that there will be a never ending cycle of contention regarding the limits of government power. The government, the citizens, and lawbreakers are all in essence living beings, and as such will compete for resources. It's your role as a citizen to push back.

And the Church Commission, a partial result of these documents coming to light, had real consequences, and imposed real limits on government power.
Try jekyll with Octopress
Http://www.addthis.com/bookmark.php?v=250&pub=internet4mobile