Posted: 2007-07-25T16:16:18+05:30

After fighting more than 3 hours , I am being able to get unicode problem fixed in my blog. So, now I can blog in Bengali :) বাংলা :) The problem was in the database only, changed all stuffs to unicode there.


No money yet :(
Posted: 2007-07-23T14:07:59+05:30

Still the money for the Germany trip is not here. My credit card is full as I paid back some of my friends from whom I took the money for the ticket. Result: I can’t even buy my ticket to W.B. to visit my parents.


Fedora 7 in my laptop
Posted: 2007-06-10T03:17:34+05:30

Just updated my laptop, took a hell lot of time at end “Finishing Update” screen. After reboot first thing it showed is disk failure :)

fsck showed many errors. At the end , finally, Fedora 7 is up and running :)  I really liked the default KDE look and feel.


cd revisited
Posted: 2007-05-05T00:01:27+05:30

Few days back wrote a function ‘cd’, which later found is not correct. So, came up with a smaller one with no problem (till now :) ).

cd ()
if [ “$#” -eq “0” ]
    if [ “$eFlag” -eq “1” ]
        export eFlag=0
    builtin cd
    builtin cd “$1”
    bname=echo "$dname"|grep pyqt4
    if [ “$bname” != “$dname” ]
           if [ “$eFlag” -eq “1” ]
                export eFlag=0
           if [ “$eFlag” -eq “0” ]
                export eFlag=1
Total code can be found here.


Mono, Gtk# and ironpython
Posted: 2007-04-24T19:15:42+05:30

Todays target was to write a HelloWorld code in Gtk# using ironpython in Mono. you can download the setup file from here.

Got this example. But “import Gtk” failed everytime. At the end Jace found the solution. So, the modified code is:

import clr
import Gtk
def delete_event (o, args):
    Gtk.Application.Quit ()

def say_hi (o, args): print “Hello, World!”

Gtk.Application.Init () w = Gtk.Window (“Hello, Gtk# World”) w.DeleteEvent += delete_event b = Gtk.Button (“Say Hello”) b.Clicked += say_hi w.Add (b) w.ShowAll () Gtk.Application.Run ()

The first two lines made all changes, “import clr” and “clr.AddReference(‘gtk-sharp’)”


The Bad Thing (TM) of mixing up one group & another group's event
Posted: 2007-04-10T09:23:35+05:30

It is really bad when people mix up with two entire different groups, or call one group’s event by another group’s name.

I am the coordinator of Linux User group of Durgapur (dgplug). We started this group few years back with the intention of keeping it open for all. We do not work for any college, though most of the LUG members are from Dr. B. C. Roy Engineering College and we had our meetings there only.

There is another LUG in Durgapur for the students of NIT Durgapur. That LUG is a internal group of NIT Durgapur students. Now suddenly one guy from that college, in his SoC application wrote that their annual linux based event MUKTI (which is again not a community based event) is organised by Linux User group of Durgapur, and Linux User Group of Durgapur is formed by NIT students.

I made a reply to that application saying that we, “Linux User Group of Durgapur”, is entirely different body and has no association with MUKTI of NIT Durgapur. We don’t conduct any closed event. We exist and work for the FOSS movement only. As our group members are working so hard for the Bijra project , it is not going to happen that someone else will show up from from no-where and claiming our work as their.

A same kind of situation is happening for the ILUG-CAL also. Some (don’t know how much stable) people suddenly came out with a site started claiming that they are ILUG-CAL. I started working with the ILUG-CAL members from the beginning of my FOSS life. Now those idiots are simply trying to steal the identity, respect of ILUG-CAL. ILUG-CAL is always open for everyone and will be. But if someone want to takeover the whole movement with some false identity , we are not going to sit & relax at home………


Kalzium tutorial
Posted: 2007-04-06T09:19:35+05:30

After two days of work , Kalzium tutorial in Bengali is ready. You can download it from here. Yesterday night, I gave more than 25 takes on this, either sound is not coming properly, or some problem in mixing. I need a good app which can help me in the process of dubbing the tutorials. The video is in ogg theora format, audio can I get in any format. Can anyone please point me to some good app?

Recordmydesktop is rocking as far as the video is concerned, but the sound mixing is not working properly.


My first step to the real world
Posted: 2007-03-15T20:05:48+05:30

May be these are not the right words to describe today’s experience.  But I feel in that way only. Let me talk about something I learned today.

Suppose you own a school, and you want to do the management in e-way. Though you have enough money, but you can’t spend them as salary to hire good computer guys, so what you decide is to hire few consultants, some M$ guys etc. Now those will build some app with some backend database.  Now you may ask some other company to help you to manage all these e-things. So, you will have some meeting with all those guys, then company people will say  that they can not do anything with the database because there is no primary key in most of the tables, and your guys will reply that they can add it with some queries. As you are running such big school, you will certainly have some good/cool guys, who will understand the problem but will not be able solve the problems.

Today’s Comment:

All these problems may look like technical, but they are not . These  are only human problem…


No DMA :(
Posted: 2007-03-15T10:57:33+05:30

I have “HL-DT-ST DVDRAM GMA-4082N” in my laptop. Few days back I burned first DVD, and it took me more than 1.5 hour :(

So, figured out that DMA is not enabled for my /dev/hdc. hdparm gives:

[root@kdlappy ~]# hdparm -v /dev/hdc/dev/hdc:

 IO_support = 0 (default 16-bit)

 unmaskirq = 0 (off)

 using_dma = 0 (off)

 keepsettings = 0 (off)

 readonly = 0 (off)

 readahead = 256 (on)

 HDIO_GETGEO failed: Inappropriate ioctl for device

Tried to enable it by:
hdparm -d1 /dev/hdc/dev/hdc:

 setting using_dma to 1 (on)

 HDIO_SET_DMA failed: Operation not permitted

 using_dma = 0 (off)

Tried to compile the kernel myself, enabled almost everything under “ATA/ATAPI/MFM/RLL support” in Device Driver area, no good luck. My current kernel is 2.6.19-1.2911.6.5.fc6 Can anyone help me to enable DMA ?

Oh, and hdparm -i gives

[root@kdlappy ~]# hdparm -i /dev/hdc/dev/hdc:

Model=HL-DT-ST DVDRAM GMA-4082N, FwRev=HA01, SerialNo=M00684E5137

 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }

 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0

 BuffType=unknown, BuffSize=0kB, MaxMultSect=0

 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0

 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}

 PIO modes: pio0 pio1 pio2 pio3 pio4

 DMA modes: mdma0 mdma1 mdma2

 UDMA modes: udma0 udma1 *udma2


 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3: ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5

  • signifies the current active mode


Posted: 2007-03-07T10:00:15+05:30

WRT54G Linksys WRT54G, configured it with the default firmware. Now want to enable WPA for it.

I am using ndiswrapper for my card, so for connection I am giving:

#iwconfig wlan0 essid <essid>

Now the problem is if I enable WPA, how can I connect ?

#iwconfig wlan0 essid <essid> key <WhatshouldIwritehere?>

or anything else ??


Contents © 2004-2014 Kushal Das - Powered by Shonku