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


Forgot your password?

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

by ceifeira (#27824715) Attached to: The Biggest Cults In Tech
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

by ceifeira (#27572271) Attached to: He's a Mac, He's a PC, But We're Linux!
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

by ceifeira (#26155185) Attached to: What Restrictions Should Student Laptops Have?
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.

System going down at 1:45 this afternoon for disk crashing.