4/16/2010

Resources of Technical Thesis Writing

電資學院這學期辦了一個講座, 主題是 How to Get My Paper Accepted?
課程連結如下, 有投影片可以下載

How to Get My Paper Accepted? Part 1: Intro & Requirements

How to Get My Paper Accepted? Part 2: Writing & Organization

How to Get My Paper Accepted? Part 3: Review, Rebuttal, Revision

How to Improve My Technical Writing in English?

How to Improve my Technical Presentation in English?

正在拚論文的同學們大家加油吧!

Android on Freerunner Cupcake Porting Note

Since it cost me a lot of time to building the android-cupcake and flashing the built image to OpenMoko freerunner, in case you had/have been suffering from such annoyance, a summarized note is briefed below

Revision: v1.0
1         Preparation
1.1         Create $HOME/cupcake

1.2         Create directories
drwxr-xr-x  2 hsiehwei hsiehwei 4096 2010-02-26 11:01 applications
drwxr-xr-x  2 hsiehwei hsiehwei 4096 2010-02-26 12:27 bin
drwxr-xr-x  2 hsiehwei hsiehwei 4096 2010-02-26 11:01 downloads
drwxr-xr-x  2 hsiehwei hsiehwei 4096 2010-02-26 11:01 sdk
drwxr-xr-x 17 hsiehwei hsiehwei 4096 2010-02-26 12:14 src
drwxr-xr-x  2 hsiehwei hsiehwei 4096 2010-02-26 11:01 tools

1.3         Prepare tools (GIT and others)
$ export PATH=$HOME/android/bin:$PATH
$ sudo apt-get install git-core
$ curl http://android.git.kernel.org/repo > ~/android/bin/repo
$ chmod a+x ~/android/bin/repo
$ sudo apt-get install python
$ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libreadline5-dev x11proto-core-dev libx11-dev liblzo2-dev
$ sudo apt-get autoremove gcc g++
$ sudo apt-get install gcc-4.3 g++-4.3
$ sudo apt-get install uboot-mkimage
/* Install Sun-Java-1.5.0 since jdk6 is NOT supported right now. But currently, Ubuntu 9.10 Karmic doesn’t maintain jdk1.5, therefore use Jaunty instead. */
$ sudo cp /etc/sources.list /etc/sources.list.karmic
$ sudo vi /etc/sources.list
/* Perform the following command in vi then save. */
:%s/karmic/jaunty/g
/* Update package database */
$ sodu apt-get update
/* Install jdk1.5 */
$ sudo apt-get install sun-java5-jdk
$ sudo update-java-alternatives –l
java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun
$ sudo update-java-alternatives –s java-1.5.0-sun

1.4         Download Source Code
$ cd ~/cupcake /src
$ repo init -u git://gitorious.org/android-on-freerunner/freerunner_platform_manifest.git -b cupcake

/* This step would cost a lot time, and fails many times, please re-execute the above command when downloading stops. */
$ repo sync

/* Update projects, copy downloaded code into current directory. Project-path can be found in src/.repo/manifests/default.xml, also in src/.repo/project.list */
$ repo sync

/* Alternatively, use the following steps to build an automatic sync script. */
$ echo “#!/bin/bash” > syncall.sh
$ cat .repo/project.list >> syncall.sh
$ vi syncall.sh
/* Perform the following command in vi then save. */
:%s:^\(\w\+\):repo sync \1:g
$ chmod u+x syncall.sh
$ ./syncall.sh

1.5         Add GAO RFID Driver into the kernel
/* Add gao217003.c into kernel */
$ cd ~/cupcake/src
$ cp path_to_gao217003.c kernel/drivers/usb/misc
$ vi kernel/drivers/usb/misc/Kconfig
/* Configure kconfig, add the following block in the end of the file. */
config USB_GAO_READER
        tristate "GAO USB RFID Reader driver"
        depends on USB
        help
          Driver for GAO USB RFID Reader 217003
$ vi kernel/drivers/usb/misc/Makefile
/* Configure makefile, add the following line into a proper place. */
obj-$(CONFIG_USB_GAO_READER)    += gao217003.o
/* Configure .config, add the following line into section of USB Miscellaneous drivers. */
CONFIG_USB_GAO_READER=y


2         Building
/* Build image */
$ cd ~/cupcake /src
$ make clean TARGET_PRODUCT=freerunner
$ make TARGET_SIMULATOR=false TARGET_PRODUCT=freerunner showcommands

3         Flashing the Neo FreeRunner
/* Download and unpack the android-on-freerunner auto-installer from http://code.google.com/p/android-on-freerunner/, like android-on-freerunner-cupcake-0.1.1.tar.gz */
/* Replace kernel.img, system.img, userdata.img, ramdisk.img with just-built files from ~/cupcake/src/out/target/product/freerunner/ */
/* Copy those files to a microsd drive, and boot neo from the drive, the installation will start automatically */
/* The files we put into the driver look like:
boot/ uImage-GTA02.bin (from android-on-freerunner-cupcake-0.1.1.tar.gz)
kernel.img (we built)
qi.img (from android-on-freerunner-cupcake-0.1.1.tar.gz)
ramdisk.img (we built)
system.img (we built)
uImage (from android-on-freerunner-cupcake-0.1.1.tar.gz)
uImage.bin (from android-on-freerunner-cupcake-0.1.1.tar.gz)
userdata.img (we built) */

References:

[1]       GIT Android on Freerunner, http://gitorious.org/android-on-freerunner
[2]       Acndroid-on-freerunner, http://code.google.com/p/android-on-freerunner/
[3]       Android Open Source Project, http://source.android.com/download
[4]       Build Android Platform, http://mmmyddd.freeshell.net/wiki/android/build.html
[5]       Qi, http://wiki.openmoko.org/wiki/Qi
[6]       Flashing the Neo FreeRunner, http://wiki.openmoko.org/wiki/Flashing_the_Neo_FreeRunner
[7]       Neo FreeRunner 新手手冊 (9) 安裝 Android, SHR, FDOM, Debian SD (SDHC) , http://tony-tu.blogspot.com/2008/12/neo-freerunner-8-android-shr-fdom.html
[8]       Android porting, http://wiki.openmoko.org/wiki/Android_porting
[11]   http://www.mail-archive.com/android-freerunner@android.koolu.org/msg01022.html
[12]   http://www.mail-archive.com/android-freerunner@android.koolu.org/msg01020.html
[13]   http://www.mail-archive.com/android-freerunner@android.koolu.org/msg01023.html
[14]   http://www.mail-archive.com/android-freerunner@android.koolu.org/msg01021.html
[15]   http://www.mail-archive.com/android-freerunner@android.koolu.org/msg01021.html
[16]   http://www.mail-archive.com/android-freerunner@android.koolu.org/msg01049.html

4/15/2010

TAKE IT EASY, BE HAPPY!

不知是電資學院壓力特別大還是學工程的壓力都不小
還是所謂頂尖大學的學校不論師生都有難言之苦?
包括老師在內
入學以來
這邊一年至少傳出2-3個自殺或暴斃案例(還是更多?)
好像一點也不稀奇

救護車警車來來去去好像腳踏車出現在校園一樣自然 (這是誇飾法)
同學一早就說憂慮想死就跟說早安一樣是稀鬆平常的問候 (這也是誇飾法)

最近系上才發生一件令人遺憾的事....


最近系上每週的Seminar都有心理師跟精神科醫生來演講/座談/授課
校方系上一定很怕我們發生連鎖效應跟抑鬱?! XD
上禮拜的Seminar
資工系的專屬諮商師還特別跑來分享自殺者親友的心路歷程...

學校的心理師show了一個統計數字
印象中學校至少有1/10的人是處於憂慮狀態
有一項是"覺得自己很沒用沒有價值"
這個項目人數超多
分析是因為學校學生對自我要求太高的原因...追求完美型的人格!?
特別在意外界的眼光跟自我設立的不可能的任務的達成率?

不知道有多少人因為無法滿足外界的眼光而懷疑自己的價值而憂慮?
這真的沒必要  而且不值得
我們永遠不可能滿足所有人的期待
好吧, 嚴謹一點說
我們一般人在有限的時間與生命內,
只有極低的機率可以滿足外界所有期待

系上有個玩笑話
有個教授底下有兩組專題生很強很優秀
很拚的搞出了專題, 在別的地方大概可以當碩論了
一組的東西被該教授批評說是垃圾
另一組被批評說比垃圾還差, 連渣都不是  囧rz

這世界充斥著這類莫名其妙的 Expectation
真的有必要把自己搞的那麼低落
只因為那些EQ跟溝通技巧都有問題的人所說的話嗎?

如果已經努力過盡了力
還是不能不去在意
那就要想辦法說服自己(自欺欺人)
自我感覺良好肯定自己的價值
因為這是繼續生存在每天被要求執行 Mission Impossible該具備的生存之道

TAKE IT EASY, BE HAPPY!


在學生輔導組網站嘗試找前文所提的統計數字的時候
意外找到情緒量表測驗系統
有興趣的自己去看看吧
http://140.116.165.53/~stuapp/onlinechk/

大家早點睡
晚安!