[Csync2] What makes the difference on which host I run?
Clifford Wolf
clifford at clifford.at
Mon Nov 21 17:36:42 CET 2005
Hi,
On Mon, Nov 21, 2005 at 05:25:22PM +0100, Andreas J. Koenig wrote:
> Thank you for the concise specs. Please add it to the PDF. I may have
> missed it, but I think the "push only" aspect of csync2 is not yet
> there. It's fine to have push-only, I just somehow had the wrong
> impression.
thanks for your feedback.
I've now added a paragraph in section 2 "The Csync2 Algorithm" about this.
yours,
- clifford
--
bash -c "gcc -o mysdldemo -Wall -O2 -lSDL -lm -pthread -x c <( echo -e '
#include <SDL/SDL.h>\n#include <complex.h>\nint main(){SDL_Surface*s;SDL_Event
e;int x,y,n;SDL_Init(SDL_INIT_VIDEO);s=SDL_SetVideoMode(640,480,32,0);for(x=0;
x<640;x++)for(y=0;y<480;y++){float _Complex z=0, c=((x-400)/200.0) + ((y-240)/
200.0)*1.0fi;for(n=1;n<64;n++){z=z*z+c;if(cabsf(z)>2){((Uint32*)s->pixels)[x+y
*640]=n<<3;n=99;}}}SDL_UpdateRect(s,0,0,s->w,s->h);do SDL_WaitEvent(&e); while
(e.type!=SDL_QUIT&&e.type!=SDL_KEYDOWN);SDL_Quit();return 0;}' ); ./mysdldemo"
Men are from Mars. Women are from Venus. Computers are from hell.
More information about the Csync2
mailing list