Tuesday, October 25, 2005

a simple jvm launcher

ever wanted to have more memory available with jvm, but didn't want to write platform dependent shell script or .bat files? here is a sampler, it spawns a new vm with more memory from the class file, which can be packed as a jar (you need jdk 1.5 for this code):

import javax.swing.*;

public class Hello {
public static void main(String [] args) {
if (args.length == 0) {
try {
System.out.println("I now have : " + Runtime.getRuntime().maxMemory());
Process p = new ProcessBuilder("java", "-Xmx256m", "Hello", "memory").start();
} catch(Exception e) {
e.printStackTrace();
}
} else {
JFrame f = new JFrame("Hi! I have more memory!: " + Runtime.getRuntime().maxMemory());
f.setVisible(true);
} // end if
}
}

premitive 3d in MeTA Studio


.... well the beginning of 3d world in MeTA studio, a very louzy vdw surface of benzene...

Monday, October 17, 2005

 


a wondeful flower in one of the gardens in film city Posted by Picasa

Sunday, October 16, 2005

PyCite 1.0

is a small script written by me to convert citations to various Journal formats... wrote it because got really bugged up doing that manually!
You can get the code from: http://v-ganesh.tripod.com/mySoftwareNew.html
 


again in the ramoji film city Posted by Picasa

Saturday, October 15, 2005

 


me in ramoji film city. Posted by Picasa

break: A Comparison of Solaris, Linux, and FreeBSD Kernels at OpenSolaris.org

A Comparison of Solaris, Linux, and FreeBSD Kernels at OpenSolaris.org: " and debugging tools are critical to get a correct understanding of system behavior. Yes, you can read the source code, but I maintain that you can easily misread the code. Having tools available to test your hypothesis about how the code works is invaluable. In this respect, I see Solaris with kmdb, mdb, and DTrace as a clear winner. I have been 'reverse engineering' Solaris for years. I find that I can usually answer a question by using the tools faster than I can answer the same question by reading source code. With Linux, I don't have as much choice for this. FreeBSD allows use of gdb on kernel crash dumps. gdb can set breakpoints, single step, and examine and modify data and "

a wonderful flower in uohyd garden

 
 Posted by Picasa
university of hyderabad is a wonderful place, the only problem is the heat and humidity. i took this fotu of elephant grass near CMSD. partially spoilt my addon closeup lens while trying to avoid the sun :( Posted by Picasa
sunset view from the place where i stayed ... the lake view guest house at university of hyderabad Posted by Picasa
charminar at night .. not a v.good fotu, requires tripod for night photography. but in true sence, i didn't find the lighting at charminar to be very attractive. Posted by Picasa
the place from where i took this fotu Posted by Picasa
a view from with in charminar Posted by Picasa
the charminar that i saw in history books was much better view! this is the present state of charminar, largely unmanaged, and maintained. sadly the walls are inscribed with funny names and stuff. Posted by Picasa
one of the first places that i visited in hyderabad... hussain sagar lake. in background is one of the world's tallest buddha statue. was a really humid day, and was swetting heavely. the place offers a boat ride, but was too expensive for me ;) Posted by Picasa

Sunday, October 09, 2005

back!

am back from a wonderful week at hyderabad :)

more on this later.... but in the time check out: an online office suite!