Showing posts from 2006

long live the king

In your heart Low 128K / High 512K

The King always see his people
พ่อ..มองเห็นเราเสมอ Low 128K / High 512K

Charles, Java Web Debugging Proxy

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer
to view all of the HTTP traffic between their machine and the Internet. This
includes requests, responses and the HTTP headers (which contain the cookies and
caching information). It is similar antoher http debugger,Develop with Java. of course independent platform! :)

MySQL with error 1264 : Out of range value.........

One of my staff found some strange error

1264 Out of range value adjusted for column 'ID' at row 1"ID" is auto increment field. This should insert if we have not define a field record id...

The problem from Guaranteeing Data Integrity with MySQL 5.0 !

you can remove a SQL-MODE parameter - "STRICT_TRANS_TABLES" in my.ini file



Guaranteeing Data Integrity with MySQL 5.0
5.2.5. The Server SQL Mode
11.1.4. Data Type Default Values

MantaRay (P2P Message)

MantaRay is an open source, fully distributed, enterprise-grade messaging
middleware product that was designed to address the dual problems of today's
high traffic IT environments – their continuously changing structure and the
ever growing volume and size of the messages passing through them.

Improve server performance

Pizzaman, a guy who own hosting wrote interested case study!

They use 3LMP (Linux, LSWS, Lighty, MySQL and PHP)

read here... The scaling experience of

Feed Technologies

RSS (Rich Site Summary)

RSS 2.0

This document represents the status of RSS as of the Fall of 2002, version 2.0.1. It incorporates all changes and additions, starting with the basic spec for RSS 0.91 and includes new features introduced in RSS 0.92 and RSS 0.94.
Content feeds with RSS 2.0 (IBM)

RSS 1.0

The RSS 1.0 specification was released on December 6, 2000.

RSS 0.93

This version was discussed but never deployed. [April 20, 2001]

RSS 0.92

This version is 0.91 with optional elements, designed by Dave Winer at UserLand. [December 25, 2000]

RSS 0.91

This version was designed by Netscape, spec written by Dan Libby. [July 10, 1999]

RSS 0.90

This version was designed by Netscape, for use with, which also supported scriptingNews format. The only thing about it that was RDF was the header, otherwise it was plain garden-variety XML. [March 15, 1999]


Atom 1.0

Atom wiki

RFC4287 - The Atom Syndication Format

Feed's Resource

WebReference RSS Info page

RSS (file format)

Atom VS RSS!


J2ME/Symbian Codex

Simon just launch 2 websites

J2ME Codex

Symbian Codex

Both website you can search a ton of J2ME or C/C++(Symbian) source code! Thanks Simon for your website :)

So... Why not visit his sites now?

Free/Opensource WebHosting Control Panel


VHCS delivers a complete hosting automation appliance by offering significant security, total-cost-of-ownership, and performance advantages over competing commercial solutions.

With VHCS Pro you can configure your server and applications, create user with domains with a few point-and-click operations that take less than a minute. There is no limit to the number of resellers, users and domains that can be created.At the core of VHCS Pro are 3 easy-to-use, Web-based control panels. VHCS provides graphic user interfaces for the administrators, resellers and users.


ISPConfig is an open source hosting control panel for Linux. ISPConfig is licensed under BSD license.


SysCP, the System Control Panel is a server administration tool which enables an internet service provider to give their customers a web-based application to administrate their email addresses, their subdomains etc.

Domain Technologie Control

Domain Technologie Control (DTC) is a GPL control panel for hosting. Usi…

WebHosting Control Panel

Commercial WebHosting Control Panel software


cPanel & WebHost Manager
cPanel & WebHost Manager (WHM) is a next generation web hosting control panel system. Both cPanel & WHM are extremely feature rich as well as include an easy to use web based interface (GUI).

Unix & Windows

The most comprehensive set of features that hosting providers can find on the market today. More...


Ensim Pro is the industry’s leading single-server hosting automation and control panel solution for hosted web sites, email and online applications. It includes comprehensive tools that enable hosting providers to create, control and deliver a variety of professional-quality hosting plans in minutes.


Succeeding in the web hosting business requires flexibility. It also means being competitive. We offer the choice of monthly, quarterly, annual, and one-time licenses in order to suit every hosting company.


scalable multiserver web hosting control panel that provides complete …

JavaScript : HTTP Get

I would like to grab website by JavaScript. I found the JavaScript library,
"request.js" (XmlHttpRequest Wrapper) from Demo here!

This is my JavaScript example to grab web page from
<script src="request.js"></script>

<span id="HttpContents">NO DATA</span>



 url: "",

 callback: getHttpContents,

 cache: Http.Cache.GetNoCache

}, [HttpContents]);

function getHttpContents(result,HttpContents){

 if (result.status==Http.Status.OK){

  HttpContents.innerHTML = result.responseText;

 } else {

  HttpContents.innerHTML = "An error occurred (" + result.status.toString()
+ ").";




just Developer note...

JavaScript Sleep() 2

I found an article Implementing Wait in JavaScript, wrote by Josef Betancourt

This is his example

function Pause(duration, busy){
this.duration= duration * 1000;
this.busywork = null;
this.runner = 0;
if (arguments.length == 2) {
this.busywork = busy;

Pause.prototype.pause = function(duration){
if ( (duration == null) || (duration < 0)){
var later = (new Date()).getTime()+duration;
if ((new Date()).getTime() > later){
if (this.busywork != null) {
} // while
} // pause method

to use

function showme(progIndex){
window.status= "progress: " + progIndex;
var p = new Pause(5, showme);

visit Implementing Wait in JavaScript page.

JavaScript Sleep()

How do I pause execution in JavaScript?

How do I pause execution in JavaScript?

Is there a wait statement in JavaScript?

Is there a sleep method to pause execution?

Is there a sleep method to pause execution?

I found a useful article how do I pause execution in JavaScript to description how to delay JavaScript process.

some example

function pause(numberMillis) {
var now = new Date();
var exitTime = now.getTime() + numberMillis;
while (true) {
now = new Date();
if (now.getTime() > exitTime)

function pause(numberMillis) {
var dialogScript =
'window.setTimeout(' +
' function () { window.close(); },
' + numberMillis + ');';
var result =

// For IE5.
'javascript:document.writeln(' +
'"< script>' + dialogScript + '<' + '/script>")');

/* For NN6, but it requires a trusted script.
'javascript:document.writeln(' +
'"< script>' +…