not idle

Archive for October, 2008

I recently started using Google Syntax Highlighter plugin for WordPress and noticed that name and class attributes get removed when a user under author profile saves a post.
To fix this you have to edit wp-includes/kses.php file by adding two lines of code

‘pre’ => array(
‘name’ => array(), // added
‘class’ => array(), // added
’style’ => [...]

Read the rest of this entry »

Writing custom Python metric modules for Ganglia

Wednesday, October 29th, 2008

First you have to make sure Python development package is installed on your system

# apt-get install python2.5-dev

I recommend adding –with-python=PATH parameter to the configure script when building Ganglia

# ./configure –with-python=/usr/bin/python2.5

To write a Python module you have to follow a template (sample below) and put the resulting Python module (.py) in ganglia/python_modules. A corresponding Python configuration [...]

Read the rest of this entry »

ActiveMQ in connection with jetty

Wednesday, October 29th, 2008

Well, this is just a dummy example how to start with ActiveMQ and jetty. Of course the two applications are independent, but I decided to write a very simple sample which uses both of them.
First you need (no doubt) to get installed and running ActiveMQ and jetty. There are detailed instructions on ActiveMQ and jetty. [...]

Read the rest of this entry »

I recently updated drivers of my Natural Ergonomic Keyboard 4000 and volume buttons magically stopped working. After Googling for a while I found a solution. To fix the problem run the command below in command line:
rundll32.exe hid.dll,HidservInstaller /install

Read the rest of this entry »

Grüezi (or Conceptual mail service mistake)

Saturday, October 18th, 2008

We live in a wired world, with communication channels interconnecting in ways that would have seam of science fiction only a few years ago; from instant menssaging and video conferencing to remote robotic surgery, electronic intercomunication has become a regular and very important part of our life.
And yet, things as basic and old as email [...]

Read the rest of this entry »

JavaBlend conference

Wednesday, October 15th, 2008

The first Java conference in Slovenia took place at the Castle of Ljubljana. Eight interesting presentations by international speakers introduced different aspects of popular Java technologies and libraries. Among others Seam 2 (platform for building rich internet applications), Lucene (text search engine library), Hibernate (object-relational mapping library) and J2ME (environment for applications running on mobile [...]

Read the rest of this entry »

There’s a very interesting opinion article called Netbooks:Price today, problems tomorrow? at UMPCPortal that describes the blurry position of the netbooks that are becoming competence for both netbooks and MIDs, and reaching a profit limit where companies end up compromising quality. It is clear that the difference between the calculator watch and the average home [...]

Read the rest of this entry »