Wednesday, May 18, 2011
Tuesday, March 29, 2011
Friday, December 31, 2010
Welcome 2011 !!!
Thursday, October 21, 2010
Friday, October 8, 2010
Create your IRC Channel and make the logs publicly available
I was trying to create an IRC channel for our final year project discussions and started with registering a channel at freenode. I thought of keeping logs to monitor the activities on the channel and with the help of Gryllida at #freenode, I was able to setup the log as well. So I thought of writing a blog entry to have all steps in one place so that it will be easy for my future reference as well as for some others.
Registering a channel at freenode:
Before registering the channel you should check the availability of the channel name. Use the following command
/msg ChanServ info #channelname
If the channel is already registered, it will give you some information about it. If not, you will get a response like the following
-ChanServ- The channel [#channelname] is not registered
To create the channel first you should join the channel.
/join #channelname
If you are the first person to join, then you create it. To register the channel use
/msg ChanServ register #channelname
This will link the channel with your nickname and will give your the top level access.
Registering for a shell space at Bshellz:
To persist the logs of your channel you should have to host a bot on a server somewhere. But sites like Bshellz provide free server account with limited space. To sign up for a free shell just send BeschBot ( after joining #bzhellz) the private message !wantshell.
To register, type
!register <desired-username> <email>
In a short while you will receive an email with the confirmation code. Then issue the command
!confirm <confirmation-code>
Once you have done that, your shell will be created in 5 minutes time and you will receive an email with all the details.
Once you have registered you every 168 hours visit channel #bshellz on Freenode Network, and say
!keep <username>
to make your shell active. If you fail to do this in a 168 hour period, then your account will be deleted.
You can access your server space via
$ ssh server1.bshellz.net -l <username>
if you are on a *nix platform. You can find the steps for other operating system here.
Enable auto logging:
After doing ssh into the server, you should issue the following commands
screenirssi/set autolog ON/save/connect irc.freenode.net/join #channel
The logs will be located at ~/irclogs/
You can use Ctrl+A and then D to detach the screen. cd irclogs, ls , cd freenode,ls will take you to the freenode logs directory.
In this way you can access the logs by logging into your server space. But if you want to keep the logs accessible online, you can do the following.
Make the logs available publicly:
Make sure you have ~/public_html/. Then issue the command
screen -rAadthen/set autolog_path ~/public_html/$tag/$0.logand then/save
In the above set command, $tag indicates the IRC server (freenode in this case) and $0 indicates the #channel. These variables change from network to network, from channel to channel, so they have a '$' before. The client would set these variables itself for any channels that you open. So it is enough to use the command /set autolog_path ~/public_html/$tag/$0.log
Then say something in the channel and do 'cd public_html'
Check whether you have the 'freenode' directory there by doing 'ls'.
If the freenode directory is not there then do 'cd ~' and 'chmod a+w public_html'.
Then issue
screen -rAad/reloadthen Ctrl+A ,D.
Say something in the channel and do 'cd public_html' and you should have 'freenode' inside.
You can access the logs via the following url
yourusername.bshells.net/freenode/#channel.log
If you couldn't access the page try the following
chmod a+x freenode
chmod a+r freenode
then
cd freenode
and
chmod a+r #channel.log
By doing this you will be able to access your logs via
yourusername.bshells.net/freenode/#channel.log.
You should remember to do
!keep <username>weekly at #bshellz.
This way I have successfully created the IRC channel with logs.
I should thank Gryllida at #freenode for the great support in figuring out the stuff with understanding.
Hope this will help someone...
Labels:
freenode,
FYP,
IRC channel,
public logs
Friday, August 20, 2010
Happy Moments...

Couple of minutes ago I received the mail from the Google Open Source Programs Team announcing the final results of Google Summer of Code 2010. I am so happy that I got through the final evaluations :-)
Simply it was a lifetime experience and opened me new paths towards achieving many new goals... My special thanks to my mentors Sy Haas and Dr.Paul Biondich for their immense support and guidance throughout the summer.. All developers of OpenMRS were very much motivating and inspiring me towards contributing to open source... Thank you very much everyone... I would like to thank all my teachers and friends for their support in every way...
Just wanted to share my happy moments...
I will be writing more about my GSoC experience soon...
Thank you every one...
Labels:
Flowsheet Module,
GSoC2010,
OpenMRS
Sunday, August 15, 2010
Reaching the Final Evaluations of Google Summer of Code 2010

Last week was the final week of Google Summer of Code 2010 and I spent it in writing module documentation, documenting the code and completing few enhancements. I did some refactoring to the code - introducing a new class FlowsheetPanel to have the user interface generation code (earlier it was inside the onModuleLoad() of the Flowsheet EntryPoint class). This idea was suggested by my mentor Sy, to make the code re-usable. The user interface generation code was put inside the onRender() of the FlowsheetPanel class, which is a subclass of LayoutContainer. In the Flowsheet EntryPoint class, new instance of FlowsheetPanel was simply created and added to the root panel.
Searching for observations based on ConceptName was handled using the default filtering options in the Grid widget earlier; since that way is only known by the users who read the documentation or the users who explore the module, I added the search box on the on top of the observations grid, visible to all users. The image below show's the new search box:

Module documentation for the Flowsheet module was created in the wiki page located at : http://openmrs.org/wiki/Flowsheet_Module. This wiki page contains the details of the module, especially the features of the Flowsheet module and how to use them. Also I have provided link for other resources related to the module.
I documented the source code using class level and method level comments and checked in the code to the svn repository. Last Thursday I attended the weekly Developer Call and listened to the final presentations of the Group-3 GSoC students. There were some good presentation on GSoC projects.
According to the GSoC 2010 timeline, next week is the deadline for the final evaluations. I had an awesome 12-weeks, working on the Flowsheet module and with the OpenMRS community. It is a life time opportunity for me to work with the developers all around the world. As I have reached all the goals we planned for the summer, I am so glad and feel very much satisfied. I hope everything will be fine with the final evaluations... The great motivation I got while working with the OpenMRS community during this summer opened me new paths towards contributing to FOSS. I am sure that this is a good starting point for me to reach many targets in contributing to the Open Source communities... I will continue my contribution to OpenMRS in the feature and will try to contribute to some other open source projects as well...
Eagerly waiting for the final evaluations next week...
Labels:
Flowsheet Module,
GSoC2010,
GWT,
GWT Charts,
GXT,
GXT Grid,
Longitudinal Data Review Module,
OpenMRS
Subscribe to:
Posts (Atom)
