[Ilugc] A Terminal Chat Application

  • From: prasmailme@xxxxxxxxx (Prasanna Venkadesh)
  • Date: Wed, 16 Nov 2011 23:30:20 +0530

On Wed, Nov 16, 2011 at 9:14 PM, 0 <0 at 0throot.com> wrote:


And we love any sort of feedback from you.


I like the idea and it is good to see that you have implemented it.

Looking at the code, I notice that there several things that needs to be
done to bring it to a reasonable quality.


Your point is right. We need to make it a quality product.


- Proper Indentation of code
- Try avoiding system() as much as possible
- 'reset' will clear the terminal emulator's (xterm) history find
alternative.


We have used 'reset' because the reason is the command 'history -c' clears
only the history of commands used but not the chats that we exchanged using
our app. When the terminal window is scrolled up it shows what all we had
in chat, and its violating the privacy, so used reset to erase of
everything.



I don't know Ruby so I cannot comment on code any further. Ruby experts
in the list might be able to help you better.


Ya looking for their feedbacks too. I think our code should be packed well
(like separating into individual modules).


I did try to do the setup but ruby gloriously crashes with libc's buffer
overflow error.


:-(
 and finally thanks for your feedback and suggestions. :-)


-- 
Regards,
Prasanna Venkadesh
----------------------------------------------------------------------------
PuduvaiLUG (puduvai Linux Users Group): http://puduvailug.wordpress.com/

FOSS Jobs all over India: http://fossjobs.in

Other related posts: