View Single Post
  #6 (permalink)  
Old August 19th, 2002
James Connolly James Connolly is offline
Devotee
 
Join Date: January 18th, 2002
Posts: 22
James Connolly is flying high
Default

I downloaded the new one and it seems to have less problems. I did a couple of global computations and they came back. I also did a computation for someone else.

One nice thing about this is usually, like in distributed.net, someone else chooses what computations are done globally. With this, the people who use the program can also decide what is being computed.

One thing that would be cool is some number theory functionality like "gcd(240,600) = 120" or "2^3 (mod 9) = 8" and so forth. The algorithms to do this are published in virtually every language. In fact, the gcd pascal code is only 5 lines so I'll post it here, it finds the great common divisor between two numbers -

function GCD(a,b : integer):integer;
begin
if (b mod a) = 0 then Result := a
else Result := GCD(b, a mod b);
end;

It would be cool if I could input "240,600,gcd" and get the response "120". Or do similar number theory functions.

I got two programs while running the program. One was -
Der Index der Liste ueberschreiret das Maximum (6)

and the other was -

Windows-Socket-Fehler: (11001), auf API 'ASync Lookup'

With the previous version, I got about 50 error windows that said "windows-socket" before it crashed. So make sure you're catching all the possible socket errors in your code.
Reply With Quote