Friday, February 25, 2011

Internship updates...

Hey people,

Didn't get chance to blog about what I had been doing lately so here's a compiled mix of it all.

Good news first:
  • Now Empathy multi-user chats are separated from the chat-room windows they are displayed in. i.e. users will be able to join/leave chats without closing the room [commit].

    I am working on the opposite i.e enabling the user to continue being connected to a chat when chat-room window has been closed (bug).

  • The /part command is working for chat-rooms and private MUCs (bug [commit])
    UPDATE: There was a small fault in part message construction in telepathy-idle. It was not sticking to correct format of PART messages as per RFC 2812 sections 2.3.1 and 2.3.2 which was preventing the full part message from being displayed to the members. It has been fixed in this bug now.

  • To prevent a user from deleting significant accounts like freenode from list of networks, a new "Reset Networks List" button was added in the IRC Network Chooser dialog (bug [commit])
New things I learnt in this phase:
  • Insight into telepathy-idle
  • Using Wireshark to monitor packets sent to and received from a network
  • Conflict resolution after rebasing.
    To help me gain more experience with conflicts, Danni has given me two massive branches to rebase.

There were some not so cool things also like, I started my work on notification for enabling/connecting a disabled/disconnected account when trying to connect to rooms affiliated to it (bug) but it eventually turned out to be blocked by this bug. There must be some comparison workaround used by Empathy to keep things working which I am yet to discover! A particular horrible thing was my hardisk snap and not having an up-to-date backup added to it but I was happy to be able to recover my data (thanks to Danni). It was another learning experience and I'll dedicate a separate post to it.

~

Gnome.Asia Summit 2011 will be held in Bangalore, India this time. I am happy to get a chance to speak about my internship experience in my talk- Contributions made by a newbie to the free desktop's "Empathy", in front of such assorted community of developers, documenters, marketing people, GNOME users and prospective contributors. I am particularly exited about getting a chance to see the biggies of this world! :D

Wednesday, January 26, 2011

India celebrates its 62nd Republic day!

This one's is for all proud Indians and all world citizens who are happy for the republicans of the largest democracy in the world! :)

Today is a day to retrospect and be thankful to all those who brought a revolution to the nation and contributed towards the preparation of a permanent constitution for its people and for their future generations to be able to live a just life, in peace.


Monday, January 24, 2011

Internship - Week 5

The much awaited "Save all' button feature of Empathy's debug window is now in a working state. :)

I started working over this one in my 'Save all' button branch as my second ever bug to be fixed for Empathy but insufficient experience in asynchronous programming and debugging caused it to stand by. This week I went back to it and with the past one month's experience, it was all play!

Here's a shot.



This "Save all" button will be useful when users face issues and are unsure of what part is causing a particular problem. It could be the connection managers, mission-control or parts of Empathy itself. So with this branch merged, instead of saving individual logs for each service selected using the service chooser, one will need to simply use this button and have a compiled log saved on disk.

I made another not much observable change in this branch too. The older save button used to fetch log messages from the model which was updated from the cache and was used to display the messages in the main view. To make both saving tasks work coherently and to avoid code reuse, I changed it to load messages directly from the cache like what our new "Save all" button does.

There was this another bug evident using telepathy-gabble 0.11.5, about which I also mentioned in my last post, where, in MUC chat window tabs the typing icon was not getting correctly updated [bug]. I begun with a patch for it but after discussing it over IRC, finally closed it as the typing icon in MUCs is no more relevant when the typing icon is displayed next to the composers now.

Monday, January 17, 2011

Internship - Week 3 & 4

Hi all!

The passed week and its last, I worked on the following:

The last feature was a proposal that caught my eye while browsing the empathy MUC issues.
Having the knowledge of who is typing in a chat room in real time would be quite useful. This was possible using "composing" states obtained from chat state notifications (XEP-0085). Although one-to-one user chats in empathy provide this facility but private chats and multi-user chat rooms were still deprived of this feature.

While working on this, Danielle helped me with chat state observation and discovered a telepathy-gabble bug causing unexpected parsing of incoming chat states as a part of this endeavor, after whose resolution I was able to pursue my tasks at hand. Hence, to test this work out, you'll need the bleeding-edge telepathy-gabble too.

Here are demonstrating shots for the same:
Private MUC

Chat room

So you can see that with the gabble bug rectified, now the chat window tab typing icons also work but they are a bit faulty. "Why", is what I am looking into!

Tuesday, January 4, 2011

Internship - Week 2

Hi there,
A very Happy New Year 2011 to all of you!
Last week, the Christmas and New Year fervor enthused everyone. The commits I feel weren't satisfactory and i'll be consequently giving more love to Empathy this week.

I submitted-
Some of my time was spent figuring out why /nick command behaves weirdly in Jabber MUCs and am currently working on this bug.

Monday, December 27, 2010

Internship - Week 1

Hi all,
Last week I created a new popup feature that would allow the users to quickly enable/disable accounts from the accounts tree-view in accounts dialog.

Right clicking a disabled account.


Right clicking an enabled account

Note that the icon on the enable menu-item is the most-available presence depending on the chosen presence and not always necessarily the "available" icon.

I also made a small change in the way private and multi-user chats appears to a user. Influenced by approach used by Google talk, the user's name in current chat will be reduced to the string "Me: " thereby making chat look clearer and avoiding unnecessary clutter. This recent change is awaiting commit after which a private chat will look somewhat like the following with only the current chat affected.
Using "Me" for the user's name in private chats

...and similarly in Multi-user chats too.

Now, i'll be concentrating on improving Multi-user chats (MUCs) and removing its major and normal bugs.

Wednesday, December 15, 2010

Internship begins...

So it's Dec 15th and my internship begins today. Excited? Yeah!! Immensely and a little nervous too!!! :D 

Well in this while I had been somewhat preparing for my internship to start in a good pace. I went through the basic GTK tutorials and underlying API references and fixed some of the bugs in Empathy.



A few ambiguities resolved. A small fix was made in Empathy's account's dialog which required changing the tab focus chain sequence. Another notable change was that when no accounts are set up in empathy (or all are disabled) then instead of having the full 'Room' menu made insensitive, only sub menus Join, Join Favorites and any favorite rooms are made insensitive. Which means, if a user had no account set up then he can now click on the "Room" menu and his default empathy view would be somewhat like this (ignore the theme):

There will be a 'Save all' button functionality added to the debug window hopefully soon. The work on it was stalled due to some GTK bug yet unresolved. I created a standalone application to demonstrate it but that didn't seem to have caused much effect.

I hope I keep up to mark and create things that the open world would remarkably recognize and appreciate! I have a long way to go and this is only the first step. I have learnt a lot of things on my way to this first rung of my career and it was a wonderful experience.
Wondering how enthralling it's gonna be beyond this. :)

Featured Post

interviewBit Medium: Palindrome Partitioning II

Problem Name:  Palindrome Partitioning II Problem Description : https://www.interviewbit.com/problems/palindrome-partitioning-ii/ Problem Ap...