<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6539798313325494894</id><updated>2024-09-16T16:30:28.599+08:00</updated><category term="Software"/><category term="JAVA"/><category term="雜記"/><category term="常識"/><category term="MBA"/><category term="UNIX"/><category term="Ajax"/><category term="PlayFramework"/><category term="Linux"/><category term="Oracle"/><category term="Embedded System"/><category term="Arduino"/><category term="Raspberry Pi"/><category term="SQL"/><category term="前端應用"/><category term="Blog"/><category term="C#"/><category term="GAE"/><category term="雲端運算"/><category term="Automation"/><category term="Game"/><category term="OpenCV"/><category term="Python"/><category term="旅遊"/><title type='text'>建人所聞</title><subtitle type='html'>人生如夢 一尊還酹江月</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ac6060.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>97</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-1361689289022709536</id><published>2022-04-24T13:04:00.002+08:00</published><updated>2022-04-24T13:04:23.966+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>DLL 檢查相依性工具</title><summary type="text">Just a meno for DLL Dependency checker tool

https://github.com/lucasg/Dependencies


</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/1361689289022709536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/1361689289022709536'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2022/04/dll.html' title='DLL 檢查相依性工具'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-6850107351284826501</id><published>2018-08-03T12:48:00.000+08:00</published><updated>2018-08-03T12:48:28.302+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Using Python with OpenCV</title><summary type="text">Just test Python with OpenCV for images process...

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/6850107351284826501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/6850107351284826501'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2018/08/using-python-with-opencv.html' title='Using Python with OpenCV'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxUuxmKLoMK091L76mz_9Pcxnht_gt5_EKo_TCfWMpfWFqg6NDFb9x9Oat6jPQ_E9eGdIn-FLorl3PHFW6F499C7R9VcNXXl3uZRD51U_CptF20f3JLwWDmnN5NSa_3KT9exw25D2oG_vX/s72-c/SaveImg1.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-7335536398969104538</id><published>2014-06-13T00:46:00.000+08:00</published><updated>2018-08-03T12:49:52.930+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>用C#開發 多執行緒的陽春Web Server </title><summary type="text">花了幾個小時搞出來的陽春Web Server , 打算用在克難的公司環境, 提供簡單的服務. 
C#其實不錯用, 多虧了MSDN, 省了不少功夫....

Source Code 等我整理好註解, 再丟上來吧...

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/7335536398969104538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/7335536398969104538'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2014/06/c-web-server.html' title='用C#開發 多執行緒的陽春Web Server '/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVqrBhIhlqgQF3OjFvaguMHFaOoqsPM8B1SGpqahkkgDBvXACqD2um_rjbC5SDe7BO-pSJf-lJmIeaxJ0a68yQBNqCV_lLEGRjkFyvKDxAANJwHYEV1GELBfB0EvcUnYX_lTSO8ZADKBLx/s72-c/2014-06-13_004032.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-3244396857604191749</id><published>2014-04-08T00:34:00.002+08:00</published><updated>2014-04-08T00:37:34.908+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Raspberry Pi"/><title type='text'>JNI 呼叫C, 由C控制 DHT11讀取溫濕度 (完成版)</title><summary type="text">其實上次的錯誤有兩個原因, 那天躺到床上時, 忽然就想到了 XD

1. 權限問題, 要用 &amp;nbsp;sudo java -Djava.library.path=. JavaDHT 來執行
2. 程式碼問題, 我忘記要先呼叫 bcm2835_init()

其他不多說, 看Code就行了....

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/3244396857604191749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/3244396857604191749'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2014/04/jni-c-c-dht11_8.html' title='JNI 呼叫C, 由C控制 DHT11讀取溫濕度 (完成版)'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-7991640063645505207</id><published>2014-04-04T00:26:00.001+08:00</published><updated>2014-04-08T00:38:07.637+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Embedded System"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Raspberry Pi"/><title type='text'> JNI 呼叫C, 由C控制 DHT11讀取溫濕度 (未完成版)</title><summary type="text">今天嘗試使用JNI 呼叫C, 由C控制 DHT11讀取溫濕度的值.
不過遇到一個奇怪的錯誤.


pi@raspberrypi ~/jni $ sudo java -Djava.library.path=. JavaDHT
DEBUG theStr--&amp;gt; Java_JavaDHT_readDHTfromC
#
# A fatal error has been detected by the Java Runtime Environment:
#
# &amp;nbsp;SIGSEGV (0xb) at pc=0xa8cb239c, pid=2663, tid=3057022064
#
# JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) Client VM (23.21-b01 mixed mode linux-arm )
# </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/7991640063645505207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/7991640063645505207'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2014/04/jni-c-c-dht11.html' title=' JNI 呼叫C, 由C控制 DHT11讀取溫濕度 (未完成版)'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-7068041874762889870</id><published>2014-04-03T00:34:00.003+08:00</published><updated>2014-04-08T00:38:21.553+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Raspberry Pi"/><title type='text'>Raspberry Pi 上做LCD輸出</title><summary type="text">
之前測試的Raspberry Pi 上做LCD輸出的照片～



   



參考資料:

http://ruten-proteus.blogspot.hk/2012/11/16x2-lcd.html
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/7068041874762889870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/7068041874762889870'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2014/04/raspberry-pi-lcd.html' title='Raspberry Pi 上做LCD輸出'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5-bsNq6ZfJ_vg2YC7KEafV2ndk8LMsPcm7L1JrbCEhvPYnw552miT5HwEJ4-R6e2GdNZWxEcOs0AMUGEKAjUgRhz3Au_7k5gAlKWQHrXBac5GTN-oQk2u8u-vpMzpiE-BdF9mTOCt0UPR/s72-c/IMAG2130.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-6978409041398550029</id><published>2014-04-03T00:29:00.000+08:00</published><updated>2014-04-08T00:38:48.485+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><title type='text'>JNI Example</title><summary type="text">由於許多控制電子元件適合用Native Code來做, 於是關注了JNI 的一些功能. 不可免俗的也做了JNI 版本的 HelloWorld.


1. 首先建立要使用JNI的 JavaCallC.java 檔 以及 要被JNI呼叫的 JavaCallC.c 檔


2. 利用建立好的 JavaCallC.java 產生 JavaCallC.h
javac JavaCallC.java
javah -jni JavaCallC

3. 產生 libJavaCallC.so
gcc -shared -I /opt/java/jdk1.7.0_21/include/ -I /opt/java/jdk1.7.0_21/include/linux/ JavaCallC.c -o libJavaCallC.so

4. 執行
java -Djava.library.path=. JavaCallC</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/6978409041398550029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/6978409041398550029'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2014/04/jni-example.html' title='JNI Example'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-3923845243391479874</id><published>2013-11-12T23:41:00.000+08:00</published><updated>2013-11-18T21:30:50.191+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>JavaSim</title><summary type="text">
前一陣子使用JavaSim做一些Simulation時候發現, 當一次要重複Simulation時, 基於SimulationProcess 的 thread 會無法釋放,進而導致Server資源的浪費.解決方法是在 finalize 函式中對 mutex 做 notify(). 其實用OpenSource 的Project 要有Debug的能力, 因為通常沒有足夠的文件或是註解可以說明, 不過爬code也是很有趣的...



org.javasim.SimulationProcess.finalize () 



另外每次Simulation調用Scheduler之後要呼叫 Scheduler.reset();才能做第二次的Simulation</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/3923845243391479874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/3923845243391479874'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2013/11/javasim.html' title='JavaSim'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-5767537973330256317</id><published>2013-04-09T00:59:00.000+08:00</published><updated>2013-04-09T00:59:58.987+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><category scheme="http://www.blogger.com/atom/ns#" term="前端應用"/><title type='text'>Good WEB UI Framework - Vaadin</title><summary type="text">好久沒有看到讓人興奮的新技術了，趁睡不著的時候，趕快紀錄一下～



今天同事分享了 Vaadin 這個Framework，真的讓我有驚為天人的感覺。其實他的概念和之前接觸到的JSF很像，不過看了原廠和同事的Demo後覺得這個真的是不錯的Framework，開發上使用了之前Java上慣用的Swing開發方式，前台網頁和JavaScript 和 AJAX 的互動全部由後台程式產生, 對開發人員而言真的是很方便。想到之前和CSS還有JQuery 奮戰的過程，不禁讓人覺得相見恨晚阿。不過看起來這樣的架構會不會有讓美工人員不易和程式設計師分工的問題還要深入研究一下, 當然對於中小型專案影響不大。

然後重要的來了～他是採Apache V2 授權的開放原始碼專案，可以有效降低期初的投入成本，商業應用上也比較ok。

其他的部份要看完文件和實做才能深入體驗，看起來文件也蠻豐富的，又有新東西可以研究了</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5767537973330256317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5767537973330256317'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2013/04/good-web-ui-framework-vaadin.html' title='Good WEB UI Framework - Vaadin'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-1338225752518282546</id><published>2013-01-25T21:12:00.000+08:00</published><updated>2013-02-04T23:57:26.796+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>自動化模擬軟體</title><summary type="text">最近的工作內容接觸到一些生產線的分析,不過目前看起來用靜態分析方式會有蠻大的落差. 使用自動化模擬軟體可能是比較完整的解決方案。

目前業界比較有名的自動化模擬軟體如下:
Enterprise Dynamics，Flexsim，AutoMod，Arena，WITNESS

不過依照本人愛好自由軟體的精神,也找了一套Open Source的相關軟體,目前是德國漢堡大學在維護的.


DESMO-J is an object-oriented framework targeted at programmers developing simulation models. The acronym &quot;DESMO-J&quot; stands for &quot;Discrete-Event Simulation and Modelling in Java&quot;. This longer name highlights </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/1338225752518282546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/1338225752518282546'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2013/01/blog-post.html' title='自動化模擬軟體'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-2240797964966942092</id><published>2012-08-03T00:26:00.001+08:00</published><updated>2012-08-03T00:26:09.204+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Game"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><category scheme="http://www.blogger.com/atom/ns#" term="前端應用"/><title type='text'>開放源始碼(Open Source) game project 的評估</title><summary type="text">今天抓了幾個sourceforge上的Game研究一下,&amp;nbsp;簡略列一下優缺點
Pros:

部分可以使用
有較完整的軟體介面及遊戲邏輯可以參考

Cons:
大部分沒有完整的Document和注解, 維護和修改要花不少時間
sourceforge上大多採取GPL的授權, 找了幾個WEB Game 都是採取AGPL的授權...也就是修改後必須公開原始碼(包含修改的部分)這方面比較會有爭議
不同的Project用了不同的開發環境, 建置開發環境及編譯原始碼要花不少精神

以HTML5的Web Game為例,有不少的game engine可以用,例如 &amp;nbsp;impactjs&amp;nbsp;這個號稱開發一個乒乓球遊戲只要15分鐘. 以目前遊戲開發的工具越來越普及和易用的狀況下,自行開發應該彈性較大這兒有開放源始碼(Open Source)相關授權的說明,可以參考一下那些台灣軟體產業所</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2240797964966942092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2240797964966942092'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2012/08/open-source-game-project.html' title='開放源始碼(Open Source) game project 的評估'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-9030289374056122273</id><published>2012-07-05T16:35:00.004+08:00</published><updated>2012-07-05T16:35:43.392+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="雲端運算"/><title type='text'>安裝Hadoop 1.0.2 在Ubuntu 11</title><summary type="text">安裝Hadoop的部份還蠻簡單的，照著網路上的文章就可以成功了

http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/

http://changyy.pixnet.net/blog/post/25245658-%5Blinux%5D-%E5%AE%89%E8%A3%9D%E5%96%AE%E6%A9%9F%E7%89%88-hadoop-0.20.1-single-node-cluster-(p


這部份沒有特別要注意的，接下來要測試Hadoop的功能以及實做多節點的Cluster</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/9030289374056122273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/9030289374056122273'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2012/07/hadoop-102-ubuntu-11.html' title='安裝Hadoop 1.0.2 在Ubuntu 11'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-1346552334267459632</id><published>2012-04-02T01:02:00.002+08:00</published><updated>2012-04-02T11:38:41.085+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Boot into text mode with Ubuntu 11.10</title><summary type="text">基本上是參考這篇，不過照著作不Work...
又看了這一篇，自己試了一下好像可以了，趕快筆記一下...

編輯 /etc/default/grub

arthur@ubuntu:~$ sudo vi /etc/default/grub
[sudo] password for arthur:

將下面這行
GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;
改成 
GRUB_CMDLINE_LINUX_DEFAULT=&quot;text&quot; 

然後在把這行前面#拿掉
GRUB_TERMINAL=console &amp;nbsp;//text base grub menu 


存檔後作&amp;nbsp;update-grub
arthur@ubuntu:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/1346552334267459632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/1346552334267459632'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2012/04/boot-into-text-mode-with-ubuntu-1110.html' title='Boot into text mode with Ubuntu 11.10'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-2077525779614204232</id><published>2012-03-20T23:44:00.000+08:00</published><updated>2012-03-20T23:44:00.083+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="前端應用"/><title type='text'>跨平台的APP應用程式框架</title><summary type="text">本來認為使用HTML + CSS 配合jQuery 就可以在前端應用方面打遍天下無敵手了～不過在行動裝置上的使用者體驗還是不夠好，加上無法和行動裝置的硬體(ex.相機)直接互動，總是不夠完美。

目前跨平台的APP應用程式框架有Titanium Mobile與PhoneGap 兩種，端看應用程式需求來選擇。
偏向遊戲開發有 corona 和 unity 可以選用。

不過目前開發的方向也還沒確定，所以先筆記一下...

參考資料
再談Titanium Mobile與PhoneGap的差異
從使用者角度看 Native app vs Web app</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2077525779614204232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2077525779614204232'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2012/03/app.html' title='跨平台的APP應用程式框架'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-5960576135579511621</id><published>2012-03-17T00:15:00.001+08:00</published><updated>2012-03-17T00:15:53.088+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="雲端運算"/><title type='text'>Hadoop</title><summary type="text">最近稍微看了一下Apache 的 Hadoop 簡單的說 Hadoop 就是雲端系統的架構。
然後發現產業界也蠻多公司在使用的，像是FaceBook 的內部系統就有兩組clusters

A 1100-machine cluster with 8800 cores and about 12 PB raw storage.
A 300-machine cluster with 2400 cores and about 3 PB raw storage.

一千多台的電腦組成的Cluster，想到就覺得很壯觀。

好奇查了一下台灣的使用情形，意外的發現TSMC有在用Hadoop而且還組成推廣小組，同時計畫要作 semiconductor manufacturing and engineering related applications.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5960576135579511621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5960576135579511621'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2012/03/hadoop.html' title='Hadoop'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-5471320526805419450</id><published>2011-12-23T13:51:00.001+08:00</published><updated>2011-12-23T13:52:35.106+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>強迫中止Scan32.exe</title><summary type="text">這問題困擾了一段時間，主要是公司的電腦在特定的時間會自動運行 scan32.exe.
CPU loading 是不高，不過佔用Disk I/O 非常嚴重～連要回個mail 都不行...

Google 一下後，發現用ntsd 可以Force Kill process.

指令如下：
@ntsd -c q -pn scan32.exe

弄完之後，終於可以回mail 了...</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5471320526805419450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5471320526805419450'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/12/scan32exe.html' title='強迫中止Scan32.exe'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-6965131275546180103</id><published>2011-11-25T14:58:00.000+08:00</published><updated>2011-11-25T14:58:36.631+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GAE"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="PlayFramework"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Siena 全文檢索的問題</title><summary type="text">最近使用Play! + Siena + GAE 時發現，作類似SQL Like 的Search 時，會傳回所有的資料...
在Stackoverflow 中的討論發現，Siena 由於GAE的限制，在這方面的實做有限...

http://stackoverflow.com/questions/6307841/how-does-siena-query-search-work

也就是支援文字完全相同的和結尾字串相同的比對...真的很雞肋...
就算使用JDBC也必須先手動建立Full text index...

所以看來還是JPA比較有彈性...</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/6965131275546180103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/6965131275546180103'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/11/siena.html' title='Siena 全文檢索的問題'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-5492686102535255828</id><published>2011-07-22T01:00:00.000+08:00</published><updated>2011-07-22T01:00:05.359+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>轉換程式碼為HTML</title><summary type="text">備忘一下～線上程式碼語法高亮產生器 - Online syntax highlighting
http://jsgears.com/thread-120-1-1.html

還有另一個網站也有
http://tohtml.com/java/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5492686102535255828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/5492686102535255828'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/07/html.html' title='轉換程式碼為HTML'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-720290655510911860</id><published>2011-07-06T01:06:00.000+08:00</published><updated>2011-07-06T01:06:52.884+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GAE"/><category scheme="http://www.blogger.com/atom/ns#" term="PlayFramework"/><title type='text'>Play Framework 實驗筆記 5- 上傳到GAE</title><summary type="text">專案在本地端測試完成之後，接下來就把專案部署到GAE裡面去吧～

1. 先修改 N:\PlayFramework\play-1.1\members\war\WEB-INF\appengine-web.xml
將GAE設定的Application ID 和版本號填入
&amp;lt;appengine-web-app xmlns=&quot;http://appengine.google.com/ns/1.0&quot;&amp;gt;
&amp;#9;&amp;lt;application&amp;gt;arthur201104&amp;lt;/application&amp;gt;
&amp;#9;&amp;lt;version&amp;gt;1&amp;lt;/version&amp;gt;
&amp;lt;/appengine-web-app&amp;gt;

再將專案匯出成WAR目錄架構
N:\PlayFramework\play-1.1&gt;play war members -o members.war

~</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/720290655510911860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/720290655510911860'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/07/play-framework-5-gae.html' title='Play Framework 實驗筆記 5- 上傳到GAE'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigL6sUwFNUtoYiLWvJH7qW_tiN7Ls-KbSdTmVe_KTkO7UalfWbBz4OUg1waSGcmzlaAfMxZWI2LSmROBUAs4GrnlULlaiYfgMRZmXwNaNMBmmNbIvp0A-uBc0xmrOi5aD1i2mPMMzfEuiK/s72-c/2011-07-06_010229.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-2315415758549925613</id><published>2011-07-04T17:01:00.000+08:00</published><updated>2011-07-04T17:01:31.226+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>離線讀取註冊檔內容</title><summary type="text">之前發生過Windows 作業系統異常，重裝之後發現有些軟體的設定不見了(ex. PUTTY)
主要的原因是因為那些設定存於系統註冊檔裡面。所以找了一些方法將資訊挖出來...

我用的是&amp;nbsp;MiTeC Windows Registry File Viewer&amp;nbsp;可以將註冊表資訊由檔案中擷取出來。

Putty 的資訊是放在&amp;nbsp;HKEY_CURRENT_USER\Software\SimonTatham 下面，所以只要開啟 C:\Documents and Settings\UserName\NTUSER.DAT 就可以讀取設定。

至於註冊表資訊放在哪個實體檔案中，可以參閱下面連結：

資訊來源：介绍两款读注册表文件的软件</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2315415758549925613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2315415758549925613'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/07/blog-post.html' title='離線讀取註冊檔內容'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-672085720827726135</id><published>2011-06-30T00:36:00.001+08:00</published><updated>2011-06-30T00:37:49.295+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="PlayFramework"/><title type='text'>Play Framework 實驗筆記 4- 使用jqGrid 作資料維護</title><summary type="text">這一部分是將前端表格顯示的部份作改善。
使用的元件是jqGrid。這是jqGrid的Demo，裡面有許多使用範例，有興趣的可以去看一下，這邊只會用到以下這些簡單的功能。

1. 使用AJAX 的方式，向Server取得 JSON 格式的資料
2. 支援常見的分頁方式
3. 編輯時使用 inline editor 的方式

檔案位置：

檔案要放對位置
*.css 放在&amp;nbsp;N:\PlayFramework\play-1.1\members\public\stylesheets
css中用到的圖檔放在&amp;nbsp;N:\PlayFramework\play-1.1\members\public\stylesheets\images


*.js&amp;nbsp;放在&amp;nbsp;N:\PlayFramework\play-1.1\members\public\javascripts

View</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/672085720827726135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/672085720827726135'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/06/play-framework-4-jqgrid.html' title='Play Framework 實驗筆記 4- 使用jqGrid 作資料維護'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj55KQbKwb2r3buzX4swmuKJq3eArXuv2ctg_LBzbCsvYq9b6PWvxRlGrZ5ZG87N2_-LrFmRuKaE-R_HqtMXTB4nyzXOWjvKTsvcSHjMZiapV6exzJBbgDKpkY0iTjADoAZNkxYNwr5_FWL/s72-c/2011-06-29_231824.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-2019384254396116423</id><published>2011-06-26T22:20:00.002+08:00</published><updated>2013-11-12T23:34:03.023+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="PlayFramework"/><title type='text'>Play Framework 實驗筆記 3- Basic Data Operation</title><summary type="text">這篇文章將實做第一個資料庫互動的範例。
主要是針對Member 作所謂的 Add, Delete, Inquiry, Update. 並將所有動作整合到同一個頁面。

1. Controller

新增BasicMemberOperation.java 在對應的目錄下，這個是要當Controller用的，網頁的每一個動作都對應到Controller裡面的某個method。 最後透過Index呼叫PlayFramework作render。

N:\PlayFramework\play-1.1\members\app\controllers\BasicMemberOperation.java

package controllers;

import java.util.List;

import models.Member;
import models.MemberCard;
import</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2019384254396116423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2019384254396116423'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/06/web-framework-3-basic-data-operation.html' title='Play Framework 實驗筆記 3- Basic Data Operation'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkLpu2AdU-We7hPV58vgU8EnoizQQkz7ileDnpIFwiTClcEEiHUTLo9UFktxbrFjLQKNqFeSKgCQmRfFxL7NAK-YK2dkj6BhvgYXuJDpHYHuEudE_2vZ76SA8g1OBnGFiAuovhNKcBV54W/s72-c/2011-06-26_220448.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-3558832760333223274</id><published>2011-06-24T00:19:00.004+08:00</published><updated>2011-06-29T22:48:16.404+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="PlayFramework"/><title type='text'>Play Framework 實驗筆記 2- Play! Framework 環境設定</title><summary type="text">1. 安裝
這個部份比較簡單，大部分資訊網路上都有。Google 一下就有了～～
Source由官網 http://www.playframework.org/download 下載 play-1.1.zip 直接解壓後就可以使用

2. 建立專案
N:\PlayFramework\play-1.1&amp;gt;play new members

N:\PlayFramework\play-1.1&amp;gt;&quot;N:\PlayFramework\play-1.1\python\python.exe&quot; &quot;N:\Play
Framework\play-1.1\play&quot; new members
~        _            _
~  _ __ | | __ _ _  _| |
~ | &#39;_ \| |/ _&#39; | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/3558832760333223274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/3558832760333223274'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/06/web-framework-1-play-framework.html' title='Play Framework 實驗筆記 2- Play! Framework 環境設定'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5GDGLusfJTmpkSpPEJ7Pl8jefTgiHDGrWgxGwvnRcydiqCReg0XiGyI7GxZhb7Ig8Q4BMWo9W-ASjYI5KlBm0rngdXHVIORFm5AddjHuBJNtfRZ4UjntfiF25zy8Kn-j4_4IViZ504r9R/s72-c/2011-06-23_235809.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-2063990945616451004</id><published>2011-06-14T16:13:00.003+08:00</published><updated>2011-06-29T22:47:33.508+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="PlayFramework"/><title type='text'>Play Framework 實驗筆記 1- Data persitence API</title><summary type="text">首先先從資料物件開始介紹～

關於 Data persitence API，由於考慮到使用雲端服務（ex.GAE）所以找了一下支援的API，發現Siena還不錯，所以先拿來試試看。

目前觀察到Siena 有以下特性：

1. 容易上手，設計也很直覺
2. 同時支援兩大雲端服務
3. 支援目前所有熱門的關聯式資料庫 (採用Apache DdlUtils)

以下是關於Siena Project 的說明
Siena is a single API with many implementations. You can use siena with relational databases, with the Google App Engine&#39;s datastore or with Amazon&#39;s SimpleDB. There is also an implementation </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2063990945616451004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2063990945616451004'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/06/web-framework-1-data-persitence-api.html' title='Play Framework 實驗筆記 1- Data persitence API'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6539798313325494894.post-2265000330874696182</id><published>2011-06-09T00:36:00.000+08:00</published><updated>2011-06-09T00:36:56.856+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><title type='text'>Regarding the select editor for jqGrid</title><summary type="text">http://www.ok-soft-gmbh.com/jqGrid/DependendSelects2.htm
這個範例是做Grid 中兩個Select Editor 的互動</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2265000330874696182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6539798313325494894/posts/default/2265000330874696182'/><link rel='alternate' type='text/html' href='http://ac6060.blogspot.com/2011/06/regarding-select-editor-for-jqgrid.html' title='Regarding the select editor for jqGrid'/><author><name>建人所聞</name><uri>http://www.blogger.com/profile/04867624149545017976</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>