Live data from Hacker News

printf("goodbye, Dennis");

economist.com

91–100 of 109 posts

Re: printf("goodbye, Dennis");

#92
post #51

Earlier quoted context omitted.

Let's not forget their stalwart support of war with Iraq in the lead-up to the 2003 invasion. Well-written obits and cultural pieces are one thing. Propaganda to turn the minds of Anglo-American movers and shakers is quite another.

Absolutely. And they never cloaked it in faux-objective reportage of the sort that Judith Miller and her ilk rammed down the throats of American newspaper readers under the guise of "just the facts, ma'am" style journalism. The Economist has repudiated its support for the war; has the Times repudiated theirs?

Exactly. I remember reading an article from an outgoing editor of The Economist. He said there was an unwritten rule: 80% fact, 20% opinion, but that opinion should be clearly stated as such.

I usually find the opinions quite easy to notice and consider apart from the facts.

Re: printf("goodbye, Dennis");

#94
post #90
post #43

Earlier quoted context omitted.

printf prints to standard output, which is line-buffered by default when reading from a tty on UNIX variants. This can lead to strange problems for those who try to use it to track which parts of a program are being executed, as demonstrated by the following program with an infinite loop: #include int main(int c, char **v) { printf("Hello\nJello"); while(1) ; return 0; }

Yes. You're not agreeing or disagreeing with me. Did you reply to the wrong post? Also, using printf() for debugging? In 2011? I seriously hope you guys don't do this.

Adding a newline into a line buffer (which is a user-space buffer) flushes the buffered data up to and including the newline. fflush also flushes a user space buffer. Also, the "for those" implies I'm talking about someone else, not myself.

Re: printf("goodbye, Dennis");

#97

Earlier quoted context omitted.

At the time it was far from clear that Saddam Hussein did not have weapons of mass destructions. In fact, there was ample proof he had used those weapons previously on Kurds and American intelligence reports claimed he had more where those came from (which turned out to be false, of course, but who knew). There was no way to know that Bush would bungle the whole rebuilding phase and let Iraq slide into anarchy. Hinds…

"""At the time it was far from clear that Saddam Hussein did not have weapons of mass destructions. In fact, there was ample proof he had used those weapons previously on Kurds and American intelligence reports claimed he had more where those came from (which turned out to be false, of course, but who knew).""" Everybody in the world knew, except American's watching FOX News and giving any basis on Bush era "intellig…

I debated the WMD topic in high school pre-Iraq war and the expert consensus was that Iraq had chemical and biological weapons. Arguing otherwise was a losing debate. It may have been obvious that invading Iraq would be disastrous, but it wasn't obvious that they didn't have WMD. The experts had little information and were misinformed.

The tone of your response to the OP is belittling and adds little to discussion of what experts knew or thought they knew. You think the Economist relied solely on Fox News and Bush intelligence when believing that Iraq had WMDs?

Re: printf("goodbye, Dennis");

#98
post #97

Earlier quoted context omitted.

"""At the time it was far from clear that Saddam Hussein did not have weapons of mass destructions. In fact, there was ample proof he had used those weapons previously on Kurds and American intelligence reports claimed he had more where those came from (which turned out to be false, of course, but who knew).""" Everybody in the world knew, except American's watching FOX News and giving any basis on Bush era "intellig…

I debated the WMD topic in high school pre-Iraq war and the expert consensus was that Iraq had chemical and biological weapons. Arguing otherwise was a losing debate. It may have been obvious that invading Iraq would be disastrous, but it wasn't obvious that they didn't have WMD. The experts had little information and were misinformed. The tone of your response to the OP is belittling and adds little to discussion of…

Which experts are you referring to? Pundits on tv? The president? The head of the CIA? The president had an agenda that he wanted to pursue since 2001. Him and his staff were selective in what information they believed. The director of the CIA unfortunately told the president what he wanted to hear. Pundits on television took them at their word.

There were people who said there was no evidence that Iraq had WMD, and they were ignored. This is not a case of "they did the best with the information they had." This is a case of "they made their conclusions first, and looked for the evidence second." Books that touch on this subject: "Plan of Attack" and "State of Denial" by Bob Woodward; "Legacy of Ashes" by Tim Weiner; "Your Government Failed You" by Richard Clarke.

Re: printf("goodbye, Dennis");

#99
post #47

Earlier quoted context omitted.

The difference being that there is a metric pants-load of evidence of the free market system producing better results in terms of individual wealth, individual liberty, life expectancy, and quality of life than other systems. You are basically saying that both the journal Nature and Astrology Today both have a heavy degree of dogmatism (one in the scientific method, the other in superstition) and that puts them on eq…

Good journalism in my book attempts to report the truth objectively no matter the subject. By-lines are an important part of that. It puts the author out there so his or her biases and conflicts of interests are not protected. The Economists shields its authors from scrutiny and lends its credibility to who knows who. How do I know if the writer of an article criticizing one industry doesn't have interests in its riv…

Can you give me a list of these perfectly objective sources of journalism? I'd like to read them.

Re: printf("goodbye, Dennis");

#100
post #90
post #43

Earlier quoted context omitted.

printf prints to standard output, which is line-buffered by default when reading from a tty on UNIX variants. This can lead to strange problems for those who try to use it to track which parts of a program are being executed, as demonstrated by the following program with an infinite loop: #include int main(int c, char **v) { printf("Hello\nJello"); while(1) ; return 0; }

Yes. You're not agreeing or disagreeing with me. Did you reply to the wrong post? Also, using printf() for debugging? In 2011? I seriously hope you guys don't do this.

"Also, using printf() for debugging? In 2011? I seriously hope you guys don't do this."

OK, I'll bite. I haven't done any serious straight up C programming in over a decade, and yes, I used a lot of printf for debugging back then. What's the best way to debug C programs now? (I imagine printf wasn't the best way to debug programs when I was writing C, either.) A different logging library? gdb?

Post reply on HN