I’ve just uploaded a little program for SOM visualization of data sets. You can check it here

Geosphere render

I love tri-geospheres, Aren’t they lovely?

Geosphere render

I just started few weeks ago with GLSL and I was trying to find the best way to include shader code into my intro.

I found out many ways, the two following ways were easy to use just having a little text converter, but hard to manage changes because you always mistake while entering the separators:

GLchar* vs="void main(void)"
"gl_TexCoord[0] = gl_MultiTexCoord0;"
"gl_Position = ftransform();"

This one is even harder to read:

GLchar *vs_test ="void main()\r\n\
gl_Position = ftransform();\r\n\

But finally, I found a much simpler and good looking way to stringify the shader:

#define STRINGIFY(A)  #A

GLchar* vs_blur=STRINGIFY(
void main()
  gl_TexCoord[0] = gl_MultiTexCoord0;
  gl_Position = ftransform();

More info

While working with neuronal or bayesian network for diagnosis one of the most important thing you need to do is to choose correctly the trainning and the testing sets.

I’ve just made a little implementation of the K-fold cross validation technique in C++ because after looking for it I couldn’t found anything on that language.

I hope it will be useful for you, you can find it here

It’s looks like my graphics card didn’t like my proposal about go back to coding so she just decided to crash :)

It started to happens while loading some GPU Gems demos, and at first I thought it was just some drivers issue, but I downgraded them and it didn’t go out

So looking throw the web I just found a nice tool called ATI Tool, and yes, in despite of the name of the tool it works with Nvidia cards too.

After running the artifacts test on my 9800GTX+ for around 2 mins. I got the following results

Graphics card artifacts

Lucky me, because I didn’t throw my old 6600, so I can still use my computer until I’ll get it back from the RMA