Wednesday, November 18, 2009

eclisp in utf8

http://www.wretch.cc/blog/pon24/13729920

Monday, November 16, 2009

php log to the html page

ref to the php.ini, variable
display_errors (if = ON, it will log to the html page)

????test

????test

igoogle ???? blog ?

?? igoogle ?? blogger ? gadget, ??????blog ?

Monday, June 29, 2009

異動狙撃 0159 華南投資

以 2009/06/27 資料分析.

1. 分析近日異動股上升率.
2. 異動而上升的公司, 是否有何 pattern.
3. 分析近日異動, 而未上升的股票.

以我自行開發 (事實上十分簡陋 ) 的程式分析資料.

另外加上成交額大於 1千萬元的, 才以考慮, 成交太少的股票, 動蕩太大, 不宜以這個方法分析.


第一步

先以十日平均的 價格 , 看近的異動股的上升力度.

十日平均的價格, 比一百日平均價格高 2 倍的股票 : 3 隻


股票

價格

價格變化

成交變化

0119.csv

4.876

2.123

6.496

1063.csv

0.242

2.749

36.129

1211.csv

30.419

2.057

0.525




十日平均的價格, 比一百日平均價格高 3 倍的股票 : 1 隻

0295.csv 0.116 3.866 35.911

基本上都有出現過成交急升的情況 .
(看圖表會更清楚, 急升的日子基本上集中在一天, 但因用平均數, 所以成交變化的比例有些會比較少).


第二步

看近日未大升的異動股, 有沒有成交急升的情況.
選出十日平均比一百日平均上升不足一倍的股票.
約有30隻.

當中有兩隻的成交量變化較大.

0069.csv 11.879(price) 1.038(price chg) 15.67 (vol chg)
香格里拉, 成交上升
消息無特別
一手 2,000

0159.csv 0.958(price) 1.389(price chg.) 99.529(vol chg)
華南投資, 成交上升, 股價穩步上揚, 近日有利好消息
一手 4,000

比較之下, 以華南投資走勢明顯向上, 近日又有利好消息. 所以選出, 買入價為 1.09
今日收 1.13

有待改進
程式因為用平均數算法, 未能測試出長線上升的股票, 時實上己上升一段時間.

Monday, June 1, 2009

今天早會

2009年 6月 1日 9時11分
己丑年 己巳月 丁丑日 乙巳時
甲戌旬申酉空  月將:申

  兄 壬午 青
  子 甲戌 蛇
  子 庚辰 虎

  勾 虎 陰 蛇
  未 辰 丑 戌
  辰 丑 戌 丁

  合 朱 蛇 貴  
  申 酉 戌 亥  
 勾未     子后 
 青午     丑陰 
  巳 辰 卯 寅  
  空 虎 常 玄  

Thursday, May 28, 2009

Jive.com 觀察記事

http://www.jivesoftware.com/
- product
. clearspace -
. SBS (Social Business Software)
fail to sign up the demo
ie http://www.igniterealtime.org
(*) Tags
- customer
. Autodesk [ http://discussion.autodesk.com/forums/index.jspa ]
simple forum
by projection, this forum at least 10 years old.
your watch / other user post / your draft
local language forum
new group
. intel [ http://communities.intel.com/index.jspa ]
by clearspace
(*) Top community Participants
(*) Intel Photos (multi-media)
(*) Recent Activity
(*) static vote box
(*) Ask and expert -> forum
(*) follow friend activities
(*) Group
total has 16 group
ie, Intel wireless group (6 members) / social cool kids (10 members) {it is the most popular group}
. Nike
subject: run
Flash client (AIR ?)
Team concept (A team run XX miles in Y days)
Challenge (個人 / team)



http://www.igniterealtime.org/
- another side of jivesoftware, (Open standard => Open source + Commercial Extension)
- product
. openfire - IM server
. Spark - IM client
. SparkWeb

http://kevincg.wordpress.com/2008/08/06/%E7%94%A8openfirejwchat%E6%A7%8B%E5%BB%BA%E5%8D%B3%E6%99%82webchat/
- sample of using openfire

Canonical URL for google 搜尋

同一個 htmo page source, 可能有很多URL 可以連接到, 但google 爬蟲得到的結果未必是你最想要的那一個url.

Google 推出了Canonical URL 的方法, 可以幫助解決這個問題.

簡單來講就是加這個
<<link rel="”canonical”" href="”http://www.example.com/url/here”">

 詳請可以看官網

另一個提到這個東西的網頁

Wednesday, May 27, 2009

Facebook connect Invitation, only has "Ignore"

且看 facebook 看什麼

fbFund是一个Facebook从2007年就开始的鼓励开放应用的基金。

Facebook将可能投资的25个开放应用,来看看吧
http://www.yunkeji.com/?p=1421

Facebook公布5款fbFund计划获奖应用

Tuesday, May 26, 2009

wordpress + qTrans, make theme has N-lang

Step 1
the muilt-lang field using
__("your text", "your_domain")

Step 2
add
load_theme_textdomain("your_domain");
to your theme functions.php

Step 3
Generate pot -> po -> mo file (ie using poEdit)
using the name locale.mo (where locale must map to your setting at qTrans)
and put this file at the root of the theme directory.

Monday, May 25, 2009

2009-05-26 07:18
A 股有重新招股, 內地股市情況如何

2009年 5月 26日 7時18分
己丑年 己巳月 辛未日 壬辰時
甲子旬戌亥空  月將:申

  子  亥 青◎
  財 丁卯 玄⊙
  父 辛未 蛇

  玄 青 貴 常
  卯 亥 午 寅
  亥 未 寅 辛

  合 勾 青 空  
  酉 戌 亥 子  
 朱申     丑虎 
 蛇未     寅常 
  午 巳 辰 卯  
  貴 后 陰 玄  

1. 支三合生干, 氣氛還算不錯. 可會有不少整體經濟的利好消息陸續傳出. 大環境對內地經濟利多於害.
2. 干神三會官局, 亦會有一定前境懮慮, 不會是一面倒的向好.
3. 發用空亡, 實際動力不大.
4. 財又見陷, 實質經濟增長不會太大.
5. 三傳財局, 整體氣氛環境, 主要向樂觀一面.

綜合而言, 內地經濟, 在氣氛情緒上有轉好現象, 但暫未能找到實際出路, "買氣" 暫時不會太強.

Tripit







Tripit.com
一步signup, 十分簡單.

(仍然可以對很多email進行import, ie msn.com)

有一個不知是什麼的東西

可以share your plan, 到一些social network.
email query for your plan.

Travelling 記錄, 計劃及sharing.



Wednesday, May 13, 2009

買騰訊好唔好

巳月, 獨足課.
財月破, 觀望.

Tuesday, May 12, 2009

空氣清新機買記2

近日發現到第三個可能性,市面上還有一些比較可靠的牌子(ie 3M),還有一些負離子空氣淨化的機器在賣的.現在叫大姐看看教協購物中心有沒有在賣,因為一般會比較平宜.

還有,最近已實行了1/,買了一個負離子USB的發生器,在公司使用.只要$75.

簡化原理 Hofstadter’s Law 和 Gall’s Law

首先,「好夫殺德定律」(Hofstadter’s Law)是由好夫殺德先生於1979年所提出:「這件事永遠會花預期的還久的時間做完,就算你已經考慮過好夫殺德定律。」也就是說,就算我們已經預期它不是這麼好做,也很小心的知道它一定不是這麼好做,它還是會做不完。

然後是「膏爾定律」(Gall’s Law),由膏爾先生所提出:「任何一個成功的複雜系統永遠是源自於一個成功的簡單系統。」他甚至還說,「如果你想要一開始就設計一個複雜系統,它一定不會成功,除非它可以從一個簡單的系統開始。」這句話其實是很有哲理,大家可以思考一下。如該邊文章所說,成功的網路點子,往往都可以被簡化成「簡單的開始、大量的被使用、進化」(start simple, use a lot, evolve)的三階段。

Sunday, May 10, 2009

空氣清新機買記

  近日有點想想健康多做一點,首先想把空氣做好一些.便想到要不要買一部空氣淨化器.

  到電器店看了一下,發覺現在似乎已經不流行負離子了.不同型號的機,大約在$1000~$3000不等.主要的作用在於1/以過濾網來過濾2/放出一些淨化空氣的物質(例如離子簇).

  以過濾網而言,空氣由四方八面流入,淨化器不是冷氣機,它只在一處過濾,個人覺得效力不大.
  離子簇似乎亦是一家之言,功用似乎亦和離負子差不多,似乎未必值那麼高價錢.

  於是一路找一下負離子方面的資料:
  負離子的原理及應用

  及一些其他有關空氣淨化的資料:
  http://www.greencouncil.org/tchi/publication/headline_detail.asp?id=229

  ------------

  暫時所知,負離子發生並不是專利技術,所以有很多很便宜的產品,但問題是我不知道負離子是如可量度,所以也不知是否有用.
  現時的方案如下
  1/買一個最平的負離子機(<$100).
  2/買一個大牌子的離子簇發生機(>$2000).

  ============

其它相關資訊
根据世界卫生组织确认空气中负离子在 1000-1500 个 /cm 3 被认为是清新空气。
在美國國家公園裡的負離子含量是每立方厘米有100,000個,而在洛杉磯的高速公路上則不到100個。

Friday, May 8, 2009

夢想 家

什麼才算夢想.

想象一下, 如果你現在正在發夢.
全個世界, 都按著你所想的去發生.
做什麼壞事都沒有報應,
做什麼好事都沒有回報,
最重要是,
可能下一刻就會醒來,
可能十億年後才會醒來.

如果你是在這樣的一個夢裡
仍然會想做的那一件事
就是夢想

Step for a social site

Social Grow cycle.

Step 1
active user < 100
active network < 10

So sorry, your site not yet a soical site, please think about something non-social first.
(ie, write some article to let people read, or make some mini-game, or find some expert to answer question at your site)

Step 2
active user 100 - 1000
active network 10 - 100

Thing about "Challegne" which about number of "friends", to move people to invite friends.
Thing about some small game, which need more than 3 day to play (facebook present, it will grow within some day).

Step 3
active network 100 - 1000
and some of the netowrk size > 50 person
after this stage, total number of user is not very meaningful

Thing about how to make people find their friends within the site.
Call back the idle user, by their friend is joined or new join.

Step 4
active network > 1000

Think about open platform, let user to build the site for you.