skysight-inc/HackerNews huggingface dataset:
C++'s std::[unordered_]{map|multimap|set|multiset} containers all make const copies of keys. Of course, this being C++ you can wiggle out of this requirement (e.g. using the mutable keyword) but you have to be pretty insistant about it.

On the other hand, C++ containers have all sorts of other problems (iterator invalidation to name one)...

C# has the value type concept, but I don't think it's enforced on container keys.
Damn, these comments make us sound like a bunch of robots :)
Why I'm Suing Microsoft Co-Founder Paul Allen For Securities Fraud
Not sure why your comment got voted down, while the digg/reddit style supermodel comment got voted up.

I think a better target for them might be a company like loopt or whrrl. More users and a stronger growth curve.
I go to starbucks to get away from my normal work environment to work on projects or with a friend to sit and just talk about stuff. I can't see myself doing either of those things at a mickey d's
http://www.namecheap.com is solid and compares in price to godaddy and offers things like free ssl cert and making the whois record anonymous. If you search HN you will find a post very similar to this one with a lot of details.

google.com the search site:news.ycombinator.com best registrar. Or something like that.
Why go to a conference when you could watch the news on the net?

Atmosphere. A sense of belonging, and 'being there'. A band comes on stage and plays a song you like, you cheer them. A company representative comes on stage and announces something you like, you cheer them. The events are structured to be similar.
This terminology reflects the belief at the time that code could be written which could be formally verified, i.e., that such code could be subjected to a series of mathematical and logical manipulations that would demonstrate that the code either contained errors (logic errors, constraint errors, invariant errors, etc.) or that it did not and thus was thus provably correct. As mentioned in the Background section above, computer scientists (or at least programmers) do not think about programming in such terms today.

Citation needed. I know that there is a lot of programming language research that is going in this direction. It's uncommon in industry, currently, because it is hard and most programs don't need to be reliable. But, if it were easy to guarantee correct code, it's something that everyone would want. (I try to get as close as possible by using functional programming techniques. It doesn't prevent every error, but it reduces the likelyhood of "something strange" happening.)

He goes on to mention that line-by-line execution is no longer adequate. I agree, but I don't think this justifies the use of goto; it shows that we need functional programming. (Incidentally, functional programs are easier to verify than programs that make heavy use of goto.)

Anyway, I think he's gone off in the wrong direction. Goto is a very low-level construct, and it's unnecessary in high-level languages. There, we have much better control-flow abstractions, such as monads and continuations (exceptions, looping, continue/break, and function calls are special cases of continuations ).
Google Quick Search Box
I think the only way that it would make sense to buy the kindle for the technical books is if the response time is lower than your threshold of expected wait time. Or, if you typically read technical books linearly from cover to cover.
I actually had some of the same thoughts thinking how StackOverflow might work in an organization. Hopefully it wouldn't get too bad, but it could bruise some egos to discuss programming problems openly.

Overall, though, I would have liked to see a Stack Overflow inside some of the larger organizations I've worked at.

We're actually pushing into the corporate space with ErrorHelp-- but there's a lot less ego involved there (everyone runs into random unknown errors, really). Answers grow passively rather than being something people have to read each day to provide answers.
"Geeks cross into uncanny valley. Very close to human behaviour. Described as 'unnerving' by industry pundits".

Server monitoring software that cheers when good things happen, boos when bad things happen, and gasps when major changes happen, that would be interesting. Not "play cheer.wav" but something more crowdy and cumulative.
In unix, "strings corrupted_word_file.doc" should still provide almost all the text.
I don't think they speak for Google there. They're advocating things which are the exact opposite of Google's practices, like doing open-source projects out in the open so people can see your mistakes (compare: Chrome, Wave, Android, GWT).
Voting should of course be anonymous, just like it is here. The effect of this would be that votes would be a good measure of reputation because there are no politics involved in the voting, only opinion on whether the answer is good or bad.
Some significant portion of the audience's life is just about to change significantly - and they can already sense the downstream bliss. I downright cried in joy the first time I saw OS X terminal.app's ability to dynamically resize linewraps (phoo on you secureCRT), and Terminal Tabs that detach, no preset max-column-width, or even line-buffer! I was ready to dance for Joy! Imagine being hit with a whole host of those features - It would be a hard person indeed who could hold in all of that emotion.
FWIW, Perl has had goto forever, and I have never encountered it in real code. It just isn't necessary.

So I doubt this will make PHP any worse than it already is. They should really consider adding some useful features, though.
I was working for a company doing mostly COBOL programming about a year ago, and I can honestly say that GOTO can be used neatly and effectively, but it can also turn code into a horrible mess. For COBOL, it's an absolute must. There are no while or for loops in COBOL (at least not in the version we were using), so you had to replicate that with GOTO's and paragraphs. For PHP, I really don't see this as necessary.

So long as it's not widely publicized in tutorials and the like, I don't really see a whole lot of novice coders getting their hands on this. I'm not particularly concerned about experienced programmers using GOTO in PHP, especially if they've used in another language where it is more necessary.
I suppose he means something like:

$foo = 42;
$bar = 69;
$which_one = 'foo';
print eval "\$$which_one";
Gold Rushes
Gun auction site gets nastygram from trademark enforcement firm, fights back
I agree, with a caveat. It depends on who it is knowing your technical ability, and what basis they have on which to judge that.

For instance, a secretary who has a friend who is "really good with computers" who submits her resume for a job as a DBA, and that friend gets hired on the basis of that recommendation -- yes, the friend was someone I knew. I guess you could say the friend earned the job based on the criteria put forward, but not on any basis that is good for her, the company, or the DBA profession as a whole.
PHP is missing many features that good programmers need to write good code. Anonymous functions, lexical environments, the list goes on.

You can write OK code with PHP, but you can't write excellent code.

(And no, I am not implying that code is bad unless you use a lot of anonymous functions. I am just saying that it's an essential tool that you really need when certain situations arise. In PHP, those situations will have to involve hacks.)
Office 2007 doc is a compressed XML file. strings wouldn't help much against that.
These guys threatened us as well - I thought it was interesting that hiring a trademark troll that gets a cut of damages may violate legal ethics rules.

Anyone else been threatened by these guys?
Basic scientific calculator or a full feature graphic calculator? At a glance, I think I would have been able to prepare just fine for that test as a high school senior with a scientific calculator (means it has +-/*, and log, sqrt sin cos etc.), but it would have been a breeze with a TI-89 (which symbolically solves equations and simplifies expressions). If graphing calculators are allowed that would give a very big advantage to the rich or anyone that knows what a big advantage such a calculator gives.
I've never done that... Just rename an image to doc/docx and remove the top part of the file (in your favorite text editor) that could help identify it's an image. You're then ready to upload your file to Blackboard (which is terrible) so that your Profs will actually assume Blackboard is at fault.

p.s. this works even with CS profs...
We will cooperate with all investigations conducted by law enforcement authorities of the United States of America when legally required to do so. Cooperation with law enforcement authorities from other countries and cooperation when it is not legally required are at our sole discretion. Our discretion looks favorably on freedom and justice, and unfavorably on oppression and violence. Unless legally prohibited, we will inform you of any cooperation we provide to any law enforcement authorities.

NFS is probably your best choice, but it really depends on how "legal" your service is. If you're going to get a judge serving a search warrant against you, you won't be protected by any registrar. If you're being sued for libel and the judge thinks there's a good chance you'll lose, I'm guessing that anonymity will be gone.

And there are some things that people like to say are legal which are of questionable legality. Sure, we can have a long debate about whether the Pirate Bay is legal or not under different interpretations of the law, but I think it's reasonable to say that such a site is of questionable legality if for no other reason than it being a somewhat new phenomenon that, until the recent case, really hadn't seen a lot of law spelling out exactly what was and wasn't ok.

NFS hasn't been at the center of any big controversy and they're more motivated by ideals than by profits. At the same time, they can be legally required to do things or face contempt of court charges.

As a curiosity, what do you hope anonymity to accomplish? It can help you keep your private life private should people not like what you're doing, but you're perfectly entitled to do it. However, if you're doing something like the Pirate Bay, you're likely to be named, even if found innocent. Might be unfortunate, but it's kinda the price one pays for living on that edge (vs. doing something like porn where there's no questionable legality involved, but you still might not want anyone to know).

NearlyFreeSpeech has a good reputation and they believe in what they're doing, but there's no magic bullet. No registrar's officers will go to jail for you, no registrar is going to be able to shield you from the NSA, etc. If you're just looking to remain anonymous and not operating at a murky legal boundary, NFS is a good choice. If you're plotting to overthrow the government, no registrar will be able to help you.

/sorry for saying "you" all the time. I realised half-way through that the person I'm responding to isn't the "you" I'm referring to.
Can't you just take any random non-Word file that's about the right size, change the extension to .doc and you have a corrupted Word file?
I recently tried registering through google apps (via enom or godaddy.) no complaints. reg. details are made private and your mail and everything else is set-up.
5 Things I Learned From Year One In My Startup
Comcast's Incompetence Puts You At Risk
I mostly read business type books (even though I am a hacker/techie). I try to read about 1 or two a month.
Most langauges have that. It's called "catch".
Spammers will be bad, I expect that. I expect better of Google, though.
Success & Motivation - 2009
> PHP is not any worse or better than any other language.

I disagree. Consider the following PHP:

function inc_all($i, $xs) {
array_map($xs, function($x) use ($i) { return $x + $i; });
}

And compare it to the equivalent in, for instance, Haskell:

inc_all i = map (+ i)

Most languages can express the same concepts as PHP, but can do so much more clearly and concisely. The criticism of PHP is deserved: it's a very badly designed language.
Interesting.

From my experience, a McD's is just about as noisy as a Starbucks on an average day. If I want to work on projects, I generally aim more for the local, less-commercialized coffee houses.

Is there an ambiance factor to this, or is it more of a psychological distinction between fast food places and coffee houses in general? Or is there something else?
Yes, but people don't know that.
I posted it because of the interesting, if unethical, business idea. The technical bits are probably unsophisticated.
Just 10% of Twitter users generate more than 90% of the content.

On a related note, even less than 10% of newspaper readers generate more than 90% of newspaper content.
Unfortunately, a low barrier to entry:

http://www.xnet.se/fd/

Pretty funny though.
How is it unethical?
The issues greatly depend on which country you are from. Your best bet is to speak to a lawyer because the issues are very complex, at least for US citizens.
Yep, it makes you wonder "why in the world would she announce that?".
Because dodgeball, with its user base growth story, was not enough.

http://www.techcrunch.com/2006/10/18/dodgeballcom-officially...
http://gigaom.com/2007/04/15/dodgeball-founder-quits-google/

Or Jaiku.
I understand where you're coming from, but I think you already covered the counterargument to this; in the aggregate, humans may not be more effective reviewers than a purely computational system. There should always be some sort of recourse as a failsafe, but I don't think that spending more money and time on human customer service is a good idea for Google. I think it's something we'll get used to; I imagine there must have been a similar sort of discomfort when ATMs were introduced, but they're ubiquitous now.

This sort of automation is also very much in tune with Google's philosophy (and really, the history of information retrieval itself--it's gradually steered away towards using much human expert input in problem solving from what I remember) and may be the only viable option for some of Google's services given the kind of scalability they need.
In languages with manual memory management and an impoverished set of control structures (i.e. C), goto can occasionally be a tolerable tool for error handling. Once you have automatic memory management or try/catch, there's pretty much no excuse.
On second read, I think you're right. My bad.
Wait, what? A paid ad posing as content isn't trickery?

First of all, that argument would extend to adsense... What's wrong with a web publisher making ads look like legitimate content?

It'd also extend to more search results... What'd be wrong about having the first 10 results be ads instead of the first 1-2?

Oooh, it'd also extend to paid editorials. How about I pay the New York Times for a positive review of my company? Should that be labeled as an ad?

The point is that there is an implicit promise with content that it's there based on its merits rather than based on who paid to have it there. There's no victim if the ad is approximately as relevant as an organic search result-- but if it's going to the highest bidder, there's no guarantee that this is the case.
The Founders | TechStars Boulder | Episode 2 "Orientation" on Vimeo
I am from the US, as many of you are.

I have heard good things about Panama and there are also online credit card processing and merchant accounts which you can sign up for.

I'm thinking that by channeling all my sales to an offshore financial center, I can avoid a lot of liabilities associated with operating a US based company.
Here's an example of the approach used by Microsoft:

"Ireland Subsidiary

Typically, he said, a company like Microsoft develops a product like Windows in the United States and deducts those costs against U.S. income. It then transfers the technology to a subsidiary in Ireland, where corporate tax rates are lower, without charging licensing fees. The company then assigns its foreign sales to the Irish subsidiary so it doesn’t have to claim the income in the United States."

http://www.bloomberg.com/apps/news?pid=newsarchive&sid=a...

Let us know what you find. This is an interesting topic, although it is possible that the playing field will shift quickly after the current US administration makes some legislative changes.
Here's me hoping you forgot your <sarcasm /> tags
Perfect. Nailed on the head of what I was looking for: Anonymity.

My only hesitation is that I see nothing regarding USPS form 1583 (Application for Delivery of Mail Through Agent).
http://www.usps.com/forms/_pdf/ps1583.pdf

What are thoughts on this?
"Now just because he didn't have content on the site doesn't mean that he was squatting - he may have had future plans for the domain."

Oh please. That's just too easy. "Hey, I'm doing something harmful, pointless, illegal and unsavory... but I have plans to do something less shitty some day! Give me a free pass. What can I get away with today?..."
Really happy to see this being released. Have been following along the group since the beginning. Must say this is quite a lot of work for only having started at the beginning of the year.
> It's uncommon in industry, currently, because it is hard and most programs don't need to be reliable. But, if it were easy to guarantee correct code, it's something that everyone would want.

Well, the sort of obvious reason we don't / can't formally validate most programs is that we don't have a rigorous, complete, consistent description of what the program is supposed to do.
This guy makes a market rate on the value of the bank repossessing the jet. Iraqi contractors make what the US Government is willing to pay defense contractors. That's the difference.
Cool I guess, would never work for me my professors have always had a failsafe backup where online and hardcopy were turned in the same day. ESPECIALLY when using blackboard.
Five Lessons From the Netflix Startup Story
There's lots of ways to do it. My first thought:

dd if=/dev/random of=<mywordfile> bs=1024 count=1
Maybe this critical mass consists mostly of paid plants?
So....all the progress PHP has made in recent years has not been undone.....but has been rendered irrelevant. Never again will anyone be taken seriously while using PHP. It will once again be purely the domain of amateurs and script kiddies.

This is being said as someone who has created marvelous applications in PHP and has dealt with all the PHP language shortcomings up to this point. Makes me truly, truly sad.
can't you just add something like "trademarks and brands listed on this website are the property of their respective owners." to avoid getting trademark trolled?
Because you're lying to your teacher to get more time on your paper?
Learn from the best on Startup School
Some open founder interviews on Startup School:

- Andrej Nabergoj, CEO of Noovo,serial founder and young leader in the World Economic Forum

- Andrew Stephens, usability expert, founded beer menu and worked with etsy & mahalo

- Marc Jeffrey, CTO at Mahalo

- Jean-Francois Ruiz, Co-Founder of Power-on, Startup Academy, etc.

If you feel interessted .... get in touch with me via email for a private invite.
My email address is bjoern@supercoolschool.com

http://startup.supercoolschool.com
Israeli military developing battlefield robot snake
All the comments posted so far are right-- they explain why people might cheer. But nobody has really addressed the very real difference between technology and academic venues (the original poster's question).

I've only been at one academic meeting where people really let loose and cheered. It was in the late 1990s, at a conference on energy efficiency. A presenter brought a pretty fancy bike up on stage and talked about riding it rather than driving. Somebody in the audience shouted out, "Sure, but what did the bike cost?"

There was a moment of pause while everybody recognized the presenter had probably a $3000 bicycle up there. But he hoisted it over his head, stepped back up to the mike, and said, "I'll tell you what it cost... What I was willing to pay!"

The whole audience erupted in a sustained wave of cheers. It was, as other commenters have noted, an expression of approval, an outlet for their passion, and just plain fun.

In some ways, though, I think the setup for that wild cheering was the conflict that it resolved. If his presentation had started out with "This is my bike. It cost a lot, but I was willing to pay it..." I doubt anybody would have cheered. Maybe academic conferences tend to discourage expressions of joy exactly because they tend to formalize conflict, to steer it down certain accepted lines? Whereas tech presentations probably have a lot less inherent conflict that has to be channeled in order to keep it productive?
I haven't really done all nighters since college. But I certainly learned one critical point. During a normal day, you might eat three meals over ~11 hours (8am, noon, 7pm).

If you stay right up, that will be 12 hours with no eating. The drain of skipped sleep and skipped food together are much worse than sleep alone. If you're going to stay up for ~50 instead of ~16 hours straight, you need more meals in there to keep your energy up.

It's still horrible, but eating another meal or two in there will help a lot.
Note that at the time of the original termination of his account, the terms of use did not forbid use with parked domains and the service itself did not provide any distinction between parked domains and regular domains.
which is the better purchase if you had to chose, career cup or programming interviews exposed
I would say that this is probably a very bad idea. The IRS doesn't take kindly to shell corporations even if what you're doing might technically not be against the law.
They could tolerate squatting but explicitly support a secondary market powered by their credits system (and take 30%)
This is still very much a work in progress but feel free to start tinkering (and contributing!)
It's a zip format file, so it should still have correct headers to look plausible.
Lars definitely seemed put off by the lack of applause at I/O during his Wave demo.
At least one HNer is in the business of setting up foreign legal entities. I know Pageman (Paul) is:

http://news.ycombinator.com/user?id=pageman

For my business I decided to register in my home state of Virginia, mostly for sentimental reasons :-)
Definitely interesting and unethical.

I wonder how much they make though?
The Understudy Fashionista - New Fashion Perspectives
Based in the UK, The Understudy Fashionista gives her views on the latest fashions. She talks about who's wearing what and picks her favourite buys.
"That's OK. You don’t have to be right every time. You just have to be right one time."

I sent this post to my younger sister who just graduated from the University of Michigan with a degree in Industrial Design (I got to hear Larry Page speak at her commencement :-D), got engaged and moved to North Carolina without a job.

I bookmarked it for myself for when I feel like complaining.
Interesting: Apparently one's Twitter following is very local, wherever you are.
Reminds me of a story I heard a while back of a store with a few locations but only one credit card terminal. In order to process credit cards as needed they just submitted credit card info by instant message to the store with the terminal where an employee would process and respond with a confirmation message.
I think this is fantastic advice - if I were to sum up everything I've learned over the past year and a half of running a venture backed startup, it'd look a lot like this.
I agree wholeheartedly. C++ has goto, and although it's clear C++ can't learn from the past, at least programmers for PHP can be warned to use goto conservatively.

Error handling and portability of code from other languages will make PHP more widely used. That is the goal of the founders/contributors: make PHP used as widely as possible on it's features alone.