Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:For / While in C (Score 1) 533

Nitpick: The C standard is published by ISO; ANSI adopts each new version as it comes out.

All three editions of the ISO C standard (1990, 1999, and 2011) permit main to have an implementation-defined type.

Only "int main(void)" and "int main(int argc, char *argv[])" (or equivalent) are required to be supported by all C implementations -- and that applies only to hosted implementations. For freestanding implementations, the program entry point is entirely implementation-defined.

Comment Re:Nobody suggested this? (Score 1) 185

In the original episode "Metamorphosis", it wasn't clear where Cochrane was originally from. He could have been a humanoid native of a planet in the the Alpha Centauri system (at the time I thought "Zefram Cochrane" was a sufficiently exotic name that he could have been non-human). Or, more likely, he could have been born in a colony established by sublight ships; we know from "Space Seed" that there were sublight sleeper ships before the invention of warp drive.

Annoying quibble: Kirk's line was "Zefram Cochrane? Of Alpha Centauri?" (The "of" might have a subtly different implication than "from".)

Comment What's wrong with the question? (Score 2) 393

Why do so many people object so vehemently to the question?

I personally don't have much trouble with the difference between calculator and telephone keypads; I can switch between them without much mental effort. (I can also switch between vi and emacs, and between bash and tcsh.)

But on every system I use, one of the first things I do is figure out how to remap the caps-lock key so it acts as a control key. In decades of effort, I've never gotten used to having the control key in a position other than immediately to the left of 'A'. If it works for most people, that's terrific, but it doesn't work for me.

But the OP does have a problem with it. The "destroys muscle- and spatial- memory" part seems exaggerated, but it may well be accurate *for the person asking the question*.

Different people have different mental models and usage patterns. Devices and software are supposed to be designed for users, not the other way around.

It's not a stupid question at all.

Comment Ubuntu 8.10 froze around midnight UTC (Score 1) 480

My Ubuntu 8.10 system froze around midnight GMT. There's nothing in the logs to indicate any problem, except that the last log entry is at Dec 31 15:55:02 (that's 5 minutes before midnight) for a cron job that runs every 5 minutes. I wasn't at home at the time, so I didn't see what happened, except that my ssh connection died.

When I got home a few hours later, the system was still powered on (the fan was running), but the screen was blank. I was able to reboot it with no problem.

It's not the same problem as on the Zune, since that hit 24 hours earlier. It *might* have something to do with the leap second, or maybe it's a problem that occurs at the end of the 366th day of the year.

I suppose I could set the clock back and run it through midnight again. I'm not sure I'll bother, but if somebody else wants to try it it would be interesting to see the results. Or maybe I'll try that with a live CD.

Slashdot Top Deals

Real wealth can only increase. -- R. Buckminster Fuller