Forgot your password?
typodupeerror

Comment: Re:What are comments? (Score 2) 593

by coder.keitaro (#18665341) Attached to: Do you document your code?
I would have written it something like as follows (seeming as I hate the goto statement)

/* Intrinsic ctty (2002.0505) */
void int_ctty (char *filename)
{
int file;

file=open(filename,O_RDWR|O_APPEND|O_TEXT);
if (file && isatty(file)) {
redirin(filename);
redirout(filename,1);
} else {
fprintf (stderr,"Invalid device\n");
}
if (file) close(file);
return;
}
but I guess it all comes down to a matter of personal style.

Two Worm "Families" Make Up Most Botnets 176

Posted by CmdrTaco
from the why-can't-they-fight-eachother-instead-of-us dept.
JMoon writes "HNS has an article about the Sdbot and Gaobot families which are responsible for most botnets worldwide. These two families were responsible for 80 percent of detections related to bots during the first quarter of 2007. Other culprits, although on a much lesser scale, included Oscarbot, IRCbot or RXbot."
Power

+ - Will nanogenerators replace batteries?

Submitted by
Roland Piquepaille
Roland Piquepaille writes "Researchers at the Georgia Institute of Technology have built prototypes of a nanogenerator providing continuous electrical power by "harvesting mechanical energy from such environmental sources as ultrasonic waves, mechanical vibration or blood flow." According to the scientists, the prototype could produce as much as 4 watts per cubic centimeter. This should be largely enough to power a broad range of nanoscale devices used for defense, environmental and biomedical applications, including biosensors implanted in the body or nanoscale robots. But will these nanogenerators be able to power bigger devices, such as our cell phones? The researchers think it's possible. But read more for additional references and an image showing how these nanogenerators are driven by ultrasonic waves."
Television

+ - History of "Think Different"

Submitted by Gammu
Gammu (1004474) writes "Apple's brand was in bad shape in the Fall of 1997. Steve Jobs had orchestrated a palace coups against Gil Amelio and had slashed budgets. Unfortunately, despite the momentous changes within Apple, it still had a staid image. Steve Jobs commissioned the "Think Different" campaign in August and the first ads were ready in September. Even ten years after the debut, "Think Different" is still one of most remembered ad campaigns ever."

"Maintain an awareness for contribution -- to your schedule, your project, our company." -- A Group of Employees

Working...