Guestbook
053692nd since April 04, 2007
R
May 24, 2008 ( Saturday )
( 146 )
Flying fish
Add tags:

by xicheng
10:31:32 | Add a comment | Ask xicheng
May 10, 2008 ( Saturday )
( 169 )
I'm moving on
Excerpt of a song I learnt from Henry Waldinger Memory Library.

I'm Movin'On
    ---- D. Vincent Williams/Phillip White
.......
At last I can see life has been patiently waiting for me
And I know there is no guarentees, but I am not alone
There comes a time in everyone's life
When all you can see are the years passing by
And I have made up my mind that those days are gone
.....
    I'm movin' on
        I'm movin' on
Add tags: Musics

by xicheng
21:23:19 | Add a comment | Ask xicheng
Feb 12, 2008 ( Tuesday )
( 607 )
Added a stock watcher
 Yahoo finance as the data scouce, and use LWP::Simple to extract the data from yahoo which are in csv format, and then I can use a simple regex to re-organize this information and post it to the web. [will auto-update every 10 minutes (AJAX periodic refresh pattern)]

A useful link to understand how to download specific data from Yahoo finance:

http://www.gummy-stuff.org/Yahoo-data.htm

AJAX periodic refresh code in jQuery form is:

<div id="stockTbl"></div>
<script type="text/javascript">
  pullStock();
  var timer = false;
  function pullStock()
  {
      $('div#stockTbl').load('/admin/stock.html');
      var doSetTimeout = function() {
          pullStock();
      };
      /* update every 10 minutes */
      timer = setTimeout(doSetTimeout,600000);
  }
</script>


The interval to update stock info can be changed in the second parameter(in milli-second) of the above setTimeout() function.

Currently only track on NasdaqGS for Google, Yahoo, and Microsoft.
...More
Add tags: AJAX LWP pattern

by xicheng
15:14:02 | Add a comment | Read article and comment(1)
Feb 12, 2008 ( Tuesday )
( 228 )
毕业工作了
哈哈,我都大学毕业了,现在调去四川绵阳工作,暂时调动到那里,我是过年放假回家在长沙了,同姑妈打电话才知 ...More
Add tags:

by  谢升
06:31:48 | Add a comment | Read article and comment(1)
More entries: 1 2 3 Next » End
Leave a message

Read the Guidance for the first time users or sign up for a new account

Guestname:
Code:
Subject: