skysight-inc/HackerNews huggingface dataset:
I work with both C and C++ regularly.

I don't like C++, but I like C.

Counterintuitively I think the underlying reason is that C++ follows the exact same philosophy as C. For all of the following statements you can replace C with C++ and it is equally true:

Every feature X acts in such a way to make implementing it at the time of its invention as expedient as possible

The best heuristic for guessing how a feature you don't know (or forgot) works in X is to say "let's imagine X was just as it is now, only without this feature, how would I implement it?"

All of this means that in order to be a competent X programmer, one ought to be able to write an X compiler without too much outside help.

I could go on and on like this, but hopefully you get the point. Now it is clear that the philosophy for X works for small languages (like C) but could easily have scaling problems (like C++).

It also becomes clear why so many places subset C++, but don't pick the same subset. The problem isn't that some feature is broken, the problem is that there are too many features without an overriding rule that most people can apply. I would also believe that Bjarne Stroustrup can be quite effective programming C++ since he knows the language intimately enough.
I had the reverse reaction to the idea. There are few things I'd rather touch less than someone else's smartphone. I mean, these things seldom get cleaned, are often used on the toilet, and can host viruses and bacteria for long periods of time.
Google+ fills a void for me most similar to a mix between Twitter and HN. The discussions are what makes it shine.

Why doesn't this happen on Facebook or Twitter? Here's what I think:

For most people, Facebook is just the wrong context for intellectual discussions.

Similarly, Twitter's medium and user interface are too limiting to have quality discussions since there is no centralized concept of a post. It's just a sea of tweets, retweets and reply tweets that you have to track if you want to follow the discussion.

A lot of my real-world friends are on G+ but that's really only an ancillary benefit to me because I can direct share things to my friends in 1-click from anywhere on the web (e.g. with the +1 Chrome extension). G+ would still have value to me without them, honestly.
Flipkart launches music store.
You said "the glorifying of bombing/shooting children at close range. (No, it is not the Israeli side that do that.)"
Thereby condemning the whole Palestinian "side" on the basis of unspecified "people".

I pointed out that the Israeli side do do that too. You then claimed it was only "some"
Israelis. I pointed out that in fact it was the people pulling the trigger. And I provided references.

And I never claimed that every Israeli glorified that; in fact I have referenced Israelis who do not.
So in fact I have nothing to answer you for.

However, you have to answer for smearing the entire Palestinian side without providing a single reference.
Apart from unsubstantiated assertions, the information content of your posts has been nil.
I will charitably presume that you meant to condemn Hamas.

In that case, let the facts against Hamas stand. And let the facts stand about the Israeli destruction of Palestinian infrastructure - which was the original topic. Readers are smart enough to make up their own minds.

I don't need to "debate" you point by point, especially since you go off topic and into ad-hominems.
And Hacker News doesn't need your permission to cover topics you are uncomfortable about.
G+ is what it is because it can't compete with Facebook. At this point they're rolling with whatever they can get and it seems to be a sparse tech savvy crowd that only logs in because the service is ran by google.

It really doesn't do anything that people don't already get from forums/facebook/twitter/linkedin.
It works pretty well for me.

My feature wishlist:

* iOS native app
* nested playlists
* smart playlists
* playlist pictures
* playlist export
* gapless playback
* built-in scrobbling to last.fm
* volume control in android store
* music manager instant recognition
I don't like C++ but the FQA isn't a very good critique of it. It's basically "Why didn't Bjarne write the language the way Yossi would have?"
I don't see this. You can have a container of pointers in C++ just as you can in C. No special ownership semantics is assumed, nor do you have to decide which is the "owner" any more than you do in C. Or the problem is the same, at any rate. Plus you're not constantly casting <void*> to things.

You can have a container of smart pointers, too, if you really don't want to think about ownership.
Using social media to predict the Oscars
Can someone do a Captain Planet like feature.

All users hold their phones in one hand. Put their phone-holding hand in the middle. And then, all together, raise their hands at the same time. (Think awesome team building morale boost.)

You would get:

1. The history of which elements were around you during such Captain Planet amazingness.

2. The contact information for whoever possesses: Earth, Fire, Wind, Water, and everyone's favorite... Heart.

3. The location where Captain Planet should find you.

4. A clear reminder you grew up in the 90s.
So, what happens if the hackers provide more then $1million in exploits????

I mean, "giving rewards until reaching $1 Million"...

Yet, there will be more exploits, there will be more vectors vulnerable to vendetta.

Whatcha Gonna do Google?
Technically you can do tricks like that with the C preprocessor, though it is a bit ugly and lacks automatic instantiation.
Sorry for not disclosing I work on ChronicDB.

The author of the 6b article kindly provided more information about the time it took for the migration:

http://news.ycombinator.com/item?id=3621561

A couple of limitations of the Percona tool are related to changing data in tables with ON DELETE and ON UPDATE foreign key constraints and possible lock-ups of tables. It is a bi-directional replication tool, so it has to deal with the master-master replication case and as such does not guarantee data consistency.

Still the tool is helpful in many cases and congrats to Percona for developing it. Replication safety is a non-trivial problem in general.
View Source on President Obama's campaign-website for an ascii-art easter egg
ChronicDB is not only a hosted solution. It also runs locally.
Socio-cultural values.
Japan has totally different values from the US. China, same.Apparently that does not prevent them from all being prettu successful economically speaking.

Religious beliefs.
Huh ? Japan, China, same as previous point. Totally different from Europe or US. But otherwise pretty successful countries. Where's the correlation between economy and religion?

Natural resources.
Japan has no access to natural resources on their land. Singapore has no resources. Luxemburg has no resources. Switzerland has no resources. Holland has no resources. Funny how all those countries have rather healthy economies.

Foreign policy
Agree on that one. But policies which do not support free exchange of goods tend to do rather badly. Cuba, anyone?

Domestic policy
Domestic policy in China and in the US are totally different - you will find very few common points there. That does not seem to impact significantly their economic success, at least on the short term.

Monetary systems
You have a point there, but since all countries have abandoned the Gold standard for long, basically we are all on fiat currency currently, no matter in which part of the world you live in. Money is now paper everywhere, it's hardly a differentiator.

Infrastructure
Infrastructure usually derived from an economic system. It's when you have a growing economy and growing needs that you worry about infrastructures. Building roads and airports when people are starving is useless.

So, not many of the things you mentioned matter at all, I'm afraid. But feel free to prove me wrong.
I actually no longer keep CDs. Since no one sells lossless music, aside from mostly indie artists, I purchase used CDs, which I then rip and throw away (Amazon is a great source for used CDs, by the way).

I like having lots of music, and paying for it, but I am not a fan of owning a physical CDs.
Machines have been replacing jobs for over 200 years now, but I don't think there's been a huge increase in unemployment over that period. We've always managed to invent more meaningless and repetitious tasks for ourselves to do. One might say that most office jobs nowadays are like that, too. Factories replaced farms, cubicles replaced factories. But usually this happened over generations, so people had a chance to adapt.

If, at some point in the future, so many tasks get automated so quickly that there aren't enough jobs for the majority of this planet's featherless bipeds, we might finally get a chance to rethink the age-old rule that a person must work in order to survive. Work might become something that you only do because you like it, or because you want a higher income than whatever the default is. I only hope that outdated ideologies won't get in the way of such a paradigm shift.
Will google ask apple money for pointing out cookie logic vulnerability on safari ios?

Tum dum tisss
I actually think the simplicity of monochrome suits the iOS home screen (and also the simplicity of the iPhone's lines) much more than I imagined.

That would be really interesting to try out as a theme for iOS.
If I want to post publicly to my "followers" (people I don't know) I use Twitter, if I want to post to my friends I use Facebook, for me and almost everyone else I've spoken to Google+ offers no value. I still don't understand what Google was thinking with +, it offers nothing to most people. The only good feature is hangouts which could easily be a separate product.

I have around 150 friends on Facebook and I see a new time line "story" every 2 or 3 minutes (average). I follow 40 or so people on Twitter and see about 1 tweet per 15 minutes (average) and on Google+ I have 44 people in circles and there are only 3 people that actually post anything, it averages at 1 post to my "feed" per day. It's abysmal.
Of course, customer support is different from packing goods, which makes this flawed. I think a lot of the problems comes from companies treating customer support as a cost.
Amazons credit card through chase is 3% on purchases at amazon.com, 2% for gas at most locations and 1% on everything else. Where the cash back works out is on things you have to spend money on anyway and can't get cheaper, gas being a good example of that. Our gas expenditures for last year resulting in about $100 in points on $3600 in gas. Using my debit card would have simply resulted in $3600 in debits.
Are you kidding? The US has had its hands on oil and other resources the world over, ensuring favorable prices, preferential treatment and US petrol companies' control over oil springs. To the point of overthrowing governments, including Iran's democratic one back in the day, when they took a oil policy they didn't like. Here's a small example:

Iraq's massive oil reserves, the third-largest in the world, are about to be thrown open for large-scale exploitation by Western oil companies under a controversial law which is expected to come before the Iraqi parliament within days.
The US government has been involved in drawing up the law, a draft of which has been seen by The Independent on Sunday. It would give big oil companies such as BP, Shell and Exxon 30-year contracts to extract Iraqi crude and allow the first large-scale operation of foreign oil interests in the country since the industry was nationalised in 1972.

http://news.independent.co.uk/world/middle_east/article21325...

or:

The Carter administration – the most “idealist” of the post-World War II presidencies in terms of its rhetoric – openly acknowledged in National Security Directive (NSD) 63 (and after the Soviet invasion of Afghanistan) the need to ensure “the availability of oil [from the Middle East] at reasonable prices.” Carter’s administration announced that any “attempt by any outside force to gain control of the Persian Gulf region will be regarded as an assault on the vital interests of the United States. It will be repelled by the use of any means necessary, including military force.” This policy of targeting unfriendly governments that reside in regions tangential to the Middle East was further reinforced in other official policy documents. In discussing U.S. policy, the Reagan administration explained in NSD 27 the need “to ensure the U.S. access to foreign energy and mineral forces” as a key aspect of “national security” priorities. Carter established a similar concern in NSD 63, discussing U.S. interest in dominating Middle Eastern oil as also extending to the “horn of Africa.”

(...)

Policy motivations – simply put – have long been driven by concern with dominating Middle Eastern oil supplies by force, and with support for repressive, U.S.-friendly regimes in geographic areas (such as North Africa) that are tangential to the Middle East. With regard to oil concerns, President George H. W. Bush articulated U.S. policy toward the Middle East, explaining in National Security Directive 26 that: “Access to Persian Gulf oil and the security of key friendly states in the area are vital to United States national security. The United States remains committed to its vital interests in the region, if necessary and appropriate through the use of military force, against the Soviet Union or any other force with interests inimical to our own.”

http://www.counterpunch.org/2011/10/24/what-the-establishmen...

or this:

http://www.salon.com/2011/06/11/libya_9/singleton/
How to Make Your iPhone 4/4S Dual SIM Card
The fact that he leads with "language X sucks because it attracts type Y programmers" is quite possibly the worst, cheapest, and lowest attack I've ever seen in technology.

We see a similar point being made against Rubyists and Rails developers on HN quite often, alas. And, worse, in the "I'd learn Ruby but it seemed like there was too much drama" crowd.
I agree that find simplifies things, but I feel the ability to label is still important.

Just as I may need to "label" an email message from my boss telling me to do something, I may need to label documents by course.

Without labeling you lose (re-)discovery. I may want to read everything I wrote for a philosophy course a few years back. If I don't remember what I wrote about (and I don't), I can never find things again. (This has happened to me a lot with finding gmail messages)

As for files, the result of your search is just files. You need to be able to do multiple actions on them (use different programs).

So yes, our existent file managers are a bit limiting. They should focus more on labeling files (e.g. gmail) then folders. Search is already well-integrated into most operating systems. But in the end, at some level, you still work with files.
The term ‘Data Science’ existed 10 years ago [pdf]
There is no need, many online tutorials' sites are there. You will end up just by adding an another site on the stack.
"It does make me wonder though how he's able to get away with responses like that"

The man delivers.
I think freedom of expression plays a role somewhere, but not sure how critical it is in order be successful economically. If you take a look at China, again, if you vocally oppose the government you would end up in prison pretty fast, but that does not prevent people from engaging in commerce with relative large freedom. Commerce and Freedom of expression are not necessarily tied together.

Though, on a libertarian point of view, I agree that freedom makes sense in all aspects of life, not only in economic affairs.
It's the 1950s. There are a hundred jobs. Many women are expected to stay home, so most jobs go to men. Of those 100 jobs, most are occupied by men.

Fast forward to 2012. Productivity has risen due to technological innovation. Old jobs eliminated. New jobs created.

Between population growth and productivity gains, let's assume that there are the same number of jobs per capita for the adult population. Many women are now working so the adult working population has probably doubled relative to population growth.

The jobs that pay the bills are now distributed among both men and women and don't just go to the men by default.

By arguing for equal rights and equal pay, women have also gained equal expectation to be the breadwinner and to be the pursuer in sexual relations.

Complaints like this are absurd. It's simply a "market" becoming more efficient.

Women cannot be simultaneously upset about this without also be upset with equal rights to labor without being contradictory. To do think otherwise it to want to have your cake and eat it too.

If you are interested in this article, read up about women and part-time work in the netherlands. Fascinating stuff.

http://economix.blogs.nytimes.com/2009/09/08/why-do-so-many-...

Regarding this article from Philly mag: I 100% agree with John Mayor's sentiment about porn and women. Porn is oftentimes more satisfactory than sex with most women. Some women are exceptions, but in my experience many bring little more than looks to a sexual relationship. Sex with most women is often more trouble than it is worth because of all the expectations involved, emotional and financial. I've met women with jobs that still have expectations that men pay for things.
Google+ also works for me. 90% of the content in my stream was not published publicly though so it wouldn't look like there's anything going on to an outside observer.
I guess what he meant was signal to noise ratio, i mean, Aplayer/Cplayer ratio. Too many Cplayer programmer start learning c++ without any idea how cpu and memory works, if you let them to mess with the kernels it would be a nightmare for Linus.
This looks great, but (as many others have stated) the Facebook only login is a deal breaker. I'll check this out as soon as there is another method, which I hope is soon.
Nice color scheme, but the labels need more contrast
I cleaned up the input a good deal by studying a much better image of the coded message (url in code and below). I also left the lines/rows as they were written, and added block/paragraph delimiters.

http://pastebin.com/6EfmSpyi

Though I might not still be alive in 25 years when he gets out of prison, I still didn't think it would be wise to automate the correction of his spelling and grammar. ;)
I stand by "people copy success, not ideas."

All ideas are stupid until proven successful. By then, copying is too late.
I don't think comparing developers based off the achievements on Coderwall is helpful either.
Live is too short to justify not having a little chuckle at the expense of your detractors.
This is actually an even easier problem than what the blog wrote about.

On facebook at least, any photo of you is extremely likely to have been uploaded by a friend or mutual friend of yours. This vastly limits the number of possibilities to the point of this problem being tractable.
Of course I downvoted him because I disagreed with what he was implying! Downvotes are not just for burying trolls, but meant to be a mean of expressing how much you agree with a comment (the opposite of an upvote).

in the last part, my emphasis was on the word everything. If you divide that comment into two different comments (first being 'misleading article' and second, (implicitly) 'I don't want to learn CS, though I write code in JS regularly'), I'd up vote the first and down vote the second comment.

It is true that his decision does not affect anyone else, but I don't believe that even such decisions can't be criticized. And I'm arguing that his decision of not wanting to learn a dialect of a language he uses on a daily basis (that would take a very short time) is not a good one, and is un-hackerish. If he had taken time to learn and have decided that CS is not for him, I neither would've down-voted him, nor would I comment on his decision.

I'm sorry if I wasted your's or any one else's time by my comments on this unimportant matter. I know that HN's comment section is meant to be a place for constructive arguments, but I couldn't help it. I read that an unseen friend is doing something that I think is really wrong, and I can't help mentioning it.
git rebase -i can handle your last request (interactively combine/remove/move history).

In fact, git can also handle your second wish by having simply creating a "sync" branch pointing to that extra commit, then when you switch to between your laptop and desktop, pull the sync branch, check out the commit (apply it to your working directory), then switch back to the master branch and continue working (the commit never appears in the master branch).

Git rebase would handle the "forced commit on merge with no meaningful conflicts".

hope I don't sound like too much of a fanboy :)
POS
Affordable, easy use POS systems. Call Vectron now for more information on how an effective POS system can help your business.
Congratulations on the success, I'd love to subscribe to the print version, but the delivery costs to New Zealand are 95% of the subscription cost.
> And you know what changed ? Their economic system.

So the thing that we should all aspire to as a species is the venerable Chinese sweatshop? The 'perfect storm' of capitalism, anti-unionism, and corporatism?
Wow. That's huge. I prefer just comparing the square of area (so it's only 4 times as good as a 4S), but still ... wow.

By my standard, it's 90% the quality of a u4/3. 81% the area. Close to a full frame D5 than an iPhone.
I haven't worked closely with Torvalds, but I have worked with other OSS project leads that have such asshole responses roughly proportional to the popularity of the project, and have a theory on it.

I don't know if it's intentional or not but many OSS project leads respond like this to questions that come up a lot but don't merit a response. How many times do you think Torvalds has had to field "questions" of the form "C is crap, you should use C++, it's like C only better!"

To a certain extent it is garbage in, garbage out, if you ask a stupid question, you get a stupid answer.
I'm pretty sure it was Tim Cook who gave the talk but because I don't remember exactly, I didn't cite.
Start-Up Chile 2012 Application
I subscribed to the print edition from Australia. You get digital-only access to the back catalog. The exchange rate makes it around AUD$165, which is less than $14 an issue.
The biggest differences are that Haskell defaults to lazy evaluation and OCaml defaults to strict and that OCaml allows you to mix in imperative code without explicitly using constructs like monads.
Amazon Prime is simply the best deal on the Internet for consumers.

I've been a Prime member since its inception and am always amazed at how much time and money I save by not having to leave the house to shop.

Books, electronics, cleaning supplies, toothpaste - anything I can get through Amazon, I get through Amazon.

Bonus - now the Prime membership includes Amazon Instant Video.
I think this is a great idea but i really do find the price ($88 + shipping of $42 to Canada) a bit high. I'm sure a lot of effort goes into this so i'm not saying its not worth it, i'm just not prepared to pay this much given that there are many other magazines out there (with less direct inspiration, so i can only assume they are harder to generate) that are a lot cheaper.

Having said this, well done...im very glad its working out and turning a profit.
I refused to license something to Lim and it had nothing to do with wanting to be paid.

I just felt weird taking a comment in a conversation and turning it into a standalone piece, isolated from the context. Not sure how I feel about it now.

I also thought that the audience for his publication was going to be smaller and less interesting than the audience on HN itself anyway. Clearly I was very wrong. Sorry for doubting.
How to square numbers made up of repeating 9 in less than 3 seconds
If you have to ask why violating an NDA and lying in the context of a financial transaction (aka "fraud") are abuses, no one will ever be able to explain it to you.
Not sure why this got downvoted. JoCaml is actually an implementation.