Friday, October 28, 2005
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
}
}
Tuesday, October 18, 2005
know about the cyber laws of india
Check this site for a comprehensive info. on cyberlaws in india. ... we need the laws only if harm the society, otherwise what is their purpose? ;)
8086 Microprocessor Emulator with Integrated 8086 Assembler
8086 Microprocessor Emulator with Integrated 8086 Assembler ... a good tool to learn assembly ... w/o harming your machine!
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
You can get the code from: http://v-ganesh.tripod.com/mySoftwareNew.html
Saturday, October 15, 2005
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 "
Friday, October 14, 2005
Molecular Expressions: The Silicon Zoo
here is an amasing site on silicon photography:
http://micro.magnet.fsu.edu/creatures/index.html
http://micro.magnet.fsu.edu/creatures/index.html
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!
more on this later.... but in the time check out: an online office suite!
Subscribe to:
Posts (Atom)