Jupiter algorithm

March 23, 2007

after days, weeks and months, i finally found the algorithm that will help solve the consistency problem for our application. the jupiter algorithm is an improvement of dOPT (Distributed Operational Transform) algorithm which is suitable for a client-server environment and requires synchronization with a central server to manage all the changes on a document and broadcast the results to other clients. it does not require any locking mechanism, so it supports synchronous collaboration.

i just found out that ACE and Gobby uses it. good thing i also found an API for it in the ACE website. anyway, more on this later, since i’m still reading some articles about it.

c/o ariel

http://www.seas.upenn.edu/~cse400/CSE401_2006/Saviano/architecture.html

http://stanley.cs.toronto.edu/reports/2004-winter/collabauth-ae.html

sorry for the uber-late update. anyway, on my part–tabs, enter key, delete and backspace now works. currently working on collaboration (how to maintain consistency across all users). i’ve also disabled history/offline messages in multi-user chat because it’s not really necessary… once a user joins the room, the admin sends all the updates to the new user…

hmm… what else? i’m also updating the GUI to add the icons and sounds included in the application.

c/o ariel

current status…

February 7, 2007

we have just finished integrating one-to-one chat, new session alert, and polling on online session…

still working on the text highlighting feature…

issue: is the ordinary member of the room allowed to invite other users or this privelege is only given to the admin/creator of the room?

c/o hana

wiki updated (ulit)

January 12, 2007

wiki updated!

aside from the mentioned collaboration issues, we are working on the following:

  1. pag update nung session list (walang listener)
  2. admin privileges ng creator ng session
  3. may bugs din yung sa list ng participants sa session
  4. aside from the collaboration, minsan din eh hindi lumalabas sa panel nung ibang yung messages (muc)
  5. dapat destroyed na ang room once mawala yung admin, pati yung muc

c/o reah

wiki updated

January 12, 2007

actually kanina pa sya updated kaso ngayon ko lang naipost. wala pa yung bagong screenshots.

wiki update

January 4, 2007

updated wiki (just a small part on Preliminary Studies).

app update:

  • still can’t figure out how to fix bug (see previous post: collaboration v1.0). once connected on a wildfire server, backspace is sent accordingly to other users (but shows an unknown character) in a collaboration session, but on jabber.org server, if a user types the backspace, the user suddenly leaves the session for an unknown reason. have to fix this bug…
  •  moreover, there were also problems encountered in outputting the text on the text area. has to do with the positioning.

that’s all for now, i guess…

-ariel

collaborate version 1.0

December 27, 2006

12/27/2006 8:12 am

collaboration works… or at least part of it.

notes:

  1. carriage return doesn’t work (doesn’t show in other clients)
  2. backspace doesn’t work (other clients show an unkown character)
  3. letters work (both upper and lower case)
  4. haven’t tested other characters. although if uppercase letter works, then most probably characters that need the shift key would also work.

later…

c/o ariel (no vacation here)

ps.

messages sent in MUC are wrapped in <collaborate> </collaborate> tags (just to take the feel of having an xml-based app). to differentiate a chat message from a collaboration message, a type attribute is added. chat messages are of type “chat” while collaboration message (the one that goes in the collaboration area) are of type “work”. attribute will be expaned once the radar view feature and keyboard simulation feature is added.

current status

December 26, 2006

as of 12/27/2006 4:00 am:

  1. multi-user chat works fine in the new prototype (or should i say current working app?)

currently working on:

  1. sending contents of file being edited to users who joins a session
  2. list of users in a session
  3. collaboration
  4. bugs, bugs, bugs… bug-a-boo

question:

  1. should the one-to-one messaging be included?
  2. can an owner of a session invite more users once the session has started? (take note that the current implementation is that to start a session, open/create a file, invite users, then start session.)

c/o ariel (no christmas here)

wiki

November 27, 2006

the pisara wiki <chapter 6: discussion> has been updated..

current status

November 25, 2006

still working on session invitations. we are also integrating the finished application features into our new prototype. we have added:

1. line numbers to the collaboration area

2. close buttons to the tabs

3. opening and creating of files for each creation of session

c/o reah