Posts

Showing posts from 2006

long live the king

Image
In your heart Low 128K / High 512K
http://youtube.com/watch?v=LzWqQHV1WiI&search=thai%20king



The King always see his people
พ่อ..มองเห็นเราเสมอ Low 128K / High 512K
http://youtube.com/watch?v=uTmdRuyUtuk

Charles, Java Web Debugging Proxy

Image
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.........

Image
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

change
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

to
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"





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

MantaRay (P2P Message)

Image
MantaRay
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 hostpacific.com hosting wrote interested case study!



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



read here... The scaling experience of ThaiLE.com

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 my.netscape.com, 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

Atom 1.0

Atom wiki

RFC4287 - The Atom Syndication Format


Feed's Resource

WebReference RSS Info page

RSS (file format)

Atom VS RSS!

Atom…

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

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

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




SysCP

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



Unix

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

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


Ensim

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.


DirectAdmin

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.


H-SPHERE

scalable multiserver web hosting control panel that provides complete …

JavaScript : HTTP Get

I would like to grab http://www.yahoo.com/ website by JavaScript. I found the JavaScript library,
"request.js" (XmlHttpRequest Wrapper) from http://adamv.com/dev/. Demo here!



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

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

<script>

Http.get({

 url: "http://www.yahoo.com/",

 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()
+ ").";

 }

}

</script>


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;
}
this.pause(this.duration);
}

Pause.prototype.pause = function(duration){
if ( (duration == null) || (duration < 0)){
return;
}
var later = (new Date()).getTime()+duration;
while(true){
if ((new Date()).getTime() > later){
break;
}
this.runner++;
if (this.busywork != null) {
this.busywork(this.runner);
}
} // 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)
return;
}
}




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


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


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