2011年8月26日 星期五

C# high resolution/performance counter/timer

The codes show that by using the QueryPerformanceCounter, to implement hight performance/resolution timer and counter. I have tried the from WinForm UI and CLI. The resolution can be 1ms. Of course, this will satisfy us for our normal using.

The code is blow. Enjoy it.

2011年8月22日 星期一

F# Language Concepts–Types 型別

F#裡的型別, 其實和大多數的程式語言都相同, 如int, bool, double…等, 其他內建在語言的型別包含 Tuple、清單、陣列、序列、記錄和已區分的聯集, 所以如果想知道F#可以使用什麼型別, 可以參考.Net的使用方法, 只不過F#裡一並可以使用.Net的資源, 和一般寫C#並無太多的不同。

2011年8月12日 星期五

F# Language Concepts - Functions

這一部分的東西是直接從Microsoft MSDN上面取得的, 就想成是中文化後的就行了, 至於真正MSDN上面有沒有中文化我就不得而知了, 個人的習慣是比較喜歡直接看英文, 反正字也不多。下面並沒有直的直接翻譯所有的文字, 全都是領悟之後所寫下來的, 如果有什麼地方不好, 也請和我說明, 我會做修改。
第一部分介紹的是function, 看一下下面的定義…

2011年8月11日 星期四

Plurk API 2.0 test

http://www.plurk.com/API

Plurk API已經進化到2.0了, 雖然不再需要API key這東西, 但是取而代之的是要使用者去授權你的APP, 你可以得到一APP key, 之後就可以做自己想做的事情..

2011年8月8日 星期一

F#, Quick sort in F#

F# is a powerful programming language, but there is few lesson to learn on the internet. I try to introduce the F# and write some articles to let me to record what I learn.

2011年8月4日 星期四

Trend Micro Pc-cillin 2012 測試版

image

最新版的已經可以下載試用了, 有興趣的朋友可以試試看, 這一次外觀還可以自訂喔, 雖然對於防毒這件事沒啥大幫助, 但是換個底圖讓自己心情好一點也不錯是吧…

image