- If you got this error: ValueError: numpy.dtype does not appear to be the correct type object, try to installing Numpy 1.3.
- After you install Divisi (ex. on Windows), copy the content under C:\Python25\Lib\site-packages\conceptnet-4.0rc2-py2.5.egg to C:\Python25\Lib\site-packages\csc. Otherwise, you might get error message like “module csc does not exist.”
Sunday, February 7, 2010
Some Notes about Installing ConceptNet API & Divinsi on Windows
Labels:
ConceptNet,
Python,
Setting,
Windows
Thursday, February 4, 2010
線上筆記本、便利貼整理 Online Note Taking Service (Especially Sticky Note) List
Some of the note taking service I have tried!
Sticky Note
lino it
- Comment: 精美、除了沒有辦法 download as file + print 之外,應該是這個 list 中的 best choice
- 中文資料儲存沒有問題,不會變亂碼
- 無法 double click create note, 但是可以用拖拉方式產生
- 可以 share, send link, embed, rss, 可用 email post, 無法存檔
- 無法 double click to edit,但是跳出視窗的速度還 OK、可直接 drag & drop
- 有 public(group) vs. private 的設定
- 不能 print(應該說 print 的時候內容不會出現)
- 有 Task 功能
- 無法download as file (應該沒有可以的)
squareleaf
- Comment: 比較不 fancy ,但是簡單可愛
- 中文資料儲存沒有問題,不會變亂碼
- 可用 browser print, 但是排版沒有很好
- 可直接點選編輯(不用等跳出小視窗後再 input)
- 無法在空白地方 double click 產生新 Note
- 無法 share, 無法download as file
postica
- Comment: 精簡,稍微制式
- 中文資料儲存沒有問題,不會變亂碼
- 點選編輯的時候很慢,反應遲鈍
- 可以 Print, 但是中文編碼要選 UTF-8
- 可以 drag & drop
- 無法 download as file, 無法 share
wall wisher
- Comment: 精美
- 中文儲存有問題
- 雙擊 create note, 可以拖拉
- 每個 note 有 160 character 的限制
- 文字沒有 Format,無法調整大小, 顏色
- 可 share, send link, rss feed
- 無法download as file
listhings
- Comment: 簡潔
- 中文儲存有問題
- 可雙擊產生 note, 可拖拉, 可 click & edit
- 無法 share
Manage by stickies
- Comment: 介於簡潔跟精美之間
- 中文儲存有變亂碼
- 可拖拉,可直接 click & edit
Nimbola
- (網站目前無法 register,尚未嘗試)
Non Sticky Note
Evernote
- 不屬於 Drag & Drop 的類型。
- 各個平台都有程式支援(Windows, Mac, Linux, iPhone, iPodTouch, Android, Browser…)
- 可以跟網路上儲存的資料同步 (Synchronication)
(感謝 Lydian 提醒)
notezz!
- 不屬於 Drag & Drop 的類型, 極度簡單, 沒有什麼功能(看需求,如果只要記事的話也是不錯的,因為沒有任何其他功能…)
Google Notebook
- 不屬於 Drag & Drop 的類型
- 基本功能不錯,沒有複雜功能
Zoho Notebook
- 不屬於 Drag & Drop 的類型, 強化版的 Google Notebook,可加上 image, video …
Yahoo Notbook
- 不屬於 Drag & Drop 的類型,也沒有特別功能。
- Yahoo! 也是有 notebook 的 …
Wednesday, December 16, 2009
How-To: Export an iWeb project file - MacUser
Find the project file of iWeb so that you can design your web page everywhere.
How-To: Export an iWeb project file - MacUser
How-To: Export an iWeb project file - MacUser
Tuesday, December 8, 2009
Go to sleep for a while in Java Program using Thread
// import the libraryimport java.lang.Thread;try{// sleep for 1 second (1000 milliseconds)Thread.sleep(1 * 1000);}catch(InterruptedException e){e.printStackTrace();}finally{}
Friday, December 4, 2009
MySQL :: Connector/J 5.1 -> Database driver you need to connect to MySQL Database Server using Java (JDBC)
- Download “Source and Binaries (zip)” or “Source and Binaries (tar.gz)”.
- Decompress (unzip) the archive file.
- Include the .jar file in your library path. (Maybe you have IDE like netbeans or eclipse)
- Write you code.
- (Some Sample Code : http://aventurineyao.blogspot.com/2009/12/check-if-there-are-some-records-in.html )
Check if there are some records in ResultSet return from MySQL Database using Java
import java.sql.*;import java.util.*;import java.sql.DriverManager;// return true if some records satisfy the condition, otherwase, false.public Boolean IsExifPhotoIdTimeLongitudeLatitude( String photoId, String time, String longitude, String latitude ){Connection con = null;String url = "";String driver = "";Statement stmt = null;String query = "";// your database table nameString targetSheet = "db_table_name";ResultSet result = null;Boolean hasRecord = false;// your queryquery = "SELECT * FROM `"+ targetSheet +"` WHERE photoId='" + photoId + "' AND time='" + time + "' AND longitude='" + longitude + "' AND latitude='" + latitude + "'";try{// connect to mysql databaseurl = "jdbc:mysql://127.0.0.1:3306/database_name";driver = "com.mysql.jdbc.Driver";p = new Properties();Class.forName(driver).newInstance();con = DriverManager.getConnection(url, "user_name", "pass_word");// create statementstmt = con.createStatement();// execute your queryresult = stmt.executeQuery(query);// result.first() will return false if there is no record// Important: executeQuery never return nullif( result.first() ){hasRecord = true;}}catch( Exception e ) {e.printStackTrace();}finally {}return hasRecord;}
Monday, November 30, 2009
Subscribe to:
Posts (Atom)

