FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   Code jam
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Code jam  (Read 422 times)
verd


Code jam
« on: Jan 13th, 2005, 6:01am »

Just trying to stimulate some discussion on an idea I'm having a hard time putting into words.
 
Alright, imagine this:
 
A text file on a server is open to edit. Multiple users can log in through a processing project file. Each user is represented only by a blinking cursor marking their position in the text file. The text file is then fed through a compiler and maybe runs in another frame or something like that. People can converse in a chat marked off with // comment signs. A timer counts in the background. It could be set to say, 5 or 15 minute intervals. When it reaches zero, anybody in the //commented chat can not re-enter the code section, so you've got to make sure your code is fix up your code, and then enter the chat to get ready for a compile. Maybe there could be a phase where code is optimized and useless functions are removed, or that could just be done as people edit the text, deleting their own code freely.
 
So my question is,  
 
Can two people edit a text file on a server at the same time? Is anything like this idea possible?
 
TomC

WWW
Re: Code jam
« Reply #1 on: Jan 13th, 2005, 1:00pm »

SubEthaEdit on the Mac allows multiple users to edit the same file.  You might want to look at that for inspiration.
 
Coding against the clock is bound to be frustrating though.
 
verd


Re: Code jam
« Reply #2 on: Jan 13th, 2005, 1:52pm »

Well it was the only idea I had to get everybody to a point where the program can be compiled. Another idea would be to have people 'book out' functions - only one person allowed to edit any one function at a time. Edits wouldn't come into effect until that person disconnects from that function - meaning that there will always be some form or compilable code, but that people will need to wait if there aren't enough functions available.
 
bsr

WWW Email
Re: Code jam
« Reply #3 on: Jan 13th, 2005, 2:29pm »

there are some programs out there that do just this, they're used for live visuals, there's a whole scene around it, if i can find the links i'll come back and post them.
 

http://hippocamp.net
TomC

WWW
Re: Code jam
« Reply #4 on: Jan 13th, 2005, 3:55pm »

on Jan 13th, 2005, 1:52pm, verd wrote:
Another idea would be to have people 'book out' functions - only one person allowed to edit any one function at a time. Edits wouldn't come into effect until that person disconnects from that function - meaning that there will always be some form or compilable code, but that people will need to wait if there aren't enough functions available.

 
That sounds like a good idea.
 
verd


Re: Code jam
« Reply #5 on: Jan 13th, 2005, 5:33pm »

Well, my -real- idea was actually to see if I could get people to collaborate on this. Perhaps type the code into a thread, until something which actually works can be developped?
 
Pages: 1 

« Previous topic | Next topic »