All over …

The vacations are now over. Me entering into 7th semester tomorrow. I should say that I am going to sit inside the classroom after 6 months 😉 (thats nearly half an yr). I couldnt imagine everything even now. It all happened so soon, 3 months of bed rest + semester exams + campus recruitment.

Me feeling a little odd now. Has the accident changed me?? Am I the same venkat??  Can I listen and be active in the class? Lets c that. My confidence is more eminent than before. Aiming to get atleast 9 ths sem 😉 not 9.5 as I decided all the previous semesters. If its not 9 I should atleast beat Rajiv ;). Really Im not joking. very very serious ths time.

Advertisements
Published in: on July 3, 2006 at 5:54 pm  Comments (5)  

Gnome 2.14 in Suse 10.0

As we all know Gnome 2.14 has been officially released. It is still not availalbe directly from Yast Gnome supplementary repository, but here is what you need to add for your Gnome to be updated, once available. As ususal, you will need to have the following repository addresses added to your Yast Installation Sources:

Protocol: FTP
Server: ftp.gwdg.de
For 64bit:
pub/linux/suse/ftp.suse.com/suse/x86_64/supplementary/GNOME/update_for_10.0/yast-source
For 32bit:
pub/linux/suse/ftp.suse.com/suse/i386/supplementary/GNOME/update_for_10.0/yast-source
You can also get the tarball directly from the gnome.org site.


But after i did all these things i fell onto a big trouble.

Packages to Update: 309
New Packages to Install: 13
Packages to Remove: 25
Total Size of Packages to Update: 1.0 GB :((((((((

For this I can get dapper cd after 2 days. So as of now leaving my system without upgrading.

Published in: on June 27, 2006 at 10:08 pm  Comments (1)  

My first PyGTK Program :)

Yesterday i was studying on howto write gedit plugins. My parser and the record utility should be now integrated with gedit. So no need of ldtpedit from now on :). The Recorder framework and the Data XML framework has been ported as plugins to gedit successfully. I have to integrate my parser and the recording utility as another plugin now. Hope will complete that in a week 🙂

I was happy to see that PyGTK is easier to code. My first code to display a textbox and a button. I learnt a lot from this program of how to allign the components in the correct order.

#!/usr/bin/env python

# example entry.py

import pygtk
pygtk.require(‘2.0’)
import gtk

class EntryExample:
def enter_callback(self, widget, entry):
entry_text = entry.get_text()
print “Entry contents: %s\n” % entry_text

def entry_toggle_editable(self, checkbutton, entry):
entry.set_editable(checkbutton.get_active())

def entry_toggle_visibility(self, checkbutton, entry):
entry.set_visibility(checkbutton.get_active())

def __init__(self):
# create a new window
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.set_size_request(200, 100)
window.set_title(“GTK Entry”)
window.connect(“delete_event”, lambda w,e: gtk.main_quit())

vbox = gtk.VBox(False, 0)
window.add(vbox)
vbox.show()

entry = gtk.Entry()
entry.set_max_length(50)
entry.connect(“activate”, self.enter_callback, entry)
entry.set_text(“hello”)
entry.insert_text(” world”, len(entry.get_text()))
entry.select_region(0, len(entry.get_text()))
vbox.pack_start(entry, True, True, 0)
entry.show()

hbox = gtk.HBox(False, 0)
vbox.add(hbox)
hbox.show()
check = gtk.CheckButton(“Editable”)
hbox.pack_start(check, True, True, 0)
check.connect(“toggled”, self.entry_toggle_editable, entry)
check.set_active(True)
check.show()
check = gtk.CheckButton(“Visible”)
hbox.pack_start(check, True, True, 0)
check.connect(“toggled”, self.entry_toggle_visibility, entry)
check.set_active(True)
check.show()
button = gtk.Button(stock=gtk.STOCK_CLOSE)
button.connect(“clicked”, lambda w: gtk.main_quit())
vbox.pack_start(button, True, True, 0)
button.set_flags(gtk.CAN_DEFAULT)
button.grab_default()
button.show()
window.show()

def main():
gtk.main()
return 0

if __name__ == “__main__”:
EntryExample()
main()

Published in: on June 27, 2006 at 8:46 am  Comments (2)  

The way into Tata Groups

Really someone has snapped his finger and my things are getting automatically done one by one :). Things get nicer now-a-days. I got VISTA + 4 Gb USB + ipod + a job in TCS within a week.

I think it all happend after I met Vijay Narayanan. Had a lot of jokes and chats. He was telling me about his core companies and as usual I was dreaming abt MS 🙂 With the same state of mind we both answered as if we intvd them and we were not interviewed by them :). We were satisfied of how we spent the day. We both are now selected.

Vijay lets meet at iisc the same way 🙂

Published in: on June 23, 2006 at 5:23 pm  Comments (3)  

Google Earth for Linux

Google has released his product Google Earth. There are several new features in this beta version. I donno why I have a bit of atraction towards Google. May be because he is going to recruit me 😉

Published in: on June 14, 2006 at 6:38 am  Comments (2)  

Microsoft Server 2005 Run on Linux

In a marked departure from its earlier stand, Microsoft has promised to add Linux support for the first time in one of its products last year. Microsoft’s Server 2005 product will run on non-Windows machines, including Linux.

Microsoft had always rebuffed any requests for interoperability with products it didn’t make, particularly Linux, an open-source giant, which it has long considered a threatening alternative.

Microsoft head Steve Ballmer promised to add Linux support to Virtual Server 2005 Service Pack 1, which will be shipped, because, he said, users need to manage heterogeneous networks.

Article.

I wonder how many copies were sold. I imagine the number to be quite small; what Linux user would buy a Microsoft product to run on their Linux server machine? Sounds like another way to get more money. If they make a tiny profit off of it, they will keep it. It also makes them sound good. “Hey, I hear Microsoft is not so competetive anymore. They are making stuff for Linux too.”

Will Microsoft ever use the Linux kernel?

Published in: on June 13, 2006 at 6:28 am  Comments (1)  

Download Vista ;)

Neowin is reporting that Windows Vista is now available for public download. Go get it! Microsoft has a "Get Ready" page that might prove useful and CNET has an article. Donno how well this works!!. if u download inform me 😉

Published in: on June 12, 2006 at 7:57 am  Comments (3)  

My Geek Code

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/E/M d(-)@?>- s(++)>++:()> a? C(+++)>++ ULC(++)>++$ P(--)? L(+++)>+++ !E(---)? !W(++)?>$ !N(*)>* !o(--)?>-- K--(-)? !w(++)> !O(-) !M> !V(-)>- !PS(+++)? !PE(--)? !Y() !PGP(-)?>- !t() !5() !X? !R()> tv(+)>+ b(+)>+$ DI !D(+)>+$ G(++)@>++ e(++)@>++ h()>$ !r? y?(---)@
------END GEEK CODE BLOCK------

Published in: on June 10, 2006 at 7:05 am  Leave a Comment  

LDTP Scripts for Gaim2.0(Beta 2)

I started off automating Gaim for the past 1 week. Completed the test cases for Menu Buddies. But after seeing the record utility in action, im now waiting for that to work well so that the need for writing scripts is reduced and the man power for automating is also reduced 🙂 I Think LDTP is going to tilt the world of testing upside down after a few months.

Published in: on June 9, 2006 at 8:28 am  Comments (2)  

Parsexml for Recording Action Done :)

This is going to be presented on Monday by Sp2hari and taggy. They have done the recording action for menu item and push buton. The parser thats scans the xml files to produce the python script was done by me yesterday. Should try to code for more components like radio/chkbox button… 🙂

The present architecture is as follows.The client and server exists (client in py and server in C)

First send the server packet which the server parses to realise the action (startrecord/stoprecord) ApplicationName (gedit or something) and the arguments (record all events /just key board strokes )

the protocol is as follows

<?xmlversion="1.0"?>
<REQUEST><RECORD><ID>1069158415</ID><ACTION>startrecord</ACTION><APPLICATION>gnome-background-properties</APPLICATION>
<ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>

And then the server startes recoding and all the actions are recorded in a file created on /tmp and when sending the stop argument the packet sent is as follows

<?xml version="1.0"?>
<REQUEST><RECORD><ID>81559358</ID><ACTION>stoprecord</ACTION><APPLICATION></APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>

then the server dumps me the Filename :as in the packet

<?xml version="1.0" encoding="utf-8"?><RECORD><ID>81559358</ID><DATA><LENGTH>28</LENGTH><FILEPATH>/tmp/ldtp-record-root-MrzDZi</FILEPATH></DATA></RECORD>

Then parse this to print out and return the filename. The next stage is to parse the /tmp/xxxx file to produce the actual python script that can be used to play the recorded events. The XML that is generated is of the form

<RECORD>
<COMMAND>
<ACTION>CLICK</ACTION>
<WINDOW>FRAME/DIALOG</WINDOW>
<OBJECTTYPE>Object type on which operation has been performed</OBJECTTYPE>
<CONTEXT>Window name</CONTEXT>
<COMPONENT>Object name</COMPONENT>
<ARGUMENTS>
<ARGUMENT></ARGUMENT>
<ARGUMENT></ARGUMENT>
</ARGUMENTS>
</COMMAND>
</RECORD>

Published in: on June 9, 2006 at 8:15 am  Comments (2)