Friday, December 31, 2004

Exeem "Successor" to Suprnova Announced

Exeem "Successor" to Suprnova Announced: "Exeem is pretty much what was rumored earlier: a blending of the tracker, the BitTorrent client, and decentralized indexing. It's Windows only. It's in beta now, and will be out at some indeterminate date in the future."

LokiTorrent fights MPAA legal attack

LokiTorrent fights MPAA legal attack: "The latest peer-to-peer site to come into the legal crosshairs of the motion-picture industry promised this week to fight, and put out a virtual hat to finance its legal fund.

LokiTorrent, a Web site and index of files available through a peer-to-peer technology known as BitTorrent, posted a letter from the Motion Picture Association of America (MPAA) on its site on Tuesday. The letter states that the MPAA has filed suit in district court in Texas against the site and demands that Loki Torrent cease linking to video files that could infringe on studios' copyrights."

Thursday, December 30, 2004

The BitTorrent Effect

Wired 13.01: The BitTorrent Effect: "Movie studios hate it. File-swappers love it. Bram Cohen's blazing-fast P2P software has turned the Internet into a universal TiVo. For free video-on-demand, just click here."


BTSlave BTSlave is a “slave repeater”. A BitTorrent repeater is a client that only downloads data when no one is interested in the data it already has. Repeaters can achieve very high upload/download ratios, and they help the other peers in a torrent download faster. The “slave” part means that the repeater has as it's main goal helping out it's “master” -- your usual BitTorrent client.

Wednesday, December 29, 2004

Formatting table in BTQueue

BTQueue 0.0.18 allows all you to specify your own table layout very easy. Basically, BTQueue has 3 tables for displaying brief information of torrents, connected peers, and all possible peers. The last table of all peers is introduced in version 0.0.18 to help you to verify the tracker action. This post aims to give you an overview to modify these format to meet your need.

First, you have to know the basic. A table consists of a set of columns. What you can do is to rearrange column order, hide some of them, justify alignment, and cut too long text. Technically, a column can be represent by its alignment, optional maximum length, and its column name in form cd,ssss or c,ssss. c represents alignment where l and r stands for left and right, respectively. d is an optional number to limit maximum length of this column. In case of a column is longer than the limit, it will be cut off. The next field, ssss, is the column name.

Torrent Table

idIdentification Number
titleTorrent name. Usually, the first file or directory
progressProgress in percentile
dlsizeDownloaded size
ulsizeUploaded size
totalsizeTotal size
etaEstimated remaining time
dlspeedDownload rate
ulspeedUpload rate
seedsNumber of seeders in bracket and number of connected seeders outside
peersNumber of leechers in bracket and number of connected leechers outside
ratioShared ratio
activityCurrent activity

Spew Table

ipIP address
rportRemote port
ccCountry code
directionConnect direction
uprateUpload rate
downlrateDownload rate
dtotalDownloaded size
utotalUploaded size
netnameNetwork name

Peer Table

ipIP address
rportRemote port
ccCountry code
netnameNetwork name

Tuesday, December 28, 2004

Rsync wrapper for windows

Rsync wrapper for windows provides a zip including rsync, cygwin, ssh, and their dependencies.


WINrsync: "WINrsync is a frontend to rsync. That means it shows a nice window with buttons and stuff, and lets you browse an rsync server and stuff like that. When you have finished setting all the options you want and click 'Download', it will fire up rsync with all the options you selected. So you just point and click, and let WINrsync do all the tough work remembering how to type all those options.
So, it doesn't add functionality. But it will let many more people use this genious way of transferring files."

Monday, December 27, 2004

Suprnova's eXeem beta review and screenshots

Mitosis Gold: Suprnova's eXeem beta review and screenshots: "Bit torrent websites are doomed. The trackers they offer make them nice, fat targets for the MPAA/RIAA and they're potential single pionts of failure due to hardware and/or bandwidth issues. Can P2P survive? Only if it evolves."

More eXeem screenshots

Quote of The Day

Australian IT - Hollywood struggles with BitTorrent (Alex Veiga in Los Angeles, DECEMBER 27, 2004): "'Someone else was doing something with BitTorrent that I had no knowledge of,' Mr Cohen said. 'It's not being done on any machines I have any control over...what do you want me to do?"

Bram Cohen.

eXeem beta screenshot from Suprnova's Exeem screenshots and review

Friday, December 24, 2004

Grid computing catches on at businesses : English: "The system, set up at Yamanouchi's Tsukuba Research Center in Ibaraki Prefecture, is used to identify lead compounds from among 10 million chemical substances by simulating how they will react when mixed with certain proteins."

MPAA Torrent Suit Letters - Cease and desist (and save the evidence)

MPAA Torrent Suit Letters - Cease and desist (and save the evidence)

We've obtained copies of the MPAA lawsuit
letters being circulated to Bit Torrent websites and their hosts - in
this case to Torrent website "Demonoid" (Pages: 1,2,3,4,5,6,7).
In it, lawyers warn the host they've sued the operators of a Torrent
site on their network, but currently don't know their identities. The
letter to the website owner claims they face "severe sanctions"

should they delete any pirated material or usable evidence in the case
against them. As noted by users below, the IP address for the website
cited by the letter (66.250.450.10) doesn't/can't exist, a mistake
repeated throughout the letters.

Thursday, December 23, 2004


waste :: home: "WASTE is an anonymous, secure, and encryped collaboration tool which allows users to both share ideas through the chat interface and share data through the download system. WASTE is RSA secured, and has been hearalded as the most secure P2P connection protocol currently in development. For technical information please see 'information', but for more information on download and installation, please see 'downloads'. Looking for other WASTE projects? Please choose 'projects', or if you are interested in the main WASTE sourceforge project, see 'sourceforge'. Or, if you just need some help with WASTE, see 'documentation'."

BitTorrent file-swapping networks face crisis

BitTorrent file-swapping networks face crisis | CNET "BitTorrent 'hubs' that publish lists of movies, TV shows and other free downloads suddenly went dark this weekend, in a major victory for Hollywood that highlights vulnerabilities in technology behind the world's busiest peer-to-peer network."

Man sentenced over movie sharing in Japan

Man sentenced over movie sharing in Japan: "

the Japanese legal system is as tough on swappping
films as the US, as far as tolerance goes. It seems the sentencing
phase goes a little bit lighter than the US. An individual using
the popular P2P program "Winny" was popped for the sharing of just two
films. We have seen already that the MPAA, at least in the US has a
zero tolerance level for file sharing, remember the Hulk? Unlike the
RIAA which has been targeting users that share at least 1,000 music

Winny is a Japanese
peer-to-peer (P2P) file-sharing program, possibly the most popular one
of all over there right now.  It gets it's name from
WinMX, where the M and the X are raised one letter in the alphabet, to
N and Y. Kind of like HAL the wayward computer from 2001 a Space
Odyssey, who's name was derived by shifting each letter down
from IBM. Oddly, Winny has a claim to fame for being able to hide a
users identity, but in this case it obviously didn't work. So we best
take that cloaking feature with a grain of salt

Kyoto District Court sentenced Yoshihiro Inoue, 42, for violating
copyright law for installing the program on his computer to let
internet surfers download "A Beautiful Mind" and "Unbreakable" last

"This is a wicked crime which makes nothing
of the efforts of film makers," Judge Yasuhide Narazaki said. The
sentence was suspended for three years.

that was a close one. But at any rate folks, just be aware that
trading these movie files is not too swift an activity. Maybe in some
countries, but not in the US and now even Japan.

If you would like to read more about Winny, which has a very interesting
history, please visit
the Wikipedia page here.


Wednesday, December 22, 2004

Analysis of BitTorrent

The BitTorrent P2P file-sharing system | The Register: "Even though many P2P file-sharing systems have been proposed and implemented, only very few have stood the test of intensive daily use by a very large user community. The BitTorrent file-sharing system is one of these systems. Measurements on Internet backbones indicate that BitTorrent has evolved into one of the most popular networks [8]. In fact, BitTorrent traffic made up 53 per cent of all P2P traffic in June 2004 [12]. As BitTorrent is only a file-download protocol, it relies on other (global) components, such as websites, for finding files. The most popular website for this purpose is

There are different aspects that are important for the acceptance of a P2P system by a large user community. First, such a system should have a high availability. Secondly, users should (almost) always receive a good version of the content they request (no fake files) [10]. Thirdly, the system should be able to deal with flashcrowds. Finally, users should obtain a relatively high download speed.

In this paper we present a detailed measurement study of the combination of BitTorrent and Suprnova. This measurements study addresses all four aforementioned aspects. Our measurement data consist of detailed traces gathered over a period of 8 months (Jun'03 to Mar'04) of more than two thousand global components. In addition, for one of the most popular files we followed all 90,155 downloading peers from the injection of the file until its disappearance (several months). In a period of two weeks we measured the bandwidth of 54,845 peers downloading over a hundred newly injected files. This makes our measurement effort one of the largest ever conducted.

The contributions of this paper are the following: first, we add to the understanding of the operation of a P2P file-sharing system that apparently by its user-friendliness, the quality of the content it delivers, and its performance, has the right mechanisms to attract millions of users. Second, the results of this paper can aid in the (mathematical) modeling of P2P systems. For instance, in the fluid model in [13], it is assumed that the arrival process and the abort and departure processes of downloaders are Poisson, something that is in obvious contradiction with our measurements. One of our main conclusions is that within P2P systems a tension exists between availability, which is improved when there are no global components, and data integrity, which benefits from centralization."

Tuesday, December 21, 2004

gcov - Code Coverage Tester

Using the GNU Compiler Collection (GCC): "gcov is a tool you can use in conjunction with GCC to test code coverage in your programs."

Monday, December 20, 2004

Torrent Site Status

Torrent Site Status: "The big reason for the recent witch hunts is because many bittorrent clients are slow to make changes to the BT protocol to decentralize bittorrent.

E-mail the author of the clients you use to add the 'get_peers/peers' extension to their clients. This removes the need for trackers beyond a single connection. (this means, if a tracker goes down, your transfers continue at full speed without issue)

Send the e-mail, as this will not happen until enough pressure is placed on the authors of BT clients. Force bittorrent to evolve!

XBT Client BitComet are the only clients that support this so far."

This referred extension seems to be popular in public tracker but banned in private tracker. => File-Sharing => ends, not with a bang but a whimper => File-Sharing => ends, not with a bang but a whimper: "Suprnova's demise as a BitTorrent clearing house coincides with increasing
legal pressure in America and Europe against P2P-enabled piracy. In the last
week the Movie Picture Ass. of America signalled its intention to pursue the
P2P server operators in a new front in its war internet movie pirates. Also,
a popular BitTorrent site in Finland was raided by police, and an eDonkey site
in the Netherlands was raided and shut down."

BitTornado 0.3.9a has been released

BitTornado has released its 0.3.9a. It will be integrated to BTQ 0.0.18.

BitTorrent servers under attack

BitTorrent servers under attack | CNET "Unknown attackers have downed file-sharing networks based on a common peer-to-peer technology, according to the administrator of LokiTorrent, one of the networks affected.

The distributed denial-of-service (DDoS) attack on the BitTorrent infrastructure prevented some users from downloading files for up to 10 hours on Wednesday, said the administrator, who asked to be identified only by his online handle, 'Lowkee.' The target was the central BitTorrent directories, or trackers, which are used by people to find movies, music and other content on the file-swapping network, he said."


MPAA targets core BitTorrent, eDonkey users

MPAA targets core BitTorrent, eDonkey users | CNET "The Motion Picture Association of America launched a new legal campaign Tuesday targeting the BitTorrent and eDonkey file-swapping networks, two technologies widely used to trade movies online"

Fire in the hole!

Friday, December 17, 2004

New features of BTQueue

BTQueue 0.0.18 will be released very soon! I have fixed many bugs and make it restart itself if something goes wrong. In addition, some of you may want to download only some files. This feature has been implemented in BitTornado since last two version and now it is configurable in BTQueue now. Directory should be created correctly now.

If you have a time to test it, please get it from CVS.

Gaim Filesharing Plugin

Downhill Battle - Downhill Battle Labs - Gaim Filesharing Plugin: "We propose an extension to the Gaim chat client that lets users do gnutella-style search & download filesharing, where search requests propagate out to trusted buddies, buddies of buddies, etc. This approach has serveral advantages. First, people will be more altruistic sharing with friends and won't be as worried about RIAA/MPAA lawsuits. At the same time, because they can share with friends-of-friends, and friends-of-friends-of-friends, they'll often be searching a very huge library. This software will be just as simple as an IM client, and it will be easy for people to invite friends (so it spreads virally). No other piece of filesharing software is this well positioned to become hugely popular with the average, not-so-knowledgeable, Windows user. As a bonus, it will convert many users to using the open-source and ad-free client Gaim--a good thing in itself. The immediate goal is creating a working version that is extremely simple but very modular and easy to modify or expand upon."

Blog Torrent - Simplified bittorrent by Downhill Battle

Blog Torrent - Simplified bittorrent by Downhill Battle: "Blog Torrent is software that makes it much easier to share and download files using the bittorrent protocol. Blog Torrent is easy to install on your website: we don't use MySQL so installation is as easy as uploading a folder to your web host, and all administration happens in the web interface. Blog Torrent is easy for users: even if they don't know what bittorrent is, they get an installer that downloads the file they want. But most of all, Blog Torrent makes publishing with bittorrent painless. Just click 'upload', pick a file, and you're done. This is our preview release and it has a lot of bugs and rough edges... but we're smoothing them out for the next version, so stay tuned."

Wednesday, December 15, 2004

Actual Transparent Window

Actual Transparent Window: Make transparent windows such as Taskbar, WinAmp and Menus in Windows 2000/Windows XP: "Actual Transparent Window is an innovative Windows transparency shell enhancement novelty - the application that allows setting any level of transparency for any individual window on the system.

Actual Transparent Window adds a new dimension to desktop space making it easy to organize simultaneously open windows without having to minimize and restore them every here and then. Along with common techniques of switching between applications windows Actual Transparent Window offers depth-based window ordering thanks to fully customizable transparency levels that are saved individually for each window.

Actual Transparent Window is intended for broad range of Windows users who value time and long for aesthetic pleasure of modern computing. Using transparent windows reduces negative effects on user's eyes as well as it allows for more native dimensional information representation model in human beings. Multiple reports by Actual Transparent Window users indicate overall increase of productivity when using several business applications that require manual information interchange simultaneously. Desktop space saved by eliminating opaque windows can be used for placing additional icons. Another great use of this program is for setting transparency depending on importance of task an application performs."

It is an interesting tweak tool. However, it seems too slow.

Friday, December 10, 2004

Batteries - Notebooks

Apple - Batteries - Notebooks

Long Term Storage

you don’t plan on using your notebook for more than six months, Apple
recommends that you remove and store the battery with a 50% charge. If
you store a battery when it’s fully discharged, it could fall into a
deep discharge state, which renders it incapable of holding any charge.
Conversely, if you store it fully charged for an extended period of
time, the battery may experience some loss of battery capacity, meaning
it will have a shorter life. Be sure to store the ejected battery at
the proper temperature.

ActiveState - ActivePython

ActiveState - ActivePython free Python open source language distribution - Dynamic Tools for Dynamic Languages: "Current releases: ActivePython 2.4.0, ActivePython 2.3.4"

Python 2.4

Python 2.4 has been released since November 30, 2004.

How can I get disk space usage?

How can I get disk space usage?: "how can i get disk usage infomations in python, like 'df' command"


Mozilla Thunderbird 1.0 Release Notes

Mozilla Thunderbird 1.0 Release Notes: "Thunderbird is a full-featured email, RSS and newsgroup client that makes emailing
safer, faster and easier than ever before. More
about Thunderbird is available."

.: :.

.: :." provides many useful javascript libraries including xml-rpc.


XUL and XML-RPC shows a good sample to call xml-rpc in xul without locally installation!

XML-RPC in Mozilla

XML-RPC in Mozilla: "Mozilla implements XML-RPC as a JavaScript component."

I need a sample!

Thursday, December 09, 2004


BTQFox - The BTQueue Interface: I have just started trying to develop gui for BTQueue using XUL based on MAB. It is not usable yet but pretty cool! is another light-weight content management software based on PHP and an external dbms.

Message Boards Rankings

Message Boards Rankings - all software forums, all languages language, sorted by posts: "
 custom   FaceTheJury profile FaceTheJury stats
Real life picture rating forums"

The biggest web boards are listed here.

Monday, December 06, 2004


Slyck Forums: "Exeem is a new file-sharing application being developed by the folks at Exeem is a decentralized BitTorrent network that basically makes everyone a Tracker. Individuals will share Torrents, and seed shared files to the network. At this time, details and the full potential of this project are being kept very quiet. However it appears this P2P application will completely replace; no more web mirrors, no more bottle necks and no more slow downs.

Exeem will marry the best features of a decentralized network, the easy searchability of an indexing server and the swarming powers of the BitTorrent network into one program. Currently, the network is in beta testing and already has 5,000 users (the beta testing is closed.) Once this program goes public, its potential is enormous."

Friday, December 03, 2004

How to use the Google calculator

Google Web Search Features

Amazing! Google can help you to calculate complex equation in a click!

Thursday, December 02, 2004

Multiple commands in a single line

I have just modified BTQueue to allow specifying multiple commands in a single line separated by semicolon (;). This feature is also available in alias so you can write simple procedure by yourself. Note that you have to quote semicolon if you want it being interpreted as normal character like before. For example, see below alias.

alias -s super_detail "detail %(arg1)s;spew %(arg1)s"

super_detail will call detail followed by spew.

Linky - Mozilla - Linky: "Linky will increase your power to handle links. It will let you open or download all or selected links, image links and even web addresses found in the text in separate or different tabs or windows. You will just need to right click any link or web address, select the Linky menu item and choose the desired action. You can even specify what option you want to see available in the Linky menu through its preferences."

The must have!

Access Control List in BTQueue

Since 0.0.15, BTQueue allows us to limit access of incoming and outgoing connection at real-time with powerful user interface at least for me. Its idea is based on access control list in routers, firewalls, and programs, e.g. apache. Basically, there are only 2 access control lists available in BTQueue; allow and deny. Each access control list is a list of individual IP, IP range by prefix, IP range by netmask, country code, or network name separated by comma. See some samples below.


There are 2 special keywords to represent all IPs and none IP, ALL and NONE, respectively.

What you can do to limit access from someone is to choose the order of allow and deny depending on your requirement. One may want to allow some IPs and deny other ones. One may want to deny some IPs and allow other ones.

In order to specify ACL in BTQueue, you need to modify 3 options; order_acl, allow_acl, and deny_acl. By default, these options are defined as below.

order_acl = allow,deny
allow_acl = ALL
deny_acl = NONE

If you want to ban all connections from Singapore, these options should be set as below.

order_acl = deny,allow
allow_acl = ALL
deny_acl = SG

In order to allow local connections only in Singapore, the options should be set as below.

order_acl = allow,deny
allow_acl = SG
deny_acl = ALL

For information about country code and network name, you should consule spew command or ip command.

Manual commit in MS SQL 2000 JDBC

Java Forums - Cloned connection: "You need to use the property 'SelectMethod' for the driver in the URL and set it to 'cursor'

So your driver url should be like :


Tuesday, November 30, 2004

Portable Thunderbird 0.9 (USB Drive-Friendly)

Portable Thunderbird 0.9 (USB Drive-Friendly) :: Mozilla Stuff :: "Portable Thunderbird 0.9 (USB Drive-Friendly)
- with extensions support!"

Huge collection of torrent sites.

Anonymous Proxy Lists :: Jeremy's Mozilla Extensions Forum

Anonymous Proxy Lists :: Jeremy's Mozilla Extensions Forum: "Does anybody have a good anonymous proxy list they use? I usually use:

If you have a good list, please post it here.


Jeremy Gillick

Good proxy lists for Switchproxy extension for firefox.

Thursday, November 25, 2004

GRNET: Network Weathermap

GRNET: Network Weathermap

JPype - Java to Python integration

JPype - Java to Python integration: "JPype is an effort to allow python programs full access to java class libraries. This is achieved not through re-implementing Python, as Jython/JPython has done, but rather through interfacing at the native level in both Virtual Machines.

Eventually, it should be possible to replace Java with python in many, though not all, situations. JSP, Servlets, RMI servers and IDE plugins are good candidates.

Once this integration is achieved, a second phase will be started to separate the Java logic from the Python logic, eventually allowing the bridging technology to be used in other environments, I.E. Ruby, Perl, COM, etc ..."

The Sunbird Project - Standalone Calendar

The Sunbird Project - Standalone Calendar: "The Sunbird Project is a redesign of the Mozilla Calendar component. Our goal is to produce a cross platform standalone calendar application based on Mozilla's XUL user interface language. At the moment the 'Sunbird' name is a project name. It is not official and may change in the future."

Tuesday, November 23, 2004

Google Scholar

Google Scholar

The must search engine for researcher!

Monday, November 22, 2004

Advanced firewall blocking technique

I have just encountered firewall problem. At the first sight, I don't think it is firewall problem. However, tcpdump told me what happened behide the scene. The situation is that I can get incoming connection from outside without problem but it seems to not work with real application. In fact, someone spoofs a packet to me with reset flag set. Oops!

Wednesday, November 17, 2004

Migrated to ThunderBird 0.9!

I have just migrated from Outlook Express to ThunderBird 0.9. It is faster but lack of do not download action.

My stir4200 does not work with cx65 on vmware 4.5.2

I successfully installed fc3 on vmware 4.5.2. However, my SigmaTel IrDA-USB does not work well with cx65. It works perfectly with Pocket PC n10.

Tuesday, November 16, 2004

Fedora Core 3 Test 3 under VMware Workstation 4.5.2

Fedora Core 3 Test 3 under VMware Workstation 4.5.2: "Fedora Core 3 Test 3 was recently released, and as usual, requires a slight bit of tweaking to run under VMware. So, here we go.

Host Configuration:

* Toshiba Satellite Laptop
* 512MB RAM
* 40GB Internal HD
* Windows XP Pro SP2 with all updates
* VMware 4.5.2

Guest Configuration:

* Fedora Core 3 Test 3 (downloaded .iso files)
* 'Other Linux 2.6.x Kernel'
* 256MB RAM
* 4GB HD (/dev/sda1 = /boot, /dev/sda2 = /)
* 4GB HD (/dev/sdb1 = /usr)
* 1GB HD (/dev/sdc1 = )"

Monday, November 15, 2004

coLinux 0.6.2-pre2 is able to run fc3!

I have installed fc3 on coLinux 0.6.2-pre2 successfully.

Alba - a free tool to wrap your mp3 album

Alba - a free tool to wrap your mp3 album: "The free alternative to albumwrap

This tool wraps a set of mp3 files into a single mp3 album, for ease of sharing on WinMx,
NapShare and similar programs.

You can then extract the tracks back again. It will be soon available for Linux and Windows."

yum on fc3 is incompatible with older version

It requires repodata in package directory instead of headers.

TuxMobil: Linux Apps for Smart Messaging System - SMS

TuxMobil: Linux Apps for Smart Messaging System - SMS is a good list of sms applications.

Sunday, November 14, 2004


zSMS is a good getting start of sms.

Thursday, November 11, 2004


Lustre Home: "The name Lustre is an association of
Linux and Clusters. Lustre is a
novel storage and file system architecture and implementation suitable
for very large clusters."

Wednesday, November 10, 2004

FireFox 1.0 is released!

Beware! Many extensions are incompatible with 1.0 even it works just fine on 1.0 PR.

Tuesday, November 09, 2004

Hayes AT command parameters for sending and receiving SMS messages

Hayes AT command parameters for sending and receiving SMS messages

Fedora Project, sponsored by Red Hat

Fedora Project, sponsored by Red Hat: "Fedora Core 3 Available!

Fedora Core 3 is now available from Red Hat and at distinguished mirror sites near you, and is also available in the torrent. Fedora Core has expanded in this release to four binary ISO images and four source ISO images, and is available for both x86-64 and i386. Please file bugs via Bugzilla, Product Fedora Core, Version 3, so that they are noticed and appropriately classified. Discuss this release on fedora-list."

Monday, November 08, 2004

Video in CX65

I have found that my CX65 recorded video in 3gpp format mainly used in Nokia devices. I am looking for comfortable method to cut and convert long video to 3gpp.

Thursday, November 04, 2004

Goodbye my ball joint, rack end, and friends

Eventually, I have to change ball jints, rack ends, and etc before go to Chantabury. All parts are replaced with new ones from 555 (three five).

Wednesday, November 03, 2004

Seem to solve MSN problem in Miranda

I have upgraded SRMM to and it seems to work properly.

Miranda: MSN problem

I have been encountering MSN problem in Miranda. The problem is I can't send message to other contact until the one send something to me. However, file transfer works fine.

Monday, November 01, 2004

ActiveState - ActivePython free Python open source language distribution - Dynamic Tools for Dynamic Languages

ActiveState - ActivePython free Python open source language distribution - Dynamic Tools for Dynamic Languages: "Current releases: ActivePython 2.4.0b1 (beta), ActivePython 2.3.4

ActivePython is ActiveState's quality-assured, ready-to-install distribution of Python, available for Linux, Solaris and Windows. As part of ActiveState's support for Python, we provide the ActivePython distribution free to the community.

In addition to the core binary code, ActivePython currently includes commonly used external modules including expat for XML processing, zlib and bzip2 for data compression, the bsddb database library, Tcl/Tk 8.4.4; a suite of Windows tools developed by Mark Hammond, including the Pythonwin IDE, support for Python ASP, the PythonCOM system and more." - Python For .NET - Python For .NET: "Python for .NET

Python for .NET is a near-seamless integration of the Python runtime with the .NET Common Language Runtime (CLR). It lets you script and build applications in Python, using CLR services and components written in any language that targets the CLR (C#, Managed C , VB.NET, etc.)."

DotGNU Portable.NET FAQ

DotGNU Portable.NET FAQ: "Why doesn't my C/C application work that I built with Visual Studio.NET?
Usually, the C/C applications that are output by Visual Studio.NET are not pure IL binaries. They contain x86 native code, and depend on all kinds of Microsoft-specific libraries. Such applications will never work with a pure-IL engine such as 'ilrun'.

Apparently there are switches that can be supplied to Visual Studio.NET that force it to output pure-IL binaries. But even then, there will still be dependencies on other Microsoft libraries. Your mileage may vary.

Some people have suggested interfacing 'ilrun' to Wine so as to pick up many of the Windows dependencies. This may work, but we need someone to volunteer to do it first.

If your application is written in C, and does not depend upon Windows-specific features, then you can recompile it using the C language front-end for 'cscc'. The resulting binary is likely to be more portable than that produced by Visual Studio.NET.

Update: more recent versions of Visual Studio.NET apparently generate IL that is more pure. Your mileage may still vary though."

Light-weight Approach to AOP for Python

Light-weight Approach to AOP for Python

Improve modularity with aspect-oriented programming

Improve modularity with aspect-oriented programming: "Aspect-oriented programming (AOP) is a new programming technique that allows programmers to modularize crosscutting concerns (behavior that cuts across the typical divisions of responsibility, such as logging). AOP introduces aspects, which encapsulate behaviors that affect multiple classes into reusable modules. With the recent release of AspectJ by Xerox PARC, Java developers can now take advantage of the modularization AOP can provide. This article introduces AspectJ and illustrates the design benefits that result from its use."

Oops! Official Python 2.3.4 doesn't come with pyxml

I decided to use Python 2.3.4 for Windows from python team instead of Python 2.3.3 from ActiveState since 2.3.3 has a bug relating to bsddb. BTQueue 0.0.16 and later are packaged with python 2.3.4. Unfortunately, I forgot that pyxml was not installed by default.

BTQueue 0.0.18 should be released very soon.

My driver license has been renewed!

I just noticed that my driver license has been expired longer than a month. I have just come back getting the new one in this morning.

Saturday, October 30, 2004

Hello does not allow sending multiple images at once.

These are pictures taken from CX65 during SC Global 2004 Mega Cruise yesterday.

Friday, October 29, 2004

SoundForge 7.0 does not support IMA ADPCM 16,000 kHz

SoundForge 7.0 is unable to create wave file suitable for CX65. However, version 5.0 does support!

DVP642K: A cheap DivX player

DVP642K is a cheap DivX player from Philips available in Thailand. It is only about 6,000 baht!!!

Thursday, October 28, 2004

Wave file ringtone for cx65

Attributes: 16 kHz, 4 Bit, Mono


Eventually, I bought Siemens CX65 because many users reported lots of firmware bugs in C65 and wireless in X600 might not work perfectly with all IrDA. CX65 is more expensive than X600 just about 1000 baht so I decided to pay a little more to get the most stable mobilephone in the three candidates.

Wednesday, October 27, 2004

Siemens C65 or Samsung SGH-X600

I am making a decision to buy a mobilephone. There are 2 choices: C65 and X600. I like samsung but I don't like the external antenna. C65 seems to have better IrDA. X600 has a far better built-in VGA camera. I'm not sure that Easy Studio for X600 will work perfectly via IrDA on WinXP SP2.

However, I will buy one today!

Smileys plugin for Miranda Instant Messenger

Miranda Instant Messenger: "A plugin that adds smileys to the standard (split)message dialog.
- Customizable smiley support (for every protocol)
- Smiley 'selecttoolwindow' button during messaging
- Alpha blended icons support on Windows XP
- Plugin support
- Translation support"

Tuesday, October 26, 2004

Miranda Instant Messenger

Miranda Instant Messenger: "Miranda IM is a multi protocol instant messenger client.No bloat, it's Easy and Small! Miranda IM is designed to be resource efficient and easy to use. It uses very little memory and requires no installation. Just unzip and run! This also makes it ideal for users that want to run their messenger client from a removable storage such as an USB memory stick. It can even be stored on a floppy disc if not too many plugins are used.
It's all about plugins!The powerful plugin system makes Miranda IM extremely flexible. Only the most basic features are built in, but there are currently more than 200 plugins available for download that allows users to extend the functionality in Miranda IM. Plugins can be installed to add support for ICQ, AIM, MSN, Jabber, Yahoo, Gadu-Gadu, Tlen, Netsend and other protocols.

Miranda IM is published under the GPL license and is free of charge.

Miranda IM supports Windows NT4, 95, 98, Me, 2000, XP & 2003."

I have just moved from JAJC to Miranda. Smaller and faster!

Shared Image Viewer

Collaboration via AG: "The latest version of the shared image viewer application is now available for use. The new version operates with the AG 2.3 release. This release of the AG software uses new versions of python and wxPython. The application was essentially recreated from scratch. It now conforms to the new method of creating shared applications in that it uses the SharedAppClient that comes with the AG toolkit. Changes have been made in the new image viewer related to the version of wxPython specified in the AG 2.3 release."

Monday, October 25, 2004

Evolution of my mobilephone

Sendo S200Mitsubishi M320Samsung C100
Dimension105 x 50 x 22 (98 g.)115.5 x 47 x 19.9 (95 g.)111 x 45 x 17 (76 g.)
Stemina360 hrs (210 mins)350 hrs (240 mins)145 hrs (180 mins)
Screen96 x 64 B/WTFT 128 x 141 4096UFB 128 x 128 65536
RingtoneMonotone64 Poly40 Poly + Voice

Goodbye SGH-C100

After using Samsung SGH-C100 for about 6 months, it have gone forever. Today, I was driving my car and last time called it. I took it on my lap after hanged up. I drived for a while and got out of the car to get a thing in back door. Unfortunately, it fell down to the ground without any sound crack.

Suddenly when I noticed it was not in my pocket, I tried to call them hopelessly someone received and told me to get it back. I was really sad, nobody received in the first call. However, my phone had been turned off in the second call. Goodby my C100.

NontriNet is still unconnectable!

I still don't know why. What I only know is this weekend is a long weekend. Today is a holiday so it might be unconnectable until tomorrow???

What's happening to NontriNet

I have been unable to connect to NontriNet for 3 hours. What???

Calculating ratio for very strick tracker

In order to prevent cheating peer in closed tracker, there is a very easy solution to solve this problem. However, it might be too strick.

Problem: Some clients do not even try to contact tracker but they are still able to leech using historical peers information.
Solution: Count amount of download by size of the torrent immediately when download its metadata
Advantage: Disable cheating of unreporting clients
Disadvantage: Downloading only some files may not fair

Interesting tracker's promotions

BT is very popular and some trackers do not allow non-member to leech from them to guarantee share ratio of the whole system. Below are interesting promotions for closed tracker.

  1. Bonus credit - give extra upload by amount of snatched

  2. Delay - do not allow low ratio users to leech new torrents

  3. Golden time - turn off delay and count download only a half

In addition, many users have tried to cheat the counting system. It is mostly impossible to prevent cheating due to BT protocol. That means tracker must track not only share ratio, but also list of who want to leech and who finished each torrent for cross checking.

Sunday, October 24, 2004

Okay. Now I can see the transparent layer which is actually menubar.

Eventually, I have installed Windows Media Player 10! Actually, I don't like its new user interface. As you might notice in the screenshot, I tried to capture its window but there are still some transparent border.

Having car is such a painful

Today, I brought my car to a garrage to only change lubricants. Unfortunately, the technician told me to replace about 12 parts. They cost about 17,000 baht!

Saturday, October 23, 2004

BitTornado 0.3.8 is now out

BitTornado: "LATEST VERSION: 0.3.8

maintenance release
works better with XP SP2
some bugs fixed
GUI width problem known, will be fixed later
randomized port selection"

I have successfully merged changes made in this version into CVS.

HTTP 404 The page senses that you are too stupid

HTTP 404 The page senses that you are too stupid: "HTTP 404 Request Is Too Stupid
Internet Explorer"


Friday, October 22, 2004

Getting ready to join next mega cruise!

Wednesday, October 20, 2004

Boo 0.4.3 - python-like language for .NET/Mono

[ANN] Boo 0.4.3 - python-like language for .NET/Mono: "you can add or delete methods from a class instance on the fly. Boo, however is more like C# and does most of its work at compile-time"

Boo is faster than IronPython.

What is Mono?

What is Mono?: "Mono is a comprehensive open source development platform based on the .NET framework that allows developers to build Linux and cross-platform applications with unprecedented productivity. Mono's .NET implementation is based on the ECMA standards for C# and the Common Language Infrastructure."

Omnividea FOBS - FFMpeg C & JMF Bindings

Omnividea FOBS - FFMpeg C & JMF Bindings provides ffmpeg interface to java JMF

BTQueue 0.0.17 has been released

Due to some minor bugs in 0.0.16, I decided to release this version to fix those bugs. Furthermore, sourceforge got some problems yesterday. No one can download.

Link: BTQueue

Bugs in 0.0.16

I've got bug reports of version 0.0.16. Most of them are unnecessary error message, e.g. scrape error due to network failed. Another bug relates to incompatibility of Popen4 on windows since I changed from popen to Popen4.

I plan to release 0.0.17 which is a minor bug fix version very soon. Keep your eyes on btqueue!.

BTQueue 0.0.16 at freshmeat

BTQueue 0.0.16 on the front page of freshmeat.

O'Reilly Network: Seven Cool Mono Apps

Seven Cool Mono Apps by Edd Dumbill -- Edd Dumbill takes a look at seven of the cool open source programs being built on Mono. It seems like Mono is getting ready for production development.

Tuesday, October 19, 2004

Converting Between Binary and Decimal in Perl

Recipe 2.4. Converting Between Binary and Decimal: "To convert a Perl integer to a text string of ones and zeros, first pack the integer into a number in network byte order[1] (the 'N' format), then unpack it again bit by bit (the 'B32' format)."

sub dec2bin {
my $str = unpack("B32", pack("N", shift));
$str =~ s/^0+(?=\d)//; # otherwise you'll get leading zeros
return $str;

sub bin2dec {
return unpack("N", pack("B32", substr("0" x 32 . shift, -32)));

Bookmarks Synchronizer

Mozilla Update :: Extensions -- More Info: Bookmarks Synchronizer is a tool for synchronizing your bookmarks at home and anywhere like office with internet access.

I have tested QEMU on Knoppix 3.6 with japanese localization. Cool! I didn't configure anything but network worked fine. Text-mode speed was not too bad but too slow in graphics mode.

Google Labs Aptitude Test

Google Blog is a test for anyone who wants to join Google team.

BTQueue 0.0.16 on the front page

BTQueue 0.0.16 has been announced at the front page of

Firefox 1.0PR

Eventually, I switched to firefox since my colleages have switched. I also installed its extensions, e.g. JustBlogIt, UltraBar, Autofill, and Tabbrowser Preferences.

Monday, October 18, 2004

SCMSWeb as a replacement of MDS for job scheduling problem

Since MDS2 is very unstable and SQMS/G relies on it, sometimes SQMS/G can't get available resources due to timeout in MDS itself. To temporarily fix this problem, we decided to extend SCMSWeb to act like a MDS especially for SQMS/G.

To activate this function, you have to upgrade SCMSWeb to the newest version in CVS. Note that you have to upgrade all SCMSWeb instance in the grid. Next step, you have to specify your scheduler for job monitoring module in /etc/sce/sce.conf as follows.

scheduler = sqms

Now SCMSWeb only supports SQMS, SGE, MDS, and RSL. If you are using other scheduler, you can use MDS or RSL if globus supports it. Actually, MDS and RSL are very similar but MDS may contain remote information.

In order to use MDS, you have to specify mds_host, mds_port, and mds_basedn in mds group.

mds_host =
mds_port = 2135
mds_basedn = mds-vo-name=thai,o=grid

For RSL, it is necessary to specify globus_location and scheduler_type in jobmon group.

globus_location = /usr/grid
scheduler_type = pbs

Note that both MDS and RSL does not provide full information like native drivers such as SQMS and SGE.

In SQMS, I introduces new resource information plug-in for retrieving queue status from specified URL. If you want to activate this plug-in, please change option allhost_source in group sqms or queue's group to Moreover, specify option queue_url in form %scmsweb_cgiurl%/queue_mon.cgi by replacing %scmsweb_cgiurl% with cgi url specified to SQMSWeb at installation time (contact your admin). Default value is http://localhost/cgi-bin/scmsweb/queue_mon.cgi.

allhost_source =
queue_url =

Daemon/Remote in BTQueue 0.0.16

Since 0.0.16 introduces many new features, I am trying to explain how to use it efficiently. The most requested feature is to run it in daemon/service mode. Prior to this version, you (and me) have to run btqueue incorperately with screen to make it run likely in background. Actually, only some of you might want this feature and all of them run btqueue on his/her server placed at ISP. BTQueue perfectly fit the need of administrators for remotely leech/seed on share server or office.

Today, you don't need screen anymore. All you want is just btqueue! However, old style btqueue is still preserved for short-term running. To run it as a daemon in the background, you have to specify daemon command.

$ daemon

After that, you will immediately return to prompt. Now you are ready to control btqueue anywhere by running command below:

$ remote

By default, will bind itself on localhost ( to make it more secure. However, sometimes you might want to control it from anywhere. In this case, please change global setting xmlrpc_ip to or another more specific ip. As you should already know, there are 2 ways to modify setting; 1) directly modify policy.conf and 2) call gset command in the btqueue's prompt.

>>> gset xmlrpc_ip

After modification, restarting is needed.

In remote control mode, you can do whatever you used to do. Note that notifications such as start and terminate are disabled in this mode. Moreover, quiting in this mode will not terminate its daemon. In case of you want to shut down the daemon gracefully, you have to run kill command instead.

BTQueue 0.0.16 is out!

I proundly release BTQueue 0.0.16 (build 240). This version is the major change to improve both functionality and comfortability. You can get it at sourceforget.

Sunday, October 17, 2004

Constructing a site board is painful

Today, I have bought a site board to place in my new room. It is so heavy (net wg. 40 kg). It took more than 3 hours to construct and it has not finished yet. The last pieces are to mount magnet to little door. I plan to buy a mini component very soon to put it in this site board.

Graphics Editor

Due to picasa can't modify image, I have to find another solution. What I want is just a small graphics editor that let me select a region in various form, rectangle, circle, or free form, and clear it to background color. This feature is very useful for posting screenshot with some private information. I found that Brush Strokes 1.01 meet my requirements. Its size before extracting is about 600 KB and 3 MB after extracting. However, as you could see it now, it is not a "good looking" program. Anyway, I will try to use it for a while.

Saturday, October 16, 2004

Antivirus review

NOD32, in my opinion, is the best antivirus in term of performance and virus information. It is significantly faster than Norton, McAfee, Trend Micro, or even Kaspersky.

QEMU for Windows and Knoppix

QEMU is a processor emulator developed firstly on linux and later ported to windows. It allows to run windows on linux or linux on windows. This feature is very useful for linux live cd, e.g. Knoppix, to let me run linux without rebooting windows. However, it is slower than commercial emulator like virtual pc or vmware. Booting knoppix on qemu on windows is easy as single click.

Friday, October 15, 2004

Working with MindMap

I am heavily using mindmap in my work, for example, technical paper, project presentation, meeting report and many more. There are many mindmap software to help creating and maniputing map in mind to reality in monitor. The first one is FreeMind written in java. It is very small in size but consumes huge memory (java vm). The best thing of FreeMind is that it is totally free for all and also includes sources (if you care). Another choice is MindManager which is a popular commercial mindmap software. It allows you to change style of line, node, and layout. Furthermore, you can export your map to powerpoint for quickly presentation in professional looking. In other words, it can also export the map to a document including your note. The output document is almost ready to submit as a technical paper! In addition, it supports task assignment like MS project and can synchronize with MS outlook. Cool!

Deploying tomcat and SQL 2000 on Windows Server 2003

This afternoon I deployed tomcat 5.0.28 and SQL 2000 SP3 on a Windows Server 2003. It took a while to download all of them via slow link. Fortunately, j2sdk is already available. WS 2003 consumes about 300 MB RAM at steady state.

Note that in order to run tomcat as a NT service, it provides service.bat in bin directory to install the service automatically. To install, just run:

service install

And, to uninstall:

service remove

After that, I am able to start it by running "net start Tomcat".

Solution for remotely building distribution for btqueue

Eventually, I use cvsnt combining with openssh for windows as I mentioned earlier. Usually, I use TortoiseCVS but in this case, Tortoise doesn't work at all because it needs to interact via GUI. However, openssh is used as the ssh client for cvsnt only. Actual ssh server is WinSSHD which is much more easier to make it work on winxp sp2.

OpenSSH for Windows is incompatible with SP2

After installing 3.8.1p1-1 downloaded today, everything seems to work perfectly. Unfortunately, I can't find opensshd service in service list. I also tried to "net start opensshd" at prompt but no luck at all. It's the time to find another solution.

OpenSSH for Windows

Since I am having to release BTQueue 0.0.16 very soon, I am looking for a way to remotely create distribution on windows machine at office from my home. OpenSSH for Windows could be used here. It promises to allow running as a service at startup. However, this version, 3.8p1-1 20040709, was compiled on cygwin. It must be slow comparing to linux version.

SSHWebProxy - SSH via HTML

SSHWebProxy is a very interesting project aimed to enable users to access SSH shell and SSH file transfer using a web browser. It runs on JBoss.

SpeedswitchXP 1.4

SpeedswitchXP is a battery optimized applet for winxp. It provides customizable policies to slow down processor speed for saving notebook run longer than normal policy controlled by winxp itself.

Testing hello

My Photo?Posted by Hello
This is a test posting instant image using Hello. It is so easy but I don't know how to remove it. At this time, I know why hello should be used, it allows me to upload screenshot of current window or even the whole screen with single click! I love it.

QEMU CPU Emulator

QEMU CPU Emulator is a fast processor emulator. It claims to run winxp on linux host. I will try it very soon to make a win32 build machine for BTQueue.

SSH clients review

PuTTY was my most favorite ssh client for windows. However, it was unusable for a week without any error messages while other clients work fine. I noticed that the problem should be router setting at border gateway in my university. That's why I have to find a new client. PuTTY comes with sftp support but only text version available right now.

SSH Client has been widely used in my office because of its free license for educational use and its rich functionalities. Unfortunately, it seems so slow comparing to PuTTY. The biggest problem is that it does not support font encoding other than default one (ISO-8859-1 or latin-1). Another problem is HOME and END button do not work at all because it supports only a few terminal (no xterm and Linux). The best thing of ssh is that it cached passphrase for another concurrent session and also sftp.

SecureCRT is my current ssh client. It is fast and fully support publickey authentication based on key pair generated by openssh. SecureFX could be used as a sftp client sharing cached passphrase with SecureCRT. This feature looks like one available in SSH client but it is more powerful with synchronize button.

Thursday, October 14, 2004

Day of Debugging

BTQueue 0.0.16 is going to be ready very soon. It is being tested by developer teams to download bittorrents from various trackers automatically. Today, BTQueue allows user to define aliases with unlimited substitution in each group. In additional, user-defined tracker allows user to dynamicly define pattern of tracker for automatic crawling via cron. For bandwidth shapping, it introduces new algorithm, I called it fair-share, to distribute transfer rate to all session in balance fashion. This action applies to both upload and download. Furthermore, seed rate is activated. In contrast, global upload rate = seed rate + upload rate.
SCMSWeb has been modified to announce resource manager contact string of each queue to its xml. This feature will be used in SQMS to replace MDS. Current, MDS is implemented by OpenLDAP which is very unstable for WAN and especially grid. The most problems are inadequate bandwidth and too high latency that lead to missing information due to timeout error.

Friday, June 25, 2004

BTQueue 0.0.10

BTQueue 0.0.10 has been released today to fix acl bugs and to add command alias.