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


Forgot your password?

Comment Re:3L 2L (Score 1) 725

but for me comparing 623 millimetres to 1.01m (1010 millimetres) not only makes the comparison easy, but I get an intuitive feel that one is a little over a third larger than the other.


But then I guess the difference here isn't metric vs imperial, it's more that imperial seems to prefer fractions, whereas metric favours a decimal number. You never write 1/2cm, always 0.5cm or 5mm.

FTFY too...

Comment Re:Pictures are large (Score 1) 487

Sure... You know how we use to have black&white images, then we got 8-bit color palettes, then 24 bits for RGB and later 32 bits for RGBA. This is just the next step...

8 bits for red, 8 bits for green, 8 bits for blue, 8 bits for the alpha channel, 32 bits for gamma correction, 64 bits of DRM and finally 128 bits for the IPv6 address of each pixel.

Comment Re:RIP (Score 1) 725

You know how to tell people who learned C before 1995 (or so) from people who learned it after?

The second category writes "x--" whenever they can, and "--x" only where they have to. The first one writes "--x" whenever they can, and "x--" only where they have to.

I started coding in C around 1990 and as far as I can remember I have almost always used the postfix version, i.e. x--;

Oh, and you can also save a couple chars here if you use puts() instead of printf() - it automatically adds "\n", and it's also faster because it doesn't have to parse the format string. ~

You're right, but for some reason I tend to avoid puts(). Probably because it reminds me too much of gets().

Submission + - Dennis Ritchie passed away last weekend (google.com)

evohe80 writes: Rob Pike has been one of the first to announce the dead of the creator of C, UNIX and many other great works: "I just heard that, after a long illness, Dennis Ritchie (dmr) died at home this weekend. I have no more information.

I trust there are people here who will appreciate the reach of his contributions and mourn his passing appropriately.

He was a quiet and mostly private man, but he was also my friend, colleague, and collaborator, and the world has lost a truly great mind."

Submission + - Dennis Ritchie Passes Away (techcrunch.com)

An anonymous reader writes: Dennis Ritchie, one of the creators of the C programming language (along with Ken Thompson) passed away after battling a long illness.

Submission + - RIP: Dennis Ritchie (boingboing.net)

walterbyrd writes: "Computer scientist Dennis Ritchie is reported to have died at his home this past weekend, after a long battle against an unspecified illness. No further details are available at the time of this blog post. He was the designer and original developer of the C programming language, and a central figure in the development of Unix. He spent much of his career at Bell Labs. He was awarded the Turing Award in 1983, and the National Medal of Technology in 1999."
Operating Systems

Submission + - Dennis Ritchie, creator of C & Unix reported d (google.com)

Whiney Mac Fanboy writes: "The register & many others, are reporting on the death of Dennis Ritchie", confirmed by a google plus post by Rob Pike, a former colleague at Bell labs.

Dennis Ritchie was best known as co-creator of the Unix operating system (modern versions of which underpin most smart phones, Linux & OS X) and the creator of the powerful & elegant C programming language.

This is a truly sad day. The computing community has lost one of the giants, on who's shoulders so many who came after stood."

Slashdot Top Deals

The number of computer scientists in a room is inversely proportional to the number of bugs in their code.