CodeCracker 2.0

January 31, 2009 at 8:53 pm (Uncategorized) (, )

Do you want to put your organisation logo on http://lug.nitdgp.ac.in/codecracker ? Target audience = Best programmers worldwide. Last year’s CodeCracker Statistics at http://debayanin.googlepages.com/codecrackerintlstats

Permalink Leave a Comment

Progress

January 28, 2009 at 9:55 pm (Uncategorized) (, , )

	for akshar in alphabets:
		#print akshar

		draw.text((x, y), unicode(akshar,'UTF-8'), font=font)
		leftx=x-20 #the left end of the small bounding box
		box=(leftx,y,x+100,y+60) #the box in the big image within which the small image of interest lies
		sub_im=im.crop(box)
		#sub_im.show()
		bbox_sub=sub_im.getbbox() #get the bounding box of the black pixels in the sub image, not the big image
		bbox_im=(leftx+bbox_sub[0],y+bbox_sub[1],leftx+bbox_sub[2],y+bbox_sub[3]) #calculate relative to the big image
		draw.rectangle(bbox_im)
		print bbox_im

This block of code was instrumental in giving http://debayanin.googlepages.com/haha.jpg

Permalink Leave a Comment

Training process automation

January 25, 2009 at 11:34 am (Uncategorized)

I am so excited.

#!/usr/local/bin/python 
#-*- coding:utf8 -*-
 importImageFont,ImageDraw 
fromPILimport Image

im = Image.new("RGB",(400,400))
#im.show()

draw = ImageDraw.Draw(im)

# use a truetype font
font= ImageFont.truetype("/usr/share/fonts/truetype/ttf-bengali-fonts/lohit_bn.ttf",50)

txt1="ক"
txt2=" ি"
txt=txt2+txt1

draw.text((10, 10), unicode(txt,'UTF-8'), font=font)
im.show()

generated:

That means the *entire* training+testing process can be automated :) :) :)

Damn, I dint even have to go to ISI. Ofcourse, going to ISI was quite an experience in itself, but more on that later.

Permalink 4 Comments

Recently Held Talks/Workshops at NIT Durgapur & a special request

January 19, 2009 at 7:10 pm (Uncategorized)

GLUG NIT Durgapur organised a series of talks/workshops recently:

  1. Artwork Workshop by Rahul jha
  2. Python Talk by Shreyank Gupta and Debayan Banerjee
  3. LAMP/CMS Workshop by Sumit Datta

Our beloved IT Department played host to all the above. Thanx a million to our HOD Subhrabrata Sir, Sajal Sir and Rupa Mam.

The pictures have been uploaded here. Attendance was pretty good in the all the workshops, and audience reaction was great.
Looking forward to more similar workshops in the future.

This brings me to my special request. The IT department has been exceedingly kind in hosting all out events inspite of the Winter Schools that are parallely being held in the department which is quite a resource hungry endeavour. Infact, no other department would allow us the same freedom. Speaking of which, our professors are FOSS friendly to a great extent and under their guidance we switched form TurboC to gcc last year.

My request to you all is, kindly write a note of thanks to he department professor, and our HOD in particular, for supporting us through out. His email id is subhrabrata AT gmail or to sajal [DOT] mukhopadhyay AT nitdgp.ac.in

Permalink Leave a Comment

random note

January 16, 2009 at 6:33 pm (Uncategorized)

  • Python workshop. /me spoke for 15 mins, Shreyank rocked.
  • Vivek Tiwari accepted at Columbia University.
  • Nilu finally coming back
  • ISI OCR overlord Prof. Bidyut Baran Chaudhuri said he wanted to meet me at ISI and discuss about the project.
  • Mandar Mitra is a nice man. God bless him. I attended his data mining class.
  • Sumit Datta said yes to a workshop on a day’s notice, he rocks.
  • Time running out…………………

Permalink Leave a Comment

Assumption?

January 14, 2009 at 12:22 am (Uncategorized) ()

” Those responsible for assigning Unicode values to Indian languages had known about the complexity of rendering syllables. But they felt that the assigned codes correctly reflected the linguistic information in the syllable and so suggested that there was no need to assign codes to each syllable. It would be (and should be) possible to identify the same from a string of consonant and vowel codes (Just as syllables are identified in English). What was specifically recommended was that an appropriate rendering engine or shaping engine should be used to actually generate the display from the multibyte representation of a syllable.”

http://acharya.iitm.ac.in/multi_sys/unicode/uni.php?topic=assign

Permalink Leave a Comment

The entire institute using GNU/Linux !!

January 10, 2009 at 4:12 pm (Uncategorized) (, , )

Well, not really, but in a way they are.
We use DC++(http://en.wikipedia.org/wiki/DC%2B%2B) for all our file sharing needs. A central DC++ hub is required to transfer requests between peers. Previously it used to be hosted on some Windows machines in the hostels. Now, thanks to Roshan’s vision, the GLUG(http://lug.nitdgp.ac.in) server runs opendchub (http://opendchub.sourceforge.net/), and everyone connects to it. It is now very easy to publicise GNU/Linux through periodic broadcast messages. Nice move Roshan :)

Permalink 4 Comments

Who cares for us students?

January 7, 2009 at 7:07 pm (Uncategorized) (, , )

I just heard on IRC that 2 students died in NIT Jaipur within a span of 3 days. There is no sadder news than that. The sons/daughters of some parents, who maybe poor, and maybe the child was their only hope.
My best friend studies in VIT Vellore. He said that there is a suicide there every 2 weeks or so (not sure about the truth of that) and not a single news comes in the paper. The most recent case was that of a brilliant sudent, who is a 9 pointer there and was also the SUN campus ambassador. The administration and the police there are in bed. The security guards there are the police force in a sense. They deal with the body swiftly and hand over to the police.
In NIT Jaipur’s case, and VIT Vellore also, the administration is known to be extremely strict and unforgiving. That is characterised by hard to score grades, many failures/year backs, and a weak or a lack of a student union. NIT Jaipur’s director is also a professor at IIT Delhi and he is known to have many important contacts. The professors there are dictators and student union is entirely banned. Now all that maybe ok by some people’s standards, but then at this time in particular when the tech sector is badly hit by recession, and there are little jobs, and depression among the students is very high even in good NITs IITs, an unforgiving academic schedule and arrogant administration may be a death blow. I hear that there was not even a notice that informed people about it or a ceremony to commemorate the deceased.
Fortunately, my institute is not as merciless or senseless. We do have a student union and we use it properly. There has been no suicides here till date (one happened at the guys home, and his body was brought to the college so we could pay him our respects). Last year, a brilliant senior, selected at Columbia University died in a bike accident and we had a ceremony for that also.
Getting good grades here is easy and when there are mass failures or some professor acting crazy, we protest in a united fashion and get him removed/demoted. Now that may sound like politicisation of education to you, but it is basically just having a sensible eco system in the institute.
To be specific, my department is very special. Most professors are young and so cool. We are, touch wood, very close to our professors and we share our problems with them.
We have no harsh punishments and we have no time limit for entering or leaving the college premises. Girls are supposed to enter the college gates at 10 PM but a little late is no issue.
Our college has had a pretty bloody history in the times of naxalism, and it has taught the administration not to take students lightly.
I feel sorry for colleges like VIT or NIT Jaipur, and after living in a free atmosphere here for 3 years, i wonder how i would have reacted if i were a student in one of these jails (thats what i call VIT when i talk to my friend). What I do know is, it would have made me mad. To hide a students tragic death is like
saying “We dont care about the cause that killed him”. To not remember him in a ceremony with grieving with his loved ones is like saying “He just came here to earn a nice job, we dont care about his name or his identity, he is just another guy”. It is a administrators resposnibility to control the atmosphere of the classroom through the activity of teachers, and students if possible. Somehow, these people think we are the enemy.
But that is just one part of the problem. The students are too damn weak, that is the 2nd part. The least one could do is fine an RTI. It was done by an IIT Kanpur alumni enquiring about the recent suicides there. They had to come out with a proper report about the causes of the suicides and it was good to see that they did make an honest report.
To turn a blind eye to these cases is to put your childre’s future in jeopardy in one of these jails. We say freedom in the foss line so much, and yet we bow down to subservience so easily in all other walks of life. We are weak, thats the reason, nothing else. Its easy to blog about freedom and apply it to software, but it is more difficult to fight people in the real world, but it still has to be done, like we do here, and win.
I hope i am in a position some day to ask these directors of institutes to treat students properly. They spend money watering the plants and the grass, and dont give a damn about the students mental weel being. I know from personal experince, councelling helps a lot. That is the least an institute can do for students at difficult time like these.
May their souls rest in peace, and more importantly, i hope their deaths changes the minds of the powerful.

Permalink 1 Comment

Contribute articles to Linit

January 6, 2009 at 11:48 am (Uncategorized) (, )

Linit is the official souvenir of MUKTI (http://mukti09.in) published annually after Mukti. This year, like many other things, we are changing this too. We shall distribute copies of LINIT with registration kits and invite guest articles from outside also.
So this is a CFP if you may for articles for Linit. Remember that the readers will be mostly college students. Topics may vary wildly, but it should be related to Free and Open Source Software.
We will probably print 1000 copies of this magazine.
So kindly drop in a mail to lug@nitdgp.ac.in or debayanin@gmail.com to participate and contribute.

Permalink Leave a Comment