Month: February 2007

  • Startup equity basics

    Par value has no relationship to the market value of a stock. The original purpose of this requirement was to protect creditors by specifying a permanent amount of capital (called legal capital)that owners could not withdraw before a bankruptcy which would leave creditors with an empty shell. Sales of the same class of stock made…

  • SQL World Cities Database

    Some data sets about world cities we no longer use — Generation Time: Feb 13, 2007 at 02:12 AM CREATE TABLE cities ( ID int(11) NOT NULL auto_increment, Name char(35) NOT NULL default ”, CountryCode char(3) NOT NULL default ”, District char(20) NOT NULL default ”, Population int(11) NOT NULL default ‘0’, PRIMARY KEY (ID)…

  • man ps – process status

    -O is preloaded “-o” -c different scheduler info for -l option -f does full listing -j jobs format -l long format -o user-defined format -y do not show flags; show rss in place of addr O is preloaded “o” (overloaded) X old Linux i386 register format j job control format l display long format o…

  • A simple Taconite usage

    We were testing Taconite a long time ago and this is a basic usage. Since we now use an internal AJAX framework, we release this snippet so someone might get an idea how to use this framework. It’s nothing fancy, only a simple snippet. $o = ‘‘; $o .= ‘‘; $o .= ‘‘; $o .=…

  • usleep & CPU usage

    If you’re making a PHP client-server script using a loop to capture events and process data. The CPU usage might be significant. In our test environment, it consumes 50% CPU cycles constantly. A quick and simple fix: add usleep() of about 100-500ms before looping again so it’s still interactive with users yet allow CPU to…