Tuesday, October 25, 2011

Eclipse Memory Problem:

When I am working on OpenGL project on Eclipse I faced a lot of problem due to memory. When javaw uses more than 256 mb it crashes and Eclipse shuts down immediately. When it is first opened it occupies 233 MB memory. There should be some configuration parameter to fix that. Does anyone knows it ?

This could be solution :
Weird Polygon Faces :

When I was translating my polygons in OpenGL , I realize that there is something wrong in my shape. It was due to depth configuration. I solved using :

glEnable(GL_DEPTH_TEST);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

It took 1 day to understand what is the real problem.

Monday, October 17, 2011

Real Time Transcription:

In TV channels I realize that text is a little bit coming late after the speech. So , I think they are using employees to transcript the sound. A computer can do it very fast. But the problem is sound is very noisy , computer transcription could not be accurate enough. One way to solve that using human employees. But human should be very careful to transcript. It makes it slow. Better way could be using multiple human annotators and computer together. In this setting multiple human annotators provides multiple transcription than using learning from multiple experts methods speech could be transcribed into fast and accurate text. People not necessary to precise as previous scenario. It could be good application for my research.

Friday, October 14, 2011

Independent for loop :

Sometimes operations are taking too much time to complete. It will be good to divide for loop. But since we cannot know if previous iteration is necessary for later ones . Since the programmer may know : it is useful to define a new for loop type which is parallelizable. Than compiler will indicate that this for loop can be done in multi cores or multi machines. It may be keyword parallelizable in the language. Even this future may exist in Java.


Sunday, October 09, 2011

Java static syntax initialization :

static {
var= new Var();
}

Friday, October 07, 2011

Semi Multiplication :

Multiplication is summation in semi log scale. We can take the logarithm when we are optimizing multiplication of variables to convert optimization of summation of terms. It is possible to convert wise versa. Taking exponent of summation of terms we can convert multiplication of terms.
We can express exponantial function using taylor series. 1+x+x^2/2 ... . How about taking half of exponential function. where ,exp^-1() = log , exp^1 = exp , exp^0 = x ,exp^1/2 = semiexp().
So we can define a operator which is between summation (+) and multiplication(x) , this new operator (+x+) can be used in optimization as well.
I also need to emphasis summation and multiplication is and , or operation in logic. But there are some cases between and , or . This is similar to (+x+) operator.
Let me search a little bit.

AI

Despite the benefits of AI we are starving for humanity.