Watermarking with Text

Examples of ImageMagick Usage is an excellent  HOWTO.   It contains a section which describes how to watermark with text.


Two Perl modules to handle table

I’ve been using Text::Table to output data onto screen and HTML::QuickTable into HTML file.

Text::Table can output data in table format with or without border which is composed of special characters. Here is an example:

use Text::Table;
my $sep = ' | ';
my $tb = Text::Table->new (\$sep, "Header", \$sep, "Index", \$sep);
my @data;
# ... fill @data
$tb->load (@data);
print $tb->rule('-', '+');
print $tb->title;
print $tb->rule('-', '+');
print $tb->body;
print $tb->rule('-', '+');

If you haven’t used this module, please try it to see what happens by filling dummy data into @data.

HTML::QuickTable is good at generating HTML table or entire HTML file from special data structure with little efforts. For example,

my @body;
while (<>) {
    my @row = split /,/, $_;
    push @body, \@row;
my $qt = HTML::QuickTable->new;
print $qt->render (\@body);

But it gives less control on table layout than HTML::Table. I will not give example since help is written well and its usage is simple.


Feed issue

I encountered feed issue that bloglines doesn’t show up my posts when using feed ( from feedburner. I got same issue before and recorded it on my Chinese blog. This time, I choose exactly 7 characters, but issue still appears.

So, I burned another feed ( at feedburner to try. It works. And then I modified feed on siderbar and a page (you may notice or not). But later, I decided to track down what will happen afterward for these two feeds, and not to change feed immediately. So, I rollback changes both in siderbar and that page.

I will update status when I make decision which feed will survive. Sorry for inconvenience.

Update (Dec. 16, 2005): I decide not to change feed and still use since claims their issue. See “We feel your pain” for details.


Get up Neo

Quote from and borrow title from Code Craft – The next software revolution wears black leather.

People are always blaming their circumstances for what they are. I don’t believe in circumstances. The people who get on in this world are the people who get up and look for the circumstances they want, and, if they can’t find them, make them.

George Bernard Shaw, “Mrs. Warren’s Profession” (1893) act II
Irish dramatist & socialist (1856 – 1950)



I’ve already had several blogs.  The objective to create this one is to record experiences I learn from open source software.  And I also decide to write in English, instead of Chinese.  All other blogs I have are written in Chinese, for example

I’m not an expert of open source software even though I love OSS pretty much.  So if you find any misunderstanding or errors, please correct me.