[Update] New functions supported in Image Processing Module

  Two new functions are added into the Image Processing plugin  of product POLLUXPLUS.  These two functions are two static function for the CImage class. One of the function inverseFourierTransform are used to perform the inverse fourier transform. Another function is a low pass filter, which called lowpass.

The usuage of these two functions can be found in the documentation of the Image Processing module in this link: http://bpolluxplus.wordpress.com/2011/01/13/pluginimage-processing/

Change the icon size in Unity 2D Launcher

I have intalled ubuntu 11.04 for several days, the new unity looking is amazing, that’s why I try to upgrade all my ubuntu systems to version 11.04, including a several years old one.  The fancy effect can not be displayed because it does not support the unity 3D. Luckily, I got the unity 2D. It works good, but not configurable. The thing I want to change most is the icon size, 48 px for me is too biiiig.

A little google work gives me this link: http://www.ubunturoot.com/2011/02/remove-and-rearrange-items-in-unity-2d.html

Maybe it works for the other machines, but failed in my case.

I try to read these qml files for a while and figured out the way to change the size of the icon in unity 2d. It’s not perfect, (cause it only changes the size of the icon and the around decoration, the width of the launcher can not be changed 😦 ) but for me it is acceptable.

Continue reading

[News]Neptune Android Client Alpha 1 released

I proudly announce that Neptune Android Client Alpha 1 has been released in Feb-11-2011.

Neptune Android Alpha 1 contains two android components: one background service for communicating with the Neptune Agent and an example application that utilizes this service to implement a function test.

Next release (Alpha 2): Feb-19-2011

Customized version of luaproc

Luaproc is one of the multi-thread implementation for Lua. Compared with other lua multi-thread implementation, it provides several interesting features. See this paper: http://www.inf.puc-rio.br/~roberto/docs/ry08-05.pdf , which is written by the big names of Lua commnunity.

Recently, I want to rewrite the multi-thread module for one of  my project to support the distribution computation. After considering several lua multi-task implementation ( LuaTask, luaproc, lane etc ), I decided to use luaproc as the base to build my module. However, I found that luaproc do not provide the interfaces to manage the life cycle of lua processes. After calling luaproc.newproc(), the only thing I can do is waiting for its end. I even can not identify a process, because there is no identifier for lua process. Since the management of process life cycle is very important for my module, I modified luaproc to support these requirements. Two new functions were added to both of the parent process and child process.

Continue reading

How to add under line effect to multiple lines in Revtex

In Latex, the command \underline is for adding the under line effect in your text. For example,

This is an under example.

However, if you use this for multiple lines, the line wraps will disappear, the multiple lines come to be one unique line.

To solve this, you can use the ulem package.

usepackage{ulem}

And for highlighting your text by under line, use the \uline command.

This will provide you the under line effect for multiple lines.

A drawback of this method is that it changes the default emphasis behaviors. All the other text highlighted by command \emph will be underlined too. This might not be what we want. For example, in revtex, emphasis is shown by the italic font.

Continue reading