skysight-inc/HackerNews huggingface dataset:
Go to the IRC chatroom #gamedev on the server irc.afternet.org. Ask specific questions, and put up with people being frustrated by your lack of knowledge. You can quickly get the correct answer to almost any C++ question you can think of, but you have to put up with a lot of silly flaming / chest beating to get to the answer.

Seriously. I am a C++ expert (10 years and counting) and I've never read a single book on C++ in my life. Just keep programming and keep asking questions until you get answers.

Ignore fads / popular opinion if you think you know a way of coding something in a simpler, cleaner way than what most people think you should be doing for some silly pedantic reason. (If they have a point, then use their technique of course -- but if it's like "All objects should be declared as noncopyable!" then ignore it. 99% of the time, objects should be considered not-safe-to-copy, so there's no reason to bloat the code by declaring objects as noncopyable. That type of thing.)

Also, AND I KNOW I'M GOING TO GET FLAMED FOR THIS, try to avoid using Boost unless you're doing multithreading. Just because you can use smart pointers, doesn't mean you need to use them everywhere and just because you feel like you "should be". Boost seriously bloats the code (compilation times shoot way up, and there is runtime overhead as well, not to mention that if you want to send your code to someone then they need to have Boost installed to even compile it). I don't use smart pointers at all, and my code doesn't crash or have memory leaks. It's not hard to write a manager class that allocates a type of object and adds it to an internal list, then de-allocates all of the objects when the manager destructs.

Write a program in the simplest possible way you can think of to get it working correctly. Then re-write your code entirely, so that it's more readable and cleaner (and commented). Format the code using tabs / whitespace so that the code is even more readable. Then re-write it again, this time simplifying the code even further. Now you have clean, well-written C++ code.
Could someone please explain what does it do?

*{}
Website Design Horsham
Popular Web Design Company in Horsham offers assured Web Design, Internet Marketing and Graphic Design services to new and established businesses in East and West Sussex.
well, it seems to be neccessary, or they'd have been using laptops before the wifi.

you think high school is all about socializing, happiness and pancakes? have you ever been in one? have you already forgotten how it is? it's fighting and ruckus every time kids have free time and no work or toys.

don't get me wrong, the kids are still making a ruckus with the wifi. they're just doing it by typing. that's quiet, slower, not as immediate, not prone to escalation (getting your ass kicked over nothing).
The fed doesn't sell treasury bonds in fact it buys them: http://online.wsj.com/article/SB123739788518173569.html

Right now what is going on is the fed is loaning money to banks at 0%, the banks are buying treasury bonds which pay 4% and so they get free money fix their balance sheet at our expense. Every dollar the FED prints the less the money you own is worth.
Almost 6 months have passed since the beginning of the season. So it's barely more than 1 per month. Yes, it's still more than most people. But we're talking about most prolific NBA reader here, not the average one.
The source of the huge costs in medical care are the way medicare/medicaid completely dominate the market with their hair-brained payment schemes.

Medicare and Medicaid appear to be similar to the systems that most other countries (e.g. Britain, Canada) have in place to pay for healthcare (except that in most other countries everyone is covered). How do you explain that, in those other countries, the per-capita costs of healthcare are lower than in the US?
http://www.speedtest.net/result/595054175.png

99/21
I get 100 Mbit/s here in Sweden, included in my rent.
Almost like a minimalist Searle's Chinese Room :-)
If I ride down the street blowing a dog whistle and encouraging all the neighbors' dogs to bark, am I an X hacker, and if so for what value of X?
As far as you thinking I'm "dangerously wrong", well, I'm still living and breathing, aren't I? Plenty of people live without health insurance, with no problems. Statistically I'm making a safe gamble, even if I'm "gambling with an unlimited downside" or whatever.

I think we're drifting pretty far away from a HN-worthy topic here, but I just wanted to say (not ridiculing you at all by the way - I was very reckless in my early 20s), you should really stash this comment away somewhere you'll be able to find and reread it in say 10 years. If you're lucky, you'll just smile and cringe a little when you read it.
I suspect this to be between difficult and impossible to do as CSS doesn't have any way of knowing the past; I don't think there's a way to remember moves as such. All I can think of is to somehow have an #anchor for each possible configuration and to select the visible links for the next move depending on which anchor is active. This isn't really any more elegant than having a separate page for each configuration; you're not encoding any actual logic in the CSS, just the graph of possible outcomes.
One thing that certainly is true about this: there's no simple, obvious single place to tune all your Google privacy settings. I've found how to do it, but I had to look under cushions and behind the sofa, so to speak.
Why You Should Read Dating Site Reviews?
Do you use online dating websites extensively but without much success? Are you frustrated with your online dating experience? Despite spending a lot of money in dating websites are you having poor experience with your dating website? Don’t worry, you are not alone, there are many people who face such problems. If you want to overcome such problems and not become a victim of poor quality dating websites,
Man, I wish I could somehow communicate that your commenting is not up to par with what a HN comment should be. You're basically saying "you're wrong because I think so". You help no one and you solve nothing by posting a comment like that, and it really brings down the quality of the conversation.
* matches every element in the page. {} does nothing because there's nothing inside of it.
I'd like to have a default zoom depending on viewport center - it should be larger in cities than in the field. Should be relatively easy to interpolate if they log (lat, lon, zoom) tuples of how humans use the map.
Google Enterprise Blog: Google Buzz coming soon for businesses and schools
Do you use online dating websites extensively but without much success? Are you frustrated with your online dating experience? Despite spending a lot of money in dating websites are you having poor experience with your dating website? Don’t worry, you are not alone, there are many people who face such problems. If you want to overcome such problems and not become a victim of poor quality dating websites,
It is nice of HBO to actually make a show about people struggling to make money for once. But other than that it does not look very good. They are obsessed with trying to make the main characters look cool, which means a lot of stereotypes and lack of realism. So it will probably be something like entorage (which suffers from the same problem).
Google Talkabout: Google voice and video update for Snow Leopard
Spoiler alert! :)

To beat it: X in a corner, O in the centre, X in the opposite corner. O's move of course must not be in the centre or any of the corners; that way the second O can be placed such that the third X is forced to be in a bad spot.
I'm not sure universities and start-ups matter that much.Israel is great at doing start-ups , probably better than the u.s.(at least at start-ups per capita). but usually the start-ups get bought by multinationals, so they get the job creation and economic power that comes with those innovations. not necessarily Israel.

While historically most big multinationals were centered around the u.s., this might be changing. The shift in multinational jobs to outside the u.s. is one datapoint. and the rise of strong non u.s. multinationals is another.just look at the Chinese green energy sector.

And take into account that change today is much faster then at 19 century Britain.
Not really encoding logic, true - but perhaps a more compressed representation would be possible. I am not sure one would have to list every possible configuration.
But it's not too hard to remove them.

The way the Buzz settings found my contacts and added them was perfect, because I use my gmail account frequently with my friends -- I'm right in their ideal use case.

This person didn't -- either she could not have "Okayed" Buzz at all and there would be no issue, or once she saw that it added all the wrong people she could disable her sites and then not post to it.
Presumably the Clojure compiler emits MSIL. You can emit whatever instructions you want, even if the host language's compiler doesn't emit those instructions.
"I agree that the metaprogramming stuff in C++ is not something for beginners."

Or even for most programming problems, in general!

Templates should be used when you are writing a container class. That's about it. Using them for crazy hard-to-read and hard-to-debug metaprogramming purposes is just irresponsible.
Slick. Love it.

Though... call me paranoid, I wonder if anyones ever just taken off after having the vendor give them the iphone for signing/receipt.
I'd like a clarification from somebody who uses Reader / Picassa. Is any of the stuff that's suddenly available to following people actually private, in the sense of impossible to access? Or simply "obscure", i.e. if you know the username and look for it you can find it?
I'm trying to understand how this is a problem. Surely, it doesn't matter who is following you, as long as you don't post through Buzz. This sounds like someone complaining about wierdos following you on Twitter. Nobody is forcing you to tweet. If you don't want to publish your life to the world, then don't.
Sure, but most apps seem to request several permissions. I had a Game Of Life emulator that wanted network access and what not. I decided not to install it, but in many cases, the permissions don't seem fine grained enough. For example a lot of apps have legitimate reasons to access the network - how am I to know that they only use the network for benign things?
Right. It is. But, what I'm saying is that BSD doesn't make it any more easy for others to maintain than the GPL does, like the article suggests.
I seem to remember that there are several places in Japan where you can get it from a commercial provider.

I also remember being envious of some friends up north in Sweden in Luleå that lived in some sort of student apartments where they had 100/100Mbit connections back in 2000 or so, and I think they got upgraded to gigabit, but that's sort of special since it was subsidized by the university to attract students.

You also have people like Peter Löthberg (heavily involved in connecting SUNET to the internet in the 80s) who installed a 40Gb connection at his mother's as an experiment to see how she would use it.

Anyway, there's very little general availability, there's a few limited municipal networks that have the capacity for gigabit. 100/100Mbit is available for a lot of people, and everyone living in a larger city can get 20/3Mbit dsl or cable or similar.

I saw that one cable company has started rolling out 100Mbit, so that'll pressure the existing 100Mbit providers to up their bandwidth.
TechCrunch integration with Google Buzz
check out this school bus in Japan. You'll be shocked:

http://imagebin.org/84498

http://imagebin.org/84499

http://imagebin.org/84500
Comodo Verification Engine, Internet Fraud Detection Software Videos
Protect your PC using Comodo Verification Engine from phishing sites. Watch the informative video about Anti Phising here.
Out of curiosity, is it not possible that all these people are just making/perpetuating a joke? You know, improv' everywhere style, or just to have some fun?
I know we all hold ourselves so smart and above the 'masses', but come on, no one wonders? And so many people leaving comments where 99% of a website visitors never leave a single comment?
I know a pretty good pixel artist, if that's what you're looking for.

He made the tiles used in this game of mine:
http://skirmishzone.com//data/maps/previews/office_126298036...
I just wanted to post that I completely agree with you madair. Good for you for posting a comment even though you knew it was probably unpopular and would be mob-downvoted. I think it's a shame that HN makes it seem like your point of view is stupid and that it shouldn't be posted. That's just not true -- you have a very good point, even though it's an unpopular opinion.

HN really needs to cap the downvoting threshold to 0, not -4.
Lua shines at interfacing with C; it's useful when you've got a high-performance engine in C or C++, and want a friendly programming interface to control it.

That's obviously the case for games and their 3D / physics engines, but Lua is steadily gaining momentum in the embedded devices world, where CPUs are also pushed to the limits of their (lesser) capabilities.

Web developers have already put most of their high performance wizardry in their SQL engines, and already have standardized/comprehensive APIs to these databases; I don't think Lua would bring them much, and certainly not enough to compensate for the loss of Python's or Ruby's existing web-friendly libraries.
This is certainly true.

Another tip besides DeviantArt: look on forums for mods of games that use the style you want. These forums have tons of talented amateurs.
Not sure I agree with that. While in theory, anybody could apply this advice equally well, there are certain types of people who are too far down the rabbit hole to properly process feedback.

For us, it's definitely been very helpful to have a non-technical founder on board, someone who can push for problems to be solved even when they're inconvenient (or technically insignificant), because they don't code on a day-to-day basis.

I suppose this is more a case for a "savvy product guy" than a "business guy" per se, although both refer to non-technical people.
I would love to be the kind of writer who could communicate something like this across a ten-year life experience gap, but I know I'm not - it's actually quite a bit harder than it sounds.

One last try though, I guess ;) From my perspective, you're arguing "I'll be lucky", and I'm just saying "you might not be". That's it.
Users use Applications. Applications use Clouds.
Edmunds.com expects Toyota to lose a full percentage point of U.S. market share
I couldn't disagree more. Maybe the pundits would have told them to go get a regular job, but the users were clearly very passionate, or they wouldn't have continued iterating and developing the product. Believe it or not, there were a ton of people who got very addicted to twttr when it first came out, and I'm absolutely positive that, without their feedback, the product wouldn't be the massive success it is today.
Then don't post the comment in the first place, if you're not going to at least try.

That's my point. Posting comments just because you feel that you're right doesn't help anyone. It makes the person you're talking to feel annoyed, and doesn't change their point of view. And if your opinion happens to be the popular opinion, then that will incite a mob downvote of their (possibly insightful or interesting but unpopular) comment, and a mob upvote of your useless "I'm right because I'm right" comment. It's demoralizing to spend a lot of time crafting a comment, only to have it mass-downvoted just because it's unpopular, and to have some thoughtless reply massively upvoted just because it's popular.

I mean, you see where I'm coming from, right?

It's this kind of train of thought that's destroying HN. The thought that it's okay to not put in effort into commenting. The conversation on HN is where the magic is at -- if the conversation goes to hell, then HN is doomed.

And thank you for trying to communicate your position, even if it was just a single sentence. As far as my response, well... I really don't see a significant chance of me getting hurt. I'm basically paranoid when I drive, and a car accident is pretty much the only thing that could seriously injure me. Health insurance is $300/mo that I just don't need to spend.
Open Letter to Google about Buzz
Open Source Ecommerce PHP Softwares
> Illegal by whose standards?

The law of any country anyone would consider civilized. Including Germany, Denmark, Lichtenstein and Switzerland.

> In this case Germany has a right to the information.

Well, states don't have rights. Their citizens are required to hand over the information, and the government is entitled to punish citizens that fail to do so. But that's a minor point -- Yes, Germany is entitled to that information, but they don't have a right to break the law of another country to get that information. What happened to Lichtensteins right to sovereignty?

And what if it wasn't tax information, but information on ethnicity? Seriously, information about citizens that one government "has a right to", that another government doesn't mind helping you conceal. Not to bash Germany in particular, but we have privacy laws for a reason.

I'm not a fan of tax-evasion, but tax collection is not, in itself, such a holy venture that it warrants any means.
Can we really do without Java?
I wish I could look poke around with the settings and give some advice on how to avoid this... but I can't even get buzz to show up with a gmail domain account. Anyone else have integration issues between domain accounts, premium accounts, and plain gmail accounts?
Author steeped in Berlin's underground sampling culture accused of plagiarism
Google Polishes Chrome Browser For Apple
Speaking of Facebook, I had a client call because he said he couldn't login... due to the fact he thought the "add friends using your existing email contacts" message he was seeing after a successful login was a failure screen. He continually reset his password for a week before calling, wondering why it didn't work.
<sigh> .. I'd like to say "mu", but here's a bit more. If your project has enough idiosyncrasies to demand C++, then you are best placed to attain guru status in that aspect. So don't listen to gurus and build your own "idioms". The language is bloody flexible for a low level one.
To clarify, I meant "Don't listen to gurus. Build your own idioms instead."
I'd wager a guess:
Greed?

So much for do no evil...
Every once in a while, I used to think, "What about Lua? Wouldn't Lua be nice?" Then I would start reading the docs, and stop when I came to the "local" keyword. Ick. Variables are global by default, you have to explicitly label local bindings. If any scope is the default, it should be local scope. Accessing an uninitialized variable is also not an error. Chalk this up to personal taste, but this reminds me too much of bad experiences in bash scripting. The languages I prefer: Python, Haskell, C, Scheme, Common Lisp... never play so fast and loose with where your variables go.
I know that the English language evolves fast, but 'Softwares' should be Software.
The thing is that the bulk of the market is remarkably non-tech-savvy. If Bing became the default search engine on Firefox it wouldn't alter my searching habits at all, as I'd just set it to Google instead.

However for the nontechnical majority, if it still returned the results they wanted there's a good chance they'd never get around to solving the hard problem of switching default search engines.
That's it, bring back manufacturing by creating higher quality products than the Chinese. Surely most of those jobs would be higher level support to robotic assembly lines. But the Chinese have set a wonderfully low bar for quality. Furthermore higher quality products are "green".

I'm fed up with purchasing crappy products. I want a store that charges 50% more but guarantees purchases for life (kind of an anti-walmart (except for the profit part ;)).
Linux Mint - Fluxbox edition released
There are several different ways you can do batteries in these things. You can have the normal battery or the fattery. You can also add a battery in the ultrabay spot. Fattery + ultrabay battery would get pretty close to 10 hours.
Basic Guide to Essay Writing
This is pretty much how I use google, and yet I'm a coder. We seem to be assuming that these are only non-technical users. I find the quickest way to get to what I want is usually through a google search rather than visiting a site and browsing around within it trying to find the feature or content I want. Basically I've adopted the search interface as highly more efficient than most user interfaces within most websites.

However I do actually read my search results and refine my criteria if necessary rather than just clicking on the first link.
Game theory, video game piracy, and market failure
>But in an environment like 4chan, all that is stripped away. No status games, no authority, no obligations, no expectations.

You know I here that one a lot, but really /b is a perfectly addictive status game. There are right and wrong responses to a situation, which you only learn if you hang out for a bit. Get things right you get praised, get them wrong you get flamed. The anonymity lets you take the praise to heart and basically ignore the flame. It's like tetris or peggle, when you fail you can blame it on the random nature of the game, but when you do well you can claim it was skill.
/b is absolutely FULL of status games, obligations and expectations. What emerges is a game of one ups man ship and me too isms played 24/7 that has no bearing on honesty or the participants actual thoughts.
yes. domain accounts are considered "business" accounts and do not get any of the new features until they are proven out -- we're usually on a 4-9 month exciting feature delay.
Exactly. And that's one of the things I love the most about chrome. The traditional address bar for me at least has almost become obsolete. And I love that chrome uses the address bar instead of a second search box. And it's also what I hate about jumping on a friend's PC who's using IE... Bing as the default is just plain terrible.
Indeed. It's telling that even though the default search option (through the search bar and the default homepage) for every IE browser is an MS search site the marketshare for MS search is so low that at most 25% of IE users use it. Maybe that's because a lot of people who use IE don't search as much as people who use other browsers, but ultimately that's irrelevant.

Every indication is that people who use search prefer Google (and to a lesser extent Yahoo) over MS search by an overwhelming margin, regardless of the defaults. Switching to a less popular default search site for iPhone users is a certain recipe for user annoyance and customer dissatisfaction, and hardly some grand sweeping strategy that could pull Bing's popularity out of the doldrums.
Isn't that something Chrome / Safari / Opera are doing well now?

Top Sites is going to show facebook as the first link - in a big box called facebook, as soon as they open their browser..
And yet somehow for a while I had a personal account linked with my domain account, but the passwords were different... The behavior isn't that of the least surprise I've come to expect from google.
Aviary goes from freemium to 100% free.
Mosquito Getting Killed By a Laser
Effective C++ from Scott Meyers (and the serie: More effective C++, Effective STL) are the first book that showed me the difference between coding and writing good code in C++. I strongly recommand it.
The $14.99 E-Book: Publishing’s Salvation, Or Just the Last Nail in the Coffin?
Could you tell me why ? After all, pdf is an iso standard.
I agree. Variables being global by default (without the var keyword) has been the source of countless bugs in JavaScript.
Frisbee inventor dies