Dear Johnny,
Regarding my last mail, I have been working on bug 16282
https://bugs.freedesktop.org/show_bug.cgi?id=16282
I had implemented the enhancements and had mailed to Nagappan. He suggested a few improvements in the coding technique which again I have done and mailed back to him. His response is awaited.
Only GUI support needs to be added into the implementation which I will start working on after Nagappan's response.
Regards,
Shreyank Gupta.
Oh damn it ... I guess this requires a little more justice....
Ok.. Here goes...
All this time all I was doing on LDTP was looking for bugs... and then i would suggest to Nagappan, the Project maintainer of LDTP, how those could be dealt with... and he would solve them, sometimes following my suggestions sometimes not.
Well now, with a better and a little less buggy thing, I thought the software could do with a little enhancement, to make it a little more user friendly. So what I did was give Naggapan my little suggestion, and he suggested I should straight away post my little enhancement as a little Bug report and get to work with it.
The Enhancement:
LDTP editor is a program, written in Python with a Glade GUI which records things you do on your GNOME desktop, things like starting application, open new tab in a window, save as a file, and even send a mail on Evolution.
What it basically does, is that it records the name of the window where things are happening along with what is happening there. It then has an option to convert the recorded stuff to a python code, which when run, would do exactly the same tasks as it had recorded.
Or at least it is supposed to do that.
But in reality what happens is that the name of a window changes as things are done in it. As for example in Firefox the name of the window depends on what page is showing in it, for now what its showing is 'Blogger: All Sorts Of Things - Edit Post "Them Wild Card's" - Mozilla Firefox'.
So when you run a converted script in the Editor is ceases to run if the name of the window is changed. Fortunately the LDTP engine that runs the python codes the has a feature that enables window names to be passed with wildcards and if we would pass '*MozillaFirefox*' the code would know we mean the Firefox window.
So my little suggestion was why not use this feature, so that the converted python codes would run even if the window names have changed.
This was my little enhancement....
To solve this problem I wrote a little program in Python, which would input lines with the full window name, and would search an array (a list in Python) of all supported window-names and replace the long window name with a short wild-carded window name. (you get the idea, right)
I showed the program to Nagappan, and he advised me to use the re library - the RegEx Library in Python, to do it. I did that, it took me a while to figure out the correct RegEx but when i did, the code had shrunk to some 5 lines. Python Rocks!!!
The next few steps were easy, I made the program get the list of supported window names from a separate file. The idea was that there would be a copy supplied to the user, which would be kept in /usr/share/ldtp/appdata and if the user wanted to add or remove his own window names he could do it with a GUI (that part is still left to be done) and his personal copy would be kept in $HOME/.ldtp/appdata. So the program would 1st give preference to the user's personal copy (that would be the latter one) and in the event it couldn't find it he would look for the mother copy at /usr/share...
Also the file was to read once only if the list was empty, and then once it had a populated list, it would continue to work with it until the program ended.
I then broke the program into 2 functions, and a few global variables ( I wanted to make it into a class, but i don't know what kept me from doing that).
The part that i feared the most turned out to be the easiest, putting the functions into the main software itself. All this time I was writing those programs, I couldn't help diving into the codes and see where I could put in my modules, but as soon as I had it ready, the place suddenly sprang in front of my eyes, and I wondered how I could have overlooked it. A ctrl+C , a ctrl-V and a compile later, the enhancement was done and working. I couldn't believe it !! ( OK... That was a bit dramatic !)
With the job done, I mailed things back to Nagappan, and he replied with a few suggestions on how to improve the coding style mainly to maintain to continuity of the existing code.
That was not asking a lot, I did that too, and now the balls back in his court. Tonight maybe the enhancement will be accepted, and after the implementation of the GUI to add user defined window name support... RESULT !!!
And even ignoring the fact that I did not know any Python a week back, that is an achievement... PYTHON ROCKS AGAIN !!!
Stay tuned for more !
Friday, June 13, 2008
Tuesday, June 10, 2008
LDTP
Sorry to scare you like this but this is what I have been doing on my LDTP project in NOSIP.
Won't seem much, but that's because it ain't. :D
Report On Work on LDTP [NOSIP]
Sent from : shreyankg@gmail.com
Sent to : jjohnny@novell.com
CC : nagappan@gmail.com, vvaradhan@novell.com
Dear sir,
So far I have been working mainly on testing LDTP Editor with different applications.
I have started off with Pidgin and found a few bugs which I have reported to Nagappan.
One bug was when newline charecters in Pidgin tabs were not recognised.
That bug was solved by Naggappan.
The 2nd on which I was given to work on was special charecters like the music sign (♫) not getting recognised. I found out the fix to that and reported to nagappan, which he has now apperently implemented.
I have filed the bug reports at Bugzilla.
Here are the links:
Bug 16201
Bug 16202
For the next few days I am to continue looking for bugs on LDTP Editor which either Nagappan or I would be solving.
Thanking you,
Regards,
Shreyank Gupta.
Dear Nagappan,
Here is the 3rd bug report:
16203
Regards,
Shreyank.
Dear Jony,
This is updating on what I am doing on LDTP.
Following the bug reports on the last three bugs I filed, most of it has been solved by Nagappan and the latest software is compliant of them, except of a few minor glitches which I’m sure will be dealt with. There is some problem regarding on where the output of the LDTP editor is being displayed and though I have come up with a temporary solution for that, its not very acceptable and an alternate solution will be fond for it by Nagappan.
Following that I have suggested an enhancement for the LDTP Editor and filed it as bug report
16282
This is the enhancement I will be working on now.
Regards,
Shreyank Gupta.
Won't seem much, but that's because it ain't. :D
Report On Work on LDTP [NOSIP]
Sent from : shreyankg@gmail.com
Sent to : jjohnny@novell.com
CC : nagappan@gmail.com, vvaradhan@novell.com
Dear sir,
So far I have been working mainly on testing LDTP Editor with different applications.
I have started off with Pidgin and found a few bugs which I have reported to Nagappan.
One bug was when newline charecters in Pidgin tabs were not recognised.
That bug was solved by Naggappan.
The 2nd on which I was given to work on was special charecters like the music sign (♫) not getting recognised. I found out the fix to that and reported to nagappan, which he has now apperently implemented.
I have filed the bug reports at Bugzilla.
Here are the links:
Bug 16201
Bug 16202
For the next few days I am to continue looking for bugs on LDTP Editor which either Nagappan or I would be solving.
Thanking you,
Regards,
Shreyank Gupta.
Dear Nagappan,
Here is the 3rd bug report:
16203
Regards,
Shreyank.
Dear Jony,
This is updating on what I am doing on LDTP.
Following the bug reports on the last three bugs I filed, most of it has been solved by Nagappan and the latest software is compliant of them, except of a few minor glitches which I’m sure will be dealt with. There is some problem regarding on where the output of the LDTP editor is being displayed and though I have come up with a temporary solution for that, its not very acceptable and an alternate solution will be fond for it by Nagappan.
Following that I have suggested an enhancement for the LDTP Editor and filed it as bug report
16282
This is the enhancement I will be working on now.
Regards,
Shreyank Gupta.
Tuesday, June 3, 2008
And im serious !!!
On 1st December, 2007 Shreyank Gupta (now who's that?) posted the following in a forum he had created in his own highly unsuccessful community "We the PeeJay Crackers". very few people received the opportunity to read this piece and it had just one comment following it- "Bakwaas band kar". (it means "stop your rubbish"). Just think it deserves a little more attention:
I was not born a PJ cracker ... but circumstances made me one...
Its a very normal human reaction to detest a joke thats cracked on him.... u gotta say its a bad joke...
thats wat happened with me all the time... needless to say some people with no thinking power of their own went with them... sumtimes forcing me to beliv them....
thus this went on.. until it forced me degrade the quality of my jokes....
this may make u belive that PJs are a threat to socity... but its not.... actually its a the product of a very innovative mind.... a mind that is bend on cracking jokes that will force sumone to kick him ....
it forces people stuck in the surreal humour of reality to think out of the line... to move away from the Cover Story of life... it leads them to criticize humour...
it also takes them to a state of unhealthy competition... cos sumone who has just made the most disgusting face known to mankind at my PJ will now crack another PJ ... which he thinks will be a worse one...
but only in its dreams can a mortal soul think of surpassing the class of the PJ king....
Its a very normal human reaction to detest a joke thats cracked on him.... u gotta say its a bad joke...
thats wat happened with me all the time... needless to say some people with no thinking power of their own went with them... sumtimes forcing me to beliv them....
thus this went on.. until it forced me degrade the quality of my jokes....
this may make u belive that PJs are a threat to socity... but its not.... actually its a the product of a very innovative mind.... a mind that is bend on cracking jokes that will force sumone to kick him ....
it forces people stuck in the surreal humour of reality to think out of the line... to move away from the Cover Story of life... it leads them to criticize humour...
it also takes them to a state of unhealthy competition... cos sumone who has just made the most disgusting face known to mankind at my PJ will now crack another PJ ... which he thinks will be a worse one...
but only in its dreams can a mortal soul think of surpassing the class of the PJ king....
Saturday, May 31, 2008
Drupal
That's the most one could ask for.
A new running website, in just 3 days, thanks to drupal.
It all happened suddenly. Souvik who was originally supposed to do the website, suddenly called me and surrendered. He had lot more in his hands to worry about.
That night Debayan sends me a link to another CMS platform Plone. Says he has seen the videos, this one looks awesome, so lets make the website with plone instead of drupal. I told him no, cos i had been going through the 1st few pages of a Drupal manual I had downloaded and I didn't want it to be for vain.( it was not the 1st time I had gone through the 1st few pages of a book, but you know how it is!! )
So we dowloaded a few drupal videos that night,( it was after 3 am), mine being slower I was busy watching "The Usual Suspects"(nice movie believe me) and he had within an hour already seen them and installed the Website. Within 5 am we had a working website.
The next day Debayan was missing so I did a few things with the website( my favorite being changing the theme every 1 hour). The night I was asleep as Debayan worked.
By noon today we had all the correct modules and blocks and nodes is place, and with all the user management taken care of, I had already started publisizing the new website.
People pestering me about the theme: heres for you, this is just a for-the-time-being theme. Rahul Jha is supposed to have made a template for the website. I will change that into a drupal theme and trust me( if you trust Rahul, and trust me you can trust Rahul) it is going to be a treat for the eyes.
All people reading this: please register, you need not be a LUG member in order to register, and in case you are contact me or any other moderator, and they'll give you the necessary permissions of a paid LUG member(ofcource they enjoy more facilities).
A lot more work is to be done on the website and we will be ready to replace the old one. Please drop in comments on what you like and what you don't, we will try to follow most. (Arjun Lath your wishes have been answered!!)
I think me and Debayan have doen a great job with the website(and if that sounds as if I an bragging, well can't help it :D).
And as a wise man once said, "Give two Linux enthusiasts a Web Server and remote access to it, and get ready to see them do Magic".
.... Okay, that was me !!
A new running website, in just 3 days, thanks to drupal.
It all happened suddenly. Souvik who was originally supposed to do the website, suddenly called me and surrendered. He had lot more in his hands to worry about.
That night Debayan sends me a link to another CMS platform Plone. Says he has seen the videos, this one looks awesome, so lets make the website with plone instead of drupal. I told him no, cos i had been going through the 1st few pages of a Drupal manual I had downloaded and I didn't want it to be for vain.( it was not the 1st time I had gone through the 1st few pages of a book, but you know how it is!! )
So we dowloaded a few drupal videos that night,( it was after 3 am), mine being slower I was busy watching "The Usual Suspects"(nice movie believe me) and he had within an hour already seen them and installed the Website. Within 5 am we had a working website.
The next day Debayan was missing so I did a few things with the website( my favorite being changing the theme every 1 hour). The night I was asleep as Debayan worked.
By noon today we had all the correct modules and blocks and nodes is place, and with all the user management taken care of, I had already started publisizing the new website.
People pestering me about the theme: heres for you, this is just a for-the-time-being theme. Rahul Jha is supposed to have made a template for the website. I will change that into a drupal theme and trust me( if you trust Rahul, and trust me you can trust Rahul) it is going to be a treat for the eyes.
All people reading this: please register, you need not be a LUG member in order to register, and in case you are contact me or any other moderator, and they'll give you the necessary permissions of a paid LUG member(ofcource they enjoy more facilities).
A lot more work is to be done on the website and we will be ready to replace the old one. Please drop in comments on what you like and what you don't, we will try to follow most. (Arjun Lath your wishes have been answered!!)
I think me and Debayan have doen a great job with the website(and if that sounds as if I an bragging, well can't help it :D).
And as a wise man once said, "Give two Linux enthusiasts a Web Server and remote access to it, and get ready to see them do Magic".
.... Okay, that was me !!
Wednesday, May 28, 2008
secure shell
just for the records(that's what blogs are for you idiot !!!)
???!!!whatever...
seems that i have successfully configured the LUG server to manage SSH accounts. debayan was planning from a long time since after he had made the repository. the plan was to make ssh accounts for everyone in the core committee and the SDU, who was intersted for one. what the hell, he was not going to do everything and me just sit (read: sleep) and watch.
suddenly i discovered that logging through SSH as shrink@lug.nitdgp.ac.in meant I had to provide the password of my personal username instead of the root password ( took so long for you to figure that out, you air-head).
just ignore the person in brackets.....
thus i had discovered that i had found a way of creating SSH accounts. but i kept implementing the thing for later.
later debayan pointed out that all users should be limited to a certain disk space or we would soon be facing space constrains on the server ( as if...).
so i researched a bit. linux adminstration handbook (ok i got it from the library to study in the vacations) mentioned a command:
#copy disk quota settings from protouser to newuser
edquota -p protouser newuser
which was no use as we did have a protouser to copy from. it aslo mentioned that using disk quotas was obsolete because disk space has become cheaper (i am a proud owner of desktop too and take it from me: HARD DISKS are not cheap)
other than this it had no other opinion on the matter. so don't pester me about getting a book to read from the library because the only book
(only ????)
!!!shutup...
so where was i ... ya only book i got from the library was useless. (hope that was a sufficient enough excuse)
so i googled( should have done it earlier).
googling is a tedious but a sure method. none of the pages had complete information. but 4-5 results together and i had a idea what it was all about.
i also learnt that /home and /var/www/html had separate mount points. it involved me editing the /etc/fstab file to include quota support in those mount points and remounting them. also i had to make a aquota.something file in those directories to store quota info. (reminds me a lot of my youth for equality days)
i saw that the rest of the steps had me editing the quota for a user file using specific commands you don't wanna know about. so i did a good thing. i made a user named sshidol (inspired by indian idol which in turn was inspired by american idol) and i edited that user to allow it 20 mb of space in /home and 10 mb in the www folder. thus i could use the 'edquota -p' (see above) command to copy the settings to any new user ( so that was useful in a way).
i have the settings copied for my and debayans account. so its out for a test.
soon we would be making SSH accounts for all concerned. if you think you deserve an SSH account in the lug server, please do contact me. (after the testing is over).
p.s i was on windows while i did all this and i used putty a SSH client for windows. so if you get an SSH account and don't have linux do try it out.
ps. ps. ill not be using capital letters as punctuations anymore, its better to type this way (you lazy @@!!@##!)
!!!??aagghhhh....
???!!!whatever...
seems that i have successfully configured the LUG server to manage SSH accounts. debayan was planning from a long time since after he had made the repository. the plan was to make ssh accounts for everyone in the core committee and the SDU, who was intersted for one. what the hell, he was not going to do everything and me just sit (read: sleep) and watch.
suddenly i discovered that logging through SSH as shrink@lug.nitdgp.ac.in meant I had to provide the password of my personal username instead of the root password ( took so long for you to figure that out, you air-head).
just ignore the person in brackets.....
thus i had discovered that i had found a way of creating SSH accounts. but i kept implementing the thing for later.
later debayan pointed out that all users should be limited to a certain disk space or we would soon be facing space constrains on the server ( as if...).
so i researched a bit. linux adminstration handbook (ok i got it from the library to study in the vacations) mentioned a command:
#copy disk quota settings from protouser to newuser
edquota -p protouser newuser
which was no use as we did have a protouser to copy from. it aslo mentioned that using disk quotas was obsolete because disk space has become cheaper (i am a proud owner of desktop too and take it from me: HARD DISKS are not cheap)
other than this it had no other opinion on the matter. so don't pester me about getting a book to read from the library because the only book
(only ????)
!!!shutup...
so where was i ... ya only book i got from the library was useless. (hope that was a sufficient enough excuse)
so i googled( should have done it earlier).
googling is a tedious but a sure method. none of the pages had complete information. but 4-5 results together and i had a idea what it was all about.
i also learnt that /home and /var/www/html had separate mount points. it involved me editing the /etc/fstab file to include quota support in those mount points and remounting them. also i had to make a aquota.something file in those directories to store quota info. (reminds me a lot of my youth for equality days)
i saw that the rest of the steps had me editing the quota for a user file using specific commands you don't wanna know about. so i did a good thing. i made a user named sshidol (inspired by indian idol which in turn was inspired by american idol) and i edited that user to allow it 20 mb of space in /home and 10 mb in the www folder. thus i could use the 'edquota -p' (see above) command to copy the settings to any new user ( so that was useful in a way).
i have the settings copied for my and debayans account. so its out for a test.
soon we would be making SSH accounts for all concerned. if you think you deserve an SSH account in the lug server, please do contact me. (after the testing is over).
p.s i was on windows while i did all this and i used putty a SSH client for windows. so if you get an SSH account and don't have linux do try it out.
ps. ps. ill not be using capital letters as punctuations anymore, its better to type this way (you lazy @@!!@##!)
!!!??aagghhhh....
Sunday, May 18, 2008
Emulated
Finally I achieve what I had set out to achieve right from the middle of 3rd sem. Combining my two biggest passions after DJing...
LINUX and Counter Strike
I had found both at almost the same time.
Fire in the Hole:
The Hall 1 LAN was not connected to the outside world, neither the other halls nor the internet. They had put up a switch in the common room that would connect all the different wings to a single network. I had heard or the thrill of counter strike on LAN (bots had become very uninteresting then) and i wanted to taste it badly.
I remember how I had taken the initiative of buying a switch for the wing. I held a wing meeting and the joint decision of a switch being bought was passed.Considering the fact that there were only 3 computers in a wing of 8 rooms consisting of 24 people, that was a great achievement.
I had some Rs 1000 saved with me then (another of those great achievements) and the next weekend home I bought a 8 port hub. It cost sum Rs 650, Rs 50 lesser than what they were charging in Durgapur(yupp, I had done a market research as well).
Money collection after the thing was bought was what I didn't want to get caught in. I knew that once I start collecting money for what had already been bought I would get stuck in this great never seizing infinite loop and would never get my money back. So I had an idea !
I told my wingmates that I was still to buy the switch, (only Souvik and Abir knew the secret, others reading the blog... sorry !!!). I had my money in one day itself, roommies paying for their non-present mates.
And then the switch was installed that day itself!!
Having a computer at that time would mean you would use the LAN for just two things, file sharing using LAN surfer(movies & music you perverts) and Counter Strike.
Counter Strike was awesome. There was these group of pre-finals who played really well including my personal favorites:- RAVAN, KUMBHAKARAN, YKAS, 21st Pulikesi etc. I loved playing with them. All day (and night) I would be looking for new servers to join into.
Then one happy day all the hostel LANs were connected. And net came.
And I suddenly lost most of my enthusiasm towards CS.
Mandriva:
Right from the time I had installed windows on my computer I was looking forward to install Linux.
Mukti '06 had had a great impact on me including my favorite tagline:
I worked like a Slave for Mukti '06
I knew what Linux was all about. Somehow I had ended up on the Mukti helpless in 1st year and that was a minimum requirement for the job.
The 1st Linux installation I got was Ubuntu Live CD.
Within hours I still had the Ubuntu CD in my disc drive and my windows drive lost, never to be found. Apparently Ubuntu cound not detect my hard disc, and in the process of making it detect, I had somehow deleted my C drive.
Then 2nd year came, and with it the prospects of better distros for my computer.
About 3 new windows installation and 4 distros later, none of which could detect my hardware properly (Suse 10.2 DVD could not detect my DVD drive, the same one in which it was spinning) I was finally about to give up when I found Mandriva 2006 in 4 CDs.
An issueless installation and I had my 1st Linux system running.
I was quick enough to find out that I could do everything on Linux that I did on Windows, except for Counter Strike.
That was the beginning of my eternal quest.
I had set up a target to install Counter Strike successfully on Linux before Mukti '07 so that people could play CS instead of Quake 3 in the gaming compitition on Linux platform named C9H13NO3 which was the chemical formula for adrenaline (don't have a clue why it was named that).
http://www.cstrike-planet.com/tutorial/1/6 had an opinion on the matter which I seriously considered.
Installation was successful. But I had no idea how the game could run.
I could even read rounds start and finish, but there was no graphics. That was not Counter Strike. A Counter Strike which was running but I couldn't play was no valid game. Sorry.
People suggested WINE (no I wasn't yet frustrated enough to go alcoholic). WINE stood for "WINE Is Not an Emulator" which fell under the category of those Linux softwares whose developers weren't capable enough to give them a name which was NOT recursive in nature (GEEKS... I hate being one!! ).
Wine unfortunately is an emulator (a software which allows things from one platform to run in another; of cource with degraded performance), so this one allowed me to install the windows version of Counter Strike 1.6.exe on Linux. It's very ingenious though, how Wine created windows C drive, Program Files, Registry etc to install a windows software.
Installation was one thing, but the game actually running was me asking too much of it. Another failure.
Quake 3 was a major attraction at Mukti '07. Counter Strike on Linux stayed a distant dream.
6th Semester, things were quite different now. Even Mukti '08 has passed.
ENTER Stage Left : Debayan Banerjee with a LUG repository.
Jealous of Debayan's OpenSuse Drive, I had Mandriva 2008 downloaded on the LUG server. And I had people installing it.
The twist came when I learnt that a group of Counter Strike enthusiast had installed Mandriva 2008 for playing Counter Strike !! And they looked upon me to make it possible for them.
I went back to http://www.cstrike-planet.com/tutorial/1/6 . I installed Counter Strike again, but I was quick to perceive this time that I had actually installed a Counter Strike 1.6 Dedicated Server, which could only host a game on LAN which others could join on Windows and play, but you couldn't play on Linux itself, which put me back to square one.
Then people mentioned Cedega. Cedega is a derivative of Wine itself meant specially for emulating games. But the problem was that Cedega is a Propritory software, and it kept asking for a Transgaming(that would be the company that owns Cedega) username and password. I hate it when they do that, asking for things I didn't have and would have to pay for to acquire.
It also had no option for installing games and supported only mountable CDs which I didn't have for CS.
And finally, RESULT:
I stumbled upon this package named "Windows in Linux.zip" in my hard disk in one of my cleaning sessions (that's what I do to find space in my Hard Disk, find and delete trash from it) which I suddenly became aware of, and have no idea where I got it from. I was trying out all the stuff in it, when I stumbled upon Cedega, and this time it had a engine upgrade that came along with it.
I installed it as the manual directed, installed an upgrade, ignored all queries for transgaming account, and suddenly there is an option to install games from windows installers alongside the "Mount CD" option which I had written off earlier. I installed Counter Strike 1.6 digizone, had to look for the main exe, and there I was shooting terrorist bots at sight.
The graphics was not good enough compared to the what we find in windows, but it certainly was playable.
Sometimes I find it sad how intersting stories like these have such boring ends!
LINUX and Counter Strike
I had found both at almost the same time.
Fire in the Hole:
The Hall 1 LAN was not connected to the outside world, neither the other halls nor the internet. They had put up a switch in the common room that would connect all the different wings to a single network. I had heard or the thrill of counter strike on LAN (bots had become very uninteresting then) and i wanted to taste it badly.
I remember how I had taken the initiative of buying a switch for the wing. I held a wing meeting and the joint decision of a switch being bought was passed.Considering the fact that there were only 3 computers in a wing of 8 rooms consisting of 24 people, that was a great achievement.
I had some Rs 1000 saved with me then (another of those great achievements) and the next weekend home I bought a 8 port hub. It cost sum Rs 650, Rs 50 lesser than what they were charging in Durgapur(yupp, I had done a market research as well).
Money collection after the thing was bought was what I didn't want to get caught in. I knew that once I start collecting money for what had already been bought I would get stuck in this great never seizing infinite loop and would never get my money back. So I had an idea !
I told my wingmates that I was still to buy the switch, (only Souvik and Abir knew the secret, others reading the blog... sorry !!!). I had my money in one day itself, roommies paying for their non-present mates.
And then the switch was installed that day itself!!
Having a computer at that time would mean you would use the LAN for just two things, file sharing using LAN surfer(movies & music you perverts) and Counter Strike.
Counter Strike was awesome. There was these group of pre-finals who played really well including my personal favorites:- RAVAN, KUMBHAKARAN, YKAS, 21st Pulikesi etc. I loved playing with them. All day (and night) I would be looking for new servers to join into.
Then one happy day all the hostel LANs were connected. And net came.
And I suddenly lost most of my enthusiasm towards CS.
Mandriva:
Right from the time I had installed windows on my computer I was looking forward to install Linux.
Mukti '06 had had a great impact on me including my favorite tagline:
I worked like a Slave for Mukti '06
I knew what Linux was all about. Somehow I had ended up on the Mukti helpless in 1st year and that was a minimum requirement for the job.
The 1st Linux installation I got was Ubuntu Live CD.
Within hours I still had the Ubuntu CD in my disc drive and my windows drive lost, never to be found. Apparently Ubuntu cound not detect my hard disc, and in the process of making it detect, I had somehow deleted my C drive.
Then 2nd year came, and with it the prospects of better distros for my computer.
About 3 new windows installation and 4 distros later, none of which could detect my hardware properly (Suse 10.2 DVD could not detect my DVD drive, the same one in which it was spinning) I was finally about to give up when I found Mandriva 2006 in 4 CDs.
An issueless installation and I had my 1st Linux system running.
I was quick enough to find out that I could do everything on Linux that I did on Windows, except for Counter Strike.
That was the beginning of my eternal quest.
I had set up a target to install Counter Strike successfully on Linux before Mukti '07 so that people could play CS instead of Quake 3 in the gaming compitition on Linux platform named C9H13NO3 which was the chemical formula for adrenaline (don't have a clue why it was named that).
http://www.cstrike-planet.com/tutorial/1/6 had an opinion on the matter which I seriously considered.
Installation was successful. But I had no idea how the game could run.
I could even read rounds start and finish, but there was no graphics. That was not Counter Strike. A Counter Strike which was running but I couldn't play was no valid game. Sorry.
People suggested WINE (no I wasn't yet frustrated enough to go alcoholic). WINE stood for "WINE Is Not an Emulator" which fell under the category of those Linux softwares whose developers weren't capable enough to give them a name which was NOT recursive in nature (GEEKS... I hate being one!! ).
Wine unfortunately is an emulator (a software which allows things from one platform to run in another; of cource with degraded performance), so this one allowed me to install the windows version of Counter Strike 1.6.exe on Linux. It's very ingenious though, how Wine created windows C drive, Program Files, Registry etc to install a windows software.
Installation was one thing, but the game actually running was me asking too much of it. Another failure.
Quake 3 was a major attraction at Mukti '07. Counter Strike on Linux stayed a distant dream.
6th Semester, things were quite different now. Even Mukti '08 has passed.
ENTER Stage Left : Debayan Banerjee with a LUG repository.
Jealous of Debayan's OpenSuse Drive, I had Mandriva 2008 downloaded on the LUG server. And I had people installing it.
The twist came when I learnt that a group of Counter Strike enthusiast had installed Mandriva 2008 for playing Counter Strike !! And they looked upon me to make it possible for them.
I went back to http://www.cstrike-planet.com/tutorial/1/6 . I installed Counter Strike again, but I was quick to perceive this time that I had actually installed a Counter Strike 1.6 Dedicated Server, which could only host a game on LAN which others could join on Windows and play, but you couldn't play on Linux itself, which put me back to square one.
Then people mentioned Cedega. Cedega is a derivative of Wine itself meant specially for emulating games. But the problem was that Cedega is a Propritory software, and it kept asking for a Transgaming(that would be the company that owns Cedega) username and password. I hate it when they do that, asking for things I didn't have and would have to pay for to acquire.
It also had no option for installing games and supported only mountable CDs which I didn't have for CS.
And finally, RESULT:
I stumbled upon this package named "Windows in Linux.zip" in my hard disk in one of my cleaning sessions (that's what I do to find space in my Hard Disk, find and delete trash from it) which I suddenly became aware of, and have no idea where I got it from. I was trying out all the stuff in it, when I stumbled upon Cedega, and this time it had a engine upgrade that came along with it.
I installed it as the manual directed, installed an upgrade, ignored all queries for transgaming account, and suddenly there is an option to install games from windows installers alongside the "Mount CD" option which I had written off earlier. I installed Counter Strike 1.6 digizone, had to look for the main exe, and there I was shooting terrorist bots at sight.
The graphics was not good enough compared to the what we find in windows, but it certainly was playable.
Sometimes I find it sad how intersting stories like these have such boring ends!
Friday, May 16, 2008
NetWorked
Dear all,
Its finally time when I blogged again, and because this is after a long time, this is going to be long.
Loads of interesting things happened from then to now. But I´ll try and stick to the main features.
1. Raha Travels Pvt. Ltd.
To start it off was the 10 hour long bus journey from Durgapur to Kolkata in an AC bus (which was basically no use as most of the time we spent outside the bus( we as in me and Mayank Daga the new LUG NITDGP president). The journey consisted of a non stop 1.5 hour ride from Durgapur to Saktigarh(that´s midway) and the rest of the time on the other half. There were times when :
We had experienced about 8 jams that day within 8 hours. Some people stranded with us were of the opinion that the traffic disruption was because of the IPL T20 match between Kolkata Knight Riders and the Mumbai Indians but none could explain how that jam could extent, more so devided among 8 smaller jams to midway between Durgapur and Kolkata.
Not to mention KKR lost the match that evening.
2. Error 678
The first thing I had done after returning home for the holidays was to apply for a BSNL broadband connection. The whole Cossipore Telephone exchange knows me by now. Mine was a special case. Not that no one applies for a HOME 500 plan, no, but then I required the connection within a week (that was some 7 weeks before normal) and I would be surrendering it within 3 months( dunno what´s the norm in this case! ).
So there I was practically almost everyday at the Exchange making my presence felt personally or over phone.
I managed to squeeze out a DSL modem within 3 days... my dream of getting an internet connection close. Was maybe only 2 days more till I got my username and password. Meanwhile I was trying all different usernames and passwords even Anish´s valid ones with the same result.
Error 678 "The remote computer did not respond"
There came a time when I finally got irritated of the error message. But I did not stop connecting.
3. Mantra: The Lifestyle Management Club
And here´s the part which we were all waiting for. I joined a Gym.
As of now I have already been Gymming for 2 weeks. But the 1st day there was awesome.
I started off with funny-named and funny-looking Streaching and Joint Movement exercises.
Funny named ones
Funny Looking ones
Then came the aerobics. I was to do 2x5 mins of cycling, 5 mins on the jogger and 5 mins on th treadmill.
I stated off with cycling followed by the Jogger keeping the relatively easy treadmill for the end.
I don´t know from where I got this notion that all treadmills were automatic. Turned out this wasn't.
After what seemed like hours of sweat-dripping and leg-numbing walking I glanced at the watch- only 1 minute had passed.
To top it all I was made to do 100 crunches and had to walk home( The gym is some 20 minutes from home by walking).
It was a miracle that I had managed to return home in one piece and somewhat 3-dimensional.
4. #2, Church Lane:
This year will be my happiest ever for at last I was able to resolve my Identity Crisis.
Now I have a Birth Certificate, a Ration Card, a Bank Account and the newest in the line, my Voters ID card.
A year ago I had none of those.
Came to know that they were handing out new Voter ID cards at Church Lane for new applicants whose name had appeared in the voter´s list. Mummy and Daddy told me to grace them with a visit.
So I went there with by application form´s counterpart. I had expected a decent office. Instead it was an accountancy firm converted into an election office. People were like normal people are in such a place. No matter how many times they were told to sit and wait and not line up before they were called, just one person had to move in the direction of the office and there was a whole queue behind him. Then they had to be told off and they would come back and sit down.
This continued for an hour. Finally were were asked to make a queue and fortunately I was right at the beginning this time. Minutes later I was heading back home with a new 4 GB Flash Drive( I lost the last one I had brought a month ago spending Rs 50 on the new one) and a Samsung DVD writer.
The Voter ID Card lay forgotten in my pocket.
5. Wipro :
Ms Bhardwaj had me in her cc whenever she sent a mail to our TPO regarding Wipro Internships. Except when she mails the final selected candidates, she decides to leave me out.
So just 2 days before the students are to report at the Wipro I come to know that such a mail has been sent.
Times when I wish I had an internet connection. I spent 2 hours in the hot cafe sorting out names and sending the selected candidates emails.
That´s ok. But when a Week ago both our TPO and asst. TPO decides to call at 8 p.m. remind me one after the other what a lazy idiot I am while I am watching The Sound of Music, that really got irritating. I had to contact all the TPR´s most at home without Internet like me and some even in the train. But Fortunately Layek got whatever he wanted by the afternoon next day.
6. Perhaps, Perhaps, Perhaps :
It was 10 days since I had applied for the Broadband connection. The person I was in contact with me had assured me action within 7 days and was not answering my calls. So I made another visit to the Telephone Exchange.
This time they checked it up and told me that my application had been sent to Bangalore and it will be at least 7 more days before I get my Username and Password. This gave me time. (didn´t stop me from trying to connect with ´all sorts of ´ usernames and passwords though).
I licked thought the entire 4 seasons of Coupling twice and all of The Simpsons once.
I liked Coupling. It had this rare sense of situational comedy that appealed to me. The character I liked the most was Jeff, with hair all spiky (but that isn´t the reason of me liking him).
I am not including excerpts for fear of censorship which I very much wanted to. But I would like you to visit http://en.wikipedia.org/wiki/Jeff_Murdock#.22Jeff_concepts.22
7. Eden Gardens:
And when you would be least expecting it, a friend will come up with 8 tickets to the Kolkata Knight Riders vs Delhi Daredevils match at Eden Gardens. As usual I will First agree to go along, then when I find out no one else is going I would say no and go to sleep. Then the rest of them would call me up and say that everyone is going as it will be fun, and again I agree. Then when I look at the watch its just 10 mins before everybody leaves for Eden.
Nevertheless I go along. I get in and am excited to see the cheerleaders up close, more excited when I learn that I get to sit close to them.
The first half is boring with KKR scoring a low total. But when you start having doubts that you wasted Rs 325/- Shoaib bowls and steals the show.
I saw every ball of the match except of the over when I was busy searching where Shah Rukh Khan was.
KKR had won the match, we were ecstatic. So much that we missed all the buses returning home.
A few more misadventures later at 1 a.m. there we were on a bus passing Sovabazar when I saw them for the first time. They were standing in groups along the road. The bus conductor was having his share of fun calling them names like Champa and Bulbul. But I was too tired to give them an afterthought.
8. Broadband:
I had bunked gym for the first time after joining. Coudn´t help, no possible way I could wake up at 5:30 am after a night at Eden. I woke up with an sms. It stated my username and password. I had an Internet connection last.
After trying in vain to connect the normal, I had to try unknown techniques of getting connected. And at last I did.
A lot of things were pending since I left colleges.
1. Cleared my inbox of the 200 or so mail that had come up after leaving college thanks to orkut and all the mailing lists I had enthusiastically subscribed to.
2. Finished downloading Mandriva 2008 Spring on the LUG server and Put it up on the repository for download.
3. Mailed and chatted up the NOSIP people on the IRC. Started up on LDTP.
TODAY
4. Set up and configured NTP on the LUG server. Applied to the NTP site as a pool server. Was accepted. Initial score of the LUG server was -5 at 12 noon today. At 12:30 a.m. it has current score 11.7. For a NTP server to be among the recognized ones it should have a score of above 5. No wonder India had just one NTP server in the morning.
Now it has two.
5. The broadband guy came up at 9:30 p.m. (is Bengal suddenly getting so nocturnal, makes me feel good) and configured net correctly for windows. Then I find that its not running on Linux, so I had to reset the modem to factory defaults. Now everything is back to normal (normal- depends on how you define it).
6. And of course I wrote this blog.
P.S. And the Results:
Finally out of the 6.5 loop as Souvik correctly puts it. Somewhat happy with my marks, but ....
Its finally time when I blogged again, and because this is after a long time, this is going to be long.
Loads of interesting things happened from then to now. But I´ll try and stick to the main features.
1. Raha Travels Pvt. Ltd.
To start it off was the 10 hour long bus journey from Durgapur to Kolkata in an AC bus (which was basically no use as most of the time we spent outside the bus( we as in me and Mayank Daga the new LUG NITDGP president). The journey consisted of a non stop 1.5 hour ride from Durgapur to Saktigarh(that´s midway) and the rest of the time on the other half. There were times when :
- we had about 20 lorries with drivers-in-deep-sleep that had to be woken up and requested to move their vehicles out of the way so that our bus could move ahead.
- ten of us tried in vain to push a trailer that suddenly finished all its fuel and refused to move further disrupting more traffic.
We had experienced about 8 jams that day within 8 hours. Some people stranded with us were of the opinion that the traffic disruption was because of the IPL T20 match between Kolkata Knight Riders and the Mumbai Indians but none could explain how that jam could extent, more so devided among 8 smaller jams to midway between Durgapur and Kolkata.
Not to mention KKR lost the match that evening.
2. Error 678
The first thing I had done after returning home for the holidays was to apply for a BSNL broadband connection. The whole Cossipore Telephone exchange knows me by now. Mine was a special case. Not that no one applies for a HOME 500 plan, no, but then I required the connection within a week (that was some 7 weeks before normal) and I would be surrendering it within 3 months( dunno what´s the norm in this case! ).
So there I was practically almost everyday at the Exchange making my presence felt personally or over phone.
I managed to squeeze out a DSL modem within 3 days... my dream of getting an internet connection close. Was maybe only 2 days more till I got my username and password. Meanwhile I was trying all different usernames and passwords even Anish´s valid ones with the same result.
Error 678 "The remote computer did not respond"
There came a time when I finally got irritated of the error message. But I did not stop connecting.
3. Mantra: The Lifestyle Management Club
And here´s the part which we were all waiting for. I joined a Gym.
As of now I have already been Gymming for 2 weeks. But the 1st day there was awesome.
I started off with funny-named and funny-looking Streaching and Joint Movement exercises.
Funny named ones
- Tadasana
- Pec-Dec-Fly
Funny Looking ones
- Butterfly : involved joining your feet together close to your crotch and flapping your legs like a, ummm.... butterfly!!??
- Crocodile : you lie on your front and put your palms on your face with elbows on the ground which makes you look like someone in deep thought and nowhere remotely close to a croc.
Then came the aerobics. I was to do 2x5 mins of cycling, 5 mins on the jogger and 5 mins on th treadmill.
I stated off with cycling followed by the Jogger keeping the relatively easy treadmill for the end.
I don´t know from where I got this notion that all treadmills were automatic. Turned out this wasn't.
After what seemed like hours of sweat-dripping and leg-numbing walking I glanced at the watch- only 1 minute had passed.
To top it all I was made to do 100 crunches and had to walk home( The gym is some 20 minutes from home by walking).
It was a miracle that I had managed to return home in one piece and somewhat 3-dimensional.
4. #2, Church Lane:
This year will be my happiest ever for at last I was able to resolve my Identity Crisis.
Now I have a Birth Certificate, a Ration Card, a Bank Account and the newest in the line, my Voters ID card.
A year ago I had none of those.
Came to know that they were handing out new Voter ID cards at Church Lane for new applicants whose name had appeared in the voter´s list. Mummy and Daddy told me to grace them with a visit.
So I went there with by application form´s counterpart. I had expected a decent office. Instead it was an accountancy firm converted into an election office. People were like normal people are in such a place. No matter how many times they were told to sit and wait and not line up before they were called, just one person had to move in the direction of the office and there was a whole queue behind him. Then they had to be told off and they would come back and sit down.
This continued for an hour. Finally were were asked to make a queue and fortunately I was right at the beginning this time. Minutes later I was heading back home with a new 4 GB Flash Drive( I lost the last one I had brought a month ago spending Rs 50 on the new one) and a Samsung DVD writer.
The Voter ID Card lay forgotten in my pocket.
5. Wipro :
Ms Bhardwaj had me in her cc whenever she sent a mail to our TPO regarding Wipro Internships. Except when she mails the final selected candidates, she decides to leave me out.
So just 2 days before the students are to report at the Wipro I come to know that such a mail has been sent.
Times when I wish I had an internet connection. I spent 2 hours in the hot cafe sorting out names and sending the selected candidates emails.
That´s ok. But when a Week ago both our TPO and asst. TPO decides to call at 8 p.m. remind me one after the other what a lazy idiot I am while I am watching The Sound of Music, that really got irritating. I had to contact all the TPR´s most at home without Internet like me and some even in the train. But Fortunately Layek got whatever he wanted by the afternoon next day.
6. Perhaps, Perhaps, Perhaps :
It was 10 days since I had applied for the Broadband connection. The person I was in contact with me had assured me action within 7 days and was not answering my calls. So I made another visit to the Telephone Exchange.
This time they checked it up and told me that my application had been sent to Bangalore and it will be at least 7 more days before I get my Username and Password. This gave me time. (didn´t stop me from trying to connect with ´all sorts of ´ usernames and passwords though).
I licked thought the entire 4 seasons of Coupling twice and all of The Simpsons once.
I liked Coupling. It had this rare sense of situational comedy that appealed to me. The character I liked the most was Jeff, with hair all spiky (but that isn´t the reason of me liking him).
I am not including excerpts for fear of censorship which I very much wanted to. But I would like you to visit http://en.wikipedia.org/wiki/Jeff_Murdock#.22Jeff_concepts.22
7. Eden Gardens:
And when you would be least expecting it, a friend will come up with 8 tickets to the Kolkata Knight Riders vs Delhi Daredevils match at Eden Gardens. As usual I will First agree to go along, then when I find out no one else is going I would say no and go to sleep. Then the rest of them would call me up and say that everyone is going as it will be fun, and again I agree. Then when I look at the watch its just 10 mins before everybody leaves for Eden.
Nevertheless I go along. I get in and am excited to see the cheerleaders up close, more excited when I learn that I get to sit close to them.
The first half is boring with KKR scoring a low total. But when you start having doubts that you wasted Rs 325/- Shoaib bowls and steals the show.
I saw every ball of the match except of the over when I was busy searching where Shah Rukh Khan was.
KKR had won the match, we were ecstatic. So much that we missed all the buses returning home.
A few more misadventures later at 1 a.m. there we were on a bus passing Sovabazar when I saw them for the first time. They were standing in groups along the road. The bus conductor was having his share of fun calling them names like Champa and Bulbul. But I was too tired to give them an afterthought.
8. Broadband:
I had bunked gym for the first time after joining. Coudn´t help, no possible way I could wake up at 5:30 am after a night at Eden. I woke up with an sms. It stated my username and password. I had an Internet connection last.
After trying in vain to connect the normal, I had to try unknown techniques of getting connected. And at last I did.
A lot of things were pending since I left colleges.
1. Cleared my inbox of the 200 or so mail that had come up after leaving college thanks to orkut and all the mailing lists I had enthusiastically subscribed to.
2. Finished downloading Mandriva 2008 Spring on the LUG server and Put it up on the repository for download.
3. Mailed and chatted up the NOSIP people on the IRC. Started up on LDTP.
TODAY
4. Set up and configured NTP on the LUG server. Applied to the NTP site as a pool server. Was accepted. Initial score of the LUG server was -5 at 12 noon today. At 12:30 a.m. it has current score 11.7. For a NTP server to be among the recognized ones it should have a score of above 5. No wonder India had just one NTP server in the morning.
Now it has two.
5. The broadband guy came up at 9:30 p.m. (is Bengal suddenly getting so nocturnal, makes me feel good) and configured net correctly for windows. Then I find that its not running on Linux, so I had to reset the modem to factory defaults. Now everything is back to normal (normal- depends on how you define it).
6. And of course I wrote this blog.
P.S. And the Results:
Finally out of the 6.5 loop as Souvik correctly puts it. Somewhat happy with my marks, but ....
Subscribe to:
Posts (Atom)