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 : 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.

Barasat journey begins….

It was around 10:00 am that we started our journey to barasat university with myself,indradg,stephdg,rtnpo,meejan,kishan goyal and chandana boral.From bus to bus and again van,must say that was fun.We reached around 11:30 ,we went into the server room,first experience with HP Blade Server and UPS which was Liebert GXT-MT 6KVA UPS with a OpenComms Web Card.Indradg gave information about the ports and how to operate it,what was there cable line up and how to operate it a bit.Huge batteries with large power capabilities were there….

Now it was the time to start up,we had to download the Fedora 11 repository which was started up by rtnpro,he first of all had some problem with the rsync,called sushmit da,did a bit of googling,mean while kishan and stephdg went out to have some tea.rtnpro called subhodip da and finally started with it…

The work started,stephdg along with meejan and chandana made posters quoting “Do not switch off this machine.Work in progress ” .. Now was the time to go but rtnpro messed up a bit with system.He shut down the downloading process which was agin retrived by him and finally we got out at around 5:30pm.

It was a long day.

SUMMER TRAINING PROJECT @2009

TAX CALCULATION ROR

03.07.2009

STARTED WITH RUBY.

The project started for me first of all by installing rubygems helped by my mentors Mbuf and Shrink.Figured out project needs web development + database management.

$yum install rubygems.

Then i had a small disscussion on using mysql as a backend.I had to install mysql too.

$yum install mysql

Going through ruby by the link (http://www.rubycentral.com/book/).

chmod command

06.06.2009

14>chmod command.

SUMMARY:

chmod is a Unix command that lets you tell the system how much (or little) access it should permit to a file.
This manual page documents the GNU version of chmod. chmod changes the permissions of each given file according to mode, which can be either a symbolic representation of changes to make, or an octal number representing the bit pattern for the new permissions.

SYNTAX:

-c, –changes     like verbose but report only when a change is made
–no-preserve-root     do not treat `/’ specially (the default)
–preserve-root     fail to operate recursively on `/’
-f, –silent, –quiet     suppress most error messages
-v, verbose     output a diagnostic for every file processed
–reference=RFILE     use RFILE’s mode instead of MODE values
-R, –recursive     change files and directories recursively
–help     display this help and exit
–version     output version information and exit

Permissions
u – User who owns the file.
g – Group that owns the file.
o – Other.
a – All.
r – Read the file.
w – Write or edit the file.
x – Execute or run the file as a program.

EXAMPLES:

1. To view your files with what permission they are:

ls -alt

This command is used to view your files with what permission they are.
2. To make a file readable and writable by the group and others.

chmod 066 file1.txt

3. To allow everyone to read, write, and execute the file

chmod 777 file1.txt

passwd command

12.05.2009

13>passwd command

SUMMARY:

Allows you to change your password.

SYNTAX:

-r      Specifies the repository to which an operation is applied. The supported repositories are files, nis or nisplus.
-a     Show password attributes for all entries. Use only with the -s option; name must not be provided. For the nisplus repository, this will show only the entries in the NIS+ password table in the local domain that the invoker is authorized to “read”. For the files repository, this is restricted to the superuser.
-d     Deletes password for name. The login name will not be prompted for password. It is only applicable to the files repository.
-l     Locks password entry for name.
-e     Change the login shell. For the files repository, this only works for the super-user. Normal users may change the nis or nisplus repositories. The choice of shell is limited by the requirements of getusershell(3C). If the user currently has a shell that is not allowed by getusershell , only root may change it.
-f     Force the user to change password at the next login by expiring the password for name.

EXAMPLES:

passwd  – entering just passwd would allow you to change the password. After entering passwd you will receive the following three prompts:

Current Password:
New Password:
Confirm New Password:

Each of these prompts must be entered and entered correctly for the password to be successfully changed.