Kushal Das

FOSS and life. Kushal Das talks here.

kushal76uaid62oup5774umh654scnu5dwzh4u2534qxhcbi4wbab3ad.onion

HarvestMan...

Last Saturday in the bangpypers meet, anand introduced HarvestMan.

From the project page: HarvestMan is a fully functional, multithreaded webcrawler cum offline-browser. It is highly customizable and supports as much as 55 plus options for controlling and customizing offline browsing. It is written entirely in the Python programming language.

It simply rocks. I remember in the college days I was looking something like this. Now I have one and in python :) Still now it is a command line tool, GUI is in TODO list. So, will start doing that. For me, PyQt is the best choice. If any one is wondering, how a gr8 python modular code looks, he/she should look into HarvestMan.

Fedora in School

After getting two computers as donation, we are able to install Fedora at Bijra High School. Previously the single box was running Debian. If you see the enthusiasm among the students about computer, you will surely fill same :) You can read the full story here. Still looking for some donation of old boxes, so that we can enable LTSP there. If you can arrange some, please give me a mail.

Urgent help needed

Our lug site is hacked. www.dgplug.org by some crackers_child group. Now I can't go to the site (latest news) No whois information for that site..

What to do ?

Please send me a mail at kushaldas AT gmail [NOSPAM} DOT com

Resize image

use QT :)

from qt import QImage import sys

qm = QImage(sys.argv[1]) qm = qm.scale(600,480,QImage.ScaleMin) qm.save('ch-'+sys.argv[1],'JPEG',100)


o/p is good enough

Update:

If you find the output image is not good enough, then you might want to use

qm = qm.smoothScale(600,480,QImage.ScaleMin)