Monthly Archives: January 2013

[Windows] Built-in OCR Library in Windows 7/Server 2008

OCR (Optical Character Recognition) is an interesting issue. I’ve found that some (built-in) libraries in Windows 7/Server 2008. If you want to develop OCR program without extra fee, you should try it. Window 7 OCR API : In the final answer, … Continue reading

Posted in C, Programming, Windows, 程式設計 | Leave a comment

[Linux] The useage of ioctl function: some materials

This post is to note some materials for Linux ioctl function: ioctl: hdio Linux kernel map: Chapter 6.1 ioctl Linux Device Driver 專欄 Linux 驅動程式的 I/O, #1: 基本概念 Linux 驅動程式的 I/O, #3: kernel-space 與 user-space 的「I/O」 Linux 驅動程式的 I/O, #4: … Continue reading

Posted in C/C++, Linux, Programming, 程式設計 | 1 Comment

[PHP] MySQL Backup by GMail

[Chinese]        先前已經介紹過有一個好用的MySQL資料庫備份工具(使用PHP):MySQLDump。但是預設的寄信函式,是透過SMTP伺服器寄信,這對於沒有SMTP伺服器的使用者而言,可就傷腦筋了。原先我有找到一篇教學,使用GMail的SMTP伺服器做備份,可惜連結已經失效了。筆者只好自行撰寫,由於程式碼使用GPL授權,基於分享的精神下,便公開給各位。         程式碼下載處:請按我。 [English]I’ve introduced an useful backup tool for backuping MySQL databases (using PHP): MySQLDump. However,the default send mail function uses the SMTP server to send mails, and it may cause some problems … Continue reading

Posted in PHP, Programming, Web Design, 科技, 程式設計, 軟體(Software) | Leave a comment

[DB] SQL Server 2005 can not be installed in AMD X3 (X6) platforms.

[Chinese/中文]     起初,MS SQL Server 2005的開發人員並未考慮到奇數CPU核心的出現,而傻傻的認為所有的CPU核心都一定是偶數個且為2的冪次。但是這樣的天真想法,在AMD X3/X6 CPU出現後,就造成相容性以及無法成功安裝的問題,因為這些CPU都是使用奇數核心。     SQL Server 2005在Service Pack 2後,可以支援奇數核心。但是,就先前提及的,都無法安裝成功了,哪來的更新可言。     最直接的解決辦法是修改BIOS。使用者可以直接到BIOS選單,選擇”CPU configuration”->”Clock Calibrating”,然後關閉一些核心,讓核心數量維持在2的冪次(也就是說,如果是使用AMD X3 CPU的話,只要關掉第3個核心。若是使用AMD X6,則關閉第5與第6個核心)。在這子調整過後,筆者相信您應該可以享受SQL Server 2005的安裝過程了。 [English]     Initially, the developers of MS SQL Server 2005 didn’t consider the … Continue reading

Posted in SQL Server, 軟體(Software) | Leave a comment