Wednesday, April 23, 2008

Python is a one day job..
Catch it here : http://www.python.org/

Sunday, April 13, 2008

On installing Ubuntu and downloading KDE , the installation is smooth and missing environment is taken from the Linux repository at Ubuntu distribution..Problem solved out.

Tuesday, April 8, 2008

Read about embedding animations in the web browser.The main idea behind which is to make the files on system shared , so it becomes accessible over the internet.

Interesting link to this from the KDE development team... looking forward to trying this once I finish installing the software in the first place.

http://www.konqueror.org/componentstutorial/
SO WHAT IS THE JVM?

The JAVA Virtual Machine is a stack representation of the programming architecture.Which means that independent of the platform used the java programs can be compiled using this virtual architecture where instructions are stored in a certain order to be executed.
Each time a method is invoked the sequence of events happen are:
1. A frame is created consisting of an operand stack, an array of local variables, and a reference to the runtime methods
2. A thread stores this set of frames in the from of a JVM stack in LIFO structure

In the frames the array of local variables is used to store the local methods and loacal variable parameteres .

1. The parameters are stored first, beginning at index 0.

For a constructor frame or an instance method, the reference is stored at location 0. Then location 1 contains the first formal parameter

For a static method frame, the first formal method parameter is stored in location 0, the second in location 1, and so on.

This is all done at compile time

AND WHAT EXACTLY IS A BYTE CODE ?

Bytecode is the intermediate representation of Java programs like in the form of assembly code. To have an idea of what the byte code represents can help a programmer design better and more efficient programs with better performance and memory usage tuning.

This bytecode is generated by the javac compiler. So when you have compiled your program a .class file is generated which is the bytecode file.

In Java the assembly code is prefixed with certain alphabets

aload-manipulating object reference

iload- manipulating integer code

cload , bload, dload- manipulating charecter, byte, double resp

AND WHAT IS MY CONTRIBUTION

I will have to do the following skeletal job for a decent thesis

a) change a JVM to collect bytecode frequencies -optimization of the code using comp arch concepts since java optimization works well for web browsers but in case of small embedded systems using java components the data is not very well known.Like for example in the case of a PDA how shall the bytecodes be optimized for better effeciency.The requirements go different from those of a standard desktop computer

b) change the JVM a browser uses to your modifed version

c) browse the net to collect statistics - These statistics could probabbly provide some insights into understanding how to improve and what to focus on while creating web browsers for small handheld devices.

Knowing what bytecode is generated for a sequence of Java instructions can help you write smaller and more efficient code.


Sunday, April 6, 2008

What is Ubuntu ?

It is a linux operating system developed by a recent group of people for desktop and servers.
As claimed by the Ubuntu official wenbsite ;

Ubuntu is designed with security in mind. You get free security updates for at least 18 months on the desktop and server. With the Long Term Support (LTS) version you get three years support on the desktop, and five years on the server.


Installation takes about 30 minutes from CD .Another 25 minutes to download the CD content from the mirror location to the laptop and copy it to your RW CD.

Other softwares are available online by accessing the operating system itself.
apt-install


Why I switched to Linux after 8 yrs of use with Windows?
Many reasons will fill up on that with detail on weekend


Installation of KDE

Currently am working to get the installation on my Mac machine
running.I will just put in the steps I have done so far

1.Installation of JVM JamVM - Tested and working

2.Installation of Konqueror web browser - Apparently , this required
setting up of the KDE environment from the link

http://www.kde.org/download/

So the essential libraries (being in order of configuration)
a) arts-1.5.9
b) kdelibs-4.0.3
c) kdebase-4.0.3 ,kdebase-runtime-4.0.3 , kdebase-workspace-4.0.3

3.While installing arts-1.5.9 configuration stops with error message

checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers
and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

So I download Qt from link

http://trolltech.com/downloads/opensource

Qt Open Source Edition for C++ Developers (for Mac Download)
After complete
./configure
make
make install

I get the same error on installing arts-1.5.9
Looking itno it currently