Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:They missed out C programmers (Score 2, Informative) 397

def fib(n):
    if n == 0 or n == 1:
        return n
        return fib(n-1) + fib(n-2)

for i in range(36):
    print "n=%d => %d" % (i, fib(i))

real    0m20.272s
user    0m20.225s
sys    0m0.024s

#include <stdio.h>

int fib (int n)
  if (n == 1 || n == 0) return n;
  else return (fib (n - 1) + fib (n - 2));

int main (int argc, char *argv[])
  register int i = 0;
  for (i; i < 35; i++)
      printf("n=%i %i\n", i, fib(i));

real    0m0.476s
user    0m0.472s
sys    0m0.004s

Comment Re:Linux - How "Free" is it? (Score 1) 508

That experience is, by orders of magnitude, easier on Linux than on Windows--at least, that was my experience from when I last installed a fresh copy of XP (perhaps 4/5 years ago). It was absolutely impossible to find a decent free DVD decoder. If you're on Ubuntu, installing DVD support is as easy as typing 'sudo apt-get install ubuntu-restricted-extras', or use the GUI, or whatever.

Comment Re:none (Score 4, Insightful) 1117

That makes a lot of sense. In fact, while you're at it, why don't you beat up a few of the kids? You know, to get them ready for the real world, because we sure don't want them to get used to all the love. I think a better idea would be to survey some bullies (larger ones of course, one per student) in the local area and average out their practices.

Comment Re:Dear RMS (Score 1) 621

Dropbox is not open source. The useful part, the daemon, is closed source. The irrelevant part, a nautilus plug-in, is open source, and automatically downloads the closed source blob. You can't even drop the daemon binary on a headless server, as it is dynamically linked to graphics libs.

Slashdot Top Deals

"Well hello there Charlie Brown, you blockhead." -- Lucy Van Pelt