Archive for the ‘technical’ Category

A to-the-point post

October 18, 2006

Here is a winamp/xmms playlist containing around 900 songs (english ones) which we randomly dumped on the server side. Its kinda like the iiit jukebox ..so people please try it out. The playlist can be downloaded at

http://172.16.14.6/btp/audio_playlist.m3u

ps1: The server has not been tested yet, so incase the server is sucky or you are not able to connect , write a comment .

ps2: The bee mentioned in the previous post is now bugging sriram. The bee doesn’t realise who its messing with.

ps3: Basketball tourney has started, no one cares. Its a lame game. (is wooster listening ? )

ps4: This is the end

The one where I don’t know what the post is going to be about !

August 8, 2006

Long time since I posted, no inspiring thoughts for quite some time and I don’t want my blog to be YAD (yet another diary – if iv comes up with another acronym for this he can go hump a tree). Finished the cog science presentation, went ok i guess. The DE lab is conducting weekly reviews of projects :( . Heard from someone that CVIT did this. (^%&*). Any way, yours truly and the image DB guys are the chosen one’s for next week’s presentation. The first presentation in this regard was held yesterday. For some strange reasons , Niraj asks a doubt (god knows why he would attract attention). Any way, this post is merely cus  I feel its about time I got some reviews. Visit http://172.16.14.6/temp.html and any comments are welcome. (I don’t mind anonymous comments either) . Btw, you can also download the eistein hollow face illusion from the download link on the site.

ps1: did asimov catch on ?

ps2: hally seems pretty jobless considering the fact that he is blogging quite often these days

ps3: politics everywhere

ps4:  ym conspired against bushi and made him miss the I&S class, lucky fudge bushi

ps5: cruyff rox

pyqt x-errors ? QThreads?

June 17, 2006

This is one type of problem which refuses to subside once it starts. One of the major problems of using qt for any type of front-end work , this error comes when there are more and than one instructions simultaneously trying to draw the widget ( atleast, thats what I heard – correct me if I am wrong pls) . GUI problems even arise when we try to change some part of the GUI from an external thread. ( :( ) .
This got me googling for a solution and led me to a site which suggested the use of QThreads in the application. Here’s what the intro has to say
“Qt provides thread support in the form of basic platform-independent threading classes, a thread-safe way of posting events, and a global Qt library lock that allows you to call Qt methods from different threads.”
Ne way, it seemed pretty ordinary at first. I basically use the threading module for basic thread creation. However, it seemed to lack a terminate feature (which i felt would be quite nice) which QThread seems to have.
Apart from these, setting priority for a thread, pausing it seem to be peace of cake with this module.

ps1: Let me know if the above features can be done with the normal threading module (cus i don’t know)
ps2: Did not google for the ‘disadvantages of QThread’ or ‘How QThread is different from threading’
ps3: really , really sry for the previous “blahish” post.
ps4: argentina’s performance in the match against SnM was “ASIMOV” (:)) , snm’s defence was however pathetic.
ps5: have to goto the lab one of these days
ps6: fauji still writes “This is the end” at the end of his post. God wonders why ?
ps7: This is the end :P

mod_python !!

May 16, 2006

#!/usr/bin/python

print """

With frequent problems given by yahoo messenger in linux, i had to shift to a much better option for chatting ( and no its not tipIM :P cus it ain't popular yet) – ne way , its called meebo.com and is a wonderful site. ne way , i think its been done using AJAX ( i still don't know its capabilities..but it seems to be popular ne way). Turns out AJAX was a combination of java + ….This led me to a long search for any kind of link between AJAX tech and python. The final result mod_python. It got installed with ease (negelecting a simple mistake which i made while setting it up) . Ne way, now that its been done, I was happy to see the wonderful way in which it worked. Did not get into hardcore programming using it but will try to update regularly as and when i work on it .

ps0: so far, mod_python is good

ps1: the mailing forum is the best. No where else have i seen an accurate reply as fast as this place.

ps2: jython update as when bushi completes the gui . hope its good :)

ps3: really pissed I was at the canteen today ( i think it was cus i was tired) . to the crap family (Please ask me to count 1-10 everytime i give signs of anger)

ps4: we need more ppl for football

ps5: i've said it once, and i will say it again . ps's rock —- asimov iv

ps6: asimov above stands for awesome. hope, it catches on.

"""

Jython

May 7, 2006

#!/bin/env python

print “”"

    Got bored out of my skull yesterday, so tried my luck at jython. Got installed with ease. For all those who don’t know what Jython is — ‘Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform’ . This would mean that writing java functionalities would be as easy as writing any other python functionality ( I hope , haven’t really got my hands dirty with jython ) .

    Of course the ‘huhaness’ after installation took a plunge as soon as i found out that there was no help() functionality in jython  nor did the up- arrow thingy work ( which means that there was no history maintained) . But i guess these are irrelevant when you look at the package as a whole.  

    This however got me thinking about python development. Python has been so good ,its gotten me wondering why more companies don’t adopt it.  Anyway, CGI would definetly use python as its core programming language. more l8r, ciao

“”"