Chicken Pox blues!!!

11.02.2010

Since these days i was suffering from chicken pox and was really very much in pain. I was in so much pain and was so weak that i could not even speak nicely for few days. It really drove me nuts for around three weeks. But on the contrary it also gave me some time to go through the pygtk documentation and refrence which before i was using in my codes just by taking refrence from the documentation.

But now i am recovering quite well, although i have grown very very weak 😦 . But now i have got quite good base for pygtk which will help in sugarlabs project. Currently i am focusing and concentrating my energy for some good work 🙂 .

GSOC 2010 IS ON

29.01.2010

As declared by Leslie Hawthorn, Program Manager – Open Source Google Inc on 27th january 2010 that GSOC 2010 will be there. The various information can be found at links

1) http://socghop.appspot.com/

2)http://socghop.appspot.com/document/show/gsoc_program/google/gsoc2009/faqs

3)http://delicious.com/gsoc2009

4)http://socghop.appspot.com/gsoc/program/accepted_orgs/google/gsoc2009

The accepting application for would-be mentoring organizations will be beginning March 8th at approximately 19:00 UTC, with applications closing on March 12th at 23:00 UTC and Students can apply between 19:00 UTC on March 29th to 19:00 UTC on April 9th.

I to will be applying for GSOC 2010 from none other than (in which i always wanted to work 🙂 )  SugarLabs. It was always on my mind that someday i will be working for sugarlabs and not i am very happy working on font panel extension for control panel in sugar. Will updayte with a documentation on how i worked for the font panel extension 🙂

SUGAR JOURNEY

21.01.2010

The first and foremost task for playing with sugar is obviously installing it and that can be done by “yum groupinstall sugar-desktop” and then you can have fun playing with it. If you are going for development then you need to follow “http://wiki.sugarlabs.org/go/Development_Team/Jhbuild” . Today i am going through the various control-panel settings and codes for sugar “http://git.sugarlabs.org/projects/sugar/repos/mainline/trees/master/extensions/cpsection” . I also wrote a small code for font panel with the help of gnome documentations

#!/usr/bin/env python

import pygtk
pygtk.require(‘2.0’)
import gtk

class FontButtonExample:
def __init__(self):
window = gtk.Window()
window.connect(‘destroy’, lambda w: gtk.main_quit())
vbox = gtk.VBox()
window.add(vbox)
hbox = gtk.HBox()
vbox.pack_start(hbox, False)
label = gtk.Label(‘Current Font:’)
hbox.pack_start(label, False)
fontbutton = gtk.FontButton(‘Monospace Italic 14’)
fontbutton.set_use_font(True)
fontbutton.set_title(‘Select a font’)
fontbutton.connect(‘font-set’, self.font_set_cb)
hbox.pack_start(fontbutton)
self.fontbutton = fontbutton
bbox = gtk.HButtonBox()
vbox.pack_start(bbox, False)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’, self.use_font_cb)
b.set_active(True)
bbox.pack_start(b)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’, self.use_size_cb)
b.set_active(False)
bbox.pack_start(b)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’, self.show_style_cb)
b.set_active(True)
bbox.pack_start(b)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’,  self.show_size_cb)
b.set_active(True)
bbox.pack_start(b)
window.show_all()
return
def use_font_cb(self, togglebutton):
self.fontbutton.set_use_font(togglebutton.get_active())
return
def use_size_cb(self, togglebutton):
self.fontbutton.set_use_size(togglebutton.get_active())
return
def show_style_cb(self, togglebutton):
self.fontbutton.set_show_style(togglebutton.get_active())
return
def show_size_cb(self, togglebutton):
self.fontbutton.set_show_size(togglebutton.get_active())
return
def font_set_cb(self, fontbutton):
font = fontbutton.get_font_name()
print ‘You have selected the font:’, font
return

def main():
gtk.main()

if __name__ == ‘__main__’:
cbe = FontButtonExample()
main()

I also went through writting Makefile for font-panel and the __init__.py files. Need to concentrate on coding after the design is fixed i.e will be done by saturday in the meeting (design will be fixed). Got good feedback on designs i proposed for the font-panels. Looking forward on working things out.

OLPC and Sugarlabs

20/01/2010
This was what i always wanted to work for, i remember the days when i was keen on working on anything, i get to work for OLPC project. After a long time,  after seeking things to work upon i choose translations for OLPC softwares because i was not getting anything to work upon in OLPC. But this was not what i wanted, but i wanted to work for it as a developer too. I am very thankfull to kushal das as he has always motivated me and was really behind me on getting things work for me. I would also like to thank sayamindu das gupta for his help on each and every query of mine patiently. So here i am now working on building a pygtk based font configuration  panel for sugar control panel. Currently i have proposed three mockups for the same and really looking forward to it. The first one

"The First model"

" The First model"

contains a simple drag menu to adjust the size as starting from 5 to 48 with default 10 and default font Sans Serif .[1]This will also contain a restart sign at the bottom of the frame. The second one as shown contains the same features as in gnome font panel, the button at the middle of the frame works same as desktop fonts work in gnome, on pressing it we will get various font and size changing options.

"The second model"

"The Second model"

The third model i proposed contains kinda work as the language settings in sugar works i.e a dropdown menu will
appear containing the font sizes.

"The Third model"

[1] By saying this i mean a icon at the bottom that updates the changes in font, the next time system is rebooted. After confirmation with devel team and design team will work on the coding part. Now i am going through gnome guide specially the gconf part. and python and pygtk docs 🙂 .

Mapping party @ Durgapur

17.10.2009

The mapping party at durgapur started at around 1:30 pm.Me with makghosh, rtnpro, bacharan kundu, swarnendu pal. Subhodip biswas joined us later.The mapping started right from our mess at saratpalli street2.We were divided in groups of two, one group consisting of me, makghosh, swarnendu and the other half was of rtnpro and bamacharan. Rtnpro and team were supposed to map the local and near by places and we started our journey from bicycle to the bit far away parts like NSHM, muchhipara. We started on our cycles, swarnendu had a real good idea of the place because durgapur is his native place, so we followed him. We went from steel park to aarah more, from all the beautifull places which i think i would not have seen if i would not have went out for mapping.We acctually explored some damn beautifull places small ponds, villages, mapped the whole lot of them for around one and a half hour till we reached to muchhipara via NSHM, were subhodip biswas was waiting for us.

Now was the time for a  7up break to make everything clear to us(as the brand goes “clear hai”).We rested for a while chilling ourselves with a bottle of cold drinks.Meanwhile rtnpro and bamacharan were busy mapping the nearer area, each and every street including mamra baazar and few other places. Now we along with the new member subhodip biswas who  had more GPS devices and he already came mapping few other places.The GPS devices was distributed among ourselves and now we went out to other places indivisually having GPS devices for everyone.While i was mapping the GPS device which i had kept on loosing the satellite signal due to trees. It was a good fun as i went to few places which i think would never have gone on myself and indeed few damn good places. We had planned before that we all will meet at the BCET college gate. I was a bit tired by the time till i reached first to the meeting destination then came subhodip biswas and makghosh was the last to come. We were damn hungry so now was the eating time :). We went to a nearby restaurant and rtnpro(as he was resting in mess) was called by the time  bamacharan and swarnendu went to there home as they had to do some diwali rituals and were called by there family members.We along with rtnpro had nice food there along with lot of fun. And then all of us came to our mess and everybody went to there homes from there only. By the time it was 6 pm and we had mapped around 100 km.It was a great fun :).

The Photos can be found at : http://www.flickr.com/photos/yevlempy/sets/72157622630695426/

SOFTWARE FREEDOM DAY@KOLKATA

It was 15 october 2009 that me with rtnpro,kishan and one of our class mates bamacharan kundu went to kokata for the cleberation of software freedom day at CSI auditorium @kolkata .It  actually is celebrated 19 day of september but due to some reasons ILUG-CALINFO the  Kolkata team (a Linux users group) organised Software Freedom Day. The programe started at 5:15pm at the CSI auditorium with around 15 people joining the talks.The programe started with talk given by Mr. A Mani on the Fedora project.It was followed by a talk by Mr Ratnadeep Debnath aka rtnpro on Fedora-12 Highlights and whats new in Fedora 12 as compared to previous released versions.Then was the time for a short tea break.Then was the talk by Mr. J. P. Mathews the CEO, of DPS Technologies india pvt ltd on using Linux on PCs with Limited Resources, he told us about the PC which his company has designed named SAPIENZA which is pre configured with Ubuntu GNU/Linux with very affective features at very minimal price.The programe ended at around 7:15 pm with audiance having query about various open source technologies.The event was a great success with people  getting in their head to foster a general understanding of software freedom, and encourage adoption of free software and open standards.

Another application holding yum lock.

Many a times it so happens that when you trying to do some stuff with yum command when you are connected to internet.It shows

“Another app is currently holding the yum lock; waiting for it to exit…”

you can resolve that by following the command

# ps aux | grep yum

This shows you the processes holding the yum lock.

Now you can do:

# kill -9 31542
or
# kill 31542

or whatever the processes may be.

Now your yum will work fine.