coding for lekhonee-gnome

Lately, I have been studying the code of lekhonee-gnome. It is written in vala. I wrote a patch for it to allow saving of drafts locally after every 30 seconds. I submitted it to the upstream, kushal for approval. Now, I am testing another patch of mine for lekhonee-gnome. Previously, whenever one used to press “Publish” button, the written post is cleared from the editor. Once, due to network problems, the post was not published, and with it my post was also cleared from the editor. I don’t think that’s a desireable feature. Even, wordpress editor does not clear the post after publishing it.Test successful ![:)](http://127.0.0.1:8080/wordpress/wp-includes/images/smilies/icon_smile.gif)

October 19, 2010 · 1 min · Ratnadeep Debnath

coding for lekhonee-gnome

Lately, I have been studying the code of lekhonee-gnome. It is written in vala. I wrote a patch for it to allow saving of drafts locally after every 30 seconds. I submitted it to the upstream, kushal for approval. Now, I am testing another patch of mine for lekhonee-gnome. Previously, whenever one used to press “Publish” button, the written post is cleared from the editor. Once, due to network problems, the post was not published, and with it my post was also cleared from the editor. I don’t think that’s a desireable feature. Even, wordpress editor does not clear the post after publishing it.

October 19, 2010 · 1 min · Ratnadeep Debnath

worgroupz version 0.3.1 released

Nothing new in the version 0.3.1 though. I removed the dependency on the python-nltk library. Extracted the requisite code from the python-nltk library to access only the wordnet dictionary. Also, there has been some clean ups. Future plans:I am thnking to get rid of the dependency on the wordnet package as it brings in some other unnecessary dependency like Tcl. I am thinking of providing the wordnet dictionary as a default plugin. It will be installed if wordnet dictionary is not already installed. Also, I am planning to incorporate a dictionary view, and some kind of dashboard to wordgroupz.

October 15, 2010 · 1 min · Ratnadeep Debnath

Purchased Nokia C5 - great value for money

Last week was bad. My Nokia 5310’s keypad stopped working, then my BSNL 3G data card broke. I could hardly be online the last week. Yesterday, I purchased Nokia C5 and it seems to be a good investment. I had to pay Rs 7,620 only for it. Compared to the price, the features are great. You can see the features of this phone from http://www.gsmarena.com/nokia_c5-3122.php. It has got a 600 MHz ARM 11 processor, 128 MB RAM, USB charging. In that respects, it seems better than N79. It has got 3G and supports speed upto 10.2 Mbps. The 3.2 MP camera is good enough with a decent flash. Sound is also good. It runs S60 3rd Edition OS. ...

September 30, 2010 · 1 min · Ratnadeep Debnath

wordgroupz version 0.3 released

It is pleasure to inform that wordgroupz has now stepped into version 0.3 It has been quite some time since I have been working on wordgroupz v 0.3b. In this period wordgroupz went through a lot of changes. To sum up, the features in wordgroupz v 0.3 are : You can add words into different groups. In other words, you can classify different obscure words under a common group name which is easy for you to remember. ...

September 9, 2010 · 4 min · Ratnadeep Debnath

wordgroupz development news

Lately, I worked on fine tuning the code for wordgroupz. I fixed some bugs that I was aware of, like unable to parse data retrieved from wiktionary pages which did not have any ‘Contents’ field, error launching games when no words in db, some bugs in webster view, etc. Now, I have added a dialog which will show a message saying ‘Not enough data’ if the number of words in the db are not enough for playing games. I have also added support for parsing data from wiktionary pages which have no ‘Contents’ field. Also made some fixes in the webster view. ...

August 29, 2010 · 1 min · Ratnadeep Debnath

wordGroupz development News

Although, I had added the accuracy for the words in wordGroupz in the treeview, it was not satisfactory. First, the app crashed whenever I added a new word to the database. I fixed that easily. But then, the new word would show its accuracy as 0% even before attempting to answer it. I decided to set the CellRendererProgress bar text to ‘New’ for new/not attempted words. I got some help for IRC Nick: Juhaz at #pygtk in GimpNet. I came to know that set different properties of a cell for a particular column in a gtk.TreeView, I have to set a function in gtk.TreeViewColumn.set_cell_data_func(). I got further help from the documentation at Develp in Fedora. ...

August 24, 2010 · 1 min · Ratnadeep Debnath

wordGroupz development news

wordGroupz is now slowly moving to the version 0.3 release. I launched the v0.3 b quite some time back. Since then, I have worked on many new features, adding features, deprecating old features and many random changes. In this time, wordgroupz underwent a considerable upgrade in its GUI. Based on the outcome of the games, I decided to store the accuracy of the user for each word and show a bar chart for that. But that did not look good. So, I dropped it. I, instead, showed the accuracy % alongside the words in the wordgroupz tree view with the help of gtk.CellRendererProgressBar. ...

August 21, 2010 · 1 min · Ratnadeep Debnath

wordgroupz development news

Finally got time to write this post. I’ve been a lot busy lately. Had to do some changes in wordgroupz.I was working on the output display format for wordgroupz, i.e, how to show the definitions stored in the wordgroupz database. I created a policy that whenever a word is added, wordgroupz will fetch its definition from the default “Wordnet” dictionary. Then one has the option to search for more of the word’s details on wiktionary from within wordgroupz. Once the wiktionary page is viewed online, the wiktionary data is saved in the database.I have implemented a tabbed design for viewing the details of the word: one for wordnet and the other for wiktionary, till now. I have to expand it for webster as well. A few extra lines of code will do that. The rest remains the same.Below are the screenshots of the new tabbed view:![](http://rtnpro.fedorapeople.org/images/wordnet_view.png)Wordnet output![](http://rtnpro.fedorapeople.org/images/wik_view.png)Wiktionary Output View Then, I started working on the games frontend. I took inspiration from kwordquiz. I put the flash card and the multiple-choice-question in a tabbed view. I am also recording the number of correct responses given along with the attempts made on a particular word in both the games : flash-card and MCQ. This will help the user to identify the words that are difficult to remember for him. Thus, he can pay more attention on those words. Below are the screenshots for the games module.![](http://rtnpro.fedorapeople.org/images/flash_card.png)Flash-Card![](http://rtnpro.fedorapeople.org/images/mcq.png)MCQHave to improve the GUI for games. The functional code is almost done. Now, remains beautification.I request readers of this blog to give their kind suggestions to make the UI better.To test the games module, you can do :$git clone git://gitorious.org/wordgroupz/wordgroupz.git$cd wordgroupz$python wordgroupz.pyNote: Now you can add some words to wordgroupzNote: run the games module$python games.py The post is brought to you by [lekhonee-gnome](http://fedorahosted.org/lekhonee) v0.9

August 11, 2010 · 2 min · Ratnadeep Debnath

Resuming work on wordgroupz

For some days, I have not been able to work on wordgroupz. I was sufferring from fever. Apart from that, I came back to Durgapur yesterday. I am, kind of, well now. Now, I started working on the saving the various details from wiktionary. Still having some problems regarding customizing wiktionary view. Some trivial issues like :* webkit.WebView.load_string(), the backward_forward list doesn’t work nicely. Rather, if you jump to a new link, you cannot come back to the original load_string page.* opening and editing html with beautifulsoup disables the javascripts.The post is brought to you by [lekhonee-gnome](http://fedorahosted.org/lekhonee) v0.9

August 2, 2010 · 1 min · Ratnadeep Debnath